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
Dorota Czaplejewicz
4af49ef7b6
layout: Make keys higher
2019-07-01 13:31:53 +00:00
Dorota Czaplejewicz
3a42e66504
layout: Position keys closer to the left edge
2019-07-01 12:57:52 +00:00
Dorota Czaplejewicz
250b196b81
theme: Use mockup colors
2019-07-01 12:57:52 +00:00
Dorota Czaplejewicz
9ba1987cab
layout: Moved keys a bit to the left
2019-07-01 12:57:52 +00:00
Dorota Czaplejewicz
909b1e2a28
theme: Adjust colors to match the mockup closer
2019-07-01 12:57:52 +00:00
Dorota Czaplejewicz
e46af41abf
layouts: Fixed spacing
2019-07-01 12:57:52 +00:00
Dorota Czaplejewicz
17671a3b08
layout: Use outlines for key bounds
2019-07-01 12:57:52 +00:00
Dorota Czaplejewicz
b8eb7752e7
layout: Using bigger keys
2019-07-01 12:57:52 +00:00
Dorota Czaplejewicz
5e92f45111
layout: Arrange keys similar to mockup
2019-07-01 12:57:52 +00:00
Dorota Czaplejewicz
baf848c791
layout: Ignore keycodes without corresponding keys
2019-07-01 12:57:52 +00:00
Dorota Czaplejewicz
737d57c1f4
Merge branch 'install-rslib' into 'squeekboard'
...
Install rslib
See merge request Librem5/squeekboard!12
2019-07-01 12:57:22 +00:00
Dorota Czaplejewicz
14fbabe8d7
Merge branch 'popup' into 'squeekboard'
...
Pop up when input requested
See merge request Librem5/squeekboard!10
2019-06-30 19:04:42 +00:00
Dorota Czaplejewicz
b746f7a70e
input method: Pop up the keyboard
2019-06-30 19:03:24 +00:00
Dorota Czaplejewicz
0d3b003aac
input method: Initialize the protocol and pretend to handle a few things
2019-06-30 19:03:24 +00:00
Dorota Czaplejewicz
9428927879
Merge branch 'build-dep' into 'squeekboard'
...
ci: Use build-dep instead of a dependency list
See merge request Librem5/squeekboard!11
2019-06-30 19:03:08 +00:00
Dorota Czaplejewicz
511b2f7186
ci: Use build-dep instead of a dependency list
2019-06-30 19:01:36 +00:00
Dorota Czaplejewicz
d8c83e3c65
Merge branch 'touch' into 'squeekboard'
...
Touch support
See merge request Librem5/squeekboard!9
2019-06-30 06:11:16 +00:00
Dorota Czaplejewicz
050fd6f3ba
Touch support
...
Single stream of touch events.
2019-06-29 12:56:04 +00:00
Dorota Czaplejewicz
72d6a8d4e1
Merge branch 'wayland-gen' into 'squeekboard'
...
build: Use 'client-code' instead of 'code' for protocols
See merge request Librem5/squeekboard!8
2019-06-29 12:47:27 +00:00
Dorota Czaplejewicz
30d35216f6
build: Use 'client-code' instead of 'code' for protocols
2019-06-29 12:46:08 +00:00
Dorota Czaplejewicz
bcd0d40912
Merge branch 'fixes' into 'squeekboard'
...
fix: Remove leftover debug print
See merge request Librem5/squeekboard!7
2019-06-29 12:18:59 +00:00
Dorota Czaplejewicz
4b8a6bbbe0
fix: Remove leftover debug print
2019-06-29 12:16:34 +00:00
Dorota Czaplejewicz
47026b669b
Make copyright more granular
2019-06-29 10:50:30 +00:00
Dorota Czaplejewicz
752dc467a8
Merge branch 'desktop-file' into 'squeekboard'
...
Add a desktop file
See merge request Librem5/squeekboard!5
2019-06-29 10:13:20 +00:00
Dorota Czaplejewicz
bde45b262a
Merge branch 'debian-files' into 'squeekboard'
...
Add Debian packaging files
See merge request Librem5/squeekboard!4
2019-06-29 10:10:15 +00:00
Dorota Czaplejewicz
9e5629d1e0
Enable Wayland's virtual-keyboard protocol
...
This commit includes a little restructuring necessary for keeping wayland objects properly.
It doesn't fix broken modifier functionality yet.
2019-06-25 18:12:15 +00:00
Dorota Czaplejewicz
c0fdffac28
Separate keyboards from the dbus handler
2019-06-23 10:59:45 +00:00
Dorota Czaplejewicz
e94e64d204
Move dbus setup closer together
2019-06-23 10:42:20 +00:00
Dorota Czaplejewicz
e503e35b84
Rename squeak_ to squeek_ for consitency
2019-06-23 10:30:25 +00:00
Dorota Czaplejewicz
752592a3d8
Fixed build
2019-06-23 10:29:18 +00:00
Dorota Czaplejewicz
2e6d194a6f
Remove server-service
2019-06-23 10:26:24 +00:00
Dorota Czaplejewicz
63dfb07b51
Simplify the storage of context
2019-06-23 09:54:09 +00:00
Dorota Czaplejewicz
02525056d6
Removed X11 header, added some clarifications
2019-06-22 16:20:03 +00:00
Dorota Czaplejewicz
8292429648
Context: removing more unused things
2019-06-22 16:04:33 +00:00
Dorota Czaplejewicz
765c496068
Removed more unused stuff in context
2019-06-22 15:57:48 +00:00
Dorota Czaplejewicz
d6feec8010
Removed d-bus paths from service class
2019-06-22 15:40:20 +00:00
Dorota Czaplejewicz
f1fbb37547
Kill connection in context service
2019-06-22 15:31:08 +00:00
Dorota Czaplejewicz
5a6386dd24
Fixed rendering deprecation warnings
2019-06-22 13:13:55 +00:00
Dorota Czaplejewicz
0809db9e32
Remove some rendering code with no effect and warnings
2019-06-22 12:56:33 +00:00
Dorota Czaplejewicz
15a3315854
Fix dragging across the keyboard
2019-06-22 12:34:10 +00:00
Dorota Czaplejewicz
82d1f256b2
Remove released and cancelled key events
2019-06-22 12:23:04 +00:00
Dorota Czaplejewicz
e7ba2a0eb0
Got rid of signals in the pressed path
2019-06-19 17:00:30 +00:00
Dorota Czaplejewicz
eff0449b3a
Redrawing key after press is happening directly
2019-06-19 16:51:57 +00:00
Dorota Czaplejewicz
3b9e066ec8
Simplify key press handling
2019-06-19 16:05:37 +00:00
Dorota Czaplejewicz
260ab42b9e
Forward press timestamps
2019-06-19 15:56:19 +00:00
Dorota Czaplejewicz
a3d745edd0
Moved key pressing from context to keyboard
2019-06-19 15:27:29 +00:00
Dorota Czaplejewicz
40a92fe730
Ignoring section.key-pressed
2019-06-19 14:11:23 +00:00
Dorota Czaplejewicz
e30bb23711
build: Add debug/release options
2019-06-18 13:37:10 +00:00
Dorota Czaplejewicz
292c1d08d8
fixes: Minor type and include mismatches
2019-06-16 12:55:50 +00:00
Dorota Czaplejewicz
be56447614
readme: Update development installation info
2019-06-16 12:13:43 +00:00
Dorota Czaplejewicz
70fda8ba64
Fix releasing buttons when dragged
2019-04-06 18:46:33 +00:00
Dorota Czaplejewicz
5cc407986b
Ignore multi-clicks and non-left-buttons
2019-04-06 18:35:06 +00:00
Dorota Czaplejewicz
53af829f46
Send both press and release events
2019-04-06 17:45:06 +00:00
Dorota Czaplejewicz
53065a6d95
Fix crash on double click
2019-04-05 18:42:11 +00:00
Dorota Czaplejewicz
862cfdb55d
Showing and hiding
2019-04-05 18:36:25 +00:00