- Sep 18, 2014
-
-
Tobias Hunger authored
Make some C++ related methods available to the JsExpander. These are concerned with namespace handling, etc. Change-Id: I2fc3807cf421b817bb103b727606a78aee290652 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Sep 12, 2014
-
-
Tobias Hunger authored
Remove the '.' as the VariableManager will append text starting with ':' to that textFix strings. Change-Id: I490319fac964ea8fd8078dff90ec81c9bdef8d09 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
- Sep 04, 2014
-
-
Erik Verbruggen authored
This eliminates a bunch of list->set->list conversions. Especially the ProjectInfo::appendProjectPart takes lots of time converting for every part added. Change-Id: Ib3c8cd4b0ad6c012ccbeed12ebedd46b9b6cca95 Reviewed-by:
Daniel Teske <daniel.teske@digia.com>
-
- Sep 02, 2014
-
-
Eike Ziller authored
instead of manually adding a context everywhere. Change-Id: I4336015a6d19349171a255e949da89b0013d6700 Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- Aug 27, 2014
-
-
Eike Ziller authored
Remove usage of the Q_EXPORT_PLUGIN macros, which do not exist in Qt 5. Change-Id: I678c3cf10b9c5d5c1b9f252b0ecd1c97dc810a47 Reviewed-by:
hjk <hjk121@nokiamail.com> Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
-
- Aug 20, 2014
-
-
Nikolai Kosjar authored
Change-Id: Ieff216017b9da1e6a12121688ea9572bdd81fd9b Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Jul 24, 2014
-
-
Nikolai Kosjar authored
Check only other projects if the current file is not part of any project. Task-number: QTCREATORBUG-12328 Change-Id: I7db65b26313a26773bbbf17e966abd668ea9a1a5 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Jul 18, 2014
-
-
hjk authored
Looks like a compiler bug, but it's a supported environment. Change-Id: I73d67a74e1adbac6747cbc96e3fbd96eeee9556c Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Jul 15, 2014
-
-
Tobias Hunger authored
Change-Id: Id86b72b275d3381a32003c0439ff2d6b3b6ab505 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Jun 18, 2014
-
-
Erik Verbruggen authored
With every single change in a document the corresponding IndexItem elements were extracted and put into an vector. The locator filters then used these lists to iterate over and filter them. This change removes that extraction, and the filtering now directly iterates over the IndexItem elements with a callback. The exception is the current document filter, because it also queries for all declarations. Adding this to the model would result in a higher memory usage, while that information is only used by this filter. Change-Id: Ibe445cc11e9f68b5d807348fd46c7cac4aff4c85 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Jun 10, 2014
-
-
Nikolai Kosjar authored
Unexports CppModelManager, CppSourceProcessor and CppToolsPlugin. Now only some constructor signatures mention "Internal::" in the exported symbols: % nm --extern-only --demangle ./lib/qtcreator/plugins/libCppTools.so | grep "Internal::" CppTools::CppClassesFilter::CppClassesFilter(CppTools::Internal::CppLocatorData*) CppTools::CppClassesFilter::CppClassesFilter(CppTools::Internal::CppLocatorData*) CppTools::CppEditorSupport::CppEditorSupport(CppTools::Internal::CppModelManager*, TextEditor::BaseTextEditor*) CppTools::CppEditorSupport::CppEditorSupport(CppTools::Internal::CppModelManager*, TextEditor::BaseTextEditor*) Change-Id: I167c21a6dc03cf02230c95fde66cf404e40df36f Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- May 28, 2014
-
-
Erik Verbruggen authored
This string table uniques strings, so that multiple identical strings share their contents. It is used by the locator and the symbol searcher, and will later be used by the class view. Change-Id: Ib8b50f69bbf994d0d7a39b66dc8caf1a3d9bfb42 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Jan 21, 2014
-
-
Orgad Shaneh authored
Task-number: QTCREATORBUG-11031 Change-Id: I93cce0ebf46984eb06094e1f1519717be2bbaa79 Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Jan 08, 2014
-
-
Robert Loehning authored
Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- Oct 24, 2013
-
-
Orgad Shaneh authored
Denoise usages get{Short|Long}PathName are now static. They're not used anywhere except in normalizePathName. Change-Id: Ief277b6d828faadd98ec7faa39dd682bfaa8805f Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by:
hjk <hjk121@nokiamail.com> Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- Oct 01, 2013
-
-
Erik Verbruggen authored
Task-number: QTCREATORBUG-476 Change-Id: I82ed92acdcda551d2c6a9ca221832ac20117a08f Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Sep 13, 2013
-
-
Erik Verbruggen authored
The model-manager now supports multiple code models for semantic highlighting and code completion, and will choose one based on the mime-type of the editor. The settings page is currently disabled. It will get enabled when a second plug-in lands that has a ModelManagerSupport class. Change-Id: I10023f52322ed6860397da15dba1c231e80e6517 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Sep 03, 2013
-
-
Orgad Shaneh authored
Some projects use separate directories for sources and headers. An example tree: * |-- src |-- foo.cpp |-- include |-- foo.h Allow the user to specify directories for finding out-of-project related header/source files, in addition to current directory Task-number: QTCREATORBUG-8883 Change-Id: I57215c8f2feffcc246d0d161798290861bcfcdd4 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
hjk authored
Adapt user and surrounding code. Change-Id: Id2648f82a9cbbd0ad0bfb91f6958b8cee7ea29cc Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
hjk authored
Also adjust and streamline using and surrounding code. Change-Id: I6a8b05126bdcbb74ff611b21c7cb3c5902a2d5ca Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com> Reviewed-by:
Orgad Shaneh <orgads@gmail.com>
-
- Aug 30, 2013
-
-
Nikolai Kosjar authored
Until now the locator filters CppLocatorFilter, CppClassesFilter and CppFunctionsFilter used unnecessarily their own SearchSymbols instance. The results were also saved separately, which was unfavorable since e.g. the functions and classes data could be shared. Starting with this patch an instance of LocatorData will serve all mentioned filters. This saves about 20MB of memory after indexing the Qt Creator project. Change-Id: I8a34b67eb9fe0e5c68ba6e7c8f576389c78efc6f Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
hjk authored
In the majority of cases we were doing that anyways, having two ways is just needlessly confusing. Change-Id: Ied362a702c23beee528368d74df1f2aabe5807f8 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
- Jul 18, 2013
-
-
Erik Verbruggen authored
Updated/fixed the code to treat treat text/x-objcsrc and text/x-objc++src correctly. Change-Id: I1ab97577c786a28381398e4e0fac177325d00d7b Reviewed-by:
Sergey Shambir <sergey.shambir.auto@gmail.com> Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Jul 12, 2013
-
-
Eike Ziller authored
Change-Id: Ibcb863e67a2433529c9d2b6dec237f9d8b1d8d50 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- Jul 09, 2013
-
-
Eike Ziller authored
That is what it actually is, wrt how Qt API calls it. Change-Id: Ied02055debf6aad75556b0d9d22e8ba2f72be555 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- Jun 25, 2013
-
-
Nikolai Kosjar authored
...and not only the current one as fallback. E.g. if the projects qtcreator and qtbase are open and you navigate into qdir.h of your include path from the qtcreator project and trigger "Switch Header/Source", then "qdir.cpp" will be found in the qtbase source dir. Task-number: QTCREATORBUG-3789 Change-Id: Ibd73c37bb626f8f7ee80cd8be3ef1244883ccf5e Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Jun 05, 2013
-
-
Eike Ziller authored
This change * Removes IMode::type, ModeManager::activateModeType, and IEditor::preferredModeType, and adds IEditor::isDesignModePreferred instead * Adapts the mode switching code in EditorManager to handle multiple windows, for example switching to edit mode should only happen if the editor/view is in the main window. Otherwise the editor window should be raised and focused * Renames EditorManager::NoActivate --> DoNotChangeCurrentEditor * Reverts the EditorManager::ModeSwitch logic to switch mode or make the current editor visible by default, introducing DoNotMakeVisible flag instead * Fixes a few instances where EditorManager::ModeSwitch should have been used One non-trivial problem left: If you open a .ui file and switch to an external editor window, edit mode is activated, because the current editor no longer is a .ui file, which means that the design mode gets deactivated. Change-Id: I76c5c2391eb4090143b778fb103acff3a5a1ff41 Reviewed-by:
David Schulz <david.schulz@digia.com>
-
- Jun 03, 2013
-
-
Eike Ziller authored
Change-Id: I1acafd85ec7a87ba2ac61240f30c329d56461118 Reviewed-by:
David Schulz <david.schulz@digia.com>
-
- May 31, 2013
-
-
Eike Ziller authored
Change-Id: I1bd5654d62b11456c35cc5bf1099e41fb3559bc7 Reviewed-by:
David Schulz <david.schulz@digia.com>
-
- Apr 26, 2013
-
-
Erik Verbruggen authored
Change-Id: I399d667a1fccb376fadbd6ab8fbba243e86d8f4b Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Eike Ziller authored
This makes them align to the other "editor split" shortcuts. Change-Id: I0b300ae495ffa17062a0a52b148f61015b965c29 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Apr 10, 2013
-
-
Erik Verbruggen authored
Change-Id: Ic02eb67fa4a9c674880345cfa3afc9d037eb3bf2 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Sergey Shambir authored
Simplifies code and makes it independent from mimetype names. Change-Id: Ib56a07654df4986b1916c517e3862e6c3a3dd720 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Friedemann Kleint authored
Ran script to remove inludes on a trial-and-error basis and manually corrected it. Change-Id: Ic8464ea084ca1ab401e9f4a7d0183b92b4038902 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Apr 03, 2013
-
-
Oswald Buddenhagen authored
... and adjust INCLUDEPATH accordingly. while i'm at messing with include statements, also re-order the include blocks according to policy and sort them within bigger blocks. Change-Id: I7762abfd7c4ecf59432b99db2f424e4fa25733a5 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com> Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- Mar 20, 2013
-
-
Nikolai Kosjar authored
Change-Id: I7ccb09bb8e1d2327f206640cd8c9090164a5f146 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Mar 08, 2013
-
-
Friedemann Kleint authored
- values or keys iteration - non-const ref iterator Change-Id: I6bb58793b3155243e0fbfaf33ee43ce60edea8d1 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Feb 15, 2013
-
-
Leena Miettinen authored
Use book style capitalization, which means that prepositions less than 4 characters long are written in lower case. Change-Id: I6d46a2513070897929cf1a8af2943a17d8e52b2d Reviewed-by:
David Schulz <david.schulz@digia.com>
-
- Feb 14, 2013
-
-
David Schulz authored
Cleanup code and added shortcuts and menu entries for - open header/source in next split - follow symbol under cursor in next split - open declaration/definition in next split Change-Id: I2c4347749d26669d88b7c2968f30f60710f442b1 Reviewed-by:
Petar Perisin <petar.perisin@gmail.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Jan 29, 2013
-
-
Robert Loehning authored
Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205 Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-