1. 30 Sep, 2013 1 commit
  2. 20 Jun, 2013 1 commit
  3. 27 May, 2013 1 commit
  4. 04 May, 2013 1 commit
  5. 02 May, 2013 1 commit
  6. 11 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. 07 Jan, 2013 2 commits
  9. 28 Nov, 2012 1 commit
  10. 05 Oct, 2012 1 commit
  11. 19 Jul, 2012 1 commit
  12. 18 Jun, 2012 1 commit
  13. 16 May, 2012 1 commit
  14. 06 Mar, 2012 1 commit
  15. 15 Feb, 2012 1 commit
  16. 26 Jan, 2012 2 commits
  17. 08 Dec, 2011 1 commit
  18. 02 Dec, 2011 1 commit
  19. 23 Nov, 2011 1 commit
  20. 03 Nov, 2011 1 commit
  21. 08 Sep, 2011 1 commit
  22. 06 May, 2011 1 commit
  23. 03 May, 2011 2 commits
  24. 13 Apr, 2011 1 commit
  25. 08 Apr, 2011 2 commits
  26. 01 Apr, 2011 1 commit
  27. 02 Mar, 2011 1 commit
  28. 12 Jan, 2011 2 commits
  29. 17 Dec, 2010 1 commit
  30. 23 Nov, 2010 1 commit
    • Tobias Hunger's avatar
      Git: Only enable submit button when a description is available · d1976d19
      Tobias Hunger authored
      Only enable submit button in the git submit editor when a non-empty
      desciption of the patch is available. Git rejects empty commit messages
      and old versions fail without even giving an error Qt Creator can detect,
      so this should make commiting a bit more save.
      
      Task-number: QTCREATORBUG-2410
      d1976d19
  31. 04 Oct, 2010 1 commit
  32. 13 Sep, 2010 1 commit
  33. 23 Aug, 2010 1 commit
  34. 19 Aug, 2010 2 commits