Sasha Szpakowski
c823dbca96
Update copyright year for 2023
2022-12-31 22:25:49 -04:00
Sasha Szpakowski
fc5b53a456
macOS: work around linking issues when building the app executable.
2022-12-30 00:01:10 -04:00
Alex Szpakowski
8e7fd10b6f
Update copyright year for 2022
2021-12-31 18:33:40 -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
f89aabb0bb
Update copyright year for 2021
2021-04-04 16:14:45 -03:00
Alex Szpakowski
f519d2e2df
macOS: fix issues with drag-and-drop to open a love game
...
- Fix love.event.quit("restart") running the no-game screen instead of the current game.
- Fix fused apps opening other games when drag-and-drop is used.
2020-10-26 20:37:41 -03:00
niki
99e1c0034d
make love lua 5.4 conform
2020-08-14 19:27:42 +02:00
Alex Szpakowski
fc4847c69d
Update copyright for the new year
2020-01-03 22:40:36 -04:00
Alex Szpakowski
0752f27bdf
Update copyright year for 2019
2019-01-03 21:09:05 -04:00
Bart van Strien
fb793944e4
Restore lua 5.2/5.3 compatibility ( fixes #1408 )
2018-05-03 20:04:16 +02:00
Alex Szpakowski
f66753fec2
Windows: redirect stdout to the parent command prompt when love.exe --version is run.
2018-01-06 00:59:09 -04:00
Bart van Strien
e80247c191
Happy new year! ✨
2018-01-03 19:47:35 +01:00
Alex Szpakowski
e6e1a81fd6
Move Android code for rerouting print and disabling JIT compilation to inside require("love") instead of the main executable Lua state, so it works in threads.
2017-12-26 19:45:23 -04:00
Bart van Strien
790625f0c4
Make love.run and love.errhand return a function for their main loop instead ( resolves #1268 )
...
This way lua code can stop every iteration (usually frame), and return to the
c++ code, so love can work in environments with co-operative multithreading
like emscripten.
It may be interesting to see if we can make this optional, so this only happens
on platforms that require it, but I doubt it's significant in the grand scheme
of things.
--HG--
branch : minor
2017-10-30 13:30:19 +01:00
Alex Szpakowski
abb72cb813
Happy new year! 🥂
...
--HG--
branch : minor
2017-01-02 01:28:29 -04:00
Alex Szpakowski
dafacf3fbc
test
...
--HG--
branch : minor
2016-10-15 14:55:35 -03:00
Alex Szpakowski
e803878445
love.event.quit("restart") now causes LÖVE to restart the Lua state after shutting it down.
...
Note that this isn't perfect – it won't kill running threads which aren't cleaned up by the Lua code when the main Lua state is shut down.
2016-09-08 18:42:56 -03:00
Alex Szpakowski
aab6dbda5f
Fixed love.event.quit on un-fused iOS games to properly exit to the game list instead of just restarting the current game.
2016-04-10 22:11:28 -03:00
Alex Szpakowski
ea2aadf888
Cleaned up the code for main() a bit.
2016-03-21 20:50:20 -03:00
Alex Szpakowski
ab91ff0bfe
Removed LOVE_LEGENDARY_UTF8_ARGV_HACK, SDL 2.0 does it for us.
2016-01-25 22:52:32 -04:00
Alex Szpakowski
518f91b53a
Make sure the high-power AMD GPU is used on Windows laptops with switchable Intel+AMD GPUs.
2016-01-24 13:35:58 -04:00
Alex Szpakowski
46a2e7b85c
Happy new year! 🎉
2016-01-01 00:05:06 -04:00
Martin Felis
007e113ec5
android: disabling JIT by default as it may cause performance problems. To enable it run jit.on().
2015-12-22 10:04:44 +01:00
Alex Szpakowski
ca29c364f8
Fixed the Mac build (see issue #1081.)
2015-09-27 20:59:11 -03:00
Alex Szpakowski
6a1ca3a45e
Mac: Don't check for drop-file events on startup if the app was launched from a terminal (resolves issue #1081.)
2015-09-25 17:36:20 -03:00
Alex Szpakowski
d3d970b925
Renamed iOS.mm and iOS.h to ios.mm and ios.h, to match the naming conventions of other files.
2015-08-27 18:46:04 -03:00
Alex Szpakowski
9a1c4ad565
The iOS game list screen now also displays folders that contain main.lua.
2015-08-15 23:57:04 -03:00
Alex Szpakowski
e44f20fdc6
Renamed OSX.mm/OSX.h to macosx.mm/macosx.h to match love's file naming conventions.
2015-08-15 00:41:45 -03:00
Martin Felis
5446022660
print on Android now outputs to Logcat.
2015-08-13 19:41:35 -03:00
Alex Szpakowski
1b29679912
Merged default into minor
...
--HG--
branch : minor
2015-02-24 21:42:55 -04:00
David Huffman
19094b5a3f
Maintain consistency with #endif comments
2015-02-23 08:59:28 +00:00
Alex Szpakowski
85de3c41fb
Initial iOS implementation.
...
--HG--
branch : minor
2015-02-20 00:21:21 -04:00
Alex Szpakowski
606f077e5d
Moved Mac-specific code from platform/macosx/ to src/common/
...
--HG--
branch : minor
2015-02-15 23:44:35 -04:00
Alex Szpakowski
a84367ef38
Prefer the higher performance GPU on Windows systems that use nvidia optimus (resolves issue #984.)
2015-02-02 16:29:58 -04:00
Bart van Strien
33d2331255
Adjust version header to resolve linker conflict with two definitions of love::VERSION in android builds
...
NOTE: Sadly, on some platforms, like linux, the linker is "smart" enough to have the previous code be completely ineffective, the checking will only work with versions of love >= 0.9.2
2015-01-24 23:09:49 +01:00
Bart van Strien
12c358769c
Check if binary and library version match on startup ( resolves #860 )
2015-01-15 11:26:40 +01:00
Alex Szpakowski
c7b45b3505
Updated copyright for the new year
2014-12-31 19:32:43 -04:00
Alex Szpakowski
fdee6f0e30
Fixed a misleading comment.
2014-12-23 04:01:03 -04:00
Alex Szpakowski
3120a0e650
Goodbye 2013, hello 2014!
2014-01-03 17:28:58 -04: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
d7691f652e
Fixed case-correctness of an #include (see issue #790 )
2013-11-08 20:03:17 -04:00
Alex Szpakowski
5dad6c74c9
Fixed random crashing in OS X
2013-10-26 00:22:28 -03:00
Alex Szpakowski
113ed1cfe7
Merged SDL2 changes from bartbes/love-experiments/SDL2 into default.
...
- Added love.system module, including clipboard functions.
- Added custom hardware cursors (love.mouse.newCursor, love.mouse.setCursor.)
- Revamped love.joystick:
-- added Joystick objects and moved love.joystick functions which operated on individual joysticks to methods on the Joystick objects.
-- Added love.joystick.getJoystick and love.joystick.getJoystickCount.
-- Added events for when joysticks are connected and disconnected.
-- Added 'Gamepad' methods to Joystick objects: Joystick:isGamepad, Joystick:getGamepadAxis, and Joystick:isGamepadDown. They're a common abstraction for xbox controller-like joystick across operating systems.
- Added monitor choosing support and "fullscreen desktop" mode to love.window.
- Moved unicode text input events to their own callback function (love.textinput), removed the key repeat functions from love.keyboard and made the second argument of love.keypressed a boolean saying whether the keypress was a repeat.
- liblove now works with love.window and love.graphics in OS X
2013-08-25 16:51:42 -03:00
Alex Szpakowski
daea857c1e
Removed duplicated code for a crash workaround in Mac OS 10.5
2013-05-16 15:30:34 -03:00
Alex Szpakowski
0e4d7f1f4a
Replaced deprecated lua_open calls with luaL_newstate
2013-02-16 00:51:57 -04:00
Alex Szpakowski
96161c66f6
Updated copyright text for the new year
2013-02-05 05:32:49 -04:00
Bart van Strien
7793e7f02f
CRLF to LF
2012-07-04 14:40:24 +02:00
Bill Meltsner
eaa4af7a6e
Make things build on Mac.
...
My Mac, anyway. No promises.
2012-07-03 03:52:53 -05:00
rude
72056caccd
Say hello to the love module. Oh my!
...
Because technically, it *is* a module. Also renamed "launcher.cpp".
2012-06-29 09:56:50 +02:00