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
14 years ago
Kurt Hindenburg
7a5476e420
-Wshadow fixes to parameter names
14 years ago
Jekyll Wu
f0529c1c02
Prefer foreach(..) over iterating manually for readability
14 years ago
Kurt Hindenburg
898d889890
Apply astyle-kdelibs a little more
...
Use 'diff -w --ignore-all-space' to see non-whitespace changes.
14 years ago
Kurt Hindenburg
d8e05a0672
Use the Qt versions of strlen, strncpy, strncmp
14 years ago
Kurt Hindenburg
9cc6f440e2
Give more info about bad keytab entries.
14 years ago
Kurt Hindenburg
03d2f81d99
Apply astyle-kdelibs
...
Over the years, the coding style is all over the place.
Use 'git diff -w --ignore-all-space' to see non-whitespace changes.
14 years ago
Jekyll Wu
cf92cece2b
Remove leading white spaces in blank lines to make them really empty
15 years ago
Jekyll Wu
9971d3d117
prefer using convenient method KStandardDirs::locate() .
15 years ago
Jaime Torres
f1ae6db882
return the rigth value for the rigth value
...
Use the right command value instead of a duplicated.
15 years ago
Kurt Hindenburg
9cf9557c8f
Add shortcuts to jump to top & bottom of history.
...
The shortcut of jumping to top of history is for the request of #45950
The shortcut of jumping to bottom of history is added not only for
consistency, but also to be used for #38390 , especially its comment #9
and #10 .
Patch by Jekyll Wu <adaptee@gmail.com>
FEATURE: 38390
FEATURE: 45950
FIXED-IN: 4.8
REVIEW: 102124
15 years ago
Kurt Hindenburg
19a60fc577
Use kWarnings for error messages
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1148435
16 years ago
Kurt Hindenburg
c4e62b067b
Move the defaultTranslatorText to QByteArray and put it inside the .cpp file.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1108108
16 years ago
Friedrich W. H. Kossebau
1cf6ef9365
changed: made static const data symbols really static const
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1080302
16 years ago
Robert Knight
2780a44d4a
Fix crash if key bindings specified in profile cannot be found. Improve
...
KeyboardTranslator::defaultTranslator() to try loading "default.keytab" if
first before falling back to the hard-coded one.
BUG:181205
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=913176
17 years ago
Albert Astals Cid
b3c542cf08
qDelete knows how to delete the values without creating a temporary list
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=890897
18 years ago
Robert Knight
91c507a816
Add support for 'AnyModifier' and 'AppCursorKeys' as alternative names for 'AnyMod' and 'AppCuKeys' flags in keyboard translator files.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=864900
18 years ago
Robert Knight
433f520781
Tidy up keyboard translator code.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=864317
18 years ago
Robert Knight
c705a18b27
Allow bindings for +-.* keys to be defined in keyboard translator file.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=864011
18 years ago
Robert Knight
e97de774be
Add support for producing different output when keypad buttons are
...
pressed in Application or Normal mode (set using 'ESC =' and 'ESC >' escape sequences.)
Added support for 'AppKeypad' modifier in keyboard translator files to specify that the
sequence only applies when the terminal is in application keypad mode (+AppKeyPad) or is
not in application keypad mode (-AppKeyPad)
Added support for producing different output from number keys along top of keyboard versus
keypad keys via new 'keypad' modifier in keyboard translator files (+KeyPad to require keypad
key, -KeyPad to require a non-keypad key or left out to accept either)
CCBUG: 170220
CCBUG: 37652
CCBUG: 165169
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=863985
18 years ago
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
18 years ago
Robert Knight
cc78f9909b
Better comment parsing in keyboard binding files.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=808721
18 years ago
Dirk Mueller
06785749a0
fix scanf format string warning
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=808158
18 years ago
Robert Knight
5d9997446e
Update copyright year to 2008. Remove '(C)' from copyright lines.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=800631
18 years ago
Albert Astals Cid
f52cceaf9e
remove duplicate includes
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=796409
18 years ago
Robert Knight
75ac16607a
Replace qWarning() with kWarning(), which provides additional information about the context of the warnings.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=754559
18 years ago
Robert Knight
46cfc108d3
* Replace all usage of qDebug() with kDebug(), since kDebug() provides information about
...
18 years ago
Robert Knight
c0b14ce83e
Add support for 'Erase' command in .keytab files which echos the OS/terminal type appropriate erase character to the terminal, previously always '\b' in Konsole.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=750287
18 years ago
Robert Knight
7b77ff1684
When checking for a match against an entry with the AnyModifier state, the keypad modifier is not counted.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=748997
19 years ago
Robert Knight
f93ae9c23a
Add support for the keypad modifier in .keytab files. This makes it possible to produce different output for a key on the keypad and its semantic equivalent elsewhere on the keyboard. The modifier can be required or banned using 'key+keypad','key-keypad' etc. in the key bindings list, as with any other modifier.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=748996
19 years ago
Robert Knight
a140e9078f
Fix Ctrl+Space key combination with default keytab: Fixed bug where unescaping the character sequences '\x0' or '\x00' from a .keytab entry failed because the result was '0', which was also the value used to mean that escaping the sequence failed. Use a separate boolean variable to track whether the escaping succeeds or not instead.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=748987
19 years ago
Robert Knight
e37fe69431
* Fix problem where selection background and other text with non-standard background
...
19 years ago
Adriaan de Groot
8928e03af4
__FUNCTION__ is a gcc-ism
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=746921
19 years ago
Robert Knight
8171d4872f
* Do not remove color schemes / key bindings from list if the
...
call to delete the file fails.
* Make deletion of color schemes, key bindings and profiles
atomic operations from the point of view of outside classes.
* Fix various warning produced by the -Woverloaded-virtual flag.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=746168
19 years ago
Robert Knight
9863b5508b
Bug fixes for the Appearance and Key Bindings tabs in the
...
19 years ago
Robert Knight
645d82ec1e
Fix character sequences produced by <Ctrl/Alt/Ctrl+Alt> + <Left Arrow/Right Arrow> key inputs. Implement support for wild card '*' characters in the result string for keyboard translator entries.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=743477
19 years ago
Robert Knight
42dce0374c
Changes:
...
19 years ago
Arto Hytönen
d0e0ca3c4f
this should clean-up kdebase of all of overkills of krazy:exclude of QString::null lines.
...
as long as C++ std clause 6.8 states (if I get it right), the diff should be OK, still can only compile with gcc-4.2...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=701136
19 years ago
Arto Hytönen
7021299cfb
further elimination/cancellation of QString::null.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=700742
19 years ago
Robert Knight
503fdd023e
Fix several memory leaks and uninitialized variables found with valgrind.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=696508
19 years ago
Robert Knight
1c370c2d6c
Simplify changing the current color scheme and current key bindings in the profile editor. There is no longer a distinction between the color scheme selected for removal/editing and the color scheme selected for use by the profile. Also select the current color scheme, current key binding when the relevant pages of the profile editor are shown.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=686299
19 years ago
Robert Knight
8ac498d34c
i18n fixes from Stefan Asserhall.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=685630
19 years ago
Robert Knight
72241ef4a6
* Comment out many debugging messages
...
19 years ago
Robert Knight
4a35037a25
Use type-safe QFlags for State and Command enums and Qt::KeyboardModifiers instead of Qt::KeyboardModifier where appropriate.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=680117
19 years ago
Robert Knight
bb696c3cbf
Allow removal of existing entries and adding of new entries in the key binding editor. Fix binding table referring to old entries when making changes.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=677166
19 years ago
Robert Knight
c2412a1c12
Do not allow duplicates when searching for translators. Return null if a translator cannot be loaded, instead of returning an empty translator.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=677134
19 years ago
Robert Knight
ffda8d3ccc
Implement saving of key binding changes. Adapt Pty changes to use Konsole's more verbose variable naming style.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=676902
19 years ago
Robert Knight
b2ff3cd0dc
Fix escaping of character sequences in key binding entry. (Arguments to QByteArray was wrong way round and off-by-one error in loop)
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=676788
19 years ago
Robert Knight
d3a6171501
Correct capitalization of LineFont file name. Move default.keytab header to /old as it is no longer used. Remove MakeDefaults as it is no longer used. Start of code to escape key binding output for use in key binding editor.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=676647
19 years ago
Robert Knight
5872b79ef1
Replace old key translator with new key translator. Lightly tested. Fix some bugs in the new translator's decoding.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=676512
19 years ago