Commit Graph

17682 Commits

Author SHA1 Message Date
hjk
6fd2aaaa32 texteditor: introduce a widthFactor to enable non-quadratic text marks 2011-03-21 17:32:53 +01:00
hjk
a18d0572bd texteditor: simplify basetextmark architecture
ITextMark is not abstract anymore and has an icon and a priority.
This means separate breakpoint and location marker classes that
are only "plain" marks with icons and priorities are not needed.

BaseTextMark directly inherits from ITextMark, instead of owning
an ITextMark derived InternalMark.

Also, there is now ITextMark::paint() to make it a bit more flexible
then icon()[->paint()]
2011-03-21 17:15:02 +01:00
hjk
e73f43c759 coding-style: mention virtual inheritance 2011-03-21 15:08:36 +01:00
cerf
b9cae78216 Bazaar: fix conflicting keyboard shortcuts
Bazaar commands can now be triggered with ALT+Z as combination prefix
instead of the already used ALT+B

Merge-request: 278
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2011-03-21 11:35:10 +01:00
cerf
f671b30419 Bazaar: fix commit error for 'rename' changes
Merge-request: 276
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2011-03-18 09:55:36 +01:00
cerf
da11c04af5 Bazaar: fix indentation and whitespaces
Merge-request: 276
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2011-03-18 09:55:33 +01:00
Friedemann Kleint
f962a71eec AnalyzerBase: Select whole rows for previous/next actions
in analyzeroutputpane.

Initial-patch-by: Kevin Funk <kevin.funk@kdab.com>
2011-03-17 13:48:03 +01:00
hjk
7832e821f5 debugger: add manual test for void * typedefs 2011-03-17 13:40:02 +01:00
hjk
0a9ef41b81 debugger: add some manual test code for MPI related data stuctures 2011-03-17 13:40:02 +01:00
hjk
2a9e8af48c debugger: code cosmetics 2011-03-17 13:40:02 +01:00
Leandro Melo
126aa9ec39 Editors: Change shortcut for copy line operation
Change the key binding for the copy line operation
introduced at 8ae4317394
to Ctrl+Ins. We already use Shift+Del for the cut line
operation, so this would be CUA consistent.
2011-03-17 11:17:47 +01:00
Kostas Karanikolas
8ae4317394 Added "Copy Line" keyboard command and associated action
Merge-request: 223
Reviewed-by: Leandro Melo
2011-03-17 10:51:46 +01:00
Friedemann Kleint
420345380a Merge remote branch 'origin/2.2' 2011-03-16 16:09:19 +01:00
Friedemann Kleint
2248990b8a AnalyzerBase: Fixes for multiple tools.
Initial-patch-by: Milian Wolff <mail@milianw.de>
2011-03-16 16:08:53 +01:00
Friedemann Kleint
24cdd3551b Merge remote branch 'origin/2.2'
Conflicts:
	src/libs/utils/utils-lib.pri
2011-03-16 15:51:37 +01:00
Christian Kamm
5e78fef6c5 QmlDump: Fix uri-based plugin dumping. 2011-03-16 15:35:15 +01:00
Kai Koehne
7365be7cf6 MobileWizard: Export library symbols to allow wizards in external plugins
Qt components want to provide Qt Quick Application wizards in their own
repos. Allow them to use the MobileAppWizard infrastructure.

Reviewed-by: Alessandro Portale
2011-03-16 15:29:05 +01:00
kh1
e00d6c1aba Fix locator crash.
Task-number: QTCREATORBUG-3991
Reviewed-by: kh
2011-03-16 15:20:02 +01:00
Friedemann Kleint
a7370ae4b0 Analyzer: Add status label.
Factor out the status label with timeout from the debugger plugin.
Use in analyzer manager, add standard messages and use that
in memcheck.

Task-number: QTCREATORBUG-4077
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2011-03-16 13:49:28 +01:00
Friedemann Kleint
18074cccd2 Debugger: Improve breakpoint debug output. 2011-03-16 13:39:59 +01:00
Friedemann Kleint
0ae94ffc4d Debugger[CDB]: Fix breakpoint context menu for CDB.
Immediately report known data back when settings breakpoints
so that line number/enabled is correct in the handler.
2011-03-16 13:39:58 +01:00
Oswald Buddenhagen
46da406668 don't be tricked by scope blocks with colons
people write strange code ...
2011-03-16 12:24:38 +01:00
Oswald Buddenhagen
00ac132d59 don't accidentally write into scopes
we get no reliable end-of-block location from the token stream, so we
have to do it ourselves. the solution is qmake-worthy, to put it that
way ...

Task-number: QTCREATORBUG-4049
2011-03-16 12:24:38 +01:00
Oswald Buddenhagen
ed3e000f82 reinitialize character data pointer after modifying qstring 2011-03-16 12:24:38 +01:00
Oswald Buddenhagen
e03dcf1945 plug leaks in test
makes the valgrind output less annoying
2011-03-16 12:24:38 +01:00
Oswald Buddenhagen
a3e578f318 add some comments 2011-03-16 12:24:37 +01:00
Oswald Buddenhagen
b83d730322 use proper enum value instead of number for unknown functions
silences compiler warnings
2011-03-16 12:24:37 +01:00
Oswald Buddenhagen
c0719b1ad6 remove obsolete comment 2011-03-16 12:24:37 +01:00
Friedemann Kleint
9771cdbf9d Debugger[CDB]: Fix warning about invalid breakpoint on 'step out'.
Do not display internal breakpoint id=10000.
2011-03-16 11:55:24 +01:00
Leandro Melo
e4baf9e359 Editors: Continue indent behavior change...
For single line selection. Following 5e81630a23
2011-03-16 11:12:31 +01:00
Yuchen Deng
5e81630a23 Editors: Change indent behavior for single line selection
When only one line is selected when press the TAB key, should delete
the selected contents, then perform indent.
It like other more editor behavior.

Reviewer notes: Indeed this seems to be a common behavior in other
editors (for example Visual Studio, Code Blocks, Eclipse). But in
order to preserve the indentation consistent with the multiple-line
case it would be nice an approach like Eclipse's: If the single
line is completely selected, do the indentation as usual. Otherwise
remove the selected text.

The author of the request is not able to revise this minor change
because he claims to be busy (and actually asked for the help). So
I will keep this patch in the original state and implement the
detail I mentioned above in a following commit.

Merge-request: 252
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
2011-03-16 10:55:43 +01:00
Friedemann Kleint
d78cc7201d Codepaster: Always enable send to codepaster menu action.
As the dialog is editable, now.

Task-number: QTCREATORBUG-4060
2011-03-16 10:28:16 +01:00
Pawel Polanski
3e75e77fe4 CODA: Fixed problem with CODA not responding at first communication attempt 2011-03-16 10:03:52 +01:00
dt
8a1fc04216 Add my user visible changes 2011-03-15 19:05:51 +01:00
dt
1fe6d0299c Qt4ProjectManager: Run qmake on the right project 2011-03-15 19:05:15 +01:00
hjk
d76f866bb6 changes-2.2.0: add valgrind, small debugger changes 2011-03-15 18:33:37 +01:00
Christiaan Janssen
0fbcfaccce Update changelog for 2.2
Reviewed-by: Daniel Molkentin
2011-03-15 18:19:11 +01:00
Oswald Buddenhagen
71baeb1d77 Merge remote-tracking branch 'origin/2.2' 2011-03-15 18:01:35 +01:00
Tobias Hunger
3926852186 Update changelog for 2.2 2011-03-15 17:58:07 +01:00
Tobias Hunger
9b1da76ca7 QTVersion: Reset toolchain pathes on creator upgrade
Reset the toolchain pathes on creator upgrade. This is necessary
to prevent creator from auto-creating the toolchains found by
reading the settings in the old Qt version configuration which
might override user changes.
2011-03-15 17:35:51 +01:00
Thorbjørn Lindeijer
f5761c9212 Fixed crash when QML app shuts down itself in debugging mode
The QDeclarativeViewObserverPrivate could end up referencing the tool bar
when it was already destroyed.

Reviewed-by: Kai Koehne
2011-03-15 16:45:28 +01:00
Friedemann Kleint
bc5c462df6 Debugging helpers: Build Gdb helper on Mac only.
Reviewed-by: Kai Köhne <kai.koehne@nokia.com>
2011-03-15 16:37:38 +01:00
Pawel Polanski
d144936f1d Symbian: Small UI fix 2011-03-15 16:35:19 +01:00
cerf
455a85bd86 Bazaar: set global Bazaar user ID when changed
This ID is automatically set when the user settings have been changed
and applied from the "Options" dialog. This calls 'bzr whoami' under
the hood

Merge-request: 275
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2011-03-15 15:47:45 +01:00
Tobias Hunger
12c7c72e83 Gccparser: Add unit test 2011-03-15 15:46:37 +01:00
Christian Kamm
faff0c8ace C++ indenter: Fix for use of << and >> in parentheses.
Task-number: QTCREATORBUG-4076
2011-03-15 15:05:05 +01:00
Friedemann Kleint
4fa528813e Debugger: Fix exit crash in debug mode (X11).
Double deletion of debug mode widgets.
2011-03-15 14:52:35 +01:00
Friedemann Kleint
8dc563cdd8 L10n: Update German translation for 2.2 beta. 2011-03-15 14:19:22 +01:00
Friedemann Kleint
cfc4282953 L10n: tr()-fixes.
Use standard checkable message box in analyzer.
2011-03-15 14:18:41 +01:00
Thorbjørn Lindeijer
ed23c77cba Don't show the QML debugging tool bar in the simulator 2011-03-15 13:31:28 +01:00