1. 21 Jan, 2015 1 commit
  2. 20 Nov, 2014 1 commit
  3. 09 Oct, 2014 1 commit
  4. 11 Sep, 2014 1 commit
  5. 22 Apr, 2014 1 commit
  6. 18 Feb, 2014 2 commits
  7. 16 Jan, 2014 1 commit
  8. 08 Jan, 2014 1 commit
  9. 20 Nov, 2013 1 commit
  10. 14 Nov, 2013 1 commit
  11. 06 Nov, 2013 1 commit
  12. 04 Apr, 2013 1 commit
  13. 11 Feb, 2013 2 commits
  14. 29 Jan, 2013 1 commit
  15. 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
  16. 28 Nov, 2012 1 commit
  17. 05 Oct, 2012 1 commit
  18. 19 Jul, 2012 1 commit
  19. 13 Mar, 2012 1 commit
  20. 15 Feb, 2012 1 commit
  21. 26 Jan, 2012 1 commit
  22. 21 Nov, 2011 1 commit
  23. 03 Nov, 2011 1 commit
  24. 21 Oct, 2011 2 commits
  25. 12 Oct, 2011 2 commits
  26. 10 Oct, 2011 1 commit
  27. 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
  28. 14 Sep, 2011 1 commit
  29. 08 Aug, 2011 1 commit
  30. 05 Jul, 2011 1 commit
  31. 30 May, 2011 4 commits
  32. 06 May, 2011 1 commit
  33. 13 Apr, 2011 1 commit