abouttreesummaryrefslogcommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-11-26Make sure translation are in syncJules Aguillon13-5/+156
The new script makes sure that strings files don't contain obsolete strings but also ease the job of contributors by adding missing translations as comments. A Github Action ensures that translations stay in sync over time.
2022-11-26Make fake pointers not lockableJules Aguillon1-3/+3
Especially annoying now that modifiers are not locked by a double tap.
2022-11-26Stop using deprecated 'shouldOfferSwitchingToNextInputMethod'Jules Aguillon1-1/+4
This function has been introduced in API 19 and deprecated in API 28. There was no version check for API 19 but instead of adding these, simply remove the feature for API under 28.
2022-11-26Update Simplified Chinese translation (#245)six-61-2/+16
2022-11-13Fix missing version checkJules Aguillon1-7/+10
setSystemGestureExclusionRects is API 29. Broken since d644d2b, which almost got into the release!
2022-11-13Draw borders and update themesJules Aguillon3-6/+84
Themes can define the color of each borders independently. Every borders must have the same width for now. It's possible to set a different width when the key is activated, thought this is only used to remove borders. The 4 themes are updated to take advantage of borders.
2022-11-13Highlight activated keys labelJules Aguillon1-3/+2
Rendering change only.
2022-11-13Add editing keys: copy, paste, cut, select allJules Aguillon4-1/+52
2022-11-13Refactor: Move editing code from to KeyEventHandlerJules Aguillon7-101/+104
Remove the code dealing with InputMethodConnection from 'Keyboard2' and move it into 'KeyEventHandler', where more editing actions can now be implemented. Autocapitalisation is also moved, the IReceiver interface is simplified.
2022-11-13Refactor: Use enum values in KeyValue.KindJules Aguillon2-39/+25
instead of maintaining a separate set of constants and a conversion function.
2022-11-13Don't depend on dpi values in swipe distanceJules Aguillon1-5/+8
The dpi values "xdpi" and "ydpi" can have wildly different values on different devices. The new computation defines a baseline and only take into account the dpi values as a ratio. On a 480dpi screen (in both directions), this decrease the value by about 18%. This new distance felt better during testing.
2022-11-13Fix localized keys appearing on secondary layoutJules Aguillon1-3/+1
2022-11-13Allow switching quickly between two layoutsJules Aguillon23-64/+75
A new option allow to choose a secondary layout, the switching key is placed on the top edge of the space bar. The "Programming layout" option was basically doing that but it was possible to choose from a few layouts only. It is improved and renamed. The 'LayoutListPreference' allows setting the string for the first entry but otherwise share the rest of the array. Add nice icons from materialdesignicons.
2022-11-11Add option for brightness of labelsJules Aguillon4-0/+7
The brightness value is used as the alpha value when drawing the labels.
2022-11-11Dim secondary keysJules Aguillon4-15/+36
Reduce the constrast of "secondary" labels. Modifiers (except diacritics), event and keyevent keys are considered secondary.
2022-11-11Disable the back-gesture on the keyboard areaJules Aguillon1-0/+16
as well as other system gestures that would interfere with the keyboard's own swipe gesture.
2022-11-11Relase 1.19.1Jules Aguillon2-1/+7
2022-11-11Add missing Latvian translationsEdgars1-0/+5
2022-11-11Avoid crashing in direct-boot modeJules Aguillon3-7/+22
The settings activity can't open in direct-boot mode. The emoji pane opens without the "last used" data.
2022-11-11Direct-boot aware preferencesJules Aguillon5-47/+148
Store preferences in device protected storage, which is available before the device is unlocked. The keyboard was crashing when trying to access the encrypted preferences. The emoji pane uses a separate preferences file, the old data is lost. The SettingsActivity can't easily use the new preferences storage. Instead, it continues to use the "default" preferences store, which is copied back to the protected storage when needed.
2022-11-11Increase the targetSdkVersion to 31Jules Aguillon1-2/+2
2022-11-06Release 1.19.0Jules Aguillon2-1/+12
2022-11-06Allow to type password on bootJules Aguillon1-1/+2
The "android.permission.RECEIVE_BOOT_COMPLETED" permission doesn't seem useful on Android 12 but is added just in case.
2022-11-06Enable pin layout for decimal and signed inputsJules Aguillon2-4/+2
Decimal and signed inputs are more common than expected. Adding a few keys is enough to support these.
2022-11-06Fix adding two pointers for the same keyJules Aguillon1-1/+2
2022-11-06Remove option "Lockable modifiers"Jules Aguillon9-35/+8
2022-11-05Add combinations to 'accent_slash' and show in settingsJules Aguillon3-1/+7
The 'accent_slash' was missing in the extra keys setting. Allow to type more latin letters "with oblique stroke" or "with stroke" that visually have an oblique bar, that were not added to 'accent_bar'.
2022-11-05Add the bar diacritic dead keyJules Aguillon6-0/+45
Allows to type many of the "with stroke" or "with bar" latin letters.
2022-11-05Apply Fn firstJules Aguillon1-2/+2
It's otherwise impossible to type Ctrl+F keys.
2022-11-05Automatic day night theme in settings activityJules Aguillon2-1/+16
There seems to be no "DayNight" theme compatible with older version of android outside of the androidx library. Using 'Theme.DeviceDefault' which is a dark theme, even if it doesn't sounds like. Detect if a light theme should be used at activity creation.
2022-11-01Use '₹' instead of '₨' in HindiJules Aguillon2-1/+2
₨ is Shift+₹.
2022-11-01Add 'qwertz_cs' to the settingsJules Aguillon1-0/+2
The layout was added in 5169472d but was not present in the settings.
2022-11-01Add the 'qwertz_de' layoutJules Aguillon4-9/+52
Similar to 'qwertz' but is wider to show äöü on dedicated keys. Some punctuations are rebalanced to use the space better. The default layout for de_DE is changed.
2022-10-24Draw letter indication on the pin layoutJules Aguillon4-15/+44
There is no way to type letters on the pin layout, the indication are decoration only. Use the E.161 standard.
2022-10-24Add the pin entry layoutJules Aguillon3-5/+46
The layout is used for phone number and datetime input boxes as well as some numbers. It is easier to use when the full numeric layout is not needed.
2022-10-23Disable Alt and Meta by defaultJules Aguillon1-3/+0
The Meta key is not useful. The Alt key can be used in a terminal but is not useful to a part of terminal users.
2022-10-23Add optional NumPadGero Streng10-11/+111
Shows a NumPad depending on preference: Never/Landscape/Always
2022-10-23Make the shift symbol biggerJules Aguillon1-1/+1
2022-10-23Clarify the double tap option textJules Aguillon2-2/+2
Also update a bit the README.
2022-10-23Show keys description in settingsJules Aguillon2-2/+25
The symbols alone might be hard to understand when scrolling through the "extra keys" option.
2022-10-23Refactor: Remove boilerplate for symbol keysJules Aguillon1-33/+49
2022-10-23Add the capslock keyJules Aguillon32-33/+50
The key enable caps lock immediately. It does nothing if caps lock is already enabled. It is not present on the keyboard by default but a place is defined on every layout, top-right of the shift key. It can be enabled in the settings. The icon is from materialdesignicons.com.
2022-10-16Remove cruftJules Aguillon1-908/+0
This old script will not help to upgrade to the newer unicode standards.
2022-10-16Release 1.18.0Jules Aguillon2-1/+8
2022-10-16Autocapitalisation: Avoid trigerring when Ctrl+DelJules Aguillon2-2/+8
Autocapitalisation could trigger while repeatedly typing Ctrl+Del to remove several words.
2022-10-16Allow to disable Alt and Meta keysJules Aguillon5-8/+23
The keys are marked "loc" in the layouts and are handled like the other extra keys. The only difference is that they are enabled by default (for now).
2022-10-16Rename resulting CI artifact (#180)Rapha1-5/+10
* Rename resulting CI artifact Add details to the name of the artifact, to distiguish downloads of it between multiple branches while testing * Update CI to nodejs16 and improve artifact naming
2022-10-16Disable fullscreen modeJules Aguillon1-0/+7
This mode is annoying to some users and is disabled in most text views. The keyboard has a fixed sized relative to the height of the screen in landscape mode. The keyboard can't take more space than expected, currently. This might cause problems in the future and might be hidden behind an option if one is found. Every text views so far seemed to behave fine.
2022-10-16Fix literal tab keyJules Aguillon1-1/+1
Broken since 31d6a70d.
2022-10-15Add the breve diacriticJules Aguillon5-16/+37