Commit Graph

2582 Commits

Author SHA1 Message Date
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
7308eeefe1 Add even more scaling-tests
and sort the tests by aspect-ratio, size, and resolution.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/645>
2024-04-22 08:40:25 +00:00
b0ce422355 Update Romanian translation 2024-04-21 14:51:55 +00:00
202f5a309d Merge branch 'improve-japanese-layout' into 'main'
Improve japanese layout

See merge request World/Phosh/squeekboard!644
2024-04-18 10:06:46 +00:00
bdb16a3890 Improve Japanese layout
- The button-styling has been adjusted, to make it easier to visually
  distinguish the view-changing buttons that switch to views with
  buttons for entering hiragana, katakana, symbols, and Latin letters.

- Easier switching between hiragana and katakana,
  and between symbols and punctuation.

- Added more placeholders to prevent layout-shifting.

- The base-shape is now sized properly on a 6" large display
  with a resolution of 720x1440 (PinePhone), without empty
  space next to it.

- The wide shape is now wider.

- The symbols- and punctuation-views switch back to the
  katakana-view when opened from it and "unlocking" the view
  by tapping multiple times on the view-changing button,
  instead of showing the hiragana-view.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/644>
2024-04-18 11:23:25 +02:00
16d38e8420 doc/index.md: Fix link
to make it work correctly with GitLab.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/644>
2024-04-18 11:15:34 +02:00
6c8a80ae4e Merge branch 'use-change-view-outline' into 'main'
Layouts: Use "change-view"-outline for all view-changing buttons

See merge request World/Phosh/squeekboard!643
2024-04-18 09:12:02 +00:00
abc0cc6d0b Layouts: Fix indentation
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/643>
2024-04-18 10:35:06 +02:00
a6c6946bc9 Layouts: Fix some small inconsistencies and remove unused outlines
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/643>
2024-04-18 10:35:06 +02:00
bd135c2fa1 it.yaml and it_wide.yaml: Make show_eschars behave like on other layouts
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/643>
2024-04-18 10:35:05 +02:00
9c0e14f4a8 Layouts: Use double-quotes more consistently
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/643>
2024-04-18 10:35:05 +02:00
5f3ce91d42 Layouts: Make the "pl_wide"-layout identical to the "pl"-layout
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/643>
2024-04-18 10:35:05 +02:00
351770251a Layouts: Fix styling of "preferences"- and "BackSpace"-buttons
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/643>
2024-04-18 10:35:05 +02:00
29b4061ee9 Layouts: Use "change-view"-outline for all view-changing buttons
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/643>
2024-04-18 10:35:05 +02:00
8599343400 Layouts: Remove "show_numbers_from_symbols" where it is not used
or a copy of "show_numbers".

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/643>
2024-04-18 10:35:04 +02:00
d2ae29571f Merge branch 'update-documentation' into 'main'
Improve documentation

See merge request World/Phosh/squeekboard!642
2024-04-18 08:21:02 +00:00
5de4a6ad92 Improve Documentation
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/642>
2024-04-18 09:49:43 +02:00
cff687d778 Add syntax-highlighting in the documentation
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/642>
2024-04-14 17:49:06 +02:00
96c5b263ad doc/*: Fix typos and add a few small improvements
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/642>
2024-04-14 17:49:06 +02:00
c21fbd86ac Change "GPL-3.0+" to "GPL-3.0-or-later"
The "GPL-3.0+"-SPDX-license-identifier has been deprecated,
and was replaced with "GPL-3.0-or-later".

More information about that, is available in the
"Deprecated License Identifiers"-part of
https://spdx.org/licenses/ .

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/642>
2024-04-14 17:49:06 +02:00
07ccea0fb5 Change "http://" to "https://"
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/642>
2024-04-14 17:49:06 +02:00
eaf70d2909 COPYING: Update links to match the current revision of the GPLv3
It is now identical to https://www.gnu.org/licenses/gpl-3.0.txt .

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/642>
2024-04-14 17:49:02 +02:00
74c099d0af Merge branch 'update-gitignore' into 'main'
.gitignore: Add "target"-folder

See merge request World/Phosh/squeekboard!641
2024-04-13 12:33:03 +00:00
f21d389913 .gitignore: Add "target"-folder
The "target"-folder will be created by `cargo check`.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/641>
2024-04-13 12:22:23 +02:00
8375a8ec38 Merge branch 'add-more-tests' into 'main'
Add more scaling-tests

See merge request World/Phosh/squeekboard!640
2024-04-11 16:08:32 +00:00
69805b4565 Add more scaling-tests
These are based on actual displays/devices.

A display-size-calculator ( https://www.sven.de/dpi/ ) was used to
calculate the width and height from resolution and diagonal display-size.

Some of these tests check for non-optimal results;
however, their purpose is mostly to make it noticeable
how changes to scaling-behaviour affect various
display-types.

When Squeekboard's scaling-behaviour will be improved, the tests
should be updated with values that fit the displays/devices better.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/640>
2024-04-11 17:38:03 +02:00
b043e1a7cb Merge branch 'highlight-buttons' into 'main'
Add a button-style for subtle highlighting

See merge request World/Phosh/squeekboard!637
2024-04-10 15:37:17 +00:00
5ac85d21b9 Add a button-style for subtle highlighting
and use it to subtly highlight commonly used symbols in the
accent-views of the German layouts.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/637>
2024-04-10 17:22:31 +02:00
e0092bd860 Merge branch 'placeholder-buttons' into 'main'
Add placeholder-buttons to emoji-layout

See merge request World/Phosh/squeekboard!636
2024-04-10 15:10:39 +00:00
583816a384 Add placeholder-buttons to emoji-layout
to enhance contrast between usable and unusable buttons.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/636>
2024-04-10 16:42:29 +02:00