Commit Graph
100 Commits
Author SHA1 Message Date
Roberto Ierusalimschy b3ffaca638 details 2002-02-14 19:41:53 -02:00
Roberto Ierusalimschy bee86e23be luaH_next' works like next' + better hash for pointers 2002-02-14 19:41:08 -02:00
Roberto Ierusalimschy 0056ed4135 better(?) order for types (nil == 0) 2002-02-14 19:40:29 -02:00
Roberto Ierusalimschy e01f5e6809 better order of record fields for 64-bit machines 2002-02-08 20:42:41 -02:00
Roberto Ierusalimschy cbfc581990 details. 2002-02-08 20:41:50 -02:00
Roberto Ierusalimschy d3651c1d88 `getstr' now gives const char * 2002-02-08 20:41:09 -02:00
Roberto Ierusalimschy 57a7baafb9 error message compatible with incomplete lines of lua.c 2002-02-08 20:40:27 -02:00
Roberto Ierusalimschy 252e01e398 `setlocale' may be used to query the current locale 2002-02-08 20:39:56 -02:00
Roberto Ierusalimschy 87b0e3d477 no more `lua_istrue' function 2002-02-08 20:39:36 -02:00
Roberto Ierusalimschy cb50fcf42d incomplete lines (by lhf) 2002-02-07 15:27:12 -02:00
Roberto Ierusalimschy c6a108e012 test for lua_pushbool 2002-02-07 15:26:33 -02:00
Roberto Ierusalimschy d5ceb369b1 boolean type must be 0 or 1 2002-02-07 15:26:10 -02:00
Roberto Ierusalimschy 86a4de256e no more lua_[gs]etstr 2002-02-07 15:25:36 -02:00
Roberto Ierusalimschy 53aaee6ee6 comments 2002-02-07 15:25:12 -02:00
Roberto Ierusalimschy 67bda7e136 details. 2002-02-07 15:24:05 -02:00
Roberto Ierusalimschy 7c8f1823e7 bug: true 1 != true 2 + no more lua_getstr + some new macros 2002-02-07 15:22:53 -02:00
Roberto Ierusalimschy ca181f31e4 line number in listcode (and tests for replace) 2002-02-05 20:40:05 -02:00
Roberto Ierusalimschy 38b0e6128d simpler implementation for `for' loops 2002-02-05 20:39:12 -02:00
Roberto Ierusalimschy addbe8c8b0 protected execution of `resume' 2002-02-05 20:38:37 -02:00
Roberto Ierusalimschy 6bb5cb1cbd comments 2002-02-05 20:37:26 -02:00
Roberto Ierusalimschy d070506a25 new function luaL_errstr 2002-02-05 20:36:52 -02:00
Roberto Ierusalimschy 0a87d9d334 new function `lua_replace' 2002-02-05 20:35:58 -02:00
Roberto Ierusalimschy f856fdeabd details 2002-01-30 15:28:05 -02:00
Roberto Ierusalimschy 653977a0ac callhook can be static 2002-01-30 15:27:53 -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 b217ae644e details 2002-01-25 20:14:09 -02:00
Roberto Ierusalimschy a048cc9676 nil is a `valid' eventtable 2002-01-25 19:55:41 -02:00
Roberto Ierusalimschy eb262bc617 2^15 does not fit in a 16-bit int 2002-01-25 19:51:33 -02:00
Roberto Ierusalimschy 74907fb71e OP_LOADINT can be done by OP_LOADK 2002-01-25 19:50:39 -02:00
Roberto Ierusalimschy b38e594ed7 small improvements 2002-01-18 15:39:40 -02:00
Roberto Ierusalimschy 448517e47e no more linehook field in CallInfo 2002-01-18 15:39:06 -02:00
Roberto Ierusalimschy 931ee346e3 legacy declaration 2002-01-18 15:38:13 -02:00
Roberto Ierusalimschy dea98702c9 preparations for stack reallocation 2002-01-16 20:04:50 -02:00
Roberto Ierusalimschy 7ab7703b53 cleaner semantics for test instructions (skips) 2002-01-16 20:03:57 -02:00
Roberto Ierusalimschy 566310fa04 small optimization 2002-01-16 20:02:46 -02:00
Roberto Ierusalimschy 6272c843de yield' passes its arguments to resume' 2002-01-11 18:27:41 -02:00
Roberto Ierusalimschy 5d14ce612b details 2002-01-11 18:27:11 -02:00
Roberto Ierusalimschy d56d4cf776 distinct functions to create/destroy states and threads 2002-01-11 18:26:52 -02:00
Roberto Ierusalimschy b7ae43d457 detail 2002-01-11 18:23:01 -02:00
Roberto Ierusalimschy f083812c02 first implementation of coroutines 2002-01-09 20:02:47 -02:00
Roberto Ierusalimschy 3533382a1e dependencies updated 2002-01-09 19:59:24 -02:00
Roberto Ierusalimschy ea2a75d19e new macro lua_userstateopen 2002-01-09 19:51:06 -02:00
Roberto Ierusalimschy b3bb0f132b new interface for weak modes 2002-01-09 19:50:35 -02:00
Roberto Ierusalimschy facfec0687 small optimizations 2002-01-03 15:42:57 -02:00
Roberto Ierusalimschy 34df9976a9 some compatibility macros 2002-01-03 15:28:58 -02:00
Roberto Ierusalimschy cfaa8fbf1d better check for option in `strfind' 2002-01-03 15:27:43 -02:00
Roberto Ierusalimschy f42cc90d2d some warnings 2001-12-21 15:31:35 -02:00
Roberto Ierusalimschy 9d2e454d6f BUG: seg. fault when rawget/rawset get extra arguments 2001-12-21 15:30:31 -02:00
Roberto Ierusalimschy 09e15692f3 rename of lua_isnull to lua_isnone 2001-12-20 19:27:12 -02:00
Roberto Ierusalimschy 42754c0f15 small optimizations 2001-12-20 19:26:52 -02:00
Roberto Ierusalimschy 18afb90349 first version of stackless Lua 2001-12-20 13:13:38 -02:00
Roberto Ierusalimschy 22dd271cbb another bug in next (when n is a power of 2) 2001-12-19 16:11:00 -02:00
Roberto Ierusalimschy e04f7ed450 first version of Lua "stackless" 2001-12-18 18:52:30 -02:00
Roberto Ierusalimschy 101cee3032 LUA_ERRERR also cannot generate error message 2001-12-13 16:11:02 -02:00
Roberto Ierusalimschy eb7312d9be comments 2001-12-13 16:10:55 -02:00
Roberto Ierusalimschy 21259a50e1 run GC tag methods in protected mod 2001-12-12 15:47:33 -02:00
Roberto Ierusalimschy 9aff171f3b new type `boolean' 2001-12-11 20:48:44 -02:00
Roberto Ierusalimschy ed9be5e1f0 reentrant implementation of garbage collection 2001-12-11 14:52:57 -02:00
Roberto Ierusalimschy 9d801f43d4 details 2001-12-10 20:12:08 -02:00
Roberto Ierusalimschy e043b72a55 simpler way to collect userdata 2001-12-10 20:11:23 -02:00
Roberto Ierusalimschy a4c35a3269 it doesn't pay to optimize absence when it is an error 2001-12-10 20:10:30 -02:00
Roberto Ierusalimschy 9cd36059ad new API functions lua_getstr/lua_setstr 2001-12-10 20:09:51 -02:00
Roberto Ierusalimschy 592a309177 tag system replaced by event tables 2001-12-05 18:15:18 -02:00
Roberto Ierusalimschy 413fc7334b new implementation for lua upvalues (sugested by E.T.): simpler and solves
a bug for multi-stacks
2001-11-29 18:22:22 -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 dfaf8c5291 details 2001-11-27 18:56:47 -02:00
Roberto Ierusalimschy 657f65211a bug: `next' did not work for numeric indices 2001-11-16 14:29:51 -02:00
Roberto Ierusalimschy 39395e1211 `luaX_syntaxerror' does not need to be public 2001-11-16 14:29:10 -02:00
Roberto Ierusalimschy 26bf2adace optimizations for space in LClosures and time cleanning weak tables 2001-11-06 19:41:53 -02:00
Roberto Ierusalimschy fd48dcc7c8 details. 2001-11-06 19:41:43 -02:00
Roberto Ierusalimschy 617008f552 field G renamed to _G to avoid problemas with bugged macro-systems
(there is a macro named G too)
2001-11-06 19:40:51 -02:00
Roberto Ierusalimschy ec9d8308b4 global table is also pseudo-index 2001-10-31 18:31:38 -02:00
Roberto Ierusalimschy af59848219 tables of globals accessible through pseudo-index in C API 2001-10-31 17:58:11 -02:00
Roberto Ierusalimschy 46347d768e `ref' support goes to auxlib 2001-10-31 17:40:14 -02:00
Roberto Ierusalimschy 36eb665859 no more refs, upvalues; lexical scoping;pseudo-indices 2001-10-31 16:06:05 -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 fffb6f3814 no more MINPOWER2 2001-10-25 17:13:33 -02:00
Roberto Ierusalimschy 0b551a24f8 Hash' -> Table' 2001-10-25 17:12:21 -02:00
Roberto Ierusalimschy 8069f77ca4 C++ warning 2001-10-17 19:17:45 -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 7cd37142f4 details 2001-10-17 19:06:56 -02:00
Roberto Ierusalimschy e7c2eebd87 new function `concat' 2001-10-16 15:41:43 -02:00
Roberto Ierusalimschy 0c3ea96541 no more copytagmethod function 2001-10-11 18:41:21 -03:00
Roberto Ierusalimschy babaa96eab URL in indentification 2001-10-11 18:40:56 -03:00
Roberto Ierusalimschy 15462edb0f new definitions for closure structures 2001-10-02 13:45:03 -03:00
Roberto Ierusalimschy 6f936bc793 "compatibility module" no longer exists 2001-10-02 13:43:54 -03:00
Roberto Ierusalimschy b840a7518d details 2001-10-02 13:43:29 -03:00
Roberto Ierusalimschy f54cdb33a5 small bug in close x return 2001-09-28 13:48:16 -03:00
Roberto Ierusalimschy 8e9b1e4ae9 details 2001-09-25 14:08:46 -03:00
Roberto Ierusalimschy 328d53e77b restricted syntax for function call/table accesses prefixes 2001-09-25 14:06:48 -03:00
Roberto Ierusalimschy c04d9b9ecb small bug when closing closures in error conditions 2001-09-25 14:05:49 -03:00
Roberto Ierusalimschy c44c68450a changes by lhf 2001-09-24 12:54:36 -03:00
Roberto Ierusalimschy abdbe883a8 first implementation of unrestricted static scoping 2001-09-07 14:39:10 -03:00
Roberto Ierusalimschy 4d0935ec0f better definition for `luaM_freelem' 2001-09-07 14:30:16 -03:00
Roberto Ierusalimschy e1d072571e better syntax for type casts 2001-08-31 16:46:07 -03:00
Roberto Ierusalimschy 7651a5c6b2 start of new version 2001-08-31 16:46:07 -03:00
Roberto Ierusalimschy 8c8ad5f3ff better locality of assignment of table values 2001-08-30 17:56:43 -03:00