Commit Graph

191 Commits

Author SHA1 Message Date
Erik Verbruggen
2d2d0b59c8 Changed ExpressionUnderCursor to handle Objective-C send-message operations. 2009-11-11 09:35:42 +01:00
Erik Verbruggen
72d4493fc2 Added scope calculation for Objective-C classes. 2009-11-11 09:21:06 +01:00
Roberto Raggi
0ae2d96a9b Fixed the AST field names. 2009-11-10 16:47:16 +01:00
Roberto Raggi
e5eb88a31f Ported the accept methods. 2009-11-10 16:20:13 +01:00
Roberto Raggi
cdb1443219 Cleanup specifiers. 2009-11-10 16:20:13 +01:00
Roberto Raggi
4fc2ccf0c5 Cleanup ptr operators. 2009-11-10 16:20:13 +01:00
Roberto Raggi
24b6c858eb Cleanup postfix declarators. 2009-11-10 16:20:12 +01:00
Roberto Raggi
a7219736b6 Cleanup Postfix operators. 2009-11-10 16:20:12 +01:00
Roberto Raggi
1dbdbbefe7 Cleanup base base specifiers. 2009-11-10 16:20:11 +01:00
Roberto Raggi
77e7899e7c Removed StatementListAST
Done with Erik Verbruggen
2009-11-10 16:20:09 +01:00
Roberto Raggi
36a0ea2bcb Removed DeclarationListAST node.
Done with Erik Verbruggen
2009-11-10 16:20:09 +01:00
hjk
085f6b2c26 debugger: add autotest for QList<int *> dumper 2009-11-06 10:15:19 +01:00
ck
8d810bd1d2 Debugger: Fix dumper tests for 64-bit Linux.
Resolved padding issue for QMapNode.

Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2009-11-05 10:11:46 +01:00
Friedemann Kleint
b1af7f2fd5 Debugger autotests: Compile Windows/gcc 4.4.1, skip tst_gdb
when not applicable.
2009-11-05 10:05:46 +01:00
hjk
908b051973 debugger: work on dumper autotests. 2009-11-04 14:39:48 +01:00
hjk
8a5540292d debugger: work on autotests 2009-11-03 14:15:24 +01:00
hjk
074b719b79 debugger: add autotest for synchroneous dumpers
QVariant, QPoint[F], QSize[F], QRect[F]
2009-10-29 18:34:31 +01:00
Friedemann Kleint
09f77930bc Debugger: Do not use C99 types for pointers in sprintf() formats.
Pointer fit into long or long long (Win64).
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2009-10-29 15:13:49 +01:00
hjk
6594ddbfb7 debugger: work on autotests 2009-10-29 09:51:29 +01:00
hjk
35dbd66764 debugger: fix the autotest fix 2009-10-29 09:51:29 +01:00
hjk
f21b01fc28 debugger: work on auto tests 2009-10-28 11:50:39 +01:00
Friedemann Kleint
ed4bc02110 Debugger: Fix gdb autotest 2009-10-28 09:39:48 +01:00
hjk
1ef61e0720 debugger: add missing .pro file 2009-10-27 17:38:42 +01:00
hjk
80f0239b1d debugger: work on dumper autotests 2009-10-27 16:35:49 +01:00
Friedemann Kleint
65e13b7034 Debugger: Fix autotests on Windows
Format pointers consistently using 0x%[l]x in printf/scanf.
Remove %p formatting as the existence of the prefix 0x
is platform-dependent (missing with MSVC), which caused
a scanf error and thus dumper crash for QAbstractItem.
Reviewed-by: ck <qt-info@nokia.com>
2009-10-27 12:25:11 +01:00
Roberto Raggi
8ef85c6489 Removed obsoleted test. 2009-10-27 11:05:35 +01:00
Roberto Raggi
82ecb2c7b3 Initial work on the `new' GenTemplateInstance. 2009-10-26 17:59:54 +01:00
Friedemann Kleint
f13d4a104a Autotests: Compile on Windows
Reviewed-by: Roberto Raggi <qtc-committer@nokia.com>
2009-10-26 17:26:53 +01:00
Roberto Raggi
0ed33aa8a5 Test ExpressionUnderCursor 2009-10-26 15:07:00 +01:00
Roberto Raggi
1f61dbc380 Test GenTemplateInstance. 2009-10-26 15:00:56 +01:00
Roberto Raggi
72da848073 We expect failures in tst_Semantic::pointer_to_function_1 2009-10-26 14:45:58 +01:00
Roberto Raggi
485dec6d2b Link with cplusplus library. 2009-10-26 14:40:36 +01:00
Roberto Raggi
dc9e019a1d Test the enclosing scope of pointer-to-function symbols. 2009-10-26 11:24:32 +01:00
hjk
a39e074ae0 debugger: more autotest work
autotest for QStack dumper
custom structure
array
2009-10-23 15:47:11 +02:00
hjk
338f945ca1 debugger: more autotests 2009-10-21 16:41:29 +02:00
hjk
8bea428020 debugger: work on debugger autotests 2009-10-21 16:41:28 +02:00
hjk
7961e885af debugger: work on autotests 2009-10-20 16:02:53 +02:00
Roberto Raggi
1dd6c64246 More tests for template-ids. 2009-10-20 15:29:58 +02:00
Roberto Raggi
3ec7f9d389 Added tests for the new regressions in the C++ parser. 2009-10-20 11:27:40 +02:00
Roberto Raggi
13675cf6ed Cleanup the C++ front-end.
Removed CPLUSPLUS_BEGIN/END_NAMESPACE & co and made it possible to compile the parser with CPLUSPLUS_WITHOUT_QT.
2009-10-20 11:21:25 +02:00
Roberto Raggi
fe2c9cc16d Improved parsing of ambiguous statements.
Done with Erik Verbruggen
2009-10-19 17:48:57 +02:00
Erik Verbruggen
077c19a661 Fix for invalid parsing of "(a)[b]", including test cases. 2009-10-19 14:50:20 +02:00
hjk
1d52447fd3 debugger: work on test frame work for new dumpers 2009-10-16 11:13:20 +02:00
ck
ee324b0b1e Debugger: Adapt autotests to know new signals. 2009-10-14 14:44:41 +02:00
ck
271f3ce8ef Debugger: Fix autotests for QAbstractItemModel & friends. 2009-10-14 14:19:00 +02:00
ck
4ead5b7202 Debugger: Dumper fix.
- If NSX and NSY have quotes for the QT_NAMESPACE case, they need them
  for the non-namespace case too.
- Dumper autotest: Replace hard-coded namespace with compile-time
  dynamic one.
2009-10-14 12:59:39 +02:00
ck
f3132c13e0 Debugger: Fix QFileInfo auto test. 2009-10-14 12:32:13 +02:00
hjk
fdda7f10b5 debugger: work on new autotests 2009-10-14 11:28:33 +02:00
hjk
fa71a4879c debugger: work on autotests 2009-10-14 10:02:07 +02:00
hjk
b9cd3378f7 debugger: work on dumper autotests 2009-10-13 14:42:47 +02:00