Commit Graph

436 Commits

Author SHA1 Message Date
e40558677e Allow to remove the compose key in the settings 2024-02-17 23:28:31 +01:00
ae270b36f4 Add the compose key on alternate layouts
Though it is not useful in the greek-math layout, it could give ideas
for new sequences.
2024-02-17 23:28:31 +01:00
146d520325 compose: Grey out keys that are not in sequence
Keys that are not in the pending compose sequence are greyed out with
the new 'FLAG_GREYED' flag.
2024-02-17 23:28:31 +01:00
065d9520e5 Dim secondary keys in every themes
Themes do not dim secondary keys the same way due to the "offset"
mechanism. Instead, use a ratio that is the same for every themes.

It's still possible to override this ratio per theme.
2024-02-17 23:28:31 +01:00
8c29073260 Compose key
The COMPOSE_PENDING modifier indicate whether a compose sequence is in
progress. The new key of kind Compose_pending sets the current state of
the sequence.

The compose sequences are compiled into a state machine by a python
script into a compact encoding.

The state of the pending compose is determined by the index of a state.
2024-02-17 23:28:31 +01:00
38deb810f9 Add QWERTY GB layout (#557)
Adapted from latn_qwerty_us

* Make it the default layout for en-GB
2024-02-16 21:09:28 +01:00
d96577963e Don't invert the pin entry layout
The pin entry layout shouldn't be inverted as the letter indications
would be meaningless and the order would be opposite to what the option
specifies.

The enter and action key are swapped as the automatic swapping is also
removed.
2024-02-14 22:52:25 +01:00
f4d88cc087 Fix various linter warnings
Among others:
- Use `apply` instead of `commit` when saving shared preferences.
- Avoid inlined Api
- Remove unused resources
2024-02-10 18:10:49 +01:00
93d8af4505 Custom border settings (#524) 2024-02-10 11:38:46 +01:00
f74e5a9f73 Update Turkish translations (#550) 2024-02-10 00:43:34 +01:00
5ce89d1b4b Move store descriptions into strings files
This makes translation easier as there's a single file to edit at.
Existing short and full descriptions are conserved.

sync_translations.py takes care of updating the metadata files.

The metadata directories are renamed to match the language codes used in `res/`.

Contributing guidelines are updated accordingly.
2024-02-06 23:11:14 +01:00
82a9774f5a Update method.xml to support arab_hamvaj_tly (#547) 2024-02-06 22:24:43 +01:00
d1aa59768d Create layout arabic-hamvaj-tly (#542) 2024-02-04 23:18:33 +01:00
3adf95a4c9 Add language support for Talysh New Latin (#534) 2024-01-31 01:06:47 +01:00
44f39059e4 Add layout QWERTY (Talysh New Latin) (#529) 2024-01-28 23:49:27 +01:00
bbc6226839 Redefined the key margin options in percent
Define the key margin options relative to the baseline dimensions of
keys. This removes the doubling of the horizontal margin in landscape
mode.
2024-01-28 19:38:29 +01:00
ad7314a016 Move layout definitions into srcs/layouts
This separates the layout definitions from the special layouts
(bottom_row, greekmath) and other unrelated files (method, settings).

This is also a more intuitive location for layouts and make the resource
directory easier to navigate.

Under the hood, layouts are copied back into
build/generated-resources/xml.
2024-01-21 16:34:49 +01:00
bef29da3de Update pt-br translation (#527)
Update translation pt-br
2024-01-21 16:10:26 +01:00
a55506e607 Light and dark themes for the launcher and settings 2024-01-20 22:37:51 +01:00
9257bf7392 Add Ukrainian translation (#525) 2024-01-18 22:44:22 +01:00
95bd9312a7 Allow hidding the keyboard switching key
The keyboard switching key is now selected by default in the Extra Keys
option and can be deselected.
2024-01-15 23:26:40 +01:00
b114c78bf1 Refactor: Keyboard2View: Take layout id attr
Removes EmojiBottomRow.
2024-01-13 23:22:26 +01:00
eddf9c6c11 Refactor: New namespace for preference classes 2024-01-13 20:59:05 +01:00
329a35e7d3 Fix layouts containing empty keys
This results in a key being the empty string and do not trigger an
error:

    key1="\"

Layouts are fixed and check_layout now checks for this case.
2024-01-10 00:28:21 +01:00
73267d68fb Revert "Remove the vibration settings"
This reverts commits ef03dfed5c and
ff01678ba6.

The "vibration duration" slider is bought back.
The "vibration enabled" option is replaced by "custom vibration", which switch between the system haptic feedback or the custom vibration.

The slider is greyed when "custom vibration" is unchecked and is
allowed to have a value of 0 to disable vibrations within the app.

The intermediate values "light", "medium" and "strong" are removed and
no migration of the setting is made.
2024-01-09 00:43:28 +01:00
0005eb2dd5 Update Spanish translations (#517) 2024-01-07 02:18:40 +01:00
49a6a30773 Add an introduction video in the launcher activity
A video is more intuitive than a written description and doesn't need
translations.
2023-12-31 13:18:15 +01:00
7e7a5e4425 Separate arabic layouts with hindu or arabic numerals
This reverts the Tusinian layout (1af4e45) and instead introduce a new
arabic PC layout with arabic numbers.

Layouts are renamed:
- arab_pc => arab_pc_hindu
- arab_pc_tn => arab_pc
2023-12-26 17:16:29 +01:00
1af4e45117 Add Tunisian layout
It is a copy of the 'arab_pc' layout with arabic digits.
Also, fix the default layout for arabic.
2023-12-21 21:45:56 +01:00
2aecbca9ac Update strings.xml (#505) 2023-12-20 21:27:19 +01:00
dce7e2b9d9 Update strings.xml (cz_CS) (#506) 2023-12-20 21:26:46 +01:00
1
7c12aa610c Update Turkish translations (#501)
Turkish translate update
2023-12-18 19:38:06 +01:00
294ebee6f1 Update Polish translations (#502) 2023-12-18 19:35:56 +01:00
bd1afd2c3c Update Latvian translations (#503) 2023-12-18 19:34:15 +01:00
44f6908411 Update French translation 2023-12-17 20:25:43 +01:00
df04eae85f Launcher activity: Add "Select keyboard" button 2023-12-17 20:10:39 +01:00
684d5c7b70 Use Gradle (#452) 2023-11-25 20:11:12 +01:00
c57d896d8d Update translations
Was missing from the previous commit.
2023-11-19 12:03:39 +01:00
80c6f97767 Add Desert and Jungle themes 2023-11-19 11:33:39 +01:00
b0cf9a52b5 Update Spanish translations (#489) 2023-11-13 00:06:43 +01:00
f696452c59 method.xml: Add Armenian 2023-11-13 00:04:31 +01:00
474c693427 Add Armenian layout (#490) 2023-11-13 00:00:25 +01:00
73060bfc00 Adaptive launcher icon
Existing icons are kept for API < 26.
2023-11-06 20:52:35 +01:00
60134effdc Remove extra paranthesis in persian layout (#485) 2023-11-01 16:30:01 +01:00
1
838fbc8ef8 Update Turkish translation (#486) 2023-10-31 20:57:42 +01:00
148bed769a Add left/right slider to the emoji pane
This entirely changes the implementation of the bottom row in the emoji
pane.
2023-10-28 20:14:32 +02:00
2d164ca64f Add '₽' to Russian layout and to the Fn layer
Other currencies are moved on the Fn layer for consistency with the
compose key.
2023-10-21 11:56:56 +02:00
d594242a53 Update the neo2 layout (#477) 2023-10-20 21:06:21 +02:00
bd886a24eb Add Bulgarian BDS layout (#479) 2023-10-20 14:21:14 +02:00
7b7202ec1b Add * and @ to Hindi layout (#480) 2023-10-20 12:59:19 +02:00