Commit Graph

175 Commits

Author SHA1 Message Date
Ahmad Samir
be7181c93a Backspace without CTRL should send '^?'
Summary:
This matches XTerm behaviour, so that pressing Alt+Backspace will send
\E + Del, which is the expected behaviour in some apps (e.g. emacs),
and it also matches the Konsole behaviour before commit
5345bbb0af

BUG: 394276
FIXED-IN: 18.04.2

Test Plan:
- Make sure you have the default .keytab file without any modifications
- Run `emacs -Q -nw`, press Ctrl+h k, to invoke the describe key functionality
- Press Alt+Backspace, it'll send C-M-h
- Apply the diff and test again, now it should send M-Del

Reviewers: #konsole, hindenburg

Reviewed By: #konsole, hindenburg

Subscribers: konsole-devel, #konsole

Tags: #konsole

Differential Revision: https://phabricator.kde.org/D12899
2018-05-16 09:36:10 -04:00
Ahmad Samir
1ec394b9e7 Tweak README-KeyTab and README.keyboard a bit
Summary:
Rename README.KeyTab to README-KeyTab to prevent Konsole from trying to
load it as a keyboard translator file, and fix references to that file
name in other files.

Flesh out README-KeyTab and README.keyboard and reformat them.

Also copy the the original README-KeyTab to README-KeyTab-original,
just in case there's some concept that I misinterpretted/misunderstood.

Reviewers: #konsole, hindenburg

Reviewed By: #konsole, hindenburg

Subscribers: #konsole

Tags: #konsole

Differential Revision: https://phabricator.kde.org/D12032
2018-04-13 08:44:01 -04:00
Ahmad Samir
2037c36a64 Make the keypad "5" key send "\E[E" when NumLock is off
Summary:
When NumLock is off the keypad "5" key should send '\E[E' sequence; this
matches xterm behaviour.

BUG: 189116

Reviewers: #konsole, hindenburg

Reviewed By: #konsole, hindenburg

Subscribers: hindenburg, #konsole

Tags: #konsole

Differential Revision: https://phabricator.kde.org/D11958
2018-04-05 18:28:08 -04:00
Harald Sitter
97d9ed9436 add knewstuff support for color schemes
Summary:
schemes are supplied by `Konsole Color Scheme` category on store.kde.org

https://store.kde.org/p/1216368/

- new manager helpers to unload a theme and check a file's name validity
- new Get New.. button to start the KNS download dialog
- upon KNS completion we'll attempt to load all installed files as schemes
- for KNS entities which failed to load anything we'll show a warning as
  the theme is malformed
- for removal we'll first try to remove schemes through KNS to avoid its
  registry going out of sync with the on-disk "installedness" of an entity
- properly disable copying of the scheme manager (needs to be private)

FEATURE: 18.04.0
CHANGELOG: Support for downloading color schemes from the KDE store

Test Plan:
category is T8053 (can also use `KDE Color Scheme KDE4` for testing)

- get new -> install scheme -> close -> shows up in list
- remove from list -> get new -> not listed as installed
- install random stuff from kde color scheme category -> close ->
  warning should be displayed
- install scheme -> get new -> remove scheme via dialog -> close ->
  not listed as installed

Reviewers: hindenburg

Subscribers: #konsole

Tags: #konsole

Differential Revision: https://phabricator.kde.org/D10766
2018-02-28 10:49:10 +01:00
Ahmad Samir
5345bbb0af Match xterm behaviour when pressing Ctrl+Backspace
Summary:
Change the default keyboard translator to match xterm behaviour:
 - Pressing Backspace without any modifiers sends '^?', ASCII DEL
   character
 - Pressing Control+Backspace sends '^H', BS character

BUG: 391075

Test Plan:
- Before applying the patch pressing Ctrl+V (to insert verbatim) then
  Backspace, sends '^?'; the same happens with Ctrl+Backspace
- With the patch:
  - pressing Ctrl+V then Backspace sends '^?'
  - pressing Ctrl+V then Ctrl+Backspace sends '^H'

Reviewers: #konsole, hindenburg

Reviewed By: #konsole, hindenburg

Subscribers: ngraham

Tags: #konsole

Differential Revision: https://phabricator.kde.org/D10884
2018-02-27 23:04:10 -05:00
Harald Sitter
9470fd0239 sync value order with how 16.08 writes them
makes it easier to spot difference when copying a changed theme moving
forward

REVIEW: 129369
2016-11-21 08:28:40 +01:00
R.J.V. Bertin
1ab412b58e Ship and install an app icon on Mac and MS Windows
Also set more relevant information in the Mac Info dictionary.
2016-11-20 17:40:06 +01:00
Harald Sitter
3f79ec70e5 Breeze color scheme uses better contrasting color for "black" color value
The previous set of blueish colors offered fairly bad contrast with the
charcoal grey background when using the "black" contrast value. To give
a more uniform experience the default "black" color is now charcoal grey
with it's intense variant shifted into a light grey to complement the
intense background, which is charcoal grey shifted into a more intense dark

This should offer overall better contrast, in particular in htop.

BUG: 371068
REVIEW: 129368
CHANGELOG: Breeze color scheme uses better contrasting color for "black" color value
2016-11-10 12:07:44 +01:00
Kurt Hindenburg
84b43dfb21 Add rendition flags SGRs 2, 8, 9, 53
Adds faint intensity, strikeout, conceal and overline support.

echo -e 'D\e[2mD\e[9mD\e[53mD\e[8mD'

Thanks to Antonio Russo antonio e russo gmail com for patch

REVIEW: 128405
BUG: 362171
2016-07-16 12:34:24 -04:00
Kurt Hindenburg
733a577e95 Remove vt420pc.keytab - it was never installed and appears to not work 2016-06-20 10:04:40 -04:00
Kurt Hindenburg
6aad2f071b Do not install README.KeyTab
It was also a bad idea to name this *.keytab
2016-06-20 10:02:34 -04:00
Kurt Hindenburg
92346e9f51 Depend on ECM 1.6 and use new install variables 2016-06-19 20:19:45 -04:00
Harald Sitter
947342e333 add a color scheme using breeze color palette values (dark bg)
REVIEW: 128132
CHANGELOG: New 'Breeze' color scheme featuring vibrant colors
2016-06-13 11:42:28 +02:00
Kurt Hindenburg
3d649fcfa5 Remove installing Shell.profile
The Shell.profile is identical to the internal fallback profile is.
There's no good reason to install and it adds complexity using it.
2015-09-13 16:43:51 -04:00
l10n daemon script
d9d24d6df1 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-07-30 10:27:00 +00:00
l10n daemon script
b427c61608 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-06-27 10:49:43 +00:00
l10n daemon script
d5aab503b4 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-04-06 09:51:27 +00:00
l10n daemon script
9f8d393394 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-03-17 13:17:03 +00:00
l10n daemon script
2f02b082b1 SVN_SILENT made messages (.desktop file) 2015-02-10 11:19:27 +00:00
Jonathan Riddell
1c3d582c26 remove unused and unported kconf update scripts, kf5 starts from a fresh config 2014-12-01 15:24:08 +01:00
l10n daemon script
ea124ec89a SVN_SILENT made messages (.desktop file) 2014-11-12 08:51:33 +00:00
l10n daemon script
4739abf934 SVN_SILENT made messages (.desktop file) 2014-09-10 08:46:51 +00:00
l10n daemon script
c24c0b3f0e SVN_SILENT made messages (.desktop file) 2014-09-09 11:12:59 +00:00
l10n daemon script
c1988406ab SVN_SILENT made messages (.desktop file) 2014-09-08 08:40:41 +00:00
l10n daemon script
0027a604b8 SVN_SILENT made messages (.desktop file) 2014-09-07 08:45:00 +00:00
Kevin Ottens
018cb5b749 Adjust to the kreadconfig5 renaming 2014-04-26 19:39:23 +02:00
Kurt Hindenburg
dc7b2641df Actually install new colorscheme 2013-08-11 17:39:21 -04:00
Kurt Hindenburg
e162743179 Correct Solarized Dark colors and add a Light version
I don't recall why the original Solarized had a few colors way off.
These versions appear to match other solarized apps.

https://github.com/phiggins/konsole-colors-solarized

BUG: 319061
FIXED-IN: 2.12
2013-08-11 17:23:34 -04:00
Script Kiddy
bfb045193c SVN_SILENT made messages (.desktop file) 2013-03-15 10:09:31 +01:00
Script Kiddy
48f3244376 SVN_SILENT made messages (.desktop file) 2013-03-14 09:38:22 +01:00
Jekyll Wu
ef2cde1d76 Add the missing file
CCBUG: 310433
2013-03-04 16:53:16 +08:00
Jekyll Wu
204e2bc4fe Clean the leftover of the removed --background-mode feature
CCBUG: 310433
2013-03-04 16:42:23 +08:00
Script Kiddy
b793305895 SVN_SILENT made messages (.desktop file) 2013-02-11 11:22:46 +01:00
Jekyll Wu
1e7f20ac54 Fix typo
That typo shouldn't haven caused this script failing, so no need
to allocate another kconf_update id and make it run a second time.
2013-01-25 06:23:48 +08:00
Jekyll Wu
9b89bdc570 Removing remaining problematic MenuIndex entries from profiles
CCBUG: 168530
2013-01-25 06:16:54 +08:00
Script Kiddy
820c95a564 SVN_SILENT made messages (.desktop file) 2013-01-17 08:10:35 +01:00
Jekyll Wu
7c42b25d38 Make use of the KCONF_UPDATE_INSTALL_DIR varible 2012-12-03 23:46:59 +08:00
Jekyll Wu
0ad61b0a10 cmake-lint: fix mismathcing spaces inside () after command 2012-11-28 06:56:11 +08:00
Jekyll Wu
275f65186f cmake-lint: remove trailing whitespaces 2012-11-28 06:45:59 +08:00
Jekyll Wu
3ef1c281d4 Re-add the "Color2Intense" entry in the BlackOnLightYellow colorscheme
That entry was accidentally removed in commit 8355cca

BUG: 306540
FIXED-IN: 4.9.2
2012-09-11 03:02:48 +08:00
Jekyll Wu
001a353a46 Remove code for per-color transparency
That per-color transparency looks like a heritage of the pesudo
transparency in the KDE3 era. It is basically not used in current code.
2012-05-21 14:47:10 +08:00
Jekyll Wu
4c5745fc9c Add update scripts for removing 'Bold=false' entries from colorschemes 2012-05-12 04:16:53 +08:00
Jekyll Wu
8ebaaf3981 Remove extra blank lines 2012-05-09 18:45:49 +08:00
Jekyll Wu
dcfc312fb4 Remove all "Bold=false" entries from existing colorschemes
This should cause no behavior change, because the existing code simply
ignores the "false" case.
2012-05-09 18:33:43 +08:00
Jekyll Wu
ad4314c769 Allow Shift+Arrow to be passed into to applications like mc and vim
Note: action shortcuts take precedence of keybindings. So to use
Shift+Arrow in mc/vim, make sure they are not set as action shortcuts.

CCBUG: 204388
BUG: 59256
FIXED-IN: 4.8.3
2012-04-26 20:27:13 +08:00
Jekyll Wu
acb1d2b4e8 Remove outdated operations and add new operations 2012-04-26 08:41:11 +08:00
Jekyll Wu
f3caf3ebf2 Fix double words 2012-04-24 15:32:16 +08:00
Jekyll Wu
d55b07dc49 Prefer standard key name used by Qt
*  Prior ==> PgUP
  *  Next  ==> PgDown

The code for backward compatility with "Prior" and "Next" should
be removed after 2 or 3 major releases.
2012-04-24 11:46:03 +08:00
Jekyll Wu
f542899f13 Add kconf-update script for migrating exising tabbar and menubar settings
BUG:293231
FIXED-IN:4.9

REVIEW: 104253
2012-03-19 02:34:01 +08:00
Jekyll Wu
78dbf8f1c1 Remove the left-over & unused code for supporting "Scroll Lock" key
It is decided to not reimplement this feature in KDE4 konsole:

  * It is non-trivial work to implement it correctly
  * It annoyed some users when it was available in KDE3 konsole
  * Not many users want this feature back

This is a follow up of commit cee0ce539b

CCBUG:172271
REVIEW:104156
2012-03-05 08:29:12 +08:00