Commit Graph

44854 Commits

Author SHA1 Message Date
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
Eike Ziller
265fa13bdb QmlJSModelManager: Use Utils::runAsync instead of QtConcurrent::run
To get rid of the shared thread pool (and to use the API with the less
ugly implementation).

Change-Id: Ia93977b8b394aff8e410d6d81446c23e32b7aed5
Reviewed-by: Marco Benelli <marco.benelli@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2016-01-22 13:34:57 +00:00
Eike Ziller
a30c1adc96 QmlJSModelManager: Cleanup uses of QFuture
- Use simple list instead of QFutureSynchronizer (no feature of that was
  used)
- Avoid duplicate code cleaning up the current list of running futures
- Clean list of running futures after waiting for them all to finish

Change-Id: Ia13ee25ab7835fc4f4970d23d20b16cfe6bf6dfb
Reviewed-by: Marco Benelli <marco.benelli@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2016-01-22 13:28:55 +00:00
hjk
677effda78 Remove even more uses of deprecated typedefs
Change-Id: Icb48d484f760eb11ef2d41d8271e43f4f51c2e91
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2016-01-22 13:23:53 +00:00
Christian Kandeler
74eb8db29f Fix crash in ShortcutSettingsWidget.
Setting the validation function on a FancyLineEdit immediately validates
now, so everything accessed by the validation function has to be set up
when setting it.

Change-Id: I07900058d7047d61d1b153bdfbfe44acf3164174
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2016-01-22 13:20:37 +00:00
hjk
6da1403543 ProjectExplorer: Let a RunConfiguration specify a Runnable.
The (target specific) RunConfiguationFactory can specify what it considers
a Runnable for the target. The (also target specific) RunControlFactory
can use that either unmodified or tweak it to set up a RunControl,
(and finally, target specific code runs it).

So this still keeps the target code in full control on what is passed
where, but reduces the need for boilerplate in the cases where
the produced and consumed Runnables are the same (or similar).

Change-Id: Ied59430462f4a45ad0006a99c1efd8b07cd181b2
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2016-01-22 12:58:06 +00:00
hjk
ee87ff4a87 DependencyModel: Modernize connections
Change-Id: Ie1eb9802907da2bf82c40dcbf5ce86855540cbbd
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2016-01-22 12:57:59 +00:00
Tobias Hunger
fe944e47e7 CMake: Simplify code a little
Change-Id: Ifdfac9bb844c9ab201378a6047714ab64ccebd66
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
2016-01-22 12:34:42 +00:00
Ulf Hermann
5498dfbc89 Add support for contents() to BinEditorDocument
Change-Id: I41c7541984ecc5128c8d742ee44f8b3227c671b6
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2016-01-22 10:30:02 +00:00
Robert Loehning
fea48a1e0d Update German translation
Task-number: QTCREATORBUG-14670
Change-Id: Id5ea3791a5c6a0ed3c25291504c3f9bb5d30a190
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
2016-01-22 10:02:40 +00:00
Nikolai Kosjar
e79a7d47dc ClangStaticAnalyzer: Tests: Skip if there is no clang in PATH
Change-Id: Ibd082ac26ccd1476148131e2f3a9528f7b0048b9
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
2016-01-22 09:56:50 +00:00
Nikolai Kosjar
c705cfca8c ClangStaticAnalyzer: Move non-plugin tests into tests/auto
Change-Id: I014ef6fd125393b69ec242219c0833efde0c216b
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
2016-01-22 09:56:40 +00:00
Ulf Hermann
161bb4e463 VCS: Properly support contents() on commit descriptions
Change-Id: Ia10a646b49d442c5c8027c744ded003189645283
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2016-01-22 09:51:48 +00:00
hjk
8a467fccbf ProjectExplorer: Modernize DeviceApplicationRunnuer
Change-Id: Id406fc2bf0449a69faf04d11ce1bdcc13e1fef47
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
2016-01-22 09:49:10 +00:00
hjk
4a5d7f3d3f ProjectExplorer: Modernize DesktopDeviceProcess
Change-Id: Ieddc6e17a61eb7233cbf3a93f5f73dcddd7ffb1d
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
2016-01-22 09:49:03 +00:00
Orgad Shaneh
08370e8318 ClangStaticAnalyzer: Remove initializeEnterpriseFeatures
Should have been removed in e775ff3049.

Change-Id: I5e2d3755c892cf1c1d9a6729b3b6e372ffcf4c62
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
2016-01-22 09:17:07 +00:00
Orgad Shaneh
61eac17c29 FancyLineEdit: Validate after setting validation function
Change-Id: I070c3de08dcdce7abc219a8e17d0ea1a531b2167
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2016-01-22 07:53:17 +00:00
hjk
0923feb31e De-noise QmakeBuildConfiguration
Change-Id: Ib3c156e8847789c03c1618218233e22c3dae496a
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2016-01-22 07:49:24 +00:00
hjk
2538fbecad Qnx: Modernize QnxRunConfiguration
Change-Id: I99a8477cb4aaafe5b59ec8116b6fe0011a2700fe
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2016-01-22 07:39:17 +00:00
hjk
a32b69ac93 Analyzer: Merge duplicated display name members
ProjectExplorer::RunControl::m_displayName exists, no need to
shadow it with Analyzer::AnalyzerRunControl::m_displayName

Change-Id: Iccbae658ca49c3fa2965a34a1bdf7c4a3bbd4073
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2016-01-22 07:37:26 +00:00
hjk
6e28e7f029 Qnx: Fix comparison of iterators from different containers
.begin() and .end() were coming from different temporaries.

Change-Id: I26a716653b906d0a63aab464f66b16ede7285214
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2016-01-22 07:25:53 +00:00
Robert Loehning
76773763e6 Squish: Update tst_qml_editor to use Qt 5
Change-Id: I1f2c8b9212ab2b1eec07a4587495aaf02d201523
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2016-01-21 16:48:00 +00:00
Ulf Hermann
49eceedb58 Initialize rangeTypeMask
Change-Id: I3b778b774e0b19c9d697f460200853798eea16c9
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2016-01-21 14:55:56 +00:00
hjk
aded97cd8a Remove more uses of deprecated QStyleOptionViewItemV4
Change-Id: I5b8463e3f5d2d4688865987bf03cfc569fd5fc19
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-01-21 14:06:06 +00:00
Nikolai Kosjar
ff502ba6ef Clang: Fix fileTags specification in *.qbs
Change-Id: I3fe871a33aeeabe7e15ecd279a6c67fecd522c77
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
2016-01-21 14:04:08 +00:00
Ulf Hermann
cb9bc178bd ResourceEditor: Properly support contents()
Change-Id: I1953153de66a1228ab98d6f3295696b2d8f1facb
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2016-01-21 12:59:05 +00:00
hjk
e6f6026520 Valgrind: Random cleanups
Remove unneeded function arguments, Qt 5 connects etc.

Change-Id: I95faf80e7b5ccc574e2457b841f7913bc2aa05d3
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2016-01-21 12:56:37 +00:00
Robert Loehning
62fae6b6c2 Squish: Test clicking on unknown git commit id
Task-number: QTCREATORBUG-15051
Change-Id: I9046fe8279a661a5ba28bd14747a9ee9915c3416
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2016-01-21 12:42:25 +00:00
Orgad Shaneh
d01627bb01 TextEditor: Disable Search & Replace buttons when folder doesn't exist
In case of searching in scope: "Files on File System" when specified
directory does not exist, "Search" and "Search & Replace" buttons
should be disabled.

Task-number: QTCREATORBUG-5959
Change-Id: I1905cbea08aa07d72b96e9ad893ef3928d633c4f
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
2016-01-21 12:30:14 +00:00
Nikolai Kosjar
5b792834f5 Doc: Remove commercial tag for ClangStaticAnalyzer
Change-Id: I936901a1cc9ad7729303911880bedbc002d4d692
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2016-01-21 12:26:17 +00:00
Christian Stenger
0e7c5a1c7e Revert "QmlDesigner: call directly the invalidate method"
This reverts commit 74e863f867 as it
breaks compile with Qt5.4.

Change-Id: Ifce52a7790c4f40ce0ccd56a2daacc4d32fe3257
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
2016-01-21 12:15:08 +00:00
Nikolai Kosjar
750664dac6 ClangStaticAnalyzer: Make the *.qdoc easily accessible
Change-Id: I9ab2a3b19fcfe4b3554057a0f8f441db17681eb2
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
2016-01-21 11:28:04 +00:00
Nikolai Kosjar
874a88bc39 ClangStaticAnalyzer: Remove unneeded statements in *.pro
Change-Id: I4fb35b270a0da4c203594b7753ae20d14e7fd9c0
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
2016-01-21 11:27:57 +00:00
Tim Jenssen
ebd7bcd643 qmljs: move running qmldump process to a method
Change-Id: Iaa129d2888d5b0d01e83014a2f520580d238149d
Reviewed-by: Marco Benelli <marco.benelli@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2016-01-21 10:28:54 +00:00
Tim Jenssen
992d544e7e QmlDesigner: add new debug settings
Change-Id: I737324016d3f2defc7e04f5e628e0f04cd34dd1a
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
2016-01-21 10:23:40 +00:00