341 Commits

Author SHA1 Message Date
Bart van Strien 902a7cb68b Update debian package files to the 0.9.2~rc1 version 2015-02-14 20:19:47 +01:00
Alex Szpakowski 665cdc4ae7 Moved the default Font logic from the graphics.lua script to the Graphics and Font module C++ code. Moved love.graphics.setNewFont from the graphics.lua script to the Graphics module Lua wrapper code. Moved the Vera.ttf data from the graphics.lua script to its own file inside the Font module. 2015-01-31 01:10:38 -04:00
Alex Szpakowski e82d1dfe54 Added Lua 5.3's UTF-8 module to LÖVE. Resolves issue #951.
The module must be required before use, i.e. utf8 = require("utf8").  API documentation can be found here: http://www.lua.org/manual/5.3/manual.html#6.5

Removing the last unicode character in a string (for proper backspace support in text boxes, for example) can be done using utf8.offset, e.g. text = text:sub(1, utf8.offset(text, -1) - 1).
2015-01-21 16:52:56 -04:00
Alex Szpakowski 1b41d546e2 Removed a Mac-specific workaround from love.run (pumping events before love.load so that love.mouse.setPosition works before love.update.)
It seems to be no longer necessary, and it was a partial workaround anyway.
2015-01-10 18:44:58 -04:00
Alex Szpakowski c7b45b3505 Updated copyright for the new year 2014-12-31 19:32:43 -04:00
Anylo 426813945e Updated year from 2013 to 2014.
--HG--
branch : Anylo/updated-year-from-2013-to-2014-1418642961070
2014-12-15 11:29:26 +00:00
Alex Szpakowski 22bbe74ed9 Allow BC6 and BC7 compressed DDS files to be loaded into Images. 2014-11-05 21:11:22 -04:00
Alex Szpakowski c6b610d116 Cleaned up some code. 2014-09-21 19:50:02 -03:00
Alex Szpakowski 0841ff209b license.txt is now distributed with the OS X build of LÖVE in love.app/Contents/Resources/. 2014-07-10 20:54:35 -03:00
Alex Szpakowski 738cc01468 Increased version to 0.9.2. 2014-06-18 19:05:43 -03:00
Bart van Strien c5d59107ad Modify desktop file to play nicer with file associations in newer versions of nautilus (gnome file browser) 2014-06-18 10:59:32 +02:00
Alex Szpakowski 3792dee4b4 Backout changeset 57172a7f03452a6b07f346e850f3e1020e230f46 2014-06-05 14:59:29 -03:00
Alex Szpakowski e9e303c1e8 Changed embedded Lua scripts to be included in the love source via C++11's raw string literals instead of a generated header file. Removed auto.lua.
As a result, love can be compiled immediately after editing an embedded Lua script.

Visual Studio 2013 or newer is required for C++11 raw string literals in Windows.
2014-06-05 13:42:03 -03:00
Alex Szpakowski 10e0d4b900 Moved the love.joystick Lua wrapper code from modules/joystick/sdl/ to modules/joystick/. 2014-06-04 16:23:39 -03:00
Alex Szpakowski 724bdbd296 love.graphics.newImage, love.image.newImageData, etc. no longer leave Lua-owned FileData objects floating around waiting to be GC'd when called with filename arguments, resulting in less memory use on startup (resolves issue #890.)
Moved love.filesystem Lua wrapper code from src/modules/filesystem/physfs/ to src/modules/filesystem/.
2014-06-02 00:22:41 -03:00
Bart van Strien 853f741ba3 Prevent erroring in gen-modules when no source files are found (needed in some
love-experiments branches)
2014-04-25 17:53:38 +02:00
Alex Szpakowski b5ad14ccb1 Removed platform/msvc2010/* 2014-04-11 04:15:21 -03:00
Alex Szpakowski b98e6add18 Fixed version description for the windows executable 2014-04-09 14:27:14 -03:00
Bart van Strien a1158599ab Use '=' instead of '==' for test command in configure scripts (fixes #866) 2014-04-01 16:54:51 +02:00
Alex Szpakowski 38497d23da Added love.system.openURL (resolves issue #863) 2014-03-31 16:13:05 -03:00
Bart van Strien 2698fd2c2c Use debian's name for libsdl2 in the debian package dependency list 2014-03-30 14:15:36 +02:00
Alex Szpakowski 4faddcd9aa Fixed some trivial compiler warnings 2014-03-12 17:55:19 -03:00
Alex Szpakowski 314a528996 Fixed loading BC4 compressed textures 2014-03-10 21:36:14 -03:00
Alex Szpakowski a3afb1a9ca Refactored the ImageData decoding/encoding backends a bit 2014-03-02 03:17:47 -04:00
Bart van Strien e92be92900 Add fused and version flags to love manpage 2014-02-16 13:19:59 +01:00
Bart van Strien c2971f9568 Distribute associations, icons and manpages in the deb package 2014-02-16 09:59:27 +01:00
Alex Szpakowski 0f9bf64cf8 Xcode project: added new build scheme ‘Distribution’, moved LTO from ‘Release’ to ‘Distribution’ 2014-01-27 19:04:12 -04:00
Alex Szpakowski 0da21a430a Mac: enabled link-time optimization for Release builds of love 2014-01-27 18:44:00 -04:00
Alex Szpakowski 10f1e23931 Increased version to 0.9.1 2014-01-22 18:26:10 -04:00
Alex Szpakowski 510ed6f11e Abstracted lua bindings for general Texture methods into wrap_Texture.cpp 2014-01-04 21:19:03 -04:00
Alex Szpakowski 3120a0e650 Goodbye 2013, hello 2014! 2014-01-03 17:28:58 -04:00
Alex Szpakowski aa69a695d3 Canvases can now be used in SpriteBatches, ParticleSystems, and Meshes (resolves issue #782).
Canvases and Images are now subclasses of the new Texture class.
Added setTexture and getTexture methods for Meshes, ParticleSystems, and SpriteBatches (the old set/getImage methods are deprecated but not removed.)
Canvas texture coordinates are no longer flipped.
2014-01-03 17:07:12 -04:00
Bart van Strien 85264f4bea Lower sdl2 dependency version to 2.0.0 2013-12-27 15:51:15 +01:00
Jordy Dickinson e6f06fbc78 Allow user to override environment variables 2013-12-27 15:02:40 -05:00
Bart van Strien d81eae8889 Scripts now automatically recompile on change on linux, auto.lua normalizes input names a bit more 2013-12-14 13:57:52 +01:00
Bart van Strien 6eb0544bbc Use new error message macro in configure, use luajit by default, switch to pkg-config for as much as possible 2013-12-13 20:32:55 +01:00
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
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 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
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
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 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
Bart van Strien 3c2e8ddd87 Add source deb stuff 2013-11-02 18:49:37 +01: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 95e1861f35 Mac: don't build with GME support by default (now consistent with Windows and Linux builds) 2013-10-30 14:35:29 -03:00
Alex Szpakowski b2725f8cf5 Updated Visual Studio project for latest changes (thanks Boolsheet) 2013-10-23 17:07:56 -03:00