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
There are some security concerns about allowing sendText and runCommand
to be on the public D-Bus. Now, once upon a Konsole startup, a
notification will popup noting this concern when either of these two
methods are called. There is a cmake definition that will remove
these methods from the public D-Bus.
Discussion on the KDE security mailing list.
vim uses control sequence 'echo -e "\033]11;?\a"' to request real
background color -- to detect whether terminal has dark or light
background.
Thanks to Pavel Raiskup praiskup redhat com
REVIEW: 125333
BUG: 352945
FIXED-IN: 15.12
Do not check foreground process to determine if current directory has
changed. Fixes nasty bugs such as 'man ls' changes to man folder.
This changes the BIC so the patch is different than the one committed
in KDE 4.14.x
Thanks to Arjun AK arjunak234 gmail com
.REVIEW: 120763
.BUG: 305085
.FIXED-IN: 14.12
(cherry picked from commit f269c1ad59)
So if someone notices later some Qt header is included in the form
of "#include <Class>" instead of the more common form of "#include
<Module/Class>", do not rush changing it.
REVIEW: 105819
This reintroduces the "Send Signals" from KDE 3.5.
SIGSTOP/CONT/HUP/INT/TERM/KILL/USR1/USR2
Patch by Kasper Laudrup laudrup@stacktrace.dk
FIXED-IN: 4.10
FEATURE: 214908
The old code always set the hardcoded 80x40 size.
Two profile options are added under the "General" group:
* TerminalColumns
* terminalRows
Note: Due to the way KMainWindow works, those profile options may not
work :(. Do not take this commit as something completed.
Although the existing dbus method sendText(QString) can be used to do
the same job, it is not very friendly since users have to deal with the
problem of how to represent and send the final newline.
FEATURE: 283719
REVIEW: 104398
FIXED-IN: 4.9.0
Note: the signal is not emitted immediately after the current directory
changes. There is noticable delay (usually below 1 second) at the
moment.
FEATURE: 156919
REVIEW: 104372
FIXED-IN:4.9.0
Its naming scheme is "/Windows/N", similar to "/Sessions/N" for
sessions. That is not the final decision and might change before next
major release.
The old "/Konsole" dbus object is still available at this moment, but
it might disappear or be used for something different in the future, so
it is better to use "/Windows/N" from now on.
For convenience, $KONSOLE_DBUS_WINDOW can be used to refer to the dbus
object corresponding to the Konsole window containing current session.
Note, that environment variable does not work well with detaching and
draging. Maybe it should not be added at all.
CCBUG:276912
CCBUG:281513
CCBUG:292309
REVIEW:103790