Commit Graph

2230 Commits

Author SHA1 Message Date
Vladimir c103b84fa6 Bulgarian language keyboard layout 2020-12-10 19:42:28 +00:00
Dorota Czaplejewicz 9a72db2fcc Merge branch 'esperanto' 2020-12-07 15:33:01 +00:00
Stefan Grotz 61a84c47f1 Esperanto keyboard
Fixed by Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm>
2020-12-07 15:32:37 +00:00
Sebastian Krzyszkowiak a9ecc13185 Merge branch 'fallback' into 'master'
Better fallbacks

See merge request Librem5/squeekboard!415
2020-12-05 04:16:44 +00:00
Sebastian Krzyszkowiak 7143fb2497 Merge branch 'central_visible' into 'master'
Central visibility policy

See merge request Librem5/squeekboard!409
2020-12-05 04:12:01 +00:00
Dorota Czaplejewicz c6cc58fd8e ffi: Eliminate squeek_button and squeek_row 2020-12-04 17:34:53 +00:00
Dorota Czaplejewicz 9522d4e302 renderer: Bring button drawing closer to Rust 2020-12-04 15:35:02 +00:00
Dorota Czaplejewicz 8f62520648 view: Ąto-unlatching when multiple latching buttons pressed
Best seen in the PL layout, where to get to Ą, two buttons must be latched: Capitals, and then Accents.
2020-12-04 10:02:04 +00:00
Dorota Czaplejewicz e36c4e597f layout: Remove the little abomination of view change promise
It didn't make anything more testable due to being tightly coupled to Layout.
With the last place needing the curent form abolished, it's no longer needed.

No attempt to make it more stateless and unit-testable was made though.
2020-12-03 19:56:48 +00:00
Dorota Czaplejewicz 8ab6997b21 layout: Plug in stateless view switching 2020-12-03 19:44:26 +00:00
Dorota Czaplejewicz 3b06eadef5 layout: Add stateless view switching
Tested, but not yet plugged in.
2020-12-03 19:35:50 +00:00
Dorota Czaplejewicz 287e851770 layout: Latch keys when clicked twice
Third click unlatches. No actual UI indication.
2020-12-03 18:42:24 +00:00
Guido Gunther dfee95430d Merge branch 'release' into 'master'
Reproducible build

See merge request Librem5/squeekboard!413
2020-12-03 17:18:50 +00:00
Dorota Czaplejewicz fcd0eaddf2 layouts: Simplify the main flow of source list 2020-12-03 16:26:47 +00:00
Dorota Czaplejewicz ba2e191918 layouts: Use base as fallback for alternative layouts 2020-12-03 16:15:22 +00:00
Dorota Czaplejewicz cc4f14e8c6 data: Flattened layout fallback function 2020-12-03 15:47:44 +00:00
Dorota Czaplejewicz 103e64b96c data: Made data flow in fallback clearer 2020-12-03 15:45:45 +00:00
Dorota Czaplejewicz 2796362d34 build: Fail on any C warnings when strict 2020-12-03 15:26:54 +00:00
Dorota Czaplejewicz af00d74f71 build: Enable wformat to remove warnings about missing wformat 2020-12-03 15:26:28 +00:00
Dorota Czaplejewicz 02d579d757 build: Enable unused warnings in C
The goal is to be free of unused X class of problems. For this, CI and any "serious" builds will fail on warnings. Debug builds, used in development, will warn by default but not fail.

In addition, the 'strict' build option is added for when the debug build should fail on unused warnings as well.
2020-12-03 15:21:58 +00:00
Dorota Czaplejewicz 01d06d0f5f Merge branch 'keyboard-layout-us+colemak' into 'master'
Added US Colemak Keyboard Layout

See merge request Librem5/squeekboard!403
2020-12-03 15:13:11 +00:00
Dorota Czaplejewicz 1d1c98c27a Merge branch 'f/czech-layouts' into 'master'
Add Czech keyboard layouts

See merge request Librem5/squeekboard!414
2020-12-03 14:42:04 +00:00
Henry-Nicolas Tourneur 696d77293e d/rules: export RUSTFLAGS only on architecture that needs it
Altered from original to take reproducibility into account. Not tested on mips64el.
2020-12-03 14:34:38 +00:00
Guido Gunther 225c204e37 Merge branch 'armel' into 'master'
Mipsel compat

See merge request Librem5/squeekboard!412
2020-12-03 10:30:19 +00:00
Jiří Stránský c3b428e517 Add Czech keyboard layouts
Two variants:

* Czech Standard (= qwertz)

* Czech qwerty

The accented letters layout corresponds to the UCW [1] layout shipped
with xkb, so we follow this precedent.

Like the DE layout, and unlike the US layout, the CZ layout has a
comma key and a narrower space bar. The added comma key also serves as
a visual balance to the added accents key, to keep the spacebar
centered.

The layouts have been tested manually on PinePhone.

[1] https://github.com/xkbcommon/libxkbcommon/blob/c60b77ea512bef92e481be38972b58dd71a34180/test/data/symbols/cz#L180
2020-11-29 17:28:50 +01:00
Dorota Czaplejewicz 1fe6d65525 tests: Allow legacy mode to have much longer tests. 2020-11-29 12:53:35 +00:00
Dorota Czaplejewicz 39a3c40d67 debian: Build reproducibly 2020-11-29 10:42:24 +00:00
Dorota Czaplejewicz 963f52bbc3 tests: Explicitly pass source directory to tests 2020-11-29 10:42:20 +00:00
Dorota Czaplejewicz 9dcc4c9868 tests: Prefer the env var for finding test layouts
The builtin file path is embedded in the binary and subject to substitution, which makes it invalid when trying to build a .deb reproducibly.

Out of the two solutions, it's easier to make the change here rather than customize .debu building not to run tests reproducibly.
2020-11-28 18:57:54 +00:00
Dorota Czaplejewicz df8e885983 build: Fix release 2020-11-28 18:57:46 +00:00
Henry-Nicolas Tourneur 540c4d9c05 d/rules: export RUSTFLAGS only on architecture that needs it 2020-11-23 14:10:09 +00:00
Henry-Nicolas Tourneur 42483234e3 d/rules: fix an FTBFS on mips64el with GOT > 64kb 2020-11-23 14:09:37 +00:00
Dorota Czaplejewicz c9f9a3b577 Merge branch 'cargo' into 'master'
docs: Correct Cargo update instructions

See merge request Librem5/squeekboard!398
2020-11-23 09:16:59 +00:00
Dorota Czaplejewicz 81041b8035 Merge branch 'wannaphong-master-patch-05164' into 'master'
Add thai keyboard

See merge request Librem5/squeekboard!402
2020-11-23 08:17:29 +00:00
Wannaphong Phatthiyaphaibun c731124f7b escape " on thai keyboard 2020-11-23 03:43:49 +00:00
Sebastian Krzyszkowiak fca8984225 Merge branch '1.11.1' into 'master'
Release 1.11.1

See merge request Librem5/squeekboard!411
2020-11-23 02:48:03 +00:00
Wannaphong Phatthiyaphaibun bd6ab663c0 Update meson.build 2020-11-22 19:14:21 +00:00
Dorota Czaplejewicz 4049e66307 Release 1.11.1 "Diploid"
Bug fix release:
- Fixes to German layout
- Fixed showing the panel right after starting
v1.11.1
2020-11-21 11:09:37 +00:00
Dorota Czaplejewicz 046a516a11 cargo: Update deps 2020-11-21 11:03:45 +00:00
Dorota Czaplejewicz b5d1e8c3eb Merge branch 'keyboard-layout-german-move-semicolon' into 'master'
keyboard: Move semicolon in German layout to numbers view replacing redundant comma key

See merge request Librem5/squeekboard!410
2020-11-20 18:33:01 +00:00
Mark Müller aee296ad96 keyboard: Move semicolon in German layout to numbers view replacing redundant comma key 2020-11-20 18:30:35 +01:00
Sebastian Krzyszkowiak 5f59db478a Merge branch 'visible' into 'master'
Manage visibility better

Closes #253

See merge request Librem5/squeekboard!408
2020-11-20 01:57:35 +00:00
Dorota Czaplejewicz dda070e84e Merge branch 'race' into 'master'
imservice: Set up UI according to current needs when it shows up

See merge request Librem5/squeekboard!407
2020-11-19 19:04:22 +00:00
Dorota Czaplejewicz 17db3db296 visibility: Centralize keyboard panel visibility policy and handling
With the policy being disentangled from application, it becomes testable.
This prepares for moving the entire visibility mechanism to the new class and taking away more pieces of ServerContextService.
In addition, this is a good warmup before trying to implement sizing policy.
2020-11-19 09:49:51 +00:00
Dorota Czaplejewicz ebbb3b1138 UI: Keep visibility factors in a central place 2020-11-18 19:29:42 +00:00
Dorota Czaplejewicz 277986bcdf imservice: Set up UI according to current needs when it shows up 2020-11-18 18:38:24 +00:00
Dorota Czaplejewicz 96461cf2aa Merge branch 'keyboard-layout-german-fix-semicolon' into 'master'
keyboard: Fix semicolon in German layout

Closes #226

See merge request Librem5/squeekboard!406
2020-11-14 20:29:56 +00:00
Mark Müller 2029f48b4d keyboard: Fix semicolon in German layout 2020-11-14 20:36:23 +01:00
Sebastian Krzyszkowiak 943d2de536 Merge branch '1.11' into 'master'
Release 1.11.0

See merge request Librem5/squeekboard!405
2020-11-14 17:20:44 +00:00
Dorota Czaplejewicz 5aa7334787 Release 1.11.0 "Perceptron"
This is a special Evergreen release with only 2 changes:

- don't delay hiding when explicitly requested to hide,
- fix typo in Friulian translation.
v1.11.0
2020-11-14 06:49:00 +00:00