qt-creator:qt-creator-instrumentation.git
7 years agofix security hole: don't add an empty element to LD_LIBRARY_PATH 1.3
Oswald Buddenhagen [Wed, 22 Sep 2010 18:05:03 +0000 (20:05 +0200)]
fix security hole: don't add an empty element to LD_LIBRARY_PATH

if LD_LIBRARY_PATH was empty, the wrapper script would add the empty
element to the path.

> The trailing colon is treated by ld.so as another item on the list,
> and empty items are treated as '.' (CWD). Therefore, if a user
> executes qtcreator from a directory where there's a library that would
> have normally been loaded from the standard library paths the local
> library would be loaded instead.
> This has the potential effect of arbitrary code execution.

Reviewed-by: thiago
Task-number: CVE-2010-3374

8 years agofix build with qt 4.7
Oswald Buddenhagen [Thu, 11 Mar 2010 16:36:13 +0000 (17:36 +0100)]
fix build with qt 4.7

it is source-incompatible to this broken code :)

8 years agoFix bug QTCREATORBUG-834
Sergey Belyashov [Tue, 9 Mar 2010 13:19:35 +0000 (16:19 +0300)]
Fix bug QTCREATORBUG-834

8 years agoremove objectionable message :-D
Oswald Buddenhagen [Thu, 4 Mar 2010 18:14:57 +0000 (19:14 +0100)]
remove objectionable message :-D

8 years agoCzech translation
Pavel Fric [Tue, 23 Feb 2010 13:11:38 +0000 (14:11 +0100)]
Czech translation

Merge-request: 116
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
8 years agoUpdated the Qt src/build path to be Qt version independent
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

8 years agoFixed the background color of "disabled code" in the grayscale scheme
Thorbjørn Lindeijer [Thu, 4 Feb 2010 12:01:50 +0000 (13:01 +0100)]
Fixed the background color of "disabled code" in the grayscale scheme

This background color is also used for right margin background and
folded code popup. Not setting any resulted in weird affects in those
places.

8 years agoAvoid drawing a black rectangle due to invalid background for disabled code
Thorbjørn Lindeijer [Tue, 2 Feb 2010 15:46:43 +0000 (16:46 +0100)]
Avoid drawing a black rectangle due to invalid background for disabled code

Regression in commit ab3d3cf413955afabe845bd80676cd468ebbaa80

Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
8 years agoFixed translation typos QTCREATORBUG-646 and QTCREATORBUG-647.
Robert Loehning [Mon, 1 Feb 2010 20:19:53 +0000 (21:19 +0100)]
Fixed translation typos QTCREATORBUG-646 and QTCREATORBUG-647.

8 years agoFixed errors in description of locator's key combinations
Alexander Antsev [Mon, 1 Feb 2010 16:51:31 +0000 (17:51 +0100)]
Fixed errors in description of locator's key combinations

Merge-request: 108
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
8 years agoAdded semicolon after } when creating unnamed enumeration
Roquette [Mon, 1 Feb 2010 10:56:52 +0000 (11:56 +0100)]
Added semicolon after } when creating unnamed enumeration

Task-number: QTCREATORBUG-643
Merge-request: 109
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
8 years agoremove trailing whitespace
Oswald Buddenhagen [Fri, 29 Jan 2010 20:33:57 +0000 (21:33 +0100)]
remove trailing whitespace

doing it in 1.3 as well to avoid possible later conflicts

8 years agoRussian translation update
Sergey Belyashov [Fri, 29 Jan 2010 14:25:43 +0000 (15:25 +0100)]
Russian translation update

Merge-request: 105
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
8 years agoDon't draw the right margin border on top of the text
Thorbjørn Lindeijer [Mon, 25 Jan 2010 13:25:00 +0000 (14:25 +0100)]
Don't draw the right margin border on top of the text

Better to draw it explicitly under the text, together with the
associated background color.

8 years agoFixed performance issue with scrolling when using X11 graphics system
Thorbjørn Lindeijer [Mon, 25 Jan 2010 12:46:08 +0000 (13:46 +0100)]
Fixed performance issue with scrolling when using X11 graphics system

Depending on the XRender driver (probably), drawing a short straight
line can take quite a while when this line is transparent. On my
laptop's onboard ATI card, this meant that scrolling was unusably slow
when this transparent line was being drawn.

Fixed by avoiding the issue, since there is no actual need to use
transparency here. We can calculate the resulting color in advance
instead.

8 years agoCDB: Fix location marker not shown at first breakpoint in file.
Friedemann Kleint [Mon, 25 Jan 2010 08:36:05 +0000 (09:36 +0100)]
CDB: Fix location marker not shown at first breakpoint in file.

Return value glitch in file name normalization.

8 years agoDebugger: Code cosmetics.
Friedemann Kleint [Thu, 21 Jan 2010 15:55:15 +0000 (16:55 +0100)]
Debugger: Code cosmetics.

8 years agoS60: Handle TrkNotifyStopped (crash) when running.
Friedemann Kleint [Thu, 21 Jan 2010 14:51:33 +0000 (15:51 +0100)]
S60: Handle TrkNotifyStopped (crash) when running.

Extract error message string from Trk, print proper message
when application crashes in run mode and terminate launcher.
Use same message in Debugger for consistency.
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>Reviewed-by: John Doe
Conflicts:

src/plugins/qt4projectmanager/qt-s60/s60devicerunconfiguration.cpp

8 years agotrk: Handle TrkNotifyStopped in launcher.
Friedemann Kleint [Thu, 21 Jan 2010 14:45:40 +0000 (15:45 +0100)]
trk: Handle TrkNotifyStopped in launcher.

Add signal and static utility functions to parse message.
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
Initial-patch-by: Shane Kearns <shane.kearns@sosco.com>
8 years agoRevert "trk: Handle TrkNotifyStopped in launcher."
Friedemann Kleint [Thu, 21 Jan 2010 14:43:58 +0000 (15:43 +0100)]
Revert "trk: Handle TrkNotifyStopped in launcher."

This reverts commit 9ac451eabacf57f5972420a4df43ad120d2cb496.

8 years agoRevert "S60: Handle TrkNotifyStopped (crash) when running."
Friedemann Kleint [Thu, 21 Jan 2010 14:43:47 +0000 (15:43 +0100)]
Revert "S60: Handle TrkNotifyStopped (crash) when running."

This reverts commit 607e545218f7b2faa65ee301593a10774fcb126f.

8 years agoS60: Handle TrkNotifyStopped (crash) when running.
Friedemann Kleint [Thu, 21 Jan 2010 14:27:05 +0000 (15:27 +0100)]
S60: Handle TrkNotifyStopped (crash) when running.

Extract error message string from Trk, print proper message
when application crashes in run mode and terminate launcher.
Use same message in Debugger for consistency.
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
8 years agotrk: Handle TrkNotifyStopped in launcher.
Friedemann Kleint [Thu, 21 Jan 2010 14:24:47 +0000 (15:24 +0100)]
trk: Handle TrkNotifyStopped in launcher.

Add signal and static utility functions to parse message.
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
Initial-patch-by: Shane Kearns <shane.kearns@sosco.com>
8 years agotrk: Add support for command line arguments in trk::Launcher.
Friedemann Kleint [Thu, 21 Jan 2010 11:33:34 +0000 (12:33 +0100)]
trk: Add support for command line arguments in trk::Launcher.
Initial-patch-by: Shane Kearns <shane.kearns@sosco.com>
8 years agoUpdated IDE_YEAR to 2010.
Robert Loehning [Wed, 20 Jan 2010 11:59:34 +0000 (12:59 +0100)]
Updated IDE_YEAR to 2010.

8 years agoFixed translations, reported in QTCREATORBUG-590.
Robert Loehning [Tue, 19 Jan 2010 17:39:33 +0000 (18:39 +0100)]
Fixed translations, reported in QTCREATORBUG-590.

8 years agodebugger: Using macro, removed unused QString
Robert Loehning [Fri, 15 Jan 2010 17:24:34 +0000 (18:24 +0100)]
debugger: Using macro, removed unused QString

8 years agoBuild fix
con [Fri, 15 Jan 2010 17:19:54 +0000 (18:19 +0100)]
Build fix

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

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)

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
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
8 years agoUpdate Polish translations
Jarek Kobus [Fri, 15 Jan 2010 09:07:27 +0000 (10:07 +0100)]
Update Polish translations

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
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
8 years agoFixed translation.
Robert Loehning [Thu, 14 Jan 2010 14:51:31 +0000 (15:51 +0100)]
Fixed translation.

Reviewed-by: ossi
8 years agoMissing entry in changelog
con [Thu, 14 Jan 2010 12:47:32 +0000 (13:47 +0100)]
Missing entry in changelog

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
8 years agoMade "All Files" filter always available
Thorbjørn Lindeijer [Wed, 13 Jan 2010 16:11:20 +0000 (17:11 +0100)]
Made "All Files" filter always available

Needed to be able to open text files with arbitrary or no extension.
Previously, the "All Files" filter would disappear when there was no
plugin with an empty filter string, like the BinEditor plugin.

Reviewed-by: con
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
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
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

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
8 years agoRemove debug output.
con [Tue, 12 Jan 2010 15:23:05 +0000 (16:23 +0100)]
Remove debug output.

Reviewed-by: hjk
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
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

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
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
8 years agoFixed license headers.
Robert Loehning [Fri, 8 Jan 2010 17:39:14 +0000 (18:39 +0100)]
Fixed license headers.

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

Reviewed-by: hjk
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

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
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
8 years agoVersion bump.
con [Thu, 7 Jan 2010 17:17:10 +0000 (18:17 +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