Commit Graph

157 Commits

Author SHA1 Message Date
Jekyll Wu
3d1f074cc3 Add 'Text' into the names of text-blinking related members and methods.
Explicit is often better than implicit.
2011-10-10 15:00:12 +08:00
Jekyll Wu
714ec30c32 Rename for consistency and clarity 2011-10-10 14:35:30 +08:00
Jekyll Wu
be4630f81f Remove dead method TerminalDisplay::setCursorPos() 2011-10-10 12:44:40 +08:00
Jekyll Wu
272ac9850e Include KDE headers consistently in the from of "#include <KSomething>" .
However, some KDE headers are still only available in the form of
"#include <ksomething.h>"

krun.h              ==>     KRun
kicon.h             ==>     KIcon
kdebug.h            ==>     KDebug
kshell.h            ==>     KShell
kdialog.h           ==>     KDialog
kconfig.h           ==>     KConfig
klocale.h           ==>     KLocale
kglobal.h           ==>     KGlobal
kcolorutils.h       ==>     KColorUtils
kconfiggroup.h      ==>     KConfigGroup
kdesktopfile.h      ==>     KDesktopFile
kcolorscheme.h      ==>     KColorScheme
kstandarddirs.h     ==>     KStandardDirs
ktemporaryfile.h    ==>     KTemporaryFile
klocalizedstring.h  ==>     KLocalizedString
2011-09-23 05:04:46 +08:00
Jekyll Wu
e14b2099cc Each filename inserted in d&d operation should be followd by a space.
FEATURE: 280838
FIXED-IN:4.8
2011-09-14 06:48:43 +08:00
Jekyll Wu
f78b734ef2 Remove unused #include . 2011-09-06 06:38:51 +08:00
Aaron Seigo
ff1740e438 call up the on screen keyboard when we get a click. 2011-08-16 13:56:53 +02:00
Jekyll Wu
1efdbea83e Last commit was meant to close REVIEW 102248. Typo. 2011-08-15 13:25:58 +08:00
Jekyll Wu
caece88d2c Don't emit keyPressedSignal when QInputMethodEvent::commitString() is empty.
When user switches focus (even using mouse) between tabs/windows
of konsole, ibus will trigger inputMethodEvent(). Most of the time
commitString() will be empty. Do not emit keyPressedSignal in such case,
otherwise konsole will scroll active view to bottom. See bug #236733.

The side effect is when inputmethod is activated, the active view
will not scroll to bottom on keystroke until user has committed
some string.

BUG: 236733
REVIEW: 102238
FIXED-IN : 4.8
2011-08-15 12:33:02 +08:00
Kurt Hindenburg
2dcd584255 Popup menu for drag-n-drop operations.
Restore KDE3 popup menu when any file is dropped into Konsole.

The popup menu allows to Copy, Move or Link the file into the current
working directory or to simply paste its URL as text (the latter being
the current behaviour in KDE4).

For non-local files, the URL is pasted as text.

Note that this adds a konq dependency - KonqOperations:doDrop

Patch by Frank Roscher
FEATURE: 160583
FIXED-IN: 4.8
REVIEW: 4600
2011-08-13 21:10:31 -04:00
Kurt Hindenburg
087f67e4fc Allow an image to be set as the background in the terminal.
Restore the KDE3 option to have a background image in each session.

Patch by Alexandre Becoulet <diaxen@free.fr>
BUG: 157882
FIXED-IN: 4.8
2011-08-07 18:44:16 -04:00
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