Dorota Czaplejewicz
8aefae9634
Release 1.13.0 "Externality"
...
Changes:
- A system for latching and locking views
- Some crash fixes
- Locale-flavored terminals
- A way to add locale-flavored emoji and numbers layouts
- Making the code less annoying to work with in some places
- Fixed layout changes on newer GSettings
- Mod4 modifier
- Better session registration
- New layouts: Dvorak, Colemak wide, hebrew, wide Thai
2021-04-12 10:52:17 +00:00
Dorota Czaplejewicz
52e2384f72
Cargo: Version bump
2021-04-12 10:36:55 +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
4f3bec3989
Merge branch 'doc' into 'master'
...
docs: Describe view switching
See merge request Librem5/squeekboard!443
2021-04-09 08:35:44 +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
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
acac00bc88
Merge branch 'terminal' into 'master'
...
Fix emoji and number layouts
See merge request Librem5/squeekboard!444
2021-04-01 18:59:47 +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
Dorota Czaplejewicz
d289129404
Merge branch 'master' into 'master'
...
Rust additions to make terminal keyboard shows a localized layout
See merge request Librem5/squeekboard!437
2021-04-01 15:17:54 +00:00
M33
e49de34d0e
Revert "Update tests/meson.build"
...
This reverts commit 27cd8964d02e957fdecd00bfebc0a03e4b24ffe4
2021-04-01 15:17:53 +00:00
Dorota Czaplejewicz
225e53df07
docs: Describe view switching
2021-04-01 12:41:51 +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
Dorota Czaplejewicz
d8e58fd774
Merge branch 'keyboard-layout-hebrew' into 'master'
...
moved data/langs/he_IL.txt -> data/langs/he-IL.txt to better conform with existing translations.
See merge request Librem5/squeekboard!442
2021-03-31 12:04:37 +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
89b1f51ed5
appearance: Colour latched/locked according to design
2021-03-31 09:13:51 +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
484d64cfb9
Merge branch 'keyboard-layout-hebrew-fix-layout' into 'master'
...
Fix Hebrew layout inconsistencies with standard hebrew layout.
Closes #272
See merge request Librem5/squeekboard!440
2021-03-31 08:27:02 +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
Dorota Czaplejewicz
3210a363ab
Merge branch 'keyboard-layout-hebrew' into 'master'
...
Add Hebrew translations for most layouts.
See merge request Librem5/squeekboard!439
2021-03-30 17:55:11 +00:00
Kozova1
8da8d55b98
Fixed Hebrew layout.
...
The Hebrew layout was a non standard one -
this should now be fixed.
The left shift key was removed, since Hebrew
does not have capital letters.
Signed-off-by: Kozova1 <mug66kk@gmail.com >
2021-03-30 20:31:11 +03: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
Dorota Czaplejewicz
f45f2db948
Merge branch 'crash' into 'master'
...
Stop requiring a renderer to be present to get a transformation
Closes #270
See merge request Librem5/squeekboard!438
2021-03-30 13:45:32 +00: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
24c3fac505
renderer: Split mutable geometry and place it directly in GtkKeyboard
...
Geometry is now permanently married to the widget rather the renderer. While geometry is not always defined, C doesn't support sum types, so checks won't be enforced by the compiler. It's OK to pretend there's always some geometry to avoid crashes.
2021-03-17 14:37:54 +00:00
Dorota Czaplejewicz
46f8790fc0
renderer: Reduce reliance on knowing the transform
2021-03-17 13:29:02 +00:00
Dorota Czaplejewicz
3cdced0c0c
Merge branch 'fixes' into 'master'
...
Rust fixes
See merge request Librem5/squeekboard!435
2021-03-17 13:21:46 +00:00
Dorota Czaplejewicz
bffd212e10
Merge branch 'it' into 'master'
...
italian: Fix colon
See merge request Librem5/squeekboard!434
2021-03-09 16:03:38 +00: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
Dorota Czaplejewicz
d3cd7dc11f
italian: Fix colon
2021-03-09 14:09:59 +00:00
Dorota Czaplejewicz
d3695d3bc9
Merge branch 'th-enhancement' into 'master'
...
Add wide Thai keyboard layout
See merge request Librem5/squeekboard!433
2021-02-13 16:01:45 +00:00
Panawat Wong-klaew
11952ed29a
Add wide Thai keyboard layout
2021-02-13 15:11:46 +00:00
Dorota Czaplejewicz
842e616cd3
Merge branch 'master' into 'master'
...
Add Mod4 (Windows) key
See merge request Librem5/squeekboard!432
2021-02-11 17:44:02 +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
575619e812
Merge branch 'tagfix' into 'master'
...
CI: fix xheck_tag to be compatible with Amber
See merge request Librem5/squeekboard!428
2021-01-24 06:28:26 +00:00
Dorota Czaplejewicz
630cfc8e59
CI: fix xheck_tag to be compatible with Amber
2021-01-24 06:07:06 +00: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
J.D. Laub
a332efca45
Add US Dvorak layout (and Colemak wide)
...
Signed-off-by: Dave Laub <purism@laubster.org >
2021-01-23 16:44:50 -07:00
Guido Gunther
5b3c185a16
Merge branch '1.12' into 'master'
...
Release 1.12.0
See merge request Librem5/squeekboard!422
2021-01-19 14:06:11 +00:00
Dorota Czaplejewicz
fefebf7f6e
Release 1.12.0 "Convolution"
...
User-visible changes:
- Fixed a crash related to making keyboard visible.
- Better fallback: when selecting a missing layout named "fr+foo", "fr" will be used instead.
- When enabling the keyboard manually, it will never be stuck in the numbers view.
- Thai layout
- US-Colemak layout
- Czech layouts
- Esperanto layout
- Bulgarian layout
- Improved Norwegian layout
That's a lot of new layouts!
Plus a bunch of stricter warnings, MIPS64el support, and reproducible building.
2021-01-11 11:43:39 +00:00
Dorota Czaplejewicz
21c3a74019
cargo: Update dependencies for release
2021-01-11 11:43:39 +00:00
Alexander Mikhaylenko
47a483da2a
Merge branch 'idle' into 'master'
...
visibility: Stop calling GTK functions from the visibility manager
See merge request Librem5/squeekboard!425
2021-01-10 11:47:51 +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
38842f9743
input-method: Fix commit/done mixup in protocol text
2021-01-10 10:45:14 +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
Dorota Czaplejewicz
6e7c0e6f67
Merge branch 'keyboard-layout-farsi' into 'master'
...
Farsi/Persian keyboard layout
See merge request Librem5/squeekboard!424
2020-12-30 13:54:49 +00:00
jranaraki
0e83697b61
Updated the layout to provide more convenient and faster typing experience
2020-12-27 12:38:29 -05:00
jranaraki
66c3926eb2
Added requirements to resources.rs and meson.build
2020-12-27 02:01:54 -05:00
jranaraki
1856e7023d
Farsi/Persian keyboard layout
2020-12-27 01:48:33 -05:00
jranaraki
976f0a6e37
Farsi/Persian keyboard layout
2020-12-27 01:08:07 -05:00
Dorota Czaplejewicz
4d24af4e1a
Merge branch 'test_docs' into 'master'
...
Make layout lists more ordered
See merge request Librem5/squeekboard!417
2020-12-21 14:40:11 +00:00
Dorota Czaplejewicz
422d06d582
Merge branch 'reset_hint_smart' into 'master'
...
dbus: Reset hints if text input missing
Closes #256
See merge request Librem5/squeekboard!421
2020-12-16 16:00:53 +00:00
Dorota Czaplejewicz
4890c86b4e
dbus: Reset hints if text input missing
2020-12-15 13:20:34 +00:00
Dorota Czaplejewicz
b72c6b53e4
Merge branch 'fix_norwegian_button_size' into 'master'
...
no: Use wide button switching between numbers, symbols and base
See merge request Librem5/squeekboard!419
2020-12-15 12:37:42 +00:00
Andreas Rönnquist
701168c32b
no: Use wide button switching between numbers, symbols and base
2020-12-14 21:55:39 +01:00
Dorota Czaplejewicz
658df98e18
layout_names: Unmess the list of builtin layouts
2020-12-12 07:42:32 +00:00
Dorota Czaplejewicz
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
Dorota Czaplejewicz
558a2568e3
Merge branch 'undefined' into 'master'
...
Bulgarian language keyboard layout
See merge request Librem5/squeekboard!418
2020-12-12 07:38:34 +00:00
Vladimir Stoilov
9517c347b6
Fix bulgarian layout size
2020-12-12 00:28:21 +02:00
Vladimir Stoilov
8dd92c81e7
bulgarian add translation and to needed lists
2020-12-11 22:06:39 +02:00
Guido Gunther
03ccfe77ad
Merge branch 'unused' into 'master'
...
build: Enable unused warnings in C
See merge request Librem5/squeekboard!375
2020-12-11 14:56:47 +00:00
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] c60b77ea51/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
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.
2020-11-14 06:49:00 +00:00
Dorota Czaplejewicz
955a138849
Update dependencies
2020-11-14 06:44:23 +00:00
Sebastian Krzyszkowiak
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
Dorota Czaplejewicz
12c9ca1e02
ui: Cancel hiding delay when activity requested again
2020-11-14 06:09:37 +00:00
Dorota Czaplejewicz
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
clonex10100
cf09d1b3bc
Added US Colemak Keyboard Layout
2020-11-02 13:27:27 -05:00
Wannaphong Phatthiyaphaibun
81fb7e0df3
Update resources.rs
2020-11-01 09:42:27 +00:00
Wannaphong Phatthiyaphaibun
0e533c5e94
Add thai keyboard
2020-10-31 18:55:32 +00:00
Fabio Tomat
8d01d17b8c
Update fur-IT.txt fix typo for Spanish
2020-10-28 11:55:34 +00:00
Sebastian Krzyszkowiak
74a5b0937b
Merge branch 'improve_delay' into 'master'
...
Delay hiding only when leaving a text field
Closes #121
See merge request Librem5/squeekboard!400
2020-10-27 20:34:50 +00:00
Guido Gunther
17ce0b6b46
Merge branch '1.10.0' into 'master'
...
Release 1.10.0
See merge request Librem5/squeekboard!397
2020-10-23 10:43:10 +00:00
Dorota Czaplejewicz
c0525946ae
Release version 1.10.0 "Idempotence"
...
- Xwayland support
- Keys' press zone extends to the side edges of the widget
- Layout popover separates languages from special layouts
- Popover can open settings
- Keyboard is invisible when GNOME accessibility setting is off
- Layout tester checks for presence of Backspace and Return
- Adjusts the keyboard size better to tablet-sized displays
- Friulian keyboard layout
- Ukrainian layout
- Belgian layout
- Wide French layout
- Wide Belgian layout
- Wide terminal layout
- Improved tutorial
- Improved README
- Stricter compilation checks
- Minor fixes
2020-10-22 10:26:53 +00:00
Dorota Czaplejewicz
8bb5c4f16c
cargo: Update dependencies
2020-10-21 08:08:48 +00:00
Guido Gunther
a0322f0d7e
Merge branch 'temper_a11y' into 'master'
...
Temper a11y, lint
See merge request Librem5/squeekboard!399
2020-10-21 07:52:59 +00:00
Dorota Czaplejewicz
d07b5ed0d6
UI: Delay hiding only when leaving a text field
2020-10-20 11:52:06 +00:00
Dorota Czaplejewicz
153f9c39e5
lint: Check for missing braces
...
The `eek/layersurface.c` file should be excluded because it's an imported, "foreign" source, but clang-tidy doesn't seem to have an annotation for that.
An alternative would have been to exclude it in Meson and do the check there, but that requires clang-tidy, raising the barrier to contribute of Squeekboard even more (it already requires libfeedback, which isn't packaged widely).
2020-10-20 11:34:17 +00:00
Dorota Czaplejewicz
c0b6ea51fa
enabled: Don't force the keyboard to show when enable is switched
...
This is a bit of a hack: the enable semantics are not finalized yet:
https://source.puri.sm/Librem5/squeekboard/-/issues/238
This prevents the keyboard from appearing over the lock screen at least:
https://source.puri.sm/Librem5/squeekboard/-/merge_requests/397#note_123987
2020-10-20 08:08:55 +00:00
Dorota Czaplejewicz
5d81cf78f8
docs: Correct Cargo update instructions
2020-10-19 14:33:08 +00:00
Guido Gunther
0ed1dd925a
Merge branch 'x11final' into 'master'
...
Use multiple key maps, each of which is acceptable by Xwayland
See merge request Librem5/squeekboard!393
2020-10-19 13:43:12 +00:00
Dorota Czaplejewicz
39464f9c99
Merge branch 'master' into 'master'
...
Add friulian keyboard and langs layout
See merge request Librem5/squeekboard!396
2020-10-19 08:44:17 +00:00
Fabio Tomat
eeb7e252c7
Revert "Add friulian keyboard"
...
This reverts commit 16ccb5fd341fbdeff04b1540f99fe9cbe1c27df1
2020-10-19 08:44:16 +00:00
Dorota Czaplejewicz
65425ff928
Merge branch 'fix' into 'master'
...
tests: Fix bad field access
See merge request Librem5/squeekboard!395
2020-10-14 10:37:26 +00:00
Dorota Czaplejewicz
229b3bac51
tests: Fix bad field access
...
As a result of an automatic merge, a private field was accessed that shouldn't be.
2020-10-14 10:12:57 +00:00
Dorota Czaplejewicz
a4e7ad06d3
build: Avoid MaybeUninit on older Debian
2020-10-12 14:14:26 +00:00
Dorota Czaplejewicz
db298b0fb8
keymaps: Use multiple key maps, each within the limit of what Xorg can accept.
...
Key maps are switched on key press whenever needed.
2020-10-12 14:14:17 +00:00
Dorota Czaplejewicz
4373cf7bc3
keymap: Concentrate special handling of BackSpace, which is implicit in Erase action
2020-10-12 13:57:53 +00:00
Guido Gunther
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
Dorota Czaplejewicz
8f526bd357
tests: Check for missing return in builtin layouts except emoji
2020-10-12 10:51:23 +00:00
Dorota Czaplejewicz
b77b3f7816
vkeyboard: Use a generic slice instead of a vector
2020-10-12 10:51:23 +00:00
Dorota Czaplejewicz
87eb775377
keymap: Keep keymap fd management in one place
...
At the same time, reduce the distance between this and the Xwayland handling branch.
2020-10-12 10:50:40 +00:00
Guido Gunther
f64e5a3627
Merge branch 'multi_ke' into 'master'
...
Improve generation of key maps
See merge request Librem5/squeekboard!388
2020-10-12 09:13:29 +00:00
Guido Gunther
595bbccfdf
Merge branch 'fix_a11y' into 'master'
...
debian: Insert a "breaks" for librem5-base < 24
See merge request Librem5/squeekboard!392
2020-10-12 09:03:58 +00:00
Dorota Czaplejewicz
afd47ef8b4
Merge branch 'optimize-sizing' into 'master'
...
Optimize sizing
See merge request Librem5/squeekboard!390
2020-10-12 08:18:22 +00:00
Dorota Czaplejewicz
7e38d17cb7
debian: Insert a "breaks" for librem5-base < 24
...
Librem5-base sets the GNOME a11y to true, which solves the invisibility of the keyboard on the phone.
2020-10-11 16:36:16 +00:00
Dorota Czaplejewicz
ef7df433d8
Merge branch 'wide-keyboards' into 'master'
...
Add wide keyboards
See merge request Librem5/squeekboard!391
2020-10-11 14:30:35 +00:00
Dorota Czaplejewicz
8e32de86a9
Merge branch 'extend-keys-to-bounding-box' into 'master'
...
Expand key press detection to the edges of the view's bounding box
Closes #191
See merge request Librem5/squeekboard!379
2020-10-11 14:25:03 +00:00
Arnaud Ferraris
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
Arnaud Ferraris
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
Arnaud Ferraris
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
Arnaud Ferraris
9dd67ad2bc
server-context-service: optimize height calculation
...
Even though proper size management is being worked on, this patch
proposes a simple and easily revertable solution to device-dependent
sizing issues.
First, it provides different calculations based on the display
orientation. In landscape mode, this allows us to have a sensible
keyboard size while leaving enough screen estate for apps to be able to
display useful information.
Then, it gets rid of the weird calculation for display widths between
360 and 540px. While having some continuity is a pleasant idea, in the
real world in doesn't work, as shown by port attempts to other devices:
a 480x800 display (scale 1) would show an unusable 190px-high keyboard
(about half the size of the Librem 5 on-screen keyboard on a device I
own).
Finally, this commit makes sure we never use a hardcoded size.
Tested on the PinePhone, PineTab and Librem 5.
Note: Current behavior is preserved on the L5 in portrait mode, but
keyboard is a bit smaller in landscape mode; this is deliberate, as it
was previously using too much space (causing some apps, such as chatty,
to be unusable).
2020-10-09 16:30:59 +02:00
Arnaud Ferraris
9f4cb3c791
eek-gtk-keyboard: use virtual resolution to check arrangement kind
...
Using the actual monitor width in pixels can lead to unsatisfying
results, depending on the display orientation and physical size: on a
10" tablet with a 1280x800 resolution (scale 1), portrait orientation
will be using the narrow layout.
If the keyboard is sized in an optimal way (i.e. so the layout fills the
whole area, with no blanks on the sides) this would result in an
unnecessarily huge keyboard being displayed, therefore wasting screen
estate.
Using the virtual display size gives a hint about the physical size of
the device, and can be used to select wide layouts even in portrait
mode, while still preserving current behavior on HiDPI devices.
This has been tested on PineTab, PinePhone and Librem 5.
2020-10-09 16:26:10 +02:00
Guido Gunther
6ed2a47620
Merge branch 'popover-settings' into 'master'
...
Add settings option to popover
Closes #154
See merge request Librem5/squeekboard!385
2020-10-09 09:18:26 +00:00
Benjamin Schaaf
4253bf1299
Add settings option to popover
...
Fixes #154
2020-10-09 19:29:48 +11:00
Dorota Czaplejewicz
d283ced2ce
Merge branch 'popover-sorting' into 'master'
...
Sort layouts by type before sorting by name
Closes #176
See merge request Librem5/squeekboard!384
2020-10-07 15:23:25 +00:00
Guido Gunther
776c0c5f4b
Merge branch 'flags' into 'master'
...
build: Error on repeating declarations
See merge request Librem5/squeekboard!387
2020-10-06 13:35:22 +00:00
Dorota Czaplejewicz
8cf6c5f948
syntax: Let older rustc understand symbolmap's lifetime
2020-10-06 10:32:07 +00:00
Dorota Czaplejewicz
de3bf54dc9
data: Restore testability of action->keysym conversion
2020-10-06 10:32:07 +00:00
Dorota Czaplejewicz
2219eb67e1
keymap: Generate from symbol map, not layout
...
Includes changes to the keymap string without which Xwayland won't work.
2020-10-06 10:31:28 +00:00
Dorota Czaplejewicz
61400c9584
build: Error on repeating declarations
2020-10-06 09:54:17 +00:00
Guido Gunther
b21734bf57
Merge branch 'docs-morefixes' into 'master'
...
docs: Tutorial syntax cleanups, reorganization
See merge request Librem5/squeekboard!381
2020-10-06 09:14:56 +00:00
Dorota Czaplejewicz
24adba44be
Merge branch 'leak-fixes' into 'master'
...
Fix 2 leaks
Closes #148
See merge request Librem5/squeekboard!386
2020-10-03 07:38:52 +00:00
Benjamin Schaaf
5e43a31051
Fix leak endlessly adding a resource path to the default theme
2020-10-03 16:23:13 +10:00
Benjamin Schaaf
40850267d4
Fix leak in level_keyboard_new
...
xkb_keymap_get_as_string requires that the string it returns is freed by
the caller.
2020-10-03 16:07:36 +10:00
Benjamin Schaaf
93ac94b83f
Sort layouts by type before sorting by name
...
This makes it such that local layouts like emoji and terminal appear
below language layouts.
Fixes #176
2020-10-03 02:10:56 +10:00
Dorota Czaplejewicz
ec5570a547
Merge branch 'keyboard-layout-belgian' into 'master'
...
proposal for belgian layout (copy of fr)
See merge request Librem5/squeekboard!382
2020-10-01 13:21:49 +00:00
Al
72bd265065
alphabetical order for src/resources.rs tests/meson.build
2020-10-01 14:54:22 +02:00
Dorota Czaplejewicz
07bcaa8e2b
docs: Reorganize tutorial
...
People still ignore adding layouts to builtins and to tests. To unbury that information, and add a sort of checklist, the more interesting info has been moved upwards nd together.
2020-10-01 11:52:53 +00:00
Al
4357052fe7
proposal for belgian layout (copy of fr)
2020-09-30 15:42:31 +02:00
Dorota Czaplejewicz
c16c686592
docs: Tutorial syntax cleanups
...
Promoted bolded "headings" into actual headings, so that they can be linked to.
2020-09-29 13:33:37 +00:00
Dorota Czaplejewicz
4b825c26a6
Merge branch 'docs-fixes' into 'master'
...
Expand the development documentation in the readme
Closes #227
See merge request Librem5/squeekboard!377
2020-09-26 09:00:51 +00:00
Benjamin Schaaf
74479ff226
Expand key press detection to the edges of the view's bounding box
...
If you have a keyboard layout like the following:
A B C D
E F G
H I J K
The E and G keys here should be pressed when clicking in the empty space
next to them. This is achieved by not checking the bounding boxes of
each key and instead just using the button and row offset to extend
buttons/rows to the edges of the view. Caching for the size and
position of rows is introduced to simplify implementation and possibly
improve performance.
Fixes #191
2020-09-26 01:37:23 +10:00
Benjamin Schaaf
94bfa92c12
Expand the development documentation in the readme
...
Fixes #227
2020-09-26 00:34:09 +10:00
Dorota Czaplejewicz
50fb124b26
Merge branch 'hacking-spelling-fixes' into 'master'
...
Fix spelling mistakes in doc/hacking.md
Closes #217
See merge request Librem5/squeekboard!378
2020-09-25 12:47:17 +00:00
Benjamin Schaaf
7aa004ceff
Fix spelling mistakes in doc/hacking.md
...
Fixes #217
2020-09-25 21:44:27 +10:00
Dorota Czaplejewicz
60056dcf26
Merge branch 'honor-a11y-setting' into 'master'
...
Honor org.gnome.desktop.a11y.applications screen-keyboard-enabled
Closes #222
See merge request Librem5/squeekboard!370
2020-09-24 06:49:13 +00:00
Guido Gunther
5580853f31
Merge branch 'depr' into 'master'
...
rust: Fix deprecation warnings
See merge request Librem5/squeekboard!374
2020-09-21 17:01:51 +00:00
Dorota Czaplejewicz
d93e9c2b11
rust: Fix deprecation warnings
2020-09-21 10:57:01 +00:00
Guido Günther
4ccf11f4fd
server-context-service: Don't show keyboard when disabled
...
If the corresponding a11y settings is disbaled don't unfold
the keyboad at all.
This helps e.g. running the same session on laptops or when
an external keyboard is attached.
Closes : #222
2020-09-14 11:34:17 +02:00
Guido Gunther
6c5df02921
Merge branch 'cleanup' into 'master'
...
A bunch of cleanups
See merge request Librem5/squeekboard!371
2020-09-14 09:26:20 +00:00
Dorota Czaplejewicz
b137e2e3a0
Merge branch 'ukrainian-keyboard-layout' into 'master'
...
Add Ukrainian keyboard layout
Closes #223
See merge request Librem5/squeekboard!372
2020-09-14 07:48:03 +00:00
Nazarii Kretovych
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
Guido Günther
8bdfb69dc1
server-context-service: swap signal arguments
...
This makes sure 'self' comes first. While at that fix the
function signatures and use ServerContextService directly
and add type checks so it's easy to notice when we messed up.
2020-09-11 20:44:36 +02:00
Guido Günther
1e6bcef055
server-context-service: Consistenty name self argument 'self'
...
It's confusing when the object a method acts on is sometimes called
context and sometimes called state. So name it 'self' as we do
in other projects.
2020-09-11 20:05:49 +02:00
Guido Günther
07faf906d8
eekboard-context-service: Drop private struct
...
There's no point having it for a final type and it only
makes the code harder to read.
2020-09-11 18:55:35 +02:00
Guido Günther
53f30324f0
eekboard-context-service: Drop the GObject boilerplate
...
The previous commits show it's not really a derivable type
so make it a finale one.
2020-09-11 18:55:35 +02:00
Guido Günther
3e212ddab4
eekboard-context-service: Drop docstrings for inexistent functions
2020-09-11 18:46:22 +02:00
Guido Günther
966990ad65
eekboad-context-service: Drop signal class handler
...
It's unused
2020-09-11 18:45:33 +02:00
Guido Günther
a8b81172fc
build: Enable '-Wformat-nonliteral'
2020-09-11 18:40:56 +02:00
Guido Günther
97f51591b3
ServerContextService: Drop GObject boilerplate
...
G_DECLARE_FINAL_TYPE does this for us
2020-09-11 18:16:30 +02:00
Guido Günther
6756fb423a
build: Enable -Wredundant-declarations
2020-09-11 18:16:30 +02:00
Guido Günther
eb7673d2c2
treewide: Drop redundant declarations
2020-09-11 18:16:30 +02:00
Guido Günther
24b6a04903
build: Enable -Wmaybe-uninitialized
...
No changes needed.
2020-09-11 18:16:30 +02:00
Guido Günther
b197cd839e
build: Enable -Wformat-security
...
No changes needed.
2020-09-11 18:16:30 +02:00
Guido Günther
857a916402
build: Enable -Winit-self
...
No changes needed
2020-09-11 18:16:30 +02:00
Guido Günther
ca68fc2040
eek-keyboard: Don't ignore return value
...
This fixes
../eek/eek-keyboard.c:71:5: warning: ignoring return value of ‘getrandom’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
71 | getrandom(r, 6, GRND_NONBLOCK);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[17/32] Compiling C object 'src/25a6634@@libsqueekboard@sta/.._eek_eek-renderer.c.o'
2020-09-11 18:16:30 +02:00
Guido Günther
bd661bd4f4
gitlab-ci: Enable --Werror
...
This makes sure we don't have more warnings creeping in
2020-09-11 18:16:30 +02:00
Guido Günther
4228192bda
layout: Fix warning
...
This fixes
warning: unnecessary parentheses around block return value
--> /var/scratch/librem5/squeekboard/src/layout.rs:110:13
|
110 | / (point.x > self.x && point.x < self.x + self.width
111 | | && point.y > self.y && point.y < self.y + self.height)
| |______________________________________________________________________^
|
= note: `#[warn(unused_parens)]` on by default
2020-09-11 18:16:30 +02:00
Guido Günther
0f7ab99da3
keyboard: Fix warning
...
warning: unused variable: `name`
--> /var/scratch/librem5/squeekboard/src/keyboard.rs:195:10
|
195 | for (name, state) in keystates.iter() {
| ^^^^ help: consider prefixing with an underscore: `_name`
2020-09-11 18:16:30 +02:00
Guido Günther
e15d317488
eekboard-context-service: Drop EEKBOARD_CONTEXT_SERVICE_GET_PRIVATE
...
This fixes the
../eekboard/eekboard-context-service.c:244:13: warning: Deprecated pre-processor symbol, replace with
244 | self->priv = EEKBOARD_CONTEXT_SERVICE_GET_PRIVATE(self);
warning and makes us use more modern GObject style
2020-09-11 18:16:30 +02:00
Guido Günther
93e9ce0dd7
build: Enable '-Wunused-function'
2020-09-11 18:16:13 +02:00
Guido Günther
9d63b505ec
build: Enable '-Wold-style-definition' '-Wstrict-prototypes'
2020-09-11 18:15:44 +02:00
Guido Günther
306c11f1fd
treewide: Use new style function definitions
2020-09-11 18:15:02 +02:00
Guido Günther
c26feed8b2
eekboard-context-service: Return early if schema is unavailable
...
This also fixes a leak of GSettingsSchema.
2020-09-11 18:14:19 +02:00
Dorota Czaplejewicz
2f4a652f53
Merge branch 'fixmods' into 'master'
...
virtual_keyboard: Fix desynced modifiers state
See merge request Librem5/squeekboard!362
2020-08-28 11:02:50 +00:00
Sebastian Krzyszkowiak
e5796d0d7b
Merge branch 'rel-1.9.3' into 'master'
...
Document changes and release 1.9.3
Closes #212
See merge request Librem5/squeekboard!369
2020-08-06 15:50:00 +00:00
Sebastian Krzyszkowiak
1ee58ce7a0
Document changes and release 1.9.3
2020-08-05 16:17:44 +02:00
Dorota Czaplejewicz
88821e2e82
Merge branch 'terminal' into 'master'
...
Terminal layout: another approach
See merge request Librem5/squeekboard!368
2020-07-20 09:48:36 +00:00
Dorota Czaplejewicz
81344bb9c2
Merge branch 'patch-1' into 'master'
...
Brazilian Portuguese Keyboard Layout.
See merge request Librem5/squeekboard!365
2020-07-20 09:47:19 +00:00
Luís Fernando Stürmer da Rosa
c87b61d065
Brazilian Portuguese Keyboard Layout.
2020-07-20 09:47:19 +00:00
Sebastian Krzyszkowiak
97da44f059
Terminal layout: another approach
2020-07-18 05:43:15 +02:00
Sebastian Krzyszkowiak
f5a5282219
Revert "Merge branch 'btantau-master-patch-76686' into 'master'"
...
This reverts commit 0c8feb7687 , reversing
changes made to 762e12431d .
2020-07-18 03:26:03 +02:00
Dorota Czaplejewicz
123faecb7d
Merge branch 'italian' into 'master'
...
italian: Fix space and period
See merge request Librem5/squeekboard!364
2020-07-16 15:57:38 +00:00
Dorota Czaplejewicz
7ec3053aa4
Merge branch 'fixsize' into 'master'
...
size: Hardcode size to work around screen rotation
See merge request Librem5/squeekboard!361
2020-07-16 15:56:57 +00:00
Dorota Czaplejewicz
9512fd8436
virtual_keyboard: Fix desynced modifiers state
...
This ensures that keymap switches leave modifiers and virtual keys in a known state.
2020-07-15 18:08:59 +00:00
Sebastian Krzyszkowiak
0c8feb7687
Merge branch 'btantau-master-patch-76686' into 'master'
...
New terminal layout, showing more useful keys at the same time
See merge request Librem5/squeekboard!345
2020-07-15 15:06:36 +00:00
Björn Tantau
f3f1d58fe1
Add Menu key.
2020-07-15 14:42:55 +00:00
Björn Tantau
c0c666f1b3
Make f-keys slightly wider.
2020-07-15 14:41:17 +00:00
Björn Tantau
ea22afba79
Add missing Ê key.
2020-07-15 14:41:01 +00:00
Dorota Czaplejewicz
d7c7528d3d
italian: Fix space and period
2020-07-10 15:04:43 +00:00
Dorota Czaplejewicz
93ff086e3a
ci: Re-add x64 Buster build
2020-06-28 17:38:10 +00:00
Dorota Czaplejewicz
4f72779681
size: Hardcode size to work around screen rotation
...
Phoc sends output information *after* changing keyboard surface size. Squeekboard adjusts size on surface events, but not on output in this revision, making it unaware of display size at the time of adjustment, resulting in bad adjustment.
This change hardcodes the proportions again to make it work at least on the Librem5.
2020-06-28 17:14:49 +00:00
Dorota Czaplejewicz
762e12431d
Merge branch 'fix_gio_unix' into 'master'
...
build: Add missing gio-unix dependency
See merge request Librem5/squeekboard!356
2020-06-26 07:13:23 +00:00
Guido Gunther
767bb1745c
Merge branch 'fix' into 'master'
...
debian: Require lsb-release
See merge request Librem5/squeekboard!359
2020-06-26 06:50:44 +00:00
Dorota Czaplejewicz
26e0473fc1
debian: Require lsb-release
2020-06-25 17:45:08 +00:00
Guido Gunther
0735d1c6c6
Merge branch 'bullseye' into 'master'
...
build: Debian Bullseye-compatible deps
See merge request Librem5/squeekboard!357
2020-06-25 17:03:28 +00:00
Dorota Czaplejewicz
67d8926913
ci: Add amber job
2020-06-25 16:17:16 +00:00
Dorota Czaplejewicz
0299527700
debian: Add amber to legacy distro list
2020-06-25 11:29:47 +00:00
Dorota Czaplejewicz
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
Dorota Czaplejewicz
3ba6aca99d
build: Add missing gio-unix dependency
2020-06-13 08:27:33 +00:00
Guido Gunther
40b3172de8
Merge branch '1.9.2' into 'master'
...
Release 1.9.2
See merge request Librem5/squeekboard!354
2020-06-07 15:23:02 +00:00
Dorota Czaplejewicz
1a2df96c02
Release v1.9.2 "Aristotelian physics"
...
- Swedish
- Russian
- Danish
- French
- minor fixes
2020-06-07 14:38:23 +00:00
Dorota Czaplejewicz
d2989e8ecd
Merge branch 'lfb' into 'master'
...
Provide haptic feedback via libfeedback
Closes #166
See merge request Librem5/squeekboard!350
2020-06-04 13:31:24 +00:00
Guido Günther
ec58442724
eek-gtk-keyboard: Trigger event feedback on button press
...
Use libfeedback to trigger feedback for the button press event.
Closes : #166
2020-06-04 12:13:58 +02:00
Guido Günther
e89c9b02a0
debian: Build-depend on libfeedback
...
Will be needed in the following commits.
2020-06-02 10:10:43 +02:00
Guido Günther
1b2725250b
eek: Drop libcanberra usage
2020-06-02 10:10:43 +02:00
Guido Günther
e285ecce93
d/rules: Only remove Cargo.lock if it exists
...
This allows to invoke the build target twice in a row
2020-06-02 10:10:43 +02:00
Dorota Czaplejewicz
75ecf9059a
Update rust deps for release
2020-06-01 09:36:36 +00:00
Dorota Czaplejewicz
5715458d33
Merge branch 'master' into 'master'
...
Add danish keylayout
See merge request Librem5/squeekboard!353
2020-05-27 07:14:35 +00:00
Dorota Czaplejewicz
8196117269
Merge branch 'desktopfile-absolute' into 'master'
...
sm.puri.Squeekboard.desktop: make path to Exec= absolute
See merge request Librem5/squeekboard!352
2020-05-26 18:20:49 +00:00
Ole Guldberg
7fed1339ed
add test for danish layout
2020-05-26 16:37:14 +02:00
Ole Guldberg
0339d13ce4
Danish keyboard layout
2020-05-26 16:22:38 +02:00
Ole Guldberg
9f1e49da5d
Danish keyboard layout
2020-05-26 16:21:17 +02:00
Florian Klink
c1737c763f
sm.puri.Squeekboard.desktop: make path to Exec= absolute
...
This uses the same logic from Phosh to render absolute paths in .desktop
files.
2020-05-26 12:02:55 +02:00
Dorota Czaplejewicz
fe22fc2271
Merge branch 'remove-dep-libcroco' into 'master'
...
Removed unused dependency 'libcroco'
See merge request Librem5/squeekboard!351
2020-05-24 18:19:15 +00:00
Jordi Masip
f473a47eb8
Removed unused dependency 'libcroco'
2020-05-24 16:31:43 +02:00
Dorota Czaplejewicz
76bd87686a
Merge branch 'ru-layout' into 'master'
...
Fresh Russian layout
See merge request Librem5/squeekboard!347
2020-05-20 17:59:22 +00:00
Vlad
ef85823528
Fresh Russian layout
2020-05-20 17:59:22 +00:00
Dorota Czaplejewicz
54ac7511cd
Merge branch 'scaling' into 'master'
...
Stop scaling
See merge request Librem5/squeekboard!339
2020-05-13 11:01:21 +00:00
Dorota Czaplejewicz
080bbb4d4e
Merge branch 'fix_doc_reference' into 'master'
...
Folder is doc, not docs
See merge request Librem5/squeekboard!349
2020-05-08 16:44:44 +00:00
Andreas Rönnquist
7c35307011
Folder is doc, not docs
2020-05-07 16:06:44 +02:00
Dorota Czaplejewicz
cd3255b301
Merge branch 'swedish_wide_button' into 'master'
...
Swedish keyboard, use wide button switching between numbers, symbols and base
See merge request Librem5/squeekboard!344
2020-05-06 11:22:13 +00:00
Guido Gunther
f8b6b98633
Merge branch '1.9.1' into 'master'
...
Release 1.9.1
See merge request Librem5/squeekboard!348
2020-04-29 13:04:04 +00:00
Dorota Czaplejewicz
6414b57e57
Merge branch 'french-layout' into 'master'
...
French layout
See merge request Librem5/squeekboard!346
2020-04-28 12:31:44 +00:00
Björn Tantau
46de67a4db
Add Ctrl and Alt modifier keys.
2020-04-28 08:29:41 +00:00
Arnaud Ferraris
2a20bbbf2a
tests: add french layout
2020-04-27 09:51:40 +02:00
Arnaud Ferraris
13ebf9449f
keyboards: fr: improve diacritics layout
...
This commit changes the layout of the `eschars` view, in an attempt at
making it more logical and optimized to reach more frequent symbols more
easily.
2020-04-23 14:49:34 +02:00
Arnaud Ferraris
fa8449eb1e
keyboards: fr: improve consistency with other layouts
...
In order to stay consistent with other layouts, the bottom line has been
re-arranged and keys dimensions have been optimized (based on the
`terminal` layout, which has similar features).
Furthermore, the ç/Ç keys in the 'normal' views have been replaced with
./, so that all diacritics are on the same view.
This commit also fixes the Backspace key behavior.
2020-04-23 14:48:58 +02:00
Arnaud Ferraris
0bdb5f1f33
resources: include French keyboard layout
2020-04-23 13:07:33 +02:00
Arnaud Ferraris
b631817896
keyboards: fr: make sure the layout fits the screen
...
Due to an excessive amount of keys in the `eschars` view, one of the
rows would overflow the screen. This commit removes the `Ç` key, which
is already present in the `upper` view.
2020-04-21 19:39:17 +02:00
Arnaud Ferraris
09c78da7a7
keyboards: fr: fix keyboard layout
...
A number of keys would not give the expected result, due to the lack of
a `text` of `action` property. Additionally, the layout wouldn't load
because of an old file format (it seems `bounds` are not supported
anymore).
This patch makes sure this layout can be loaded and used by squeekboard
v0.1.9.
2020-04-21 19:39:07 +02:00
uzanto
7de7dc1b33
Replace duplicated show_symbols by show_eschars and removed "Delete" button that it's doing nothing
2020-04-21 19:17:27 +02:00
uzanto
323d89e4cb
Add new file
2020-04-21 19:17:27 +02:00
Björn Tantau
a5ce25055f
Show more useful keys at the same time.
2020-04-10 16:43:36 +00:00
Andreas Rönnquist
184bdaa0b6
More fixes of button sizes
2020-03-26 18:02:32 +01:00
Andreas Rönnquist
0459d33c4c
Swedish keyboard, wide button switching between numbers, symbols and base
2020-03-26 15:12:01 +01:00
Dorota Czaplejewicz
3d1a641ca3
Merge remote-tracking branch 'upstream/master' into scaling
2020-03-12 10:51:30 +00:00
Dorota Czaplejewicz
0466a520f2
Merge branch 'predictoin_ui' into 'master'
...
Cleanups to make EekGtkKeyboard more standalone
See merge request Librem5/squeekboard!336
2020-03-12 10:46:14 +00:00
Dorota Czaplejewicz
9e8aca1cbf
Merge branch 'unavailable' into 'master'
...
Crash less when outside resources are unavailable
See merge request Librem5/squeekboard!341
2020-03-11 10:55:05 +00:00
Dorota Czaplejewicz
334898c5a5
Release version 1.9.1 "Expected value"
...
- Preview support for "Control" and "Alt" modifiers in buttons, use field "modifiers: Control" inside a button
- Don't crash when gsettings has an empty list of settings
- Documentation rearrangement
2020-03-08 10:06:53 +00:00
Dorota Czaplejewicz
67a5f1bb0b
cargo: Bump package versions before release
2020-03-08 10:02:54 +00:00
Dorota Czaplejewicz
eb84e52897
Merge branch 'release_check' into 'master'
...
CI: Fix typo
See merge request Librem5/squeekboard!343
2020-03-07 11:38:34 +00:00
Dorota Czaplejewicz
0f7ff1636d
CI: Fix typo
2020-03-07 11:17:25 +00:00
Dorota Czaplejewicz
8ff8e8ac48
Merge remote-tracking branch 'upstream/master' into scaling
2020-03-07 10:46:09 +00:00
Dorota Czaplejewicz
d4bb9038c5
Merge branch 'release_check' into 'master'
...
CI: Test that any bump to changelog has a corresponding tag
See merge request Librem5/squeekboard!337
2020-03-07 10:33:53 +00:00
Dorota Czaplejewicz
f3caeb8fc6
Merge branch 'docs' into 'master'
...
Docs: describe project priorities
See merge request Librem5/squeekboard!338
2020-03-07 10:33:03 +00:00
Dorota Czaplejewicz
abaaf04b87
Merge branch 'modifiers' into 'master'
...
Add simple modifiers support
See merge request Librem5/squeekboard!306
2020-03-07 10:32:33 +00:00
Dorota Czaplejewicz
2770e1769c
sizing: Ignore scaling factor for layout selection
2020-03-07 10:31:39 +00:00
Dorota Czaplejewicz
3cd170acc3
sizing: Create a standalone UI shape manager
...
The manager is used for sizing the layer surface. It promises never to exceed half the output height.
The selection of the current layout is not being done here, leading to worse behaviour in 1:1 scaling.
In the future, it could be used for sizing the keyboard itself and the suggestion box, as well as decide which layout to use, because layouts should have some sizing hints.
2020-03-07 10:31:39 +00:00
Dorota Czaplejewicz
24f709ab13
Remove unused code
2020-03-07 10:31:39 +00:00
Dorota Czaplejewicz
784f9127fa
layout: Minor generalizations
2020-03-07 10:31:39 +00:00
Dorota Czaplejewicz
22daefba3a
levelkeyboard: Rearrange to make future conversion easier
2020-03-07 10:31:39 +00:00
Dorota Czaplejewicz
4ff9cf087b
renderer: Simplify by dropping gobjectness
2020-03-07 10:31:39 +00:00
Dorota Czaplejewicz
61e1ab5c5a
layout: Split out choice to a struct on its own
2020-03-07 10:26:52 +00:00
Dorota Czaplejewicz
7fbc9ed56e
Merge branch 'master' into 'master'
...
Fix minor comment typos
See merge request Librem5/squeekboard!342
2020-03-04 07:18:02 +00:00
&t
67cc4f11cf
Fix minor comment typos
2020-03-04 04:53:53 +00:00
Dorota Czaplejewicz
8ac2b5a713
gsettings: Don't crash on switching when unavailable
2020-03-03 19:46:53 +00:00
Dorota Czaplejewicz
8bae8fe5bb
dbus: Don't crash if can't make a connection
2020-03-03 19:25:49 +00:00
Dorota Czaplejewicz
b3cfc8a0f3
gsettings: Don't crash when unavailable
2020-03-03 19:10:50 +00:00
Dorota Czaplejewicz
5a591127a1
Merge branch 'doap' into 'master'
...
meta: Add doap file
See merge request Librem5/squeekboard!335
2020-03-01 14:21:45 +00:00
Dorota Czaplejewicz
8f3d010349
hacking: Move into docs/
2020-02-28 14:10:44 +00:00
Dorota Czaplejewicz
7eb5c6d466
docs: Add the guiding principle
2020-02-28 13:26:09 +00:00
Dorota Czaplejewicz
9f6fe8318c
CI: Test that any bump to changelog has a corresponding tag
...
Prevents forgetting to sign the tag, which is currently done out of band and independently of review.
2020-02-28 12:14:18 +00:00
Dorota Czaplejewicz
92e9d994fe
modifiers: Support Control and Alt
...
Control and Alt are special in that they aren't expected to switch levels, and so don't need to change what characters are output.
Use in layouts by adding `modifier: Control` or `modifier: Alt` in place of `text: "foo"`.
The latching of the modifier will force the keyboard to emit raw key presses and prevent it from outputting text.
2020-02-28 11:21:07 +00:00
Dorota Czaplejewicz
c28f07fcfd
Merge branch 'fix_variant' into 'master'
...
settings: Handle empty settings
See merge request Librem5/squeekboard!333
2020-02-28 11:09:11 +00:00
Dorota Czaplejewicz
80919dbc42
Merge branch 'fix_ref' into 'master'
...
Variant: Use proper pointer conversion between C and Rust
See merge request Librem5/squeekboard!334
2020-02-28 11:08:46 +00:00
Dorota Czaplejewicz
cc369f6f81
Merge branch 'press' into 'master'
...
layout: Improve press handling
See merge request Librem5/squeekboard!330
2020-02-26 18:43:21 +00:00
Guido Gunther
99f2f286e3
Merge branch '1.9.0' into 'master'
...
Release 1.9.0
See merge request Librem5/squeekboard!328
2020-02-24 12:55:52 +00:00
Dorota Czaplejewicz
46cbaf8e87
keyboard: Remove unused code
2020-02-23 12:15:19 +00:00
Dorota Czaplejewicz
53b4466899
meta: Add doap file
2020-02-23 10:42:07 +00:00
Dorota Czaplejewicz
c0aee5de26
Variant: Use proper pointer conversion between C and Rust
2020-02-20 12:17:50 +00:00
Dorota Czaplejewicz
404f94638f
settings: Handle empty settings
2020-02-20 12:06:47 +00:00
Dorota Czaplejewicz
cb802cfb50
layout: Improve press handling
...
Makes it more similar to release handling, removes some redundant checks.
This makes it easier to integrate modifiers in the future.
2020-02-19 15:40:39 +00:00
Dorota Czaplejewicz
930f5be0c8
Release 1.9.0 "Fractal dimension"
...
Highlights:
- Fixed glib critical when switching layouts
- Fixed minor memory leaks when switching layouts
- Whenever the client supports it, text is sent as text instread of key presses
- New Polish language layout
- Fixed greek layout
- Better key locking
- Less leaks
- Tweaks in terminal layout
- Better emoji layout
2020-02-19 14:47:04 +00:00
Dorota Czaplejewicz
7266f539d4
cargo: Update deps
2020-02-19 14:44:35 +00:00
Dorota Czaplejewicz
da1f480f7a
Merge branch 'emoji' into 'master'
...
Emoji: More choices
See merge request Librem5/squeekboard!324
2020-02-19 14:43:58 +00:00
Dorota Czaplejewicz
3c3f00ede8
Merge branch 'bad_delete' into 'master'
...
text input: Disable erasing
See merge request Librem5/squeekboard!332
2020-02-18 20:38:33 +00:00
Dorota Czaplejewicz
85be855032
text input: Disable erasing
...
Erasing with zwp_text_input_v3 version 1 requires bytes, and bytes require get_surrounding_text. That, however, is optional. That's a mistake in protocol design.
Easiest to drop this until the mess is solved on the protocol side.
2020-02-12 10:56:07 +00:00
Dorota Czaplejewicz
3e642fdac7
Merge branch 'termi' into 'master'
...
layouts: terminal: Use altline outline for dot key
See merge request Librem5/squeekboard!331
2020-02-12 10:44:28 +00:00
Sebastian Krzyszkowiak
ea288ca62e
layouts: terminal: Use altline outline for dot key
...
This prevents the buttons from jumping around when switching between views.
2020-02-11 23:16:09 +01:00
Dorota Czaplejewicz
a57a78aa2e
Merge branch 'center' into 'master'
...
Center views relative to layout space
See merge request Librem5/squeekboard!326
2020-02-09 20:34:31 +00:00
Dorota Czaplejewicz
b441103674
Merge branch 'slash' into 'master'
...
terminal: Make */ easier to reach
See merge request Librem5/squeekboard!325
2020-02-06 09:31:58 +00:00
Dorota Czaplejewicz
1c3516d6bf
terminal: Make */ easier to reach
...
They exchanged positions with @%
2020-02-05 19:46:59 +00:00
Sebastian Krzyszkowiak
41be2747d5
Merge branch 'fix' into 'master'
...
layout: Improve scoping of locked variable
See merge request Librem5/squeekboard!329
2020-02-05 13:19:19 +00:00
Dorota Czaplejewicz
c766fae686
layout: Improve scoping of locked variable
2020-02-05 12:55:31 +00:00
Sebastian Krzyszkowiak
a0a2e40fa0
Merge branch 'pl' into 'master'
...
Better accents in PL
See merge request Librem5/squeekboard!323
2020-02-05 11:13:20 +00:00
Dorota Czaplejewicz
aadcdbf276
Merge branch 'langs' into 'master'
...
Update translations & greek
See merge request Librem5/squeekboard!315
2020-02-05 11:05:42 +00:00
Dorota Czaplejewicz
10178d204b
Merge remote-tracking branch 'upstream/master' into center
2020-02-05 10:32:07 +00:00
Sebastian Krzyszkowiak
0ac8c620fd
Merge branch 'lock' into 'master'
...
Turn locking stateless
See merge request Librem5/squeekboard!322
2020-02-05 09:25:49 +00:00
Guido Gunther
80e83781bb
Merge branch 'leaks' into 'master'
...
Allocation problems
See merge request Librem5/squeekboard!327
2020-02-05 09:24:46 +00:00
Dorota Czaplejewicz
37e1ed93a6
Merge branch 'text_input_enable' into 'master'
...
Submit and delete strings via text_input
See merge request Librem5/squeekboard!304
2020-02-03 15:06:25 +00:00
Dorota Czaplejewicz
b770511422
keyboard_layout: Fix leak
2020-02-03 14:59:14 +00:00
Dorota Czaplejewicz
2e9b8581e7
variant: Fix leak
2020-02-03 14:53:27 +00:00
Dorota Czaplejewicz
1cbc21ad11
variant: Fix double-free
...
gio::Settings::set_value takes over ownership of the Variant sometimes, but in other cases it doesn't. To prevent this being a problem, the custom Variant is made of the type that will never have its ownership taken.
This is not necessarily consistent with what gtk-rs authors intended.
In practice, the ownership is shared by refcounting, and after the Rust reference is dropped, one taken by Settings survives.
2020-02-03 14:53:24 +00:00
Dorota Czaplejewicz
416bc6163e
drawing: Generalized foreach_visible_button
2020-02-02 18:29:29 +00:00
Dorota Czaplejewicz
40b79f6209
layout: Center views relative to each other and the layout bounds
2020-02-02 18:07:28 +00:00
Dorota Czaplejewicz
782d80a007
row: Eliminate angle
2020-02-02 17:11:25 +00:00
Dorota Czaplejewicz
a51d91eb53
emoji: Add more choices
2020-02-02 16:32:45 +00:00
Dorota Czaplejewicz
687a512e5e
layouts: Better accented uppercase in PL
2020-02-02 15:54:59 +00:00
Dorota Czaplejewicz
500c23beec
locking: Lock keys statelessly
...
Locking is not determined by button state any more, but rather based on the view active at the moment. If pressing/locking a key results in the current view being active, the key is active. If locking a key results in the current view, the unlock view is activated.
2020-02-02 15:41:47 +00:00
Dorota Czaplejewicz
97d8dfe4cb
locks: Draw based on current view
2020-02-02 14:45:33 +00:00
Guido Gunther
11213ba13a
Merge branch '1.8.1' into 'master'
...
Release 1.8.1
See merge request Librem5/squeekboard!321
2020-01-31 14:23:03 +00:00
Dorota Czaplejewicz
3d6c656c78
Merge branch 'pl' into 'master'
...
layouts: Add Polish layouts
See merge request Librem5/squeekboard!318
2020-01-31 10:40:06 +00:00
Dorota Czaplejewicz
258dd9b926
Release 1.8.1 "Corona"
...
- Landscape layout doesn't crash
- CSS font is actually taken into account
- Failed start due to dbus is now communicated
- Better log messages
- Fixed Enter in numbers layout
- More consistent terminal layout
- Proper font sizes in terminal layout
2020-01-31 10:16:32 +00:00
Dorota Czaplejewicz
4eaa8e316e
cargo: Update deps
2020-01-31 10:08:48 +00:00
Dorota Czaplejewicz
cbee649939
Merge branch 'update-docs' into 'master'
...
Update docs and CI builds
See merge request Librem5/squeekboard!320
2020-01-30 22:57:07 +00:00
Sebastian Krzyszkowiak
b9db00c00c
layouts: Add Polish layouts
2020-01-30 21:19:13 +01:00
David Boddie
99b1439d08
Use pip to install recommonmark
2020-01-30 16:51:35 +01:00
David Boddie
83fe2757ef
Tidy build file and docs
2020-01-30 16:51:20 +01:00
Guido Gunther
d21d278710
Merge branch 'faster' into 'master'
...
build: Strip clap of optional features
See merge request Librem5/squeekboard!311
2020-01-29 09:27:42 +00:00
Guido Gunther
e6ca914d65
Merge branch 'return' into 'master'
...
number: Fix keysym for Return
See merge request Librem5/squeekboard!310
2020-01-29 09:26:05 +00:00
Guido Gunther
0d96a647f9
Merge branch 'packaging' into 'master'
...
debian: Add missing commas
See merge request Librem5/squeekboard!316
2020-01-29 09:05:07 +00:00
Sebastian Krzyszkowiak
852289b5e3
Merge branch 'switch' into 'master'
...
setup: Connect ui to the state manager
See merge request Librem5/squeekboard!319
2020-01-28 22:04:47 +00:00
Dorota Czaplejewicz
1f5e9566e4
debian: Add missing commas
2020-01-28 21:38:58 +00:00
Dorota Czaplejewicz
7a588460bf
setup: Connect ui to the state manager
...
This ensures that the layout type information is accessible to the state manager when new layout information arrive.
The should be thought of as a stopgap measure. A proper solution would be to separate the state properly, and probably turn layout information coming from random places into messages that some object (thread?) collects and displays.
2020-01-28 21:32:47 +00:00
Dorota Czaplejewicz
d654b9cc73
Merge branch 'ux' into 'master'
...
layout: terminal: Replace actions button with period on symbols view
See merge request Librem5/squeekboard!317
2020-01-28 20:55:25 +00:00
Sebastian Krzyszkowiak
3ed601a7e8
layout: terminal: Replace actions button with period on symbols view
...
Commit ab67bd2c5c took things a bit too
far and completely removed the period button.
2020-01-28 20:51:15 +01:00
Sebastian Krzyszkowiak
63d68c004a
Merge branch 'fix_wide' into 'master'
...
layouts: Fix segfault on switching to wide
See merge request Librem5/squeekboard!312
2020-01-28 19:43:46 +00:00
Sebastian Krzyszkowiak
34c6d2ff28
Merge branch 'fintsize' into 'master'
...
font: Use font from style context
See merge request Librem5/squeekboard!313
2020-01-28 19:22:22 +00:00
Dorota Czaplejewicz
7f32c5cf23
greek: Rename to gr which is used by gnome settings
2020-01-28 19:17:47 +00:00
Dorota Czaplejewicz
9368a188b3
Merge branch 'ux' into 'master'
...
Terminal layout UX tweaks
Closes #175
See merge request Librem5/squeekboard!314
2020-01-28 19:16:07 +00:00
Dorota Czaplejewicz
a61019c4b7
translations: Translate builtin layouts
2020-01-28 19:15:39 +00:00
Dorota Czaplejewicz
f4f11e5051
translations: Remove redundant ones
...
Language translations are all handled by gnome-desktop
2020-01-28 19:15:05 +00:00
Sebastian Krzyszkowiak
ab67bd2c5c
layout: terminal: Show actions button on all views
2020-01-28 19:34:03 +01:00
Sebastian Krzyszkowiak
f834fafd67
layout: terminal: Swap positions of preferences and actions button
...
This makes it consistent with regular layouts.
Helps with #175
2020-01-28 19:33:58 +01:00
Dorota Czaplejewicz
4b34f18d34
font: Only pass relevant data to label renderer
...
This will help factoring the function out
2020-01-28 18:13:19 +00:00
Dorota Czaplejewicz
d5682de47c
font: Use font from style context
...
As a consequence, some dependency on renderer is gone.
2020-01-28 18:13:15 +00:00
Dorota Czaplejewicz
2ffbdde758
layouts: Fix segfault on switching to wide
2020-01-28 16:42:58 +00:00
Dorota Czaplejewicz
cd252634bd
logging: Use in merged functions
2020-01-28 12:45:45 +00:00
Dorota Czaplejewicz
de8aaa1a47
Merge remote-tracking branch 'upstream/master' into text_input_enable
2020-01-28 12:39:42 +00:00
Dorota Czaplejewicz
ac360b610f
Merge branch 'log' into 'master'
...
Unify logging
See merge request Librem5/squeekboard!308
2020-01-28 11:42:02 +00:00
Dorota Czaplejewicz
acfa48886d
build: Strip clap of optional features
...
This makes the build marginally faster at the cost of losing non-essential command line parsing in test_layout.
2020-01-25 17:25:02 +00:00
Dorota Czaplejewicz
f326929634
Merge branch 'text_input' into 'master'
...
Text input integration
See merge request Librem5/squeekboard!302
2020-01-24 09:41:14 +00:00
Dorota Czaplejewicz
dbb8331294
number: Fix keysym for Return
2020-01-23 15:43:36 +00:00
Dorota Czaplejewicz
585ed5e97d
input_method: Use for erasing
2020-01-23 15:39:40 +00:00
Dorota Czaplejewicz
09075e57c8
Merge branch 'fix_ci' into 'master'
...
ci: Clean up `..` before it's searched for artifacts
See merge request Librem5/squeekboard!305
2020-01-21 19:52:18 +00:00
Dorota Czaplejewicz
2b65beba44
press_key: Use proper logging
2020-01-20 15:40:30 +00:00
Dorota Czaplejewicz
5129d42577
Merge remote-tracking branch 'upstream/master' into log
2020-01-20 15:40:01 +00:00
Dorota Czaplejewicz
2ed4862db8
Merge branch '1.8' into 'master'
...
Release 1.8.0
See merge request Librem5/squeekboard!303
2020-01-20 14:21:04 +00:00
Dorota Czaplejewicz
8d06815279
Merge branch 'cleanups' into 'master'
...
C-side Cleanups
See merge request Librem5/squeekboard!300
2020-01-19 12:57:40 +00:00
Dorota Czaplejewicz
c75e085dc8
logging: Unified to remove random eprint calls
2020-01-17 12:25:39 +00:00
Dorota Czaplejewicz
cc418c3609
imservice: Return something more resembling an Error on failure
...
The error type is expected to be printable by logging utilities.
2020-01-17 11:59:47 +00:00
Dorota Czaplejewicz
ea84f4f031
logging: Try to improve common operations
...
This adds sugar for logging `Result`s with a handler, makes names evoke something closer to "logging" than "warning", tries to remove any redundant `Logging` where the module name will do, and introduces a type strictly for bad things happening.
2020-01-16 15:57:46 +00:00
Dorota Czaplejewicz
38398395bc
Merge branch 'dbus_error' into 'master'
...
dbus: Log error on dbus exit
See merge request Librem5/squeekboard!307
2020-01-15 17:48:05 +00:00
Dorota Czaplejewicz
81e0c15db9
dbus: Log error on dbus exit
2020-01-15 17:06:00 +00:00
Dorota Czaplejewicz
60c68dbf5a
ci: Clean up .. before it's searched for artifacts
...
GitLab doesn't always clean up the `..` directory, leaving things that are lated picked up as artifacts. The new rule cleans up anything that looks like an artifact before fresh ones are generated.
2020-01-14 18:47:04 +00:00
Dorota Czaplejewicz
f3d852f552
Merge branch 'handling' into 'master'
...
Centralize handling release events
See merge request Librem5/squeekboard!289
2020-01-14 18:38:43 +00:00
Dorota Czaplejewicz
42cb73cd8c
submission: Handle submitting strings
2020-01-14 18:33:47 +00:00
Dorota Czaplejewicz
d1bc23e9d8
imservice: Add commit_string method
2020-01-14 18:17:12 +00:00
Dorota Czaplejewicz
e3f31cc17f
imservice: Rename commit_state to done to match protocol
2020-01-14 18:16:36 +00:00
Dorota Czaplejewicz
dca0e55557
Release 1.8.0 "Conflict-free replicated data type"
...
- The terminal layout is always available from the layout selection popup.
- XKB Layout names in the popup are translated using GNOME's database.
2020-01-14 13:56:21 +00:00
Dorota Czaplejewicz
a78f8e246b
pre-release: Update deps
2020-01-14 13:54:10 +00:00
Dorota Czaplejewicz
9d027426b7
Merge branch 'termina' into 'master'
...
overlay: Add terminal
See merge request Librem5/squeekboard!299
2020-01-14 12:58:26 +00:00
Dorota Czaplejewicz
02c24a50d2
submission: Remove wildcard reexport
2020-01-14 11:38:44 +00:00
Dorota Czaplejewicz
26dbcdeb62
keyboard: Gather up keymap handling, drop layout
2020-01-13 13:53:54 +00:00
Dorota Czaplejewicz
0ef02ebfa3
levelkeyboard: Drop unused manager references
2020-01-13 13:53:54 +00:00
Dorota Czaplejewicz
0ce19b4269
keyboard: Cleanups of unused code
2020-01-13 13:53:54 +00:00
Dorota Czaplejewicz
326bb9319f
submission: Take over virtual_keyboard handling
2020-01-13 13:53:54 +00:00
Dorota Czaplejewicz
aafecfac02
EekGtkKeyboard: Use a direct reference to EekboardContext
2020-01-13 13:53:54 +00:00
Dorota Czaplejewicz
e5d416fd4f
imservice: Limited scope of unsafe
2020-01-13 13:53:54 +00:00
Dorota Czaplejewicz
785717d477
submission: Create a new wrapper over imservice
2020-01-13 13:53:48 +00:00
Guido Gunther
fdcc4f5aab
Merge branch 'random_cleanups' into 'master'
...
eek-layout: Remove unused
See merge request Librem5/squeekboard!301
2020-01-13 09:59:13 +00:00
Dorota Czaplejewicz
4e4f8e1932
eek-layout: Remove unused
2020-01-12 19:25:41 +00:00
Dorota Czaplejewicz
51f55fbff8
submission: Move away from virtual-keyboard
2020-01-11 16:20:09 +00:00
Dorota Czaplejewicz
92c9572ac2
services: Split out layout management from EekboardContextService
...
Layout management was pointlessly bound with the EekboardContextService with inheritance. Splitting it out will make it easier to further break apart layout state management, settings, and input method in the future.
2020-01-11 15:33:26 +00:00
Guido Gunther
357a46ced3
Merge branch 'translation' into 'master'
...
Use xkb layout names from gnome
See merge request Librem5/squeekboard!280
2020-01-11 11:58:53 +00:00
Dorota Czaplejewicz
58b087e35a
eekboard_context_service: Drop unused enable property
2020-01-09 20:13:22 +00:00
Dorota Czaplejewicz
14d5881f1e
key-emitter: Remove unused
2020-01-09 19:57:14 +00:00
Dorota Czaplejewicz
7dd8bd54c2
context: Moved keymap setting together with its generation
2020-01-09 16:42:17 +00:00
Dorota Czaplejewicz
4c2cef30f2
dbus: Rename handler from eekboard_service
2020-01-09 16:25:53 +00:00
Dorota Czaplejewicz
3ecfd701d9
dbus: Remove unneeded gobjectness
...
Also removed the code linking dbus interface stop to application quit. DBus going missing was not handled, and isn't a fatal error anyway.
2020-01-09 16:13:09 +00:00
Dorota Czaplejewicz
033a1cf200
dbus_service: Remove unused function
2020-01-09 15:53:49 +00:00
Dorota Czaplejewicz
9f59279307
managers: Move visible flag to UI manager
2020-01-09 14:14:48 +00:00
Dorota Czaplejewicz
7e72722a47
UI: Drop indirection for show/hide functions
2020-01-09 13:30:02 +00:00
Dorota Czaplejewicz
375daa68c8
layout: Make handling presses uniform
2020-01-09 12:09:28 +00:00
Sebastian Krzyszkowiak
ed31e40991
Merge branch '1.7' into 'master'
...
Release 1.7.0, fix 1.6.0 suite
See merge request Librem5/squeekboard!298
2020-01-09 06:13:00 +00:00
Dorota Czaplejewicz
34db364a62
layout: Centralize handling key releases
2020-01-08 18:52:09 +00:00
Dorota Czaplejewicz
950310c8a5
keyboard: Introduce a KeyCode type wrapping u32
2020-01-08 18:52:09 +00:00
Dorota Czaplejewicz
e77eccf7db
action: Rename Level to View
2020-01-08 18:52:09 +00:00
Dorota Czaplejewicz
273423f626
Release 1.7.0 "Mycelium"
...
Enables a terminal layout, which will activate whenever the terminal input hint is received.
Arm64 .debs are produced by the CI again.
2020-01-08 12:19:59 +00:00
Dorota Czaplejewicz
d80cbf880f
cargo: Refresh deps for release
2020-01-08 12:19:53 +00:00
Dorota Czaplejewicz
e06e23dd4c
overlay: Add terminal
...
Enables Terminal to be selected as an overlay over the selected language.
2020-01-08 12:06:15 +00:00
Dorota Czaplejewicz
1924a8e634
v1.6.0: Fix suite
2020-01-08 11:52:46 +00:00
Dorota Czaplejewicz
0bfd846139
translations: Make the code cleaner
2020-01-07 16:18:52 +00:00
Dorota Czaplejewicz
a93f3c55e7
translations: Use gnome-desktop's xkb info database for layout names
2020-01-07 16:18:52 +00:00
Guido Gunther
647fde26f5
Merge branch 'arm64' into 'master'
...
CI: Use Librem5 arm64 runner
See merge request Librem5/squeekboard!297
2020-01-07 16:10:25 +00:00
Guido Gunther
23f8f9b091
Merge branch '1.6' into 'master'
...
Release 1.6.0 "Specific impulse"
See merge request Librem5/squeekboard!295
2020-01-07 16:08:43 +00:00
Dorota Czaplejewicz
c3c1e1c76d
CI: Use Librem5 arm64 runner
2020-01-07 14:39:30 +00:00
Dorota Czaplejewicz
7a21b992dc
Merge branch 'terminal_layout' into 'master'
...
Terminal layout
See merge request Librem5/squeekboard!279
2020-01-07 12:55:08 +00:00
Dorota Czaplejewicz
5485153599
Merge branch 'fix_build' into 'master'
...
CI: Fix build-dep removed by merge
See merge request Librem5/squeekboard!296
2020-01-04 13:56:23 +00:00
Dorota Czaplejewicz
4a92489de8
CI: Fix build-dep removed by merge
2020-01-04 13:34:30 +00:00
Dorota Czaplejewicz
825409c97f
Merge branch 'osk_entry' into 'master'
...
tools: Add GTK's INHIBIT_OSK flag to the entry tester
See merge request Librem5/squeekboard!290
2020-01-04 10:49:35 +00:00
Dorota Czaplejewicz
6ad85d79e4
Merge branch 'doc' into 'master'
...
docs: Create with tutorial
See merge request Librem5/squeekboard!285
2020-01-04 10:49:03 +00:00
Dorota Czaplejewicz
7e57df3434
Release 1.6.0 "Specific impulse"
...
New emoji layout, `entry.py` becomes part of the -devel package under the name `squeekboard-entry`.
2020-01-02 12:06:19 +00:00
Guido Gunther
24cacf988b
Merge branch 'type_fixes' into 'master'
...
Fix g_ and stdlib allocation/free mismatches
See merge request Librem5/squeekboard!294
2019-12-24 22:09:16 +00:00
Dorota Czaplejewicz
2657b5ef1f
terminal: A more fleshed out layout
2019-12-24 14:33:58 +00:00
Dorota Czaplejewicz
674bef2b00
terminal: Use a rudimentary layout on input hint
2019-12-24 14:33:58 +00:00
Dorota Czaplejewicz
8e55e9ee56
Fix g_ and stdlib allocation/free mismatches
2019-12-24 14:28:50 +00:00
Guido Gunther
e1a012cf50
Merge branch 'enoji' into 'master'
...
Enoji: implemented mechanism
See merge request Librem5/squeekboard!276
2019-12-24 14:21:51 +00:00
Dorota Czaplejewicz
50dab14754
emoji: Add a passable layout
2019-12-24 10:41:02 +00:00
Dorota Czaplejewicz
733cbe94ee
Fix old Rust woes
2019-12-24 10:41:02 +00:00
Dorota Czaplejewicz
01a8afad0d
popover: Show overlays as selected
2019-12-24 10:41:02 +00:00
Dorota Czaplejewicz
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
Dorota Czaplejewicz
a799178b6a
Merge branch 'logging' into 'master'
...
Logging
See merge request Librem5/squeekboard!288
2019-12-24 10:10:30 +00:00
Dorota Czaplejewicz
12be3e980f
Merge branch 'cleanup' into 'master'
...
Build cleanups
See merge request Librem5/squeekboard!287
2019-12-23 21:34:18 +00:00
Dorota Czaplejewicz
ca8a2baefa
Merge branch 'devel' into 'master'
...
Entry test added to -devel package
See merge request Librem5/squeekboard!286
2019-12-23 21:33:41 +00:00
Guido Gunther
6b72d09fb8
Merge branch '1.5' into 'master'
...
Release 1.5.0 "The bends"
See merge request Librem5/squeekboard!293
2019-12-23 15:09:28 +00:00
Dorota Czaplejewicz
d76deb0655
Release 1.5.0 "The bends"
...
This release introduces some renderer improvements, including relating to speed.
Mire importantly, layout files have an incompatible change in format: bounds on the layout are replaced by margins. This removes the possibility that buttons don't fit in the layout and frees layout makers from having to calculate the size of the layout manually.
2019-12-23 12:08:45 +00:00
Dorota Czaplejewicz
3b0456b5cd
Merge branch 'margins' into 'master'
...
Use margins, remove bounds
See merge request Librem5/squeekboard!283
2019-12-23 11:56:30 +00:00
Guido Gunther
77a6ca1900
Merge branch 'arm64' into 'master'
...
CI: Build arm64 .deb
See merge request Librem5/squeekboard!292
2019-12-20 08:32:54 +00:00
Dorota Czaplejewicz
c0331434d7
CI: Build arm64 .deb
2019-12-19 19:38:34 +00:00
Dorota Czaplejewicz
e9d6631159
tools: Add GTK's INHIBIT_OSK flag to the entry tester
2019-12-18 19:56:02 +00:00
Dorota Czaplejewicz
f335ea92d4
Merge branch 'readme' into 'master'
...
Readme updates
See merge request Librem5/squeekboard!281
2019-12-18 19:49:59 +00:00
Dorota Czaplejewicz
c8dd34c829
logging: Add described log levels
...
Not used yet due to conflicts with other MRs.
2019-12-16 19:56:16 +00:00
Dorota Czaplejewicz
4d656ff54d
logging: Described the design
2019-12-16 19:36:02 +00:00
Dorota Czaplejewicz
e2b89e85f7
logging: Move all facilities to one file
2019-12-16 19:15:40 +00:00
Dorota Czaplejewicz
b6f3d9c1ea
Remove unused header generator
2019-12-16 18:52:50 +00:00
Dorota Czaplejewicz
9ff11dc511
Remove unused build dependencies
2019-12-16 18:22:23 +00:00
Dorota Czaplejewicz
1cffdda09d
packaging: Install entty.py as squeekboard-entry
2019-12-16 18:13:24 +00:00
Dorota Czaplejewicz
d9f284b19a
build: Move building of squeekboard-test-layout to tools
2019-12-16 17:47:00 +00:00
Dorota Czaplejewicz
ed602faeaf
tools: Move entry.py
2019-12-16 17:46:42 +00:00
Dorota Czaplejewicz
0e1bf19737
docs: Create with tutorial
...
Create docs, based on Sphinx with Commonmark, seeding it with https://forums.puri.sm/t/translations-and-virtual-touch-keyboards-tracking-localization/7669/48?u=dcz
2019-12-15 21:53:18 +00:00
Dorota Czaplejewicz
1237537005
Merge branch 'lockfile' into 'master'
...
Use clap in the lockfile
See merge request Librem5/squeekboard!284
2019-12-15 19:07:23 +00:00
Dorota Czaplejewicz
257b97e9ca
layout: Respect margins
2019-12-15 18:43:56 +00:00
Dorota Czaplejewicz
5e700219f9
parsing: Remove bounds which weren't used anyway
2019-12-15 18:43:56 +00:00
Dorota Czaplejewicz
927f088027
Use clap in the lockfile
2019-12-15 18:42:33 +00:00
Dorota Czaplejewicz
8b3f7e0b11
Merge branch 'positioning' into 'master'
...
Positioning
See merge request Librem5/squeekboard!274
2019-12-15 16:51:35 +00:00
Dorota Czaplejewicz
ae43d7ca47
Merge branch 'terminal_purpose' into 'master'
...
Entry test: Add Terminal input purpose
See merge request Librem5/squeekboard!278
2019-12-15 16:41:59 +00:00
Dorota Czaplejewicz
432e4fe1e5
Merge branch 'drop_key' into 'master'
...
Simplify renderer
See merge request Librem5/squeekboard!272
2019-12-15 16:38:31 +00:00
Dorota Czaplejewicz
6afa2133d0
Merge branch 'squeekboard-test-layout-args-check' into 'master'
...
squeekboard-test-layout: add argument parsing and some more output
See merge request Librem5/squeekboard!277
2019-12-14 10:55:37 +00:00
Mark Müller
cfa66d8182
squeekboard-test-layout: add argument parsing and some more output
2019-12-14 10:55:37 +00:00
Guido Gunther
b6e67256c3
Merge branch 'dco' into 'master'
...
hacking: Add DCO and licensing requirement
See merge request Librem5/squeekboard!282
2019-12-11 17:37:55 +00:00
Dorota Czaplejewicz
d5c8f32088
Fix internal .md link
2019-12-11 15:50:28 +00:00
Dorota Czaplejewicz
6f990f4528
hacking: Add DCO and licensing requirement
2019-12-11 15:44:26 +00:00
Dorota Czaplejewicz
7641b4da6f
Create a library/UI module separation
2019-12-11 15:33:29 +00:00
Dorota Czaplejewicz
a84730198d
readme: Add note about Cargo dependencies
2019-12-11 15:26:27 +00:00
Dorota Czaplejewicz
0b136468c8
Entry test: Add Terminal input purpose
2019-12-09 13:38:19 +00:00
Dorota Czaplejewicz
fe4642e71e
Merge branch 'japanese-kana-wide-keyboard-layout' into 'master'
...
layout: add Japanese Kana wide layout
See merge request Librem5/squeekboard!275
2019-12-09 11:12:48 +00:00
Mark Müller
16289c6f82
layout: add Japanese Kana wide layout
2019-12-09 11:12:48 +00:00
Dorota Czaplejewicz
b639c7f3f0
Fix old Rust woes
2019-12-08 07:04:22 +00:00
Dorota Czaplejewicz
d80758fcd1
positioning: Clean up unused code
2019-12-07 21:33:38 +00:00
Dorota Czaplejewicz
dd21bfed8d
positioning: Calculate sizes instead of storing, move position out of widgets
...
Sizes of widgets can be derived, so storing them was only for C compatibility. Similar with storing position inside of widgets.
Some layout margin and scaling changes could be introduced, meaning a possibility of visual differences.
2019-12-07 21:20:21 +00:00
Dorota Czaplejewicz
1f69787fac
cleanup: Remove unused single frame draw
2019-12-07 17:19:49 +00:00
Dorota Czaplejewicz
36362291ef
cleanup: Unbox View and Row
...
They are no longer referenced anywhere in C, so it's safe to let Rust memory management deal with them.
2019-12-07 17:19:39 +00:00
Dorota Czaplejewicz
1c4d027af5
cleanup: Remove references to squeek_view
2019-12-07 15:42:54 +00:00
Dorota Czaplejewicz
51a77c41c3
renderer: Remove unused functions
2019-12-07 15:19:53 +00:00
Dorota Czaplejewicz
8b4c643d3e
Merge branch 'german-wide-keyboard-layout' into 'master'
...
layout: add German wide layout
See merge request Librem5/squeekboard!271
2019-12-07 14:39:43 +00:00
Mark Müller
358b25c431
layout: add German wide layout
2019-12-07 14:39:43 +00:00
Dorota Czaplejewicz
f77db1bb73
renderer: Render whole keyboard the same way as pressed buttons
...
Removed window size dependent surface.
2019-12-07 14:33:49 +00:00
Dorota Czaplejewicz
581c86809a
renderer: Simply cut off when painting outside bounds
2019-12-07 14:03:51 +00:00
Dorota Czaplejewicz
804aa53351
renderer: Remove unused locked key render function
2019-12-07 14:01:03 +00:00
Dorota Czaplejewicz
e6da2a3b5b
rendering: Remove unneeded redraw after button release
2019-12-07 13:58:50 +00:00
Dorota Czaplejewicz
f9fbd3fb2d
rendering: Simplify Cairo context usage, remove unneeded calls.
...
Moved Cairo context usage to Rust, and rearranged ctx setup (position) to happen in one place.
Removed render calls that were overwritten on each draw call anyway.
2019-12-07 12:47:47 +00:00
David Boddie
2749fdb686
Merge branch 'click' into 'master'
...
Switch layout on click
Closes #157
See merge request Librem5/squeekboard!266
2019-12-05 23:49:37 +00:00
David Boddie
8e7909e877
Merge branch 'stable' into 'master'
...
keycodes: Sort to eliminate runtime indeterminism
See merge request Librem5/squeekboard!268
2019-12-05 22:20:43 +00:00
Dorota Czaplejewicz
afaacd3f68
Merge branch '1.4' into 'master'
...
Release 1.4.0 "Nacelle"
See merge request Librem5/squeekboard!273
2019-12-02 19:53:20 +00:00
Dorota Czaplejewicz
6a164d8119
Release 1.4.0 "Nacelle"
...
Major changes:
- "text" property for layouts
- adjusting to user's color scheme
2019-12-02 19:40:14 +00:00
Dorota Czaplejewicz
6e32a2ef41
renderer: Simplify surface rendering
2019-12-01 16:00:40 +00:00
Dorota Czaplejewicz
34fce7395d
renderer: Drop unused params
2019-12-01 15:36:01 +00:00
Dorota Czaplejewicz
d415ecf5d0
renderer: Drop row from button rendering
2019-12-01 15:31:16 +00:00
Dorota Czaplejewicz
5266c621fd
renderer: Simplified outline rendering
2019-12-01 15:27:14 +00:00
Dorota Czaplejewicz
4ee832c594
renderer: Remove some unneeded vars
2019-12-01 15:22:00 +00:00
Dorota Czaplejewicz
83fea8cd31
Drop squeek_key
2019-12-01 15:01:08 +00:00
Dorota Czaplejewicz
3c45e3e53c
switcher: Switch layout on menu item click
2019-11-30 15:14:45 +00:00
Dorota Czaplejewicz
cdf263d984
Merge branch 'translation-and-minor-layout-fixes' into 'master'
...
translation: Japanese and minor layout fixes
See merge request Librem5/squeekboard!264
2019-11-30 12:22:45 +00:00
Mark Müller
2ddfcfaff0
translation: Japanese and minor layout fixes
2019-11-30 12:22:45 +00:00
Dorota Czaplejewicz
a901c85bcb
Merge branch 'themes' into 'master'
...
Use appropriate styling for layouts
See merge request Librem5/squeekboard!253
2019-11-30 11:08:08 +00:00
David Boddie
fdbbe8f126
Merge branch 'settings' into 'master'
...
Implement the word-of-mouth layout selection
See merge request Librem5/squeekboard!260
2019-11-29 18:19:17 +00:00
David Boddie
f284627beb
Merge branch 'release' into 'master'
...
Use Cargo release flag
See merge request Librem5/squeekboard!256
2019-11-29 15:33:00 +00:00
Dorota Czaplejewicz
d45724c462
Merge branch 'leave' into 'master'
...
pointer: Release button when window is left
Closes #46
See merge request Librem5/squeekboard!262
2019-11-29 13:47:48 +00:00
Dorota Czaplejewicz
93d0dcdc99
Merge branch 'text' into 'master'
...
Text property
Closes #153
See merge request Librem5/squeekboard!257
2019-11-28 09:19:30 +00:00
Dorota Czaplejewicz
b252f7659b
rust: Be compatible with older Rust
2019-11-27 16:52:50 +00:00
Dorota Czaplejewicz
af6ad1fce6
buttons: Accept "text" and drop xkb keysym derivation
2019-11-27 16:52:50 +00:00
Dorota Czaplejewicz
4ee8a91dfe
build: Bring back squeekboard as a first class executable
...
With styles no longer being inconsistent, there's no need to override styles by default. The override script remains for PureOS packaging purposes.
2019-11-27 16:37:44 +00:00
Dorota Czaplejewicz
6d5f793718
util: Include Result logger
2019-11-27 16:31:24 +00:00
Dorota Czaplejewicz
59f6173282
theme: Use a matching layout theme for any widget theme
...
Dedicated styling is now possible for themes which have a corresponding style-theme.css file. Adwaita:dark gets one, whereas other themes use the new generic fallback theme.
2019-11-27 16:30:32 +00:00
Dorota Czaplejewicz
3aec821f92
Merge branch 'errors' into 'master'
...
Better layout checking
Closes #131
See merge request Librem5/squeekboard!255
2019-11-27 16:22:08 +00:00
Dorota Czaplejewicz
3ac4caa3b9
keycodes: Sort to eliminate runtime indeterminism
2019-11-27 16:18:36 +00:00
Dorota Czaplejewicz
80ac591535
Merge branch 'deadkey' into 'master'
...
Bugfix release 1.3.2: work around sending keycode 0
See merge request Librem5/squeekboard!267
2019-11-26 15:55:10 +00:00
Dorota Czaplejewicz
579ba8ab87
Release 1.3.2
2019-11-26 15:38:32 +00:00
Dorota Czaplejewicz
5a262242a3
keymap: Work around sending keycode 0
...
If keycode 0 resolves to a letter, the the press is ignored by the compositor. This works around the bug.
2019-11-26 15:35:22 +00:00
Dorota Czaplejewicz
034570bfa0
readme: Update language selection
2019-11-21 18:57:34 +00:00
Dorota Czaplejewicz
1abca0a44e
settings: Fetch current layout as the first item
2019-11-21 18:57:34 +00:00
Dorota Czaplejewicz
23693521b7
popover: Don't change "current" field on language settings, change order
...
Also stops crashes when sources list is empty.
2019-11-21 18:57:09 +00:00
Dorota Czaplejewicz
bb18e60754
Merge branch 'release1' into 'master'
...
Release 1.3.1
See merge request Librem5/squeekboard!265
2019-11-20 22:24:02 +00:00
Dorota Czaplejewicz
35bc163107
Release 1.3.1
...
Fixing layout issues and building failures due to tests taking a long time.
2019-11-20 22:13:31 +00:00
Dorota Czaplejewicz
0179507254
readme: Update cargo.sh usage
2019-11-20 14:32:42 +00:00
Dorota Czaplejewicz
0c7e77a05f
pointer: Release button when window is left
2019-11-20 13:17:47 +00:00
Dorota Czaplejewicz
317d8a58dc
Merge branch 'translations' into 'master'
...
translations: Updated pl and en with new layouts
See merge request Librem5/squeekboard!261
2019-11-20 12:26:39 +00:00
Dorota Czaplejewicz
89b3ab9a81
translations: Updated pl and en with new layouts
2019-11-20 12:12:07 +00:00
Mark Müller
8690808a29
layouts: Correct xkb symbols usage
2019-11-20 11:18:02 +00:00
Dorota Czaplejewicz
be4ac32477
Merge branch '153-fix-German-layout-xkb-buttons-without-keycode-property' into 'master'
...
German layout: Correct xkb symbols usage
See merge request Librem5/squeekboard!251
2019-11-20 11:15:18 +00:00
Mark Müller
5068f36d9d
German layout: Correct xkb symbols usage
2019-11-20 11:15:18 +00:00
Dorota Czaplejewicz
8c48e96f50
Merge branch 'codes' into 'master'
...
Language code fixes
See merge request Librem5/squeekboard!258
2019-11-20 11:12:47 +00:00
Dorota Czaplejewicz
f15619287a
Merge branch 'de' into 'master'
...
DE fixes
See merge request Librem5/squeekboard!259
2019-11-20 10:47:34 +00:00
Dorota Czaplejewicz
eb5c28e77f
translation: Use right codes in German
2019-11-20 10:25:56 +00:00
Dorota Czaplejewicz
7fb34feaf8
translations: Use the correct code for Norwegian
2019-11-20 10:24:31 +00:00
Dorota Czaplejewicz
20a6cf52ac
layouts: Rename ja+kana to jp+kana
2019-11-20 10:23:05 +00:00
Dorota Czaplejewicz
c566d8853e
translations: Register Spanish
2019-11-20 10:21:41 +00:00
Dorota Czaplejewicz
0beddc6856
Merge branch 'patch-8' into 'master'
...
translations: Spanish
See merge request Librem5/squeekboard!246
2019-11-20 10:11:48 +00:00
Dorota Czaplejewicz
0adde1004f
cargo: Use release mode for release builds
2019-11-19 13:50:36 +00:00
Dorota Czaplejewicz
9b271a6919
devel: Package squeekboard-test-layout
2019-11-19 12:22:24 +00:00
Dorota Czaplejewicz
1db561d33a
build: Handle output files better
2019-11-19 12:15:08 +00:00
Dorota Czaplejewicz
3170a0b615
Merge branch 'renderer' into 'master'
...
Renderer reworks
See merge request Librem5/squeekboard!238
2019-11-19 10:34:47 +00:00
Dorota Czaplejewicz
9571adb107
tests: Executable for testing layouts
2019-11-19 09:47:32 +00:00
Dorota Czaplejewicz
f834f174d8
cargo: Copy target with properties, find filename automatically
2019-11-19 09:35:32 +00:00
Dorota Czaplejewicz
3c0b142c4f
warnings: Print at runtime, crash at test time
2019-11-19 08:29:57 +00:00
Mark Müller
4f28e3413a
langs: add de-DE for switcher
2019-11-19 00:10:35 +01:00
Mark Müller
291be9fa79
Update de-DE.txt
2019-11-18 22:58:27 +00:00
Mark Müller
fd5d060eee
langs: add de-DE for switcher
2019-11-18 22:56:47 +01:00
Dorota Czaplejewicz
cffe07521e
Merge branch 'prebuild_tests' into 'master'
...
Prebuild tests
See merge request Librem5/squeekboard!250
2019-11-17 15:14:50 +00:00
Dorota Czaplejewicz
36af546362
tests: Bump timeout for the execution of all unit tests
2019-11-17 15:06:07 +00:00
Dorota Czaplejewicz
0da848a5a0
tests: Use correct test compilation command
2019-11-17 14:56:25 +00:00
Dorota Czaplejewicz
8c9ae98bda
Merge branch 'release' into 'master'
...
Release 1.3.0
See merge request Librem5/squeekboard!247
2019-11-16 15:49:58 +00:00
Dorota Czaplejewicz
7cc8eecd26
Release 1.3.0
2019-11-16 15:40:56 +00:00
uzanto
ef025509ba
translations: Spanish
2019-11-15 20:57:24 +00:00
Dorota Czaplejewicz
3f6bb7f60b
Merge branch 'fi' into 'master'
...
layouts: Correct most unneeded xkb symbols usage
See merge request Librem5/squeekboard!245
2019-11-15 16:50:35 +00:00
Dorota Czaplejewicz
d7ee2f4c3c
layouts: Correct most unneeded xkb symbols usage
2019-11-15 15:11:12 +00:00
Dorota Czaplejewicz
98f14d3e81
Merge branch 'fix_swedish_layout' into 'master'
...
Fix åäö in Swedish layout
See merge request Librem5/squeekboard!244
2019-11-15 15:00:19 +00:00
Dorota Czaplejewicz
02ec745856
Merge branch 'update-copyright' into 'master'
...
Update copyright information
See merge request Librem5/squeekboard!241
2019-11-15 14:33:23 +00:00
Andreas Rönnquist
6ac17bfde5
Fix åäö in Swedish layout
2019-11-15 15:28:36 +01:00
Dorota Czaplejewicz
d8cb6ab383
Merge branch 'remove-old-files' into 'master'
...
Remove unused files
See merge request Librem5/squeekboard!242
2019-11-15 13:52:56 +00:00
Dorota Czaplejewicz
db52a842b2
Merge branch 'caches' into 'master'
...
Fix leaks
See merge request Librem5/squeekboard!237
2019-11-15 13:50:29 +00:00
Dorota Czaplejewicz
ad8c918e1a
Merge branch 'style' into 'master'
...
Use dark style by default
See merge request Librem5/squeekboard!239
2019-11-15 13:49:28 +00:00
David Boddie
8191324e46
Remove unused files
2019-11-15 01:25:52 +01:00
David Boddie
6777f1b4b7
Update copyright information
2019-11-15 00:53:41 +01:00
Dorota Czaplejewicz
0bfaa8cd7a
debian: Wrap squeekboard in theme selector
...
This works around https://source.puri.sm/Librem5/squeekboard/issues/151 by providing a dark style to match the dark style of the layouts.
2019-11-13 14:07:23 +00:00
Dorota Czaplejewicz
238900f01a
Merge branch 'readme' into 'master'
...
hacking: Clarify dev env and testing
See merge request Librem5/squeekboard!231
2019-11-13 13:44:03 +00:00
Dorota Czaplejewicz
e47ec16293
Merge branch 'fi' into 'master'
...
Finnish layout
See merge request Librem5/squeekboard!240
2019-11-12 14:51:44 +00:00
Dorota Czaplejewicz
6fe08967f6
fi: add tests
2019-11-12 14:44:37 +00:00
Dorota Czaplejewicz
71d2df8b2a
Merge branch 'rename-nb-layout-to-no' into 'master'
...
Rename the nb layout to no, fixing input source selection
See merge request Librem5/squeekboard!233
2019-11-11 19:36:58 +00:00
David Boddie
8024998a4b
Rename the nb layout to no, fixing input source selection
2019-11-11 19:36:58 +00:00
Dorota Czaplejewicz
ea4bf3de29
tools: A theme override wrapper useful for the Librem5
2019-11-11 16:49:21 +00:00
David Boddie
87d368878b
Merge branch 'rusty_popup' into 'master'
...
language selection popup
See merge request Librem5/squeekboard!190
2019-11-08 15:00:04 +00:00
Dorota Czaplejewicz
55584e27fa
translations: Filled out Polish
2019-11-08 10:21:35 +00:00
Dorota Czaplejewicz
9f88660d99
locale: Add translations for layout names
...
Pulled in some Unix-specific code from https://github.com/rust-locale/locale_config to reduce dependencies.
First reason to reduce dependencies: gettext-rs is not in Debian. Copying gettext-sys might have made sense, but the interface is somewhat confusing.
For translating a couple identifiers, detection and some hand-rolled hash map is all that is needed, and the option to move to gettext later remains.
locale_config has been stripped of the lazy_static dependency, which, messing with the strtup sequence, might be a source of debugging woes. Plus setting language once in the beginning is somewhat inflexible regarding runtime changes.
2019-11-08 10:21:27 +00:00
Dorota Czaplejewicz
c096698ec1
renderer: Remove unused ascii_font
2019-11-07 14:13:27 +00:00
Dorota Czaplejewicz
3aaaed3bae
renderer: Clean up EekColor & label
2019-11-07 14:10:20 +00:00
Dorota Czaplejewicz
f1c76a0ca4
Don't leak CSS
2019-11-06 15:46:53 +00:00
Dorota Czaplejewicz
b78c3ad131
Try to free keymaps
2019-11-06 14:51:54 +00:00
Dorota Czaplejewicz
b6dfb20fec
cache: Remove keyboard cache
2019-11-06 14:45:33 +00:00
Dorota Czaplejewicz
7d18f81a30
Remove unused surface caches
2019-11-06 14:32:23 +00:00
Dorota Czaplejewicz
959f5fbfc9
Merge branch 'drop-desktop-icon' into 'master'
...
Drop the desktop entry icon
See merge request Librem5/squeekboard!236
2019-11-05 17:14:16 +00:00
Adrien Plazas
c2ad03af97
Drop the desktop entry icon
...
The icon doesn't exist, and having one set up prevents GNOME Usage from
displaying the desfault system component one, so we better drop it.
2019-11-05 18:07:22 +01:00
Dorota Czaplejewicz
47c4119ab7
Add a popover menu to switch languages
2019-11-05 13:10:55 +00:00
Dorota Czaplejewicz
e71e843eff
hacking: Define big no-nos in code style
2019-11-05 11:11:56 +00:00
Dorota Czaplejewicz
6e90c9a833
hacking: Clarify dev env and testing
2019-11-05 11:11:52 +00:00
uzanto
1134d92357
Finnish keyboard layout same as Swedish
2019-11-02 21:28:23 +00:00
David Boddie
62009762f9
Merge branch 'add_swedish_layout' into 'master'
...
Add Swedish keyboard layout
See merge request Librem5/squeekboard!232
2019-11-01 17:36:23 +00:00
Andreas Rönnquist
a58a18b63b
Merge branch 'gusnan/squeekboard-add_swedish_layout' into 'add_swedish_layout'
...
Rename file, add it to resources and tests
See merge request gusnan/squeekboard!1
2019-11-01 17:08:11 +00:00
David Boddie
95022c1ac7
Rename file, add it to resources and tests
2019-11-01 16:50:13 +01:00
Andreas Rönnquist
7760b50963
Add sv keyboard layout to resources.rs
2019-11-01 16:38:36 +01:00
Andreas Rönnquist
85b79a5f8f
Add Swedish keyboard layout
2019-10-31 16:31:36 +01:00
Dorota Czaplejewicz
e080d4351e
Release 1.2.2 "Dark matter"
...
Major changes:
- wide layout mode
2019-10-30 12:41:07 +00:00
Dorota Czaplejewicz
dcd4dbf931
Merge branch 'landscape' into 'master'
...
Landscape
See merge request Librem5/squeekboard!216
2019-10-29 14:11:44 +00:00
Dorota Czaplejewicz
ea0926147f
us: Improve height a little
2019-10-29 13:32:53 +00:00
Dorota Czaplejewicz
ce223e04e6
icons: Fix scaling to 16 units of scale
2019-10-29 13:32:53 +00:00
Dorota Czaplejewicz
ddd1c1b16b
wide: Fix shift widths
2019-10-29 13:28:14 +00:00
Dorota Czaplejewicz
0f1f6531da
wide: Reduce button spaces
2019-10-29 13:28:14 +00:00
Dorota Czaplejewicz
c917a1f818
layout: Keep kind metadata in loaded layouts
...
It will come useful for applying per-kind styling later without having to give each layout a new stylesheet
2019-10-29 13:27:54 +00:00
Dorota Czaplejewicz
afe8fd64f4
output: Take transform into account
...
Without handling transform, the surface was created with the wrong size on rotated displays, causing flicker before the .configure event arrived. With, it will attempt to set the right size from the start.
2019-10-29 13:21:46 +00:00
Dorota Czaplejewicz
bd3b27eceb
build: Make borrowing compliant with older Rust
2019-10-29 13:21:46 +00:00
Dorota Czaplejewicz
35ad61890e
layouts: Add us_wide
2019-10-29 13:21:46 +00:00
Dorota Czaplejewicz
1b1fbed7de
layouts: Change type based on shape
2019-10-29 13:21:46 +00:00
Dorota Czaplejewicz
264d30d884
build: Disallow implicit int conversions
2019-10-29 13:21:46 +00:00
Dorota Czaplejewicz
38d8290b59
height: Adjust based on layer surface width
2019-10-29 13:21:46 +00:00
Dorota Czaplejewicz
254b65681a
layersurface: Update from phosh
2019-10-29 13:21:46 +00:00
Dorota Czaplejewicz
fbb3824a3d
height: Derive from display width
2019-10-29 13:21:46 +00:00
Dorota Czaplejewicz
24126ad4f3
wayland: Listen to output changes
2019-10-29 13:21:46 +00:00
Dorota Czaplejewicz
869a0af67f
cleanup: eek-gtk.h
2019-10-29 13:21:46 +00:00
David Boddie
5281d96460
Merge branch 'renderer' into 'master'
...
Renderer improvements
See merge request Librem5/squeekboard!229
2019-10-28 21:49:38 +00:00
Dorota Czaplejewicz
8f7f6c05c0
renderer: Remove dependencies on renderer in button rendering functions
...
The rendering functions become more pure, which, once reached, will allow for better tracking of what they do and easier modularization.
2019-10-28 21:13:58 +00:00
Dorota Czaplejewicz
01fe433612
icons: Remove caching
2019-10-25 15:43:29 +00:00
Dorota Czaplejewicz
63e55ff5c4
renderer: Free temporary surfaces
2019-10-25 15:18:37 +00:00
Dorota Czaplejewicz
8d4d50cfca
Merge branch 'ci_deps' into 'master'
...
Ci deps
See merge request Librem5/squeekboard!228
2019-10-25 09:54:38 +00:00
Dorota Czaplejewicz
dde659dbd3
ci: Delete large debug build directory early
...
There's no need to keep it for a long time, as its only purpose is to feed the test stage
2019-10-24 20:29:19 +00:00
Dorota Czaplejewicz
788a39f144
ci: Start test stage immediately after build_meson
2019-10-24 20:28:13 +00:00
Dorota Czaplejewicz
43e2b7b803
Merge branch 'master' into 'master'
...
i think in italian "," is better then "?"
See merge request Librem5/squeekboard!224
2019-10-24 18:17:58 +00:00
Antonio Pandolfo
3fb0a3a959
i think in italian "," is better then "?"
2019-10-24 18:17:58 +00:00
Dorota Czaplejewicz
bdef7b3516
Merge remote-tracking branch 'kareema/japanese-kana-keyboard-layout' into HEAD
2019-10-24 18:09:16 +00:00
Dorota Czaplejewicz
57d36e476b
Merge branch 'german-keyboard-layout' into 'master'
...
layouts: Add German keyboard layout
See merge request Librem5/squeekboard!227
2019-10-24 18:03:23 +00:00
Mark Müller
0b5aa1ba7c
layouts: Add German keyboard layout
2019-10-24 18:03:23 +00:00
David Boddie
55410a005c
Merge branch 'vecset' into 'master'
...
Move event handling to Rust
See merge request Librem5/squeekboard!223
2019-10-24 14:03:21 +00:00
Dorota Czaplejewicz
1290fd4a1e
rust: Fix old compiler compat
2019-10-23 15:11:19 +00:00
Dorota Czaplejewicz
c99efc430c
presses: Move press handling to Rust
...
This fixes some rendering things which would happen with multiple state-sharing buttons. It also removes some interfaces exposing rows, views, layouts, and buttons, bringing the code closer to removing them from the FFI entirely.
2019-10-23 15:11:16 +00:00
Dorota Czaplejewicz
ce6c9cbea3
Merge branch 'cleanup' into 'master'
...
cleanup: Unused types
See merge request Librem5/squeekboard!222
2019-10-22 13:38:41 +00:00
Dorota Czaplejewicz
4cdfc30c29
Merge branch 'fallbacks' into 'master'
...
layouts: Simplify fallbackss handling
See merge request Librem5/squeekboard!221
2019-10-22 13:25:15 +00:00
Dorota Czaplejewicz
3b6c19401c
util: Added pointer comparison struct
...
util::Pointer should be suitable for storing key states in bags like pressed_keys
2019-10-20 09:47:10 +00:00
Dorota Czaplejewicz
29231f7e31
cleanup: Unused types
2019-10-20 09:47:10 +00:00
Mark Müller
76b8a61d0a
layout: change switch button label
2019-10-19 23:36:03 +02:00
Mark Müller
d62abc2f12
layouts: Add Japanese Kana keyboard layout
2019-10-19 21:30:23 +02:00
Dorota Czaplejewicz
8f61a26fb4
Merge branch 'fix' into 'master'
...
tests: Fix automatic merge
See merge request Librem5/squeekboard!225
2019-10-19 16:53:09 +00:00
Dorota Czaplejewicz
8fd63cea80
tests: Fix automatic merge
...
The merge tool didn't realize that new files from one branch should have a format adhering to that of another branch.
2019-10-19 16:47:26 +00:00
Tobias Bernard
162b828c4c
Merge branch 'targets' into 'master'
...
buttons: Buttons are next to each other, padding is visual only
Closes #110
See merge request Librem5/squeekboard!209
2019-10-18 19:14:04 +00:00
Dorota Czaplejewicz
ac58b675ef
layouts: Simplify fallbackss handling
2019-10-16 09:43:41 +00:00
David Boddie
a048722a94
Merge branch 'cleanups' into 'master'
...
Cleanups
See merge request Librem5/squeekboard!214
2019-10-10 20:26:51 +00:00
David Boddie
a74be1b299
Merge branch 'unclone' into 'master'
...
util: C-wrapped data don't need to be cloneable
See merge request Librem5/squeekboard!213
2019-10-10 17:34:03 +00:00
Dorota Czaplejewicz
89b56ddccf
util: C-wrapped data don't need to be cloneable
2019-10-10 16:54:02 +00:00
David Boddie
8ab3a2b8d3
Merge branch 'multicodepoint' into 'master'
...
Support submitting multi-codepoint sequences
Closes #96
See merge request Librem5/squeekboard!207
2019-10-10 16:30:54 +00:00
Dorota Czaplejewicz
f56c5e3879
examples: Remove stale eekboard example
2019-10-10 16:16:53 +00:00
Dorota Czaplejewicz
8eda2cd04d
docs: Remove stale eekboard docs
2019-10-10 16:15:41 +00:00
Dorota Czaplejewicz
cfd2bff1aa
data: Remove eekboard desktop files
2019-10-10 16:15:05 +00:00
Dorota Czaplejewicz
02501aee9e
authors: Update
2019-10-10 16:13:30 +00:00
Dorota Czaplejewicz
70056b68a7
Merge branch 'undefined' into 'master'
...
Replace it.yaml
See merge request Librem5/squeekboard!212
2019-10-10 14:50:09 +00:00
Antonio Pandolfo
b36c48daa3
Replace it.yaml
2019-10-10 14:50:09 +00:00
Dorota Czaplejewicz
9e078be603
buttons: Buttons are next to each other, padding is visual only
2019-10-09 20:34:46 +00:00
Dorota Czaplejewicz
ac68d5d0a8
tests: Check keymap generation results
2019-10-09 16:08:50 +00:00
Dorota Czaplejewicz
b45edcd4fe
tests: Emulate clicking all submitting buttons
2019-10-09 15:54:06 +00:00
Dorota Czaplejewicz
dc2bc46167
keymap: Simplified key state passing
...
There's no need to treat states as a shared resource before they are placed inside buttons.
2019-10-09 15:38:21 +00:00
Dorota Czaplejewicz
9cd439767e
virtual_keyboard: Submit multi-codepoint strings
2019-10-09 15:13:46 +00:00
Dorota Czaplejewicz
212e55d7cf
caches: Stop using due to bugginness
...
The button cache is storing only button outlines (not useful to us), and it only cares about active/inactive states (there are more).
This will have to be rewritten sanely, so for the time being, disabling it is not going to deal a big performance penalty.
2019-10-09 09:24:42 +00:00
Dorota Czaplejewicz
31fdde4da9
keycodes: Moved submission to Rust
2019-10-09 09:23:06 +00:00
Dorota Czaplejewicz
10bad4ebe3
warnings: Fix and silence
2019-10-09 08:15:03 +00:00
Dorota Czaplejewicz
da5a83f367
action: Rename file to action.rs
2019-10-09 08:11:28 +00:00
Dorota Czaplejewicz
ef38fd3e64
symbol: Eliminate in favor of Action
2019-10-09 08:06:17 +00:00
Dorota Czaplejewicz
46d3312c86
cleanup: Unused symbol functions
2019-10-09 08:03:39 +00:00
David Boddie
cb8d2b01af
Merge branch 'highlight' into 'master'
...
style: Set active button color
See merge request Librem5/squeekboard!206
2019-10-08 23:50:22 +00:00
Dorota Czaplejewicz
3f3e33c853
style: Set active button color
2019-10-08 18:29:03 +00:00
David Boddie
aa3dc96986
Merge branch 'bump' into 'master'
...
debian: Bump distribution
See merge request Librem5/squeekboard!205
2019-10-08 11:16:05 +00:00
Dorota Czaplejewicz
aee981d9c0
debian: Bump distribution
2019-10-08 10:59:00 +00:00
David Boddie
3bede84a2d
Merge branch 'silence' into 'master'
...
logs: Silence missing file warnings
See merge request Librem5/squeekboard!199
2019-10-04 12:15:11 +00:00
Dorota Czaplejewicz
e14d411150
logs: Silence missing file warnings
2019-10-03 12:59:26 +00:00
David Boddie
f91f000df1
Merge branch 'locklight' into 'master'
...
style: Add styling for locked buttons
See merge request Librem5/squeekboard!197
2019-10-03 12:52:28 +00:00
David Boddie
18f8443a9f
Merge branch 'it' into 'master'
...
Italian keyboard
See merge request Librem5/squeekboard!196
2019-10-03 12:51:26 +00:00
Dorota Czaplejewicz
746d842dd4
Merge branch 'patch-3' into 'master'
...
Update es.yaml
See merge request Librem5/squeekboard!195
2019-10-03 11:37:57 +00:00
uzanto
185efb1c2a
show_symbols replaced by show_eschars in eschars view and improved Catalan support
2019-10-02 20:36:54 +00:00
Dorota Czaplejewicz
a31f9b5e04
layout: Register it
2019-10-02 18:39:44 +00:00
Dorota Czaplejewicz
94aec87b5d
Merge branch 'el_layout' into 'master'
...
layouts: Add Greek
See merge request Librem5/squeekboard!198
2019-10-02 18:02:12 +00:00
Dorota Czaplejewicz
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
Dorota Czaplejewicz
477a883885
style: Add styling for locked buttons
2019-10-02 16:32:13 +00:00
Dorota Czaplejewicz
b3a63042cb
Merge branch 'undefined' into 'master'
...
italian keyboard
See merge request Librem5/squeekboard!193
2019-10-02 13:49:08 +00:00
uzanto
d53a683285
Update es.yaml
2019-10-01 20:50:57 +00:00
Antonio Pandolfo
27a99e2973
italian keyboard
2019-10-01 17:51:58 +00:00
David Boddie
53c64010e8
Merge branch 'style' into 'master'
...
style: Rename button selectors
See merge request Librem5/squeekboard!192
2019-10-01 17:23:59 +00:00
Dorota Czaplejewicz
7f704bcd61
style: Rename button selectors
2019-10-01 08:11:44 +00:00
David Boddie
1e08adb26b
Merge branch 'fallbacks' into 'master'
...
layout: Fallback to builtin before switching layouts
See merge request Librem5/squeekboard!186
2019-09-29 16:29:47 +00:00
David Boddie
75bbb17881
Merge branch 'test_build' into 'master'
...
tests: Compile in advance
See merge request Librem5/squeekboard!189
2019-09-29 16:17:23 +00:00
David Boddie
58c8556058
Merge branch 'es' into 'master'
...
es layout: Add to resources and testing
See merge request Librem5/squeekboard!188
2019-09-29 15:56:30 +00:00
David Boddie
1c56de8698
Merge branch 'style' into 'master'
...
style: Avoid conflict with GTK widget names
Closes #119
See merge request Librem5/squeekboard!184
2019-09-29 15:01:32 +00:00
David Boddie
0eb0a6e8fd
Merge branch 'drops' into 'master'
...
Drop more dead code
See merge request Librem5/squeekboard!185
2019-09-29 15:00:30 +00:00
David Boddie
9b5e0109a7
Merge branch 'style_better' into 'master'
...
Style better
See merge request Librem5/squeekboard!180
2019-09-29 14:28:42 +00:00
Dorota Czaplejewicz
a1b811aada
tests: Compile in advance
...
Cargo is always trying to compile things if they are not ready yet. It caused the first test to take a lot of time, and potentially time out.
2019-09-29 09:01:09 +00:00
Dorota Czaplejewicz
1b424bd663
layout: Attempt to build xdg keymap at every load
2019-09-29 07:54:32 +00:00
Dorota Czaplejewicz
938ba53a38
es layout: Add to resources and testing
2019-09-28 21:53:24 +00:00
Dorota Czaplejewicz
1e609f4550
Merge branch 'patch-1' into 'master'
...
Spanish keyboard layout
See merge request Librem5/squeekboard!187
2019-09-28 21:51:50 +00:00
Dorota Czaplejewicz
e33f591a1f
layouts: Test fallback order
2019-09-28 21:37:51 +00:00
uzanto
456af0f1ef
Spanish keyboard layout
2019-09-28 21:27:04 +00:00
Dorota Czaplejewicz
b6d25da7c2
layout: Fallback to builtin before switching layouts
...
When the user-provided layout was broken or missing, the loading would proceed with the fallback layout. It tries to load the builtin one first now.
2019-09-28 21:17:32 +00:00
Dorota Czaplejewicz
288d2247da
cleanup: Remove dead fullscreen mode
2019-09-28 18:29:58 +00:00
Dorota Czaplejewicz
e5eb9f0fd3
cleanup: Drop unused header
2019-09-28 18:18:44 +00:00
Dorota Czaplejewicz
908aa20036
cleanup: Drop unused EekboardContext
2019-09-28 18:17:26 +00:00
Dorota Czaplejewicz
60f1ca1408
style: Avoid conflict with GTK widget names
...
GTK style provider loads the theme on top of the selected CSS file. To ignore the theme, element names must be different than the predefined ones.
2019-09-28 12:11:32 +00:00
David Boddie
5ef687a722
Merge branch 'deb' into 'master'
...
debian: Fix build-arch
Closes #120
See merge request Librem5/squeekboard!183
2019-09-27 19:13:17 +00:00
David Boddie
86ed9a7a01
Merge branch 'spacing' into 'master'
...
Unhardcode spacing
See merge request Librem5/squeekboard!176
2019-09-27 17:03:48 +00:00
Dorota Czaplejewicz
4fee2fad01
debian: Fix build-arch
...
Some builds call the `build-arch` target instead of `build`. That causes the old `Cargo.lock` to be used.
2019-09-27 16:58:27 +00:00
David Boddie
35ba8ad81c
Merge branch 'shel' into 'master'
...
cargo.sh fixes
Closes #118
See merge request Librem5/squeekboard!182
2019-09-27 15:18:10 +00:00
Dorota Czaplejewicz
0985724b19
shellcheck: Pass cargo.sh
2019-09-27 13:47:49 +00:00
Dorota Czaplejewicz
7aff7977fc
build: Remove empty variable from cargo.sh
2019-09-27 13:47:04 +00:00
Dorota Czaplejewicz
55bb263a12
build: Fix script path detection
2019-09-27 13:27:30 +00:00
Dorota Czaplejewicz
32b85e75db
Merge branch 'cargo.sh' into 'master'
...
Stop requiring Bash for cargo.sh
See merge request Librem5/squeekboard!181
2019-09-27 13:24:23 +00:00
Bart Ribbers
3935375d1b
Stop requiring Bash for cargo.sh
...
There aren't actually any Bashism's used and it works fine with Busybox
compatible shells
2019-09-27 10:21:07 +02:00
David Boddie
97dd2b1096
Merge branch 'corners' into 'master'
...
display: Remove unused corner_radius
See merge request Librem5/squeekboard!174
2019-09-26 21:16:43 +00:00
David Boddie
de7211d1a5
Merge branch 'drop_color' into 'master'
...
cleanup: Unused default backgrounds
See merge request Librem5/squeekboard!179
2019-09-26 20:58:49 +00:00
David Boddie
26380ab987
Merge branch 'style' into 'master'
...
Style: Change classes to paths
See merge request Librem5/squeekboard!178
2019-09-26 19:57:42 +00:00
David Boddie
f898b75b9d
Merge branch 'drops' into 'master'
...
Drop dead drawing procedures
See merge request Librem5/squeekboard!177
2019-09-26 17:28:29 +00:00
Dorota Czaplejewicz
e513cb9b54
style: Use outline name as CSS class
2019-09-26 13:28:31 +00:00
Dorota Czaplejewicz
6fd7ab7405
rendering: Generalize outline rendering
2019-09-26 12:51:45 +00:00
Dorota Czaplejewicz
15833323ae
styling: Use same context for the entire rendering of a button
2019-09-26 12:51:39 +00:00
Dorota Czaplejewicz
653462721b
cleanup: Unused default backgrounds
2019-09-26 12:48:22 +00:00
Dorota Czaplejewicz
2889e50507
style: Simplified layout styling
...
Layout background is styled in the same place as button background, and obtains the path "layout".
2019-09-26 11:10:25 +00:00
Dorota Czaplejewicz
6b15f69e00
style: Use path instead of class for key
2019-09-26 11:08:38 +00:00
Dorota Czaplejewicz
231982d7f7
Drop dead drawing procedures
2019-09-26 07:27:16 +00:00
Dorota Czaplejewicz
3bea256ca5
Appease Debian's Rust version's borrow checker
2019-09-26 07:02:06 +00:00
Dorota Czaplejewicz
4c0f23c5c1
layout: Unhardcode button and row spacing values
...
They are specified by each layout now
2019-09-25 19:01:38 +00:00
Dorota Czaplejewicz
27d54fb38a
Merge branch 'reduce-flickr' into 'master'
...
Don't hide keyboard right away
See merge request Librem5/squeekboard!175
2019-09-25 18:45:22 +00:00
Your Name
3b6999f6ef
Don't hide keyboard right away
...
instead keep it around for 200ms. This reduces flicker a lot since
the keyboard will not hide when switching through input fields in
e.g. contacts or chatty.
2019-09-25 20:38:27 +02:00
Dorota Czaplejewicz
de43d67638
display: Remove unused corner_radius
2019-09-25 18:10:58 +00:00
David Boddie
2fca71aa53
Merge branch 'cargo' into 'master'
...
build: Simplified the calling of cargo.sh
See merge request Librem5/squeekboard!173
2019-09-25 15:44:55 +00:00
David Boddie
7870791fef
Merge branch 'deps' into 'master'
...
deps: Accept only bugfix version changes
See merge request Librem5/squeekboard!172
2019-09-25 15:15:34 +00:00
Tobias Bernard
83f9b580ef
Merge branch 'sizes' into 'master'
...
layout: Improved UI layout looks
See merge request Librem5/squeekboard!167
2019-09-24 14:41:10 +00:00
Dorota Czaplejewicz
54f9e61b6a
style: Make pressed button 20% lighter
2019-09-24 11:28:29 +00:00
Dorota Czaplejewicz
94b7ba1ccc
layout: Improved UI layout looks
2019-09-24 11:28:29 +00:00
Dorota Czaplejewicz
e7d30d933f
build: Simplified the calling of cargo.sh
2019-09-24 11:27:01 +00:00
Dorota Czaplejewicz
150fb3cf6a
deps: Accept only bugfix version changes
2019-09-24 11:18:35 +00:00
Dorota Czaplejewicz
169f33c67a
Merge branch 'pre-release' into 'master'
...
Pre release
See merge request Librem5/squeekboard!171
2019-09-24 10:52:52 +00:00
Dorota Czaplejewicz
0f5c5ef10f
Bump version number
2019-09-24 10:46:41 +00:00
Dorota Czaplejewicz
6e183ccb13
cargo: Update lock
2019-09-24 10:46:21 +00:00
Guido Gunther
af0137a4fc
Merge branch 'test_deb' into 'master'
...
ci: Build .deb
Closes #108
See merge request Librem5/squeekboard!169
2019-09-23 13:35:53 +00:00
Dorota Czaplejewicz
bb3c26b0d8
ci: Build .deb
2019-09-23 13:06:45 +00:00
Guido Gunther
6dcea4599f
Merge branch 'lintian' into 'master'
...
debian: Silence false positive in Lintian
Closes #107
See merge request Librem5/squeekboard!170
2019-09-23 12:52:22 +00:00
Dorota Czaplejewicz
d32749d533
debian: Silence false positive in Lintian
...
Needed to have working repository builds
2019-09-23 10:48:40 +00:00
Dorota Czaplejewicz
36306f2eea
Merge branch 'backslash' into 'master'
...
us: Escape backslash character
See merge request Librem5/squeekboard!168
2019-09-22 21:32:05 +00:00
Sebastian Krzyszkowiak
34a4c6ffb5
us: Escape backslash character
...
This fixes backslash being missing from the symbols view.
2019-09-22 00:30:35 +02:00
David Boddie
74e75d2dae
Merge branch 'fixbuild' into 'master'
...
Fix Cargo interaction with Debian build system
See merge request Librem5/squeekboard!162
2019-09-20 19:29:13 +00:00
Dorota Czaplejewicz
a3e421db3d
build: Fix Debian Cargo.toml mismatch
...
Debian uses a separate registry for the packages it distributes. Checksums for some Debian packages don't match anything that's available on crates.io, which is the default source of dependencies. *linked-hash-map* in particular doesn't provide any hash.
As a result, Debian's `Cargo.lock` and crates.io's `Cargo.lock` are not matching, and building is only possible with one or the other, depending on what's checked in.
As a separate issue, Debian packages are usually not checked in in multiple versions, so checking in Debian's `Cargo.lock` would result in the package not building whenever a bugfix is distributed (due to checksum changes).
This change removes the crates.io `Cargo.lock` so that a new one will be created whenever a .deb is built, solving the above. What keeps falsely passing builds from happening is `Cargo.toml` specifying no interface changes, as well as Build-Depends, which seem enough for any other Debian package.
2019-09-20 09:52:36 +00:00
Dorota Czaplejewicz
241e5c0fc6
debian: Use Debian versions of dependencies
2019-09-20 09:40:18 +00:00
Dorota Czaplejewicz
28e0c26671
build: Change dependencies to match Debian packages
2019-09-20 09:40:18 +00:00
Dorota Czaplejewicz
7d0070a155
debian: Use CARGO_HOME more like librsvg does
2019-09-20 09:37:46 +00:00
Tobias Bernard
9093226abe
Merge branch 'update-symbols-button' into 'master'
...
Update symbols button to reflect the symbols view
See merge request Librem5/squeekboard!166
2019-09-19 14:48:58 +00:00
David Boddie
45dc51f08f
Update symbols button to reflect the symbols view
2019-09-16 17:07:41 +02:00
David Boddie
b486dc8afd
Merge branch 'testing' into 'master'
...
tests: Describe how to test
See merge request Librem5/squeekboard!165
2019-09-13 19:55:25 +00:00
David Boddie
e70a64a47e
Merge branch 'cleanups' into 'master'
...
Cleanups
See merge request Librem5/squeekboard!164
2019-09-13 19:52:19 +00:00
Dorota Czaplejewicz
225b243446
tests: Describe how to test
2019-09-13 15:55:26 +00:00
Dorota Czaplejewicz
db994da531
keysyms: Remove dead code
2019-09-13 15:25:48 +00:00
Dorota Czaplejewicz
d47aff357b
layout: Remove dead code
2019-09-13 15:21:29 +00:00
David Boddie
96c2c2dd1f
Merge branch 'test_layouts' into 'master'
...
Test layouts
See merge request Librem5/squeekboard!163
2019-09-13 15:12:46 +00:00
Dorota Czaplejewicz
c8cc5b1997
layout: Bundle number layout
2019-09-13 09:11:20 +00:00
Dorota Czaplejewicz
edb28cb859
tests: Verify all bundled layouts
2019-09-13 09:09:17 +00:00
Dorota Czaplejewicz
b07689939b
Merge branch 'fixbuild' into 'master'
...
build: Fix cargo behaviour
See merge request Librem5/squeekboard!161
2019-09-12 11:32:16 +00:00
Dorota Czaplejewicz
6072e5768a
build: Fix cargo behaviour
...
Cargo caused .deb builds to crash by storing its data in $HOME.
https://www.debian.org/doc/debian-policy/ch-source.html#main-building-script-debian-rules says TMP_DIR may be used freely, so that's where Cargo will keep its stuff now.
2019-09-12 11:26:03 +00:00
David Boddie
fe8d66a635
Merge branch 'autokeysym' into 'master'
...
Unicode key name -> keysym conversion
See merge request Librem5/squeekboard!160
2019-09-11 15:20:44 +00:00
David Boddie
c8658b00e3
Merge branch 'warnings' into 'master'
...
warnings: Fix some C stuff
See merge request Librem5/squeekboard!159
2019-09-11 14:58:19 +00:00
David Boddie
0989771a3b
Merge branch 'simple_cargo' into 'master'
...
cargo: Allow for manual cargo invokations
See merge request Librem5/squeekboard!158
2019-09-11 13:34:42 +00:00
David Boddie
9c2acde826
Merge branch 'reparse' into 'master'
...
rewrite of the parsing
See merge request Librem5/squeekboard!152
2019-09-11 12:33:25 +00:00
Dorota Czaplejewicz
2352e31f01
us: Simplify by using Unicode directly
2019-09-11 12:03:57 +00:00
Dorota Czaplejewicz
8e654346a2
keysyms: Derive from Unicode labels
2019-09-11 12:03:57 +00:00
Dorota Czaplejewicz
015ba79f65
Merge branch 'fix_tests' into reparse
2019-09-11 12:03:24 +00:00
David Boddie
d6aa54f30c
Merge branch 'fix_tests' into 'master'
...
Fix doctests
See merge request Librem5/squeekboard!157
2019-09-11 11:55:26 +00:00
Dorota Czaplejewicz
fd0d8d4244
warnings: Fix some C stuff
2019-09-10 11:06:18 +00:00
Dorota Czaplejewicz
c725cd7f14
cargo: Allow for manual cargo invokations
2019-09-10 10:17:28 +00:00
Dorota Czaplejewicz
0922d4a87a
tests: Allow the building of doctests
...
Also allows for standalone tests and examples to be built and run with Cargo.
2019-09-10 09:34:25 +00:00
Dorota Czaplejewicz
51562d5185
Fix imservice docstring
2019-09-10 09:27:21 +00:00
Dorota Czaplejewicz
ed8b6eec28
More float_ord docs
2019-09-10 09:27:21 +00:00
Dorota Czaplejewicz
e9c236a682
float_ord: Fix test
2019-09-10 09:27:19 +00:00
Dorota Czaplejewicz
04a47ad0af
Merge branch '33-multi-touch-typing-not-yet-working' into 'master'
...
Resolve "Multi-touch typing not-yet working"
Closes #33
See merge request Librem5/squeekboard!135
2019-09-10 09:15:50 +00:00
Dorota Czaplejewicz
99c577be60
Merge remote-tracking branch 'upstream/master' into reparse
2019-09-10 09:11:57 +00:00
Dorota Czaplejewicz
db8340181f
Merge branch '88-visual-improvements' into 'master'
...
Resolve colors used in "Visual Improvements"
See merge request Librem5/squeekboard!155
2019-09-10 08:16:57 +00:00
David Boddie
4f18ffd34e
Resolve colors used in "Visual Improvements"
2019-09-10 08:16:56 +00:00
David Boddie
4306ec9c1e
Merge branch 'drop_bitflags' into 'master'
...
deps: Remove bitflags
See merge request Librem5/squeekboard!156
2019-09-09 20:16:44 +00:00
Dorota Czaplejewicz
31c12e5182
layout: Convert numbers to yaml
2019-09-09 19:10:42 +00:00
Dorota Czaplejewicz
521796a46d
deps: Remove bitflags
...
This removes the need to use a modified copy and makes running tests easier.
2019-09-09 19:00:40 +00:00
Dorota Czaplejewicz
a187221d3f
Convert nb layout to yaml
2019-09-09 16:35:21 +00:00
Dorota Czaplejewicz
583b546e81
Fix CI error
2019-09-09 15:49:25 +00:00
Dorota Czaplejewicz
aa9523338f
Merge branch 'buttonlists' into reparse
2019-09-09 15:11:59 +00:00
Dorota Czaplejewicz
0ed66e0eab
locked: Use keys instead of buttons
2019-09-09 13:54:55 +00:00
Dorota Czaplejewicz
6523275b6a
views: Change based on layout file
2019-09-09 13:25:03 +00:00
David Boddie
b9e9ca368a
Merge branch 'cargo' into 'master'
...
rust: Use Cargo to build the Rust portion
See merge request Librem5/squeekboard!147
2019-09-07 17:52:24 +00:00
Dorota Czaplejewicz
c4886e362a
Merge branch 'dorota.czaplejewicz/squeekboard-cargo' into 'cargo'
...
Add new meson and current ninja to the build dependencies
See merge request dorota.czaplejewicz/squeekboard!8
2019-09-07 11:37:42 +00:00
David Boddie
fc5f671e57
Add new meson and current ninja to the dependencies
2019-09-06 22:15:02 +02:00
David Boddie
035ecd6df1
Merge branch 'clean' into 'master'
...
cleanup: Vala bindings
See merge request Librem5/squeekboard!154
2019-09-04 12:46:42 +00:00
Dorota Czaplejewicz
26d1a6047c
Merge branch 'fixes' into reparse
2019-09-04 10:18:53 +00:00
Dorota Czaplejewicz
60a89b6c3f
Merge branch 'wrapping' into reparse
2019-09-04 10:01:22 +00:00
Dorota Czaplejewicz
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
Dorota Czaplejewicz
2579d2fea9
cleanup: Vala bindings
2019-09-04 09:21:55 +00:00
David Boddie
c75ed9b230
Merge branch 'kill_tooltip' into 'master'
...
tooltips: Remove
See merge request Librem5/squeekboard!150
2019-09-02 14:58:02 +00:00
David Boddie
789e8b6bff
Merge branch 'buttonlists' into 'master'
...
Buttonlists
See merge request Librem5/squeekboard!145
2019-09-02 14:42:19 +00:00
David Boddie
633d15c438
Merge branch 'fixes' into 'master'
...
layout: Remove unused C functions
See merge request Librem5/squeekboard!151
2019-09-02 11:24:54 +00:00
Dorota Czaplejewicz
baabcb1400
layout: Remove unused C functions
2019-09-01 11:42:02 +00:00
Dorota Czaplejewicz
c16bbb9e7f
Merge branch 'fix-number-layout' into 'master'
...
Adjust width and height of keypad geometry
See merge request Librem5/squeekboard!149
2019-08-31 12:31:45 +00:00
Dorota Czaplejewicz
623181cc34
tooltips: Remove
2019-08-31 12:18:55 +00:00
Dorota Czaplejewicz
76b5104fb7
Merge branch 'improve-styling' into 'master'
...
Apply symbol names to widget paths, add styles
See merge request Librem5/squeekboard!148
2019-08-31 12:16:03 +00:00
Dorota Czaplejewicz
6c0a642abf
Store key instead of button in pressed lists
2019-08-31 11:30:51 +00:00
Dorota Czaplejewicz
132435a9c8
Drop callback iteration for button finding
2019-08-31 11:30:51 +00:00
David Boddie
521bcfc484
Adjust width and height of keypad geometry
2019-08-30 15:16:46 +00:00
Dorota Czaplejewicz
3413021d30
rust: Use Cargo to build the Rust portion
...
Pros: Ability to use Rust libraries from crates.io
Problems: Need to lock library versions and document their reproducible building, either via Cargo.lock or vendoring.
2019-08-30 09:00:34 +00:00
David Boddie
ffc64c6d56
Apply symbol names to widget paths, add styles
2019-08-29 21:02:35 +00:00
David Boddie
79672f3a2d
Merge branch 'nodisplay' into 'master'
...
desktop file: Use NoDisplay=true
See merge request Librem5/squeekboard!143
2019-08-29 16:18:55 +00:00
David Boddie
e1d5731466
Merge branch 'wrapping' into 'master'
...
ffi: Use a generic wrapper for opaque Rust structs
See merge request Librem5/squeekboard!144
2019-08-29 15:37:57 +00:00
Dorota Czaplejewicz
09deef2d6c
Merge branch 'fix-formatting' into 'master'
...
Fix code formatting
See merge request Librem5/squeekboard!146
2019-08-29 15:03:14 +00:00
David Boddie
83907af456
Fix code formatting
2019-08-29 14:52:10 +00:00
Dorota Czaplejewicz
878b7ed18e
ffi: Use a generic wrapper for opaque Rust structs
2019-08-29 13:33:04 +00:00
David Boddie
e6f3b9e5be
Merge branch 'layouts' into 'master'
...
Layouts
See merge request Librem5/squeekboard!141
2019-08-29 12:19:42 +00:00
Dorota Czaplejewicz
75992ff13f
Check for button position more in Rust
...
The check against fitting inside the Layout was removed: as an optimization it is unneeded, as the actual search must be optimized to be quick. In addition, the view bounds don't correspond to anything physical as long as negative offsets are allowed.
2019-08-29 12:19:42 +00:00
Dorota Czaplejewicz
2d7dddd505
Merge branch '56-key-stays-pressed-when-the-keyboard-hides-during-a-keypress' into 'master'
...
Resolve "Key stays pressed when the keyboard hides during a keypress"
Closes #56
See merge request Librem5/squeekboard!138
2019-08-29 11:50:16 +00:00
Dorota Czaplejewicz
afe0ed1674
Merge branch 'adjust-extended-layout-height' into 'master'
...
Adjust height of the extended keyboard layout
See merge request Librem5/squeekboard!142
2019-08-29 10:20:26 +00:00
David Boddie
b9ab4288d7
Try releasing old touches and only letting new ones be dragged
2019-08-28 15:53:57 +00:00
Guido Günther
d816cc261a
desktop file: Use NoDisplay=true
...
There's no point in having the keyboard in the list of installed
applications and it has no icon either.
2019-08-28 15:41:38 +02:00
David Boddie
2e2ae96114
Adjust height of the extended keyboard layout
2019-08-28 14:34:20 +02:00
David Boddie
ec7e7c3f8b
Merge branch 'iters' into 'master'
...
layout: Place items using simple loops
See merge request Librem5/squeekboard!140
2019-08-28 12:31:59 +00:00
Dorota Czaplejewicz
4a61ab269b
layout: Place items using simple loops
...
The C version of looping over buttons and other items was weakly typed, causing runtime errors, and also C doesn't know how to iterate in abstract, so it was full of callbacks with user-defined data. Moving this to Rust, iteration is made of simple loops, and compile-time type-checked, at the cost of some more verbose code.
2019-08-28 09:41:33 +00:00
Dorota Czaplejewicz
5551ed2bd2
Merge branch 'remove-debugging-code' into 'master'
...
Remove debugging code
See merge request Librem5/squeekboard!139
2019-08-28 06:31:50 +00:00
David Boddie
0da02aab21
Remove debugging code
2019-08-27 20:24:49 +00:00
David Boddie
1ae8d072a6
Release buttons directly when unmapping the keyboard
2019-08-27 20:04:11 +00:00
Dorota Czaplejewicz
531a87825c
Merge branch 'improve-run-time-error-reporting' into 'master'
...
Improve error reporting for keys and keymaps
See merge request Librem5/squeekboard!136
2019-08-27 15:00:40 +00:00
Dorota Czaplejewicz
4b5bb2a507
Merge branch 'fix-nb-keyboard' into 'master'
...
Fix the nb symbols file and extended layout
See merge request Librem5/squeekboard!137
2019-08-27 14:58:12 +00:00
David Boddie
e61a3a6fe8
Remove unnecessary assignment
2019-08-26 21:13:04 +00:00
David Boddie
087da5cd9e
Enable and respond to all touch events
2019-08-26 20:57:31 +00:00
David Boddie
1a5f7dd907
Improve error reporting for keys and keymaps
2019-08-26 22:47:23 +02:00
David Boddie
d38c030ee6
Update keyboards to new XML format
2019-08-26 20:38:36 +00:00
David Boddie
2042ddf08e
Fix the nb symbols file and extended layout
2019-08-26 19:55:35 +00:00
David Boddie
1cf242a9df
Merge branch 'eekkey' into 'master'
...
EekKey improvements/cleanups
See merge request Librem5/squeekboard!132
2019-08-26 19:30:44 +00:00
Dorota Czaplejewicz
9aa0f14494
Merge branch 'dorota.czaplejewicz/squeekboard-eekkey' into 'eekkey'
...
Fix null pointer dereference
See merge request dorota.czaplejewicz/squeekboard!6
2019-08-26 16:47:33 +00:00
David Boddie
a9c7d688fd
Fix null pointer dereference
2019-08-26 16:53:57 +02:00
David Boddie
d2e5cdef4e
Merge branch 'layout_fixes' into 'master'
...
Layout fixes
See merge request Librem5/squeekboard!131
2019-08-26 12:21:09 +00:00
David Boddie
607f5ed877
Merge branch '81-debian-copyright-has-bad-upstream-name-and-source-fields' into 'master'
...
Resolve "debian/copyright has bad Upstream-Name and Source fields"
Closes #81
See merge request Librem5/squeekboard!134
2019-08-23 20:49:55 +00:00
David Boddie
bd63ae5615
Fix Upstream-Name and Source fields
2019-08-20 15:37:35 +02:00
Dorota Czaplejewicz
79b66f81ec
view: Move button finding to Rust
2019-08-18 13:22:18 +00:00
Dorota Czaplejewicz
e1c57fa9f0
row: Add const
2019-08-18 13:22:18 +00:00
Dorota Czaplejewicz
a64bff6aab
button: Add const qualifiers where needed
2019-08-18 13:22:18 +00:00
Dorota Czaplejewicz
4e9a8e4afe
Move button finding to view
2019-08-18 13:22:18 +00:00
Dorota Czaplejewicz
c9a580dc07
Drop keyboard
2019-08-18 13:22:18 +00:00
Dorota Czaplejewicz
f479a36dbe
keyboard: Remove references
2019-08-18 13:22:18 +00:00
Dorota Czaplejewicz
a7e7e8fb74
element: Removed unused stuff
2019-08-18 13:22:18 +00:00
Dorota Czaplejewicz
e56f1c6392
row: Move button find iteration into row
2019-08-18 13:22:18 +00:00
Dorota Czaplejewicz
7caf2ef86d
row: Less dense placing of buttons
2019-08-18 13:22:18 +00:00
Dorota Czaplejewicz
86b72d2723
row: Move generic functions out of the C ghetto
2019-08-18 13:22:18 +00:00
Dorota Czaplejewicz
c4b3a0aaaa
row: Moved button sizing closer to row
2019-08-18 13:22:18 +00:00
Dorota Czaplejewicz
de9c93610b
keyboard: Improve docstring
2019-08-18 13:22:18 +00:00
Dorota Czaplejewicz
7a06ac1ee7
keyboard: Remove scale
2019-08-18 13:22:18 +00:00
Dorota Czaplejewicz
f50f8e95b1
Remove unused outline rendering function
2019-08-18 13:22:18 +00:00
Dorota Czaplejewicz
2e201b67a7
Remove obsoleted and unused pieces
2019-08-18 13:22:18 +00:00
Dorota Czaplejewicz
524040cf00
Remove eek-container
2019-08-18 13:22:18 +00:00
Dorota Czaplejewicz
77d4f45d13
section: Elininate references
2019-08-18 13:22:18 +00:00
Dorota Czaplejewicz
0d33179727
section: Moved bounds to row
2019-08-18 13:22:18 +00:00
Dorota Czaplejewicz
4f8de42598
section: Move properties into Row
2019-08-18 13:22:18 +00:00
Dorota Czaplejewicz
3689727fc1
serializable: Remove completely
2019-08-18 13:22:18 +00:00
Dorota Czaplejewicz
fffd82b9be
eektext: Remove unused file
2019-08-18 13:22:18 +00:00
Dorota Czaplejewicz
6fc351d2e8
eekkey: Dropped in favor of Button
...
Each Button has a KeyState, which may be shared with other buttons. The list of pressed and locked buttons is used as a list of keys, causing a search for the button in the current view.
2019-08-18 13:22:18 +00:00
Dorota Czaplejewicz
5630cf31f1
section: Remove row
2019-08-18 13:22:18 +00:00
Dorota Czaplejewicz
0c83101b3f
container: Drop parent reference
2019-08-18 13:22:17 +00:00
Dorota Czaplejewicz
fc683de434
keyboard: Pass the current view instead of level
2019-08-18 13:20:43 +00:00
Dorota Czaplejewicz
b70afbe9eb
keystate: Wrap in refconuter
2019-08-18 13:20:43 +00:00
Dorota Czaplejewicz
996f681e5c
keystate: Removed multiple symbols
2019-08-18 13:20:43 +00:00
Dorota Czaplejewicz
eb118d67fc
section: Remove row
2019-08-18 13:20:43 +00:00
Dorota Czaplejewicz
725b36ba79
locking: Move to squeek_key
2019-08-18 13:20:43 +00:00
Dorota Czaplejewicz
1471a61993
locking: Set lock directly on the button
2019-08-18 13:20:43 +00:00
Dorota Czaplejewicz
94a76eedfd
Remove marshalers
2019-08-18 13:20:43 +00:00
Dorota Czaplejewicz
8566257a01
keysyms: Remove unused generated files
2019-08-18 13:20:43 +00:00
Dorota Czaplejewicz
f60917e466
symbols: Removed redundant info
2019-08-18 13:20:43 +00:00
Dorota Czaplejewicz
407ec97672
layout: Use correct outlines
2019-08-18 13:20:43 +00:00
Dorota Czaplejewicz
636ed0267d
Merge branch 'fixes' into 'master'
...
Fixes
See merge request Librem5/squeekboard!129
2019-08-18 12:58:23 +00:00
David Boddie
3154125ce0
Merge branch 'strict_build' into 'master'
...
build: Stricter type checks
See merge request Librem5/squeekboard!130
2019-08-17 18:05:36 +00:00
Dorota Czaplejewicz
62496aa18e
Merge branch 'compile_fix' into 'master'
...
fix compilation
See merge request Librem5/squeekboard!133
2019-08-15 08:57:34 +00:00
David Heidelberg
0b98c2cbe6
fix compilation
...
References: https://github.com/facebook/hhvm/issues/168 .
Same issue occurs in Gentoo with gcc 9.1
Signed-off-by: David Heidelberg <david@ixit.cz >
2019-08-15 10:53:07 +02:00
Dorota Czaplejewicz
bc82b59e47
symbols: Removed redundant info
2019-08-13 13:33:31 +00:00
Dorota Czaplejewicz
277393387c
layout: Use correct outlines
2019-08-13 13:04:38 +00:00
Dorota Czaplejewicz
007ff5c366
US: Fix label on tau
2019-08-13 12:59:04 +00:00
Dorota Czaplejewicz
699e785340
Remove unused variables
2019-08-13 12:36:52 +00:00
Dorota Czaplejewicz
6081dc240a
modifiers: Remove empty argument
2019-08-13 12:36:14 +00:00
Dorota Czaplejewicz
b2e9216920
build: Stricter type checks
2019-08-13 12:32:55 +00:00
Dorota Czaplejewicz
7972cb17cd
Merge branch 'do-not-pass-symbol-to-key-presses' into 'master'
...
Do not pass the symbol to the key emitter
See merge request Librem5/squeekboard!128
2019-08-13 12:28:15 +00:00
David Boddie
73d2505c89
Do not pass the symbol to the key emitter
2019-08-13 12:24:11 +00:00
Dorota Czaplejewicz
bdde8a127e
Merge branch 'update-create-key-virtual-function' into 'master'
...
Update create_key to match the function assigned to it
See merge request Librem5/squeekboard!127
2019-08-13 12:10:29 +00:00
David Boddie
8cf39394c5
Update create_key to match the function assigned to it
2019-08-13 12:07:24 +00:00
Dorota Czaplejewicz
ecf6957a6e
Merge branch 'fix_num_layouts' into 'master'
...
views: Don't lay out views that are missing
See merge request Librem5/squeekboard!126
2019-08-13 12:02:07 +00:00
Dorota Czaplejewicz
d858005a68
Merge branch 'improve-drag-handling' into 'master'
...
Release each pressed key instead of the current pressed key
See merge request Librem5/squeekboard!125
2019-08-13 12:01:57 +00:00
Dorota Czaplejewicz
6309fa8a48
views: Don't lay out views that are missing
2019-08-13 11:59:28 +00:00
Dorota Czaplejewicz
fb8e2ec4e7
Merge branch 'eekkey' into 'master'
...
Redesign how keys are handled
See merge request Librem5/squeekboard!117
2019-08-12 12:10:59 +00:00
David Boddie
91d7cc1118
Release each pressed key instead of the current pressed key
2019-08-10 16:11:53 +00:00
Dorota Czaplejewicz
a072755cee
layout: Use show_symbols instead of shift
2019-08-08 20:04:44 +00:00
Dorota Czaplejewicz
1cfec4de50
key: Share state between multiple keys
2019-08-08 20:04:38 +00:00
Dorota Czaplejewicz
cc3f2315a7
Use keyboards as views
...
Got rid of modifiers in the process. Still buggy: dragging over keys.
2019-08-08 19:56:36 +00:00
Dorota Czaplejewicz
f745223796
symbols: Stop parsing key groups
2019-08-08 19:26:25 +00:00
Dorota Czaplejewicz
25a2e95890
keyboard: Remove unused numlock and altgr masks
2019-08-08 19:26:24 +00:00
Dorota Czaplejewicz
f371b14e89
levelkeyboard: Use a layer for managing keyboard views
2019-08-08 19:26:21 +00:00
Dorota Czaplejewicz
0b6935e50c
keystate: Use keycode
2019-08-08 19:18:29 +00:00
Dorota Czaplejewicz
fb93e25833
eekkey: Moved state to KeyState
2019-08-08 19:18:29 +00:00
Dorota Czaplejewicz
ad86cb531a
symbol: Store symbols instead of pointers
2019-08-08 19:18:29 +00:00
Dorota Czaplejewicz
53b89aae45
symbol: Remove remains
2019-08-08 19:18:29 +00:00
Dorota Czaplejewicz
b76e43679e
level: Remove level from elements
2019-08-08 19:18:29 +00:00
Dorota Czaplejewicz
077ca8fad2
level: Make keyboard the only source of level data
2019-08-08 19:18:29 +00:00
Dorota Czaplejewicz
377521c108
section: Remove unused press signals
2019-08-08 19:18:29 +00:00
Dorota Czaplejewicz
23d5f18d4a
symbols matrix: Remove in favor of a levels vector
2019-08-08 19:18:28 +00:00
Dorota Czaplejewicz
c8adb45ab5
keyboard: Expose creating sections directly
2019-08-08 19:18:28 +00:00
Dorota Czaplejewicz
18163e3ecc
geometry: Simplify keyboard declarations
2019-08-08 19:18:23 +00:00
Dorota Czaplejewicz
a18beca50c
geometry: Move keycode to costomizations
2019-08-08 19:11:53 +00:00
Dorota Czaplejewicz
04b721aed9
geometry: Move customizations to the button table
2019-08-08 19:11:53 +00:00
Dorota Czaplejewicz
45f9353164
geometry: Use default outline by default
2019-08-08 19:11:53 +00:00
Dorota Czaplejewicz
5abe6ed6be
geometry: Remove unused row element
2019-08-08 19:11:43 +00:00
Dorota Czaplejewicz
38f81e45f4
Break out symbol handling into Rust
2019-08-08 12:51:15 +00:00
Dorota Czaplejewicz
c1482c2377
Merge branch 'add-frame-rendering' into 'master'
...
Add frame rendering, fix style sheet to show key borders
See merge request Librem5/squeekboard!123
2019-08-05 21:20:36 +00:00
David Boddie
6bbd8f6006
Use correct style for the design
2019-08-05 21:09:27 +00:00
David Boddie
cbdd72a4b6
Merge branch 'nolayout' into 'master'
...
Drop layout field on the keyboard
See merge request Librem5/squeekboard!122
2019-08-05 21:02:35 +00:00
Dorota Czaplejewicz
f7d30b0df3
Clarify some arithmetic warnings
2019-08-05 17:01:22 +00:00
Dorota Czaplejewicz
3e35b7441e
Drop unused variables
2019-08-05 17:01:22 +00:00
Dorota Czaplejewicz
754e79103a
keyboard: Drop layout reference
2019-08-05 17:01:22 +00:00
David Boddie
d6b59d16fd
Merge branch 'keyboard-signal' into 'master'
...
gtk-keyboard: Remove unused signal connections
See merge request Librem5/squeekboard!120
2019-08-05 14:27:09 +00:00
Dorota Czaplejewicz
a6e220a2ae
Merge branch 'adjust-icon-scaling' into 'master'
...
Correct icon size for scaling
See merge request Librem5/squeekboard!121
2019-08-05 12:06:13 +00:00
David Boddie
0b59262e95
Add frame rendering, fix style sheet to show key borders
2019-08-05 13:39:22 +02:00
David Boddie
593946779e
Correct icon size for scaling
2019-08-05 13:21:01 +02:00
Dorota Czaplejewicz
537ded4b58
Merge branch 'release-keys-when-focus-is-lost' into 'master'
...
Release pressed keys when dragging outside the keyboard
See merge request Librem5/squeekboard!119
2019-08-04 11:00:20 +00:00
Dorota Czaplejewicz
25a6a00f0f
Merge branch 'fix-key-press-checks' into 'master'
...
Use keyboard's coordinate system to check for presses
See merge request Librem5/squeekboard!118
2019-08-04 10:52:58 +00:00
Dorota Czaplejewicz
8298a1412b
gtk-keyboard: Remove unused signal connections
2019-08-04 10:23:57 +00:00
Dorota Czaplejewicz
47eb25d07f
Merge branch 'use-css-provider' into 'master'
...
Use CSS provider instead of custom classes
See merge request Librem5/squeekboard!108
2019-08-04 10:21:22 +00:00
David Boddie
0057c80b2e
Release pressed keys when dragging outside the keyboard
...
If no keys are under the touch position when dragging then release all
existing pressed keys. This fixes the problem where the last pressed key
causes events to be sent while the touch position moves outside the
keyboard extent.
2019-08-02 15:31:18 +00:00
David Boddie
da88831689
Fix key rendering to only scale once
2019-08-02 17:04:16 +02:00
David Boddie
7b6c6e51b3
Fix background rendering
2019-08-02 17:04:16 +02:00
David Boddie
42b2b3b8f6
Replace the Eek theme support with GTK classes
...
This brings the appearance of the keyboard basically in line with what
was there before. The background and key borders still need to be fixed
and the text and icons should probably be drawn using the style context.
2019-08-02 17:04:16 +02:00
David Boddie
64680664e3
Use a CSS provider and style context instead of the old theme support
2019-08-02 17:04:16 +02:00
David Boddie
87dd9b4374
Remove references to the removed theme classes
2019-08-02 17:04:16 +02:00
David Boddie
c7d5e8d152
Remove theme classes for future replacement
2019-08-02 17:04:16 +02:00
David Boddie
4cd15c074e
Merge branch 'fixes' into 'master'
...
Fixes
See merge request Librem5/squeekboard!115
2019-08-02 15:03:33 +00:00
David Boddie
9bfdabdf57
Merge branch 'textproperty' into 'master'
...
Removed text categories
See merge request Librem5/squeekboard!114
2019-08-02 14:36:41 +00:00
David Boddie
9375bc212b
Use keyboard's coordinate system to check for presses
2019-08-02 14:05:36 +00:00
Dorota Czaplejewicz
3829b52127
Merge branch 'center-keyboard' into 'master'
...
Center the keyboard horizontally
Closes #68
See merge request Librem5/squeekboard!104
2019-08-02 13:45:34 +00:00
David Boddie
f852cab0f9
Fix warnings, add gtk-doc strings
2019-08-02 12:49:15 +02:00
David Boddie
f53babcd68
Add gtk-doc style comment
2019-08-02 12:48:35 +02:00
David Boddie
016c1086e6
Center the keyboard horizontally
...
Also simplify individual key rendering to make the rendering model more
coherent.
2019-08-02 12:48:35 +02:00
Dorota Czaplejewicz
f7dd4c84b1
renderer: Render label directly
2019-08-02 09:21:38 +00:00
Dorota Czaplejewicz
c1c0cb6b31
Fix unused function
2019-08-01 20:30:57 +00:00
Dorota Czaplejewicz
e5858bf698
context: Remove vestigial key-activated
2019-08-01 20:25:07 +00:00
Dorota Czaplejewicz
b8389f6736
symbol: Simplify symbol storage
2019-08-01 20:25:01 +00:00
Dorota Czaplejewicz
6c1c979414
section: Removed multiple rows in section, row/column in key
2019-08-01 20:10:59 +00:00
Dorota Czaplejewicz
43df82355a
EekKey: Remove column and row fields
2019-08-01 20:10:59 +00:00
Dorota Czaplejewicz
d8b26040f9
symbolclass: Remove with surroundings
...
Collaterals: Enabled strict checking of initializers, fixed scripts generating keycode mappings.
2019-08-01 20:08:37 +00:00
Dorota Czaplejewicz
bdf29bf57b
symbol: forget serializing
2019-08-01 19:59:34 +00:00
Dorota Czaplejewicz
24358c39a6
Merge branch 'font_size' into 'master'
...
fonts: Reset font size to a constant
See merge request Librem5/squeekboard!112
2019-08-01 17:25:38 +00:00
Dorota Czaplejewicz
504285c08f
fonts: Reset font size to a constant
...
The font size will only be affected by the scaling factor, and not by an attempt to fit the labels into buttons.
Left to do: adjust it based on CSS.
2019-08-01 17:25:38 +00:00
Dorota Czaplejewicz
b7eb4026f6
Merge branch 'fix-tests' into 'master'
...
Use headless init functions to prevent test breakage
See merge request Librem5/squeekboard!109
2019-08-01 17:08:24 +00:00
David Boddie
ad5e4f58bb
Remove use of xvfb to check that the tests run headless
2019-08-01 18:15:42 +02:00
David Boddie
3085a10507
Merge branch 'cleanup' into 'master'
...
xml: Remove unused file
See merge request Librem5/squeekboard!110
2019-08-01 15:06:43 +00:00
Dorota Czaplejewicz
b5f0aa423b
xml: Remove unused file
2019-08-01 14:16:01 +00:00
David Boddie
9344a13bed
Use headless init functions to prevent test breakage
2019-08-01 16:00:59 +02:00
David Boddie
c8bc2c424f
Merge branch 'errors' into 'master'
...
Errors
See merge request Librem5/squeekboard!107
2019-07-31 18:54:15 +00:00
David Boddie
46fa6d4500
Merge branch 'rust_tests' into 'master'
...
Rust tests
See merge request Librem5/squeekboard!106
2019-07-31 17:11:33 +00:00
David Boddie
6002774f95
Merge branch 'imservice_cleanups' into 'master'
...
Imservice cleanups
See merge request Librem5/squeekboard!105
2019-07-31 14:27:13 +00:00
Dorota Czaplejewicz
f7f208883c
errors: Make compilation stricter
2019-07-31 14:11:49 +00:00
Dorota Czaplejewicz
5523b00442
test: Add missing gtk include
2019-07-31 14:11:35 +00:00
Dorota Czaplejewicz
c81fdb18de
eekelement: Fix case falling through
2019-07-31 14:11:03 +00:00
Dorota Czaplejewicz
778543c719
rust: Add a call to Rust test framework
2019-07-31 11:20:57 +00:00
Dorota Czaplejewicz
18b8972029
bitflags: Use absolute imports
...
With relative import of the bitflags crate, the macros would try to fetch nonexistent paths, preventing tests form compiling.
2019-07-31 11:13:24 +00:00
Dorota Czaplejewicz
fa31f8eee1
imservice: Check pointer validity
2019-07-31 10:43:39 +00:00
Dorota Czaplejewicz
98a2e33d78
imservice: Use TryFrom for u32->enum conversions
2019-07-31 10:05:35 +00:00
Dorota Czaplejewicz
58d01bf502
imservice: Use discriminants in enums
2019-07-31 10:05:35 +00:00
Dorota Czaplejewicz
8326bd7016
rust: Create a root file for modules
...
The new `lib.rs` file is created to refer to all modules written in Rust. This way, only one `rustc` call is needed to compile an arbitrary amount of modules. It also converges with the way crates are structured.
2019-07-31 10:05:27 +00:00
Dorota Czaplejewicz
d5f8b0d83b
Merge branch 'simplify-rendering' into 'master'
...
Simplify layout and rendering
See merge request Librem5/squeekboard!102
2019-07-31 09:10:57 +00:00
Dorota Czaplejewicz
e70a898af5
Merge branch 'adjust-keyboard-geometry' into 'master'
...
Adjust keyboard geometry
See merge request Librem5/squeekboard!103
2019-07-31 06:39:45 +00:00
Dorota Czaplejewicz
df249646bc
Merge branch 'update-numeric-keypad' into 'master'
...
Rename keypad-related files
See merge request Librem5/squeekboard!101
2019-07-31 06:37:09 +00:00
David Boddie
35ff93258e
Adjust geometry to match the compact keyboard in places
2019-07-31 00:43:39 +02:00
David Boddie
c58d034494
Adjust bounds of the keyboard to better fit it in the available space
2019-07-31 00:43:36 +02:00
David Boddie
8f1de46381
Simplify layout and rendering
...
Remove pre-scaling of the bounds for the keyboard and its contents.
Calculate the scale factor based on the allocation and the desired width
and height of each keyboard, using the lower value of the horizontal and
vertical scale factors.
Apply scaling in the renderer and prepare to perform centering there.
2019-07-30 21:48:36 +00:00
David Boddie
1846a67e83
Merge branch 'readme' into 'master'
...
readme: Change the clone URL
Closes #30
See merge request Librem5/squeekboard!100
2019-07-30 20:39:09 +00:00
David Boddie
35ac14806c
Rename keypad-related files
2019-07-30 20:47:29 +02:00
Dorota Czaplejewicz
4aee4915d9
Merge branch 'generate-xkb-files' into 'master'
...
Generate XKB keymaps from XML instead of using pre-made ones
See merge request Librem5/squeekboard!90
2019-07-30 17:38:06 +00:00
David Boddie
5eeaa1c693
Remove unused geometry file
2019-07-30 19:28:16 +02:00
David Boddie
9b2fcf89e8
Use a test-oriented init call
2019-07-30 17:20:15 +02:00
David Boddie
e801a68f0d
Add comments to explain what empty labels do
2019-07-30 16:50:23 +02:00
Dorota Czaplejewicz
ffc5628637
readme: Change the clone URL
2019-07-30 13:08:12 +00:00
Dorota Czaplejewicz
306aa89d06
Merge branch 'content_type' into 'master'
...
Finish up imservice state
See merge request Librem5/squeekboard!93
2019-07-30 11:44:19 +00:00
Dorota Czaplejewicz
236415cde4
Merge branch 'add-landscape-orientation' into 'master'
...
Add landscape orientation
See merge request Librem5/squeekboard!99
2019-07-30 11:19:41 +00:00
David Boddie
d49e0eaa1b
Center the keyboard in landscape orientation
2019-07-26 22:27:56 +00:00
David Boddie
107399a531
Don't set the geometry of the window in normal use
...
Setting the geometry prevents the widget from getting the correct
allocation and prevents us from positioning it correctly in
landscape mode.
2019-07-26 22:26:02 +00:00
David Boddie
99a7786dc3
Remove declaration of unused variable
2019-07-26 12:01:04 +02:00
Guido Gunther
d8f48cc48b
Merge branch 'use-button-size-for-icons' into 'master'
...
Use the standard button size for icons
See merge request Librem5/squeekboard!98
2019-07-26 08:04:53 +00:00
David Boddie
2f0beb6d3a
Add a simple test of keymap generation
2019-07-25 22:25:30 +02:00
David Boddie
3ab3627ffe
Remove unused keymaps
2019-07-25 22:25:30 +02:00
David Boddie
70895999c2
Generate XKB keymaps from XML instead of using pre-made ones
2019-07-25 22:25:29 +02:00
David Boddie
ce311e1bf1
Use the standard button size for icons
2019-07-25 20:14:32 +00:00
David Boddie
e9cf572a3c
Only recreate the widget when the keyboard layout changes
...
Avoid creating a widget before there is a window to put it in.
2019-07-25 18:07:29 +00:00
David Boddie
943b2ad9f3
Merge branch 'xkb_resource_oob_read' into 'master'
...
Fix out of bounds memory read in get_keymap_from_resource.
See merge request Librem5/squeekboard!97
2019-07-25 13:20:35 +00:00
Piotr Tworek
f86bbb09f8
Fix out of bounds memory read in get_keymap_from_resource.
...
The function reads resource content into a buffer whose size matches the
size of the file contents. This buffer does not have an extra byte that
would 0 terminate this string. This is by itself is not a problem.
Unfortunately the buffer is passed to g_utf8_make_valid function with
size argument specified as -1 which means the buffer is supposed to be
NULL terminated. The end result is g_utf8_make_valid will read at least
1 byte past "contents" buffer size.
Fix this by specifying buffer size when calling g_utf8_make_valid.
2019-07-24 17:08:19 +02:00
David Boddie
1246776328
Create the keyboard surface every time it is needed
...
Icons are still blurry the first time the keyboard is shown after
rotation.
2019-07-24 14:04:28 +00:00
David Boddie
ea15f69e73
Render the keyboard to a subsurface of the widget
2019-07-24 13:12:57 +00:00
David Boddie
2e22bb5431
Merge branch 'fix-squeekboard-resources' into 'master'
...
Ensure that resources are built with the application
See merge request Librem5/squeekboard!95
2019-07-23 23:25:33 +00:00
David Boddie
a9a6e1d2b5
Ensure that resources are built with the application
2019-07-24 01:22:58 +02:00
Dorota Czaplejewicz
7e939c36cc
imservice: Call show/hide directly
2019-07-23 20:26:42 +00:00
Dorota Czaplejewicz
c5d2d76ab1
imservice: Handle unavailable message
2019-07-23 20:26:42 +00:00
Dorota Czaplejewicz
622ba6e38a
imservice: Handle text change cause
...
Nothing is being done with this information yet
2019-07-23 20:26:42 +00:00
Dorota Czaplejewicz
fad06348a7
imservice: Make imservice opaque
...
The structure is defined in Rust, with the intention of evaluating using Rust in this area. It's specifically not defined as repr(C), in order to encourage that. Without the repr, it was unsafe to have its members exposed in C.
2019-07-23 20:26:42 +00:00
Dorota Czaplejewicz
a6ee303123
imservice: Handle content type in Rust
...
This adds `bitflags.rs` from the bitflags crate.
Due to not wanting to introduce Cargo as the dependency manager yet, it's slightly modified to compile as a naked module.
2019-07-23 20:25:13 +00:00
David Boddie
4b66add65f
Merge branch 'ci' into 'master'
...
Run tests in ci
See merge request Librem5/squeekboard!94
2019-07-23 11:29:34 +00:00
Guido Günther
79dce7c4c3
gitlab-ci: Run tests under xvfb
...
We create widgets so need a display.
2019-07-23 10:20:07 +02:00
Guido Günther
aff71e0e33
debian: Add test run dependencies
...
We need xvfb to run the tests since this involves creating GTK
widgets.
2019-07-23 10:20:02 +02:00
David Boddie
9b10f56ba6
Keep the build directory as an artifact
2019-07-23 10:18:44 +02:00
David Boddie
2391947b34
Update CI configuration to enable tests
2019-07-23 10:18:44 +02:00
David Boddie
e903150971
Enable tests, fixing the existing ones to use the current API
...
This also involved building a static library for the application for
tests to link to. The main application executable also links to it.
2019-07-23 10:18:44 +02:00
David Boddie
7495ec9bbb
Merge branch 'remove-includes' into 'master'
...
Remove unnecessary X11 includes
See merge request Librem5/squeekboard!91
2019-07-20 22:00:58 +00:00
David Boddie
e25d5a84b2
Remove unnecessary X11 includes
2019-07-20 23:57:38 +02:00
David Boddie
88ade4df1b
Merge branch 'add-keyboards-for-purposes' into 'master'
...
Add keyboards for purposes
See merge request Librem5/squeekboard!89
2019-07-20 21:44:30 +00:00
David Boddie
00c3903672
Respond to the input purpose, showing a numeric keypad if requested
2019-07-20 17:33:55 +02:00
David Boddie
c801b17ba0
Add initial files to test specialized keyboard support
2019-07-20 17:33:50 +02:00
David Boddie
9ec8d62f3f
Merge branch 'respond-to-input-source-changes' into 'master'
...
Respond to input source changes
See merge request Librem5/squeekboard!88
2019-07-20 15:31:40 +00:00
David Boddie
b1edcfcb1b
Tidy up a merge
2019-07-20 17:26:00 +02:00
David Boddie
54b0f59935
Always create a new widget for a keyboard and update it if already visible
2019-07-20 17:25:55 +02:00
David Boddie
531b09f296
Merge branch 'adapt-keyboard-for-different-levels' into 'master'
...
Omit keys without labels on the current level, update key definitions
See merge request Librem5/squeekboard!87
2019-07-20 15:24:09 +00:00
David Boddie
e5b6d66d60
Omit keys without labels on the current level, update key definitions
2019-07-20 17:17:37 +02:00
David Boddie
a045810af6
Merge branch 'add-built-in-keymaps' into 'master'
...
Add built in keymaps
See merge request Librem5/squeekboard!78
2019-07-20 14:42:51 +00:00
David Boddie
d68a8fef9a
Merge branch 'resize-icons' into 'master'
...
Declare the correct size for icons
See merge request Librem5/squeekboard!86
2019-07-20 14:41:29 +00:00
David Boddie
9162d4291f
Declare the correct size for icons
2019-07-20 14:39:47 +00:00
David Boddie
93d7699aa7
Merge branch 'make-layout-more-flexible' into 'master'
...
Make layout handling more flexible
See merge request Librem5/squeekboard!85
2019-07-20 14:31:26 +00:00
David Boddie
6eb63f6a4c
Refactor layout code, rescale and reformat when changing level
2019-07-19 17:35:49 +02:00
David Boddie
f6d4ca0387
Place keys after symbols have been read, skipping blank keys
2019-07-19 17:35:49 +02:00
David Boddie
7b41466a77
Start to refactor keyboard section layout
2019-07-19 17:35:49 +02:00
David Boddie
18c25084db
Merge branch 'merge-renderers' into 'master'
...
Move EekGtkRenderer features into EekRenderer
Closes #61
See merge request Librem5/squeekboard!84
2019-07-19 14:56:54 +00:00
David Boddie
a5875402ef
Move EekGtkRenderer features into EekRenderer
2019-07-18 15:42:27 +02:00
David Boddie
f3ed1ba247
Merge branch 'config' into 'master'
...
Clean up config.h (and some other stuff)
See merge request Librem5/squeekboard!83
2019-07-18 11:11:57 +00:00
Guido Günther
633d69baca
Drop HAVE_CLUTTER_GTK
...
We don't use it.
2019-07-17 19:50:53 +02:00
Guido Günther
dbc8cc14bc
Generate config.h
...
This allows us to remove a lot of #ifdef's. Either we want to use
a config.h or we don't. Since we'll want it for e.g. optional gsound
support later on let's have it.
2019-07-17 19:50:53 +02:00
Guido Günther
c65583b911
Add a gitignore file
...
Based on the phosh one to ignore (upcoming) translations, editor
backup files and so forth.
2019-07-17 19:39:33 +02:00
Guido Günther
3d518b5757
build: Bump meson dep since we use '/'
2019-07-17 19:37:05 +02:00
David Boddie
bfa72d7f61
Merge branch 'less-flicker' into 'master'
...
Make redisplaying the keyboard faster
Closes #60
See merge request Librem5/squeekboard!82
2019-07-17 16:32:29 +00:00
Guido Günther
373713ba54
ServerContextService: Don't destroy widget all the time
...
This avoids icon theme lookups and lots of other stuff down the road.
Closes : #60
2019-07-17 17:16:35 +02:00
Guido Günther
068c325ee2
EekGtkRenderer: Use a hash table for icon theme lookups
2019-07-17 17:14:42 +02:00
Guido Günther
3b076e5e64
EekGtkRenderer: Simplify type declaration
...
It's 2019.
2019-07-17 17:14:42 +02:00
Guido Günther
07d6e3a0f2
ServerContextService: Don't use gtk_widget_show_all
...
This gives children more flexibility without using `no_show_all`.
2019-07-17 17:14:42 +02:00
David Boddie
7690ef9a1a
Merge branch 'layer-shell' into 'master'
...
Hide/show window instead of destroying it
Closes #42
See merge request Librem5/squeekboard!76
2019-07-17 11:34:10 +00:00
Guido Günther
9974c385e5
EekboardContextService: Don't comment out property setters
...
This lets us keep the visible property up to date.
2019-07-17 00:44:09 +02:00
Guido Günther
8dafad80b1
ServerContextService: Check for mapped/unmapped
...
Visible does not tell us if the widget is actually visible on the
screen.
2019-07-17 00:44:00 +02:00
Guido Günther
93e9b2dde9
ServerContextService: Hide the widget instead of destroying it
...
This is quicker and makes sure we don't stack up surfaces.
2019-07-16 18:52:53 +02:00
Guido Günther
c3a54595ea
layersurface: Refresh layersurface on map
...
If the surface gets unmapped and mapped again we have another GDK window
so we have to reconfigure the layers surface on map and destroy it on
unmap.
This will be merged back into phosh if it works out.
2019-07-16 18:52:36 +02:00
Guido Günther
95ef52fe42
ServerContextService: Remove more unused code
...
The whole visible/enable logic was disfunctional all the time.
What works is show_keyboard and hide_keyboard.
2019-07-16 18:47:55 +02:00
Guido Günther
c638c40a09
ServerContextService: Drop everything depending on self->was_visible
...
This was never used so everything depending on it was dead code.
2019-07-16 18:47:55 +02:00
Guido Günther
83d48d24ce
ServerContextService: Really destroy the main window
...
Otherwise layer surfaces keep piling up
2019-07-16 18:47:55 +02:00
Guido Günther
d807e43929
ServerContextService: Drop unneeded code
...
The layer shell code handles parts of this and others are just
not needed on wayland.
2019-07-16 18:47:55 +02:00
Guido Günther
0a112be956
ServerContextService: Show keyboard when everything else is set up
...
This avoids some flickering.
2019-07-16 18:47:55 +02:00
Guido Günther
078efa2a6e
LayerShell: Set a proper namespace
2019-07-16 18:47:55 +02:00
Guido Günther
5827827008
Update layer surface code from phosh
...
As of commit 77bba4fcb2d836a58ccf8913d9a514aac6cc49a2. This allows
us to split the widget creation from making it visible.
2019-07-16 18:47:55 +02:00
David Boddie
9c61d8de72
Merge branch 'dbus-prop' into 'master'
...
EekboardService: Properly toggle keyboard visibility on DBus
Closes #55
See merge request Librem5/squeekboard!80
2019-07-16 13:22:53 +00:00
David Boddie
f72ddc8129
Undo formatting changes
2019-07-16 14:06:49 +02:00
David Boddie
7e9c3b40bb
Remove debugging code
2019-07-16 14:00:41 +02:00
David Boddie
a8371af9c0
Fall back to US layout and keymap if needed
2019-07-16 14:00:41 +02:00
David Boddie
4e11d071d9
Add a keymap for the US layout, update the US symbols
2019-07-16 14:00:41 +02:00
David Boddie
a7140705c4
Search for an xkb keymap in the resources
2019-07-16 14:00:41 +02:00
David Boddie
69986132b4
Use keysyms for the Shift modifier
2019-07-16 14:00:41 +02:00
David Boddie
3c97a3a592
Convert symbols file and update test keymap
2019-07-16 14:00:41 +02:00
David Boddie
268dda4da0
Improve symbol mapping
2019-07-16 14:00:41 +02:00
David Boddie
45f58a97b9
Update the test keymap
2019-07-16 14:00:41 +02:00
David Boddie
bdbbaf6099
Use groups to reference keysyms in the keymap
2019-07-16 14:00:41 +02:00
David Boddie
839968dc84
Try using a custom keymap
2019-07-16 14:00:41 +02:00
David Boddie
fbdc5f4a93
Stash for sharing
2019-07-16 14:00:41 +02:00
David Boddie
e5648a82a3
Remove explicit keycodes in XML, auto-generate them instead
...
This makes it easier to keep the geometry and symbols files in sync.
2019-07-16 14:00:41 +02:00
David Boddie
38133d326b
Merge branch 'autogen.sh' into 'master'
...
Remove more files
See merge request Librem5/squeekboard!81
2019-07-16 11:06:55 +00:00
Guido Günther
cc00fcb5c9
Remove more files
...
autogen.sh is for automake and the TODO refers to eekboard.
2019-07-16 11:00:59 +02:00
Guido Günther
53f7a14717
EekboardService: Properly toggle keyboard visibility on DBus
...
Closes : #55
2019-07-16 10:21:59 +02:00
Guido Gunther
922495ca06
Merge branch 'remove-unused-files' into 'master'
...
Remove unused files and functions
See merge request Librem5/squeekboard!79
2019-07-16 07:16:29 +00:00
David Boddie
e5e2e08ff4
Merge branch 'fewer-redraws' into 'master'
...
keyboard: Schedule widget redraw instead of gdk_window_invalidate_rect
See merge request Librem5/squeekboard!75
2019-07-15 22:57:12 +00:00
David Boddie
c7c410210b
Merge branch 'scale' into 'master'
...
Honor widget scale factor
See merge request Librem5/squeekboard!56
2019-07-15 22:27:34 +00:00
David Boddie
cb7c214aa0
Merge branch 'fixes' into 'master'
...
Fixes
See merge request Librem5/squeekboard!74
2019-07-15 22:20:40 +00:00
David Boddie
6f5f49729c
Remove unused files and functions
2019-07-15 23:45:17 +02:00
Guido Günther
94c9442de1
keyboard: Drop now unused clip_bounds_to_dirty_rectangle()
2019-07-15 17:42:32 +02:00
Guido Günther
8c044d0852
keyboard: Schedule widget redraw instead of gdk_window_invalidate_rect
...
The later would invaliate the drawn area again and again in a ::draw()
handler. This caused infinite redraws when e.g. a key was locked. To
reproduce break e.g. on `eek_gtk_keyboard_real_draw()` and see how it is
invoked again and again.
2019-07-15 17:42:32 +02:00
Guido Günther
1f0cc0a5f3
keyboard: Don't leak on set_keyboard()
...
Unref and disconnect signals before setting a new keyboard.
2019-07-15 14:12:10 +02:00
Guido Günther
5693ce3df7
keyboard: Simplify signal disconnect
...
We're only keeping the signal ids around for disconnect but that only
happens in dispose so it's o.k.to just disconnect all keyboard signals
we listen to.
2019-07-15 14:12:10 +02:00
David Boddie
bcf04ab11e
Merge branch 'exclusive-zone' into 'master'
...
LayerSurface: Make exclusive zone identical to height
Closes #53
See merge request Librem5/squeekboard!72
2019-07-15 11:55:41 +00:00
Guido Günther
086f6bd772
renderer: Only scale by output scale
...
The original eekboard code scaled icons by a factor. That was simplified
in c529e9ed9c but we can do away with it
completely and fetch the icons at the right size making them not blurry.
2019-07-15 13:23:16 +02:00
Guido Günther
d0fa444a0e
Honor the outputs scale factor
2019-07-15 13:13:34 +02:00
Guido Günther
cd81aeb286
get_icon_surface: Add a scale argument
...
This will allow us to pass the output scale around
2019-07-15 13:13:34 +02:00
Guido Günther
7db33bc92e
renderer: Add icons in resource bundle to the icon theme
2019-07-15 13:13:34 +02:00
Guido Günther
fb6c501e44
renderer: Use gtk_icon_theme_load_surface
...
This will allow us to feed in the output scale.
2019-07-15 13:12:26 +02:00
Guido Günther
ce7b398f7b
LayerSurface: Make exclusive zone identical to height
...
Othewise we hide content beneath the keyboard.
Closes : #53
2019-07-15 12:49:11 +02:00
David Boddie
4d8d3a8109
Merge branch 'suppress-warnings' into 'master'
...
Suppress warning message
See merge request Librem5/squeekboard!70
2019-07-13 22:14:54 +00:00
David Boddie
a183cf8b63
Suppress warning message
2019-07-14 00:13:41 +02:00
David Boddie
f834edcf94
Merge branch 'fix-compiler-warnings' into 'master'
...
Fix use of inappropriate type
See merge request Librem5/squeekboard!69
2019-07-13 19:47:40 +00:00
David Boddie
17802a9408
Fix use of inappropriate type
2019-07-13 18:36:59 +02:00
David Boddie
ac1aad881c
Merge branch '49-inconsistent-behaviour-of-shift-key-s-pressed-state' into 'master'
...
Resolve "Inconsistent behaviour of shift key's pressed state"
Closes #49
See merge request Librem5/squeekboard!66
2019-07-13 16:35:07 +00:00
David Boddie
928110a92d
Merge branch 'add-missing-icon' into 'master'
...
Add keyboard preferences icon
See merge request Librem5/squeekboard!68
2019-07-12 21:09:49 +00:00
David Boddie
f6479fafe2
Add keyboard preferences icon
2019-07-12 23:07:01 +02:00
David Boddie
62b1c2ba84
Revert to latch behavior for letters
2019-07-12 19:54:21 +00:00
David Boddie
c0ac5e540f
Merge branch 'add-key-icons' into 'master'
...
Add key icons
Closes #44
See merge request Librem5/squeekboard!65
2019-07-12 19:17:29 +00:00
David Boddie
fb5ec5557b
Make icons smaller
2019-07-12 20:12:09 +02:00
David Boddie
74d94e6792
Merge branch 'remove-unused-xml' into 'master'
...
Remove unused XML from the US definitions
See merge request Librem5/squeekboard!64
2019-07-12 18:08:55 +00:00
David Boddie
63f4c6b4da
Use icons for Shift and Return in the US layout
2019-07-12 20:04:50 +02:00
David Boddie
2774c1c988
Try to load icons from app resources first
2019-07-12 20:04:22 +02:00
David Boddie
469b0c0a9a
Add icons to the resource manifest
2019-07-12 20:04:02 +02:00
David Boddie
2ddd217737
Add Enter and Shift icons
2019-07-12 19:16:21 +02:00
David Boddie
c4e8e34ad6
Remove unused XML from the US definitions
2019-07-12 17:15:38 +00:00
David Boddie
4dc18c0af4
Merge branch '27-period-should-not-change-when-caps-lock-is-active' into 'master'
...
Resolve "Period should not change when caps lock is active"
Closes #27
See merge request Librem5/squeekboard!63
2019-07-12 17:11:10 +00:00
David Boddie
55c6911b87
Remove level with > character from . key
2019-07-12 17:17:11 +02:00
David Boddie
9bf0da5409
Merge branch 'adjust-scaling' into 'master'
...
Reduce icon size to match platform guidelines
See merge request Librem5/squeekboard!62
2019-07-12 15:15:43 +00:00
David Boddie
7d5b2dd1de
Reduce icon size to match platform guidelines
2019-07-12 16:10:31 +02:00
David Boddie
6091632e40
Merge branch 'simplify-geometry-xml' into 'master'
...
Simplify geometry XML
See merge request Librem5/squeekboard!61
2019-07-12 14:09:57 +00:00
David Boddie
44110fd4d9
Remove bounds for everything except the geometry element
2019-07-12 14:00:20 +00:00
David Boddie
74d76ebfeb
Remove unused XML elements
2019-07-12 14:00:20 +00:00
David Boddie
760bc138b0
Test effect of setting attributes to zero
2019-07-12 14:00:20 +00:00
David Boddie
2a4763d4f3
Merge branch 'fix-bottom-margin' into 'master'
...
Include extra space in the window object
Closes #47
See merge request Librem5/squeekboard!60
2019-07-12 13:42:20 +00:00
David Boddie
4b92f205ef
Include extra space in the window object
2019-07-12 10:30:44 +00:00
David Boddie
a5668fa1db
Merge branch 'remove-pressed-key-popups' into 'master'
...
Remove pop-ups for pressed keys
See merge request Librem5/squeekboard!59
2019-07-11 23:42:34 +00:00
David Boddie
de39256377
Remove pop-ups for pressed keys
2019-07-11 23:39:33 +00:00
David Boddie
f53709c83d
Merge branch 'fix-bottom-margin' into 'master'
...
Fix clipping issue at bottom of keyboard
Closes #47
See merge request Librem5/squeekboard!58
2019-07-11 23:07:01 +00:00
David Boddie
8ad0192e55
Fix clipping issue at bottom of keyboard
...
Closes #47 .
2019-07-11 23:04:29 +00:00
David Boddie
791e454cb6
Merge branch 'functioning-views' into 'master'
...
Basic functioning views
See merge request Librem5/squeekboard!57
2019-07-11 22:58:50 +00:00
David Boddie
c85638be4d
Use a dummy, non-emitting key to switch views
2019-07-11 19:38:02 +00:00
Guido Gunther
a61b1fdf06
Merge branch 'implement-more-view-behavior' into 'master'
...
Improve view behavior to more closely reflect #38
See merge request Librem5/squeekboard!55
2019-07-11 16:29:26 +00:00
David Boddie
07c25d1d91
Improve view behavior to more closely reflect #38
2019-07-11 16:29:26 +00:00
Guido Gunther
83dafd87a4
Merge branch 'copyright' into 'master'
...
Copyright
See merge request Librem5/squeekboard!6
2019-07-11 13:49:00 +00:00
David Boddie
25a8733957
Merge branch 'scale' into 'master'
...
Simplify icon rendering a bit
See merge request Librem5/squeekboard!52
2019-07-11 13:42:50 +00:00
Guido Günther
c529e9ed9c
render: Simplify drawing
...
Instead of doing scale guessing we know that we get a properly
sized image from GTK+ so just scale it down a bit so it gets
some border within the drawing area.
2019-07-11 15:40:18 +02:00
Guido Günther
d6a8a85b5e
render: Get foreground color only once
2019-07-11 15:40:18 +02:00
Guido Günther
3a945535f7
render: Remove trailing white space
2019-07-11 15:40:18 +02:00
Guido Günther
0fc4374193
gtk-renderer: Simplify
2019-07-11 15:40:18 +02:00
David Boddie
e350b4ab92
Merge branch 'some-bugfixes' into 'master'
...
MERGE these: Some bugfixes - the buildsystem is acting up again
See merge request Librem5/squeekboard!53
2019-07-11 13:39:56 +00:00
David Boddie
626527ee09
Merge branch 'feature-xml-resources' into 'master'
...
FINAL: bundle xml resources, allows running uninstalled from git repo
Closes #29 and #21
See merge request Librem5/squeekboard!49
2019-07-11 13:33:45 +00:00
David Boddie
c4a462c385
Merge branch 'ci' into 'master'
...
gitlab-ci: No need for our ci repository
See merge request Librem5/squeekboard!54
2019-07-11 13:16:32 +00:00
Guido Günther
706a04dbfc
gitlab-ci: No need for our ci repository
...
Just using debian buster makes things more stable.
2019-07-11 14:31:25 +02:00
Guido Günther
7fd51af4de
debian: Drop virtboard build-dependency
2019-07-11 14:31:25 +02:00
Guido Günther
c1af9b2ba4
Add dbus protocol definition
...
This let's us drop the virtboard build dependency.
2019-07-11 14:31:25 +02:00
Hysterical Raisins
5efb4cc58d
Bundle keyboard definitions
...
This allows running uninstalled from a git repo
Closes : #21 , #29
2019-07-11 13:40:03 +02:00
Hysterical Raisins
4b2977d601
Plug 3 leaks
2019-07-11 13:26:04 +02:00
Hysterical Raisins
2f1c1c2fb1
Remove unused variable and remove damage from botched rebase
...
- remove bounds it is not used.
- remove the g_clear_pointer, it does the same thing as the if-block
above, the were both there as the result of the merge, and it is
apparently easily overlooked
- cleanup after myself (FIXMEs)
2019-07-11 13:24:48 +02:00
David Boddie
f47ef09a1f
Merge branch 'implement-basic-views' into 'master'
...
Implement basic keyboard views
See merge request Librem5/squeekboard!51
2019-07-11 10:24:29 +00:00
David Boddie
47041b0fac
Implement basic keyboard views
...
Use existing concepts of levels and modifier latches and locks to
implement the three view design of issue #38 .
The use of a lock to switch from letter to numbers and a latch to
handle upper and lower case has side effects, but these can be
addressed in a future commit.
2019-07-10 23:33:45 +00:00
Sebastian Krzyszkowiak
b6111b5e00
Merge branch 'fix-backspace-key' into 'master'
...
Specify a keyval to make the backspace key work again
Closes #45
See merge request Librem5/squeekboard!50
2019-07-10 23:12:59 +00:00
David Boddie
b8a2b2d7c8
Specify a keyval to make the backspace key work again
2019-07-11 01:09:04 +02:00
David Boddie
0765ea1b86
Merge branch 'update-symbols' into 'master'
...
Update symbols to more closely resemble #38
See merge request Librem5/squeekboard!48
2019-07-10 22:20:30 +00:00
David Boddie
64223704e0
Update symbols to more closely resemble #38
2019-07-10 23:50:34 +02:00
Guido Gunther
8c14763ea4
Merge branch 'theme-path' into 'master'
...
Drop now unused theme_path
See merge request Librem5/squeekboard!46
2019-07-10 17:09:58 +00:00
Guido Gunther
10cd93022a
Merge branch 'update-icons' into 'master'
...
Use an icon for backspace
See merge request Librem5/squeekboard!47
2019-07-10 16:57:09 +00:00
David Boddie
d006aede6a
Merge branch 'top-margin' into 'master'
...
Add some border at the top
Closes #28
See merge request Librem5/squeekboard!43
2019-07-10 15:46:16 +00:00
Guido Günther
b57e1ce660
Drop now unused theme_path
2019-07-10 15:39:16 +02:00
David Boddie
1b59c4dad3
Use an icon for backspace
2019-07-10 14:36:19 +02:00
David Boddie
189c721d7e
Merge branch 'use_gresource' into 'master'
...
Use a gresource to store the css
See merge request Librem5/squeekboard!28
2019-07-10 11:36:53 +00:00
David Boddie
1ff1592f24
Merge branch 'master' into 'use_gresource'
...
# Conflicts:
# src/server-context-service.c
2019-07-10 11:35:40 +00:00
Guido Günther
7f5f310bf0
Add some border at the top
...
Closes : #28
2019-07-10 11:31:24 +02:00
David Boddie
f999861228
Merge branch 'remove-more-unused-code-and-data' into 'master'
...
Remove unused color definitions
See merge request Librem5/squeekboard!42
2019-07-09 21:40:36 +00:00
David Boddie
a571bd7dca
Remove unused color definitions
2019-07-09 17:55:40 +02:00
David Boddie
3d0d28fa01
Merge branch 'remove-unused-eekboard-context-service-code' into 'master'
...
Remove currently unused eekboard code
See merge request Librem5/squeekboard!41
2019-07-09 15:48:59 +00:00
David Boddie
4c54b49ef5
Merge branch 'remove-unused-sources' into 'master'
...
Remove unlisted files
See merge request Librem5/squeekboard!38
2019-07-09 14:44:00 +00:00
David Boddie
eb940bcf52
Remove currently unused eekboard code
2019-07-09 16:34:16 +02:00
David Boddie
be0e773879
Merge branch 'quick-review-fast-lane-very-speedy' into 'master'
...
Some cleanups, and some FIXME hints for future work (no functional changes)
See merge request Librem5/squeekboard!39
2019-07-09 14:25:45 +00:00
David Boddie
056e07e80e
Merge branch 'prevent-warnings' into 'master'
...
Prevent compiler warnings by commenting out unused code
See merge request Librem5/squeekboard!37
2019-07-09 13:44:54 +00:00
David Boddie
83b36d07d0
Add note about unused code
2019-07-09 15:28:02 +02:00
Hysterical Raisins
89aaf05aff
Some minor cleanups
2019-07-09 13:52:23 +02:00
Hysterical Raisins
2f87fd46fb
Improve codeflow
2019-07-09 13:50:14 +02:00
Hysterical Raisins
e04276ee38
Use properly typed and named variables for user_data
2019-07-09 13:46:44 +02:00
Hysterical Raisins
05c3061f08
Add some FIXME hints for future work
2019-07-09 13:41:20 +02:00
Hysterical Raisins
c33006bcbc
use g_clear_pointer with gtk_widget_destroy
...
brief, clear, idiomatic and grep friendly
2019-07-09 13:33:49 +02:00
David Boddie
4bf4500ae1
Remove unlisted files
2019-07-09 01:07:19 +02:00
David Boddie
e2944ff4a7
Use a macro to declare a type with private data
2019-07-09 00:46:03 +02:00
David Boddie
f79b5dadbb
Use a macro to declare a type with private data
2019-07-09 00:41:25 +02:00
David Boddie
4d44129b04
Prevent compiler warnings by commenting out unused code
2019-07-09 00:24:57 +02:00
David Boddie
b3e1d84e6c
Merge branch 'mem' into 'master'
...
Fix visibility-related bugs
See merge request Librem5/squeekboard!25
2019-07-08 21:25:27 +00:00
David Boddie
6702edaa9d
Merge branch 'fix-deprecated-warnings' into 'master'
...
Fix deprecated warnings
See merge request Librem5/squeekboard!34
2019-07-08 21:19:57 +00:00
David Boddie
a3a6e5933a
Merge branch 'quick-review-fast-lane-very-speedy' into 'master'
...
Quick review fast lane very speedy
See merge request Librem5/squeekboard!36
2019-07-08 21:01:40 +00:00
Hysterical Raisins
66ec95ebb0
fix-up prototypes (-Wincompatible-pointer-types)
2019-07-08 09:21:26 +02:00
Hysterical Raisins
a944bf85b8
remove stray const (-Wdiscarded-qualifiers)
2019-07-08 09:20:17 +02:00
Hysterical Raisins
1d1829f664
fix accidentally committed line (-Wincompatible-pointer-types)
2019-07-08 09:18:41 +02:00
Hysterical Raisins
094aa872ce
Cleanups: fix deprecated g_type_class_add_private()
...
- use G_DECLARE_ and G_DEFINE_ macros
- move all data into ClassNamePrivate
- use _get_instance_private()
This should not introduce any functional changes or breakage.
Skipped two classes (EekKeyboard and EekboardContextService) for now in
order not to break the build.
These two classes are used in some very funky WIP code that tries to
circumvent encapsulation.
(Funky code is in eekboard/key-emitter.c and eekboard/eekboard-context-service.c)
2019-07-08 08:44:05 +02:00
Hysterical Raisins
eaf925e30b
Cleanups: fix g_type_init() deprecation warning
...
None of this seems necessary anymore. This file could be axed, but leave
it for now.
2019-07-08 08:39:43 +02:00
Hysterical Raisins
722d3d1ad4
Cleanups: fix deprecations
...
gtk_widget_get_root_window()
gdk_screen_get_monitor_at_window()
gdk_screen_get_monitor_geometry()
2019-07-08 08:39:16 +02:00
Dorota Czaplejewicz
b69b3e9409
Merge branch 'fix-uninitialized-var' into 'master'
...
Fix an uninitialized-variable warning, and fixes gradients (quickie)
See merge request Librem5/squeekboard!35
2019-07-07 17:37:11 +00:00
Hysterical Raisins
ae5eaeec93
Fix an uninitialized-variable warning, and fixes gradients
2019-07-07 18:45:56 +02:00
Dorota Czaplejewicz
c393eb20be
Merge branch 'improve-key-rendering' into 'master'
...
Improve key rendering and eliminate two deprecation warnings
See merge request Librem5/squeekboard!33
2019-07-07 11:39:12 +00:00
Hysterical Raisins
0e8715b4ff
Improve key rendering and eliminate two deprecation warnings
...
- Replace two calls to deprecated gdk_cairo_create()
- Alleviate asymmetry between rendering pressed and released keys
by consistenly clipping the same area up front to avoid
artefacts
- make sure pressed and released keys are shown immediately by
calling gdk_window_invalidate_rect()
- improve consistency between render_(pressed|locked|released)_key
- improve code flow
2019-07-07 11:34:24 +02:00
Dorota Czaplejewicz
b09c812579
Merge branch 'drop-icons' into 'master'
...
Drop icons
See merge request Librem5/squeekboard!29
2019-07-04 18:34:15 +00:00
Dorota Czaplejewicz
d6f7c271e2
Merge branch 'kill-automake' into 'master'
...
Remove automake leftovers
See merge request Librem5/squeekboard!27
2019-07-04 18:26:24 +00:00
Guido Günther
f1d97e396b
Drop icons
...
They're not being installed and we want ones matching current
GNOME design anyway.
2019-07-04 16:25:05 +02:00
Guido Günther
abf8f4daa8
eek-theme: Remove code for old croko versions
...
These versions aren't even in Debian's oldstable release.
2019-07-04 16:21:18 +02:00
Guido Günther
aba242301d
Use a gresource to store the css
...
This makes build / test faster since one can skip install. It's
also more obvious which file is being used.
2019-07-04 16:16:04 +02:00
Guido Günther
7a52080940
Remove automake leftovers
2019-07-04 14:51:00 +02:00
Dorota Czaplejewicz
c3ffe6ab8b
visibility: Handle visibility change no-ops
2019-07-04 08:48:43 +00:00
Tobias Bernard
851a9185c0
Merge branch 'margins' into 'master'
...
style: Fix right margin
See merge request Librem5/squeekboard!26
2019-07-04 08:44:52 +00:00
Dorota Czaplejewicz
c1e1ddb73f
style: Fix right margin
...
For some reason, adjusting the width of the keyboard layout affects the margin when used at 360 width.
2019-07-04 08:27:37 +00:00
Guido Gunther
d530c1d6d6
Merge branch 'session' into 'master'
...
session: Register to the session manager
See merge request Librem5/squeekboard!24
2019-07-04 08:27:00 +00:00
Dorota Czaplejewicz
43579b51f0
session: Register to the session manager
...
Registering as "sm.puri.OSK0", because that's as much as the session knows about the virtual keyboard.
2019-07-04 07:58:34 +00:00
Dorota Czaplejewicz
3d1133cdb5
Fix memory corruption due to a wrong assumption
2019-07-04 07:48:46 +00:00
Dorota Czaplejewicz
e27af9fd24
Merge branch 'be-explicit-about-meson' into 'master'
...
Specify the build system when building a package
See merge request Librem5/squeekboard!23
2019-07-03 22:28:20 +00:00
David Boddie
a7c6597246
Specify the build system when building a package
2019-07-04 00:18:42 +02:00
David Boddie
fd6d873c01
Merge branch 'add-debian-source-format' into 'squeekboard'
...
Add missing packaging file
See merge request Librem5/squeekboard!22
2019-07-03 19:40:43 +00:00
David Boddie
89dee04cdf
Add missing packaging file
2019-07-03 21:35:24 +02:00
Guido Gunther
3b0a073964
Merge branch 'conflict' into 'squeekboard'
...
build: Apply fixes/suggestions
See merge request Librem5/squeekboard!21
2019-07-03 08:48:40 +00:00
Dorota Czaplejewicz
a129863a4d
build: Apply fixes/suggestions
...
Following comments on https://source.puri.sm/Librem5/squeekboard/merge_requests/20
2019-07-02 20:14:12 +00:00
Dorota Czaplejewicz
5b700f7dfc
Merge branch 'modifiers' into 'squeekboard'
...
Modifiers
See merge request Librem5/squeekboard!19
2019-07-02 18:44:33 +00:00
Dorota Czaplejewicz
d982bcb5e4
Merge branch 'conflict' into 'squeekboard'
...
Fix virtboard conflict
See merge request Librem5/squeekboard!20
2019-07-02 18:18:19 +00:00
Dorota Czaplejewicz
61a5e8d4fd
install: Don't distribute dbus definition
...
Instead, require virtboard to provide it.
2019-07-02 18:13:34 +00:00
Dorota Czaplejewicz
cb641bd221
ci: Prevent caching of build directory
2019-07-02 18:11:49 +00:00
Dorota Czaplejewicz
2f6e9a1756
Merge branch 'remove-trigger-in-packaging' into 'squeekboard'
...
Remove unnecessary trigger
See merge request Librem5/squeekboard!18
2019-07-02 13:23:47 +00:00
David Boddie
51b183a0f3
Remove unnecessary trigger
2019-07-02 13:23:47 +00:00
David Boddie
d071bb04af
Merge branch 'linking' into 'squeekboard'
...
build: Link Rust library statically
See merge request Librem5/squeekboard!16
2019-07-02 13:19:14 +00:00
Dorota Czaplejewicz
14887f9c99
layout: Change label for Level 3 modifier
2019-07-02 13:09:33 +00:00
Dorota Czaplejewicz
654909261e
modifiers: Level 3 works
2019-07-02 13:03:35 +00:00
Dorota Czaplejewicz
ab2a27345d
Merge branch 'modifiers' into 'squeekboard'
...
modifiers: Seem to be emitted correctly
See merge request Librem5/squeekboard!17
2019-07-02 11:54:34 +00:00
Dorota Czaplejewicz
484eb3303c
modifiers: Seem to be emitted correctly
2019-07-02 11:52:45 +00:00
Dorota Czaplejewicz
319d64e1e5
build: Link Rust library statically
2019-07-02 10:11:32 +00:00
Dorota Czaplejewicz
60250ca5e5
Merge branch 'font-size' into 'squeekboard'
...
hack: Adjust font size
See merge request Librem5/squeekboard!15
2019-07-01 15:41:10 +00:00
Dorota Czaplejewicz
d729bb3a89
hack: Adjust font size
2019-07-01 15:27:06 +00:00
Dorota Czaplejewicz
4dc55635d7
Merge branch 'new_layout' into 'squeekboard'
...
New layout
See merge request Librem5/squeekboard!13
2019-07-01 15:04:32 +00:00
Dorota Czaplejewicz
4af49ef7b6
layout: Make keys higher
2019-07-01 13:31:53 +00:00
Dorota Czaplejewicz
3a42e66504
layout: Position keys closer to the left edge
2019-07-01 12:57:52 +00:00
Dorota Czaplejewicz
250b196b81
theme: Use mockup colors
2019-07-01 12:57:52 +00:00
Dorota Czaplejewicz
9ba1987cab
layout: Moved keys a bit to the left
2019-07-01 12:57:52 +00:00
Dorota Czaplejewicz
909b1e2a28
theme: Adjust colors to match the mockup closer
2019-07-01 12:57:52 +00:00
Dorota Czaplejewicz
e46af41abf
layouts: Fixed spacing
2019-07-01 12:57:52 +00:00
Dorota Czaplejewicz
17671a3b08
layout: Use outlines for key bounds
2019-07-01 12:57:52 +00:00
Dorota Czaplejewicz
b8eb7752e7
layout: Using bigger keys
2019-07-01 12:57:52 +00:00
Dorota Czaplejewicz
5e92f45111
layout: Arrange keys similar to mockup
2019-07-01 12:57:52 +00:00
Dorota Czaplejewicz
baf848c791
layout: Ignore keycodes without corresponding keys
2019-07-01 12:57:52 +00:00
Dorota Czaplejewicz
737d57c1f4
Merge branch 'install-rslib' into 'squeekboard'
...
Install rslib
See merge request Librem5/squeekboard!12
2019-07-01 12:57:22 +00:00
David Boddie
9985ad7ee1
Fix lintian package-must-activate-ldconfig-trigger error
2019-07-01 01:46:16 +02:00
David Boddie
025b55e1a2
Install rslib
2019-07-01 00:05:42 +02:00
Dorota Czaplejewicz
14fbabe8d7
Merge branch 'popup' into 'squeekboard'
...
Pop up when input requested
See merge request Librem5/squeekboard!10
2019-06-30 19:04:42 +00:00
Dorota Czaplejewicz
b746f7a70e
input method: Pop up the keyboard
2019-06-30 19:03:24 +00:00
Dorota Czaplejewicz
0d3b003aac
input method: Initialize the protocol and pretend to handle a few things
2019-06-30 19:03:24 +00:00
Dorota Czaplejewicz
9428927879
Merge branch 'build-dep' into 'squeekboard'
...
ci: Use build-dep instead of a dependency list
See merge request Librem5/squeekboard!11
2019-06-30 19:03:08 +00:00
Dorota Czaplejewicz
511b2f7186
ci: Use build-dep instead of a dependency list
2019-06-30 19:01:36 +00:00
Dorota Czaplejewicz
d8c83e3c65
Merge branch 'touch' into 'squeekboard'
...
Touch support
See merge request Librem5/squeekboard!9
2019-06-30 06:11:16 +00:00
Dorota Czaplejewicz
050fd6f3ba
Touch support
...
Single stream of touch events.
2019-06-29 12:56:04 +00:00
Dorota Czaplejewicz
72d6a8d4e1
Merge branch 'wayland-gen' into 'squeekboard'
...
build: Use 'client-code' instead of 'code' for protocols
See merge request Librem5/squeekboard!8
2019-06-29 12:47:27 +00:00
Dorota Czaplejewicz
30d35216f6
build: Use 'client-code' instead of 'code' for protocols
2019-06-29 12:46:08 +00:00
Dorota Czaplejewicz
bcd0d40912
Merge branch 'fixes' into 'squeekboard'
...
fix: Remove leftover debug print
See merge request Librem5/squeekboard!7
2019-06-29 12:18:59 +00:00
Dorota Czaplejewicz
4b8a6bbbe0
fix: Remove leftover debug print
2019-06-29 12:16:34 +00:00
Dorota Czaplejewicz
47026b669b
Make copyright more granular
2019-06-29 10:50:30 +00:00
Dorota Czaplejewicz
752dc467a8
Merge branch 'desktop-file' into 'squeekboard'
...
Add a desktop file
See merge request Librem5/squeekboard!5
2019-06-29 10:13:20 +00:00
Dorota Czaplejewicz
bde45b262a
Merge branch 'debian-files' into 'squeekboard'
...
Add Debian packaging files
See merge request Librem5/squeekboard!4
2019-06-29 10:10:15 +00:00
David Boddie
fc338f5723
Add Debian packaging files
2019-06-29 10:10:15 +00:00
David Boddie
346ed453ef
Start working on a desktop file
2019-06-26 18:17:54 +02:00
David Boddie
664f05edba
Remove unnecessary build dependency
2019-06-26 17:45:23 +02:00
David Boddie
edcff44f4b
Add another build dependency, add an empty rule to override autoreconf
2019-06-26 17:35:13 +02:00
David Boddie
42ee5d2ddb
Update packaging files
2019-06-26 17:35:05 +02:00
David Boddie
54e421d7e6
Add initial Debian packaging
2019-06-26 17:35:00 +02:00
Dorota Czaplejewicz
9e5629d1e0
Enable Wayland's virtual-keyboard protocol
...
This commit includes a little restructuring necessary for keeping wayland objects properly.
It doesn't fix broken modifier functionality yet.
2019-06-25 18:12:15 +00:00
Dorota Czaplejewicz
c0fdffac28
Separate keyboards from the dbus handler
2019-06-23 10:59:45 +00:00
Dorota Czaplejewicz
e94e64d204
Move dbus setup closer together
2019-06-23 10:42:20 +00:00
Dorota Czaplejewicz
e503e35b84
Rename squeak_ to squeek_ for consitency
2019-06-23 10:30:25 +00:00
Dorota Czaplejewicz
752592a3d8
Fixed build
2019-06-23 10:29:18 +00:00
Dorota Czaplejewicz
2e6d194a6f
Remove server-service
2019-06-23 10:26:24 +00:00
Dorota Czaplejewicz
63dfb07b51
Simplify the storage of context
2019-06-23 09:54:09 +00:00
Dorota Czaplejewicz
02525056d6
Removed X11 header, added some clarifications
2019-06-22 16:20:03 +00:00
Dorota Czaplejewicz
8292429648
Context: removing more unused things
2019-06-22 16:04:33 +00:00
Dorota Czaplejewicz
765c496068
Removed more unused stuff in context
2019-06-22 15:57:48 +00:00
Dorota Czaplejewicz
d6feec8010
Removed d-bus paths from service class
2019-06-22 15:40:20 +00:00
Dorota Czaplejewicz
f1fbb37547
Kill connection in context service
2019-06-22 15:31:08 +00:00
Dorota Czaplejewicz
5a6386dd24
Fixed rendering deprecation warnings
2019-06-22 13:13:55 +00:00
Dorota Czaplejewicz
0809db9e32
Remove some rendering code with no effect and warnings
2019-06-22 12:56:33 +00:00
Dorota Czaplejewicz
15a3315854
Fix dragging across the keyboard
2019-06-22 12:34:10 +00:00
Dorota Czaplejewicz
82d1f256b2
Remove released and cancelled key events
2019-06-22 12:23:04 +00:00
Dorota Czaplejewicz
e7ba2a0eb0
Got rid of signals in the pressed path
2019-06-19 17:00:30 +00:00
Dorota Czaplejewicz
eff0449b3a
Redrawing key after press is happening directly
2019-06-19 16:51:57 +00:00
Dorota Czaplejewicz
3b9e066ec8
Simplify key press handling
2019-06-19 16:05:37 +00:00
Dorota Czaplejewicz
260ab42b9e
Forward press timestamps
2019-06-19 15:56:19 +00:00
Dorota Czaplejewicz
a3d745edd0
Moved key pressing from context to keyboard
2019-06-19 15:27:29 +00:00
Dorota Czaplejewicz
40a92fe730
Ignoring section.key-pressed
2019-06-19 14:11:23 +00:00
Dorota Czaplejewicz
e30bb23711
build: Add debug/release options
2019-06-18 13:37:10 +00:00
Dorota Czaplejewicz
292c1d08d8
fixes: Minor type and include mismatches
2019-06-16 12:55:50 +00:00
Dorota Czaplejewicz
be56447614
readme: Update development installation info
2019-06-16 12:13:43 +00:00
Dorota Czaplejewicz
70fda8ba64
Fix releasing buttons when dragged
2019-04-06 18:46:33 +00:00
Dorota Czaplejewicz
5cc407986b
Ignore multi-clicks and non-left-buttons
2019-04-06 18:35:06 +00:00
Dorota Czaplejewicz
53af829f46
Send both press and release events
2019-04-06 17:45:06 +00:00
Dorota Czaplejewicz
53065a6d95
Fix crash on double click
2019-04-05 18:42:11 +00:00
Dorota Czaplejewicz
862cfdb55d
Showing and hiding
2019-04-05 18:36:25 +00:00
Dorota Czaplejewicz
b065b16bf1
Use layer shell
2019-04-05 15:39:57 +00:00
Dorota Czaplejewicz
6ff33b48d1
dbus: Add missing schema
2019-03-27 13:48:53 +00:00
Dorota Czaplejewicz
d04020f79c
readme: Use language with non-US layout
2019-03-27 13:33:40 +00:00
Dorota Czaplejewicz
6b15072764
dbus: Use generated code
2019-03-23 09:36:53 +00:00
Dorota Czaplejewicz
f261115ac4
ci: Change job name to meson
2019-03-22 19:06:29 +00:00
Dorota Czaplejewicz
116f130c4c
readme: Remove settings schema variable
2019-03-22 19:00:03 +00:00
Dorota Czaplejewicz
cad1b02482
settings: Switching layouts according to input settings
2019-03-22 17:18:12 +00:00
Dorota Czaplejewicz
09fe69f63a
cleanup: Remove Context dbus interface remains
2019-03-22 16:35:02 +00:00
Dorota Czaplejewicz
8ecd81d51c
settings: Fall back to "us" layout when no file found
2019-03-22 16:20:39 +00:00
Dorota Czaplejewicz
8f71b010cc
settings: Removed custom settings schema
2019-03-22 15:52:35 +00:00
Dorota Czaplejewicz
b817c6189d
build: Update keysym generator to Python3
2019-03-22 13:09:21 +00:00
Dorota Czaplejewicz
a00d41930d
readme: Update features
2019-03-22 07:23:17 +00:00
Dorota Czaplejewicz
caee942796
build, readme: Update build and run instructions
2019-03-22 07:23:17 +00:00
Dorota Czaplejewicz
d3410fdc61
Keyboard shows up on a single ShowKeyboard
2019-03-22 07:23:12 +00:00
Dorota Czaplejewicz
8087c3e5d4
build: Use only meson for squeekboard
...
This breaks autoconf. The only resulting binary is the squeekboard GUI. It still needs the autotools-built eekboard client in order to do anything useful. That one needs to be built using a different branch, making this a WIP.
2019-03-15 20:59:29 +00:00
Dorota Czaplejewicz
10bd0ea09e
build: Remove eekboard-server
2019-03-14 20:40:27 +00:00
Dorota Czaplejewicz
5803222e68
build: Remove libeekboard dependency
2019-03-14 18:03:10 +00:00
Dorota Czaplejewicz
a243fce1ae
build: Squeekboard build in meson
2019-03-14 17:29:13 +00:00
Dorota Czaplejewicz
c8059ebf50
stubbing: Key generation events
...
Only enabled when Xtest is in use. It's probably always meant to be in use though, as this piece of code also opens the preferences dialog
2019-03-14 11:09:35 +00:00
Dorota Czaplejewicz
ce2d270e7c
ci: Add config flags relevant for Wayland builds
2019-03-13 18:08:56 +00:00
Dorota Czaplejewicz
0c945bdc7e
readme: Update build and run instructions
2019-03-13 17:59:59 +00:00
Dorota Czaplejewicz
60ec684853
readme: Moved to Markdown
2019-03-13 17:59:54 +00:00
Dorota Czaplejewicz
b159625e62
Add gitlab CI
2019-02-14 16:57:39 +00:00
Daiki Ueno
e212262f29
Stop key-repeat when the server receives a new D-Bus event.
...
Key-repeat timer should be cleared when the server receives a new D-Bus.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=857977
2012-10-01 11:55:04 +09:00
Daiki Ueno
c71167d893
Fix out-of-tree build.
2012-10-01 11:55:00 +09:00
Daiki Ueno
2d4e4c7a13
Fix compiler warnings.
2012-10-01 11:37:47 +09:00
Daiki Ueno
695f8df5b8
Bump version to 1.0.8.
2012-08-15 17:28:23 +09:00
Daiki Ueno
2e822cb6a6
Don't crash when all the keyboards are removed.
2012-08-15 17:27:20 +09:00
Daiki Ueno
f2a90935a3
Make "visible" property per client instead of per context.
2012-04-24 18:38:32 +09:00
Daiki Ueno
cee741eca0
Fix initial window size.
2012-04-24 12:48:35 +09:00
Daiki Ueno
b5b59e77d6
Check errors when retrieving XKB layout information.
2012-04-24 11:58:41 +09:00
Daiki Ueno
cce883808e
Simplify eek-xkb-layout.c.
2012-04-24 11:01:42 +09:00
Daiki Ueno
8faae7ef08
Use git.mk.
2012-04-24 10:38:36 +09:00
Daiki Ueno
4538ef38a1
Revert "Remove eek-xkb*."
...
This reverts commit ee12d02402 .
2012-04-24 10:06:09 +09:00
Daiki Ueno
ee12d02402
Remove eek-xkb*.
2012-04-23 18:35:15 +09:00
Daiki Ueno
7050fa41a0
G_CONST_RETURN -> const.
2012-04-23 17:09:48 +09:00
Daiki Ueno
4a346211b8
Show tooltips.
2012-04-23 16:43:06 +09:00
Daiki Ueno
4df2ecc8ae
Don't abort when failed to load keyboard.
2012-04-16 14:37:18 +09:00
Daiki Ueno
03995ec6b2
Bump version to 1.0.7777777.
2012-04-13 16:48:50 +09:00
Daiki Ueno
6059146b42
Fix gobject-introspection annotation.
2012-04-13 16:44:41 +09:00
Daiki Ueno
30811ae656
Fix jp-kana keyboard.
2012-04-13 16:44:01 +09:00
Daiki Ueno
b8015bbef5
Simplify geometry XML format by folding row element.
2012-04-06 15:57:30 +09:00
Daiki Ueno
157d7c57fd
Don't check if dbus-glib-1 is installed.
2012-04-02 16:31:53 +09:00
Daiki Ueno
03963036d1
Fix EekXklLayout initialization.
2012-04-02 10:38:14 +09:00
Daiki Ueno
5099f7db88
Bump version to 1.0.6.
2012-03-30 17:41:46 +09:00
Daiki Ueno
ab8cd246bf
Fix make distcheck.
2012-03-30 17:40:16 +09:00
Daiki Ueno
528981f913
Drop IBus dependency when compiling.
2012-03-30 17:23:47 +09:00
Daiki Ueno
3fd5eb789c
Fix EekboardContext::key_activated signature.
2012-03-30 16:27:48 +09:00
Daiki Ueno
9c09777c09
Place preferences key on the right bottom corner.
2012-03-29 19:08:54 +09:00
Daiki Ueno
7298d320e0
Refine keysym handling.
2012-03-29 16:27:56 +09:00
Daiki Ueno
39154fa5ad
Fix keysym replace logic.
2012-03-28 19:03:34 +09:00
Daiki Ueno
6db99bee25
Don't enumerate over keys when find_by_keycode.
2012-03-28 14:43:49 +09:00
Daiki Ueno
ee0505c100
Add keyboard selection dialog to preferences.
2012-03-28 12:54:22 +09:00
Daiki Ueno
1943749cb6
Drop GTK2 support.
2012-03-23 18:07:05 +09:00
Daiki Ueno
5763ed20bf
Remove eekxml.
2012-03-23 18:07:05 +09:00
Daiki Ueno
7eead1c1ff
Fix some mistakes.
2012-03-23 18:07:05 +09:00
Daiki Ueno
048e08b59a
Factor out symbols from keyboard file.
2012-03-23 18:07:01 +09:00
Daiki Ueno
523bd9b788
Remove unused code.
2012-03-19 10:53:27 +09:00
Daiki Ueno
f442733b33
Fix some mistakes.
...
* remove useless g_obect_{set,get}_property call.
* free GError on error.
2012-03-16 18:15:50 +09:00
Daiki Ueno
a6fe5bd859
Use GInitable to define EekXklLayout.
2012-03-16 17:36:20 +09:00
Daiki Ueno
32a1d23c2a
Simplify codebase.
...
* Drop clutter support.
* Unify eek-xkb into eek-xkl.
* Generate vapi from gir instead of gi.
2012-03-16 16:32:33 +09:00
Daiki Ueno
06644945cf
Remove python binding.
2012-03-16 15:47:36 +09:00
Daiki Ueno
1774a2c23e
Update version to 1.0.5.
2011-11-25 14:37:44 +09:00
Daiki Ueno
668b974dd7
Improve border rendering without theme.
2011-10-14 10:04:16 +09:00
Daiki Ueno
4427f81dd9
Fix eek-0.90 vala binding.
...
Mark struct types in eek-0.90.metadata; add eek-text.h to eek-0.90.files.
2011-10-12 11:33:56 +09:00
Daiki Ueno
9490428535
Don't call g_log_set_always_fatal() in eekboard-server.
2011-10-11 11:37:02 +09:00
Daiki Ueno
8d70eedc5f
Update to 1.0.4.
2011-09-30 11:50:40 +09:00
Daiki Ueno
74550d2424
Fix label alignment when the text is RTL.
2011-09-30 11:48:36 +09:00
Daiki Ueno
148d8e7524
Revive eekboard -k option to specify keyboard from command line.
2011-09-28 15:07:46 +09:00
Daiki Ueno
aca9a4dcb6
Fix some mistakes.
2011-09-15 17:47:38 +09:00
Daiki Ueno
953c35bdac
Change window strut when monitor changed.
2011-09-15 17:47:26 +09:00
Daiki Ueno
596b33f149
Fix commit 15f7b0ec.
2011-09-12 17:24:36 +09:00
Daiki Ueno
ef3ea618d2
Change the type of gsettings key "keyboard" from s to as.
...
Also rename it to "keyboards".
2011-09-12 15:33:59 +09:00
Daiki Ueno
362b210a31
Set icon in keyboard files.
2011-09-12 13:47:39 +09:00
Daiki Ueno
15f7b0ecff
Send fake key event for each character in EekText symbol.
2011-09-12 12:51:17 +09:00
Daiki Ueno
f72e9f5293
Copy pressed_keys list before sending released/cancelled signal (RHBZ#737396).
2011-09-12 11:06:52 +09:00
Daiki Ueno
0d93f31eea
Add window size constraint option in gsettings.
2011-09-02 18:18:47 +09:00
Daiki Ueno
f1af125d24
Update to 1.0.3.
2011-09-02 17:06:02 +09:00
Daiki Ueno
a6c08bee7b
Allow 0xXXXX in mim2remap.el.
2011-09-01 15:08:43 +09:00
Daiki Ueno
c2d2c8660f
Add more keyboards convertd from m17n-db.
2011-09-01 12:51:03 +09:00
Daiki Ueno
db3538af64
Send DestroyContext when EekboardClient#dispose.
2011-09-01 11:19:41 +09:00
Daiki Ueno
04ac7fb19e
Fix typo.
2011-08-31 16:22:42 +09:00
Daiki Ueno
53e853fbc9
Change D-Bus signal name KeyPressed to KeyActivated.
2011-08-31 10:00:00 +09:00
Daiki Ueno
747ce4e00b
Add all subdirs to SUBDIRS regardless of automake conditionals.
2011-08-30 18:55:31 +09:00
Daiki Ueno
5f6eb76d7f
Add inscript keyboards.
2011-08-30 18:17:47 +09:00
Daiki Ueno
3777620574
Preserve symbol attributes when serializing/deserializing XML.
2011-08-30 18:17:47 +09:00
Daiki Ueno
b02ae1b7cc
Support text symbol.
...
a
2011-08-30 18:17:45 +09:00
Daiki Ueno
88816018d8
Rewrite mim2remap in elisp to properly parse *.mim files.
2011-08-30 16:23:11 +09:00
Daiki Ueno
06e7e2afac
Fix python binding.
2011-08-26 13:04:35 +09:00
Daiki Ueno
ce2c4ed0f4
Update to 1.0.2.
2011-08-25 10:34:11 +09:00
Daiki Ueno
099ca60975
Update doc comments.
2011-08-25 10:31:41 +09:00
Daiki Ueno
43ab623fac
Make sure that preferences dialog is kept above.
2011-08-25 07:11:50 +09:00
Daiki Ueno
bcc9a8fd60
Swap ISO_Level3_Shift with Control_L in keyboard XML.
2011-08-25 07:11:40 +09:00
Daiki Ueno
6fb96ea5d6
Fix crash in key replace logic.
2011-08-25 05:39:51 +09:00
Daiki Ueno
2f64b3ee13
Fix doc comments.
2011-08-24 17:59:57 +09:00
Daiki Ueno
d4a78e5dc7
Suppress compile warnings.
2011-08-24 17:44:31 +09:00
Daiki Ueno
71033f5739
Update gtk-doc sections.
2011-08-24 17:43:55 +09:00
Daiki Ueno
17444509fe
Mark some files to be translated.
2011-08-24 17:43:12 +09:00
Daiki Ueno
42baa22cdc
Add doc comment for libeekboard.
2011-08-24 17:43:00 +09:00
Daiki Ueno
f07de8cd3b
Add a button to launch preferences dialog.
2011-08-24 17:05:52 +09:00
Daiki Ueno
0772898b83
Improve icon rendering.
2011-08-24 17:05:41 +09:00
Daiki Ueno
828b2d66d1
Save delay/interval as uint, instead of int.
2011-08-24 17:04:50 +09:00
Daiki Ueno
8ab4fb7946
Implement preferences dialog.
2011-08-24 15:24:59 +09:00
Daiki Ueno
e91a059f0f
Ignore some files.
2011-08-24 11:10:28 +09:00
Daiki Ueno
093d83ed89
Use AM_V_GEN for generating keysym-entries headers.
2011-08-24 11:03:46 +09:00
Daiki Ueno
5c0381e4f0
Fix VAPIGEN macro.
2011-08-24 11:02:13 +09:00
Daiki Ueno
657c6f8e35
Use GI instead of pygtk2 in mim2remap.
2011-08-24 11:01:33 +09:00
Daiki Ueno
4bb984daf3
Rewrite simple-client in python.
2011-08-23 18:08:56 +09:00
Daiki Ueno
e46a3f89ed
Add theme option in gsettings.
2011-08-23 17:49:43 +09:00
Daiki Ueno
6843cd62dd
Fix vala binding.
2011-08-23 17:10:39 +09:00
Daiki Ueno
52ffc77fdd
Fix make distcheck.
2011-08-23 17:10:17 +09:00
Daiki Ueno
158542ec0a
Replace eekboard-xml and eekboard-inscript with eekxml and mim2remap.
2011-08-23 16:29:10 +09:00
Daiki Ueno
360da8a3c9
Update vala binding.
2011-08-23 14:17:07 +09:00
Daiki Ueno
65d1186317
Update python binding.
2011-08-23 10:27:29 +09:00
Daiki Ueno
b7b4d68a9a
Fix fullscreen mode and D-Bus service entry.
2011-08-22 22:24:17 +09:00
Daiki Ueno
952f70b433
Fix typo.
2011-08-22 18:05:25 +09:00
Daiki Ueno
74de8e5056
Fix clutter build.
2011-08-22 16:17:58 +09:00
Daiki Ueno
9d88c1c5da
Fix memleaks; add doc comments.
2011-08-22 16:12:23 +09:00
Daiki Ueno
a6bde78168
Highlight locked modifiers.
2011-08-22 14:44:46 +09:00
Daiki Ueno
bb85885e5d
Revamp server-client API.
2011-08-20 13:17:16 +09:00
Daiki Ueno
dd085be73d
Fix GTK2 build.
2011-08-19 07:56:25 +09:00
Daiki Ueno
f576310cdf
Update keyboards.
2011-08-19 07:52:46 +09:00
Daiki Ueno
70e1c98987
Rescale jp-kana.xml.
2011-08-18 18:34:59 +09:00
Daiki Ueno
4f03aa82fe
Rename kana.xml -> jp-kana.xml.
2011-08-18 18:29:24 +09:00
Daiki Ueno
383c93a415
Fix fit-size calculation.
2011-08-18 18:06:52 +09:00
Daiki Ueno
860fbe8ede
Add kana keyboard.
2011-08-18 17:19:38 +09:00
Daiki Ueno
39900bd987
Allow non-keysym symbols in XML.
2011-08-18 17:02:39 +09:00
Daiki Ueno
5c09147551
Optimize container element traversal.
2011-08-18 17:01:48 +09:00
Daiki Ueno
f0929a9bd8
Add Thai keyboard.
2011-08-18 15:23:57 +09:00
Daiki Ueno
786496b3c4
Fix system (xklavier) layout handling.
2011-08-18 14:32:53 +09:00
Daiki Ueno
e5f5c8273e
Make GTK3 default.
2011-08-18 14:25:40 +09:00
Daiki Ueno
ca250699ef
Remove --model/layouts/options from eekboard-xml.
2011-08-18 12:48:32 +09:00
Daiki Ueno
7f41af3ee7
Change xkb: keyboard type format.
...
It is now "MODEL/L0(V0);L1(V1);...;Ln(Vn)/O0;O1;...;On".
2011-08-18 12:47:38 +09:00
Daiki Ueno
260dc3fddd
Fix example/simple-client.
2011-08-18 12:16:39 +09:00
Daiki Ueno
052c40cc26
Remove serialization code for EekKey, EekSection, and EekKeyboard.
2011-08-18 12:00:54 +09:00
Daiki Ueno
1b5bab9c18
Add eek_init().
2011-08-18 11:53:44 +09:00
Daiki Ueno
6a7b256676
Remove unnecessary null initialization.
2011-08-18 11:31:01 +09:00
Daiki Ueno
0e135129e2
Read keyboard type from GSettings.
2011-08-18 11:18:55 +09:00
Daiki Ueno
7af6bf13ed
Support feedback sounds.
2011-08-18 11:18:27 +09:00
Daiki Ueno
91ed49b65a
Make server responsible for loading keyboard files.
2011-08-17 18:19:36 +09:00
Daiki Ueno
84f614528f
Use GList instead of GSList in eek-container.
2011-08-17 13:23:19 +09:00
Daiki Ueno
7c0e29fc86
Allow both -l and -d to be given to eekboard-xml.
2011-08-17 13:21:49 +09:00
Daiki Ueno
1f9e4bd576
Fix dock support.
2011-08-16 18:03:20 +09:00
Daiki Ueno
fc0a577dfb
Suggest to use ibus focus-listener rather than atspi.
2011-08-16 17:34:15 +09:00
Daiki Ueno
69d16ddce5
Use org.freedesktop.IBus.Panel.Focus{In,Out} instead of InputContext.
2011-08-16 17:24:07 +09:00
Daiki Ueno
984813b154
Adjust the default values of key-repeat options.
...
Also make "auto-hide-delay" type integer rather than double.
2011-08-16 16:30:17 +09:00
Daiki Ueno
b6beeedc26
Improve key-repeat behavior.
2011-08-16 16:30:13 +09:00
Daiki Ueno
55f7a0d0dc
Make sure large key does not overlap with the small key.
2011-08-15 18:13:55 +09:00
Daiki Ueno
7919cc191e
Capture motion-notify event.
2011-08-15 18:10:57 +09:00
Daiki Ueno
db0c5088b7
Apply active style to the key under the large key.
2011-08-15 17:49:02 +09:00
Daiki Ueno
cc4b9a6b45
Add cursor keys to us-qwerty map.
2011-08-15 17:25:22 +09:00
Daiki Ueno
f4e33a4ad4
Make sure that large key bounds do not overflow the widget allocation.
2011-08-15 16:45:11 +09:00
Daiki Ueno
0e0fe9ed51
Support key repeat.
2011-08-15 15:18:52 +09:00