con
44e2704bc1
Refactor search result window for use of many items and checked state.
2009-10-05 16:01:50 +02:00
Roberto Raggi
73320a43d1
Added `Find Usages' of a Symbol.
2009-10-05 15:17:48 +02:00
Roberto Raggi
ec84f72968
Search for possible references in template arguments.
2009-10-05 13:46:40 +02:00
Roberto Raggi
b5d6bf73d6
Ensure the user can stop a semantic search and added a method to get a pointer to the ModelManagerInterface.
2009-10-05 13:43:05 +02:00
Roberto Raggi
1395b87fc8
Introduced an overload of reportResult() that can deal with strong and weak results.
2009-10-05 12:53:18 +02:00
Roberto Raggi
cbf24ab6f4
Don't look at formal arguments.
2009-10-05 12:37:14 +02:00
Roberto Raggi
1f1c899cc0
Improved template instantiation.
2009-10-05 11:39:55 +02:00
Roberto Raggi
3727cbc804
Improved template instantiation.
2009-10-05 11:38:54 +02:00
Friedemann Kleint
5948e284bb
Rename namespace Core::Utils into Utils
...
Also move Designer::Internal::FormWindowEditor ->
Designer::FormWindowEditor.
2009-10-05 11:06:05 +02:00
con
b19d76d903
Version bump.
2009-10-02 16:27:03 +02:00
con
1de6a6e716
Version bump.
2009-10-02 16:21:39 +02:00
con
f006183b3d
Support include completion for frameworks on Mac.
...
Which is 'quite' important, since Qt builds by default generate
frameworks.
2009-10-01 17:02:18 +02:00
Friedemann Kleint
74a3828f19
Purge out include files in exported headers
2009-10-01 16:38:08 +02:00
Roberto Raggi
510bd6dc69
Cache the lookup context.
2009-09-30 19:02:33 +02:00
Roberto Raggi
ae43149c97
Cache the macros.
2009-09-30 18:52:42 +02:00
Roberto Raggi
9a21143384
Implemented a simple(fast?) strategy to resolve macro references.
2009-09-30 17:17:11 +02:00
Roberto Raggi
e50d60ac97
Introduced MacroResolver.
2009-09-30 17:17:11 +02:00
Roberto Raggi
8356d3360b
Delay the parsing of the document.
2009-09-30 16:13:43 +02:00
Roberto Raggi
ace380ec28
Make the symbols used in the current editors.
2009-09-30 13:25:59 +02:00
Roberto Raggi
cae8a31a7d
FullySpecifiedType::simplified() strips references from the type.
2009-09-30 11:54:46 +02:00
Roberto Raggi
7a5b1bdd82
Removed unused reference to `wasInReplaceMode'.
2009-09-30 11:54:46 +02:00
Roberto Raggi
331effc2fd
Introduced checkable results.
2009-09-29 18:19:36 +02:00
Roberto Raggi
f62ecb37f3
Preprocess the given expression when trying to resolve names.
2009-09-29 16:20:37 +02:00
Roberto Raggi
11212eb0d1
Handle qualified name ids.
2009-09-29 14:41:43 +02:00
Roberto Raggi
05f7870a67
Cleanup
2009-09-29 13:50:55 +02:00
Roberto Raggi
86e21bc255
Look at the working copy when searching for references.
2009-09-29 13:42:47 +02:00
Roberto Raggi
4bc4bd0f5d
Removed useless qDebug.
2009-09-29 13:34:52 +02:00
Roberto Raggi
9f49cd05b6
Handle mem initializers.
2009-09-29 13:02:15 +02:00
Roberto Raggi
6b4db9e674
Handle ctor-initializers in the LookupContext.
2009-09-29 12:47:03 +02:00
Roberto Raggi
b1f5a40ee2
Handle member expressions.
2009-09-29 12:32:47 +02:00
Christian Kamm
22ed0255b9
Track more macro uses.
...
In particular macros that are only checked for definition or are
expanded during the evaluation of an #if or #elif directive are now also
added to the list available through Document::macroUses().
The names of undefined macros that are interesting (because they're used
in an #ifdef or a defined(...)) are now available through
Document::undefinedMacroUses().
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com >
2009-09-25 16:08:01 +02:00
Roberto Raggi
b3cf5ae50a
Some work on `find references of a symbol'.
2009-09-25 14:20:02 +02:00
Roberto Raggi
54d60a77ae
Use the canonical symbol when searching references.
2009-09-25 14:20:02 +02:00
Roberto Raggi
91a50a74f2
Changed the signature of findReferences()
2009-09-24 16:51:40 +02:00
dt
fd5ee47949
Forward declaration is not enough, so include the header.
2009-09-23 17:38:36 +02:00
Roberto Raggi
9b501d6369
Use TASK_SEARCH instead of TASK_INDEX.
2009-09-23 16:52:42 +02:00
Roberto Raggi
6ea5fdcded
Speed up the search of a reference to a name.
2009-09-23 16:52:42 +02:00
Roberto Raggi
8848be4caa
Find references
2009-09-23 16:52:41 +02:00
Thorbjørn Lindeijer
bf74d21d6c
Avoid completing a closing parenthesis in the wrong place
...
Need to check the character to the right of the cursor.
2009-09-22 16:54:16 +02:00
mae
061865efa4
move auto parentheses handling into the cpp editor
2009-09-17 12:37:20 +02:00
Daniel Molkentin
37d73f321d
Be smarter about macros available from cl.exe.
...
Some macros are defined not by cl.exe purely, but are pretty standard.
We add those manually anyway. Also, remove compiler-specific macro
definitions from the model manager. They should be provided by the tool
chains only.
2009-09-16 17:17:09 +02:00
Thorbjørn Lindeijer
b8b37cb0b5
Fixed the completion to take into account auto parentheses insertion
...
Also skip semicolons in when auto parentheses insertion is enabled.
Done with mae.
2009-09-16 16:48:14 +02:00
con
32e0340eab
Version bump.
2009-09-10 17:02:57 +02:00
Thorbjørn Lindeijer
20e3d53602
Fixed endless looping in include paths in some cases with symlinks
...
Done-with: Christian Kamm <christian.d.kamm@nokia.com >
2009-08-28 16:58:35 +02:00
Thorbjørn Lindeijer
aba678604c
Optimized startOfOperator a bit
2009-08-28 13:51:06 +02:00
Thorbjørn Lindeijer
51d2c831b9
Fix crash in include completion with non-canonical include paths
...
Use QFileInfo::fileName() to get the filename, since that also works
when the original path wasn't canonical.
2009-08-20 19:49:54 +02:00
Thorbjørn Lindeijer
5b6ccb0468
Added a check for empty filename
...
No empty entries should be added to the completion list, but it seems
like this is what is happening. Maybe this warning will give some more
information about the problem.
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com >
2009-08-20 17:46:07 +02:00
hjk
93cbef8724
long live the king
2009-08-14 09:30:56 +02:00
hjk
b104b43fa0
sessionmanager: replace signal sessionUnloaded() by aboutToUnloadSession()
...
sessionUnloaded was sometimes emitted when the session manager was in
an unsafe state (between delete m_file and m_file = new ...) leading
to crashes when slots connected to the signal accessed the sessionmanager
again. This patch moves the signal emission before delete m_file.
Reviewed-by: dt
2009-08-13 17:10:53 +02:00
Daniel Molkentin
a33c7990d8
Honor QTCREATOR_NO_CODE_INDEXER, supress include scanning.
2009-08-04 18:17:05 +02:00