46 Commits (d0a45cccb09dffc730356f20e661d3addfdb0732)

Author SHA1 Message Date
Robert Knight 2780a44d4a Fix crash if key bindings specified in profile cannot be found. Improve 17 years ago
Albert Astals Cid b3c542cf08 qDelete knows how to delete the values without creating a temporary list 18 years ago
Robert Knight 91c507a816 Add support for 'AnyModifier' and 'AppCursorKeys' as alternative names for 'AnyMod' and 'AppCuKeys' flags in keyboard translator files. 18 years ago
Robert Knight 433f520781 Tidy up keyboard translator code. 18 years ago
Robert Knight c705a18b27 Allow bindings for +-.* keys to be defined in keyboard translator file. 18 years ago
Robert Knight e97de774be Add support for producing different output when keypad buttons are 18 years ago
Robert Knight 956277c014 Convert tabs to 4 spaces to match kdelibs conventions. Previously 18 years ago
Robert Knight cc78f9909b Better comment parsing in keyboard binding files. 18 years ago
Dirk Mueller 06785749a0 fix scanf format string warning 18 years ago
Robert Knight 5d9997446e Update copyright year to 2008. Remove '(C)' from copyright lines. 18 years ago
Albert Astals Cid f52cceaf9e remove duplicate includes 18 years ago
Robert Knight 75ac16607a Replace qWarning() with kWarning(), which provides additional information about the context of the warnings. 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. 19 years ago
Robert Knight 7b77ff1684 When checking for a match against an entry with the AnyModifier state, the keypad modifier is not counted. 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. 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. 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 19 years ago
Robert Knight 8171d4872f * Do not remove color schemes / key bindings from list if the 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. 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. 19 years ago
Arto Hytönen 7021299cfb further elimination/cancellation of QString::null. 19 years ago
Robert Knight 503fdd023e Fix several memory leaks and uninitialized variables found with valgrind. 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. 19 years ago
Robert Knight 8ac498d34c i18n fixes from Stefan Asserhall. 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. 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. 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. 19 years ago
Robert Knight ffda8d3ccc Implement saving of key binding changes. Adapt Pty changes to use Konsole's more verbose variable naming style. 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) 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. 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. 19 years ago
Robert Knight 140b672865 Make key binding test area work. Fix copying of KeyboardTranslator instances. 19 years ago
Robert Knight 431ba05b1f Add facility to translate a key binding entry's result back to a string and use it in the key binding editor. 19 years ago
Robert Knight 1f8e6395f2 Handle the 'Any Modifier' state flag in keytab files. 19 years ago
Robert Knight df184a19ae Code to translate new key translator entry into a string for use in the key bindings editor. 19 years ago
Robert Knight e938b1f864 Work in progress on new keyboard translator. Support cases where a modifier or state is not wanted. Don't try to use QKeySequence to do all the translation, only use it to get the key code. Untested implementation of KeyboardTranslator::Entry::matches() 19 years ago
Dirk Mueller 9ea3227384 include cleanup 19 years ago
Robert Knight 33c913383d EBN fixes. Mostly copyright and implementations including their own headers first. 19 years ago
Robert Knight 63bc8dcf3d Fix unpreview on exit. Attempt #2. Remove properties from the 'to unpreview' list when saving changes. 19 years ago
Robert Knight fe5f371635 Update color scheme and key bindings list correctly after creating a new scheme/list. Save new schemes / bindings lists under a different name from the one used as a template. Get/set the description in the key binding editor. 19 years ago
Robert Knight 19a29d182a Rename directories for clarity. konsole -> src , other -> data. 19 years ago
Robert Knight d36b16c681 Rename Session->Profile is manage profiles dialog. Add tooltips in edit profile dialog. Some progress on loading and displaying keyboard bindings. 19 years ago
Robert Knight 544a0811c8 Start of dialog to edit key bindings. 19 years ago
Robert Knight 95f053e393 * Use kdelibs facilities to check for compositing support 19 years ago
Robert Knight bc1fb9d04f * Consistant naming for private fields in TerminalDisplay class. 19 years ago