qt-creator:wvrneers-android-qt-creator.git
8 years agoSome naming adaptions. v1.3.0
con [Mon, 30 Nov 2009 17:21:39 +0000 (18:21 +0100)]
Some naming adaptions.
(cherry picked from commit 5bcff248fb85917f3ce668f0eec16b9c2bca7267)

8 years agoAdded missing German translations.
Robert Loehning [Fri, 27 Nov 2009 11:43:22 +0000 (12:43 +0100)]
Added missing German translations.

Reviewed-by: Oswald Buddenhagen
(cherry picked from commit f1d79229d33c3bb05627e1764e1b986f1ee36010)

8 years agoAdded missing German translation.
Oswald Buddenhagen [Thu, 26 Nov 2009 20:48:59 +0000 (21:48 +0100)]
Added missing German translation.

by robert
(cherry picked from commit c7cd13892e1a32575c99a48ff21277581ffb9f6e)

8 years agoArm => ARM
Oswald Buddenhagen [Mon, 23 Nov 2009 13:06:15 +0000 (14:06 +0100)]
Arm => ARM
(cherry picked from commit 0271da5f37ddd33f067cb28bc237dadf59de1e93)

8 years agoUpdate japanese translation.
axasia [Wed, 18 Nov 2009 17:14:07 +0000 (18:14 +0100)]
Update japanese translation.

Merge-request: 2140
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
(cherry picked from commit fbede04f673ded26c0a74fa4566bb3a3485445c4)

8 years agoUpdated Russian translation.
Sergey Belyashov [Tue, 17 Nov 2009 14:47:38 +0000 (15:47 +0100)]
Updated Russian translation.

Merge-request: 2115
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
(cherry picked from commit 9ce3bd0b7658a95de36b308f0388468d2c991e2c)

8 years agoDon't patch .qmake.cache on Linux
con [Thu, 26 Nov 2009 17:41:39 +0000 (18:41 +0100)]
Don't patch .qmake.cache on Linux

Reviewed-by: Daniel Molkentin
Reviewed-by: Thorbjørn Lindeijer
(cherry picked from commit 3a9dd159801f3a210a8027a6296f8ac52df46021)

8 years agoPatch .qmake.cache
con [Thu, 26 Nov 2009 17:37:27 +0000 (18:37 +0100)]
Patch .qmake.cache

Reviewed-by: Daniel Molkentin
(cherry picked from commit 8069cc6bce6c099d1c5ff812f09d48ce5cae6983)

8 years agoFixed possible crash in the code completion
Thorbjørn Lindeijer [Thu, 26 Nov 2009 15:22:03 +0000 (16:22 +0100)]
Fixed possible crash in the code completion

Null pointer reference in a case where the global namespace is
explicitly specified using ::

Task-number: QTCREATORBUG-351
Review-pending-by: Roberto Raggi
(cherry picked from commit b02d705ac4f4fb256c3d92340720e4fb972ba0f9)

8 years agoDebugger/CDB: Windows 64 integer handling.
Friedemann Kleint [Wed, 25 Nov 2009 15:32:44 +0000 (16:32 +0100)]
Debugger/CDB: Windows 64 integer handling.

Convert CDB unsigned integer values should they appear in hex,
make format flexible.
Use int64 for reformatting integers to be able to accommodate
64 bit values on Windows 64. Add some more integer types.
Do not save decimal type formats. Add menu option to clear
individual formatting. Do not use map[] to query the type formats
(inserting 0 everywhere as a side effect).

Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
(cherry picked from commit 2b23ea2a8ac8166820b76476b18fd7fd7014e695)

8 years agoVersion bump.
con [Wed, 25 Nov 2009 14:48:52 +0000 (15:48 +0100)]
Version bump.

8 years agoFixed translation typo.
Robert Loehning [Wed, 18 Nov 2009 18:46:10 +0000 (19:46 +0100)]
Fixed translation typo.

Reviewed-by: Maurice Kalinowski
(cherry picked from commit bfb01f41624b4c20d024f6c1537bceba8ed5a50f)

8 years agoFix a bug with selecting copying the right text to the Find dialog.
dt [Wed, 21 Oct 2009 13:10:27 +0000 (15:10 +0200)]
Fix a bug with selecting copying the right text to the Find dialog.

To reproduce:
Split editors.
Select text in first editor.
Select text in second editor.
Invoke the find dialog.
Notice that the text from the first editor was used.

Reviewed-By: mae
(cherry picked from commit fd0fbddebbf8b78398cc4d26e3bb36b8c445a307)

8 years agoFixed a potential issue with automatic brace matching
Thorbjørn Lindeijer [Mon, 23 Nov 2009 14:15:56 +0000 (15:15 +0100)]
Fixed a potential issue with automatic brace matching

When encountering a line that hasn't been highlighted yet, we need to
abort the optimization for changing brace depth.

Done with Roberto Raggi and mae.
(cherry picked from commit 6894cd0b2ee5c788db407435f947d0128bc54c98)

8 years agoAnother fix for patched file file :name
con [Mon, 23 Nov 2009 11:54:13 +0000 (12:54 +0100)]
Another fix for patched file file :name

Reviewed-by: Daniel Molkentin
(cherry picked from commit 40bc1ac07bbb3572198818718240f608940d4fcd)

8 years agoalso patch .qmake.cache, fix list of files to patch in old patcher.
Daniel Molkentin [Mon, 23 Nov 2009 10:43:15 +0000 (11:43 +0100)]
also patch .qmake.cache, fix list of files to patch in old patcher.
(cherry picked from commit 2f3a16efcbf5c0b75d7cacbde8f9be4fad141c1b)

8 years agoCDB: Convert 64bit pointers correctly.
Friedemann Kleint [Mon, 23 Nov 2009 10:01:49 +0000 (11:01 +0100)]
CDB: Convert 64bit pointers correctly.

Adapt to the output format "0x0000000`0046535C".
Reviewed-by: hjk <qtc-committer@nokia.com>
(cherry picked from commit 7def179a9874ef9cbeec8f824bcf35acc42d9253)

8 years agoDebugger: Fix setting of integer formats per type.
Friedemann Kleint [Mon, 23 Nov 2009 10:00:43 +0000 (11:00 +0100)]
Debugger: Fix setting of integer formats per type.
Reviewed-by: hjk <qtc-committer@nokia.com>
(cherry picked from commit 2c403df66099b278732ece3aa5647b5bc9903748)

8 years agoA few tiny last minute fixes in the french translation.
Pierre Rossi [Mon, 23 Nov 2009 09:21:00 +0000 (10:21 +0100)]
A few tiny last minute fixes in the french translation.

8 years agoS60: Detect Device SDK from paths if registry entry is missing.
Friedemann Kleint [Fri, 20 Nov 2009 14:58:24 +0000 (15:58 +0100)]
S60: Detect Device SDK from paths if registry entry is missing.

Display the error in a label of the preferences page.
Reviewed-by: con
(cherry picked from commit a9fa7c71fa91416301ecb9d7aaf17b0b9bb36777)

8 years agoFixed possible crash when using tab to complete (Qt/Carbon only).
Roberto Raggi [Fri, 20 Nov 2009 14:07:10 +0000 (15:07 +0100)]
Fixed possible crash when using tab to complete (Qt/Carbon only).

Task-number: QTCREATORBUG-199
Reviewed-by: thorbjorn
(cherry picked from commit e2925540675b3c723f46f4f6a21a0cbf3dff26ad)

8 years agoFrench translation of creator final
Pierre Rossi [Sun, 22 Nov 2009 20:50:27 +0000 (21:50 +0100)]
French translation of creator final

8 years agoMake context help work also when switching user interface language.
con [Thu, 19 Nov 2009 10:23:52 +0000 (11:23 +0100)]
Make context help work also when switching user interface language.

Also avoids errors because of users messing with the "Unfiltered"
filter, which is used for e.g. context help.
The strategy now is to remove the "Unfiltered" filter from previous runs
(possibly in a different language), and re-register a fresh filter with
the name in the current language, and guaranteed to not filter out
anything.

Reviewed-by: kh1
(cherry picked from commit ad4c227ca45912b27383236d8b73b790e97acf8e)

8 years agogdb: On Windows, also substitute the debugging path for non-sdk Qt.
Daniel Molkentin [Thu, 19 Nov 2009 18:43:18 +0000 (19:43 +0100)]
gdb: On Windows, also substitute the debugging path for non-sdk Qt.

Reviewed-By: hjk
(cherry picked from commit 40518ac11c549f34f711ce057822ac51fdb8c9b5)

8 years agoFix RunConfigurations showing only enabled RunConfigurations
dt [Thu, 19 Nov 2009 17:54:36 +0000 (18:54 +0100)]
Fix RunConfigurations showing only enabled RunConfigurations
(cherry picked from commit 3e68d1a701e6c800016f76699b64c0bdbf48e6e1)

8 years agoFixed possible crash on constructor completion
Thorbjørn Lindeijer [Thu, 19 Nov 2009 16:23:53 +0000 (17:23 +0100)]
Fixed possible crash on constructor completion

When constructor completion was attempted on a base class specified in a
class declaration, a null pointer reference would occur.

Task-number: QTCREATORBUG-321
Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
(cherry picked from commit 69969bef43f8077b7402e46bfc9a1765ad6afd7d)

8 years agodebugger: prevent crash when trying to view memory if bin editor is
hjk [Thu, 19 Nov 2009 08:51:21 +0000 (09:51 +0100)]
debugger: prevent crash when trying to view memory if bin editor is
unavailable
(cherry picked from commit 4461ec2ef57e16a3ba69ec0e9ee919a8b1d6c4f3)

8 years agoreset 'busy' cursor if editor could not be created
hjk [Thu, 19 Nov 2009 08:52:34 +0000 (09:52 +0100)]
reset 'busy' cursor if editor could not be created
(cherry picked from commit 1d0758d8b1f0816e9b45a70bcdb3896da0f1bc8d)

8 years agodebugger: access preloaded dumpers also when stopped by a signal
hjk [Fri, 13 Nov 2009 13:15:08 +0000 (14:15 +0100)]
debugger: access preloaded dumpers also when stopped by a signal
(cherry picked from commit 516af4b1b66d0e09e5e35ca35a7eae0554dfa084)

8 years agoWizard: Polish, layout and module names.
Friedemann Kleint [Wed, 18 Nov 2009 11:11:16 +0000 (12:11 +0100)]
Wizard: Polish, layout and module names.
Reviewed-by: con
(cherry picked from commit ce5380aaebd95e2b17c046a50d6d5f0f158d3b02)

8 years agoDesigner: Restrict files used for "Go to slot" to project of ui-file.
Friedemann Kleint [Wed, 18 Nov 2009 09:31:16 +0000 (10:31 +0100)]
Designer: Restrict files used for "Go to slot" to project of ui-file.

Reviewed-by: con
Task-number: QTCREATORBUG-245
(cherry picked from commit 213b8638ed1e13f513aca93c62f927fb9dc9fa50)

8 years agoShortcut Ctrk-L (Locator Goto Line) broken in most translations.
Friedemann Kleint [Tue, 17 Nov 2009 15:56:04 +0000 (16:56 +0100)]
Shortcut Ctrk-L (Locator Goto Line) broken in most translations.

Change the translateable string not to contain a blank.

Task-number: QTCREATORBUG-299
Reviewed-by: Thorbjorn Lindeijer <thorbjorn.lindeijer@nokia.com>
(cherry picked from commit 066b1d8d6b51a5c2fea2b3a1f7618d76cd1269f0)

8 years agoS60: More precise about Qt version to use. v1.3.0-rc1
Robert Loehning [Fri, 13 Nov 2009 10:29:50 +0000 (11:29 +0100)]
S60: More precise about Qt version to use.
(cherry picked from commit de6551b8fe2b035a214a4d1315b96143a159f5b0)

8 years agoS60: Added documentation paragraph about running in emulator.
Robert Loehning [Fri, 13 Nov 2009 09:57:53 +0000 (10:57 +0100)]
S60: Added documentation paragraph about running in emulator.
(cherry picked from commit 1e9152df6ce5c1355562b6d8e1a8689a4a6e8739)

8 years agodebugger: fix breakpoihnt deletion by using the context menu action
hjk [Fri, 13 Nov 2009 09:55:50 +0000 (10:55 +0100)]
debugger: fix breakpoihnt deletion by using the context menu action
(cherry picked from commit 4eea61c47fe98dce403d8b22fa3a0e3fb43509e1)

8 years agoScreenshots for project settings.
con [Thu, 12 Nov 2009 19:11:25 +0000 (20:11 +0100)]
Screenshots for project settings.

Reviewed-by: dt
(cherry picked from commit 5e6e5e3261f3d9792cf98c589008c04cac533478)

8 years agoCSL is the right name.
con [Thu, 12 Nov 2009 18:41:37 +0000 (19:41 +0100)]
CSL is the right name.

Reviewed-by: Oswald Buddenhagen
(cherry picked from commit c0dc334891c06d53c2f67f9acd4927f67ef54c85)

8 years agoUpdate Polish translations
Jarek Kobus [Thu, 12 Nov 2009 10:48:24 +0000 (11:48 +0100)]
Update Polish translations
(cherry picked from commit 6485a66c5b6fa2029da682ef6dc8e9e8310c50d5)

8 years agoupdate Russian translations for 1.3.0
Ritt Konstantin [Thu, 12 Nov 2009 10:17:36 +0000 (11:17 +0100)]
update Russian translations for 1.3.0

Merge-request: 2065
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
(cherry picked from commit 702489cebce76fa7143382bcac9af52df5d04a05)

8 years agoUpdate the documentation for Qt for Symbian support.
con [Thu, 12 Nov 2009 17:42:08 +0000 (18:42 +0100)]
Update the documentation for Qt for Symbian support.

Reviewed-by: Robert Loehning
(cherry picked from commit 0a69836488f673360266c53d7c2c1f5fde63c337)

8 years agoPretend that the gdbmacros.cpp is actually 5 minutes older then it is.
dt [Thu, 12 Nov 2009 16:34:41 +0000 (17:34 +0100)]
Pretend that the gdbmacros.cpp is actually 5 minutes older then it is.

Fixes a bug that after package installation the debugging helpers are
sometimes marked as invalid.

Reviewed-By: hjk
(cherry picked from commit 9f2940297f961599cd6c6e0061d792e92f6fe0eb)

8 years agoDebugger: Do not use LD_PRELOAD on Mac.
Friedemann Kleint [Thu, 12 Nov 2009 15:49:12 +0000 (16:49 +0100)]
Debugger: Do not use LD_PRELOAD on Mac.

Fails for system Qt on 10.6.

Reviewed-By: hjk <qtc-committer@nokia.com>
(cherry picked from commit ffca9bb5cc7226a0dc84cbad6e96bd5255eeecfb)

8 years agodon't track shared library events on gdb < 7, after all.
Oswald Buddenhagen [Thu, 12 Nov 2009 13:49:54 +0000 (14:49 +0100)]
don't track shared library events on gdb < 7, after all.

The problem is that the shlib events disturb bounded execution requests
and there is no way to recover from this - the debugger will effectively
turn "step over" into "continue". this is nicely explained in
http://vladimir_prus.blogspot.com/2007/12/debugger-stories-pending-breakpoints.html
(cherry picked from commit 0939a7f77f06e6206c9a4eeb665d7cd5dd7118d1)

8 years agofix prl names, also include debug versions.
Daniel Molkentin [Wed, 11 Nov 2009 16:31:08 +0000 (17:31 +0100)]
fix prl names, also include debug versions.

Reviewed-By: con
(cherry picked from commit c27d5cc164f36de2b55ef242dd57f52090f4e1bc)

8 years agoCode model: Update on changes from the versioning system.
Friedemann Kleint [Wed, 11 Nov 2009 13:32:54 +0000 (14:32 +0100)]
Code model: Update on changes from the versioning system.

Add changed signals to IVersionControl and
VCSManager and wire them to the update methods. Add a menu action for
manually updating. Improved version of reverted
7aa24116935249a840e1350a6f8de73bc794fb09.

Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
(cherry picked from commit 8335a06ed4e1918c7216d82dc7a97bbea2b774aa)

8 years agoalways clear pending command queue before posting shutdown commands
Oswald Buddenhagen [Wed, 11 Nov 2009 11:41:06 +0000 (12:41 +0100)]
always clear pending command queue before posting shutdown commands

this ensures that, among other things, we won't get into this scenario:
- process is running
- interrupt is requested by user
- termination is requested by user
- before interrupt takes effect, the process terminates
=> shutdown is called
=> exit is also queued, as there is already a queued kill
=> nothing happens, as there will never be a stop response

Reviewed-by: hjk
(cherry picked from commit 4d45ad00037a056e52c74dca8a5c00ab2763da5d)

8 years agobe more lenient when matching the stops at _start
Oswald Buddenhagen [Wed, 11 Nov 2009 10:34:16 +0000 (11:34 +0100)]
be more lenient when matching the stops at _start

archer reports stops at tbreaks properly, so checking for an empty stop
reason is no particularly good idea. instead, we simply skip *all* stops
at the entry point, assuming the user will not really set a breakpoint
there anyway.

Reviewed-by: hjk
(cherry picked from commit 5bd5fa63bf6caf90170f9e703e0dba433fe407a7)

8 years agoFixed search results handling of font height
Thorbjørn Lindeijer [Tue, 10 Nov 2009 17:12:36 +0000 (18:12 +0100)]
Fixed search results handling of font height

This patch makes sure that the rows that show the file and the rows that
show the results are the same height, to satisfy the uniform row heights
setting.

Also, a layout changed signal is now emitted when the font is changed.
This makes active search results update correctly when the text editor
font is changed.

Reviewed-by: con
(cherry picked from commit 3cd7f49e71f263a5cc80cac90d5b15a2bbde0b56)

8 years agoFix combobox tooltip and lock-button visibility for empty editor views
mae [Tue, 10 Nov 2009 16:10:39 +0000 (17:10 +0100)]
Fix combobox tooltip and lock-button visibility for empty editor views

Reviewed-by: con
(cherry picked from commit 2fba3888dc76f92855b2e72cf57f46273bfffe4b)

8 years agoRevert "Code model: Update on changes from the versioning system."
con [Tue, 10 Nov 2009 17:02:42 +0000 (18:02 +0100)]
Revert "Code model: Update on changes from the versioning system."

This reverts commit 7aa24116935249a840e1350a6f8de73bc794fb09.
It breaks the code model updates completely. So reverting this change
until we have the right thing.

Reviewed-by: Roberto Raggi
(cherry picked from commit e4b1a25dd2bb8233a02c7ae5a5476e88ac4f0451)

8 years agoAdjust qtlibspatcher to new pathnames, change purpose of qpatch
Daniel Molkentin [Mon, 9 Nov 2009 16:25:59 +0000 (17:25 +0100)]
Adjust qtlibspatcher to new pathnames, change purpose of qpatch

qpatch should not try to rename debug symbols, but modify the prl
files instead. This purely replaces forward-slashed pathes. The
pathes in the debugging symbols use backslashes and are not touched.

Reviewed-By: con
(cherry picked from commit b71be596aa498fe89c9c4fa99dca8765428af58f)

8 years agoL10n: Correct spelling in German translation
Friedemann Kleint [Tue, 10 Nov 2009 11:48:07 +0000 (12:48 +0100)]
L10n: Correct spelling in German translation

Run through spell checker.

Task-number: QTCREATORBUG-256
(cherry picked from commit 97618ec4932e5510ab064308017475297eae1aea)

8 years agoUpdated Russian translation.
Sergey Belyashov [Fri, 30 Oct 2009 18:33:50 +0000 (19:33 +0100)]
Updated Russian translation.

Merge-request: 1963
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
(cherry picked from commit 1c4db5e32c029b7cff9a5a87bef0d0eb2c66240b)

8 years agoUpdate Polish translation
Jarek Kobus [Fri, 30 Oct 2009 13:00:00 +0000 (14:00 +0100)]
Update Polish translation
(cherry picked from commit 80a6ccc8a89bf5aa3c0c11e92e64539fda7b2a9f)

8 years agoimplement the standard context menu also for the script editors
mae [Mon, 9 Nov 2009 16:35:20 +0000 (17:35 +0100)]
implement the standard context menu also for the script editors

In addition, clean up the text editor action handling in the qtscript
plugin.

Rev-by: con
(cherry picked from commit 3452b4214db2681ee9013bbc4a96a7372b2edd48)

8 years agoremove run action in the scripteditor
mae [Mon, 9 Nov 2009 15:47:48 +0000 (16:47 +0100)]
remove run action in the scripteditor

the action is not needed and conflicts with Ctrl+R of the project
manager.
(cherry picked from commit a0bb57f27adc761fab013196aa0354d039e3d306)

8 years agoQuote CDB_PATH.
Tobias Hunger [Mon, 9 Nov 2009 16:09:30 +0000 (17:09 +0100)]
Quote CDB_PATH.

When setting CDB_PATH via the environment.

Reviewed-By: ossi
(cherry picked from commit e288c4c4e7ec3420f2afdd51f8ae3c37a85d57db)

8 years agotrack shared library events even on gdb < 7
Oswald Buddenhagen [Tue, 10 Nov 2009 11:40:23 +0000 (12:40 +0100)]
track shared library events even on gdb < 7

this is to update breakpoint, source and module lists automatically.

also remove the now pointless -break-list on every stop.

Reviewed-by: hjk
(cherry picked from commit cb4b13914826f3e508428a3b91fb8238514de54e)

8 years agoclear pending stream outputs after handling stop response
Oswald Buddenhagen [Mon, 9 Nov 2009 22:21:18 +0000 (23:21 +0100)]
clear pending stream outputs after handling stop response

any output will most definitely belong to later issued commands, so not
clearing it will only cost cpu or even confuse the evaluation.

Reviewed-by: hjk
(cherry picked from commit de9438df0cd3b17bbd61876b95e51aa156332ffe)

8 years agoactively try to obtain PID of non-pthread inferiors with gdb < 7 on linux
Oswald Buddenhagen [Mon, 9 Nov 2009 21:11:56 +0000 (22:11 +0100)]
actively try to obtain PID of non-pthread inferiors with gdb < 7 on linux

Reviewed-by: hjk
(cherry picked from commit 5976b1ba43266d4281d1cbdc859f87d7f52c6e63)

8 years agofurther cleanups in less expected shutdown paths
Oswald Buddenhagen [Mon, 9 Nov 2009 21:07:56 +0000 (22:07 +0100)]
further cleanups in less expected shutdown paths

Reviewed-by: hjk
(cherry picked from commit 23e06304f8b6c917a9fbbb4b34f7af02d5096913)

8 years agoCdb: Fix step out.
Friedemann Kleint [Tue, 10 Nov 2009 09:40:24 +0000 (10:40 +0100)]
Cdb: Fix step out.

Use debugger's 'gu' command instead of temporary breakpoint as a
workaround until it is properly supported by the
SetExecutionStatus() API.

Reviewed-by: hjk
Task-number: QTCREATORBUG-240
(cherry picked from commit 5acac101a6cdbc9a304fe9eaf9a2eeb42d3a6201)

8 years agofakevim: fix pasting in visual block mode
hjk [Tue, 10 Nov 2009 09:07:36 +0000 (10:07 +0100)]
fakevim: fix pasting in visual block mode
(cherry picked from commit dcad2e249f009ddc12ce3d5a578783cc03b619a5)

8 years agoFix pasting of text that starts with a visually empty line
mae [Mon, 9 Nov 2009 17:53:59 +0000 (18:53 +0100)]
Fix pasting of text that starts with a visually empty line

Creator only indents the first line, and reindents subsequent lines relative
to the indentation change of said first line. This fails when the first line
contains no non-space characters. Solution in this change: skip (visually) empty
lines.

Reviewed-by: thorbjorn
Task-number: QTCREATORBUG-227
(cherry picked from commit 4ef2caca3afcfe5fc9231556b73a6d8aa61469e8)

8 years agoSome missing defines for Symbian tool chains.
con [Mon, 9 Nov 2009 17:34:38 +0000 (18:34 +0100)]
Some missing defines for Symbian tool chains.

Reviewed-by: dt
(cherry picked from commit f257f19b03e009c239bbcd0463744cb28b21504d)

8 years agoDisabling "Undo Project Changes" when not working in a Git repository.
Robert Loehning [Mon, 9 Nov 2009 15:03:32 +0000 (16:03 +0100)]
Disabling "Undo Project Changes" when not working in a Git repository.

Reviewed-by: Friedemann Kleint
(cherry picked from commit 8ee769a3bc5b15226e09a78537ad4548cfe7a5e7)

8 years agodebugger: use 'set substitute-path'
hjk [Mon, 9 Nov 2009 15:25:24 +0000 (16:25 +0100)]
debugger: use 'set substitute-path'
(cherry picked from commit fa2a115aa37c1de5a7e79e4eb77255c641d2396f)

8 years agoDebugger: Activate code model scope checking, environment var for Trk verbosity.
Friedemann Kleint [Mon, 9 Nov 2009 15:25:40 +0000 (16:25 +0100)]
Debugger: Activate code model scope checking, environment var for Trk verbosity.

Reviewed-by: hjk
(cherry picked from commit b519a1132ab05b91226eea9ee1ccd3628fa1e4b0)

8 years agoFix auto-indentation when pasting into a selection
mae [Mon, 9 Nov 2009 14:55:47 +0000 (15:55 +0100)]
Fix auto-indentation when pasting into a selection
(cherry picked from commit 55dbc39ed01efdec6be8d3ad730dc923f922880c)

8 years agooptimize extra area painting
mae [Mon, 9 Nov 2009 14:59:48 +0000 (15:59 +0100)]
optimize extra area painting
(cherry picked from commit 1e6a90bcb314550e3b0899aaa1905f7174b03abf)

8 years agoCode model: Update on changes from the versioning system.
Friedemann Kleint [Mon, 9 Nov 2009 14:57:56 +0000 (15:57 +0100)]
Code model: Update on changes from the versioning system.

Add state logic to CppCodeModelManagerInterface, making it aware whether
an indexer is running, protect the update methods from another
invocation while running. Add changed signals to IVersionControl and
VCSManager and wire them to the update methods. Add a menu action for
manually updating.

Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Reviewed-by: con <qtc-committer@nokia.com>
(cherry picked from commit 7aa24116935249a840e1350a6f8de73bc794fb09)

8 years agoSymbian SDK path should be editable for Qt in PATH.
con [Wed, 4 Nov 2009 18:14:17 +0000 (19:14 +0100)]
Symbian SDK path should be editable for Qt in PATH.

Reviewed-by: Robert Loehning
(cherry picked from commit d8b2598f4f01559792deccfc68b46784285045d8)

8 years agoCode model: Fix Windows issues (duplicate matches).
Friedemann Kleint [Mon, 9 Nov 2009 12:53:28 +0000 (13:53 +0100)]
Code model: Fix Windows issues (duplicate matches).

Ensure the code model receives file names with clean paths ('/')
and fix paths in the relevant places of the code model. Pass on clean
paths from Cpp reference find and display them correctly in the search
window tooltip.

Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
(cherry picked from commit d2bd092b47c8d4f81855228d158cc1b81ead8c00)

8 years agoTypo fix in German translation
Robert Loehning [Mon, 9 Nov 2009 12:04:28 +0000 (13:04 +0100)]
Typo fix in German translation

Reviewed-by: hjk
(cherry picked from commit 6320b06b7c6be78f67b2d4769d61f9a630f5008b)

8 years agoLibrary wizard: Create export symbol correctly.
Friedemann Kleint [Mon, 9 Nov 2009 11:28:22 +0000 (12:28 +0100)]
Library wizard: Create export symbol correctly.

...if the directory contains a '-'. Export a function to generate
identifier correctly and use that.

Reviewed-by: con <qtc-committer@nokia.com>
Task-number: QTCREATORBUG-248
(cherry picked from commit 901239e1ea0b06c50f002d3f2d569a4367a0e4ec)

8 years agoDo never offer signature autocompletion for constructor calls.
Christian Kamm [Mon, 9 Nov 2009 09:10:31 +0000 (10:10 +0100)]
Do never offer signature autocompletion for constructor calls.

They should always use the function parameter tooltip.

This fixes a bug where you were offered completion for
C foo( -> C foo(int x)
if C had a constructor taking int x.

Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
(cherry picked from commit a253a6998055b33fedb72943101f94342cfb55a7)

8 years agoDebugger/Windows: Register debugger properly if there is no default.
Friedemann Kleint [Mon, 9 Nov 2009 08:00:59 +0000 (09:00 +0100)]
Debugger/Windows: Register debugger properly if there is no default.

Some systems do not have a default debugger registered. Do not fail
on reading the missing key and disable "Default Debugger" in that case.

Initial-patch-by: Robert Loehning <robert.loehning@nokia.com>
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
(cherry picked from commit 5e0e97587356f938298899c26f54f7d733417be4)

8 years agofix some documentation glitches
hjk [Fri, 6 Nov 2009 09:46:24 +0000 (10:46 +0100)]
fix some documentation glitches
(cherry picked from commit 72db7df3a260c0f83812b254e70fa06f20bd874c)

8 years agodebugger: fix display of breakpoint markers in plugins
hjk [Fri, 6 Nov 2009 09:14:28 +0000 (10:14 +0100)]
debugger: fix display of breakpoint markers in plugins
(cherry picked from commit 06570d8d7c782b046c6ec2d27d5157a5afe3d00a)

8 years agoCorrect case for translations of "MinGW"
Robert Loehning [Thu, 5 Nov 2009 13:05:21 +0000 (14:05 +0100)]
Correct case for translations of "MinGW"

Reviewed-by: Oswald Buddenhagen
(cherry picked from commit 2dfa6e948e86888a76e35e10e7f863adf6ba52e0)

8 years agoAdded Slovenian translation
Jure Repinc [Mon, 2 Nov 2009 16:16:14 +0000 (17:16 +0100)]
Added Slovenian translation

Merge-request: 1978
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
(cherry picked from commit 674c2635b687bdf8dd01af96a7b3cf00db0fc7c9)

8 years agoQt version tooltip: Display configuration correctly.
Friedemann Kleint [Thu, 5 Nov 2009 15:40:27 +0000 (16:40 +0100)]
Qt version tooltip: Display configuration correctly.
Reviewed-by: dt <qtc-committer@nokia.com>
(cherry picked from commit 4ab3446ce080ee27ac548c95fe2904d4380715c4)

8 years agoResolve fully qualified names.
Roberto Raggi [Wed, 4 Nov 2009 16:38:17 +0000 (17:38 +0100)]
Resolve fully qualified names.
(cherry picked from commit 70bdb3726d17ff5de4903b6fed8e21a0a8cdacbf)

8 years agoReplace . with -> only when the base expression has type pointer to class.
Roberto Raggi [Wed, 4 Nov 2009 17:21:35 +0000 (18:21 +0100)]
Replace . with -> only when the base expression has type pointer to class.

Reviewed-by: Thorbjørn Lindeijer
(cherry picked from commit f2a0382910a0bfe1405d92255cb49f0a80efe616)

8 years agoIntroduced CppTools::CppModelManagerInterface::updateModifiedFiles().
Roberto Raggi [Thu, 5 Nov 2009 11:34:02 +0000 (12:34 +0100)]
Introduced CppTools::CppModelManagerInterface::updateModifiedFiles().

updateModifiedFiles ckecks the timestamp and reparses all the modified files in the current snapshot.
(cherry picked from commit eaa2c10a25a718ab13280db42b7a9d935a05749f)

8 years agoFixed a few focus issues we had in the search result window (in replace mode).
Roberto Raggi [Thu, 5 Nov 2009 14:45:37 +0000 (15:45 +0100)]
Fixed a few focus issues we had in the search result window (in replace mode).

Delayed the call to selectAll()
(cherry picked from commit 61672e136f679be6e307284c05200c456de885ef)

8 years agoi18n: Complete German translation and correct tips on Welcome Page.
Friedemann Kleint [Thu, 5 Nov 2009 14:43:46 +0000 (15:43 +0100)]
i18n: Complete German translation and correct tips on Welcome Page.
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
(cherry picked from commit c489b8db7d34ac1a640b0ba49df397bad980e4ba)

8 years agoa process scheduled for kill can exit by itself as well ...
Oswald Buddenhagen [Thu, 5 Nov 2009 15:19:59 +0000 (16:19 +0100)]
a process scheduled for kill can exit by itself as well ...
(cherry picked from commit e4e0cadb97424019ad7e2b660fe315b60283ad78)

8 years agoKnown issues: installer does not prepare qtcreator.ini for every user
Daniel Molkentin [Mon, 2 Nov 2009 17:27:39 +0000 (18:27 +0100)]
Known issues: installer does not prepare qtcreator.ini for every user

Reviewed-By: con
(cherry picked from commit c9f3b29807864bdca2c977e52e0efa86290a17f5)

8 years agoPatch multimedia lib, remove version qualifier from qtcore on linux
Daniel Molkentin [Thu, 5 Nov 2009 14:08:29 +0000 (15:08 +0100)]
Patch multimedia lib, remove version qualifier from qtcore on linux
(cherry picked from commit 4cb5953e65f1b375c800f6b01bf2082e6c8f4515)

8 years agoFix compile for -no-webkit
dt [Wed, 4 Nov 2009 17:34:38 +0000 (18:34 +0100)]
Fix compile for -no-webkit
(cherry picked from commit 2a7439cde86f0186014576c104b1b70c95056d20)

8 years agofix attaching to core
Oswald Buddenhagen [Wed, 4 Nov 2009 09:31:59 +0000 (10:31 +0100)]
fix attaching to core

InferiorUnrunnable is equivalent to InferiorStopped as far as NeedsStop
commands are concerned.

Reviewed-by: hjk
(cherry picked from commit 46a7ac5fb987415981e4051eacfce288d944c862)

8 years agodo not create invalid help files
Oswald Buddenhagen [Mon, 2 Nov 2009 20:01:49 +0000 (21:01 +0100)]
do not create invalid help files

afaik, this was a bizarre hack to make the install target work, so fix
it properly instead.
(cherry picked from commit 6769c13e6e29ac486f815df7e7038ec48ebaebf9)

8 years agoadd timeout handling for gdb commands
Oswald Buddenhagen [Tue, 3 Nov 2009 13:56:27 +0000 (14:56 +0100)]
add timeout handling for gdb commands

sometimes, commands simply don't return ...

the debug message doesn't say anything which couldn't be found in the
log already, but that way it is more convenient.

and we kill gdb to get creator back to a defined state.

Reviewed-by: hjk
(cherry picked from commit 0ae60ba412afba260d0211ec5eecfe110ae8cfa2)

8 years agofix shutdowns triggered while inferior is not stopped
Oswald Buddenhagen [Mon, 2 Nov 2009 15:59:57 +0000 (16:59 +0100)]
fix shutdowns triggered while inferior is not stopped

Reviewed-by: hjk
(cherry picked from commit a4f23963237cc9f8abd6cbc8c405949044f36b3f)

8 years agoflush queued commands on non-fatal continuation failures
Oswald Buddenhagen [Mon, 2 Nov 2009 15:40:16 +0000 (16:40 +0100)]
flush queued commands on non-fatal continuation failures

Reviewed-By: hjk
(cherry picked from commit e2d468312cf12f7d74633d7aea3553563e135bb3)

8 years agosynchronize temporary interruption with running-requests
Oswald Buddenhagen [Mon, 2 Nov 2009 13:40:54 +0000 (14:40 +0100)]
synchronize temporary interruption with running-requests

Reviewed-by: hjk
(cherry picked from commit bf280e215b67347aaf499c4b1155f8191e5b8407)

8 years agothe process is already dead when hitting workaround 4
Oswald Buddenhagen [Mon, 2 Nov 2009 10:40:42 +0000 (11:40 +0100)]
the process is already dead when hitting workaround 4

Reviewed-by: hjk
(cherry picked from commit e60a7bc69aee91ccc317c59c165eb3975b557799)

8 years agoFix memory leak in welcome plugin and right hand side pane
dt [Wed, 4 Nov 2009 15:06:38 +0000 (16:06 +0100)]
Fix memory leak in welcome plugin and right hand side pane
(cherry picked from commit a67e13942b2d6c150fc54ea7568b3facfd2dc7d1)

8 years agoFix memory leak in QtVersionManager
dt [Wed, 4 Nov 2009 10:30:39 +0000 (11:30 +0100)]
Fix memory leak in QtVersionManager
(cherry picked from commit 655b06b48daf5a3f31cd07ce7111f8f09a38a91f)