Commit Graph

2353 Commits

Author SHA1 Message Date
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
Laurent Laffont c75723b705 Add FR+Bépo layout 2022-06-01 21:02:21 +02: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
Éloi Rivard b54922b021 Add French translation 2022-05-25 15:21:05 +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
Luke Luo ccc90e1677 Add Chinese (China) translation 2022-04-25 16:44:09 +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
v1.18.0
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
Zurab Kargareteli 2e2c8ab2cb Add Georgian translation 2022-04-23 16:52:05 +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
Arnaud Ferraris 58c7fe98b8 layout: fix build on i386
Due to the (lack of) precision of floating-point values, comparison
results may differ slightly between architectures, leading to the
`check_stretching` test failing when building for i386. This can be
fixed by adjusting the value against which we compare the ratio between
x/y scaling factors in `calculate_transformation`.
2022-04-20 12:43:20 +02: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
Quentin PAGÈS 05e7cde8fa Add Occitan translation 2022-04-17 07:21:42 +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
Sebastian Krzyszkowiak 073326f31b Merge branch 'zbus' into 'master'
cargo: Add zbus to newer Debian

See merge request World/Phosh/squeekboard!546
2022-04-15 22:36:05 +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
Sungjoon Moon af8b688d94 Add Korean translation 2022-04-13 09:31:50 +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
Arnaud Ferraris 68087a125c layout: allow stretching the layout by a small amount
Due to the way the panel size is calculated, there might be a small
empty space on the sides or top of the layout. This can be an issue,
especially when this empty space is located on the sides, as touch
events in this area are not taken into account.

By allowing a small difference in horizontal and vertical scaling, we
can ensure the panel occupies the whole display width in cases where
this would be problematic.
2022-04-09 16:43:06 +02: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