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
Dorota Czaplejewicz
e513cb9b54
style: Use outline name as CSS class
2019-09-26 13:28:31 +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
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
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
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
db994da531
keysyms: Remove dead code
2019-09-13 15:25:48 +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
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
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
99c577be60
Merge remote-tracking branch 'upstream/master' into reparse
2019-09-10 09:11:57 +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
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
David Boddie
789e8b6bff
Merge branch 'buttonlists' into 'master'
...
Buttonlists
See merge request Librem5/squeekboard!145
2019-09-02 14:42:19 +00:00
Dorota Czaplejewicz
baabcb1400
layout: Remove unused C functions
2019-09-01 11:42:02 +00:00
Dorota Czaplejewicz
6c0a642abf
Store key instead of button in pressed lists
2019-08-31 11:30:51 +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
Dorota Czaplejewicz
878b7ed18e
ffi: Use a generic wrapper for opaque Rust structs
2019-08-29 13:33:04 +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
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
79b66f81ec
view: Move button finding to Rust
2019-08-18 13:22:18 +00:00