Commit Graph

5173 Commits

Author SHA1 Message Date
Thiago Macieira
346733d8a1 Split __m128d (double) from __m128 (float) SSE types
This also removes the display type selection, which didn't work
anyway. __m128 were only displayed as floats.

Change-Id: I2e3df0cd87a21abb0e3d844384e18cb9e5e6a021
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-12-19 23:00:57 +01:00
Thiago Macieira
b076618aa9 Add support for __m128i types in the debugging dumpers
I can't make it display the unsigned char[16] as a string and I have
no clue why. This is all magic to me...

This is good enough anyway

Change-Id: I1d78c01b3baaec8e7d4506552d79a536b573e9a6
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-12-19 22:59:10 +01:00
Guillaume Belz
2a4a41da4e French translation fixes
Change-Id: Iedc2c70e5744b196c62ea20e2769179a9a2e33f4
Reviewed-by: Guillaume Belz <guillaume.belz@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
2013-12-19 11:47:19 +01:00
Oswald Buddenhagen
3955d893f6 remove over-escaped non-breaking spaces
linguist is not able to work with correct non-breaking spaces (cf.
QTBUG-6300 and QTBUG-35652), so we'll have to do entirely without them
for the time being.

Change-Id: Icd36556e141125335899e458102ade5728c6fbaf
Reviewed-by: Guillaume Belz <guillaume.belz@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
2013-12-19 11:47:02 +01:00
Eike Ziller
e035ae6df1 Merge remote-tracking branch 'origin/3.0'
Conflicts:
	share/qtcreator/debugger/stdtypes.py
	src/plugins/qmlprofiler/qmlprofilereventsmodelproxy.cpp

Change-Id: I5d86746d58960e41e01e725ccb2a6c00890f0dfd
2013-12-18 11:02:16 +01:00
Martin Bohacek
fca56658bb Debugger: general underlying container dumper for std::stack
Change-Id: Ic55bdf7b2974aaa7a0b26ac7509288cafc2d5fa9
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Reviewed-by: Martin Boháček <mbohacek@blackberry.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-12-18 10:26:03 +01:00
Jens Bache-Wiig
1193cfa092 Cache loaded items
This is a somewhat different solution for improving the
performance of the welcome screen. It has the added benefit
of caching loaded items while still retaining a decent
performance.

Change-Id: I9927a90f1b7de5bb06c43b16dc80cb2afec3f8ad
Reviewed-by: Ulf Hermann <ulf.hermann@digia.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2013-12-17 16:23:35 +01:00
Eike Ziller
74cc163a06 LLDB: Fix display of bases with multiple inheritance.
It was only showing the "last" one because the inames were the same
(currentIName.None).
Do not overwrite iname of sub item in 'enterSubItem' if it already was
set.

Task-number: QTCREATORBUG-11109
Change-Id: I74581f62d47ff0c33650769c3ed66e24124d1092
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-12-17 13:56:12 +01:00
Thiago Macieira
9dd60b34f8 Fix use of variable before initialization
That's what you get for shadowing a variable... The "childItem" variable
on the second part of the foreach refers to one declared on the first
part, which is uninitialized.

Found by ICC 14.0:
graphicalnodeinstance.cpp(300): warning #592: variable "childItem" is used before its value is set

Change-Id: I9079a428eda90f4bb06f9ccd1adf836fee119133
Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
2013-12-16 21:47:21 +01:00
hjk
869c46a02b Debugger: Fix display of multiple inheritance from std::list
Task-number: QTCREATORBUG-11023

Change-Id: Ia195ff84f7928615b0df5732c6f1a1cd8b401001
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2013-12-16 15:40:21 +01:00
Friedemann Kleint
6c56a065d9 qmlpuppet: Fix compilation with Qt 4.
Change-Id: I9d6b4044fb4ad59c8fd15e878cc377ca838dfb01
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2013-12-16 15:22:37 +01:00
hjk
509426f721 Debugger: Fix QSharedDataPointer dumper
Change-Id: Ie66044e0f5f71ecba509326081d93736e5d3d68a
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2013-12-16 13:42:25 +01:00
hjk
23d6a1a23e Debugger: Add dumper for QTimeZone
Change-Id: I1b20529d7ecdcbf5480e95d6e7be89a2fdb6a8b7
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2013-12-16 13:42:03 +01:00
Thomas Hartmann
6b05e7ce19 QmlDesigner.PropertyEditor: Fixing crash
The designer was crashing when trying to anchor the root item.
The root item cannot be anchored.

Task-number: QTCREATORBUG-11078
Change-Id: I1aec1ad5b15de8c2baf3b76358d02347fb3a124c
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
2013-12-16 13:22:50 +01:00
Thomas Hartmann
f08651024b QmlDesigner.PropertyEditor: Fixing expressions and tr checkbox
The handling of expressions in states was broken in conjunction with states.

This patch fixes a couple of related issues:

*  The notifier of isTranslated (PropertyEditorValue) has to be
   expressionChanged, since this property depends on the expression.

* isTranslated() has to return also true if there is only an expression
  in the base state. If the string is translated in the base state it
  should be translated in other states, too.

* In states the expression set in createPropertyEditorValue() has to be the
  expression of the current stateif there is one.
  We can not just fall back to instanceValue.

* I did a couple of fixes in LineEdit.qml. We cannot bind checked directly,
  since the binding will be deleted when checked is changed by the control.
  I removed all code regarding transactions. We react to onEditingFinished,
  so it is not required. The translated state is properly preserved now, when
  setting the value.

Task-number: QTCREATORBUG-10674
Task-number: QTCREATORBUG-10791
Change-Id: I95721711a37e63c4c7c38e275089d6de0bb92bec
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
2013-12-16 13:11:59 +01:00
hjk
c1fc3e5ded Debugger: Also display addresses of base classes
Rarely needed, but cheap to produce and nice-to-have in some cases.

Change-Id: Ib28e34a8085a4e0ed943646321843eea1bf4e138
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2013-12-16 13:03:03 +01:00
Marco Bubke
07222ba46a QmlDesigner: Refactor enumeration handling
Change-Id: I0e163147a0303741af52127ece6f6afd0d2aa658
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-12-16 12:55:06 +01:00
Eike Ziller
dad0140134 Merge remote-tracking branch 'origin/3.0' 2013-12-12 10:06:09 +01:00
Pavel Fric
79e1291129 Updated czech translation
Change-Id: Ie488f002d43cefc3cac2602aea258d49bb236260
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
2013-12-10 16:25:14 +01:00
Martin Bohacek
d99d262427 Debugger: fix duplicated "," in response to locals + watch query
Change-Id: I509f39a6423a572219d941f10ca429914ee61996
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-12-06 10:37:43 +01:00
Eike Ziller
072d551c73 Merge remote-tracking branch 'origin/3.0'
Conflicts:
	qtcreator.pri
	qtcreator.qbs

Change-Id: I49dca8a41519869f122a4dfdbd6564b357ddeb1e
2013-12-05 11:58:42 +01:00
jkobus
d3b8da6cf8 Add qtquick 2.1, 2.2 and qtquickcontrols 1.1
Change-Id: If68e0c62781b235c2f0e573afe6d0e28709f28f3
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
2013-12-05 10:04:31 +01:00
Guillaume Belz
f3292a442d Update french translation
Also, converted non-breakable spaces into &nbsp;.

Change-Id: I3cf7f3b1bc3a5bd90219ea5ffa794411d5c8bc85
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
2013-12-04 18:31:00 +01:00
Jarek Kobus
713892c02a Polish Polish translations
Change-Id: I55ac136b63e389f5c433a401067dd2ea477632d3
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
2013-12-04 15:58:02 +01:00
Sergey Belyashov
5fe602e3b7 Update Russian translations
Change-Id: I98caf7eb1f5fa1ea3ba21a296e42e8906e2541ab
Reviewed-by: Sergey Shambir <sergey.shambir.auto@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
2013-12-04 12:30:30 +01:00
Ulf Hermann
b7ac243c3b WelcomeScreen: Avoid loading of invalid pictures
Apparently the QML engine also loads pictures for invisible Image
objects. The pictures icons for examples and tutorials on the welcome
screen thus always try to load an extra video icon, which always fails.
By setting the URL to an empty string if the example or tutorial being
loaded is no video we can avoid that.

Change-Id: Ibafc11ed233f386bbbf1e7a4830fcb34bc1cd55d
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-12-03 14:01:53 +01:00
Robert Loehning
afb0f8772b Fix in German translation
Change-Id: I8b69fa1dd1a68a8422bac4662dfa60e836cac18b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2013-12-03 13:45:24 +01:00
Jarek Kobus
108290bc0e Update Polish translations
Change-Id: Ib405c0941b47453d1ae492055ceef91f369e2312
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
2013-12-03 13:33:39 +01:00
Eike Ziller
920d524d38 Merge remote-tracking branch 'origin/3.0' 2013-12-03 12:46:39 +01:00
Ulf Hermann
132954f9f3 WelcomeScreen: Don't use clipping
Aparrently clipping is slow in QML, so we use elide and manually control
visibility instead.

Change-Id: Idb743a8daec04b028f103a075a5416729f0e2a16
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-12-03 09:47:18 +01:00
Ulf Hermann
e2ce74f5a6 WelcomeScreen: Scroll the example grid view with the main scroll view
By tying the scroll offsets and visible areas of the two scrollable
elements together we avoid excessive loading times for the examples.

Change-Id: I6522ef3e6c0454e5bb05bef143953d8d1850ffdc
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-12-03 09:47:12 +01:00
Kai Koehne
2d028ceec4 Remove wrong Qt Creator version number from Qt Quick template files
Task-number: QTCREATORBUG-10975
Change-Id: I6eb87a789ce88b1f3f298ef65b8bb96ce2348501
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
2013-12-03 08:52:32 +01:00
Thomas Hartmann
d9a54fdeef Welcomepage: Is should not be possible to uncheck tabs
Unchecking a tab has no clear semantic.

Change-Id: I9bb3d659a76655846c79cabbe23717119ed0cf08
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
2013-12-02 19:07:56 +01:00
Eike Ziller
0a893fc6b4 Merge remote-tracking branch 'origin/3.0' 2013-12-02 15:33:56 +01:00
hjk
242cb17919 Debugger: Adjust QDateTime dumper for Qt 5.2
Change-Id: I53a5701c9d1791e2705eafb258ff440f97e53b87
Reviewed-by: John Layt <jlayt@kde.org>
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-12-02 15:14:42 +01:00
Eike Ziller
87e2e5b977 LLDB: Autoselect thread that was stopped in
The integration was only doing that for breakpoints, but not for
stepping etc.

Task-number: QTCREATORBUG-10813
Change-Id: I4be7ec691e839bf062ab67587062cba00cc85e4f
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-12-02 12:53:45 +01:00
Topi Reinio
9cb4b52ed4 WelcomePage: Remove outdated tutorial videos
Remove following videos that use outdated terminology:
    - Qt Quick Elements, Part 1
    - Qt Quick Elements, Part 2
    - Qt Quick Elements, Part 3

Task-number: QTBUG-35187
Change-Id: Iacecf06b4868ecbc71fa2b7d3cc3ad23533e88b4
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2013-12-02 12:16:04 +01:00
hjk
4548872cf6 Debugger: Fix QTextCursor dumper
Change-Id: I9e26e4dcee19caa0b4292655efdfeda5f1232714
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-11-29 17:37:37 +01:00
Eike Ziller
f7397224ea Merge remote-tracking branch 'origin/3.0' 2013-11-29 16:36:13 +01:00
Viktor Ostashevskyi
f59b84362a Ukrainian translation update for 3.0
Change-Id: Ib81a3ca1bef70250e83dcf5f45bc145ff78cee32
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
2013-11-29 11:59:43 +01:00
Eike Ziller
0e4de8c108 Merge remote-tracking branch 'origin/3.0' 2013-11-29 11:50:41 +01:00
hjk
2e8347a8c8 Debugger: Remove unused gdbbridge.Dumper.nolocals
Change-Id: Ic24cb5ffb8d1a93372c3661a8b7c91f11fe4e9ad
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-11-28 15:49:52 +01:00
hjk
4081317470 Debugger: Fix check for QObject-ness.
Change-Id: Idd33e104e6e80f9b1f87af9409db810c2c37a4a2
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-11-28 11:45:19 +01:00
hjk
97bfda8f41 Debugger: std::vector<bool> re-fix
Change-Id: Ia37f6a0ad0b9b59439f916e7ca93ee3bb9812fa1
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-11-28 10:46:01 +01:00
Fawzi Mohamed
f2984ad1ef qmljs: update QtQuick2 bundle
This will need to be replaced with the results of the import scan, but
that will be for 3.1.

Change-Id: Icd398282142972421044c3b4d05fec9057cff95c
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-11-27 23:42:28 +01:00
hjk
8f1fc056e9 Debugger: Fix regression in pointer display
'None' is not in a range...

Change-Id: I2df534556ab811dbd285d94ec14021d8597fe226
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-11-27 15:24:27 +01:00
Ulf Hermann
a8b215dcf1 Debugger: Correctly identify derived classes from references
Previously the correctly gdb-identified dynamic types were overwritten
with the value's static type. This is probably because the dynamic type
doesn't include the "&" for "reference". That, however, can easily be
fixed by just appending "&". As we're only handling references there it
should be safe to do so.

Task-number: QTCREATORBUG-10888
Change-Id: I7310916ce662956e66491423ad26658c32c8776b
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-11-27 13:41:44 +01:00
hjk
4385130538 Debugger: Fix std::string dumper on 64 bit
Task-number: QTCREATORBUG-10925
Change-Id: Iec57515e8adca8bd2e638157b9c1f0d4d9310c68
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2013-11-27 13:11:24 +01:00
Eike Ziller
baf190ff4a Merge remote-tracking branch 'origin/3.0' 2013-11-27 12:18:12 +01:00
hjk
848af02753 Debugger: Add more options for pointer display
Change-Id: Iaceefc5da11a03052e5a2eb50dab7a85588813b0
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Reviewed-by: David Schulz <david.schulz@digia.com>
2013-11-27 10:42:24 +01:00