Commit Graph
100 Commits
Author SHA1 Message Date
Dorota Czaplejewicz 9ff11dc511 Remove unused build dependencies 2019-12-16 18:22:23 +00:00
Dorota Czaplejewicz 1237537005 Merge branch 'lockfile' into 'master'
Use clap in the lockfile

See merge request Librem5/squeekboard!284
2019-12-15 19:07:23 +00:00
Dorota Czaplejewicz 927f088027 Use clap in the lockfile 2019-12-15 18:42:33 +00:00
Dorota Czaplejewicz 8b3f7e0b11 Merge branch 'positioning' into 'master'
Positioning

See merge request Librem5/squeekboard!274
2019-12-15 16:51:35 +00:00
Dorota Czaplejewicz ae43d7ca47 Merge branch 'terminal_purpose' into 'master'
Entry test: Add Terminal input purpose

See merge request Librem5/squeekboard!278
2019-12-15 16:41:59 +00:00
Dorota Czaplejewicz 432e4fe1e5 Merge branch 'drop_key' into 'master'
Simplify renderer

See merge request Librem5/squeekboard!272
2019-12-15 16:38:31 +00:00
Dorota Czaplejewicz 6afa2133d0 Merge branch 'squeekboard-test-layout-args-check' into 'master'
squeekboard-test-layout: add argument parsing and some more output

See merge request Librem5/squeekboard!277
2019-12-14 10:55:37 +00:00
Dorota Czaplejewicz 6f990f4528 hacking: Add DCO and licensing requirement 2019-12-11 15:44:26 +00:00
Dorota Czaplejewicz 0b136468c8 Entry test: Add Terminal input purpose 2019-12-09 13:38:19 +00:00
Dorota Czaplejewicz fe4642e71e Merge branch 'japanese-kana-wide-keyboard-layout' into 'master'
layout: add Japanese Kana wide layout

See merge request Librem5/squeekboard!275
2019-12-09 11:12:48 +00:00
Dorota Czaplejewicz b639c7f3f0 Fix old Rust woes 2019-12-08 07:04:22 +00:00
Dorota Czaplejewicz d80758fcd1 positioning: Clean up unused code 2019-12-07 21:33:38 +00:00
Dorota Czaplejewicz dd21bfed8d positioning: Calculate sizes instead of storing, move position out of widgets
Sizes of widgets can be derived, so storing them was only for C compatibility. Similar with storing position inside of widgets.

Some layout margin and scaling changes could be introduced, meaning a possibility of visual differences.
2019-12-07 21:20:21 +00:00
Dorota Czaplejewicz 1f69787fac cleanup: Remove unused single frame draw 2019-12-07 17:19:49 +00:00
Dorota Czaplejewicz 36362291ef cleanup: Unbox View and Row
They are no longer referenced anywhere in C, so it's safe to let Rust memory management deal with them.
2019-12-07 17:19:39 +00:00
Dorota Czaplejewicz 1c4d027af5 cleanup: Remove references to squeek_view 2019-12-07 15:42:54 +00:00
Dorota Czaplejewicz 51a77c41c3 renderer: Remove unused functions 2019-12-07 15:19:53 +00:00
Dorota Czaplejewicz 8b4c643d3e Merge branch 'german-wide-keyboard-layout' into 'master'
layout: add German wide layout

See merge request Librem5/squeekboard!271
2019-12-07 14:39:43 +00:00
Dorota Czaplejewicz f77db1bb73 renderer: Render whole keyboard the same way as pressed buttons
Removed window size dependent surface.
2019-12-07 14:33:49 +00:00
Dorota Czaplejewicz 581c86809a renderer: Simply cut off when painting outside bounds 2019-12-07 14:03:51 +00:00
Dorota Czaplejewicz 804aa53351 renderer: Remove unused locked key render function 2019-12-07 14:01:03 +00:00
Dorota Czaplejewicz e6da2a3b5b rendering: Remove unneeded redraw after button release 2019-12-07 13:58:50 +00:00
Dorota Czaplejewicz f9fbd3fb2d rendering: Simplify Cairo context usage, remove unneeded calls.
Moved Cairo context usage to Rust, and rearranged ctx setup (position) to happen in one place.

Removed render calls that were overwritten on each draw call anyway.
2019-12-07 12:47:47 +00:00
Dorota Czaplejewicz afaacd3f68 Merge branch '1.4' into 'master'
Release 1.4.0 "Nacelle"

See merge request Librem5/squeekboard!273
2019-12-02 19:53:20 +00:00
Dorota Czaplejewicz 6a164d8119 Release 1.4.0 "Nacelle"
Major changes:

- "text" property for layouts
- adjusting to user's color scheme
2019-12-02 19:40:14 +00:00
Dorota Czaplejewicz 6e32a2ef41 renderer: Simplify surface rendering 2019-12-01 16:00:40 +00:00
Dorota Czaplejewicz 34fce7395d renderer: Drop unused params 2019-12-01 15:36:01 +00:00
Dorota Czaplejewicz d415ecf5d0 renderer: Drop row from button rendering 2019-12-01 15:31:16 +00:00
Dorota Czaplejewicz 5266c621fd renderer: Simplified outline rendering 2019-12-01 15:27:14 +00:00
Dorota Czaplejewicz 4ee832c594 renderer: Remove some unneeded vars 2019-12-01 15:22:00 +00:00
Dorota Czaplejewicz 83fea8cd31 Drop squeek_key 2019-12-01 15:01:08 +00:00
Dorota Czaplejewicz 3c45e3e53c switcher: Switch layout on menu item click 2019-11-30 15:14:45 +00:00
Dorota Czaplejewicz cdf263d984 Merge branch 'translation-and-minor-layout-fixes' into 'master'
translation: Japanese and minor layout fixes

See merge request Librem5/squeekboard!264
2019-11-30 12:22:45 +00:00
Dorota Czaplejewicz a901c85bcb Merge branch 'themes' into 'master'
Use appropriate styling for layouts

See merge request Librem5/squeekboard!253
2019-11-30 11:08:08 +00:00
Dorota Czaplejewicz d45724c462 Merge branch 'leave' into 'master'
pointer: Release button when window is left

Closes #46

See merge request Librem5/squeekboard!262
2019-11-29 13:47:48 +00:00
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 4ee8a91dfe build: Bring back squeekboard as a first class executable
With styles no longer being inconsistent, there's no need to override styles by default. The override script remains for PureOS packaging purposes.
2019-11-27 16:37:44 +00:00
Dorota Czaplejewicz 6d5f793718 util: Include Result logger 2019-11-27 16:31:24 +00:00
Dorota Czaplejewicz 59f6173282 theme: Use a matching layout theme for any widget theme
Dedicated styling is now possible for themes which have a corresponding style-theme.css file. Adwaita:dark gets one, whereas other themes use the new generic fallback theme.
2019-11-27 16:30:32 +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 3ac4caa3b9 keycodes: Sort to eliminate runtime indeterminism 2019-11-27 16:18:36 +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 034570bfa0 readme: Update language selection 2019-11-21 18:57:34 +00:00
Dorota Czaplejewicz 1abca0a44e settings: Fetch current layout as the first item 2019-11-21 18:57:34 +00:00
Dorota Czaplejewicz 23693521b7 popover: Don't change "current" field on language settings, change order
Also stops crashes when sources list is empty.
2019-11-21 18:57:09 +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 0179507254 readme: Update cargo.sh usage 2019-11-20 14:32:42 +00:00
Dorota Czaplejewicz 0c7e77a05f pointer: Release button when window is left 2019-11-20 13:17:47 +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 0adde1004f cargo: Use release mode for release builds 2019-11-19 13:50:36 +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