Alex Szpakowski
d35f69bcff
Fix the deprecation list UI to respect love.setDeprecationOutput.
...
--HG--
branch : minor
2017-08-27 21:56:07 -03:00
Muh Muhten
dda0200ffe
Use proper type checking for coordinate arguments in love.graphics.points/line/polygon. Resolves issue #1325 .
...
--HG--
branch : minor
2017-08-27 21:31:41 -03:00
Alex Szpakowski
23c9edcc52
Hopefully fix the build
...
--HG--
branch : minor
2017-08-27 18:17:30 -03:00
Alex Szpakowski
9d0e984c3d
Add love.filesystem.getInfo. Deprecate love.filesystem.exists/isDirectory/isFile/isSymlink/getLastModified/getSize. Resolves issue #641 .
...
--HG--
branch : minor
2017-08-27 18:14:54 -03:00
Alex Szpakowski
fcd9f1526c
Use different output messages for deprecated methods versus functions.
...
--HG--
branch : minor
2017-08-27 16:55:33 -03:00
Alex Szpakowski
3128a127cf
Rename love.audio.getSourceCount to getActiveSourceCount and deprecate the old function (resolves issue #1302 ).
...
--HG--
branch : minor
2017-08-27 16:23:55 -03:00
Alex Szpakowski
d8eb6e6012
Rename PrismaticJoint/RevoluteJoint:hasLimitsEnabled to areLimitsEnabled and deprecate the old methods (resolves issue #1324 ).
...
--HG--
branch : minor
2017-08-27 16:18:54 -03:00
Alex Szpakowski
bf6983beac
Rename Source/SoundData/Decoder:getChannels to getChannelCount (resolves issue #1307 ). Deprecate the old methods rather than completely removing them.
...
--HG--
branch : minor
2017-08-27 14:40:46 -03:00
Alex Szpakowski
0325663283
Fix build
...
--HG--
branch : minor
2017-08-27 13:50:47 -03:00
Alex Szpakowski
de28c6e6a8
Add the ability to have formally deprecated functions.
...
Functions which are deprecated will print out a message and show up in a small dialog on-screen, when they're first called. Deprecation output is disabled in fused mode by default, and can be modified with love.setDeprecationOutput(enable).
--HG--
branch : minor
2017-08-27 13:46:31 -03:00
Alex Szpakowski
324ef8f690
Remove an unused variable.
...
--HG--
branch : minor
2017-08-27 10:45:06 -03:00
Alex Szpakowski
0b68c92570
Rename some internal functionality to better match what it actually is.
...
--HG--
branch : minor
2017-08-25 22:42:03 -03:00
Alex Szpakowski
25afd740b4
Fast gamma correction functions in shaders are now more accurate. Always use the fast versions by default.
...
--HG--
branch : minor
2017-08-25 18:27:16 -03:00
Alex Szpakowski
7fdad7c010
Workaround for off-by-one line numbers in shader validation errors.
...
--HG--
branch : minor
2017-08-19 17:20:03 -03:00
Alex Szpakowski
a42f27db47
The default error handler sanitizes error messages to remove non UTF-8 bytes before displaying it. Resolves issue #1330 .
...
--HG--
branch : minor
2017-08-17 22:02:49 -03:00
Alex Szpakowski
fee157b6b9
Functions that take a boolean argument now properly type-check for it.
...
--HG--
branch : minor
2017-08-14 22:56:20 -03:00
Alex Szpakowski
fea9f82cfa
Remove the undocumented formatted variant of Text:set (Text:setf still exists). Resolves issue #1329 .
...
--HG--
branch : minor
2017-08-14 18:41:22 -03:00
Alex Szpakowski
92df39181d
Error for invalid constants passed to love.keyboard.isDown/isScancodeDown. Resolves issue #1313 .
...
--HG--
branch : minor
2017-08-10 21:06:04 -03:00
Alex Szpakowski
01fe2c5df2
Fix FLAC decoder code to compile if someone uncomments it. Resolves issue #1322 .
...
--HG--
branch : minor
2017-08-10 20:29:02 -03:00
Alex Szpakowski
74d9bc7faf
Add traceback information to the error string generated if a thread causes a Lua error.
...
--HG--
branch : minor
2017-08-07 20:15:26 -03:00
Alex Szpakowski
01c091882a
Fix love.graphics.newImage(ImageData). Thanks Santos!
...
--HG--
branch : minor
2017-08-07 18:53:40 -03:00
Alex Szpakowski
98eef9e88a
Add a default love.threaderror callback which just calls error().
...
--HG--
branch : minor
2017-08-06 21:42:05 -03:00
Alex Szpakowski
b5f2bce0a6
Merge default into minor
...
--HG--
branch : minor
2017-08-06 03:48:48 -03:00
Alex Szpakowski
dcd6365356
Backout changeset 5124a406a38b21a8206c552fb1c03bc8a0d93e25
...
--HG--
branch : minor
2017-08-06 03:47:54 -03:00
Alex Szpakowski
f1cdb9145b
Add an option to the Windows installer which puts the love directory in the system path variable (issue #878 ).
...
--HG--
branch : minor
2017-08-06 03:23:12 -03:00
Alex Szpakowski
7566db14f2
love.filesystem.isFile and isDirectory behave consistently between PhysFS 2.0 and 2.1/3.0 (see issue #641 ).
...
--HG--
branch : minor
2017-08-06 00:53:49 -03:00
Alex Szpakowski
9b6aa777ad
love.image.newImageData(w, h, format, rawbytes) can accept a Data object.
...
--HG--
branch : minor
2017-08-06 00:13:02 -03:00
Alex Szpakowski
2dd6408d00
Images/[Compressed]ImageData can be created using any Data, instead of just files or FileData.
...
--HG--
branch : minor
2017-08-05 23:55:20 -03:00
Alex Szpakowski
9654376bdd
Rename love.errhand to love.errorhandler (see issue #573 ).
...
love.errhand will still be called if love.errorhandler doesn't exist, and love defines love.errhand by default rather than love.errorhandler, to prevent hard-to-diagnose problems with existing code that defines love.errhand.
--HG--
branch : minor
2017-08-05 16:56:39 -03:00
Alex Szpakowski
254e50dbfe
Rename love.mouse.hasCursor to isCursorSupported (resolves issue #1309 ).
...
--HG--
branch : minor
2017-08-05 16:53:27 -03:00
Alex Szpakowski
f0c682d50d
boot.lua cleanup and fixes
...
--HG--
branch : minor
2017-08-02 21:49:34 -03:00
Kyle McLamb
c2ea3a846c
Cleanup
...
* love.load now takes two arguments. signature:
love.load(args, raw_args)
* Rename love.arg functions
* Use love.arg.getLow instead of reimplementing it like a goof
--HG--
branch : minor
2017-08-02 19:58:29 -04:00
Kyle McLamb
f6600953ec
merge
...
--HG--
branch : minor
2017-08-02 19:33:42 -04:00
Alex Szpakowski
b129d49a6c
Move Color.h from modules/graphics/ to common/
...
--HG--
branch : minor
2017-08-01 23:53:44 -03:00
Alex Szpakowski
c11a4250e8
Fix CMakeLists.txt
...
--HG--
branch : minor
2017-08-01 23:24:20 -03:00
Alex Szpakowski
84d5d8b636
Move decoder-agnostic love.image code out of the magpie backend folder.
...
--HG--
branch : minor
2017-08-01 23:22:24 -03:00
raidho36
e751278af1
Fix issue #1303
2017-08-02 02:56:02 +03:00
Alex Szpakowski
217552b5ff
love.graphics.newShader can accept File and FileData arguments (resolves issue #1308 ).
...
--HG--
branch : minor
2017-08-01 18:35:35 -03:00
Alex Szpakowski
02aa7937a1
Rename love.audio.setMixMode to setMixWithSystem. Fix some copyright notice typos.
...
--HG--
branch : minor
2017-07-29 23:22:54 -03:00
Alex Szpakowski
17cf7bba83
Cleaned up love.graphics.newShader's wrapper code a bit.
...
--HG--
branch : minor
2017-07-29 23:09:45 -03:00
Alex Szpakowski
5848b8c8b6
Set non-zero default sampling parameters for RecordingDevices.
...
This allows RecordingDevice:start() with no arguments to work if it's being started for the first time.
--HG--
branch : minor
2017-07-29 22:53:20 -03:00
Alex Szpakowski
5ef6730497
Added a variant of love.graphics.captureScreenshot which takes a single filename parameter. Resolves issue #1293 .
...
--HG--
branch : minor
2017-07-29 12:54:53 -03:00
Alex Szpakowski
2c80cce00b
Fix RecordingDevice:start().
...
--HG--
branch : minor
2017-07-29 11:52:01 -03:00
Alex Szpakowski
bf7f082adb
Re-added the no-argument variant of RecordingDevice:start().
...
It uses the samples / sample rate / bit depth / channel count previously set for the RecordingDevice, and errors if it hasn't been set before.
--HG--
branch : minor
2017-07-29 11:45:35 -03:00
Alex Szpakowski
68f1ab5f47
Check a couple more vendor strings to determine if an AMD driver is being used.
...
--HG--
branch : minor
2017-07-29 02:06:32 -03:00
Alex Szpakowski
d338f274ff
Update naming convention for builtin shader matrices.
...
- ClipSpaceFromLocal replaces TransformProjectionMatrix
- ViewSpaceFromLocal replaces TransformMatrix
- ClipSpaceFromView replaces ProjectionMatrix
- ViewNormalFromLocal replaces NormalMatrix
--HG--
branch : minor
2017-07-29 01:25:56 -03:00
Alex Szpakowski
5fc2190ce4
Rename love.audio.getEffectsList and Source:getEffectsList to getActiveEffects. They now return an empty table instead of nil when there are no active effects, as well.
...
--HG--
branch : minor
2017-07-28 19:28:50 -03:00
Alex Szpakowski
19b4079ecc
Merge default into minor
...
--HG--
branch : minor
2017-07-28 19:14:54 -03:00
Alex Szpakowski
b19a8ab67e
RecordingDevice:start has default arguments (resolves issue #1296 ).
...
--HG--
branch : minor
2017-07-28 18:53:54 -03:00
Bart van Strien
7fa8fe7572
Fix replacement when using love.joystick.setGamepadMapping (issue #1298 )
...
The broken find code would previously cause the (duplicate) key to be appended
to the end, now it successfully replaces the previous value
--HG--
branch : minor
2017-07-28 14:49:35 +02:00