1. 31 Jan, 2013 1 commit
  2. 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
  3. 29 Dec, 2012 1 commit
  4. 21 Dec, 2012 1 commit
  5. 13 Dec, 2012 1 commit
  6. 05 Oct, 2012 1 commit
  7. 27 Aug, 2012 1 commit
  8. 19 Jul, 2012 1 commit
  9. 26 Jan, 2012 1 commit
  10. 03 Nov, 2011 1 commit
  11. 18 Aug, 2011 1 commit
  12. 15 Jul, 2011 1 commit
  13. 17 May, 2011 1 commit
  14. 06 May, 2011 1 commit
  15. 13 Apr, 2011 1 commit
  16. 29 Mar, 2011 1 commit
  17. 28 Mar, 2011 1 commit
  18. 24 Mar, 2011 1 commit
  19. 23 Mar, 2011 1 commit
  20. 25 Feb, 2011 1 commit
  21. 16 Feb, 2011 1 commit
  22. 04 Feb, 2011 1 commit
  23. 03 Feb, 2011 1 commit
    • Friedemann Kleint's avatar
      Debugger[CDB]: Refactor breakpoint handling. · 91ead6c8
      Friedemann Kleint authored
      Add a command to list breakpoints enabling id access.
      Implemented breakpoint handling similar to gdb using breakpoint
      ids (no longer delete and re-set all breakpoints on a change).
      Save the module that is reported back in the session so that
      it can be re-used for the next start. Keep a per-debugger-session
      cache of fileName->Module for adding breakpoints to accelerate
      setting breakpoints in the same file.
      Polish the breakpoint tooltip.
      91ead6c8
  24. 02 Feb, 2011 1 commit
  25. 25 Jan, 2011 1 commit
  26. 18 Jan, 2011 2 commits
    • Friedemann Kleint's avatar
      Debugger[CDB]: Switch to thread 0 after DebugBreak(). · cd3b6c7b
      Friedemann Kleint authored
      Do not show artificial thread that is created by
      DebugBreak() as it causes a switch to disassembly.
      Forcibly discard the symbol group for each locals
      update as the lazy creation mechanism does not trigger
      on thread changes back and forth involving assembly,
      which causes the symbol group to become stale.
      cd3b6c7b
    • Friedemann Kleint's avatar
      Debugger[New CDB]: Add support for "Select Widget to Watch". · 11c6ca71
      Friedemann Kleint authored
      in stopped state. Add helper for executing calls
      to ExtensionContext including recording of output in
      OutputCallback. Extend symbol resolution to return addresses
      as well since QApplication::widgetAt() is ambiguous and needs
      to be called by address. Add 'widgetat' extension command
      to return the widget.
      11c6ca71
  27. 17 Jan, 2011 1 commit
  28. 14 Jan, 2011 1 commit
    • Friedemann Kleint's avatar
      Debugger[New CDB]:Introduce watches infrastructure. · 3a87af8a
      Friedemann Kleint authored
      - Move the 'current module' into the Node
      - Split symbol group hierarchy into LocalsSymbolGroup
        tied to frame/thread and a separate, scopeless
        WatchesSymbolGroup
      - Add infrastructure for removing symbols from a SymbolGroup,
        doing the index bookkeeping.
      - Add method to synchronize watches to  WatchesSymbolGroup
        (iname/name map).
      - Introduce watches commands for adding and dumping.
      - Extend locals command to get watches as well.
      - Add a dummy 'ErrorSymbolGroupNode' to use in case
        insertion fails.
      3a87af8a
  29. 12 Jan, 2011 1 commit
  30. 11 Jan, 2011 1 commit
  31. 06 Jan, 2011 2 commits
  32. 05 Jan, 2011 1 commit
  33. 04 Jan, 2011 1 commit
  34. 21 Dec, 2010 1 commit
  35. 17 Dec, 2010 1 commit
  36. 15 Dec, 2010 1 commit
    • Friedemann Kleint's avatar
      Debugger[New CDB]: Linked lists containers/container child expansion. · cc3dd439
      Friedemann Kleint authored
      Introduce node hierarchy and move nodes to a separate file.
      Introduce reference nodes that point to additional symbols and
      symbols within the symbol tree (make deeply nested linked list
      elements visible as array elements). Properly name container
      elements as array elements 0..n. Fix pre-expansion of complex
      dumpers.
      cc3dd439
  37. 09 Dec, 2010 1 commit
  38. 30 Nov, 2010 1 commit