Commit Graph

34 Commits

Author SHA1 Message Date
Roberto Raggi
77aa306478 Removed the MacroResolver
Unfortunately, the MacroResolver does not scale and we get pretty bad performances when parsing big projects.
2009-10-07 13:57:45 +02:00
Roberto Raggi
7a135ac8a2 Search for possible forward classes. 2009-10-06 17:23:15 +02:00
Roberto Raggi
3c51e5b24b Return the class declaration as canonical symbol for ctors, dtors, and class names. 2009-10-06 16:27:39 +02:00
Roberto Raggi
ef0e1a64dc Show a warning message when using global renaming. 2009-10-06 16:00:55 +02:00
Roberto Raggi
fe1411cdfd Use the existing text editor when refactoring text. 2009-10-06 14:22:42 +02:00
Roberto Raggi
64710c2b6b Perform renaming. 2009-10-05 18:30:39 +02:00
con
ddb7842761 Merge branch '1.3' of git@scm.dev.nokia.troll.no:creator/mainline into 1.3
Conflicts:
	src/plugins/cpptools/cppfindreferences.cpp
	src/plugins/cpptools/cpptoolsplugin.cpp
	src/plugins/texteditor/basefilefind.cpp
2009-10-05 17:26:13 +02:00
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
Friedemann Kleint
5948e284bb Rename namespace Core::Utils into Utils
Also move Designer::Internal::FormWindowEditor ->
Designer::FormWindowEditor.
2009-10-05 11:06:05 +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
ace380ec28 Make the symbols used in the current editors. 2009-09-30 13:25:59 +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
b1f5a40ee2 Handle member expressions. 2009-09-29 12:32:47 +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
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