Commit Graph

1815 Commits

Author SHA1 Message Date
Alex Szpakowski eb4fdf3bbe Use a separate preprocessor define for using Framework #includes in OS X (resolves issue #796) 2013-12-13 02:37:06 -04:00
rude 740347b240 Set PDB name for liblove in Visual Studio.
There was a conflict between love.exe and love.dll, causing the debugger to
fail loading symbols.
2013-12-12 15:30:47 +01:00
rude 09a02662b6 CMake: Support LuaJIT. 2013-12-10 12:34:46 +01:00
Alex Szpakowski 760f8220fa Fixed a small memory leak if love.physics.newChainShape errors 2013-12-10 03:54:56 -04:00
Bart van Strien 5b66cd2290 Make configure output some files in the debian folder as well, substituting the (optional) suffix where needed, also add pkg-config dependency 2013-12-08 20:06:12 +01:00
Bart van Strien 3d82eecc08 Apply the love-experiment moduleselect branch
You can now:
	- Enable and disable love's modules, implementations and libraries using configure switches
	- Use pkg-config for a couple of love's requirements
	- Build on OSX
	- Use newer versions of FreeType2
	- Get a slightly better error message using automagic
2013-12-08 19:32:32 +01:00
Alex Szpakowski 2ee869b0e8 Fixed some compiler warnings 2013-12-07 05:07:54 -04:00
Alex Szpakowski eadb718ade Fused status is now set before conf.lua is loaded 2013-12-07 02:13:54 -04:00
Alex Szpakowski f997cc43c1 Fixed a crashing issue when the error handler can’t create a window 2013-12-04 17:03:34 -04:00
Bart van Strien 33bb049ee6 Don't call love.graphics functions in love.run until a window has been created, prevents segfaults when love.window and love.graphics were loaded, but there was no window 2013-12-02 21:07:43 +01:00
Alex Szpakowski 1c8abc74aa Renamed love.math.g/setRandomState and rng:g/setState to love.math.g/setRandomSeed and rng:g/setSeed.
getRandomSeed now always returns the previously set random seed instead of the current (implementation-dependent) random state.
2013-12-01 21:25:27 -04:00
Alex Szpakowski 6e82ca88ed Mac: dropped OS 10.5 support.
The legacy code in SDL2 for windowing in 10.5 is buggy, resulting in major bugs with love.window.setFullscreen and other functions. Also, some of 10.5’s own drivers are buggy. Stop using an OS that’s 4 major versions out of date - most other applications have dropped 10.5 support months or years ago.
2013-11-28 21:46:36 -04:00
rude 72698bccee CMake: Convert line endings of text files automatically. 2013-11-27 01:21:57 +01:00
rude d6d2d79701 Turn off CPACK_NSIS_MODIFY_PATH.
Turning this on inserts a page in the installer which gives the user the
option of adding LÖVE to PATH, except it doesn't really work, even if the
user opts that it should happen.

In that case, it's better to not give the user a choice at all, and disable
the whole thing.
2013-11-27 00:51:27 +01:00
Alex Szpakowski 8608f2b027 The love executable now properly requires love and love.boot, and relies less on globals. 2013-11-23 19:35:06 -04:00
Alex Szpakowski b6aba767f4 Fixed custom return value for love executable, cleaned up Xcode project a bit 2013-11-23 17:20:45 -04:00
Alex Szpakowski a31e458ed8 Fixed liblove (love.framework) in OS X 2013-11-21 17:42:53 -04:00
rude e43b1e9673 Build love.dll on Windows. 2013-11-21 21:57:54 +01:00
rude b4ec808aff Use umlauts in LÖVE's installer.
Regular NSIS does not support Unicode. Use the fork Unicode NSIS if you want
to create the installer.

Also update year in license.txt.
2013-11-21 20:58:58 +01:00
Alex Szpakowski c83e3c33c5 Fixed building as a universal binary on OS X (resolves issue #793) 2013-11-20 17:55:30 -04:00
Alex Szpakowski d4b71c8958 Tighter memory management when checking for .love files in the Mac application’s Resources folder.
Xcode 4.2 or greater is now required to build LÖVE in OS X
2013-11-18 06:18:51 -04:00
Alex Szpakowski 3b532fdb70 Fixed an uncaught exception in File:getSize 2013-11-18 05:29:53 -04:00
Alex Szpakowski 006f4dd600 Fixed 2013-11-17 05:47:38 -04:00
Alex Szpakowski c0b28f9d07 Only apply an AMD-specific hack when generating mipmaps on AMD GPUs 2013-11-17 05:44:09 -04:00
Alex Szpakowski 0214bab0fe Reduced initialization time of the graphics module in OS X by ~80ms 2013-11-15 15:41:15 -04:00
Alex Szpakowski 0fb05fd84d Reorganized the nogame screen’s drawing code to marginally reduce CPU usage. Woo! 2013-11-13 04:07:29 -04:00
Alex Szpakowski 51c01ca407 Updated CMakeLists.txt 2013-11-13 00:21:10 -04:00
Alex Szpakowski 218638a4ed Updated changelog 2013-11-12 19:17:12 -04:00
Alex Szpakowski f53678cec0 Merged bartbes/love-experiments/box2d-2.3 into default 2013-11-12 18:24:15 -04:00
Alex Szpakowski f2797958db Don’t minimize on focus loss in fullscreen-desktop mode (mimics post-SDL 2.0.1 behaviour) 2013-11-11 18:07:05 -04:00
Alex Szpakowski c8f5494900 Images, Canvases, Quads, and Fonts now have the same vertex winding order 2013-11-10 19:57:13 -04:00
Alex Szpakowski a1a116e7a2 Fixed an uncaught exception in World:translateOrigin
--HG--
branch : box2d-2.3
2013-11-09 16:37:19 -04:00
Alex Szpakowski 5e3a0fbc6e Updated box2d from 2.2.1 to 2.3.0
--HG--
branch : box2d-2.3
2013-11-09 04:30:36 -04:00
Alex Szpakowski 5179ca5655 Removed an obsolete file 2013-11-08 22:18:56 -04:00
Alex Szpakowski d7691f652e Fixed case-correctness of an #include (see issue #790) 2013-11-08 20:03:17 -04:00
Alex Szpakowski 70996a417f Mac: only do LOVE_LEGENDARY_LIBSTDCXX_HACK when the minimum required version is OS 10.5 (resolves issue #789) 2013-11-08 01:50:26 -04:00
Alex Szpakowski 6a22afb3a9 Make the ENet wrapper define LUA_COMPAT_ALL before including Lua’s headers (see issue #787) 2013-11-07 23:26:24 -04:00
Alex Szpakowski c1b4f31578 Fixed detection for shader support 2013-11-06 01:50:54 -04:00
Alex Szpakowski cded0e4a3b Fixed a typo when love.math.triangulate errors 2013-11-05 15:17:54 -04:00
Alex Szpakowski 61a46ae09a SDL2 is a dependency now, not SDL1.2 2013-11-04 18:42:52 -04:00
Alex Szpakowski 83d3eae1e7 Fixed error messages in Shader:send and love.math.newRandomGenerator to include the line number 2013-11-04 15:03:45 -04:00
Bart van Strien b8a69ab2b6 At least decode file uris now 2013-11-03 20:23:31 +01:00
vrld 3b04eeeec8 Fix #756: Sending an Image to a shader does not retain it
Each shader contains a map of uniform name -> bound retainable Object. After
setting the uniform, sendImage() and sendCanvas() release() the Object with
the requested name (if present) and record the new Image/Canvas.

Related bugfix: Shader::attach() calls retain()/release() on the shader.
2013-11-03 18:27:36 +01:00
Bart van Strien 3c2e8ddd87 Add source deb stuff 2013-11-02 18:49:37 +01:00
Bart van Strien 29d953aa08 Tell enet about autoconf's socklen_t results 2013-11-02 18:47:11 +01:00
Alex Szpakowski 97bbbe638b Updated ENet version from 1.3.8 to 1.3.10 2013-11-01 01:09:21 -03:00
Jordy Dickinson 86f3ee4775 Fixed build errors with custom SDL location (resolves issue 774)
Uses SDL2's sdl2.m4 macros, which are installed along with SDL2. This ensures
that the correct flags are given to the compiler and linker.
2013-10-31 20:24:43 +01:00
Alex Szpakowski e2626552bd Fixed .hgignore with Xcode 2013-10-31 16:26:24 -03:00
Alex Szpakowski f03efd2dca Fixed Contact:getChildren to be 1-based 2013-10-30 18:07:41 -03:00
Alex Szpakowski 8cc5364d15 Changed the SearchOrder argument of love.filesystem.setIdentity and love.filesystem.mount to a boolean (append) instead of an enum 2013-10-30 17:05:46 -03:00