abouttreesummaryrefslogcommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-01-31Update French translationJules Aguillon1-7/+7
2023-01-30Add optional number rowJules Aguillon17-3/+59
An option is added to enable an extra number row at the top of the keyboard. Digits are removed from the keyboard while the number row is visible.
2023-01-30Remove the digits when numpad is visibleJules Aguillon2-13/+42
2023-01-30Modification step for the special layoutJules Aguillon4-62/+98
Refactor, follow up of 90b7944. Add a modification step to the "special" layouts: numpad, greekmath, pin entry. Remove the apply_key0 function, which is not expressive enough. Add an enum instead of yet an other "switch_" function.
2023-01-30Apply modify_layout to text layout onlyJules Aguillon7-24/+17
Refactor. Allows to remove the 'extra_keys' and 'num_pad' flags and to implement more complicated transformations to the layouts.
2023-01-30Fix placeholder key not replacedJules Aguillon2-22/+30
Since fecc4dd, placeholder keys can't be compared by reference. Add a placeholder kind and defined placeholder values.
2023-01-29Slightly increase the width of the spacebarJules Aguillon1-5/+5
The left and right arrows are less often needed and the key can be shorter.
2023-01-29Remove the explicit hashmap in KeyValueJules Aguillon1-124/+118
Refactoring. Predefined keys are represented by a big switch statement rather than added into a hashmap.
2023-01-29Don't send event at end of slidingJules Aguillon1-0/+13
A sliding pointer going up must not cause a key event to be sent. This caused an extra cursor movement and cleared the latched modifiers.
2023-01-22Move cursor by sliding on the space barJules Aguillon4-10/+79
Send key events for the left or right arrow as the finger slides on the space bar. Can be used to select text by holding shift. Works under Termux. Events are sent linearly as the finger travels. The distance between each events is defined from the swiping distance divided by 4. 'slider="true"' can be set on a key that have 'edgekeys="true"'. 'key2' and 'key3' represent the right and left keys.
2023-01-22Remove the modulated repeatJules Aguillon17-90/+8
It allowed to modulate the repeat speed of some keys (arrow, backspace, delete) by move the finger farther or closer to the key. In practice, this wasn't pratical and doesn't seem popular. It is removed in favor of a better mechanism for moving the cursor.
2023-01-21Update russian strings.xml (#280)Maki Nishikino1-2/+2
2023-01-15Release 1.20.2 (31)Jules Aguillon2-1/+8
2023-01-15Avoid switching back from secondary layout automaticallyJules Aguillon3-27/+64
Stay on the secondary layout after a config refresh or onStartInputView. The information is kept until the keyboard is restarted. Additionally, move tweaking the secondary layout to the Config class now that physical equality is not needed.
2023-01-15Present the "keyboard height" option similarly to the margin optionsJules Aguillon14-15/+4
2023-01-15Separate option for bottom margin in landscape modeJules Aguillon4-5/+9
A large margin in portrait mode is desirable but generally not in landscape mode.
2023-01-15Separate option for horizontal margin in landscape modeJules Aguillon18-20/+56
A separate option is needed, the +25dp offset wasn't enough.
2023-01-15Update Russian translation and add Russain description (#279)Maki Nishikino4-37/+55
* Add ru-RU market description * Add russian settings translate
2023-01-14Add layout 'qwertz_sk'Jules Aguillon4-0/+43
Co-authored-by: Jozef Kundlak <ingjozefkundlak@gmail.com>
2023-01-07Remove borders on the black themeJules Aguillon1-1/+1
2022-12-31Fix dimensions going off after rotationJules Aguillon2-25/+13
Values like 'characterSize' and 'horizontalMargin' can't be fed back into the default value because they are not of the same unit. To avoid this happening again, change the way the default value is defined for every options. The 'key_height' dimension was no longer used.
2022-12-31Improve the description of the appJules Aguillon3-14/+8
"swipe gesture" is not clearly defined and can be confused with the one from the Swype keyboard. Also remove the useless part that is repeated below.
2022-12-30Add keys for every context menu actionsJules Aguillon4-9/+51
The most requested keys are undo and redo. Unfortunatly redo doesn't work reliably. The other context menu actions like share, assist and autofill are added even thought they are rarely useful or implemented.
2022-12-29Fix inaccessible text layout from pinJules Aguillon2-4/+4
The "main" layout can now be pin layout. 'SWITCH_TEXT' and 'SWITCH_SECOND_BACK' don't mean to use that.
2022-12-14Release 1.20.1Jules Aguillon2-1/+2
2022-12-14Fix pin entry layout not showing upJules Aguillon1-0/+2
The regular text layout was showing instead of the pin entry due to a misuse of the 'switch' syntax.
2022-12-14Fix a crash on API < 12Jules Aguillon1-1/+2
'extra_keys_subtype' can be none on API level < 12 when the "accents" option is tweaked.
2022-12-14qwerty_pl layout is default for Polish language (#253)Chasm Solacer1-1/+1
2022-12-14Fix keyboard not showing up after rotationJules Aguillon1-4/+4
'setInputView()' must be called on every 'onStartInputView()', not just when the view is re-created. This is broken since bf31872.
2022-12-11Release 1.20.0Jules Aguillon2-1/+11
2022-12-11Make the keyboard transparent (#252)Chasm Solacer16-4/+55
* Add option for keyboard opacity (transparency). Keyboard background, keys and pressed keys can be adjusted separately. * Make the borders transparent as well * Moved setAlphas outside drawKeyFrame to top of onDraw method
2022-12-11Handle configuration change quicklyJules Aguillon2-36/+37
setInputView() was not called when the view was re-created through refresh_config(). Also, the refresh_config() function was not able to properly set the current layout. Now keep the default layout (_localeTextLayout) and the current non-text layout (if any, _currentSpecialLayout) separately to be able to refresh them later. setInputView() is called everytime the view is created instead of by onStartInputView() specifically. The setting activity now save the preferences to the protected storage in onStop() instead of listening for onSharedPreferenceChanged.
2022-12-11Improve emoji pane layoutJules Aguillon5-65/+52
The measurement function was wrong in some situations. Set a width for columns and properly configure the GridView.
2022-12-11Fix keyboard not reacting to changed preferencesJules Aguillon1-1/+1
The callback might not be called if the "default" shared preferences is different from the shared preferences actually used. This is unexpected but seems to happen half of the time on Android 12. Since f1ce6ab, this callback is critical to update the keyboard. Restarting the application can no longer solve these issues.
2022-12-11Added qwerty_pl layout (#251)Chasm Solacer4-3/+43
* Updated pl translation * Added qwerty_pl.xml – QWERTY (Polski) layout
2022-12-11Fix syntax error in values-frJules Aguillon1-1/+1
2022-12-10Update translation: frJules Aguillon1-7/+7
2022-12-10Add option 'numpad_layout'Jules Aguillon17-6/+95
Allow choosing whether to show the high or the low digits first. The numeric pane and the numpad are affected by the option.
2022-12-10Added pl_PL (Polish) translation (#250)Chasm Solacer3-0/+83
2022-12-10Settings: Allow the keyboard to be smallerJules Aguillon1-2/+2
Some users reported that 25% of the screen height is too high on their screen. This doesn't seem to be a good way to define the height but until it is improved, allow smaller values.
2022-12-04Correctly handle pointer cancel eventsJules Aguillon2-7/+5
The cancel event ends the motion, it doesn't apply to a single pointer like it was previously expected.
2022-11-26Update French translationJules Aguillon11-9/+53
Also, sync all the translations since the added option.
2022-11-26Improve glyph of accent_barJules Aguillon2-9/+6
The small bar on the middle of the dotted circle looked like a small arrow. Make the bar span the whole circle, not on the middle.
2022-11-26Allow using a custom layoutJules Aguillon5-1/+35
Add an option for specifying an XML layout description as a string. The option is a bit rough at the moment: - No documentation, users have to be aware of the keyboard's code to use this option. - No error are shown, the layout will fallback to qwerty on error.
2022-11-26Refactor: Use XmlPullParser directlyJules Aguillon1-20/+36
XmlResourceParser is convenient but cannot be easily instantiated.
2022-11-26Refactor: Pass layout as a KeyboardData instead of IDJules Aguillon3-67/+80
Parse layouts sooner.
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