Commit Graph

1999 Commits

Author SHA1 Message Date
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
dcz
956377fd2f Merge branch 'input-purpose-toggle' into 'master'
Honor input-purpose only changes

Closes #311

See merge request World/Phosh/squeekboard!493
2021-12-05 14:33:54 +00:00
dcz
0a09036979 Merge branch 'de_DE-translation' into 'master'
langs: Don't use empty translation file

Closes #313

See merge request World/Phosh/squeekboard!496
2021-12-03 17:30:20 +00:00
73e7908709 langs: Don't use empty translation file
This breaks the translation

Closes: #313
2021-12-03 16:57:26 +01:00
06b17907bf imservice: Invoke eekboard_context_service_set_hint_purpose unconditionally
Since eekboard_context_service_set_hint_purpose() checks if the
hint or purpose changed this doesn't cause unwanted layout reloads.

Closes: #311
2021-12-02 09:19:50 +01:00
912fe0b7b7 entry: Add a random text entry field
This allows to test the case where the purpose changes but nothing else.
2021-12-02 09:19:50 +01:00
937638c582 entry: Set a margin on the grids
Less heavy on the eyes.
2021-12-01 14:40:55 +01:00
894191d3a0 entry: Use a scrolled window
This ensures all entries are reachable even with the OSK unfolded
2021-12-01 14:40:55 +01:00
dcz
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
dcz
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
dcz
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
dcz
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
dcz
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
dcz
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
dcz
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
dcz
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
dcz
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
dcz
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
dcz
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
dcz
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
dcz
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
dcz
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