Commit Graph

5173 Commits

Author SHA1 Message Date
Thomas Hartmann
61dbd2011c QmlDesigner.PropertyEditor: remove print
Change-Id: Id0793040984c314c4886c0f682928220b36f242b
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-31 14:24:13 +01:00
hjk
afe4da2770 Debugger: Don't search for object names in non-QObjects
Change-Id: I9f7f944ed9dfccfe36d2610dd70908b8bb10727e
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-31 13:39:41 +01:00
hjk
075f55e0b9 Debugger: Memorize results of pointer lookups
Change-Id: If3dfdd21ac0737af7ee205b376b57d6e58ff6f91
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-31 13:39:08 +01:00
hjk
47afc21328 Debugger: Remove unused Dumper.intPtr function
Change-Id: I7716dbcfa028556647758611e279012eaae4928a
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-31 13:38:15 +01:00
Thomas Hartmann
401d28a0d2 QmlDesigner.PropertyEditor: adding WindowSpecifics
Change-Id: Ibbbbe1baaf038d2a06466cb94b73c9ba3807a5e4
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-31 12:52:06 +01:00
Thomas Hartmann
6dd6ba5b9b QmlDesigner.PropertyEditor: adding QtObjectPane
Change-Id: I6eb96b7900cfe42a7b8df9215aecb57811bdf42c
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-31 12:51:55 +01:00
Thomas Hartmann
584a49c265 QmlDesigner.PropertyEditor: fix for ItemPane layout
An empty loader messes up the layout.

Change-Id: I6405fcc16a30ad012b517009ef7308138dbca836
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-31 12:51:36 +01:00
Thomas Hartmann
9a79ad64bb QmlDesigner.PropertyEditor: fix for anchors
Change-Id: I5f06a8aa93dc7fe9d825e3e403553483353fbc4f
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-31 12:51:25 +01:00
hjk
a84963ec38 Debugger: More restructuring of globals in dumpers
Change-Id: I6cb45097dd355a9362c0555504871210ff712bdb
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-31 10:44:39 +01:00
hjk
e159fd4920 Debugger: Remove some workaround for GDB 7.1 in dumpers
We require 7.4 nowadays.

Change-Id: I9686e9ee751a19e765e72a5f0086889dc4a051da
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-31 10:44:22 +01:00
Eike Ziller
0cae053d11 LLDB: avoid python backtraces destroying all data
Change-Id: I1ea7ccad208c00d11e0579de219739cbabab8455
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-31 09:40:12 +01:00
Thomas Hartmann
d6274b1fc5 QmlDesigner.PropertyEditor: remove target selectors
Not ready dor 3.0.

Change-Id: Ibf2632005873c1a2291ca230fa12d9374f606a92
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-30 19:41:23 +01:00
Thomas Hartmann
b38c47ae51 QmlDesigner.PropertyEditor: Add cooom web fonts
Change-Id: Ied67f71a6d1bee686e3cb881d3a8a567717873d6
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-30 19:41:14 +01:00
Eike Ziller
b620716342 LLDB: Fix command reading loop
It could entirely miss commands sent by the engine.
The loop was waiting for something to come into stdin, but always only
read a single line from it, although it possibly already contained
multiple lines.
The patch simplifies the loop by removing the select() call entirely
and solely using sys.stdin.readline() which blocks anyhow.

Change-Id: Iff12aa051bb6e11c5ba30081d7c9d4e98940e231
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-30 18:04:13 +01:00
hjk
e176013140 Debugger: Move some global variables to the Dumper class
Change-Id: I5c8fd8a48f27ac70e6e39f645d64dcd788752e73
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-30 17:22:14 +01:00
Eike Ziller
f7fa44d48a dumpers: Add test for QUrl() and fix it
Change-Id: I84d4963210784dd982e897fd57dc9e5fad086aef
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-30 17:03:54 +01:00
Thomas Hartmann
c75659981f QmlDesigner.PropertyEditor: fixes combobox width
Change-Id: Ibcbe359cd4418fbad7f15a954836d837c42b4357
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-30 16:22:40 +01:00
Thomas Hartmann
0c69690787 QmlDesigner.PropertyEditor: fix layout of PathViewSpecfics
Change-Id: Ic9023d0f17fd359ad4b1ca39429d005c75627c4d
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-30 16:00:47 +01:00
hjk
068a2909cc Debugger: Don't recreate gdb dumper object every time
This allows for easier caching of "expensive" information.

Change-Id: I97f272c795483250bd00a0ff899cb8c27b0ab6e9
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-30 15:20:56 +01:00
hjk
700eca4b21 Debugger: Make memory accessible again with gdb < 7.4
gdb.selected_inferior is too new for now.

Change-Id: I4290574b6dd2803a2fd2f860700693e7b2ac6efb
Reviewed-by: Rainer Keller <rainer.keller@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-30 14:08:50 +01:00
hjk
dbb95ba7f2 Debugger: Fix pointer dereferencing in gdb dumper
Size depends on target arch, not host arch.

Change-Id: I8d7875159910f94b332967d14fa654a899f954fd
Reviewed-by: Rainer Keller <rainer.keller@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-30 14:08:23 +01:00
Orgad Shaneh
a99c45d437 Rename Qt4 => Qmake in translations
Change-Id: I2794fed3f59669d8fa8bfa197208472447be19d5
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Yuchen Deng <loaden@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-30 14:07:38 +01:00
Thomas Hartmann
dc434e8e28 QmlDesigner.PropertyEditor: fixing templates
Change-Id: I37f9691a320cdf4c63f7de72b2384624b5f67132
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-29 16:07:14 +01:00
Thomas Hartmann
262a1e262d QmlDesigner.Qml2Puppet: fixes for composite types
Composites types need their own code path.

Change-Id: Ia1b14bf4f8519f786c08b94f168ec369d79defc0
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-29 14:30:05 +01:00
hjk
b42a1b5918 Debugger: Enable exception hiding with LLDB
Closer to "production behaviour"

Change-Id: Id72a667cdc44c5102b574db30b6e806ab1deba83
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-29 14:25:11 +01:00
Fawzi Mohamed
c162ba1391 ios simulator debugging
Change-Id: Ieee4a509b46da937c3bce21f72c77685946db4dd
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-29 14:03:58 +01:00
Frantisek Vacek
ac71bee072 Qnx: Cascades project template is obsolete
Qt Creator QTCREATORBUG-10375

The old Cascades template application was more sample than template
and it was simplified.

The application UI object name doesn't follow the project name anymore.
This change was introduced because C++ class name rules are more
restrictive than the project ones. More than that, it is harder
to start with some test project and then refractor it to some real one.
There is no gain to have UI object class name same as the enclosing
project one.

The application icon added to the bar-descriptor.xml

Change-Id: I198f61a631fa2c758f3e8ac377c06ce7560cc911
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
2013-10-29 13:45:45 +01:00
Eike Ziller
d918a32090 debugger: fix QHashNode dumper and QHashNode type check for Qt4
The previous workaround for the Qt 4 optimized int,uint,short,ushort
QHashNode wasn't working for the QHashNode dumper itself because of
unknown key type. Instead we first try to find the 'key' child directly,
if that fails we look for it in the second child (which would be the
anonymous union from the optimized hash node, which contains the key).

Also fix the expected type for QHashNode in the optimized case for Qt4

Change-Id: Ib48c2c0afec081ff38cd750c3d515a5e678e9661
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-29 12:40:46 +01:00
Eike Ziller
bc16e88288 dumpers: share the code for extractTemplateArgument
Change-Id: Ic1b03d2dffdfb7ba6ead191601127b54af38b3cd
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-29 12:25:26 +01:00
Eike Ziller
7ba935c44b debugger: Fix QDir dumper for Qt4 64bit
Also make the structure more self-explained

Change-Id: Ia5080f4e07e2a8b7c6b18e1353a4cf1cf3488361
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-28 16:41:10 +01:00
Eike Ziller
48007785b0 debugger: Fix Qt4 QFile dumper
Change-Id: Ifd2caaef4d0c286f2855175acb2dc1b835213c37
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-28 16:40:50 +01:00
Christian Stenger
c726f3c47e Dumpers: Fix standard types (C++11) for old gcc
Change-Id: Ic208a45f6d0c7419d83dccd78b552c734421c953
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-28 16:37:10 +01:00
Eike Ziller
a3c4fe1ff2 dumpers: Fix QHash<int,...> dumper for Qt4
In Qt4 (u)int hashs are optimized and the key is inside an
anonymous union, so, at least with LLDB, we cannot reference
"key" directly as a child of the QHashNode

Change-Id: Id7cac3d08fa85af599f2b2564a6b1f11b465c7b2
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-28 12:50:55 +01:00
Christian Stenger
1ca3da6117 Dumpers: Fix dumper for QVariant holding QList for old GDB
Change-Id: Id34806f06546ad9a6618f9b9431143465a988c1d
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-28 12:50:32 +01:00
Eike Ziller
c6faedf1c7 debugger: generalize is32bit() through ptrSize()
That also makes lldb dumper actually test for bitness instead of
assuming 64bit

Change-Id: I6207bac04817e1f4700247dc00d2dfdace1e5100
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-28 11:27:47 +01:00
hjk
0190eb59f9 Debugger: Show shadowed variables with LLDB
Change-Id: If93547396384fe5b421c4b601b52476a23cdfa89
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-25 16:12:03 +02:00
jkobus
deeeda162d Remove unneeded space
Change-Id: I7e7335bd8b3ef2816abe07a3c5dc6cf2b86afc3b
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2013-10-25 14:23:34 +02:00
Friedemann Kleint
357ea64797 Message fixes in QML-Designer.
Change-Id: I309b3b74b0760b8b1a89c0f85ffb52cc875e5d85
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2013-10-25 08:23:25 +02:00
hjk
7f5366796c Debugger: Fix display of vector extensions with LLDB
Like char __attribute__ ((vector_size (8))) ...

Change-Id: Ie93547396384fe5b421c4b601b52476a23cdfa89
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-24 18:49:27 +02:00
hjk
ab92c14bbe Debugger: Fix std::complex dumper for LLDB
Change-Id: I5ffb0f60039bb05f8467e925e71cf710a0712791
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-24 18:19:54 +02:00
hjk
6c673a042f Debugger: Fix std::deque dumper with LLDB
Change-Id: Idd3547396384fe5b421c4b601b52476a23cdfa89
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-24 17:40:22 +02:00
Eike Ziller
9a57a41a7a Fix QDateTime dumper with various Qt versions and bitness
Change-Id: Iba15c1b27dc83e8949fef5fd25de61cc2b20be30
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-24 17:14:54 +02:00
Kai Koehne
9b88e0db32 Update file/directory names for Qt Quick 1 template
Make the names in line with the Qt Quick 2 ones. Also, changing
the directory/filename makes sure the update mechanism of Qt Creator
doesn't update apps generated by the 2.x wizard any more, which
might break stuff.

Change-Id: I4621d5f35eae2102aeba7e77c5cd903511be249f
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
2013-10-24 16:58:23 +02:00
hjk
0b8f3c3e9d Debugger: Continue LLDB event loop after exceptions
Change-Id: I4d3547396384fe5b421c4b601b52476a23cdfa89
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-24 15:29:44 +02:00
hjk
6d4cc2231a Debugger: Handle _Rb_tree_const_iterator, too
Change-Id: I01baa597976ec5f6e84c8c52aff6e617082b1a28
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-24 15:25:40 +02:00
hjk
cd3c084df3 Debugger: Improve QSharedPointer dumper
Make it work with LLDB, show simple values always directly.

Change-Id: I463ef81183792f85243d679dee69a41db00bed07
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-24 15:16:05 +02:00
Thomas Hartmann
9351b1ce35 QmlDesigner.PropertyEditor: adjustment to layout of ItemPane
* Adding some space above the TabWidget
* Avoiding double black lines at the top

Change-Id: I0aedf151b548a665445d4219609738b2ab23c0be
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-24 14:21:57 +02:00
Thomas Hartmann
0cdb0724c2 QmlDesiger.PropertyEditor: adjust background color
Change-Id: I403c37f2cda84980dfe441746f3c5bed7258a4ca
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-24 14:21:16 +02:00
Thomas Hartmann
cc18936d17 QmlDesigner: adjustment of Section(View)
Adjusting the item library and property editor,
so they follow the same style for sections.

Change-Id: I79d3560acff3b126056cf55b81fd21a531f9594c
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-24 14:20:56 +02:00
Thomas Hartmann
4cd8f0b3e2 QmlDesigner.PropertyEditor: adjust TabView style
Styling the TabView in css is problematic and we want to keep
the style in sync. So we use the old style here.

Change-Id: I57ed39a03b4b4c59e9a996ca4e14d4d9fe9dfeb2
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-24 14:20:46 +02:00