1. 28 Jan, 2014 1 commit
  2. 08 Jan, 2014 1 commit
  3. 09 Aug, 2013 1 commit
  4. 31 Jan, 2013 1 commit
  5. 29 Jan, 2013 1 commit
  6. 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
  7. 27 Nov, 2012 1 commit
  8. 05 Oct, 2012 1 commit
  9. 19 Jul, 2012 1 commit
  10. 10 May, 2012 1 commit
  11. 18 Apr, 2012 1 commit
    • Kai Koehne's avatar
      QmlDebug: Rename library and (most) classes · 4d3395b9
      Kai Koehne authored
      Rename the QmlJSDebugClient lib to QmlDebug (shorter names, easier differentiation with the shared/qmljsdebug lib).
      
      Also rename
       - QDeclarativeDebug* classes to QmlDebug*
       - QDeclarativeOutputParser class to QmlOutputParser
      
      To clarify the features,
       - Debugger::QmlDebuggerClient is now Debugger::BaseQmlDebuggerClient
       - QmlEngineDebugClient is now BaseEngineDebugClient
       - QmlDebuggerClient is now QmlEngineDebugClient
       - QDeclarativeEngineDebugClient is now DeclarativeEngineDebugClient
      
      Change-Id: Ie15713730a614c8ab4b637fad0924f95b54e633f
      Reviewed-by: default avatarAurindam Jana <aurindam.jana@nokia.com>
      4d3395b9
  12. 26 Jan, 2012 1 commit
  13. 23 Jan, 2012 1 commit
  14. 20 Jan, 2012 1 commit