summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Windows: Fix buildEike Ziller2012-08-081-1/+2
| | | | | Change-Id: Ia8f13b5234bf192ab138a229668616019fb3faf3 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Fix linking of the core plugin on Windows.Friedemann Kleint2012-08-032-3/+4
| | | | | | | | | | | | | | DestroyIcon needs user32.dll. Introduced by e0f16c3093b50bee85790d3cc2c58b87b3d92cc4 . Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com> (cherry picked from commit 506df46f0b6e9f13a19da4bcbe4dee09106491d4) Change-Id: I11075c9cb911af403cb5ded74437c5a785fb768c Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
* Windows: Fix resource leakEike Ziller2012-08-031-0/+1
| | | | | | | | | | | Task-number: QTCREATORBUG-7385 Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com> (cherry picked from commit e0f16c3093b50bee85790d3cc2c58b87b3d92cc4) Change-Id: I85e0fc108eafea1abb7d4d559d1020163969e664 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
* Ensure first quote is accounted for when stripping the command itselfv2.5.1Andy Shaw2012-07-241-1/+1
| | | | | | | | | | | When the command line was processed to remove the call itself, it would not be removed correctly if it was quoted because it would not see the first quote. Task-number: QTCREATORBUG-7656 Change-Id: I016b1534e14563ddd8cadad8c0effcd6b4a9203b Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* C++: Fix broken merge of 9121c21230829b3897188c849c0247b8c67b8da5.Christian Kamm2012-07-232-1/+5
| | | | | Change-Id: I0cca1851132245430d59840728362ddea1475655 Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
* C++: Add dumpers for common datatypes to simplify debugging.Christian Kamm2012-07-234-2/+208
| | | | | Change-Id: I03f907dd0e8d9d63f0dfd38499c98296b5c7871a Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
* C++: Fix class scope completion for templates.Christian Kamm2012-07-202-0/+205
| | | | | | | | | | | | * You now get completion for std::vector<int>::[complete]. * Also added a test. Conflicts: src/plugins/cpptools/cppcompletion_test.cpp src/plugins/cpptools/cpptoolsplugin.h Change-Id: I596ebf6bd18ec9a347113f8d162cc124c8a0d6b4 Reviewed-by: hjk <qthjk@ovi.com>
* Don't build mdnssdThiago Macieira2012-07-1926-37548/+0
| | | | | | | | | | | | | This was enabled for Linux only, but Linux users should use Avahi, which is present on most modern distributions, and implements mDNS functionality. Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com> Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com> (cherry picked from commit 272e9a37f38896e899ce46355abcdd412fc247bc) Change-Id: I5e17ff9b8bff6eae9af2f8281937afdb687c371f Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Disable QGraphicsDropShadowEffect for MacAurindam Jana2012-07-123-0/+16
| | | | | | | | | | | The QGraphicsDropShadowEffect::draw() results in a crash on Mac https://bugreports.qt-project.org/browse/QTBUG-23205 . Task-number: QTCREATORBUG-7605 Change-Id: Icee71e6452997b2daede7ef4735e508caf68aa1a Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com> (cherry picked from commit d0152332a47837e1ec8522175a0a6d3571c4fba5) Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
* Fix crash on unloading Qt4 projectsDaniel Teske2012-07-042-2/+2
| | | | | | Change-Id: I6e05026e87ba1cf8a8e9d40fac7dd33c82f5a3ff Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* C++: Fix crash on invalid class nameLeandro Melo2012-06-112-14/+23
| | | | | | | | Task-number: QTCREATORBUG-7462 Change-Id: Ic1df4b535c5a617efa707110138c76e6e7ef1e4b Reviewed-by: Robert Löhning <robert.loehning@nokia.com> Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
* Fix commit to mercurial repositoriesTobias Hunger2012-06-071-4/+4
| | | | | | | Tasknumber: QTCREATORBUG-7511 Change-Id: I07991c1d96b3239e66d47d9c7d5c85f8fdc14af4 Reviewed-by: Hugues Delorme <delorme.hugues@fougsys.fr>
* SessionManager: Don't autosave the session while loading a sessionDaniel Teske2012-06-013-9/+25
| | | | | Change-Id: I3ce769f9d9753b2771b349ad19a5b248a7f306d2 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Start auto save session timer later and let it occur more then onceDaniel Teske2012-06-011-2/+1
| | | | | | | Fixes regressions introduced by f059018a8eeab714647685e43473f348e3b3d3c9 Change-Id: I9d590580a9d36ac6980a6d170a119ebe33819262 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Fix default ui language on Linux.Eike Ziller2012-05-311-1/+2
| | | | | | | | On systems where uiLanguages returns something containing "-" (e.g. "de-DE", see QTBUG-25973) Change-Id: Ibe2db6a7a6ed893795e3f3110b33c39225bed751 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* SVN: Fix project status command when no document openJonathan Liu2012-05-161-1/+1
| | | | | | | | | | | The SVN project status command is using currentFileTopLevel() for the working directory when it should be using currentProjectTopLevel(). If no document is open, currentFileTopLevel() will return an empty string which means the current working directory of Qt Creator is used. Change-Id: I848b1adf7166836c5d15e88796af77f8700a43f2 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com> (cherry picked from commit 82a821fc9b7d0770db15dda0db538966beefd695)
* CMake: Fix crash in makestep if used in the deploystep listDaniel Teske2012-05-151-0/+2
| | | | | | Task-number: QTCREATORBUG-7427 Change-Id: I8cc1e49e87d38c1a789bf3dee25b62668efc433d Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Let the desktop system handle mailto links.kh12012-05-101-0/+4
| | | | | | | Task-number: QTCREATORBUG-4058 Change-Id: If48f8150bc05418c3ac0b9e132b84ed7836e08fa Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
* debugger: fix toplevel expansion behaviour of pinned tooltipsv2.5.0hjk2012-05-091-1/+1
| | | | | | | | That is the necessary part of the previously reverted patch. Change-Id: Ie25171cd013712b7141de01d4c23deb20fe08578 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Revert "debugger: improve expansion behaviour of pinned tooltips."hjk2012-05-094-10/+27
| | | | | | | | | | | | | This reverts commit 89cee4313cca5f16e785d6e1736315ca7374689f, as part of the patch breaks QTCREATORBUG-7277. The GDB case should not filter the Locals model, but the Tooltip model to display tooltips. CDB has no choice, as the tooltips are expressions, i.e. cannot be handled, so using the Locals as fall back there is ok. Change-Id: I196bc683e06f68301bd86aa6fcce14ad2e8c5774 Reviewed-by: Eike Ziller <eike.ziller@nokia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
* Fix MSVC forward declaration warning (struct vs. class).Friedemann Kleint2012-05-091-1/+2
| | | | | | | Coding style says class should be used everywhere. Change-Id: Ia1c75d6b3222c6672e1ffac22395affd2f2add1c Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Restore state of find flags in FindToolWindow.Konstantin Tokarev2012-05-072-4/+12
| | | | | | | | | | | There was an issue with checkboxes "Case Sensitive", "Whole Word", and "Regular Expression": their state was properly saved in FindPluginPrivate::m_findFlags, but was not properly restored in GUI of FindToolWindow on the next run of Qt Creator. This patch fixes this issue. Change-Id: I31e1e14a4117fbf4f4d17e82b3fa2b90973be339 Reviewed-by: Konstantin Tokarev <annulen@yandex.ru> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* CDB: Dump Qt 5 / QString correctly.Friedemann Kleint2012-05-071-1/+4
| | | | | | | Adapt to recent change basing QStringData on QTypedArrayData. Change-Id: I8145015e31ca10bc484d01e8082a2f97d6750285 Reviewed-by: hjk <qthjk@ovi.com>
* Translate editor display names in correct context.Konstantin Tokarev2012-05-0710-10/+20
| | | | | | | | | | | | | These strings were internationalized long ago, but wrong context prevented them from being actually tranlated in GUI. This patch won't break anything - if these strings were not translated for particular language, they stay untranslated, but if they were, translations are used (e.g. for RU). Change-Id: I175e29e8b0cee2bff9306623dad4a5956db69288 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Debugger: Show location marker (again)Kai Koehne2012-05-031-0/+1
| | | | | | Change-Id: Ia66e42d90a00ba3ddc6425c0fa5a1d4dc896c545 Reviewed-by: Daniel Teske <daniel.teske@nokia.com> Reviewed-by: hjk <qthjk@ovi.com>
* Per request, add tool tip to topic chooser items.kh12012-05-031-1/+3
| | | | | Change-Id: I35e088e8a6fbd04c23e036b74cd0edb66260e455 Reviewed-by: hjk <qthjk@ovi.com>
* fakevim: restrict tabstop and shiftwidth spinbox to range 1..80hjk2012-05-031-2/+8
| | | | | | | Task-number: QTCREATORBUG-7375 Change-Id: Ie6747d9be78a37cb2a0932720506aee26c1e6716 Reviewed-by: Eike Ziller <eike.ziller@nokia.com> Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
* Fix warning.Eike Ziller2012-05-031-0/+2
| | | | | Change-Id: I277d036e9652b5558b5cd39c5a3075af458209e8 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* Actually return somethingDaniel Teske2012-05-031-1/+1
| | | | | Change-Id: I7e3e7fcd43ecee95fa84054da891cf7802f5c6e2 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* BaseTextMark: Use (explicit) two phase initilizationDaniel Teske2012-05-036-5/+23
| | | | | | | | | Fixes a bug where the text in the bookmarks view is missing on initial adding a bookmark. Change-Id: Iefbf05e6124c0b4e911aa8d67beaa82ceeac8e21 Reviewed-by: hjk <qthjk@ovi.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* fakevim: don't allow non-positive numbers for tabstop and shiftwidthhjk2012-05-033-10/+23
| | | | | | | Task-number: QTCREATORBUG-7375 Change-Id: I947dd903a5e7d09e367afbc771582793e6c008f1 Reviewed-by: Eike Ziller <eike.ziller@nokia.com> Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
* ProjectExplorer: Fix compiler warningKai Koehne2012-05-031-0/+1
| | | | | Change-Id: I49437737972524c3a60c690243e4d992106effae Reviewed-by: hjk <qthjk@ovi.com>
* Stop the autosaving session timer on closing CreatorDaniel Teske2012-05-025-9/+16
| | | | | Change-Id: I3b9c791d95d7815a711f72cec08f405fb1cdac7c Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Mac: Build menu stays disabled with Qt 4.8.1 and laterEike Ziller2012-05-021-0/+16
| | | | | | | Works around QTBUG-25544 Change-Id: I136aaa403f78e9c3903abc013c3267bc3585f54b Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* Save the session on closing Creator while on the projects modeDaniel Teske2012-05-021-2/+0
| | | | | Change-Id: I8a88b1faeca70fcefb3bfbfab76c4dc05f684f27 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Editor: Fix null-pointer dereferenceDavid Schulz2012-04-271-0/+1
| | | | | | Task-number: QTCREATORBUG-7330 Change-Id: I5c76e5ce4e3ab7f0659a7df82301b853a9983da1 Reviewed-by: hjk <qthjk@ovi.com>
* debugger: fix crash when enabling/disabling a breakpoint without a markerhjk2012-04-271-2/+4
| | | | | | | | | This can happen for data breakpoints. Task-number: QTCREATORBUG-7334 Change-Id: I0830ad68e5463bafb5399bae36bf276e5247b42c Reviewed-by: Robert Löhning <robert.loehning@nokia.com> Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* debugger: prevent crash on machjk2012-04-261-6/+10
| | | | | | Task-number: QTCREATORBUG-7333 Change-Id: I5e2a40f06babf3143d3d0109eae5e65393ffe012 Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
* Adapt CDB debug helpers to pending container changes.Friedemann Kleint2012-04-252-15/+44
| | | | | | | | - Adapt QByteArray, QString, QVector. - Disable QMap for Qt 5. Change-Id: I113d546fc69165b504ce4998b3bf7ac9c44130fb Reviewed-by: hjk <qthjk@ovi.com>
* qbs files: Add QT_NO_CAST_FROM_ASCII to git and todoOrgad Shaneh2012-04-252-1/+2
| | | | | Change-Id: Ic9f61a8e08e591853b00ef31b418aa59fd771240 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* Revert "Fix Options/Qt Versions adding versions on apply"Daniel Teske2012-04-233-15/+3
| | | | | | | | | The fix is only needed in master, this was wrongly commited to 2.5 This reverts commit e636c09163cbebc1921f97628ee0354a29d545d4 Change-Id: I2d99e0c06b3ed5b054021aea906ecd59055d659e Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Fix crash in CPP Type HierarchyTobias Hunger2012-04-201-5/+10
| | | | | | | | | | Fix crash happening when closing the editor containing a class that is viewed in the Type Hierarchy. Task-number: QTCREATORBUG-7327 Change-Id: I87298b7e0b271b9a5063d48999a37e8a0e78ba48 Reviewed-by: Eike Ziller <eike.ziller@nokia.com> Reviewed-by: David Schulz <david.schulz@nokia.com>
* Qt4Project code model: Also include files from cumulative parseDaniel Teske2012-04-192-12/+22
| | | | | | | | Task-number: QTCREATORBUG-7321 Change-Id: I3232c8618d13830caf5a511765eea80df9c7449b Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Daniel Teske <daniel.teske@nokia.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Remove wrong forward declaration of ProFileReaderDaniel Teske2012-04-191-1/+0
| | | | | Change-Id: I1f50d0f2ae2dd575b8bed290625bb276df9755f8 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* Qt4Project: cpp code model add <configuration> and headersDaniel Teske2012-04-193-0/+7
| | | | | | | | | | | This makes the data which we pass on to the codemodel similar again to before 3aab8beaf4c585e66179f14fac2f63b51f034520 Task-number: QTCREATORBUG-7198 Change-Id: I40a4812b27b69efd788abc85532efbdda1bef7d6 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com> Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* qbs files updatedJoerg Bornemann2012-04-1814-4/+21
| | | | | | | | | Property bindings in ProductModules now need explicit Depends items. Also, some Qt dependencies were propagated wrongly and are now added explicitely. Change-Id: I58cd389eb0ab106004b1d575438d1ad2ff36189f Reviewed-by: Marco Bubke <marco.bubke@nokia.com>
* Fix crash in valgrind suppression dialog.Eike Ziller2012-04-181-1/+1
| | | | | | | Task-number: QTCREATORBUG-7235 Change-Id: I097ca267725873b4c08a4722d1426d5c7d17a61e Reviewed-by: hjk <qthjk@ovi.com>
* debugger: disable the gdb fallback for MSVC compiled binaryhjk2012-04-171-1/+1
| | | | | | | | | | | | | | | The result of using gdb on msvc compiled binaries is not satisfactory. It essentially shows raw disassembly only and allows switching threads after user initiated stops. No breakpoints etc. It is expected that people would never use the msvc/gdb combination consciously so it seems better to not provide the feature at all. Change-Id: I8918103e44643bfa1ad0b419a911a232f8a5299e Task-number: QTCREATORBUG-7309 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: David Schulz <david.schulz@nokia.com>
* QmlDesigner: crash fixThomas Hartmann2012-04-171-0/+3
| | | | | | | | | | There can be holes in the prototype chain. This can lead to a type being its own prototype. Task-number: QTCREATORBUG-7300 Change-Id: I10c76decdf3d6490d468ad9dd1ea65f0cbacdfbb Reviewed-by: Marco Bubke <marco.bubke@nokia.com> Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
* Improved "Disable build/run step" iconRobert Loehning2012-04-161-0/+0
| | | | | | | Task-Number: QTCREATORBUG-6904 Change-Id: I25f7d65f6a23da193d6e5e7e83fedd2eea4ea499 Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com> Reviewed-by: Robert Löhning <robert.loehning@nokia.com>