Commit Graph

7857 Commits

Author SHA1 Message Date
Tim Jenssen
d5342eff77 fix property spelling
Change-Id: I00f84ec8d2c83d7f3937d2e21a24e02ba28991b3
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-07-17 10:38:08 +00:00
Eike Ziller
9b000b7b80 Merge remote-tracking branch 'origin/4.4'
Change-Id: Ia013f44f432d9c4dcc2e9626b9b3c9d7fa84b623
2017-07-14 14:24:25 +02:00
Christian Kandeler
c1c0255a19 Update QML type descriptions for qbs
Change-Id: I386fcec239dabd34715129f0ed750d71dd0b568c
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
2017-07-14 08:03:21 +00:00
Robert Loehning
52957d22b2 Fix typo in Russian translation
Task-number: QTCREATORBUG-18546
Change-Id: If4d41b590a935c3661748f26c628525f238e6a88
Reviewed-by: hjk <hjk@qt.io>
2017-07-13 17:01:04 +00:00
Eike Ziller
d522ec373f Merge remote-tracking branch 'origin/4.4'
Change-Id: Iec15792ab28b3d34234d8e564a8ee33808772fa8
2017-07-12 10:52:25 +02:00
Eike Ziller
5a1a20f2ee Merge remote-tracking branch 'origin/4.3' into 4.4
Change-Id: Ifb1dcc847ba4b32a79b349955fad5207e402cb7b
2017-07-12 10:50:49 +02:00
Thiago Macieira
d6b6a88753 Debugger: print QFlags and bitfields as hex
It's a lot more useful to see in Qt Creator:
  QAbstractFileEngine::FlagsMask (0xff00000)

Than
  QAbstractFileEngine::FlagsMask (267386880)

Change-Id: I8d96dea9955d4c749b99fffd14cd690574b433e5
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2017-07-11 23:57:19 +00:00
Marco Benelli
6c41fafbb6 Qmlpuppet: add missing includes
Task-number:  QTCREATORBUG-18498
Change-Id: Ie40a066508bb52f53b8ad528f9d4cf6969fc0632
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2017-07-10 08:48:46 +00:00
Christian Stenger
2cacf24b18 Dumper: Fix exception when accessing empty items
This also fixes accessing 'this' when located inside a
different thread.

Task-number: QTCREATORBUG-18466
Change-Id: Ib90cc23c65c033a234d3f7cf9b1ba76abff719e2
Reviewed-by: hjk <hjk@qt.io>
2017-07-07 09:38:10 +00:00
hjk
1a16caf221 Debugger: Don't list static members of items in arrays
To properly access a static member we need a nativeValue which we
don't have in the expansion of an array.

Not showing static members in that case is a compromise between
LLDB behavior (never show statics) and showing something wrong
(see the linked bug report)

Task-number: QTCREATORBUG-18366
Change-Id: I688779224a89d4ecbc47dd5623922efb32be9c4c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2017-07-05 08:17:42 +00:00
Orgad Shaneh
5f973de952 Merge remote-tracking branch 'origin/4.3'
Change-Id: Ib5405ed2c3356f65b49fe2f454f8ac2e0de44ef6
2017-06-26 08:24:26 +03:00
Thomas Hartmann
3944c73c51 QmlDesigner: Fix combobox for font family
The editable combobox had some serious issues.

I changed the signals we react to and the properties
we use.

We react on activated to change to fonts in the model. For some
reason using currentText does not work reliable.
We have to retrieve the current etxt manually using
textAt().

We also react to accepted to changes in the text edit.
Here we simply use editText.

We also react to selection changes and change
the font.

Change-Id: I99abd7609f8b64ef446ce154aed0c2a61dfa00f9
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2017-06-23 08:50:27 +00:00
Orgad Shaneh
25f5710df2 Dumper: Use correct integer value for enums
In case of an enum bitfield

Change-Id: I1e7756d5dffb4d81030795c495f2474a77c50452
Reviewed-by: hjk <hjk@qt.io>
2017-06-20 16:26:57 +00:00
Marco Bubke
f34324d419 Add old default text style as Default Classic
Change-Id: Id38993095862a0f2097598ee9000dbcdc77b6030
Reviewed-by: hjk <hjk@qt.io>
2017-06-20 16:00:09 +00:00
Orgad Shaneh
687466ac47 Merge remote-tracking branch 'origin/4.3'
Change-Id: I126f3a05212a3d5df78812e66285bc9e8078360b
2017-06-20 11:32:02 +03:00
Marco Bubke
17b197f303 Use declaration and output argument in dark style
Change-Id: Icca770dfbeedd6207960202ea4b42c2045f320ef
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2017-06-19 15:43:42 +00:00
hjk
b129cebccc Debugger: Fix manual splitting of complex template parameter types
Parsing has to stop at the first < (coming from the end).
foo::span<int>::bar<double> has a parameter 'double', not 'intdouble'.

Change-Id: Ied142d5e75a7587d6c0efd3b51608b199b999e93
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2017-06-19 09:24:38 +00:00
hjk
a25f394f68 Debugger: Add dumper for std::{optional,byte} and gsl::{span,byte}
Change-Id: I7e06214bfd2ace91f480b73bb370e5dc6297c502
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2017-06-16 15:31:31 +00:00
Jarek Kobus
dad2c11d3a Update Polish translations
Change-Id: I35cdd493dca5fb0e105a029880ea3f5b66b2dfef
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
2017-06-15 15:53:18 +00:00
Tim Jenssen
0448ac5ce2 add style icons to wizards
Change-Id: Ia5741e68d9ce0a812080bfba7b120f5d5575c210
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2017-06-13 11:03:12 +00:00
Orgad Shaneh
325eaf4a62 Fix internal C++ code model dumpers
Change-Id: I8a6f9b5e5abb27c9a96bf573f517aff26f9f2b38
Reviewed-by: hjk <hjk@qt.io>
2017-06-13 05:54:50 +00:00
Orgad Shaneh
3eb36b556f Dumper: Add bitfield value in debugging message
Change-Id: I353e85b5b6999f85e93eed18ac0cf414c1c46066
Reviewed-by: hjk <hjk@qt.io>
2017-06-13 05:53:27 +00:00
Orgad Shaneh
a9145e67ba Debugger: Prettify values for enum bitfields
Change-Id: I55329bba1864c9ebbbcb3b3bf1b940346507f8cd
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-06-12 10:40:46 +00:00
Nikolai Kosjar
1f7403797a Snippets: Add struct snippet
Change-Id: I8c1e486d752ac0eaddbb1d7909a0e9b50382cc87
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2017-06-12 09:36:57 +00:00
Orgad Shaneh
6b0e1bc5f8 Merge remote-tracking branch 'origin/4.3' into master
Change-Id: I83af635dcac98e4fd78b21d8dd9dc3a27a4fdf94
2017-06-12 10:01:16 +03:00
Sergey Belyashov
08ae312dce Update Russian translation
Task-number: QTCREATORBUG-18305
Change-Id: Ie6cb90054b2d562c0c73a3fc7307d7835cd78853
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
2017-06-08 12:06:25 +00:00
J-P Nurmi
67b460b6cf qt5QtQuick2-bundle.json: add missing modules and versions
Change-Id: Ic101cda0a4b17557a8c04590fec22812331b189b
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Marco Benelli <marco.benelli@qt.io>
2017-06-08 09:51:31 +00:00
Robert Loehning
d12dc00a79 QmlDesigner: Remove unused member
Change-Id: I646ebaed1179fd679b67ec8c942d7b8a592e9900
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2017-06-07 10:13:58 +00:00
Orgad Shaneh
d7d415491a Dumper: Fix type of lvalue for bitfields on GDB
Change-Id: Ic0e82fc012eb1277a74ff2e63fdc0a13caaf5f1c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-06-07 07:37:47 +00:00
Mitch Curtis
377979fe5e Update wizard template icons
The icons have been redesigned to have a more consistent and clean look.
The colors work well with both dark and light themes. The dimensions of
the icons have been made larger in order to facilitate their use in an
icon grid.

A follow-up commit will add more wizard templates that make use of the
larger icons in order to depict various Qt Quick UI layouts.

Some icons (Qt Quick Application, Qt Quick Controls 2 Application) were
unchanged, as the follow-up commit will remove them in favor of
more specific templates.

Task-number: QTPM-395
Change-Id: I5804c3fb92c60e53e1380cfb05d4c7f14e877d8a
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2017-06-06 12:22:06 +00:00
Orgad Shaneh
e9491870bd Dumper: Do not use None for bitpos
It causes an exception when being divided

Noticed with boost::icl::interval_set.

Change-Id: I5629436c3c1ba10e7b67bb05d720329f4c61eafe
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-06-06 07:13:05 +00:00
Orgad Shaneh
89057b552b Merge remote-tracking branch 'origin/4.3'
Change-Id: I56004e3ec9dc9d92d33bdae438c4f7e069eccc45
2017-06-02 15:13:51 +03: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
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
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
Orgad Shaneh
8204014007 Debugger: Fix unnamed typedef resolution
typedef enum { Value } Unnamed;
struct Foo { Unnamed u; };

int main()
{
    Foo foo;
    return 0; // Expand foo -> not accessible
}

Change-Id: I4231314ef92bb1896d287ae5eb3200d4d53cf4db
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-05-30 05:48:48 +00:00
Jochen Becher
89a6ec4db3 Modeling: Add project management page to wizard
Change-Id: Ia70d397b7e9489eab35264624aa78ee63be99ca8
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2017-05-29 18:59:05 +00:00
Orgad Shaneh
37b415379d Dumper: Introduce Value.__sub__
Change-Id: I27bf57e614630ac7b5bedb7f07e487676443f513
Reviewed-by: hjk <hjk@qt.io>
2017-05-29 10:37:37 +00:00
Orgad Shaneh
8430da3bf7 Merge remote-tracking branch 'origin/4.3' into master
Change-Id: I01ab8c85ea3372b6dce4142ddb9cf92d903ffca6
2017-05-23 23:41:40 +03:00
Tor Arne Vestbø
9b3ad89dcd Make Qt python pretty printers available inside LLDB/Xcode
The LLBD bridge can be imported from the users's ~/.lldbinit:

    command script import "<path to lldbbridge.py>"

Or by relying on a (future) debug script in the QtCore dSYM bundle.

Change-Id: Ia099dcebc6375d38ae2d75c939bb5669e30e4b2c
Reviewed-by: hjk <hjk@qt.io>
2017-05-19 14:03:46 +00:00
Tor Arne Vestbø
4eac9533e1 Make sure lldbbridge.fromNativeValue always sets value name
Change-Id: I40296843bcbc504d6271a1f30ac4f8c4a1a2fe85
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-05-18 09:33:54 +00:00
hjk
d728317c87 Debugger: Add a dumper for QProcEnvKey
Makes spotting variables in the process environment easier.

Change-Id: I5841cf299840082ff62d96bcb57386a0352ee08d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-05-16 14:17:33 +00:00
Friedemann Kleint
cf807253e4 QML application wizards: Add code to bail out on load errors
When something goes wrong with deployment or there is a syntax
error in the QML files, the old code would enter the main
loop not showing any windows. Worse, the binary is then locked
on Windows and cannot be overwritten. Add a clause checking
whether there are any root objects and bail out on failure.

Task-number: QTBUG-60764
Change-Id: I3620a09ec4331dc04a5194dfd2ece2ff44bdc429
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2017-05-16 14:04:03 +00:00
Tor Arne Vestbø
5bc796094a Allow custom handling of python Dumper warnings/exceptions
Change-Id: I04108a09c317675d597bb6d0d58331c70ce02fb9
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-05-16 12:38:16 +00:00
hjk
99ac955664 Debugger: Fix display of pointers as arrays
Task-number: QTCREATORBUG-18204
Task-number: QTCREATORBUG-17803
Change-Id: I4efe359c206b53ef773127cf29107d3cce720819
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-05-16 11:55:58 +00:00
Thomas Hartmann
567a99c5aa QmlDesigner: Replace SwipeView with StackLayout
In the designer we replace a SwipeView with a StackLayout.
Form the perspektive of the designer they are the same
and StackLayout is easier to handle.

Change-Id: I308ec209024e22db9f56e363e27588a40283603c
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2017-05-15 15:50:48 +00:00
Eike Ziller
64b19af7dd Merge remote-tracking branch 'origin/4.3'
Conflicts:
	qbs/modules/qtc/qtc.qbs
	qtcreator.pri

Change-Id: I6d89ea588de955f5d878500b59285d3adde6c77d
2017-05-15 15:31:55 +02:00
Oswald Buddenhagen
d0f3f7f7e5 remove executable permission from .ts file
Change-Id: Ie5817708c942523721421a4c1c9d553ec1bf2be0
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
2017-05-12 12:44:48 +00:00
Orgad Shaneh
f603a115d0 Dumper: Put object address for pointer also when it is not dereferenced
int main()
{
    int foo = 42;
    void *bar = &foo; // bar has no object address
    return 0;
}

Change-Id: I917c2976bd618c096bfd704abff8b3538e38a0d3
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-05-12 08:04:21 +00:00
Eike Ziller
6e8ee7479e Merge remote-tracking branch 'origin/4.3'
Conflicts:
	src/plugins/debugger/cdb/cdbengine.cpp

Change-Id: Ib9aeccc4162c43e9ee3d85847d96678045625dd0
2017-05-09 15:07:30 +02:00