Commit Graph
100 Commits
Author SHA1 Message Date
Dorota Czaplejewicz e3f31cc17f imservice: Rename commit_state to done to match protocol 2020-01-14 18:16:36 +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 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 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
Dorota Czaplejewicz d5c8f32088 Fix internal .md link 2019-12-11 15:50:28 +00:00
Dorota Czaplejewicz 6f990f4528 hacking: Add DCO and licensing requirement 2019-12-11 15:44:26 +00:00
Dorota Czaplejewicz 7641b4da6f Create a library/UI module separation 2019-12-11 15:33:29 +00:00
Dorota Czaplejewicz a84730198d readme: Add note about Cargo dependencies 2019-12-11 15:26:27 +00:00
Dorota Czaplejewicz 0b136468c8 Entry test: Add Terminal input purpose 2019-12-09 13:38:19 +00:00
Dorota Czaplejewicz fe4642e71e Merge branch 'japanese-kana-wide-keyboard-layout' into 'master'
layout: add Japanese Kana wide layout

See merge request Librem5/squeekboard!275
2019-12-09 11:12:48 +00:00
Dorota Czaplejewicz b639c7f3f0 Fix old Rust woes 2019-12-08 07:04:22 +00:00
Dorota Czaplejewicz d80758fcd1 positioning: Clean up unused code 2019-12-07 21:33:38 +00:00
Dorota Czaplejewicz dd21bfed8d positioning: Calculate sizes instead of storing, move position out of widgets
Sizes of widgets can be derived, so storing them was only for C compatibility. Similar with storing position inside of widgets.

Some layout margin and scaling changes could be introduced, meaning a possibility of visual differences.
2019-12-07 21:20:21 +00:00
Dorota Czaplejewicz 1f69787fac cleanup: Remove unused single frame draw 2019-12-07 17:19:49 +00:00
Dorota Czaplejewicz 36362291ef cleanup: Unbox View and Row
They are no longer referenced anywhere in C, so it's safe to let Rust memory management deal with them.
2019-12-07 17:19:39 +00:00
Dorota Czaplejewicz 1c4d027af5 cleanup: Remove references to squeek_view 2019-12-07 15:42:54 +00:00
Dorota Czaplejewicz 51a77c41c3 renderer: Remove unused functions 2019-12-07 15:19:53 +00:00
Dorota Czaplejewicz 8b4c643d3e Merge branch 'german-wide-keyboard-layout' into 'master'
layout: add German wide layout

See merge request Librem5/squeekboard!271
2019-12-07 14:39:43 +00:00
Dorota Czaplejewicz f77db1bb73 renderer: Render whole keyboard the same way as pressed buttons
Removed window size dependent surface.
2019-12-07 14:33:49 +00:00
Dorota Czaplejewicz 581c86809a renderer: Simply cut off when painting outside bounds 2019-12-07 14:03:51 +00:00
Dorota Czaplejewicz 804aa53351 renderer: Remove unused locked key render function 2019-12-07 14:01:03 +00:00
Dorota Czaplejewicz e6da2a3b5b rendering: Remove unneeded redraw after button release 2019-12-07 13:58:50 +00:00
Dorota Czaplejewicz f9fbd3fb2d rendering: Simplify Cairo context usage, remove unneeded calls.
Moved Cairo context usage to Rust, and rearranged ctx setup (position) to happen in one place.

Removed render calls that were overwritten on each draw call anyway.
2019-12-07 12:47:47 +00:00
Dorota Czaplejewicz afaacd3f68 Merge branch '1.4' into 'master'
Release 1.4.0 "Nacelle"

See merge request Librem5/squeekboard!273
2019-12-02 19:53:20 +00:00
Dorota Czaplejewicz 6a164d8119 Release 1.4.0 "Nacelle"
Major changes:

- "text" property for layouts
- adjusting to user's color scheme
2019-12-02 19:40:14 +00:00
Dorota Czaplejewicz 6e32a2ef41 renderer: Simplify surface rendering 2019-12-01 16:00:40 +00:00
Dorota Czaplejewicz 34fce7395d renderer: Drop unused params 2019-12-01 15:36:01 +00:00
Dorota Czaplejewicz d415ecf5d0 renderer: Drop row from button rendering 2019-12-01 15:31:16 +00:00
Dorota Czaplejewicz 5266c621fd renderer: Simplified outline rendering 2019-12-01 15:27:14 +00:00
Dorota Czaplejewicz 4ee832c594 renderer: Remove some unneeded vars 2019-12-01 15:22:00 +00:00
Dorota Czaplejewicz 83fea8cd31 Drop squeek_key 2019-12-01 15:01:08 +00:00
Dorota Czaplejewicz 3c45e3e53c switcher: Switch layout on menu item click 2019-11-30 15:14:45 +00:00
Dorota Czaplejewicz cdf263d984 Merge branch 'translation-and-minor-layout-fixes' into 'master'
translation: Japanese and minor layout fixes

See merge request Librem5/squeekboard!264
2019-11-30 12:22:45 +00:00
Dorota Czaplejewicz a901c85bcb Merge branch 'themes' into 'master'
Use appropriate styling for layouts

See merge request Librem5/squeekboard!253
2019-11-30 11:08:08 +00:00
Dorota Czaplejewicz d45724c462 Merge branch 'leave' into 'master'
pointer: Release button when window is left

Closes #46

See merge request Librem5/squeekboard!262
2019-11-29 13:47:48 +00:00
Dorota Czaplejewicz 93d0dcdc99 Merge branch 'text' into 'master'
Text property

Closes #153

See merge request Librem5/squeekboard!257
2019-11-28 09:19:30 +00:00
Dorota Czaplejewicz b252f7659b rust: Be compatible with older Rust 2019-11-27 16:52:50 +00:00
Dorota Czaplejewicz af6ad1fce6 buttons: Accept "text" and drop xkb keysym derivation 2019-11-27 16:52:50 +00:00
Dorota Czaplejewicz 4ee8a91dfe build: Bring back squeekboard as a first class executable
With styles no longer being inconsistent, there's no need to override styles by default. The override script remains for PureOS packaging purposes.
2019-11-27 16:37:44 +00:00
Dorota Czaplejewicz 6d5f793718 util: Include Result logger 2019-11-27 16:31:24 +00:00
Dorota Czaplejewicz 59f6173282 theme: Use a matching layout theme for any widget theme
Dedicated styling is now possible for themes which have a corresponding style-theme.css file. Adwaita:dark gets one, whereas other themes use the new generic fallback theme.
2019-11-27 16:30:32 +00:00
Dorota Czaplejewicz 3aec821f92 Merge branch 'errors' into 'master'
Better layout checking

Closes #131

See merge request Librem5/squeekboard!255
2019-11-27 16:22:08 +00:00