summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Utils: Improve print function for SmallStringVectorwip/clang-queryMarco Bubke2016-11-171-1/+1
| | | | | Change-Id: I9dc66ddddf380d8e2af057719005f4d14a592396 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Utils: Improve debug output of SmallStringMarco Bubke2016-11-171-5/+14
| | | | | Change-Id: I738ac9d139271b7d154dd39f30ae3c08b5e5b921 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Utils: Add const reverse iterators to SmallStringMarco Bubke2016-11-172-0/+33
| | | | | Change-Id: Iefd9d6abafbe38dcb7d3ed9ea200ac3244902433 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* UnitTests: Add QByteArray printerMarco Bubke2016-11-172-67/+73
| | | | | Change-Id: I1461db8b5337e6e6aa387edc4da72ca3379d8b73 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* CMake: Move code to read CMakeCache.txt into CMakeItem classTobias Hunger2016-11-174-87/+93
| | | | | Change-Id: Ie5d76a2b50007c80d68b2e97d3339a582afce469 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* CMake: Clean up more paths in server-modeTobias Hunger2016-11-171-1/+1
| | | | | Change-Id: Ifd578cbc7516f66ad52cc13faca0ee733dbc7512 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* CMake: Unify names for important directories in server-modeTobias Hunger2016-11-171-3/+3
| | | | | | | | Unify names for important directories in the project tree of server-mode cmake projects. Change-Id: I6354e0a1cfb71f9038d9110438622c824deedebe Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Merge remote-tracking branch 'origin/4.2'Eike Ziller2016-11-1672-544/+693
|\ | | | | | | | | | | | | | | Conflicts: src/plugins/clangrefactoring/refactoringengine.cpp src/tools/clangrefactoringbackend/source/symbolfinder.cpp Change-Id: I7c1c87f3b8ade43a07f6668565501042e967fa8b
| * Debugger: Improve QAtomicPointer dumperhjk2016-11-162-7/+28
| | | | | | | | | | | | | | More compact display and arbitrary inner types. Change-Id: I68bc1f5cc88f51e993e6e8a91556d9d745a2574a Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * Document building QtC with system qbsKai Koehne2016-11-161-0/+3
| | | | | | | | | | Change-Id: I551d2a909db7875183b74160cedc958b4a1d5e8c Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
| * Debugger: Disable some of the LLDB inheritance dumperhjk2016-11-161-3/+4
| | | | | | | | | | | | | | | | | | | | Both LLDB 3.8/Linux and 360.x/Mac cannot display the contents of a virtual base class when accessed to a 'secondary' path. The problem is with LLDB itself, so don't expect Creator tests to pass in those cases. Change-Id: I25b005d66fa9f64766a4cc0aaaa2c865b6df8c5f Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * Debugger: Make std::set::iterator dumper test pass for libc++hjk2016-11-161-1/+8
| | | | | | | | | | Change-Id: Ib5f9a0d71c130dcbcc14719b85f13582bbeaf74e Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * Debugger: Recognize '-' as start of numeric template argumenthjk2016-11-161-1/+1
| | | | | | | | | | Change-Id: Ibc0fd730655378dca3dc231dbad36981364ccf70 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * Debugger: Workaround gdb.lookup_symbol ignoring QArrayData::shared_nullhjk2016-11-161-20/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There have been cases observed where 'p QArrayData::shared_null' finds valid symbols that are not found using gdb.lookup_symbols. The cause for that is unknown. Apply an expensive workaround by checking for (the equivalent of) a working 'p QArrayData::shared_null' but execute it only when a libQt5Core was found. This keeps the overhead for non-Qt setups at a bearable (unsuccessful) iteration over known shared object names. Change-Id: Id398673b938d3c3a72c24317abdbefbe793e54df Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * Clang: Take precompiled headers into account when parsing source filesDenis Klychkov2016-11-1611-31/+89
| | | | | | | | | | | | Task-number: QTCREATORBUG-15590 Change-Id: Icbfce4ffd6e9f9802641d35d898fa1dc1c4c18ee Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
| * iOS: Fix buildNikolai Kosjar2016-11-161-0/+2
| | | | | | | | | | | | | | | | Include <memory> for std::shared_ptr. Change-Id: I549eef8e8dc42b58b07e3528d55193ed8c54dd7e Reviewed-by: Eike Ziller <eike.ziller@qt.io> (cherry picked from commit 6614b7a276941892f08f6250c4acecb9721fab6c)
| * iOS: Make iOS simulator usage asynchronousVikas Pachdha2016-11-163-332/+551
| | | | | | | | | | | | Change-Id: I5770b372542690560680ef3208a284c7f0cf6670 Reviewed-by: Eike Ziller <eike.ziller@qt.io> (cherry picked from commit aa355b4f704db3f2d45b674c9532c8425ba47333)
| * Debugger: Use a more direct way to detect LLDB bitfieldshjk2016-11-161-3/+4
| | | | | | | | | | | | | | | | It has a function directly doing that, use it instead of guessing (badly, in some cases) Change-Id: I1ce317c28d60f820f8e868e3c0c5a665f8de6cb7 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * Debugger: Expose DebuggerKitInformation::ConfigurationErrorshjk2016-11-164-23/+21
| | | | | | | | | | | | | | ... to allow more fine-grained decision making for kit choosers. Change-Id: I9a4e97f7b4f4b074e1c764f6b134c15e2896dc79 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * Debugger: Make QRegExp dumper test pass on Machjk2016-11-162-0/+2
| | | | | | | | | | | | | | | | | | We need DYLD_IMAGE_SUFFIX=_debug for the captures() cache warming call to succeed even if the actual access is by offset only. Change-Id: I24a90b4c4187459904f14a664b992a5bba9a20eb Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * Fix that files could not be dropped onto welcome screenEike Ziller2016-11-162-0/+25
| | | | | | | | | | | | | | | | Needs to be implemented in Qt Quick itself nowadays. Task-number: QTCREATORBUG-14194 Change-Id: I0456dc5d86c03672d8b6b8f9c45799851db1b059 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
| * macOS: Fix that some actions still had icon in menuEike Ziller2016-11-153-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | For example when toolbars showed a menu for actions that no longer fit (e.g. open diff viewer, reduce window size until the synchronize and switch view buttons vanish). Use the application flag to disable icons in menus on macOS globally instead of doing that individually on the actions. Change-Id: I3b682f48ee0e866f0f0d5bb0834690937f427d7f Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
| * Reduce thread priority for test parsingEike Ziller2016-11-153-24/+41
| | | | | | | | | | | | | | Adding API for that to the parallel map/reduce functions Change-Id: Ic7987d899c124dcb04c1ca110b09fc97576873fe Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * QmlDesigner: Adding try catch blockThomas Hartmann2016-11-151-10/+14
| | | | | | | | | | Change-Id: I4956b58f1ffd3bfdf0e6b810de1f411ae7d7f8a0 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
| * ProjectExplorer: Don't show context menu when it makes no sensehjk2016-11-152-10/+3
| | | | | | | | | | | | Task-number: QTCREATORBUG-17152 Change-Id: Ic67386bdfd6d6d79e8a15bc6394a22cb46305335 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
| * CppEditor: Fix null pointer accessNikolai Kosjar2016-11-151-1/+1
| | | | | | | | | | | | Task-number: QTCREATORBUG-17253 Change-Id: Ide3d15508a2e310c307fef68457848e869c4d2de Reviewed-by: David Schulz <david.schulz@qt.io>
| * Clang: Require LLVM >= 3.9.0Nikolai Kosjar2016-11-154-6/+6
| | | | | | | | | | | | | | | | We already ship with a cherry-picked change from version 3.9. Change-Id: Iad09ac8db470506c5de0321f3a2346c549b11b31 Reviewed-by: Marco Bubke <marco.bubke@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
| * ClangStaticAnalyzer: Raise supported clang version to 3.9.0Nikolai Kosjar2016-11-151-2/+2
| | | | | | | | | | Change-Id: Ic8eb8c7b25f1b2b6bdb6b645816342748b181bd0 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
| * CppTools: Fix crash on document closeNikolai Kosjar2016-11-151-2/+2
| | | | | | | | | | | | | | | | Emit the signal only if we are not canceled. Task-number: QTCREATORBUG-17249 Change-Id: I5082a5fe7554eecdc7ec5d148150c1b169002f6d Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * Debugger: Merge two variants to set detach-on-forkhjk2016-11-151-4/+1
| | | | | | | | | | Change-Id: I8459110b2729c0ee8c797f184c018fdb44cafe45 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * Debugger: Remove some unused and forgotten functionhjk2016-11-152-8/+0
| | | | | | | | | | Change-Id: Ic9d0e609dbc41aeed292f3d069ebfc0c6ef324ee Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * Debugger: Use explicit sizes in SSE dumpershjk2016-11-151-3/+3
| | | | | | | | | | | | | | We know them, no need to guess. Change-Id: I9788cfe178e4b013276f77df9aef5f4254818007 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * Fix readability of TODO entries on dark themesJan Kundrát2016-11-143-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The TODO plugin provides default values for color-coding backgrounds based on the severity of each item. These colors are rather light, and there is just one default with no theme awareness. It is a bug to use a theme-aware text color on a fixed-color background -- just switch to a dark theme such as flat-dark and observe the unreadability. This patch simply ensures that the default settings have reasonable readability. These defaults are still not theme-aware, but at least they are consistent. Change-Id: Ibf35a241c70e0f1ea001b55f84fd2e1dd1a0a2ea Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
| * ProjectExplorer: Avoid accessing nullptr for unconfigured projectsChristian Stenger2016-11-142-2/+3
| | | | | | | | | | | | Task-number: QTCREATORBUG-17256 Change-Id: I586c7267cbb4f9f16134c1be08aa4a738e990e80 Reviewed-by: hjk <hjk@qt.io>
| * Debugger: Robustify typedef member lookuphjk2016-11-141-3/+24
| | | | | | | | | | | | | | | | | | Some code path did not resolve typedefs when looking up struct members by name, making e.g. the BoostList dumper fail for LLDB. Change-Id: I7adf235cff3941574cab9f03d6f15ec5f3e2f0bd Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * Debugger: Force #include <boost/version.hpp> in boost dumper testshjk2016-11-141-0/+3
| | | | | | | | | | | | | | We might end up with undefined boost version otherwise. Change-Id: Ibcdc70cbce8aad42947ce4760df0208d5ebe83f7 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * winrt: Remove experimental flagMaurice Kalinowski2016-11-141-1/+0
| | | | | | | | | | | | | | | | The plugin is in use since many years and can be considered stable these days. Change-Id: Ia41b24849abd16e15313ab97f82d277673b3904b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
| * Update Russian translationSergey Belyashov2016-11-141-314/+299
| | | | | | | | | | | | Change-Id: I75931da08feded181687e313193d79689c38ae49 Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
| * Replace WIN32 define with _WIN32Kai Koehne2016-11-145-8/+10
| | | | | | | | | | | | | | | | | | | | | | Only MinGW gcc defines WIN32, MSVC compiler does not. It's also defined by qmake (msvc-desktop.conf), but not by qbs ... Let's just use _WIN32, that's defined everywhere. Change-Id: I8342a70498be54a965dcf7fae63eaf406aaa3c04 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
| * AutoTest: Use themed test result iconsAlessandro Portale2016-11-1413-24/+49
| | | | | | | | | | | | Task-number: QTCREATORBUG-16663 Change-Id: I087024bf2882690233032e555a825e397c945d3e Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * AutoTest: Fix handling of enabled state for code parserChristian Stenger2016-11-145-22/+18
| | | | | | | | | | | | | | | | | | | | | | Avoid unintentional re-enabling of the code parser. Handling of the enabled state broke several times before, therefore separate it from other states of the parser to avoid breaking it again when not taking enough care while refactoring or adding features related to states. Change-Id: If1eb0dd649225f10bfc3bf06f09851649da75983 Reviewed-by: David Schulz <david.schulz@qt.io>
* | ProjectExplorer: Use Utils::FileName in ProjectImporter APITobias Hunger2016-11-167-20/+20
| | | | | | | | | | Change-Id: I60e05f1bd892b508db90bc48837e29e2725bf333 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* | TextEditor: Fix warnings about inconsitent use of overrideTobias Hunger2016-11-161-11/+11
| | | | | | | | | | Change-Id: I7fd388580dd133524616704a2108b683dd45499e Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | FindInFiles: make possible to have more than one extensionPrzemyslaw Gorszkowski2016-11-166-89/+168
| | | | | | | | | | | | | | | | | | | | This change adds a possibility to add more than one external tool which can be used instead of internal finder. Currently there is one extension: 'gitgrep'. By default we use internal finder. Change-Id: If644358552f3cea9ebda8308539322a1b6d3ab77 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* | Tools: Disable clangrefactoringbackend againChristian Stenger2016-11-161-1/+1
| | | | | | | | | | | | | | | | The plugin is disabled and the backend causes compile issues with older gcc. Change-Id: I6c809d397872a77168ae4f51d01e9e4f5af3b64f Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* | iOS: Fix buildNikolai Kosjar2016-11-161-0/+2
| | | | | | | | | | | | | | Include <memory> for std::shared_ptr. Change-Id: I549eef8e8dc42b58b07e3528d55193ed8c54dd7e Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | Fix double spaceJarek Kobus2016-11-161-1/+1
| | | | | | | | | | Change-Id: Iecdbf5e2f837253ccda9e67a86023614a639a828 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
* | Fix stringJarek Kobus2016-11-161-1/+1
| | | | | | | | | | Change-Id: Id540eb7b7e85618bffd7e44610df2e22748c494f Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | iOS: Make iOS simulator usage asynchronousVikas Pachdha2016-11-163-332/+551
| | | | | | | | | | Change-Id: I5770b372542690560680ef3208a284c7f0cf6670 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | CMake: Fix generator warning for server-mode cmake toolsTobias Hunger2016-11-151-3/+4
| | | | | | | | | | | | | | | | | | Do not warn on wrong extra generators if cmake supports server-mode. Make the massage point out the missing server-mode while at it. Change-Id: I643c77fbebe4ba9a7ea6fee28422283118d145dd Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>