74f55b30ef
po: Add German translation
2021-12-03 18:59:52 +01:00
d696c9624e
Reuse the unused popover ui file for i18n
...
Since the current code uses a handcoded approach for popup construction
reuse the unused ui file to keep translatable strings. Since UI file in
popover.rs runs through glib the strings get translated.
Future rework will allow us to get rid of this duplication but since the
ui file went unnoticed for so long who could possibly complain.
Closes : #315
2021-12-03 18:58:24 +01:00
964f1da305
Initialize gettext
2021-12-03 18:58:12 +01:00
9fbb974ce4
Merge branch 'have-more-fun-developing-squeekboard' into 'master'
...
main: Add debug flags to always show squeekboard on start and to activate GTK inspector
See merge request World/Phosh/squeekboard!485
2021-11-30 14:16:08 +00:00
e989df8b21
Merge branch 'purpose-pin' into 'master'
...
Honor input-purpose PIN
See merge request World/Phosh/squeekboard!491
2021-11-30 13:11:02 +00:00
0d7fab2ef4
Honor input-purpose PIN
...
Otherwise e.g. SIM pins are requested with a numerical keyboard.
2021-11-30 13:29:11 +01:00
f3eeedc92f
Merge branch 'style-check' into 'master'
...
Move style-check to separate script
See merge request World/Phosh/squeekboard!488
2021-11-23 17:53:02 +00:00
dd708456ff
Move style-check to separate script
...
This avoids having to copy out of .gitlab-ci.yml before submitting an MR
to do a style check.
Could become a meson target at some point.
2021-11-23 18:16:36 +01:00
f80faabfb1
Merge branch 'fix-terminal-fr-wide' into 'master'
...
resources: add wide FR terminal keyboard
See merge request World/Phosh/squeekboard!486
2021-11-23 13:58:58 +00:00
f225a34d70
resources: add wide FR terminal keyboard
...
The layout for this keyboard exists, however it isn't present in
`resources.rs`, making it unavailable.
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com >
2021-11-23 14:17:52 +01:00
dce848b3ce
README: Document SQUEEKBOARD_DEBUG environment variable
2021-11-23 12:46:16 +01:00
03aa04d6d8
main: Add debug flag to show GTK inspector
...
Since squeekboard doesn't ever get input focus and hence we can't
activate it via keybinding add a debug flag.
2021-11-23 11:36:37 +01:00
59662444d7
Merge branch 'fix-style-provider-crash' into 'master'
...
renderer: Disconnect theme change signal handler
See merge request World/Phosh/squeekboard!484
2021-11-22 17:16:01 +00:00
379a09e0d6
renderer: Disconnect theme change signal handler
...
The renderer does not stick around so we need to disconnect the signal
handler on "dispose". Since the renderer is not a GObject track the
signal id manually instead of using `g_signal_connect_object ()`.
Fixes 1995285 ("eek-renderer: Honor theme changes")
2021-11-22 17:56:15 +01:00
1c875cda6c
main: Add debug flag to always show squeekboard on start
...
This makes debugging way fun since there's no need to mess
with the running DBus, gsettings or anything else.
2021-11-22 17:10:43 +01:00
a6d766e650
renderer: Use g_debug ()
...
Switching to `g_debug ()` after adding `G_LOG_DOMAIN` got lost
in a rebase.
2021-11-22 17:08:17 +01:00
74977ec88f
gtk-keyboard: Don't set variable to NULL twice in a row
2021-11-22 17:08:15 +01:00
2169e0393b
Merge branch 'phosh-dark' into 'master'
...
Use dark theme when run in a Phosh session
Closes #242
See merge request World/Phosh/squeekboard!482
2021-11-22 13:27:07 +00:00
9ba900bf42
Merge branch 'honor-theme-changes' into 'master'
...
eek-renderer: Honor theme changes
Closes #296
See merge request World/Phosh/squeekboard!483
2021-11-22 13:23:22 +00:00
c3337b05b6
main: Use dark theme when run in a Phosh session
...
Downstreams either don't restyle making us divert from the designs or
use squeekboard-restyled adding extra complexity.
Closes : #242
2021-11-22 11:02:10 +01:00
28a48635b3
main: Avoid two error variables in the same function
...
This also fixes a superfluous additional `NULL` assignment right
after declaring error and setting it to NULL.
2021-11-22 11:01:06 +01:00
475761ec73
main: Drop broken support G_BUS_TYPE_SYSTEM
...
Fliping opt_system would still use opt_session so drop that.
While at that remove G_BUS_TYPE_NONE which can't be set by
an option either.
2021-11-22 11:01:06 +01:00
1995285b65
eek-renderer: Honor theme changes
...
Reload style providers so e.g. switching to HighContrast is handled.
Closes : #296
2021-11-22 10:27:43 +01:00
73515b5fe1
eek-renderer: Fix indentation
2021-11-22 10:27:43 +01:00
8cfce093e7
eek-renderer: Add log domain
...
This allows to only log renderer messages similar to what
other projects to. `G_MESSAGES_DEBUG=all` is unaffected.
2021-11-22 10:27:43 +01:00
359376041d
main: Honor --help and -h
...
Use a GOptionContext to display command line options (that are already
handled by e.g. gtk_init anyway).
This turns:
$ squeekboard -h
Debug: Tried file "/home/agx/.local/share/squeekboard/keyboards/us.yaml", but it's missing: No such file or directory (os error 2)
Info: Loaded layout Resource: us
Debug: Tried file "/home/agx/.local/share/squeekboard/keyboards/us.yaml", but it's missing: No such file or directory (os error 2)
Info: Loaded layout Resource: us
** (squeekboard:8015): WARNING **: 19:03:13.125: DBus unavailable, unclear how to continue. Is Squeekboard already running?
into the more useful
$ squeekboard -h
Usage:
squeekboard [OPTION…] - A on screen keyboard
Help Options:
-h, --help Show help options
--help-all Show all help options
--help-gtk Show GTK+ Options
Application Options:
--display=DISPLAY X display to use
...
2021-11-21 20:45:58 +01:00
6e1faafa2f
main: Remove trailing whitespace
2021-11-21 20:37:51 +01:00
5d6a9556ae
Merge branch 'keyboard-layout-armenian' into 'master'
...
armenian typewriter and phonetic keyboards.
See merge request World/Phosh/squeekboard!478
2021-11-19 18:27:54 +00:00
e487343046
Merge branch 'message' into 'master'
...
dbus: Hint that maybe squeekboard is running
See merge request World/Phosh/squeekboard!475
2021-11-19 15:56:54 +00:00
f15e4db818
Merge branch 'meson-0.60.0' into 'master'
...
data: Fix build with meson 0.60.0
Closes #299
See merge request World/Phosh/squeekboard!479
2021-11-06 13:05:27 +00:00
aa0e7d1c19
data: Fix build with meson 0.60.0
...
Drop the possitional argument since we otherwise see
data/meson.build:15:5: ERROR: Function does not take positional arguments.
2021-11-06 11:13:07 +01:00
dc7e84810b
dbus: Hint that maybe squeekboard is running
...
It seems that is Squeekboard is already running, the next instance will not fail to acquire a bus name, but instead lose it immediately. This message has been reported by users who experiment with Squeekboard for the first time, so let's make it easier for them to find the solution without having to reach out.
2021-10-31 14:39:43 +00:00
9f8df6f8cb
armenian layout also added to meson.build etc.
2021-10-26 04:39:53 +04:00
ef22432583
armenian typewriter and phonetic keyboards.
2021-10-26 04:00:32 +04:00
fc411d680b
Merge branch 'guide' into 'master'
...
readme: Mention the layout guide
See merge request World/Phosh/squeekboard!476
2021-09-11 07:54:40 +00:00
a74116a72f
readme: Mention the layout guide
...
Hopefully this will cause the number of people asking questions answered there lower.
2021-08-30 10:10:05 +00:00
fdb288c836
Merge branch 'version' into 'master'
...
build: Fix "any" dependency versioning
Closes #291
See merge request World/Phosh/squeekboard!474
2021-08-27 10:40:14 +00:00
9cd56185c5
build: Fix "any" dependency versioning
...
The version="" syntax is rejected with Rust 1.54, so change that to "*".
2021-08-23 14:53:51 +00:00
1f91cf00a4
Merge branch 'master' into 'master'
...
Add documentation about compositors
See merge request World/Phosh/squeekboard!473
2021-08-20 11:03:29 +00:00
faccd32316
Add documentation about compositors
2021-08-20 11:03:29 +00:00
82c320a075
Merge branch 'release' into HEAD
2021-08-19 12:22:12 +00:00
5db16f63ea
Merge remote-tracking branch 'petrisch/master' into HEAD
2021-08-19 11:58:17 +00:00
135403d878
Merge remote-tracking branch 'gnome/master' into HEAD
2021-08-19 11:29:44 +00:00
393c521216
Merge branch 'update-protocols' into 'master'
...
Update text input and input method protocols
See merge request World/Phosh/squeekboard!472
2021-08-18 10:50:43 +00:00
b5046d6cd3
Update zwp_input_method_v2
2021-08-13 08:36:33 -07:00
c31e10fc90
Update zwp_text_input_v3 (comment changes only)
2021-08-13 08:36:09 -07:00
d629542ce2
Merge branch 'update-entry-py-filepath' into 'master'
...
Update entry.py file path in readme
See merge request World/Phosh/squeekboard!470
2021-08-11 07:08:38 +00:00
e5984ed562
Update entry.py file path in readme
2021-08-10 15:53:28 -07:00
39c004ecfc
Merge branch 'ci' into 'master'
...
Fix gitlab CI
See merge request World/Phosh/squeekboard!471
2021-08-07 09:15:53 +00:00
31f8e4e49f
gitlab-ci: Drop build for outdated distributions
2021-08-07 10:56:39 +02:00