Commit Graph

7671 Commits

Author SHA1 Message Date
Roberto Raggi
fff4203a46 Introduced helpers to rewrite types and names.
Done-with: Erik Verbruggen
2010-07-16 11:04:52 +02:00
Christian Kamm
d292eca5f6 C++ indenter: Indent member initializer lists correctly.
Without requiring ',' to be an electric character.

Task-number: QTCREATORBUG-1866
Reviewed-by: Roberto Raggi
2010-07-16 10:30:14 +02:00
Christian Kamm
1a61ae01cb C++ indenter: Respect user indent with stream operators.
Reviewed-by: Erik Verbruggen
2010-07-15 16:15:09 +02:00
Erik Verbruggen
3879122a53 Added more visitor methods. 2010-07-15 14:06:35 +02:00
Erik Verbruggen
0cfcb27ac9 Removed old test. 2010-07-15 13:05:26 +02:00
Erik Verbruggen
65d061218f Added ast-to-.dot "dump" utility for QML ASTs. 2010-07-15 09:55:28 +02:00
Friedemann Kleint
f945366198 Compile Windows. 2010-07-14 17:49:17 +02:00
hjk
e760700f0f debugger: overhaul "state machine"
This mainly allows for more precise shutdown and tightens the set
of allowed transitions.
2010-07-14 17:49:16 +02:00
con
352b491c87 On Linux/Mac, show home path as ~ in recent projects.
Reviewed-by: Daniel Molkentin
2010-07-14 14:45:18 +02:00
Friedemann Kleint
6b44b30285 Manual tests: Rename profiles to avoid conflicts. 2010-07-14 09:56:58 +02:00
Bill King
d4c06c207d Add missing tests root project file 2010-07-14 15:08:27 +10:00
Friedemann Kleint
e9300b39d9 Manual tests: Get win scope right. 2010-07-13 11:27:36 +02:00
Friedemann Kleint
ebc8e66abd Re-enable plain-c++ test. 2010-07-13 11:24:26 +02:00
Friedemann Kleint
ced7e3a0fc Added profiles for manual tests, cleaned up. 2010-07-13 11:16:17 +02:00
Friedemann Kleint
f0f9635d5a Compile CCDB manual test. 2010-07-13 11:13:36 +02:00
Bill King
f823c4810e Add "make check" support to testcase makefiles. 2010-07-13 11:59:37 +10:00
Bill King
0032af7fc6 More work at getting autotests compiling. 2010-07-13 11:40:42 +10:00
Erik Verbruggen
7986c44dbf Fixed testcases after changing QualifiedNameId. 2010-07-12 16:19:14 +02:00
ck
65eb1d5515 Replace SSH library. 2010-07-12 09:33:22 +02:00
Bill King
e43287fb3a Get this project compiling for the CI system. 2010-07-12 14:13:31 +10:00
con
009ea5cdfa Add some manual test files for two quick fixes. 2010-07-09 16:02:20 +02:00
Christian Kamm
c8fae11222 C++ indenter: Fix for extending if conditions.
Task-number: QTCREATORBUG-1825
2010-07-08 13:08:03 +02:00
Christian Kamm
486b23b8ef C++ indenter: Don't add continuation indent after function return type.
Task-number: QTCREATORBUG-1816
2010-07-08 08:48:36 +02:00
Christian Kamm
6078b36c9c C++ indenter: Enable class, struct, enum, namespace, using in functions.
Fixes incorrect indentation we got previously when they were used in a
statement context.
2010-07-08 08:36:34 +02:00
hjk
008d8cb114 debugger: extend python manual test a bit 2010-07-07 18:16:30 +02:00
hjk
d532180b3c debugger: add manual test to handle console input 2010-07-07 17:51:42 +02:00
hjk
bb3a6f05d0 debugger: add test code for signal/slot debugging 2010-07-07 17:32:50 +02:00
Erik Verbruggen
be58171542 Fixed auto tests. 2010-07-07 17:20:06 +02:00
Christian Kamm
74ed3e8a11 C++ indenter: Add more functions to manage the indenter state. 2010-07-06 14:53:54 +02:00
Christian Kamm
bf7613d2e7 C++ indenter: Add special case rule for indenting enums.
So you now get
enum A { a = 2,
         b = 3,
       };
2010-07-06 13:54:21 +02:00
Christian Kamm
8dbbf9be92 C++ indenter: Require explicit state update requests.
This will allow much faster indenting of selected areas as the state
doesn't have to be checked again for every line.
2010-07-06 13:52:49 +02:00
Christian Kamm
c2a3346716 Fix autotest build for cplusplus based tests.
Reviewed-by: Roberto Raggi
2010-07-06 13:50:24 +02:00
Christian Kamm
793ef6a694 C++ indenter: Fix 'else' indentation in GNU style. 2010-07-06 09:44:35 +02:00
Erik Verbruggen
fbf2efa5f6 Increased dumper accuracy by genererating the dumper methods. 2010-07-06 09:19:20 +02:00
Bill King
c9710052bb Fix autotests so that they're compiling again. 2010-07-06 14:37:45 +10:00
Christian Kamm
19db6c9826 C++ indenter: Make building custom styles easier, fix style issues.
Keep more information by using enter() instead of turnInto() when moving
from a *_start to *_open.
2010-07-05 13:49:12 +02:00
Christian Kamm
88f2e340bd C++: Introduce the new CodeFormatter.
Done-with: Erik Verbruggen
2010-07-02 16:13:12 +02:00
hjk
979e2c299c debugger: improve QRegion dumper
Don't use inferior calls anymore.
2010-07-01 09:44:18 +02:00
hjk
74bf5d98e3 debugger: add a simple-minded dumper for QRegion 2010-06-30 15:21:39 +02:00
hjk
5adefac634 debuggger: fix dumping of array of string types 2010-06-29 12:02:02 +02:00
Christian Kamm
dc7894d8e5 Tests: Fix typeprettyprinter.
Done-with: Erik Verbruggen
2010-06-29 11:15:10 +02:00
hjk
effc5abdd8 debugger: don't try to compute tooltip if it's not shown 2010-06-29 10:58:29 +02:00
Christian Kamm
2b1d8f743c Tests: Fix ChangeSet test - now use start,end instead of start,length.
The ChangeSet api was changed in
eb749ec3a2
2010-06-29 10:56:16 +02:00
Kai Koehne
b9aa3e9b6c Qml autotests: Fix compilation errors 2010-06-29 10:10:08 +02:00
hjk
060385b41c debugger: make QVector dumper show address of elements.
Also speed up dumping a bit by using 'put' instead of 'putField' when
appropriate.
2010-06-28 14:07:16 +02:00
hjk
d059459d9f debugger: make qulonglong visible in Local&Watchers
Only one level of typedef was stripped, but qulonglong has two.
2010-06-28 10:30:18 +02:00
Erik Verbruggen
112b713343 Fixed test after changing the AST representation of the postfix expression. 2010-06-25 13:20:24 +02:00
hjk
6493b4853d debugger: adjust loading/saving of watched expressions to recent changes 2010-06-25 10:21:39 +02:00
con
af44136e22 Merge remote branch 'origin/2.0'
Conflicts:
	doc/qtcreator.qdoc
	src/plugins/help/helpplugin.cpp
	src/plugins/projectexplorer/projectexplorer.cpp
	src/plugins/projectexplorer/projectexplorer.h
	src/plugins/qt4projectmanager/qt-maemo/maemopackagecontents.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemopackagecontents.h
	src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationstep.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationwidget.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemoruncontrol.cpp
	src/tools/qml/qmldump/main.cpp
2010-06-24 11:40:22 +02:00
Erik Verbruggen
e7088e9c42 Fixed autotests. 2010-06-23 12:45:22 +02:00