Skip to content
Snippets Groups Projects
  1. Feb 07, 2013
  2. Feb 01, 2013
  3. Jan 31, 2013
  4. Jan 29, 2013
  5. Jan 25, 2013
  6. Jan 24, 2013
  7. Jan 17, 2013
  8. Jan 10, 2013
  9. Jan 09, 2013
  10. 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
  11. Dec 29, 2012
  12. Dec 20, 2012
  13. Nov 17, 2012
  14. Nov 16, 2012
  15. Nov 09, 2012
  16. Nov 05, 2012
  17. Nov 02, 2012
  18. Oct 24, 2012
  19. Oct 23, 2012
  20. Oct 16, 2012
  21. Oct 05, 2012
  22. Oct 01, 2012
  23. Sep 21, 2012
  24. Sep 07, 2012
    • hjk's avatar
      debugger: fix Qt namespace recognition for Qt 5 · 61291e94
      hjk authored
      
      The "magic" symbol was QString::fromAscii, which might be fully inlined
      in Qt 5. Use QString::fromAscii_helper instead, and also make the detection
      a bit more robust in case the magic symbol is not found.
      
      Change-Id: I99e61797356a0d90467d32e54acc2d2a104d609a
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      61291e94
  25. Sep 05, 2012
  26. Sep 03, 2012
    • Friedemann Kleint's avatar
      Handle watching/tooltips of C++ editor tokens consistently. · 6886e485
      Friedemann Kleint authored
      
      For editor tooltips and the editor context menu
      'Watch expression', always try to find a local variable first
      and use its expression.
      
      Change the tooltip manager/widgets not to rely on the debugger
      model enum and obscure expression, filter by complete iname
      instead. Remove obsolete enumeration.
      
      Change gdb's handling of tooltips such that local variables
      are displayed immediately without creating additional tooltip
      items.
      
      Change-Id: I9b55823428029ba50d84d3a8cab55eb58942e72b
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      6886e485
  27. Aug 31, 2012
  28. Aug 30, 2012
    • Friedemann Kleint's avatar
      Debugger: Fix Windows terminal execution. · 3e0950bd
      Friedemann Kleint authored
      
      The console trap seems to cause a spurious "* stopped"
      message without reasons in gdb 7.4. Ignore once.
      Fix warnings about empty file names in cleanupFullName()
      for assembly frames.
      Ignore "* running" in state InferiorSetupRequested, which
      occurs for Windows terminals.
      
      Task-number: QTCREATORBUG-7770
      Change-Id: Ief6dff4a946eea1b1489caddf8748fb10a647dad
      Reviewed-by: default avatarOrgad Shaneh <orgads@gmail.com>
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      3e0950bd
    • Friedemann Kleint's avatar
      Fix 'Attach Debugger' in output pane. · 3797595c
      Friedemann Kleint authored
      
      Bring back the slot, suppress a warning about empty binaries
      in the release check.
      
      Task-number: QTCREATORBUG-7677
      Change-Id: I2f1703b38b68995a1e2533ed8a6c94985cc3b430
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      3797595c
    • Ryan May's avatar
      Fix register view with GDB. · 2cf04cb2
      Ryan May authored
      
      Because missing registers are discarded, the register number returned by
      GDB (when values are obtained) are not the same as the indices into the
      internal list of registers. Explicitly store this mapping now.
      
      Task-number: QTCREATORBUG-7468
      Change-Id: Ica6fc6e6bd0a240cbd59923e4cabc7127e1aad8b
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      2cf04cb2
  29. Aug 27, 2012
    • Christian Kandeler's avatar
      Utils: Introduce HostOsInfo class. · e669f054
      Christian Kandeler authored
      
      The class' member functions are intended to be used
      instead of the Q_OS_* macros in all contexts where
      the latter are not syntactically required.
      This lowers the likelihood of changes made on one
      platform breaking the build on another, e.g. due to
      the code model missing symbols in #ifdef'ed out code
      when refactoring.
      
      Change-Id: I4a54788591b4c8f8d589b8368a6c683d4155c9fa
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      e669f054
  30. Aug 24, 2012
Loading