Commit Graph

1107 Commits

Author SHA1 Message Date
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
Alexis Menard
64839753f2 QML WebKit component is now named QtWebKit
Reviewed-by:Christiaan Janssen
2010-06-23 11:37:41 +02:00
hjk
6a6cba5518 debugger: The DebuggerEngine refactoring.
This replaces the (de facto) singleton engines and data handlers by classes
that are instantiated per run. The DebuggerRunControl will now create an
object of (a class derived from) DebuggerEngine that contains all the relevant
"dynamic" data.

DebuggerManager is no more. The "singleton" bits are merged into DebuggerPlugin,
whereas the data bits went to DebuggerEngine.

There is no formal notion of a "current" DebuggerEngine. However, as there's
only one DebuggerEngine at a time that has its data models connected to the
view, there's still some "de facto" notion of a "current" engine. Calling
SomeModel::setData(int role, QVariant data) with custom role is used as the
primary dispatch mechanism from the views to the "current" data models
(and the engine, as all data models know their engine).
2010-06-22 10:59:57 +02:00
Leandro Melo
15faf23e07 Generic highlighter: Indentation based code folding. 2010-06-21 16:10:42 +02:00
Oswald Buddenhagen
058354ceab refactor ProFileEvaluator, part 2: split off ProFileParser 2010-06-18 21:21:36 +02:00
Oswald Buddenhagen
0c09acbb25 refactor ProFileEvaluator, part 1: introduce handler interface
externalize the error message and evaluation notification callbacks into
an own handler interface.
2010-06-18 21:21:36 +02:00
con
f344504d8b Merge branch 'master' of scm.dev.nokia.troll.no:creator/mainline 2010-06-18 16:54:48 +02:00
con
458a25efa9 Merge remote branch 'origin/2.0'
Conflicts:
	doc/qt-html-templates.qdocconf
	src/plugins/qmldesigner/components/stateseditor/stateseditorview.cpp
	src/plugins/qmljseditor/qmljscodecompletion.cpp
2010-06-18 16:54:37 +02:00
Leandro Melo
20eeca15ce Generic highlighter: Code folding support. 2010-06-18 16:31:42 +02:00
Leandro Melo
81955e045e Generic highlighter: Renaming a couple of methods. 2010-06-18 16:31:42 +02:00
Leandro Melo
4fb1507187 Generic highlighter: Correcting how the engine keeps track of spaces.
Unit test cases were also created for this.
2010-06-18 16:31:41 +02:00
Oswald Buddenhagen
82b72b0897 deref instead of deleting
this would give a leak instead of a crash - if it was really
relevant at all.
2010-06-16 15:48:02 +02:00
Oswald Buddenhagen
b49a6e7842 add pro parser stuff to dependpath 2010-06-16 15:47:46 +02:00
Leandro Melo
749e97db2b Fixing unit test due to change in the Highlighter's constructor. 2010-06-16 09:10:57 +02:00
Leandro Melo
b57a161101 Generic highlighter: Small re-writings. 2010-06-14 14:48:36 +02:00