Commit Graph

25745 Commits

Author SHA1 Message Date
hjk e511107d94 debugger: fix quotes in tooltip
Change-Id: I1ba92d8e2e68174e16a953a90e29c18ac11af9f3
Reviewed-by: hjk <qthjk@ovi.com>
2012-09-21 17:46:02 +02:00
tjenssen dcd51766c5 add a fallback for automatic detected toolchains
Change-Id: I44553ae202fe4e1aae4a845cdcdac98a94f9b524
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2012-09-21 17:16:35 +02:00
Tobias Hunger 4f36ad63ce Add sdktool
Add a tool to ease configuration of Qt versions, tool chains
and kits with Qt Creator for the SDK and similar systems.

Change-Id: I9727dd25ea359a935ea494b035a59411eb3529b8
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
2012-09-21 17:07:10 +02:00
Sergio Ahumada 9c2afc4f29 doc: Fix some spelling errors
Change-Id: I22c0de2d1c5277879fe504764c15a76d1d7f198b
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2012-09-21 16:26:19 +02:00
Daniel Teske a8d0b04f49 Show incompatible kits in Add Kit
And implement a tooltip for them

Task-number: QTCREATORBUG-7870
Change-Id: I4975dd24ca2b619ebcbd0393f97311590ed4930f
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: hjk <qthjk@ovi.com>
2012-09-21 15:57:44 +02:00
hjk 2f3b010d4b debugger: fix recent regression in command line parsing
A -debug <pid> or -debug core=... wasn't properly handled anymore.

Change-Id: Ia976eccc0924e8e22168d8be35d7c24e1d566487
Reviewed-by: hjk <qthjk@ovi.com>
2012-09-21 15:53:23 +02:00
Tobias Hunger 7f9e9d226c Make PATH shorter
Make sure to not make PATH too long on windows: Windows can only handle
PATHes that are not too long.

Task-number: QTCREATORBUG-7844
Change-Id: I069d498c63e06a3164af5e36a8c757dfd0bcf75a
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com>
2012-09-21 15:48:31 +02:00
Tobias Hunger b4e605bfba Simplify detection of abis of MSVC/mingw binaries
Fix misdetection of mingw-64bit while at it

Change-Id: If10651d8b7595e2543d2b6a373701099107a2503
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
2012-09-21 13:40:55 +02:00
Eike Ziller 8daa208f6c Handle mouse wheel on cpp editor's overview combo box
Mind that the mouse wheel doesn't really work on the combo box as
expected, because it only cycles through toplevel items.

Task-number: QTCREATORBUG-7894
Change-Id: I6e22b6c7d7256c16c81280e80652cf1350166f83
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
2012-09-21 13:17:49 +02:00
hjk ac072e4cef devicesupport: use /proc/exe to retrieve a full path
Change-Id: I8bb91b72a5a2a3547eced9a99cceebd9952bc21a
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
2012-09-21 13:13:35 +02:00
Knut Petter Svendsen e3c6506ee6 ClearCase: Add some documentation
Change-Id: I6493fa638f10fd961852102913c46c828fa55ee5
Reviewed-by: Knut Petter Svendsen <knutpett@pvv.org>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2012-09-21 12:59:41 +02:00
Knut Petter Svendsen 19243163d4 ClearCase: Show file name in file operations dialog title.
The file operations dialog did not show which file it operated on.

Change-Id: I90084585441a5e21918da1a1ebcb080456342746
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2012-09-21 10:42:59 +02:00
jkobus a954ffec25 Fix saving of code style settings
Save the would code style settings structure, not only its part.

Task-number: QTCREATORBUG-7867
Change-Id: I51c90ba372c28d10fb69e17a9845573f9d2d18f9
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2012-09-20 14:54:54 +02:00
David Schulz 5234307cbf Debugger: Fix gdb makefile for Ubuntu >= 11.10
Since Ubuntu 11.10 the linker option --as-needed is default,
which causes a build failure.
https://wiki.ubuntu.com/OneiricOcelot/ReleaseNotes#GCC_4.6_Toolchain

Fixed by passing "-Wl,--no-as-needed" to the linker.

Change-Id: Iea1db17d0930e4d4d08fa1e80ec594faa1ab2031
Reviewed-by: hjk <qthjk@ovi.com>
2012-09-20 09:38:51 +02:00
Orgad Shaneh d45ae70db6 Support conversion of pro.shared file from earlier versions
Task-number: QTCREATORBUG-7590
Change-Id: Iae796dd38e7936a32f232ba55fabbc8c7f6ac3c4
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
2012-09-19 20:00:42 +02:00
David Schulz 44177392ec Debugger: Add missing continue to simple test
Change-Id: Ief142db796db9392d7d910c98c0dd1425e5f1230
Reviewed-by: hjk <qthjk@ovi.com>
2012-09-19 16:35:40 +02:00
Daniel Teske 03c65e62b7 Qt4Project: Fix updating of problem label on kit changes
Task-number: QTCREATORBUG-7873
Change-Id: Ief2ea0b7748eb003306fa2b6928dfded1e00ef43
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2012-09-19 16:30:15 +02:00
Daniel Teske 458cfb18de Qt4 MakeStep Config Widget: Fix signal connection
Change-Id: I16d9cd129701e605256da93b5ecb3c03b65b2e45
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2012-09-19 16:29:47 +02:00
Tobias Hunger c9f4d24cb4 ToolChains: Accept autodetected duplicates
This is to prevent throwing out tool chains the SDK wants to register.

Change-Id: Ia49552bcffd98cf4579784047f9a425b2279b83f
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2012-09-19 16:29:20 +02:00
Tobias Hunger 7e74c9b46f Handle autodetection sources as identifiers for Qt versions
Change-Id: I9ac0988cd312e032e4d5e2ad03aba309ff7cbef9
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2012-09-19 16:29:07 +02:00
Christian Stenger 93fb2928d6 Squish: Added new test cases/suite for welcome page
Change-Id: Id01582e881b8150a76336bb4f3ea6511c4bcd249
Done-with: Jan Kerekes
Done-with: Pavol Grainda
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2012-09-19 16:16:08 +02:00
Eike Ziller 8b9cc83b21 Fix building without svg (Qt 5)
Change-Id: Ic109cb574986eeec39057d81ebb35de7639bfdcb
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
2012-09-19 15:07:14 +02:00
Daniel Teske 3e9c326968 Issues Pane: Fix badge number on clearing tasks of unknown type
Task-number: QTCREATORBUG-7893

Change-Id: I80870916081bc3b7464417173b74020aed40d485
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2012-09-19 14:44:18 +02:00
Tobias Hunger 05be9bbdf5 Fix lone warning icon
Change-Id: I94eab64442a89571dd0323f76cacda89cf39e309
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2012-09-19 12:08:11 +02:00
Nikolai Kosjar 2f88a46e4e C++: Fix memory leak in preprocessor.
This addresses the main memory leak revealed in QTCREATORBUG-7645.
The other leaks seem to have their origin in Qt.

Task-Number: QTCREATORBUG-7645.
Change-Id: I77f45449416c143b222ed5f5c905cba9674f95bb
Reviewed-by: Christian Kamm <kamm@incasoftware.de>
2012-09-19 11:10:00 +02:00
Tobias Hunger adb40fadb6 ToolChains: Read SDK settings from Nokia/qtcreator/toolchains.xml
and not from Nokia/toolchains.xml. This makes sure the SDK settings
and the personal settings pathes differ in prefix only.

Change-Id: Ib3a742d28258e86912cb820ff6c9d0c1b44c1763
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2012-09-19 10:28:53 +02:00
Tobias Hunger 598ca05b81 QtVersion: Get SDK settings from Nokia/qtcreator/qtversion.xml
and not from Nokia/qtversion.xml. This is so that the personal and
the SDK settings only differ in the prefix.

Change-Id: I145ffea19275b03429478b01d135b95655867252
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2012-09-19 10:28:46 +02:00
Konstantin Tokarev 7466da64bb Added more resource editor improvements and fixed wording.
Change-Id: Ic98a37742e0def1e75da35c7cd469426f4c3808d
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2012-09-18 16:57:21 +02:00
Tobias Hunger 50b6a6e786 Cleanup wince Qt
Change-Id: I997873592da6de71d351bcfff0bfefc646a93b83
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2012-09-18 16:54:34 +02:00
Leena Miettinen 069b5a536d Doc: memcheck requires a debug build
Make terminology more consistent and add link to glossary

Change-Id: I46bbba560e14a917857cd89691986019d90b1550
Reviewed-by: hjk <qthjk@ovi.com>
2012-09-18 16:41:03 +02:00
Daniel Teske 25bb6712c6 BuildConfiguration::cloneSteps Add self clone check
Change-Id: I5ac2e6346b9a0e18fb3ea115f5ebd723e06e512f
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2012-09-18 16:10:41 +02:00
Daniel Teske 75b090e619 DeployConfiguration: fix memory leak
The ctor creates a m_stepList, which we need thus delete in fromMap.
Likely the m_stepList could simply be initialized with null in the
ctor.

Change-Id: I3fdb31b135b4b6ea528e0666117b63c2b39764cf
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2012-09-18 16:10:31 +02:00
Friedemann Kleint fe2dd584fc Fix error handling for custom executables.
Prevent dialog showing "No executable" when canceling the
prompt for the executable when pressing 'Run' / 'Debug'
on a library project. Introduce new
LocalApplicationRunControl::ensureConfigured() to ensure
the configuration is complete and detect cancel via
empty/non-null strings.

Change-Id: I9bd4a296e7c995d26d6ad265519e7ebd3f98d6fe
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2012-09-18 16:10:22 +02:00
David Schulz 1035224774 Editor: Fix: "Open File With..." with empty File
and no extension is now handled as a plain text file.

Task-number: QTCREATORBUG-7591
Change-Id: I21471315cb6144f27c374e0919fd16e62f7d8f2a
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2012-09-18 15:52:14 +02:00
Leena Miettinen 61fb4f55c8 Doc: creating scratch buffers that use temporary files
Change-Id: Id7d740ed587841eadfb9937fa6466647731761b6
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2012-09-18 12:37:41 +02:00
Eike Ziller a5e4c2925a Fixes: Qt Creator documentation is accumulated
Deregistering the old documentation must be delayed till the help engine
is set up, because otherwise the list of registered namespaces is empty.

Task-number: QTCREATORBUG-4605
Change-Id: I08288129fe24a80b7af090c3aa5dd13395bc6093
Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
2012-09-18 10:25:01 +02:00
Christian Kandeler 6d17da175f Fix qbs build for Qt 5.
Make sure newly deprecated stuff is still available.

Change-Id: I9ebdfcd9a5ecee125a3c73f5f3254ae319d8b282
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
2012-09-17 17:29:16 +02:00
Leena Miettinen b0270f1fde Doc: new Compile Output pane functionality and button
Change-Id: I0b4f68526b024a8e6c940672d9322822f2f98f76
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2012-09-17 16:32:06 +02:00
David Schulz 00a412f716 Editor: Fix leaving block caret.
After switching from "Overwrite" to "Normal" mode using the Insert-key.

Task-number: QTCREATORBUG-6831

Change-Id: I5507c91318af1f2d2244e9ca978ef9badfd8c2b0
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-09-17 15:41:15 +02:00
Leena Miettinen c44074805f Doc: playing and pausing movies in image viewer
Change-Id: Iad73768cdb8c0a57a1b8bccd3b9fb3afe1bcbb90
Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
2012-09-17 15:35:38 +02:00
Orgad Shaneh 0e13cf3faf Fix warnings
Warnings came up using MinGW 4.4:
* botan.cpp: integer constant is too large for 'long' type
* dnssd_clientlib.c, dnssd_clientstub.c: ignoring #pragma warning
* hostutils.cpp: comparison between signed and unsigned integer expressions
* qmakebuildins.cpp: 'QString windowsErrorCode()' defined but not used

Change-Id: I80827f7f740ff380f13cef96d6b43baaa7e179cb
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
Reviewed-by: hjk <qthjk@ovi.com>
2012-09-17 13:14:15 +02:00
Orgad Shaneh e7605b46b7 Fix build with MinGW 4.4
Change-Id: I84d0284a019887236e725eea8ed01f723101e361
Reviewed-by: Knut Petter Svendsen <knutpett@pvv.org>
Reviewed-by: hjk <qthjk@ovi.com>
2012-09-17 10:44:02 +02:00
Leena Miettinen 47f077a757 Doc: debugger commands in the Application Output dialog
Update screenshot.

Change-Id: I129c73d2281d0a773abbea7ecb38756b1081deba
Reviewed-by: hjk <qthjk@ovi.com>
2012-09-17 10:02:25 +02:00
Leena Miettinen b933c30275 Doc: building single files or subprojects
Change-Id: Icfa99aac9af7cb76a2bfc60e3b4be9f7e8bc836e
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2012-09-14 15:36:38 +02:00
Leena Miettinen 8d48798419 Doc: update screenshot
Change-Id: I1ef3e519e7816d9995158c5f6baa127b265c6d77
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
2012-09-14 14:43:16 +02:00
Leena Miettinen eda3e211c4 Doc: updated changed fieldnames
Updated screenshot.

Change-Id: I79dab92e7350def539989c62528a13fd9b9eef8f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
2012-09-14 14:41:28 +02:00
Leena Miettinen 1f8c835310 Doc: replace "targets" with "devices" or "target platforms"
Try to make the terminology more consistent, where possible.

Change-Id: Ic3f86fcffe845f9a118bb2ee630e706e832e8e05
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2012-09-14 13:20:29 +02:00
Daniel Teske 77288af63e IdCache: Use delete[] for memory qstrdup allocated
Change-Id: Id39e31191116196e1a9385e0d22bef0bfbb6c861
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2012-09-13 17:38:03 +02:00
Daniel Teske ff6e9333ad Make IOutputPane behaviour more granular
The commit looks big, but it's mostly trivial. Also any build/run
related popups are now "flashes" if the current mode has no placeholder.

Task-number: QTCREATORBUG-7875
Change-Id: I3af40557f7af01798f905c0d1829423c80058cb6
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2012-09-13 17:37:02 +02:00
Kai Koehne aafac06a24 QmlProfiler: Fix EXPORT macro logic
Technically not needed (we don't export anything), but fixing it anyway...

Change-Id: Ie8017eb1eff427b293c5a993165aa1163e5504df
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
2012-09-13 14:39:37 +02:00