Commit Graph

146 Commits

Author SHA1 Message Date
Kurt Hindenburg
51575d6f52 Accept drag and drop event from non-KDE Filemanagers
Thunar uses 'text/uri-list' in its mimetype, but konsole only accept
d&d events whose mimetype contains 'text/plain'.

Patch by Jekyll Wu <adaptee@gmail.com>
BUG: 219023
FIXED-IN: 4.8
REVIEW: 102176
2011-08-04 09:25:17 -04:00
Kurt Hindenburg
b40a006db8 Add a checkbox to hide the size widget upon resizing window.
Re-add the KDE 3 option to show/hide the size widget when the window is
changed.

Patch is years old from Chali Ahmul M.P.U <chali.ahmul@atlas.cz>
FEATURE: 169054
FIXED-IN: 4.8
2011-07-31 20:56:16 -04:00
Kurt Hindenburg
ca0cb95007 Fix notifications for non-visible sessions.
Currently all notifications are deemed 'visible'.  This patch fixes
that so all non-visible sessions go to their own notifications.

Patch by Tijl Coosemans.

I'll backport to the 4.7 branch.
BUG: 174505
FIXED-IN: 2.7.1
REVIEW: 101720
2011-07-09 18:18:09 -04:00
Albert Astals Cid
1c000fd50c Fix format/style matching
RE_EXTENDED_CHAR is not part of the character format/style
2011-07-03 15:16:19 +01:00
Albert Astals Cid
c335324f31 Support Unicode decomposed characters
BUGS: 96536
2011-06-26 16:32:30 +01:00
Albert Astals Cid
3913792ce6 Add some const to make the code easier to follow 2011-06-26 16:23:59 +01:00
Albert Astals Cid
4477ce504f Remove code that does nothing
Well, it did a new, some assignments, a delete a QString creation...
and then nothing with those
2011-06-03 08:58:50 +01:00
Kurt Hindenburg
3d20c090bf The last patch had some formatting issues and unused variable. 2011-04-23 21:07:26 -04:00
Kurt Hindenburg
e9d2a0b5e9 Fix an #include duplicate. 2011-04-17 22:57:19 -04:00
Kurt Hindenburg
48cdd11371 Add profile option to disable underlining links.
Add a configuration item that allows disabling of the underlined links
on mouse hover. The option is profile specific and defaults to the previous
behaviour where links are underlined on hover.

Patch by Amand Tihon <amand.tihon@alrj.com>

BUG: 174261
FIXED-IN: 4.7
CCMAIL: amand.tihon@alrj.com
2011-04-16 13:39:42 -04:00
Kurt Hindenburg
b88dfb402a Delegate PgUp/Down and Up/Down +Shift+AppScreen to terminal application.
After this patch, the following in the .keytab will work:

key Up+Shift+AppScreen : "appup"
key Down+Shift+AppScreen : "appdown"
key PgUp+Shift+AppScreen : "apppgup"
key PgDown+Shift+AppScreen : "apppgdown"

Patch by Tomáš Čech tcech@suse.cz

FEATURE: 267100
FIXED-IN: 4.7
2011-04-14 11:25:11 -04:00
Kurt Hindenburg
ff3f1cdce2 Substitue obsolete method of QDrag (start->exec). 2011-03-03 15:37:59 -05:00
Christophe Giboudeaux
8707e2e353 Build. 2011-01-30 20:32:09 +01:00
Kurt Hindenburg
f979c16ff7 Revert drag-n-drop to what KDE 3.x used such that CTRL is nowe required.
BUG: 165923

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1211082
2011-01-03 04:26:01 +00:00
David Faure
698a05b26d Fix use of deleted memory because the pointer returned by getImage() gets deleted+recreated when
updateImageSize emits changedContentSizeSignal() which ends up calling getImage() too.
Please check, I don't really know this code -- but valgrind was clear about the error.
CCMAIL: robertknight@gmail.com

Maybe it solves the crashes from 246652 if they were caused by this memory corruption.
(Hard to tell, without a valgrind log of that crash)
CCBUG: 246652

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1196295
2010-11-12 23:11:18 +00:00
Valentine Sinitsyn
253a5cc824 Make bold font for bright (intensive) ANSI colors a user-configurable option rather than hardcoded default.
BUG: 226308


svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1133477
2010-06-01 20:06:11 +00:00
Sascha Peilicke
45d27ec764 Second chunk of menubar changes, see http://reviewboard.kde.org/r/3875/ for details.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1122683
2010-05-04 13:31:46 +00:00
Kurt Hindenburg
bc3e902d65 Correct where new Hotspots are calculated upon resize.
CCBUG: 228443

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1097379
2010-03-01 04:10:55 +00:00
Kurt Hindenburg
4b4dcf5afa Revert a fix for 199161 which is causing an ASSERT to crash.
CCBUG: 228443

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1097311
2010-02-28 22:02:17 +00:00
Kurt Hindenburg
933ff9eef2 Recreate hotspots on resize.
CCBUG: 199161

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1095077
2010-02-23 16:11:19 +00:00
Sascha Peilicke
b1e7c39d43 Replaced deprecated calls to QLayout::setMargin and replaced it with QLayout::setContentsMargins for several Konsole classes.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1088845
2010-02-11 19:25:45 +00:00
Christoph Feck
4c4284f414 Disconnect timers early
When a TerminalDisplay is destroyed, the timers are still active
until they are deleted by QObject, so they could fire when anything
in the QWidget or QObject destructor processes events.

BUG: 208199

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1082643
2010-01-31 01:40:27 +00:00
Kurt Hindenburg
533599ab1e Don't copy an empty string to the clipboard. Ideally this should be handled by disable-ing the menu/shortcuts for Copy/Cut/Paste (Wish 203768).
BUG: 188725

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1076289
2010-01-17 22:59:59 +00:00
Christoph Feck
8d037b7673 Use sizeHint() instead of pixelMetric() to get scroll bar size
BUG: 194088

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1070887
2010-01-07 00:01:14 +00:00
Darío Andrés Rodríguez
b8a3bdd833 - Reduce the ammount of unused vars/parameters warnings
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1049628
2009-11-15 15:41:16 +00:00
Christoph Feck
568095c482 Fix scrollbar coloring when changing system colors
BUG: 170760

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1047721
2009-11-11 22:11:46 +00:00
Kurt Hindenburg
31aea137a8 Fix some build warning and a krazy issue.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1033923
2009-10-11 15:42:12 +00:00
Shawn Starr
6484ae926a CCMAIL:robertknight@gmail.com Make cursor blinking respect Qt cursor blink value. Leave text blinking to existing value
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1016562
2009-08-28 03:38:35 +00:00
Harald Fernengel
fd3ea74f5d optimization: One malloc+memcpy less when drawing a line
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=994710
2009-07-11 09:11:26 +00:00
Kurt Hindenburg
d4bb1e1a68 Correct spelling using US English.
SVN_SILENT

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=989146
2009-06-29 15:16:28 +00:00
Kurt Hindenburg
eb7b47c567 Correct underlining URLs when scrollbar is on the left.
BUG: 187555

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=965773
2009-05-09 18:42:05 +00:00
Kurt Hindenburg
0a6ef8e77f Fix issue where terminal text is locked at 0,0.
BUG: 163178

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=963912
2009-05-05 15:21:29 +00:00
Kurt Hindenburg
5d0b809e84 revert 930286
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=935429
2009-03-05 06:12:37 +00:00
Kurt Hindenburg
a0f187a785 Allow the disabling of blinking text.
BUG: 182414

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=932642
2009-02-27 05:47:30 +00:00
Kurt Hindenburg
0f99f532e6 Allow double-click selection to check for word boundaries.
BUG: 176273

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=930286
2009-02-22 23:24:16 +00:00
Wang Kai
b986ccbac4 BUG: 154689
use QRegion instead of QRect to represent each HotSpot's valid region 
when a link spans over multiple lines
calculate the unites of QRects as this HotSpot's region
so the link get underlined properly

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=906906
2009-01-07 02:45:46 +00:00
Rick Xing
773993a4e3 Just EBN fixes
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=894687
2008-12-09 06:59:31 +00:00
Frederik Schwarzer
ebbdfe6968 let me introduce: typo of the year "the the"
mostly seen as
"the the" -> "the"
"the the" -> "to the"
and in its best case
"a the the" -> "" :)

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=864814
2008-09-25 15:05:22 +00:00
Robert Knight
28b84379b2 Make the 'bold' property for each color entry in the current terminal palette a tri-state which allows text drawn in that color to be forced to bold, non-bold (normal) or to use the current formatting specified by the terminal application.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=863401
2008-09-22 01:44:06 +00:00
Robert Knight
3ba3ae8f20 Refactor TerminalDisplay::event(). Move shortcut handling code into handleShortcutOverrideEvent() method.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=863337
2008-09-21 21:05:35 +00:00
Robert Knight
7a63547cdf Tidy up SessionController::showDisplayContextMenu(). Remove unused parameters and unnecessary pointer checks.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=863331
2008-09-21 20:45:05 +00:00
Robert Knight
956277c014 Convert tabs to 4 spaces to match kdelibs conventions. Previously
there was a mix of tabs and spaces for indentation.

CCMAIL:Stefan.Becker@nokia.com


svn path=/trunk/KDE/kdebase/apps/konsole/; revision=863326
2008-09-21 20:06:58 +00:00
Kurt Hindenburg
e07a268661 EBM krazy fixes; please double-check to avoid introducing problems.
CC: konsole-devel@kde.org

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=845404
2008-08-11 15:56:36 +00:00
Kurt Hindenburg
0c6c59aca7 ebn krazy fixes
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=845380
2008-08-11 15:14:21 +00:00
Laurent Montel
d31c37c404 guard #warning
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=843396
2008-08-07 06:57:13 +00:00
Robert Knight
243e5da7e4 ScreenWindow API doc updates.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=837724
2008-07-25 15:04:45 +00:00
Robert Knight
08fa3ef8f5 Fix scrolling corruption when scrollbar is placed on the left-side of the display.
Take into account the scrollbar position when computing the region of the 
display widget to do an optimised scroll on.

BUG: 162958


svn path=/trunk/KDE/kdebase/apps/konsole/; revision=815891
2008-06-02 19:38:20 +00:00
Robert Knight
73f5324561 Do not show flow control warning widget if terminal application (eg. Emacs) disables
flow control.  Check current terminal flow control settings when Ctrl+S is pressed and only 
show the warning if the warning is enabled in profile settings and Xon/Xoff is 
enabled in the terminal.

BUG: 162173
CCMAIL: jriddell@ubuntu.com


svn path=/trunk/KDE/kdebase/apps/konsole/; revision=808588
2008-05-16 23:59:16 +00:00
Dirk Mueller
54cee5ca30 allocate standard color table only once
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=808156
2008-05-15 20:12:26 +00:00
Rafał Miłecki
5aa053f08d Fix compilation warning: "suggest parentheses around && within ||"
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=802759
2008-04-30 14:06:06 +00:00