1. 16 Oct, 2009 1 commit
  2. 14 Oct, 2009 1 commit
  3. 12 Oct, 2009 2 commits
  4. 09 Oct, 2009 1 commit
    • Friedemann Kleint's avatar
      CDB: Make use of the improved debugger expression syntax · 8266c366
      Friedemann Kleint authored
      CDB can now handle sizeof(Class) and even expressions that
      determine the offset of map node values (to some extent), may still
      fail with templates). Format expressions accordingly, adapt
      cached expressions.
      Use gdbQuoteType depending on debugger type only.
      Most important, do not evaluate each expression separately before
      issuing the call, as ".call" can now do it on its own. Check for syntax
      errors there and cache failing types as before.
      8266c366
  5. 08 Oct, 2009 1 commit
    • Friedemann Kleint's avatar
      Debugger: Do configuration error checking early on. · 22ab8d56
      Friedemann Kleint authored
      
      
      Add a configuration checking method to the Debugger manager,
      depending on toolchain, wire it to the engines.
      Check that in the debugger run controls.
      
      Add a convenience method to ICore that shows a warning
      message with a "Settings" button, pointing the user
      to a configuration error on a settings page.
      
      Remove leftovers of the dumper parser.
      Acked-by: default avatarcon <qtc-committer@nokia.com>
      22ab8d56
  6. 02 Oct, 2009 1 commit
    • Friedemann Kleint's avatar
      CDB: Fix dumper regression · 1fad39c9
      Friedemann Kleint authored
      - Do not deref d-ptr when checking on QVariants of PODS
      - Make type/value fixing of dumper results more fine-grained
      - Allow children in expandPtrToDumpage (QWidget-Pointers)
      - Fix broken size cache (queuePrefix was empty)
      - Compile
      1fad39c9
  7. 01 Oct, 2009 1 commit
  8. 21 Sep, 2009 1 commit
    • Friedemann Kleint's avatar
      CDB: Use GdbMi parser for everything. · caa164a4
      Friedemann Kleint authored
      ..preparing recursive dumpers. Add recursive parser to
      watchutils.cpp Use insertBulkData() within CDB, add sizeof()
      information for some Qt containers in order to be able to
      dump QList<QList<KnownType> > .
      caa164a4
  9. 18 Sep, 2009 1 commit
  10. 16 Sep, 2009 2 commits
  11. 31 Aug, 2009 1 commit
  12. 28 Aug, 2009 1 commit
    • hjk's avatar
      debugger: small improvements to dumpers · 9a5908bf
      hjk authored
      Add a dumper for QStack. Also don't crash when accessing an uninitialized
      pointer when the pointer looks bad to begin with.
      9a5908bf
  13. 20 Aug, 2009 1 commit
  14. 14 Aug, 2009 1 commit
  15. 12 Aug, 2009 1 commit
  16. 24 Jul, 2009 1 commit
  17. 16 Jul, 2009 1 commit
  18. 15 Jul, 2009 1 commit
  19. 14 Jul, 2009 2 commits
  20. 13 Jul, 2009 1 commit
  21. 10 Jul, 2009 2 commits
  22. 07 Jul, 2009 1 commit
    • Friedemann Kleint's avatar
      Dumper fixing, dump some common std::map, std::set types with CDB. · 7b15d123
      Friedemann Kleint authored
      - std::set/map: Introduce templates to iterate the MSVC STL
        implementation depending on type (since it inherits some
        basic set_traits that depend on the key/value size.
      - Retrieve types correctly in CDB (buffer too short for STL-types)
      - Fix std::map in GDB broken by previous commit.
      - Introduce a dumper version check in GDB/CDB.
      - Make GDB parse sizes in initial dumper call as well
      - Fix special sizes to work with namespaced Qt (watchutils)
      7b15d123
  23. 06 Jul, 2009 1 commit
    • Friedemann Kleint's avatar
      Fix up Debugger helpers to be able to dump QObject's with CDB. · 5bd1d2a0
      Friedemann Kleint authored
      - Make container dumper routines set "childnumchild" when known
        in order to avoid roundtrips; avoid repeated invocations of
        container.end().
      - Completed dumper information in some places to avoid roundtrips.
      - Extended QVariant helpers by dumpers for common GUI types
        (rectangles, points, sizes, fonts, size policies).
      - Introduced artificial QObjectChildList/QObjectProperty types to
        be able to dump QObject children and properties without using
        gdb expressions.
      - Fixed dumping of Signal/Slot list to pass on correct types. Avoid
        recursions if signal is connected to self.
      - Replaced expressions by addresses in the dumpers to it make work
        for CDB.
      - Reworked dumper test program to have -a, making it usable for tests,
        add further types.
      - Gdb: Clear output buffer before calling dumpers, avoiding mixups
        in case evaluation of expression fails.
      - Fix the dumper parser used by CDB, do not be fooled by
        "<synthetic>" addresses, etc.
      - Pass on a "dumperVersion" in initial query.
      5bd1d2a0
  24. 03 Jul, 2009 2 commits
    • Friedemann Kleint's avatar
      Great debugger helper bug fixing spree. · 5a8b61b2
      Friedemann Kleint authored
      - Fix extractTemplate() not to kill blanks in case there is no
        blank after a comma, fix hardcoded types accordingly.
      - Make niceType()'s regexps ignore blanks after commas, add
        unsigned short as char_type and cache the mappings, making
        them work for CDB.
      - CDB: Parse map output of dumpers correctly, generally don't
        confuse the parser by unknown keywords encountered when
        parsing children, thus enabling simple QMap types.
      - Make dumpInnerValueHelper output std::string types.
      5a8b61b2
    • hjk's avatar
      89d49e3b
  25. 02 Jul, 2009 1 commit
    • Friedemann Kleint's avatar
      Display Q<>Pointers/Work towards displaying maps/QMaps in CDB. · 6e93f454
      Friedemann Kleint authored
      Make dumpers pass on more size information initially, namely the
      various Q<>Pointers. Introduce enum for those special template types
      whose size does not vary with the arguments (Q<>Pointer,
      std::allocators...) to make it more easily extensible.
      Pass on some common QMapNode<> sizes as well.
      Introduce an expression cache to the common QtDumperHelper
      class and make dumpers pass some common expression values
      (value offsets of common QMapNode<> incarnations).
      Make CDBDumperHelper use the expression cache.
      Extend dumper tester.
      6e93f454
  26. 01 Jul, 2009 1 commit
  27. 29 Jun, 2009 1 commit
  28. 22 Jun, 2009 1 commit
  29. 16 Jun, 2009 2 commits
    • con's avatar
      Cherry-pick: Update license headers and sales contact details. · 2919c210
      con authored
      Reviewed-by: Trust Me
      
      Conflicts:
      
      	src/libs/cplusplus/CppBindings.cpp
      	src/libs/cplusplus/CppBindings.h
      	src/libs/cplusplus/FastPreprocessor.cpp
      	src/libs/cplusplus/FastPreprocessor.h
      	src/plugins/cpptools/cppcurrentdocumentfilter.cpp
      	src/plugins/cpptools/cppcurrentdocumentfilter.h
      	src/plugins/cpptools/cppsemanticsearch.cpp
      	src/plugins/cpptools/cppsemanticsearch.h
      	src/plugins/duieditor/parser/qmljs.g
      	src/plugins/duieditor/parser/qmljsast.cpp
      	src/plugins/duieditor/parser/qmljsast_p.h
      	src/plugins/duieditor/parser/qmljsastfwd_p.h
      	src/plugins/duieditor/parser/qmljsastvisitor.cpp
      	src/plugins/duieditor/parser/qmljsastvisitor_p.h
      	src/plugins/duieditor/parser/qmljsengine_p.cpp
      	src/plugins/duieditor/parser/qmljsengine_p.h
      	src/plugins/duieditor/parser/qmljsgrammar.cpp
      	src/plugins/duieditor/parser/qmljsgrammar_p.h
      	src/plugins/duieditor/parser/qmljslexer.cpp
      	src/plugins/duieditor/parser/qmljslexer_p.h
      	src/plugins/duieditor/parser/qmljsmemorypool_p.h
      	src/plugins/duieditor/parser/qmljsnodepool_p.h
      	src/plugins/duieditor/parser/qmljsparser.cpp
      	src/plugins/duieditor/parser/qmljsparser_p.h
      	src/plugins/duieditor/parser/qmljsprettypretty.cpp
      	src/plugins/duieditor/parser/qmljsprettypretty_p.h
      	src/plugins/duieditor/rewriter/rewriter.cpp
      	src/plugins/duieditor/rewriter/rewriter_p.h
      	src/plugins/duieditor/rewriter/textwriter.cpp
      	src/plugins/duieditor/rewriter/textwriter_p.h
      	src/shared/cplusplus/ASTClone.cpp
      	tests/manual/cplusplus/main.cpp
      2919c210
    • Jason McDonald's avatar
      Update license headers and sales contact details. · 884b7af7
      Jason McDonald authored
      Reviewed-by: Trust Me
      884b7af7
  30. 08 Jun, 2009 1 commit
  31. 03 Jun, 2009 1 commit
  32. 14 May, 2009 1 commit
    • Friedemann Kleint's avatar
      Added ToolTip support for CDB. · 0e3aa47f
      Friedemann Kleint authored
      
      
      Make debugger tooltip API more general, have the engines check the
      correct file type, figure out the expression and context from the text
      editor.
      
      Put common functionality in watchutils.cpp. In the CDB engine, check
      whether a tooltip expression is a known variable within the stack frame
      context. If so, retrieve via symbol group or dumpers. Cache by function
      and expression.
      Reviewed-by: default avatarhjk <qtc-committer@nokia.com>
      0e3aa47f
  33. 08 May, 2009 1 commit
  34. 06 May, 2009 1 commit