Skip to content
Snippets Groups Projects
  1. Sep 03, 2014
  2. Jul 15, 2014
  3. Jul 07, 2014
  4. Jul 06, 2014
  5. Jul 04, 2014
  6. Jul 01, 2014
  7. Mar 13, 2014
  8. Jan 28, 2014
  9. Jan 08, 2014
  10. Nov 20, 2013
  11. Oct 22, 2013
    • Fawzi Mohamed's avatar
      qmljs: added qmljsconstants.h · 0a4310d3
      Fawzi Mohamed authored
      
      Moved Document::Language, Import::Type and StaticAnalysis::Severity
      enums to qmljsconstants.h and renamed values removing the redundant
      part.
      Thus the effective length changed little or improved
      (Document::QmlLanguage => Language::Qml).
      
      The separate file allows better reuse of enum values without introducing
      circular dependencies.
      
      Change-Id: I5186d7c04f5d3f6c289068b919be5ff1ff118326
      Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@digia.com>
      0a4310d3
  12. Sep 23, 2013
  13. Jun 20, 2013
  14. Jun 03, 2013
    • 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
  15. Apr 04, 2013
  16. Mar 05, 2013
  17. Feb 21, 2013
    • Fawzi Mohamed's avatar
      qmljs: add infrastructure handling qml dialects better · 942326ae
      Fawzi Mohamed authored
      
      QmlBundles enables us to treat the different qml
      dialects differently.
      
      Add imports completion.
      
      Change-log: [Qml/JS Support] Corrected handling of QtQuick2 only features.
      Change-log: [Qml/JS Support] Added import completion in editor.
      Task-number: QTCREATORBUG-8750
      Task-number: QTCREATORBUG-8624
      Task-number: QTCREATORBUG-8584
      Task-number: QTCREATORBUG-8583
      Task-number: QTCREATORBUG-8429
      
      Change-Id: I1384b1b23136a85b4d077895ea86f92960da9e71
      Reviewed-by: default avatarKai Koehne <kai.koehne@digia.com>
      942326ae
  18. Jan 31, 2013
  19. Jan 29, 2013
  20. Jan 08, 2013
    • 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
  21. Nov 28, 2012
  22. Oct 05, 2012
  23. Jul 31, 2012
  24. Jul 19, 2012
  25. Feb 15, 2012
  26. Jan 26, 2012
  27. Nov 15, 2011
  28. Nov 08, 2011
  29. Nov 07, 2011
  30. Nov 03, 2011
  31. Oct 20, 2011
  32. Oct 12, 2011
  33. Sep 28, 2011
  34. Sep 19, 2011
  35. Sep 14, 2011
Loading