Roberto Ierusalimschy
|
2b5c1f99e5
|
small simplifications
|
2006-06-05 16:35:57 -03:00 |
|
Roberto Ierusalimschy
|
f8b7a5581e
|
avoid unnecessary exports
|
2006-01-10 11:13:06 -02:00 |
|
Roberto Ierusalimschy
|
dd1221582b
|
details
|
2006-01-10 10:50:00 -02:00 |
|
Roberto Ierusalimschy
|
c505f341d6
|
small changes in casts
|
2005-12-22 14:19:56 -02:00 |
|
Roberto Ierusalimschy
|
e6bfbc38b5
|
'luaopen_package' was missing in new states
|
2005-10-06 17:47:32 -03:00 |
|
Roberto Ierusalimschy
|
d8f1cca16e
|
new function 'lua_setallocf'
|
2005-09-20 14:55:10 -03:00 |
|
Roberto Ierusalimschy
|
8dcc6bc532
|
avoid the use of global lock
|
2005-09-14 14:48:57 -03:00 |
|
Roberto Ierusalimschy
|
3390f9a35a
|
detail
|
2005-08-26 14:36:32 -03:00 |
|
Roberto Ierusalimschy
|
9273fbd131
|
no more 'luaL_get/setfield' (replaced by more direct luaL_findtable)
|
2005-08-26 14:32:05 -03:00 |
|
Roberto Ierusalimschy
|
5e8a9e324c
|
luaL_openlib -> luaL_register, luaL_putchar -> luaL_addchar
|
2005-08-15 11:12:32 -03:00 |
|
Roberto Ierusalimschy
|
80ac5e83fd
|
details (alphabetical order for list of functions)
|
2005-07-12 11:32:08 -03:00 |
|
Roberto Ierusalimschy
|
64b57db377
|
new test function for conversion from num to int
|
2005-07-11 11:00:59 -03:00 |
|
Roberto Ierusalimschy
|
d628795940
|
lua_objsize -> lua_objlen (more compatible with use of `len´ in other
places [opcode name, metamethod index, etc.])
|
2005-05-31 11:34:02 -03:00 |
|
Roberto Ierusalimschy
|
b320d37a80
|
better tests for correctness of `savedpc'
|
2005-05-03 16:01:17 -03:00 |
|
Roberto Ierusalimschy
|
ade585bdf9
|
no more LUA_FIRSTINDEX
|
2005-03-28 14:17:53 -03:00 |
|
Roberto Ierusalimschy
|
03fb3c39d4
|
change #ifdef' for #if defined'
|
2005-03-23 14:51:11 -03:00 |
|
Roberto Ierusalimschy
|
9ffae705ee
|
new "primitive" getn
|
2005-03-16 13:58:41 -03:00 |
|
Roberto Ierusalimschy
|
7d45a5f48f
|
C functions and userdata also have environments
|
2005-02-18 10:40:02 -02:00 |
|
Roberto Ierusalimschy
|
621ef9f767
|
better control over GC collors of upvalues
|
2005-01-19 13:54:26 -02:00 |
|
Roberto Ierusalimschy
|
334ba8132b
|
cleaner way to remark open upvalues
|
2005-01-18 15:18:09 -02:00 |
|
Roberto Ierusalimschy
|
5be517602e
|
no more generational collector (and no more `noinc' mode)
|
2005-01-14 12:19:42 -02:00 |
|
Roberto Ierusalimschy
|
e2498e079e
|
change in hash algorithm so that it does not need empty slot
(tables can be 100% full)
|
2005-01-05 16:20:51 -02:00 |
|
Roberto Ierusalimschy
|
737ec947d3
|
better implementation for `floating-point bytes'
|
2004-11-01 12:06:50 -03:00 |
|
Roberto Ierusalimschy
|
bd38017ddf
|
small optimization for table size in machines with double allignment
|
2004-10-06 15:34:16 -03:00 |
|
Roberto Ierusalimschy
|
cf2a194edc
|
better API for luaL_getfield/setfield
|
2004-09-29 18:00:25 -03:00 |
|
Roberto Ierusalimschy
|
6acfb91c8d
|
new auxiliary functions to implement new package system
|
2004-09-21 13:54:32 -03:00 |
|
Roberto Ierusalimschy
|
32d4f304db
|
first implementation of generational GC
|
2004-08-24 17:12:06 -03:00 |
|
Roberto Ierusalimschy
|
7a796a0682
|
new macro `luaL_typename'
|
2004-07-09 15:23:17 -03:00 |
|
Roberto Ierusalimschy
|
fa38421cea
|
`testC' can operate on other states
|
2004-06-02 16:08:52 -03:00 |
|
Roberto Ierusalimschy
|
0dfd04eb60
|
lua_strlen' upgraded to lua_objsize' (which also works with userdata)
|
2004-05-31 16:41:52 -03:00 |
|
Roberto Ierusalimschy
|
47eda6ebd8
|
main must return status from original main!
|
2004-05-31 15:50:48 -03:00 |
|
Roberto Ierusalimschy
|
7e41612eb2
|
code parameterized by LUA_FIRSTINDEX (first index of an array)
|
2004-05-10 14:50:51 -03:00 |
|
Roberto Ierusalimschy
|
b4cd38ba6c
|
new scheme for configuration through `luaconf.h'
|
2004-04-30 17:13:38 -03:00 |
|
Roberto Ierusalimschy
|
5008e3d7d1
|
new states must use controlled malloc, too
|
2004-03-23 14:07:53 -03:00 |
|
Roberto Ierusalimschy
|
48a8d78102
|
new tests to check memory consistency (for incremental GC)
|
2004-03-15 18:04:54 -03:00 |
|
Roberto Ierusalimschy
|
2aaf7394ad
|
more and better tools (assertions & inspectors) to check incremental GC
|
2004-02-16 16:09:52 -03:00 |
|
Roberto Ierusalimschy
|
47fc57a252
|
TObject' renamed to TValue' + other name changes and better assertions
for incremental garbage collection
|
2003-12-10 10:13:36 -02:00 |
|
Roberto Ierusalimschy
|
8bc6c68021
|
details
|
2003-11-19 17:59:18 -02:00 |
|
Roberto Ierusalimschy
|
fa198197a0
|
lua_(set)getglobal are ok to use
|
2003-11-05 09:59:14 -02:00 |
|
Roberto Ierusalimschy
|
03bab90303
|
new function `lua_getallocf' to retrieve allocation function and data
|
2003-10-20 10:25:23 -02:00 |
|
Roberto Ierusalimschy
|
10de467c79
|
new function `lua_createtable'
|
2003-10-10 10:29:28 -03:00 |
|
Roberto Ierusalimschy
|
f04fe526cd
|
new functions `lua_tointeger' and lua_pushinteger'
|
2003-10-07 17:13:41 -03:00 |
|
Roberto Ierusalimschy
|
b97fb932ec
|
Lua kernel does not use malloc/free functions.
|
2003-10-02 17:31:17 -03:00 |
|
Roberto Ierusalimschy
|
91bf77534c
|
no need for a maximum number of parameters (maximum number of locals
take care of that).
|
2003-07-29 16:26:34 -03:00 |
|
Roberto Ierusalimschy
|
66ed154c89
|
details
|
2003-07-09 09:08:43 -03:00 |
|
Roberto Ierusalimschy
|
56c5e749cc
|
no more compatibility code (`lua_pushupvalues')
|
2003-05-14 18:10:07 -03:00 |
|
Roberto Ierusalimschy
|
c767747191
|
new (internal) macros for error handling
|
2003-05-13 16:22:19 -03:00 |
|
Roberto Ierusalimschy
|
bcc5f1406b
|
test function for lua_setgcthreshold
|
2003-04-28 16:58:06 -03:00 |
|
Roberto Ierusalimschy
|
2ad947fe03
|
new test options for luaL_getn/setn
|
2003-04-07 11:35:00 -03:00 |
|
Roberto Ierusalimschy
|
0d88545b82
|
warnings from several compilers (mainly typecasts when lua_Number is float)
|
2003-04-03 10:35:34 -03:00 |
|
Roberto Ierusalimschy
|
70e2b7ab86
|
name changes to avoid name collision between macros and variables
|
2003-03-19 18:14:53 -03:00 |
|
Roberto Ierusalimschy
|
034de1fe73
|
new names for functions that open C libraries
|
2003-03-11 09:24:34 -03:00 |
|
Roberto Ierusalimschy
|
e1a424e8a3
|
avoid the identifier index' (clashes with BSD index' function)
|
2003-02-27 09:33:07 -03:00 |
|
Roberto Ierusalimschy
|
60c83ded30
|
small optimization for sizes of array constructors
|
2003-02-18 13:02:56 -03:00 |
|
Roberto Ierusalimschy
|
3184314bf3
|
warning
|
2003-02-10 15:31:13 -02:00 |
|
Roberto Ierusalimschy
|
871166d7db
|
test for panic function
|
2003-01-29 08:27:53 -02:00 |
|
Roberto Ierusalimschy
|
32fd039bb5
|
`openlib' functions return new module
|
2002-12-20 08:26:33 -02:00 |
|
Roberto Ierusalimschy
|
dd8edecae1
|
new functions to manipulate upvales (get/setupvalue)
|
2002-12-19 09:11:55 -02:00 |
|
Roberto Ierusalimschy
|
27c6b4d422
|
each .c file defines its own name
|
2002-12-04 15:38:31 -02:00 |
|
Roberto Ierusalimschy
|
38da8c0d7d
|
new facilities to test memory overflow in main.c
|
2002-12-04 15:29:05 -02:00 |
|
Roberto Ierusalimschy
|
5f698f8b6f
|
simpler interface to hooks + use of `int' to count hooks
|
2002-11-25 15:47:13 -02:00 |
|
Roberto Ierusalimschy
|
f0185f7628
|
support for tests of yield inside hooks + better support for tests
with valgrind and other memory checkers
|
2002-11-18 13:24:27 -02:00 |
|
Roberto Ierusalimschy
|
94912d99fc
|
details
|
2002-11-14 14:59:16 -02:00 |
|
Roberto Ierusalimschy
|
097edd3884
|
better names for auxiliar functions
|
2002-11-14 13:41:38 -02:00 |
|
Roberto Ierusalimschy
|
43d1a6af12
|
detail
|
2002-11-14 09:51:23 -02:00 |
|
Roberto Ierusalimschy
|
2f91f95d94
|
better control over GCObjects
|
2002-11-13 09:32:26 -02:00 |
|
Roberto Ierusalimschy
|
dff9be4224
|
new macros to distinguish different types of object moves (for future GC
evolution).
|
2002-11-07 13:37:10 -02:00 |
|
Roberto Ierusalimschy
|
f36038e42a
|
assertion must be always valid (not only in debug mode)
|
2002-10-25 18:29:20 -03:00 |
|
Roberto Ierusalimschy
|
96e15b8501
|
threads now are real Lua objects, subject to garbage collection
|
2002-10-25 17:05:28 -03:00 |
|
Roberto Ierusalimschy
|
4fb9110a6e
|
tests for compatibility functions lua_dostring/lua_dofile
|
2002-10-22 15:07:55 -03:00 |
|
Roberto Ierusalimschy
|
84e0b1bc97
|
small changes in type configuration facilities
|
2002-10-22 14:18:28 -03:00 |
|
Roberto Ierusalimschy
|
728fa167d2
|
cannot raise memory error when realloc to smaller block
|
2002-09-05 16:57:08 -03:00 |
|
Roberto Ierusalimschy
|
fdafd4f4a8
|
new structure for collectable objects, sharing a common header
|
2002-08-30 16:09:21 -03:00 |
|
Roberto Ierusalimschy
|
2e38c6ae5a
|
luadebug.h' content now is included in lua.h'
|
2002-08-06 15:01:50 -03:00 |
|
Roberto Ierusalimschy
|
a2fa48a570
|
new (old?) error handling scheme
|
2002-08-06 12:32:22 -03:00 |
|
Roberto Ierusalimschy
|
390fc99a5c
|
xpcall now is builtin + new macros `ttis*'
|
2002-08-05 11:10:10 -03:00 |
|
Roberto Ierusalimschy
|
79c8edb6c4
|
new names for light userdata operations
|
2002-07-17 13:25:13 -03:00 |
|
Roberto Ierusalimschy
|
d88860131a
|
new macro `lua_isudataval' (for completude)
|
2002-07-09 11:58:28 -03:00 |
|
Roberto Ierusalimschy
|
78c507b7b8
|
lua_upcall' -> lua_call'
|
2002-06-25 16:18:49 -03:00 |
|
Roberto Ierusalimschy
|
5610fdd776
|
avoid using obsolete lua_dostring
|
2002-06-20 17:40:38 -03:00 |
|
Roberto Ierusalimschy
|
1dbe708aa8
|
new protocol for error handling
|
2002-06-18 12:19:27 -03:00 |
|
Roberto Ierusalimschy
|
eb3de8768a
|
rawcall' -> upcall' (unprotected call)
|
2002-06-13 10:44:50 -03:00 |
|
Roberto Ierusalimschy
|
6b8cdc9cdd
|
Lua now uses only `realloc' for all its memory management
|
2002-06-11 13:26:12 -03:00 |
|
Roberto Ierusalimschy
|
ad7103ea3a
|
lua_load* defined in auxlib (and so renamed to luaL_load*)
|
2002-06-03 17:11:41 -03:00 |
|
Roberto Ierusalimschy
|
9c3b3f82fe
|
new commands to test `load'
|
2002-05-16 11:59:49 -03:00 |
|
Roberto Ierusalimschy
|
c18fe57e54
|
quick-and-dirty function to print code (for debugging Lua)
|
2002-05-13 10:10:04 -03:00 |
|
Roberto Ierusalimschy
|
71144e3ff0
|
errors `return' int, to avoid warnings
+ home-made `sprintf' (first version)
|
2002-05-06 16:05:10 -03:00 |
|
Roberto Ierusalimschy
|
9a0f0dcc77
|
precompiler may create functions without `lineinfo'
|
2002-05-02 10:06:20 -03:00 |
|
Roberto Ierusalimschy
|
751cd867d3
|
new way to handle errors
|
2002-05-01 17:48:12 -03:00 |
|
Roberto Ierusalimschy
|
9b38a696d5
|
avoid names that differ only in capitalization
|
2002-04-24 17:07:46 -03:00 |
|
Roberto Ierusalimschy
|
237969724f
|
support for light' userdata + simpler support for boxed' udata
|
2002-04-05 15:54:31 -03:00 |
|
Roberto Ierusalimschy
|
13ab5a6bb1
|
details
|
2002-04-02 17:43:08 -03:00 |
|
Roberto Ierusalimschy
|
801aaf37b1
|
simpler implementation for line information
|
2002-03-25 14:47:14 -03:00 |
|
Roberto Ierusalimschy
|
88c9bf99de
|
standard libraries in packages
|
2002-03-20 09:54:08 -03:00 |
|
Roberto Ierusalimschy
|
7ff21273d6
|
implementation of `global' statement
|
2002-03-14 15:01:52 -03:00 |
|
Roberto Ierusalimschy
|
88c7b574cb
|
`luaA_index' is a local macro now
|
2002-03-04 18:29:41 -03:00 |
|
Roberto Ierusalimschy
|
3b001d9a9d
|
more tests for boolean API
|
2002-03-04 12:26:56 -03:00 |
|
Roberto Ierusalimschy
|
b0a5e156b8
|
no more maximum stack size
|
2002-02-14 19:47:29 -02:00 |
|
Roberto Ierusalimschy
|
cbfc581990
|
details.
|
2002-02-08 20:41:50 -02:00 |
|
Roberto Ierusalimschy
|
c6a108e012
|
test for lua_pushbool
|
2002-02-07 15:26:33 -02:00 |
|
Roberto Ierusalimschy
|
ca181f31e4
|
line number in listcode (and tests for replace)
|
2002-02-05 20:40:05 -02:00 |
|
Roberto Ierusalimschy
|
d6fd33e76f
|
eventtable' renamed to metatable'
|
2002-01-30 15:26:44 -02:00 |
|
Roberto Ierusalimschy
|
50e2952593
|
first version of dynamic stack
|
2002-01-25 20:14:54 -02:00 |
|
Roberto Ierusalimschy
|
d56d4cf776
|
distinct functions to create/destroy states and threads
|
2002-01-11 18:26:52 -02:00 |
|
Roberto Ierusalimschy
|
ea2a75d19e
|
new macro lua_userstateopen
|
2002-01-09 19:51:06 -02:00 |
|
Roberto Ierusalimschy
|
09e15692f3
|
rename of lua_isnull to lua_isnone
|
2001-12-20 19:27:12 -02:00 |
|
Roberto Ierusalimschy
|
9aff171f3b
|
new type `boolean'
|
2001-12-11 20:48:44 -02:00 |
|
Roberto Ierusalimschy
|
592a309177
|
tag system replaced by event tables
|
2001-12-05 18:15:18 -02:00 |
|
Roberto Ierusalimschy
|
fca0a12e23
|
avoid clashing names between macros and fields
|
2001-11-29 18:21:46 -02:00 |
|
Roberto Ierusalimschy
|
72659a0605
|
no more explicit support for wide-chars; too much troble...
|
2001-11-28 18:13:13 -02:00 |
|
Roberto Ierusalimschy
|
fd48dcc7c8
|
details.
|
2001-11-06 19:41:43 -02:00 |
|
Roberto Ierusalimschy
|
070204300c
|
more consistent names for auxlib functions
|
2001-10-26 15:33:30 -02:00 |
|
Roberto Ierusalimschy
|
21aa7e55f2
|
optimization for array part of a Table
|
2001-10-25 17:14:14 -02:00 |
|
Roberto Ierusalimschy
|
1e81da51ba
|
new API for registry and C upvalues + new implementation for references
|
2001-10-17 19:12:57 -02:00 |
|
Roberto Ierusalimschy
|
15462edb0f
|
new definitions for closure structures
|
2001-10-02 13:45:03 -03:00 |
|
Roberto Ierusalimschy
|
abdbe883a8
|
first implementation of unrestricted static scoping
|
2001-09-07 14:39:10 -03:00 |
|
Roberto Ierusalimschy
|
e1d072571e
|
better syntax for type casts
|
2001-08-31 16:46:07 -03:00 |
|
Roberto Ierusalimschy
|
29d883b9bd
|
avoid augmenting alignment of pointers
|
2001-08-30 17:55:22 -03:00 |
|
Roberto Ierusalimschy
|
ae1cf64348
|
better names for type-related functions
|
2001-07-12 15:11:58 -03:00 |
|
Roberto Ierusalimschy
|
654b16e83a
|
better performance for table operations (mainly for integer indices)
|
2001-07-05 17:31:14 -03:00 |
|
Roberto Ierusalimschy
|
2a4afb97c8
|
new module lopcodes.c for tables describing opcodes
|
2001-06-28 16:58:57 -03:00 |
|
Roberto Ierusalimschy
|
afed6c6864
|
missing an opcode name
|
2001-06-28 12:06:20 -03:00 |
|
Roberto Ierusalimschy
|
37f3a1c045
|
too much optimization to "break" keys in tables; keep them as TObjects...
|
2001-06-26 10:20:45 -03:00 |
|
Roberto Ierusalimschy
|
8e586c13fc
|
cleaner way to ensure alignment for strings and userdata
|
2001-06-15 17:36:57 -03:00 |
|
Roberto Ierusalimschy
|
d5b83ead90
|
new implementation for userdatas, without `keys'
|
2001-06-06 15:00:19 -03:00 |
|
Roberto Ierusalimschy
|
762d059a13
|
new implementation for the Virtual Machine
|
2001-06-05 15:17:01 -03:00 |
|
Roberto Ierusalimschy
|
572a69b6af
|
name changes
|
2001-04-23 13:35:45 -03:00 |
|
Roberto Ierusalimschy
|
beee01b170
|
re-implementation of refs through weak tables
|
2001-04-17 14:35:54 -03:00 |
|
Roberto Ierusalimschy
|
0e0e4a480e
|
first implementation for weak tables
|
2001-04-11 11:42:41 -03:00 |
|
Roberto Ierusalimschy
|
dd3a63c205
|
new way to handle `profiles'
|
2001-03-26 11:31:49 -03:00 |
|
Roberto Ierusalimschy
|
cb49b088b6
|
old signature for lua_open
|
2001-03-09 15:05:05 -03:00 |
|
Roberto Ierusalimschy
|
5e870f86a2
|
optimization for tailcall does not seem to pay itself
|
2001-03-07 10:22:55 -03:00 |
|
Roberto Ierusalimschy
|
6d4db86888
|
open functions are lua_Cfunctions
|
2001-03-06 17:09:38 -03:00 |
|
Roberto Ierusalimschy
|
7b84f9e65c
|
lower-case for macros with arguments
|
2001-03-02 14:27:50 -03:00 |
|
Roberto Ierusalimschy
|
39b7978329
|
first (big) step to support wide chars
|
2001-02-23 14:17:25 -03:00 |
|
Roberto Ierusalimschy
|
5f37134e64
|
avoid '...' and "..." inside comments
|
2001-02-22 15:59:59 -03:00 |
|
Roberto Ierusalimschy
|
d6978d03e1
|
small bug in testing (pushuserdata needs some memory to work...)
|
2001-02-21 13:51:25 -03:00 |
|
Roberto Ierusalimschy
|
c1db0b2bf1
|
detail
|
2001-02-20 15:18:00 -03:00 |
|
Roberto Ierusalimschy
|
1c2501fad4
|
tests for string alignment
|
2001-02-13 14:52:01 -02:00 |
|
Roberto Ierusalimschy
|
03d8a9bf0d
|
details
|
2001-02-09 18:29:33 -02:00 |
|
Roberto Ierusalimschy
|
d2e340f467
|
string pointers are always fully aligned
|
2001-02-09 18:22:29 -02:00 |
|
Roberto Ierusalimschy
|
6875fdc8be
|
new semantics for pushuserdata (no more different userdatas with same value)
|
2001-02-09 17:53:16 -02:00 |
|
Roberto Ierusalimschy
|
322b7b5fc5
|
easier to add new initialization functions
|
2001-02-06 16:18:58 -02:00 |
|
Roberto Ierusalimschy
|
1f917e709c
|
better use of extra include files (both for tests and for old_ansi)
|
2001-02-06 14:01:29 -02:00 |
|
Roberto Ierusalimschy
|
426d3e43bd
|
lock/unlock may use L + better structure for internal debug stuff
|
2001-02-02 13:13:05 -02:00 |
|
Roberto Ierusalimschy
|
4ab6acacdf
|
better control of relationship top x L->top
|
2001-02-01 14:03:38 -02:00 |
|
Roberto Ierusalimschy
|
6b71a9cfe5
|
smaller tables for machines with 8-bit alignment
|
2001-01-29 15:17:26 -02:00 |
|
Roberto Ierusalimschy
|
6fda6a5302
|
support for multiple stacks sharing the same global environment
|
2001-01-22 16:01:38 -02:00 |
|
Roberto Ierusalimschy
|
4ac58853dc
|
thead-specific state separated from "global" state
|
2001-01-19 11:20:30 -02:00 |
|
Roberto Ierusalimschy
|
f2c451d745
|
all accesses to TObjects done through macros
|
2001-01-18 13:59:09 -02:00 |
|