Commit Graph

19932 Commits

Author SHA1 Message Date
Christian Kandeler
5705cd99db MeeGo: Use recommended package manager icon size.
Task-number: QTCREATORBUG-5487

Change-Id: Ic0a25dcc26d835d1bddf267c0cfc50486e8eb878
Reviewed-on: http://codereview.qt.nokia.com/1752
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2011-07-18 14:03:06 +02:00
Thomas Hartmann
d1bbdf5f73 QmlDesigner.propertyEditor: ui fix
Change-Id: I0abb528c124355808502848d5db3ec01dc3d6636
Reviewed-on: http://codereview.qt.nokia.com/1748
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-18 13:20:09 +02:00
Thomas Hartmann
95bf007e2b remove qDebug
Change-Id: Ia83708b48f7565d8d272a797c7e18cb0931dddb0
Reviewed-on: http://codereview.qt.nokia.com/1747
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-18 13:19:59 +02:00
Thomas Hartmann
c0eaaeffb7 QmlDesigner.propertyEditor: increasing minimum width
Task-number: QTCREATORBUG-5491
Change-Id: I1f3d0c553537d51042dc0b00e5d4de882c27a07e
Reviewed-on: http://codereview.qt.nokia.com/1740
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-18 11:20:39 +02:00
Thomas Hartmann
7e19582af4 QmlDesigner.propertyEditor: adding tooltips
Task-number: QTCREATORBUG-5480
Change-Id: Ia33cb40f0d34eb8c29f6c490051a373820a7ebc3
Reviewed-on: http://codereview.qt.nokia.com/1739
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-18 11:02:28 +02:00
Eike Ziller
6f30393a50 Version bump.
Change-Id: I39e5fae3a357212afdede4a7ec53067f29d6348b
2011-07-18 08:58:12 +02:00
Thomas Hartmann
d853997f99 QmlDesigner.dragAndDrop: crash fix
This fixes a crash if we drag in complex items with children.

Change-Id: I0e924d3130cbd43dc9a20469576dce8a0f67f3df
Reviewed-on: http://codereview.qt.nokia.com/1715
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-15 18:33:13 +02:00
Oswald Buddenhagen
7cd17f3f41 fix access to free()d memory
the 'item' reference may become invalid inside the loop.

Change-Id: I4468b1dc67e565e2eb8ce35268ef44b18142846a
Reviewed-on: http://codereview.qt.nokia.com/1703
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2011-07-15 17:48:35 +02:00
Thomas Hartmann
57655e3e0d QmlDesigner.rewriter: adding use of ModelManager to NotIndentingTextEditModifier
This fixes bugs in the copy and paste code.
Before we used an invalid snapshot and empty import paths and could
not resolve library imports properly.

Change-Id: I53df67bbba2b5abc73065b5729d0957e908cc874
Reviewed-on: http://codereview.qt.nokia.com/1708
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-15 16:49:08 +02:00
Thomas Hartmann
a826ee722e QmlDesigner: fix in model for meta info
We have to use metaInfoProxyModel() to allow forwarding.

Since property.parentModelNode().model() might be null in
propertyIsComponentType().

I also provide a fix for this. Before calling ->metaInfo on a 0 model was
safe, since metaInfo is non virtual and the constructor and isSubCLassOf()
were safe and had checks.
This was still wrong of course.

Change-Id: If4a2371e4dceeccba7f3ddde7236a7240ed7b92a
Reviewed-on: http://codereview.qt.nokia.com/1707
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-15 16:48:45 +02:00
Thomas Hartmann
ad238ed315 QmlDesigner: crash fix
If the root node is invalid currentState is also invalid.

Change-Id: Icf47c9295cdf82bf7b36328e76dbb1a974ee43f9
Reviewed-on: http://codereview.qt.nokia.com/1706
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-15 16:48:20 +02:00
Thomas Hartmann
0173ecbc5e QmlDesigner.navigator: fix missing <cpp>
This enables front and back for flipable.
I also fixed isSubclassOf() for empty strings.

Change-Id: Id807d10339813df7c0412ceeaa5877264267f2e1
Reviewed-on: http://codereview.qt.nokia.com/1705
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-15 16:47:56 +02:00
Leena Miettinen
f2d01e1007 Doc: meaning of blue color in the property editor
Explain how the changes in property values are vizualized
in the Qt Quick Designer Properties pane.

Task-number: QTCREATORBUG-5047
Change-Id: Ib7c2334dfee6295ec54761d2b1d81fc7309ca7c8
Reviewed-on: http://codereview.qt.nokia.com/1701
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-15 14:42:14 +02:00
hjk
dbc0fa0919 analyzer: cleanup string constant usage
Change-Id: I9fcff37c06f98d0010dccfdece567dae7b0264bd
Reviewed-on: http://codereview.qt.nokia.com/1691
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-15 11:00:56 +02:00
hjk
8e3c9c0670 debugger: work on manual tests
Change-Id: I5f74c5fc2746e4195bdd5af405cb06cf8997cf6b
Reviewed-on: http://codereview.qt.nokia.com/1690
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-15 11:00:30 +02:00
Marco Bubke
8f826aa5f7 QmlDesigner.NodeInstances: Add workaround for simulator Qt
Task-number: QTCREATORBUG-5408

Change-Id: I7abcc36102421d07dfc044355ff70833bf93d84b
Reviewed-on: http://codereview.qt.nokia.com/1678
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-15 10:45:10 +02:00
Leena Miettinen
5a9ec44fb4 Doc: changes to Valgrind options
Change-Id: I2b0ab7566582e657225846ee4a3bfc54d9408b57
Reviewed-on: http://codereview.qt.nokia.com/1689
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-15 10:38:34 +02:00
Thomas Hartmann
b8494fa6b2 QmlDesigner: fix for states
stateChanged() was never called.

cleanup:
I removed stateChanged() and use actualStateChanged()

Change-Id: I11a73b21dca5083147223f6e4f23da4c7305263c
Reviewed-on: http://codereview.qt.nokia.com/1677
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Marco Bubke <marco.bubke@nokia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-15 09:49:46 +02:00
hjk
abc60352fd analyzer: hide Browse button for valgrind path chooser on Windows
Change-Id: If7bf02f5ab52f3f3330a8eea0669f619130bbe2f
Task-number: QTCREATORBUG-5441
Reviewed-on: http://codereview.qt.nokia.com/1658
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2011-07-14 17:43:20 +02:00
hjk
5515b27af6 fakevim: fix <n>r<Return>
Was reported on the feedback form.

Change-Id: Iab2517f4bd29bbad211eced7c268f93d928bb5aa
Reviewed-on: http://codereview.qt.nokia.com/1657
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-14 17:42:53 +02:00
Thomas Hartmann
3c9fa90eaf QmlDesigner.propertyEditor: fixes editor for ListView
Fixing typos and names.

Task-number: QTCREATORBUG-5450
Change-Id: Ia38d93e6cb45a2fe8a0de152c4f8686bf3cb74c4
Reviewed-on: http://codereview.qt.nokia.com/1674
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Marco Bubke <marco.bubke@nokia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-14 17:17:33 +02:00
Marco Bubke
8a5fffb945 QmlDesigner.NodeInstances: Fix restore bindings for reset
Task-number: QTCREATORBUG-5415

Change-Id: I1cbc8dda5eb1512db52a2767837b53eb136dc387
Reviewed-on: http://codereview.qt.nokia.com/1664
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-14 16:53:08 +02:00
Marco Bubke
7ec3a259f4 QmlDesigner.PropertyEditor: Remove wrong properties
Task-number: QTCREATORBUG-5449

Change-Id: I22c69f33eb69fc7e331c659e5fc0ffd44f616e7f
Reviewed-on: http://codereview.qt.nokia.com/1670
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-14 16:41:40 +02:00
Thomas Hartmann
44886dcde1 compile fix
Change-Id: I2c720a42c63856b62d14fc01239a2c12110328be
Reviewed-on: http://codereview.qt.nokia.com/1665
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
2011-07-14 14:43:42 +02:00
Thomas Hartmann
80909210b1 QmlDesigner.instances: ignore infinite/huge bounding rects
There are cases with infinite/huge bounding rects. We ignore those.

Change-Id: If9a55bef91ab5aec4736c579131f4edf10768469
Reviewed-on: http://codereview.qt.nokia.com/1660
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Marco Bubke <marco.bubke@nokia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-14 14:35:51 +02:00
Thomas Hartmann
d53f595879 QmlDesigner.instances: clean import paths from .1.0
Plugin directories might contain the version number,
but they do not have to.

We try to map .1.0 to "" for components delivered with Creator.

Change-Id: Ie785cf29d4dd64a504501d2be501fd6aa733973b
Reviewed-on: http://codereview.qt.nokia.com/1659
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Marco Bubke <marco.bubke@nokia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-14 14:35:39 +02:00
Thomas Hartmann
9c5c805998 QmlDesigner: lines should not be longer then 100 chars
Change-Id: Ia5a5915b922be21470bb31f142769a5b9c75cde9
Reviewed-on: http://codereview.qt.nokia.com/1662
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-14 14:23:12 +02:00
Leena Miettinen
e7abde37b5 Doc: preparing designs for exporting to QML files
Change-Id: I57c7ee4a246db9468e17142a94cb80464a61299e
Reviewed-on: http://codereview.qt.nokia.com/1642
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jens Bache-Wiig
2011-07-14 13:23:15 +02:00
Thomas Hartmann
982f1552df QmlDesigner.metaInfo: fixes a regression
I cannot just take the highest available version.
We have to determine the correct version from the import.

I added fullQualifiedImportAliasType for convinience.

Change-Id: I4cc8049b6224fa168f2530b0dfb41b6f2e515c19
Reviewed-on: http://codereview.qt.nokia.com/1589
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-14 12:04:11 +02:00
hjk
98a4f9ae71 debugger: Make "set breakpoint of qFatal" optional
This is mainly a workaround for cases where gdb crashes when setting
this breakpoint. It's unclear so far why this happens, but when it
happens, the debugger is basically useless, so there should be a
way to disable the "bad" feature.

Change-Id: I28ede9b38eb8bf56a8c5998088be487b4ee5896d
Reviewed-by: con
Task-number: QTCREATORBUG-5275
Reviewed-on: http://codereview.qt.nokia.com/1604
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2011-07-14 11:58:51 +02:00
Eike Ziller
1a63d5e625 Update Qt requirement.
Change-Id: I8d3eb57a3cb41c4bfd01defc3f5c512a46a7a428
Reviewed-on: http://codereview.qt.nokia.com/1652
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2011-07-14 11:19:17 +02:00
Eike Ziller
df15bd1075 Show tool tip with news url.
Task-number: QTCREATORBUG-5395
Change-Id: Icad5f580ac10b49e492a6bbc50408b2bfe2cc6fd
Reviewed-on: http://codereview.qt.nokia.com/1653
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2011-07-14 11:16:51 +02:00
Eike Ziller
07098221e5 Open a sensible help page when project misses setup for profiling.
Change-Id: If5ceb841ac8f49ac7dd74f0e2f6ed31a44489115
Reviewed-on: http://codereview.qt.nokia.com/1534
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
2011-07-14 10:56:59 +02:00
Christian Kamm
f326bd067d qmldump: Fix creation of objects from QDeclarativeTypes.
Previously, the import statement was not necessarily set up correctly
for the type we wanted to instantiate. We simply use
QDeclarativeType::create now and thus can skip finding the right import.

Change-Id: I545ef690dd6181f5b7a49bcb2018aaba4b60d5a5
Reviewed-on: http://codereview.qt.nokia.com/1646
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2011-07-14 10:47:33 +02:00
Leena Miettinen
61ee0328be Doc: ListModel and delegate are added automatically to Grid and Path View
Change-Id: I7bf090330555df763b9e3a64ff14caf0ccbb85b4
Reviewed-on: http://codereview.qt.nokia.com/1641
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-14 10:28:12 +02:00
Marco Bubke
ca8daecdff QmlDesigner: Fix crash for property editor detach
Change-Id: I367b45c9ae0e8f18abffceb996dbf13a14d8089a
Reviewed-on: http://codereview.qt.nokia.com/1610
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-14 10:10:11 +02:00
Marco Bubke
01eece3d84 QmlDesigner: Fix state switching
Task-number: QTCREATORBUG-4062

Change-Id: I2a04c5a04ef40390772fe46f587bc60c02a4bab1
Reviewed-on: http://codereview.qt.nokia.com/1605
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-13 18:42:47 +02:00
Robert Loehning
086e3ad373 Improved German translation
Change-Id: I84ae24aa721c8e12eba7e5f94b833df01c52342c
Reviewed-on: http://codereview.qt.nokia.com/1608
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2011-07-13 18:26:08 +02:00
Leena Miettinen
b3b915f976 Doc: edit for style and grammar
Change-Id: Ib7a0fd4cc11e0e61d0694c72fde2b726d74b2629
Reviewed-on: http://codereview.qt.nokia.com/1607
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-13 18:25:05 +02:00
Leena Miettinen
7b2163585e Doc: running Valgrind tools remotely
Change-Id: Ic25dcddfa25b3f1d1d059f4c40bb1d6c78225fc2
Reviewed-on: http://codereview.qt.nokia.com/1576
Reviewed-by: hjk <qthjk@ovi.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
2011-07-13 17:31:42 +02:00
Christiaan Janssen
a7dc18809b QmlProfiler: fixed skipping long events
Task-number: CREATOR-5220
Change-Id: I694bbd02e6ecfe69f2cbd82f1cc3136152c77a4f
Reviewed-on: http://codereview.qt.nokia.com/1606
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
2011-07-13 17:21:36 +02:00
Oswald Buddenhagen
330e118424 implement qt5 $$sort_depends() and $$resolve_depends()
Task-number: QTCREATORBUG-5289

Change-Id: I15e08005c13d12afd5791796d676b30c726fadc3
Reviewed-on: http://codereview.qt.nokia.com/1464
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2011-07-13 16:27:26 +02:00
Christiaan Janssen
82ff204314 QmlProfiler: display warning when app killed
Change-Id: I2183e02a5ce4b266702d0771933bda61efa66e95
Reviewed-on: http://codereview.qt.nokia.com/1603
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
2011-07-13 16:07:56 +02:00
Christiaan Janssen
b533cea366 QmlProfiler: removed old fps code
Change-Id: If9ae003d1e6204450f931b72c950525b0b476f74
Reviewed-on: http://codereview.qt.nokia.com/1602
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
2011-07-13 16:04:38 +02:00
hjk
3cce72dcf5 analyzer: merge valgrind related settings
This mainly reduces the number of tabs in the settings dialog.

Change-Id: I62ba5c74585648c8f495602cd4d676d0628de9b5
Reviewed-on: http://codereview.qt.nokia.com/1575
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2011-07-13 15:56:48 +02:00
Christiaan Janssen
01cc659ffd QmlProfiler: displaying events only when available
Change-Id: I65414168804fb9673793409bd66deec501944c75
Reviewed-on: http://codereview.qt.nokia.com/1601
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
2011-07-13 15:51:02 +02:00
Christian Kandeler
392377585c RemoteLinux: Fix wizard bug.
A condition was accidentally logically inverted.

Change-Id: Ib74cc55e74a46d6fab3fcb82d00f391ce57c9f79
Reviewed-on: http://codereview.qt.nokia.com/1599
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2011-07-13 15:36:36 +02:00
hjk
019c5ce6ef analyzer: potential fix for not-up-to-date actions
I cannot reproduce the issue locally. This removes a test whether
something has changed before updating the actions.

Change-Id: If32a7911a6b7ebde65d6dcd45d1eaae6a09933fa
Reviewed-by: con
Task-number: QTCREATORBUG-5405
Task-number: QTCREATORBUG-5357
Reviewed-on: http://codereview.qt.nokia.com/1526
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2011-07-13 15:36:26 +02:00
Christiaan Janssen
54d9374a2e QmlProfiler: Visual feedback
Change-Id: Ib0d50b0699a6553079c84bbc8d67ecc3c3397bc2
Reviewed-on: http://codereview.qt.nokia.com/1594
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
2011-07-13 15:23:11 +02:00
Christian Kamm
5f370dfbfc QmlJS: Update Qt 5 builtin type information.
Change-Id: I1864f7e657d448957d8ecb4f72765b5caf60f178
Reviewed-on: http://codereview.qt.nokia.com/1593
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
2011-07-13 14:59:56 +02:00