1. 30 Apr, 2013 1 commit
  2. 22 Apr, 2013 1 commit
  3. 04 Apr, 2013 1 commit
  4. 25 Mar, 2013 1 commit
  5. 18 Mar, 2013 1 commit
  6. 29 Jan, 2013 1 commit
  7. 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
  8. 28 Nov, 2012 1 commit
  9. 05 Oct, 2012 1 commit
  10. 06 Aug, 2012 1 commit
  11. 19 Jul, 2012 1 commit
  12. 26 Jan, 2012 1 commit
  13. 03 Nov, 2011 1 commit
  14. 16 Sep, 2011 1 commit
  15. 30 Jun, 2011 1 commit
  16. 29 Jun, 2011 1 commit
  17. 27 Jun, 2011 1 commit
  18. 10 May, 2011 1 commit
  19. 06 May, 2011 1 commit
  20. 13 Apr, 2011 1 commit
  21. 30 Mar, 2011 1 commit
  22. 02 Feb, 2011 1 commit
  23. 12 Jan, 2011 2 commits
  24. 17 Dec, 2010 1 commit
  25. 10 Dec, 2010 1 commit
  26. 29 Sep, 2010 1 commit
  27. 24 Sep, 2010 2 commits
  28. 10 Jun, 2010 1 commit
  29. 05 Mar, 2010 1 commit
  30. 19 Jan, 2010 4 commits
  31. 12 Jan, 2010 3 commits
  32. 07 Jan, 2010 1 commit
    • Kai Koehne's avatar
      New QmlDesigner plugin & Design mode · 818a7b22
      Kai Koehne authored
      This adds a new "Design" mode that can be used to manipulate qml files
      in a visual way. It will only get build if you have the declarativeui
      module in Qt.
      
      This is a squashed import from the Bauhaus project. Share & enjoy :)
      818a7b22