Commit Graph

39480 Commits

Author SHA1 Message Date
Tobias Hunger
d2da1a94ff Bazaar: Sprinkle with auto
Change-Id: Ie87de7eeeba6988870c8c35eab67be576f4e60a5
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-01-22 14:18:01 +01:00
Tobias Hunger
a6e1e38858 TaskList: Sprinkle with auto
Change-Id: Icb7f4ca4cd3d373770981a75a62120a92e853f44
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-01-22 14:12:40 +01:00
hjk
b01a46f946 Debugger: Re-compute L&E after manual dumper reload
Change-Id: I78a8ddc2b25aae48a792d80657b00f34abe9a1fd
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-01-22 13:29:12 +01:00
hjk
d4bdae9a3d Debugger: Make dumper reload with Python 2.x
Change-Id: If23573fab0f951bed0f86b70500dd7e9862df887
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-01-22 12:57:15 +01:00
hjk
61c49a122f Debugger: Initial shot at native Qml-and-C++ debugging
Only for GDB now, requires a debug build of Qt, not feature complete.
To enable it, run with QTC_DEBUGGER_NATIVE_MIXED=1 and press
the 'oo' button in the debugger toolbar.

Change-Id: I28aac9db13f7067e03cc364b89cc8046fa213dae
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-01-22 12:39:02 +01:00
Daniel Teske
fc3abe9984 ProjectTree: Make project loading fast again
Change-Id: I4a84579311a606d442805acbac2793e8b5ddf515
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-01-22 11:13:59 +01:00
hjk
cca1030432 Debugger: Add python command to add dumpers
More flexible than hacking on the C++ side. Also registers
the custom dumper path to make it reloadable like the
"built-in" dumpers.

Change-Id: I0405f7278e28eb75d83fdd4a861f5a5c32d97a0e
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-01-22 10:55:36 +01:00
Eike Ziller
fbcff211c3 EditorManager: Make placeholder text API 'module-private'
Since locator is actually part of coreplugin, and it is the only one
supported to set this currently.

Change-Id: I7f310a29f6d157f3a494fa774216772e48853dc4
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2015-01-22 10:30:21 +01:00
Alessandro Portale
77f584b90f Progress bar: Using @2x warning/error icons on High-DPI systems
Change-Id: I7c6829462c627638da0b8452a17cdf179ac71087
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-01-21 22:54:47 +01:00
hjk
e17fb8ffc1 Fix crash in insertSideBarWidget
Change-Id: I7c35fe859b0364a7cd9cc5c4be6af60ab27cde17
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
2015-01-21 16:33:35 +01:00
Eike Ziller
58feec49bf Make "close view" buttons more consistent
Use the same icons that we already use for editor splits.

Change-Id: Ice052f637968918a15b16e00a39c5dbc06948dbc
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
2015-01-21 15:02:55 +01:00
Christian Stenger
642dc36ecb Tests: Fix valgrind tests
Issue was introduced with 5a5acd664e

Change-Id: I30ed199e7471cbb71bd185c6a6e1db223339da75
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-01-21 14:10:25 +01:00
Orgad Shaneh
c24ffc4dee C++: Expand arguments in nested function-like macros
Task-number: QTCREATORBUG-13219
Change-Id: I319fe39d696ccc28230d421b1395faf4dd452b03
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-01-21 13:23:38 +01:00
Tobias Hunger
5460250281 VcsBase: Make VcsConfiguration page more dynamic
... again making it more useful for the JSON wizard

Change-Id: Ic7a454c4efc93eb48a44ab2a37ecd39f8c6f3ba7
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-01-21 12:24:11 +01:00
Nikolai Kosjar
df1bbb07d1 CppTools: Extract base class CppCompletionAssistProcessor
As as side effect, this also brings some more pragma completions for the
builtin-in completion engine, e.g. "pragma once" or "pragma omp atomic".

Change-Id: If3ef22076c331c653b78a87cfff836c1da38c8fb
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
2015-01-21 12:19:12 +01:00
Nikolai Kosjar
6d22df7d3f CppTools: Rename CppCompletionAssistProcessor to InternalCpp...
We will introduce a base class with the name
CppCompletionAssistProcessor.

Change-Id: I74a39d0b14d4ee30d7bd7675ad968e83f377de7f
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
2015-01-21 12:18:51 +01:00
Tobias Hunger
01699e9f25 JsonWizard: Allow for wizards without generators
The Checkout wizard will not feature any generator.

Change-Id: I05900309a5ea8a638493ab0fa5499759bcdc181f
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-01-21 12:11:18 +01:00
Orgad Shaneh
8bb176d2ec C++: Do not compare flags when matching types
Trust the matcher to do the job.

Task-number: QTCREATORBUG-13564
Change-Id: I4ff14608a1ce12d3f4424242e50ba71233ac9bfd
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-01-21 12:05:32 +01:00
Tobias Hunger
50efe4a5b3 Add script to find ui visible string changes
Change-Id: I685e65258078784acf9ce30703a8192bb1f8fd8a
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-01-21 10:44:55 +01:00
hjk
c47dd737b0 BaseTreeView: Modernize connections
Change-Id: Ie8de8a5c59f16a22419d1ee8382ef151a65d0b07
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-01-21 10:42:06 +01:00
Nikolai Kosjar
aa5dbe7793 Clang: Clean up ClangCodeModelPlugin
Change-Id: I4a5a91ff91cb0ec2f8eec647c45c42d8c8faa758
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
2015-01-21 10:39:46 +01:00
Nikolai Kosjar
2cfbf20a0b Clang: Compile fix for CLANG_INDEXING=1
Change-Id: Id095832a388ad4aac1657b762bdb8c9f667744d9
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
2015-01-21 10:39:08 +01:00
Tobias Hunger
db215dcf69 VcsBase: Add Js Extension for querying VCS configuration state
This enables JSON wizards to check for that.

Change-Id: If6bfc580b37f712168b707ac51412df8f1cbbf25
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-01-21 10:16:56 +01:00
Takumi Asaki
0efe82475f qmljs: fix message
Add missing comma.

Change-Id: I1828389f209c1ba369596a6b509a9c586db1e79a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
2015-01-21 10:11:21 +01:00
Tobias Hunger
fd3076a4eb Wizard: Use Qt5 style connects
Change-Id: I2507c9edebf3bc46f703cd026cfb5eb824c36ebd
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-01-21 10:03:57 +01:00
Nikolai Kosjar
046f510e19 CppTools: Fix revision check in CppLocatorData
Bug was exhibited by running e.g.

 ./qtcreator -test CppEditor,test_quickfix_MoveFuncDefOutside_FreeFuncToCppNS \
   -test CppTools,test_cpplocatorfilters_CppLocatorFilter:CppFunctionsFilter-WithNamespacePrefix

Change-Id: I57d96a8f7bf0aea6eb11cb68d1b981808533ce41
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-01-21 09:41:38 +01:00
Tobias Hunger
21f272a8c7 JsonWizard: WS only change
Change-Id: I6f5fd3818d51ee531b92be0b78b4435d621fe0ed
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-01-21 09:27:34 +01:00
Tobias Hunger
b848ade48d JsonWizard: Report runtime errors from pages
Change-Id: Ia96ac950ec209fcbc82c7b49b72d0b6417b99906
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-01-21 09:27:17 +01:00
Tobias Hunger
749c740a4e WizardPage: Add a way to report runtime errors
This will make debugging JSON wizards much simpler!

Change-Id: I03baf4b8d954a9097c0fc4e1180e91d2afe5cc4e
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-01-21 09:26:38 +01:00
Tobias Hunger
a3984dd751 Vcs: Make VcsConfiguration page available to JSON wizards
Change-Id: I444d1d95b87fe5c1ede04e1ae9bbe4e1e2d89bd3
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-01-21 09:26:06 +01:00
Tobias Hunger
6b10466b10 Core: Add some helper methods to VcsManager
Make VcsManager provide a generic way to list all IVersionControls
and to search for a specific one based on its id.

At some point we want to register the IVersionControls directly
with the VcsManager instead of going through the object pool and this
is a first step into this direction.

Change-Id: Id4ded85b29487f6d8adcd0cec1de490afae07132
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-01-21 09:24:51 +01:00
Tobias Hunger
5cefe1db26 VcsConfigurationPage: De-noise only change
Change-Id: I0144e9339e7dfd58b1827071e5057941ffdf17f9
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-01-21 09:23:55 +01:00
Tobias Hunger
36ff7e4a6b VcsBase: Move vcsconfigurationpage into wizard subfolder
I will try to move all the wizard code that is still relevant there
and then get rid of the rest.

Change-Id: I3963f53fd39ef0f84c71218eb59b05213121cc90
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-01-21 09:23:14 +01:00
hjk
ec187241e5 TreeModel: (Partially) separate header data from root item
Full separation does not seem possible as QTreeView assumes
all items to have equal column count.

Change-Id: Ia260924fe13ea62789923af8484f9838295355b6
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-01-21 08:42:52 +01:00
Christian Kandeler
c0c9a83409 qbs build: Make use of cpp.cxxLanguageVersion.
Change-Id: Ia2f1870ec67ced58ad95bc6e1953575df2b88cd8
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2015-01-20 17:50:18 +01:00
Orgad Shaneh
daac058f00 CppEditor: De-noise inspector dialog
Change-Id: Ieea1129352831b78c0dc9deee195025060b2008d
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-01-20 17:37:04 +01:00
Daniel Teske
7958565c96 ProjectTree: Fix crashes on removing folder nodes
The code that invalidates m_currentNode folder nodes on removing wasn't
run due to a typo.

Change-Id: Ib7d545da4078275b2875c9a4c6246909234c8073
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
2015-01-20 15:52:02 +01:00
Tobias Hunger
f3220dd408 Vcs: Delete commit message file after commit
Change-Id: I5786fb49d99c793319d28d5a14460f962f416ab5
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-01-20 15:44:46 +01:00
Tobias Hunger
6fe3eec590 VcsCommand: Use Qt5-style connects
Change-Id: I81688ce998bf9f8d47b7d88e639699b626be90dd
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-01-20 15:44:30 +01:00
Daniel Teske
e7e8f2265e ProjectTree: remove unnecessary emit
Change-Id: I6631f0aec8a487095f4c6133c1c2a4dad8f810ee
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
2015-01-20 15:26:27 +01:00
Tobias Hunger
38ef30f4c2 VcsOutputWindow: Try harder to filter out password data
Not perfect, but might catch some more passwords before they are
echoed in cleartext.

Change-Id: I61e537a4a3cbc69748e1f761a5a08fe03ff2552d
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-01-20 14:37:10 +01:00
Daniel Teske
b86aea44c2 ResourceEditor: Remove unimplemented functions
Change-Id: I72ba112682a6cb2eeca02f84ed3783febf0515f1
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
2015-01-20 12:30:38 +01:00
Tobias Hunger
2b5f100769 Git: Fully set up VcsCommand before executing it
Change-Id: Ia3ccc95a70b831ae999e3176f661d12712958bfc
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-01-20 11:19:02 +01:00
Tobias Hunger
93732f23cd Vcs: Bind commit output to output window
Change-Id: Ia141def650ad4ac765c18317267a87a1cf50f512
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-01-20 11:18:45 +01:00
Daniel Teske
c103885635 KitModel: Fix crash on removing kits introduced in 7fd21d22a
Removing a kit removes the item from the TreeModel and puts it into
KitModel::m_toRemoveList. A later update to that kit would trigger
the lambda connected to the dirty signal, thus calling node->update(),
which eventually ends up calling node->parent()->m_children, and
node->parent() is a null pointer there.

Change-Id: I9006f1eea036ae99b48a47baa2bc2a33bdcb84b1
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-01-20 08:13:31 +01:00
hjk
ef7f34de78 FancyMainWindow: Delay auto-collapsing of headers
Instead of leaving the header, use leaving of the dockwidget itself
as trigger.

Change-Id: I7df46e5ef1c01e55c8c3dee837a55b473451153f
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-01-20 07:59:26 +01:00
Hugues Delorme
718dd00fad Bzr: fix regression, commit was broken !
The error-prone QObject::connect(SIGNAL(), SLOT()) caused the commit to not happen.
Status parsing was not triggered anymore.

Change-Id: Id413fb1a22de062b6d0a433f41603a84d89243c5
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-01-19 22:49:27 +01:00
Tobias Hunger
d2bed5bf45 Vcs: Reduce noise a bit
Change-Id: If0e958bb48359f613245eb732432ce5144330427
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-01-19 18:08:21 +01:00
Tobias Hunger
2be422b4e0 VcsCommand: Fix indention
WS only change

Change-Id: I5a04b51babc91d80aef8c03d356345f1faf95500
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-01-19 18:08:01 +01:00
Daniel Teske
783056732b Fix crash on changing project template
D'oh. This boolean needs to be set to true to have any effect.

Task-number: QTCREATORBUG-13848
Change-Id: Idb6559a9b395b3aea4f3379698914b00eb9a031d
Reviewed-by: BogDan Vatra <bogdan@kde.org>
2015-01-19 16:06:43 +01:00