Commit Graph

  • 6311e3109f `setfenv' returns "self" Roberto Ierusalimschy 2004-06-15 10:31:30 -03:00
  • 9b854e6dbc BUG: string concatenation may cause arithmetic overflow, leading to a buffer overflow. Roberto Ierusalimschy 2004-06-08 13:23:58 -03:00
  • 2b2d8ecd7a details Roberto Ierusalimschy 2004-06-08 11:31:15 -03:00
  • 75057dfced Roberto Ierusalimschy 2004-06-08 11:31:00 -03:00
  • 345379b5ff option for garbage-collector `step' Roberto Ierusalimschy 2004-06-04 12:30:53 -03:00
  • 118e471fa0 details Roberto Ierusalimschy 2004-06-02 16:09:36 -03:00
  • ba9878fcb8 lock stuff defined in `luaconf.h' Roberto Ierusalimschy 2004-06-02 16:09:21 -03:00
  • fa38421cea `testC' can operate on other states Roberto Ierusalimschy 2004-06-02 16:08:52 -03:00
  • e8d4fe7236 new macro lua_threadyield' + lock stuff in luaconf.h' + details Roberto Ierusalimschy 2004-06-02 16:07:55 -03:00
  • b8691f13a8 `getn' uses binary search if it has to count elements Roberto Ierusalimschy 2004-06-02 16:06:14 -03:00
  • f4718544de what is provided by lauxlib.c should be defined at lauxlib.h Roberto Ierusalimschy 2004-06-02 14:37:03 -03:00
  • 50f9cd201e no more `__fenv' Roberto Ierusalimschy 2004-06-02 11:20:08 -03:00
  • 9d8426bab4 better error messages for `loadfile' Roberto Ierusalimschy 2004-06-02 10:50:46 -03:00
  • 557f0009c4 clear definition for `lua_number2int' Roberto Ierusalimschy 2004-06-02 10:24:43 -03:00
  • 0dfd04eb60 lua_strlen' upgraded to lua_objsize' (which also works with userdata) Roberto Ierusalimschy 2004-05-31 16:41:52 -03:00
  • 1e0aaf2156 luaL_dofile' and luaL_dostring' are deprecated Roberto Ierusalimschy 2004-05-31 16:27:14 -03:00
  • 616438fe9a new way to use vararg' parameters (with ...') Roberto Ierusalimschy 2004-05-31 15:51:50 -03:00
  • 47eda6ebd8 main must return status from original main! Roberto Ierusalimschy 2004-05-31 15:50:48 -03:00
  • 0f49b3e62d new function `select' Roberto Ierusalimschy 2004-05-31 15:50:30 -03:00
  • 0733c83b8c other modules may need FILEHANDLE definition Roberto Ierusalimschy 2004-05-28 15:35:05 -03:00
  • e9844a4f1d `popen' is not ANSI and therefore was removed from the basic library Roberto Ierusalimschy 2004-05-28 15:32:51 -03:00
  • c61bb89dba details Roberto Ierusalimschy 2004-05-17 09:34:00 -03:00
  • 0bda88e6cd small steps towards yields in iterators and tag methods Roberto Ierusalimschy 2004-05-14 16:25:09 -03:00
  • 7966a4acae avoid name clashes among different files Roberto Ierusalimschy 2004-05-11 13:52:08 -03:00
  • 37cd986532 in time', uses default if isdst' is absent Roberto Ierusalimschy 2004-05-10 17:26:37 -03:00
  • a17dd24b34 no more USE_DEGREES option Roberto Ierusalimschy 2004-05-10 15:11:32 -03:00
  • b072e4ea0b tinsert' and tremove' also use LUA_FIRSTINDEX Roberto Ierusalimschy 2004-05-10 15:06:14 -03:00
  • 7e41612eb2 code parameterized by LUA_FIRSTINDEX (first index of an array) Roberto Ierusalimschy 2004-05-10 14:50:51 -03:00
  • b0f341ee52 LUAL_BUFFERSIZE is used in `lauxlib.h' and so everybody may need it Roberto Ierusalimschy 2004-05-10 10:58:26 -03:00
  • 1c459b881f accept `\r' as newline when looking for line end Roberto Ierusalimschy 2004-05-03 09:30:41 -03:00
  • 9629508a98 configuration file for Lua project Roberto Ierusalimschy 2004-05-03 09:28:43 -03:00
  • 763b8fba1b more stuff goes to configuration file Roberto Ierusalimschy 2004-05-03 09:28:43 -03:00
  • b4cd38ba6c new scheme for configuration through `luaconf.h' Roberto Ierusalimschy 2004-04-30 17:13:38 -03:00
  • 079facab40 ensures own top is corrected after calling function with multiple results Roberto Ierusalimschy 2004-04-05 11:43:17 -03:00
  • 4c5d7b2ddd small optimization for {f()} Roberto Ierusalimschy 2004-03-26 11:02:41 -03:00
  • d7cb622866 `unpack' has two optional arguments (to give a range) Roberto Ierusalimschy 2004-03-26 10:25:17 -03:00
  • 26a9b249db details Roberto Ierusalimschy 2004-03-24 12:46:49 -03:00
  • 227bddafe8 new copyright year Roberto Ierusalimschy 2004-03-24 10:55:46 -03:00
  • 5008e3d7d1 new states must use controlled malloc, too Roberto Ierusalimschy 2004-03-23 14:07:53 -03:00
  • 21bc05c920 write barrier for C upvalues Roberto Ierusalimschy 2004-03-23 14:07:34 -03:00
  • 29a13b4128 detail Roberto Ierusalimschy 2004-03-23 13:38:43 -03:00
  • ef8c0d7d90 better message for errors with upvalues Roberto Ierusalimschy 2004-03-23 10:10:16 -03:00
  • 178246062c reuse `sweeplist' for all lists Roberto Ierusalimschy 2004-03-23 09:57:12 -03:00
  • 24f2d1183c detail Roberto Ierusalimschy 2004-03-16 09:31:40 -03:00
  • 8e1f25e3f8 bug in `dofile' Roberto Ierusalimschy 2004-03-15 18:09:55 -03:00
  • 48a8d78102 new tests to check memory consistency (for incremental GC) Roberto Ierusalimschy 2004-03-15 18:04:54 -03:00
  • a4e1230f95 better way to control open upvalues Roberto Ierusalimschy 2004-03-15 18:04:33 -03:00
  • 9804467eeb detail Roberto Ierusalimschy 2004-03-13 10:32:09 -03:00
  • a003e89125 better error messages for some limits Roberto Ierusalimschy 2004-03-12 16:53:56 -03:00
  • b876ec61c0 new (temporary?) API for garbage collector Roberto Ierusalimschy 2004-03-09 14:34:35 -03:00
  • 898e8a6794 added include to stdarg.h (as it uses vararg facilities) Roberto Ierusalimschy 2004-02-20 13:01:05 -03:00
  • 1edea34666 details Roberto Ierusalimschy 2004-02-18 10:40:03 -03:00
  • 2aaf7394ad more and better tools (assertions & inspectors) to check incremental GC Roberto Ierusalimschy 2004-02-16 16:09:52 -03:00
  • b3ce450529 avoid calling `memcmp' with a NULL argument Roberto Ierusalimschy 2004-01-15 10:40:26 -02:00
  • 24434b59f7 '%' must be '%%' to avoid formatting problems Roberto Ierusalimschy 2004-01-02 09:54:14 -02:00
  • beb2aa5a46 atomic operations are not GC "states" Roberto Ierusalimschy 2003-12-12 16:29:34 -02:00
  • 47fc57a252 TObject' renamed to TValue' + other name changes and better assertions for incremental garbage collection Roberto Ierusalimschy 2003-12-10 10:13:36 -02:00
  • 4d5fe1f54b detail Roberto Ierusalimschy 2003-12-10 09:04:54 -02:00
  • df429f163a First version of incremental GC Roberto Ierusalimschy 2003-12-09 14:56:11 -02:00
  • fe595a45c2 `grayagain' list Roberto Ierusalimschy 2003-12-04 16:52:23 -02:00
  • 9db1942bac sweep of strings also incremental Roberto Ierusalimschy 2003-12-04 15:22:42 -02:00
  • c6eac44a94 two different white flags (to distinguish dead elements from new ones) Roberto Ierusalimschy 2003-12-03 18:03:07 -02:00
  • 8878554b85 single list for all collectible objects, with udata separated at the end of the list Roberto Ierusalimschy 2003-12-03 10:30:41 -02:00
  • af850484a9 default metatable can be NULL Roberto Ierusalimschy 2003-12-01 16:22:56 -02:00
  • 1d10acb355 incremental GC phases Roberto Ierusalimschy 2003-12-01 14:33:30 -02:00
  • da61624756 avoid overflow when doubling size Roberto Ierusalimschy 2003-11-27 16:18:37 -02:00
  • 8b97b072cd details Roberto Ierusalimschy 2003-11-27 16:05:14 -02:00
  • 5ee63257f9 macros for closure sizes are global Roberto Ierusalimschy 2003-11-24 16:50:36 -02:00
  • 8bc6c68021 details Roberto Ierusalimschy 2003-11-19 17:59:18 -02:00
  • 57b6ed6815 initial implementation of white/gray/black coloring Roberto Ierusalimschy 2003-11-19 17:41:57 -02:00
  • 9b9cdfee8b gclist for upvalues must be available even when upvalue is still open Roberto Ierusalimschy 2003-11-19 17:41:30 -02:00
  • 366e4af3c9 towards incremental GC Roberto Ierusalimschy 2003-11-18 12:55:11 -02:00
  • 53c7f86194 details Roberto Ierusalimschy 2003-11-18 08:44:53 -02:00
  • ab7d9bfd0c cleaner code for manipulation of `marked' field Roberto Ierusalimschy 2003-11-17 17:50:05 -02:00
  • 921b1723e2 comments Roberto Ierusalimschy 2003-11-11 14:34:17 -02:00
  • fa198197a0 lua_(set)getglobal are ok to use Roberto Ierusalimschy 2003-11-05 09:59:14 -02:00
  • 1e944de6cb towards a "stackless" call of metamethods (?) Roberto Ierusalimschy 2003-10-27 17:14:31 -02:00
  • 275c150b17 error()' (and error(nil)') generates errors with no error messages Roberto Ierusalimschy 2003-10-23 16:06:22 -02:00
  • d6d896b953 lua_set(get)global may use lua_set(get)field Roberto Ierusalimschy 2003-10-21 08:58:58 -02:00
  • 07201066bd core does not look for function name in globals (too particular) Roberto Ierusalimschy 2003-10-20 16:42:28 -02:00
  • 97b838d9ab new semantics for setn/getn (no more changes to `n') Roberto Ierusalimschy 2003-10-20 16:32:55 -02:00
  • c51bcf4796 it's ok to dump functions with upvalues Roberto Ierusalimschy 2003-10-20 15:42:41 -02:00
  • 03bab90303 new function `lua_getallocf' to retrieve allocation function and data Roberto Ierusalimschy 2003-10-20 10:25:23 -02:00
  • 8502331f69 `luaX_errorline' was used only in one place Roberto Ierusalimschy 2003-10-20 10:24:34 -02:00
  • 9914e1bcdd detail Roberto Ierusalimschy 2003-10-20 10:24:26 -02:00
  • 10de467c79 new function `lua_createtable' Roberto Ierusalimschy 2003-10-10 10:29:28 -03:00
  • 533737f26e new functions lua_getfield' and lua_setfield' Roberto Ierusalimschy 2003-10-10 09:57:55 -03:00
  • b9dde086db This is Lua 1.0. It was never publicly released. This code is a snapshot of the status of Lua on 28 Jul 1993. It is distributed for historical curiosity to celebrate 10 years of Lua and is hereby placed in the public domain. v1.0 The Lua team 2003-10-09 23:44:30 -03:00
  • a41d60e1d1 debugger can only see `local function' after it has a meaningful value Roberto Ierusalimschy 2003-10-09 14:56:23 -03:00
  • f04fe526cd new functions `lua_tointeger' and lua_pushinteger' Roberto Ierusalimschy 2003-10-07 17:13:41 -03:00
  • 21947deddc new bug + correction in path for coroutine bug Roberto Ierusalimschy 2003-10-07 09:34:21 -03:00
  • 3087636c76 detail Roberto Ierusalimschy 2003-10-03 13:07:44 -03:00
  • 7b8504840f buffer should better use `size_t' for its size Roberto Ierusalimschy 2003-10-03 13:05:34 -03:00
  • 3a508b8bd7 avoid the use of `strlen' (strings are literals) Roberto Ierusalimschy 2003-10-03 13:04:24 -03:00
  • 6becdb3e70 details Roberto Ierusalimschy 2003-10-03 13:04:11 -03:00
  • b97fb932ec Lua kernel does not use malloc/free functions. Roberto Ierusalimschy 2003-10-02 17:31:17 -03:00
  • c7cf92e6f3 avoid unecessary includes of `stdlib' Roberto Ierusalimschy 2003-10-02 16:21:09 -03:00
  • a62d39aa1c detail: `luaL_where' does not use the name information Roberto Ierusalimschy 2003-10-01 13:50:53 -03:00
  • 5d4bf35ec9 bug: syntax `local function' does not increment stack size Roberto Ierusalimschy 2003-09-29 13:41:35 -03:00
  • 6063c5c61f bug: cannot invalidate a running coroutine Roberto Ierusalimschy 2003-09-05 11:30:59 -03:00