abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2
AgeCommit message (Collapse)AuthorFilesLines
2024-11-11Add "scroll_lock" key (#800)DocJr902-0/+2
Added "scroll_lock" equates to KeyEvent.KEYCODE_SCROLL_LOCK
2024-10-27Stable extra keys position when number row is addedJules Aguillon1-2/+2
Add the extra keys to the keyboard before the number row is added, as that interferes with the "preferred pos" system.
2024-10-26Rosé Pine Theme (#788)Kalan Walmsley1-0/+1
2024-10-05Update compose sequences for CyrillicJules Aguillon1-159/+167
Mainly add sequences for the combining diacritics. Co-authored-by: Anastazius Kaejatidarjan <zdarian@asu.edu>
2024-10-05Add slavonic combining diacriticsJules Aguillon2-2/+31
Co-authored-by: Anastazius Kaejatidarjan <zdarian@asu.edu>
2024-10-05compose/accent_*.json: improvements (more accents) (#770)Zitrone1-208/+220
compose/accent_*.json: improve/complete implementation compose/shift.json: uppercase for superscript letters & characters without preapplied uppercase versions
2024-10-04Add combining diacritics keysJules Aguillon2-0/+65
Co-authored-by: Anastazius Kaejatidarjan <zdarian@asu.edu>
2024-09-29Add Fn layer and Compose sequences for CyrillicJules Aguillon1-166/+166
2024-09-29Improve Ctrl key labels for Serbian Cyrillic layoutJules Aguillon2-19/+24
Add the ':char' syntax for defining character keys with a different symbol. This new kind of keys is used to implement Ctrl combinations in the Serbian Cyrillic layout without showing latin letters while the Ctrl modifier is activated.
2024-09-29refactoring: safer KeyboardData.loadJules Aguillon1-13/+14
2024-09-29Fix crash with complex keysJules Aguillon1-1/+1
2024-09-29Add complex keys (#774)Jules Aguillon5-22/+286
This allows to add new kinds of keys that need more data without making KeyValue's footprint bigger for common keys. This changes the [_symbol] field into [_payload], which holds the same as the previous field for more common keys but can hold bigger objects for keys of the new "Complex" kind. This also adds a complex key: String keys with a symbol different than the outputted string. Unit tests are added as the Java language is not helpful in making robust code.
2024-09-21Increase default label size (#747)bokidori1-1/+1
Change default label size to 1.15
2024-09-14compose: Deduplicate end statesJules Aguillon1-226/+186
Make compose sequences ending in the same character to share the ending state. This reduce the compiled compose key data size from 33kB to 27kB.
2024-09-10Define the Shift modifier using the compose mechanismJules Aguillon2-63/+9
2024-09-10Define the Fn modifier using the compose mechanismJules Aguillon2-291/+123
This removes 100Kb from the app.
2024-09-10Compose sequences can end in internal key namesJules Aguillon2-104/+104
This adds the '\n' and '\t' sequences to showcase the new feature.
2024-09-10Update autocapitalisation on EnterJules Aguillon1-0/+3
2024-08-18Fix crash when clipboard contains an imageJules Aguillon1-1/+5
2024-07-28Map Fn+Cursor_move to home/end (#728)bokidori1-0/+11
Fn modifier switches cursor_left to home key, cursor_right to end key
2024-07-27Added supported key for avoiding the pain of auto-caps (#725)Adrian1-105/+105
2024-07-27Add new keyevent "menu" (#726)Nils Brederlow2-0/+2
* Update ExtraKeysPreference.java add "menu" to array of extra keys * Update KeyValue.java add menu keyevent
2024-07-27Fix scaling for layouts with few columnsJules Aguillon1-1/+1
This was causing a slight padding on the right of 4 columns layouts, which turned into a large padding when the number row was added.
2024-07-27Fix crash on Android 6Jules Aguillon1-4/+6
The call to getLanguageTag() introduced in 4629410 requires API 24.
2024-07-25Allow Ctrl modmaps in layoutsJules Aguillon2-4/+22
The 'ctrl' modmap is different from the other modmaps as it also applies the built-in Ctrl modifier to the resulting character, even if it was first modified by the custom modmap. For example, this will map Ctrl+в to Ctrl+V (not to v): <ctrl a="в" b="v"/> This is intended to add keyboard shortcuts in non-latin layouts. A caveat is that the latin character appears on the keyboard while Ctrl is activated.
2024-07-25Update ComposeKeyDataJules Aguillon1-218/+218
Outdated since 6c786f2
2024-07-21Allow extending the compose key (#713)Jules Aguillon2-230/+230
This allows adding more compose sequences without modifying en_US_UTF_8_Compose.pre. This is done by grouping sequences files that should be merged together into a directory. This also allows moving keysymdef.h into that directory.
2024-07-21Improve zwnj/halfspace symbol and Persian layout (#711)Reza Hosseinzadeh1-1/+2
* Fix persian's half-space invisibility * Add a 0.5 space before ظ in persian * Change the place of چ in persian * Change the width of backspace in persian * Rename zwnj to halfspace in KeyValue.java and beng_provat layout
2024-07-14Fix unintended layout used for unsupported languagesJules Aguillon1-7/+16
The arabic layout was used as the default on devices where all the installed languages are not supported by the keyboard. This is not intended. This is probably caused by 'getCurrentInputMethodSubtype' returning the first layout in the list of disabled subtypes in alphabetical or language tag order. Re-ordering the subtypes in method.xml had no effect. Setting 'overridesImplicitlyEnabledSubtype' in method.xml has no measured effect.
2024-07-14Fix crash when using a different script layoutJules Aguillon1-2/+4
This might happen when using a layout of a different script than the installed languages.
2024-07-06Add locale_extra_keys keyboard attributeJules Aguillon2-5/+9
This attribute can be used to disable adding the extra keys from method.xml.
2024-07-06Add support for Android 12+ dynamic colors (#647)TadaCZE1-1/+7
2024-07-06Clipboard pane (#681)Jules Aguillon10-1/+532
This adds the clipboard pane, which allows to save an arbitrary number of clipboards and to paste them later. The key can be disabled in settings. Checking the "Recently copied text" checkbox will cause the keyboard to keep a temporary history of copied text. This history can only contain 3 elements which expire after 5 minutes. If this is unchecked, no history is collected. History entries can be pinned into the persisted list of pins.
2024-07-06Fix crash with narrow layoutsJules Aguillon1-1/+1
The PreferredPos mechanism cause an out of bound access since 773147a.
2024-06-30Option to disable key repeatJules Aguillon2-34/+34
Internally "key repeat" is reword into "long press" when the same mechanism was used for both features. The constraint that 'timeoutWhat' must be set to '-1' when no message is expected has been lifted to simplify the code.
2024-06-29Validate more fields in custom layoutsJules Aguillon1-5/+11
This adds some errors: - 'script' or 'numpad_script' is set an empty string. - Multiple '<modmap>' elements. - 'shift', 'width' and 'height' on every nodes that support them are clamped to a valid value.
2024-06-22Don't stop keyrepeat after a circle gestureJules Aguillon1-1/+0
This was inconsistent with the anticircle and roundtrip gestures.
2024-06-16Don't change input view when configuration changesJules Aguillon1-1/+1
This doesn't seem necessary and won't play well with eventual keys that change the configuration.
2024-06-16Launcher activity: Don't consume events in text fieldJules Aguillon1-5/+9
Allow the keybindings to have an effect in the "Try here" text field.
2024-06-09Option to tweak or disable the circle gestureJules Aguillon2-1/+3
2024-06-09Use preferred dir when placing a key next to an otherJules Aguillon1-2/+8
2024-06-09Automatic placement of f11/f12 placeholdersJules Aguillon2-9/+50
2024-06-09Allow to remove keys Tab and EscJules Aguillon1-0/+4
2024-06-09Refactor: Remove the KeyModifier cacheJules Aguillon1-29/+3
2024-06-09Move diacritics mapping to the compose state machineJules Aguillon2-769/+289
This replaces the switch cases in KeyModifier.java with JSON files, one for each diacritic. The number of states increases from 6727 to 7377. The apk size slightly decreases (around 3kb).
2024-06-09compose: Compile several starting statesJules Aguillon2-189/+191
Sequences from several files are no longer merged but compiled to separate starting states. The plan is to use that to represent the diacritics.
2024-06-09compose: Fix misbehaving due to encoding errorsJules Aguillon2-206/+188
Encoding errors in the compose data compiler due to: - 'UTF-16' adds a BOM, use 'UTF-16-LE' instead - 'str.encode' returns a byte array, use 'array' to have a 16-bit char array.
2024-06-06Don't cap indication lengthJules Aguillon1-2/+5
This was inadvertently changed when the anti-circle gesture was introduced, which use the same rendering logic.
2024-05-29Add compose sequences for Greek, Cyrillic, Hebrew and moreJules Aguillon1-147/+205
Parse key names from keysymdef.h, which is distributed with Xorg. The Greek, Cyrillic and Hebrew sequences referenced these keysyms. This increases the number of sequences from 2043 to 2668.
2024-05-29Allow compose sequence ending with more symbolsJules Aguillon2-156/+181
Change the compose state machine definition to allow final states that are wider than 16-bits. This increases the number of sequences that can be used from en_US_UTF_8_Compose.pre from 2013 to 2043 (of 3201).