124 Commits

Author SHA1 Message Date
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 5f733ef0fa Add new PhysfsIo file to xcode project 2023-05-29 09:43:44 -03:00
Sasha Szpakowski 78e7c44424 update version 2023-04-15 09:37:22 -03:00
Sasha Szpakowski fc3f5ee620 macOS: remove stray library search path 2022-12-30 00:03:58 -04:00
Sasha Szpakowski 6730d57f04 macOS: compile with symbols hidden by default. 2022-12-29 10:28:28 -04: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 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
Alex Szpakowski 8f9d1d7f82 xcode: address setting recommendations added in 13.1 2021-11-24 21:18:45 -04:00
Alex Szpakowski 888051d01e Potential very hacky workaround for arm64 JIT allocation issues.
Try to reserve blocks of executable memory before external library code claims the address space. LuaJIT on arm64 currently has a very limited range of memory it can use for JIT code.
2021-11-12 21:58:49 -04:00
Alex Szpakowski e27a71f798 Move boot.lua to src/modules/love/ with raw string literal format.
Split it up into 3 files to keep under VS2013's raw string literal character limit.
Now boot.lua doesn't need a regeneration step when it's modified.
2021-10-19 21:22:26 -03:00
Alex Szpakowski 1e69a8c485 macOS: fix framework dependency paths in xcode 2021-06-06 11:46:22 -03:00
Alex Szpakowski 5c3ff29a30 Update xcode project version 2021-05-30 16:42:29 -03:00
Alex Szpakowski 3cf303adb3 macOS: build for arm64+x64.
Remove obsolete linker flags needed for LuaJIT 2.0.
2021-05-30 11:08:52 -03:00
Alex Szpakowski aeb2a853c7 macOS: xcode only looks for frameworks in platform/xcode/macosx/Frameworks.
A symlink can be used if other search locations are desired.
2021-05-30 11:07:53 -03:00
Alex Szpakowski 4e15df2df9 macOS: remove accidentally included Lua files from love.framework 2021-05-30 10:47:47 -03:00
Alex Szpakowski 9742adb1b9 macOS: add search paths for mpg123's headers
Needed for newer versions of mpg123
2021-01-05 17:37:01 -04:00
Alex Szpakowski 90bd8f1811 Update version 2020-12-24 12:45:08 -04:00
Alex Szpakowski ae4fe5bff9 Update Xcode project files 2020-12-23 13:00:24 -04:00
Alex Szpakowski bfaae71f2a macOS: only build for x64, for now
We don't support arm64 yet
2020-12-22 22:54:43 -04:00
Alex Szpakowski c4fac73dc4 ImageData and Images now support the rg11b10f format. 2019-09-21 14:46:45 -03:00
Alex Szpakowski cb4b45dcf1 Add Data:getFFIPointer. Similar to Data:getPointer but returns a cdata pointer directly (or nil if the FFI isn't available).
It should be preferred instead of Data:getPointer because the latter uses lightuserdata which can't store more all possible memory addresses on some new arm64 architectures, when LuaJIT is used.
2019-07-20 10:47:58 -03:00
Alex Szpakowski 07179f11ea Add dr_flac header file to cmakelists and xcode 2019-06-25 20:13:31 -03:00
Alex Szpakowski 84f9f3f4d5 Update Xcode project for Xcode 10.2. 2019-04-11 18:45:09 -03:00
Alex Szpakowski 3ad16a70da love.physics: move internal box2d->love object map to World instances, and clean up some physics object code. Resolves issue #1465. 2019-01-04 21:36:05 -04:00
Alex Szpakowski 0752f27bdf Update copyright year for 2019 2019-01-03 21:09:05 -04:00
Alex Szpakowski a91a0a9431 update glslang 2018-12-26 14:47:34 -04:00
Alex Szpakowski dc5e43adf3 Split wrap_Graphics.lua into two files to work around VS2013's 16kB limit for raw string literals. 2018-12-13 22:34:30 -04:00
Alex Szpakowski a1604f4294 Update Xcode project with the latest changes from Xcode 10. 2018-10-28 13:41:12 -03:00
Mikael Lind f682950634 Fix link error in Mac OS X build (Xcode)
--HG--
branch : elemel/fix-freetype-link-error-on-xcode-macosx
2018-06-05 10:22:08 +02:00
Alex Szpakowski a2aead02cf iOS: set minimum deployment target to iOS 8.0, fix build to compile physfs 2018-04-01 12:48:33 -03:00
Alex Szpakowski a5ca04bb57 macOS: Update the capitalization of ogg/vorbis/theora frameworks. Resolves issue #1320. 2017-12-30 00:54:58 -04:00
Alex Szpakowski 22fada31da macOS: update freetype framework capitalization 2017-12-26 19:50:55 -04:00
Alex Szpakowski cdcf052a73 Update LZ4. 2017-12-17 21:52:19 -04:00
Alex Szpakowski 1d8a3326b3 Include the physfs 3.0.1 source in love. 2017-12-15 19:41:17 -04:00
Alex Szpakowski 7354de2059 Add (low level) functionality to allow rendering 3D Meshes.
- Add love.graphics.setDepthMode(testcomparison, enablewrites).
- Add love.graphics.setMeshCullMode.
- Add love.graphics.setFrontFaceWinding.

Depth testing and depth writes require a depth buffer to work. The mesh cull mode controls whether front/back faces of a mesh are culled. The front face winding determines whether a clockwise or counterclockwise-oriented face in a mesh is considered front facing.

--HG--
branch : minor
2017-12-09 23:34:08 -04:00
Alex Szpakowski 8672ff2272 Use a more efficient method of streaming automatically batched vertices on AMD Windows and Linux systems.
--HG--
branch : minor
2017-11-11 20:48:02 -04:00
Alex Szpakowski e3fd489373 Abstracted lower level drawing code, moved all type-specific drawing code out of opengl backend, deleted obsolete files
--HG--
branch : minor
2017-10-26 20:58:19 -03:00
Alex Szpakowski 15cc540e4c Make internal vertex attribute code less OpenGL-specific.
--HG--
branch : minor
2017-10-25 23:12:39 -03:00
Alex Szpakowski 8db8b71587 Fix building for macOS and iOS
--HG--
branch : minor
2017-10-21 11:15:39 -03:00
Alex Szpakowski e5b0d96b27 Restructured some Shader code. Added runtime temporary caching and sharing of shader stages. Resolves issue #1235.
--HG--
branch : minor
2017-10-21 03:08:18 -03:00
Alex Szpakowski ac84589c57 Backed out changeset 1b487edea8a8
--HG--
branch : minor
2017-09-30 17:02:16 -03:00
Alex Szpakowski 8fa511aea8 Move boot.lua into src/modules/love/
--HG--
branch : minor
2017-09-30 16:41:45 -03:00
Alex Szpakowski e10c941614 Update Xcode/clang warnings to the latest recommended settings.
--HG--
branch : minor
2017-09-30 12:27:50 -03:00
Alex Szpakowski 90e86c329d Add love.data module.
- Moved love.math.compress / decompress / decode / encode / hash to love.data.
- Changed love.data.compress/decompress to take the format argument first instead of second.
- Added love.data.newDataView. Returns a read-only subsection of an existing Data object.
- Added love.data.newByteData. Mostly useful in combination with LuaJIT's FFI as it has no extra methods currently.
- Added implementations of Lua 5.3's data packing APIs: love.data.packString / packData / unpack / getPackedSize.

Resolves issue #1336.
Resolves issue #1331.

--HG--
branch : minor
2017-09-24 19:25:27 -03:00
Alex Szpakowski b4f8f08b70 Enable (when available) and improve performance of persistently mapped buffer path for the vertex/index buffers used with automatic batching.
--HG--
branch : minor
2017-09-03 18:23:54 -03:00
Alex Szpakowski a41f78dfe4 Simplified some compressed image parsing code.
--HG--
branch : minor
2017-08-30 22:25:26 -03:00
Alex Szpakowski de28c6e6a8 Add the ability to have formally deprecated functions.
Functions which are deprecated will print out a message and show up in a small dialog on-screen, when they're first called. Deprecation output is disabled in fused mode by default, and can be modified with love.setDeprecationOutput(enable).

--HG--
branch : minor
2017-08-27 13:46:31 -03:00
Alex Szpakowski b129d49a6c Move Color.h from modules/graphics/ to common/
--HG--
branch : minor
2017-08-01 23:53:44 -03:00
Alex Szpakowski 84d5d8b636 Move decoder-agnostic love.image code out of the magpie backend folder.
--HG--
branch : minor
2017-08-01 23:22:24 -03:00
Alex Szpakowski ad399cab39 Update glslang
--HG--
branch : minor
2017-06-11 14:35:51 -03:00