qt-creator:qt-creator-instrumentation.git
8 years agoUpdated the Qt src/build path to be Qt version independent 1.3.1
Thorbjørn Lindeijer [Thu, 4 Feb 2010 12:04:13 +0000 (13:04 +0100)]
Updated the Qt src/build path to be Qt version independent
(cherry picked from commit 5268aaed0d077c7ab3d4f718364af24fed88b80f)

8 years agodebugger: Using macro, removed unused QString v1.3.1
Robert Loehning [Fri, 15 Jan 2010 17:24:34 +0000 (18:24 +0100)]
debugger: Using macro, removed unused QString
(cherry picked from commit 500ab0f0b416736f3419f23fb596863c39b7a23b)

8 years agoBuild fix
con [Fri, 15 Jan 2010 17:19:54 +0000 (18:19 +0100)]
Build fix
(cherry picked from commit 048275b051c90051ee19495aac91cb244ae2255c)

8 years agodebugger: remove obsolete add-symbol-file call
con [Fri, 15 Jan 2010 16:31:31 +0000 (17:31 +0100)]
debugger: remove obsolete add-symbol-file call
(cherry picked from commit 4051d8228bb3565626144d012d486e09b297b62f)

Conflicts:

src/plugins/debugger/gdb/trkgdbadapter.cpp
(cherry picked from commit 8b5ab50f0e5c48ea83e41bea3aa4d1597d95b5ba)

8 years agodebugger: combine memory blocks more aggressively
hjk [Fri, 15 Jan 2010 14:06:03 +0000 (15:06 +0100)]
debugger: combine memory blocks more aggressively
(cherry picked from commit 85b39966bc612b62a658edcb3e5b27acc5ad8687)
(cherry picked from commit 81977e2d3dcbbcb21823342aa413745bec3dc1fb)

8 years agodebugger: backport some symbian fixes
hjk [Fri, 15 Jan 2010 14:33:36 +0000 (15:33 +0100)]
debugger: backport some symbian fixes

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

8 years agoShowing display names of usable build configs if run config doesn't
Robert Loehning [Fri, 15 Jan 2010 12:04:57 +0000 (13:04 +0100)]
Showing display names of usable build configs if run config doesn't
match.

Reviewed-by: con
(cherry picked from commit 86567e68194c0892978cde194b5d21d473f7e7e6)

8 years agoUpdate Polish translations
Jarek Kobus [Fri, 15 Jan 2010 09:07:27 +0000 (10:07 +0100)]
Update Polish translations
(cherry picked from commit 714a027a559364c85e2d5df71ffdd8cda66726b3)

8 years agoOpening binary files leaves empty entries in open editors window
con [Thu, 14 Jan 2010 16:49:29 +0000 (17:49 +0100)]
Opening binary files leaves empty entries in open editors window

Leading to a crash when selecting the empty entry.
The patch fixes a big memory leak with bin editors (neither the widget
nor the IFile instance was deleted, the latter leading to the empty
entry in the open editors window), and also puts a saveguard in the open
editors window, so that empty entries are not shown any more.

Task-number: QTCREATORBUG-571
Reviewed-by: Thorbjørn
(cherry picked from commit cd8bc8a207fce7c019facbd26bbbbb818116b821)

8 years agoFix for wrong version in gdb substitute for qt path
dt [Thu, 14 Jan 2010 16:26:18 +0000 (17:26 +0100)]
Fix for wrong version in gdb substitute for qt path

Reviewed-By: thorbjorn
(cherry picked from commit 1da2e9e8d8d1a4ce6ed894b0154112692a0d8de1)

8 years agoFixed translation.
Robert Loehning [Thu, 14 Jan 2010 14:51:31 +0000 (15:51 +0100)]
Fixed translation.

Reviewed-by: ossi
(cherry picked from commit 2520d0c5d57e194a69918e70d8f24866966e1419)

8 years agoMissing entry in changelog
con [Thu, 14 Jan 2010 12:47:32 +0000 (13:47 +0100)]
Missing entry in changelog
(cherry picked from commit 1e8f335f012b676b7ae94900cfe6958b603c439e)

8 years agoqtcdebugger: Overwriting other versions when registering.
Robert Loehning [Thu, 14 Jan 2010 12:07:05 +0000 (13:07 +0100)]
qtcdebugger: Overwriting other versions when registering.

Reviewed-by: Friedemann Kleint
(cherry picked from commit 466571919497ad8f4b86097bd7fa270d3106730c)

8 years agoFixed an issue with keeping a shipped color scheme selected
Thorbjørn Lindeijer [Wed, 13 Jan 2010 13:45:32 +0000 (14:45 +0100)]
Fixed an issue with keeping a shipped color scheme selected

When the path to the shipped color schemes changes, Qt Creator was
unable to load the chosen color scheme. Now, when it can't find the
color scheme, it will look for it in the default color scheme path.

Reviewed-by: con
(cherry picked from commit 87a7ed94a3e5d57c02cfc68a8be87a76109bdb0b)

8 years agoFixes: Not able to set breakpoints in running application.
con [Wed, 13 Jan 2010 10:02:10 +0000 (11:02 +0100)]
Fixes: Not able to set breakpoints in running application.

Regression introduced by the gdb startup speedup.

Reviewed-by: hjk
(cherry picked from commit 232db42069cc6da3c8e89d0a37c155ee43888a27)

8 years agoDebugger/CDB: Increase limits on string size in watch data.
Friedemann Kleint [Wed, 13 Jan 2010 09:36:37 +0000 (10:36 +0100)]
Debugger/CDB: Increase limits on string size in watch data.

Introduce truncation in item view instead (full value visible in
ToolTip).

Reviewed-by: hjk
Task-number: QTCREATORBUG-305
(cherry picked from commit 55b4e6d383d7d88ce32cf19ec87d85864ddb15fd)

8 years agoAlso remove tokens that we consider "lost" from the list.
con [Tue, 12 Jan 2010 15:54:00 +0000 (16:54 +0100)]
Also remove tokens that we consider "lost" from the list.

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

8 years agoRemove debug output.
con [Tue, 12 Jan 2010 15:23:05 +0000 (16:23 +0100)]
Remove debug output.

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

8 years agoFixes: Missing locals & watchers when debugging on Snow Leopard
con [Tue, 12 Jan 2010 14:22:02 +0000 (15:22 +0100)]
Fixes: Missing locals & watchers when debugging on Snow Leopard

Task-number: QTCREATORBUG-436
Reviewed-by: hjk
(cherry picked from commit ff066d5e76a9f64a9e7b3f5755fccb8695f3a9ad)

8 years agodebugger: fix timeout message.
con [Tue, 12 Jan 2010 14:13:36 +0000 (15:13 +0100)]
debugger: fix timeout message.

(cherry picked from commit 9ee71d7da98db71be8136631d46b2ccc8ab142f0)

Conflicts:

src/plugins/debugger/gdb/gdbengine.cpp
(cherry picked from commit 77b3bf4d7bc5544485589c168014fc4cc9c23c5d)

8 years agoFixed logic for whether to skip or insert a closing brace
Thorbjørn Lindeijer [Mon, 11 Jan 2010 11:54:50 +0000 (12:54 +0100)]
Fixed logic for whether to skip or insert a closing brace

Due to wrongly checking whether findPreviousBlockOpenParenthesis and
findNextBlockOpenParenthesis actually found anything, the wrong range
was counted when a code block start or end was not found.

Reviewed-by: mae
(cherry picked from commit 79bf4183056d9ae950d44dc538d7276500268293)

8 years agoFixed crash when leaving session with invalid bookmarks or breakpoints
Thorbjørn Lindeijer [Mon, 11 Jan 2010 11:47:01 +0000 (12:47 +0100)]
Fixed crash when leaving session with invalid bookmarks or breakpoints

When the bookmark could not be added to the editor due to being on a
non-existing line, it would not be cleaned up properly when the editor
was closed, resulting in a crash when it later tried to remove itself
from the no longer existing editor.

In addition to fixing the crash, bookmarks that are not on valid lines
are now automatically removed when you try to navigate to them.

Task-number: QTCREATORBUG-545
Reviewed-by: mae
(cherry picked from commit 2b46f828b4ae2f41c4efc9fde7e8b7c5e271b4de)

8 years agoFixed license headers.
Robert Loehning [Fri, 8 Jan 2010 17:39:14 +0000 (18:39 +0100)]
Fixed license headers.

Reviewed-by: dt
(cherry picked from commit 8a6ca955891518282541eb1f255ee2525845ed39)

8 years agoMore changes.
con [Fri, 8 Jan 2010 13:17:47 +0000 (14:17 +0100)]
More changes.

Reviewed-by: hjk
(cherry picked from commit 49341fe6e41f66352b5bb2177c3b4ab9144476a8)

8 years agoTranslations: Complete German for 1.3.1
Friedemann Kleint [Fri, 8 Jan 2010 10:33:18 +0000 (11:33 +0100)]
Translations: Complete German for 1.3.1
(cherry picked from commit 93362f1ab5b8e53c5021671998c2b86f7ca504c0)

8 years agoTranslations: Fix debugger messages
Friedemann Kleint [Fri, 8 Jan 2010 10:32:53 +0000 (11:32 +0100)]
Translations: Fix debugger messages
Reviewed-by: hjk
(cherry picked from commit 945315173faf07e2bafa7dfcd31f08328f56df85)

8 years agoTranslations: Fixed tr()-message in debuggeragents.
Friedemann Kleint [Fri, 8 Jan 2010 10:31:38 +0000 (11:31 +0100)]
Translations: Fixed tr()-message in debuggeragents.
Reviewed-by: hjk
(cherry picked from commit a7684cac173d63c69140064b5c961876a2eecf14)

8 years agoVersion bump
con [Thu, 7 Jan 2010 17:18:15 +0000 (18:18 +0100)]
Version bump

8 years agoUse the completion case sensitivity settings also for relevance
Thorbjørn Lindeijer [Thu, 7 Jan 2010 13:15:04 +0000 (14:15 +0100)]
Use the completion case sensitivity settings also for relevance

Avoids some annoyance for people using case-sensitive completion, when
unrelated completions items would get higher relevance because they
start with the typed string when matched case-insensitively.

In case-insensitive mode, a case-sensitive prefix match now does get a
higher relevance than a case-insensitive match.

Reviewed-by: con
8 years agoAdd copyright headers.
Tobias Hunger [Thu, 7 Jan 2010 13:33:28 +0000 (14:33 +0100)]
Add copyright headers.

 * Make sure all non-empty source files found below ./src have
   a copyright header.

Reviewed-by: con
8 years agoFixed warnings about absolutePath on empty filename in git plugin
Thorbjørn Lindeijer [Wed, 6 Jan 2010 18:12:19 +0000 (19:12 +0100)]
Fixed warnings about absolutePath on empty filename in git plugin

Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
8 years agoFix warnings about QFileInfo being instantiated on empty string.
Friedemann Kleint [Mon, 4 Jan 2010 15:50:23 +0000 (16:50 +0100)]
Fix warnings about QFileInfo being instantiated on empty string.

Do not insert currentDocument variable for empty files.
Polish VariableManager, QLatin1String(), const-correctness.

Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
8 years agocompile fix with namespaces
hjk [Wed, 6 Jan 2010 16:13:38 +0000 (17:13 +0100)]
compile fix with namespaces

8 years agodebugger: move watchdog timeout initialization to a place where it actually can acces...
con [Wed, 6 Jan 2010 14:55:51 +0000 (15:55 +0100)]
debugger: move watchdog timeout initialization to a place where it actually can access the stored settings.

(cherry picked from commit de23834fc9ded8ad0f1360151b9160fd6b5293b5)

Conflicts:

src/plugins/debugger/gdb/gdbengine.cpp

8 years agodebugger: fix thinko in time out computation
hjk [Wed, 9 Dec 2009 17:46:03 +0000 (18:46 +0100)]
debugger: fix thinko in time out computation
(cherry picked from commit 33bdf429535dbd72d3a78aafecbad0c987c0b74c)

8 years agodebugger: gracefully handle commands that might not produce output
con [Wed, 6 Jan 2010 14:52:14 +0000 (15:52 +0100)]
debugger: gracefully handle commands that might not produce output

(cherry picked from commit 1324a1c6004e1f0702d46a9adb4dc69631247e1a)

Conflicts:

src/plugins/debugger/gdb/gdbengine.cpp
src/plugins/debugger/gdb/gdbengine.h

8 years agodebugger: make watchdog timeout configurable
con [Wed, 6 Jan 2010 14:42:20 +0000 (15:42 +0100)]
debugger: make watchdog timeout configurable

(cherry picked from commit bf077800b85fcb598e316f16b1e5dce98eae7ad5)

Conflicts:

src/plugins/debugger/debuggerplugin.cpp
src/plugins/debugger/gdb/gdboptionspage.ui

8 years agodebugger: make use of full source file list optional
hjk [Wed, 9 Dec 2009 10:13:20 +0000 (11:13 +0100)]
debugger: make use of full source file list optional
(cherry picked from commit 8c52f5720cc2636d17c9ec752fcbccfc827ff9d8)

8 years agodebugger: handle large quint64 values 'properly'
con [Wed, 6 Jan 2010 14:10:04 +0000 (15:10 +0100)]
debugger: handle large quint64 values 'properly'

(cherry picked from commit 02e90fd71d8b6f9b6340a0ed622c9fae4ed3496c)

Conflicts:

src/plugins/debugger/watchhandler.cpp

8 years agodebugger: make the option to write timestamps to the log persistent
con [Wed, 6 Jan 2010 13:52:47 +0000 (14:52 +0100)]
debugger: make the option to write timestamps to the log persistent

(cherry picked from commit a5c5cfc42edfc5eef42615036ca25804926795d8)

Conflicts:

src/plugins/debugger/debuggerplugin.cpp

8 years agoPLain Text Editor: Remove list indentation
Friedemann Kleint [Wed, 6 Jan 2010 12:53:50 +0000 (13:53 +0100)]
PLain Text Editor: Remove list indentation

As it causes dashed lists to be formatted as
- i1
  - i2
Just do paragraph formatting.

Task-number: QTCREATORBUG-538
Initial-patch-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
(cherry picked from commit 2986ccafd22f07bbd631d015e141ec05fda1a3d5)

8 years agoFixed problem with nested templates in function declaration completion
Roberto Raggi [Wed, 6 Jan 2010 13:27:18 +0000 (14:27 +0100)]
Fixed problem with nested templates in function declaration completion

Wasn't using a space to separate the closing angular brackets.

Task-number: QTCREATORBUG-547
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
8 years agoFixed crash when completing symbols without a valid context.
Roberto Raggi [Wed, 6 Jan 2010 11:16:11 +0000 (12:16 +0100)]
Fixed crash when completing symbols without a valid context.

Task-number: QTCREATORBUG-534
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
8 years agoLoad designer translations before instantiating any designer object
Jarek Kobus [Wed, 6 Jan 2010 10:10:14 +0000 (11:10 +0100)]
Load designer translations before instantiating any designer object

In this way all tr calls are done after translations are loaded.

Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@trolltech.com>
Task-number: QTCREATORBUG-470

8 years agoBrown paper bag fix for 8929bb27eeaab6b876fefde63aa1bdcf5e8f5ee2.
Daniel Molkentin [Tue, 5 Jan 2010 13:46:37 +0000 (14:46 +0100)]
Brown paper bag fix for 8929bb27eeaab6b876fefde63aa1bdcf5e8f5ee2.
(cherry picked from commit a866725405c65cd333247b6aaa5b82cda8f7e283)

8 years agoPoint some tips of the day to the right documentation path.
Daniel Molkentin [Mon, 4 Jan 2010 16:56:38 +0000 (17:56 +0100)]
Point some tips of the day to the right documentation path.

Fixes: QTCREATORBUG-483
(cherry picked from commit 8929bb27eeaab6b876fefde63aa1bdcf5e8f5ee2)

8 years agoMore changes.
con [Wed, 6 Jan 2010 09:57:22 +0000 (10:57 +0100)]
More changes.

8 years agoStart on a changes file for 1.3.1
con [Tue, 5 Jan 2010 16:16:33 +0000 (17:16 +0100)]
Start on a changes file for 1.3.1

8 years agoRemove some old stuff from gitignore.
con [Tue, 5 Jan 2010 09:56:29 +0000 (10:56 +0100)]
Remove some old stuff from gitignore.

8 years agoUpdated Russian translation
Sergey Belyashov [Mon, 4 Jan 2010 17:59:51 +0000 (18:59 +0100)]
Updated Russian translation

Merge-request: 90
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
8 years agoproperly decode messages from gdb
Oswald Buddenhagen [Mon, 4 Jan 2010 13:11:07 +0000 (14:11 +0100)]
properly decode messages from gdb

... using fromLocal8Bit instead of fromLatin1.
of course the localized messages pose a "challenge" for the various
workarounds which parse them ...

Task-number: QTCREATORBUG-504

8 years agoDon't switch to Help mode if help side bar is already visible.
con [Mon, 21 Dec 2009 11:16:22 +0000 (12:16 +0100)]
Don't switch to Help mode if help side bar is already visible.

8 years agoAdd windows definitions to make the code model happy.
Daniel Molkentin [Thu, 10 Dec 2009 15:20:34 +0000 (16:20 +0100)]
Add windows definitions to make the code model happy.

__stdcall for all compilers (MSVC and MinGW, possibly others may use it)
__w64 is MSVC only, deprecated there, but still used in some places

Reviewed-By: Roberto Raggi
(cherry picked from commit 5832c6b584cc477db12f8ac843c15ce12cea1cb1)

8 years agoCreators code model cannot handle MVC extensions. Don't pretend it can.
Daniel Molkentin [Thu, 10 Dec 2009 15:39:04 +0000 (16:39 +0100)]
Creators code model cannot handle MVC extensions. Don't pretend it can.

Fixes some highlight errors in code using the win32 API.

Reviewed-By: Roberto Raggi
(cherry picked from commit 771246a5b532c3d467f7acb84a3c828505af48f7)

8 years agoFixed enabled state of erase background button in color scheme edit
Thorbjørn Lindeijer [Thu, 17 Dec 2009 10:46:55 +0000 (11:46 +0100)]
Fixed enabled state of erase background button in color scheme edit

Remember the read-only state so that it can be taken into account when
changing the enabled state of the erase background button.

8 years agoRevert ""Grayout" the background of the output window on re-run configuration"
Thorbjørn Lindeijer [Wed, 16 Dec 2009 13:33:16 +0000 (14:33 +0100)]
Revert ""Grayout" the background of the output window on re-run configuration"

This reverts commit cdf2f70c60daa6c5ab8f6719c5de9d51a14ded84.

This new feature didn't belong in 1.3. It will remain on master.

8 years agoRemove default shortcut from stop action since it conflicts with rename
Thorbjørn Lindeijer [Wed, 16 Dec 2009 11:53:55 +0000 (12:53 +0100)]
Remove default shortcut from stop action since it conflicts with rename

Both rename symbol and stop running had Ctrl+Shift+R as default
shortcut, making it impossible to do either when an application was
running and the focus was in the text editor.

8 years agoCDB: Case-normalize file names returned by CDB
Friedemann Kleint [Tue, 15 Dec 2009 10:02:09 +0000 (11:02 +0100)]
CDB: Case-normalize file names returned by CDB

Fixing various problems with breakpoints and opened files caused by CDB
returning lower-case file names.
Task-number: QTCREATORBUG-438
Reviewed-by: hjk <qtc-committer@nokia.com>
Acked-by: mariusSO <qt-info@nokia.com>
8 years agoDebugger: Ignore case of file name in breakpoint handling on Windows.
Friedemann Kleint [Tue, 15 Dec 2009 09:21:02 +0000 (10:21 +0100)]
Debugger: Ignore case of file name in breakpoint handling on Windows.
Task-number: QTCREATORBUG-438

8 years agoCDB: Fix messages displayed after stop of Debugger.
Friedemann Kleint [Mon, 14 Dec 2009 13:15:15 +0000 (14:15 +0100)]
CDB: Fix messages displayed after stop of Debugger.
Reviewed-by: hjk
Task-number: QTCREATORBUG-399

8 years agoCouldn't set "/usr/bin/qmake-4.6" or "/Developer/Tools/Qt/qmake" for Qt.
con [Fri, 11 Dec 2009 15:30:49 +0000 (16:30 +0100)]
Couldn't set "/usr/bin/qmake-4.6" or "/Developer/Tools/Qt/qmake" for Qt.

Task-number: QTCREATORBUG-463
Reviewed-by: dt
8 years agoAdd some information about supported debugger on Mac OS X.
con [Fri, 11 Dec 2009 15:30:26 +0000 (16:30 +0100)]
Add some information about supported debugger on Mac OS X.

8 years agoUpdate Polish translation
Jarek Kobus [Fri, 11 Dec 2009 13:26:00 +0000 (14:26 +0100)]
Update Polish translation

8 years agoAdding files for generic project get the right directory now.
dt [Wed, 9 Dec 2009 13:43:13 +0000 (14:43 +0100)]
Adding files for generic project get the right directory now.

For folder nodes.

Task-number: QTCREATORBUG-374
Reviewed-by: Thorbjorn
8 years ago"Grayout" the background of the output window on re-run configuration
Pierre Rossi [Tue, 8 Dec 2009 20:13:58 +0000 (21:13 +0100)]
"Grayout" the background of the output window on re-run configuration

Maybe we'll need to add an option to toggle that on, or tweak the
blending (50:50 at the moment)

Reviewed-by: dt
8 years agoRelax the selection requirement for indent/unindent selection
Thorbjørn Lindeijer [Mon, 7 Dec 2009 15:43:11 +0000 (16:43 +0100)]
Relax the selection requirement for indent/unindent selection

Before, the selection was required to span multiple lines. Now, any
selection will trigger the line indenting functionality of
Tab/Shift+Tab. This should lead to less surprises.

Also, Shift+Tab will now always unindent the current line, even if there
is no selection, since there is nothing else sensible for this shortcut
to do.

Task-number: QTCREATORBUG-414
Reviewed-by: mae
8 years agoFixed: Template argument marked as "not a type name" when defined as primitive type
Roberto Raggi [Tue, 8 Dec 2009 11:57:41 +0000 (12:57 +0100)]
Fixed: Template argument marked as "not a type name" when defined as primitive type

Task-number: QTCREATORBUG-384
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
8 years agoFixed completion when a typedef symbol is used as class name
Roberto Raggi [Tue, 8 Dec 2009 10:05:57 +0000 (11:05 +0100)]
Fixed completion when a typedef symbol is used as class name

For example std::string, which is a typedef of std::basic_string.

Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
8 years agoFixed autoindent when using tabs instead of spaces
Thorbjørn Lindeijer [Mon, 7 Dec 2009 17:26:47 +0000 (18:26 +0100)]
Fixed autoindent when using tabs instead of spaces

Several special cases that are handled by the CPPEditor did not take
into account code that was using tab characters.

Task-number: QTCREATORBUG-292
Reviewed-by: Roberto Raggi
8 years agoplug memory leak
Oswald Buddenhagen [Fri, 4 Dec 2009 20:18:30 +0000 (21:18 +0100)]
plug memory leak

8 years agomake the "make...entering..." regexp accept mingw32-make as well
Oswald Buddenhagen [Fri, 4 Dec 2009 12:45:59 +0000 (13:45 +0100)]
make the "make...entering..." regexp accept mingw32-make as well

patch by Robert de Vries

8 years agoUpdated supported platforms.
con [Thu, 3 Dec 2009 17:06:54 +0000 (18:06 +0100)]
Updated supported platforms.

8 years agoFixed problem with indentation when auto-indent is turned off
Thorbjørn Lindeijer [Thu, 3 Dec 2009 14:46:05 +0000 (15:46 +0100)]
Fixed problem with indentation when auto-indent is turned off

When auto-indent is turned off, Qt Creator uses a simplistic approach of
copying the indentation string from the previous line. This was broken
when the cursor was positioned inside the indentation, since this caused
part of the indentation to go to the next line, which was then prepended
with the copied indentation, in effect increasing the indentation for
each new line.

The solution here was to copy the indentation from the previous block
only after inserting the new block, which causes the indentation of the
previous line to be cut off by exactly the right amount to keep the
indentation constant.

Task-number: QTCREATORBUG-396
Reviewed-by: mae
8 years agoCompile fix for 42f849c4da2ecb9c32efcc19cee1e8e94e86bc10.
Christian Kamm [Thu, 3 Dec 2009 15:05:53 +0000 (16:05 +0100)]
Compile fix for 42f849c4da2ecb9c32efcc19cee1e8e94e86bc10.

Reviewed-by: Roberto Raggi
8 years agoFixed in-place renaming when text is selected
Thorbjørn Lindeijer [Thu, 3 Dec 2009 11:02:37 +0000 (12:02 +0100)]
Fixed in-place renaming when text is selected

This handles the case with the selection inside the name correctly, and
aborts when part of the selection is outside of the name. Previously, a
selection could cause the text to get inserted backwards.

Task-number: QTCREATORBUG-302
Reviewed-by: Roberto Raggi
8 years agoFixed line/column position after macro expansion.
Roberto Raggi [Thu, 3 Dec 2009 14:08:39 +0000 (15:08 +0100)]
Fixed line/column position after macro expansion.

Task-Number: QTCREATORBUG-409

8 years agoFixed inline implemented methods not showing up in the methods filter
Thorbjørn Lindeijer [Thu, 3 Dec 2009 10:34:31 +0000 (11:34 +0100)]
Fixed inline implemented methods not showing up in the methods filter

Done with Roberto Raggi.

Task-number: QTCREATORBUG-405

8 years agosuppress useless warning
mae [Tue, 1 Dec 2009 15:21:14 +0000 (16:21 +0100)]
suppress useless warning
(cherry picked from commit 982f97e48a53b174a2f748d6569983b8fe855f77)

8 years agofix lupdate breakage fallout
Oswald Buddenhagen [Wed, 2 Dec 2009 16:56:13 +0000 (17:56 +0100)]
fix lupdate breakage fallout

8 years agoTrk: Setting correct date and time when closing remote file.
Robert Loehning [Wed, 2 Dec 2009 13:42:03 +0000 (14:42 +0100)]
Trk: Setting correct date and time when closing remote file.

Reviewed-by: Friedemann Kleint
8 years agoSet a background color for disabled code in FakeVim style
Thorbjørn Lindeijer [Wed, 2 Dec 2009 11:29:31 +0000 (12:29 +0100)]
Set a background color for disabled code in FakeVim style

Fixes right margin and folded code popup background to be
non-transparent.

8 years agofix extra area drawing with multi-line blocks when line wrap is enabled
mae [Tue, 1 Dec 2009 14:55:55 +0000 (15:55 +0100)]
fix extra area drawing with multi-line blocks when line wrap is enabled

The extra area only updated the current *line* when the cursor moved, not
the entire paragraph. This left bold line numbers behind. The fix adds
the required update region when the cursor position changes blocks.

8 years agoPatch the paths in lrelease for Qt 4.6.1
Thorbjørn Lindeijer [Tue, 1 Dec 2009 14:21:09 +0000 (15:21 +0100)]
Patch the paths in lrelease for Qt 4.6.1

Necessary because lrelease is built statically now.

Reviewed-by: Oswald Buddenhagen
8 years agoRemoved stray apostrophe.
Robert Loehning [Tue, 1 Dec 2009 11:59:44 +0000 (12:59 +0100)]
Removed stray apostrophe.

Reviewed by: con

8 years agoSome naming adaptions.
con [Mon, 30 Nov 2009 17:21:39 +0000 (18:21 +0100)]
Some naming adaptions.

8 years agoDebugger: Protect reloadRegisters against early calls.
Friedemann Kleint [Mon, 30 Nov 2009 15:45:15 +0000 (16:45 +0100)]
Debugger: Protect reloadRegisters against early calls.

Check for correct state (InferiorStopped).

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
8 years ago"backport" french translation from 1.3.0
Oswald Buddenhagen [Fri, 27 Nov 2009 10:23:48 +0000 (11:23 +0100)]
"backport" french translation from 1.3.0

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

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
8 years agoPatch .qmake.cache
con [Thu, 26 Nov 2009 17:37:27 +0000 (18:37 +0100)]
Patch .qmake.cache

Reviewed-by: Daniel Molkentin
8 years agoSet the brush origin in the BaseTextEditor for the WaveUnderlines
Thorbjørn Lindeijer [Thu, 26 Nov 2009 15:34:14 +0000 (16:34 +0100)]
Set the brush origin in the BaseTextEditor for the WaveUnderlines

This is necessary since a recent change in Qt 4.6 to how the
WaveUnderline is drawn. It makes sure the WaveUnderline repeats
correctly from one text item to another.

Reviewed-by: mae
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
8 years agoCDB: Fix disassembler for 64 bit addresses.
Friedemann Kleint [Thu, 26 Nov 2009 07:51:43 +0000 (08:51 +0100)]
CDB: Fix disassembler for 64 bit addresses.

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>
8 years agodoc updates
Oswald Buddenhagen [Mon, 23 Nov 2009 17:03:15 +0000 (18:03 +0100)]
doc updates

mostly reshuffling and language fixes

the bulk of the work was done by Others Than Me (TM).

8 years agoadd script to fix the navigation links when the index order changes
Oswald Buddenhagen [Tue, 24 Nov 2009 16:27:59 +0000 (17:27 +0100)]
add script to fix the navigation links when the index order changes

re-linking the pages manually makes one's head explode, so automate it.

8 years agowhitespace shuffling
Oswald Buddenhagen [Mon, 23 Nov 2009 11:55:07 +0000 (12:55 +0100)]
whitespace shuffling

remove trailing ws, expand tabs and normalize newlines

8 years agoless bizarre build command setup for windows
Oswald Buddenhagen [Mon, 2 Nov 2009 20:35:31 +0000 (21:35 +0100)]
less bizarre build command setup for windows

8 years agodo not break on mingw with sh in PATH
Oswald Buddenhagen [Tue, 24 Nov 2009 11:40:14 +0000 (12:40 +0100)]
do not break on mingw with sh in PATH