1. 11 Jun, 2013 1 commit
  2. 05 Jun, 2013 1 commit
  3. 23 May, 2013 1 commit
  4. 15 May, 2013 1 commit
  5. 30 Apr, 2013 2 commits
  6. 18 Apr, 2013 2 commits
  7. 10 Apr, 2013 2 commits
  8. 02 Apr, 2013 1 commit
  9. 25 Mar, 2013 2 commits
  10. 12 Mar, 2013 1 commit
  11. 05 Mar, 2013 1 commit
  12. 14 Feb, 2013 1 commit
  13. 01 Feb, 2013 2 commits
  14. 29 Jan, 2013 1 commit
  15. 23 Jan, 2013 1 commit
  16. 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
  17. 20 Dec, 2012 1 commit
  18. 11 Dec, 2012 1 commit
  19. 06 Dec, 2012 1 commit
  20. 21 Nov, 2012 1 commit
  21. 19 Oct, 2012 1 commit
  22. 09 Oct, 2012 1 commit
  23. 08 Oct, 2012 1 commit
  24. 05 Oct, 2012 1 commit
  25. 27 Sep, 2012 1 commit
  26. 25 Sep, 2012 2 commits
  27. 20 Sep, 2012 1 commit
    • Thomas Hartmann's avatar
      QmlDesigner: fix regression uncovered by tests · e4114505
      Thomas Hartmann authored
      
      
      Fixing a regression in the meta info system.
      
      We follow now Qthe Declarative1StateOperation convention (note the 1).
      Since this data is provided by Qt Creator it is independent from any Qt
      version. (4.8/5.1)
      
      Also the type comparison was broken in NodeMetaInfo for <cpp> types.
      PackageName() does retrieve the package name of the cpp type which might
      be different from the one used in qualfiedTypeName().
      
      Change-Id: I5cdae37c2024cdc89824e68168c16e2050051d06
      Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
      e4114505
  28. 06 Aug, 2012 1 commit
  29. 19 Jul, 2012 1 commit
  30. 17 Apr, 2012 1 commit
  31. 10 Feb, 2012 1 commit
  32. 26 Jan, 2012 1 commit
  33. 18 Nov, 2011 1 commit
  34. 08 Nov, 2011 1 commit