4357052fe7
proposal for belgian layout (copy of fr)
2020-09-30 15:42:31 +02:00
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
7aa004ceff
Fix spelling mistakes in doc/hacking.md
...
Fixes #217
2020-09-25 21:44:27 +10:00
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
5580853f31
Merge branch 'depr' into 'master'
...
rust: Fix deprecation warnings
See merge request Librem5/squeekboard!374
2020-09-21 17:01:51 +00:00
d93e9c2b11
rust: Fix deprecation warnings
2020-09-21 10:57:01 +00:00
4ccf11f4fd
server-context-service: Don't show keyboard when disabled
...
If the corresponding a11y settings is disbaled don't unfold
the keyboad at all.
This helps e.g. running the same session on laptops or when
an external keyboard is attached.
Closes : #222
2020-09-14 11:34:17 +02:00
6c5df02921
Merge branch 'cleanup' into 'master'
...
A bunch of cleanups
See merge request Librem5/squeekboard!371
2020-09-14 09:26:20 +00:00
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
820a8b6ca1
Add Ukrainian keyboard layout.
...
Fixes https://source.puri.sm/Librem5/squeekboard/-/issues/223
Signed-off-by: Nazarii Kretovych <nazarii.kretovych@gmail.com >
2020-09-14 08:34:09 +03:00
8bdfb69dc1
server-context-service: swap signal arguments
...
This makes sure 'self' comes first. While at that fix the
function signatures and use ServerContextService directly
and add type checks so it's easy to notice when we messed up.
2020-09-11 20:44:36 +02:00
1e6bcef055
server-context-service: Consistenty name self argument 'self'
...
It's confusing when the object a method acts on is sometimes called
context and sometimes called state. So name it 'self' as we do
in other projects.
2020-09-11 20:05:49 +02:00
07faf906d8
eekboard-context-service: Drop private struct
...
There's no point having it for a final type and it only
makes the code harder to read.
2020-09-11 18:55:35 +02:00
53f30324f0
eekboard-context-service: Drop the GObject boilerplate
...
The previous commits show it's not really a derivable type
so make it a finale one.
2020-09-11 18:55:35 +02:00
3e212ddab4
eekboard-context-service: Drop docstrings for inexistent functions
2020-09-11 18:46:22 +02:00
966990ad65
eekboad-context-service: Drop signal class handler
...
It's unused
2020-09-11 18:45:33 +02:00
a8b81172fc
build: Enable '-Wformat-nonliteral'
2020-09-11 18:40:56 +02:00
97f51591b3
ServerContextService: Drop GObject boilerplate
...
G_DECLARE_FINAL_TYPE does this for us
2020-09-11 18:16:30 +02:00
6756fb423a
build: Enable -Wredundant-declarations
2020-09-11 18:16:30 +02:00
eb7673d2c2
treewide: Drop redundant declarations
2020-09-11 18:16:30 +02:00
24b6a04903
build: Enable -Wmaybe-uninitialized
...
No changes needed.
2020-09-11 18:16:30 +02:00
b197cd839e
build: Enable -Wformat-security
...
No changes needed.
2020-09-11 18:16:30 +02:00
857a916402
build: Enable -Winit-self
...
No changes needed
2020-09-11 18:16:30 +02:00
ca68fc2040
eek-keyboard: Don't ignore return value
...
This fixes
../eek/eek-keyboard.c:71:5: warning: ignoring return value of ‘getrandom’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
71 | getrandom(r, 6, GRND_NONBLOCK);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[17/32] Compiling C object 'src/25a6634@@libsqueekboard@sta/.._eek_eek-renderer.c.o'
2020-09-11 18:16:30 +02:00
bd661bd4f4
gitlab-ci: Enable --Werror
...
This makes sure we don't have more warnings creeping in
2020-09-11 18:16:30 +02:00
4228192bda
layout: Fix warning
...
This fixes
warning: unnecessary parentheses around block return value
--> /var/scratch/librem5/squeekboard/src/layout.rs:110:13
|
110 | / (point.x > self.x && point.x < self.x + self.width
111 | | && point.y > self.y && point.y < self.y + self.height)
| |______________________________________________________________________^
|
= note: `#[warn(unused_parens)]` on by default
2020-09-11 18:16:30 +02:00
0f7ab99da3
keyboard: Fix warning
...
warning: unused variable: `name`
--> /var/scratch/librem5/squeekboard/src/keyboard.rs:195:10
|
195 | for (name, state) in keystates.iter() {
| ^^^^ help: consider prefixing with an underscore: `_name`
2020-09-11 18:16:30 +02:00
e15d317488
eekboard-context-service: Drop EEKBOARD_CONTEXT_SERVICE_GET_PRIVATE
...
This fixes the
../eekboard/eekboard-context-service.c:244:13: warning: Deprecated pre-processor symbol, replace with
244 | self->priv = EEKBOARD_CONTEXT_SERVICE_GET_PRIVATE(self);
warning and makes us use more modern GObject style
2020-09-11 18:16:30 +02:00
93e9ce0dd7
build: Enable '-Wunused-function'
2020-09-11 18:16:13 +02:00
9d63b505ec
build: Enable '-Wold-style-definition' '-Wstrict-prototypes'
2020-09-11 18:15:44 +02:00
306c11f1fd
treewide: Use new style function definitions
2020-09-11 18:15:02 +02:00
c26feed8b2
eekboard-context-service: Return early if schema is unavailable
...
This also fixes a leak of GSettingsSchema.
2020-09-11 18:14:19 +02:00
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
e5796d0d7b
Merge branch 'rel-1.9.3' into 'master'
...
Document changes and release 1.9.3
Closes #212
See merge request Librem5/squeekboard!369
2020-08-06 15:50:00 +00:00
1ee58ce7a0
Document changes and release 1.9.3
v1.9.3
2020-08-05 16:17:44 +02:00
88821e2e82
Merge branch 'terminal' into 'master'
...
Terminal layout: another approach
See merge request Librem5/squeekboard!368
2020-07-20 09:48:36 +00:00
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
c87b61d065
Brazilian Portuguese Keyboard Layout.
2020-07-20 09:47:19 +00:00
97da44f059
Terminal layout: another approach
2020-07-18 05:43:15 +02:00
f5a5282219
Revert "Merge branch 'btantau-master-patch-76686' into 'master'"
...
This reverts commit 0c8feb7687 , reversing
changes made to 762e12431d .
2020-07-18 03:26:03 +02:00
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
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
9512fd8436
virtual_keyboard: Fix desynced modifiers state
...
This ensures that keymap switches leave modifiers and virtual keys in a known state.
2020-07-15 18:08:59 +00:00
0c8feb7687
Merge branch 'btantau-master-patch-76686' into 'master'
...
New terminal layout, showing more useful keys at the same time
See merge request Librem5/squeekboard!345
2020-07-15 15:06:36 +00:00
f3f1d58fe1
Add Menu key.
2020-07-15 14:42:55 +00:00
c0c666f1b3
Make f-keys slightly wider.
2020-07-15 14:41:17 +00:00
ea22afba79
Add missing Ê key.
2020-07-15 14:41:01 +00:00
d7c7528d3d
italian: Fix space and period
2020-07-10 15:04:43 +00:00
93ff086e3a
ci: Re-add x64 Buster build
2020-06-28 17:38:10 +00:00
4f72779681
size: Hardcode size to work around screen rotation
...
Phoc sends output information *after* changing keyboard surface size. Squeekboard adjusts size on surface events, but not on output in this revision, making it unaware of display size at the time of adjustment, resulting in bad adjustment.
This change hardcodes the proportions again to make it work at least on the Librem5.
2020-06-28 17:14:49 +00:00