Dorota Czaplejewicz
0922d4a87a
tests: Allow the building of doctests
...
Also allows for standalone tests and examples to be built and run with Cargo.
2019-09-10 09:34:25 +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
04a47ad0af
Merge branch '33-multi-touch-typing-not-yet-working' into 'master'
...
Resolve "Multi-touch typing not-yet working"
Closes #33
See merge request Librem5/squeekboard!135
2019-09-10 09:15:50 +00:00
Dorota Czaplejewicz
db8340181f
Merge branch '88-visual-improvements' into 'master'
...
Resolve colors used in "Visual Improvements"
See merge request Librem5/squeekboard!155
2019-09-10 08:16: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
c4886e362a
Merge branch 'dorota.czaplejewicz/squeekboard-cargo' into 'cargo'
...
Add new meson and current ninja to the build dependencies
See merge request dorota.czaplejewicz/squeekboard!8
2019-09-07 11:37:42 +00:00
Dorota Czaplejewicz
2579d2fea9
cleanup: Vala bindings
2019-09-04 09:21:55 +00:00
Dorota Czaplejewicz
baabcb1400
layout: Remove unused C functions
2019-09-01 11:42:02 +00:00
Dorota Czaplejewicz
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
Dorota Czaplejewicz
623181cc34
tooltips: Remove
2019-08-31 12:18:55 +00:00
Dorota Czaplejewicz
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
Dorota Czaplejewicz
6c0a642abf
Store key instead of button in pressed lists
2019-08-31 11:30:51 +00:00
Dorota Czaplejewicz
132435a9c8
Drop callback iteration for button finding
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
09deef2d6c
Merge branch 'fix-formatting' into 'master'
...
Fix code formatting
See merge request Librem5/squeekboard!146
2019-08-29 15:03:14 +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
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
Dorota Czaplejewicz
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
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
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
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
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
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
Dorota Czaplejewicz
636ed0267d
Merge branch 'fixes' into 'master'
...
Fixes
See merge request Librem5/squeekboard!129
2019-08-18 12:58:23 +00:00
Dorota Czaplejewicz
62496aa18e
Merge branch 'compile_fix' into 'master'
...
fix compilation
See merge request Librem5/squeekboard!133
2019-08-15 08:57:34 +00:00
Dorota Czaplejewicz
bc82b59e47
symbols: Removed redundant info
2019-08-13 13:33:31 +00:00
Dorota Czaplejewicz
277393387c
layout: Use correct outlines
2019-08-13 13:04:38 +00:00
Dorota Czaplejewicz
007ff5c366
US: Fix label on tau
2019-08-13 12:59:04 +00:00
Dorota Czaplejewicz
699e785340
Remove unused variables
2019-08-13 12:36:52 +00:00
Dorota Czaplejewicz
6081dc240a
modifiers: Remove empty argument
2019-08-13 12:36:14 +00:00
Dorota Czaplejewicz
b2e9216920
build: Stricter type checks
2019-08-13 12:32:55 +00:00
Dorota Czaplejewicz
7972cb17cd
Merge branch 'do-not-pass-symbol-to-key-presses' into 'master'
...
Do not pass the symbol to the key emitter
See merge request Librem5/squeekboard!128
2019-08-13 12:28:15 +00:00
Dorota Czaplejewicz
bdde8a127e
Merge branch 'update-create-key-virtual-function' into 'master'
...
Update create_key to match the function assigned to it
See merge request Librem5/squeekboard!127
2019-08-13 12:10:29 +00:00
Dorota Czaplejewicz
ecf6957a6e
Merge branch 'fix_num_layouts' into 'master'
...
views: Don't lay out views that are missing
See merge request Librem5/squeekboard!126
2019-08-13 12:02:07 +00:00
Dorota Czaplejewicz
d858005a68
Merge branch 'improve-drag-handling' into 'master'
...
Release each pressed key instead of the current pressed key
See merge request Librem5/squeekboard!125
2019-08-13 12:01:57 +00:00
Dorota Czaplejewicz
6309fa8a48
views: Don't lay out views that are missing
2019-08-13 11:59:28 +00:00
Dorota Czaplejewicz
fb8e2ec4e7
Merge branch 'eekkey' into 'master'
...
Redesign how keys are handled
See merge request Librem5/squeekboard!117
2019-08-12 12:10:59 +00:00
Dorota Czaplejewicz
a072755cee
layout: Use show_symbols instead of shift
2019-08-08 20:04:44 +00:00
Dorota Czaplejewicz
1cfec4de50
key: Share state between multiple keys
2019-08-08 20:04:38 +00:00
Dorota Czaplejewicz
cc3f2315a7
Use keyboards as views
...
Got rid of modifiers in the process. Still buggy: dragging over keys.
2019-08-08 19:56:36 +00:00
Dorota Czaplejewicz
f745223796
symbols: Stop parsing key groups
2019-08-08 19:26:25 +00:00
Dorota Czaplejewicz
25a2e95890
keyboard: Remove unused numlock and altgr masks
2019-08-08 19:26:24 +00:00
Dorota Czaplejewicz
f371b14e89
levelkeyboard: Use a layer for managing keyboard views
2019-08-08 19:26:21 +00:00
Dorota Czaplejewicz
0b6935e50c
keystate: Use keycode
2019-08-08 19:18:29 +00:00
Dorota Czaplejewicz
fb93e25833
eekkey: Moved state to KeyState
2019-08-08 19:18:29 +00:00
Dorota Czaplejewicz
ad86cb531a
symbol: Store symbols instead of pointers
2019-08-08 19:18:29 +00:00
Dorota Czaplejewicz
53b89aae45
symbol: Remove remains
2019-08-08 19:18:29 +00:00
Dorota Czaplejewicz
b76e43679e
level: Remove level from elements
2019-08-08 19:18:29 +00:00
Dorota Czaplejewicz
077ca8fad2
level: Make keyboard the only source of level data
2019-08-08 19:18:29 +00:00
Dorota Czaplejewicz
377521c108
section: Remove unused press signals
2019-08-08 19:18:29 +00:00
Dorota Czaplejewicz
23d5f18d4a
symbols matrix: Remove in favor of a levels vector
2019-08-08 19:18:28 +00:00
Dorota Czaplejewicz
c8adb45ab5
keyboard: Expose creating sections directly
2019-08-08 19:18:28 +00:00
Dorota Czaplejewicz
18163e3ecc
geometry: Simplify keyboard declarations
2019-08-08 19:18:23 +00:00
Dorota Czaplejewicz
a18beca50c
geometry: Move keycode to costomizations
2019-08-08 19:11:53 +00:00
Dorota Czaplejewicz
04b721aed9
geometry: Move customizations to the button table
2019-08-08 19:11:53 +00:00
Dorota Czaplejewicz
45f9353164
geometry: Use default outline by default
2019-08-08 19:11:53 +00:00
Dorota Czaplejewicz
5abe6ed6be
geometry: Remove unused row element
2019-08-08 19:11:43 +00:00
Dorota Czaplejewicz
38f81e45f4
Break out symbol handling into Rust
2019-08-08 12:51:15 +00:00
Dorota Czaplejewicz
c1482c2377
Merge branch 'add-frame-rendering' into 'master'
...
Add frame rendering, fix style sheet to show key borders
See merge request Librem5/squeekboard!123
2019-08-05 21:20:36 +00:00
Dorota Czaplejewicz
f7d30b0df3
Clarify some arithmetic warnings
2019-08-05 17:01:22 +00:00
Dorota Czaplejewicz
3e35b7441e
Drop unused variables
2019-08-05 17:01:22 +00:00
Dorota Czaplejewicz
754e79103a
keyboard: Drop layout reference
2019-08-05 17:01:22 +00:00
Dorota Czaplejewicz
a6e220a2ae
Merge branch 'adjust-icon-scaling' into 'master'
...
Correct icon size for scaling
See merge request Librem5/squeekboard!121
2019-08-05 12:06:13 +00:00