Commit Graph
100 Commits
Author SHA1 Message Date
Dorota Czaplejewicz 93d0dcdc99 Merge branch 'text' into 'master'
Text property

Closes #153

See merge request Librem5/squeekboard!257
2019-11-28 09:19:30 +00:00
Dorota Czaplejewicz b252f7659b rust: Be compatible with older Rust 2019-11-27 16:52:50 +00:00
Dorota Czaplejewicz af6ad1fce6 buttons: Accept "text" and drop xkb keysym derivation 2019-11-27 16:52:50 +00:00
Dorota Czaplejewicz 3aec821f92 Merge branch 'errors' into 'master'
Better layout checking

Closes #131

See merge request Librem5/squeekboard!255
2019-11-27 16:22:08 +00:00
Dorota Czaplejewicz 80ac591535 Merge branch 'deadkey' into 'master'
Bugfix release 1.3.2: work around sending keycode 0

See merge request Librem5/squeekboard!267
2019-11-26 15:55:10 +00:00
Dorota Czaplejewicz 579ba8ab87 Release 1.3.2 2019-11-26 15:38:32 +00:00
Dorota Czaplejewicz 5a262242a3 keymap: Work around sending keycode 0
If keycode 0 resolves to a letter, the the press is ignored by the compositor. This works around the bug.
2019-11-26 15:35:22 +00:00
Dorota Czaplejewicz bb18e60754 Merge branch 'release1' into 'master'
Release 1.3.1

See merge request Librem5/squeekboard!265
2019-11-20 22:24:02 +00:00
Dorota Czaplejewicz 35bc163107 Release 1.3.1
Fixing layout issues and building failures due to tests taking a long time.
2019-11-20 22:13:31 +00:00
Dorota Czaplejewicz 317d8a58dc Merge branch 'translations' into 'master'
translations: Updated pl and en with new layouts

See merge request Librem5/squeekboard!261
2019-11-20 12:26:39 +00:00
Dorota Czaplejewicz 89b3ab9a81 translations: Updated pl and en with new layouts 2019-11-20 12:12:07 +00:00
Dorota Czaplejewicz be4ac32477 Merge branch '153-fix-German-layout-xkb-buttons-without-keycode-property' into 'master'
German layout: Correct xkb symbols usage

See merge request Librem5/squeekboard!251
2019-11-20 11:15:18 +00:00
Dorota Czaplejewicz 8c48e96f50 Merge branch 'codes' into 'master'
Language code fixes

See merge request Librem5/squeekboard!258
2019-11-20 11:12:47 +00:00
Dorota Czaplejewicz f15619287a Merge branch 'de' into 'master'
DE fixes

See merge request Librem5/squeekboard!259
2019-11-20 10:47:34 +00:00
Dorota Czaplejewicz eb5c28e77f translation: Use right codes in German 2019-11-20 10:25:56 +00:00
Dorota Czaplejewicz 7fb34feaf8 translations: Use the correct code for Norwegian 2019-11-20 10:24:31 +00:00
Dorota Czaplejewicz 20a6cf52ac layouts: Rename ja+kana to jp+kana 2019-11-20 10:23:05 +00:00
Dorota Czaplejewicz c566d8853e translations: Register Spanish 2019-11-20 10:21:41 +00:00
Dorota Czaplejewicz 0beddc6856 Merge branch 'patch-8' into 'master'
translations: Spanish

See merge request Librem5/squeekboard!246
2019-11-20 10:11:48 +00:00
Dorota Czaplejewicz 9b271a6919 devel: Package squeekboard-test-layout 2019-11-19 12:22:24 +00:00
Dorota Czaplejewicz 1db561d33a build: Handle output files better 2019-11-19 12:15:08 +00:00
Dorota Czaplejewicz 3170a0b615 Merge branch 'renderer' into 'master'
Renderer reworks

See merge request Librem5/squeekboard!238
2019-11-19 10:34:47 +00:00
Dorota Czaplejewicz 9571adb107 tests: Executable for testing layouts 2019-11-19 09:47:32 +00:00
Dorota Czaplejewicz f834f174d8 cargo: Copy target with properties, find filename automatically 2019-11-19 09:35:32 +00:00
Dorota Czaplejewicz 3c0b142c4f warnings: Print at runtime, crash at test time 2019-11-19 08:29:57 +00:00
Dorota Czaplejewicz cffe07521e Merge branch 'prebuild_tests' into 'master'
Prebuild tests

See merge request Librem5/squeekboard!250
2019-11-17 15:14:50 +00:00
Dorota Czaplejewicz 36af546362 tests: Bump timeout for the execution of all unit tests 2019-11-17 15:06:07 +00:00
Dorota Czaplejewicz 0da848a5a0 tests: Use correct test compilation command 2019-11-17 14:56:25 +00:00
Dorota Czaplejewicz 8c9ae98bda Merge branch 'release' into 'master'
Release 1.3.0

See merge request Librem5/squeekboard!247
2019-11-16 15:49:58 +00:00
Dorota Czaplejewicz 7cc8eecd26 Release 1.3.0 2019-11-16 15:40:56 +00:00
Dorota Czaplejewicz 3f6bb7f60b Merge branch 'fi' into 'master'
layouts: Correct most unneeded xkb symbols usage

See merge request Librem5/squeekboard!245
2019-11-15 16:50:35 +00:00
Dorota Czaplejewicz d7ee2f4c3c layouts: Correct most unneeded xkb symbols usage 2019-11-15 15:11:12 +00:00
Dorota Czaplejewicz 98f14d3e81 Merge branch 'fix_swedish_layout' into 'master'
Fix åäö in Swedish layout

See merge request Librem5/squeekboard!244
2019-11-15 15:00:19 +00:00
Dorota Czaplejewicz 02ec745856 Merge branch 'update-copyright' into 'master'
Update copyright information

See merge request Librem5/squeekboard!241
2019-11-15 14:33:23 +00:00
Dorota Czaplejewicz d8cb6ab383 Merge branch 'remove-old-files' into 'master'
Remove unused files

See merge request Librem5/squeekboard!242
2019-11-15 13:52:56 +00:00
Dorota Czaplejewicz db52a842b2 Merge branch 'caches' into 'master'
Fix leaks

See merge request Librem5/squeekboard!237
2019-11-15 13:50:29 +00:00
Dorota Czaplejewicz 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
Dorota Czaplejewicz 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
Dorota Czaplejewicz 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
Dorota Czaplejewicz e47ec16293 Merge branch 'fi' into 'master'
Finnish layout

See merge request Librem5/squeekboard!240
2019-11-12 14:51:44 +00:00
Dorota Czaplejewicz 6fe08967f6 fi: add tests 2019-11-12 14:44:37 +00:00
Dorota Czaplejewicz 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
Dorota Czaplejewicz ea4bf3de29 tools: A theme override wrapper useful for the Librem5 2019-11-11 16:49:21 +00:00
Dorota Czaplejewicz 55584e27fa translations: Filled out Polish 2019-11-08 10:21:35 +00:00
Dorota Czaplejewicz 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
Dorota Czaplejewicz c096698ec1 renderer: Remove unused ascii_font 2019-11-07 14:13:27 +00:00
Dorota Czaplejewicz 3aaaed3bae renderer: Clean up EekColor & label 2019-11-07 14:10:20 +00:00
Dorota Czaplejewicz f1c76a0ca4 Don't leak CSS 2019-11-06 15:46:53 +00:00
Dorota Czaplejewicz b78c3ad131 Try to free keymaps 2019-11-06 14:51:54 +00:00
Dorota Czaplejewicz b6dfb20fec cache: Remove keyboard cache 2019-11-06 14:45:33 +00:00
Dorota Czaplejewicz 7d18f81a30 Remove unused surface caches 2019-11-06 14:32:23 +00:00
Dorota Czaplejewicz 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
Dorota Czaplejewicz 47c4119ab7 Add a popover menu to switch languages 2019-11-05 13:10:55 +00:00
Dorota Czaplejewicz e71e843eff hacking: Define big no-nos in code style 2019-11-05 11:11:56 +00:00
Dorota Czaplejewicz 6e90c9a833 hacking: Clarify dev env and testing 2019-11-05 11:11:52 +00:00
Dorota Czaplejewicz e080d4351e Release 1.2.2 "Dark matter"
Major changes:

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

See merge request Librem5/squeekboard!216
2019-10-29 14:11:44 +00:00
Dorota Czaplejewicz ea0926147f us: Improve height a little 2019-10-29 13:32:53 +00:00
Dorota Czaplejewicz ce223e04e6 icons: Fix scaling to 16 units of scale 2019-10-29 13:32:53 +00:00
Dorota Czaplejewicz ddd1c1b16b wide: Fix shift widths 2019-10-29 13:28:14 +00:00
Dorota Czaplejewicz 0f1f6531da wide: Reduce button spaces 2019-10-29 13:28:14 +00:00
Dorota Czaplejewicz 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
Dorota Czaplejewicz 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
Dorota Czaplejewicz bd3b27eceb build: Make borrowing compliant with older Rust 2019-10-29 13:21:46 +00:00
Dorota Czaplejewicz 35ad61890e layouts: Add us_wide 2019-10-29 13:21:46 +00:00
Dorota Czaplejewicz 1b1fbed7de layouts: Change type based on shape 2019-10-29 13:21:46 +00:00
Dorota Czaplejewicz 264d30d884 build: Disallow implicit int conversions 2019-10-29 13:21:46 +00:00
Dorota Czaplejewicz 38d8290b59 height: Adjust based on layer surface width 2019-10-29 13:21:46 +00:00
Dorota Czaplejewicz 254b65681a layersurface: Update from phosh 2019-10-29 13:21:46 +00:00
Dorota Czaplejewicz fbb3824a3d height: Derive from display width 2019-10-29 13:21:46 +00:00
Dorota Czaplejewicz 24126ad4f3 wayland: Listen to output changes 2019-10-29 13:21:46 +00:00
Dorota Czaplejewicz 869a0af67f cleanup: eek-gtk.h 2019-10-29 13:21:46 +00:00
Dorota Czaplejewicz 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
Dorota Czaplejewicz 01fe433612 icons: Remove caching 2019-10-25 15:43:29 +00:00
Dorota Czaplejewicz 63e55ff5c4 renderer: Free temporary surfaces 2019-10-25 15:18:37 +00:00
Dorota Czaplejewicz 8d4d50cfca Merge branch 'ci_deps' into 'master'
Ci deps

See merge request Librem5/squeekboard!228
2019-10-25 09:54:38 +00:00
Dorota Czaplejewicz dde659dbd3 ci: Delete large debug build directory early
There's no need to keep it for a long time, as its only purpose is to feed the test stage
2019-10-24 20:29:19 +00:00
Dorota Czaplejewicz 788a39f144 ci: Start test stage immediately after build_meson 2019-10-24 20:28:13 +00:00
Dorota Czaplejewicz 43e2b7b803 Merge branch 'master' into 'master'
i think in italian "," is better then "?"

See merge request Librem5/squeekboard!224
2019-10-24 18:17:58 +00:00
Dorota Czaplejewicz bdef7b3516 Merge remote-tracking branch 'kareema/japanese-kana-keyboard-layout' into HEAD 2019-10-24 18:09:16 +00:00
Dorota Czaplejewicz 57d36e476b Merge branch 'german-keyboard-layout' into 'master'
layouts: Add German keyboard layout

See merge request Librem5/squeekboard!227
2019-10-24 18:03:23 +00:00
Dorota Czaplejewicz 1290fd4a1e rust: Fix old compiler compat 2019-10-23 15:11:19 +00:00
Dorota Czaplejewicz c99efc430c presses: Move press handling to Rust
This fixes some rendering things which would happen with multiple state-sharing buttons. It also removes some interfaces exposing rows, views, layouts, and buttons, bringing the code closer to removing them from the FFI entirely.
2019-10-23 15:11:16 +00:00
Dorota Czaplejewicz ce6c9cbea3 Merge branch 'cleanup' into 'master'
cleanup: Unused types

See merge request Librem5/squeekboard!222
2019-10-22 13:38:41 +00:00
Dorota Czaplejewicz 4cdfc30c29 Merge branch 'fallbacks' into 'master'
layouts: Simplify fallbackss handling

See merge request Librem5/squeekboard!221
2019-10-22 13:25:15 +00:00
Dorota Czaplejewicz 3b6c19401c util: Added pointer comparison struct
util::Pointer should be suitable for storing key states in bags like pressed_keys
2019-10-20 09:47:10 +00:00
Dorota Czaplejewicz 29231f7e31 cleanup: Unused types 2019-10-20 09:47:10 +00:00
Dorota Czaplejewicz 8f61a26fb4 Merge branch 'fix' into 'master'
tests: Fix automatic merge

See merge request Librem5/squeekboard!225
2019-10-19 16:53:09 +00:00
Dorota Czaplejewicz 8fd63cea80 tests: Fix automatic merge
The merge tool didn't realize that new files from one branch should have a format adhering to that of another branch.
2019-10-19 16:47:26 +00:00
Dorota Czaplejewicz ac58b675ef layouts: Simplify fallbackss handling 2019-10-16 09:43:41 +00:00
Dorota Czaplejewicz 89b56ddccf util: C-wrapped data don't need to be cloneable 2019-10-10 16:54:02 +00:00
Dorota Czaplejewicz f56c5e3879 examples: Remove stale eekboard example 2019-10-10 16:16:53 +00:00
Dorota Czaplejewicz 8eda2cd04d docs: Remove stale eekboard docs 2019-10-10 16:15:41 +00:00
Dorota Czaplejewicz cfd2bff1aa data: Remove eekboard desktop files 2019-10-10 16:15:05 +00:00
Dorota Czaplejewicz 02501aee9e authors: Update 2019-10-10 16:13:30 +00:00
Dorota Czaplejewicz 70056b68a7 Merge branch 'undefined' into 'master'
Replace it.yaml

See merge request Librem5/squeekboard!212
2019-10-10 14:50:09 +00:00
Dorota Czaplejewicz 9e078be603 buttons: Buttons are next to each other, padding is visual only 2019-10-09 20:34:46 +00:00
Dorota Czaplejewicz ac68d5d0a8 tests: Check keymap generation results 2019-10-09 16:08:50 +00:00
Dorota Czaplejewicz b45edcd4fe tests: Emulate clicking all submitting buttons 2019-10-09 15:54:06 +00:00
Dorota Czaplejewicz dc2bc46167 keymap: Simplified key state passing
There's no need to treat states as a shared resource before they are placed inside buttons.
2019-10-09 15:38:21 +00:00