37 Commits
Author SHA1 Message Date
meehl f27e83b467 Use smithay-clipboard crate for clipboard support on Wayland
Fixes #8
2025-11-07 00:59:37 +01:00
meehl 50d4b4b09c Replace non-ASCII characters in text input with '?'
This matches `SimpleGraphics` behavior and prevents a crash that can
happen if PoB tries to delete a non-ASCII character.

Fixes #9.
2025-11-06 16:55:31 +01:00
meehl 51e6881cb0 Simplify input event handling 2025-11-06 16:30:24 +01:00
meehl 8a69d15b49 Set app_id only on platforms that support it.
This fixes a build error on windows.
2025-11-03 13:26:03 +01:00
meehl 76a1b4691d Add missing icon 2025-11-02 17:06:21 +01:00
meehl e877b599c1 Fix UI scaling factor not being applied at startup on X11
On wayland an event it dispatched right after window creation.
 This is not the case on X11 so we need to set it manually.
2025-11-02 15:42:53 +01:00
meehl 2739c45181 Use better name for context 2025-11-02 09:53:37 +01:00
meehl 87ff0968d8 Fix missing window title during installation step 2025-10-31 16:39:09 +01:00
meehl 64960b8c3c Add stubs for DPI scale overrides 2025-10-31 00:17:50 +01:00
meehl cf518a2c40 Add regular variant of Fontin font 2025-10-31 00:07:49 +01:00
meehl 479b7196cf Add support for "faux italics" 2025-10-30 20:15:02 +01:00
David Truby a338ff02f1 Fix bug accidentally requiring extra features for surface format
On my system, surface_formats() has `Rgba16Unorm` as the first format in
the surface_caps.formats vector that isn't SRGB. However if this format
is used it requires a couple of extra WGPU features that weren't
requested for the device.

This specific format isn't actually required and so the features aren't
required, so instead we can just skip over any formats that require
features when skipping srgb ones. This results in an appropriate format
being selected and gets rid of a potential wgpu crash.
2025-10-30 19:32:31 +01:00
K900 c2318f9929 api/paths: fix Lua interop, use data directory for storage 2025-10-30 15:34:10 +01:00
meehl 1648aa5736 Add support for new 'fontin' fonts 2025-10-30 13:20:58 +01:00
meehl 43b20ecd0d Refactor font loading 2025-10-30 13:10:42 +01:00
meehl 032a450d7e Fix scrolling of gem selection dropdown 2025-10-30 08:46:36 +01:00
Mykola bdf128addc Implement exponential backoff for github HTTP GET requests (#4) 2025-10-29 16:08:21 +01:00
meehl f5954446d1 Fix version file 2025-10-29 12:12:52 +01:00
meehl 6e35123b5d Add stub for TakeScreenshot api function 2025-10-28 23:15:24 +01:00
meehl 38e3a39782 Implement missing SetForeground api function. Fixes #2 2025-10-28 23:12:09 +01:00
meehl 6a5135a6a6 Cleanup image loading 2025-10-28 17:18:07 +01:00
meehl 3352152ef6 Handle dpi awareness api feature flag 2025-10-28 16:54:44 +01:00
meehl 3ff483ad19 Notify windowing system right before presenting 2025-10-28 16:29:18 +01:00
meehl 3cdfbc823b Remove modified manifest and use new custom update checker 2025-10-27 23:31:03 +01:00
meehl d8e52218f8 Remove global context 2025-10-27 23:10:11 +01:00
meehl 8d0f9502e3 Align layout origins with physical pixel grid for sharper text rendering 2025-10-20 12:24:31 +02:00
meehl a096547b7f Fix position hashing bug that causes incorrect frame elision 2025-10-20 11:24:13 +02:00
meehl 6c4c61b8cb Rewrite comment about possible layer index optimization 2025-10-20 11:09:00 +02:00
meehl f1e4b21d7f Add line breaks to comment 2025-10-20 09:32:43 +02:00
meehl e52aed0890 Use right buffer type for inflate and deflate. fixes #1
Using a String for zlib decoder/encoder output doesn't work because
it can only hold valid utf8. Read into a Vec<u8> instead and construct
a lua string from it.
2025-10-19 20:15:01 +02:00
meehl 50b4450c8b Change script directory name to avoid conflict with official PoB 2025-10-19 18:51:03 +02:00
meehl 7126061645 Move manifests into separate repo.
New repo: https://github.com/meehl/rusty-pob-manifest
2025-10-19 18:48:03 +02:00
meehl fc7f4481d7 Remove modification of lua cpath.
This means c libraries must be installed into LUA_CPATH_DEFAULT
or LUA_CPATH must be used to define custom location.
2025-10-19 17:05:04 +02:00
meehl 767324daa0 Follow naming conventions for github repo name 2025-10-18 19:57:23 +02:00
meehl 812514be07 Take reference to response body and reader instead of making it owned 2025-10-18 13:15:35 +02:00
meehl 7d11d7e328 Display message when installer downloads files 2025-10-16 19:46:50 +02:00
meehl 6e1613f73f Initial commit 2025-10-16 17:00:59 +02:00