Skip to content
Snippets Groups Projects
  1. Apr 13, 2016
  2. Apr 12, 2016
  3. Apr 11, 2016
  4. Mar 04, 2016
  5. Jan 19, 2016
  6. Jan 13, 2016
  7. Nov 23, 2015
  8. Nov 11, 2015
  9. Aug 03, 2015
  10. Jul 20, 2015
  11. Jul 14, 2015
  12. Jun 29, 2015
  13. Jun 26, 2015
  14. Jun 03, 2015
  15. Apr 14, 2015
  16. Mar 05, 2015
  17. Feb 20, 2015
  18. Feb 09, 2015
  19. 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
  20. Feb 03, 2015
  21. Jan 29, 2015
  22. Jan 27, 2015
  23. Jan 26, 2015
  24. Jan 16, 2015
  25. Jan 06, 2015
  26. Dec 19, 2014
  27. Nov 20, 2014
  28. Nov 07, 2014
  29. Nov 06, 2014
  30. Oct 30, 2014
  31. Oct 20, 2014
  32. Oct 15, 2014
Loading