Commit Graph

12967 Commits

Author SHA1 Message Date
Roberto Raggi
b51ebdd1a9 Process the template type parameters. 2010-08-13 14:37:31 +02:00
Lasse Holmstedt
6757af873a removed undefined slot 2010-08-13 14:36:20 +02:00
Lasse Holmstedt
b71c3c62ba QML Debugger refactoring
Now, QmlEngine creates the connection to the inferior (debuggee), and
notifies QmlInspector when a connection is established. Before,
inspector created the debugger engin, which was wrong.

QmlEngine's responsibilities are connecting to the debuggee and basic
QML/JS debugging features like locals & watchers, breakpoints etc.
QmlInspector takes care of Live Preview and other fancy inspection
features.

Reviewed-by: hjk
2010-08-13 14:20:39 +02:00
Roberto Raggi
5de57ddad3 Test the new binder. 2010-08-13 14:00:27 +02:00
Roberto Raggi
308f481e84 Bind using declarations and using namespace directives. 2010-08-13 13:52:59 +02:00
Roberto Raggi
1d30c09bd1 Update the function's source location. 2010-08-13 13:52:59 +02:00
hjk
497c5191e7 debugger: make dumper work with references to QObject derived classes. 2010-08-13 13:46:38 +02:00
Roberto Raggi
da31bce5f8 Use O2 optimization level 2010-08-13 13:35:14 +02:00
Tobias Hunger
5695cd69ea Improve MSVC parser
* Handle additional information lines.
2010-08-13 13:28:48 +02:00
Christian Kamm
6ec2174791 QmlJS: Use QmlJS::toQColor to convert a string to a QColor.
The QColor constructor prints a warning if the string it gets passed
isn't a known color name. Also, it doesn't know about the alpha value
in strings like "#ff00ff00".

Reviewed-by: Thomas Hartmann
2010-08-13 13:28:45 +02:00
hjk
b1e1692e23 debugger: remove dead code 2010-08-13 13:18:02 +02:00
hjk
b5579bbaf4 debugger: make QObject dumper more robust when QtCore has no debug info 2010-08-13 13:18:02 +02:00
hjk
0a3805a175 debugger: show parents and children only for QObject itself 2010-08-13 13:18:02 +02:00
Tobias Hunger
6fed7c662e Replace some struct with classes
* Fixes warnings about struct/class mixup in windows

Reviewed-by: thorbjorn
2010-08-13 13:10:32 +02:00
Roberto Raggi
cf46cf749e Create the block symbols for the control flow statements. 2010-08-13 13:00:44 +02:00
Tobias Hunger
2dc6ea6867 Improve SBSv2 parser
* Report all commands that failed.
2010-08-13 12:51:19 +02:00
Christian Kamm
7a5df3c39d QuickFix: Move helpers from QuickFixData to RefactoringFile.
Makes them easy to use everywhere. Also when calling
QuickFixData::textOf and friends, it wasn't really clear which file
they would run on.
2010-08-13 12:51:22 +02:00
Christian Kamm
bbe64796a0 QuickFix: Introduce CppRefactoringFile. 2010-08-13 12:51:22 +02:00
Friedemann Kleint
6c76866b12 Debugger[TCF TRK]: Fix ModuleLoad handling and add list of libs.
Handle non-exe modules that require a resume correctly (do not
mistake them for the actual .exe).
Add a list of well-known libraries pending the introduction
of a setting to report all libraries.
2010-08-13 12:40:31 +02:00
Roberto Raggi
bbae6f84db Create symbols for the fwd class declarations 2010-08-13 12:36:47 +02:00
Roberto Raggi
8e1e0bdefd Process type arguments. 2010-08-13 12:28:40 +02:00
Roberto Raggi
84920f53b8 Update the member's visibility. 2010-08-13 12:24:29 +02:00
Roberto Raggi
bcd2350fa9 Update the scope ranges. 2010-08-13 12:21:13 +02:00
Roberto Raggi
b5a6ee19e2 Process template declarations. 2010-08-13 12:04:28 +02:00
Roberto Raggi
16adcf3114 Added the newly created Enum symbol to its enclosing class or namespace scope. 2010-08-13 12:00:46 +02:00
Roberto Raggi
a592df029a Apply the decl specifiers. 2010-08-13 12:00:46 +02:00
Tobias Hunger
b44e19574c Quieten debug output 2010-08-13 11:41:12 +02:00
Roberto Raggi
76d3b8f536 Process compound statements. 2010-08-13 11:38:48 +02:00
Roberto Raggi
d993cdb3d4 Cleanup 2010-08-13 11:32:59 +02:00
Roberto Raggi
c4953e742b Update the function name. 2010-08-13 11:32:07 +02:00
hjk
64e4a8f7ae Merge remote branch 'origin/2.0'
Conflicts:
	share/qtcreator/gdbmacros/dumper.py
	share/qtcreator/gdbmacros/gdbmacros.py
	src/plugins/projectexplorer/customwizard/customwizardparameters.cpp
2010-08-13 11:19:44 +02:00
Roberto Raggi
b50619066a Added public methods to process declarations and expressions. 2010-08-13 11:12:19 +02:00
Friedemann Kleint
b44efd097b Custom wizard: Add boolean 'enabled' attribute to <wizard>.
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2010-08-13 11:10:11 +02:00
Roberto Raggi
105ec09e94 Process type-ids. 2010-08-13 11:08:46 +02:00
Roberto Raggi
d626e639d0 Process enumerators. 2010-08-13 11:04:45 +02:00
hjk
ada42e7ee8 debugger: merge 'enum' handling with that of simple types if appropriate 2010-08-13 11:00:24 +02:00
hjk
e38dc51691 debugger: speedup dumper by using integer comparisons for simple types 2010-08-13 11:00:21 +02:00
Roberto Raggi
4479410246 Process named and elaborated type specifiers. 2010-08-13 10:59:22 +02:00
Roberto Raggi
fc17a4226b Process simple declarations. 2010-08-13 10:57:12 +02:00
Roberto Raggi
65681dfbe1 Bind function definitions. 2010-08-13 10:50:40 +02:00
Roberto Raggi
9c7d70b02d Bind NamespaceAST nodes. 2010-08-13 10:42:48 +02:00
Roberto Raggi
af28f72e65 Store the default value of the formal argument in a string literal. 2010-08-13 10:36:45 +02:00
Roberto Raggi
89dba0e57b Create symbols for the formal arguments. 2010-08-13 10:35:33 +02:00
Roberto Raggi
51645710b0 Add the class to its enclosing scope. 2010-08-13 10:31:52 +02:00
Roberto Raggi
abadf32070 Handle symbol visibility. 2010-08-13 10:30:33 +02:00
Roberto Raggi
849a52aead Added the base class symbol to its enclosing class declaration. 2010-08-13 10:14:18 +02:00
Roberto Raggi
cee87ece25 Added a way to bind TranslationUnitAST nodes. 2010-08-13 10:12:21 +02:00
Roberto Raggi
93bbd32c7b The core-declarator needs to be visited after the postfix declarators. 2010-08-13 10:09:45 +02:00
Roberto Raggi
6b5b9be79c Returns the newly computed type. 2010-08-13 10:09:45 +02:00
Kai Koehne
62d6a977f7 Fix gcc warning 2010-08-13 10:06:16 +02:00