- 23 Feb, 2012 1 commit
-
-
Erik Verbruggen authored
Change-Id: I74b4fd5e043db935abc18345b303d294b71e8fc2 Reviewed-by:
Tobias Hunger <tobias.hunger@nokia.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@nokia.com>
-
- 21 Feb, 2012 2 commits
-
-
Flex Ferrum authored
Change-Id: I7eef048a7952a79f031ae3d0abba68e3c5ffbfb8 Reviewed-by:
Roberto Raggi <roberto.raggi@nokia.com>
-
Erik Verbruggen authored
Change-Id: I480470c299f49a02d2a216d3aece81a843d73ce1 Reviewed-by:
Roberto Raggi <roberto.raggi@nokia.com>
-
- 20 Feb, 2012 3 commits
-
-
Joerg Bornemann authored
Change-Id: If6bf71797ae81655d24a77e6badb86a77312af38 Reviewed-by:
hjk <qthjk@ovi.com>
-
Erik Verbruggen authored
Change-Id: I990fdf5411153041c6b4c62f31b453342d59de53 Reviewed-by:
Eike Ziller <eike.ziller@nokia.com>
-
Eike Ziller authored
And adapt the other API respectively. Change-Id: I1e04e555409be09242db6890f9e013396f83aeed Reviewed-by:
Bill King <bill.king@nokia.com> Reviewed-by:
Eike Ziller <eike.ziller@nokia.com>
-
- 16 Feb, 2012 1 commit
-
-
Erik Verbruggen authored
A manual squash/merge of the changes below, plus a couple of subsequent code fixes. 59085aa5fbb99e2d786cd2c1a06c24a111ccb49f: Modify CppModel::ProjectInfo Adding per project node information, to pass on the correct defines/includes for each file, instead of aggregating them incorrectly. Also split up SOURCES and OBJECTIVE_SOURCES. Also ask the toolchain to convert the compilerflags to flags the codemodel understands, for now only gcc and only c++11. Also make the toolchain aware of the flags used to compile, so that it can emit the correct defines. Note: No header files are passed on. 74028802314cd4e75b41b46407433e07090a304d: GCC: Evaluate cxxflags when checking for predefined macros ebaaa4957e4c02cc9637a998eddae1d0acd74f83: MSVC: Take cxxflags into account when checking for predefined macros 9bfce7e889bcf7bcc47bf880e3ea25945ca7d0d7: Compile fixes Change-Id: I9de94ad038dfc5dc1987732e84b13fb4419c96f5 Reviewed-by:
Erik Verbruggen <erik.verbruggen@nokia.com>
-
- 15 Feb, 2012 1 commit
-
-
Erik Verbruggen authored
Getting the #include directives ready for Qt5. This includes the new-project wizards. Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b Reviewed-by:
Eike Ziller <eike.ziller@nokia.com>
-
- 13 Feb, 2012 1 commit
-
-
Daniel Teske authored
The order of actions and thus the state at which the signals are emitted has changed. The aboutToUnloadSession comes before the actual saving now. Also the aboutToLoadSession is after restoring values but before restoring projects and editors. Change-Id: I3eae66cffae970f00535d8d6e2bb11a6ca645456 Reviewed-by:
hjk <qthjk@ovi.com> Reviewed-by:
Tobias Hunger <tobias.hunger@nokia.com>
-
- 10 Feb, 2012 1 commit
-
-
Leandro Melo authored
Now IGenericProposalModel::isSortable also takes the current prefix as a parameter. This is particularly useful for cases like in the C++ completion: For global completions it will only sort if there's already a content prefix - Notice, however, that the "sorting threshold" for a maximum number of items is still kept in IGenericProposalModel::sort. Task-number: QTCREATORBUG-6404 Change-Id: I3c2f282aa565287b8b4989930b6a27093862ef25 Reviewed-by:
Roberto Raggi <roberto.raggi@nokia.com>
-
- 09 Feb, 2012 3 commits
-
-
Erik Verbruggen authored
Change-Id: I559a3112d2aa0a3c09554f8da8b7917f9aa27944 Reviewed-by:
Roberto Raggi <roberto.raggi@nokia.com>
-
Friedemann Kleint authored
- Add missing QtScript module (pulled by json in utils - Include type definitions for Q_DECLARE_METATYPE - Unconditionally include QtSvg in Qt5 Change-Id: If298dd98fb660a6ba701f1ba36ced2d2027ea3e8 Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@digia.com> Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@nokia.com>
-
Friedemann Kleint authored
It causes a conflict with the new QtConcurrent library of Qt 5 and is quite small. Change-Id: Ib97ab6daf8f67a88300cf03f044ba3593a4cd270 Reviewed-by:
Eike Ziller <eike.ziller@nokia.com>
-
- 08 Feb, 2012 1 commit
-
-
Erik Verbruggen authored
This way the editor does not need to know all the details of instantiating or maintaining classes for highlighting and/or completion, it can just ask the model manager. The change also enables different highlighting- or completion-engines without changes to the cppeditor. Change-Id: I8000d9d9fe446b292defddb2295493cf77d0f14a Reviewed-by:
Leandro Melo <leandro.melo@nokia.com>
-
- 07 Feb, 2012 1 commit
-
-
Eike Ziller authored
Task-number: QTCREATORBUG-6907 Change-Id: I25c04185beb3729e2d11cc88d17fcd1a3b51037c Reviewed-by:
Tobias Hunger <tobias.hunger@nokia.com>
-
- 31 Jan, 2012 2 commits
-
-
Leandro Melo authored
Now in the case of a matching empty file we still select a best token so the insertion happens *at* the end of the file. The patch also fixes line breaks after the definition to be inserted for situations in which there's no line break yet. Example: namespace Foo {} namespace { } Another thing for correctness. Member _key from HighestValue is now value initialized instead of default initialized. Task-number: QTCREATORBUG-6696 Change-Id: I5c0303675429c3da5cb88825272c9611be022f6a Reviewed-by:
Roberto Raggi <roberto.raggi@nokia.com>
-
Daniel Teske authored
That can't happen. Change-Id: I05293e96e7a716fbaf5fd03aa182c723c9858a03 Reviewed-by:
Tobias Hunger <tobias.hunger@nokia.com>
-
- 26 Jan, 2012 1 commit
-
-
hjk authored
Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2 Reviewed-by:
Daniel Teske <daniel.teske@nokia.com>
-
- 25 Jan, 2012 1 commit
-
-
hjk authored
This follows suit to the ICore changes. Change-Id: Iba2de1b1e3f2574fd1459892eae702e6af1cc7dc Reviewed-by:
Daniel Teske <daniel.teske@nokia.com>
-
- 24 Jan, 2012 7 commits
-
-
hjk authored
This saves one function call compared to the instance()->currentProject() pattern and is typically less to type on the caller site. Change-Id: I65568f30205fc90e2aaca7e8e7f0192241df8c85 Reviewed-by:
Daniel Teske <daniel.teske@nokia.com>
-
hjk authored
Change-Id: I9b690d9b150c8d162b15370f9f8986267c9128f1 Reviewed-by:
Daniel Teske <daniel.teske@nokia.com>
-
Eike Ziller authored
Change-Id: If5389209dad8dbd4c78d9faff41323ae3218cd78 Reviewed-by:
Leandro Melo <leandro.melo@nokia.com>
-
Leandro Melo authored
Change-Id: I41b4b444fdce6d73c0c62aa1d98a7c9d80a6a4c9 Reviewed-by:
Tobias Hunger <tobias.hunger@nokia.com>
-
Eike Ziller authored
Change-Id: Ia3dc174c64da9194401883a1a989a712cb7aaed8 Reviewed-by:
Leandro Melo <leandro.melo@nokia.com>
-
Leandro Melo authored
Change-Id: I75880597d237bbbe1393dd02153cedba1165bed6 Reviewed-by:
Roberto Raggi <roberto.raggi@nokia.com>
-
Leandro Melo authored
Change-Id: I021074a78d90929b4e83b8aff9db1ae7995e8c6a Reviewed-by:
hjk <qthjk@ovi.com>
-
- 23 Jan, 2012 4 commits
-
-
Leandro Melo authored
Should have gone in the previous fix commit... Change-Id: Ibca55cbd6fd58caee7d61f5e8f8c37f67391c597 Reviewed-by:
Leandro Melo <leandro.melo@nokia.com>
-
Leandro Melo authored
Througout the initial review the singleton was transformed into an ordinary class, but a error was introduced: The "reference" file was incorrectly assumed to be the editors file, which is wrong, since it should be the declaration file. Change-Id: Iad3e25a690fa8bd07a18184b24b10f8dea965332 Reviewed-by:
Roberto Raggi <roberto.raggi@nokia.com>
-
Leandro Melo authored
Change-Id: I22dfa74f8f10a601103b179eb037604d5a747077 Reviewed-by:
hjk <qthjk@ovi.com>
-
Leandro Melo authored
This patch introduces a priority-based mechanism when searching for certains symbols in the snapshot. The priority corresponds to how similar the file path from the "reference" symbol is to the file path from the "candidate" symbol. This solves a variety of issues when matching "equivalent" symbols but that are in another file/project, such as when following a function declaration, a forward class declaration, or adding a definition through a quickfix. There's now a symbol finder which will compute the "best" search order and cache the most recent results. A consequence is that following symbols in some cases is slower, but not apparently significatly. Note: The "find" functions were moved from the Snapshot to the new SymbolFinder class. Task-number: QTCREATORBUG-6697 Task-number: QTCREATORBUG-6792 Change-Id: Ia518f014275fec1f4d0cb3224bd4e06a9df6d557 Reviewed-by:
Roberto Raggi <roberto.raggi@nokia.com>
-
- 13 Jan, 2012 2 commits
-
-
Leandro Melo authored
Continuinng a previous commit... This is in order to make the interface clearer. Change-Id: Ic1b05217f878578bc84a064927507b75981c47d6 Reviewed-by:
Roberto Raggi <roberto.raggi@nokia.com>
-
Leandro Melo authored
The model uses UTF-8 internally and it makes more sense to only convert when necessary. A following commit will rename the source/setSource methods in document for more clarity too. Change-Id: I960ea0754efabd1436ad4b4299a57faeb65a8bee Reviewed-by:
Roberto Raggi <roberto.raggi@nokia.com>
-
- 12 Jan, 2012 1 commit
-
-
Leandro Melo authored
Also extend the refactoring changes to allow for reindenting. Task-number: QTCREATORBUG-6797 Change-Id: I515c9a37d9e62e1d5de52ff99bd492e739a81885 Reviewed-by:
Roberto Raggi <roberto.raggi@nokia.com>
-
- 11 Jan, 2012 2 commits
-
-
Nicolas Arnaud-Cormos authored
Now that we are iterating all the files in the project (instead of stopping at the first success), we need a cache to make the switching fast enough on big projects. Change-Id: Ib7d63c93b3303c534ca53856d96333a822046ced Reviewed-by:
Leandro Melo <leandro.melo@nokia.com>
-
Nicolas Arnaud-Cormos authored
In case multiple files have the same name (in a complex project), find the file with the most common path instead of the first one. Change-Id: I75495dabe7ba8f5142d6b52e7c07d54d5d6f54bd Reviewed-by:
Leandro Melo <leandro.melo@nokia.com>
-
- 10 Jan, 2012 1 commit
-
-
Leandro Melo authored
Task-number: QTCREATORBUG-5485 Change-Id: Ib6aaeaadad4b421480d22399392768d4bad85bda Reviewed-by:
Roberto Raggi <roberto.raggi@nokia.com>
-
- 20 Dec, 2011 4 commits
-
-
Eike Ziller authored
Change-Id: I30ec590b86846f8fdcb0094a848e56002d590b7a Reviewed-by:
Leandro Melo <leandro.melo@nokia.com>
-
Eike Ziller authored
Change-Id: Ic78cf5030e78759018ea84d0c258c81c8081ae98 Reviewed-by:
Leandro Melo <leandro.melo@nokia.com>
-
Eike Ziller authored
Theoretically it could now run multiple searches in parallel, but since a single search grabs all available threads from the pool, any search request afterwards is queued for execution when the previous one finished. Task-number: QTCREATORBUG-6101 Change-Id: Ifada0ccdd1ce7cfb4aaaaa4de2db070025f91a3a Reviewed-by:
Leandro Melo <leandro.melo@nokia.com>
-
Eike Ziller authored
Task-number: QTCREATORBUG-621 Change-Id: I4bd39c88afc1df93712b1d9a76f875516c657f3d Reviewed-by:
Leandro Melo <leandro.melo@nokia.com>
-