summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppmodelmanager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* texteditor: merge ITextEditable into ITextEditorhjk2011-02-221-5/+5
| | | | | | | | rename BastTextEditor->BaseTextEditorWidget, BaseTextEditorEditable->BaseTextEditor rename BaseTextEditor{,Widget} subclasses rename editableInterface->editorInterface rename createEditableInterface->createEditor minor cleanups after renamings
* QmlJS: Rework FakeMetaObjects to no longer contain pointers.Christian Kamm2011-02-101-1/+0
| | | | | | Having a duplicate prototype chain - once in FakeMetaObjects and once in QmlObjectValues was unnecessary. Now FMOs don't contain references which may allow other simplifications.
* Header cleanup in src, specify module name.Friedemann Kleint2011-01-241-3/+3
|
* Limit depth of include scanning to avoid performance problems.con2011-01-121-4/+12
| | | | Reviewed-by: Thorbjørn Lindeijer
* It's 2011 now.con2011-01-121-1/+1
| | | | Reviewed-by: hjk
* Qml/C++: Fix performance problem with type extraction.Christian Kamm2011-01-061-20/+21
| | | | | | By moving the offending code into a background thread. Reviewed-by: Erik Verbruggen
* QmlJS: Add refcounting to FakeMetaObjects.Christian Kamm2011-01-061-8/+8
| | | | | | | | | | Previously they were leaked when a qmldump or the C++ exported QML type list updated. Just deleting the previous FakeMetaObjects is not an option, as they might still be used in a QmlObjectValue owned by an Engine. Reviewed-by: Erik Verbruggen
* Qml/C++: Disable qmlRegisterType exposing until performance is better.Christian Kamm2011-01-051-1/+2
|
* Qml-C++: Find C++ qmlRegisterType calls and populate QML code model.Christian Kamm2011-01-041-1/+161
| | | | Reviewed-by: Erik Verbruggen
* C++: Move the ModelManagerInterface from CppTools to CPlusPlus.Christian Kamm2011-01-041-5/+6
|
* License headers.con2010-12-171-7/+11
|
* Do not scan "/" for include filesAlessandro Portale2010-10-031-0/+3
| | | | | | | | | | | | | The scanning phase was in some cases insanely long. Reason was that Creator feeds wrong paths to the CppModelManager, for example "/". The scanning phase did what it was told to: scan that whole Harddrive. This patch makes sure that the scanning is not done for "/" Done-With: Roberto
* No Samba while including filesAlessandro Portale2010-10-031-4/+10
| | | | | | | | | | | | | | | | | | | | | | | (The other Samba is meant. The slow one, not the nice one.) Creator manages to feed the CppModelManager with all kinds of wrong include paths. That is usually not a big issue as long as that path is not a simple "/". CppManager appended a separator to all incoming include paths. And when the above "/" was passed in, we had (on my machine) 7 seconds of Samba Network lookup, multiple times during a parse. And the sad thing was that my dear colleagues in the Intranet did not even have the searched-for header files on their shared folders. This patch makes sure that a separator is only appended if the path does not already end with one. The real core of the issue (wrong include paths from Creator) still needs to be fixed. Done-with: Roberto Raggi
* Get rid of the numeric literals.Roberto Raggi2010-09-021-0/+3
|
* Get rid of the old Semantic pass.Roberto Raggi2010-08-131-1/+0
|
* Quickfix: Convert underscore notation to camel case.ck2010-07-201-2/+3
| | | | Reviewed-by: Roberto Raggi
* Moved CheckUndefinedSymbols to the cpptools plug-in.Roberto Raggi2010-07-051-1/+0
|
* Removed the TokenCache.Erik Verbruggen2010-07-021-5/+0
|
* Core::Context: compile hot fix for Windows.hjk2010-06-251-6/+7
|
* Introduced token caching to prevent repetetive tokenizing.Erik Verbruggen2010-06-141-0/+3
| | | | | | Also removed TokenUnderCursor as it's functionality is in the token cache. Reviewed-by: ckamm
* Revert "Introduced a token cache for the C++ editor."Erik Verbruggen2010-06-041-3/+0
| | | | This reverts commit c2393df02332618c8cf6159d9d6f6a40041ced89.
* Introduced a token cache for the C++ editor.Erik Verbruggen2010-06-041-0/+3
| | | | | This should speed things up a bit, because before, the line was tokenized at least 3 times.
* Ensure we keep the context around for as long as it is needed.Roberto Raggi2010-05-311-8/+6
|
* Removed DeprecatedLookupContext.Roberto Raggi2010-05-261-2/+0
|
* Removed the CppBindings.Roberto Raggi2010-05-251-2/+1
|
* Don't check for undefined symbols in CppModelManager.Roberto Raggi2010-05-251-13/+0
|
* Simplify Process.Roberto Raggi2010-05-101-20/+19
|
* Removed obsolete code.Roberto Raggi2010-05-101-49/+8
|
* Cache the resolved file names.Roberto Raggi2010-05-101-6/+22
|
* Don't use the mime type db to reorder the source files.Roberto Raggi2010-05-071-40/+19
| | | | | It seems that the mime type db got pretty slow, and reordering files can take minutes.
* Deprecated the current LookupContext.Roberto Raggi2010-05-051-5/+5
|
* Moved TextEditDocumentLayout and related classes to their own fileThorbjørn Lindeijer2010-04-261-0/+3
| | | | | | | | | The Parentheses, TextBlockUserData and TextEditDocumentLayout classes and their member function implementations were spread around the BaseTextEditor class. Moving them to their own file to make the code a bit better organized. Reviewed-by: mae
* Cancel code model indexing on project closing and full code model updatedt2010-04-261-1/+0
| | | | Task-Nr: QTCREATORBUG-1151
* Fixed icheck build.Erik Verbruggen2010-04-231-1/+2
|
* Include scanning fixes.con2010-04-141-22/+27
| | | | | | | Allow include paths with any suffix, and do some sanity check for existence of paths. Reviewed-by: Thorbjørn Lindeijer
* Some naming of the progress indicators.con2010-04-141-1/+1
|
* Add private frameworks when a framework is added.Erik Verbruggen2010-04-131-1/+35
| | | | | Task-number: QTCREATORBUG-1102 Reviewed-by: Roberto Raggi
* Use a reference when possibleThorbjørn Lindeijer2010-03-181-1/+1
|
* Ensure that the memory pool can be reused after a rewind and get rid of the ↵Roberto Raggi2010-03-181-9/+42
| | | | segmented array.
* Get rid of extra (non Creator-friendly) include paths.Roberto Raggi2010-03-151-1/+25
|
* Cancel a previous update code modeldt2010-03-101-2/+2
|
* Fixed QTCREATORBUG-745.Erik Verbruggen2010-03-091-4/+4
| | | | | Fixed crash in FindUsages on a dirty file in a large project, which is saved while the FindUsages is still running.
* Long live the king!hjk2010-03-051-1/+1
|
* Fix CppModelManager::parse broken in recent commitdt2010-02-231-2/+3
| | | | Reviewed-by: Friedemann Kleint
* Fix code model indexing crash on Mac.Friedemann Kleint2010-02-221-27/+45
| | | | | | | Introduce multithread-locking to Core::MimeDatabase as it is invoked from the indexer thread to sort apart headers and sources. Add a convenience to operate on a sequence to avoid locking for each file.
* Source update.Wolfgang Beck2010-02-031-24/+25
|
* Fix some code scanning issues.Friedemann Kleint2010-02-011-1/+1
| | | | foreach()-Loops.
* Merge ichecker branch changes into the mainline. New project can be found ↵Wolfgang Beck2010-01-191-70/+22
| | | | under src/tools/ICheck
* Find macro uses.Christian Kamm2009-12-211-0/+5
| | | | Reviewed-by: Erik Verbruggen
* Enhance data stored for macros and macro uses.Christian Kamm2009-12-211-2/+3
| | | | | | | | | | | In preparation for finding macro uses. * Macro: add offset and length * MacroUse: add line * Document: add convenience functions for finding a macro definition, use or undefined use at a given location. Reviewed-by: Erik Verbruggen