Roberto Raggi
937340cc5f
Don't process the documents from QtConcurrent threads.
2009-03-17 14:39:52 +01:00
Roberto Raggi
a720d967ff
Parse only c/c++ files.
2009-03-16 12:31:34 +01:00
Roberto Raggi
99805d3c3e
Prune the list of the futures.
2009-03-11 12:21:02 +01:00
Roberto Raggi
ecab2093ae
Wait the future values.
2009-03-11 12:00:20 +01:00
Roberto Raggi
2780999d53
Improved the way we merge environments.
2009-03-09 12:51:48 +01:00
Roberto Raggi
ed97c785bc
Removed the blockingMap, but continue to parse the collected documents in parallel.
2009-03-06 11:53:15 +01:00
Roberto Raggi
4467f4b413
Oops! fixed the #endif.
2009-03-05 09:46:54 +01:00
Roberto Raggi
e253f39360
Store the actual arguments of the macro expansions.
2009-03-04 11:47:30 +01:00
hjk
12018c89d6
Fixes: simplify ProjectExplorerPlugin::instance() access
2009-03-04 09:38:01 +01:00
Roberto Raggi
7765a3d337
ifdefout the new smart highligher.
2009-03-03 14:52:09 +01:00
Roberto Raggi
3d6f7de909
Context-sensitive highlighting.
2009-03-03 13:57:08 +01:00
Roberto Raggi
454438e47d
More cleanup.
2009-03-03 10:41:20 +01:00
Roberto Raggi
ed69c39906
More cleanup
2009-03-02 18:15:58 +01:00
Roberto Raggi
b74fcb7702
Cache the UTF-8 encoded contents of the text editors, and some cleanup in updateEditorSelections().
2009-03-02 16:31:59 +01:00
hjk
8ca887aae2
Fixes: change file license headers to include LGPL
2009-02-25 09:15:00 +01:00
Roberto Raggi
0220b4519e
Cleanup
2009-02-24 12:06:34 +01:00
Roberto Raggi
5b54d59d23
Cleanup the indexer, and remove to old sequential stuff.
2009-02-24 11:49:01 +01:00
Roberto Raggi
bfe36575b7
Introduced a parallel indexer. It is ifdef-out atm.
2009-02-24 11:04:52 +01:00
Roberto Raggi
65ff19e7fa
Postpone the update of the ifdefedOut blocks.
2009-02-23 17:49:03 +01:00
Roberto Raggi
fcf4d6fd14
Oops! we still need to create a Document::Ptr for the `unresolved' files.
2009-02-23 17:08:55 +01:00
Roberto Raggi
e330d96668
Better values for the progress bar.
2009-02-23 15:57:37 +01:00
Roberto Raggi
1c063f6953
Alternative implementation of the indexer. It is a little bit slower, but I'm going to make it faster.
...
Unfortunately the refactoring of the indexer is kind of necessary. I need to merge the new binding pass.
2009-02-23 12:49:56 +01:00
Roberto Raggi
c8bdd0bee4
Skip __complex__, __imag__ and __real__
2009-02-23 11:48:26 +01:00
Roberto Raggi
5c791dc423
Some code to simplify the debugging of ASTs.
2009-02-18 16:02:01 +01:00
Thorbjørn Lindeijer
c5751df251
Merge branch '1.0.0'
2009-02-11 15:27:25 +01:00
Thorbjørn Lindeijer
dd54cc6a7a
Don't remove syntax errors on each document change
...
Especially when several error markers exist, the flashing this causes
while editing isn't really nice.
Reviewed-by: Roberto Raggi
2009-02-11 15:03:50 +01:00
Roberto Raggi
f3c2bbaabe
Less annoying syntax checker.
...
(cherry picked from commit 9539bb2b28
)
2009-02-11 15:03:31 +01:00
Roberto Raggi
9539bb2b28
Less annoying syntax checker.
2009-02-10 23:33:40 +01:00
Roberto Raggi
9369818891
Invalidate the documents in the snapshot that need to be reparsed.
2009-02-09 12:33:43 +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
Daniel Molkentin
59affcfffc
Bump year in licence header.
2009-01-13 19:22:14 +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
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
dt
3ba192af7e
Merge branch '0.9.1-beta'
2008-12-17 14:21:03 +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
1efe71992b
Moved the CppHoverHandler to the CppEditor plugin
...
It used to be in CppTools, but since the hover handler only makes sense
in the context of the C++ editor, this is a better place.
2008-12-16 12:27:13 +01:00
Roberto Raggi
bab60d14b3
Introduced CPlusPlus::Snapshot, it contains a snap shot of the indexer's current state.
...
This change removes a number of wrong usages of the CppModelManager::documents()/document().
2008-12-12 10:07:58 +01:00
Roberto Raggi
d454607264
Implemented tooltip and lookat for #include directives.
2008-12-10 17:21:28 +01:00
Roberto Raggi
9653f4b7e9
Fixed macro locations.
2008-12-09 16:20:21 +01:00
Roberto Raggi
20e36cc364
tooltip for macro definitions.
2008-12-09 15:24:26 +01:00
hjk
4a552ead9f
use QTC_ASSERT instead of Q_ASSERT
2008-12-09 15:25:01 +01:00
Roberto Raggi
02488eebe4
More cleanup in the CppPreprocessor.
2008-12-08 14:49:53 +01:00
Roberto Raggi
310d50fd07
Use Macros.
2008-12-08 12:59:57 +01:00
Roberto Raggi
520a5c9e65
Put the preprocessor the CPlusPlus namespace
2008-12-08 12:18:04 +01:00
Roberto Raggi
1f8ce02d06
Some cleanup in CppPreprocessor.
2008-12-08 11:42:09 +01:00
Roberto Raggi
d74ddb76b6
Protected m_dirty and m_projects with a mutex.
2008-12-08 10:45:27 +01:00
mae
6d37029be8
support different selection kinds in basetexteditor.
...
enum ExtraSelectionKind {
CurrentLineSelection,
ParenthesesMatchingSelection,
CodeWarningsSelection,
CodeSemanticsSelection,
OtherSelection,
NExtraSelectionKinds
};
void setExtraSelections(ExtraSelectionKind kind, const QList<QTextEdit::ExtraSelection> &selections);
QList<QTextEdit::ExtraSelection> extraSelections(ExtraSelectionKind kind) const;
This is mainly for the benefit of the cppmodelmanager.
2008-12-05 13:19:57 +01:00
Roberto Raggi
a418183596
Some cleanup in the CppPreprocessor.
2008-12-04 17:08:11 +01:00