summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Linux: Add a crash handler providing a backtrace for debug builds.Nikolai Kosjar2012-09-2118-2/+1226
| | | | | | | | | | | | | | | | | | | | | | | | Use case: You're working with a debug version of Qt Creator and you're interested in getting a backtrace displayed as soon as Qt Creator crashes without searching for the core file, starting your debugger, ... Once a 'serious signal' (currently SIGILL, SIGFPE, SIGSEGV, SIGBUS, SIGPIPE) is delivered, a popup displays the following debug information: - Qt Creator version (same as in the about dialog) - Kernel version (uname -a) - GNU/Linux Distribution (/etc/lsb-release) - Backtrace (by gdb) Please note that this crash handler is built and used only in debug mode on GNU/Linux. It's solely meant as a convenience tool for the developer. In contrast to the breakpad integration, this crash handler operates 'offline'. There is no network i/o involved. Change-Id: Idcfb1bf1ad68942615ecfe0dffc0d03154455049 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com> Reviewed-by: hjk <qthjk@ovi.com>
* Do not use qMemSet and qMemCopy.Christian Kandeler2012-09-214-20/+28
| | | | | | | They are deprecated in Qt 5. Call std::memset and std::memcpy instead. Change-Id: I53c22283208b4d6fdfcba870c3b141f3c02001bd Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Fix qbs build.Christian Kandeler2012-09-211-3/+2
| | | | | | | Was broken by f1962c9bd5e947fe3191e8f3b952b0a5abf070f9. Change-Id: I27ba26497b787829c444f3b7760f7b1fd1d198f8 Reviewed-by: Marco Bubke <marco.bubke@digia.com>
* Do not use qFindChild() and qFindChildren().Christian Kandeler2012-09-202-8/+8
| | | | | | | | These are deprecated in Qt 5 and can be trivially rewritten using a construct compatible with Qt 4 as well. Change-Id: I9cb9ab8b7b4ee75c7510ec2648b69dd204c87da4 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Fix merge artifact in qbs file.Christian Kandeler2012-09-201-1/+2
| | | | | Change-Id: I1c30c49bc3e5d000a97591e300f23fe55698adfe Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* QmlDesigner: fix regression uncovered by testsThomas Hartmann2012-09-203-5/+14
| | | | | | | | | | | | | | | Fixing a regression in the meta info system. We follow now Qthe Declarative1StateOperation convention (note the 1). Since this data is provided by Qt Creator it is independent from any Qt version. (4.8/5.1) Also the type comparison was broken in NodeMetaInfo for <cpp> types. PackageName() does retrieve the package name of the cpp type which might be different from the one used in qualfiedTypeName(). Change-Id: I5cdae37c2024cdc89824e68168c16e2050051d06 Reviewed-by: Marco Bubke <marco.bubke@digia.com>
* QmlDesigner: fix regression in string rewritingThomas Hartmann2012-09-201-2/+6
| | | | | | | | A regression was triggered by testGradientsRewriter(). Trailing "0" are not nice. Change-Id: I0243ee8250c98cd5742b79af0d0cfef74357b074 Reviewed-by: Marco Bubke <marco.bubke@digia.com>
* Test.QmlDesigner: fix for windowsThomas Hartmann2012-09-201-2/+13
| | | | | | | | On Windows the exectuable is in either the debug/ or release/ subdirectory. Change-Id: Ic4a155a5d0cd5024c3d8aedf86e8def094a2a84e Reviewed-by: Marco Bubke <marco.bubke@digia.com>
* Do not use QAbstractItemModel::reset().Christian Kandeler2012-09-2026-45/+85
| | | | | | | | | | Change-Id: Ie49bdf576a6d3543aef6df133b27c8827775c935 Rationale: a) It is conceptually cleaner to do the changes to the model in between calls to beginResetModel() and endResetModel, respectively. b) The function is deprecated in Qt 5, for exactly that reason. Reviewed-by: hjk <qthjk@ovi.com>
* Replace qVariantValue() with qvariant_cast().Christian Kandeler2012-09-2010-16/+16
| | | | | | | | qVariantvalue() is deprecated in Qt 5. qvariant_cast() does the same thing and works in Qt 4 and Qt 5. Change-Id: I922329d3a47fe394669f5d97a25f0825d3d2dea5 Reviewed-by: hjk <qthjk@ovi.com>
* Fix bug with expression list parsing.Christian Kamm2012-09-201-3/+2
| | | | | | | | Empty lists would have a single null entry, instead of being null entirely. Change-Id: I5114cf1e0ecdbcde5631511ad03a8d559668ea80 Reviewed-by: hjk <qthjk@ovi.com>
* Merge remote-tracking branch 'origin/2.6'Eike Ziller2012-09-19104-2030/+2560
|\ | | | | | | | | | | | | | | | | | | Conflicts: qtcreator.qbp src/libs/QtcLibrary.qbs src/plugins/QtcPlugin.qbs src/tools/QtcTool.qbs Change-Id: I3acea26888febe8f96d2131932266ed88b9f55f5
| * Debugger: Add missing continue to simple testDavid Schulz2012-09-191-0/+1
| | | | | | | | | | Change-Id: Ief142db796db9392d7d910c98c0dd1425e5f1230 Reviewed-by: hjk <qthjk@ovi.com>
| * Qt4Project: Fix updating of problem label on kit changesDaniel Teske2012-09-191-0/+2
| | | | | | | | | | | | Task-number: QTCREATORBUG-7873 Change-Id: Ief2ea0b7748eb003306fa2b6928dfded1e00ef43 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
| * Qt4 MakeStep Config Widget: Fix signal connectionDaniel Teske2012-09-191-1/+1
| | | | | | | | | | Change-Id: I16d9cd129701e605256da93b5ecb3c03b65b2e45 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
| * ToolChains: Accept autodetected duplicatesTobias Hunger2012-09-191-1/+1
| | | | | | | | | | | | | | This is to prevent throwing out tool chains the SDK wants to register. Change-Id: Ia49552bcffd98cf4579784047f9a425b2279b83f Reviewed-by: Daniel Teske <daniel.teske@digia.com>
| * Handle autodetection sources as identifiers for Qt versionsTobias Hunger2012-09-191-4/+17
| | | | | | | | | | Change-Id: I9ac0988cd312e032e4d5e2ad03aba309ff7cbef9 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
| * Squish: Added new test cases/suite for welcome pageChristian Stenger2012-09-1910-7/+387
| | | | | | | | | | | | | | Change-Id: Id01582e881b8150a76336bb4f3ea6511c4bcd249 Done-with: Jan Kerekes Done-with: Pavol Grainda Reviewed-by: Robert Loehning <robert.loehning@digia.com>
| * Fix building without svg (Qt 5)Eike Ziller2012-09-191-1/+2
| | | | | | | | | | Change-Id: Ic109cb574986eeec39057d81ebb35de7639bfdcb Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
| * Issues Pane: Fix badge number on clearing tasks of unknown typeDaniel Teske2012-09-193-0/+10
| | | | | | | | | | | | | | Task-number: QTCREATORBUG-7893 Change-Id: I80870916081bc3b7464417173b74020aed40d485 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
| * Fix lone warning iconTobias Hunger2012-09-191-1/+1
| | | | | | | | | | Change-Id: I94eab64442a89571dd0323f76cacda89cf39e309 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
| * C++: Fix memory leak in preprocessor.Nikolai Kosjar2012-09-191-0/+2
| | | | | | | | | | | | | | | | | | 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>
| * ToolChains: Read SDK settings from Nokia/qtcreator/toolchains.xmlTobias Hunger2012-09-191-1/+1
| | | | | | | | | | | | | | | | 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>
| * QtVersion: Get SDK settings from Nokia/qtcreator/qtversion.xmlTobias Hunger2012-09-191-3/+3
| | | | | | | | | | | | | | | | 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>
| * Added more resource editor improvements and fixed wording.Konstantin Tokarev2012-09-181-1/+3
| | | | | | | | | | | | Change-Id: Ic98a37742e0def1e75da35c7cd469426f4c3808d Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
| * Cleanup wince QtTobias Hunger2012-09-182-8/+2
| | | | | | | | | | Change-Id: I997873592da6de71d351bcfff0bfefc646a93b83 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
| * Doc: memcheck requires a debug buildLeena Miettinen2012-09-181-5/+6
| | | | | | | | | | | | | | Make terminology more consistent and add link to glossary Change-Id: I46bbba560e14a917857cd89691986019d90b1550 Reviewed-by: hjk <qthjk@ovi.com>
| * BuildConfiguration::cloneSteps Add self clone checkDaniel Teske2012-09-181-0/+2
| | | | | | | | | | Change-Id: I5ac2e6346b9a0e18fb3ea115f5ebd723e06e512f Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
| * DeployConfiguration: fix memory leakDaniel Teske2012-09-181-0/+1
| | | | | | | | | | | | | | | | | | 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>
| * Fix error handling for custom executables.Friedemann Kleint2012-09-187-49/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * Editor: Fix: "Open File With..." with empty FileDavid Schulz2012-09-182-3/+6
| | | | | | | | | | | | | | | | 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>
| * Doc: creating scratch buffers that use temporary filesLeena Miettinen2012-09-181-1/+9
| | | | | | | | | | Change-Id: Id7d740ed587841eadfb9937fa6466647731761b6 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
| * Fixes: Qt Creator documentation is accumulatedEike Ziller2012-09-182-11/+22
| | | | | | | | | | | | | | | | | | 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>
| * Fix qbs build for Qt 5.Christian Kandeler2012-09-1719-27/+29
| | | | | | | | | | | | | | Make sure newly deprecated stuff is still available. Change-Id: I9ebdfcd9a5ecee125a3c73f5f3254ae319d8b282 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
| * Doc: new Compile Output pane functionality and buttonLeena Miettinen2012-09-172-0/+5
| | | | | | | | | | Change-Id: I0b4f68526b024a8e6c940672d9322822f2f98f76 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
| * Editor: Fix leaving block caret.David Schulz2012-09-171-0/+1
| | | | | | | | | | | | | | | | | | 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>
| * Doc: playing and pausing movies in image viewerLeena Miettinen2012-09-172-0/+2
| | | | | | | | | | | | Change-Id: Iad73768cdb8c0a57a1b8bccd3b9fb3afe1bcbb90 Reviewed-by: Konstantin Tokarev <annulen@yandex.ru> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
| * Fix warningsOrgad Shaneh2012-09-176-1779/+1783
| | | | | | | | | | | | | | | | | | | | | | | | 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>
| * Fix build with MinGW 4.4Orgad Shaneh2012-09-172-4/+3
| | | | | | | | | | | | Change-Id: I84d0284a019887236e725eea8ed01f723101e361 Reviewed-by: Knut Petter Svendsen <knutpett@pvv.org> Reviewed-by: hjk <qthjk@ovi.com>
| * Doc: debugger commands in the Application Output dialogLeena Miettinen2012-09-172-0/+3
| | | | | | | | | | | | | | Update screenshot. Change-Id: I129c73d2281d0a773abbea7ecb38756b1081deba Reviewed-by: hjk <qthjk@ovi.com>
| * Doc: building single files or subprojectsLeena Miettinen2012-09-141-0/+4
| | | | | | | | | | Change-Id: Icfa99aac9af7cb76a2bfc60e3b4be9f7e8bc836e Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
| * Doc: update screenshotLeena Miettinen2012-09-141-0/+0
| | | | | | | | | | Change-Id: I1ef3e519e7816d9995158c5f6baa127b265c6d77 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
| * Doc: updated changed fieldnamesLeena Miettinen2012-09-142-2/+3
| | | | | | | | | | | | | | Updated screenshot. Change-Id: I79dab92e7350def539989c62528a13fd9b9eef8f Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
| * Doc: replace "targets" with "devices" or "target platforms"Leena Miettinen2012-09-1419-61/+54
| | | | | | | | | | | | | | Try to make the terminology more consistent, where possible. Change-Id: Ic3f86fcffe845f9a118bb2ee630e706e832e8e05 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
| * IdCache: Use delete[] for memory qstrdup allocatedDaniel Teske2012-09-131-1/+1
| | | | | | | | | | Change-Id: Id39e31191116196e1a9385e0d22bef0bfbb6c861 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
| * Make IOutputPane behaviour more granularDaniel Teske2012-09-1319-61/+69
| | | | | | | | | | | | | | | | | | 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>
| * QmlProfiler: Fix EXPORT macro logicKai Koehne2012-09-132-4/+4
| | | | | | | | | | | | | | Technically not needed (we don't export anything), but fixing it anyway... Change-Id: Ie8017eb1eff427b293c5a993165aa1163e5504df Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
* | Replace some Q_OS_* constructs with their HostOsInfo equivalents.Christian Kandeler2012-09-193-24/+22
| | | | | | | | | | | | Change-Id: I023ba83f3dfc8ba51a6dda6236d0156358a2e592 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* | Tests.QmlDesigner: adding some QApplication::processEvents();Thomas Hartmann2012-09-192-0/+41
| | | | | | | | | | | | | | This is needed process all the events created by NodeInstanceView. Change-Id: Ia2df51f5aafdc670e60a47064092123a1a100049 Reviewed-by: Marco Bubke <marco.bubke@digia.com>
* | Tests.QmlDesigner: remove QSkip for working testsThomas Hartmann2012-09-191-1/+0
| | | | | | | | | | Change-Id: I85f61ff4b0ff5abcbff4ef766c4ca7706069bdbc Reviewed-by: Marco Bubke <marco.bubke@digia.com>