2627 Commits

Author SHA1 Message Date
56ab64c3bd Merge branch 'workaround-for-unavailable-dependencies' into 'main'
CI: Add workaround for unavailable dependencies

See merge request World/Phosh/squeekboard!633
2024-04-03 19:27:57 +00:00
b347d55b34 Document workaround for installing build-dependencies on Debian Testing
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/633>
2024-04-03 18:23:53 +02:00
b99b6a418c CI: Add workaround for dependencies removed from Debian Testing
to make it possible for CI to pass, until Squeekboard has been ported to
GTK4 or GTK4-layer-shell.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/633>
2024-04-03 17:16:55 +02:00
29c98bf2a6 Add "debian/control.debian-testing" to work around removed dependencies
until Squeekboard has been ported to GTK4 or GTK4-layer-shell.

Without this change, "apt build-dep ." cannot be used to install
the other build-dependencies on Debian Testing.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/633>
2024-04-02 20:17:02 +02:00
5e42c12be4 Merge branch 'release-1.38.0' into 'main'
Release Squeekboard 1.38.0

See merge request World/Phosh/squeekboard!631
v1.38.0
2024-03-23 20:47:42 +00:00
115a45d44a Release 1.38.0
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>
2024-03-23 18:53:08 +01:00
16019e20bd Update dependencies
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/631>
2024-03-23 17:00:55 +01:00
4997cb45f5 Update Italian translation 2024-03-22 20:09:47 +00:00
9d9d3ed9a5 Merge branch 'update-to-serde_yaml-0.9' into 'main'
Update to serde_yaml 0.9.*

Closes #379

See merge request World/Phosh/squeekboard!624
2024-03-22 12:04:40 +00:00
0bc1ad4eaf CI: Install 'serde-yaml 0.9' from experimental
To make it possible for the CI to pass, during the transition
from 'serde-yaml 0.8' to 'serde-yaml 0.9' in Debian Trixie.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/624>
2024-03-22 12:05:15 +01:00
7a55dce839 CI: Install build-dependencies in 'build_reference'-CI-job
Since the update of 'serde_yaml' from 0.8 to 0.9,
the build-dependencies are required to complete this CI-job.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/624>
2024-03-22 12:03:49 +01:00
332e5f91c8 Update to serde_yaml 0.9.*
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/624>
2024-03-22 11:53:35 +01:00
807a994b8d Merge branch 'wide-shapes-for-remaining-layouts' into 'main'
Add the remaining, wide shapes for layouts

See merge request World/Phosh/squeekboard!630
2024-03-21 13:41:56 +00:00
5cfb940caa Add the remaining, wide shapes for layouts
There should be a wide shape for
all available layouts, so those can be used
well on devices in horizonal orientation.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/630>
2024-03-20 19:43:06 +01:00
164b2fa0d0 Merge branch 'clean-up-layout-files' into 'main'
Clean up layout-files

See merge request World/Phosh/squeekboard!629
2024-03-19 15:46:50 +00:00
07f797c4b4 Clean up layout-files
- Change text to symbols
- Remove unused button-definitions

This makes these layout-files easier to understand and edit.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/629>
2024-03-19 15:33:59 +00:00
47ce76afd5 Merge branch 'layout-improvements' into 'main'
Update spanish and french terminal-layouts

See merge request World/Phosh/squeekboard!628
2024-03-18 15:51:10 +00:00
ca3b79081e Translate keys on French terminal-layouts
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/628>
2024-03-18 16:13:41 +01:00
e0347a6554 Update Spanish terminal-layout
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/628>
2024-03-18 15:48:41 +01:00
a91356eb20 Merge branch 'improve-german-layout' into 'main'
Improve German layout

See merge request World/Phosh/squeekboard!627
2024-03-16 14:05:35 +00:00
881dad5914 Improve German layout
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>
2024-03-16 14:25:20 +01:00
94ce5e2ee1 Merge branch 'layout-improvements-3' into 'main'
Improvements for various terminal-layouts

See merge request World/Phosh/squeekboard!626
2024-03-15 17:31:23 +00:00
c4af2131fd data/keyboards/terminal/*.yaml: Update terminal-layouts
- Fix highlighting

- Fix sizes of buttons

- Reduce layout-changes when switching views

- Make layouts more consistent

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/626>
2024-03-15 18:01:07 +01:00
dc54fa9609 Merge branch 'PgUp-PageUp' into 'main'
Change label of "PgUp" and "PgDn", to "Page ↑" and "Page ↓"

See merge request World/Phosh/squeekboard!625
2024-03-15 16:45:33 +00:00
e7ff7f410c Change label of "PgUp" and "PgDn", to "Page ↑" and "Page ↓"
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/625>
2024-03-15 13:23:35 +01:00
9acfd89557 Merge branch 'simplify-build-system' into 'main'
Simplify build-system further

See merge request World/Phosh/squeekboard!623
2024-03-12 09:53:06 +00:00
a8c78dd6dd Update dependencies
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/623>
2024-03-11 17:48:05 +01:00
5806b14628 Simplify build-system further
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>
2024-03-11 17:45:57 +01:00
9cb6817da9 Merge branch 'glib-2-58' into 'main'
Forward to glib-2-58

See merge request World/Phosh/squeekboard!621
2024-03-11 15:33:05 +00:00
7ed0d48a99 test-layout: Drop unneeded macro use
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/621>
2024-03-10 17:37:52 +01:00
00740de79f drawing: Unwrap errors
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/621>
2024-03-10 17:37:52 +01:00
d801b77e96 popover: Ignore return value
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/621>
2024-03-10 17:37:52 +01:00
15ebd0ffaf Switch to glib v2_58
Remove the ancient fallbacks

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/621>
2024-03-10 17:37:52 +01:00
5625c70733 Merge branch 'trixie' into 'main'
Build against a bit newer dependencies

See merge request World/Phosh/squeekboard!620
2024-03-10 16:08:52 +00:00
3bdcc4326c ci: Add features to reference build
The whole build still targets ancient glib_v0_14 so pass that on until
squeekboard supports running with glib_v2_70 or anything else halfway
recent.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/620>
2024-03-10 15:44:28 +00:00
e7d80a2555 cargo: Be more strict with clap
Newer versions fail to build as they require newer rustc

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/620>
2024-03-10 15:44:28 +00:00
93c7d4e399 packaging: Keep Cargo.lock
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/620>
2024-03-10 15:44:28 +00:00
dddfff491d packaging: Bump dependencies
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/620>
2024-03-10 15:44:28 +00:00
8ebb9cd592 build: Do away with older and newer deps
We copy the 'newer' variant to the canonical locations.
No need to implement manual branching, we have git since decades.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/620>
2024-03-10 15:44:28 +00:00
9c302a9131 ci: Switch to Debian trixie
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/620>
2024-03-10 15:44:28 +00:00
c9fff73562 build: Fix typo
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/620>
2024-03-10 15:44:28 +00:00
a569b1c1a3 "Priority" constants for glib-rs 0.18
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/620>
2024-03-10 15:44:28 +00:00
aa513b5cd9 Replace "Continue" with "ControlFlow"
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/620>
2024-03-10 15:44:28 +00:00
df6221ae92 Cargo.*: use xkbcommon v0.5 for "newer" builds
Debian now provides `rust-xkbcommon` v0.5, so let's use this as the
base version for our use-case.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/620>
2024-03-10 15:44:28 +00:00
078f58be26 src: style: fix build with newer gtk-rs
`gtk::Settings::property()` no longer returns a `Result` but instead
panics if the property doesn't exist. In order to work around this
change without affecting the surrounding code too much, this patch
modifies the `prop` function so we can avoid panics and wrap the
property value into a `Result` as was previously the case.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/620>
2024-03-10 15:44:28 +00:00
86674507e1 src: popover: fix build with newer gtk-rs
`gtk-rs` v0.16+ no longer exposes the internal fields of the
`gtk::Rectangle` struct, mandating the use of the `new()` function
instead.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/620>
2024-03-10 15:44:28 +00:00
5bf84c9d03 Cargo.deps.newer: update for gtk-rs 0.17
Modified by Peter Michael Green for version 0.18 of rust gtk stack.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/620>
2024-03-10 15:44:28 +00:00
805ca6b6aa Merge branch 'release-squeekboard-1.24.0' into 'main'
Release Squeekboard 1.24.0

See merge request World/Phosh/squeekboard!622
v1.24.0
2024-03-10 15:28:37 +00:00
8dc32bb126 Release 1.24.0
Changes:
- The emoji-layout has been replaced with a new one,
  which offers many more emojis to choose from.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/622>
2024-03-10 15:00:44 +01:00
c4bd52e2f2 hacking.md: add more instructions
Also make the examples more recent, so it doesn't look like it is outdated.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/622>
2024-03-10 14:44:24 +01:00