Dorota Czaplejewicz
0e2def7069
Merge branch 'dorota.czaplejewicz/squeekboard-layouts' into 'layouts'
...
Check for null buttons
See merge request dorota.czaplejewicz/squeekboard!7
2019-08-28 14:14:41 +00:00
David Boddie
aa5e1d87dd
Check for null buttons
2019-08-28 14:01:25 +00:00
Dorota Czaplejewicz
0a0f7a09a4
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-28 10:45:04 +00:00
Dorota Czaplejewicz
9ef38ecf30
Drop callback iteration for button finding
2019-08-28 10:45:00 +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
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
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