Thorbjørn Lindeijer
a33ae02927
Revert now unnecessary checks for null-types
...
This reverts commits:
c721304a47
885d908ea3
a0909989f7
fb4ad59ddb
0a9a67cf54
0d1624d4d1
d018cfd5cb
0504fdd00b
a2fd10fe19
Conflicts:
src/plugins/cpptools/cppcodecompletion.cpp
Reviewed-by: Roberto Raggi
2009-02-10 17:41:04 +01:00
Thorbjørn Lindeijer
c721304a47
Fix for crash when doing signal completion
2009-02-10 16:43:23 +01:00
Thorbjørn Lindeijer
86427ecf62
Avoid inserting characters that are already there
...
When completing, don't insert "();" characters when they're already
there. Skip them instead.
2009-02-10 13:01:19 +01:00
Roberto Raggi
a0909989f7
Fixes: Possible crash in completeMember.
2009-02-10 12:43:47 +01:00
Roberto Raggi
0a9a67cf54
Fixes: Possible crash when completing constructors.
2009-02-09 20:59:39 +01:00
Roberto Raggi
d018cfd5cb
Fixes: Possible crash when completing a function with (void) argument.
2009-02-09 20:34:54 +01:00
Roberto Raggi
0504fdd00b
Fixes: Another possible crash
2009-02-09 20:30:56 +01:00
Roberto Raggi
d01795d933
Reimplemented Type::as*Type() using virtual methods.
2009-02-09 17:49:12 +01:00
Roberto Raggi
9369818891
Invalidate the documents in the snapshot that need to be reparsed.
2009-02-09 12:33:43 +01:00
Thorbjørn Lindeijer
ad5bdf6969
Added tooltips to editor settings and tweaked layout
...
Looks a bit nicer now and the tooltips explain some of the options a bit
better. Header texts have also been simplified.
2009-02-05 14:58:28 +01:00
con
10a083c12b
Merge branch '0.9.2-rc1'
...
Conflicts:
src/plugins/coreplugin/editormanager/editormanager.cpp
2009-02-04 21:34:12 +01:00
Thorbjørn Lindeijer
fca3ec1f32
Completion for constructors used on initialization
...
Deals with cases like "QString s(", but for the moment doesn't handle
yet "QString const s(".
Done with Roberto Raggi.
2009-02-04 16:40:42 +01:00
con
bbca68fbb9
Fixes: - Copyright date
2009-02-04 11:15:28 +01:00
Roberto Raggi
180233e7af
Fixes: Do not activate member completion when class names are used as base of a DOT or ARROW expression.
2009-02-04 10:57:32 +01:00
Roberto Raggi
f1a40d304b
Fixes: Member completion when the symbol's type is ClassTy.
...
For example,
struct {
int a, b
} foo;
int main() {
foo. <-
}
2009-02-03 12:50:53 +01:00
Thorbjørn Lindeijer
63a5f15f9d
Don't replace . with -> in case of primitive types
...
Reviewed-by: Roberto Raggi
2009-02-03 11:53:54 +01:00
hjk
1969b2ebc0
Fixes: some less caching of the ICore singleton pointer
2009-01-28 13:56:10 +01:00
Thorbjørn Lindeijer
5dbcc615c2
Split up general text editor settings
...
The page had grown too large so now the display settings have been split
off onto their own page.
2009-01-27 15:23:19 +01:00
Thorbjørn Lindeijer
8c59160792
Fix SIGNAL/SLOT completion with spaces after opening brace
...
Spaces after the opening brace would cause SIGNAL/SLOT completion to be
disabled along with function completion. Now function completion is
checked at a later stage.
2009-01-26 15:55:57 +01:00
Thorbjørn Lindeijer
6adecf3767
Avoid going through ICore when it's not necessary
...
Many singletons have their own instance() method, in which case there is
no need to use ICore::instance() to get access to them.
2009-01-21 15:55:33 +01:00
hjk
113b81e9db
replace ExtensionSystem::PluginManager::instance()->getObject<Core::ICore>() by Core::ICore::instance()
2009-01-20 11:52:04 +01:00
hjk
cc5ff1ec74
Remove #include <extensionsystem/pluginmanager.h> from icore.h, a
...
forward declaration is sufficient.
2009-01-19 12:39:20 +01:00
hjk
266ee2a468
remove ProjectExplorerInterface and ExtensionSystemInterfaces files
2009-01-14 15:08:46 +01:00
con
fbfcc9a484
Fixes: - ICommand --> Command
...
Details: - Naming convention
2009-01-14 13:18:25 +01:00
con
1e4c48a173
Fixes: - IActionContainer --> ActionContainer
...
Details: - Conform to naming convention
2009-01-14 13:18:24 +01:00
Roberto Raggi
df56b1069d
Don't add the objc++ keywords to the completion box.
2009-01-14 12:35:55 +01:00
Daniel Molkentin
59affcfffc
Bump year in licence header.
2009-01-13 19:22:14 +01:00
Friedemann Kleint
71ef39629c
Windows compile warning
2009-01-13 17:55:02 +01:00
Thorbjørn Lindeijer
59c8b93309
Modified IOptionsPage interface for Apply button
...
The previous interface wasn't sufficient to properly support the Apply
button, since it didn't separate applying the changes from the cleanup
phase.
Designer settings pages still need some fixing.
Fixes Apply button causing problems for certain plugins, for example the
QuickOpen.
2009-01-13 16:03:55 +01:00
con
281c462d24
Fixes: - ProgressManagerInterface --> ProgressManager
...
Details: - Conform to conventions.
2009-01-13 15:44:26 +01:00
con
5f3faaff19
Fixes: - ProgressManager --> ProgressManagerPrivate
2009-01-13 15:44:26 +01:00
con
c9889120c3
Fixes: - Rename ActionManagerInterface --> ActionManager
...
Details: - To make it conform to naming convention.
2009-01-13 15:44:25 +01:00
Thorbjørn Lindeijer
34cc807b36
Fixed crash in function argument widget
...
It didn't make sure its Function* stayed valid. Now it does, by keeping
a copy of the list of CppDocuments (the snapshot) around.
2009-01-13 13:18:26 +01:00
Thorbjørn Lindeijer
171a3bb8d2
Fixed compilation problem with gcc 3.3
...
Reviewed-by: Roberto Raggi
2009-01-08 15:09:21 +01:00
con
123ef3db8e
Fixes: - Switch Header/Source sometimes uses wrong file
...
Task: - 237723
Details: - Look in the same directory first, then go through project's
files.
2009-01-06 17:37:45 +01:00
Roberto Raggi
85babacb5a
Replace a. with a[0]. when `a' has type array of T.
2009-01-05 15:25:44 +01:00
Roberto Raggi
f0ac751f4a
Completion for typedef of pointer to struct.
2008-12-31 10:57:27 +01:00
Roberto Raggi
c7b023c0e1
Renamed SymbolsForDotAccess to ResolveClass.
2008-12-30 12:03:49 +01:00
Roberto Raggi
12ee869eda
Simple typedef support for T_ARROW member access.
2008-12-30 11:45:41 +01:00
Roberto Raggi
f6f0c81021
Improved CppCodeCompletion::completeScope(). Added simple support for typedefs.
2008-12-30 11:35:30 +01:00
Roberto Raggi
a985b59d40
Initial support for typedefs.
2008-12-29 11:53:40 +01:00
Roberto Raggi
e325aa38d9
Nicer implementation of CPlusPlus::Macro.
2008-12-22 13:55:42 +01:00
Roberto Raggi
753ddb7ce0
Some cleanup in the C++ preprocessor.
...
Introduced pp-scanner.cpp, renamed `pp' to `Preprocessor' and removed useless #includes.
2008-12-22 11:40:53 +01:00
goro
a51b70b51c
Bump version from 0.9.1 to 0.9.2
2008-12-18 12:51:08 +01:00
Thorbjørn Lindeijer
12e4f2b2ee
Some code simplification in CompletionSettingsPage
2008-12-18 09:03:05 +01:00
dt
3ba192af7e
Merge branch '0.9.1-beta'
2008-12-17 14:21:03 +01:00
dt
791217bad4
Merge branch '0.9.1-beta' of git@scm.dev.nokia.troll.no:creator/mainline into 0.9.1-beta
2008-12-16 17:25:17 +01:00
dt
29dfc72f1a
Fixes: Nokia Technology Preview License -> Nokia Beta Version License
...
Details: in all pluginspecs.
2008-12-16 17:24:14 +01:00
hjk
da3cb14483
chancge Nokia GPL exception version from 1.2 to 1.3
2008-12-16 17:20:00 +01:00
Thorbjørn Lindeijer
9cf4074504
Added option to disable completion of common prefix
...
Some people don't like this.
2008-12-16 16:58:29 +01:00