Commit Graph

2511 Commits

Author SHA1 Message Date
b327912efc debian: Support using update-alternatives
to make it easier to switch to another on-screen-keyboard.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/664>
2024-08-16 20:13:37 +00:00
ac4e8ea064 Merge branch 'meson-add-check' into 'main'
meson.build: Check the exit-status-code of `run_command()`

See merge request World/Phosh/squeekboard!663
2024-08-16 12:41:35 +00:00
359f8bfefb meson.build: Check the exit-status-code of run_command()
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/663>
2024-08-16 13:51:19 +02:00
35785f3d41 Merge branch 'release-squeekboard-1.41.0' into 'main'
Release Squeekboard 1.41.0

See merge request World/Phosh/squeekboard!661
v1.41.0
2024-08-15 11:54:41 +00:00
5e0c95feea Release Squeekboard 1.41.0
New layouts:
 - Malayalam
 - German (Bone)
 - German (Neo 2)

New icons:
 - zwsp (zero-width-space)
 - zwj (zero-width-joiner)

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/661>
2024-08-15 10:48:05 +02:00
c7c6081da3 Cargo.lock: Update dependencies
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/661>
2024-08-14 18:22:08 +02:00
8c6c66e867 Merge branch 'xkbcommon-0.7' into 'main'
Port to crate xkbcommon 0.7

See merge request World/Phosh/squeekboard!656
2024-08-14 15:29:10 +00:00
34564edf32 Port to crate xkbcommon 0.7
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/656>
2024-08-14 15:18:43 +00:00
a267f6c742 Merge branch 'add-malayalam-layout' into 'main'
Layouts: Add Malayalam layout

See merge request World/Phosh/squeekboard!660
2024-08-13 08:31:57 +00:00
0b0585eb66 Layouts: Add Malayalam layout
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/660>
2024-08-12 17:50:38 +02:00
ab4659ea03 data/icons: Add zwsp and zwj
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/660>
2024-08-12 17:50:37 +02:00
9c9f953efd Merge branch 'use-vendored-dependencies' into 'main'
Build: Use vendored dependencies for building .deb packages

See merge request World/Phosh/squeekboard!659
2024-08-11 15:03:26 +00:00
4ea7cccaec debian/cargo/config: Rename to config.toml
to fix a deprecation-warning:

"…/squeekboard/debian/cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier,
you can symlink `config` to `config.toml`"

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/659>
2024-08-11 14:53:39 +00:00
117b3e0763 Build: Use vendored dependencies for building .deb packages
It is currently not possible to build Squeekboard with only
packages that are available in Debian.
This is not likely to change until Squeekboard has been ported
to GTK4 or gtk4-layer-shell.
Until then, vendor the dependencies during the build,
so that one can still use the ".deb"-packages for testing.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/659>
2024-08-11 14:53:39 +00:00
c3f46c8db8 Build/CI: Remove workaround that does not work any more
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/659>
2024-08-11 14:53:39 +00:00
60f8249fe6 Merge branch 'make-rust-analyzer-work' into 'main'
Build: Use meson_Cargo.toml.in for setting up the build

See merge request World/Phosh/squeekboard!657
2024-08-11 08:32:59 +00:00
271184b9d1 .gitignore: Ignore more files
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/657>
2024-08-11 08:17:03 +00:00
0403fe4cde Build: Use meson_Cargo.toml.in for setting up the build
to make rust-analyzer work correctly.

When the paths in Cargo.toml have '@path@' in them,
rust-analyzer cannot find the correct paths.

Before this change, rust-analyzer was unable to offer information
about code (in files other than main.rs), and instead
showed an error-message:
"1:1 unused: This file is not included anywhere in the module tree,
so rust-analyzer can't offer IDE services.".

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/657>
2024-08-11 08:17:03 +00:00
0b83eb7d9f Merge branch 'add-ergonomic-de-layouts' into 'main'
Layouts: Add ergonomic German layouts

See merge request World/Phosh/squeekboard!658
2024-08-08 20:39:24 +00:00
a905d03fc9 resources.rs: Correct sorting of layouts
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/658>
2024-08-05 12:41:00 +02:00
9f7d2d539e Layouts: Add ergonomic German layouts
The "Neo 2"-layout is optimised for typing in German.
The "Bone"-layout is an improved version of the "Neo 2"-layout.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/658>
2024-08-05 12:40:54 +02:00
ed03b241b5 Merge branch 'release-1.39.0' into 'main'
Release 1.39.0

See merge request World/Phosh/squeekboard!655
v1.39.0
2024-05-05 19:39:05 +00:00
b3a9a99667 Release 1.39.0
New button-styles:
 - `change-view`: Highlighted like `special`,
   but with a border at the bottom.
 - `character-group`: Like `change-view`, but with less highlighting.
 - `placeholder`: Less contrast to the background and does not visually
   change when pressed.
 - `subtle-highlight`: For highlighting commonly used characters
   in accent-views, for example.

New layouts:
 - Portuguese
 - Slovenian
 - Turkish (F-layout)
 - Turkish (Q-layout)

Remade layout:
 - Portuguese (Brazil): A view for accents has been added.

Changes:
 - The new button-styles are used in the available layouts,
   where appropriate.
 - The top rows of the terminal-layouts are a little taller.
 - Squeekboard will choose the wide shape of layouts, for more displays
   in horizontal orientation.
 - Highlighted buttons now show visual feedback too, when pressed.
 - Many layouts have been adjusted,
   so that those change their form less when switching views.
 - Various small issues have been fixed, to make layouts more consistent.

Development:
 - Scaling-tests for many display-types have been added.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/655>
2024-05-05 00:52:59 +02:00
c615f59a5c Cargo.lock: Update dependencies
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/655>
2024-05-05 00:46:01 +02:00
798407736d debian/control.debian-testing: Add Rules-Requires-Root: no
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/655>
2024-05-05 00:46:01 +02:00
2c2347e3ff Reduce the contrast of the border at the bottom of change-view-buttons
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/655>
2024-05-05 00:46:01 +02:00
c7e3681e38 Layouts: Optimise the size of some buttons on some layouts
and clean up some layout-files.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/655>
2024-05-05 00:45:52 +02:00
c2cce40d84 Merge branch 'improvements-and-fixes-for-layouts' into 'main'
Layouts: Add various small size-improvements and fixes for some layouts

See merge request World/Phosh/squeekboard!654
2024-05-03 11:29:06 +00:00
c4e3c32c79 Layouts: Add various small size-improvements and fixes for some layouts
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/654>
2024-05-03 11:14:36 +00:00
bfc487faec Merge branch 'improve-shape-selection' into 'main'
Improve shape-selection

See merge request World/Phosh/squeekboard!639
2024-05-03 10:53:40 +00:00
84341b88cd Improve shape-selection with a workaround
This workaround makes Squeekboard use the wide shape on more devices.

On many devices with wide screens, which should use the wide shape
for layouts while in horizontal orientation, the compact shape was
used instead.
In particular, 5" large displays with an aspect-ratio of 16:9,
which are relatively common, were using the compact shape.

This workaround has the side-effect of allowing for more empty space
above and below the wide shape, to fit the layout into the available area.
The buttons on displays where this would be noticeable,
should still be larger than before.

To find an appropriate point for switching between the shapes without
having the relevant displays to test with,
one can create an image sized according to the device's display-resolution
and pixel-density, place a line representing the height of Squeekboard
(based on the scaling-tests), paste images of compact and wide
layout-shapes into the area and scale them appropriately,
set the image-viewer to show the image according to physical size,
and then compare which one fits better.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/639>
2024-05-03 10:41:14 +00:00
98b6c41523 Merge branch 'add-slovenian-layout' into 'main'
Add a Slovenian [si] layout

See merge request World/Phosh/squeekboard!652
2024-05-03 10:20:51 +00:00
1381e316eb Add a Slovenian [si] layout
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/652>
2024-05-03 09:28:55 +00:00
2edaefe633 Merge branch 'add-turkish-layout' into 'main'
Add Turkish [tr] and [tr+f] layouts

See merge request World/Phosh/squeekboard!650
2024-05-03 09:20:56 +00:00
2aa58186e4 Add Turkish [tr] and [tr+f] layouts
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/650>
2024-05-03 08:53:53 +00:00
79da6caad0 Merge branch 'portuguese-layout-accents' into 'main'
Add an additional view for the accents on the Portuguese (Brazil) layout

See merge request World/Phosh/squeekboard!649
2024-05-03 08:46:08 +00:00
856ed64a46 Add an additional view for the accents on the Portuguese (Brazil) layout
and add a Portuguese layout based on it.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/649>
2024-05-03 08:33:39 +00:00
43f0102905 Merge branch 'allow-failure-in-build_deb_CI-job' into 'main'
ci: Allow failure of the `build_deb`-CI-job

See merge request World/Phosh/squeekboard!653
2024-05-03 07:46:23 +00:00
46b7d5c984 ci: Allow failure of the build_deb-CI-job
Some of the build-dependencies that were installed from Debian Unstable
as a workaround, are not available anymore.

Until that issue has been solved properly, allow the `build_deb`-CI-job
to fail, so that merge-requests can still be merged.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/653>
2024-05-02 16:56:40 +02:00
08ed8ab770 Merge branch 'increase-height-of-small-buttons-on-terminal-layouts' into 'main'
Increase the height of small buttons on top of the terminal-layouts

See merge request World/Phosh/squeekboard!651
2024-04-29 09:26:03 +00:00
0922ebd846 Increase the height of small buttons on top of the terminal-layouts
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/651>
2024-04-28 17:58:37 +02:00
daea3d9bff Merge branch 'reduce-layout-changes-during-view-changes' into 'main'
Reduce layout-changes when switching views and make layouts more consistent

Closes #312

See merge request World/Phosh/squeekboard!646
2024-04-28 15:12:01 +00:00
466bc4beef Reduce layout-changes when switching views and make layouts more consistent
An input-device should generally not change shape/functionality during use,
unless there is a good reason for that and it is clearly indicated
when that happens, as otherwise it will be more complicated
and exhausting to use, and learn to use, the input-device.

To improve that, this commit will:

- Make it so that the space-bar, view-switching buttons, backspace-button,
  and return-button will not move around when switching views.

- Add placeholder-buttons and/or stretch buttons to fill gaps.

- Remove buttons that are duplicated in the same view.

- Add buttons for entering commas, on the base-views of some layouts.

- Make the shape of layouts fit into a rectangular space; usually
  without empty space.

- Align layouts more closely to the expected aspect-ratios, to reduce
  changes when switching between languages, and use more of the available
  space.

Other changes:

- `.`-buttons are generally not highlighted anymore.

- On the layouts `gr` and `gr+polytonic`, the highlighting for punctuation
  has been switched to `subtle-highlight` from `special`, so those can be
  visually distinguished from buttons with special functionality.

- The Spanish characters `ñ` and `Ñ` on the `French (Swiss)`-layout (ch+fr)
  were making the layout wider than it should be.
  As there was no other appropriate place for those buttons,
  and the layout is meant for entering French, not Spanish,
  those buttons have been removed from the layout.

Some layouts have been changed much:
- gr+polytonic (which requires more work, but it is much more usable now)
- ir

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/646>
2024-04-28 14:57:46 +02:00
86cb7773bb Merge branch 'rules-requires-root-no' into 'main'
debian/control: Add `Rules-Requires-Root: no`

See merge request World/Phosh/squeekboard!648
2024-04-26 21:59:35 +00:00
5379b776e0 debian/control: Add Rules-Requires-Root: no
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/648>
2024-04-26 21:41:29 +00:00
06babda77b Merge branch 'fix-typo-in-ci' into 'main'
ci: Fix typo to actually not install recommended packages in `build_docs`

See merge request World/Phosh/squeekboard!647
2024-04-26 21:33:43 +00:00
cb0f12d5d0 ci: Fix typo to actually not install recommended packages in build_docs
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/647>
2024-04-26 16:26:36 +02:00
8e8013a103 Merge branch 'add-even-more-scaling-tests' into 'main'
Add even more scaling-tests

See merge request World/Phosh/squeekboard!645
2024-04-22 09:13:27 +00:00
77a4801556 doc/layouts.md: Mention the expected aspect-ratios for layouts
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/645>
2024-04-22 08:40:25 +00:00
2eb06ae350 src/state.rs: Add comments related to shape-selection
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/645>
2024-04-22 08:40:25 +00:00