1923 Commits

Author SHA1 Message Date
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
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
8ab6997b21 layout: Plug in stateless view switching 2020-12-03 19:44:26 +00:00
3b06eadef5 layout: Add stateless view switching
Tested, but not yet plugged in.
2020-12-03 19:35:50 +00:00
287e851770 layout: Latch keys when clicked twice
Third click unlatches. No actual UI indication.
2020-12-03 18:42:24 +00:00
dfee95430d Merge branch 'release' into 'master'
Reproducible build

See merge request Librem5/squeekboard!413
2020-12-03 17:18:50 +00:00
fcd0eaddf2 layouts: Simplify the main flow of source list 2020-12-03 16:26:47 +00:00
ba2e191918 layouts: Use base as fallback for alternative layouts 2020-12-03 16:15:22 +00:00
cc4f14e8c6 data: Flattened layout fallback function 2020-12-03 15:47:44 +00:00
103e64b96c data: Made data flow in fallback clearer 2020-12-03 15:45:45 +00:00
2796362d34 build: Fail on any C warnings when strict 2020-12-03 15:26:54 +00:00
af00d74f71 build: Enable wformat to remove warnings about missing wformat 2020-12-03 15:26:28 +00:00
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
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
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
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
225c204e37 Merge branch 'armel' into 'master'
Mipsel compat

See merge request Librem5/squeekboard!412
2020-12-03 10:30:19 +00:00
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] c60b77ea51/test/data/symbols/cz (L180)
2020-11-29 17:28:50 +01:00
1fe6d65525 tests: Allow legacy mode to have much longer tests. 2020-11-29 12:53:35 +00:00
39a3c40d67 debian: Build reproducibly 2020-11-29 10:42:24 +00:00
963f52bbc3 tests: Explicitly pass source directory to tests 2020-11-29 10:42:20 +00:00
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
df8e885983 build: Fix release 2020-11-28 18:57:46 +00:00
540c4d9c05 d/rules: export RUSTFLAGS only on architecture that needs it 2020-11-23 14:10:09 +00:00
42483234e3 d/rules: fix an FTBFS on mips64el with GOT > 64kb 2020-11-23 14:09:37 +00:00
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
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
c731124f7b escape " on thai keyboard 2020-11-23 03:43:49 +00:00
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
bd6ab663c0 Update meson.build 2020-11-22 19:14:21 +00:00
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
046a516a11 cargo: Update deps 2020-11-21 11:03:45 +00:00
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
aee296ad96 keyboard: Move semicolon in German layout to numbers view replacing redundant comma key 2020-11-20 18:30:35 +01:00
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
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
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
ebbb3b1138 UI: Keep visibility factors in a central place 2020-11-18 19:29:42 +00:00
277986bcdf imservice: Set up UI according to current needs when it shows up 2020-11-18 18:38:24 +00:00
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
2029f48b4d keyboard: Fix semicolon in German layout 2020-11-14 20:36:23 +01:00
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
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
955a138849 Update dependencies 2020-11-14 06:44:23 +00:00
44c80a0406 Merge branch 'fix_delay' into 'master'
ui: Cancel hiding delay when activity requested again

See merge request Librem5/squeekboard!404
2020-11-14 06:36:23 +00:00
12c9ca1e02 ui: Cancel hiding delay when activity requested again 2020-11-14 06:09:37 +00:00
91acfa0138 Merge branch 'patch-1' into 'master'
Update fur-IT.txt fix typo for Spanish

See merge request Librem5/squeekboard!401
2020-11-10 14:39:18 +00:00
cf09d1b3bc Added US Colemak Keyboard Layout 2020-11-02 13:27:27 -05:00
81fb7e0df3 Update resources.rs 2020-11-01 09:42:27 +00:00
0e533c5e94 Add thai keyboard 2020-10-31 18:55:32 +00:00