Commit Graph

3810 Commits

Author SHA1 Message Date
Sasha Szpakowski b4e9731dfb Add LOVE_EXPORT to a couple macOS functions called from the exe. 2022-12-29 10:27:52 -04:00
Sasha Szpakowski 7876955001 Merge pull request #1887 from MikuAuahDark/visibility
Compile with hidden symbol visibility by default.
2022-12-29 09:52:05 -04:00
Miku AuahDark bfcb6c6643 Compile with -fvisibility=hidden by default.
This gives around 1MB size reduction.
2022-12-28 13:51:21 +08:00
Miku AuahDark c342339fee Define LOVE_EXPORT on non-Windows.
With GCC or Clang, LOVE_EXPORT is defined as __attribute__((visibility("default"))).
2022-12-28 13:51:08 +08:00
Sasha Szpakowski a51d45b1a3 Reduce source:tell drift after a streaming Source loops.
Fixes #1810
2022-12-04 19:36:38 -04:00
Miku AuahDark e5495d6436 Add FreeType to the license. 2022-10-24 23:41:27 +08:00
Miku AuahDark 822d363dfa Remove test #undef from previous commit. 2022-08-26 11:48:46 +08:00
Miku AuahDark 3c2b1b888e Properly pause all audio processing in Android when minimized.
This uses ALC_SOFT_pause_device extension which is available since
OpenAL-soft 1.16. We guarantee almost 100% availability of this extension
since we've been using OpenAL-soft in Android since beginning.

Fixes #1828
2022-08-26 11:45:25 +08:00
slime 8495cefd3b opengl: fix creating compressed array textures with > 1 layer.
Fixes #1817.
2022-08-09 20:37:48 -03:00
slime 870021b8bd Potentially fix a crash when calling Text:add("").
#1824
2022-07-24 16:23:56 -03:00
Alex Szpakowski 5175b0d1b5 Windows: fix some cases of stuttering in windowed mode.
Use DwmFlush instead of OpenGL vsync, when specific conditions are met. Fixes #1628.
2022-04-17 11:26:06 -03:00
Alex Szpakowski b3b1317f61 linux: fix issues if certain codepaths are hit while signal handlers are temporarily off. 2022-04-15 23:43:30 -03:00
Alex Szpakowski e512eff37b Fix love.threaderror when the error message is empty.
Fixes #1775
2022-04-15 23:31:57 -03:00
Alex Szpakowski c35356c841 Merge pull request #1787 from ylme/fix-compile-error
Windows: Fix compile error loses precision
2022-03-12 12:57:09 -04:00
Yan 09725dd3b9 Windows: Fix compile error: cast from 'HINSTANCE' to 'int' loses precision 2022-03-13 00:26:04 +08:00
Alex Szpakowski 0d74419259 cmake: add warning about use on macOS 2022-02-13 16:11:58 -04:00
Alex Szpakowski be73434bec Merge pull request #1772 from eliteraspberries/cmake-macos
CMake: Allow LuaJIT on macOS.

Note that love doesn't officially support using cmake on Apple platforms.
2022-02-13 16:06:22 -04:00
Mansour Moufid b822b9cbe7 Prepend LOVE_INCLUDE_DIRS rather than append. 2022-02-06 17:06:37 -05:00
Mansour Moufid 440bbeb9b3 Link to system frameworks. 2022-02-06 16:38:47 -05:00
Mansour Moufid a6b6103b87 Enable LuaJIT on macOS. 2022-02-06 16:38:21 -05:00
Alex Szpakowski 456c16b9c4 macOS: Fix love.framework's runpath search path
Fixes loading love.framework from a standalone Lua executable, and potentially fixes some code signing issues (#1737)
2022-02-04 20:27:13 -04:00
Alex Szpakowski 878ad785bc Remove obsolete macOS window min size workaround.
Fixes #1444.

The reason for the SetWindowMinSize call after exiting fullscreen doesn't seem to be needed anymore, and it was breaking setFullscreen(false) in Linux.
2022-01-16 18:41:14 -04:00
Alex Szpakowski 65667c0f18 Fix sRGB texture internal formats in OpenGL ES 3. 2022-01-16 10:30:56 -04:00
Alex Szpakowski 61feb197e2 Remove obsolete .hgignore and .hgtags files. 2022-01-15 18:57:26 -04:00
Bart van Strien 334b674f12 Update version number in configure.ac 11.4 2022-01-02 15:07:12 +01:00
Alex Szpakowski 3bc0d90af4 Add release date 2022-01-02 09:37:33 -04:00
Alex Szpakowski 8e7fd10b6f Update copyright year for 2022 2021-12-31 18:33:40 -04:00
Miku AuahDark 78a915c8f4 Update dr_flac to 0.12.33 2021-12-31 10:09:36 +08:00
Alex Szpakowski 21b996e5b4 Add note in the changelog about LuaJIT 2.1. 2021-12-30 14:00:12 -04:00
Alex Szpakowski b66daf3338 Update iOS CI for xcframework dependencies 2021-12-30 12:48:41 -04:00
Alex Szpakowski c0dc051bc4 iOS: use new xcframework dependency libraries.
They support arm64+x64 simulators, as well as 64 bit iOS devices.
2021-12-30 12:46:37 -04:00
Miku AuahDark 165ffa7e34 Package JIT modules as artifact in Windows
See #1752
2021-12-30 20:00:04 +08:00
Alex Szpakowski ebe628eb8b Update CI and readme for new love-apple-dependencies repo path. 2021-12-28 16:25:03 -04:00
Alex Szpakowski 0786eff656 Update changelog 2021-12-28 15:30:10 -04:00
Alex Szpakowski cf0a45f601 Fix non-stream buffers uploading redundant data when a sub-range is modified.
https://love2d.org/forums/viewtopic.php?f=4&t=92458
2021-12-28 15:10:09 -04:00
Alex Szpakowski cee8f8ae48 Fix a compiler warning 2021-12-24 11:26:11 -04:00
Miku AuahDark ede0ad0a20 Fix ENet error on certain system with >48-bit pointers.
Fixes love2d/love-android#222
2021-12-19 09:47:45 +08:00
Alex Szpakowski 6adfe16c26 Merge pull request #1758 from megagrump/main-fileDataFromData
Create FileData from Data objects
2021-12-13 10:41:19 -04:00
megagrump b359311832 accept Data objects in newFileData 2021-12-13 09:20:17 +01:00
Alex Szpakowski 7168ef73d8 Merge pull request #1757 from MikuAuahDark/chunkname
Change luaL_loadbuffer chunkname with prefixes.
2021-12-11 22:05:17 -04:00
Miku AuahDark 380cc1033e Change luax_runwrapper chunk name prefix. 2021-12-12 09:34:08 +08:00
Miku AuahDark fb815edc28 Change luaL_loadbuffer chunkname with prefixes. 2021-12-12 09:23:00 +08:00
Alex Szpakowski 7e271fc53e Use SDL's rumble APIs for Joystick:setVibration, when available.
Fixes #1756
2021-12-11 11:52:42 -04:00
Alex Szpakowski ebd5f13456 Fix missing ByteData:clone and DataView:clone implementations.
Fixes #1754
2021-12-07 19:51:40 -04:00
Alex Szpakowski 7310fde7b9 glslang: fix compilation on certain newer compilers
This is already fixed in the latest glslang source code, but updating may be too risky for love 11.x.
2021-12-04 13:11:01 -04:00
Alex Szpakowski b54aaf65ca Fix the default error handler drawing when love.graphics is inactive.
love.graphics.isActive() is false on mobile devices when the app isn't in the foreground. On iOS there can be a few frames between when the app is backgrounded and when the OS pauses it, where it's not valid to call OpenGL functions or present the screen.
2021-12-04 11:58:00 -04:00
Alex Szpakowski c35b1515ca Merge pull request #1749 from Schweinepriester/patch-1
README.md: HTTP => HTTPS
2021-11-28 13:54:56 -04:00
Kai 9a480d7752 README.md: HTTP => HTTPS 2021-11-28 18:36:00 +01:00
Alex Szpakowski c5b8930a75 Updated changelog 2021-11-24 21:30:18 -04:00
Alex Szpakowski 8f9d1d7f82 xcode: address setting recommendations added in 13.1 2021-11-24 21:18:45 -04:00