summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* FakeVim: Use QTextDocument::availableUndoSteps() for undo/redohluk2013-08-121-54/+40
| | | | | | | | | | | | Partially reverts commit b9cc16e405378a927cf013ef0b89c964532aa03a. Using QTextDocument::revision() to keep track which undo/redo command should be used next doesn't help much and it's more difficult to use than QTextDocument::availableUndoSteps(). Task-number: QTCREATORBUG-9784 Change-Id: I656e1e964477de0f387c80b9384a32e0d8dab39f Reviewed-by: hjk <hjk121@nokiamail.com>
* Fix id of diff editor according to change b772001cjkobus2013-08-124-46/+8
| | | | | | | | Task-number: QTCREATORBUG-9960 Change-Id: I233b697254e863b7c4389c0041104b82e97bd340 Reviewed-by: hjk <hjk121@nokiamail.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* FakeVim: Check first character on line with 'F' and 'T' commandshluk2013-08-122-25/+28
| | | | | Change-Id: Icd5c3ca62da0fbff35e2281e04b1fa37a304f64c Reviewed-by: hjk <hjk121@nokiamail.com>
* FakeVim: Add another key binding for vsplitCarl Simonson2013-08-121-0/+2
| | | | | | | | | Vim allows for spliting veritcally by typing <C-W><C-V>. Add this keybinding. Change-Id: I7db5a8cd06eea05b011655ec326b3795f0896ed9 Reviewed-by: Lukas Holecek <hluk@email.cz> Reviewed-by: hjk <hjk121@nokiamail.com>
* VCS: Use correct output styleOrgad Shaneh2013-08-1211-28/+29
| | | | | Change-Id: I95ea8078ae53e7339213765fbb8a79bff33f899c Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* VCS: Emit repositoryChanged on some missed casesOrgad Shaneh2013-08-121-11/+11
| | | | | | | | | * If command fails - it might fail due to a conflict. That doesn't mean the repository hasn't changed. * On runVcs Change-Id: I0acd33a330c90d7c4f0df1f113ef2852eaf0ad03 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* Analyzer: Cleanup settings handlinghjk2013-08-1232-629/+279
| | | | | | | More flexible, less over-engineered this way. Change-Id: I3e224a6be85d3a187056d79fd506e8cf6a32c8a9 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* Android: Clean up before packaging, be a little bit more careful.Daniel Teske2013-08-122-3/+9
| | | | | | | | | | | | | The android/libs folder contains both the library from the project and libraries from qt. This adds a small check before removing libQt5*.so, that checks if that file is in qt's lib folder. That fixes the bug below, but e.g. naming your project Qt5Test won't work. Long term we'll need to overhaul the packaging and make that more robust. Task-number: QTCREATORBUG-9895 Change-Id: I48f735114ee95668a862549cfe1537aeab968dfb Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
* Debugger: Disable # characters in watched expressionhjk2013-08-101-1/+5
| | | | | | | They are not useful and break the dumper protocol. Change-Id: Ice7e21575e371ee3f8bb8cfb80b73aed47542932 Reviewed-by: hjk <hjk121@nokiamail.com>
* QmlProfiler: reworkedChristiaan Janssen2013-08-0962-3136/+7923
| | | | | Change-Id: I66a236a024d76e7bef6edfb91ae30b5dd098b76b Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* RemoteLinux: Fix typos in tar packaging step.Christian Kandeler2013-08-091-1/+1
| | | | | Change-Id: Ic598eba24da514d56e5e16c443788bd17a670ba5 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* Qbs: Better support for consoleApplicationsTobias Hunger2013-08-092-3/+6
| | | | | Change-Id: I673196c668b53a9b53065438ed860048eb1307ca Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* UiCodemodel support for qbsTobias Hunger2013-08-091-1/+12
| | | | | Change-Id: I0c83f3bb5c1c127169d695f42c169f4e28d1b06d Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* Fix qtchooser resolving on fromMapOrgad Shaneh2013-08-091-1/+1
| | | | | | | Task-number: QTCREATORBUG-9841 Change-Id: I5b41bc897fd0249887f0ab4d55383cd5c7545b22 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* Qt4Project: Only complain about missing subdirs from the exact parseDaniel Teske2013-08-092-6/+8
| | | | | | | | Task-number: QTCREATORBUG-8941 Change-Id: Ie843529e42ede29d607932d5fbd9e92da2fd8082 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* Update qbs submodule.Christian Kandeler2013-08-091-0/+0
| | | | | Change-Id: I178d4a50d03ca6ed53a945140f045a721286d2ba Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* Generic project manager: assume C++11 for cxxVersion.Erik Verbruggen2013-08-091-0/+1
| | | | | Change-Id: I40bd4b73d93eaf71d1dfbf7c9c1572f0cb796bd9 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* ProjectExplorer: Remove references to Qt4ProjectManager namespaceTobias Hunger2013-08-092-2/+2
| | | | | Change-Id: I384110b5aa91aec903af3b4bb2a158e1f0d4c918 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* QmlJS: Fix grammar fileTobias Hunger2013-08-091-1/+1
| | | | | | | | Do not reintroduce clang warnings when regenerating code from the grammar file. Change-Id: Ic065191b93e68d88792fedac9784e4fbeff08d6f Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* QmlJSParser: Fix build issue with clangTobias Hunger2013-08-091-1/+1
| | | | | | | Erik promised to fix this upstream. Change-Id: If78e7eee20188d3be77ca9e7e53714ea5740d4d8 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* CustomParser: Improve strange operator != implementationTobias Hunger2013-08-092-12/+5
| | | | | | Change-Id: I42c195004a9eca9f03cf34bd274f473ed87c580e Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* TextEditorActionHandler: Simplify codeDaniel Teske2013-08-092-328/+233
| | | | | | Change-Id: I44f1859b6d91e20a2a15146c6587e4a51c70aa90 Reviewed-by: David Schulz <david.schulz@digia.com> Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* Qnx: Compile fixTobias Hunger2013-08-084-25/+16
| | | | | Change-Id: I77e6182a6b908857d7bc382582915b88cc2e78e2 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* Analyzer: Fix recent regression in aspect creationhjk2013-08-081-1/+1
| | | | | | | Introduced in 15caea1d260273070aaa399c4643da5e68be886f. Change-Id: I04da456928aa2bbf30467770d5a9da35c0e87d9f Reviewed-by: hjk <hjk121@nokiamail.com>
* ProjectExplorer: Add missing namespace around CustomParserConfigDialog.Christian Kandeler2013-08-083-6/+16
| | | | | | | | This also fixes compilation with namespaced Qt. Change-Id: I74c15a97c81cc414d1d850cb0dabf72014c7ff6b Reviewed-by: Tobias Hunger <tobias.hunger@digia.com> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Analyzer: Introduce AnalzyerActionhjk2013-08-0814-172/+190
| | | | | | | This wraps the menu related aspects of an IAnalyzerTool. Change-Id: I065cb5f269a40af2137f434a7cdf915bd9a76839 Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
* Qnx: Device auto-detection in Add BlackBerry Device wizardDavid Kaspar2013-08-089-116/+428
| | | | | | | | | | | | | | | BlackBerryDeviceConfigurationWizardSetupPage auto-detects devices that are reachable from a host machine and allows an user to choose one of them to pre-fill the fields on the page. DeviceListDectector class added for auto-detecting devices. BlackBerryNdkProcess::resolveNdkToolPath() method added to allow resolve cmd-line tools fill path. Change-Id: I58287b40a5f20662fc09665c3a3c492294bb57f3 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com> Reviewed-by: David Kaspar <dkaspar@blackberry.com>
* TargetSetupPage: Prefer the default kit for the active targetDaniel Teske2013-08-081-2/+9
| | | | | Change-Id: Ia57685e7ffc5f9d45777731d24e5c8d218a4d5a5 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* QMake: Also check for QtChooser in DesktopQtVersion::fromMapDaniel Teske2013-08-081-0/+9
| | | | | | | | | | | | This is only done for DesktopQtVersions, as I believe that only those are affected by this. Fixes more issues described in Task-number: QTCREATORBUG-9841 Change-Id: Ifb7a797e71c812daef5bc5139bc339fb11423c15 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* QmlProfiler: Use real type instead of base classhjk2013-08-082-6/+5
| | | | | Change-Id: I854834b2236a99af264d14a3d6022bfa6e0a2b9b Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
* CustomParser: Compile fix with namespaced Qthjk2013-08-081-3/+3
| | | | | Change-Id: I1e84ff126e50052cd1990f33a7b85d19fc4f3b13 Reviewed-by: hjk <hjk121@nokiamail.com>
* Fix Windows build.Christian Kandeler2013-08-081-4/+4
| | | | | | | Was broken by b055c0e50652219959352eda32d6333205ef24f2. Change-Id: I3c39dbfcf5ddd72e15fc97d3d4df9073824dc391 Reviewed-by: hjk <hjk121@nokiamail.com>
* Analyzer: Re-introduce ValgrindTool levelhjk2013-08-0810-149/+245
| | | | | | | | | This partially reverts 1fb755bb42. It turns out that this is a better place to have the valgrind specific startLocal/startRemote logic shared by the valgrind tools. Change-Id: I1638b6d7665db81227e0a1a9aeef1ce944449391 Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
* Analyzer: Handle createProjectSettings outside IAnalyzerToolhjk2013-08-0810-29/+35
| | | | | | | Less indirection. Change-Id: If702a0a44c1fc96510fd1c5411fda51660dde10b Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
* Git: Fix possible core dumpTobias Hunger2013-08-081-0/+1
| | | | | Change-Id: Ieb822c8810e8943d5397e6c64188690e481dd0f9 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* Use install path instead of source for android deploymentDavid McFarland2013-08-081-1/+1
| | | | | Change-Id: Ibb63b6077054b75566c6daac722f32f106b5049b Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* Device support: Rename DeviceProcess to DeviceProcessItem.Christian Kandeler2013-08-0812-41/+41
| | | | | | | We want to introduce a new class that has more right to that name. Change-Id: I9535632e10872a97a8555e885a80c383bc5dcd2b Reviewed-by: hjk <hjk121@nokiamail.com>
* CppTools: Do not garbage collect files in the working copyNikolai Kosjar2013-08-084-4/+59
| | | | | | | | | | ...except the configuration file if no projects are open. For this case there is no need to keep the configuration file around. Task-number: QTCREATORBUG-9829 Change-Id: I51b01b30c17cbc1ced491ef2c47c338dae6ed983 Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
* CppTools: Do not call GC() more than necessaryNikolai Kosjar2013-08-085-5/+52
| | | | | | | | | | | | | | | | | Currently GC() is invoked if - 5 CppEditors were closed or the last CppEditor was closed - a project is about to be removed - a session is about to be unloaded Thus, for the following use cases, too much GC() calls (can) happen: - File > Close All - Close All Projects and Editors - Changing the session Fixed by introducing a timer. Change-Id: I9c984d9de735fc8c6ee77a518e9fb5b63dba5881 Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
* Custom Error ParserAndre Hartmann2013-08-0810-7/+952
| | | | | | | | | | | | | | | | | | | | | | | Allow setting the following items from outside: * capture regular expression, * file name, line number and message capture position and * whether to parse stdout, stderr or both The parser functions can be unit-tested by running (Debug build of Qt Creator needed): qtcreator -test ProjectExplorer,testCustomOutputParsers The data is passed to the custom parser in CustomToolChain::outputParser(). The parser information is stored in toolchains.xml together with the custom toolchain. A configuration widget is provided to set up and test the regular expression against a sample error message. Change-Id: I6191df3c44432943e0aeb16c48d8e79d35845d2e Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* SSH: Remove questionable warning in connection manager.Christian Kandeler2013-08-081-4/+1
| | | | | | | | | | | | If there are still open channels in a connection being released, that is not necessarily a mistake: The channels could already be in the closing state, and it would be unreasonable for us to expect API clients to always wait for confirmation before releasing the connection, as this can complicate code quite a bit, turning a synchronous operation into an asynchronous one. Change-Id: If8c604c9ee1294728e7947c8d5c8130d6e704b49 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* SynchronousProcess: Replace last QByteArrays with QStringsOrgad Shaneh2013-08-082-35/+37
| | | | | | | | | Matching \n in a QByteArray is wrong. For example, it detects Ċ (U+010A) and ਛ (U+0A1B) as end-of-line Change-Id: I9c03d0b19da3d328e706ff2c89f09713be870f34 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* Git: Follow renames on logOrgad Shaneh2013-08-081-1/+1
| | | | | | | | | | Reverted because a dependent commit broke compilation Reviewed-by: Tobias Hunger <tobias.hunger@digia.com> (cherry picked from commit a53cc559be610b8ceff7dd9670c3b7fc04bfad9f) Change-Id: I8de3dbeca7eed3815eb5f0843eba6a86d371675e Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* Fix compile error in AnalyzerManagerNikolai Kosjar2013-08-081-1/+1
| | | | | Change-Id: Ic02f7f68a1edfc8e85afa4e120eea53aa9c1a49b Reviewed-by: David Schulz <david.schulz@digia.com>
* Analyzer: Remove one level of indirection in AnalyzerManagerhjk2013-08-072-23/+19
| | | | | Change-Id: Ieb832e6aba1afbfa0d4f55ef12cad3f8333334b3 Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
* VCS: Use a single filename for logOrgad Shaneh2013-08-0714-85/+88
| | | | | | | | | The list always contains a single entry (or none) anyway Take 2. This time it actually compiles ;-) Change-Id: I71a9822360a9b569ba79afa0f575e27918bb2e03 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* Locator: Better sorting of command entries.Andre Hartmann2013-08-071-4/+8
| | | | | | | For the input "git am" is "git amend" a better match than "git blame". Change-Id: Id0cf91b62dac8b6c54f6de7c0698a375765e936d Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* EditorManager: Make closeEditor publicOrgad Shaneh2013-08-0710-25/+15
| | | | | | | | And use it where appropriate Change-Id: I0f37b8aada6eaa9be6743724b91a59173a01cb0c Reviewed-by: hjk <hjk121@nokiamail.com> Reviewed-by: David Schulz <david.schulz@digia.com>
* FakeVim: Record jumps on paragraph and bracket movementhluk2013-08-071-0/+4
| | | | | Change-Id: I7e1bfad127a11118606efbf603bbf8a393ec00b0 Reviewed-by: hjk <hjk121@nokiamail.com>
* Revert "Git: Use a single filename for log"Orgad Shaneh2013-08-065-21/+23
| | | | | | | | | Breaks compilation This reverts commit a05ea7113368a807057410b84d7ef21409d818af Change-Id: I713f06a1fe1ff24f4721cda082fb732dc3f5c270 Reviewed-by: Orgad Shaneh <orgads@gmail.com>