abouttreesummaryrefslogcommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-11-25shell.nix: Update dependencies and add GradleJules Aguillon2-10/+26
Update OpenJDK to version 17, Android build tools to 33.0.1 and platform to 33. These are required to build with Gradle. Add Gradle to the environment, which must be wrapped to fix a permissions issue. Setting `GRADLE_OPTS` has no effect as it seems not to be passed down to the daemon.
2023-11-25Use Gradle (#452)deftkHD31-228/+552
2023-11-25Make check_layout.py independent from dir structuredeftk2-51/+51
2023-11-19Separately persisted current layout in landscape modeJules Aguillon2-8/+20
Remember the selected layout in portrait and landscape mode independently. This allows to define a layout specific to landscape without having to switch manually.
2023-11-19Persist current selected layoutJules Aguillon2-11/+20
2023-11-19Update translationsJules Aguillon15-0/+30
Was missing from the previous commit.
2023-11-19Add Desert and Jungle themesRetrogisusDEV4-0/+46
2023-11-13Update Spanish translations (#489)Diego Puma1-52/+52
2023-11-13method.xml: Add ArmenianJules Aguillon1-0/+1
2023-11-13Update check_layout.outputJules Aguillon1-11/+9
2023-11-13Add Armenian layout (#490)Rafael Grigorian2-0/+54
2023-11-06Adaptive launcher iconRetrogisusDEV9-3/+26
Existing icons are kept for API < 26.
2023-11-01Remove extra paranthesis in persian layout (#485)Reza Hosseinzadeh1-2/+2
2023-10-31Update Turkish translation (#486)13-79/+86
2023-10-28Add left/right slider to the emoji paneJules Aguillon6-43/+27
This entirely changes the implementation of the bottom row in the emoji pane.
2023-10-28Make special font glyphs pass lintingdeftk29-29/+35
2023-10-21Add '₽' to Russian layout and to the Fn layerJules Aguillon2-3/+4
Other currencies are moved on the Fn layer for consistency with the compose key.
2023-10-20Update the neo2 layout (#477)matthiakl1-4/+4
2023-10-20Add Bulgarian BDS layout (#479)Lyubomir Vasilev4-1/+47
2023-10-20Add `*` and `@` to Hindi layout (#480)Luke Videckis1-1/+1
2023-10-20Add page_up, page_down, home, end to extra keysJules Aguillon19-1/+77
The new keys are placed on the corner of the arrow keys. Key descriptions are added. They are removed from the Fn layer to avoid showing up twice.
2023-09-24Use standard Greek layout in greekmath.xml (#474)Ojas Bhagavath1-26/+26
2023-09-24Preferred position for locale `extra_keys`Jules Aguillon3-14/+55
`method.xml` is now able to specify a preferred position for each extra keys in term of an other key to which it should be placed nearby. It's implemented for French as an example.
2023-09-15Refactor: Preferred positions for extra keysJules Aguillon5-48/+120
The new PreferredPos class represents where an extra key should be placed Currently used to place keys at the same positions they were placed before.
2023-09-10Refactor: Compute key positions in layoutsJules Aguillon3-22/+51
`KeyboardData.getKeys()` now returns a map of the keys present on the layout to their position. Positions are the row, column and swipe direction. The computed map is cached in the KeyboardData object as it might be accessed later by `findKeyWithValue`, which now do less work.
2023-09-09Capitalize the first letter of custom keysJules Aguillon2-1/+14
This is more useful than turning the entire string full caps.
2023-09-09Update auto-capitalisation state when input startsJules Aguillon1-3/+37
The initial capitalisation state given by the editor (`info.initialCapsMode`) is always 0 in many editors. For some text input types, update the state when typing starts, disregarding the value given by `info.initialCapsMode`.
2023-09-03Per-script numpadJules Aguillon5-13/+129
The numeric layout and the optional right hand side numpad are modified to show the digits belonging to the script used in the current layout. The numpads are still defined as it was before. The digits are changed in `modify_numpad` if needed.
2023-09-03Consistent layout for optional numpadJules Aguillon2-2/+2
Modify the optional right hand numpad the same way as the numeric layout.
2023-09-03check_layout.py: Deterministic output orderJules Aguillon2-9/+9
2023-09-03Remove unused editing keys from the settingsJules Aguillon20-57/+7
These keys don't seem to have a purpose, which is confusing.
2023-08-30Change Greek math koppa to lowercase (#457)Ben Slusky1-1/+1
Uppercase koppa can still be entered as shift+koppa.
2023-08-28Add Czech QWERTY layout (#455)pharook2-0/+40
2023-08-27CONTRIBUTING: Fix typosJules Aguillon1-6/+6
2023-08-27CONTRIBUTING: Improve translation guidelinesJules Aguillon1-7/+23
2023-08-26Fix regression on Ctrl on space bar sliderJules Aguillon1-2/+8
This makes Ctrl+move_cursor the same as before 5123ce5.
2023-08-26Disable automatically Shift when pressing CtrlJules Aguillon5-7/+40
Automatic capitalisation might interferes with keyboard shortcuts.
2023-08-20Add missing combining accentsJules Aguillon1-27/+34
Implement the combinations that were previously not possible and were commented out. Also remove `apply_dead_char` and `apply_combining` and make all dead-keys definitions uniform.
2023-08-20Refactor: Allow combining diacritics modifiersJules Aguillon2-328/+327
Change the API of `KeyModifier.Map_char` to allow returning a string instead of a single 16 bits char. This allows to return combining diacritics. This also gets rid of `apply_map_or_dead_char`, maps can have their own fallback.
2023-08-18Release 1.24.0 (36)Jules Aguillon2-1/+10
2023-08-18Add urdu phonetic layout (#413)Shareef1013-0/+45
2023-08-18Added french bépo layout (adapted) (#402)Dimethylebutane3-0/+46
2023-08-18Add Bitcoin symbol to Fn+b (#434)Eluc2-2/+3
2023-08-17Fix slider movements changing input focusJules Aguillon3-33/+105
The slider was repeatedly sending arrow keys, which change the focused input when the end of a text box is hit. A new key is added that implements cursor movements using the `InputConnection` API. The new keys are defined as `KeyValue.Editing`, which are no longer only context menu actions. The behavior when a selection has started is changed. The selection is modified instead of cleared even when shift isn't pressed or the selection would become empty. Fallbacks to sending arrow keys for editors that do not support the API, like Termux.
2023-08-16Fix inconsistent initial spacing between keysJules Aguillon1-1/+1
Settings defined with `get_dip_pref` had a wrong default value on first launch. The "right" default value was used after the shared preferences are populated.
2023-08-16Create latn_qwertz_fr_CH.xml (#390)Eluc4-1/+49
Adapted from qwertz DE to match qwertz fr_CH layout. Added all missing characters with accents needed in French while leaving the most common Swiss German characters as it is on the Swiss layout PC keyboard. Re-organized some special characters to be in a similar position than the PC layout. * Add locale fr-CH
2023-08-16Move voice input key (#433)Validbit1-2/+2
Move the voice input key to the top-left corner of the return key to reduce accidentally entering voice input, which is disrupting.
2023-08-16Migrate layouts preferencesJules Aguillon6-3/+82
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-16LayoutsPreference: Remove cross button for custom layoutsJules Aguillon18-12/+46
Remove the cross button on the right of custom layouts to reduce accidental removal. A remove button is added in the dialog for modifying the layout.
2023-08-16LayoutsPreference: Modify custom layoutJules Aguillon2-7/+25
Clicking on a custom layout opens a dialog for modifying the layout description instead of the dialog for selecting a layout.