meehl
f3c065debd
Add feature for registering bundled Lua modules
...
Enabled by default.
2026-10-17 16:04:54 +02:00
meehl
9b98c65060
Register luacurl module
...
This removes the runtime dependency on the external `Lua-cURLv3` C library.
2026-10-17 15:04:50 +02:00
meehl
36d2697754
Register luasocket module
...
This removes the runtime dependency on the external `luasocket` C library.
2026-10-15 23:31:23 +02:00
meehl
8ddcbf89f7
Fix re-entrant context borrow during subscript calls
...
Move `SubscriptManager` to its own app data slot and dispatch subscript
calls only after releasing the context and manager borrow.
2026-10-15 18:58:11 +02:00
meehl
c6d5241b98
Expose luautf8 module through runtime
...
This removes the runtime dependency on the external `luautf8` C library.
2026-10-14 11:34:23 +02:00
meehl
aa1bfb768e
Add helpers for appending to Lua's package.path
2026-09-02 11:16:21 +02:00
meehl
4b344d15ae
Refactor mouse and keyboard input handling
2026-08-29 16:12:45 +02:00
meehl
c297eeaca6
Improve ergonomics of calling Lua callbacks
2026-08-29 11:28:30 +02:00
meehl
9d45b78d64
Use channel to handle async image load results in texture manager
2026-08-27 16:56:03 +02:00
meehl
692e530867
Add profiling scope for call to OnInit
2026-08-27 16:34:40 +02:00
meehl
fe9434e4f0
Warm glyph cache for correct scale factor
2026-08-26 16:16:14 +02:00
meehl
8d17f8e64f
Use euclid::Scale to convert between physical and logical coord spaces
2026-08-24 23:57:19 +02:00
meehl
2bbfd14c1b
Add profileing scope around OnFrame and remove mut ref to context
2026-08-24 10:48:31 +02:00
meehl
6224a1b0a4
Lint
2026-08-24 10:24:51 +02:00
meehl
493a2ba9cf
Fix typo
2026-08-24 08:58:00 +02:00
meehl
cc6de120f2
Refactor context handling and redraw requests
...
Remove unsafe pointer shenanigans and give Lua instance ownership over
`Context`. Event handlers now directly mutate Context instead of using a
shared app state which is then hooked up to Context via unsafe pointers.
The removal of a shared state means stages (previously called "modes")
are now responsible for keeping their own internal state.
Additionally, clean up draw request handling and module hierarchy.
2026-08-23 23:55:43 +02:00
meehl
3fc87339ca
Refactor draw command recording.
...
Remove distinct draw primitives and unify them into one shared form.
2026-08-15 19:19:55 +02: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
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
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
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
032a450d7e
Fix scrolling of gem selection dropdown
2025-10-30 08:46:36 +01:00
meehl
3352152ef6
Handle dpi awareness api feature flag
2025-10-28 16:54:44 +01:00
meehl
d8e52218f8
Remove global context
2025-10-27 23:10:11 +01:00