Commit Graph

45338 Commits

Author SHA1 Message Date
hjk
50499079dc Valgrind: Fix test compilation
Change-Id: I1b64cab7326830cec86b9b5154e9efb6d0ea8569
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2016-01-26 15:20:41 +00:00
hjk
403fe30a30 RemoteLinux: Move portsUsedByDebugger() to DebuggerRunConfigurationAspect
Change-Id: I0add29c3c69c4ba59cea159f32ca74be58bcee59
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2016-01-26 14:54:35 +00:00
hjk
9a3b340c00 Valgrind: Use StandardRunnable in ValgrindRunner and ValgrindProcess
Change-Id: I17def50bbf6887b63d676fdb245064f1df2003de
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2016-01-26 14:27:00 +00:00
Orgad Shaneh
96a9f1011f Valgrind: Prevent division by zero
Change-Id: Idf695a99c2f8cf53b0d0e0268a848c58a85af3cb
Reviewed-by: hjk <hjk@theqtcompany.com>
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
2016-01-26 14:16:01 +00:00
hjk
1f0594050f Qnx: Code cosmetics
Some Qt 5 connects, auto, namespaces, ...

Change-Id: I3e206d95715f988473c9b7c3d01658e6d4d925ae
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2016-01-26 12:44:25 +00:00
Orgad Shaneh
621c834023 AutoTest: Clear description on test start
Task-number: QTCREATORBUG-15668
Change-Id: I031941938f59e59e0e05d3284b12ef09993f6541
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2016-01-26 11:42:29 +00:00
hjk
1403cd7f43 ProjectExplorer: Use environment from Runnable
... instead of re-fetching it from the EnvironmentAspect.

Change-Id: Iab25d7d828ac3811eebc8bb149f53e61299e500e
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2016-01-26 11:23:14 +00:00
Eike Ziller
4659f2caca ShellCommand: Some tweaks of QtConcurrent usage
Use Utils::runAsync to avoid use of global thread pool. Move watcher
connect to constructor. Report "failure" of the command by internally
canceling.

Change-Id: Ib7616734176be2ad9356162724ca06cfd8821e52
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2016-01-26 10:27:09 +00:00
hjk
d35f4fb72d ProjectExplorer: Use StandardRunnable in LocalApplicationRunControl
Also un-export LocalApplicationRunControl.

Change-Id: Ide5dbb61035d9f648f517a9d89763803ac0c4d26
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2016-01-26 10:09:46 +00:00
hjk
9ae2ce7629 ProjectExplorer: Drop LocalApplicationRunConfiguration
The functionality can be provided by producing a suitable Runnable
in the derived classes directly.

Change-Id: I7b8e8fe33fffd2b00176b6cf6633eca4e152e466
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2016-01-26 10:09:29 +00:00
Topi Reinio
4ea8caccf2 Doc: Extending Qt Creator Manual: Fix documentation config
- Add missing sourcedir (../api) to get landing page and other
     documentation generated.
   - Remove invalid sourcedirs (Find and Locator plugin directories
     no longer exist).

Change-Id: I125e86702eaded08de342e103970281984f449d4
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2016-01-26 09:29:27 +00:00
Leena Miettinen
2eaaed3428 Doc: update information about commercial features
Using the Auto test plugin or QML Profiler extensions
no longer requires a commercial lincense.

The ISO Icon Browser was missing from the list of commercial
features.

Change-Id: Ic40c8ae5bddea5424f2de57d8e2ece17588428ff
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2016-01-26 09:27:29 +00:00
Alessandro Portale
126d1b0811 TextEditor: Remove obsolete "customized.xml" feature
In case the qtcreator.ini has a TextEditor section without a defined
ColorScheme value, Qt Creator decides to create a new "styles/customized
%i.xml" and select that as scheme.
I assume that this was implemented way back then, as migration code when
selectable Color Schemes were introduced. These days, it makes
maintenance (and implementation of QTCREATORBUG-15229) more difficult.
Let's remove it.

Task-number: QTCREATORBUG-15649
Change-Id: I49102d02fa8e582a92f6e39faa8c7d3b58f531b3
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2016-01-26 09:25:42 +00:00
Eike Ziller
6ddd0e579f Coding style: Prefer "#pragma once" over header guards
It's not even "modern" anymore ;)

Change-Id: Id0074f58f6ae669e09168274eab4c3c4ef7359dc
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2016-01-26 09:12:17 +00:00
Tobias Hunger
58ba91b924 IOutputParser: Cleanup and fix
Change-Id: I6ab47e44056c9af7def4e5eb301b1e64f6766c32
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2016-01-25 16:29:11 +00:00
Orgad Shaneh
6fee5a88f3 Git: Support Git Grep
Task-number: QTCREATORBUG-3556
Change-Id: Ieca1bdaa39281a2e085340f045e5a48b875f7967
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2016-01-25 14:43:00 +00:00
hjk
96a4458121 AndroidQmake: De-noise AndroidQmakeBuildConfiguration class
Change-Id: I8965fc054fd479105276422eae43a4df636f7ca8
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2016-01-25 14:12:58 +00:00
Fathi Boudra
82e0c2933a Use x-terminal-emulator on Debian based distributions
Brought from debian source package

Change-Id: Iaae2a35b5aff233f536ceee38555522dc9fd8527
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
2016-01-25 13:25:54 +00:00
Tobias Hunger
41ef1afa2c QMakeAndroid: Build- and warning fixes
Change-Id: I04b0849eeb2991b03892fcc97cb65a2f5ace5805
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2016-01-25 12:42:11 +00:00
Eike Ziller
4320505501 Merge "Merge remote-tracking branch 'origin/3.6'" 2016-01-25 12:21:36 +00:00
Eike Ziller
d18d7eaef6 Merge remote-tracking branch 'origin/3.6'
Change-Id: I4e1ec4054d7364057c63e63e293a246e64afdddb
2016-01-25 13:21:18 +01:00
Eike Ziller
a6f5548331 Git/Clean: Fix issues with submodules
- If the git config contained old entries for submodules that were
  removed (they are not cleaned from the config automatically),
  it would add submodules with empty "dir", which lead to infinite
  recursion

- When recursing into submodules, we need to prepend the paths from the
  git output with the relative path from the main repository

Change-Id: I0bc6a1973f4cdeb1c3f09c05cd7736c25471f72e
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2016-01-25 12:20:31 +00:00
Christian Kandeler
a081e8c96f qbs build: Fix autotest runner on Windows.
The tests need to find Creator's libraries and plugins at run-time.

Change-Id: Ided40e70693650a0099661dd961223c5b68da646
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2016-01-25 09:39:52 +00:00
Christian Kandeler
f068745868 Autotest plugin: Fix qbs build.
Change-Id: Iba3475730baed1051b3231a8d543322e205aae29
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2016-01-25 09:17:12 +00:00
Christian Kandeler
47b8ee09e2 QbsProjectManager: Remove "dry run" build option.
The way this option works is not IDE-compatible, since the build process
changes the build graph and relies on the changes being transient simply
by not storing the build graph afterwards. This is fine for the command-
line tool, but Qt Creator keeps the build graph open and subsequent
"real" builds will finish immediately even when nothing has actually
been built yet.
Perhaps it would be possible to do the implementation differently, but
having the "dry run" option in Qt Creator is not valuable enough to
justify that effort.

Change-Id: Ic99ddef63555f6029c5857d2cfd8dc48d8a72914
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: Jake Petroules <jake.petroules@theqtcompany.com>
2016-01-25 08:56:02 +00:00
Thomas Hartmann
e3a3792fd6 Removing support for DebuggingHelpers
This patch removes infrastructure and ui for DebuggingHelpers
and specifically qmldumptool.

The qmldumptool was the last relevant DebuggingHelper and is only required
for Qt < 4.8.

Change-Id: I3767be0858e5eba16a33a3ab8436e95fc06a9e99
Reviewed-by: hjk <hjk@theqtcompany.com>
2016-01-25 08:55:27 +00:00
Orgad Shaneh
edb55e1f66 Debugger: Suppress qWarning for debug messages
The following message was observed when debug session is done:

  Warning: STUB EXITED EXPECTEDLY (no active run control)

Change-Id: I21778dd70659a0fe4105c386e1e1693a8b81ac05
Reviewed-by: hjk <hjk@theqtcompany.com>
2016-01-25 07:48:00 +00:00
hjk
6de4accea9 Analyzer: Re-use AnalyzerRunnable in StartRemote dialog interface
Change-Id: I0cea5232555cc950342c56e60cfc2cf099b06f2b
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2016-01-25 07:15:55 +00:00
Christian Stenger
5b9350baf6 Fix compile for Qt5.4
Introduced with f443c95dcc.

Change-Id: I6fcc2c429b90cb56a02c3c63f0788fcf0ab1df52
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2016-01-25 06:12:44 +00:00
Orgad Shaneh
6062d3953d AutoTest: Fix pass/fail parsing on Windows
Chop \r

Change-Id: Ibd1ce9025a681aefcdce0c01a842903fda8a8e30
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2016-01-25 06:00:10 +00:00
Orgad Shaneh
8850e163e3 AutoTest: Add an accelerator to menu entry
Change-Id: I8e94912fdbdf1f0dbd7366e96222d04f6c838586
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2016-01-25 05:59:09 +00:00
Orgad Shaneh
e3d4e1c825 AutoTest: Fix invalid escape sequence
Change-Id: I9cd09327a561eb8691e358d77a455714838397bb
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2016-01-25 05:58:48 +00:00
Thiago Macieira
f443c95dcc Adapt to QtGui changes that broke private API source compatibility
The public constructors in QTextCursor that were private API are no
longer public.

Task-number: QTCREATORBUG-15238
Change-Id: I3bc59670b62d4afaa645ffff1411b76029249840
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2016-01-22 23:45:08 +00:00
Ulf Hermann
938d1cd44b Avoid starting tools without projects
This leads to crashes when the tools expect RunConfigurations.

Change-Id: I4960e7d189d92b6e81d4e5c069634c9111405e72
Reviewed-by: hjk <hjk@theqtcompany.com>
2016-01-22 17:56:42 +00:00
Ulf Hermann
ed96957714 QmlProfiler: Fix logic in QmlProfilerTool::clientsDisconnected()
We want to do acquiringDone(), no matter if the app died or not.
Otherwise we wait forever for more data to arrive if the app has not
died.

Change-Id: Iad807ad75d7b8aba899211497586e5324124d16a
Reviewed-by: hjk <hjk@theqtcompany.com>
2016-01-22 17:34:54 +00:00
Ulf Hermann
a1dd1e4c5b Add runConfiguration to remote tool starters
Most of them need a run configuration. It's better to pass the
right one than to use various hacky ways to work around it.

Change-Id: Ic21b0ef33bdd79b526b1e1a1ead5ca87d9f32c4d
Reviewed-by: hjk <hjk@theqtcompany.com>
2016-01-22 17:26:17 +00:00
Eike Ziller
0f4db8a32f Merge "Add QML profiler extension plugin" 2016-01-22 15:33:56 +00:00
Eike Ziller
a9933fbb74 Merge "Add autotest plugin" 2016-01-22 15:33:49 +00:00
Eike Ziller
647a351cda VCS/CleanDialog: Simplify code and make some tweaks
There is no need for a separate class with signals. Add support for
cancel and report some kind of progress. Also use Utils::runAsync
instead of QtConcurrent.

Change-Id: I5d61d32644f99ccb6ba8e0d7e17f138956822424
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2016-01-22 14:56:42 +00:00
Orgad Shaneh
6149fc800e ClangStaticAnalyzer: Default to clang.exe on Windows
clang-cl should only be used when the toolchain is MSVC, which is done in
clangExecutableFromSettings().

Change-Id: Ic33cfe4c562c142b95dce4370b1ba695aafe9308
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2016-01-22 14:46:58 +00:00
Eike Ziller
db4f28d66c Add QML profiler extension plugin
Change-Id: I5beec6ec4aed8ab43833ee1a5fb7d410ce350584
2016-01-22 15:29:54 +01:00
Eike Ziller
63c1660067 Add autotest plugin
Change-Id: I904289a6cc6f14eb9fa46c3ce757e4ebc3a36f55
2016-01-22 15:25:30 +01:00
Eike Ziller
a73871d91c Fix wrong location of templates
Change-Id: Id7732ef0914ba69eae020feb412cbce7cf9a5902
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2016-01-22 14:16:45 +00:00
Christian Stenger
15b4e6fc91 Delete unneeded and prepare directory structure...
...to get plugin's repository more easily integrated
into QC's repository.

Change-Id: I10243bb4283623ae951e799feacaa15915678e04
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2016-01-22 14:07:19 +00:00
Christian Stenger
5448e7bab8 Remove licensechecker dependency
Change-Id: Ie15e903f3e7f0fde3c7e4127584c573741aee19f
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2016-01-22 14:07:02 +00:00
Christian Stenger
08011b5dee Change license to GPLv3
Change-Id: Ia9fcbc76a56288429c5b99d5cb6eaaf9a7a9f4ff
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2016-01-22 14:06:29 +00:00
Ulf Hermann
9a77f5f429 Prepare for merging into qtcreator
Remove the licensechecker dependency, move everything into
src/plugins/qmlprofilerextension, and adapt the build system.

Change-Id: I58bf34ecd838514d02b5c50189cd8a5eb99793b0
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2016-01-22 14:06:16 +00:00
Ulf Hermann
ed15f7067d Remove dependency on licensechecker
Change-Id: I806983db89468f39dc781e9fd082f862b335a0d8
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2016-01-22 14:05:38 +00:00
Tim Jenssen
28a6c5edf7 QmlDesigner: fix cut font on output tabs
Task-number: QTCREATORBUG-5598
Change-Id: Ida383b5f2b0c798c8eee63eb3fe92ca33206aef3
Change-Id: Ida383b5f2b0c798c8eee63eb3fe92ca332063aef
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
2016-01-22 13:59:36 +00:00
Tim Jenssen
a20c13d608 QmlDesigner: refactor StyledOutputpanePlaceHolder a bit
Change-Id: Icd0c960a0f20e6cfcf237033d96a50062d9ea535
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
2016-01-22 13:59:30 +00:00