Issues fixed by this change:
- Empty space above and below layouts.
- The compact shape, which is supposed to be used on small screens,
did not scale up until it reached the border of the screen, on some
screens, resulting in empty space next to it, and smaller buttons.
- The compact shape was used on some screens in horizontal orientation,
instead of the wide shape.
- The panel was rather small on large screens.
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/677>
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>
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>
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>
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>
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>
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>
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>
- 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>
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>
to make those distinguishable from other highlighted buttons.
The border at the bottom makes it look like a stack of buttons
that will be put into position when tapping the view-changing buttons.
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/635>
The "wide"-outline was not highlighted on the default and high
contrast styles, while it was highlighted on the "Adwaita:dark"-style.
"Adwaita:dark" is the default on Phosh, so adjust to that, for
consistent button-highlighting.
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/634>
Before this change, buttons with the outlines "altline",
"wide" and "special" were not showing visual feedback when those
were pressed.
After this change, the visual feedback is similar to the default style.
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/634>
Changes:
- 25 wide shapes have been added,
so that every available layout now has a wide shape
- "PgUp" and "PgDn" on the terminal-layouts have been relabeled
to "Page ↑" and "Page ↓"
- The Spanish and French terminal-layouts now have translated key-names
- The Spanish terminal-layout has been updated with the additional
keys that are already available on the US-terminal-layout.
- The wide and base shapes of the German layout had a different
key-arrangement and the wide shape did not have a button to access
additional characters; this has been fixed.
Development:
- Squeekboard's versioning now follows Phosh's versioning
(for example: Squeekboard 1.38 was released in time for Phosh 0.38)
- The build-system has been simplified
- A single Cargo.toml file is used,
instead of assembling it from multiple parts
- Newer dependencies are now used for building Squeekboard by default
- Squeekboard's main development-platform is now Debian Testing
- The layout-files have been cleaned up,
so that those are easier to understand and edit
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/631>
It is rectangular now,
there are less layout-changes when switching views,
and some commonly used symbols are more easily available.
Before this change, the arrangement of the keys was different between
the normal layout and the wide layout.
The wide layout can now move to the "eschars"-view, like the normal layout.
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/627>
Remove Fragile from the list of dependencies
It is not necessary for building 'gio' anymore,
since the upgrade to 'glib v2_58'.
Remove "online" and "reset_lock" Meson-options
Building Squeekboard should work offline.
Use a single "Cargo.toml"-file instead of splitting it into parts
and putting it back together when building.
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/623>