Commit Graph

745 Commits

Author SHA1 Message Date
Patrick Jörg cce1f6b817 Added ch_wide 2021-06-27 19:04:07 +02:00
Patrick Jörg 6409ff3748 Introducing ch+de layout and modified ch.yaml fallback
Autor:           Patrick Jörg <patrickjoerg@gmx.ch>
2021-06-08 18:48:38 +00:00
Patrick Jörg e073434781 Introduce Swiss German keyboard layout 2021-06-08 18:29:07 +00:00
Dorota Czaplejewicz 83942c27b8 Merge branch 'error-on-no-layer-shell' into 'master'
Show error when compositor doesn't support Layer Shell

Closes #284

See merge request Librem5/squeekboard!466
2021-06-05 16:21:30 +00:00
William Wold 9eb397151f Show error when Layer Shell is not supported 2021-06-03 11:39:45 -07:00
Plamen Stoev 5c5475d508 Add 'bg' layout
This is the Bulgarian (BDS) layout. I took the liberty to remove "э"
from the layout, as it is not part of the Bulgarian alphabet and it was
left there for historical reasons, also not to mess with the layouts for
physical keyboards. Removing it gives more space for the shift_l and
backspace keys.

I've also added the letter "small i with grave" to the special symbols, as
it is occasionally used in Bulgarian.
2021-05-27 18:19:27 +03:00
Plamen Stoev 389aedac8d Rename bg to bg+phonetic
The 'bg' layout is actually the 'bg+phonetic' layout.
Mark it as such.
2021-05-26 08:04:44 +03:00
Jordi 7f0749483e Introduce Swiss French keyboard layout 2021-05-23 17:06:26 +02:00
Khaled Eldoheiri ebc8eafa07 Introduce Arabic keyboard layout
Signed-off-by: Khaled Eldoheiri <khalid@kdehairy.com>
2021-05-22 15:39:39 +02:00
Dorota Czaplejewicz 5cb70a096c Merge branch 'popover' into 'master'
popover: Allow spanning outside panel area

See merge request Librem5/squeekboard!455
2021-05-15 12:24:22 +00:00
anteater f71e769315 remove some unnecessary unsafe code 2021-05-10 17:46:51 -04:00
Dorota Czaplejewicz eb4b630b39 popover: Allow spanning outside panel area 2021-05-08 09:12:49 +00:00
Dorota Czaplejewicz 99f062fe31 Merge branch 'arrange' into 'master'
Rearrange code dealing with layout files

See merge request Librem5/squeekboard!449
2021-04-23 09:07:33 +00:00
Dorota Czaplejewicz 0eb9d89de3 Merge branch 'hints' into 'master'
layout: Take into account text purpose again

Closes #277

See merge request Librem5/squeekboard!448
2021-04-12 10:24:19 +00:00
Dorota Czaplejewicz c23b6f5f50 Merge branch 'layout' into 'master'
layouts: Stop assuming that layout name always changes on switch

Closes #276

See merge request Librem5/squeekboard!450
2021-04-12 10:21:35 +00:00
Dorota Czaplejewicz e4f1b121eb Merge branch 'errors' into 'master'
rust: Fix compiler warnings

See merge request Librem5/squeekboard!445
2021-04-09 08:36:06 +00:00
Dorota Czaplejewicz 4fdce2802a layouts: Stop assuming that layout name always changes on switch
Layout type switching outside of overlay was always done with gsettings in the middle, assuming that all clicks on languages in the popover result in a gsettings event. That's a bad assumption if there's only one xkb lang present.

This is a simple work around. A better solution would be to turn the entire system of layout switching into a central object that receives messages about changes that need to be applied, and then applies them.
2021-04-07 15:26:18 +00:00
Dorota Czaplejewicz 99c04fd8f5 layout: Remove unused code 2021-04-05 11:09:35 +00:00
Dorota Czaplejewicz 2b7e8f829e data: Split into loading and parsing 2021-04-05 11:03:57 +00:00
Dorota Czaplejewicz 1908769032 layouts: Make selection testable
From now on, all the parameters for loading layout are handled inside a single pure function, which makes them possible to test.

As a side benefit, the old preference order function composed of a mess of nested procedures is gone.
2021-04-05 10:36:41 +00:00
Dorota Czaplejewicz 93e4345e82 layout: Take into account text purpose again 2021-04-05 08:17:07 +00:00
Dorota Czaplejewicz ac03c26d5d rust: Fix compiler warnings 2021-04-01 16:30:53 +00:00
Dorota Czaplejewicz 608be930f7 layout selection: Fix emoji and number 2021-04-01 16:24:06 +00:00
Dorota Czaplejewicz 36d4f6726c language-terminal: Place keyboards in a sub-path 2021-04-01 16:05:44 +00:00
M33 e49de34d0e Revert "Update tests/meson.build"
This reverts commit 27cd8964d02e957fdecd00bfebc0a03e4b24ffe4
2021-04-01 15:17:53 +00:00
Sebastian Krzyszkowiak 37820bf169 Merge branch 'latch' into 'master'
Latch views

See merge request Librem5/squeekboard!416
2021-03-31 15:29:48 +00:00
Kozova1 fcb57c9093 moved data/langs/he_IL.txt -> data/langs/he-IL.txt to better conform with existing translations.
Signed-off-by: Kozova1 <mug66kk@gmail.com>
2021-03-31 13:01:52 +03:00
Dorota Czaplejewicz b578414655 Merge remote-tracking branch 'upstream/master' into latch 2021-03-31 09:48:29 +00:00
Dorota Czaplejewicz 7b1755a489 renderer: Mark latched buttons differently than locked
There are some hacks here in the form of an extra field "appears_locked_from", which can be used to hint that the user should see the button as locked. Without it, there's some confusion on user side regarding buttons that change states unprompted.
2021-03-31 09:11:11 +00:00
Dorota Czaplejewicz 676a2b60ac layout: Make it possible to opt out of latching per-key 2021-03-31 09:09:38 +00:00
Dorota Czaplejewicz 32dc25dfbf Revert "moved data/langs/he_IL.txt -> data/langs/he-IL.txt to better conform with existing translations."
This reverts commit d8ca9f47ca.

This touches way more than advertised.
2021-03-31 08:39:57 +00:00
Dorota Czaplejewicz 637da2c177 Merge branch 'gnome-session' into 'master'
Complete session registration

Closes #274

See merge request Librem5/squeekboard!441
2021-03-31 08:17:39 +00:00
Kozova1 d8ca9f47ca moved data/langs/he_IL.txt -> data/langs/he-IL.txt to better conform with existing translations.
Signed-off-by: Kozova1 <mug66kk@gmail.com>
2021-03-30 20:30:53 +03:00
Kozova1 a3638f4bfb Added Hebrew translations for most layouts.
This commit adds translations in Hebrew for most layouts.
Note: the hebrew file seems to be named incorrectly,
is that intentional? (he_IL.txt instead of he-IL.txt)

Signed-off-by: Kozova1 <mug66kk@gmail.com>
2021-03-30 20:29:21 +03:00
Guido Günther 40bf3ca5de server-main: Properly register to gnome-session
So far squeeboard only did half of the registration failing
to respond to the signals sent by the session.

This causes problems e.g. when exiting the session since the it
thinks the client hangs or is busy.

Closes: #274
2021-03-25 18:11:39 +01:00
Guido Günther e800a88893 server-main: Add quit()
This allows to exit the mainloop e.g. when signalled from gnome-session
or by a signal.
2021-03-25 16:03:57 +01:00
Dorota Czaplejewicz c2c379b870 Rust: Remove unnecessary no_mangle statements to silence warnings 2021-03-09 14:59:23 +00:00
Dorota Czaplejewicz 1ae29ff7bc popover: Fix prematurely deallocated CString 2021-03-09 14:36:37 +00:00
Panawat Wong-klaew 11952ed29a Add wide Thai keyboard layout 2021-02-13 15:11:46 +00:00
David96 a265427e8e Add Mod4 (Windows) key 2021-02-11 18:06:49 +01:00
Dorota Czaplejewicz e6c45a63fb Merge branch 'master' into 'master'
Added hebrew keyboard layout

See merge request Librem5/squeekboard!430
2021-02-06 10:45:12 +00:00
Myth e82e256581 Added hebrew keyboard layout 2021-02-06 10:45:12 +00:00
Dorota Czaplejewicz bedabb6188 Merge branch 'catalan' into 'master'
Catalan keyboard layout

See merge request Librem5/squeekboard!431
2021-02-06 10:38:18 +00:00
Jordi Masip a030f55a7c Catalan keyboard layout
Modified by Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm>
2021-02-05 14:51:21 +00:00
Dorota Czaplejewicz 49aa4256a9 Merge branch 'keyboard-layout-us+dvorak' into 'master'
Add US Dvorak layout (and Colemak wide)

See merge request Librem5/squeekboard!427
2021-01-26 09:07:22 +00:00
J.D. Laub eb7d0d5db9 Add US Dvorak layout (and Colemak wide)
Signed-off-by: Dave Laub <purism@laubster.org>
2021-01-24 10:48:12 -07:00
Dorota Czaplejewicz 2a11bce945 Merge branch 'serial' into 'master'
imservice: Increment serials on receiving done, not sending commit

See merge request Librem5/squeekboard!426
2021-01-24 05:14:57 +00:00
Dorota Czaplejewicz 0c179560b3 visibility: Stop calling GTK functions from the visibility manager
The viibility manager state is changed from various handlers, which are not guaranteed to be reentrant, most notably the Wayland handler for preedit done.
As the state is changed, relevant requests to synchronize user-visible UI are fired from the same handler.

In case of imservice_handle_done, GTK widget show function was being called, which triggered another round of handling Wayland, leading to the done handler being called again, and flaking out.

To solve this, the phase of issuing commands needs to be separate from adjusting desired state. It seems that the easiest solution is to delay the show() and hide() calls into the next GTK main loop spin.

A better solution would probably inject itself directly after the change of desired state, so that *all* the side effects are delayed.
2021-01-10 11:04:02 +00:00
Dorota Czaplejewicz 3cbfd8351c imservice: Increment serials on receiving done, not sending commit
No idea how that managed to stay undetected for so long.
2021-01-10 10:41:17 +00:00
jranaraki 66c3926eb2 Added requirements to resources.rs and meson.build 2020-12-27 02:01:54 -05:00