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
Dorota Czaplejewicz
537ded4b58
Merge branch 'release-keys-when-focus-is-lost' into 'master'
...
Release pressed keys when dragging outside the keyboard
See merge request Librem5/squeekboard!119
2019-08-04 11:00:20 +00:00
Dorota Czaplejewicz
25a6a00f0f
Merge branch 'fix-key-press-checks' into 'master'
...
Use keyboard's coordinate system to check for presses
See merge request Librem5/squeekboard!118
2019-08-04 10:52:58 +00:00
Dorota Czaplejewicz
8298a1412b
gtk-keyboard: Remove unused signal connections
2019-08-04 10:23:57 +00:00
Dorota Czaplejewicz
47eb25d07f
Merge branch 'use-css-provider' into 'master'
...
Use CSS provider instead of custom classes
See merge request Librem5/squeekboard!108
2019-08-04 10:21:22 +00:00
Dorota Czaplejewicz
3829b52127
Merge branch 'center-keyboard' into 'master'
...
Center the keyboard horizontally
Closes #68
See merge request Librem5/squeekboard!104
2019-08-02 13:45:34 +00:00
Dorota Czaplejewicz
f7dd4c84b1
renderer: Render label directly
2019-08-02 09:21:38 +00:00
Dorota Czaplejewicz
c1c0cb6b31
Fix unused function
2019-08-01 20:30:57 +00:00
Dorota Czaplejewicz
e5858bf698
context: Remove vestigial key-activated
2019-08-01 20:25:07 +00:00
Dorota Czaplejewicz
b8389f6736
symbol: Simplify symbol storage
2019-08-01 20:25:01 +00:00
Dorota Czaplejewicz
6c1c979414
section: Removed multiple rows in section, row/column in key
2019-08-01 20:10:59 +00:00
Dorota Czaplejewicz
43df82355a
EekKey: Remove column and row fields
2019-08-01 20:10:59 +00:00
Dorota Czaplejewicz
d8b26040f9
symbolclass: Remove with surroundings
...
Collaterals: Enabled strict checking of initializers, fixed scripts generating keycode mappings.
2019-08-01 20:08:37 +00:00
Dorota Czaplejewicz
bdf29bf57b
symbol: forget serializing
2019-08-01 19:59:34 +00:00
Dorota Czaplejewicz
24358c39a6
Merge branch 'font_size' into 'master'
...
fonts: Reset font size to a constant
See merge request Librem5/squeekboard!112
2019-08-01 17:25:38 +00:00
Dorota Czaplejewicz
504285c08f
fonts: Reset font size to a constant
...
The font size will only be affected by the scaling factor, and not by an attempt to fit the labels into buttons.
Left to do: adjust it based on CSS.
2019-08-01 17:25:38 +00:00
Dorota Czaplejewicz
b7eb4026f6
Merge branch 'fix-tests' into 'master'
...
Use headless init functions to prevent test breakage
See merge request Librem5/squeekboard!109
2019-08-01 17:08:24 +00:00
Dorota Czaplejewicz
b5f0aa423b
xml: Remove unused file
2019-08-01 14:16:01 +00:00
Dorota Czaplejewicz
f7f208883c
errors: Make compilation stricter
2019-07-31 14:11:49 +00:00
Dorota Czaplejewicz
5523b00442
test: Add missing gtk include
2019-07-31 14:11:35 +00:00
Dorota Czaplejewicz
c81fdb18de
eekelement: Fix case falling through
2019-07-31 14:11:03 +00:00
Dorota Czaplejewicz
778543c719
rust: Add a call to Rust test framework
2019-07-31 11:20:57 +00:00
Dorota Czaplejewicz
18b8972029
bitflags: Use absolute imports
...
With relative import of the bitflags crate, the macros would try to fetch nonexistent paths, preventing tests form compiling.
2019-07-31 11:13:24 +00:00
Dorota Czaplejewicz
fa31f8eee1
imservice: Check pointer validity
2019-07-31 10:43:39 +00:00
Dorota Czaplejewicz
98a2e33d78
imservice: Use TryFrom for u32->enum conversions
2019-07-31 10:05:35 +00:00
Dorota Czaplejewicz
58d01bf502
imservice: Use discriminants in enums
2019-07-31 10:05:35 +00:00