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
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
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
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
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
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
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
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
78735677d2
Merge branch 'pkg-only' into 'master'
...
gitlab-ci: Add PKG_ONLY
See merge request World/Phosh/squeekboard!498
2021-12-06 16:24:41 +00:00
12cf628c71
Add URL and EMail keyboard variants for us
...
Closes : #65
2021-12-05 21:26:44 +01:00
da7230e723
po: Add desktop file to translatable files
2021-12-05 21:06:40 +01:00
e91f6419fb
data: Make generic name truly generic
...
And mention that it's an on screen keyboard which is the more widely
used term in end user facing string.
2021-12-05 21:06:40 +01:00
16dd4f9753
server-context-servide: Don't translate application name
2021-12-05 21:04:43 +01:00
b41aedabbf
eekboard-context-service: Don't translate property names
...
No need to bother translators with this.
2021-12-05 21:04:43 +01:00
7a1e646bc9
debian: Install desktop file
...
Distros like Debian ship it anyway
2021-12-05 20:57:02 +01:00
4f19a81d78
debian: Switch to dh 13
...
This adds goodies like failing on inexistent files. It's well
supported in Debian Bullseye, PureOS Byzantium and newer versions.
2021-12-05 19:35:19 +01:00
5054f4c9de
Merge branch 'pin-keyboard' into 'master'
...
Use special pin keyboard
See merge request World/Phosh/squeekboard!492
2021-12-05 18:23:35 +00:00
6eb3914ab3
Merge branch 'po' into 'master'
...
Add initial po support
Closes #315
See merge request World/Phosh/squeekboard!497
2021-12-05 18:02:55 +00:00
674c1384db
readme: Clarify basic running steps
2021-12-05 17:54:05 +00:00
1b13df3364
docs: Move env vars section to debugging
2021-12-05 17:47:37 +00:00
e48d8bee4d
readme: Change self-reference to repo to gnome
2021-12-05 17:46:03 +00:00
0c4d3e5450
debian: Install translations
2021-12-05 18:14:39 +01:00
9d97fa4d29
pin: Use less margin
...
Introduce a common.css so styles don't deviate unintentionally between
the different themes. Way more stuff can be moved here once this is in.
2021-12-05 17:34:40 +01:00
321dadba34
renderer: Set style class based on input purpose
2021-12-05 17:34:40 +01:00
4903f3d1a0
layout: Keep content purpose around
...
This allows to add proper CSS style classes based on that
2021-12-05 17:31:12 +01:00
3513bf8de4
Use special pin keyboard
...
This helps muscle memory
2021-12-05 17:31:12 +01:00