Commit Graph

72811 Commits

Author SHA1 Message Date
ck
3e126d6a26 Compile fix. 2010-05-17 10:50:12 +02:00
Nicolas Arnaud-Cormos
3b94093f0e Add a changed signal in Aggregation
Use it to change the find and candidate find object in CurrentDocumentFind:
this will allow to replace the IFindSupport object used.

Merge-request: 115
Reviewed-by: con <qtc-committer@nokia.com>
(cherry picked from commit d3b58c2db3)
2010-05-17 10:45:36 +02:00
con
701b63f208 Minor style, and remove unnecessary line. 2010-05-17 10:37:01 +02:00
Nicolas Arnaud-Cormos
d3b58c2db3 Add a changed signal in Aggregation
Use it to change the find and candidate find object in CurrentDocumentFind:
this will allow to replace the IFindSupport object used.

Merge-request: 115
Reviewed-by: con <qtc-committer@nokia.com>
2010-05-17 10:37:01 +02:00
Marco Bubke
565158bbb4 Always reset the id for an object in node instances
Because we tested for the parent, the id of a root item never reset.
This was hidden because if you remove a root item all
child items was removed too. But if the object was not deleted by the
root item and there was a binding the root item id, there was a dangling
pointer.

Task-Number: BAUHAUS-662
Reviewed-by: kkoehne
2010-05-17 10:03:41 +02:00
Marco Bubke
628375a507 Extent the rewriter exception with a document text attribute
This makes it easier to find problems.

Reviewed-by: kkoehne
2010-05-17 10:03:34 +02:00
Marco Bubke
386dac2c47 Exceptions should not assert on default
Reviewed-by: kkoehne
2010-05-17 10:03:28 +02:00
Marco Bubke
94356a07dd Set a binding in states to zero if the target object is zero
If there is no target anymore you cannot create a new binding. There is
no need anyway so the binding is reset to zero.

Task-Number: BAUHAUS-642
Reviewed-by: kkoehne
2010-05-17 10:03:23 +02:00
Marco Bubke
fa640f66db Go always back to the base state if you change the state
Should work without this, but the performance hit is not so high,
and this is more robust to changes in the qml state code.

Task-Number: BAUHAUS-660
Reviewed-by: kkoehne
2010-05-17 10:03:16 +02:00
Kai Koehne
1a1142488c QuickDesigner: Reduce number of times states are rendered
Caused by missing brackets.
2010-05-14 16:35:12 +02:00
Kai Koehne
2165bd4d83 QuickDesigner: Add debugging output to track State Switching
Of course disabled by default
2010-05-14 16:35:12 +02:00
Kai Koehne
d26e11b64e QuickDesigner: Fix copy/paste error 2010-05-14 16:35:12 +02:00
Leena Miettinen
cf233161fa Doc - UI - Fix UI text capitalization to follow the KDE Style Guide rules.
Reviewed-by: ossi
2010-05-14 15:53:56 +02:00
Roberto Raggi
e2297e4cbd less verbose. 2010-05-14 15:34:39 +02:00
Roberto Raggi
3decf8ccc0 Jump to the declaration if the last visible symbol is the current function definition. 2010-05-14 15:33:01 +02:00
Roberto Raggi
25b04ff5b4 Flush the current binding before searching for types. 2010-05-14 15:32:40 +02:00
Roberto Raggi
81d7ac2d69 Improved LookupContext::fullyQualifiedName(). 2010-05-14 15:10:28 +02:00
Roberto Raggi
ca1d1259c6 Cleanup. 2010-05-14 14:37:17 +02:00
Roberto Raggi
469b6ef741 Get rid of useless overload of findType(). 2010-05-14 14:18:44 +02:00
Roberto Raggi
31135d5767 More renaming. 2010-05-14 14:00:56 +02:00
Roberto Raggi
a2128885de Get rid of some obsoleted code. 2010-05-14 13:58:06 +02:00
Roberto Raggi
13625c2121 Removed ClassOrNamespace::findType_helper() & co. 2010-05-14 13:55:25 +02:00
Roberto Raggi
8eac2fcd21 More renaming. 2010-05-14 13:55:25 +02:00
Roberto Raggi
20bfb3313e Removed deprecated code. 2010-05-14 13:55:24 +02:00
Roberto Raggi
a600614866 Renamed classOrNamespace() and lookup/findClassOrNamespace(). 2010-05-14 13:55:24 +02:00
Roberto Raggi
fca0d359ba Removed deprecate overload of LookupContext::classOrNamespace(). 2010-05-14 13:55:24 +02:00
Roberto Raggi
9ed1f667a8 Resolve ambiguous C++-like initilized declarations. 2010-05-14 13:55:24 +02:00
Roberto Raggi
517e04ff60 Reenabled the tooltip. 2010-05-14 13:55:23 +02:00
Roberto Raggi
1302de086a Jump at the function's definition. 2010-05-14 13:55:23 +02:00
Roberto Raggi
5d13a206e2 Reimplemented switch declaration/definition. 2010-05-14 13:55:23 +02:00
Roberto Raggi
3c6ad0d845 Instiate overloads of operator->(). 2010-05-14 13:55:22 +02:00
Roberto Raggi
1f3ce81061 Check the member access operator before trying to resolve the base expression. 2010-05-14 13:55:22 +02:00
Roberto Raggi
31b632d6fb Oops! use the right base type when searching for overloads of operator->(). 2010-05-14 13:55:22 +02:00
Roberto Raggi
7edde41d7e Get rid of deprected method ResolveExpression::resolveBaseExpression(). 2010-05-14 13:55:22 +02:00
Roberto Raggi
b66375819d Removed ResolveExpression::resolveMember(). 2010-05-14 13:55:22 +02:00
Roberto Raggi
a3e76dd2cf Get rid off resolveMemberExpression(). 2010-05-14 13:55:22 +02:00
Roberto Raggi
f9a05d9ced Reimplemented resolve base expression. 2010-05-14 13:55:21 +02:00
Roberto Raggi
c739119c2a Fixed Document::scopeAt() to always return a valid scope. 2010-05-14 13:55:21 +02:00
Roberto Raggi
9381a3e7d8 Look for symbols in the base class implementation. 2010-05-14 13:55:21 +02:00
Roberto Raggi
60f76c96e8 Improved LookupItem and get rid of some deprecated code. 2010-05-14 13:55:21 +02:00
Roberto Raggi
140756eef4 Removed deprecated code. 2010-05-14 13:55:20 +02:00
Roberto Raggi
478d3ffdd1 Cleanup. 2010-05-14 13:55:20 +02:00
Lasse Holmstedt
0cf8209936 fixed a crash with sidebar when using old settings files
If the user uses old QtC settings files (QtCreator.ini), sidebar item
names are there translated. Because the new settings uses id's instead
of translated names, old sidebar items will not exist on save, causing
crashes. this fixes that issue.

Reviewed-by: con
2010-05-14 12:15:28 +02:00
Lasse Holmstedt
cf250f26c1 fixed a crash with sidebar when using old settings files
If the user uses old QtC settings files (QtCreator.ini), sidebar item
names are there translated. Because the new settings uses id's instead
of translated names, old sidebar items will not exist on save, causing
crashes. this fixes that issue.

Reviewed-by: con
2010-05-14 12:12:00 +02:00
Leandro Melo
a8133e089e Merge branch 'master' of scm.dev.nokia.troll.no:creator/mainline 2010-05-14 12:02:21 +02:00
Leandro Melo
dc993ffffe Need to keep XML mime types for TextEditor plugin (designer depends on that in the database). 2010-05-14 11:57:03 +02:00
Friedemann Kleint
a931a68044 Checkable Messagebox: Fix layout, handle URL.
For usage with 709cb2946b.
2010-05-14 11:09:40 +02:00
Friedemann Kleint
709cb2946b Debugger[CDB]: Prompt to set up the Symbol server.
Prompt to set up the public symbol server unless
it is already configured or the environment
variable exists. Change the dialog to be
based on the PathChooser to be able to suggest
a non-existent directory.
Acked-by: Alessandro Portale <alessandro.portale@nokia.com>
2010-05-14 11:06:33 +02:00
Leandro Melo
e5401e941c Parsing of definitions metadata for mime type registering is now in a separate thread (QtConcurrent). Also some clean up. 2010-05-14 10:12:27 +02:00
Leandro Melo
67917cd9a1 Replaced declarations for disable copy macro. 2010-05-14 10:12:27 +02:00