summaryrefslogtreecommitdiff
path: root/src/libs
Commit message (Collapse)AuthorAgeFilesLines
* 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++: 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>
* 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>
* 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>
* 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>
* 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 updatedJoerg Bornemann2012-04-189-1/+15
| | | | | | | | | 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>
* QtCProcess: Use native separators for commandOrgad Shaneh2012-04-161-1/+1
| | | | | Change-Id: I2da749ce7b9233497d2d611163b95ad7b7ba28bd Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* Qbs: Libraries capitalized and relocated in bin on WindowsOrgad Shaneh2012-04-0413-33/+43
| | | | | | Change-Id: I994027ef50f5f7c4ff1b2bef06d9f8db037243e4 Reviewed-by: Marco Bubke <marco.bubke@nokia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* Qbs: Fixes for Windows compilationOrgad Shaneh2012-03-294-12/+33
| | | | | Change-Id: Ia392b8dc566e1d4ffadd67c09a30ace7f64b9f3f Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* Fix invalid decltype error recovery which resulted in crashes.Erik Verbruggen2012-03-281-4/+2
| | | | | | | Task-number: QTCREATORBUG-7174 Change-Id: I653db71adc45586cd8518ffd96118425fd3763be Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* FileUtils: Remove symbolic links when removing a directoryAurindam Jana2012-03-271-1/+1
| | | | | | | Task-number: QTCREATORBUG-6898 Change-Id: Idef8eee191d6d5b8f66046a4e6c6891a54262d2e Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
* Wizards: blacklisting more characters for file namesThomas Hartmann2012-03-271-8/+5
| | | | | Change-Id: Idddfe95eeee0df31c6737e11fe7b4b095b594111 Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
* Wizards: adding more illegal characters to FileNameValidatingLineEditThomas Hartmann2012-03-261-2/+2
| | | | | Change-Id: Ia111118b52b92b65916000df76065e4eb95dc8a0 Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
* Win: Avoid long creator startup times with '\' in PATHTobias Hunger2012-03-221-2/+5
| | | | | | Task-number: QTCREATORBUG-6501 Change-Id: Idfe050486db2d486e895bf6670cad3084871c44a Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* C++: Fix lambda declarator processingFlex Ferrum2012-03-201-2/+6
| | | | | | | | | Now Qt Creator does not warn about lambda declaration with not empty parameters list. Task-number: QTCREATORBUG-6243 Change-Id: I07121a80fbca98c36820d1d8bb1be6e82ab96b12 Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com>
* CrumblePath: Fix CrashAurindam Jana2012-03-201-4/+4
| | | | | | | | | | QWidget::mousePressEvent() closes the widget if the position is not within the rect. A subsequent call to update() amounts to accessing potentially corrupt memory. Hence call update() before calling QWidget::mousePressEvent(). Change-Id: I850471d3a1dfdb0a4f0541a69fd2f239dbf8b5fa Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* ZeroConf: Fix uninitialized values reported by valgrind.Daniel Molkentin2012-03-191-2/+2
| | | | | Change-Id: I521b43a5348599609c7d34c4bc1ad471e640bc44 Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
* QmlProfiler: fix broken recording logic from the client sideChristiaan Janssen2012-03-151-3/+8
| | | | | | | | | | This patch should not be applied back to the master branch, since the issues are already fixed by b7304e2f2e. Task-number: QTCREATORBUG-7091 Change-Id: I6f0b7752f3446b412c5bd9ae6e3d7e1847472e56 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* Replaced one-char-stringsRobert Loehning2012-03-151-1/+1
| | | | | Change-Id: I873606e5a5cd92c0987bc89bd2bfa085a384b797 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* QmlJS: Initialize variable properlyKai Koehne2012-03-141-0/+1
| | | | | Change-Id: Ie9447e040c228b42766969ed8d80b33f67cccc46 Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
* QmlProfiler: Fix memory leakKai Koehne2012-03-141-0/+1
| | | | | Change-Id: Ieed04f3a11d2685de55b70ab501969778f6fc1dd Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
* QmlJS: Fix warning text when loading .qmltypes fileKai Koehne2012-03-131-1/+1
| | | | | Change-Id: Ia9509087fad6a63de2c6f35a012f5542c6bc2c98 Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
* QmlJS: Actually print warning for .qmltypes fileKai Koehne2012-03-131-1/+1
| | | | | Change-Id: I93030362168719c126818006839e9fae0ca673ce Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
* CppEditor: Fix go to definition of macros.Francois Ferrand2012-03-131-2/+2
| | | | | | | | | | | | | | | | | | - Go to macro definition only on macro name (ie not in parameters). - Prefer macro definition over expanded code definition, as the preprocessor is executed first: when trying to go to definition, the user sees the macro, not the expanded code. Task-number: QTCREATORBUG-2240 Task-number: QTCREATORBUG-6175 Task-number: QTCREATORBUG-6848 Task-number: QTCREATORBUG-7008 Task-number: QTCREATORBUG-7009 Change-Id: I819c763524e79b20518c26a46a99a3a3b0a131bd Reviewed-by: Andre Hartmann <aha_1980@gmx.de> Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com>
* SSH: UI fixes.Christian Kandeler2012-03-081-2/+2
| | | | | Change-Id: I7f65be81991130240e0ec74ebd43a8e0aa136a14 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
* QmlTooling: Parse messages from latest Qt5Kai Koehne2012-03-081-5/+16
| | | | | Change-Id: I5b2574d5dd2fecbf483a2e33feb8674846b84a59 Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
* QmlJS indenter: Improve indentation of function expressions.Christian Kamm2012-03-061-20/+3
| | | | | | | | | As discussed with Tor Arne and Fawzi in http://codereview.qt-project.org/#change,18080 Change-Id: Ia0482d2ed3ddd61fa002e2c76b948301af52a795 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@nokia.com> Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
* Normalized connect()sRobert Loehning2012-03-0610-39/+39
| | | | | | Change-Id: Id353ab140a46e06ffc3abf667ab3b234e749e17c Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Add missing copyright headersTobias Hunger2012-03-054-0/+128
| | | | | Change-Id: I71f9050a7de9c7b07bcd7d96c8e5fc64a8565fb0 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* QmlJS indenter: Improve handling of function expressions.Christian Kamm2012-03-011-8/+17
| | | | | | | | | Task-number: QTCREATORBUG-7001 Change-Id: I254b84153b042c81008314bbebc800edfe201b89 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@nokia.com> Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com> (cherry picked from commit fcaf3d4f4c515e9c552357156d0a48b2c8359984)
* QmlJS indenter: Fix hang with invalid code.Robert Loehning2012-03-011-3/+13
| | | | | | | | | Task-number: QTCREATORBUG-7005 (cherry picked from commit 0c597a6f070ebd434d93cc4052f8445e4ba434dc) Change-Id: I2e343fbcc6931530e7db142bf6e268dac696970f Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
* QmlProfiler: Fix loading of tracesKai Koehne2012-02-291-2/+2
| | | | | Change-Id: I86da60dacb2c0c057b32e2e452dba9a359d8eb43 Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
* [C++] Add error recovery for namespace declarations.Erik Verbruggen2012-02-281-1/+26
| | | | | | Change-Id: I884ff9901c95467524e5eba38e91f75992d30e14 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com> Reviewed-by: Flex Ferrum <flexferrum@gmail.com>
* zeroconf: fix triggerRefresh (but at cost of polling every 5 sec)Fawzi Mohamed2012-02-271-3/+8
| | | | | Change-Id: Ifc08553f7469947f657d938dbaae3f0011c51482 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@nokia.com>
* Zeroconf: Add qbs project file.Christian Kandeler2012-02-271-0/+32
| | | | | Change-Id: I1c0fa6cd7a77bab87c41cfa15eb7d4ceb93a697b Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* ScriptConsole: Show File and Line InfoAurindam Jana2012-02-272-4/+21
| | | | | | | | | | Show File and Line Info for items that have the info. Clicking on the item opens the file and sets the cursor position on the line. The context menu also provides option to copy contents and option to clear the view. Change-Id: I161de392ba35e37d323b049371619b01c617c798 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* [C++11] Fixes semantics for trailing return types.Erik Verbruggen2012-02-231-6/+8
| | | | | | | | | Now we can parse: auto foo()->int; without getting semantic errors. Change-Id: Id65c1198c20b2b0c7e8e4eee8ad176d0d66fc0d7 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* [C++] Correctly parse inline constructors for templates.Erik Verbruggen2012-02-231-1/+2
| | | | | | | | This failed for: template<class T> inline S<T>::S(nullptr_t):_p(0){} Change-Id: Ibb48f403a66cb19567e65270aa166849ee81a162 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* Debugger: Fix QML-only debugging on HarmattanKai Koehne2012-02-233-2/+21
| | | | | | | | | Actually wait for the 'Waiting for debugger on port ' ... message to appear in the application output before connecting, and also use the port specified there. Change-Id: Ib498e5306bc49f2f3d468353b1c5d1ea38a809e6 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
* SSH: Add debug message.Christian Kandeler2012-02-231-0/+4
| | | | | Change-Id: I246ae125285da6c5be8e2acbe8547270a185d298 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
* qbs project files updatedJoerg Bornemann2012-02-231-1/+0
| | | | | Change-Id: Id1ca01f4910003535a32b7d3b0ad5fd3d433172a Reviewed-by: hjk <qthjk@ovi.com>
* Remove unused class memberLeandro Melo2012-02-231-2/+1
| | | | | Change-Id: I35120b106f4e246d196e2306c8043d7657f98bf3 Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
* [C++] Added object pool handling for CompletionAssistProvider.Erik Verbruggen2012-02-231-0/+5
| | | | | Change-Id: I89634989a7f360a30f7ed1bde4e67c93551ddfe4 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* C++: handle destructor names with template parameters.Erik Verbruggen2012-02-2314-37/+37
| | | | | | Change-Id: I74b4fd5e043db935abc18345b303d294b71e8fc2 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com> Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com>
* Removed module names from #include directives.Erik Verbruggen2012-02-221-1/+1
| | | | | | | | Missed this one. Change-Id: I6176cab1d65ebe14ba34b9bb0c565bed6e152c4a Reviewed-by: Bill King <bill.king@nokia.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* utils: remove 'export' when batch-editing environment variableshjk2012-02-211-1/+7
| | | | | | | This helps when copy-pasting from e.g. a shell script. Change-Id: I8beb8f29189d1cd8c85818819c46bf3ed21b5f5a Reviewed-by: hjk <qthjk@ovi.com>
* C++: Add support for C++11 range-based 'for' loopsFlex Ferrum2012-02-2118-5/+305
| | | | | Change-Id: I7eef048a7952a79f031ae3d0abba68e3c5ffbfb8 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* projectexplorer: Make the debugger language chooser a (hardcoded) "aspect"hjk2012-02-214-221/+0
| | | | | | | | | | | | This is the first step of a larger refactoring. The plan is to make debuggersettings more orthogonal to individual runconfiguration implementation. This patch alone already pushes the settings handling to the debugger plugin and removes code duplication in the runconfiguration implementation. Change-Id: I4c78d1658ea462d3df14b873f8f41cc918a23f1a Reviewed-by: Daniel Teske <daniel.teske@nokia.com> Reviewed-by: hjk <qthjk@ovi.com>
* add qbs filesJoerg Bornemann2012-02-2012-0/+1441
| | | | | Change-Id: If6bf71797ae81655d24a77e6badb86a77312af38 Reviewed-by: hjk <qthjk@ovi.com>