Commit Graph

2072 Commits

Author SHA1 Message Date
b85903cb21 Add Brazilian Portuguese translation 2021-12-22 12:39:07 +00:00
dcz
67d2f8d8e6 Merge branch 'po-popover' into 'master'
po: Fix ui file name

See merge request World/Phosh/squeekboard!514
2021-12-22 10:36:38 +00:00
6979b6d08d po: Fix ui file name
The file was renamed to match the code

Fixes: 2aa9cf2 ("popover: Make the ui file match the code file name")
2021-12-22 09:39:12 +01:00
44b9c8f869 Merge branch 'rel' into 'master'
Release 1.15.0 "Feedback loop"

See merge request World/Phosh/squeekboard!513
2021-12-21 15:48:51 +00:00
23ae771605 Release 1.15.0 "Feedback loop"
This release adds new layouts, and new types of layout, plus fixes a regular allotment of bugs, and improvs the internal design a whole lot.

Here are the changes that you might notice without digging into code.

Layouts:
- Arabic layout from Khaled Eldoheiri
- Swiss French from Jordi
- Bulgarian from Plamen Stoev
- Swiss German from Patrick Jörg
- Armenian from Norayr Chilingarian
- Wide French terminal from Arnaud Ferraris
- PIN layout

Improvements:
- Integration into GNOME translations
- A debug mode that starts the GTK inspector
- Better errors when can't start
- Better docs (thanks PhilProg)

Bug fixes:
- Unblurred icons
- Not showing on the lock screen for no reason
- Theme changes without restarting now
- Input hint can take effect without having to refocus the field
v1.15.0
2021-12-19 14:14:55 +00:00
e0da17aa7d cargo: version bump 2021-12-19 13:57:03 +00:00
dcz
17b8e8cc2c Merge branch 'animation' into 'master'
visibility state machine

See merge request World/Phosh/squeekboard!494
2021-12-19 13:48:34 +00:00
9985f81624 Merge branch 'scale' into 'master'
renderer: Take context scale into account when drawing icons

Closes #139

See merge request World/Phosh/squeekboard!512
2021-12-18 14:37:53 +00:00
589b5e490e renderer: Take context scale into account when drawing icons
Closes: #139
2021-12-18 12:31:31 +00:00
e1b3de9bf8 Merge branch 'indent' into 'master'
ci: Make indentation close to original again

See merge request World/Phosh/squeekboard!511
2021-12-17 12:03:58 +00:00
c54b6e2d3b ci: Make indentation close to original again 2021-12-17 11:21:19 +00:00
dcz
7b8cecbf90 Merge branch 'fo' into 'master'
Revert "ci: Use bookworm image"

See merge request World/Phosh/squeekboard!509
2021-12-16 14:42:54 +00:00
4a7dc799be ci: Fix formatting
At the same time, reduce indentation level on lists because otherwise the formatter is broken.
2021-12-16 14:03:16 +00:00
b2485c343a Revert "ci: Use bookworm image"
This reverts commit d7e27bc793.

Bookworm breaks build because it ships a newer version of rustlib-regex than supported.
2021-12-16 12:47:51 +00:00
dcz
ac3f390cc6 Merge branch 'ci_b' into 'master'
ci: Use byzantium image

See merge request World/Phosh/squeekboard!500
2021-12-16 01:52:36 +00:00
dcz
9f74e95cef Merge branch 'ci_c' into 'master'
ci: speed improvements

See merge request World/Phosh/squeekboard!505
2021-12-16 01:52:08 +00:00
0b9d8acdd7 Merge branch 'submission' into 'master'
popover: Fix reentrancy problem

See merge request World/Phosh/squeekboard!507
2021-12-12 15:19:16 +00:00
3d60dd96af Revert "util: Add ArcWrapped"
This reverts commit 5c1b28e4ed8b046a251609e5f7db4b4df9e710f5.

It has only been needed to move Rust structure across C bridges. That's unneeded with more integration.
2021-12-12 12:49:12 +00:00
4cc7017e1c event_loop: Separate and use for physical keyboard presence
Extra included: Change of naked Submission pointers to Wrapped.
2021-12-12 12:49:11 +00:00
53137fd2e2 state: Connect the animation state machine to the rest
This ensures that the new state machine is fed events, as well as that its results are applied.

The old ad-hoc system is removed.

There is one regression where the last layout will be used when the panel is brought up manually.
2021-12-12 12:48:06 +00:00
334504a5b2 animation: Prototype a way of handling state and applying it separately
Handling visibility state ad-hoc has shortcomings in testability and locality, and this module attmepts to rectify that by creating an explicit state machine, along with a loop to drive it.

Actually applying state is not implemented here.
2021-12-12 12:48:06 +00:00
f5a1d379ca util: Add ArcWrapped
This structure is necessary to wrap Send data structures which are actually moved between threads.
2021-12-12 12:48:06 +00:00
2fea092691 Merge branch 'style' into 'master'
ci: style enforcement

See merge request World/Phosh/squeekboard!506
2021-12-09 13:05:32 +00:00
d64b8cdf1a submission: Wrap the structure in a safe wrapper 2021-12-09 12:43:36 +00:00
81948425d8 popover: Fix reentrancy problem
Calling popover.show() returns control to the main loop, but squeekboard structures are still borrowed meanwhile. That's dangerous and forbidden in Rust. Therefore, this forces the return from the stack and release of the borrows before the glib main loop is invoked again.
2021-12-09 12:41:58 +00:00
7a07f1616d ci: Include pre-build style check 2021-12-09 11:42:33 +00:00
f986f14220 ci: Reformat yaml file
Includes a formatter script
2021-12-09 11:42:12 +00:00
dcz
2ac4980db9 Merge branch 'po-popover' into 'master'
Use po for overlay layout translations too

Closes #316

See merge request World/Phosh/squeekboard!504
2021-12-09 11:13:55 +00:00
1451c746e7 Merge branch 'ci' into 'master'
ci: Add git revision and CI pipeline number to .deb artifacts

See merge request World/Phosh/squeekboard!499
2021-12-09 10:46:02 +00:00
0a417fe4a2 Remove custom translations
Can be handled via po. Most of them should come via libgnome-desktop
anyway and half of them weren't listed in LAYOUT_NAMES so were unused
anyway.
2021-12-09 11:29:48 +01:00
750814e050 Drop locale_config
Not used anymore.
2021-12-09 11:29:48 +01:00
10ea276052 Drop custom translation handling
xkb layouts are translated fine by libgnome-desktop. If not
we should go fixing there since that makes keyboard layout
strings consistent with e.g. gnome-control-center.

There weren't any 'exotic' strings in the current translations
so what we get from libgnome-desktop should be just fine.
2021-12-09 11:29:48 +01:00
d7e27bc793 ci: Use bookworm image
The image for x86_64 is a custom one from the registry.
2021-12-08 20:29:25 +00:00
cd869e323e ci: Add git revision and CI pipeline number to .deb artifacts 2021-12-08 19:54:48 +00:00
1a193a9aed Merge branch 'refs' into 'master'
README/docs improvements

See merge request World/Phosh/squeekboard!501
2021-12-08 19:25:52 +00:00
e380179144 ci: Start lintian test right after deb build
The arm64 build often takes a longer time than the rest, so there's no reason to wait for it in the default staged configuration.
2021-12-08 19:20:23 +00:00
b8fece97d9 ci: Move release test to the start 2021-12-08 19:19:15 +00:00
f9c15845a1 ci: Use cached artifacts in the test
gitlab changed how it interprets the "needs" directive, which caused cargo to recompile. Using cached _build directory saves about 2 minutes.
2021-12-08 19:19:07 +00:00
72a7825c85 popover: Don't complain about missing translations
It's fine to do all via po.
2021-12-08 15:29:57 +01:00
da789bcb87 Remove emoji and terminal from translations
Handled via po. Remove now empty files. The match with resources.rs
shows that some of them weren't even used (e.g. fa-IR) showing why a
switch to po is useful (which allows to maintain us that outside of
code).
2021-12-08 15:29:57 +01:00
2aa9cf26ee popover: Make the ui file match the code file name
UI files are usually named like the code file. Stick to that
pattern.
2021-12-08 15:29:57 +01:00
ac833950ab popover: Add translator notes
Single words are hard to translate in context, give some indication what
they do. They're automatically extracted into the pot file.

  #. translators: This is a emmoji keyboard layout
  #: data/popover.ui:6
  msgid "Emoji"
  msgstr "…"

  #. translators: This is a terminal keyboard layout
  #: data/popover.ui:12
  msgid "Terminal"
  msgstr "…"
2021-12-08 15:29:57 +01:00
9b7e065b0f popover: Move Emoji and Terminal to ui file
This allows them to be translated via po so we don't have to maintain
the translation list by hand or care about empty translation files.

The only downside is that the "overlay layouts" in OVERLAY_NAMES need to
match the ones in the ui file but since a missing one is a clean crash
when selected there's little potential for subtle breackage. We could
even ensure consistency by comparing the two at run time but they change
only slowly this is not much of an issue (compared to how e.g. new
languages can be added now).
2021-12-08 15:27:17 +01:00
20ef5b6925 readme: Update features 2021-12-08 12:21:59 +00:00
90df025b9f readme: Put emphasis on being an input method
There's a lot of expectations to make Squeekboard merely a keyboard for the sake of desktop-like workflows, which would hinder the common use case of entering text. The new wording hopefully doesn't foster such a misunderstanding.
2021-12-08 12:18:40 +00:00
dcz
e776bf005e Merge branch 'email-and-url-variant' into 'master'
Add URL and email variants for US layout

Closes #65

See merge request World/Phosh/squeekboard!495
2021-12-08 11:52:17 +00:00
dcz
aea0d413f3 Merge branch 'po-cleanups' into 'master'
i18n improvements

See merge request World/Phosh/squeekboard!503
2021-12-07 20:41:48 +00:00
a9f5429bcb gitignore: Ignore generated po files 2021-12-07 20:11:58 +01:00
12c10ad726 gitignore: Drop zanata dir
Unused since ages
2021-12-07 20:11:27 +01:00
dcz
79ce23822d Merge branch 'dh-13' into 'master'
debian: Switch to dh 13

See merge request World/Phosh/squeekboard!502
2021-12-06 16:25:32 +00:00