31c12e5182
layout: Convert numbers to yaml
2019-09-09 19:10:42 +00:00
a187221d3f
Convert nb layout to yaml
2019-09-09 16:35:21 +00:00
583b546e81
Fix CI error
2019-09-09 15:49:25 +00:00
aa9523338f
Merge branch 'buttonlists' into reparse
2019-09-09 15:11:59 +00:00
0ed66e0eab
locked: Use keys instead of buttons
2019-09-09 13:54:55 +00:00
6523275b6a
views: Change based on layout file
2019-09-09 13:25:03 +00:00
26d1a6047c
Merge branch 'fixes' into reparse
2019-09-04 10:18:53 +00:00
60a89b6c3f
Merge branch 'wrapping' into reparse
2019-09-04 10:01:22 +00:00
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
baabcb1400
layout: Remove unused C functions
2019-09-01 11:42:02 +00:00
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
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
6c0a642abf
Store key instead of button in pressed lists
2019-08-31 11:30:51 +00:00
132435a9c8
Drop callback iteration for button finding
2019-08-31 11:30:51 +00:00
521bcfc484
Adjust width and height of keypad geometry
2019-08-30 15:16:46 +00:00
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
ffc64c6d56
Apply symbol names to widget paths, add styles
2019-08-29 21:02:35 +00:00
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
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
09deef2d6c
Merge branch 'fix-formatting' into 'master'
...
Fix code formatting
See merge request Librem5/squeekboard!146
2019-08-29 15:03:14 +00:00
83907af456
Fix code formatting
2019-08-29 14:52:10 +00:00
878b7ed18e
ffi: Use a generic wrapper for opaque Rust structs
2019-08-29 13:33:04 +00:00
e6f3b9e5be
Merge branch 'layouts' into 'master'
...
Layouts
See merge request Librem5/squeekboard!141
2019-08-29 12:19:42 +00:00
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
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
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
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
2e2ae96114
Adjust height of the extended keyboard layout
2019-08-28 14:34:20 +02:00
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
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
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
0da02aab21
Remove debugging code
2019-08-27 20:24:49 +00:00
1ae8d072a6
Release buttons directly when unmapping the keyboard
2019-08-27 20:04:11 +00:00
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
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
1a5f7dd907
Improve error reporting for keys and keymaps
2019-08-26 22:47:23 +02:00
d38c030ee6
Update keyboards to new XML format
2019-08-26 20:38:36 +00:00
2042ddf08e
Fix the nb symbols file and extended layout
2019-08-26 19:55:35 +00:00
1cf242a9df
Merge branch 'eekkey' into 'master'
...
EekKey improvements/cleanups
See merge request Librem5/squeekboard!132
2019-08-26 19:30:44 +00:00
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
a9c7d688fd
Fix null pointer dereference
2019-08-26 16:53:57 +02:00
d2e5cdef4e
Merge branch 'layout_fixes' into 'master'
...
Layout fixes
See merge request Librem5/squeekboard!131
2019-08-26 12:21:09 +00:00
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
bd63ae5615
Fix Upstream-Name and Source fields
2019-08-20 15:37:35 +02:00
79b66f81ec
view: Move button finding to Rust
2019-08-18 13:22:18 +00:00
e1c57fa9f0
row: Add const
2019-08-18 13:22:18 +00:00
a64bff6aab
button: Add const qualifiers where needed
2019-08-18 13:22:18 +00:00
4e9a8e4afe
Move button finding to view
2019-08-18 13:22:18 +00:00
c9a580dc07
Drop keyboard
2019-08-18 13:22:18 +00:00
f479a36dbe
keyboard: Remove references
2019-08-18 13:22:18 +00:00