Skip to content
Snippets Groups Projects
  1. May 17, 2013
  2. Apr 25, 2013
  3. Apr 22, 2013
  4. Apr 17, 2013
  5. Apr 12, 2013
  6. Mar 19, 2013
    • Christian Kandeler's avatar
      Update qbs submodule. · 0c78cd6b
      Christian Kandeler authored
      
      Contains fixes for the following two bugs uncovered when testing
      Creator integration:
          - Qt4/Qt5 incompatibility regarding build graph serialization.
          - Refusal to load stored build graph because the project file
            is wrongly diagnosed to be different from the stored one.
      
      Change-Id: I2466eb1e0751d6309047334daf2d9994dc1bef31
      Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@digia.com>
      0c78cd6b
  7. Mar 15, 2013
  8. Mar 14, 2013
  9. Mar 13, 2013
  10. Mar 12, 2013
  11. Mar 04, 2013
  12. Mar 01, 2013
  13. Feb 20, 2013
  14. Feb 06, 2013
  15. Jan 29, 2013
  16. Jan 24, 2013
  17. Jan 15, 2013
  18. Jan 08, 2013
    • 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
  19. Nov 28, 2012
  20. Nov 26, 2012
Loading