abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/Logs.java
AgeCommit message (Collapse)AuthorFilesLines
2025-12-18Disable selection mode in text editors (#1141)Jules Aguillon1-2/+3
* Disable selection mode in text editors Selection mode removes the space bar key (which is replaced by the Esc key) and can be annoying in Emacs for example. Text editor users probably have the `esc` key available. * Refactor: Move EditorInfo related code to EditorConfig Add the new EditorConfig class that handles configuration extracted from the EditorInfo. It is accessible from the Config class for convenience. This aims at reducing the length of already large classes and group the code that was spread over several classes.
2023-08-16Migrate layouts preferencesJules Aguillon1-0/+16
The new `layouts` preference replaces three previous preferences: layout second_layout custom_layout Add a preference migration function, which first migration is to migrate layouts into the new preference. The migration must also be called from the SettingsActivity as it might use a different preference store due to the boot-aware preference copy.
2023-08-16ListGroupPreference: Fix change itemsJules Aguillon1-0/+6
[Preference.onClick] is apparently not called on [Item]s, though it is on [AddButton]. Workaround this by listening on click events on the view.
2023-07-29Refactor: Split out ListGroupPreferenceJules Aguillon1-5/+0
Split out the implementation of a string-list preference from CustomExtraKeysPreference. Allows to share the implementation with future preferences.
2023-07-19Refactor: Centralize logging in a static classJules Aguillon1-0/+34
This new class will help write more logs. The LogPrinter is no longer created everytime the keyboard is opened. An error log is added if failing to load the custom extra keys.