qt-creator:wvrneers-android-qt-creator.git
7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 years agoDon't crash on adding a runconfiguration
dt [Tue, 3 Nov 2009 15:23:40 +0000 (16:23 +0100)]
Don't crash on adding a runconfiguration

The combobox now emits a currentIndexChanged(-1) signal if we reset the
base model.
Reviewed-by: con <qtc-committer@nokia.com>
(cherry picked from commit dfcf87052dd47a1d42c97708c3e692e9ad7ea371)

7 years agoPrevent global replace before search is done.
con [Wed, 4 Nov 2009 17:10:03 +0000 (18:10 +0100)]
Prevent global replace before search is done.

Also fix focusing issues of the replace line edit.

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

7 years agoDisable the find usage and symbol renaming while indexing is done.
con [Wed, 4 Nov 2009 15:07:42 +0000 (16:07 +0100)]
Disable the find usage and symbol renaming while indexing is done.

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

7 years agorevert the latest leak "fix".
hjk [Wed, 4 Nov 2009 17:35:52 +0000 (18:35 +0100)]
revert the latest leak "fix".
(cherry picked from commit 239e0418caeb7f97c217a7867f45970e07366401)

7 years agodebugger: fix item count for QLists with more than 1000 elements
hjk [Wed, 4 Nov 2009 17:30:27 +0000 (18:30 +0100)]
debugger: fix item count for QLists with more than 1000 elements

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

7 years agodebugger: fix issue where child items oeverwrite parent items in the watch model.
hjk [Wed, 4 Nov 2009 16:44:11 +0000 (17:44 +0100)]
debugger: fix issue where child items oeverwrite parent items in the watch model.

The real problems is somewhere in the watch model. This patch does
only prevent the wrong (and unneeded) questions to be asked in the first
place. It does not fix the wrong handling of the answer in the watch model.

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

7 years agodebugger: all leaks must be fixed
hjk [Wed, 4 Nov 2009 13:39:21 +0000 (14:39 +0100)]
debugger: all leaks must be fixed

Reviewed-by: dt
(cherry picked from commit 2ea076377bce5d0df0771d3d581b86d9cf5f5654)

7 years agoDebugger/various plugins: Fix memory leaks.
Friedemann Kleint [Wed, 4 Nov 2009 16:11:35 +0000 (17:11 +0100)]
Debugger/various plugins: Fix memory leaks.
Reviewed-by: hjk <qtc-committer@nokia.com>
Reviewed-by: dt <qtc-committer@nokia.com>
(cherry picked from commit f4943f3c2ef8df9692ec0b9a347a79d55eb37449)

7 years agoDon't process already visited nodes.
Roberto Raggi [Wed, 4 Nov 2009 11:02:19 +0000 (12:02 +0100)]
Don't process already visited nodes.
(cherry picked from commit 205e03684ad01a93fb01baa409a620ab8b5f5847)

7 years agoParanoia check. Skip the change if we have another change with the same offset.
Roberto Raggi [Wed, 4 Nov 2009 11:02:19 +0000 (12:02 +0100)]
Paranoia check. Skip the change if we have another change with the same offset.
(cherry picked from commit 7cffef17aa55479c34c022bb9dd0852cb82abb24)

7 years agoAccepts `$' as valid character when recognizing identifiers.
Roberto Raggi [Wed, 4 Nov 2009 12:45:49 +0000 (13:45 +0100)]
Accepts `$' as valid character when recognizing identifiers.

Added support for yet another gcc extension that is using in OSX 10.6 system headers.
(cherry picked from commit 4a87d875f04239595e9fe3904f0461ebbfdf227f)

7 years agoParse ASM specifiers after declarators.
Roberto Raggi [Wed, 4 Nov 2009 12:47:06 +0000 (13:47 +0100)]
Parse ASM specifiers after declarators.

Again, a gcc extension used in the OSX system headers.
(cherry picked from commit 64a08d15f306e56e2143f5f65de6d394c49d3a61)

7 years agoSet the parent object of CppFindReferences.
Roberto Raggi [Wed, 4 Nov 2009 13:16:59 +0000 (14:16 +0100)]
Set the parent object of CppFindReferences.
(cherry picked from commit a7d0fb8014b46c5fbc06db629bcdfb5ddca9a21e)

7 years agoWinGuiProcess: Fix hang if binary cannot be found.
Friedemann Kleint [Wed, 4 Nov 2009 14:19:02 +0000 (15:19 +0100)]
WinGuiProcess: Fix hang if binary cannot be found.

..occurring in conjunction with custom run configuration
and S60 emulator. Ensure all handles are closed even
if start attempt failed.
Reviewed-by: con <qtc-committer@nokia.com>
(cherry picked from commit 00298ab24823a8cf922b693492929eac4ea71180)

7 years agoProjectexplorer: Fix hang when launching external explorer for folder.
Friedemann Kleint [Wed, 4 Nov 2009 13:12:56 +0000 (14:12 +0100)]
Projectexplorer: Fix hang when launching external explorer for folder.
Task-number: QTCREATORBUG-221

Use QProcess::startDetached.
Reviewed-by: con <qtc-committer@nokia.com>
(cherry picked from commit 0f139b27a1c324b2fc0386da8a598258b0d85f95)

7 years agofix redrawing issue with horizontal scrolling and line wrapping column
mae [Wed, 4 Nov 2009 11:41:41 +0000 (12:41 +0100)]
fix redrawing issue with horizontal scrolling and line wrapping column

revby: Oswald Buddenhagen
(cherry picked from commit 6043c639e369c4f233d9c6e0cffe8f3546162624)

7 years agoMake accidentally activating the link navigation more difficult
Thorbjørn Lindeijer [Tue, 3 Nov 2009 13:29:49 +0000 (14:29 +0100)]
Make accidentally activating the link navigation more difficult

Only checking Ctrl and link availability on mouse release was triggering
the navigation too easily.

Now you have to press and release the mouse on the same link, having
Ctrl pressed all the time. In addition, when changing the text selection
the link is also cleared.

Task-number: QTCREATORBUG-134
Reviewed-by: con
(cherry picked from commit 2c115e934fb5700e42f64491af92b3facfb2cbf0)

7 years agoDebugger: Fix LD_PRELOAD on Mac.
Friedemann Kleint [Tue, 3 Nov 2009 15:02:16 +0000 (16:02 +0100)]
Debugger: Fix LD_PRELOAD on Mac.
Reviewed-by: hjk <qtc-committer@nokia.com>
(cherry picked from commit a6d099a1ea3998435e5be20aefbcd38ccc24e073)

7 years agoDebugger: Use LD_PRELOAD to load debugging helper.
Friedemann Kleint [Tue, 3 Nov 2009 13:06:21 +0000 (14:06 +0100)]
Debugger: Use LD_PRELOAD to load debugging helper.

on UNIX. Either set the LD_PRELOAD environment variable
using a gdb command or have the TermGdbAdapter set the
variable for the debuggee. For the remote adapter,
switch on toolchain. dlopen() is a fallback for
platforms where it is not supported and attaching
to running processes. Fixes a crash with gdb 7.0
(and spurious gdb 6.8 crashes with dlopen()).
Reviewed-by: hjk <qtc-committer@nokia.com>
(cherry picked from commit 10e07e01c73da7da305346eab0c4e998a6d2e164)

7 years agofakevim: remove workaround for Qt <= 4.5. Creator needs 4.6 anyway
hjk [Tue, 3 Nov 2009 13:25:25 +0000 (14:25 +0100)]
fakevim: remove workaround for Qt <= 4.5. Creator needs 4.6 anyway
(cherry picked from commit 1775f5d8871b816c1268c76d24f99db1b176e3c1)

7 years agofakevim: fix undo() behaviour
hjk [Tue, 3 Nov 2009 13:10:45 +0000 (14:10 +0100)]
fakevim: fix undo() behaviour

This is the finalization of the change started with 3c0ca8c18881.
Fakevim undo was broken due to behavioural changes in QTextDocument
in Qt 4.6. Now that QTextDocument has gotten new accessors to the
needed (and previously available) data we can use it.
(cherry picked from commit 0bc1095b70bf698e43e5a5a74a06027aa2ece2e3)

7 years agoShow a cancel button in the opening cmake projects wizard.
dt [Tue, 3 Nov 2009 13:37:23 +0000 (14:37 +0100)]
Show a cancel button in the opening cmake projects wizard.

Allows the user to change his mind. :)
Reviewed-by: Friedemann Kleint <qtc-committer@nokia.com>
(cherry picked from commit c8e7df16eb3949eddf0a167239ed9a4bb3a5e527)

7 years agoAlso save before running if Project::hasNoBuildSettings
dt [Tue, 3 Nov 2009 13:12:15 +0000 (14:12 +0100)]
Also save before running if Project::hasNoBuildSettings

Fixes a QML bug
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
(cherry picked from commit afa9da2a61b6f2710dcc408c20d430c1eb1fe292)

7 years agoAlso fix the cmake documentation.
dt [Mon, 2 Nov 2009 15:17:13 +0000 (16:17 +0100)]
Also fix the cmake documentation.
(cherry picked from commit c542714707dfe9df2bab9033ded5710d3883f21f)

7 years agoUpdate docu of project pane. Missing the screenshots.
dt [Mon, 2 Nov 2009 13:16:57 +0000 (14:16 +0100)]
Update docu of project pane. Missing the screenshots.
(cherry picked from commit e5b4b65d56d101d3558e2e80cfe1287e486e829e)

7 years agoUpdate tool chains correctly when paths are changed in options.
con [Mon, 2 Nov 2009 13:30:58 +0000 (14:30 +0100)]
Update tool chains correctly when paths are changed in options.

The tool chains' "equals" methods where out of date.

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

7 years agoFixed index out of range.
Robert Loehning [Mon, 2 Nov 2009 18:14:40 +0000 (19:14 +0100)]
Fixed index out of range.

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

7 years agoClass wizard: Replace "inherits QObject" by type information combo.
Friedemann Kleint [Mon, 2 Nov 2009 14:46:51 +0000 (15:46 +0100)]
Class wizard: Replace "inherits QObject" by type information combo.

Remove the setting from where it does not make sense (library/form class
wizard, etc).
Reviewed-by: con <qtc-committer@nokia.com>
(cherry picked from commit e917392c27a4eacef1aee0b482cec7c6ca17fd5d)

7 years agoDebugger: Protect against launching a 2nd session.
Friedemann Kleint [Mon, 2 Nov 2009 13:42:42 +0000 (14:42 +0100)]
Debugger: Protect against launching a 2nd session.
Reviewed-by: dt <qtc-committer@nokia.com>
(cherry picked from commit d23324f41901b027d6791213ff6cf33e944aa40a)

7 years agoadd standard cut/copy/paste actions (if available) to the cpp editor's context menu
mae [Mon, 2 Nov 2009 13:02:18 +0000 (14:02 +0100)]
add standard cut/copy/paste actions (if available) to the cpp editor's context menu

at a later stage we will look into harmonizing context menu among different editors.
The cpp editor had the biggest need, because its context menu features all sorts of
extra refactoring operations, thus the standard Qt context menu became too large.
(cherry picked from commit c035290602d4fb618f4443488419c0dabc834a17)

7 years agoDebugger: Disable "Start debugging" when attaching/starting remote
Friedemann Kleint [Mon, 2 Nov 2009 11:47:47 +0000 (12:47 +0100)]
Debugger: Disable "Start debugging" when attaching/starting remote

Directly enable project explorer actions.
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
(cherry picked from commit c069cd588af0cdc335ec2ed909281a0bf9da666b)

7 years agofilter out expected gdb stderr
Oswald Buddenhagen [Fri, 30 Oct 2009 17:18:21 +0000 (18:18 +0100)]
filter out expected gdb stderr

Reviewed-By: hjk
(cherry picked from commit 1520963cd6dd81c0863a54d7c9c0f12981354d5e)