aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Debugger: Add missing #includehjk2015-09-281-0/+1
| | | | | | | Needed in some configurations after 97e9f11387. Change-Id: I905021575220171ed1d06dfa59873660f695e53f Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* ProjectExplorer: Fix compiling windebuginterface.David Schulz2015-09-281-1/+1
| | | | | | | | Broken by 283b2f1c1. Change-Id: I114de32b1f9fd6487201e01b769d653d5d8ab551 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Debugger: Allow LLDB-MI to be used as debuggerhjk2015-09-281-3/+8
| | | | | | | | | | That's LLDB's "compatibility" mode faking a GDB 7.4 interface. This is not directly needed given Qt Creator's native LLDB support but might be a useful fallback in some setups. Change-Id: Ia2c1c731de46b8c668bb0c822f1438fe203aa9c5 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* CMake: Indentation and matching brace insertion for the CMake editorJan Dalheimer2015-09-267-4/+404
| | | | | | | | | Adds the following improvements to the CMake editor: * Indentation support (both through Ctrl+I and when pressing enter) * Insertion of matching paranthesis and quotes (pressing '(' inserts ')') Change-Id: If9a63b08b3e0897989e4d8ac69e3acc072b0b825 Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
* Doc: Qt Quick Designer features are no longer commercial onlyLeena Miettinen2015-09-2510-92/+19
| | | | | Change-Id: Ic908670b3f8be7491e2639b3a2d524382580d7e5 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
* Android: Support non distro installations of JDKDaniel Teske2015-09-251-1/+5
| | | | | | | | | | The android tools expect to find java and javac in the PATH. Which is the case on using the distro java, but isn't if the user installs Oracle's binary jdk distribution. Change-Id: Ib5f5448724f00b000a969c27d5aad6a420bfc1eb Task-number: QTCREATORBUG-14155 Reviewed-by: BogDan Vatra <bogdan@kdab.com>
* Android: Be explicit on whether gdbserver should be added to the packageDaniel Teske2015-09-251-0/+7
| | | | | | Change-Id: I2a03e243678263441d64884dbd5245b8ec2ba9c7 Task-number: QTCREATORBUG-13035 Reviewed-by: BogDan Vatra <bogdan@kdab.com>
* WinDebugInterface: Flush messages on being stoppedDaniel Teske2015-09-251-13/+14
| | | | | | | I found this while investigating a bug report. Change-Id: Ic756dfc4b1dfe1b1a647d5b10441391c97046176 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Android: Change pulling of app_process binary to not use readLinkDaniel Teske2015-09-252-26/+21
| | | | | | | | | | | | | | | | | | | | As apparently Samsung devices don't have it. The new algorithm is: - If it is a 64 bit device - Either pull /system/bin/app_process64 (64bit process) - or pull /system/bin/app_process32 (32bit process) - If it is a 32 bit device - First try /system/bin/app_process32 - If that doesn't exist try /system/bin/app_process The old code did a symlink resolution on one of app_process[32|64|], but I believe the symlink resolution was only needed for a symlink from app_process to app_process32, which is covered by this code. Change-Id: Iedeeb247c3059931e1ddf6d01e8b2aab13156470 Task-number: QTCREATORBUG-15006 Reviewed-by: BogDan Vatra <bogdan@kdab.com> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
* QmlDesigner: QT_NO_CAST_FROM_ASCIIAlessandro Portale2015-09-253-5/+4
| | | | | | | No need to be special in this regard. Change-Id: If84ca4c84c1972171ffdc9ee25e426c454c39e6e Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
* BaseQtVersion: m_qmakeCommand doesn't need to be mutableDaniel Teske2015-09-251-1/+1
| | | | | | | | Seems to have been the case since forever, but I don't think this was ever necessary. Change-Id: Ieaca8d239ad5d0528d45597f6d1b2a437b422fd0 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Merge remote-tracking branch 'origin/3.5'Eike Ziller2015-09-2517-45/+164
|\ | | | | | | Change-Id: I889b93611d1762121548fb71d1d3493e4adba313
| * Debugger: Disable CLI use of gdbbridge.pyhjk2015-09-251-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | The detection seems to go wrong in some cases on RHEL which are not reproducible locally. Since the feature is not important for Qt Creator's own use, disabling is safer than attempting to guess better. Change-Id: I95fd56985d61b604a285e7573f8775b902bcc68c Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com> Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
| * ResourceNodes: Fix inverted check in renamePrefixDaniel Teske2015-09-241-1/+1
| | | | | | | | | | | | | | | | The inversion happened in ea2bb656cd804ed3797012da637a5c71b1a13e5a Change-Id: I999fc46be00e60b91a8790053c585e95fbcb7d17 Task-number: QTCREATORBUG-15099 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
| * Debugger: Reduce scope of usage of Python's importlib modulehjk2015-09-241-2/+2
| | | | | | | | | | | | | | | | | | | | The module doesn't exist in Python 2.6, so we can't use it unconditionally if 2.6 is to be supported again. Task-number: QTCREATORBUG-15076 Change-Id: Ic91cdf451ce846d892cd914bf850a4fd4b18c488 (cherry picked from commit a7dd2ed4ce0f88eb548dfc1dbb6eb7c5d5c7fd8d) Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
| * Changelog: Add 2 entriesOrgad Shaneh2015-09-241-0/+3
| | | | | | | | | | Change-Id: I2953d3ca1dc7a3d7fe964e557c46047eaf50a179 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
| * CppTools: Add a test for ObjC not replacing dot with arrowOrgad Shaneh2015-09-231-0/+10
| | | | | | | | | | | | Task-number: QTCREATORBUG-14583 Change-Id: Icffa9039215a841e200f20b83cda37d782b94e9a Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
| * CppTools: Support ObjC in member access operator testsOrgad Shaneh2015-09-231-3/+18
| | | | | | | | | | | | | | Actual test is added in a follow-up commit. Change-Id: I645d1e50d4ac9d281e31a0375f64fea849bf5e25 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
| * Android: Fix debugger startup with recent Android SDKhjk2015-09-232-3/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | Android SDK Tools 24.x ship an adb that requires in the 'adb shell' command an additional level of quotes for parameters with spaces compared to previous versions. That broke the passing of the gdbserver start command and consequently debugger startup. Task-number: QTCREATORBUG-15032 Change-Id: I442355821641d4c6a632b50d1065c442736711aa Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com> Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
| * Change logEike Ziller2015-09-231-0/+56
| | | | | | | | | | Change-Id: I4d6e8f65bb278cff8d63d07e1e354d98c18e3d0e Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
| * Journald: Do not emit signals for kernel messagesTobias Hunger2015-09-221-1/+4
| | | | | | | | | | | | | | | | | | | | | | Those have no _PID set, which we treated as 0. This is also the PID we set when an application is finished. This leads to journald messages showing up in the application output *after* the application was finished. Change-Id: I980199740a85c4e68221399eceb543affa12387f Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com> Reviewed-by: Alexander Görtz <alexander.goertz@tu-dortmund.de>
| * Squish: Stabilize tst_cli_output_consoleRobert Loehning2015-09-211-1/+7
| | | | | | | | | | | | | | | | Skip frequently failing qDebug output from Qt 5.4.1 MinGW. Change-Id: I20d0fed184e3935484179e9509c902eb94e48ead Task-number: QTCREATORBUG-15067 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
| * Squish: Fix tst_default_settingsRobert Loehning2015-09-212-19/+12
| | | | | | | | | | Change-Id: I136d93e7b698dcda5388bc24b9bcaaae482fb861 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
| * Doc: update info about Beautifier optionsLeena Miettinen2015-09-211-5/+6
| | | | | | | | | | | | | | | | | | Uncrustify now also provides the "Format Selected Text" command. Change-Id: Ifb30fc0b0b706cc8d06d24727556d0e98b863098 Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Lorenz Haas <lykurg@gmail.com>
| * Analyzer: Only load a random first tool if none is selected alreadyUlf Hermann2015-09-181-1/+1
| | | | | | | | | | | | Change-Id: Ia0ece94a8ef8d8f86d08400594744552c7a77242 Reviewed-by: Tarja Sundqvist <tarja.sundqvist@theqtcompany.com> Reviewed-by: hjk <hjk@theqtcompany.com>
| * QmlProfiler: Load notes after timeline models are finishedUlf Hermann2015-09-171-2/+3
| | | | | | | | | | | | | | | | Otherwise the notes cannot be associated with timeline events. Change-Id: I9a2f039fddd36c9a6bbaca3c0864c75e33cc479d Task-number: QTCREATORBUG-15077 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
| * qmljs: set cpp object to the latest version exportedMarco Benelli2015-09-171-1/+5
| | | | | | | | | | | | | | | | | | m_objectsByQualifiedName did not prefer the latest meta object revision, as consequence at type exported both anonymously and with a name, would pick up one version randomly. Change-Id: I91baf2729d0a0bda61205a62d9a38d04b4da058e Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
| * Added newer QtMultimedia version to bundle.Marco Benelli2015-09-171-0/+4
| | | | | | | | | | Change-Id: I553684b6a45a7112ea630997c440237d3e40459f Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
| * VCS: Fix encoding for editor-related commandsOrgad Shaneh2015-09-171-0/+2
| | | | | | | | | | | | | | | | For example Git Log. Change-Id: I1d838f86dc70f000e66443eece60adc07310c8b8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
| * CppTools: Do not read language features from document in completerOrgad Shaneh2015-09-161-4/+0
| | | | | | | | | | | | | | | | The correct value is set on construction. The document knows *less*. Task-number: QTCREATORBUG-14583 Change-Id: I60973047e14ce0664c49e802124b51aa23444835 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* | Add an option "Stop before build" for windows usersDaniel Teske2015-09-2412-5/+285
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On windows, users frequently get compile errors because the application binaries/libraries are locked while the application is still running. A good solution would require actually knowing which builds output files that are used by the currently running applications, and would distinguish between locally running applications and remote applications. This solution in this patch is far simpler, it offers a option to stop all runcontrols or stop all runcontrols from the project, that the user wants to build. Those options don't take into account whether stopping those applications is actually needed and is global. Change-Id: I75b0b6c450898bb29c1e4f9c18c3199aeed696fe Task-number: QTCREATORBUG-13188 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* | Tools: Rewrite icons exporter shell script in pythonAlessandro Portale2015-09-241-28/+39
| | | | | | | | | | | | | | | | | | | | | | | | After updating msysgit from 1.x to 2.x, the shell script stopped working on Windows. Therefore I am rewriting this in Python, so that it can again be run in the msysgit shell and additionally in the normal Windows command line. Tested with Python 2.7 and 3.4. Change-Id: Iead0ac84f78c4f6f0b721f0d40075925b616b038 Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
* | IWizardFactory: Remove unneeded qualificationOrgad Shaneh2015-09-241-1/+1
| | | | | | | | | | Change-Id: I1d5c12617c9bd465925e840c5c7fb7762b16d796 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* | ICore: Consistently use NewItemDialog to refer to File>New dialogTobias Hunger2015-09-243-7/+7
| | | | | | | | | | Change-Id: I28fba1e7cca3f9885d14c6e58d693046a4c0ea33 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* | CppTools: Fix comparing size for QTC_CPP_FILE_SIZE_LIMIT_MBNikolai Kosjar2015-09-241-1/+1
| | | | | | | | | | Change-Id: I7729fe944e38726d5c4692f6013e60b3f4fd8c26 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* | Debugger: Reduce scope of usage of Python's importlib modulehjk2015-09-241-2/+2
| | | | | | | | | | | | | | | | | | The module doesn't exist in Python 2.6, so we can't use it unconditionally if 2.6 is to be supported again. Task-number: QTCREATORBUG-15076 Change-Id: Ic91cdf451ce846d892cd914bf850a4fd4b18c488 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* | ProjectExplorer: Fix compile using Qt5.4.0 on WinChristian Stenger2015-09-241-0/+4
| | | | | | | | | | | | | | Broke with a8b6f30c17721d8c9621d52d7a332be404b9f7f3 Change-Id: Ie713f18189603b60296caac1c5a087691ed0dc18 Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
* | make fixnavi recognize \example as an alias for \pageOswald Buddenhagen2015-09-231-6/+9
| | | | | | | | | | | | | | examples are just pages as far as the markup is concerned. Change-Id: I1ed2908f6f818e7d15f3514795f3d13d9b15875a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* | Clang: Set diagnostic colors for text editor scrollbarMarco Bubke2015-09-234-4/+16
| | | | | | | | | | | | | | | | The colors are different from issus colors to give the user a better impression. Change-Id: I0f9bdae8d96434512851460d4eef05e94280ee8e Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
* | Clang: Refactor icon setting in ClangTextMarkMarco Bubke2015-09-232-10/+17
| | | | | | | | | | Change-Id: Ie0c2185d83d3b8344c2f88467236c1eac3b07a6b Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
* | Clang: Don't show warnings for missing prototypes in C++Marco Bubke2015-09-231-4/+8
| | | | | | | | | | Change-Id: I895ec7424e04d1f0d465f008ee4a5b5ff76a4906 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* | TextEditor: Only use the last mouse position when updating linksThorbjørn Lindeijer2015-09-231-19/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixes building up of sluggishness when hovering text while keeping Ctrl pressed. To make sure link clicks are handled correctly, an immediate update is forced in case of mouse press. Task-number: QTCREATORBUG-12573 Task-number: QTCREATORBUG-9008 Change-Id: Ieb85d9f2a1e82167dd9a9245e4bc48766d71ae93 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* | Wizards: Use Qt5 style connectTobias Hunger2015-09-2313-33/+23
| | | | | | | | | | | | | | | | ... and do cleanups that are enabled by that change (e.g. remove signal/slot macros) Change-Id: I70c09ceb255398865c2b6fabf35ade8557116a08 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* | Utils::Wizard: Move hack out of the base classTobias Hunger2015-09-234-14/+3
| | | | | | | | | | | | | | Implement it instead where it is needed. Change-Id: If7f76bcfa82705936b555a5ebfc221978c70e106 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* | IWizardFactory: Shrink class, remove some useless codeTobias Hunger2015-09-231-6/+4
| | | | | | | | | | Change-Id: I612cf1d2bc7ea215c49a751da9d15e0508d0b34d Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* | Permit the use of the QML debugger on non JS/QML filesJean Gressmann2015-09-232-7/+17
| | | | | | | | | | Change-Id: I1574f553c937bd4759b20ca5f0d22582087800cb Reviewed-by: hjk <hjk@theqtcompany.com>
* | CppTools: SwitchHeaderSource file name case sensitivityCristian Adam2015-09-231-5/+10
| | | | | | | | | | | | | | | | Make sure that on Windows the corresponding header /source file is searched using case insensitive comparisons. Change-Id: I66b06cd8a7c46b78e8ff24e11803287630f3914b Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* | Clang: Do not re-add files after QFileSystemWatcher::fileChanged()Nikolai Kosjar2015-09-231-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | It is pointless and will generate error messages like clangbackend.stderr: QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory for renamed or removed files. Change-Id: I3ea14cc5f38526960d52ae7b41a270ef620a929c Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
* | ICore: Don't split context in contextChanged signalEike Ziller2015-09-234-12/+5
| | | | | | | | | | | | | | | | This way the order of the context doesn't get lost between context from the focus widget and additional contexts Change-Id: I371c411a5d9c9f31ae1f8631a6ede4eda100b0c5 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* | C++: Highlight multi-line raw string literalsNikolai Kosjar2015-09-233-3/+44
| | | | | | | | | | | | | | Task-number: QTCREATORBUG-13094 Change-Id: I4e6b8c202677f4c1cd4df95d59130ba8379e72fe Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com> Reviewed-by: Orgad Shaneh <orgads@gmail.com>