Commit Graph

2617 Commits

Author SHA1 Message Date
6cda9eb617 treewide: Increase version to 1.44.0~alpha0
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/705>
2024-11-15 15:38:48 +01:00
f8fac946d9 Merge branch 'rel-1.43.0' into 'main'
treewide: Document changes and release 1.43.0

See merge request World/Phosh/squeekboard!704
v1.43.0
2024-11-15 13:28:03 +00:00
99356fcfe9 treewide: Document changes and release 1.43.0
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/704>
2024-11-15 11:59:23 +01:00
a674f2a394 Cargo.lock: Update dependencies
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/704>
2024-11-15 11:47:56 +01:00
e01f2da83f layouts: Change "small"-outline to "small-row"-outline in terminal-layouts
and change the font-size for the "small"-outline back to 0.5em,
so that the font-size for custom-layouts that use it does not change.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/704>
2024-11-15 11:47:41 +01:00
c84762d619 Merge branch 'square-cubes' into 'main'
layouts: Fill some placeholders

See merge request World/Phosh/squeekboard!703
2024-11-14 16:14:47 +00:00
c13fccc4f7 layouts: Fill placeholders with duplicated buttons in terminal-layouts
to reduce changes when switching views.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/703>
2024-11-14 15:50:14 +00:00
9cf10cfc26 layouts: Make placeholder-position more consistent in bg(+phonetic)-layouts
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/703>
2024-11-14 15:50:14 +00:00
1e5accde5d layouts: Fill some placeholders with '²' and '³'
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/703>
2024-11-14 15:50:14 +00:00
b8646ff86e Merge branch 'fit-layout-to-panel' into 'main'
scaling: Let layouts stretch to fill the panel

See merge request World/Phosh/squeekboard!702
2024-11-14 15:43:05 +00:00
f311816e22 layout.rs: Adjust tests to work with layout-stretching
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/702>
2024-11-14 16:26:42 +01:00
e08f6b4a27 scaling: Let layouts stretch to fill the panel
so that those can fit various screens better.
This is particularly useful for smartphones
with an aspect-ratio of 2:1 or wider,
while those are held in horizontal orientation.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/702>
2024-11-14 16:26:42 +01:00
f87b708867 README.md: Mention the settings for layout-stretching
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/702>
2024-11-14 16:26:37 +01:00
4483dfcacc doc/layout.md: Update information about how to deactivate layout-stretching
and mention how to activate it again.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/702>
2024-11-14 15:23:21 +01:00
b9f54a4e4b scaling: Add a setting for fitting layouts to the panel
It can be useful to deactivate this while designing layouts,
to be able to see the accurate size of those layouts.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/702>
2024-11-14 15:23:15 +01:00
291afe361c layout.rs: Fix code-style
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/702>
2024-11-11 10:51:31 +01:00
1808805a03 Merge branch 'update-dependencies-and-increase-version-number' into 'main'
treewide: Increase project-version to "1.43.0~alpha0"

See merge request World/Phosh/squeekboard!701
2024-11-06 19:41:11 +00:00
743bd435ec CI: Remove 'check_release'-CI-job and 'check_release.py'
This CI-job is a reminder to publish a tag,
when there is no tag for the current version-number.

This does not work well when the version-number is increased
after a release, because there will be no such tag,
until the next release has been published.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/701>
2024-11-06 20:21:10 +01:00
5be84e1efe treewide: Increase project-version to "1.43.0~alpha0"
to ensure that the version-number of built packages will be higher than
the version-number of packages with the previous version.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/701>
2024-11-06 20:20:43 +01:00
4cb0095af1 Cargo.lock: Update dependencies
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/701>
2024-11-06 12:28:33 +01:00
1cc40bd775 Merge branch 'shift-buttons-on-layouts' into 'main'
layouts: Add `Shift`-button to the terminal-layouts

See merge request World/Phosh/squeekboard!698
2024-11-06 10:37:17 +00:00
8093c363e2 layouts: Add Shift-button to the terminal-layouts
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/698>
2024-11-06 10:26:26 +00:00
c91e95cecb Merge branch 'update-recommended-settings-for-making-layouts' into 'main'
doc/layouts.md: Update recommended settings for creating layouts

See merge request World/Phosh/squeekboard!699
2024-11-06 10:18:52 +00:00
19598a9065 doc/layouts.md: Update recommended settings for creating layouts
so that those work correctly,
after the changes to the scaling-algorithm for 1.42.0.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/699>
2024-11-05 21:13:16 +01:00
dfb9a9c686 Merge branch 'make-shift-modifier-available' into 'main'
input: Add the `Shift`-modifier

See merge request World/Phosh/squeekboard!696
2024-11-05 19:37:02 +00:00
f5558e6112 input: Add the Shift-modifier
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/696>
2024-11-05 19:29:45 +01:00
c8c4653432 Merge branch 'wip/a-wai/xkbcommon-0.8' into 'main'
Update xkbcommon dependency to 0.8

See merge request World/Phosh/squeekboard!697
2024-11-05 18:01:26 +00:00
9c21922a9d parsing: fix test for new xkbcommon version
The latest version of `xkbcommon` (0.8) fixes a bug where
`keysym_to_utf8` returned a string including the terminating NULL
character. The `unicode_keysym` test used to rely on this behaviour, so
we must update it so it still works with the new version.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/697>
2024-11-05 18:01:35 +01:00
73f9cd2ca4 Cargo.toml: use xkbcommon 0.8
This is the latest upstream version.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/697>
2024-11-05 18:01:23 +01:00
ec45ef5e1f Merge branch 'backspace-requires-another-keycode-on-the-same-keymap' into 'main'
keyboard.rs: Add keycode to the keymap with BackSpace if there is no other

See merge request World/Phosh/squeekboard!695
2024-11-05 10:01:28 +00:00
04b6e07b61 keyboard.rs: Format code better
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/695>
2024-11-04 14:50:20 +01:00
1a899f6b77 keyboard.rs: Add keycode to the keymap with BackSpace if there is no other
BackSpace does not work with `tools/entry.py` (made with GTK3),
if the keymap with BackSpace does not contain any other keycodes.
This should only happen for the emoji-layout or incomplete custom-layouts,
because the layout-tests for normal layouts
check for the presence of a button for Return.
This does add an "Unknown"-keycode, if necessary,
to let BackSpace work anyway.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/695>
2024-11-04 14:43:13 +01:00
9fd15f76c7 Merge branch 'add-more-keycodes-to-allowed-keycodes' into 'main'
keyboard.rs: Add more keycodes and sort those

Closes #430

See merge request World/Phosh/squeekboard!693
2024-11-03 16:16:42 +00:00
0fa0782a0a keyboard.rs: Add more keycodes and sort those
Some applications expect that certain characters/functions
are assigned to specific keycodes.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/693>
2024-11-03 16:49:13 +01:00
2651743cd1 keyboard.rs: Reword a comment
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/693>
2024-11-01 14:28:14 +01:00
6dd7da30ea Add Bulgarian translation 2024-10-22 17:41:10 +00:00
04d3f62095 Merge branch 'unicode-16.0-emojis' into 'main'
layouts: Add emojis from Unicode 16.0 to the emoji-layout

See merge request World/Phosh/squeekboard!690
2024-10-18 11:36:28 +00:00
0479e67252 layouts: Add emojis from Unicode 16.0 to the emoji-layout
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/690>
2024-10-18 11:25:56 +00:00
9b2c3c0c96 Merge branch 'adjust-layout-sizes' into 'main'
layouts: Adjust layout-sizes to the correct aspect-ratios

See merge request World/Phosh/squeekboard!691
2024-10-18 11:18:16 +00:00
e610866129 layouts: Adjust layout-sizes to the correct aspect-ratios
and fix some other issues, to make the layouts more consistent.

The aspect-ratios of the layouts,
should now match the intended aspect-ratios (12:7 and 16:5),
with 3 decimal-digits of precision; either exactly,
or rounded to be a little more square,
so that the entire height of the panel will be used.
Adding 0.001 to `width` in the `default`-outlines of the layouts,
would make the layouts a little wider than the intended aspect-ratio.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/691>
2024-10-18 10:59:54 +00:00
41ed436dc8 Merge branch 'allowlist' into 'main'
keyboard: Only generate keycodes from an allowlist

Closes #244 and #373

See merge request World/Phosh/squeekboard!598
2024-10-16 11:22:56 +00:00
155cc45051 submission.rs: Restore active modifiers after changing keymaps
and clear all modifiers when changing layouts.

Fixes #373

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/598>
2024-10-16 12:28:21 +02:00
f5aa1f3b19 keyboard: Only generate keycodes from an allowlist
Some broken clients (most notably Chromium and its descendants)
try to interpret keymaps as if they were input sequences coming
from evdev. Workaround that by only using codes that directly
produce characters.

Fixes #244

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/598>
2024-10-15 21:19:57 +02:00
dd612eabe6 Merge branch 'sort-layout-outlines' into 'main'
layouts: Sort outlines alphabetically

See merge request World/Phosh/squeekboard!689
2024-10-09 00:03:18 +00:00
80e7400a7f layouts: Sort outlines alphabetically
and change `special-3` to `special-2` and `special-2` to `special`,
where appropriate.

`default` is still at the top of the lists, to make it easier to find.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/689>
2024-10-09 01:45:53 +02:00
df887508ce Merge branch 'improve-number-layout' into 'main'
layouts: Improve `number`-layout

See merge request World/Phosh/squeekboard!687
2024-10-08 23:44:27 +00:00
cd19ea9579 layouts: Improve number-layout
- Larger buttons
- Numbers centered

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/687>
2024-10-08 23:24:59 +00:00
cd10cd7b13 Merge branch 'keep-proportions-of-labels-and-icons' into 'main'
scaling: Keep proportions of labels and icons when stretching layouts

See merge request World/Phosh/squeekboard!686
2024-10-08 23:17:02 +00:00
95be96d27e scaling: Keep proportions of labels and icons when stretching layouts
Before this change, the labels and icons were stretched along with the
layout.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/686>
2024-10-08 23:05:09 +00:00
96824b7c6e Merge branch 'clean-up-the-layout-files' into 'main'
layouts: Clean up in the layout-files

See merge request World/Phosh/squeekboard!685
2024-10-07 12:47:05 +00:00