Jules Aguillon
4d10556d49
Don't replace user selected dead keys
...
Don't replace dead-keys selected in the "Add keys to the keyboard"
option by an alternative.
2023-08-06 17:15:36 +02:00
Jules Aguillon
1eea9e25d2
Remove the Accents option
...
This option makes less sense since per-script extra keys. It's also
getting in the way of an eventual "dead-key or accented-letters" option.
2023-08-06 17:15:35 +02:00
Jules Aguillon
45905f5f3b
Replace dead-keys when there's one alternative
...
The dead-key is replaced by its alternative if there's only one
specified.
Extra keys from every subtypes must be merged together to be able to
make this check.
2023-08-06 17:14:23 +02:00
Jules Aguillon
c26343cd42
method.xml: Specify extra keys alternatives
2023-08-06 17:14:23 +02:00
Jules Aguillon
cd95c589de
Extra keys alternatives
...
For each extra key, a list of alternative can be specified. An extra key
won't be added to the keyboard if all its alternatives are already
present on it.
This is useful to avoid having the dead key for an accent and the
accented letters at the same time.
2023-08-06 17:14:23 +02:00
Rapha
0924df8d13
Update translations pt-br ( #420 )
2023-08-06 12:19:51 +02:00
Chasm Solacer
0fea071352
Updated pl (Polish) translation ( #419 )
2023-08-06 00:13:37 +02:00
Jules Aguillon
c46e5ec450
Add esc and tab to the Persian layout
2023-08-05 19:44:00 +02:00
Jules Aguillon
6054c2eec8
Add Persian to method.xml
2023-08-05 19:40:13 +02:00
Jules Aguillon
dcbb4c484c
Modify arabic and persian numbers info function keys
...
And add function keys placeholders in the layouts.
2023-08-05 19:40:13 +02:00
Jules Aguillon
76f01122c2
Tweak check_layout.py
...
- Warn about missing esc, tab, f11_placeholder and f12_placeholder.
- Don't check non-layout files and special layouts.
2023-08-05 19:40:13 +02:00
Stephen Karl Larroque
94bd9c6bc8
docs: mention Calculator++ ( #418 )
...
* docs: mention Calculator++
Signed-off-by: Stephen L. <LRQ3000@gmail.com>
2023-08-05 17:37:27 +02:00
Jules Aguillon
7ce0c6e37a
sync_translations.py: Report number of missing strings
2023-08-05 17:27:56 +02:00
Jules Aguillon
9ea06594d1
Update French translations
2023-08-05 16:52:26 +02:00
Jules Aguillon
ae791ab292
Translatable key descriptions
...
Key descriptions are shown in the "extra keys" option and can now be
translated.
2023-08-05 16:45:57 +02:00
Jules Aguillon
8b95053566
LauncherActivity: Visible, clickable and untranslatable link
...
The link to Github was not clickable and couldn't easily be made so in
its current form.
Render the link in its own paragraph and do not hide the URL.
2023-08-04 17:31:06 +02:00
Jules Aguillon
e0dd145bb4
Correct Farsi strings
2023-08-04 17:11:00 +02:00
Jules Aguillon
4abea0e878
Settings: Increase vibration values
2023-08-02 21:02:07 +02:00
Jules Aguillon
be97364b34
font: Move glyphs into the PUA
...
Glyphs in the Private Use Area at uE000 will no longer conflict with
fallback fonts in the "extra keys" option.
2023-08-02 20:39:37 +02:00
Jules Aguillon
3c3955e583
Settings: Move "extra keys" higher on the page
...
And "Accents" lower.
2023-08-02 20:17:41 +02:00
Jules Aguillon
22458cd445
check_layout.py: Warn about editing and function keys
2023-08-02 12:09:15 +02:00
Jules Aguillon
3598e19894
Update check_layout.output
2023-07-31 00:10:49 +02:00
Jules Aguillon
9bd8b08544
ListGroupPreference: Allow to modify items
2023-07-30 23:34:48 +02:00
Jules Aguillon
dad5f57a03
Allow more than 2 layouts
...
The two layout selection options are replaced by a ListGroupPreference
that allow to enter an arbitrary amount of layouts.
The "switch_second" and "switch_second_back" keys are replaced by
"switch_forward" and "switch_backward", which allow to cycle through the
selected layouts in two directions.
Layouts are changed to place these two key on the space bar.
The backward key is not shown if there's only two layouts.
2023-07-30 21:44:14 +02:00
Jules Aguillon
818aa4c7d5
ListGroupPreference: Allow hide the "remove" button
2023-07-30 21:34:01 +02:00
Jules Aguillon
b4a1ac48bb
ListGroupPreference: Overrideable "add" button
2023-07-30 21:34:01 +02:00
Jules Aguillon
0856fb4e31
Refactor: Split out ListGroupPreference
...
Split out the implementation of a string-list preference from
CustomExtraKeysPreference.
Allows to share the implementation with future preferences.
2023-07-29 18:42:36 +02:00
Ben Slusky
0a114bd2bc
Add dagger, double dagger, section mark, and pilcrow as extra keys on QWERTY-like layouts ( #410 )
...
* Add section mark as an extra key in QWERTY-like layouts that don't have it already
* Add dagger (also double dagger) as an extra key in QWERTY-like layouts
2023-07-29 18:42:20 +02:00
Jules Aguillon
427ef6a97d
Add '=' to pin entry layout
...
Might be useful in spreadsheets.
2023-07-29 17:40:21 +02:00
Jules Aguillon
fce8ff7ce2
Add option to disable pin entry layout
...
The pin entry layout might be inferior for some usecases and people
might be more used to the numeric layout.
2023-07-29 17:29:45 +02:00
KuRa KuRd
d1f0d5a7bf
Correct Kurdish layout name ( #407 )
...
Correct layout name to Kurdish because Kurdish and Arabic are totally two different language.
2023-07-23 17:09:57 +02:00
adu
f60927edac
Updated Spanish translation ( #404 )
2023-07-20 14:02:18 +02:00
Jules Aguillon
8b2c07c9cb
Refactor: Centralize logging in a static class
...
This new class will help write more logs. The LogPrinter is no longer
created everytime the keyboard is opened.
An error log is added if failing to load the custom extra keys.
2023-07-19 23:30:58 +02:00
Jules Aguillon
458e17bf31
Add custom extra keys preference
...
This is a new section in the extra keys option that allows to enter
arbitrary strings which are then added to the keyboard.
A new string is needed for the title of the section, Android's icons and
strings are used as much as possible to avoid adding more strings.
Keys are stored in the preferences as a JSON array of strings.
2023-07-19 23:30:58 +02:00
Jules Aguillon
324aa26ba4
Refactor: Make KeyValue.makeStringKey public
2023-07-19 23:30:58 +02:00
Jules Aguillon
6747669c2d
Refactor: Use a PreferenceCategory for extra keys
...
This removes the need for a layout definition and adds a title before
the prefs.
It's a prerequise for the custom keys preference.
2023-07-19 23:30:58 +02:00
Reza Hosseinzadeh
1097b297d3
Improve the Persian layout ( #397 )
...
Change some characters' position
2023-07-17 19:33:09 +02:00
Jules Aguillon
4669192a01
Refactor: Don't define extra keys in xml
...
The current approach is hard to maintain, for example the last key
"autofill" was not displayed.
This implements a PreferenceGroup that contains the check boxes for
every extra keys without involving listing the preferences in
settings.xml.
A custom layout is used to remove the 'title' text view.
The list of extra keys is moved into the new class.
'ExtraKeyCheckBoxPreference' becomes a nested class.
2023-07-09 18:14:43 +02:00
Jules Aguillon
a2957a43d6
Add symbol ₴ to Fn+h and to Ukrainian
2023-07-09 16:12:13 +02:00
Jules Aguillon
37d4a523bb
Remove use of Arrays.copyOf
...
The function has been added in API 9.
2023-07-05 18:58:27 +02:00
Validbit
ef4477d50c
Updated/Added Czech translation + 2 common Fn keys ( #387 )
2023-07-02 16:12:19 +02:00
Jules Aguillon
7f79bc358d
Fix descriptions
...
Short description can't exceed 80 characters.
Removed trailing space.
2023-07-01 17:44:14 +02:00
Jules Aguillon
82f347043a
Release 1.23.0 (35)
2023-07-01 17:27:08 +02:00
frimdo
d79f87420f
New default Czech layout ( #380 )
...
The previous default layout is renamed `latn_qwertz_cz_multifunctional`.
2023-07-01 17:04:31 +02:00
Jules Aguillon
bd39137c28
Add extra keys to Norwegian
...
The added keys are also placed on the Dvorak layout.
2023-07-01 16:38:36 +02:00
Jules Aguillon
e025fddf2f
Accept some escaped keys in custom layouts
...
These symbols have special meaning when in `res/xml` and are escaped in
standard layouts.
The backslash is not stripped when parsed from the custom layout option.
Treat these backslashed keys specifically to allow standard layouts to
be passed back to the custom layout option.
2023-06-28 18:04:32 +02:00
Jules Aguillon
434f9aaf2d
Fix crash when the layout has less than 3 rows
2023-06-28 17:50:32 +02:00
Jules Aguillon
c0833de37c
Add hardcoded charmaps for most accents
...
`KeyCharacterMap.getDeadChar` may not be aware of the same dead keys in
older version of Android.
Hardcoded charmaps are more predictable.
2023-06-25 20:00:29 +02:00
Jules Aguillon
c1b7503239
CI: Check that 'gen_layouts.py' output is uptodate
2023-06-25 16:52:48 +02:00
Jules Aguillon
de6c3b024d
Update guidelines about adding layouts
...
to reflect the recent changes. Also, change `gen_layouts.py` to not
generate warnings for file that are known not to be layouts.
2023-06-25 16:48:18 +02:00