Skip to content
Snippets Groups Projects
  1. Mar 05, 2015
  2. Feb 20, 2015
  3. Feb 09, 2015
  4. 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
  5. Feb 03, 2015
  6. Jan 29, 2015
  7. Jan 27, 2015
  8. Jan 26, 2015
  9. Jan 16, 2015
  10. Jan 06, 2015
  11. Dec 19, 2014
  12. Nov 20, 2014
  13. Nov 07, 2014
  14. Nov 06, 2014
  15. Oct 30, 2014
  16. Oct 20, 2014
  17. Oct 15, 2014
  18. Sep 16, 2014
  19. Sep 12, 2014
  20. Sep 04, 2014
  21. Aug 28, 2014
  22. Aug 21, 2014
  23. Aug 20, 2014
  24. Jul 04, 2014
  25. Feb 27, 2014
  26. Feb 19, 2014
    • Fawzi Mohamed's avatar
      qml: moving most of ModelManager logic to ModelManageInterface · d24cb60d
      Fawzi Mohamed authored
      
      Currently ModelManager contains lot logic, but as it sits in QmlJSTools
      it is not possible to use it in standalone tests.
      Moving most of the logic to ModelManagerInterface (and cleanup)
      to allow better testing, and refactoring.
      This introduces a dependency of the qmljs lib on the cplusplus lib
      Also a (small) part of the CppTool::ModelManagerInterface has been
      moved to CPlusPlus::CppModelManagerBase to remove the dependency on
      CppTools to gather the Qml types exposed from C++.
      
      Change-Id: Icad7fe96dfd0f1a2b1058d82bd98c77c40aa5e9d
      Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@digia.com>
      d24cb60d
  27. Jan 08, 2014
  28. Dec 10, 2013
  29. Oct 22, 2013
  30. Oct 01, 2013
  31. Sep 10, 2013
  32. Aug 13, 2013
    • Nikolai Kosjar's avatar
      CppTools: Rework handling of ProjectInfo changes · 8ea14767
      Nikolai Kosjar authored
      
      (a) The code model manager figures out by itself which files were added
          or removed from the project.
      
          If this was done successfully, check also the timestamp of the
          common files and reindex if necessary.
      
      (b) A full reindexing is only triggered if the project configuration
          changes (defines, includes, framework paths).
      
      (c) If project files were removed, the garbage collector is called.
      
      Task-number: QTCREATORBUG-9730
      Change-Id: Ib855614b070880576233a3525813617c967a72f3
      Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@digia.com>
      8ea14767
  33. Jul 31, 2013
  34. Jul 25, 2013
  35. Jun 24, 2013
  36. May 29, 2013
  37. May 13, 2013
  38. Apr 30, 2013
Loading