Commit Graph

2605 Commits

Author SHA1 Message Date
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
308944d942 layouts: Rename Space to space
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/685>
2024-10-07 12:01:00 +00:00
07570ce532 layouts: Rename BackSpace-special-3 to BackSpace-wide
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/685>
2024-10-07 12:01:00 +00:00
ef016786e7 layouts: Replace altline with special-2 and wide with special-3
to use the same name for the same button-style.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/685>
2024-10-07 12:01:00 +00:00
85a0f79e92 layouts: Clean up spaces in layout-files
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/685>
2024-10-07 12:01:00 +00:00
f6e0deedd7 layouts: Change Shift_L to show_upper
because it is actually not a Shift-key.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/685>
2024-10-07 12:01:00 +00:00
da2093c3c7 Merge branch 'rel-1.42.0' into 'main'
treewide: Document changes and release 1.42.0

See merge request World/Phosh/squeekboard!682
v1.42.0
2024-09-30 10:57:27 +00:00
9d043a0647 treewide: Document changes and release 1.42.0
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/682>
2024-09-30 11:14:46 +02:00
6fd60502bb Cargo.lock: Update dependencies
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/682>
2024-09-30 11:14:45 +02:00
b9c86165c0 Merge branch 'optimise-size-of-thai-layout' into 'main'
layouts: Improve the size of the Thai (th) layout

See merge request World/Phosh/squeekboard!684
2024-09-30 09:13:06 +00:00
97495b73c2 layouts: Improve the size of the Thai (th) layout
and adjust the views which were arranged differently,
so that those are more similar to other layouts.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/684>
2024-09-29 19:14:05 +02:00
0552b9cd3b Merge branch 'make-fr+bepo-terminal-layout-available' into 'main'
layouts: Adjust French (fr+bepo) terminal-layout and make it available

See merge request World/Phosh/squeekboard!683
2024-09-29 09:01:41 +00:00
76194dba15 layouts: Adjust French (fr+bepo) terminal-layout and make it available
Except for the arrangement of the letter-buttons,
this layout is almost identical to the French (fr) terminal-layout.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/683>
2024-09-29 10:45:45 +02:00