1. 10 Apr, 2013 1 commit
  2. 08 Apr, 2013 1 commit
  3. 04 Apr, 2013 1 commit
  4. 26 Mar, 2013 1 commit
  5. 29 Jan, 2013 1 commit
  6. 11 Jan, 2013 1 commit
  7. 08 Jan, 2013 2 commits
    • 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
    • Orgad Shaneh's avatar
      VCS: Replace Q_ASSERTs with QTC_ASSERT · 73a2717b
      Orgad Shaneh authored
      Also rename m to model
      
      Change-Id: Ibb283dc2d5d0c306cbac9109a7e5fc6481ac86a8
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      73a2717b
  8. 07 Jan, 2013 3 commits
  9. 30 Dec, 2012 1 commit
  10. 20 Nov, 2012 1 commit
  11. 05 Oct, 2012 1 commit
  12. 26 Sep, 2012 1 commit
  13. 19 Jul, 2012 2 commits
  14. 18 Jun, 2012 1 commit
  15. 11 May, 2012 1 commit
  16. 14 Mar, 2012 1 commit
  17. 20 Feb, 2012 1 commit
  18. 15 Feb, 2012 1 commit
  19. 31 Jan, 2012 1 commit
  20. 26 Jan, 2012 1 commit
  21. 24 Jan, 2012 2 commits
  22. 09 Jan, 2012 2 commits
  23. 13 Dec, 2011 1 commit
  24. 08 Dec, 2011 1 commit
  25. 10 Nov, 2011 1 commit
    • hjk's avatar
      more Id type fixes · 82f55736
      hjk authored
      Change-Id: I3720946ba5485696822976567d83b4d6cb1fb283
      
      x
      
      Change-Id: Iab58bc34bc56371405d132315573b484a533b77c
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      82f55736
  26. 03 Nov, 2011 1 commit
  27. 21 Oct, 2011 1 commit
  28. 15 Sep, 2011 1 commit
  29. 05 Sep, 2011 1 commit
  30. 22 Jun, 2011 1 commit
  31. 12 May, 2011 1 commit
  32. 06 May, 2011 1 commit
  33. 18 Apr, 2011 2 commits