Commit Graph

27509 Commits

Author SHA1 Message Date
Przemyslaw Gorszkowski
ffba28d26a C++: Fix code compl. for instantiation of template specialization
It works for full specialization. Instantiate of the partial
specialization has to be implemented(finding appropriate partial
specialization-on going)

Added unit test.

Change-Id: I8ef5ea963e7c665e0d67d390b3a833486773dab0
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
2013-01-30 18:49:25 +01:00
Friedemann Kleint
c0fe621127 Remove QT_BEGIN/END_HEADER, fixing compilation with Qt 5 (dev).
The macros were removed in
07e3bcdc106ac42703ae0fb88b6cac2d2bfdd072 .

Change-Id: I4a43106ca85dc9ed97f75a4505888cb550305a8d
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-01-30 18:20:07 +01:00
Erik Verbruggen
0135609973 C++: changed field names of the preprocessor.
Change-Id: I9b199df863b404e4cb2ce3c76c920b9010c09260
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
2013-01-30 17:58:21 +01:00
Daniel Teske
955bc3b98e DebuggerKitInformation: Remove unused member
Change-Id: I42aca6cca0f54e568b0448f6ca04676d8946a7c2
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-01-30 14:46:52 +01:00
hjk
33ef5d1ce3 Debugger: fix deque and std::complex autotest
Change-Id: Idf6d0cc5a038d8203d5ad4fd4ce2f001b9fc1647
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-01-30 14:42:19 +01:00
El Mehdi Fekari
2f9f812098 Qnx: Fix output logs
For some reasons this was not merged properly into master

Change-Id: I634c9ecde6de27aec1531371fd2d9f7535177595
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
2013-01-30 14:30:36 +01:00
hjk
51523f3406 Debugger: enable auto tests for std::{unique,shared}_ptr
Change-Id: If927cbed7b2638ad9468be8f092a7b896f8fc162
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-01-30 14:03:27 +01:00
Sergey Belyashov
59b8c13ade Updated Russian translation
Change-Id: I4ffbaa9dd33b5466ebc0868040ceaba804d09864
Reviewed-by: Aleksei Timofeyev <aleksei.timofeyev@gmail.com>
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
2013-01-30 12:26:16 +01:00
hjk
9855c40bd1 Debugger: Fix some autotests
Change-Id: I2b6d6882bfdb0d2622c3fc9d4628ad3d65f73062
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-01-30 12:04:06 +01:00
Erik Verbruggen
ed600055ab Fix warning about unused static function.
Change-Id: Icc5de3ee0b44a178d6de7a37ce48d5b08fcec5fb
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-01-30 12:03:25 +01:00
Orgad Shaneh
9e1d730f4b External Tools: Show effective arguments
Expand variables to demonstrate what the arguments will be like

Change-Id: I32aed8aed38ada32b0ac6590772ed4d054bd463f
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2013-01-30 11:43:36 +01:00
Daniel Teske
339b7ba203 Android: Fix title of dialog
Change-Id: I0f1b46ffb621384663a2fa3a76f70ec04ddfa717
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2013-01-30 11:40:02 +01:00
Erik Verbruggen
fa48a36cba C++: undo accidental rename of struct TestData to TestCase.
This was done in 72db7a8f52.

Change-Id: I9b5d2b50de5dbd929c53e2ca0a70bce239c878ad
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
2013-01-30 11:39:22 +01:00
Tobias Hunger
98aa0909ac Vcs: Fix cache-checking for non-existing directories
Change-Id: Id314a40372feeddc61de89eae3684d502ea20d02
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-01-30 11:38:13 +01:00
Friedemann Kleint
b4ac33c752 Compile fix in QmlProjectManager.
Change-Id: Icd180542d2b8393562d05ce25dd70b8f48942220
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
2013-01-30 11:29:26 +01:00
Friedemann Kleint
86161c8900 Fix warning about struct/class mismatch in forward declaration.
Change-Id: I531bbc06fba0d10d1b9e389bbf517bdeb5db0189
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-01-30 11:07:57 +01:00
Friedemann Kleint
a565bc1ded Fix warnings/messages in QmlApp.
Do not translate warnings, use qWarning().nospace() consistently.
Fix message.

Change-Id: I4f278b4e3b5fdfadf81cdae45520a132da83aa86
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-01-30 11:07:42 +01:00
Tobias Hunger
808c7b9e30 Blackberry: Remove useless method
Change-Id: I1894f71d7a3976daf08ed6449446dfde23e381a1
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2013-01-30 10:57:55 +01:00
Erik Verbruggen
cede294788 C++: add test-case for member access replacement in completion.
Change-Id: Id5fe00b94a6622178db9bd26f54d29efe88970f7
Reviewed-by: Przemyslaw Gorszkowski <pgorszkowski@gmail.com>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
2013-01-30 10:29:12 +01:00
Orgad Shaneh
8f4817152c Git: Add subject to log combobox
Change-Id: Icb76ad1c0783615172d929e8cf402feaffaddbdd
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-01-30 10:26:58 +01:00
Orgad Shaneh
f6f822f5f6 VCS: Remove Apply/Revert Chunk when they are not applicable
Having disabled entries in a context menu without any additional
information why they are disabled is confusing

Change-Id: Idb3d5a7befe57b84adb2f7cb58b2cbc1331039ec
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-01-30 10:26:50 +01:00
Orgad Shaneh
7fb9f7b802 VCS: Devirtualize diff-related functions
They are not overridden anywhere, nor such an override seems useful

Change-Id: I1f255b90280d1df37c734789b14086467a469806
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-01-30 10:26:40 +01:00
Orgad Shaneh
7cb80f0e16 VCS: Use entries combobox for log
Tests included

Change-Id: Ibe2f6ece207128f8467b0cbca9dc38f2bcd5ced6
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-01-30 10:26:31 +01:00
Orgad Shaneh
d0f1193041 VCS: Another diff->entry rename
Change-Id: I3f4f6205f0b6e7c9a5aff0df26157686036118ba
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-01-30 10:26:15 +01:00
Orgad Shaneh
ea33bed564 VCS: Un-static testDiffFileResolving
Change-Id: I43c40585e5ac50369422d78f74240d7249be95ae
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-01-30 10:26:07 +01:00
Aurindam Jana
ce4ead4001 SdkTool: Return 0 on success
Change-Id: I8499e3ca267cc0035a181d47a1f573999ac3fc33
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-01-30 10:06:59 +01:00
Friedemann Kleint
71d9a2d875 Remove internal class QmlConsoleModel from public header.
Change-Id: Ie0ba0168c1973f8ffef193c6e32a9d3f34c25146
Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
2013-01-30 09:47:17 +01:00
Tobias Nätterlund
880944254b QNX: Use correct signal for XML editor in Bar descriptor editor
Change-Id: I37cf0f1f5399cd7a4e9900b2cf31b62648bc5370
Reviewed-by: Mehdi Fekari <mfekari@rim.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
2013-01-30 09:15:11 +01:00
Erik Verbruggen
5721847a57 C++: Fix possible null-pointer access.
Change-Id: Id42bb1cbf109cac8ab868ab7381a54d6be9a7697
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
2013-01-30 09:08:20 +01:00
David Schulz
6382ae65b9 Editor: Save and restore position in document on auto save.
Restores the horizontal and vertical scroll bar values when autosaving.

Task-number: QTCREATORBUG-8590
Change-Id: I7e821118fd427264655bbdd18ba5db9bec35841e
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
2013-01-30 08:59:20 +01:00
Przemyslaw Gorszkowski
421ea2afa4 C++: Test for nested class of enclosing template
Added additional test for change:
23844410fd

Change-Id: I9ddd23b0e852bf88105fef87fae82620da29c0b6
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
2013-01-30 08:09:21 +01:00
Sergey Shambir
38b20a2145 GccToolChain: detecting GCC 4.8 flag -std=c++1y
Change-Id: Ia5e92efd325b3164cc6d67b1469d5a63a0238aca
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2013-01-29 18:26:54 +01:00
Fawzi Mohamed
18fa486531 consoleprocess: support Terminal.app on mac
Distinguishes the process that starts the terminal from the stub
process, as on mac to support Terminal.app they are different.

Handle the stub not through the process that starts the terminal,
but through the local socket (on *nix).

Replace the blocking wait(...) in the main thread, with a nonblocking
wait in the signal handler when receiving a SIGCHLD, to leave the
main thread able to handle communication with creator.

This change allows the use of terminal emulator commands
that share a single instance or that fork.
So this is also the real fix for QTCREATORBUG-1633 on linux.

If creator crashes the stub and the debugged program live on.
This was done on purpose, it could be changed if considered better.

Task-number: QTCREATORBUG-6371
Task-number: QTCREATORBUG-1633

Change-Id: I4d4fb3a67b1987f4e46e2c603dcefe8c15152ad2
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
2013-01-29 17:56:59 +01:00
Przemyslaw Gorszkowski
7db3b660b6 C++ editor: Highlight member variable
Highlight member variable when there is also
enum value with the same name

Task-number: QTCREATORBUG-7525
Change-Id: I0990844a20fdf9e87a807fde10708344b9c3497b
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
2013-01-29 17:33:42 +01:00
Robert Loehning
298531e370 Incremented year in copyright info
Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
v2.6.2
2013-01-29 16:27:03 +01:00
Oswald Buddenhagen
f1cec4629e Merge remote-tracking branch 'origin/2.6'
Conflicts:
	src/libs/utils/tooltip/tips.cpp
	src/plugins/coreplugin/versiondialog.cpp
	src/plugins/projectexplorer/kitinformationconfigwidget.cpp
	src/plugins/qnx/blackberryapplicationrunner.cpp
	src/plugins/qnx/blackberrydeployconfiguration.cpp
	src/plugins/qnx/blackberrydeployconfiguration.h
	src/plugins/qt4projectmanager/qmakekitconfigwidget.cpp

Change-Id: I7886ec971942d9e0a9da237dcf4ceb1687abd71b
2013-01-29 15:52:36 +01:00
Friedemann Kleint
9d29b251e7 Fix spelling/blank errors discovered by the bots.
Change-Id: Id6b25e288ce4fe4299644f77db65911082e76262
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2013-01-29 15:50:27 +01:00
Friedemann Kleint
719d227bba tr()-Fixes in QNX plugin.
Fix capitalization of message box titles, fix some message to
be in line with QtSupport.

Change-Id: I6ff2b930fa8e10ef164588d76ff233e1e57ae63f
Reviewed-by: Tobias Nätterlund <tobias.naetterlund@kdab.com>
Reviewed-by: Mehdi Fekari <mfekari@rim.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2013-01-29 15:06:00 +01:00
Knut Petter Svendsen
f556e8f5f2 Fix: Make sure umask is used when creating new files
When a new file was created from the file menu, the permissions
on *nix was always 0600 regardless of the proess' current umask.
Fixed by letting CorePlugin::initialize() initialize the umask in
Utils::SaveFile. Since getting the system's umask is not thread
safe this can't be done directly in SaveFile::open.

Task-number: QTCREATORBUG-6513
Change-Id: I10d8b2f4ab85574ed3004b5e646664c2255196b9
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2013-01-29 14:50:05 +01:00
Przemyslaw Gorszkowski
7fcc52bf47 C++ editor: Highlighting static variables
Fix highlighting, find usages, marking for static variables.

Task-number: QTCREATORBUG-6822
Change-Id: I0c97c93c6c1024550907eec3820496df22a94e85
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
2013-01-29 14:01:11 +01:00
Friedemann Kleint
8bb0134c50 tr()-Fixes: Fix translation contexts.
Change-Id: Ic043a097947a80e2fb5cb381c585375c4e5f5eef
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
2013-01-29 13:58:36 +01:00
hjk
6d8d85b116 Add changes-2.6.2
Change-Id: I032255ba1d07103cf7f81cf88811fdc023101163
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
v2.6.2-rc
2013-01-29 13:52:27 +01:00
David Schulz
ad8bc271d2 Utils: fix compile error
Change-Id: I490c0f5e8d7df1c4da3ca5b15b89843bbda59738
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
2013-01-29 11:30:41 +01:00
Friedemann Kleint
757fd039e6 Do not use tr() in cpaster-frontend.
The command-line tool does not load any translations.
Prevent the messages from showing up in Qt Creator's ts-files.

Change-Id: I25e9cffb6fcd35fae7b021c2eb7ec60480db868d
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
2013-01-29 11:13:41 +01:00
David Schulz
f04650dbbf Utils: Set TipContent pointer to null in destructor.
Task-number: QTCREATORBUG-8582

Change-Id: I29e875564d983c4a1154cbc962616e1488425ac3
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
2013-01-29 10:04:36 +01:00
Nikolai Kosjar
370acaf502 C++: Tests: Add basic tests for CheckSymbols
CheckSymbols is the "data provider" for the semantic highlighter which
does not have any tests yet.

Change-Id: I868aca32d44570457a984b8ce74695c381c58bed
Reviewed-by: Przemyslaw Gorszkowski <pgorszkowski@gmail.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
2013-01-29 09:09:15 +01:00
hjk
986ff71642 Debugger: re-enable more tests
Change-Id: Iec02192477cebabd50da0f07b32e95b78eeb0078
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-01-28 18:16:30 +01:00
hjk
6d31f0b870 ActionManager: Require a valid context for shortcuts
All callers provide one, and the fall-back construction from 0
has not been appropriate for a while.

Change-Id: I8bc5d094b70aac251fff1a7d34f1fad876cbdee2
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2013-01-28 17:48:44 +01:00
hjk
167316d7da Debugger: Work on auto tests
Change-Id: I21e783407a904de3501d0ac89d5f6f497ae4b1fe
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-01-28 17:17:25 +01:00
Christian Stenger
4cb9f675aa Squish: use new approach for markText()
This new approach is a bit slower than using Qt functionality,
but it's now completely relying on user-interaction.

Change-Id: I361f6f201dfff8122a11aae30204eb79967fe4ae
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2013-01-28 17:07:12 +01:00