Commit Graph

5704 Commits

Author SHA1 Message Date
Sasha Szpakowski 5670df13b6 the default/example error handler can handle restart parameters. 2025-12-08 20:17:41 -04:00
Sasha Szpakowski 4e266c15a0 Fix TextBatch:add erasing old data when the internal buffer is recreated.
Fixes #2243.
2025-11-27 21:07:12 -04:00
Sasha Szpakowski 734b733796 Merge pull request #2256 from MikuAuahDark/system-theme
Add love.window.getSystemTheme()
2025-11-25 12:48:10 -04:00
Miku AuahDark 6eb7329a06 Add love.themechanged() event.
Called when the system theme is changed (e.g. switching from light theme to dark and vice versa).
2025-11-25 15:41:42 +08:00
Miku AuahDark c4d30081f4 Move love.system.getTheme() to love.window.getSystemTheme().
Despite its name, `SDL_GetSystemTheme()` needs the video subsystem to properly function. So, put it in love.window instead.
2025-11-25 15:29:24 +08:00
Miku AuahDark 139a45bfae Add love.system.getTheme()
This function returns wetever the device theme is dark theme, light theme, or unknown.
2025-11-25 13:30:46 +08:00
Sasha Szpakowski 8afddca477 Merge pull request #2239 from BytesHaven/drag-and-drop-game
Drag & drop game into default no game screen
2025-11-23 13:08:13 -04:00
John Doe 062c5e8e2a Refactor var name to show its used internally 2025-11-22 22:48:00 +00:00
John Doe c7de1fef35 Fix gamepath missing type check 2025-11-22 22:45:41 +00:00
John Doe 9e55b14695 Add drag & drop game to start into nogame 2025-11-22 22:45:35 +00:00
Sasha Szpakowski 2afa36ffb8 Merge pull request #2253 from EngineerSmith/errorhandler-bug
Minor Bug Fix: Ensure full traceback is processed by appending a newline
2025-11-21 23:24:07 -04:00
Engineer Smith 5c1106ec28 Cleanup whitespace 2025-11-21 17:47:37 +00:00
Engineer Smith d8ec2d884f Fix: Simplify traceback line parsing pattern 2025-11-21 17:41:18 +00:00
Engineer Smith 50aec7e10a Fix: Ensure full traceback is processed by appending a newline 2025-11-20 19:15:59 +00:00
Sasha Szpakowski fc42127510 Allow JIT compilation on arm/arm64. 2025-11-05 22:42:48 -04:00
Sasha Szpakowski 43e3a7f218 always load love.system before conf.lua is executed, on the main thread.
Resolves #2240.
2025-10-28 21:01:43 -03:00
Sasha Szpakowski a7306421be Merge pull request #2237 from TurtleP/patch-1
Buffer: update XYf_STPf_RGBAub DataFormat
2025-10-19 14:33:35 -03:00
Serena Postelnek 284d0a2e3c Buffer: update XYf_STPf_RGBAub DataFormat
This seems to be a simple typo, but since the texcoords are labeled as `STPf` the `DataFormat` should be `DATAFORMAT_FLOAT_VEC3`. Format `XYf_STPf` reflects this properly.
2025-10-19 12:35:40 -04:00
Sasha Szpakowski c1e097ada4 Merge pull request #2226 from musshorn/main
Expose more battery and power connection state
2025-10-16 21:51:34 -03:00
snippet 5f4cfacf8a Properly initialize variables + fix changes.txt 2025-10-14 20:55:49 +11:00
snippet a8ed7ac7d9 Remove code added accidently for testing 2025-10-01 18:43:01 +10:00
snippet aac28466ac Merge branch 'main' of https://github.com/musshorn/love 2025-10-01 18:40:45 +10:00
snippet 7b64f24a31 Expose more battery and power connection state 2025-10-01 18:40:11 +10:00
snippet 1a2a3370d0 Expose more battery and power connection state 2025-09-27 13:50:31 +10:00
Sasha Szpakowski 8afcf3a44b Merge pull request #2220 from lucenthropic/main
Add love.system.getMemorySize
2025-09-16 00:14:25 -03:00
Sasha Szpakowski 381b4b8621 CI: use windows-2025 image 2025-09-15 22:00:56 -03:00
Sasha Szpakowski f52811699c windows CI: install nsis 2025-09-15 22:00:48 -03:00
Lu afa9f711a8 Add love.system.getMemorySize 2025-09-15 12:06:30 -04:00
Sasha Szpakowski 5903ad8901 Merge pull request #2211 from itzKiwiSky/main
Fix crash with setStencilTest for compatibility
2025-08-16 14:45:30 -03:00
KiwiSky 8478bbff16 removed comment 2025-08-16 10:05:26 -03:00
itzKiwiSky fbc8e4e3d1 fix stencilTest nil crash 2025-08-04 17:34:51 -03:00
itzKiwiSky 3f76e7dee3 fix stencilTest nil crash 2025-08-04 17:34:37 -03:00
Sasha Szpakowski 36f368fa70 Fix accidental lua stack modification in love.event.push.
Fixes #2210.
2025-08-03 17:11:49 -03:00
Sasha Szpakowski 305082b6e9 font rasterizer: initialize advance and descent metrics for BMFont and image font rasterizers.
Fixes #2209.
2025-08-01 22:14:25 -03:00
Sasha Szpakowski e5055d3cc2 vulkan: fix graphics state if readbackBuffer is called while a canvas is active. 2025-08-01 21:25:38 -03:00
Sasha Szpakowski 1c8d34ac27 vulkan: generate shader debug info when LOVE_GRAPHICS_DEBUG is set. 2025-07-26 15:22:40 -03:00
Sasha Szpakowski 62f9a6e92b Merge pull request #2207 from BytesHaven/update-copyright-date
Update copyright notice with correct year
2025-07-21 00:33:44 -03:00
John Doe 6f08eb94c6 Update copyright notice with correct year 2025-07-12 23:19:22 +01:00
Sasha Szpakowski 201dc2ae46 Merge pull request #2206 from BytesHaven/update-cmake-version
Update cmake minimum version to 3.19
2025-07-12 15:24:18 -03:00
John Doe ef48405d72 Update cmake minimum version to 3.19 2025-07-12 16:40:47 +01:00
Miku AuahDark 6cab1a10fc Android: Fix filesystem initialization when fused. 2025-06-30 15:38:26 +08:00
Miku AuahDark 029b14d6b3 Android: Fix safe area crash.
Fixes love2d/love-android#277.
2025-06-30 13:53:30 +08:00
Miku AuahDark cdf68b3228 Linux CI: Install wayland and pipewire development libraries. 2025-06-24 12:16:17 +08:00
Sasha Szpakowski e7dd8c84ba Limit live-resize redraws to only happen during actual live-resize situations. 2025-06-22 17:01:40 -03:00
Sasha Szpakowski 0020317dc4 opengl: fix compressed 2d texture uploads. 2025-06-19 22:41:05 -03:00
Sasha Szpakowski 11fe64d6fd opengl: clean up some texture initialization code 2025-06-19 22:07:32 -03:00
Sasha Szpakowski 1f1728c333 update glslang to KhronosGroup/glslang@05cfcc1
Fixes #2194.
2025-06-15 16:16:26 -03:00
Miku AuahDark f19ebafa50 Audio: Fix extension name in ALC_EXT_disconnect extension check. 2025-06-10 20:27:32 +08:00
Miku AuahDark 24dfbad024 Windows: Prefer OpenGL on Windows ARM64.
Closes #2196.
2025-06-10 20:25:27 +08:00
Sasha Szpakowski 0111d70ead Fix quit events being dropped if they're processed during a modal draw.
Forward quit data to the next full event processing cycle, and skip love.quit callbacks being called for a second time in that case.
2025-05-31 23:23:53 -03:00