Mark Jansen
a689d8e450
Fix building love on Windows for SDL3-3.1.0
2024-04-01 19:26:52 +02:00
Sasha Szpakowski
7823ed476a
Avoid non-ASCII characters in printed help text.
2024-02-10 19:01:48 -04:00
Sasha Szpakowski
64a30f177f
Merge branch 'main' into 12.0-development
2024-02-10 12:24:48 -04:00
Sasha Szpakowski
94d5864144
update year for copyright notice
2024-02-10 12:13:22 -04:00
Sasha Szpakowski
8951635abc
Merge branch 'main' into 12.0-development
2023-12-02 13:40:49 -04:00
Sasha Szpakowski
696007ee39
Don't unconditionally run love.jitsetup when love is used as a library
2023-11-27 23:14:36 -04:00
Sasha Szpakowski
95d44c2c2d
very minor compile speed improvements
2023-02-11 16:29:24 -04:00
Sasha Szpakowski
f6cdbdc868
Merge branch 'main' into 12.0-development
2022-12-31 22:46:34 -04:00
Sasha Szpakowski
c823dbca96
Update copyright year for 2023
2022-12-31 22:25:49 -04:00
Sasha Szpakowski
2e18128bec
Merge branch 'main' into 12.0-development
2022-12-30 00:04:32 -04:00
Sasha Szpakowski
fc5b53a456
macOS: work around linking issues when building the app executable.
2022-12-30 00:01:10 -04:00
premek
019156ee0e
print usage when there is no game and when --help option is used
2022-10-25 00:37:41 +02:00
Alex Szpakowski
7f3538d2ba
Merge branch 'main' into 12.0-development
2022-01-05 21:10:27 -04:00
Alex Szpakowski
8e7fd10b6f
Update copyright year for 2022
2021-12-31 18:33:40 -04:00
Alex Szpakowski
c8038f22df
Merge branch 'main' into 12.0-development
2021-12-24 11:35:35 -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
21f5ba86d3
Merge branch 'master' into 12.0-development
2021-04-07 20:33:44 -03:00
Alex Szpakowski
f89aabb0bb
Update copyright year for 2021
2021-04-04 16:14:45 -03:00
Alex Szpakowski
f0838a4eb7
Merge branch 'master' into 12.0-development
2020-10-26 20:43:52 -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
Alex Szpakowski
26326a01e0
Merge branch 'master' into 12.0-development
2020-09-21 22:35:19 -03:00
niki
99e1c0034d
make love lua 5.4 conform
2020-08-14 19:27:42 +02:00
Alex Szpakowski
e71f27c65d
Move Lua wrapper code for Variants out of the Variant class file.
2020-02-28 21:54:03 -04:00
Alex Szpakowski
5f9b5a21d0
Merge default into minor
...
--HG--
branch : minor
2020-01-03 22:45:36 -04:00
Alex Szpakowski
fc4847c69d
Update copyright for the new year
2020-01-03 22:40:36 -04:00
Alex Szpakowski
b001b2e1d5
Add love.event.restart(optionalvalue) as a shorthand for love.event.quit("restart", optionalvalue). If a Lua value is provided as an argument, a new love.restart field will contain the value after restarting.
...
--HG--
branch : minor
2019-12-28 22:43:39 -05:00
Alex Szpakowski
bc12312f0f
macOS: rename most internal uses of "macosx" to "macos".
...
--HG--
branch : minor
2019-12-22 17:54:20 -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