- 17 Jun, 2015 1 commit
-
-
Jarek Kobus authored
Init all class member pointers to NULL. This fixes possible crash on exit when dependent plugin was not loaded (e.g. TextEditor was missing). In this case plugin's constructor gets called, initialize() method is _not_ called and destructor gets called -> crash. Properly delete dependent plugins on a plugin which failed to initialize properly. Fix labels of deleted plugins inside an error dialog after pressing "Error Details" from "Installed Plugins" dialog. Change-Id: Iddc029a0f07dcba2501d734d142fb0e69e9383d3 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
- 10 Jun, 2015 1 commit
-
-
Nikolai Kosjar authored
This makes us independent of libclang crashes for completion. Re-parsing for highlighting still happens in the Qt Creator process. Run in verbose mode: qtc.clangcodemodel.ipc=true Run tests: -test "ClangCodeModel" Task-number: QTCREATORBUG-14108 Task-number: QTCREATORBUG-12819 Change-Id: Id3e95bd2afdb6508bbd1d35fddc69534a909b905 Reviewed-by:
Marco Bubke <marco.bubke@theqtcompany.com>
-
- 05 Mar, 2015 2 commits
-
-
Friedemann Kleint authored
Change-Id: I0144ac33e88980c431c54a6d69bbde28da4b1967 Reviewed-by:
Orgad Shaneh <orgads@gmail.com>
-
Friedemann Kleint authored
Change-Id: I26472d568844d5fee62323e01f5c5c12082d5450 Reviewed-by:
Orgad Shaneh <orgads@gmail.com>
-
- 26 Feb, 2015 1 commit
-
-
Friedemann Kleint authored
Change-Id: I1e7dd34ba5a51fb0b34d137dc03add4457b32ed1 Reviewed-by:
Orgad Shaneh <orgads@gmail.com>
-
- 17 Feb, 2015 1 commit
-
-
Eike Ziller authored
Change-Id: I4305872b6b11ef3e8a364280ffa5209a5a793600 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
- 30 Jan, 2015 1 commit
-
-
Montel Laurent authored
Change-Id: I873a36601d54065b61d0666558b93dc839ad0dfc Reviewed-by:
hjk <hjk@theqtcompany.com>
-
- 16 Jan, 2015 1 commit
-
-
Eike Ziller authored
Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125 Reviewed-by:
Alessandro Portale <alessandro.portale@digia.com>
-
- 12 Jan, 2015 2 commits
-
-
Eike Ziller authored
Collects all included files from any file of any project or that is open in an editor. It has the same shortcut as the files from any project filter and is also enabled by default. Task-number: QTCREATORBUG-280 Change-Id: I7cd89ee68d2f8ec4e0ea03de0c11671f489c47dc Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Orgad Shaneh authored
Change-Id: I85f7398aee59d0d36f0e5c3bf88ff3c96002e394 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
- 03 Dec, 2014 1 commit
-
-
Daniel Teske authored
Centralize the handling inside a new class ProjectTree. React to moving focus and remove most special handling. This properly fixes the linked task. Task-number: QTCREATORBUG-13357 Change-Id: I6b06aa32b1e4305ec8a6d432857b302585d8734b Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
- 14 Oct, 2014 2 commits
-
-
hjk authored
Allow multiple expanders to be registered for lineedits, e.g. a local and the global ones, and actually show them. Use a tree view in the chooser for somewhat more structured display. Change-Id: I769f92144e5249f45e54381de52aa6973eb20118 Reviewed-by:
Tobias Hunger <tobias.hunger@theqtcompany.com>
-
hjk authored
This allows a MacroExpander also to describe an expansion it can do which was restricted to the global VariableManager only. The global is now just a thin (unneeded) wrapper about new "standard" functionality. Change-Id: Ida7ca70cf3d319eae4220ea8d12f3dd1c0d4042c Reviewed-by:
Tobias Hunger <tobias.hunger@theqtcompany.com>
-
- 09 Oct, 2014 1 commit
-
-
Eike Ziller authored
Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082 Reviewed-by:
Alessandro Portale <alessandro.portale@digia.com>
-
- 18 Sep, 2014 2 commits
-
-
Tobias Hunger authored
Change-Id: I55caca6dd5b316b2573b443175448d732101871c Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
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>
-
- 12 Sep, 2014 1 commit
-
-
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>
-
- 04 Sep, 2014 1 commit
-
-
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>
-
- 02 Sep, 2014 1 commit
-
-
Eike Ziller authored
instead of manually adding a context everywhere. Change-Id: I4336015a6d19349171a255e949da89b0013d6700 Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- 27 Aug, 2014 1 commit
-
-
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>
-
- 20 Aug, 2014 1 commit
-
-
Nikolai Kosjar authored
Change-Id: Ieff216017b9da1e6a12121688ea9572bdd81fd9b Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- 24 Jul, 2014 1 commit
-
-
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>
-
- 18 Jul, 2014 1 commit
-
-
hjk authored
Looks like a compiler bug, but it's a supported environment. Change-Id: I73d67a74e1adbac6747cbc96e3fbd96eeee9556c Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- 15 Jul, 2014 1 commit
-
-
Tobias Hunger authored
Change-Id: Id86b72b275d3381a32003c0439ff2d6b3b6ab505 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- 18 Jun, 2014 1 commit
-
-
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>
-
- 10 Jun, 2014 1 commit
-
-
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>
-
- 28 May, 2014 1 commit
-
-
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>
-
- 21 Jan, 2014 1 commit
-
-
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>
-
- 08 Jan, 2014 1 commit
-
-
Robert Loehning authored
Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- 24 Oct, 2013 1 commit
-
-
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>
-
- 01 Oct, 2013 1 commit
-
-
Erik Verbruggen authored
Task-number: QTCREATORBUG-476 Change-Id: I82ed92acdcda551d2c6a9ca221832ac20117a08f Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- 13 Sep, 2013 1 commit
-
-
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>
-
- 03 Sep, 2013 3 commits
-
-
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>
-
- 30 Aug, 2013 2 commits
-
-
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>
-
- 18 Jul, 2013 1 commit
-
-
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>
-
- 12 Jul, 2013 1 commit
-
-
Eike Ziller authored
Change-Id: Ibcb863e67a2433529c9d2b6dec237f9d8b1d8d50 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 09 Jul, 2013 1 commit
-
-
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>
-