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
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
Dorota Czaplejewicz
8326bd7016
rust: Create a root file for modules
...
The new `lib.rs` file is created to refer to all modules written in Rust. This way, only one `rustc` call is needed to compile an arbitrary amount of modules. It also converges with the way crates are structured.
2019-07-31 10:05:27 +00:00
Dorota Czaplejewicz
d5f8b0d83b
Merge branch 'simplify-rendering' into 'master'
...
Simplify layout and rendering
See merge request Librem5/squeekboard!102
2019-07-31 09:10:57 +00:00
Dorota Czaplejewicz
e70a898af5
Merge branch 'adjust-keyboard-geometry' into 'master'
...
Adjust keyboard geometry
See merge request Librem5/squeekboard!103
2019-07-31 06:39:45 +00:00
Dorota Czaplejewicz
df249646bc
Merge branch 'update-numeric-keypad' into 'master'
...
Rename keypad-related files
See merge request Librem5/squeekboard!101
2019-07-31 06:37:09 +00:00
Dorota Czaplejewicz
4aee4915d9
Merge branch 'generate-xkb-files' into 'master'
...
Generate XKB keymaps from XML instead of using pre-made ones
See merge request Librem5/squeekboard!90
2019-07-30 17:38:06 +00:00
Dorota Czaplejewicz
ffc5628637
readme: Change the clone URL
2019-07-30 13:08:12 +00:00
Dorota Czaplejewicz
306aa89d06
Merge branch 'content_type' into 'master'
...
Finish up imservice state
See merge request Librem5/squeekboard!93
2019-07-30 11:44:19 +00:00
Dorota Czaplejewicz
236415cde4
Merge branch 'add-landscape-orientation' into 'master'
...
Add landscape orientation
See merge request Librem5/squeekboard!99
2019-07-30 11:19:41 +00:00
Dorota Czaplejewicz
7e939c36cc
imservice: Call show/hide directly
2019-07-23 20:26:42 +00:00
Dorota Czaplejewicz
c5d2d76ab1
imservice: Handle unavailable message
2019-07-23 20:26:42 +00:00
Dorota Czaplejewicz
622ba6e38a
imservice: Handle text change cause
...
Nothing is being done with this information yet
2019-07-23 20:26:42 +00:00
Dorota Czaplejewicz
fad06348a7
imservice: Make imservice opaque
...
The structure is defined in Rust, with the intention of evaluating using Rust in this area. It's specifically not defined as repr(C), in order to encourage that. Without the repr, it was unsafe to have its members exposed in C.
2019-07-23 20:26:42 +00:00
Dorota Czaplejewicz
a6ee303123
imservice: Handle content type in Rust
...
This adds `bitflags.rs` from the bitflags crate.
Due to not wanting to introduce Cargo as the dependency manager yet, it's slightly modified to compile as a naked module.
2019-07-23 20:25:13 +00:00
Dorota Czaplejewicz
b69b3e9409
Merge branch 'fix-uninitialized-var' into 'master'
...
Fix an uninitialized-variable warning, and fixes gradients (quickie)
See merge request Librem5/squeekboard!35
2019-07-07 17:37:11 +00:00
Dorota Czaplejewicz
c393eb20be
Merge branch 'improve-key-rendering' into 'master'
...
Improve key rendering and eliminate two deprecation warnings
See merge request Librem5/squeekboard!33
2019-07-07 11:39:12 +00:00
Dorota Czaplejewicz
b09c812579
Merge branch 'drop-icons' into 'master'
...
Drop icons
See merge request Librem5/squeekboard!29
2019-07-04 18:34:15 +00:00
Dorota Czaplejewicz
d6f7c271e2
Merge branch 'kill-automake' into 'master'
...
Remove automake leftovers
See merge request Librem5/squeekboard!27
2019-07-04 18:26:24 +00:00
Dorota Czaplejewicz
c3ffe6ab8b
visibility: Handle visibility change no-ops
2019-07-04 08:48:43 +00:00
Dorota Czaplejewicz
c1e1ddb73f
style: Fix right margin
...
For some reason, adjusting the width of the keyboard layout affects the margin when used at 360 width.
2019-07-04 08:27:37 +00:00
Dorota Czaplejewicz
43579b51f0
session: Register to the session manager
...
Registering as "sm.puri.OSK0", because that's as much as the session knows about the virtual keyboard.
2019-07-04 07:58:34 +00:00
Dorota Czaplejewicz
3d1133cdb5
Fix memory corruption due to a wrong assumption
2019-07-04 07:48:46 +00:00
Dorota Czaplejewicz
e27af9fd24
Merge branch 'be-explicit-about-meson' into 'master'
...
Specify the build system when building a package
See merge request Librem5/squeekboard!23
2019-07-03 22:28:20 +00:00
Dorota Czaplejewicz
a129863a4d
build: Apply fixes/suggestions
...
Following comments on https://source.puri.sm/Librem5/squeekboard/merge_requests/20
2019-07-02 20:14:12 +00:00
Dorota Czaplejewicz
5b700f7dfc
Merge branch 'modifiers' into 'squeekboard'
...
Modifiers
See merge request Librem5/squeekboard!19
2019-07-02 18:44:33 +00:00
Dorota Czaplejewicz
d982bcb5e4
Merge branch 'conflict' into 'squeekboard'
...
Fix virtboard conflict
See merge request Librem5/squeekboard!20
2019-07-02 18:18:19 +00:00
Dorota Czaplejewicz
61a5e8d4fd
install: Don't distribute dbus definition
...
Instead, require virtboard to provide it.
2019-07-02 18:13:34 +00:00
Dorota Czaplejewicz
cb641bd221
ci: Prevent caching of build directory
2019-07-02 18:11:49 +00:00
Dorota Czaplejewicz
2f6e9a1756
Merge branch 'remove-trigger-in-packaging' into 'squeekboard'
...
Remove unnecessary trigger
See merge request Librem5/squeekboard!18
2019-07-02 13:23:47 +00:00
Dorota Czaplejewicz
14887f9c99
layout: Change label for Level 3 modifier
2019-07-02 13:09:33 +00:00
Dorota Czaplejewicz
654909261e
modifiers: Level 3 works
2019-07-02 13:03:35 +00:00
Dorota Czaplejewicz
ab2a27345d
Merge branch 'modifiers' into 'squeekboard'
...
modifiers: Seem to be emitted correctly
See merge request Librem5/squeekboard!17
2019-07-02 11:54:34 +00:00
Dorota Czaplejewicz
484eb3303c
modifiers: Seem to be emitted correctly
2019-07-02 11:52:45 +00:00
Dorota Czaplejewicz
319d64e1e5
build: Link Rust library statically
2019-07-02 10:11:32 +00:00
Dorota Czaplejewicz
60250ca5e5
Merge branch 'font-size' into 'squeekboard'
...
hack: Adjust font size
See merge request Librem5/squeekboard!15
2019-07-01 15:41:10 +00:00
Dorota Czaplejewicz
d729bb3a89
hack: Adjust font size
2019-07-01 15:27:06 +00:00
Dorota Czaplejewicz
4dc55635d7
Merge branch 'new_layout' into 'squeekboard'
...
New layout
See merge request Librem5/squeekboard!13
2019-07-01 15:04:32 +00:00