Skip to content
Snippets Groups Projects
  1. Jan 13, 2016
  2. Nov 23, 2015
  3. Nov 11, 2015
  4. Aug 03, 2015
  5. Jul 20, 2015
  6. Jul 14, 2015
  7. Jun 29, 2015
  8. Jun 26, 2015
  9. Jun 03, 2015
  10. Apr 14, 2015
  11. Mar 05, 2015
  12. Feb 20, 2015
  13. Feb 09, 2015
  14. 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
    • Nikolai Kosjar's avatar
      CppTools: Remove workaround for quotes in defines · 2992653a
      Nikolai Kosjar authored
      
      ...since by now we get the defines in the correct format from
      QMakeProject.
      
      See the change this one depends on.
      
      Tested with:
      
          Qbs:   cpp.defines: [ 'PATH1="/some/path"', "PATH2=\"/some/path\"" ]
          QMake: DEFINES += PATH1=\\\"/some/path\\\" "PATH2=\\\"/some/path\\\""
          CMake: add_definitions(-DPATH1="/some/path" "-DPATH2=\"/some/path\"")
      
      All these lines translate to
      
          #define PATH1 "/some/path"
          #define PATH2 "/some/path"
      
      for the code model.
      
      Change-Id: Ifc3d3acff3abab6897ccbd0c5fafd5c415dfb53c
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@theqtcompany.com>
      2992653a
  15. Feb 03, 2015
  16. Jan 29, 2015
  17. Jan 27, 2015
  18. Jan 26, 2015
  19. Jan 16, 2015
  20. Jan 06, 2015
  21. Dec 19, 2014
  22. Nov 20, 2014
  23. Nov 07, 2014
  24. Nov 06, 2014
  25. Oct 30, 2014
  26. Oct 20, 2014
  27. Oct 15, 2014
  28. Sep 16, 2014
  29. Sep 12, 2014
  30. Sep 04, 2014
  31. Aug 28, 2014
  32. Aug 21, 2014
  33. Aug 20, 2014
  34. Jul 04, 2014
  35. Feb 27, 2014
Loading