Commit Graph
100 Commits
Author SHA1 Message Date
Dorota Czaplejewicz 4d24af4e1a Merge branch 'test_docs' into 'master'
Make layout lists more ordered

See merge request Librem5/squeekboard!417
2020-12-21 14:40:11 +00:00
Dorota Czaplejewicz 422d06d582 Merge branch 'reset_hint_smart' into 'master'
dbus: Reset hints if text input missing

Closes #256

See merge request Librem5/squeekboard!421
2020-12-16 16:00:53 +00:00
Dorota Czaplejewicz 4890c86b4e dbus: Reset hints if text input missing 2020-12-15 13:20:34 +00:00
Dorota Czaplejewicz b72c6b53e4 Merge branch 'fix_norwegian_button_size' into 'master'
no: Use wide button switching between numbers, symbols and base

See merge request Librem5/squeekboard!419
2020-12-15 12:37:42 +00:00
Dorota Czaplejewicz 658df98e18 layout_names: Unmess the list of builtin layouts 2020-12-12 07:42:32 +00:00
Dorota Czaplejewicz 6f7252ec7c tests: Add some description to the list of tested layouts
Contributors have started to make it messy.
2020-12-12 07:40:51 +00:00
Dorota Czaplejewicz 558a2568e3 Merge branch 'undefined' into 'master'
Bulgarian language keyboard layout

See merge request Librem5/squeekboard!418
2020-12-12 07:38:34 +00:00
Dorota Czaplejewicz 9a72db2fcc Merge branch 'esperanto' 2020-12-07 15:33:01 +00:00
Dorota Czaplejewicz fcd0eaddf2 layouts: Simplify the main flow of source list 2020-12-03 16:26:47 +00:00
Dorota Czaplejewicz ba2e191918 layouts: Use base as fallback for alternative layouts 2020-12-03 16:15:22 +00:00
Dorota Czaplejewicz cc4f14e8c6 data: Flattened layout fallback function 2020-12-03 15:47:44 +00:00
Dorota Czaplejewicz 103e64b96c data: Made data flow in fallback clearer 2020-12-03 15:45:45 +00:00
Dorota Czaplejewicz 2796362d34 build: Fail on any C warnings when strict 2020-12-03 15:26:54 +00:00
Dorota Czaplejewicz af00d74f71 build: Enable wformat to remove warnings about missing wformat 2020-12-03 15:26:28 +00:00
Dorota Czaplejewicz 02d579d757 build: Enable unused warnings in C
The goal is to be free of unused X class of problems. For this, CI and any "serious" builds will fail on warnings. Debug builds, used in development, will warn by default but not fail.

In addition, the 'strict' build option is added for when the debug build should fail on unused warnings as well.
2020-12-03 15:21:58 +00:00
Dorota Czaplejewicz 01d06d0f5f Merge branch 'keyboard-layout-us+colemak' into 'master'
Added US Colemak Keyboard Layout

See merge request Librem5/squeekboard!403
2020-12-03 15:13:11 +00:00
Dorota Czaplejewicz 1d1c98c27a Merge branch 'f/czech-layouts' into 'master'
Add Czech keyboard layouts

See merge request Librem5/squeekboard!414
2020-12-03 14:42:04 +00:00
Dorota Czaplejewicz 1fe6d65525 tests: Allow legacy mode to have much longer tests. 2020-11-29 12:53:35 +00:00
Dorota Czaplejewicz 39a3c40d67 debian: Build reproducibly 2020-11-29 10:42:24 +00:00
Dorota Czaplejewicz 963f52bbc3 tests: Explicitly pass source directory to tests 2020-11-29 10:42:20 +00:00
Dorota Czaplejewicz 9dcc4c9868 tests: Prefer the env var for finding test layouts
The builtin file path is embedded in the binary and subject to substitution, which makes it invalid when trying to build a .deb reproducibly.

Out of the two solutions, it's easier to make the change here rather than customize .debu building not to run tests reproducibly.
2020-11-28 18:57:54 +00:00
Dorota Czaplejewicz df8e885983 build: Fix release 2020-11-28 18:57:46 +00:00
Dorota Czaplejewicz c9f9a3b577 Merge branch 'cargo' into 'master'
docs: Correct Cargo update instructions

See merge request Librem5/squeekboard!398
2020-11-23 09:16:59 +00:00
Dorota Czaplejewicz 81041b8035 Merge branch 'wannaphong-master-patch-05164' into 'master'
Add thai keyboard

See merge request Librem5/squeekboard!402
2020-11-23 08:17:29 +00:00
Dorota Czaplejewicz 4049e66307 Release 1.11.1 "Diploid"
Bug fix release:
- Fixes to German layout
- Fixed showing the panel right after starting
2020-11-21 11:09:37 +00:00
Dorota Czaplejewicz 046a516a11 cargo: Update deps 2020-11-21 11:03:45 +00:00
Dorota Czaplejewicz b5d1e8c3eb Merge branch 'keyboard-layout-german-move-semicolon' into 'master'
keyboard: Move semicolon in German layout to numbers view replacing redundant comma key

See merge request Librem5/squeekboard!410
2020-11-20 18:33:01 +00:00
Dorota Czaplejewicz dda070e84e Merge branch 'race' into 'master'
imservice: Set up UI according to current needs when it shows up

See merge request Librem5/squeekboard!407
2020-11-19 19:04:22 +00:00
Dorota Czaplejewicz 17db3db296 visibility: Centralize keyboard panel visibility policy and handling
With the policy being disentangled from application, it becomes testable.
This prepares for moving the entire visibility mechanism to the new class and taking away more pieces of ServerContextService.
In addition, this is a good warmup before trying to implement sizing policy.
2020-11-19 09:49:51 +00:00
Dorota Czaplejewicz ebbb3b1138 UI: Keep visibility factors in a central place 2020-11-18 19:29:42 +00:00
Dorota Czaplejewicz 277986bcdf imservice: Set up UI according to current needs when it shows up 2020-11-18 18:38:24 +00:00
Dorota Czaplejewicz 96461cf2aa Merge branch 'keyboard-layout-german-fix-semicolon' into 'master'
keyboard: Fix semicolon in German layout

Closes #226

See merge request Librem5/squeekboard!406
2020-11-14 20:29:56 +00:00
Dorota Czaplejewicz 5aa7334787 Release 1.11.0 "Perceptron"
This is a special Evergreen release with only 2 changes:

- don't delay hiding when explicitly requested to hide,
- fix typo in Friulian translation.
2020-11-14 06:49:00 +00:00
Dorota Czaplejewicz 955a138849 Update dependencies 2020-11-14 06:44:23 +00:00
Dorota Czaplejewicz 12c9ca1e02 ui: Cancel hiding delay when activity requested again 2020-11-14 06:09:37 +00:00
Dorota Czaplejewicz 91acfa0138 Merge branch 'patch-1' into 'master'
Update fur-IT.txt fix typo for Spanish

See merge request Librem5/squeekboard!401
2020-11-10 14:39:18 +00:00
Dorota Czaplejewicz c0525946ae Release version 1.10.0 "Idempotence"
- Xwayland support
- Keys' press zone extends to the side edges of the widget
- Layout popover separates languages from special layouts
- Popover can open settings
- Keyboard is invisible when GNOME accessibility setting is off
- Layout tester checks for presence of Backspace and Return
- Adjusts the keyboard size better to tablet-sized displays
- Friulian keyboard layout
- Ukrainian layout
- Belgian layout
- Wide French layout
- Wide Belgian layout
- Wide terminal layout
- Improved tutorial
- Improved README
- Stricter compilation checks
- Minor fixes
2020-10-22 10:26:53 +00:00
Dorota Czaplejewicz 8bb5c4f16c cargo: Update dependencies 2020-10-21 08:08:48 +00:00
Dorota Czaplejewicz d07b5ed0d6 UI: Delay hiding only when leaving a text field 2020-10-20 11:52:06 +00:00
Dorota Czaplejewicz 153f9c39e5 lint: Check for missing braces
The `eek/layersurface.c` file should be excluded because it's an imported, "foreign" source, but clang-tidy doesn't seem to have an annotation for that.

An alternative would have been to exclude it in Meson and do the check there, but that requires clang-tidy, raising the barrier to contribute of Squeekboard even more (it already requires libfeedback, which isn't packaged widely).
2020-10-20 11:34:17 +00:00
Dorota Czaplejewicz c0b6ea51fa enabled: Don't force the keyboard to show when enable is switched
This is a bit of a hack: the enable semantics are not finalized yet:

https://source.puri.sm/Librem5/squeekboard/-/issues/238

This prevents the keyboard from appearing over the lock screen at least:

https://source.puri.sm/Librem5/squeekboard/-/merge_requests/397#note_123987
2020-10-20 08:08:55 +00:00
Dorota Czaplejewicz 5d81cf78f8 docs: Correct Cargo update instructions 2020-10-19 14:33:08 +00:00
Dorota Czaplejewicz 39464f9c99 Merge branch 'master' into 'master'
Add friulian keyboard and langs layout

See merge request Librem5/squeekboard!396
2020-10-19 08:44:17 +00:00
Dorota Czaplejewicz 65425ff928 Merge branch 'fix' into 'master'
tests: Fix bad field access

See merge request Librem5/squeekboard!395
2020-10-14 10:37:26 +00:00
Dorota Czaplejewicz 229b3bac51 tests: Fix bad field access
As a result of an automatic merge, a private field was accessed that shouldn't be.
2020-10-14 10:12:57 +00:00
Dorota Czaplejewicz a4e7ad06d3 build: Avoid MaybeUninit on older Debian 2020-10-12 14:14:26 +00:00
Dorota Czaplejewicz db298b0fb8 keymaps: Use multiple key maps, each within the limit of what Xorg can accept.
Key maps are switched on key press whenever needed.
2020-10-12 14:14:17 +00:00
Dorota Czaplejewicz 4373cf7bc3 keymap: Concentrate special handling of BackSpace, which is implicit in Erase action 2020-10-12 13:57:53 +00:00
Dorota Czaplejewicz 8f526bd357 tests: Check for missing return in builtin layouts except emoji 2020-10-12 10:51:23 +00:00
Dorota Czaplejewicz b77b3f7816 vkeyboard: Use a generic slice instead of a vector 2020-10-12 10:51:23 +00:00
Dorota Czaplejewicz 87eb775377 keymap: Keep keymap fd management in one place
At the same time, reduce the distance between this and the Xwayland handling branch.
2020-10-12 10:50:40 +00:00
Dorota Czaplejewicz afd47ef8b4 Merge branch 'optimize-sizing' into 'master'
Optimize sizing

See merge request Librem5/squeekboard!390
2020-10-12 08:18:22 +00:00
Dorota Czaplejewicz 7e38d17cb7 debian: Insert a "breaks" for librem5-base < 24
Librem5-base sets the GNOME a11y to true, which solves the invisibility of the keyboard on the phone.
2020-10-11 16:36:16 +00:00
Dorota Czaplejewicz ef7df433d8 Merge branch 'wide-keyboards' into 'master'
Add wide keyboards

See merge request Librem5/squeekboard!391
2020-10-11 14:30:35 +00:00
Dorota Czaplejewicz 8e32de86a9 Merge branch 'extend-keys-to-bounding-box' into 'master'
Expand key press detection to the edges of the view's bounding box

Closes #191

See merge request Librem5/squeekboard!379
2020-10-11 14:25:03 +00:00
Dorota Czaplejewicz d283ced2ce Merge branch 'popover-sorting' into 'master'
Sort layouts by type before sorting by name

Closes #176

See merge request Librem5/squeekboard!384
2020-10-07 15:23:25 +00:00
Dorota Czaplejewicz 8cf6c5f948 syntax: Let older rustc understand symbolmap's lifetime 2020-10-06 10:32:07 +00:00
Dorota Czaplejewicz de3bf54dc9 data: Restore testability of action->keysym conversion 2020-10-06 10:32:07 +00:00
Dorota Czaplejewicz 2219eb67e1 keymap: Generate from symbol map, not layout
Includes changes to the keymap string without which Xwayland won't work.
2020-10-06 10:31:28 +00:00
Dorota Czaplejewicz 61400c9584 build: Error on repeating declarations 2020-10-06 09:54:17 +00:00
Dorota Czaplejewicz 24adba44be Merge branch 'leak-fixes' into 'master'
Fix 2 leaks

Closes #148

See merge request Librem5/squeekboard!386
2020-10-03 07:38:52 +00:00
Dorota Czaplejewicz ec5570a547 Merge branch 'keyboard-layout-belgian' into 'master'
proposal for belgian layout (copy of fr)

See merge request Librem5/squeekboard!382
2020-10-01 13:21:49 +00:00
Dorota Czaplejewicz 07bcaa8e2b docs: Reorganize tutorial
People still ignore adding layouts to builtins and to tests. To unbury that information, and add a sort of checklist, the more interesting info has been moved upwards nd together.
2020-10-01 11:52:53 +00:00
Dorota Czaplejewicz c16c686592 docs: Tutorial syntax cleanups
Promoted bolded "headings" into actual headings, so that they can be linked to.
2020-09-29 13:33:37 +00:00
Dorota Czaplejewicz 4b825c26a6 Merge branch 'docs-fixes' into 'master'
Expand the development documentation in the readme

Closes #227

See merge request Librem5/squeekboard!377
2020-09-26 09:00:51 +00:00
Dorota Czaplejewicz 50fb124b26 Merge branch 'hacking-spelling-fixes' into 'master'
Fix spelling mistakes in doc/hacking.md

Closes #217

See merge request Librem5/squeekboard!378
2020-09-25 12:47:17 +00:00
Dorota Czaplejewicz 60056dcf26 Merge branch 'honor-a11y-setting' into 'master'
Honor org.gnome.desktop.a11y.applications screen-keyboard-enabled

Closes #222

See merge request Librem5/squeekboard!370
2020-09-24 06:49:13 +00:00
Dorota Czaplejewicz d93e9c2b11 rust: Fix deprecation warnings 2020-09-21 10:57:01 +00:00
Dorota Czaplejewicz b137e2e3a0 Merge branch 'ukrainian-keyboard-layout' into 'master'
Add Ukrainian keyboard layout

Closes #223

See merge request Librem5/squeekboard!372
2020-09-14 07:48:03 +00:00
Dorota Czaplejewicz 2f4a652f53 Merge branch 'fixmods' into 'master'
virtual_keyboard: Fix desynced modifiers state

See merge request Librem5/squeekboard!362
2020-08-28 11:02:50 +00:00
Dorota Czaplejewicz 88821e2e82 Merge branch 'terminal' into 'master'
Terminal layout: another approach

See merge request Librem5/squeekboard!368
2020-07-20 09:48:36 +00:00
Dorota Czaplejewicz 81344bb9c2 Merge branch 'patch-1' into 'master'
Brazilian Portuguese Keyboard Layout.

See merge request Librem5/squeekboard!365
2020-07-20 09:47:19 +00:00
Dorota Czaplejewicz 123faecb7d Merge branch 'italian' into 'master'
italian: Fix space and period

See merge request Librem5/squeekboard!364
2020-07-16 15:57:38 +00:00
Dorota Czaplejewicz 7ec3053aa4 Merge branch 'fixsize' into 'master'
size: Hardcode size to work around screen rotation

See merge request Librem5/squeekboard!361
2020-07-16 15:56:57 +00:00
Dorota Czaplejewicz 762e12431d Merge branch 'fix_gio_unix' into 'master'
build: Add missing gio-unix dependency

See merge request Librem5/squeekboard!356
2020-06-26 07:13:23 +00:00
Dorota Czaplejewicz 1a2df96c02 Release v1.9.2 "Aristotelian physics"
- Swedish
- Russian
- Danish
- French
- minor fixes
2020-06-07 14:38:23 +00:00
Dorota Czaplejewicz d2989e8ecd Merge branch 'lfb' into 'master'
Provide haptic feedback via libfeedback

Closes #166

See merge request Librem5/squeekboard!350
2020-06-04 13:31:24 +00:00
Dorota Czaplejewicz 75ecf9059a Update rust deps for release 2020-06-01 09:36:36 +00:00
Dorota Czaplejewicz 5715458d33 Merge branch 'master' into 'master'
Add danish keylayout

See merge request Librem5/squeekboard!353
2020-05-27 07:14:35 +00:00
Dorota Czaplejewicz 8196117269 Merge branch 'desktopfile-absolute' into 'master'
sm.puri.Squeekboard.desktop: make path to Exec= absolute

See merge request Librem5/squeekboard!352
2020-05-26 18:20:49 +00:00
Dorota Czaplejewicz fe22fc2271 Merge branch 'remove-dep-libcroco' into 'master'
Removed unused dependency 'libcroco'

See merge request Librem5/squeekboard!351
2020-05-24 18:19:15 +00:00
Dorota Czaplejewicz 76bd87686a Merge branch 'ru-layout' into 'master'
Fresh Russian layout

See merge request Librem5/squeekboard!347
2020-05-20 17:59:22 +00:00
Dorota Czaplejewicz 54ac7511cd Merge branch 'scaling' into 'master'
Stop scaling

See merge request Librem5/squeekboard!339
2020-05-13 11:01:21 +00:00
Dorota Czaplejewicz 080bbb4d4e Merge branch 'fix_doc_reference' into 'master'
Folder is doc, not docs

See merge request Librem5/squeekboard!349
2020-05-08 16:44:44 +00:00
Dorota Czaplejewicz cd3255b301 Merge branch 'swedish_wide_button' into 'master'
Swedish keyboard, use wide button switching between numbers, symbols and base

See merge request Librem5/squeekboard!344
2020-05-06 11:22:13 +00:00
Dorota Czaplejewicz 6414b57e57 Merge branch 'french-layout' into 'master'
French layout

See merge request Librem5/squeekboard!346
2020-04-28 12:31:44 +00:00
Dorota Czaplejewicz 3d1a641ca3 Merge remote-tracking branch 'upstream/master' into scaling 2020-03-12 10:51:30 +00:00
Dorota Czaplejewicz 0466a520f2 Merge branch 'predictoin_ui' into 'master'
Cleanups to make EekGtkKeyboard more standalone

See merge request Librem5/squeekboard!336
2020-03-12 10:46:14 +00:00
Dorota Czaplejewicz 9e8aca1cbf Merge branch 'unavailable' into 'master'
Crash less when outside resources are unavailable

See merge request Librem5/squeekboard!341
2020-03-11 10:55:05 +00:00
Dorota Czaplejewicz 334898c5a5 Release version 1.9.1 "Expected value"
- Preview support for "Control" and "Alt" modifiers in buttons, use field "modifiers: Control" inside a button
- Don't crash when gsettings has an empty list of settings
- Documentation rearrangement
2020-03-08 10:06:53 +00:00
Dorota Czaplejewicz 67a5f1bb0b cargo: Bump package versions before release 2020-03-08 10:02:54 +00:00
Dorota Czaplejewicz eb84e52897 Merge branch 'release_check' into 'master'
CI: Fix typo

See merge request Librem5/squeekboard!343
2020-03-07 11:38:34 +00:00
Dorota Czaplejewicz 0f7ff1636d CI: Fix typo 2020-03-07 11:17:25 +00:00
Dorota Czaplejewicz 8ff8e8ac48 Merge remote-tracking branch 'upstream/master' into scaling 2020-03-07 10:46:09 +00:00
Dorota Czaplejewicz d4bb9038c5 Merge branch 'release_check' into 'master'
CI: Test that any bump to changelog has a corresponding tag

See merge request Librem5/squeekboard!337
2020-03-07 10:33:53 +00:00
Dorota Czaplejewicz f3caeb8fc6 Merge branch 'docs' into 'master'
Docs: describe project priorities

See merge request Librem5/squeekboard!338
2020-03-07 10:33:03 +00:00
Dorota Czaplejewicz abaaf04b87 Merge branch 'modifiers' into 'master'
Add simple modifiers support

See merge request Librem5/squeekboard!306
2020-03-07 10:32:33 +00:00
Dorota Czaplejewicz 2770e1769c sizing: Ignore scaling factor for layout selection 2020-03-07 10:31:39 +00:00
Dorota Czaplejewicz 3cd170acc3 sizing: Create a standalone UI shape manager
The manager is used for sizing the layer surface. It promises never to exceed half the output height.

The selection of the current layout is not being done here, leading to worse behaviour in 1:1 scaling.

In the future, it could be used for sizing the keyboard itself and the suggestion box, as well as decide which layout to use, because layouts should have some sizing hints.
2020-03-07 10:31:39 +00:00
Dorota Czaplejewicz 24f709ab13 Remove unused code 2020-03-07 10:31:39 +00:00