Commit Graph

5040 Commits

Author SHA1 Message Date
Bart van Strien e08502fafa Update build dependencies 2024-01-06 13:04:19 +01:00
Bart van Strien aa14bacdc9 Remove autotools build system 2024-01-06 13:04:19 +01:00
Bart van Strien ac9ee9d3c7 Update debian package files for cmake variables
And automatically get the timestamp for the changelog too.
That does require an update to cmake 3.7, but as far as I can tell we never use a cmake version older than 3.16 (ubuntu 20.04).
2024-01-06 13:04:19 +01:00
Bart van Strien d7f29c8860 Use correct library name on linux
Not libliblove.so, but liblove-12.0.so, like with autotools.
Note that no liblove.so symlink is created.
2023-12-31 13:57:51 +01:00
Bart van Strien 5c0e4d0b62 Add linux install commands to cmake 2023-12-31 13:28:09 +01:00
Bart van Strien 84982ff4ef Generate love.desktop using CMake too
Since I cannot easily change the variable used there, update the autotools codepath to insert the CMake variable.
2023-12-31 12:56:38 +01:00
Bart van Strien 0302e0f2ac Generate debian package files with cmake
Used for the ppa builds, so it's nice if they still work.
2023-12-31 12:48:40 +01:00
Bart van Strien 83f1a926bf Make OS-check for install/cpack cmake targets more explicit
Previously there was an early return, trying to match the same thing.
Making this explicit allows me to more easily add a linux version.
2023-12-31 12:36:25 +01:00
Bart van Strien e4e16e8a88 Remove unused OSX support in autotools
Probably best illustrated by the fact it's still called OSX, rather than
macOS.
2023-12-31 12:29:18 +01:00
Bart van Strien ae0f2916ed Remove dead code in configure.ac: old stb_image define 2023-12-31 12:23:29 +01:00
Sasha Szpakowski dbcdbc47d5 Add debugname field to shader options table. 2023-12-29 16:51:24 +01:00
Sasha Szpakowski 8872497561 graphics: handle default textures in high level code.
Previously each backend had to set up default textures with its own code, which needs some care for it to be robust.
2023-12-27 21:28:02 +01:00
Sasha Szpakowski e42019c59e Add buffer stats to love.graphics.getStats.
- Add 'buffers' field, to count the total number of graphics buffer objects.
- Add 'buffermemory' field, to estimate the total number of bytes of graphics memory used by all buffers.
2023-12-25 23:25:46 +01:00
Sasha Szpakowski 9c6417776f metal: remove unneeded TODO 2023-12-25 23:24:07 +01:00
Sasha Szpakowski 4631bc56fb Merge branch 'main' into 12.0-development 2023-12-25 15:39:45 +01:00
Sasha Szpakowski 8423b82dba Merge pull request #1999 from Raltyro/patch-1
Fix deprecated love.graphics.stencil function resetting stencilMode
2023-12-24 15:19:23 +01:00
Ralty 1f8e3551aa Update wrap_Graphics.lua 2023-12-24 17:28:27 +07:00
Ralty b7362200c8 Fix deprecated love.graphics.stencil resetting stencilMode 2023-12-24 17:26:58 +07:00
Sasha Szpakowski cb4cb80595 tests: fix love.math.randomNormal test consistency
also test exact values to make sure the tests cover algorithm changes
2023-12-23 23:07:31 +01:00
Sasha Szpakowski eb552dfcb6 Fix compile warning 2023-12-23 16:54:00 +01:00
Sasha Szpakowski 0be5a214dd tests: remove invalid parameter in readbackTexture calls. 2023-12-14 18:39:22 -04:00
Sasha Szpakowski cb24af7cc2 tests: add texture debug name check 2023-12-13 21:47:42 -04:00
Sasha Szpakowski b7e576efa8 tests: add some tolerance to video rewind test
It happens while the video is still playing, so the tell() query after the rewind isn't guaranteed to be 0.
2023-12-13 21:05:12 -04:00
Sasha Szpakowski 12b24c3cc7 CI: don't create compat (aka bunch-of-vc-redist-dll) windows builds. 2023-12-13 20:42:42 -04:00
Sasha Szpakowski 059cab0364 metal: implement buffer/texture debug names. 2023-12-13 20:27:58 -04:00
Sasha Szpakowski 7b899fbc17 opengl: add version checks when setting debug names. 2023-12-13 20:27:31 -04:00
Sasha Szpakowski 9b79d3a91b Merge pull request #1994 from nikeinikei/12.0-development
Implement #1992
2023-12-13 19:54:00 -04:00
niki c8da517759 don't use optional for debugName 2023-12-14 00:42:19 +01:00
niki 364b5c3b7b adjust code styling 2023-12-14 00:16:38 +01:00
niki 7a25dfa7fc add texture:getDebugName and buffer:getDebugName 2023-12-14 00:09:08 +01:00
niki 834398335d fix buffer debugname is optional 2023-12-13 16:03:22 +01:00
niki a5d7ba1589 implement #1992
add debugname to settings table for texture and buffer,
which can be used for debugging in e.g. RenderDoc.
2023-12-13 14:28:34 +01:00
Sasha Szpakowski a6ae0ae10d tests: more tolerance for sleep overshooting its time
CI machines can take a while doing some other thing during a sleep.
2023-12-12 20:16:51 -04:00
Sasha Szpakowski e6af895b01 tests: video play/pause time test waits for less time 2023-12-12 19:55:38 -04:00
Sasha Szpakowski 6715bae0c3 tests: add waitSeconds method 2023-12-12 19:53:56 -04:00
Sasha Szpakowski 1f38b77bab tests: sleep for a shorter time in getTime test 2023-12-12 19:53:38 -04:00
Sasha Szpakowski e413f0c033 tests: sleep for a shorter time 2023-12-12 19:38:39 -04:00
Sasha Szpakowski 4b9f4f77e9 tests: fix invalid effect volumes.
OpenAL prints an error when they're out of range.
2023-12-12 19:36:47 -04:00
Sasha Szpakowski a51ea9430b Merge pull request #1989 from ellraiser/12.0-development
test suite cleanup + updates
2023-12-10 17:56:02 -04:00
ell eda26b3574 Update joystick.lua 2023-12-10 21:41:50 +00:00
Sasha Szpakowski 0df51cf743 Windows: update build version in love.rc 2023-12-09 21:01:55 -04:00
Sasha Szpakowski 444ab6311b Workaround for Windows 7 runtime compatibility 2023-12-09 19:41:52 -04:00
ell 6a2ba9322e tweaks for hardware tests 2023-12-05 10:26:24 +00:00
ell 2875a96e92 test updates
- update main love readme to include note on tests
- added module tests for Sensor, Keyboard, Touch, Joystick, Mouse, and Love (for hooks + basic love-level methods)
- general clean-up of main class logic
- couple fixes for runner-specific failures (physics.Joint, audio.getActiveSourceCount, mouse.getPosition)
- change window.close test to run last
2023-12-04 16:13:38 +00:00
Sasha Szpakowski 6eb8d54673 Release date 11.5 2023-12-03 08:44:36 -04:00
Sasha Szpakowski 62d17371ca macOS xcode project: update deployment target to macOS 10.11
When it's set to earlier versions, love fails to link when new versions of the macOS SDK are used.
2023-12-02 15:37:44 -04:00
Sasha Szpakowski 8951635abc Merge branch 'main' into 12.0-development 2023-12-02 13:40:49 -04:00
Sasha Szpakowski 36783d30f0 Merge pull request #1974 from ellraiser/12.0-testsuite
basic API test suite
2023-11-29 20:45:36 -04:00
Sasha Szpakowski 30009dbe2c Merge pull request #1988 from sewbacca/fix/mingw-utf16
MinGW: Adapt to utf-16 encoded love.rc
2023-11-28 21:45:14 -04:00
ell 13c5f7ac34 Merge remote-tracking branch 'upstream/12.0-development' into 12.0-testsuite 2023-11-28 15:15:48 +00:00