Commit Graph

21107 Commits

Author SHA1 Message Date
cerf
96819ddb7a vcsbase: move VCSBaseClient's private slots in its pimpl
Change-Id: Ic9bd8d75d3985538c686fdd632a6ce5993997fc6
Merge-request: 358
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Reviewed-on: http://codereview.qt.nokia.com/3334
2011-08-22 17:51:00 +02:00
Thomas Hartmann
c85ebaca9d QmlDesigner.propertyEditor: crash fix
If the anchor target does not have a corresponding model node
we had a crash. This happens for e.g. Flickable because children
is redefined.


Task-number: QTCREATORBUG-5829
Change-Id: Ib3f609fe7c29778dd4fdd8ed1ac8526afbb36fe0
Reviewed-on: http://codereview.qt.nokia.com/3327
Reviewed-by: Marco Bubke <marco.bubke@nokia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-08-22 17:09:21 +02:00
Christiaan Janssen
652312347d QmlProfiler: fixed file extension in standalone tool
Change-Id: I8699bb22b3f8ca6289e0378f3fe3d8d2a7e67013
Reviewed-on: http://codereview.qt.nokia.com/3326
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2011-08-22 16:55:16 +02:00
Christiaan Janssen
0d0992c712 QmlProfiler: changed file extension for traces
Change-Id: I71e8f30169912bc7c72ad76e75920bb9bc27c53e
Reviewed-on: http://codereview.qt.nokia.com/3325
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2011-08-22 16:55:11 +02:00
Kai Koehne
e65c040caa QmlProfiler standalone tool
Change-Id: I9c3acdf4ef400adf3aa96adc65d49d441d57ddc0
Reviewed-on: http://codereview.qt.nokia.com/3223
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
2011-08-22 15:30:15 +02:00
Tobias Hunger
3f957f22e7 CMake: Always offer all tool chains
Task-number: QTCREATORBUG-5871
Change-Id: Id9de63f90060ba606ce1a37e618f3ffba6f1e2be
Reviewed-on: http://codereview.qt.nokia.com/3311
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2011-08-22 15:30:04 +02:00
Christian Kamm
fb91b88b9c RefactoringChanges: Add missing virtual destructor.
Change-Id: I6237e7c3a8c1e4a1a223c6f1a66c4e866406ca2b
Reviewed-on: http://codereview.qt.nokia.com/3312
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2011-08-22 13:42:40 +02:00
Oswald Buddenhagen
78e96d7433 disable poor hungarian translation
Change-Id: Ib7a4c7548024ac6a056f2d2e1baf4697f912f929
2011-08-22 12:21:38 +02:00
Thomas Hartmann
54fd48d48a QmlDesigner.itemLibrary: Use com.nokia.meego for Meego/Harmattan components
Also fixing the documentation.

Change-Id: Ib40f7cea0be7f800b40272c4aed0babfc53ae433
Reviewed-on: http://codereview.qt.nokia.com/3301
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-08-22 11:50:31 +02:00
Kai Koehne
2cbc2366a2 QtQuick wizard: Use com.nokia.meego for Meego/Harmattan components
This is the namespace also used in the documentation. On the device, the
components are available both under com.meego and com.nokia.meego, but
mixing these two in one application results in runtime errors.

Task-number: QTCREATORBUG-5850
Change-Id: Ia5db9456c0dd1052042af5a8e8760a34d58b93ab
Reviewed-on: http://codereview.qt.nokia.com/3296
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-08-22 11:47:35 +02:00
Kai Koehne
749534ea76 QmlProfiler: Move EventList to qmljsdebugclient library
Change-Id: Icbd24ffeb51db0f098d8fe9c62a0a889a722f760
Reviewed-on: http://codereview.qt.nokia.com/3222
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
2011-08-22 09:12:02 +02:00
axasia
209a17ed48 Complete japanese translation for 2.3.
Merge-request: 371
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>

Change-Id: Ibe500957e4fdd5c34700662f2621bee733179507
2011-08-19 18:06:08 +02:00
Leena Miettinen
ac9451fa32 Doc: update debugging example
Change-Id: I7424f24561c91057be2f10bb0009dbe94e4db2fb
Reviewed-on: http://codereview.qt.nokia.com/3275
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-08-19 15:57:37 +02:00
hjk
91e22b2e81 debugger: use extractFields instead of gdb.Type.fields()
http://sourceware.org/bugzilla/show_bug.cgi?id=10953 does not seem to
be fixed in gdb 7.2.

Change-Id: I061fa560ab6cec93f4aa3ae3805668e5e787a2cd
Reviewed-on: http://codereview.qt.nokia.com/3271
Reviewed-by: hjk <qthjk@ovi.com>
2011-08-19 14:30:50 +02:00
hjk
ba1eb5bb96 debugger: pass pyton dumper exceptions only on request again
Change-Id: Ib834e3a7d3a051d330a46ff8a7e01514b95c26b7
Reviewed-on: http://codereview.qt.nokia.com/3269
Reviewed-by: hjk <qthjk@ovi.com>
2011-08-19 14:27:28 +02:00
Christian Kamm
d8c053b525 C++: Fix completion for typedefs for templates in namespaces.
Change-Id: Ib96551388c94731d97eb8f9728613b120b0b86a9
Reviewed-on: http://codereview.qt.nokia.com/3262
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2011-08-19 14:24:05 +02:00
hjk
f51511a81d debugger: make dumper code a bit more backend-agnostic
Change-Id: I29fcdb6e82afbb21038427343656238997c9d053
Reviewed-on: http://codereview.qt.nokia.com/3265
Reviewed-by: hjk <qthjk@ovi.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
2011-08-19 14:23:38 +02:00
hjk
1f8a72b6af debugger: speed up dumpers
Change-Id: I1dfd882fd996589d0b044c9014ae445470b36e8f
Reviewed-on: http://codereview.qt.nokia.com/3221
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-08-19 14:23:09 +02:00
hjk
0c8749c59b debugger: pass dumper exceptions only when explicitly asked for
Change-Id: If3efd610f499be3dcfb6539f8501c200a36e55f7
Reviewed-on: http://codereview.qt.nokia.com/3268
Reviewed-by: hjk <qthjk@ovi.com>
2011-08-19 14:16:29 +02:00
hjk
0614e07dff debugger: update python dumper docs
Change-Id: I9c7f701d6cbe8eb90278d764f3ba944e5c875101
Reviewed-on: http://codereview.qt.nokia.com/3267
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
2011-08-19 14:07:06 +02:00
Leena Miettinen
17a9697c33 Doc: opening bug tracker for Qt Creator
Change-Id: I083deb81ed746e39751ff5bd55a509d1d34914da
Reviewed-on: http://codereview.qt.nokia.com/3257
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2011-08-19 13:30:13 +02:00
Leena Miettinen
19fa28530e Doc: update screen shots
Task-number: QTCREATORBUG-5435
Change-Id: I098372261ff216e28a00254956cc2f643e899f26
Reviewed-on: http://codereview.qt.nokia.com/3090
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2011-08-19 12:35:53 +02:00
Leena Miettinen
9ed36c6985 Doc: starting QML Viewer from external tools
Change-Id: Idb9daecc8cd9b81864f59ddc07ceca434618a1f5
Reviewed-on: http://codereview.qt.nokia.com/3177
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
2011-08-19 12:35:33 +02:00
Leena Miettinen
62ed51c3c8 Doc: replace dynamic links with fixed links
Change-Id: Ib99ca3b9b93ca62ec4fa63aa03e99a2260d9cb78
Reviewed-on: http://codereview.qt.nokia.com/3080
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
2011-08-19 12:02:11 +02:00
Leena Miettinen
fc211cc096 Doc: update screenshots
Task-number: QTCREATORBUG-5439
Change-Id: Id6828d76fb8c3f2e2efbe6692dc6eb2c25480a03
Reviewed-on: http://codereview.qt.nokia.com/3079
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-08-19 12:01:08 +02:00
Christian Kamm
6235ec5120 C++ function links: Use line+column instead of offset for target.
It's more robust if text before the target is changed in a minor way.

Change-Id: I48e27c5d194dd2dcff4b064bf59538b4660015d7
Reviewed-on: http://codereview.qt.nokia.com/3097
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2011-08-19 11:12:17 +02:00
Christian Kamm
8a6d767a8f Refactoring changes: Cleanup and improvements.
Previously RefactoringFiles were usually passed around by value.
However, since a RefactoringFile may sometimes own a QTextDocument
(when it was read from a file), that's not great and caused the
file to be reread after every copy.

With this change RefactoringFile becomes noncopyable and is always
owned by a shared pointer.

This change also allowed having const RefactoringFiles which is
useful because they can be safely used from other threads. See
CppRefactoringChanges::fileNoEditor.

Change-Id: I9045921d6d0f6349f9558ff2a3d8317ea172193b
Reviewed-on: http://codereview.qt.nokia.com/3084
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
2011-08-19 11:12:09 +02:00
Christian Kamm
a07acad516 QuickFixes: Always show all matching quick fixes.
Change-Id: Ifc23d047b3b267ca1369ecb6f9f5de18887d3e92
Reviewed-on: http://codereview.qt.nokia.com/3250
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2011-08-19 10:48:59 +02:00
Daniel Molkentin
e9a97bec67 WelcomeScreen: Minimize height of delegates
Calculate the image height based on the height of all
text in the delegate. This ensures that the delegate
does not grow in height out of proportion simply due
to a large image.

Change-Id: Iae3053a520ef29764ac9ee2553e68025b2ea7edd
Reviewed-on: http://codereview.qt.nokia.com/3112
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
2011-08-18 17:28:29 +02:00
Christian Kamm
f725c24c56 QmlJS: Fix semantic and non-semantic QML error reporting.
The QML snapshot only ever contains valid Documents; to compile a list
of parser problems we need to get at the invalid documents.

To do that, the model manager now provides a Snapshot with up to date,
but potentially invalid documents. That should also be useful for other
things.

Change-Id: I67892f63771c221bf2fe2c2bf0240a0f4e523227
Reviewed-on: http://codereview.qt.nokia.com/3012
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
2011-08-18 17:11:59 +02:00
Daniel Molkentin
c1c7651f8c WelcomeScreen: Add new tutorial, adjust names of existing
Change-Id: I867dad4e1e0b18298e44870239d4a975b737307d
Reviewed-on: http://codereview.qt.nokia.com/3113
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
2011-08-18 17:01:28 +02:00
Friedemann Kleint
ede672c8d9 Compile fix Windows.
Change-Id: Ia9f9afaf77c000503512a19ef7e4f33ae9cca041
Reviewed-on: http://codereview.qt.nokia.com/3217
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2011-08-18 16:56:46 +02:00
Friedemann Kleint
d4e1d7c6ad Header cleanup in Qt4ProjectManager.
Disentangle the covariant returns and introduce
convenience accessors.
Move internal classes away from Qt4Project.

Change-Id: I6c3158988824d2a159b1b3f8ecdf8432c32be2bc
Reviewed-on: http://codereview.qt.nokia.com/3216
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2011-08-18 16:50:01 +02:00
Friedemann Kleint
4c116bbda6 Header cleanup in QML/JS and project manager.
Change-Id: I40b41a3ef6189a99272e345e3251680edccecca0
Reviewed-on: http://codereview.qt.nokia.com/3215
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2011-08-18 16:49:10 +02:00
Daniel Teske
2897c66697 Fix argument parsing in projectexplorer, fixing -lastsession
Change-Id: I942c08b5dde0c014f223247bc77f65effcd45787
Task-Nr: QTCREATORBUG-5773
Reviewed-on: http://codereview.qt.nokia.com/3194
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2011-08-18 16:39:53 +02:00
Christiaan Janssen
ce633d57fb QmlProfiler: make strings translatable
Task-number: QTCREATORBUG-5747

Change-Id: If15bb749e641ed181dbfee3400c18d52bc88e5fb
Reviewed-on: http://codereview.qt.nokia.com/3188
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2011-08-18 16:30:41 +02:00
hjk
8d2f0376e2 debugger: work on manual tests
Change-Id: Ifdcf4e9a09be0cc21ab9dc579dcae8dfbe91a9d2
Reviewed-on: http://codereview.qt.nokia.com/3212
Reviewed-by: hjk <qthjk@ovi.com>
2011-08-18 16:26:45 +02:00
Tobias Hunger
450142b97d GCC: Set LANG=C
Set LANG=C when building with GCC. This can be overridden in the
environment section of the project build settings.

This change should make sure that Qt Creator is able to properly
parse build issues.

Task-number: QTCREATORBUG-4011
Change-Id: Ibff57feff7945fc7e03acca3a86323b63c9d66ae
Reviewed-on: http://codereview.qt.nokia.com/3193
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2011-08-18 16:21:03 +02:00
Daniel Molkentin
7536aa5578 Keep MultiFeedRssModel private in the context of C++
Change-Id: I9ec1948005928682cbaab39c5bc0f4e96b675bfe
Reviewed-on: http://codereview.qt.nokia.com/3195
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2011-08-18 16:05:51 +02:00
Tobias Hunger
e8e27210eb Project: Allow for additional named settings
Allow for additional named settings to be saved along with the project
data.

This allows plugins to save project-specific settings.

Change-Id: I6ed24089efad2eb466385ac9ca4c2dde8bf8c2eb
Reviewed-on: http://codereview.qt.nokia.com/2443
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2011-08-18 15:50:54 +02:00
Oswald Buddenhagen
4078fba4ec re-add LD_LIBRARY_PATH script
we need to override RUNPATHs from possible plugins.

due to d7d23226, this should not re-introduce QTCREATORBUG-1646.

unlike in the previous incarnation, we don't replace the binary with the
script, but give the script an extension. this is nicer for packagers
and less confusing in creator's own run configurations. the .desktop
files created by our installers need to be adjusted for that.

Task-number: QTCREATORBUG-5565
Change-Id: Icd2fa55456754a05257376b8288e8bdf423c62db
Reviewed-on: http://codereview.qt.nokia.com/3180
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
2011-08-18 15:40:11 +02:00
Christian Kamm
a91001d44d BaseTextEditor: Remove stray qDebug.
Change-Id: I544c23aa06d533933162bcc9623ef632981e5053
Reviewed-on: http://codereview.qt.nokia.com/3191
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2011-08-18 15:36:07 +02:00
Daniel Molkentin
89e284cb1a SDK Integration for Example Manifests
Change-Id: I3cdf8e299267b0cb2c21322bb9cd147f43dfb851
Reviewed-on: http://codereview.qt.nokia.com/2573
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2011-08-18 15:32:51 +02:00
Friedemann Kleint
6a6af5a59c Header cleanup in various plugins.
Change-Id: I16b273cc792bfd2035d35e7c67675f039cd387b9
Reviewed-on: http://codereview.qt.nokia.com/3185
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2011-08-18 15:05:00 +02:00
Friedemann Kleint
610f77ed33 Header cleanup in TextEditor.
Change-Id: I832d255a4d8f291426d54ad0353641db515a511a
Reviewed-on: http://codereview.qt.nokia.com/3182
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2011-08-18 14:23:43 +02:00
Friedemann Kleint
2a3684fb2f Compile fix Windows.
Change-Id: I93048cf9e4fda2d261037408967c30a0f5796110
Reviewed-on: http://codereview.qt.nokia.com/3181
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2011-08-18 13:59:46 +02:00
Friedemann Kleint
cc632c1597 Header cleanup in ProjectExplorer.
Change-Id: I19f100003427ba43aaae5ba0dc7078088017cb09
Reviewed-on: http://codereview.qt.nokia.com/3178
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2011-08-18 13:47:33 +02:00
Christian Kamm
e434969446 C++ function link: Unbreak same-file links.
Change-Id: Icfb71278c796dfb8668de423a691c7dc90e9531f
Reviewed-on: http://codereview.qt.nokia.com/3170
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2011-08-18 13:08:16 +02:00
Friedemann Kleint
f63a969c8a Debugger[CDB]: Fix setting individual formats by iname.
Do not hex-decode names.

Change-Id: I0b9b6df2524cdf66bc34958bbab5bbc28f8a73db
Reviewed-on: http://codereview.qt.nokia.com/3172
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2011-08-18 12:13:18 +02:00
Christiaan Janssen
90a812a8a8 QmlLivePreview: fix crash when inserting node with no parents
Change-Id: Ib781f64aed11aafc106dc15b40689181fefd5dd3
Reviewed-on: http://codereview.qt.nokia.com/3171
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2011-08-18 11:52:30 +02:00