- Mar 05, 2015
-
-
Friedemann Kleint authored
Change-Id: I0144ac33e88980c431c54a6d69bbde28da4b1967 Reviewed-by:
Orgad Shaneh <orgads@gmail.com>
-
- Feb 20, 2015
-
-
Orgad Shaneh authored
Task-number: QTCREATORBUG-8007 Change-Id: Ic96aaa433442812a99bac9d16bb9124d66762e8c Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- Feb 09, 2015
-
-
Nikolai Kosjar authored
Change-Id: Icf53019b594a5c45b06f7f1fab0f4bf36e891918 Reviewed-by:
Orgad Shaneh <orgads@gmail.com>
-
- Feb 04, 2015
-
-
Orgad Shaneh authored
Mostly done using the following ruby script: Dir.glob('**/*.cpp').each { |file| next if file =~ %r{src/shared/qbs|/qmljs/} s = File.read(file) s.scan(/^using namespace (.*);$/) { ns = $1 t = s.gsub(/^(.*)\b#{ns}::((?!Const)[A-Z])/) { |m| before = $1 char = $2 if before =~ /"|\/\/|\\|using|SIGNAL|SLOT|Q_/ m else before + char end } if t != s puts file File.open(file, 'w').write(t) end } } Change-Id: I6fbe13ddc1485efe95c3156097bf41d90c0febac Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Nikolai Kosjar authored
...since by now we get the defines in the correct format from QMakeProject. See the change this one depends on. Tested with: Qbs: cpp.defines: [ 'PATH1="/some/path"', "PATH2=\"/some/path\"" ] QMake: DEFINES += PATH1=\\\"/some/path\\\" "PATH2=\\\"/some/path\\\"" CMake: add_definitions(-DPATH1="/some/path" "-DPATH2=\"/some/path\"") All these lines translate to #define PATH1 "/some/path" #define PATH2 "/some/path" for the code model. Change-Id: Ifc3d3acff3abab6897ccbd0c5fafd5c415dfb53c Reviewed-by:
Erik Verbruggen <erik.verbruggen@theqtcompany.com>
-
- Feb 03, 2015
-
-
Christian Kandeler authored
Change-Id: I8b677fc82672ca5fd36bae18480467ef95201dcc Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- Jan 29, 2015
-
-
Christian Kandeler authored
Not all defines make sense for non-compilation purposes. Change-Id: I7c5dd5aaa6de5c8916dfc10eb54ae49efa22959d Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- Jan 27, 2015
-
-
Christian Kandeler authored
"#define XYZ" does not correspond to "-DXYZ" (which means "#define XYZ 1"), but to "-DXYZ=". Change-Id: I3ed44e1457b3df52dc9bdb930ba8f4a04784d207 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- Jan 26, 2015
-
-
Christian Kandeler authored
Needed for clang static analyzer. Change-Id: I0221b7e87f7b52a4aa5ebf7f4b26c19e584d63e7 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- Jan 16, 2015
-
-
Eike Ziller authored
Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125 Reviewed-by:
Alessandro Portale <alessandro.portale@digia.com>
-
- Jan 06, 2015
-
-
Nikolai Kosjar authored
The active target might be 0 if e.g. there are not kits and a project is imported. Task-number: QTCREATORBUG-13730 Change-Id: I48ade507fefc555d1d3f8230ba82c00270fa457b Reviewed-by:
Tobias Hunger <tobias.hunger@theqtcompany.com> Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
- Dec 19, 2014
-
-
Nikolai Kosjar authored
...instead of going through CppModelManager::projectInfo(). Now CppModelManager::projectInfo() returns an invalid ProjectInfo in case there is no valid data for the given Project. Change-Id: I11908bf2ddf865b1d3d71ff176eaf4139292b21c Reviewed-by:
Christian Kandeler <christian.kandeler@theqtcompany.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@theqtcompany.com>
-
- Nov 20, 2014
-
-
Christian Stenger authored
Task-number: QTCREATORBUG-13137 Change-Id: I71a222a4048db65db462da07726ea5d6b917da8d Reviewed-by:
Erik Verbruggen <erik.verbruggen@theqtcompany.com>
-
- Nov 07, 2014
-
-
Nikolai Kosjar authored
Analyzers can use this to rule out irrelevant (sub) projects. Change-Id: I5a9eb66f06156f0619dc639f6f4080a8fc761ee6 Reviewed-by:
Daniel Teske <daniel.teske@theqtcompany.com>
-
Nikolai Kosjar authored
...and make some comparison functions public. Change-Id: If4c9a95031dece32073ce111484a890230190688 Reviewed-by:
Fawzi Mohamed <fawzi.mohamed@theqtcompany.com>
-
- Nov 06, 2014
-
-
Nikolai Kosjar authored
This one does not buy us much... Change-Id: I1d6c4667c038d319d2c16166505a386653a9f066 Reviewed-by:
Fawzi Mohamed <fawzi.mohamed@theqtcompany.com>
-
- Oct 30, 2014
-
-
Nikolai Kosjar authored
Change-Id: Ib346359487cb06c0fc95ff5796e9dd6f220b9d16 Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
-
- Oct 20, 2014
-
-
Nikolai Kosjar authored
Most of the functions were quite generic and not specific to clang. Change-Id: I160cfeb7eca5b69ad6a8932a4f76db5bf5c1d42d Reviewed-by:
Fawzi Mohamed <fawzi.mohamed@digia.com>
-
- Oct 15, 2014
-
-
Eike Ziller authored
Change-Id: I0acde2c3b995693de682679471f03af85bdd0a61 Reviewed-by:
Alessandro Portale <alessandro.portale@digia.com>
-
- Sep 16, 2014
-
-
Erik Verbruggen authored
.. because they now hold only files for a single language+extensions combination. Task-number: QTCREATORBUG-11709 Task-number: QTCREATORBUG-12818 Change-Id: If294f6de07d60126be733d98de12b89b8af3efce Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Sep 12, 2014
-
-
Erik Verbruggen authored
So that recalculating the information is not O(n^2) but linear. Change-Id: I69903e0b5ad321d071804d782ad634a3f300e71a Reviewed-by:
Daniel Teske <daniel.teske@digia.com> Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@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>
-
- Aug 28, 2014
-
-
Erik Verbruggen authored
And change the code-model inspector dialog to use them in the ProjectParts tab to sync the master/details view, and in the CppPreProcessorDialog to save/reload the selected part. Change-Id: I7cc8ac1c21d31122f8650985d0b85177ebabdfb8 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Aug 21, 2014
-
-
Erik Verbruggen authored
This is in preparation for changes to the ProjectParts, where one part can only hold files for 1 language. Change-Id: I5e9a1a803ecc3ecbb36added0d0094df63922549 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Aug 20, 2014
-
-
Nikolai Kosjar authored
Change-Id: Ieff216017b9da1e6a12121688ea9572bdd81fd9b Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Jul 04, 2014
-
-
Erik Verbruggen authored
Instead of having two lists of paths, now only one list is used where both include paths and framework paths can be mixed. This reflects the way the compiler is invoked, and retains the (correct) search order. Task-number: QTCREATORBUG-11599 Change-Id: I373953e3e305df5b7a0d10920e12d146584adf9f Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Feb 27, 2014
-
-
Erik Verbruggen authored
This field is used by the generic project manager which passes the ".config" file in it. The advantage is that both the SnapshotUpdater and the clang code model do not need to do anything smart, but can pass it directly to the preprocessor. Task-number: QTCREATORBUG-11390 Change-Id: I44fc7b20afd28fb59608412f2cce86af6f7e7d6b Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Feb 19, 2014
-
-
Fawzi Mohamed authored
Currently ModelManager contains lot logic, but as it sits in QmlJSTools it is not possible to use it in standalone tests. Moving most of the logic to ModelManagerInterface (and cleanup) to allow better testing, and refactoring. This introduces a dependency of the qmljs lib on the cplusplus lib Also a (small) part of the CppTool::ModelManagerInterface has been moved to CPlusPlus::CppModelManagerBase to remove the dependency on CppTools to gather the Qml types exposed from C++. Change-Id: Icad7fe96dfd0f1a2b1058d82bd98c77c40aa5e9d Reviewed-by:
Fawzi Mohamed <fawzi.mohamed@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>
-
- Dec 10, 2013
-
-
Erik Verbruggen authored
So we can ignore possibly problematic toolchain-defines, while can still unconditionally apply project-defines. Change-Id: I7cb96f35a963d080011fe888ef71bfc098dd33ef Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Oct 22, 2013
-
-
Nikolai Kosjar authored
... when invoked on a macro that is defined inside that dialog. Change-Id: I419c6675d70cfb8dd174f6a33f502b4c584baa3a Reviewed-by:
David Schulz <david.schulz@digia.com>
-
- Oct 01, 2013
-
-
Daniel Teske authored
Add displayname and project file path and a pointer back to the project. Change-Id: Ic9a18f52a6291493bd3a95fd3456ed0e1a3c63e3 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Sep 10, 2013
-
-
Erik Verbruggen authored
When a file is not part of any other project part, this project part can be used to get at least some compiler flags, defines, etc. to use. This can happen when either a file outside a project is opened, or when the project description is incomplete. Change-Id: I5d595fae7195e8b61dbad14368b6cae9eb15c21b Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Aug 13, 2013
-
-
Nikolai Kosjar authored
(a) The code model manager figures out by itself which files were added or removed from the project. If this was done successfully, check also the timestamp of the common files and reindex if necessary. (b) A full reindexing is only triggered if the project configuration changes (defines, includes, framework paths). (c) If project files were removed, the garbage collector is called. Task-number: QTCREATORBUG-9730 Change-Id: Ib855614b070880576233a3525813617c967a72f3 Reviewed-by:
Fawzi Mohamed <fawzi.mohamed@digia.com>
-
- Jul 31, 2013
-
-
Nikolai Kosjar authored
* Const correctness * Better variable names * Sort order of includes and forward declarations * Comment fixes * Cosmetic/Whitespace changes Change-Id: Ieb137266ac7eddedb00c37f8b2cc8677d67e4bdd Reviewed-by:
David Schulz <david.schulz@digia.com>
-
- Jul 25, 2013
-
-
Nikolai Kosjar authored
Change-Id: Ic7e634e4249fb64edbc2daceb65ec8e9b5f0f8b9 Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Aurindam Jana <aurindam.jana@digia.com>
-
- Jun 24, 2013
-
-
Nikolai Kosjar authored
Task-number: QTCREATORBUG-9597 Change-Id: I726a818c7d4af35dcb4863f74b08cd639a189bdd Reviewed-by:
Daniel Teske <daniel.teske@digia.com>
-
- May 29, 2013
-
-
Sergey Shambir authored
Change-Id: I682e78c352066ddd05e96199fd8ead088e3e9f52 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- May 13, 2013
-
-
Sergey Shambir authored
Will be used by ClangCodeModel, but native model also can use it by disabling unused variable/parameter warnings when needed. Change-Id: I184efb3c65e893a2d85a933385cc547b646e6826 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Apr 30, 2013
-
-
Sergey Shambir authored
At this moment each project manager duplicates code that reads C++ code model information from ProjectExplorer::ToolChain. This change provides unified way. Change-Id: If9ecfc40991aab90768dd69f5f10f31bbf5fbc21 Reviewed-by:
Daniel Teske <daniel.teske@digia.com>
-