Commit Graph

2236 Commits

Author SHA1 Message Date
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
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
v1.20.0
2022-09-03 14:28:35 +00:00
fd3ade8ac4 build: Update Cargo.lock.newer 2022-09-03 14:17:52 +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
870c023414 data: Indicate that Squeekboard provides haptic feedback
This makes the feedback used configurable in Phosh Mobile Settings.
2022-09-02 10:29:32 +00:00
0d3b569553 data: Set an icon in the desktop file
This helps apps like GNOME Usage or Phosh Mobile Settings show something
nice on the Squeekboard's entry.
2022-09-02 10:29:32 +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
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
bf18f05f74 Add Croatian translation 2022-08-31 07:49:50 +00:00
9f4c5e2264 Add Greek translation 2022-07-11 20:12:35 +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
0339a4a50f added US Dvorak Terminal 2022-07-11 06:54:09 +00:00
4ae78b89c6 state: Don't animate when force-hidden 2022-07-08 05:34:36 +00:00
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.
v1.19.0
2022-07-06 06:12:46 +00:00
ec7116053f build: Update Cargo.lock 2022-07-06 06:08:13 +00:00
cc7657e78c Merge branch 'leak' into 'master'
gtk: Persist panel state

See merge request World/Phosh/squeekboard!563
2022-07-06 06:03:27 +00:00
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
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
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
7f9baa8021 Added Georgian layout 2022-06-24 18:28:21 +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
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
c86161d5b5 Add Russian translation 2022-06-18 21:22:20 +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
d797ee223b Replaced foreign characters. 2022-06-10 21:25:06 +00:00
267b0745a2 Fixed missing characters in eschars view in italian layout. 2022-06-10 18:41:36 +00:00
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
30141db28d main: Dry-load layout in response to the layout command 2022-06-06 16:10:53 +00:00
8d0e1b4548 state: Use IM hint and purpose for layout selection 2022-06-06 16:10:53 +00:00
e6326b9b38 state: Use dummy layout command 2022-06-06 16:10:53 +00:00
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
590cd71f49 state: Store layout override
Not used for any externally observable effects
2022-06-06 16:10:53 +00:00
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
bb22d9650b doc: Describe how to control debugging mode 2022-06-06 16:10:03 +00:00
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
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
b54922b021 Add French translation 2022-05-25 15:21:05 +00:00
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
ccc90e1677 Add Chinese (China) translation 2022-04-25 16:44:09 +00:00