Alex Szpakowski
0b6722ea0e
Merge branch 'main' into 12.0-development
2022-04-15 23:47:28 -03:00
Miku AuahDark
730cb08acf
Minor fix to love.localechanged callback.
...
Wrong callback placement.
2022-03-18 10:30:31 +08:00
Miku AuahDark
c2104f896a
Add love.system.getPreferredLocales()
2022-03-17 23:38:25 +08:00
Yan
09725dd3b9
Windows: Fix compile error: cast from 'HINSTANCE' to 'int' loses precision
2022-03-13 00:26:04 +08: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
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
Gleb Mazovetskiy
0ad34a3c71
System.cpp: Do not require posix_spawn on "Linux"
...
Many libc implementations do not implement posix_spawn.
Allow love2d to build without it.
2020-10-13 08:39:54 +01: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
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
e80247c191
Happy new year! ✨
2018-01-03 19:47:35 +01:00
Alex Szpakowski
19b4079ecc
Merge default into minor
...
--HG--
branch : minor
2017-07-28 19:14:54 -03:00
Tiago Koji Castro Shibata
3dfe3808c6
Remove playmuted audio configuration
2017-07-18 15:15:04 -03:00
Tiago Koji Castro Shibata
4e9212b152
Add Android support to hasBackgroundMusic
2017-07-13 23:54:37 -03:00
Bart van Strien
a4a62f390a
Disable signal handling in threads (see issue #1042 )
...
I don't necessarily like having to do these extra calls whenever threads are
spawned (and what happens to signals during the time signal delivery is
disabled?) but it seems to fully fix os.execute.
NOTE: Also disables signals when loading openal, as it or one of its backends
spawns threads internally, and does not disable signals itself.
--HG--
branch : minor
2017-07-02 15:27:58 +02:00
Alex Szpakowski
5941982422
Error if a window isn't open when love.system.set/getClipboardText are called (resolves issue #1290 ).
...
--HG--
branch : minor
2017-06-27 21:31:50 -03:00
Alex Szpakowski
a6669a8bb2
Merge default into minor
...
--HG--
branch : minor
2017-01-21 12:06:35 -04:00
Bart van Strien
2aff0b1199
Remove executable bit from source files
2017-01-15 20:21:38 +01:00
Alex Szpakowski
abb72cb813
Happy new year! 🥂
...
--HG--
branch : minor
2017-01-02 01:28:29 -04:00
Bart van Strien
c761202486
Build type information on first use (load-time), instead of using a hardcoded list
...
--HG--
branch : dynamiccore2
2016-11-13 16:38:57 +01:00
T-Bone
4ef7504c05
Fixed things pointed out by Alex Szpakowski and Bart von Strien
2016-04-09 07:28:03 +02:00
T-Bone
b2291fb62a
Fixes to make Löve compile on Windows 10 UWP
2016-04-07 22:56:03 +02:00
Bart van Strien
bc932aecef
Move spawn.h include, because android doesn't use (or have) posix_spawn
2016-03-20 22:28:14 +01:00
Bart van Strien
2af327dcf9
Make sure android includes the right headers for System.cpp too
...
Hopefully.
2016-03-20 10:44:36 +01:00
Bart van Strien
f7d226d072
Improve reaping of zombie processes on linux ( resolves #1042 )
...
Sadly, it's not a complete fix for #1042 , as there seems to be no good way to
deal with system() in multithreaded applications. At least os.execute can
return values other than -1 now.
2016-03-14 17:14:49 +01:00
Alex Szpakowski
46a2e7b85c
Happy new year! 🎉
2016-01-01 00:05:06 -04:00
Alex Szpakowski
2c4e713114
Imported some of the dynamiccore branch from love-experiments:
...
- Type names for love's Lua objects are specified as an argument to luax_register_type, rather than being statically defined in an array.
- luax_register_type takes a variable number of method array arguments, for registering superclass methods without copying them into the subclass' method array.
Also removed most of the header declarations for wrapper functions.
2015-11-29 20:38:12 -04: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
153bd6f4cb
Cleaned up the Font:getWrap code a bit.
2015-08-16 01:04:51 -03:00
Alex Szpakowski
9be2581e6f
Implemented love.system.vibrate on iOS. Unfortunately due to API limitations the duration argument is ignored, and it always vibrates for roughly 0.5 seconds.
2015-08-14 21:30:07 -03:00
Martin Felis
2ab69094e1
Added love.system.vibrate(time), which causes the phone to vibrate on Android. love.system.getOS() now returns "Android" on Android. Implemented love.system.openURL.
2015-08-13 19:48:25 -03:00
Alex Szpakowski
811b2db466
The full executable path, rather than argv[0], is now used when determining whether the executable is fused (resolves issue #1043.)
2015-05-04 10:38:28 -03:00
Alex Szpakowski
2f419c1c83
Replaced most cases of type bits and type name strings in love's Lua wrapper code with type id's.
...
--HG--
branch : minor
2015-03-01 18:32:41 -04:00
Alex Szpakowski
85de3c41fb
Initial iOS implementation.
...
--HG--
branch : minor
2015-02-20 00:21:21 -04:00
Alex Szpakowski
c7b45b3505
Updated copyright for the new year
2014-12-31 19:32:43 -04:00
Bart van Strien
30ff7d4659
Make openURL call on linux non-blocking, because the spawned processes are not guaranteed to fork into the background, and enable automatic zombie cleanup to deal with that change (note: the return value is now slightly less accurate)
2014-08-07 20:22:58 +02:00
Alex Szpakowski
d52bab4221
Updated the new module changes to use more compile/link-time checking rather than runtime checking.
2014-07-21 15:12:01 -03:00
Alex Szpakowski
014b9a46e5
Updated the Lua wrapper code for modules to account for cases where the module's instance is removed from memory completely and recreated during the program's lifetime.
2014-07-21 14:52:01 -03:00
Bart van Strien
ce385ec27a
Switch from vfork/exec to posix_spawn after clang static analyzer run
2014-05-06 19:48:50 +02:00
Alex Szpakowski
e4dc533bb2
Minor code cleanup
2014-05-01 14:12:21 -03:00
Bart van Strien
820d8a8267
Add correct header for waitpid in openURL
2014-04-01 16:57:07 +02:00
Alex Szpakowski
38497d23da
Added love.system.openURL (resolves issue #863 )
2014-03-31 16:13:05 -03:00
Alex Szpakowski
55514720a6
Fixed some minor compiler warnings
2014-03-01 21:16:01 -04:00
Alex Szpakowski
3120a0e650
Goodbye 2013, hello 2014!
2014-01-03 17:28:58 -04:00
Alex Szpakowski
3f1221a7f9
Reverted commit bcb6336
2013-08-26 00:53:14 -03:00
Alex Szpakowski
af1cf14b7f
Changed love.system.getPowerInfo to return -1 for battery percent and seconds remaining instead of nil, if the value can't be determined
2013-08-26 00:47:27 -03:00