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