summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update qbs submoduleChristian Kandeler2017-06-152-1/+1
| | | | | | | | To HEAD of master branch. One API adaptation was required in QbsProjectManager. Change-Id: I59dd76ffa0381d13b4d5f4b4609e85cf73ab32c5 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Editor: Separate color and id in the highlighter scrollbarDavid Schulz2017-06-153-102/+85
| | | | | | | | This allows to define a color for each highlight, and not just for groups. Change-Id: Ia027f1fb42a96c431b5889ec132a59b16ae41fbb Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Revert asConst for rvalue refsEike Ziller2017-06-151-1/+1
| | | | | | | | | | The rvalue refs go out of scope too fast, that's why it must be disabled (as it is for qAsConst). This partially reverts commit 0316219f8d73c1b86778eef3d06128857e112f65. Change-Id: Ie2a88400922f0275203a61e4070fe66f2a1fbc7b Reviewed-by: hjk <hjk@qt.io>
* TextEditor: Animate navigation within fileDavid Schulz2017-06-158-13/+89
| | | | | Change-Id: I490d70a785c947cd41809503e15a317152126641 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* DeviceSupport: Report success for attempts to shut down port gatheringhjk2017-06-151-0/+1
| | | | | Change-Id: I02892243c4e3a9ef8d67e856c82ee953482534b2 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Clang: Fix MSVC2015 buildNikolai Kosjar2017-06-151-3/+11
| | | | | Change-Id: Ife8c2d0be9e82bb897cd4612d24e2b893ffb792d Reviewed-by: David Schulz <david.schulz@qt.io>
* Wizards: Remove QLatin1String from JsonFieldPageTim Jenssen2017-06-151-41/+41
| | | | | Change-Id: I91e69c80c62ac6f77fd1823f246097355cd81286 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Clang: make correction whithout proposed itemsIvan Donchevskii2017-06-151-1/+4
| | | | | | | | | Make . to -> correction even in case code assistant has no items to propose. Change-Id: Ie16d317c1a55f05883d3de5ba9bd475d315c59a9 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
* Fix namespaced buildJoerg Bornemann2017-06-151-0/+4
| | | | | Change-Id: Ie0f48ce209f3242f3f07b5f89e6c681f4dd7f810 Reviewed-by: hjk <hjk@qt.io>
* Scripts: Add ninjawrapper.pyTobias Hunger2017-06-151-0/+31
| | | | | | | | Add a small python program to wrap ninja and split its output nicely into stdout and stderr. Change-Id: Ib2fae405c170ea15910de20d5f45aaab75aa89cb Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Clang: Fix test file nameNikolai Kosjar2017-06-152-1/+1
| | | | | Change-Id: I27b25e4b8521aabab804812c4cc27cd41c23b46e Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* Clang: Remove pointless member variableNikolai Kosjar2017-06-152-3/+1
| | | | | | | | The called function uses already static state. Change-Id: I22c6cceea6c0c779c4b8ca94b74e0828e27b1f4e Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io> Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* Debugger: Add a display name to GdbServerPortsGathererhjk2017-06-151-0/+1
| | | | | | | For debugging reasons. Change-Id: I8136bbfb9a6558ab89f775e8e1410081cda3f95d Reviewed-by: hjk <hjk@qt.io>
* ClangCodeModel: Fix compile after ca72c29462d9caae5e6095f8361f843758c5972cDavid Schulz2017-06-151-0/+5
| | | | | Change-Id: I7a720ce13741cb663628798078c74c98314905d7 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Clang: Fix slots and function pointers completionIvan Donchevskii2017-06-141-28/+33
| | | | | | | | | Check completed functions for preceding & and don't add parantheses in that case Task-number: QTCREATORBUG-17578 Change-Id: I21b1e2c9ffb9d288f3267146e9afd575e6fef30b Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* Clang: Fix conversion warning in testsNikolai Kosjar2017-06-142-2/+3
| | | | | | | | | | | mock-matchers.h:204:60: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] bool operator()(const A& a, const B& b) const { return a == b; } ~~^~~~ Change-Id: I58883118e1eb42f2e0129b760cdce07daf4ac8d3 Reviewed-by: Marco Bubke <marco.bubke@qt.io> Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
* Clang: Return ClangString instead of Utf8StringMarco Bubke2017-06-145-22/+58
| | | | | | | | | Utf8String is allocating memory but for many compares it is not needed. In an inner loop this can be expensive. Change-Id: I6320823ab7e086008447eea255e52859a7faaad7 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* Fix build (windows)Ivan Donchevskii2017-06-141-4/+1
| | | | | Change-Id: Ic57f7f633b73abec26f1d6b9f62ff6d4612911ea Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* Clang: Fix extra space before left parenIvan Donchevskii2017-06-145-16/+49
| | | | | | | | | Do not add space before left paren in function because it must not be there Task-number: QTCREATORBUG-14878 Change-Id: I0fd0e650aeeee59af7bbc157c2fae652109763bc Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* Clang: Provide highlighting for identifier under cursorNikolai Kosjar2017-06-1459-11/+2050
| | | | | Change-Id: I80ffe23cbcc84ab7323124581d9dd6afbe974fd0 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* CppEditor: Do not start CppUseSelectionsUpdater for same identifierNikolai Kosjar2017-06-142-6/+35
| | | | | | | | Saves some cycles when navigating with the text cursor over the characters. Change-Id: Ie9a23d97ac09ca45a32178cae5b8945d0c623811 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* CppTools: Use class member prefix "m_" in builtincursorinfo.cppNikolai Kosjar2017-06-141-34/+34
| | | | | Change-Id: I8e4079734f9167dcc9da2ceff027f8559bab367f Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* CppEditor: Generalize CppUseSelectionsUpdaterNikolai Kosjar2017-06-1414-410/+584
| | | | | | | | | Let CppUseSelectionsUpdater delegate the work to *EditorDocumentProcessor so that the clang code model can also provide results. Change-Id: I6872afbfeea1a5c4a64fdf19fcb1992f134dde08 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* Clang: Move completion testNikolai Kosjar2017-06-142-18/+17
| | | | | Change-Id: I61cd72c131407415732ed1231a4614be57c1454b Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* QbsPM: Fix compile with Qt5.6Christian Stenger2017-06-141-1/+1
| | | | | Change-Id: I21855bfd173ad6e85329d83b2337efc37359be6e Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Clang: Do not expire job requests with newer document revisionNikolai Kosjar2017-06-141-1/+1
| | | | | | | | | | ...than currently reflected in documents. Otherwise such requests expire immediately. Needed for a follow-up change. Change-Id: I456aea02a0fee9b9602a59a99943da13a01472d9 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* Sqlite: Fix compileMarco Bubke2017-06-141-0/+2
| | | | | Change-Id: I098ba3f2a896f3f1f675a81b48cd41364aeaa631 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Clang: Rename JobRequest::Requirements to ExpirationsReasonsNikolai Kosjar2017-06-147-33/+36
| | | | | | | ...to avoid ambiguity in regard to a new enum in a follow-up change. Change-Id: I4f732b5200ed674b6708510ac8de0a795afe52da Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* CodeAssist: Do not retrigger completion when applying a snippetNikolai Kosjar2017-06-141-1/+2
| | | | | | | | | | | | | | | | | | This fixes the following case for the ClangCodeModel: 1. Trigger non-member/non-prefix completion. 2. Choose the generic "class" snippet. --> The snippet is inserted, cursor is right after "name", but it also triggers another completion that proposes e.g. the "namespace" snippet. This does not happen with the built-in code model because at that cursor position it provides "name" as completion result, which is a perfect match and thus suppresses the completion list. Change-Id: I2f797469b2a0952406b50c28f9704b113e19b16d Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
* Clang: Add equal operators for ClangStringMarco Bubke2017-06-142-0/+110
| | | | | | | Converting them in a Utf8String in an inner loop can be quite heavy. Change-Id: I4f2ccde47a6e3ca08ed054462eb7772ded9e55c9 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* Clang: Fix warning in HighlightingMark::punctuationKindMarco Bubke2017-06-141-3/+7
| | | | | | | | | | Actually mixing returns and not is not that well readable workflow. A other option would be to use if. Change-Id: I36f07adb77d50ddc6890b6292c7883a1b5f80f58 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* Clang: Clean up keyword highlightingMarco Bubke2017-06-141-14/+13
| | | | | | Change-Id: I8c2737718282d047e487b8ed82a40dc256d39ce5 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* Clang: Stop highlighting keywords in preprocessor directivesNikolai Kosjar2017-06-143-2/+29
| | | | | | Task-number: QTCREATORBUG-15516 Change-Id: I30046ae7c1a73144985639800227012bf5a4e357 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* QbsProjectManager: Make the configuration name explicitChristian Kandeler2017-06-148-15/+69
| | | | | | | This is a prerequisite for being able to import builds. Change-Id: I22bd8f201db943335edadc899bfe9fa64d39e845 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Clang: Cleanup IPC codeMarco Bubke2017-06-14106-1212/+1208
| | | | | | Change-Id: I29571801b4093337e2c7cc1eec51cfcd07b3bdc5 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* Utils: Make Port::number error out with -1 in the invalid casehjk2017-06-141-1/+1
| | | | | | | | That's more consistent with 'default' cases QUrl::port() and internal Utils::m_port representation. Change-Id: Ia6ee413f92e94c202f70d734e79976a0cda0d9ef Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Utils: Make the progress indicator themableAlessandro Portale2017-06-148-5/+30
| | | | | | | Ensures a consistent visibility with light and dark backgrounds. Change-Id: I8e825ccf05248abb2c94c4cd3af56d0226bc7e96 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* asConst: Simplify with C++11/14 and fix for rvalue refsEike Ziller2017-06-141-3/+3
| | | | | | | | | | add_const is available since C++11, add_const_t since C++14 Use universal reference && to enable uses like for (const auto item : Utils::asConst(foo->items())) ... Change-Id: I17ee19dae22a306ccf92035f43e60e91b32dffd7 Reviewed-by: hjk <hjk@qt.io>
* iOS: Fix compile with Qt5.6Christian Stenger2017-06-131-1/+1
| | | | | Change-Id: I0ee2e97b94da72140631df01c6ddf59252e5138e Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
* AutoTest: Clean up includesChristian Stenger2017-06-131-17/+1
| | | | | Change-Id: I55a2ac8d3d625cbdd6b03c6a0ee11996e45cf981 Reviewed-by: David Schulz <david.schulz@qt.io>
* AutoTest: Provide way to access the original test outputChristian Stenger2017-06-1313-27/+77
| | | | | | | | | | | | | When running tests the original output is processed and not presented to the user at all. For crashing tests this could mean that output was not able to get processed completely (e.g. when having XML as output and relying on well-formed code) Unhandled output could also lead to incorrect results. This patch adds another view to the results pane which contains the complete output of the last test run. Change-Id: I923496e9c440de4ea68bee55415777ea5c2379c2 Reviewed-by: David Schulz <david.schulz@qt.io>
* ColorSchemaEdit: Make layout of color selection dialog cleanerTobias Hunger2017-06-134-255/+618
| | | | | | | | | Add some section headers, make widgets align with more other widgets, get rid of useless margins and make hiding elements not leave random amounts of space between elements. Change-Id: I3d2ce7a00a92cdff5af5b7aa5e2784460d388c85 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Mobile platforms: Do not use QLatin1String in BuildStepsTobias Hunger2017-06-133-35/+34
| | | | | | Change-Id: I3d67e94e7dc2d86ac1eba641562ee4a045f95d6c Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
* ProcessExplorer: Remove QLatin1String from AbstractProcessStepTobias Hunger2017-06-131-1/+1
| | | | | Change-Id: I1eed445b2e0400272ded021123420eee279ea1df Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* ProcessExplorer: Do not use QLatin1String in ProcessStepTobias Hunger2017-06-131-10/+10
| | | | | Change-Id: Ic72e1cfe6d164d5f137ce4451033a9992bc2fd13 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Do not put locator manager into object poolEike Ziller2017-06-133-7/+1
| | | | | | | Users should use the static interface (and they do). Change-Id: I2b8f6a379a45975d94fc8e77f86df9a16f2c9cf1 Reviewed-by: David Schulz <david.schulz@qt.io>
* Remove 1-1 dependency between locator and locator input widgetEike Ziller2017-06-1336-95/+166
| | | | | | | | | | | Add possibility for filters to set a new search text when accepting an entry. Move placeholder text update from locator manager to widget. Propagate filter update through signal-slot connection instead of directly. LocatorManager::show is the only place left that directly references the locator widget. Change-Id: Id61354d9f166c2af8c9d5528ad8998c7c6b8e1ab Reviewed-by: David Schulz <david.schulz@qt.io>
* ProjectExplorer: Remove various RunControl::report* functionshjk2017-06-132-22/+2
| | | | | | | The interface has now moved to the RunWorkers. Change-Id: I1ebf74c081697b8e44926ab00053417f9f60647d Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* add style icons to wizardsTim Jenssen2017-06-1310-0/+0
| | | | | Change-Id: Ia5741e68d9ce0a812080bfba7b120f5d5575c210 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* CPlusPlus: Add a property iconAlessandro Portale2017-06-138-0/+66
| | | | | | | | | Properties have been so useful in Qt for Years, and they will continue being so. Properties deserve a proper icon. Change-Id: Ifd19c97470a48a033bbe4017855f7b150befb365 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io> Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>