Commit Graph
56 Commits
Author SHA1 Message Date
meehl 522ab489cd Fix ascendancy flavour text size. 2026-03-09 18:13:58 +01:00
meehl c47bf48556 Add more fine-grained logging and UI feedback to installer 2026-03-09 16:30:00 +01:00
meehl 1f89e31f30 Set global timeout for ureq requests 2026-03-09 16:30:00 +01:00
AiSatan 913d2127d8 Fix to enable "Save changes" popup 2026-03-09 14:10:30 +01:00
meehl ef4f86eac8 Track state and forward events for logical keys.
Using physical key codes leads to unexpected bevahior on different
keyboard layouts. Use logical keys like SimpleGraphic.

Closes #27
2026-03-05 08:30:56 +01:00
Ac5000 966363a859 Added method to InputState to clear pressed keys, mods, and mouse. Call method on window focus loss. 2026-02-28 10:23:56 +01:00
Ac5000 9d33a7704c Added documentation to src/input.rs 2026-02-28 10:23:56 +01:00
Ac5000 3a66f15b49 Added documentation. 2026-02-28 10:23:56 +01:00
meehl 7fc3e340e7 Implement GetDrawColor 2025-12-15 17:56:52 +01:00
meehl dadf5c8804 Remove leftover dbg statement 2025-12-15 17:25:46 +01:00
meehl 031df6ed9c Store script directory in app context
This enables easier testing of the dev branch by providing a custom
script directory. Additionally, a Launch file is now searched for
in nearby locations and if found, used to determine a custom script
directory.
2025-12-15 17:18:56 +01:00
meehl 76b5449bad installer: Write checksum of modified update script to manifest
This prevent having to perform a redundant update on first startup.
2025-12-05 13:03:11 +01:00
meehl f9f05aad08 Fix variable name 2025-12-03 23:09:03 +01:00
meehl 1812edcbe9 Implement UI scale overriding
Closes #16
2025-11-30 11:16:04 +01:00
meehl df06c8f9c6 installer: Download highest supported version instead of latest version
Closes #17
2025-11-30 10:05:43 +01:00
meehl ae6a24f82c Reduce CPU usage while window is unfocused and not hovered over
Only render if window is focused, hovered, subscript is running,
or coroutine is active.

Closes #18
2025-11-28 18:30:25 +01:00
meehl 0066a05e13 Register AbortSubscript function under right name 2025-11-27 10:54:43 +01:00
meehl 3d8143c4d1 Add help text to import url argument 2025-11-27 10:54:43 +01:00
meehl a3ef4b39d0 Remove unneeded 'return' statement 2025-11-27 10:54:43 +01:00
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