Commit Graph

54723 Commits

Author SHA1 Message Date
Robert Loehning
3bd32292b7 Botan: Fix various bugs found by Coverity scanner
Backported from upstream 9b74862771aff940361078533cca5b5e78bdf630

Change-Id: I9c457cfa19bd3b6d21469545230e73e49e4f8dde
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2017-06-02 10:08:40 +00:00
Orgad Shaneh
9154a457fd DiffEditor: Add context info to side by side editor
Task-number: QTCREATORBUG-18289
Change-Id: Ibc4a626c22cc1d96b27e8744a87dd2780cec549e
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2017-06-02 09:52:29 +00:00
Orgad Shaneh
d64fa1ee48 Gerrit: Refresh when the dialog is re-opened
Task-number: QTCREATORBUG-10028
Change-Id: I60d91d88df5596f7d34605ed28d0cc6ef3427a8c
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
2017-06-02 09:12:35 +00:00
hjk
2bf14c7614 Debugger: Remove some dead code
Nobody complained for more than a year, this is good to go.

Change-Id: I83811513f9be364a160ad86ecf7ca45a77529e6d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-06-02 09:11:55 +00:00
Eike Ziller
38763bf1b9 Locator: Move some API documentation to qdoc
Change-Id: Ic7c822ccc31285398bbf23b470abaf479f9b1e55
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2017-06-02 07:36:28 +00:00
Eike Ziller
dfe734325e Locator: Remove dependency on MainWindow
Change-Id: I3949cca285d49fddf9c8c476ad19ed7ce9a06f1c
Reviewed-by: David Schulz <david.schulz@qt.io>
2017-06-02 07:22:20 +00:00
Eike Ziller
33cc799b98 Locator filters: Add overrides
Change-Id: I20f93d6bcb22a342d9f662d8190f97798ca3e423
Reviewed-by: David Schulz <david.schulz@qt.io>
2017-06-02 07:17:24 +00:00
Eike Ziller
6310afc1b2 Locator: Remove unused return value
Change-Id: I3f7d237430591cfa1ddf07a92e74805b0628bcff
Reviewed-by: David Schulz <david.schulz@qt.io>
2017-06-02 07:15:41 +00:00
Robert Loehning
725d39a0fd qtpromaker: Initialize tree level
Change-Id: I7df4f7c9f652ce11203d8014439167ce2209d04c
Reviewed-by: hjk <hjk@qt.io>
2017-06-01 17:23:59 +00:00
Thomas Hartmann
64276dddf2 QmlDesigner: Catch possible exception
Change-Id: I07114693958c1ad090aee229ae31f1966d258eb9
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2017-06-01 15:04:33 +00:00
Thomas Hartmann
236d7c094b QmlDesigner: Do not throw in comparison operators
It is unexpected and not required at all, since
the operators are well defined for invalid nodes.

Change-Id: I56841a21b8ba814fc2996485084584d9b4b521c2
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2017-06-01 15:04:26 +00:00
Robert Loehning
ceb9533f75 Debugger: Clean out fixupParameters
Change-Id: I01b1308f4d438b7e0cb4ae643b79abd285ea9db7
Reviewed-by: hjk <hjk@qt.io>
2017-06-01 14:27:59 +00:00
Robert Loehning
ae80651163 Debugger: Don't try to find two processes with same PID
Change-Id: I88500973f698db55b10528a61cf38de6ef248949
Reviewed-by: hjk <hjk@qt.io>
2017-06-01 14:26:49 +00:00
hjk
406ddaa36c Debugger: Remove DebuggerRunParameters::device member
The device is always available via runTool().

Change-Id: I4a2a791a5a75b32803c06fc34947b82b869fe31c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-06-01 13:49:17 +00:00
Nikolai Kosjar
461ffae871 C++: Fix uninitialized value warnings
...from coverity scan.

Change-Id: I44663354b3ee4854dd6335121a0160e35f14976c
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
2017-06-01 13:33:34 +00:00
Nikolai Kosjar
3e203e1208 CppTools: Fix uninitialized values warnings
...from coverity scan.

Change-Id: I7f4c3de39279cfffab2246aa84ae2ac13916bd1e
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
2017-06-01 13:33:27 +00:00
Nikolai Kosjar
39dea09794 CppEditor: Fix uninitialized value warnings
...from coverity scan.

Change-Id: I1b1fb919e77f1407fe2e4319392c28413a296493
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
2017-06-01 13:33:21 +00:00
Nikolai Kosjar
a3a62e78f7 Clang: Fix highlighting of function in using declaration
Change-Id: I0f646ce22cdc95e5932650a3fb2fe34b8d4a89a3
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
2017-06-01 13:33:07 +00:00
Nikolai Kosjar
e6c8fbfd92 Clang: Fix highlighting for partial specialization
Change-Id: I53f6a87064d45a3a68394d1b3bc0d767b91a9d11
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
2017-06-01 13:33:00 +00:00
Tobias Hunger
8211648410 JsonWizard: Mark files as "do not overwrite"
Mark the actual files as "do not overwrite" and not a copy of said file
that will then get destroyed after the new attribute is set.

Task-number: QTCREATORBUG-18284
Change-Id: I49272b4070bc2ef499bf28da002b83dc01008bc2
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2017-06-01 11:31:20 +00:00
Tobias Hunger
25d984eb6f CMake: Improve generator setup dialog
Task-number: QTCREATORBUG-18259
Change-Id: I2807fa5f2ca837d4a0026b0aaf13e344221fc702
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2017-06-01 11:31:15 +00:00
Robert Loehning
0823f67e58 C++: Initialize BaseClass::_isVariadic
Change-Id: I35fa5c9cbc1aa2b5ed46c6e1c0c003fd81bcc1dd
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Reviewed-by: André Hartmann <aha_1980@gmx.de>
2017-06-01 10:34:03 +00:00
Tim Jenssen
3bc2ce1864 fix uint warning and use vector::reverse_iterator
Change-Id: I23b201dd3452c0c9581ec94928020838f0624573
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-06-01 09:43:18 +00:00
Robert Loehning
84907a7d65 Squish: Fix __handeColorTips__ for Qt >= 5.8
Explicitly selecting the right overloading for setNamedColor

Change-Id: Id5aad47ec84b672d70f393456054d4cd779b7a21
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-06-01 09:09:36 +00:00
Robert Loehning
5ceb390b60 Squish: Update window title
Change-Id: Idff71e0d250b31436a59e10c6ab00f7d459ab89d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-06-01 09:09:17 +00:00
Mitch Curtis
e1c7c91c9e Ensure that the full session name is visible in the session manager
This saves the user from resizing columns every time they open the
session manager.

Change-Id: Ida6a4ea7723cd913185d77e06aa0d2218f0e30a4
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2017-06-01 08:09:46 +00:00
David Schulz
2e203e868f Debugger: fix regex matching local enum type in dumper test
Change-Id: I2a0002be23bca2d0dc29273428772b38189f18d6
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-06-01 05:33:39 +00:00
Orgad Shaneh
ac2b2d6139 Debugger: Add a test for enum bitfield
Change-Id: I5e11dd39941b5b4fe7d27e329b5268a23e7a72b1
Reviewed-by: David Schulz <david.schulz@qt.io>
2017-05-31 18:13:05 +00:00
Jochen Becher
ee17a71a1f Modeling: add separate function to update include dependencies
Change-Id: Icdcec9beac4b889ef22941824b993ddd2b26cf56
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2017-05-31 17:26:55 +00:00
hjk
7a18978eda Debugger: Add a simple dumper for Utils::Port
Change-Id: I7ea02e052a4a3a8244d6533ef0502db88974abb7
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-05-31 12:41:30 +00:00
Tobias Hunger
7bf81fe53e Ios: Simplify code
Initialize pointer to nullptr and use that as indicator that IosConfiguration
was initialized instead of a static bool.

Change-Id: I7d1c5b38e25282d065ddeb4ba1415c28932aa64b
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2017-05-31 08:49:18 +00:00
David Schulz
d461c000f0 Debugger: Optimize cdb python type identification
Just add a symbols to collect the tag of a type when the type name is
unknown.

Change-Id: Id3a83a07d7061a73fbdc92555fe93eef06285ed3
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-05-31 08:23:02 +00:00
Thomas Hartmann
ed42cae6e6 QmlDesigner: Show qrc mapping in debug view
Change-Id: I0fcf35877042e1c3c53258f3a44ce76bd18e727d
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2017-05-31 08:10:44 +00:00
Laurent Montel
907de0426a Use TextPlain format for this QLabel
Otherwise when we search "<a href=\"http:www.kde.org\">ss</a>"
we will see qlabel as a richtext.
So you can copy link and you see text as richtext element

Change-Id: I10451b1ffee9b94913e3a6bbe0e1ded1e797e04e
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2017-05-31 08:04:57 +00:00
Leena Miettinen
43ee03f3ee Doc: Reflect changes made to Auto Test Project wizard
Change-Id: I0e1fedf2d2ecbc85c2c589b73a709780511833c8
Task-number: QTCREATORBUG-18283
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-05-31 07:50:03 +00:00
Leena Miettinen
ec0ce2b853 Doc: Describe iOS build settings
Users can select the development team to use for deploying
and provisioning apps.

Change-Id: I32c444ace70d06d1cf693c65193271e2d4a2f1ac
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2017-05-31 07:49:43 +00:00
Kari Oikarinen
e4248464df Use virtual keyboard with Boot2Qdb plugin also
Starting from 5.9 Boot2Qt devices are supported with a new plugin and
projects created with wizards should still use virtual keyboard for
them.

Task-number: QTCREATORBUG-18247
Change-Id: I5dcc6436d49d29cb8956a2b7d5eec72ff5542f10
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2017-05-31 06:02:40 +00:00
Jochen Becher
dfce06c64d Modeling: Improve performance adding component model
Change-Id: I01dc0bcee200a239bd2b33ee97dc75569ded91a3
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2017-05-30 17:39:01 +00:00
Jochen Becher
261bb51ab0 Modeling: Fix a crash due to wrong order of clearing diagram
Change-Id: Ibd25f230e408303f10d273d1e8d3e8c3539fbd69
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2017-05-30 17:38:48 +00:00
Robert Loehning
8dfd2613cc QNX: Move creation of DebuggerRunTool to safe place
Change-Id: I142f3661272cc52ec7b5a13845baa3c870159362
Reviewed-by: hjk <hjk@qt.io>
2017-05-30 12:16:43 +00:00
Orgad Shaneh
adc60b7b17 Dumper: Remove duplicate function in lldbbridge
Change-Id: I0f63ebcc21a5eded26cb01eef8a9c4f2bd96f64c
Reviewed-by: hjk <hjk@qt.io>
2017-05-30 10:51:14 +00:00
hjk
c34ff88c5a Debugger: Add an auto test for typedefs with unnamed enums
Change-Id: I7ed68c954265d4f25aec98d2d833df01a9ef9153
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2017-05-30 10:38:02 +00:00
David Schulz
1bde81fcdc Debugger: Add compile time warning if cdb can't be found
Warn users who might have installed cdb in a none default path that
they have to define an environment variable during compile time.

Change-Id: Ic7e1cd02e596b9ad862214ac00ef319a76a6e7e1
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-05-30 10:37:48 +00:00
David Schulz
a3d6b8f9c6 Debugger: Add warning when building cdbextension without python support
Change-Id: Iaefae18f804b587f5b5518bd9deac6ce1e95168d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-05-30 10:34:35 +00:00
Tim Jenssen
e3a3f52aee SessionNameInputDialog: allow to setup title and button
Change-Id: Ifd08f51b12748814b50192e54789d9b036aaaca3
Task-number: QTCREATORBUG-18272
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2017-05-30 09:49:49 +00:00
Tim Jenssen
89639b0bf3 refactor sessiondialog a bit
- made code more local by moving clicked slot to lambda
 - use class initializations
 - move default value inside the constructor to reduce arguments

Change-Id: I98735a0b4c69ea538ed1af6133ef1054039a1b11
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2017-05-30 09:49:20 +00:00
hjk
76185b3b09 QmlProfiler: Convert to a RunWorker based setup
This also re-enables the remote linux case and enables
the recording of a single run of events.

Change-Id: I9ea55017c8e5f2f17e6f32c5453df48093e41931
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-05-30 08:57:08 +00:00
David Schulz
15c07af282 Debugger: Filter type names before looking them up
Change-Id: I55a705076c635d770c6c0c7cc467c1b30faf6e87
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-05-30 08:40:40 +00:00
David Schulz
2317d06a80 Debugger: Add DumperOptions to the cdb fetch command
Change-Id: Ibe05f82997b57cfffb26bfb5c67681be24419139
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-05-30 08:40:33 +00:00
Jake Petroules
5a858d7fed Add missing 64-bit ABIs (since API 21) in Android AVD creation dialog
Change-Id: Ife7d978b8c2e6743f34d670e42ac245249c52a88
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
2017-05-30 06:44:30 +00:00