Oswald Buddenhagen
dc3c156cac
Merge branch '2.2'
...
Conflicts:
src/plugins/debugger/gdb/pythongdbengine.cpp
src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.cpp
src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.h
src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.cpp
src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.h
src/plugins/qt4projectmanager/qt-maemo/maemodeploystep.cpp
src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
src/plugins/qt4projectmanager/qt-maemo/maemoglobal.cpp
src/plugins/qt4projectmanager/qt-maemo/qt4maemotargetfactory.cpp
src/plugins/qt4projectmanager/qt-s60/qt4symbiantargetfactory.cpp
src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp
src/plugins/qt4projectmanager/qt4target.cpp
src/plugins/qt4projectmanager/qt4target.h
src/plugins/qt4projectmanager/qtoptionspage.h
src/plugins/qt4projectmanager/qtversionmanager.cpp
src/plugins/welcome/welcomemode.cpp
2011-04-14 12:39:31 +02:00
hjk
8397663964
Update license.
2011-04-13 11:49:28 +02:00
Friedemann Kleint
67d391019b
Debugger: Have Python dumper print type size information.
...
For memory views. In the dumper, create a cache of TypeInfo
structs to contain type information and print the new entries
in each call of bb().
Collect the information in the gdb engine.
Replace WatchData::origAddress by WatchData::ReferencingAddress
to be able to correctly handle automatically dereferenced
pointers of the gdb engine. Whereas 'address' of a automatically
dereferenced used to be that of the pointer, it is now that
of the dereferenced item matching the size reported, enabling
memory views. Referencing address is now the address of the pointer.
Reviewed-by: hjk
2011-04-12 15:56:03 +02:00
Friedemann Kleint
28d5526459
Debugger[CDB]: Fix handling of shadowed variables.
...
Fix name formatting and algorithm to find uninitialized
variables to use reverse order in case locals of the same
name occur in a scope.
Reviewed-by: hjk
Task-number: QTCREATORBUG-4475
2011-04-12 11:57:57 +02:00
hjk
63ebdb3623
debugger: cleanup
2011-04-12 08:07:24 +02:00
hjk
e7441dab12
debugger: move not-so-generic stuff to gdb/classicgdbengine.cpp
2011-04-12 08:07:24 +02:00
hjk
7fafe86725
debugger: use an enum for different encoding values
2011-04-08 14:39:56 +02:00
hjk
cd9aec6df9
debugger: make original value of automatically dereferenced pointer accessible
2011-04-06 18:40:32 +02:00
Friedemann Kleint
122f6a1845
Debugger: Add size to watch data.
...
Have CDB report it, pass it on to adding watches.
2011-04-04 16:15:03 +02:00
hjk
fbdfb3acae
debugger: display size of bitfields in 'type' column
2011-03-01 17:04:36 +01:00
hjk
5f38a26c9e
debugger: fix 'Jump To/Run to' when in instruction-wise mode
2011-02-23 11:11:39 +01:00
Friedemann Kleint
c74da9b7c5
Debugger: Reduce tooltip flicker.
...
Move tooltip-request handling from DebuggerPlugin into
DebuggerToolTipManager.
Request tooltip only if position changed and close
standard tooltip on success.
2011-02-17 10:11:23 +01:00
hjk
dbe0d593d2
debugger: be a bit more generous when deciding what's a 'skippable' function
2011-02-02 12:54:48 +01:00
hjk
face88a3d2
debugger: rework 'Run to Outermost Function' feature
...
Remove from the debug menu, and assign Ctrl-F6 to it by default also
on non-Mac.
2011-02-02 11:56:01 +01:00
hjk
72671f1463
debugger: extract qt namespace before running the inferior.
2011-01-17 15:24:14 +01:00
con
d1023c7614
It's 2011 now.
...
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
Friedemann Kleint
a7eccce733
Debugger: Header cleanup
2011-01-10 10:14:23 +01:00
hjk
d6a459c332
cppmodelmanagerinterface: use singleton instead of object pool
2011-01-05 09:56:00 +01:00
Christian Kamm
5f50a6ae34
C++: Move the ModelManagerInterface from CppTools to CPlusPlus.
2011-01-04 15:58:21 +01:00
hjk
3f98fb7f63
debugger: reduce the number of PluginManager::getObject() calls
2010-12-21 14:43:50 +01:00
con
b1bcf081d8
Merge branch '2.1'
...
Conflicts:
src/plugins/coreplugin/basemode.cpp
src/plugins/coreplugin/basemode.h
src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.cpp
src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.h
src/plugins/debugger/cdb/cdbsymbolpathlisteditor.cpp
src/plugins/debugger/debuggeragents.cpp
src/plugins/debugger/debuggeruiswitcher.cpp
src/plugins/debugger/debuggeruiswitcher.h
src/plugins/projectexplorer/buildconfigdialog.cpp
src/plugins/qmldesigner/components/propertyeditor/colorwidget.cpp
src/plugins/qmldesigner/components/propertyeditor/colorwidget.h
src/plugins/qmldesigner/designercore/include/enumeratormetainfo.h
src/plugins/qmldesigner/designercore/include/modelutilities.h
src/plugins/qmldesigner/designercore/include/nodeinstance.h
src/plugins/qmldesigner/designercore/include/propertymetainfo.h
src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.h
src/plugins/qmldesigner/designercore/instances/graphicsviewnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.h
src/plugins/qmldesigner/designercore/instances/nodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/qmlviewnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.h
src/plugins/qmldesigner/designercore/metainfo/enumeratormetainfo.cpp
src/plugins/qmldesigner/designercore/metainfo/propertymetainfo.cpp
src/plugins/qmldesigner/designercore/model/modelutilities.cpp
src/plugins/snippets/inputwidget.cpp
src/plugins/snippets/snippetscompletion.cpp
src/plugins/snippets/snippetscompletion.h
src/plugins/snippets/snippetspec.cpp
src/plugins/snippets/snippetsplugin.cpp
src/plugins/snippets/snippetswindow.cpp
src/plugins/snippets/snippetswindow.h
src/plugins/texteditor/snippetsparser.cpp
src/tools/qml/qmldom/main.cpp
tests/manual/trk/runner.cpp
tests/manual/trk/trkolddevice.cpp
tests/manual/trk/trkolddevice.h
tests/manual/trk/trkserver.cpp
2010-12-17 17:00:53 +01:00
con
04e32b0049
License headers.
2010-12-17 16:03:42 +01:00
Roberto Raggi
b4e421062f
Removed stray tokens and fixed warnings/errors when compiling with pedantic C++ compilers.
2010-12-16 12:05:48 +01:00
Friedemann Kleint
191b7e0b00
Debugger[new CDB]: Work on locals.
...
Add optional code model scope checking. Remove need to call
to 'expandlocals' command by giving 'locals' options for expanded
and uninitialized variables, saving one roundtrip.
Handle shadowed variables and __formal parameters. Differentiate
between name and iname in SymbolGroup.
2010-11-23 13:36:39 +01:00
Friedemann Kleint
4ac2634de7
Debugger: Make Gdbmi threads parsing code re-usable.
...
Adapt watchutils code for new engine.
Acked-by: hjk
2010-11-08 17:15:33 +01:00
Friedemann Kleint
3d1f23b78b
Debugger: Add Run to/Jump to Line to text editor context menu.
...
Remove actions from debugger plugin as they are not directly usable.
Create additional actions in context menu.
Move some code around to find the current editor.
2010-11-04 11:46:16 +01:00
Arvid Ephraim Picciani
4d14920ad6
clean up WatchData
...
Reviewed-by: hjk
2010-10-15 15:19:11 +02:00
hjk
7a4ca5b879
debugger: fix recently introduced off-by-one in gdbmi child parsing
...
Reviewed-by: Friedemann Kleint
2010-10-12 11:31:15 +02:00
Friedemann Kleint
edeccf7307
Debugger: Fix dumpers in case alphabetical sorting is off.
...
No longer change iname to obtain sorting.
Reviewed-by: hjk
2010-10-08 14:57:39 +02:00
Friedemann Kleint
13c97d652e
Debugger: Fixes around watch editing.
...
assignValueInDebugger: Pass on WatchData as well, pass
on values as QVariant. Based on that, do more extensive
checks in CDB, preventing assignment of non-PODs.
Locals/Watch editing:
* Disable while running
* Edit pointer values as hex with validation.
CDB: Strip class types off reported pointer values and reformat
the values as short 0x-pointer values, introduce flag to
WatchData::source to do dumper expansion handling.
Windows: recognize int64 as int.
Register handler: Fix accessing uninitialized value.
2010-09-23 13:22:08 +02:00
hjk
034bb72dc4
debugger: make alphabetic sorting of struct members optional.
...
Task-number: QTCREATORBUG-1608
2010-09-23 11:17:01 +02:00
Friedemann Kleint
ca808cc7b4
Debugger: Add special widgets for editing watch values.
...
Create delegate widgets with validation for bool/int/float
types, using a QVariant-type modelData property.
Also fix register editing to be validated for quint64 values
and editing longer values as hex bigints. Anything else is not
editable.
2010-09-22 17:30:22 +02:00
Friedemann Kleint
b67c1a7889
Debugger: Sanitize Datatypes, part 3: Address of watch items.
...
Use a quint64 as address. Split apart special handling of
QAbstractItemModels of old shared-library based dumpers
(passing '$'+ special expression as address) into separate
dumperFlags QByteArray.
2010-09-22 11:19:35 +02:00
Arvid Ephraim Picciani
98736d256b
Display thread names
...
extract thread names from QThread object name
Task-Number: QTCREATORBUG-382
Reviewed-by: hjk
2010-09-13 13:42:14 +02:00
hjk
ad95e3372d
debugger: fix recently introduced regression with compiled dumpers.
...
'+' instead of '+='. Duh.
2010-09-08 10:26:17 +02:00
hjk
46aa04dcb4
debugger: robustness
2010-09-01 18:55:59 +02:00
hjk
4cbbe366af
debugger: make a 'type' a QByteArray, not a QString
...
Saves lots of conversion.
2010-09-01 17:36:09 +02:00
hjk
d5ff2bb55f
debugger: make std::size_t and std::ptrdiff_t also 'well known integer types'
2010-09-01 17:19:55 +02:00
hjk
7b5b60ff8a
debugger: code cosmetics
2010-08-27 17:24:22 +02:00
hjk
8fb377a3d6
debugger: code cosmetics
2010-08-27 17:24:22 +02:00
Roberto Raggi
16b1e8b40d
Renamed Symboo::isScopedSymbol().
2010-08-12 12:35:22 +02:00
Roberto Raggi
2ebaf3fe5b
Get rid of the #warning directives.
2010-08-11 15:48:40 +02:00
Roberto Raggi
354b9712e4
Merged ScopedSymbol and Scope.
2010-08-11 15:25:18 +02:00
Roberto Raggi
4ff3ee2ff0
Use Prototype instead of Function.
2010-08-05 17:53:14 +02:00
hjk
f292254967
debugger: attempt to re-try examining dumper location after build.
...
Still does not work as the location itself is unknown.
2010-07-21 12:07:49 +02:00
con
d24d01f49c
Merge commit '52b9fcca2ddd5d5e95c6e13cbded018699c7dd68' (origin/2.0)
...
Conflicts:
src/plugins/debugger/debuggeragents.cpp
src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationstep.cpp
src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationstep.h
src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationwidget.cpp
src/plugins/qt4projectmanager/qt-maemo/maemosshthread.cpp
src/plugins/qt4projectmanager/qt-maemo/maemosshthread.h
2010-07-13 11:31:05 +02:00
hjk
2f2f3c2abf
debugger: fix decoding of %04x encoded 16 bit big endian data.
2010-07-09 11:00:20 +02:00
Erik Verbruggen
e3e8b1a5c0
Removed the TokenCache.
2010-07-02 11:18:51 +02:00
Thorbjørn Lindeijer
173cdff56c
Merge branch '2.0'
...
Conflicts:
src/plugins/cppeditor/cppquickfix.cpp
src/plugins/mercurial/mercurialjobrunner.cpp
src/plugins/subversion/subversionplugin.cpp
2010-06-15 13:22:33 +02:00
Thorbjørn Lindeijer
a6e5298591
Fixed handling of text wrapping and a text layout corner case
...
Due to using QTextCursor::columnNumber() instead of
QTextCursor::positionInBlock(), a lot of code would not work correctly
when used with wrapped lines.
In addition, there was an issue with columnNumber() returning 0 right
after inserting a character before the last character of a line.
Reviewed-by: mae
2010-06-15 12:25:01 +02:00