Commit Graph

929 Commits

Author SHA1 Message Date
con
c8bb7e174b Merge commit 'origin/1.3'
Conflicts:
	src/plugins/qt4projectmanager/qt4project.cpp
2009-11-04 19:15:14 +01:00
con
9c0ed539cc Prevent global replace before search is done.
Also fix focusing issues of the replace line edit.

Reviewed-by: Roberto Raggi
2009-11-04 18:44:19 +01:00
Roberto Raggi
f2a0382910 Replace . with -> only when the base expression has type pointer to class.
Reviewed-by: Thorbjørn Lindeijer
2009-11-04 18:21:35 +01:00
Roberto Raggi
a7d0fb8014 Set the parent object of CppFindReferences. 2009-11-04 16:16:50 +01:00
Roberto Raggi
7cffef17aa Paranoia check. Skip the change if we have another change with the same offset. 2009-11-04 12:48:36 +01:00
con
fa34847571 Merge commit 'origin/1.3'
Conflicts:
	src/plugins/debugger/gdb/gdbengine.cpp
	src/plugins/qt4projectmanager/qt4project.cpp
2009-11-03 18:08:01 +01:00
Christian Kamm
ff4e559c46 Improve completion for function declarations.
Instead of just completing
void A::foo(|) -> void A::foo(int i|), we now complete
void A::foo(|) -> void A::foo(int i) const|
where | represents the place of the cursor.

Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2009-11-02 10:32:50 +01:00
con
162b0dae81 Version bump. 2009-10-29 17:17:49 +01:00
con
008168838f Version bump. 2009-10-29 17:15:55 +01:00
con
68f193a189 Merge commit 'origin/1.3'
Conflicts:
	src/plugins/debugger/gdb/gdbengine.cpp
Needed changes:
        src/plugins/qt4projectmanager/qtversionmanager.cpp
2009-10-27 18:23:58 +01:00
Friedemann Kleint
43ff8a0fb0 Compile Windows 2009-10-27 12:36:26 +01:00
Roberto Raggi
b7f3d924c3 Remove duplicates from the working list. 2009-10-27 12:32:04 +01:00
Roberto Raggi
fefd72b293 Introduced CPlusPlus::FindUsages. 2009-10-27 12:01:45 +01:00
con
bac9c64f93 Merge commit 'origin/1.3' 2009-10-26 15:48:26 +01:00
Thorbjørn Lindeijer
cd3435a983 Don't needlessly call updateProjectInfo()
Should not be necessary when nothing changed in the project info. This
also fixes a problem where include file scanning happened twice after
saving a pro file.

Reviewed-by: Roberto Raggi
2009-10-26 15:34:12 +01:00
con
441ece365a Merge commit 'origin/1.3'
Conflicts:
	src/plugins/cpptools/cppcodecompletion.h
	src/plugins/debugger/gdb/gdbengine.cpp
	src/plugins/qmleditor/QmlEditor.pluginspec
2009-10-26 13:51:56 +01:00
Roberto Raggi
a2b5184123 Activate the completion only when the canonical symbol has a valid name. 2009-10-26 13:45:27 +01:00
Roberto Raggi
996866814a Initialize all the members of CppCodeCompletion 2009-10-21 17:05:36 +02:00
Roberto Raggi
250d947aa5 Initialize members of ModelItemInfo. 2009-10-21 17:05:36 +02:00
Roberto Raggi
5f04a48f6b Removed unused member _node in QuickFixOperation 2009-10-21 17:05:36 +02:00
Roberto Raggi
e9a97ea6a4 Initialize m_line and m_column 2009-10-21 17:05:36 +02:00
Oswald Buddenhagen
c9f9310bb1 Merge remote branch 'origin/1.3'
Conflicts:
	src/plugins/cpptools/cppcodecompletion.cpp
	src/plugins/debugger/gdb/remotegdbadapter.cpp
2009-10-20 20:09:00 +02:00
Roberto Raggi
1006be240d Fixed possible crash when completing top-level declarations. 2009-10-20 17:17:11 +02:00
Roberto Raggi
41139ef630 Don't acticate completion inside C++-like comments. 2009-10-20 16:37:23 +02:00
Christian Kamm
cadaec24aa Fix function signature completion for cv-qualified functions.
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2009-10-20 12:55:14 +02:00
Christian Kamm
e3479d9942 Add completion for function signatures.
You now get the function parameters as a completion suggestion when
declaring or defining a function. The tooltip for function calls
is unchanged.

Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
(cherry picked from commit 202fef42ca)
2009-10-20 12:55:14 +02:00
Christian Kamm
202fef42ca Add completion for function signatures.
You now get the function parameters as a completion suggestion when
declaring or defining a function. The tooltip for function calls
is unchanged.

Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2009-10-19 14:19:28 +02:00
con
525ef4cc85 Merge remote branch 'origin/1.3'
Conflicts:
	src/plugins/cpptools/CppTools.pluginspec
	src/plugins/help/Help.pluginspec
	src/plugins/locator/Locator.pluginspec
	src/plugins/projectexplorer/ProjectExplorer.pluginspec
	src/plugins/texteditor/TextEditor.pluginspec
2009-10-16 14:40:40 +02:00
con
77efc921c2 Rename the internal parts that still used QuickOpen instead of Locator
Merge branch 'adams' into 1.3
2009-10-16 14:25:30 +02:00
Roberto Raggi
8b514657cc Added support to complete function-call operators. 2009-10-16 12:23:16 +02:00
con
1074aca8d2 Rename the QuickOpen plugin to Locator 2009-10-16 11:54:39 +02:00
con
ed77fcc551 Rename pro and pri files 2009-10-16 11:50:38 +02:00
con
a5bfacecb7 Rename directory quickopen --> locator 2009-10-16 11:44:18 +02:00
con
17d9bd6b0a Rename QuickOpen namespace. 2009-10-16 11:30:46 +02:00
Roberto Raggi
8dc369bc2d Simplified member completion.
Share code with ResolveExpression.
2009-10-16 11:08:34 +02:00
con
89d75814dd CppQuickOpenFilter --> CppLocatorFilter 2009-10-16 10:55:58 +02:00
con
a42c3c493a IQuickOpenFilter->ILocatorFilter and QuickOpenToolWindow->LocatorWidget 2009-10-16 04:00:57 +02:00
Roberto Raggi
e130c035d8 Process the names of the formal arguments when searching references in function definitions. 2009-10-15 14:48:56 +02:00
Roberto Raggi
24bcbaefe9 Don't use modality to inform the user about the dangerous world of code refactoring. 2009-10-15 13:59:04 +02:00
con
263d559e86 Merge commit 'origin/1.3' 2009-10-13 17:29:47 +02:00
Roberto Raggi
c33a8e9498 Rename the given enumerator. 2009-10-13 14:38:53 +02:00
Roberto Raggi
5bee5dea13 Check the scope of class and fwd-class declarations 2009-10-13 12:21:05 +02:00
Thorbjørn Lindeijer
b07c1be547 Fixed a crash on exit when include files are still being scanned
Found by Roberto.
2009-10-13 12:14:23 +02:00
Roberto Raggi
420b09e8c2 Expose CppModelManagerInterface::workingCopy() 2009-10-12 10:38:00 +02:00
con
7ecbfbe6d2 Merge commit 'origin/1.3' 2009-10-09 20:15:17 +02:00
Erik Verbruggen
4b44fa5f4a Added Objective-C @-keywords to the completion. 2009-10-09 15:22:57 +02:00
Roberto Raggi
88f3fa09be Removed deprecated PrettyPrinter. We need a way to generate the pretty printer from the C++ parser. 2009-10-09 11:44:12 +02:00
Roberto Raggi
f820c1c776 Removed CppSemanticSearch & co. Find usages of a Symbol is way more powerful. 2009-10-09 11:13:59 +02:00
Roberto Raggi
dbffec2cca Handle ambiguous AST nodes. 2009-10-09 11:02:47 +02:00
con
9ec8bc8975 Merge commit 'origin/1.3' 2009-10-08 19:05:40 +02:00