Commit Graph

34582 Commits

Author SHA1 Message Date
Nikolai Kosjar aa796a9fc0 CppTools: Add all diagnostic messages
...of type 'No such file or directory' to the CPlusPlus::Document. Only
the first one was added and as a result, the editor only wavely
underlined that one.

Add also diagnostic messages if it's not possible to get the file
contents.

Change-Id: I8389d8e6af9480ea6712759ce5e130e1dd8912f1
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
2014-03-10 13:42:43 +01:00
David Schulz 16e16dc405 CdbExt: Fix Dumping of a list of QStringLists.
Since Qt5 QStringList is a movable type.

Change-Id: I997ab9ef92646589bc150dcf0d0509084cdfd02d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2014-03-10 13:36:32 +01:00
Leena Miettinen f3b9dd5b13 QML JS: fix messages
Fix punctuation and capitalization in messages.

Change-Id: I0de61d8594917a95175e3453ef9343f0d9cd208f
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
2014-03-10 13:14:49 +01:00
jkobus b846840c52 Move more function into diffutils, fix calculateOriginalData.
Change-Id: Id7bbdbf7778d21cb9aa15148876db95e9228fab3
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
2014-03-10 13:01:29 +01:00
Ulf Hermann 16bfbceeba QmlProfiler: Allow filtering either JS or QML from the events view
As a lot of events show up as QML bindings and signals and as
JavaScript functions the events view can be hard to navigate. This
change allows the user to either filter out JavaScript events and make
it look like the old QML events view or filter out QML events and make
it look like the old V8 JavaScript view.

Change-Id: I9e0c1184da21263ae174f322b8fcd8ee5ca13f6d
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
2014-03-10 12:41:43 +01:00
Ulf Hermann 64af5c12e0 QmlProfiler: Deduplicate color selection and saturate colors some more
The original timeline colors are hard to see on certain devices. This
makes them stand out more from the background.

Change-Id: Icf6ef8a8ea360b7f47609f8673c4c6e22b091296
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
2014-03-10 12:10:39 +01:00
Ulf Hermann 998bb89739 QmlProfiler: Use crisper left/down arrows for the timeline
Before they were rather blurry. The new ones are uncompressed and
strictly black/transparent. Also the "smoothing" is rather detrimental
in this case, so it's switched off now.

Change-Id: I38fe0bf9e3420a2077b5535958053718981bce4f
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
2014-03-10 11:57:55 +01:00
Eike Ziller 0d511290f5 FormEditor: Make it possible to switch from source to form
before designer is fully initialized. The action actually doesn't depend
on designer being initialized, so it can be registered directly at start
up.

Task-number: QTCREATORBUG-11244
Change-Id: I275517befa4dc94714b94a6cd665eb0361a3c45b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2014-03-10 11:03:32 +01:00
Daniel Teske ca6efdcedc ProjectExplorer::New File Use addNewInformation also for context menu
So that the resourcenode can steal from it's parent

Change-Id: I97a21d94c0ddb0d217c48fd69dc808446763837b
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2014-03-10 10:45:11 +01:00
Orgad Shaneh 5bb72be900 Debugger: Print traceback on dumper exception
Change-Id: I652d31b111eab464bf3301968fe273d24f0dad11
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-03-10 10:05:02 +01:00
Christian Stenger 5377b1497f Tests: Fix for using non-developer-builds of Qt
Change-Id: I7204637c0c8dc145331d4097c62ab4fb962fe204
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-03-10 10:04:27 +01:00
Leena Miettinen f3d8f0916a Doc: Updated documentation for Beautifier
Change-Id: I3e32e93e41e3835f62884afab17f98fde95ce32c
Reviewed-by: Lorenz Haas <lykurg@gmail.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2014-03-10 09:56:51 +01:00
David Schulz 0f6846bdaf Debugger: Simplify the cdb output parsing in dumper test.
Change-Id: I5390e6514947002ddefcfe1fae36db5201749f1b
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2014-03-10 07:39:25 +01:00
hjk 0543ad2199 Debugger: Fix mixup of {hexa,}decimal in auto test
Change-Id: I447bf58458540acc8ff901967a190c9f42961a6b
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-03-08 00:02:43 +01:00
hjk 3a988262de Debugger: Speed up Qt version extraction
Change-Id: I20494f4cae410d430049b3a5e4ce397ac3917ddb
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-03-07 18:56:21 +01:00
hjk dbc474ef71 Debugger: Speed up Qt namespace extraction with GDB
Change-Id: Ic2a1296828d5aceb6c0aae0edbd165e3d0e86741
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-03-07 17:59:18 +01:00
David Kaspar 712d6df4ac Qnx: Fix for compilation error in c4717944f1c4de116e9074b7a38cd7ff29b1b16d
The QComboBox::setCurrentText() function is in Qt5 only.
Using equivalent QComboBox::setEditText() instead.

Change-Id: I5d45cc93bbfcaa7510c5192312c74f5f172f3a7d
Reviewed-by: David Kaspar <dkaspar@blackberry.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-03-07 17:50:50 +01:00
Leena Miettinen fc1e1d1728 BlackBerry: fix UI text and messages
Fix punctuation and capitalization in UI text and
messages.

Change-Id: Ie3beaeda820090ecec94832b773c2f29a7bd0d95
Reviewed-by: Mehdi Fekari <mfekari@blackberry.com>
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
2014-03-07 17:10:29 +01:00
hjk 944d0bfa8e Debugger: Show Qt version in a more readable way in autotests
Change-Id: I3983be6a5cb5ab85ae0f5d116f055d1c858809f5
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-03-07 16:32:34 +01:00
Leena Miettinen fef3af4154 Resource editor: fix capitalization of UI text
Change-Id: I3ff91a79b046d053d6cf0fbc3f016eeb5393809a
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2014-03-07 16:10:06 +01:00
Leena Miettinen 732bb7c2e4 Projects: fix punctuation of messages
Change-Id: I94ccfab2dbd689a9f9e8194c2647e2fe92620c49
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2014-03-07 16:09:47 +01:00
Daniel Teske 9b998d4206 QtVersionDialog: Tweak column resizing behavior
Task-number: QTCREATORBUG-11382
Change-Id: I8cfb94f1abc64d0a9306dc9408edff86c39d10c5
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2014-03-07 16:09:36 +01:00
Leena Miettinen 336a71fbee Android: fix capitalization and punctuation in UI text
Change-Id: I132e849264f4be6c5378ece9bbf95943d25b9f69
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2014-03-07 16:09:13 +01:00
Leena Miettinen b56fe96935 Beautifier: add punctuation to messages
Change-Id: I7cba7d2d88459c26af31d89a2fd3cd31b6fbe62d
Reviewed-by: Lorenz Haas <lykurg@gmail.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-03-07 16:05:15 +01:00
Tobias Hunger 02b3a79c5f VCS: Open diff/blame editors in other split
... if there are other splits that is.

Task-number: QTCREATORBUG-11623
Change-Id: Icb3b1c86c39d88e90916079e8ab347574ae9a361
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2014-03-07 16:02:14 +01:00
Tobias Hunger f6f8e56cf1 EditorManager: Add NoNewSplits to OpenEditorFlags
This is used together with OpenInOtherSplit to suppress creation
of a new split if none are currently in use.

Change-Id: Ied97dcd6a756518bcf8bbe1d815cb2df9b872bfc
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2014-03-07 15:58:02 +01:00
Tobias Hunger c9b6897e78 EditorManager: Add OpenEditorFlags to openEditorWithContents
This requires moving the activateEditor call into openEditorWithContents.

Remove that line elsewhere when editors are constructed. Keep it when
reusing an existing editor though.

Change-Id: I872f03e16fde42f3b8adec2cf2344b7cc495cd08
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2014-03-07 15:56:43 +01:00
Eike Ziller d52ee686d1 Save settings less aggressively.
Remove saving settings on auto-save, and only save settings when
switching away from projects mode, instead of any mode switch.

Change-Id: I3369b7f5ee785467d57c47e1a194a8ef989b98fb
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2014-03-07 15:52:04 +01:00
Leena Miettinen 4cc473c2e2 QML profiler: fix messages and UI text
Use English instead of Latin. Fix capitalization of JavaScript.

Change-Id: Ibd0e7122e4270554aad7beaa5f8cc727a208ad93
Reviewed-by: Ulf Hermann <ulf.hermann@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
2014-03-07 15:43:43 +01:00
Ulf Hermann 72d1850a0d QmlProfiler: Cache file lookup when loading events
The file lookup is the single most expensive operation when loading
events from a profiled application, in particular because so far we're
doing one lookup per source location, many of which are actually in the
same files. Caching those lookups for a short time dramatically
increases performance.

Change-Id: Iaa47327aca3f34cbad194757d3ba152205788682
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
2014-03-07 15:43:07 +01:00
hjk 6975be4f54 Debugger: Don't memoize guessed Qt versions too quickly
There might be better data after more shared objects are loaded.

Change-Id: Ib81226b4cafe0d067d62087e320413f8d070bee8
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-03-07 14:24:49 +01:00
David Kaspar aeddc56ebe Qnx: Set Author From Debug Token dialog improved
"Set Author From Debug Token" dialog list debug tokens
from Signing manager too.

Fixing BB Device Config Widget to display debug token that is not
registered in Keys option dialog yet.

Change-Id: Ib5775d08e3ce129bee0d03de6cab992a90220fd3
Reviewed-by: Tobias Nätterlund <tobias.naetterlund@kdab.com>
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
2014-03-07 14:20:22 +01:00
David Kaspar b39e52e428 Qnx: Adding BlackBerryPotentialKit
Kit Selection wizard page has a new section which leads to BlackBerry
Setup option page in case there is no valid and active BlackBerry API Level
available. To minimize impact on non-BlackBerry developers, the section
does not appear when there is no BlackBerry API Level registered.

Change-Id: I9d853e1827481a3673da0ab28dfe6434f598f0a1
Reviewed-by: Mehdi Fekari <mfekari@blackberry.com>
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2014-03-07 14:17:23 +01:00
hjk 6b358cbe37 Android: Copy less configuration data
Change-Id: I8f20addd45fae422f723047689d98e9d903cce6b
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2014-03-07 14:05:39 +01:00
Robert Loehning d007c50045 Squish: Reworked tst_qml_indent
- updated line selected for changed template
- added xfail for indented empty lines
- using automatic removal of blanks when saving
- made global variable local

Change-Id: I87205c69652f236767d6551b96bfd7960f39a02e
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2014-03-07 13:54:01 +01:00
Christian Stenger 8f61967587 Squish: Fix openDocument() for new qrc approach
Change-Id: Ib0809955339b97de7000d015830e4d13c3d66b62
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2014-03-07 13:50:45 +01:00
Eike Ziller 27a21ef21f README: WinRT support is disabled when compiling with Qt4
Change-Id: Iff0e33f4a1d28fe8b806f16d161a3e7fa8316e79
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2014-03-07 13:46:31 +01:00
Nikolai Kosjar 5031c49cfe Clang: Fix crash if updating pch info
Function-local variable 'updateParams' was referenced after destruction.

Change-Id: Iac9663ba4ca9c3a603bc530f57f419b734782694
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
2014-03-07 13:19:35 +01:00
hjk b7ebfd274f Debugger: Move some common bridge code to dumper base
Change-Id: I9fd988c84bff5e02bc45478994f27a7bddb3358b
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-03-07 13:14:13 +01:00
Eike Ziller 12b25ebd2e TextEditors: remove unused variables
Change-Id: Id0d2115c7d8819d35dc626d5605650f7b450ee87
Reviewed-by: David Schulz <david.schulz@digia.com>
2014-03-07 12:53:13 +01:00
hjk 8931a14afe Debugger: Select topmost frame with usable data also with LLDB
Task-number: QTCREATORBUG-11597
Change-Id: I5d95c9172e90b82f5671427283cf46e924456c4c
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2014-03-07 12:49:31 +01:00
Leena Miettinen fed6b8bdd0 Core: add punctuation to messages
Change-Id: Ied2569a5cb09ff44335ad7b498b869e9f0dbb91e
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2014-03-07 12:42:42 +01:00
Leena Miettinen 5a02f4ed20 Qbs: fix punctuation in messages
And capitalization of product name.

Change-Id: Ia021a389dfd3e82a1b09a6e56ba721707013d64a
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
2014-03-07 12:41:56 +01:00
Leena Miettinen 13adf7b198 WinRT: fix capitalization of UI text
Change-Id: I9368ef62a56d0bdb981c154b5d59b847c0f00558
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
2014-03-07 12:41:40 +01:00
hjk 64fabd7b6a Debugger: Adjust QFileInfo dumper to offset test findings
Change-Id: I769be481a2c7e90bfcd6387267b2828c66a4b915
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-03-07 12:40:14 +01:00
David Schulz 914f978da2 Debugger: Fix dumper test when inferior runs under wow64.
When the inferior runs under wow64, DebugBreak throws a wow64 breakpoint.
These has to be ignored because they are also thrown on every 32 bit library
load. To make sure the debugger breaks DebugBreak is replaced by a null
pointer dereference.

Change-Id: I0c0985558da1c355c1fc62a2fc5f736e54e843ce
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2014-03-07 10:22:18 +01:00
Lorenz Haas 73ec0c5db4 Beautifier: Add constant for a tool's display name
Change-Id: I9cc50ad06d7515f5fc82394cbfb71e7327e7d9e1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: David Schulz <david.schulz@digia.com>
2014-03-07 06:51:54 +01:00
Orgad Shaneh 0b7312e8bc ProjectExplorer: Fix Qt4 compilation
Change-Id: Id423d2ac16dadbb867117baf0007befeb6c2537b
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2014-03-06 21:27:28 +01:00
Orgad Shaneh 4ce2415c76 QmlDesigner: Remove wrong semicolon
Change-Id: I4013408f5b2376e229a17c03656a525d94affb32
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
2014-03-06 20:03:29 +01:00
Marco Bubke 0853ffadc4 Change the priority for qml wizard templates
The control templates should be come first.

Change-Id: Ieb5f0b22f47c0ec2113c4722d96e878d167c8f3e
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
2014-03-06 18:58:13 +01:00