Commit Graph

57165 Commits

Author SHA1 Message Date
Christian Stenger
5224e824ae Utils: Decrease default maximum history size
History completer has been used now in various areas
and storing 30 items for each of them inside the can
grow the settings quite a lot.
Limit the default to a sensible value - if one of the
history completer needs a higher maximum this can be
raised from the using code.

Change-Id: I5b0bdaa74c1be29f981593f840d5605b75bd17c5
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-10-23 10:44:25 +00:00
Robert Loehning
d3cc6db57b Debugger: Move HTML out of translated string
Change-Id: If62850c782feb73ed469f6aa6e57ad2bc34006bc
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
2018-10-23 09:54:18 +00:00
Eike Ziller
66ed57ce3e More change log for 4.7.2
Change-Id: I96f8678b0f0658aa72689fcefa410c5e26af50e9
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
v4.7.2
2018-10-23 09:33:48 +00:00
Robert Loehning
4032f6383a Fix frequent typo
can not -> cannot

Change-Id: Ie872ada1bc9b4ed64bffb667c2e44dbb13b4ad11
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2018-10-23 09:30:20 +00:00
Robert Loehning
7ae7f921ab Android: Move HTML out of translated string
Change-Id: Id5ec3ef43fec1d81b6a9e976732d58ab6f6a461d
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
2018-10-23 09:29:59 +00:00
Eike Ziller
b605ad61bc iOS: Work around mismatch of USB serial and iOS device id
Currently we track connection of devices in the iOS plugin via USB,
using the USB serial number as a device identifier (iosdevice.h/cpp).
On the other side, iostool uses the MobileDevice framework to identify
iOS devices (iosdevicemanager.h/cpp).

The assumption that the two identifiers are the same seems to be no
longer true with the iPhone XS devices. These have a device identifier
that contains a dash that is not present in the USB serial number.

As a hotfix, just remove any dashes from the identifier on the iostool
side because we only use it for the lookup deviceId -> AMDeviceRef
anyhow.

The longer term fix should be to use MobileDevice framework for the
connection tracking of devices on the iOS plugin side as well, instead
on relying on questionable assumptions.

Change-Id: Iac3115a1c3f43a4f9e159aaa4ded1c671c55d888
Fixes: QTCREATORBUG-21291
Reviewed-by: Jason Hihn <jhihn@gmx.com>
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
2018-10-23 09:17:35 +00:00
Christian Kandeler
29f64ea2fa SSH: Add missing check in key exchange reply handler
We claimed to support the diffie-hellman-group14-sha1 protocol, but
forgot to actually handle it.

Change-Id: I3193997d7270328700486a15a6281ebf8528ed56
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2018-10-23 08:29:23 +00:00
Leena Miettinen
4599a9b433 Doc: Describe changing default editors in MIME type settings
Change-Id: I8d9b9400932c564248f5b654cc72c4c794c778ec
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-10-23 07:18:25 +00:00
Nikolai Kosjar
cfbf2559f4 Clang: Fix naming conventions for *ModelManagerSupport* classes
We use "Builtin" and "Clang" as prefixes, not suffixes.

Change-Id: I6926aeb8f005176ef420c4421c257e3df61ee0b7
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2018-10-23 06:12:29 +00:00
Eike Ziller
e3021b7178 Fix crash in folder navigation widget
We want to delay updating the crumble path, but we may not keep and pass
around the QModelIndex, since that can become invalid.

Change-Id: Id0c1ffb046dda1fb3bc09801fd1952787f9919fa
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-10-23 05:46:25 +00:00
Robert Loehning
6d93247f30 Clang: Remove default windowTitle from translation
Change-Id: I1fc7c9592a946279b7718033992560ce39e3803d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
2018-10-22 16:20:58 +00:00
Robert Loehning
a4d6c2d895 Core: Make variable descriptions consistent
The others aren't in imperative form, either.

Change-Id: I7af7b0ddcdf409d952223225bd901c84b9136bc6
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2018-10-22 16:20:20 +00:00
Robert Loehning
84679827ae Git: Move HTML out of translated string
Change-Id: Ib386531b45ddfcc087472602b5a8019796c7ec03
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2018-10-22 16:19:47 +00:00
Robert Loehning
d68c2e5f68 Debugger: Remove wrong white space
Change-Id: Ie3f9ebf0da7eb62748584e691495f4805e2faab0
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2018-10-22 14:28:22 +00:00
Robert Loehning
a8d7142873 Debugger: Remove redundant dot
Change-Id: If9a3ac99ce50e269228d469a4b361f0c273ce703
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2018-10-22 14:26:32 +00:00
Leena Miettinen
7df0b9eb7b Doc: Add Pastecode.Xyz to the list of supported code paste services
Change-Id: I185566ac89350bdbddeab7b1540329ebb8828066
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2018-10-22 13:25:04 +00:00
Leena Miettinen
90af97cd01 Doc: Hide info about creating snapshots
The functionality is being reconsidered and will change again.

Task-number: QTCREATORBUG-21359
Change-Id: Id7a6dbea4e3a947dc5fd3005a2ed87682bab9283
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
2018-10-22 13:24:51 +00:00
David Schulz
45666dc932 Debugger: Do not interrupt twice
Fixes unwanted interrupt after setting a breakpoint to a running
inferior.

Change-Id: I8d24fd4beff53fa74f92d2134866d418745fa747
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2018-10-22 13:01:00 +00:00
hjk
dbacbffa7c Debugger: Remove unused BreakHandler::setBreakpointEnabled()
Change-Id: Ie7ef810e72b3d02663b425c687407cdd2b0cea52
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2018-10-22 11:12:53 +00:00
Leena Miettinen
0eb8c95c77 Doc: Describe selecting the terminal to use on Linux and macOS
Change-Id: I6d1b47f1829ecceef13d1ae23c5d05c22112e94f
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-10-22 11:05:17 +00:00
Andre Hartmann
30b3b1c6e0 QMake: Use option for parallel make jobs
The job option was already available in MakeStep::allArguments(),
but not in MakeStep::userArguments() which is used by QmakeMakeStep.

So while the job option was already correctly set in the projects
setup widget, it was not used.

Amends 005b0c1147

Change-Id: I39799f9d1c65bf78884f5bc4c58cb66d803785bc
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-10-22 09:47:11 +00:00
Robert Loehning
8e54095d07 QmlProject: Capitalize consistently
Change-Id: I61c5db4008adf0dead0421a2d223a9d4d2586966
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2018-10-22 09:08:06 +00:00
Robert Loehning
824d29d0e2 Debugger[CDB]: Make title more clear
Change-Id: I27e80605f73f4da8874621da48731c0bd966a294
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
2018-10-22 09:06:06 +00:00
Alessandro Portale
0e2e724dd5 CppCheck: Add a category text and icon to the Option page
All analyzer plugins need to set these for the case that they are the
only loaded analyzer plugin.

Task-number: QTCREATORBUG-21354
Change-Id: Ibb889ef2f4e2c10ebc9927301607b7539066b5ea
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-10-22 08:36:12 +00:00
Eike Ziller
1cad74a7d4 Merge remote-tracking branch 'origin/4.7' into 4.8
Change-Id: I9665e3ae097f3d472692254d7f1fee0fe5757fb5
2018-10-22 09:47:05 +02:00
Eike Ziller
496ecfc88a Fix Linux & macOS build in release
msvctoolchain.h/.cpp is only available on Windows (except if tests are
enabled...)

Change-Id: Id2ad5bd0945f1f1c21ca6a3a08e8bc4d5f50c3ed
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: David Schulz <david.schulz@qt.io>
2018-10-22 06:53:42 +00:00
Alessandro Portale
5c114a046d LanguageClient: Use FancyLineEdit in MimeTypeDialog
Adds "Filter" as place holder text and a clear icon.

Change-Id: I24641f4f575cb9af059257b7d8806fd8c843d423
Reviewed-by: David Schulz <david.schulz@qt.io>
2018-10-22 05:48:58 +00:00
Christian Stenger
24916aa0d3 Debugger: Fix handling of enabled state of PDB breakpoints
Change-Id: Iaa4a7d90e0b5f6ca51acc576b066dcdba9a4efca
Reviewed-by: hjk <hjk@qt.io>
2018-10-22 04:48:52 +00:00
Christian Stenger
c66b2cdef7 Debugger: Fix removing breakpoints for pdb
...if the break point has not yet got a response id we
end up in an interactive prompt of pdb asking for the
breakpoint to remove. Avoid this as this leads to other
follow-up problems.

Change-Id: Ifa2b5385b61af6bf05b816c8e82d2b515525805b
Reviewed-by: hjk <hjk@qt.io>
2018-10-22 04:48:42 +00:00
Christian Stenger
eebfc5f5de Debugger: Remove wrong state transition
Change-Id: Ie199370e6dc9e8c3efe293be76cb89feacb8d4c5
Reviewed-by: hjk <hjk@qt.io>
2018-10-22 04:48:26 +00:00
David Schulz
b626a097c1 Debugger: always report that the debugger stopped when hitting a bp
...not only if the response id is known. Fixes stepping out with cdb..

Change-Id: I07dfc2b89703d5d0df80a30a658274529a68d18c
Reviewed-by: hjk <hjk@qt.io>
2018-10-22 04:46:42 +00:00
Andre Hartmann
322dcadf73 Remove ancient TODO file
Change-Id: I72343901c730cc7c573a784015453c3f50976df2
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2018-10-21 08:17:19 +00:00
Leena Miettinen
005d0353d5 Debugger: Fix UI text
Change-Id: Ib247a2accb592cefdbab0fe7495d6eae1cb0dba8
Reviewed-by: hjk <hjk@qt.io>
2018-10-19 13:06:41 +00:00
Leena Miettinen
5562cc7cfb Help: Add ellipsis to a menu item label that leads to a web site
Change-Id: Id273a8508c8393580c6b9222f95aa4033e9eca9a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-10-19 12:28:58 +00:00
Leena Miettinen
3b59ea6535 LSP: Fix capitalization of UI text
Change-Id: I4da433bcb3d313782f100775a8553df9d9aadf7e
Reviewed-by: David Schulz <david.schulz@qt.io>
2018-10-19 11:55:55 +00:00
Leena Miettinen
cacc0bf9e7 Cppcheck: Add missing space to translatable string
Change-Id: I87924a6b8dddf51d7dafae88176686746417acd5
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2018-10-19 11:55:42 +00:00
Leena Miettinen
22547c1ca4 LSP: Fix punctuation and capitalization of UI text
Change-Id: Ifc04d979ec7e989ed50d6af23d18819dd91dc0be
Reviewed-by: David Schulz <david.schulz@qt.io>
2018-10-19 11:55:29 +00:00
Alexandru Croitor
89fe2681f7 [Debugger] Add dumpers for Python "PyObject"s
The dumper calls PyObject_Repr and shows the result of that as the
value of a PyObject.

It also adds three new sub fields to show the object class (type),
super class (base class), and the meta type (the type of the class
object).

Change-Id: I0612833321f6d2b50826588e775cfa12e1db28e4
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2018-10-19 11:17:36 +00:00
David Schulz
99d65ffba5 LSP: Suppress auto completion on perfect matches
Change-Id: I5c59d0e51a219706db5d0fbb72fea9dbe809b1d5
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2018-10-19 11:09:45 +00:00
David Schulz
17e6cb5ff7 ProjectExplorer: do not send non existing debug output
Task-number: QTCREATORBUG-20848
Fixes: QTCREATORBUG-21215
Change-Id: I55366b42a94721ea800d0babe72f24d343d55de2
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-10-19 09:28:34 +00:00
Christian Kandeler
79a7f5e406 Update qbs submodule
To HEAD of 1.12 branch.

Change-Id: I00ab57553c0ef6c1c800bb3c9768d6fd94fd7274
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2018-10-19 09:17:20 +00:00
Christian Stenger
3cdb35dc4a LSP: Restart client if language filter settings change
Alternative way to the more complex way of de-registering
opened documents from the respective client that do no
more match the language filter settings.

Change-Id: I1968a928480e49cf203b91d7d36cf7db26f6d56c
Reviewed-by: David Schulz <david.schulz@qt.io>
2018-10-19 09:01:14 +00:00
Christian Stenger
49e65ad582 LSP: Sort available MIME types
Makes it easier to find what you are looking for.

Change-Id: I98d083e908c7144ad6aa81cde888ba531ff0be33
Reviewed-by: David Schulz <david.schulz@qt.io>
2018-10-19 09:01:08 +00:00
Leena Miettinen
626b976949 Doc: Add info about experimental Cppcheck plugin
Change-Id: If65414586c159d7391574523dde67f12ea93a439
Reviewed-by: Sergey Morozov <dev@gres.biz>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2018-10-19 08:55:47 +00:00
David Schulz
5719adc47c LSP: rerequest completion if contents change while processing
Task-number: QTCREATORBUG-21108
Change-Id: I6ca7920e7099dba0ba1bc953a2e6296bd86c1dc1
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-10-19 08:46:13 +00:00
David Schulz
279a11f46b Utils: Fix comment of convertPosition
amends 931ec39f64

Change-Id: I3a9255b2a1406d6032a42f61c2e403a2b080c372
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
2018-10-19 08:44:48 +00:00
Eike Ziller
d810c5b77f Fix crash when pressing wrong shortcuts in welcome mode
Fixes: QTCREATORBUG-21302
Change-Id: Ib7e50f3cbd3e6e8f995b8cda7ad965f0cafde511
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2018-10-19 08:29:31 +00:00
Thomas Hartmann
7bff611ee1 QmlDesigner: Call all Component complete handlers
We have to ensure to properly call all Component complete handlers.
A single component usually has QQmlComponentAttached objects,
which we have to iterate over.

Therefore emitComponentCompleteSignalForAttachedProperty() is not correct.

Task-number: QDS-269
Change-Id: I4aed5d511f9f6e21f72efb955fc6db21b70e7c42
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2018-10-18 14:41:57 +00:00
Leena Miettinen
673a115703 Doc: Hide an image from the Qt Design Studio Manual
Change-Id: I39ad9bec97d5ad975eb33fe806a2610e6c7508a5
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2018-10-18 14:02:02 +00:00
Eike Ziller
4dbc62a47e Fix soft assert when adding file to subfolder in generic project
We can only select a node directly in the wizard summary page's project
tree, if that is actually listed there.

Task-number: QTCREATORBUG-21342
Change-Id: I52b3db8c38ae2bb59b3f6856e79354ca60a00140
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2018-10-18 12:30:04 +00:00