Commit Graph

51 Commits

Author SHA1 Message Date
6f7252ec7c tests: Add some description to the list of tested layouts
Contributors have started to make it messy.
2020-12-12 07:40:51 +00:00
8dd92c81e7 bulgarian add translation and to needed lists 2020-12-11 22:06:39 +02:00
9a72db2fcc Merge branch 'esperanto' 2020-12-07 15:33:01 +00:00
61a84c47f1 Esperanto keyboard
Fixed by Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm>
2020-12-07 15:32:37 +00:00
dfee95430d Merge branch 'release' into 'master'
Reproducible build

See merge request Librem5/squeekboard!413
2020-12-03 17:18:50 +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
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
bd6ab663c0 Update meson.build 2020-11-22 19:14:21 +00:00
cf09d1b3bc Added US Colemak Keyboard Layout 2020-11-02 13:27:27 -05:00
eeb7e252c7 Revert "Add friulian keyboard"
This reverts commit 16ccb5fd341fbdeff04b1540f99fe9cbe1c27df1
2020-10-19 08:44:16 +00:00
2f613ea4c7 Merge branch 'x11_prepare' into 'master'
Cleanups leading to Xwayland compatibility

See merge request Librem5/squeekboard!389
2020-10-12 12:45:13 +00:00
8f526bd357 tests: Check for missing return in builtin layouts except emoji 2020-10-12 10:51:23 +00:00
6871452c7b keyboards: add wide terminal layout
This is a copy of the `terminal` layout with modified key dimensions to 
fit a wide arrangement.
2020-10-10 01:40:12 +02:00
192824be39 keyboards: add wide Belgian layout
This is a copy of the `be` layout with modified key dimensions to fit a 
wide arrangement.
2020-10-10 01:38:54 +02:00
938d3c335e keyboards: add wide French layout
This is a copy of the `fr` layout with modified key dimensions to fit a 
wide arrangement.
2020-10-10 01:37:57 +02:00
Al
72bd265065 alphabetical order for src/resources.rs tests/meson.build 2020-10-01 14:54:22 +02:00
Al
4357052fe7 proposal for belgian layout (copy of fr) 2020-09-30 15:42:31 +02:00
820a8b6ca1 Add Ukrainian keyboard layout.
Fixes https://source.puri.sm/Librem5/squeekboard/-/issues/223

Signed-off-by: Nazarii Kretovych <nazarii.kretovych@gmail.com>
2020-09-14 08:34:09 +03:00
c87b61d065 Brazilian Portuguese Keyboard Layout. 2020-07-20 09:47:19 +00:00
ecfc45c2de build: Make compatible with Debian Bullseye
This commit is a bit bigger than it could have: Meson changes could have gone in separately from CI and Debian.

This commit looks more complicated than it should reasonably be. Alas, Cargo is a piece of work, and it doesn't let honest people just choose different versions of dependencies, leading to a cascade of misery. Several things were tried to curb the disaster:

- Cargo [feature] supports choosing dependencies, but doesn't support specifying dependency versions
- Cargo has a cfg() syntax in sections for choosing dependencies by build options, but it explicitly doesn't support selecting on features…
- Cargo allows choosing different dependencies based on features, so perhaps dependencies with different versions could live in stub crates pulled in as needed? Nope! If a dependency doesn't exist in the repo (and that's the point here), Cargo throws up its hands.

This means Cargo.toml needs to be generated based on the build type. More misery:

- we lose the simplicity of just doing `cargo.sh` for simple housekeeping like deps updates. HACKING.md was updated to reflect that. Perhaps that's inevitable - build options need to be like this.
- Some flaky adjustments needed in `cargo.sh` because of an additional argument that can be mistaken for an argument to the exec in `cargo run`.
- Specifying a custom `Cargo.toml` means Cargo can no longer find any tests, examples, benchmarks, or binaries, because it searches relative to the directory of `Cargo.toml`, which is now the build dir. Extra care needed to not forget about them now.

As soon as Cargo allows anything better for managing deps versions, the above should be undone in its favor.

Good side is that a couple bugs went away:

- build flags not always making it to Cargo
- arm64 builds were optional while they shouldn't
- test layouts in unit tests are loaded from an explicit directory now

The Bullseye versions of dependencies are canonical now, Buster considered legacy.
2020-06-24 15:51:21 +00:00
7fed1339ed add test for danish layout 2020-05-26 16:37:14 +02:00
ef85823528 Fresh Russian layout 2020-05-20 17:59:22 +00:00
2a20bbbf2a tests: add french layout 2020-04-27 09:51:40 +02:00
aadcdbf276 Merge branch 'langs' into 'master'
Update translations & greek

See merge request Librem5/squeekboard!315
2020-02-05 11:05:42 +00:00
b9db00c00c layouts: Add Polish layouts 2020-01-30 21:19:13 +01:00
7f32c5cf23 greek: Rename to gr which is used by gnome settings 2020-01-28 19:17:47 +00:00
674bef2b00 terminal: Use a rudimentary layout on input hint 2019-12-24 14:33:58 +00:00
bafd1e6eb3 popover: Install emoji layout
In order to do that, an additional piece of state (layout switcher) was exposed to the event handlers, a separation between squeekboard-only and system layouts was introduced, along with a Translation structure to prevent mixing up strings.
2019-12-24 10:41:02 +00:00
16289c6f82 layout: add Japanese Kana wide layout 2019-12-09 11:12:48 +00:00
358b25c431 layout: add German wide layout 2019-12-07 14:39:43 +00:00
f284627beb Merge branch 'release' into 'master'
Use Cargo release flag

See merge request Librem5/squeekboard!256
2019-11-29 15:33:00 +00:00
20a6cf52ac layouts: Rename ja+kana to jp+kana 2019-11-20 10:23:05 +00:00
0adde1004f cargo: Use release mode for release builds 2019-11-19 13:50:36 +00:00
e47ec16293 Merge branch 'fi' into 'master'
Finnish layout

See merge request Librem5/squeekboard!240
2019-11-12 14:51:44 +00:00
6fe08967f6 fi: add tests 2019-11-12 14:44:37 +00:00
8024998a4b Rename the nb layout to no, fixing input source selection 2019-11-11 19:36:58 +00:00
95022c1ac7 Rename file, add it to resources and tests 2019-11-01 16:50:13 +01:00
35ad61890e layouts: Add us_wide 2019-10-29 13:21:46 +00:00
bdef7b3516 Merge remote-tracking branch 'kareema/japanese-kana-keyboard-layout' into HEAD 2019-10-24 18:09:16 +00:00
0b5aa1ba7c layouts: Add German keyboard layout 2019-10-24 18:03:23 +00:00
d62abc2f12 layouts: Add Japanese Kana keyboard layout 2019-10-19 21:30:23 +02:00
a31f9b5e04 layout: Register it 2019-10-02 18:39:44 +00:00
854a9bb22e layouts: Add Greek
Greek layout created by Antonis Tsolomitis
University of the Aegean, Department of Mathematics, atsol@aegean.gr
2019-10-02 17:56:16 +00:00
938ba53a38 es layout: Add to resources and testing 2019-09-28 21:53:24 +00:00
e7d30d933f build: Simplified the calling of cargo.sh 2019-09-24 11:27:01 +00:00
c8cc5b1997 layout: Bundle number layout 2019-09-13 09:11:20 +00:00
edb28cb859 tests: Verify all bundled layouts 2019-09-13 09:09:17 +00:00
b84c402c4a WIP
WIP

WIP: keymap generation test passes

meta: Update features and version

WiP: cargo.lock

WIP: don't crash

WIP: no outlines

parsing: New tests

WIP: base level works

WIP: remove old keyboard

symbols correctly input

WIP: lodaing files

WIP: fallback works

Valid fallback
2019-09-04 09:44:31 +00:00
2f0beb6d3a Add a simple test of keymap generation 2019-07-25 22:25:30 +02:00