332e5f91c8
Update to serde_yaml 0.9.*
...
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/624 >
2024-03-22 11:53:35 +01:00
5cfb940caa
Add the remaining, wide shapes for layouts
...
There should be a wide shape for
all available layouts, so those can be used
well on devices in horizonal orientation.
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/630 >
2024-03-20 19:43:06 +01:00
5806b14628
Simplify build-system further
...
Remove Fragile from the list of dependencies
It is not necessary for building 'gio' anymore,
since the upgrade to 'glib v2_58'.
Remove "online" and "reset_lock" Meson-options
Building Squeekboard should work offline.
Use a single "Cargo.toml"-file instead of splitting it into parts
and putting it back together when building.
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/623 >
2024-03-11 17:45:57 +01:00
7ed0d48a99
test-layout: Drop unneeded macro use
...
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/621 >
2024-03-10 17:37:52 +01:00
00740de79f
drawing: Unwrap errors
...
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/621 >
2024-03-10 17:37:52 +01:00
d801b77e96
popover: Ignore return value
...
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/621 >
2024-03-10 17:37:52 +01:00
15ebd0ffaf
Switch to glib v2_58
...
Remove the ancient fallbacks
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/621 >
2024-03-10 17:37:52 +01:00
a569b1c1a3
"Priority" constants for glib-rs 0.18
...
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/620 >
2024-03-10 15:44:28 +00:00
aa513b5cd9
Replace "Continue" with "ControlFlow"
...
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/620 >
2024-03-10 15:44:28 +00:00
078f58be26
src: style: fix build with newer gtk-rs
...
`gtk::Settings::property()` no longer returns a `Result` but instead
panics if the property doesn't exist. In order to work around this
change without affecting the surrounding code too much, this patch
modifies the `prop` function so we can avoid panics and wrap the
property value into a `Result` as was previously the case.
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/620 >
2024-03-10 15:44:28 +00:00
86674507e1
src: popover: fix build with newer gtk-rs
...
`gtk-rs` v0.16+ no longer exposes the internal fields of the
`gtk::Rectangle` struct, mandating the use of the `new()` function
instead.
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/620 >
2024-03-10 15:44:28 +00:00
bc43abdb02
src/popover.c: Change 'ControlCenter' to 'Settings'
...
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/616 >
2024-03-08 14:49:11 +01:00
e029c53401
Add wide emoji-layout
...
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/614 >
2024-03-08 01:18:45 +00:00
4352f01486
Add German terminal-keyboard-layout
...
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/609 >
2024-03-07 23:22:38 +00:00
4b73775695
Merge branch 'master' into 'master'
...
add french canadian layout (QWERTY + accented letters)
See merge request World/Phosh/squeekboard!603
2024-03-02 16:10:27 +00:00
d801d45812
Add Spanish terminal-keyboard-layouts
2024-02-27 11:24:23 +01:00
8d96803e91
add french canadian layout (QWERTY + accented letters)
2024-01-29 21:41:09 +01:00
ef516c2082
Merge branch 'size' into 'master'
...
Fix panel sizing
See merge request World/Phosh/squeekboard!594
2023-03-22 16:21:20 +00:00
bd96f4c0c2
panel: Fix sizing on output reconfiguration
2023-03-15 15:44:55 +00:00
83fda9d38a
tests: Make panel manager modifications pure
...
This makes testing possible. Test which prompted this is included.
2023-03-15 15:44:55 +00:00
8c89b4dc2c
cleanup: Remove debug prints
2023-03-15 12:53:22 +00:00
367d8dd5c7
state: Make size independent of scaling factor
2023-03-14 12:16:15 +00:00
ffae36d259
Rust: Restore compatibility with Debian Bookworm
2023-02-04 17:18:35 +00:00
400e82326d
memory: Fix undefined behaviour
...
As warned by the compiler.
At the same time drop support for older rustc, as the code was dead anyway.
2023-01-15 11:52:21 +00:00
20b5cac148
build: Silence overcautious warning
2023-01-15 11:51:53 +00:00
6fd281b214
Remove dead code
2023-01-15 11:27:14 +00:00
2e65586db5
wayland: remove dead, broken init
2023-01-15 11:22:10 +00:00
8c7897da4d
Add Hungarian layout
2023-01-05 17:14:18 +01:00
b0bf78b2a6
Merge branch 'saver' into 'master'
...
popover: Deactivate settings button when lock screen is on
See merge request World/Phosh/squeekboard!582
2023-01-02 12:21:23 +00:00
1704f1b4cb
rust: Use 2021 eition
2022-12-21 12:24:03 +00:00
828279d03c
rust: Use 2018 eition
...
This edition has better syntax around scoping and `use`.
2022-12-21 12:20:17 +00:00
31a7acb0eb
popover: Apply settings enabled stateto UI
2022-12-08 10:07:09 +00:00
7130ac9529
popover: State can be printed
2022-12-08 10:07:09 +00:00
c590064ce3
popover: Connect to screensaver event
2022-12-08 10:07:09 +00:00
3366090454
popover: Use thread-safe reference
...
This reference will be modified from the screensaver thread.
2022-12-08 09:38:31 +00:00
e88410d412
util: Add thread-safe c wrapper
2022-12-08 09:38:31 +00:00
ae15869d07
popover: Able to receive screensaver events
2022-12-08 09:38:31 +00:00
cf6171a51f
loops: Use Void for infinite loops
2022-12-06 13:01:25 +00:00
ea5e36e9fd
screensaver: Catch activeness changes
2022-12-06 12:58:17 +00:00
783ca9ae11
structure: Create a module for custom event loops
2022-12-06 12:19:17 +00:00
38165ac039
Merge branch 'event' into 'master'
...
Decouple event handling from concrete logic
See merge request World/Phosh/squeekboard!581
2022-12-06 12:14:17 +00:00
7f1d237551
event loop: Move event handlers from event loop driver to main loop
2022-11-28 15:53:41 +00:00
6d01386d8a
main: Moved event loop definition close to actor
2022-11-28 15:53:41 +00:00
e5be92efae
loop driver: Decouple from concrete state
2022-11-28 15:53:41 +00:00
2f011a57dd
test: Mark loop scheduling test for rewrite
2022-11-28 15:53:41 +00:00
e7c2350c92
event loop: Decouple event handler from concrete state
2022-11-28 15:53:41 +00:00
d51408a3e0
event loop: Add descriptions
2022-11-28 15:53:41 +00:00
b8c0836f51
event loop: Decouple event type from handler
2022-11-28 15:53:41 +00:00
e0b37d60c4
event loop: Decouple state type from event handler
2022-11-28 15:53:41 +00:00
23d6beee8e
event loop: Decouple event timeout from event type
2022-11-28 15:53:41 +00:00