1. 20 Mar, 2013 1 commit
  2. 01 Mar, 2013 1 commit
  3. 27 Feb, 2013 1 commit
  4. 20 Feb, 2013 1 commit
  5. 14 Feb, 2013 1 commit
  6. 11 Feb, 2013 1 commit
  7. 30 Jan, 2013 3 commits
  8. 29 Jan, 2013 1 commit
  9. 24 Jan, 2013 1 commit
  10. 23 Jan, 2013 1 commit
  11. 21 Jan, 2013 2 commits
  12. 18 Jan, 2013 1 commit
  13. 17 Jan, 2013 1 commit
  14. 11 Jan, 2013 1 commit
  15. 10 Jan, 2013 1 commit
  16. 09 Jan, 2013 1 commit
  17. 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
  18. 30 Dec, 2012 2 commits
  19. 12 Dec, 2012 1 commit
  20. 11 Dec, 2012 1 commit
  21. 07 Nov, 2012 1 commit
  22. 29 Oct, 2012 2 commits
  23. 26 Oct, 2012 1 commit
  24. 05 Oct, 2012 2 commits
  25. 27 Sep, 2012 1 commit
  26. 26 Sep, 2012 1 commit
  27. 25 Sep, 2012 1 commit
    • Christian Kandeler's avatar
      Replace all remaining functions deprecated in Qt 5, if possible. · 89fa7823
      Christian Kandeler authored
      
      
      These are:
          - QInputDialog::getInteger() [-> getInt()]
          - QKeySequence::operator QString() [-> toString()]
          - QRegion::intersect() [-> intersected()]
          - qVariantCanConvert() [-> QVariant::canConvert()]
      
      Plus some left-over occurrences of qFindChild() and
      QAbstractItemModel::reset() that were missed by the
      respective earlier patches.
      
      All deprecated features still left are not trivially
      replaceable, i.e. the code using them cannot be made
      to compile with both Qt 4 and Qt 5.
      
      Change-Id: I32541681bbf66b0fef78f5c7025521f9ff84f463
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      89fa7823
  28. 20 Sep, 2012 1 commit
  29. 31 Jul, 2012 1 commit
  30. 19 Jul, 2012 2 commits
  31. 02 Jul, 2012 1 commit
  32. 26 Jun, 2012 1 commit
  33. 05 Jun, 2012 1 commit