summaryrefslogtreecommitdiff
path: root/Userland/Utilities/keymap.cpp
AgeCommit message (Collapse)Author
2022-12-06AK+Everywhere: Rename String to DeprecatedStringLinus Groh
We have a new, improved string type coming up in AK (OOM aware, no null state), and while it's going to use UTF-8, the name UTF8String is a mouthful - so let's free up the String name by renaming the existing class. Making the old one have an annoying name will hopefully also help with quick adoption :^)
2022-06-16Keymap: Fix switching selected keymapPaweł Łukasik
Previously keymap did switching of the selected keymap twice when the command was executed. First set it to the first keymap on the list and later, if present, to the chosen one. Currently the switching to the first keymap on the list is done only when the selection is not present or it's not on the list of keymaps.
2022-02-16LibCore+Everywhere: Return ErrorOr from ConfigFile::sync()Sam Atkins
Currently this method always succeeds, but that won't be true once we switch to the Core::Stream API. :^) Some of these places would ideally show an error message to the user, since failure to save a file is significant, but let's not get distracted right now.
2022-02-16LibCore+Everywhere: Return ErrorOr from ConfigFile factory methodsSam Atkins
I've attempted to handle the errors gracefully where it was clear how to do so, and simple, but a lot of this was just adding `release_value_but_fixme_should_propagate_errors()` in places.
2022-02-03Base+WindowsServer+keymap: Store multiple keymaps in a configTimur Sultanov
2022-01-06LibKeyboard: Change some Optional<T> returns to ErrorOr<T>RasmusNylander
Makes CharacterMapFile::load_from_file and CharacterMap::load_from_file return ErrorOr instead of Optional. This makes them a little nicer to use and a little easier to read, as they seem to have been approximating this.
2021-11-28Everywhere: Use default execpromises argument for Core::System::pledgeBrian Gianforcaro
2021-11-23keymap: Port to LibMain :^)Andreas Kling
2021-08-22Everywhere: Use Core::ConfigFile::AllowWriting::Yes to allow writingnetworkException
2021-08-01Utilities: Remove unused header includesBrian Gianforcaro
2021-05-09Userland: Preserve keyboard mapping preference on reboot (#6955)Ömer Kurttekin
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-02-02Base: Rename some keymaps to use xx-xx format where appropriateLinus Groh
- en.json -> en-us.json - gb.json -> en-gb.json - ptbr.json -> pt-br.json - ptpt.json -> pt-pt.json
2021-02-01Kernel+keymap+KeyboardMapper: New pledge for getkeymapBen Wiederhake
2021-02-01keymap: Unveil path, if one is givenBen Wiederhake
2021-02-01LibKeyboard: Don't assert on failureBen Wiederhake
2021-02-01LibKeyboard+keymap: Support querying the keymap via commandlineBen Wiederhake
2021-01-12Userland: Move command-line utilities to Userland/Utilities/Andreas Kling