Skip to content
Snippets Groups Projects
  1. Jan 19, 2016
  2. Feb 04, 2015
    • Orgad Shaneh's avatar
      C++: Remove unneeded qualifications · 65e7db42
      Orgad Shaneh authored
      
      Mostly done using the following ruby script:
      Dir.glob('**/*.cpp').each { |file|
        next if file =~ %r{src/shared/qbs|/qmljs/}
        s = File.read(file)
        s.scan(/^using namespace (.*);$/) {
          ns = $1
          t = s.gsub(/^(.*)\b#{ns}::((?!Const)[A-Z])/) { |m|
            before = $1
            char = $2
            if before =~ /"|\/\/|\\|using|SIGNAL|SLOT|Q_/
              m
            else
              before + char
            end
          }
          if t != s
            puts file
            File.open(file, 'w').write(t)
          end
        }
      }
      
      Change-Id: I6fbe13ddc1485efe95c3156097bf41d90c0febac
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@theqtcompany.com>
      65e7db42
  3. Jan 26, 2015
  4. Jan 16, 2015
  5. Dec 19, 2014
  6. Oct 09, 2014
  7. Jan 08, 2014
  8. Sep 26, 2013
  9. Sep 25, 2013
  10. Sep 20, 2013
  11. May 29, 2013
  12. Apr 03, 2013
  13. Mar 12, 2013
  14. Jan 29, 2013
  15. Nov 22, 2012
  16. Oct 05, 2012
  17. Aug 09, 2012
  18. Jul 19, 2012
  19. Jun 19, 2012
  20. Feb 15, 2012
  21. Jan 26, 2012
  22. Jan 24, 2012
  23. Dec 09, 2011
  24. Nov 25, 2011
    • Jarek Kobus's avatar
      Transform always old code style settings · 3d57758d
      Jarek Kobus authored
      
      Before, we didn't transform the code style settings
      if they were defaults (so no entries were written
      for them in the settings). In case someone
      changed global tab settings and didn't touch
      code style settings in 2.3, the code style settings
      were not transformed. Now, we transform them too
      so that legacy code style settings in 2.4
      (named: "Old Creator") contains old global tab settings.
      We also take care of not creating legacy settings
      in case neither textTabPreferences nor CppTabPreferences
      nor CppCodeStyleSettings were saved (when creator 2.3 used only
      defaults or when it's a first run of creator 2.4 without
      old settings).
      Handle legacy transformation for qml too.
      Make a code bit more readable.
      
      Task-number: QTCREATORBUG-6614
      Change-Id: I37b8dd4d1170f397b7d304c59575d9ae37884564
      Reviewed-by: default avatarLeandro Melo <leandro.melo@nokia.com>
      Reviewed-by: default avatarChristian Kamm <christian.d.kamm@nokia.com>
      3d57758d
  25. Nov 03, 2011
  26. Sep 23, 2011
  27. Sep 08, 2011
  28. Jul 06, 2011
  29. Jun 22, 2011
  30. Jun 08, 2011
  31. May 24, 2011
Loading