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
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
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
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
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
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
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
Dorota Czaplejewicz
ca8a2baefa
Merge branch 'devel' into 'master'
...
Entry test added to -devel package
See merge request Librem5/squeekboard!286
2019-12-23 21:33:41 +00:00
Dorota Czaplejewicz
d76deb0655
Release 1.5.0 "The bends"
...
This release introduces some renderer improvements, including relating to speed.
Mire importantly, layout files have an incompatible change in format: bounds on the layout are replaced by margins. This removes the possibility that buttons don't fit in the layout and frees layout makers from having to calculate the size of the layout manually.
2019-12-23 12:08:45 +00:00
Dorota Czaplejewicz
3b0456b5cd
Merge branch 'margins' into 'master'
...
Use margins, remove bounds
See merge request Librem5/squeekboard!283
2019-12-23 11:56:30 +00:00
Dorota Czaplejewicz
c0331434d7
CI: Build arm64 .deb
2019-12-19 19:38:34 +00:00
Dorota Czaplejewicz
e9d6631159
tools: Add GTK's INHIBIT_OSK flag to the entry tester
2019-12-18 19:56:02 +00:00
Dorota Czaplejewicz
f335ea92d4
Merge branch 'readme' into 'master'
...
Readme updates
See merge request Librem5/squeekboard!281
2019-12-18 19:49:59 +00:00
Dorota Czaplejewicz
c8dd34c829
logging: Add described log levels
...
Not used yet due to conflicts with other MRs.
2019-12-16 19:56:16 +00:00
Dorota Czaplejewicz
4d656ff54d
logging: Described the design
2019-12-16 19:36:02 +00:00
Dorota Czaplejewicz
e2b89e85f7
logging: Move all facilities to one file
2019-12-16 19:15:40 +00:00
Dorota Czaplejewicz
b6f3d9c1ea
Remove unused header generator
2019-12-16 18:52:50 +00:00
Dorota Czaplejewicz
9ff11dc511
Remove unused build dependencies
2019-12-16 18:22:23 +00:00
Dorota Czaplejewicz
1cffdda09d
packaging: Install entty.py as squeekboard-entry
2019-12-16 18:13:24 +00:00
Dorota Czaplejewicz
d9f284b19a
build: Move building of squeekboard-test-layout to tools
2019-12-16 17:47:00 +00:00
Dorota Czaplejewicz
ed602faeaf
tools: Move entry.py
2019-12-16 17:46:42 +00:00
Dorota Czaplejewicz
0e1bf19737
docs: Create with tutorial
...
Create docs, based on Sphinx with Commonmark, seeding it with https://forums.puri.sm/t/translations-and-virtual-touch-keyboards-tracking-localization/7669/48?u=dcz
2019-12-15 21:53:18 +00:00
Dorota Czaplejewicz
1237537005
Merge branch 'lockfile' into 'master'
...
Use clap in the lockfile
See merge request Librem5/squeekboard!284
2019-12-15 19:07:23 +00:00
Dorota Czaplejewicz
257b97e9ca
layout: Respect margins
2019-12-15 18:43:56 +00:00
Dorota Czaplejewicz
5e700219f9
parsing: Remove bounds which weren't used anyway
2019-12-15 18:43:56 +00:00
Dorota Czaplejewicz
927f088027
Use clap in the lockfile
2019-12-15 18:42:33 +00:00
Dorota Czaplejewicz
8b3f7e0b11
Merge branch 'positioning' into 'master'
...
Positioning
See merge request Librem5/squeekboard!274
2019-12-15 16:51:35 +00:00
Dorota Czaplejewicz
ae43d7ca47
Merge branch 'terminal_purpose' into 'master'
...
Entry test: Add Terminal input purpose
See merge request Librem5/squeekboard!278
2019-12-15 16:41:59 +00:00
Dorota Czaplejewicz
432e4fe1e5
Merge branch 'drop_key' into 'master'
...
Simplify renderer
See merge request Librem5/squeekboard!272
2019-12-15 16:38:31 +00:00
Dorota Czaplejewicz
6afa2133d0
Merge branch 'squeekboard-test-layout-args-check' into 'master'
...
squeekboard-test-layout: add argument parsing and some more output
See merge request Librem5/squeekboard!277
2019-12-14 10:55:37 +00:00