Dorota Czaplejewicz
a57a78aa2e
Merge branch 'center' into 'master'
...
Center views relative to layout space
See merge request Librem5/squeekboard!326
2020-02-09 20:34:31 +00:00
Dorota Czaplejewicz
b441103674
Merge branch 'slash' into 'master'
...
terminal: Make */ easier to reach
See merge request Librem5/squeekboard!325
2020-02-06 09:31:58 +00:00
Dorota Czaplejewicz
1c3516d6bf
terminal: Make */ easier to reach
...
They exchanged positions with @%
2020-02-05 19:46:59 +00:00
Dorota Czaplejewicz
c766fae686
layout: Improve scoping of locked variable
2020-02-05 12:55:31 +00:00
Dorota Czaplejewicz
aadcdbf276
Merge branch 'langs' into 'master'
...
Update translations & greek
See merge request Librem5/squeekboard!315
2020-02-05 11:05:42 +00:00
Dorota Czaplejewicz
10178d204b
Merge remote-tracking branch 'upstream/master' into center
2020-02-05 10:32:07 +00:00
Dorota Czaplejewicz
37e1ed93a6
Merge branch 'text_input_enable' into 'master'
...
Submit and delete strings via text_input
See merge request Librem5/squeekboard!304
2020-02-03 15:06:25 +00:00
Dorota Czaplejewicz
b770511422
keyboard_layout: Fix leak
2020-02-03 14:59:14 +00:00
Dorota Czaplejewicz
2e9b8581e7
variant: Fix leak
2020-02-03 14:53:27 +00:00
Dorota Czaplejewicz
1cbc21ad11
variant: Fix double-free
...
gio::Settings::set_value takes over ownership of the Variant sometimes, but in other cases it doesn't. To prevent this being a problem, the custom Variant is made of the type that will never have its ownership taken.
This is not necessarily consistent with what gtk-rs authors intended.
In practice, the ownership is shared by refcounting, and after the Rust reference is dropped, one taken by Settings survives.
2020-02-03 14:53:24 +00:00
Dorota Czaplejewicz
416bc6163e
drawing: Generalized foreach_visible_button
2020-02-02 18:29:29 +00:00
Dorota Czaplejewicz
40b79f6209
layout: Center views relative to each other and the layout bounds
2020-02-02 18:07:28 +00:00
Dorota Czaplejewicz
782d80a007
row: Eliminate angle
2020-02-02 17:11:25 +00:00
Dorota Czaplejewicz
687a512e5e
layouts: Better accented uppercase in PL
2020-02-02 15:54:59 +00:00
Dorota Czaplejewicz
500c23beec
locking: Lock keys statelessly
...
Locking is not determined by button state any more, but rather based on the view active at the moment. If pressing/locking a key results in the current view being active, the key is active. If locking a key results in the current view, the unlock view is activated.
2020-02-02 15:41:47 +00:00
Dorota Czaplejewicz
97d8dfe4cb
locks: Draw based on current view
2020-02-02 14:45:33 +00:00
Dorota Czaplejewicz
3d6c656c78
Merge branch 'pl' into 'master'
...
layouts: Add Polish layouts
See merge request Librem5/squeekboard!318
2020-01-31 10:40:06 +00:00
Dorota Czaplejewicz
258dd9b926
Release 1.8.1 "Corona"
...
- Landscape layout doesn't crash
- CSS font is actually taken into account
- Failed start due to dbus is now communicated
- Better log messages
- Fixed Enter in numbers layout
- More consistent terminal layout
- Proper font sizes in terminal layout
2020-01-31 10:16:32 +00:00
Dorota Czaplejewicz
4eaa8e316e
cargo: Update deps
2020-01-31 10:08:48 +00:00
Dorota Czaplejewicz
cbee649939
Merge branch 'update-docs' into 'master'
...
Update docs and CI builds
See merge request Librem5/squeekboard!320
2020-01-30 22:57:07 +00:00
Dorota Czaplejewicz
1f5e9566e4
debian: Add missing commas
2020-01-28 21:38:58 +00:00
Dorota Czaplejewicz
7a588460bf
setup: Connect ui to the state manager
...
This ensures that the layout type information is accessible to the state manager when new layout information arrive.
The should be thought of as a stopgap measure. A proper solution would be to separate the state properly, and probably turn layout information coming from random places into messages that some object (thread?) collects and displays.
2020-01-28 21:32:47 +00:00
Dorota Czaplejewicz
d654b9cc73
Merge branch 'ux' into 'master'
...
layout: terminal: Replace actions button with period on symbols view
See merge request Librem5/squeekboard!317
2020-01-28 20:55:25 +00:00
Dorota Czaplejewicz
7f32c5cf23
greek: Rename to gr which is used by gnome settings
2020-01-28 19:17:47 +00:00
Dorota Czaplejewicz
9368a188b3
Merge branch 'ux' into 'master'
...
Terminal layout UX tweaks
Closes #175
See merge request Librem5/squeekboard!314
2020-01-28 19:16:07 +00:00
Dorota Czaplejewicz
a61019c4b7
translations: Translate builtin layouts
2020-01-28 19:15:39 +00:00
Dorota Czaplejewicz
f4f11e5051
translations: Remove redundant ones
...
Language translations are all handled by gnome-desktop
2020-01-28 19:15:05 +00:00
Dorota Czaplejewicz
4b34f18d34
font: Only pass relevant data to label renderer
...
This will help factoring the function out
2020-01-28 18:13:19 +00:00
Dorota Czaplejewicz
d5682de47c
font: Use font from style context
...
As a consequence, some dependency on renderer is gone.
2020-01-28 18:13:15 +00:00
Dorota Czaplejewicz
2ffbdde758
layouts: Fix segfault on switching to wide
2020-01-28 16:42:58 +00:00
Dorota Czaplejewicz
cd252634bd
logging: Use in merged functions
2020-01-28 12:45:45 +00:00
Dorota Czaplejewicz
de8aaa1a47
Merge remote-tracking branch 'upstream/master' into text_input_enable
2020-01-28 12:39:42 +00:00
Dorota Czaplejewicz
ac360b610f
Merge branch 'log' into 'master'
...
Unify logging
See merge request Librem5/squeekboard!308
2020-01-28 11:42:02 +00:00
Dorota Czaplejewicz
acfa48886d
build: Strip clap of optional features
...
This makes the build marginally faster at the cost of losing non-essential command line parsing in test_layout.
2020-01-25 17:25:02 +00:00
Dorota Czaplejewicz
f326929634
Merge branch 'text_input' into 'master'
...
Text input integration
See merge request Librem5/squeekboard!302
2020-01-24 09:41:14 +00:00
Dorota Czaplejewicz
dbb8331294
number: Fix keysym for Return
2020-01-23 15:43:36 +00:00
Dorota Czaplejewicz
585ed5e97d
input_method: Use for erasing
2020-01-23 15:39:40 +00:00
Dorota Czaplejewicz
09075e57c8
Merge branch 'fix_ci' into 'master'
...
ci: Clean up `..` before it's searched for artifacts
See merge request Librem5/squeekboard!305
2020-01-21 19:52:18 +00:00
Dorota Czaplejewicz
2b65beba44
press_key: Use proper logging
2020-01-20 15:40:30 +00:00
Dorota Czaplejewicz
5129d42577
Merge remote-tracking branch 'upstream/master' into log
2020-01-20 15:40:01 +00:00
Dorota Czaplejewicz
2ed4862db8
Merge branch '1.8' into 'master'
...
Release 1.8.0
See merge request Librem5/squeekboard!303
2020-01-20 14:21:04 +00:00
Dorota Czaplejewicz
8d06815279
Merge branch 'cleanups' into 'master'
...
C-side Cleanups
See merge request Librem5/squeekboard!300
2020-01-19 12:57:40 +00:00
Dorota Czaplejewicz
c75e085dc8
logging: Unified to remove random eprint calls
2020-01-17 12:25:39 +00:00
Dorota Czaplejewicz
cc418c3609
imservice: Return something more resembling an Error on failure
...
The error type is expected to be printable by logging utilities.
2020-01-17 11:59:47 +00:00
Dorota Czaplejewicz
ea84f4f031
logging: Try to improve common operations
...
This adds sugar for logging `Result`s with a handler, makes names evoke something closer to "logging" than "warning", tries to remove any redundant `Logging` where the module name will do, and introduces a type strictly for bad things happening.
2020-01-16 15:57:46 +00:00
Dorota Czaplejewicz
38398395bc
Merge branch 'dbus_error' into 'master'
...
dbus: Log error on dbus exit
See merge request Librem5/squeekboard!307
2020-01-15 17:48:05 +00:00
Dorota Czaplejewicz
81e0c15db9
dbus: Log error on dbus exit
2020-01-15 17:06:00 +00:00
Dorota Czaplejewicz
60c68dbf5a
ci: Clean up .. before it's searched for artifacts
...
GitLab doesn't always clean up the `..` directory, leaving things that are lated picked up as artifacts. The new rule cleans up anything that looks like an artifact before fresh ones are generated.
2020-01-14 18:47:04 +00:00
Dorota Czaplejewicz
f3d852f552
Merge branch 'handling' into 'master'
...
Centralize handling release events
See merge request Librem5/squeekboard!289
2020-01-14 18:38:43 +00:00
Dorota Czaplejewicz
42cb73cd8c
submission: Handle submitting strings
2020-01-14 18:33:47 +00:00
Dorota Czaplejewicz
d1bc23e9d8
imservice: Add commit_string method
2020-01-14 18:17:12 +00:00
Dorota Czaplejewicz
e3f31cc17f
imservice: Rename commit_state to done to match protocol
2020-01-14 18:16:36 +00:00
Dorota Czaplejewicz
dca0e55557
Release 1.8.0 "Conflict-free replicated data type"
...
- The terminal layout is always available from the layout selection popup.
- XKB Layout names in the popup are translated using GNOME's database.
2020-01-14 13:56:21 +00:00
Dorota Czaplejewicz
a78f8e246b
pre-release: Update deps
2020-01-14 13:54:10 +00:00
Dorota Czaplejewicz
9d027426b7
Merge branch 'termina' into 'master'
...
overlay: Add terminal
See merge request Librem5/squeekboard!299
2020-01-14 12:58:26 +00:00
Dorota Czaplejewicz
02c24a50d2
submission: Remove wildcard reexport
2020-01-14 11:38:44 +00:00
Dorota Czaplejewicz
26dbcdeb62
keyboard: Gather up keymap handling, drop layout
2020-01-13 13:53:54 +00:00
Dorota Czaplejewicz
0ef02ebfa3
levelkeyboard: Drop unused manager references
2020-01-13 13:53:54 +00:00
Dorota Czaplejewicz
0ce19b4269
keyboard: Cleanups of unused code
2020-01-13 13:53:54 +00:00
Dorota Czaplejewicz
326bb9319f
submission: Take over virtual_keyboard handling
2020-01-13 13:53:54 +00:00
Dorota Czaplejewicz
aafecfac02
EekGtkKeyboard: Use a direct reference to EekboardContext
2020-01-13 13:53:54 +00:00
Dorota Czaplejewicz
e5d416fd4f
imservice: Limited scope of unsafe
2020-01-13 13:53:54 +00:00
Dorota Czaplejewicz
785717d477
submission: Create a new wrapper over imservice
2020-01-13 13:53:48 +00:00
Dorota Czaplejewicz
4e4f8e1932
eek-layout: Remove unused
2020-01-12 19:25:41 +00:00
Dorota Czaplejewicz
51f55fbff8
submission: Move away from virtual-keyboard
2020-01-11 16:20:09 +00:00
Dorota Czaplejewicz
92c9572ac2
services: Split out layout management from EekboardContextService
...
Layout management was pointlessly bound with the EekboardContextService with inheritance. Splitting it out will make it easier to further break apart layout state management, settings, and input method in the future.
2020-01-11 15:33:26 +00:00
Dorota Czaplejewicz
58b087e35a
eekboard_context_service: Drop unused enable property
2020-01-09 20:13:22 +00:00
Dorota Czaplejewicz
14d5881f1e
key-emitter: Remove unused
2020-01-09 19:57:14 +00:00
Dorota Czaplejewicz
7dd8bd54c2
context: Moved keymap setting together with its generation
2020-01-09 16:42:17 +00:00
Dorota Czaplejewicz
4c2cef30f2
dbus: Rename handler from eekboard_service
2020-01-09 16:25:53 +00:00
Dorota Czaplejewicz
3ecfd701d9
dbus: Remove unneeded gobjectness
...
Also removed the code linking dbus interface stop to application quit. DBus going missing was not handled, and isn't a fatal error anyway.
2020-01-09 16:13:09 +00:00
Dorota Czaplejewicz
033a1cf200
dbus_service: Remove unused function
2020-01-09 15:53:49 +00:00
Dorota Czaplejewicz
9f59279307
managers: Move visible flag to UI manager
2020-01-09 14:14:48 +00:00
Dorota Czaplejewicz
7e72722a47
UI: Drop indirection for show/hide functions
2020-01-09 13:30:02 +00:00
Dorota Czaplejewicz
375daa68c8
layout: Make handling presses uniform
2020-01-09 12:09:28 +00:00
Dorota Czaplejewicz
34db364a62
layout: Centralize handling key releases
2020-01-08 18:52:09 +00:00
Dorota Czaplejewicz
950310c8a5
keyboard: Introduce a KeyCode type wrapping u32
2020-01-08 18:52:09 +00:00
Dorota Czaplejewicz
e77eccf7db
action: Rename Level to View
2020-01-08 18:52:09 +00:00
Dorota Czaplejewicz
273423f626
Release 1.7.0 "Mycelium"
...
Enables a terminal layout, which will activate whenever the terminal input hint is received.
Arm64 .debs are produced by the CI again.
2020-01-08 12:19:59 +00:00
Dorota Czaplejewicz
d80cbf880f
cargo: Refresh deps for release
2020-01-08 12:19:53 +00:00
Dorota Czaplejewicz
e06e23dd4c
overlay: Add terminal
...
Enables Terminal to be selected as an overlay over the selected language.
2020-01-08 12:06:15 +00:00
Dorota Czaplejewicz
1924a8e634
v1.6.0: Fix suite
2020-01-08 11:52:46 +00:00
Dorota Czaplejewicz
0bfd846139
translations: Make the code cleaner
2020-01-07 16:18:52 +00:00
Dorota Czaplejewicz
a93f3c55e7
translations: Use gnome-desktop's xkb info database for layout names
2020-01-07 16:18:52 +00:00
Dorota Czaplejewicz
c3c1e1c76d
CI: Use Librem5 arm64 runner
2020-01-07 14:39:30 +00:00
Dorota Czaplejewicz
7a21b992dc
Merge branch 'terminal_layout' into 'master'
...
Terminal layout
See merge request Librem5/squeekboard!279
2020-01-07 12:55:08 +00:00
Dorota Czaplejewicz
5485153599
Merge branch 'fix_build' into 'master'
...
CI: Fix build-dep removed by merge
See merge request Librem5/squeekboard!296
2020-01-04 13:56:23 +00:00
Dorota Czaplejewicz
4a92489de8
CI: Fix build-dep removed by merge
2020-01-04 13:34:30 +00:00
Dorota Czaplejewicz
825409c97f
Merge branch 'osk_entry' into 'master'
...
tools: Add GTK's INHIBIT_OSK flag to the entry tester
See merge request Librem5/squeekboard!290
2020-01-04 10:49:35 +00:00
Dorota Czaplejewicz
6ad85d79e4
Merge branch 'doc' into 'master'
...
docs: Create with tutorial
See merge request Librem5/squeekboard!285
2020-01-04 10:49:03 +00:00
Dorota Czaplejewicz
7e57df3434
Release 1.6.0 "Specific impulse"
...
New emoji layout, `entry.py` becomes part of the -devel package under the name `squeekboard-entry`.
2020-01-02 12:06:19 +00:00
Dorota Czaplejewicz
2657b5ef1f
terminal: A more fleshed out layout
2019-12-24 14:33:58 +00:00
Dorota Czaplejewicz
674bef2b00
terminal: Use a rudimentary layout on input hint
2019-12-24 14:33:58 +00:00
Dorota Czaplejewicz
8e55e9ee56
Fix g_ and stdlib allocation/free mismatches
2019-12-24 14:28:50 +00:00
Dorota Czaplejewicz
50dab14754
emoji: Add a passable layout
2019-12-24 10:41:02 +00:00
Dorota Czaplejewicz
733cbe94ee
Fix old Rust woes
2019-12-24 10:41:02 +00:00
Dorota Czaplejewicz
01a8afad0d
popover: Show overlays as selected
2019-12-24 10:41:02 +00:00
Dorota Czaplejewicz
bafd1e6eb3
popover: Install emoji layout
...
In order to do that, an additional piece of state (layout switcher) was exposed to the event handlers, a separation between squeekboard-only and system layouts was introduced, along with a Translation structure to prevent mixing up strings.
2019-12-24 10:41:02 +00:00
Dorota Czaplejewicz
a799178b6a
Merge branch 'logging' into 'master'
...
Logging
See merge request Librem5/squeekboard!288
2019-12-24 10:10:30 +00:00
Dorota Czaplejewicz
12be3e980f
Merge branch 'cleanup' into 'master'
...
Build cleanups
See merge request Librem5/squeekboard!287
2019-12-23 21:34:18 +00:00