When looking backwards to combine into a character, it didn't take into
account characters with two column width. It also assumed that all
characters that needed to be combined were in the Mn unicode character
category, while the Hangul starting consonants are in the Lo category.
Implements a feature from e. g. good old Konqueror/KHTML, where you got
a number overlaid all links when pressing ctrl, and then you could press
ctrl+number to activate that link.
REVIEW: 128348
Implements support for the OSC 7 "standard" for tracking open
directories in the terminal (e. g. for bookmarks).
From the bug report, this is apparently what the osx terminal, iterm and
gnome terminal uses to keep track of stuff. I kept the existing tracking
as a fallback.
REVIEW: 128351
BUG: 336618
An updated version of the patch by Adam Treat <treat@kde.org>:
Implement a new file filter using POSIX Portable Filename Character
Set along with KDE's mimetype database of file extension blobs that
filters text matching a POSIX portable pathname and underlines it
very much like links.
REVIEW: 128241
REVIEW: 114376
debian policy for reasons beyond my apprehension wants a -T option to
set the window title (like in xterm).
to make debian's (and derivate's) life easier let's support a no-op
-T option but hide it. this option will not appear in --help output
but be accepted by the parser all the same.
this enables Debian and friends to drop a long standing useless patch
and at the same time prevents us from introducing a conflicting -T in
the future.
REVIEW: 128299
See Pty.cpp for notes on why the arguments should not be empty.
This caused no harm, but this needs to be "fixed" throughout the
entire code.
This reverts commit d1c9b64265.
The check was only done when not memory mapped, so there was a potential
out of bounds read. In addition the check only printed an error, and
didn't return and went ahead with the erronous read.
The 'loc' variable is indirectly read from the file, so in case the
history file is corrupted this could potentially lead to a crash.
Found by Coverity.
REVIEW: 128153
This fixes an issue with the tab bar disappearing when moving tabs left
or right with only two tabs open if the tab bar visibility is set to
Show Tab Bar When Needed in preferences
Thanks to Ignacio R. Morelle shadowm2006 gmail com
REVIEW: 128151
BUG: 350849
KDBusService is designed in a way that is fundamentally not compatible
with Qt, where it exit()s before the QApplication is deleted, which
leads to a lot of weird crashes in various parts of Qt.
To work around this we install an atexit() handler to delete the
QApplication before we shut down.
REVIEW: 127626
readUserName() reads /etc/passwd every few seconds. Change it to only
do this if we need to replace %u with the user name in the tab title.
A temporary helper as this doesn't really fix the underlining issue.
ProcessInfo really needs re-worked.
CCBUG: 325442