Commit Graph

1555 Commits

Author SHA1 Message Date
2e9b8581e7 variant: Fix leak 2020-02-03 14:53:27 +00:00
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
11213ba13a Merge branch '1.8.1' into 'master'
Release 1.8.1

See merge request Librem5/squeekboard!321
2020-01-31 14:23:03 +00:00
3d6c656c78 Merge branch 'pl' into 'master'
layouts: Add Polish layouts

See merge request Librem5/squeekboard!318
2020-01-31 10:40:06 +00:00
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
4eaa8e316e cargo: Update deps 2020-01-31 10:08:48 +00:00
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
b9db00c00c layouts: Add Polish layouts 2020-01-30 21:19:13 +01:00
99b1439d08 Use pip to install recommonmark 2020-01-30 16:51:35 +01:00
83fe2757ef Tidy build file and docs 2020-01-30 16:51:20 +01:00
d21d278710 Merge branch 'faster' into 'master'
build: Strip clap of optional features

See merge request Librem5/squeekboard!311
2020-01-29 09:27:42 +00:00
e6ca914d65 Merge branch 'return' into 'master'
number: Fix keysym for Return

See merge request Librem5/squeekboard!310
2020-01-29 09:26:05 +00:00
0d96a647f9 Merge branch 'packaging' into 'master'
debian: Add missing commas

See merge request Librem5/squeekboard!316
2020-01-29 09:05:07 +00:00
852289b5e3 Merge branch 'switch' into 'master'
setup: Connect ui to the state manager

See merge request Librem5/squeekboard!319
2020-01-28 22:04:47 +00:00
1f5e9566e4 debian: Add missing commas 2020-01-28 21:38:58 +00:00
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
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
3ed601a7e8 layout: terminal: Replace actions button with period on symbols view
Commit ab67bd2c5c took things a bit too
far and completely removed the period button.
2020-01-28 20:51:15 +01:00
63d68c004a Merge branch 'fix_wide' into 'master'
layouts: Fix segfault on switching to wide

See merge request Librem5/squeekboard!312
2020-01-28 19:43:46 +00:00
34c6d2ff28 Merge branch 'fintsize' into 'master'
font: Use font from style context

See merge request Librem5/squeekboard!313
2020-01-28 19:22:22 +00:00
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
ab67bd2c5c layout: terminal: Show actions button on all views 2020-01-28 19:34:03 +01:00
f834fafd67 layout: terminal: Swap positions of preferences and actions button
This makes it consistent with regular layouts.

Helps with #175
2020-01-28 19:33:58 +01:00
4b34f18d34 font: Only pass relevant data to label renderer
This will help factoring the function out
2020-01-28 18:13:19 +00:00
d5682de47c font: Use font from style context
As a consequence, some dependency on renderer is gone.
2020-01-28 18:13:15 +00:00
2ffbdde758 layouts: Fix segfault on switching to wide 2020-01-28 16:42:58 +00:00
ac360b610f Merge branch 'log' into 'master'
Unify logging

See merge request Librem5/squeekboard!308
2020-01-28 11:42:02 +00:00
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
f326929634 Merge branch 'text_input' into 'master'
Text input integration

See merge request Librem5/squeekboard!302
2020-01-24 09:41:14 +00:00
dbb8331294 number: Fix keysym for Return 2020-01-23 15:43:36 +00:00
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
2b65beba44 press_key: Use proper logging 2020-01-20 15:40:30 +00:00
5129d42577 Merge remote-tracking branch 'upstream/master' into log 2020-01-20 15:40:01 +00:00
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
8d06815279 Merge branch 'cleanups' into 'master'
C-side Cleanups

See merge request Librem5/squeekboard!300
2020-01-19 12:57:40 +00:00
c75e085dc8 logging: Unified to remove random eprint calls 2020-01-17 12:25:39 +00:00
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
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
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
81e0c15db9 dbus: Log error on dbus exit 2020-01-15 17:06:00 +00:00
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
f3d852f552 Merge branch 'handling' into 'master'
Centralize handling release events

See merge request Librem5/squeekboard!289
2020-01-14 18:38:43 +00:00
e3f31cc17f imservice: Rename commit_state to done to match protocol 2020-01-14 18:16:36 +00:00
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.
v1.8.0
2020-01-14 13:56:21 +00:00
a78f8e246b pre-release: Update deps 2020-01-14 13:54:10 +00:00
9d027426b7 Merge branch 'termina' into 'master'
overlay: Add terminal

See merge request Librem5/squeekboard!299
2020-01-14 12:58:26 +00:00
02c24a50d2 submission: Remove wildcard reexport 2020-01-14 11:38:44 +00:00
26dbcdeb62 keyboard: Gather up keymap handling, drop layout 2020-01-13 13:53:54 +00:00
0ef02ebfa3 levelkeyboard: Drop unused manager references 2020-01-13 13:53:54 +00:00
0ce19b4269 keyboard: Cleanups of unused code 2020-01-13 13:53:54 +00:00