Ilari Liusvaara
436b1d183d
Remove partial exception specifiers
...
These are deprecated in newer C++ versions.
2019-01-30 19:26:21 +02:00
Ilari Liusvaara
8ac8304824
Lua: Fix type confusion between signed and unsigned
...
This bug seemed to cause all hell to break lose with negative numbers
2017-04-18 19:25:07 +03:00
Ilari Liusvaara
4a4c71acf4
ss_int24_t and ss_uint24_t are integers
...
Fixes memory.readhword pushing the result as a float instead of integer.
2015-06-27 02:45:43 +03:00
Ilari Liusvaara
56deafcd4a
Framework for memory usage tracking
...
Adds tracking for Lua VM and ROM images. The rest comes later.
2015-05-26 13:16:09 +03:00
Ilari Liusvaara
82a7c255a4
Lua: Memory usage limit
...
This allows limiting memory usage by Lua, which might very well be useful,
given the behaviour of accumulating garbage in memory if one does not
garbage-collect.
2015-05-25 23:44:51 +03:00
Ilari Liusvaara
478472e883
Have only one main Lua function trampoline
...
This makes it easier to have special modes when Lua functions are running
later...
2015-05-25 21:16:45 +03:00
Ilari Liusvaara
71b57756ca
Cleanup Lua multiversion support
2015-01-06 08:13:10 +02:00
Ilari Liusvaara
f4c1bc6e84
Lua 5.3 support
2015-01-06 05:19:39 +02:00
Ilari Liusvaara
5c84507e22
Revert "Remove Lua 5.1 support"
...
This reverts commit c87c5de458
.
2014-08-08 04:04:14 +03:00
Ilari Liusvaara
c87c5de458
Remove Lua 5.1 support
2014-06-06 16:09:43 +03:00
Ilari Liusvaara
a77c6a4df6
Lua.cpp: Get rid of register-queue
2014-05-13 16:13:09 +03:00
Ilari Liusvaara
fc95e85126
Pass dummy object parameter to do_unregister
...
This allows getting rid of proxy objects
2014-02-23 07:07:20 +02:00
Ilari Liusvaara
676dfe7ac8
Lua: Refactor classes
...
- Support static methods for classes
- Allow Lua to enumerate static and class methods
- Support dynamic class lookup
- Support class groups (in style of function groups)
2014-01-25 16:30:25 +02:00
Ilari Liusvaara
94114f1e2e
Lua: Refactor lots of stuff
...
- Split lua-base.hpp into number of files.
- New Lua function parameters parser.
- Convert some Lua code files in order to test the stuff
2014-01-25 12:51:13 +02:00
Ilari Liusvaara
78cade7daa
Refactor library UTF8 to dedicated namespace
2013-12-20 12:39:41 +02:00
Ilari Liusvaara
2c4a3a5f84
Refactor library Lua base to dedicated namespace
2013-12-20 02:02:22 +02:00