Commit Graph
100 Commits
Author SHA1 Message Date
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
Dorota Czaplejewicz 9528339e02 build: Generate files before compiling sources 2022-06-30 18:12:57 +00:00
dcz 50ef4ab433 Merge branch 'fixci' into 'master'
ci: Use bookworm for online builds

See merge request World/Phosh/squeekboard!561
2022-06-29 15:20:20 +00:00
Dorota Czaplejewicz a8fe4a492e ci: Use bookworm for online builds
PureOS carries rather old versions of rustc and cargo. Attempting to build fails at transitive dependencies, and it's easier to upgrade the compiler than to track down and hold offending depencencies as they come.
2022-06-29 14:59:45 +00:00
dcz 0aee348e30 Merge branch 'georgian-layout' into 'master'
Added Georgian layout

See merge request World/Phosh/squeekboard!558
2022-06-24 18:28:27 +00:00
dcz feefe3fec2 Merge branch 'fix' into 'master'
cargo: Halt overzealous upgrader

See merge request World/Phosh/squeekboard!559
2022-06-24 17:58:31 +00:00
Dorota Czaplejewicz 94aa0fa68f cargo: Halt overzealous upgrader
We're using a version of Cargo which doesn't support 2021 edition. The dependency Hashbrown 0.12 uses it, so we perform a minimal reshuffling to use 0.11.
2022-06-24 17:30:56 +00:00
dcz 49fc28f0a9 Merge branch 'dddoc' into 'master'
doc: Describe how to control debugging mode

See merge request World/Phosh/squeekboard!554
2022-06-14 15:23:43 +00:00
dcz ea73a34eb8 Merge branch 'layouts' into 'master'
state: Select the layout

See merge request World/Phosh/squeekboard!553
2022-06-14 15:23:14 +00:00
dcz f8ce24fdbf Merge branch 'keyboard-layout-it' into 'master'
Fixed missing characters in eschars view in italian layout.

See merge request World/Phosh/squeekboard!557
2022-06-11 10:09:58 +00:00
Dorota Czaplejewicz c1ceec3673 state: Become the source of layout choice
A redesign of popover was needed: it can no longer query the application state directly due to current state being its own actor, so instead the popover gets a dedicated copy of the relevant state.

I'm not entirely happy with the extra complexity of having an extra actor just for 1 string, but at least the duplication between C and Rust and mutual calls have been reduced.
2022-06-06 16:10:53 +00:00
Dorota Czaplejewicz 30141db28d main: Dry-load layout in response to the layout command 2022-06-06 16:10:53 +00:00
Dorota Czaplejewicz 8d0e1b4548 state: Use IM hint and purpose for layout selection 2022-06-06 16:10:53 +00:00
Dorota Czaplejewicz e6326b9b38 state: Use dummy layout command 2022-06-06 16:10:53 +00:00
Dorota Czaplejewicz b634e2bfa4 state: Decide panel arrangement
Combines arrangement with layout to get panel contents as outcome.

Includes some path syntax changes for 2018 compatibility.
2022-06-06 16:10:53 +00:00
Dorota Czaplejewicz 590cd71f49 state: Store layout override
Not used for any externally observable effects
2022-06-06 16:10:53 +00:00
Dorota Czaplejewicz 8ff72f312a state: Include layout choice in visible outcome
This is still in preparation and doesn't issue any observable effects.
2022-06-06 16:10:53 +00:00
Dorota Czaplejewicz bb22d9650b doc: Describe how to control debugging mode 2022-06-06 16:10:03 +00:00
Dorota Czaplejewicz 82774d2315 state: Record layout choice
This does not get plugged into anything but debug prints yet.
2022-06-04 17:47:09 +00:00
dcz 9d83910696 Merge branch 'add_fr_bepo_layout' into 'master'
Add FR+Bépo layout

See merge request World/Phosh/squeekboard!552
2022-06-03 11:56:13 +00:00
dcz af716f72da Merge branch '118' into 'master'
Release 1.18.0 "Dunbar's number"

See merge request World/Phosh/squeekboard!550
2022-06-01 13:40:58 +00:00
dcz 67e9316fe5 Merge branch 'cifix' into 'master'
glib: Fix import

See merge request World/Phosh/squeekboard!551
2022-06-01 13:17:46 +00:00
Dorota Czaplejewicz c0f57e7355 glib: Fix import 2022-04-28 15:28:36 +00:00
dcz a413146888 Merge branch 'dooc' into 'master'
docs: Describe layouts

See merge request World/Phosh/squeekboard!549
2022-04-28 15:05:38 +00:00
Dorota Czaplejewicz cb338129ca Release 1.18.0 "Dunbar's number"
New translations:
- Portugese
- Serbian
- Hungarian
- Turkish
- Polish
- Spanish
- Italian
- Korean
- Occitan
- Georgian

Updated layouts: greek, polytonic

Bug ixes and improvements:
- better panel sizing
- possible to enable debugging messages while Squeekboard is running
- input method state fix
2022-04-25 13:14:00 +00:00
Dorota Czaplejewicz 9e8a243439 Update Cargo lock 2022-04-25 13:00:44 +00:00
dcz d3e0ee8c0d Merge branch 'dc' into 'master'
docs improvements

See merge request World/Phosh/squeekboard!547
2022-04-25 12:14:32 +00:00
dcz 36474d3e9d Merge branch 'output_fix' into 'master'
Panel handling cleanup

See merge request World/Phosh/squeekboard!529
2022-04-21 07:28:38 +00:00
Dorota Czaplejewicz 111c0d157f docs: Describe layouts 2022-04-20 14:52:25 +00:00
dcz e6438503a5 Merge branch 'fix-i386-build' into 'master'
layout: fix build on i386

See merge request World/Phosh/squeekboard!548
2022-04-20 11:22:39 +00:00
Dorota Czaplejewicz 6867f48bf9 docs: Make index more logical 2022-04-17 07:35:32 +00:00
Dorota Czaplejewicz 71942f7221 docs: Link to reference 2022-04-17 07:31:29 +00:00
Dorota Czaplejewicz c486ad1eb3 docs: Update location 2022-04-17 07:25:56 +00:00
dcz 9adb593e8e Merge branch 'docs' into 'master'
Add docs to gitlab pages

See merge request World/Phosh/squeekboard!545
2022-04-17 06:24:37 +00:00
Dorota Czaplejewicz dae324f86d cargo: Add zbus to newer Debian 2022-04-13 18:06:13 +00:00
Dorota Czaplejewicz 2eec3372f3 panel: Split away panel handling
This reduces ServerContextService to a mere handler of "docked mode" gsetting.
2022-04-13 16:49:33 +00:00
dcz f6724c0948 Merge branch 'debug' into 'master'
Enable debugging at runtime

See merge request World/Phosh/squeekboard!526
2022-04-13 16:40:36 +00:00
dcz d21dba6a8f Merge branch 'clap' into 'master'
build: Update clap on newer Debian

See merge request World/Phosh/squeekboard!537
2022-04-12 14:11:02 +00:00
Dorota Czaplejewicz 0e2d459d5a CI: Add gitlab pages deployment 2022-04-09 18:34:14 +00:00
Dorota Czaplejewicz 89ad302255 CI: Build Rust code reference 2022-04-09 18:34:14 +00:00
dcz 494f9442c4 Merge branch 'allow-stretching' into 'master'
layout: allow stretching the layout by a small amount

See merge request World/Phosh/squeekboard!544
2022-04-09 18:05:20 +00:00
dcz 323fd7ea14 Merge branch 'phys_size' into 'master'
Physically-based sizing

See merge request World/Phosh/squeekboard!543
2022-04-08 17:30:04 +00:00
dcz 3167cfce9c Merge branch 'gr' into 'master'
layouts: Register gr_wide

See merge request World/Phosh/squeekboard!539
2022-04-07 15:16:03 +00:00
Dorota Czaplejewicz 8ea6f6d5c1 layouts: Register gr_wide 2022-04-07 14:59:06 +00:00
dcz 3b70116a15 Merge branch 'gro' into 'master'
layouts: Add Greek Polytonic

See merge request World/Phosh/squeekboard!540
2022-04-07 14:33:23 +00:00
Dorota Czaplejewicz 397f5e126e state: Add sizing unit test 2022-04-07 14:30:46 +00:00
Dorota Czaplejewicz 14d7d5d4e0 Clean up size types 2022-04-06 16:03:31 +00:00
Dorota Czaplejewicz 6528879fed state: Derive panel size from physical click target size 2022-04-06 15:53:37 +00:00
Dorota Czaplejewicz 57aeeaa882 output: Store physical size 2022-04-06 08:58:41 +00:00
Dorota Czaplejewicz bbceba7e9b debug: Add dbus interface to control debug prints 2022-04-05 14:19:52 +00:00
dcz 5a210712f6 Merge branch 'fix' into 'master'
Fix scaling to set height

See merge request World/Phosh/squeekboard!535
2022-04-05 11:55:55 +00:00
Dorota Czaplejewicz bb8bba163e layouts: Add Greek Polytonic
By Antonis Tsolomitis <atsol@aegean.gr>
2022-04-05 11:41:27 +00:00
dcz a1664630ed Merge branch 'testing_updated_gr_and_new_gr_wide' into 'master'
Update gr.yaml to take advantage of more space per symbol. Creation of a wide variant...

See merge request World/Phosh/squeekboard!532
2022-04-05 10:02:05 +00:00
Dorota Czaplejewicz 479f1befc9 Merge branch 'dont-reset-state-on-done' into HEAD 2022-04-05 09:59:56 +00:00
Dorota Czaplejewicz 29b30fbe22 panel: Use scaling to set height 2022-04-05 09:26:11 +00:00
Dorota Czaplejewicz 1ccc663c48 build: Update clap on newer Debian 2022-04-05 09:17:04 +00:00
dcz 7c43528ebf Merge branch 'fix_meson' into 'master'
build: Replace missing crates.io dependency with Purism-hosted one

See merge request World/Phosh/squeekboard!536
2022-04-05 09:16:12 +00:00
Dorota Czaplejewicz 7f4c823c1e ci: Allow failure on sid 2022-04-04 17:54:31 +00:00
Dorota Czaplejewicz d19050e06d build: Replace missing crates.io dependency with Purism-hosted one 2022-04-04 17:48:54 +00:00
dcz 59c3da0344 Merge branch 'v1.17.0' into 'master'
Release 1.17.0 "Ergodicity"

See merge request World/Phosh/squeekboard!531
2022-03-08 10:15:13 +00:00
Dorota Czaplejewicz c912b73c4b Release 1.17.0 "Ergodicity"
New translations:
- Hebrew (thanks Yosef Or Boczko)
- Galician (Fran Dieguez)

New Romanian layout (thanks Cosmin Humeniuc)

Others:
- Updated visual design
- Sizing system rework
- Fix crash without dbus (thanks William Wold)
2022-02-26 11:10:49 +00:00
Dorota Czaplejewicz 7b8ba7ab82 cargo: Update lockfile 2022-02-26 11:05:57 +00:00
dcz dd2871b6bb Merge branch 'output' into 'master'
Derive panel size from outputs

See merge request World/Phosh/squeekboard!528
2022-02-26 10:49:52 +00:00
dcz 216deecd33 Merge branch 'dbus-check-null' into 'master'
Check if dbus handler is null before using

See merge request World/Phosh/squeekboard!530
2022-02-26 10:49:12 +00:00
Dorota Czaplejewicz 16d6871422 panel: Apply a hard limit of 1/2 height 2022-02-04 09:40:21 +00:00
Dorota Czaplejewicz 78ff02e255 output: Use new source of panel height information
This removed duplicate calculation of ideal height as well.
2022-02-04 09:40:21 +00:00
Dorota Czaplejewicz a3f91701d0 outputs: Remove ui manager 2022-02-04 09:40:21 +00:00
Dorota Czaplejewicz 697be64418 visibility: Forward panel height information to window creation 2022-02-04 09:40:21 +00:00
Dorota Czaplejewicz a4b67c65ff Don't reach for globals to choose output
This actually removes the size request from panel creation. Incidentally, this still works becuae the following configure event gets the sizes from glib.
2022-02-04 09:40:21 +00:00
Dorota Czaplejewicz f040e708a4 Carry output information on visible command all the way to C 2022-02-04 09:40:18 +00:00
Dorota Czaplejewicz e6c19a1e6a deps: Vendor assert_matches
The library is small and simple enough to be considered "finished". In addition, it doesn't seem to be shipped by Debian.

In relation to its usefulness, it's little effrt to copy it.
2022-02-04 09:38:06 +00:00
dcz 98ecce518b Merge branch 'tiny' into 'master'
Output sensing

See merge request World/Phosh/squeekboard!524
2022-02-02 17:41:14 +00:00
dcz 500375dcf2 Merge branch 'doc' into 'master'
docs: Detail the release process better

See merge request World/Phosh/squeekboard!523
2022-02-01 16:33:03 +00:00
dcz dfcb3ce020 Merge branch 'layout_ro' into 'master'
Add Romanian layout

See merge request World/Phosh/squeekboard!525
2022-01-30 17:52:57 +00:00
dcz 5cf007f419 Merge branch 'Torbuntu-master-patch-58062' into 'master'
Make compatible with latest cargo deps

See merge request World/Phosh/squeekboard!527
2022-01-30 17:47:57 +00:00
Dorota Czaplejewicz 3f598086b7 Store preferred output 2022-01-30 12:43:17 +00:00
dcz dfe2c60646 Merge branch 'snwh-master-patch-66054' into 'master'
data: Update stylesheet with upstream design

Closes #322

See merge request World/Phosh/squeekboard!520
2022-01-29 11:36:08 +00:00
Dorota Czaplejewicz 3b0b8bea0d Save outputs state 2022-01-28 15:26:22 +00:00
Dorota Czaplejewicz f15f97d4c9 outputs: Handle removal
Currrently, Squeekboard doesn't do anything with this information.

It still expects one output to be present, or it will crash.
2022-01-26 15:19:58 +00:00
Dorota Czaplejewicz d3eb68ed5a outputs: Notify the state manager about changes 2022-01-26 15:19:58 +00:00
Dorota Czaplejewicz 14a485deba outputs: Clean up for more Rust usage 2022-01-26 15:19:58 +00:00
Dorota Czaplejewicz 236f7d4daf ffi: Remove unnecessary pointers to InputMethod
InputMethod is already a pointer.
2022-01-26 15:19:58 +00:00
Dorota Czaplejewicz f4f44a49ae wayland: Move initialization to the Rust side
This will help make the init procedure safer, by limiting the number of Rust objects that need to be carried to the C side and may be mangled on the way there.

The second benefit is that it allows outputs to become part of new state management.
2022-01-26 15:19:58 +00:00
Dorota Czaplejewicz 1b72cbdfaa docstrings: Clarify the purpose of Receiver 2022-01-26 15:19:58 +00:00
Dorota Czaplejewicz ff3f7228b5 cleanup: Remove unused header lines 2022-01-26 15:19:58 +00:00
Dorota Czaplejewicz d49ce45de0 Release 1.16.0 "Clostridium botulinum"
This release contains fixes that make the project's dependencies more reliable, and therefore less likely to blow up when the world changes.

Apart from that, there are a lot of extra translations:
- Brazilian Portugese (Rafael Fontenelle)
- Ukrainian (Yuri Chornoivan)
- Swedish (Luna Jernberg)
- Friulian (Fabio Tomat)
- Romanian (Daniel Șerbănescu)
- Slovenian (Matej Urbančič)
- Dutch (Nathan Follens)
- Finnish (Jiri Grönroos)
- Persian (Danial Behzadi)
- Catalan (Jordi Mas i Hernandez)
2022-01-25 11:26:26 +00:00
Dorota Czaplejewicz a341fca43a cargo: Bump dependencies 2022-01-25 11:23:25 +00:00
Dorota Czaplejewicz db6109b298 docs: Detail the release process better 2022-01-25 11:22:31 +00:00
dcz 145d12d01a Merge branch 'fix' into 'master'
CI: Use byzantium as the base

See merge request World/Phosh/squeekboard!521
2022-01-24 19:34:16 +00:00
Dorota Czaplejewicz 506df8cf15 CI: Use byzantium as the base
Bookworm diverged from Byzantium, leading to incompatible dependencies.
2022-01-24 19:12:51 +00:00
dcz 21ecbb3ef3 Merge branch 'entry4' into 'master'
Add a GTK4 keyboard hint test tool

See merge request World/Phosh/squeekboard!518
2022-01-21 13:15:24 +00:00
dcz ebc2dd39f6 Merge branch 'vers' into 'master'
build: Pin transitive dependencies

Closes #321

See merge request World/Phosh/squeekboard!519
2022-01-19 17:06:27 +00:00
dcz 71768e27c0 Merge branch 'noreg' into 'master'
ci: Use bookworm image

See merge request World/Phosh/squeekboard!510
2022-01-19 16:49:21 +00:00
Dorota Czaplejewicz aaac755869 cargo: Update Cargo.lock with pinned dependencies 2022-01-19 16:33:33 +00:00
Dorota Czaplejewicz 0430ba9213 build: Pin transitive dependencies
gtk-sys and cairo-sys were set to "anything" in the hope that the dependency resolver in cargo would use the same version as other dependencies, which consume objects from them.
That's not the case though, and they went out of sync.
This pins the dependencies to what is de facto being used.
2022-01-19 16:33:33 +00:00
dcz d76b385316 Merge branch 'droidbittin-master-patch-70834' into 'master'
Update LINGUAS

See merge request World/Phosh/squeekboard!516
2021-12-22 14:45:01 +00:00
dcz 4dd4c8c319 Merge branch 'master' into 'master'
Add Swedish Translation

See merge request World/Phosh/squeekboard!515
2021-12-22 13:33:27 +00:00
dcz 67d2f8d8e6 Merge branch 'po-popover' into 'master'
po: Fix ui file name

See merge request World/Phosh/squeekboard!514
2021-12-22 10:36:38 +00:00
Dorota Czaplejewicz 23ae771605 Release 1.15.0 "Feedback loop"
This release adds new layouts, and new types of layout, plus fixes a regular allotment of bugs, and improvs the internal design a whole lot.

Here are the changes that you might notice without digging into code.

Layouts:
- Arabic layout from Khaled Eldoheiri
- Swiss French from Jordi
- Bulgarian from Plamen Stoev
- Swiss German from Patrick Jörg
- Armenian from Norayr Chilingarian
- Wide French terminal from Arnaud Ferraris
- PIN layout

Improvements:
- Integration into GNOME translations
- A debug mode that starts the GTK inspector
- Better errors when can't start
- Better docs (thanks PhilProg)

Bug fixes:
- Unblurred icons
- Not showing on the lock screen for no reason
- Theme changes without restarting now
- Input hint can take effect without having to refocus the field
2021-12-19 14:14:55 +00:00