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
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
9571adb107
tests: Executable for testing layouts
2019-11-19 09:47: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
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
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
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
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
David Boddie
8024998a4b
Rename the nb layout to no, fixing input source selection
2019-11-11 19:36:58 +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
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
47c4119ab7
Add a popover menu to switch languages
2019-11-05 13:10:55 +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
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