Alex Szpakowski
|
f89aabb0bb
Update copyright year for 2021
|
4 anos atrás |
Alex Szpakowski
|
fc4847c69d
Update copyright for the new year
|
5 anos atrás |
Alex Szpakowski
|
56e3af1744
Slightly improve performance of Channel:push(table).
|
6 anos atrás |
Alex Szpakowski
|
b43074efa5
Add an easier std::string Variant constructor.
|
6 anos atrás |
Alex Szpakowski
|
0752f27bdf
Update copyright year for 2019
|
6 anos atrás |
Bart van Strien
|
e80247c191
Happy new year! ✨
|
7 anos atrás |
Alex Szpakowski
|
bc980b0f20
Fix Channel:push and other functions that accept love objects and store them in Variants internally. Cleaned up Variant code a bit.
|
8 anos atrás |
Alex Szpakowski
|
b838d0de54
Simplified an internal Variant constructor to be more intuitive to use.
|
8 anos atrás |
Bart van Strien
|
907630b04c
Fix cycle detection
|
8 anos atrás |
Bart van Strien
|
5ddc89a033
Added cycle detection to Variant
|
8 anos atrás |
Alex Szpakowski
|
43fea45f9f
Fix a memory leak when pushing love objects to threads which never load that object’s module (resolves issue #1267).
|
8 anos atrás |
Alex Szpakowski
|
abb72cb813
Happy new year! 🥂
|
8 anos atrás |
Bart van Strien
|
c761202486
Build type information on first use (load-time), instead of using a hardcoded list
|
8 anos atrás |
Alex Szpakowski
|
37520bd18b
Added Object:release. Calling it is the equivalent of removing all Lua-side references to an object and doing a full garbage collection cycle (thus deleting the object from memory if nothing else in LÖVE's code is referencing it).
|
8 anos atrás |
Alex Szpakowski
|
d0c0240e09
Very minor channel / variant performance improvements and cleanup.
|
9 anos atrás |
Alex Szpakowski
|
f51bbb8462
Cleaned up some StrongRef-related code.
|
9 anos atrás |
Alex Szpakowski
|
2dd80fcb49
Fixed a compiler warning...
|
9 anos atrás |
Alex Szpakowski
|
7ea259e38b
Optimize constructing a Variant from a Lua table with a non-zero array size.
|
9 anos atrás |
Alex Szpakowski
|
23fcaec89f
The Variant class is now meant to be used on the stack instead of allocated on the heap. As a result (and because of related changes), performance of Channels has roughly doubled when pushing and popping most types.
|
9 anos atrás |
Alex Szpakowski
|
46a2e7b85c
Happy new year! 🎉
|
9 anos atrás |
Alex Szpakowski
|
2c4e713114
Imported some of the dynamiccore branch from love-experiments:
|
9 anos atrás |
Alex Szpakowski
|
7265f891de
Improved support for non-PVRTC compressed texture formats in .pvr files.
|
9 anos atrás |
Alex Szpakowski
|
e979455772
love.event.quit now accepts a single (optional) argument, which is used as the program's exit status number. Resolves issue #1070.
|
10 anos atrás |
Bart van Strien
|
c15f4b5f26
Modify __tostring so it also shows a pointer, like lua does for tables
|
10 anos atrás |
Alex Szpakowski
|
2f419c1c83
Replaced most cases of type bits and type name strings in love's Lua wrapper code with type id's.
|
10 anos atrás |
Alex Szpakowski
|
33d20620b5
The Proxy struct now stores an actual love::Object pointer (rather than void*), which makes code using Proxies a bit cleaner.
|
10 anos atrás |
Alex Szpakowski
|
c7b45b3505
Updated copyright for the new year
|
10 anos atrás |
Alex Szpakowski
|
da7cd267ea
Changed luax_pushtype to retain the pushed object itself, but only if the object isn't in the Lua state already.
|
11 anos atrás |
Alex Szpakowski
|
3120a0e650
Goodbye 2013, hello 2014!
|
11 anos atrás |
Alex Szpakowski
|
1be8ac5be4
Removed some unused functions and fixed up some wrap_ headers
|
12 anos atrás |