Skip to content
Snippets Groups Projects
  1. Apr 18, 2013
  2. Apr 17, 2013
  3. Apr 11, 2013
  4. Apr 10, 2013
  5. Apr 05, 2013
  6. Apr 03, 2013
  7. Apr 02, 2013
  8. Mar 27, 2013
  9. Mar 26, 2013
  10. Mar 22, 2013
  11. Mar 15, 2013
  12. Mar 13, 2013
  13. Feb 25, 2013
  14. Feb 21, 2013
  15. Feb 20, 2013
  16. Feb 19, 2013
  17. Feb 12, 2013
  18. Feb 07, 2013
  19. Jan 31, 2013
  20. Jan 30, 2013
  21. Jan 29, 2013
  22. Jan 28, 2013
  23. Jan 16, 2013
  24. 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
  25. Jan 07, 2013
  26. Dec 14, 2012
  27. Nov 27, 2012
  28. Nov 26, 2012
  29. Nov 20, 2012
  30. Oct 18, 2012
  31. Oct 17, 2012
    • Christiaan Janssen's avatar
      QmlProfiler: prevent details pop-ups to leave screen · 2a66ab6d
      Christiaan Janssen authored
      
      Task-number: QTCREATORBUG-8058
      
      Change-Id: Id20e9d0573ee52bd0965a4e56c51df2aee6d2fa2
      Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
      2a66ab6d
    • Christiaan Janssen's avatar
      QmlProfiler: Detect interrupted execution · 342f6842
      Christiaan Janssen authored
      
      Task-number: QTCREATORBUG-8022
      
      The profiler would switch to state "AppKilled" if the connection was
      cut before all the profiling data could be read.  With Qt4.8, however,
      the application dies before any data is sent at all, and such state
      would never be reached.  This patch fixes the flow of states and
      properly detects when an application started profiling successfully
      but dies before delivering the data.  If the application doesn't run
      at all (for example, launching a QtQuick1.1 app from Qt5), the
      profiler fails gracefully without showing the error dialog.
      
      Change-Id: I6fc53127b5dfe41de112e140b77895d430d3f79c
      Reviewed-by: default avatarKai Koehne <kai.koehne@digia.com>
      342f6842
  32. Oct 05, 2012
Loading