aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Squish: Partial fix of tst_opencreator_qbsv4.5.0Robert Loehning2017-12-012-2/+1
| | | | | Change-Id: Idaa228e4efcdac05e72932ed95c410af8a7bc80f Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Squish: Update expected line in tst_simple_debugRobert Loehning2017-12-011-1/+1
| | | | | | | Project template changed again. Change-Id: Ibd2767719e13e3de041e63e0977d838aa6c34f3c Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* TextEditor: fix animate navigation within fileDavid Schulz2017-12-011-14/+9
| | | | | | | | | | The calculation based on visible lines is not working as expected when we have collapsed blocks. Using QPlainTextEdit functions to get the correct target scroll bar value. Task-number: QTCREATORBUG-19327 Change-Id: I0393fc94ba2a11caeaa77d6d87bc69c6c7de1bb7 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Squish: Stabilize tst_HELP05Robert Loehning2017-11-304-5/+17
| | | | | Change-Id: I9296dc577fac4ea06c7c8f482a44948ba327568f Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Do not show accelerators in dock window titleshjk2017-11-301-3/+9
| | | | | | | | | | | | The dock widget's togglViewActions text is tied to the widget title, but the view headers should not display a potential "&" accelerator. So stash the &'d string away when setting up the title and retrieve it when re-creating the view menu. Task-number: QTCREATORBUG-19378 Change-Id: I6bf49ca526d12ddd57dfa33a94327a83baeaa6b4 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* QbsProjectManager: Set the default working directory in the run configChristian Kandeler2017-11-301-2/+7
| | | | | | | | | | ... rather than in the run config widget. Otherwise merely opening the run settings can change the behavior of applications. Task-number: QTCREATORBUG-19374 Change-Id: Ib227ab07d09b7a8ce34909ae0b08b6b222bcee14 Reviewed-by: Georger Araujo <georger_br@yahoo.com.br> Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* qtcdebugger: don't abort unregister if Debugger.Default is not definedDavid Schulz2017-11-301-2/+1
| | | | | | | Task-number: QTCREATORBUG-19252 Change-Id: Idc986a52276c40f20a983495ab4423c8753a9dda Reviewed-by: Robert Loehning <robert.loehning@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
* winrt: Add runnable to run configurationOliver Wolff2017-11-292-0/+45
| | | | | | | | | | When Creator checks whether the application that is being debugged is a debug build, it gets its information from the runnable so we have to provide one when winrt is used. Change-Id: I2259783f82eef96b50ba5f804306e5225919d24b Reviewed-by: hjk <hjk@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
* Qmake: Set up environment for initial project parsingTobias Hunger2017-11-285-5/+20
| | | | | | | | | Set up a better environment for initial project parsing (before Kits are configured). Task-number: QTCREATORBUG-19241 Change-Id: I2431113dbbe6fb6a66f95fb1efb36834fa184f3d Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Qt Quick Application wizards: Qt::AA_EnableHighDpiScaling only on WINAlessandro Portale2017-11-281-0/+2
| | | | | | | | | | | | Setting Qt::AA_EnableHighDpiScaling causes a few graphics backends to malfunction. This patch reduced the setting of the flag to happen only on Windows (it is automatically set on macOS with retina). Task-number: QTBUG-64815 Change-Id: I08fa5d1bd2c93e7a39c23487b684bd3f7b358783 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io> Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io>
* BuildConfiguration: Fix caching of environmentTobias Hunger2017-11-283-2/+13
| | | | | | Task-number: QTCREATORBUG-19371 Change-Id: I5ab20cd39d18283d0bd9e5c24db69e7ddba387b9 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* fix some missing breaks in switchesNikolay Shalakin2017-11-282-0/+2
| | | | | | Change-Id: I8cc269d9a622b4af090795e40e11205d1190248b Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* QmlJsImport: correct ImportMatchStrength comparisonNikolay Shalakin2017-11-281-1/+1
| | | | | | Change-Id: I9aa775dc23d19e856e38baf9834bedb6903800a9 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* avoid crash during Android Virtual Device Manager launchNikolay Shalakin2017-11-281-1/+1
| | | | | | Change-Id: I9d496fd8e6b976f2cdfe891139475636ad3be018 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* python scanner: fix "oct" and "chr" highlightNikolay Shalakin2017-11-271-1/+1
| | | | | | | a missing comma defeated both keywords. Change-Id: I2486ca5ca7d82d7ddcab8656b02fba0b3f54ddd8 Reviewed-by: hjk <hjk@qt.io>
* ProjectExplorer: Fix build failure on windowsTobias Hunger2017-11-271-0/+1
| | | | | | Task-number: QTCREATORBUG-19368 Change-Id: I4464b4f9b2f1a2d725f5a08fb6e38444fabcdea5 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Tests: Disable test for LLDBChristian Stenger2017-11-271-1/+1
| | | | | Change-Id: I1f7a576d3b8feb527013e3b679fc60c4e663f2eb Reviewed-by: hjk <hjk@qt.io>
* Dumper: Do not use enumHexDisplay unconditionallyChristian Stenger2017-11-271-1/+4
| | | | | | | | | This function is available only for GDB. When using CDB or LLDB this ends up in an exception. Change-Id: Ie1835c1b95cac99e3f996077f6a3d80b5591c145 Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: hjk <hjk@qt.io>
* Clang: Fix future reporting on backend crashNikolai Kosjar2017-11-271-2/+6
| | | | | | | | | ...otherwise CppUseSelectionsUpdater might block for an infinite duration. Change-Id: I756d82499b0b2864363dcaeff15398a8bf5500d9 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
* DiffEditor: Fix parsing of mode-only change in patchOrgad Shaneh2017-11-273-16/+37
| | | | | | | | | | | | If one of the files has mode-only change, the entire patch fails as a git patch, and is parsed as a text patch. Because of that, the prefixes (a/, b/) are not stripped and jumping to a change by double-clicking does not work. Change-Id: Ib54ce4fa7aad02cb956af1f7de73d3c732ac5a89 Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Update qbs submoduleChristian Kandeler2017-11-271-0/+0
| | | | | | | To HEAD of 1.10 branch. Change-Id: I4d73b84f845cccc0363673100681c74f51dd695a Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* Utils: Delay saving of treeview column sizes while resizinghjk2017-11-271-1/+12
| | | | | | | | | | | | | | | | | | | As discussed in the linked report, QSettings behavior was changed to aggressively attempt to sync on each ::setValue() call, therefore causing excessive disk thrashing when used regularly. This is arguably a regression on the QSettings side, specifically as the documentation suggests some kind of delay and therefore merging of quick sequences of setValue calls (as implemented previously), but since this opinion is not generally shared, Qt applications need to implement that behavior now by themselves. This patch here does that for the reported case in Creator (and uses the opportunity to delay to 2 secs, which should be sufficient for the case) Change-Id: I04af0cd1a042abcf7113b5dde5c36e0338f7acb3 Task-number: QTCREATORBUG-15594 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Qmake: Do not crash when closing a project while it is parsingTobias Hunger2017-11-273-10/+24
| | | | | | | | * Fix crashes and resource leaks in qmake project. Task-number: QTCREATORBUG-19358 Change-Id: I3b383640cdf994b4014ccbfc4278be48f9e5fd3f Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Bump versionEike Ziller2017-11-242-8/+8
| | | | | Change-Id: Ie823825b9dd4092f9997716790bfc3fbe138dd46 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* CppTools: Disable Qt keywords for C filesOrgad Shaneh2017-11-241-2/+3
| | | | | | Task-number: QTCREATORBUG-1478 Change-Id: I29afc0f38e5f86ca2c30d5b6551974df68ee7512 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* CppTools: Fix initial macro parsing for generic projectOrgad Shaneh2017-11-242-2/+2
| | | | | | | | | | | The extra macros in the config files are being read in CppModelManager::internalDefinedMacros(), but they also affect the language features in ProjectPart::updateLanguageFeatures(). Task-number: QTCREATORBUG-1478 Change-Id: Ic197b0b7d4cc6e6a74637da0c710b0630daae25c Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* Doc: Update perf profiler documentationUlf Hermann2017-11-235-87/+156
| | | | | | | | Numerous things have changed in the perf profiler since this was last edited. Change-Id: I5443b526fc203ecc506401343b90c81038869f62 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* CMake: Add QT_INSTALL_BINS to PATH on windowsTobias Hunger2017-11-231-1/+12
| | | | | | | | | | | | | | | | Add QT_INSTALL_BINS to PATH on windows in the CMake RunConfiguration. This should fix cmake applications using Qt not being able to get started after they were built. Unfortunately this patch is not a great solution: This should be configurable, similar to the "Add libraries to LD_LIBRARY_PATH" checkbox we have for other OSes and build systems. Such a change is unfortunately not acceptable at this stage of the 4.5 branch though. Task-number: QTCREATORBUG-19354 Change-Id: Ic2d568d965e41e3eb875fed8c2e5dd2ba15d2db1 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* QmlDesigner: Add support for requesting types of framesThomas Hartmann2017-11-232-0/+12
| | | | | Change-Id: I3262887682520f521e84eacc26a6708d3d09b233 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Add constants for live previewThomas Hartmann2017-11-231-2/+4
| | | | | Change-Id: I9b0987508ada8f973fbcb52403a3fb38c92ec2ef Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* QbsProject: Compute uniqueProductName on the flyhjk2017-11-222-7/+4
| | | | | | | To simplify and fix cloning. Change-Id: I380834710243f104635628b8d455219f0f73e67b Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* CMake: Hide nodes from project listTobias Hunger2017-11-221-0/+4
| | | | | | | | | Hide nodes from project list so that they will not end up cluttering the locator with directory locations (which creator can not open anyway). Task-number: QTCREATORBUG-19346 Change-Id: I78d7d16b7cdacf5536e81c5001a292af0bd0c2df Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* NavigationTreeView: Improve horizontal scrolling in treeviewTobias Hunger2017-11-221-4/+9
| | | | | | | | | Do not move horizontally so often when scrolling to an index in the TreeView. This is done by getting more accurate sizes for the items being drawn. Change-Id: I9cbc7912ede6a4bec3126c3ce9a0a4eb65805910 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Doc: Update Qt Quick UI Prototype wizard docsLeena Miettinen2017-11-211-3/+4
| | | | | | | | | | | The wizard name has changed. The option to create an ui.qml file has been replaces with the option to add a virtual keyboard. Change-Id: I2466500dcabda59586806939c0e7b8f3100d6677 Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Fix outdated perf profiler documentationUlf Hermann2017-11-211-9/+8
| | | | | | | | | | | | The event types should now be chosen in a structured way, not as additional arguments. This is a hotfix for 4.5. A more comprehensive documentation of the settings will follow in master. Task-number: QTCREATORBUG-19321 Change-Id: I56670bd8d54fa8a62eb35951d86e4023a2a8c680 Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Clang: Define __FUNCSIG__ and others for msvc toolchainIvan Donchevskii2017-11-213-0/+8
| | | | | | | | | | | | Affects __FUNCSIG__, __FUNCTION__ and __FUNCDNAME__. By default Clang can't concatenate strings under those macros with other strings. Because of that we need to define them with empty strings to make clang compile such cases without errors. Task-number: QTCREATORBUG-19295 Change-Id: I9a3770ebe56b4b8a49ba9982c5a1ba90c8f0b304 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* Android: Enable emulator tool installationv4.5.0-rc1Vikas Pachdha2017-11-213-2/+53
| | | | | | | | | Let Android sdk manager UI install the emulator tool. AVD needs this tool to manage AVD's. Task-number: QTCREATORBUG-19332 Change-Id: If836c511ca4a5673470d42c14115afa21b1b96fd Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* CMake: Fix tree scanner not getting run automaticallyTobias Hunger2017-11-212-13/+19
| | | | | | | | This lead to <Headers> entry being missing from the project tree. Task-number: QTCREATORBUG-19333 Change-Id: Ice3bab6d92aaa3799e66800cbae0bacd57537322 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Clang: Add identifying macro Q_CREATOR_RUNNikolai Kosjar2017-11-212-1/+7
| | | | | | | | | | Use the same we use for the built-in code model. This is useful for conditions of pragmas. Task-number: QTCREATORBUG-16847 Change-Id: I4c83be46bb2b8a23e4c8f70d98e2b4c9572121ee Reviewed-by: David Schulz <david.schulz@qt.io>
* More 4.5 changesEike Ziller2017-11-201-2/+58
| | | | | Change-Id: Id75bc6dbfdfda12f2c12c70fb7a95ae7a0a3c56b Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* AutoTest: Fix handling of forward declared test classesChristian Stenger2017-11-201-2/+2
| | | | | | | | | | | | If a class has been forward declared we might not end up inside the real class declaration when trying to find declared test functions. So, do not just take the first found symbol into account, continue to process others if we haven't found the real declaration. Task-number: QTCREATORBUG-19319 Change-Id: I752d7a10470f5362e2214596966d93c037d58f4a Reviewed-by: David Schulz <david.schulz@qt.io>
* AutoTest: Fix running Quick Tests with special functionsChristian Stenger2017-11-201-2/+6
| | | | | | | | | | If special functions (init, initTestCase, cleanup, cleanupTestCase) are present for a Quick Test they must get ignored when trying to run a single test as they cannot get explicitly addressed. Task-number: QTCREATORBUG-19311 Change-Id: Ie91928271928cf581bfef0b5e3463e027af985fd Reviewed-by: David Schulz <david.schulz@qt.io>
* Update qbs submoduleChristian Kandeler2017-11-201-0/+0
| | | | | | | To HEAD of 1.10 branch. Change-Id: I12398ee8eb381b31356fdc515d07addc9bf501da Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* AutoTest: Fix nullptr accessChristian Stenger2017-11-201-1/+1
| | | | | | Task-number: QTCREATORBUG-19313 Change-Id: I84a6f35c4da325ed5b0bd12de90cf156d27b86c5 Reviewed-by: David Schulz <david.schulz@qt.io>
* Use qbs.defaultBuildVariant to inform Qbs of the default build variantJake Petroules2017-11-171-1/+1
| | | | | | | | | | | | | Qt Creator always put its value for qbs.buildVariant in the config when building Qbs projects. That overwrote values applied by the multiplexing mechanism or by the project files, which is undesired. Instead, Qt Creator will now use the qbs.defaultBuildVariant property, which is provided for this reason. Task-number: QTCREATORBUG-19316 Change-Id: I923dfb6e083135b7c3ae6346af3ac639a4f02dbc Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* QbsProjectManager: Run updateAfterParse() also on add/remove fileChristian Kandeler2017-11-172-3/+8
| | | | | | | | | | | Adding and removing files via the project tree is essentially the same thing as doing it by editing a project file, except that no reparsing is necessary. Task-number: QTCREATORBUG-19292 Change-Id: Idb1bcf0e183f34d4de513f69f974e45ac91afeeb Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Valgrind: Fix cyclic connectOrgad Shaneh2017-11-173-7/+1
| | | | | | | | | | | | | | | | | Editing the widget triggers rawPathChanged(), which calls setValgrindExecutable, which emits valgrindExecutableChanged(), which calls setPath on the widget. No other path reaches any of these functions. This causes the cursor to jump to the end, so if you want to change 'valgrind' to '/usr/local/bin/valgrind' you have to jump back after each character. Removed the now unused signal. Change-Id: Iaf4e902fb9a42975e9ada6662b7a64e53fab5cad Reviewed-by: hjk <hjk@qt.io>
* Valgrind: Fix callgrind parsing with git versionOrgad Shaneh2017-11-171-1/+3
| | | | | | | | | Commit db860c7cdce8765f8c4ec28127860c8e97ba34ab added a format marker to the file. First line is now: `# callgrind format` Task-number: QTCREATORBUG-19004 Change-Id: I2f6ed81044fa0d675a02b9634d8ee8e3ea1da6e5 Reviewed-by: hjk <hjk@qt.io>
* Debugger: Do not create a new terminal when attachinghjk2017-11-163-4/+5
| | | | | | | | ... to a running application that already has one. Task-number: QTCREATORBUG-19302 Change-Id: Id83f840408c26f3db85dbe30dadac9949ce6b660 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Add isRemoteRunning() as isRunning() only apply to local processesFilipe Azevedo2017-11-162-0/+12
| | | | | Change-Id: I75d726cea160c557374051db3ba413d3dd1a41a2 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>