- Apr 19, 2013
-
-
Nikolai Kosjar authored
Change-Id: Icebf85ae425f413ed0d3dfc873869665233ec58c Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Apr 18, 2013
-
-
Lorenz Haas authored
Task-number: QTCREATORBUG-9157 Change-Id: Ic46086ba07a86292bbf48de62b69e3f33628fd86 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Andrey M. Tokarev authored
You can write definition of function, type Alt+Enter, as usual, and select not only public but also other possible sections like private, public slots and so on. Change-Id: I2faefc3833c6f05c9e2e5a2a41328bcdbe17ba14 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Erik Verbruggen authored
- Moved TextEditor::SemanticHighlighter::Result to TextEditor::HighlightingResult - Moved SemanticInfo::UseKind to CppHighlightingSupport::Kind Change-Id: I14faab1891ca691a0691cfd9243edf19fcd3d3df Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Apr 17, 2013
-
-
Erik Verbruggen authored
Change-Id: Ie4db459ba9942d703ad3bc5a0f6805e39f729e9a Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Nikolai Kosjar authored
operator+ is the official way for concatenating strings whereas operator% is an optimization that needs certain defines. The code which was using operator % is not performance critical. Change-Id: I4c7f4310cc5708aa5f9009672d932f913a2eb59f Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com> Reviewed-by:
Christian Kandeler <christian.kandeler@digia.com>
-
- Apr 15, 2013
-
-
Lorenz Haas authored
With this new operation it is possible to move a function definition from a cpp file to the header file or vice versa. One can also move a function definition outside the class body. Task-number: QTCREATORBUG-516 Task-number: QTCREATORBUG-5364 Change-Id: Id3daefe79284bd9086282369c9d251e003951c11 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Nikolai Kosjar authored
Change-Id: Iae7ddf066de86f12b9e01af48374c1589afe1388 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Lorenz Haas authored
Moved content of cppinsertdecldef.(cpp|h) cppcompleteswitch.(cpp|h) cppinsertqtpropertymembers.(cpp|h) and ApplyDeclDefLinkChanges to cppquickfixes.(cpp|h). Made msgQtStringLiteralDescription private member function of WrapStringLiteral, added anonymous namespace, "extracted" useful functions to the top of cppquickfixes.cpp. Change-Id: I4f82a005a62be3c29d4b96902667bd3a2b9397cc Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Apr 12, 2013
-
-
Nikolai Kosjar authored
Change-Id: Ic781fcbd3bdc1619db38e282ec7d4b9aecdb5bbc Reviewed-by:
Christian Stenger <christian.stenger@digia.com> Reviewed-by:
David Schulz <david.schulz@digia.com>
-
- Apr 11, 2013
-
-
Fawzi Mohamed authored
Change-Id: Ic55e5e79c5707aa8e19be32f282d679e4e9be627 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
Oswald Buddenhagen authored
Change-Id: I8bb9b4eb0ae5ed9b283da422be882603ae0e1b49 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com> Reviewed-by:
Christian Kandeler <christian.kandeler@digia.com>
-
Nikolai Kosjar authored
Introduce tests that execute test actions on each word/token of each file from every loaded project. Currently, besides just opening files and moving token by token through the files, the following basic actions from the CppTools and CppEditor plugin are executed for each token: - Follow Symbol Under Cursor - Switch Declaration/Definition - Find Usages - Rename Symbol Under Cursor - Open Type Hierarchy - Invoke Completion - Trigger a quick fix in this scope (+perform) Note that (1) These tests are meant to detect corner cases for which Qt Creator crashes or outputs QTC_ASSERTS. Correct behavior is not tested. (2) These tests operate on the loaded projects. Therefore, projects should be specified on the command line or should be loaded by the session manager. Depending on the projects size, these tests might be quite time consuming and are therefore candidates for nightly tests. Suggested test projects are qtcreator.pro, qtbase.pro. Change-Id: I550776b3d56acb17ab337da068d409bfc21e997a Reviewed-by:
David Schulz <david.schulz@digia.com>
-
- Apr 10, 2013
-
-
Lorenz Haas authored
If there are no includes, add new include at the top of file but skip possible comments at the beginning. Task-number: QTCREATORBUG-8799 Change-Id: Ie2be644f6ad0a948cf3d8700efa00087753d9863 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Tobias Hunger authored
Rename ModelManagerInterface.(h|cpp) to cppmodelmanagerinterface.(h|cpp). Rename TypeHierarchyBuilder.(h|cpp) to typehierarchybuilder.(h|cpp). Change-Id: I035d833fd205d7460819bd0fb7031294359032f9 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: I61a5c2fff02616f6883ddf3923e4361fca6bf92b 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 09, 2013
-
-
Lorenz Haas authored
Change-Id: Ie8b09b8339f219064b4f1d969246a6f84342a4fc Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Przemyslaw Gorszkowski authored
Fixed: * highlighting * follow symbol * find usage Task-number: QTCREATORBUG-9006 Change-Id: I34a42f8665335857f41290217e7265e8a752455b Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Sergey Shambir <sergey.shambir.auto@gmail.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Lorenz Haas authored
Since signals don't have a definition there is no need to show that action under 'Refactor'. Change-Id: Ic4d65b56c9197e2dbce5cedd5c760faea14d920d Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
hjk <hjk121@nokiamail.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Apr 08, 2013
-
-
Tobias Hunger authored
There were quite a few classes using CPlusPlus namespace in the CppTools plugin. Rename them and do some other small namespace related coding style fixups. Change-Id: I093fc1f3fc394fd9923e3f18d5f66522e288f21d Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Apr 05, 2013
-
-
Lorenz Haas authored
If the cpp file had unsaved changes (newlines at top or in the middle) the inserted getter and setter functions were misplaced. Change-Id: I15129df2c0bdb91e6fb5e22213e7b4f52733c6ae Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- Apr 03, 2013
-
-
Oswald Buddenhagen authored
the information is redundant now Change-Id: Icc8c8b4ace11538d45c6c9e1dbe5a7976f4743e1 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com> Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
Oswald Buddenhagen authored
instead of directly including the respective pri files in *_dependencies.pri, set variables and let qtcreator.pri resolve them to includes. this will allow us to re-use the dependency info elsewhere. Change-Id: Iaa33924e428ac0409660f42df2f98a7978452d3e Reviewed-by:
Eike Ziller <eike.ziller@digia.com> Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@digia.com>
-
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>
-
- Apr 02, 2013
-
-
Oswald Buddenhagen authored
Change-Id: I4025539f3875e79f03743ba9ed3fd09cd31b998d Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
Oswald Buddenhagen authored
Change-Id: I25645bb625b467c6f9d895ff89a70acd6a25683e Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
- Mar 21, 2013
-
-
Sergey Shambir authored
Please, read blueprint here: http://qt-project.org/wiki/Blueprint-for-language-specs-system Removed feature from QbsProjectManager: it not longer splits project on separate C and C++ parts, because Qt version used only by clang parser (not native) and can be ignored for pure C and Objective-C without C++. Change-Id: I1c561f7f9f915cc6cb8579d19db74e8352f54c1e Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com> Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com> Reviewed-by:
Daniel Teske <daniel.teske@digia.com>
-
- Mar 20, 2013
-
-
Nikolai Kosjar authored
Change-Id: I5b8674fc6d4d135c995ed7978fe59ff3ef1a6a09 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Mar 19, 2013
-
-
Nikolai Kosjar authored
Steps to reproduce the crash: 1. Open some long file, e.g. botan.cpp 2. Trigger completion and close editor immediately The IDocument pointer was only used to reference the file name. Instead of passing an IDocument* to the IAssistInterface, pass the file name. Change-Id: Iafce9b818806a77968a10541114bc9b7c8665f11 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com> Reviewed-by:
David Schulz <david.schulz@digia.com>
-
- Mar 15, 2013
-
-
Erik Verbruggen authored
argumentCount is a more expensive function, so try to call it only once, esp. in loops. Change-Id: I6f0d420352743ec444487ce3f506ef28e5282d1e Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Mar 12, 2013
-
-
Friedemann Kleint authored
Change-Id: I00a68d7f2b509e3934c3248765a78e9b47749127 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Mar 08, 2013
-
-
Mitch Curtis authored
Currently, pressing Ctrl + Shift + Up/Down with a commented block of text selected will indent that block if the line two lines above the block is indented. This is undesirable, because the indenting for that block is incorrect when it is uncommented. See the following example: Step 1: void f() { int x; // int y; } Step 2 - After Ctrl + Shift + Up: void f() { int x; // int y; } Step 3 - After uncommenting the block: void f() { int x; int y; } This patch tells the CPP and QmlJs editors not to indent commented blocks when moving them. Blocks that are not entirely within comments (excluding whitespace) are not affected. Tested with (C++ and JavaScript, respectively): http://paste.kde.org/688778/ http://paste.kde.org/688784/ Change-Id: I35414e6dfd5a1084fd997594e711ea9932231981 Reviewed-by:
David Schulz <david.schulz@digia.com>
-
Friedemann Kleint authored
Change-Id: I6af10e51c25ae63d33f15f35960362e7f529721b Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Mar 04, 2013
-
-
Nikolai Kosjar authored
It was restricted to member functions declarations, but works well with free functions, too. Change-Id: I8513e67e426185e7e08aebc2f1b5bfd08f79887f Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
Change-Id: I668754607c9c1764b9387a7899994c88c17886cd Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Feb 26, 2013
-
-
Erik Verbruggen authored
Done by reserving enough space in for the various QLists when created, and by preventing unnecessary copying of lists. Change-Id: I5a9f0f7042bbaa1cf5eb076b956c35f2191468c6 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Feb 25, 2013
-
-
Nikolai Kosjar authored
Change-Id: I5a712c7dbf58465cd0a675be03ba22a73c57bb12 Reviewed-by:
Fawzi Mohamed <fawzi.mohamed@digia.com>
-
- Feb 21, 2013
-
-
Knut Petter Svendsen authored
Change-Id: Ie343f2b15a6f0568b3e291fe4afa12a37428a136 Reviewed-by:
Orgad Shaneh <orgads@gmail.com>
-
Erik Verbruggen authored
cppeditor.cpp:2631:13: error: use of overloaded operator '+' is ambiguous (with operand types 'QChar' and 'QChar') + characterAt(pos - 2) ^ ~~~~~~~~~~~~~~~~~~~~ ../../../../../builds/qt5-stable/qtbase/include/QtCore/../../src/corelib/tools/qstring.h:1116:22: note: candidate function inline const QString operator+(const QString &s1, QChar s2) ^ ../../../../../builds/qt5-stable/qtbase/include/QtCore/../../src/corelib/tools/qstring.h:1118:22: note: candidate function inline const QString operator+(QChar s1, const QString &s2) ^ ../../../../../builds/qt5-stable/qtbase/include/QtCore/../../src/corelib/tools/qstring.h:1114:22: note: candidate function inline const QString operator+(const QString &s1, const QString &s2) ^ Change-Id: I65663a901d301d6b0a3df2c8b5631e9aa5ab081b Reviewed-by:
David Schulz <david.schulz@digia.com>
-