Commit Graph

41787 Commits

Author SHA1 Message Date
Tobias Hunger
f36e79cfa2 QtQuick*Wizards: Do never show an empty version dropdown
Always list all minimum Qt version options and pick the lowest by
default.

The wizard will be listed with no platform set and needs to do
something then. Before it did show an empty combobox and behaved
oddly from that point on when no kit with a Qt >= 5.3 was found.

Now it lists all possible versions and offers to set up kits for
you via the kits page when no matching kit is available.

Change-Id: I978268a2b8f1dfcfc8640460d905652abe91f1ae
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-07-09 09:18:18 +00:00
Tobias Hunger
fc7ce7f0c8 JsonFieldPage: Be more paranoid with the index of ComboBoxes
This avoids a combobox being shown without any selection. This has
the side-effect that QTCREATORBUG-14699 can no longer get triggered.

Task-number: QTCREATORBUG-14699
Change-Id: I98f5ae503d29370ad46c6620238bc2815c024747
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-07-09 09:17:45 +00:00
Eike Ziller
554700e073 Remove unused and outdated script
Change-Id: Iaa3d2f5f415b2d74d12d5b1e269c97df848d25bf
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-07-09 08:15:35 +00:00
Nikolai Kosjar
cf4eae090a Clang: Clean up ClangEditorDocumentParser
Change-Id: Ib7e0b7c51b4c751b184021baac9e26d008dea06c
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
2015-07-09 08:06:45 +00:00
Nikolai Kosjar
521d7cf7a3 Clang: Send in-memory generated ui header to backend
Change-Id: I59e9b1f10d1a7fe9a75cbe84117aa5cc04460dab
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
2015-07-09 08:06:26 +00:00
Nikolai Kosjar
3a2c9f6d4b Clang: Fix invalid QTC_ASSERT()
The assertion failed if textDocument was of type e.g.
DiffEditorDocument.

Change-Id: I00f8734b99c1187c071ef55ff1622fe1f9c3eb56
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
2015-07-09 08:05:33 +00:00
hjk
5b583ad67e Debugger: Add dumper for QUuid
Change-Id: I171ac0130009b9610c766deaa2d85aa095e33d6f
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-07-09 06:54:01 +00:00
Nikolai Kosjar
0369bac126 UiCodeModelSupport: Notify if content changes
Needed for ClangCodeModel.

If the content changes, we want to send it immediately to the
codemodelbackend process.

Change-Id: Iedf16930b494ccb5e91f1bc435db026067d98613
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
2015-07-08 15:38:16 +00:00
Nikolai Kosjar
cb61a8a9aa CppTools: Remove some pointless declarations
* Unneeded private declared constructors
* Q_DISABLE_COPY for classes deriving from QObject (not copyable)

Change-Id: I89669e8bb062cda16bab5812e2ac591f9dcf4af2
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
2015-07-08 13:25:13 +00:00
hjk
b8b50a21dd Debugger: Remove QScriptDebugClient
This officially removes support for QtQuick1 debugging.

Change-Id: Id3b6e64bb8e250ba57589b4e747f4ad33d3e03a6
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2015-07-08 12:58:44 +00:00
Marco Bubke
eb5afed10f Clang: Add sorting by priority
The priority is adjusted too provide a better completion list.

Change-Id: I1ebed1996f660046843e0c5249a91e8c2b1eeb88
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-07-08 12:29:27 +00:00
Marco Bubke
dd89d731cf Clang: Extract and test action sequence
Change-Id: I66f8f29d7b17be67a55560bdcc0b0a3aeb1ce480
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-07-08 12:29:20 +00:00
Orgad Shaneh
35720b8952 Changelog: Credits
Change-Id: Ibcc2b4c1076cee8a024c9d8cddca4f2d8c5ca94c
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-07-08 12:25:52 +00:00
hjk
094b49281c Debugger: Adjust one more test to new base class sorting
Change-Id: I0e073f2474bd9f182b2e5c86ecb121aa350fb92d
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-07-08 09:25:25 +00:00
hjk
17d91fc1c3 Add some Debugger, FakeVim and BareMetal related ChangeLog entries
Change-Id: Ifb69878f606f3438d221f5c479ae268d05ae78c0
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-07-08 09:24:36 +00:00
Eike Ziller
ce96a8b80a CodePaster: Register type safe service object
Use Q_DECLARE_INTERFACE et al.
This provides a way to have the dependency on code pasting
optional in the using plugins (VCS, diff editor), while
still being able to use a nice API to perform the pasting itself.

Change-Id: Ia61e0066d552e45031f4aa7fd1f6693b68f92384
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
2015-07-08 07:41:43 +00:00
Orgad Shaneh
81272a9fdb Theming: Set color for disabled widgets
Task-number: QTCREATORBUG-14528
Change-Id: I06032491470c40cd325eb2821af71becbcdd1b8a
Reviewed-by: Thorben Kroeger <thorbenkroeger@gmail.com>
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2015-07-08 07:30:25 +00:00
Orgad Shaneh
4caa37e7c3 Theming: Use a light shade for pressed toolbuttons in dark theme
With the dark theme, it is very hard to distinguish between normal and pressed
toolbuttons.

Change-Id: Ic5baaa3f5a8651e19ebdfd8dad08904dc0ef0820
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2015-07-08 07:27:09 +00:00
hjk
11d79e4f23 Debugger: Make Shift-F5 end a debugger session again
This is a regression introduced with a28ac630.

Change-Id: If870c44592de77bec10cd48b4a84fff06e788388
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-07-08 06:38:46 +00:00
hjk
c4b9af6841 Debugger: Fix typo in comment
Change-Id: I0bea97b8f452c250135a5cf7a364665ddbd24df2
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-07-08 06:38:38 +00:00
Christian Kandeler
153bfbba0e qbs project files: Do not use "base" inside groups.
Change-Id: Ifd3df06840b9bcf06ca8c21b62e67a9decd88bee
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2015-07-07 14:53:38 +00:00
Ulf Hermann
45b5f7341e QmlProfiler: Don't try to disconnect connections that don't exist
Change-Id: Ic87b3808a9d6aae12dfa6fe8664a4669d56fe37d
Task-number: QTCREATORBUG-14698
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
2015-07-07 14:22:15 +00:00
hjk
e2b0641f28 Debugger: Adjust tests after change to member sort order
Change-Id: Iff3b9781ad9842b325d346a77514aa7a935d4570
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-07-07 14:12:28 +00:00
hjk
a28ac6307f Debugger: Fix "Restart debugging session" regression
Introduced with the support for fork-follows-child.
With 'Restart', we temporarily don't have a living
thread, so that can't be taken as indication for
ending the debugging session.

Task-number: QTCREATORBUG-14393
Change-Id: I0070b9ca7e6897dab48bdbcf493d03df4709be98
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-07-07 13:55:39 +00:00
hjk
68a707458b Debugger: Remove workaround for older LLDB
... that breaks QHash display for keys with value 0.

Task-number: QTCREATORBUG-14451
Change-Id: I8578d9f1d14c367beaccabc5373bd75860ee454b
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-07-07 13:44:54 +00:00
hjk
8014e2f8aa Debugger: Fix engine capability enum definition
Got unwieldy, leading to duplicated values.

Task-number: QTCREATORBUG-14393
Change-Id: Id60fde5d62a8d4293eda0dadf78b6ad4a616844d
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-07-07 13:36:18 +00:00
Eike Ziller
b6b14de4d2 Fix that pressing apply was adding more Qt Versions
Broke with 307fe5553a

Task-number: QTCREATORBUG-14700
Change-Id: I40b8e0baffd6d69400586f823079234c0ac9e078
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
v3.5.0-beta1
2015-07-07 13:02:27 +00:00
Christian Kandeler
2b613ef7be Valgrind: Show status messages permanently.
There is no reason for these messages to fade away after a while.

Change-Id: I6dcf199af87df77b6d65e267a45f5553c85bc952
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-07-07 11:10:00 +00:00
Eike Ziller
3e4ebb1b9f More change log fixes
We had to revert the automatic setting of the scaling factor on Linux
Remove empty categories
Add missing entries

Change-Id: I5612531236522dfd451fc67aa40cafa9351f62bf
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-07-07 11:07:45 +00:00
Nikita Baryshnikov
a3e54f76f4 Debugger: Word wrap several action tooltips
Change-Id: I87e8049869b3d10d205c2e25e7c1e83eb99a4407
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-07-07 10:49:31 +00:00
hjk
508da18c24 VariableChooser: Make help text selectable
Change-Id: Ic588c09dec33476a0729c3dbf3313c827930d9e7
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-07-07 09:57:57 +00:00
Orgad Shaneh
b500205e71 VariableChooser: Re-show current value in variable description
Lost in 3119d93b79

Change-Id: I180cdc281821dab6da1c0729da12872cd7789555
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-07-07 09:23:38 +00:00
Orgad Shaneh
1b6cc02725 Git: Strip line numbers from blame output
The editor already has its own line numbers. Save a few chars for content.

Change-Id: I83fa55140c09224cf0f2ec24ff2dac0baa64def1
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-07-07 08:50:50 +00:00
Christian Stenger
0898cde602 Debugger: Remove a soft-assert from qmlengine
Change-Id: I8c9dc2e8691f3ae3c7bed7ffface8f229ce89203
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-07-07 08:10:52 +00:00
hjk
d48ac14fba Debugger: Simplify removal of outdated L&E items
This removes the need of bookkeeping on the engine side. It's
basically a kind of mark-and-sweep: On update begin mark items
that are expected to change as outdated, while data arrives, undo
that marking, and update end remove all remaining marked items.

Change-Id: I739b84869033d511d5c9a80605c079e87ef4f6a7
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2015-07-07 08:08:08 +00:00
Eike Ziller
1587c171d6 More change log
Change-Id: Id8302f57ba392beffae5e25e474fddac2dbe6cd3
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-07-07 08:02:48 +00:00
Leena Miettinen
15b712056e Doc: using GNU Diffutils with ClearCase
Change-Id: Id2f0a825151b3d0575724cf54b8031046874e6cf
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-07-07 08:01:53 +00:00
hjk
93fd1d0507 {Q,C}makeProjectManager: Adjust tooltip capitalization
Follows suit after 3d78ec69bb.

Change-Id: I1756e0e50dcf414db9ea3f3b2092f8eeb647ae80
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-07-07 07:51:57 +00:00
Daniel Teske
d5b75c71dd WinDebugThread: Don't handle our own debug output
As handling debug output is synchronous.

Change-Id: Ia3b84065698e2fe7903cd490b72686ceec06bdde
Task-number: QTCREATORBUG-14676
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2015-07-07 07:35:00 +00:00
David Schulz
b1d6ab754a Cdb: Inform the engine about an inferior exit.
Task-number: QTCREATORBUG-14652
Change-Id: I67e450bad1873e0fd68f6ae11ea29f227dd5682f
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-07-07 07:17:26 +00:00
Orgad Shaneh
6a54132ea1 VariableChooser: Fix scrolling on keyboard navigation
Change-Id: Ia5cabc1d9df46129c22f9a84901632de5da3824e
Reviewed-by: hjk <hjk@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-07-07 05:20:33 +00:00
Orgad Shaneh
23b89f1e85 Git: Include committer details in Show
Task-number: QTCREATORBUG-12834
Change-Id: I3a38f9bd7e98b9ef982ea51c2ffccbdaf3595a9c
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-07-06 15:20:47 +00:00
Tobias Hunger
7527d66ce6 Editor: Set pointer to 0 after delete
That pointer is used later in the method, so make sure we do not
mess something up.

Change-Id: I9162803bd86b0cc3c1d28a7265245f6d43efeb6a
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-07-06 15:20:20 +00:00
Marco Bubke
90500b0225 Clang: Rename originalItem in codeCompletion
Actually it is quite slow anyway to cast the variant to the value.

Change-Id: Ied18208455adf9d7d5eb500e139170ced597dc1c
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-07-06 14:28:55 +00:00
Marco Bubke
031ec4d824 Clang: Rename ok in applies
Change-Id: I6509582616755b0821a00d264e5be657803a6962
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-07-06 14:28:46 +00:00
Ulf Hermann
2ee019b46f QmlProfiler: Don't try to reconnect while already connecting
Hanging connection attempts will be aborted in response to the
"retry" message box now.

Change-Id: I63775eed9d7677a62293ba5c96a43e839ba285b4
Task-number: QTCREATORBUG-14685
Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2015-07-06 12:56:58 +00:00
Christian Stenger
6c9c0efc09 Debugger: Fix window title
Change-Id: I77d1a1b27959d5c547daf3943a772c68caa80ff6
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2015-07-06 12:45:37 +00:00
hjk
82cffd830a Debugger: Keep variable expansion state when stepping in QML
Change-Id: Ic9ea62de2d12736ae672cef6ea63376637dc30e6
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-07-06 12:44:01 +00:00
Marco Bubke
5467fc25ea Clang: Make ClangAssistProposalModel members private
Change-Id: Ib8089f4afdb72840d97e5286d8be631387e4d2c5
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-07-06 12:41:05 +00:00
Marco Bubke
ed27414f48 Clang: Split clangcompletion.[h|cpp]
First step for refactor them.

Change-Id: If9de084e39ddf31317035ccbbc1fd57d7797d193
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-07-06 12:41:01 +00:00