Commit Graph
100 Commits
Author SHA1 Message Date
dcz d36febefc3 Merge branch 'update-documentation' into 'master'
Update links in the documentation

See merge request World/Phosh/squeekboard!607
2024-03-02 17:47:26 +00:00
dcz 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
dcz 23c5fc1fb8 Merge branch 'keyboard-layout-es' into 'master'
Add Spanish terminal-keyboard-layouts

See merge request World/Phosh/squeekboard!606
2024-03-02 16:09:57 +00:00
dcz a60b9d019e Merge branch 'Persian' into 'master'
Fix Persian layout

See merge request World/Phosh/squeekboard!605
2024-03-02 16:09:14 +00:00
dcz 4c8dbf9fe6 Merge branch '022' into 'master'
Release 1.22.0 "Superposition"

See merge request World/Phosh/squeekboard!596
2023-04-02 17:10:49 +00:00
Dorota Czaplejewicz 1fac218c70 Release 1.22.0 "Superposition"
New or updated translations:
- Basque

Changes:
- fixed panel sizing when scaling
- fixed panel sizing when rotating
- fixed Dvorak terminal layout
2023-04-01 13:50:31 +00:00
Dorota Czaplejewicz 01bde740bb Update deps 2023-04-01 13:45:25 +00:00
dcz ef516c2082 Merge branch 'size' into 'master'
Fix panel sizing

See merge request World/Phosh/squeekboard!594
2023-03-22 16:21:20 +00:00
dcz fe39632303 Merge branch 'dbg' into 'master'
cleanup: Remove debug prints

See merge request World/Phosh/squeekboard!593
2023-03-22 16:21:03 +00:00
dcz e94619883b Merge branch 'master' into 'master'
layout: fix uppercase dvorak terminal mode

Closes #367

See merge request World/Phosh/squeekboard!595
2023-03-20 09:14:13 +00:00
Dorota Czaplejewicz bd96f4c0c2 panel: Fix sizing on output reconfiguration 2023-03-15 15:44:55 +00:00
Dorota Czaplejewicz 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
Dorota Czaplejewicz 8c89b4dc2c cleanup: Remove debug prints 2023-03-15 12:53:22 +00:00
dcz b17716a427 Merge branch 'size' into 'master'
state: Make size independent of scaling factor

See merge request World/Phosh/squeekboard!592
2023-03-14 14:01:49 +00:00
Dorota Czaplejewicz 367d8dd5c7 state: Make size independent of scaling factor 2023-03-14 12:16:15 +00:00
dcz 6f66edf8a1 Merge branch 'rel' into 'master'
Release 1.21.0

See merge request World/Phosh/squeekboard!591
2023-02-26 09:13:19 +00:00
Dorota Czaplejewicz 378c3ec9ad Release 1.21.0 "Expected value"
New or updated translations:
- Hindi
- Czech
- German

New layouts:
- wide Swedish
- Hungarian

Changes:
- use a custom font for gr+polytonic, where the default is unreadable
- require newer Rust
- fixed panel sizing when rotating
- internal improvements.
2023-02-16 15:43:24 +00:00
Dorota Czaplejewicz 25ba8773b6 Update Cargo.lock 2023-02-16 15:33:10 +00:00
Dorota Czaplejewicz 853278836c Revert "docs: Update Cargo.lock instructions"
We're using mozilla-cargo in older Debian now.

This reverts commit 40089b4836.
2023-02-16 15:31:38 +00:00
dcz 55956743d4 Merge branch 'ls' into 'master'
Sync layersurface with Phosh

Closes #285

See merge request World/Phosh/squeekboard!590
2023-02-16 12:59:23 +00:00
dcz 658d2f325e Merge branch 'clap' into 'master'
Rust: Restore compatibility with Debian Bookworm

See merge request World/Phosh/squeekboard!589
2023-02-16 12:58:45 +00:00
Dorota Czaplejewicz 0b44d94aa4 layersurface: Fix violations of bracketing 2023-02-04 18:03:54 +00:00
Dorota Czaplejewicz ffae36d259 Rust: Restore compatibility with Debian Bookworm 2023-02-04 17:18:35 +00:00
dcz d18f09823b Merge branch 'fixes' into 'master'
fixes inspired by compiler warnings

See merge request World/Phosh/squeekboard!587
2023-01-24 14:59:12 +00:00
Dorota Czaplejewicz 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
Dorota Czaplejewicz 20b5cac148 build: Silence overcautious warning 2023-01-15 11:51:53 +00:00
Dorota Czaplejewicz 8da59a6216 safety: Replace strncpy with strlcpy 2023-01-15 11:40:27 +00:00
Dorota Czaplejewicz 6fd281b214 Remove dead code 2023-01-15 11:27:14 +00:00
Dorota Czaplejewicz 2e65586db5 wayland: remove dead, broken init 2023-01-15 11:22:10 +00:00
dcz 5f12199de1 Merge branch 'hu' into 'master'
Add Hungarian layout

See merge request World/Phosh/squeekboard!585
2023-01-05 17:53:45 +00:00
dcz 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
dcz 8fa4bf1b40 Merge branch '21' into 'master'
rust: Use 2021 eition

See merge request World/Phosh/squeekboard!584
2023-01-02 12:20:49 +00:00
Dorota Czaplejewicz 1704f1b4cb rust: Use 2021 eition 2022-12-21 12:24:03 +00:00
Dorota Czaplejewicz 828279d03c rust: Use 2018 eition
This edition has better syntax around scoping and `use`.
2022-12-21 12:20:17 +00:00
Dorota Czaplejewicz 31a7acb0eb popover: Apply settings enabled stateto UI 2022-12-08 10:07:09 +00:00
Dorota Czaplejewicz 7130ac9529 popover: State can be printed 2022-12-08 10:07:09 +00:00
Dorota Czaplejewicz c590064ce3 popover: Connect to screensaver event 2022-12-08 10:07:09 +00:00
Dorota Czaplejewicz 3366090454 popover: Use thread-safe reference
This reference will be modified from the screensaver thread.
2022-12-08 09:38:31 +00:00
Dorota Czaplejewicz e88410d412 util: Add thread-safe c wrapper 2022-12-08 09:38:31 +00:00
Dorota Czaplejewicz ae15869d07 popover: Able to receive screensaver events 2022-12-08 09:38:31 +00:00
Dorota Czaplejewicz cf6171a51f loops: Use Void for infinite loops 2022-12-06 13:01:25 +00:00
Dorota Czaplejewicz ea5e36e9fd screensaver: Catch activeness changes 2022-12-06 12:58:17 +00:00
Dorota Czaplejewicz 783ca9ae11 structure: Create a module for custom event loops 2022-12-06 12:19:17 +00:00
dcz 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
dcz f4c03ce6e8 Merge branch 'sizes' into 'master'
Fix resizing

See merge request World/Phosh/squeekboard!580
2022-11-30 13:10:01 +00:00
Dorota Czaplejewicz 7f1d237551 event loop: Move event handlers from event loop driver to main loop 2022-11-28 15:53:41 +00:00
Dorota Czaplejewicz 6d01386d8a main: Moved event loop definition close to actor 2022-11-28 15:53:41 +00:00
Dorota Czaplejewicz e5be92efae loop driver: Decouple from concrete state 2022-11-28 15:53:41 +00:00
Dorota Czaplejewicz 2f011a57dd test: Mark loop scheduling test for rewrite 2022-11-28 15:53:41 +00:00
Dorota Czaplejewicz e7c2350c92 event loop: Decouple event handler from concrete state 2022-11-28 15:53:41 +00:00
Dorota Czaplejewicz d51408a3e0 event loop: Add descriptions 2022-11-28 15:53:41 +00:00
Dorota Czaplejewicz b8c0836f51 event loop: Decouple event type from handler 2022-11-28 15:53:41 +00:00
Dorota Czaplejewicz e0b37d60c4 event loop: Decouple state type from event handler 2022-11-28 15:53:41 +00:00
Dorota Czaplejewicz 23d6beee8e event loop: Decouple event timeout from event type 2022-11-28 15:53:41 +00:00
Dorota Czaplejewicz 9c9f371f91 Rename LevelKeyboard to Layout 2022-11-28 15:53:41 +00:00
Dorota Czaplejewicz 805c0d27fd panel: Fix resize when reusing the window
When the panel window was reused, it was not re-initialized. That includes the panel size request. If the last panel size was matching a different display size (including orientation), the newly shown panel would re-use that size instead of respecting the newly requested size.
2022-11-27 18:04:18 +00:00
Dorota Czaplejewicz 9242bb679d panel: Hardcode some debugging
Quickly done, useful for development tests. For user control, this requires connecting to some switch.
2022-11-27 18:02:47 +00:00
dcz e9cc20106b Merge branch 'desktop-file' into 'master'
desktop-file: Add X-GNOME-* for session management

See merge request World/Phosh/squeekboard!579
2022-11-08 09:00:05 +00:00
dcz 2ade582463 Merge branch 'splitl' into 'master'
layout: cleanups

See merge request World/Phosh/squeekboard!577
2022-10-09 14:40:55 +00:00
dcz 838d6b0bf6 Merge branch 'upgrust' into 'master'
debian: Upgrade rust dependency

See merge request World/Phosh/squeekboard!576
2022-10-08 08:53:54 +00:00
Dorota Czaplejewicz 973bbaca4b layout: Increase separation between mutable and logic 2022-10-01 18:29:24 +00:00
Dorota Czaplejewicz 14282387f2 layout: Increase separation between mutable and logic 2022-10-01 18:25:35 +00:00
Dorota Czaplejewicz a5fdc25452 layout: Unbox buttons
The Box was just polluting the code, and the original reason for it (passing buttons individually to C) is gone.
2022-10-01 16:38:10 +00:00
Dorota Czaplejewicz 952ec805ed layout: Put all button state into active_buttons
Ths gets rid of Rc<RefCell<>> sharing of state, which can be hard to keep track of.
In addition, there's no longer any duplication of button state.
2022-10-01 16:38:01 +00:00
Dorota Czaplejewicz 74c5ef4a51 layout: Separate button info from state
Splitting out state into a dedicated place lets keep all the immutable metadata in one place, and all state in another.
2022-10-01 13:37:35 +00:00
Dorota Czaplejewicz fc4fa63cc6 layout: Remove unused code 2022-10-01 12:10:03 +00:00
Dorota Czaplejewicz 5e12666b8f layout: Pressed buttons are now a list of indices
This makes it possible to copy layout state wholesale, as well as to drop shared state of keys.
2022-10-01 11:11:33 +00:00
Dorota Czaplejewicz 649f67d319 layout: Split out static data
This will make it possible later to cache this data or compare for best size selection without hassle.
2022-09-30 17:42:03 +00:00
Dorota Czaplejewicz c017a773ea layout: Gather state-related stuff together 2022-09-30 17:12:00 +00:00
Dorota Czaplejewicz 7a8932d686 debian: Upgrade rust dependency
This avoids problems with cargo pulling packages with unsupported edition in the future, as well as opens up the ability to use new language features.

Most importantly, cargo deps can be unlocked.
2022-09-30 16:01:36 +00:00
dcz afe6a6cf74 Merge branch 'orphans' into 'master'
tests: Check for orphaned layout files

See merge request World/Phosh/squeekboard!574
2022-09-29 16:25:47 +00:00
dcz e778be8f13 Merge branch 'newss' into 'master'
repo: Add missing NEWS file

See merge request World/Phosh/squeekboard!575
2022-09-29 16:25:33 +00:00
dcz 7ffc2c4f86 Merge branch 'add-wide-swedish' into 'master'
Add wide Swedish layout

Closes #351

See merge request World/Phosh/squeekboard!573
2022-09-16 07:43:50 +00:00
Dorota Czaplejewicz d26927dc44 tests: Check for orphaned layout files
This adds a test which scans the layouts directory for files which have not been added to the resources file.
The majority os user-submitted layouts don't include layout registration, and I ran out of ideas for how to make it more visible in the documentation. Instead, it's going to be solved on the other side: the CI pipelines shall fail.

To make it easy on experimenters with untidy trees, it's disabled by default.
2022-09-15 14:13:40 +00:00
Dorota Czaplejewicz 094503cf8c repo: Add missing NEWS file 2022-09-15 13:17:33 +00:00
dcz 0cb9b039d2 Merge branch 'polyfont' into 'master'
Use custom font for Greek polytonic

See merge request World/Phosh/squeekboard!569
2022-09-11 14:43:33 +00:00
dcz b676cac63f Merge branch 'flock' into 'master'
docs: Update Cargo.lock instructions

See merge request World/Phosh/squeekboard!570
2022-09-11 14:43:18 +00:00
dcz f55a8868c7 Merge branch 'news' into 'master'
Improve release instructions

See merge request World/Phosh/squeekboard!571
2022-09-11 14:42:56 +00:00
dcz 3055cc034f Merge branch '120' into 'master'
Release 1.20.0 "PID controller"

See merge request World/Phosh/squeekboard!572
2022-09-11 14:34:36 +00:00
dcz dbbb34da01 Merge branch 'bw' into 'master'
CI: target bookworm for "future" job

See merge request World/Phosh/squeekboard!568
2022-09-09 15:50:28 +00:00
Dorota Czaplejewicz a4e58aef6a Release 1.20.0 "PID controller"
New translations:
- Greek
- Croatian

New layouts:
- US Dvorak terminal

Improvements:
- forcing the panel to hide now takes effect immediately
- Squeekboard icon will present itself when other applications need to show it
2022-09-03 14:28:35 +00:00
Dorota Czaplejewicz fd3ade8ac4 build: Update Cargo.lock.newer 2022-09-03 14:17:52 +00:00
Dorota Czaplejewicz 40089b4836 docs: Update Cargo.lock instructions 2022-09-03 13:42:07 +00:00
Dorota Czaplejewicz 50ff771922 docs: Remove obsolete amber instructions 2022-09-03 12:38:13 +00:00
Dorota Czaplejewicz 113970566b docs: Add NEWS.md 2022-09-03 12:38:13 +00:00
Dorota Czaplejewicz 8864a5b0a7 style: Give gr+polytonic a custom font 2022-09-03 08:11:08 +00:00
Dorota Czaplejewicz c30e951907 style: Use layout name as css class 2022-09-03 08:04:40 +00:00
Dorota Czaplejewicz 9413150d85 keyboard: Remove unused field 2022-09-03 07:37:33 +00:00
dcz decf547e41 Merge branch 'desktop' into 'master'
data: Set an icon in the desktop file and indicate haptic feedback

See merge request World/Phosh/squeekboard!566
2022-09-02 11:45:27 +00:00
Dorota Czaplejewicz 7c17f64517 CI: target bookworm for "future" job
Bookworm will be the basis for the next PureOS.
Plus, there was some persistent network error when running sid jobs.
2022-09-02 10:20:30 +00:00
dcz c7344aeb47 Merge branch 'fixb' into 'master'
build: Use Cargo.lock included with the repo by default

See merge request World/Phosh/squeekboard!567
2022-09-01 17:35:41 +00:00
Dorota Czaplejewicz 51f8217646 build: Use Cargo.lock included with the repo by default
This should fix some future problems with dependencies getting updated in a way that's unsupported by the build tools targeted by Squeekboard.
2022-09-01 17:04:25 +00:00
dcz a3f6349376 Merge branch 'hide' into 'master'
state: Don't animate when force-hidden

See merge request World/Phosh/squeekboard!565
2022-09-01 13:52:01 +00:00
dcz dffec166fd Merge branch '119' into 'master'
Release 1.19.0 "Chirality"

See merge request World/Phosh/squeekboard!560
2022-07-11 06:54:51 +00:00
dcz 3207977d7a Merge branch 'master' into 'master'
added US Dvorak Terminal

See merge request World/Phosh/squeekboard!564
2022-07-11 06:54:09 +00:00
Dorota Czaplejewicz 4ae78b89c6 state: Don't animate when force-hidden 2022-07-08 05:34:36 +00:00
Dorota Czaplejewicz 0c99067b4b Release 1.19.0 "Chirality"
The main behind-the-scenes change in this release is the rework which gathers code selecting layout versions into one place. A resource leak causing slowdowns was also avoided.

New translations:
- Chinese (China)
- French
- Russian

Layout changes:
- new FR+Bépo
- new Georgian
- improved Italian

Thanks to all contrbutors.
2022-07-06 06:12:46 +00:00
Dorota Czaplejewicz ec7116053f build: Update Cargo.lock 2022-07-06 06:08:13 +00:00
Dorota Czaplejewicz 70bf101812 gtk: Persist panel state
Creating and destroying the panel as needed causes a resource leak somewhere in the deeper layers of the stack. This is a workaround.

See https://gitlab.gnome.org/World/Phosh/squeekboard/-/issues/343
2022-07-01 08:07:29 +00:00
dcz 12572b9de2 Merge branch 'par' into 'master'
build: Generate files before compiling sources

See merge request World/Phosh/squeekboard!562
2022-06-30 19:03:45 +00:00