1. 09 Dec, 2013 1 commit
  2. 25 Nov, 2013 1 commit
  3. 11 Jul, 2013 2 commits
  4. 26 Mar, 2013 1 commit
  5. 15 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. 09 Oct, 2012 1 commit
    • Tobias Hunger's avatar
      Fix possible crash · 8d1e87c7
      Tobias Hunger authored
      
      
      The filter model needs to remove rows before the view tries to find
      the next row to select. Otherwise the filtermodel might access the
      source model at a position that is out of bounds.
      
      Change-Id: Id610455f32e7c7fe921c243537def0097b46a798
      Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
      8d1e87c7
  9. 05 Oct, 2012 1 commit
  10. 24 Sep, 2012 1 commit
  11. 19 Sep, 2012 1 commit
  12. 19 Jul, 2012 1 commit
  13. 17 Apr, 2012 1 commit
  14. 05 Apr, 2012 1 commit
  15. 09 Mar, 2012 1 commit
  16. 01 Mar, 2012 1 commit
  17. 22 Feb, 2012 3 commits
  18. 15 Feb, 2012 1 commit
  19. 14 Feb, 2012 2 commits
  20. 30 Jan, 2012 1 commit
  21. 26 Jan, 2012 1 commit
  22. 09 Jan, 2012 1 commit
  23. 03 Nov, 2011 1 commit
  24. 05 Oct, 2011 1 commit