1. 23 Sep, 2013 1 commit
  2. 20 Jun, 2013 1 commit
  3. 03 Jun, 2013 1 commit
    • Fawzi Mohamed's avatar
      qmljs: adding qrc support · 5a4cdc11
      Fawzi Mohamed authored
      
      
      Qmljs now keeps a cache of parsed qrc files, and can resolve "qrc:" links.
      
      This breaks the assumption that the name that the qml files has on
      the filesystem is the one that qml sees, and that contents of
      directories can be found just looking at file whose path starts with the
      directory path.
      
      Currently the first file is used when multiple qrc files contain the same
      path, but support for strict and weak path resolving is already there.
      
      At the moment only qrc files for projects that call updateQmljsCodeModel
      are updated.
      
      ChangeLog: QmljsSupport: Imports using qrc links are resolved.
      
      Task-number: QTCREATORBUG-8953
      Change-Id: I695fac2692af2417d49c192c580a1c2e7b4873f4
      Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@digia.com>
      5a4cdc11
  4. 15 May, 2013 1 commit
  5. 04 Apr, 2013 1 commit
  6. 06 Feb, 2013 1 commit
  7. 29 Jan, 2013 1 commit
  8. 08 Jan, 2013 1 commit
    • Orgad Shaneh's avatar
      Remove braces for single lines of conditions · 29a93998
      Orgad Shaneh authored
      
      
      #!/usr/bin/env ruby
      
      Dir.glob('**/*.cpp') { |file|
        # skip ast (excluding paste, astpath, and canv'ast'imer)
        next if file =~ /ast[^eip]|keywords\.|qualifiers|preprocessor|names.cpp/i
        s = File.read(file)
        next if s.include?('qlalr')
        orig = s.dup
        s.gsub!(/\n *if [^\n]*{\n[^\n]*\n\s+}(\s+else if [^\n]* {\n[^\n]*\n\s+})*(\s+else {\n[^\n]*\n\s+})?\n/m) { |m|
          res = $&
          if res =~ /^\s*(\/\/|[A-Z_]{3,})/ # C++ comment or macro (Q_UNUSED, SDEBUG), do not touch braces
            res
          else
            res.gsub!('} else', 'else')
            res.gsub!(/\n +} *\n/m, "\n")
            res.gsub(/ *{$/, '')
          end
        }
        s.gsub!(/ *$/, '')
        File.open(file, 'wb').write(s) if s != orig
      }
      
      Change-Id: I3b30ee60df0986f66c02132c65fc38a3fbb6bbdc
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      29a93998
  9. 28 Nov, 2012 1 commit
  10. 05 Oct, 2012 1 commit
  11. 26 Sep, 2012 1 commit
  12. 19 Jul, 2012 1 commit
  13. 07 May, 2012 1 commit
    • Aurindam Jana's avatar
      QmlJSInterpreter: QML Plugin types · d4c2c3f2
      Aurindam Jana authored
      
      
      A Component in .qmltypes can have an array of exports which
      may differ in type names and versions.
      Consider the type names to be aliases and create a CppComponentValue
      for each of the alias corresponding to the best available version.
      
      Change-Id: I759ae0c68441e805b0502bf2d203c524bf1a7a7c
      Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@nokia.com>
      d4c2c3f2
  14. 30 Apr, 2012 1 commit
  15. 13 Mar, 2012 1 commit
  16. 15 Feb, 2012 1 commit
  17. 26 Jan, 2012 1 commit
  18. 12 Dec, 2011 1 commit
  19. 07 Dec, 2011 1 commit
  20. 02 Dec, 2011 1 commit
  21. 29 Nov, 2011 2 commits
  22. 25 Nov, 2011 1 commit
    • Christian Kamm's avatar
      QmlJS: Speed up ValueOwner construction. · 097850c8
      Christian Kamm authored
      
      
      * Don't build all default values (including the global object)
        separately for each ValueOwner instance.
      * Instead, keep all global, immutable values in a single, shared
        instance.
      
      While refactoring, some cases where we *modified* the global object had
      to be removed:
      
      * C++ context properties no longer get injected into the global object,
        instead they now have their own scope just above the global one.
      * The Qt object's prototype no longer gets modified in Link. Instead,
        it's now a reference to the "Qt" object provided in a qmltypes file.
      * The whole concept of a function 'Activation' that could potentially
        affect the global object was removed.
      
      Change-Id: Id382faf965efa747fcc7a9b0bc2c90429d84d61b
      Reviewed-by: default avatarLeandro Melo <leandro.melo@nokia.com>
      097850c8
  23. 16 Nov, 2011 1 commit
  24. 15 Nov, 2011 1 commit
  25. 07 Nov, 2011 1 commit
  26. 03 Nov, 2011 1 commit
  27. 31 Oct, 2011 1 commit
  28. 21 Oct, 2011 1 commit
  29. 18 Oct, 2011 1 commit
  30. 13 Oct, 2011 1 commit
  31. 12 Oct, 2011 4 commits
  32. 06 Oct, 2011 1 commit
  33. 28 Sep, 2011 1 commit
  34. 27 Sep, 2011 2 commits
  35. 26 Sep, 2011 1 commit
    • Christian Kamm's avatar
      QmlJS: Separate metaObjectRevision from minor version number. · fdd0a15e
      Christian Kamm authored
      They need not to be identical. Additionally:
      * Rename ImportInfo::name to path, because that's what it does.
      * Add ImportInfo::name, for getting the uri with the names
        separated by dots.
      * Allow for exportMetaObjectRevisions in qmltypes files.
      * Allow for exports with an empty type name, as generated by
        qmlRegisterRevision. They are used for associating meta object
        revisions with non-exported types.
      * Rewrite the Qt 4.7 import to QtQuick 1.0 at an early stage. In
        preparation for the Qt 5 type information update, where Qt 4.7
        is gone.
      
      Change-Id: Ia287193623d9530a56b9eb8d2481d50aabd94c3e
      Reviewed-on: http://codereview.qt-project.org/5309
      
      Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@nokia.com>
      fdd0a15e