Commit Graph

419 Commits

Author SHA1 Message Date
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
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
38d8290b59 height: Adjust based on layer surface width 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
Dorota Czaplejewicz
bdef7b3516 Merge remote-tracking branch 'kareema/japanese-kana-keyboard-layout' into HEAD 2019-10-24 18:09:16 +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
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
Mark Müller
d62abc2f12 layouts: Add Japanese Kana keyboard layout 2019-10-19 21:30:23 +02: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
Dorota Czaplejewicz
89b56ddccf util: C-wrapped data don't need to be cloneable 2019-10-10 16:54:02 +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
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
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
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
Dorota Czaplejewicz
a31f9b5e04 layout: Register it 2019-10-02 18:39:44 +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
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
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
e33f591a1f layouts: Test fallback order 2019-09-28 21:37:51 +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
David Boddie
86ed9a7a01 Merge branch 'spacing' into 'master'
Unhardcode spacing

See merge request Librem5/squeekboard!176
2019-09-27 17:03:48 +00: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