Commit Graph

1539 Commits

Author SHA1 Message Date
ad8c918e1a Merge branch 'style' into 'master'
Use dark style by default

See merge request Librem5/squeekboard!239
2019-11-15 13:49:28 +00:00
8191324e46 Remove unused files 2019-11-15 01:25:52 +01:00
6777f1b4b7 Update copyright information 2019-11-15 00:53:41 +01:00
0bfaa8cd7a debian: Wrap squeekboard in theme selector
This works around https://source.puri.sm/Librem5/squeekboard/issues/151 by providing a dark style to match the dark style of the layouts.
2019-11-13 14:07:23 +00:00
238900f01a Merge branch 'readme' into 'master'
hacking: Clarify dev env and testing

See merge request Librem5/squeekboard!231
2019-11-13 13:44:03 +00:00
e47ec16293 Merge branch 'fi' into 'master'
Finnish layout

See merge request Librem5/squeekboard!240
2019-11-12 14:51:44 +00:00
6fe08967f6 fi: add tests 2019-11-12 14:44:37 +00:00
71d2df8b2a Merge branch 'rename-nb-layout-to-no' into 'master'
Rename the nb layout to no, fixing input source selection

See merge request Librem5/squeekboard!233
2019-11-11 19:36:58 +00:00
8024998a4b Rename the nb layout to no, fixing input source selection 2019-11-11 19:36:58 +00:00
ea4bf3de29 tools: A theme override wrapper useful for the Librem5 2019-11-11 16:49:21 +00:00
87d368878b Merge branch 'rusty_popup' into 'master'
language selection popup

See merge request Librem5/squeekboard!190
2019-11-08 15:00:04 +00:00
55584e27fa translations: Filled out Polish 2019-11-08 10:21:35 +00:00
9f88660d99 locale: Add translations for layout names
Pulled in some Unix-specific code from https://github.com/rust-locale/locale_config to reduce dependencies.

First reason to reduce dependencies: gettext-rs is not in Debian. Copying gettext-sys might have made sense, but the interface is somewhat confusing.

For translating a couple identifiers, detection and some hand-rolled hash map is all that is needed, and the option to move to gettext later remains.

locale_config has been stripped of the lazy_static dependency, which, messing with the strtup sequence, might be a source of debugging woes. Plus setting language once in the beginning is somewhat inflexible regarding runtime changes.
2019-11-08 10:21:27 +00:00
c096698ec1 renderer: Remove unused ascii_font 2019-11-07 14:13:27 +00:00
3aaaed3bae renderer: Clean up EekColor & label 2019-11-07 14:10:20 +00:00
f1c76a0ca4 Don't leak CSS 2019-11-06 15:46:53 +00:00
b78c3ad131 Try to free keymaps 2019-11-06 14:51:54 +00:00
b6dfb20fec cache: Remove keyboard cache 2019-11-06 14:45:33 +00:00
7d18f81a30 Remove unused surface caches 2019-11-06 14:32:23 +00:00
959f5fbfc9 Merge branch 'drop-desktop-icon' into 'master'
Drop the desktop entry icon

See merge request Librem5/squeekboard!236
2019-11-05 17:14:16 +00:00
c2ad03af97 Drop the desktop entry icon
The icon doesn't exist, and having one set up prevents GNOME Usage from
displaying the desfault system component one, so we better drop it.
2019-11-05 18:07:22 +01:00
47c4119ab7 Add a popover menu to switch languages 2019-11-05 13:10:55 +00:00
e71e843eff hacking: Define big no-nos in code style 2019-11-05 11:11:56 +00:00
6e90c9a833 hacking: Clarify dev env and testing 2019-11-05 11:11:52 +00:00
1134d92357 Finnish keyboard layout same as Swedish 2019-11-02 21:28:23 +00:00
62009762f9 Merge branch 'add_swedish_layout' into 'master'
Add Swedish keyboard layout

See merge request Librem5/squeekboard!232
2019-11-01 17:36:23 +00:00
a58a18b63b Merge branch 'gusnan/squeekboard-add_swedish_layout' into 'add_swedish_layout'
Rename file, add it to resources and tests

See merge request gusnan/squeekboard!1
2019-11-01 17:08:11 +00:00
95022c1ac7 Rename file, add it to resources and tests 2019-11-01 16:50:13 +01:00
7760b50963 Add sv keyboard layout to resources.rs 2019-11-01 16:38:36 +01:00
85b79a5f8f Add Swedish keyboard layout 2019-10-31 16:31:36 +01:00
e080d4351e Release 1.2.2 "Dark matter"
Major changes:

- wide layout mode
v1.2.2
2019-10-30 12:41:07 +00:00
dcd4dbf931 Merge branch 'landscape' into 'master'
Landscape

See merge request Librem5/squeekboard!216
2019-10-29 14:11:44 +00:00
ea0926147f us: Improve height a little 2019-10-29 13:32:53 +00:00
ce223e04e6 icons: Fix scaling to 16 units of scale 2019-10-29 13:32:53 +00:00
ddd1c1b16b wide: Fix shift widths 2019-10-29 13:28:14 +00:00
0f1f6531da wide: Reduce button spaces 2019-10-29 13:28:14 +00:00
c917a1f818 layout: Keep kind metadata in loaded layouts
It will come useful for applying per-kind styling later without having to give each layout a new stylesheet
2019-10-29 13:27:54 +00:00
afe8fd64f4 output: Take transform into account
Without handling transform, the surface was created with the wrong size on rotated displays, causing flicker before the .configure event arrived. With, it will attempt to set the right size from the start.
2019-10-29 13:21:46 +00:00
bd3b27eceb build: Make borrowing compliant with older Rust 2019-10-29 13:21:46 +00:00
35ad61890e layouts: Add us_wide 2019-10-29 13:21:46 +00:00
1b1fbed7de layouts: Change type based on shape 2019-10-29 13:21:46 +00:00
264d30d884 build: Disallow implicit int conversions 2019-10-29 13:21:46 +00:00
38d8290b59 height: Adjust based on layer surface width 2019-10-29 13:21:46 +00:00
254b65681a layersurface: Update from phosh 2019-10-29 13:21:46 +00:00
fbb3824a3d height: Derive from display width 2019-10-29 13:21:46 +00:00
24126ad4f3 wayland: Listen to output changes 2019-10-29 13:21:46 +00:00
869a0af67f cleanup: eek-gtk.h 2019-10-29 13:21:46 +00:00
5281d96460 Merge branch 'renderer' into 'master'
Renderer improvements

See merge request Librem5/squeekboard!229
2019-10-28 21:49:38 +00:00
8f7f6c05c0 renderer: Remove dependencies on renderer in button rendering functions
The rendering functions become more pure, which, once reached, will allow for better tracking of what they do and easier modularization.
2019-10-28 21:13:58 +00:00
01fe433612 icons: Remove caching 2019-10-25 15:43:29 +00:00