Commit Graph

  • 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
  • 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
  • 2a70107581 detail Roberto Ierusalimschy 2003-09-05 11:00:27 -03:00
  • 7dae7899b1 main thread and global state are allocated in a single block Roberto Ierusalimschy 2003-09-04 17:19:07 -03:00
  • 30e51f09b9 some changes in error reporting Roberto Ierusalimschy 2003-09-04 17:00:28 -03:00
  • 994a37c8e8 IBM AS400 (OS400) has sizeof(void *)==16, and a %p' may generate up to 60 characters in a printf'. That causes a buffer overflow in `tostring'.. Roberto Ierusalimschy 2003-08-29 13:50:02 -03:00
  • 0ff1596476 new form of long strings: `[***[...]***]' Roberto Ierusalimschy 2003-08-29 13:48:14 -03:00
  • b27664e0db simpler manipulation of buffer count in scanner Roberto Ierusalimschy 2003-08-28 11:38:46 -03:00
  • beb896b082 new function (generic) `load' Roberto Ierusalimschy 2003-08-27 18:02:08 -03:00
  • 8332d5c8a5 parser fully reentrant(!) Roberto Ierusalimschy 2003-08-27 18:01:44 -03:00
  • 885961be1d reader runs outside core Lua Roberto Ierusalimschy 2003-08-27 17:57:52 -03:00
  • b114142799 new auxiliary function `luaH_setstr' Roberto Ierusalimschy 2003-08-26 09:04:13 -03:00
  • 4b2e71ddb6 ZIO passes Lua state to chunk reader Roberto Ierusalimschy 2003-08-25 17:00:50 -03:00
  • 9fcc485176 zio does not keep "source" name (nobody uses it) Roberto Ierusalimschy 2003-08-25 16:51:54 -03:00
  • 64066359dd bug: IBM AS400 (OS400) has sizeof(void *)==16, and a %p' may generate up to 60 characters in a printf'. That causes a buffer overflow in `tostring'.. Roberto Ierusalimschy 2003-08-25 16:49:47 -03:00
  • 97af24ea32 newlines can be \n', \r', \r\n', or \n\r' Roberto Ierusalimschy 2003-08-21 11:16:43 -03:00
  • 433cb1d13a no more checks for non-default compilation options + luaU_dump has new option to strip debug info Roberto Ierusalimschy 2003-08-15 10:48:53 -03:00
  • d66198719d several bugs for Lua 5.0 + new format for bug entries Roberto Ierusalimschy 2003-07-29 16:27:46 -03:00
  • 91bf77534c no need for a maximum number of parameters (maximum number of locals take care of that). Roberto Ierusalimschy 2003-07-29 16:26:34 -03:00
  • a0a384a6b1 bug: userdata to be collected still counts into new GC threshold, increasing memory consumption Roberto Ierusalimschy 2003-07-29 16:25:37 -03:00
  • e89945aaa1 syntax ...=var' changed to var=...' Roberto Ierusalimschy 2003-07-29 15:51:00 -03:00
  • d407d3fe0e details Roberto Ierusalimschy 2003-07-28 15:31:20 -03:00
  • 522407e23a we do not need a default panic (that does nothing anyway...) Roberto Ierusalimschy 2003-07-16 17:51:47 -03:00
  • fa26d294ae new way to control `pc' of running functions Roberto Ierusalimschy 2003-07-16 17:49:02 -03:00
  • 5a761e3a15 opcode number may be invalid Roberto Ierusalimschy 2003-07-10 08:59:06 -03:00
  • 265530478b more changes to reduce stack usage by the parser Roberto Ierusalimschy 2003-07-09 17:11:30 -03:00
  • 00180bb133 small changes to reduce stack usage by the parser Roberto Ierusalimschy 2003-07-09 12:36:38 -03:00
  • 66ed154c89 details Roberto Ierusalimschy 2003-07-09 09:08:43 -03:00
  • f52f357a55 correct handling when a thread turns on line hooks in another thread Roberto Ierusalimschy 2003-07-07 10:37:56 -03:00
  • 79fee99024 `debug' library can operate over other threads Roberto Ierusalimschy 2003-07-07 10:37:08 -03:00
  • a73ded2153 Move nothing when there is nothing to move Roberto Ierusalimschy 2003-07-07 10:34:25 -03:00
  • 0ec4c473df bug: file:close cannot be called without a file. Roberto Ierusalimschy 2003-07-07 10:32:52 -03:00
  • 9e05503ffa bug: C functions also may have stacks larger than current top Roberto Ierusalimschy 2003-07-07 10:32:19 -03:00
  • 17f695157c define a `lua_isthread' for completeness Roberto Ierusalimschy 2003-07-07 10:30:57 -03:00
  • b93f67f2ce detail Roberto Ierusalimschy 2003-06-10 09:36:26 -03:00
  • 60aa01d8f7 fully-weak tables are more efficient Roberto Ierusalimschy 2003-05-16 15:59:08 -03:00
  • ecf5730c0c (much) smarter way to clear weak tables Roberto Ierusalimschy 2003-05-16 15:58:39 -03:00
  • b10bfd4934 comments Roberto Ierusalimschy 2003-05-15 16:46:03 -03:00
  • 176cd7d1a3 `#!' is detected by loadfile, not by the lexer Roberto Ierusalimschy 2003-05-15 09:20:24 -03:00
  • 859c7f7ce0 LUA_SIGNATURE is public Roberto Ierusalimschy 2003-05-15 09:20:04 -03:00
  • 56c5e749cc no more compatibility code (`lua_pushupvalues') Roberto Ierusalimschy 2003-05-14 18:10:07 -03:00
  • 9ec9a012e7 details Roberto Ierusalimschy 2003-05-14 18:09:53 -03:00
  • dae99205cf no more compatibility code Roberto Ierusalimschy 2003-05-14 18:06:56 -03:00
  • 9eb0f25a29 no more compatibility code for 4.0 Roberto Ierusalimschy 2003-05-14 18:02:39 -03:00
  • f93051155c ok to use #elif' and #if defined()' Roberto Ierusalimschy 2003-05-14 18:01:53 -03:00
  • 524ae9fc3d new function `setvbuf' Roberto Ierusalimschy 2003-05-14 16:03:43 -03:00
  • 0ddedaee92 new function `string.reverse' Roberto Ierusalimschy 2003-05-14 11:35:54 -03:00
  • 5cc448386a new syntax: `... [= name]' Roberto Ierusalimschy 2003-05-14 09:32:46 -03:00
  • c116dcb92b better information about instruction behavior (use of arguments) Roberto Ierusalimschy 2003-05-14 09:09:12 -03:00
  • 6d268b0b00 new semantics for "for" local variables Roberto Ierusalimschy 2003-05-13 17:15:59 -03:00
  • c767747191 new (internal) macros for error handling Roberto Ierusalimschy 2003-05-13 16:22:19 -03:00
  • f966404ed6 simpler implementation for valid/acceptable indices Roberto Ierusalimschy 2003-05-09 17:16:54 -03:00
  • ee07ad346d `getn' doesn't need this field (values cannot be nil) Roberto Ierusalimschy 2003-05-07 13:02:16 -03:00
  • fee9e473f2 inlining of `luaV_gettable' were too complex (dirty) Roberto Ierusalimschy 2003-05-05 15:39:57 -03:00
  • 82dfacbcf7 detail Roberto Ierusalimschy 2003-04-30 17:24:38 -03:00
  • 26097b6c4b uses integers as keys to standard i/o files Roberto Ierusalimschy 2003-04-30 17:15:55 -03:00
  • f1f8f0ca22 simpler way to check maximum gc threshold Roberto Ierusalimschy 2003-04-28 16:58:06 -03:00
  • bcc5f1406b test function for lua_setgcthreshold Roberto Ierusalimschy 2003-04-28 16:58:06 -03:00
  • b1b752fb2b comments Roberto Ierusalimschy 2003-04-28 16:57:50 -03:00
  • 572a69df78 Lua does not need all those different types... Roberto Ierusalimschy 2003-04-28 16:26:16 -03:00
  • 943c82b376 avoid unnecessary call to log2 on too large indices Roberto Ierusalimschy 2003-04-28 10:31:46 -03:00
  • 17149b7d43 avoid warnings (Instruction' may not fit into an int') Roberto Ierusalimschy 2003-04-28 10:31:06 -03:00
  • 01b303c87e simpler log2 implementation Roberto Ierusalimschy 2003-04-28 10:30:14 -03:00
  • 762c737037 last changes by lhf Roberto Ierusalimschy 2003-04-10 14:39:41 -03:00
  • de57dc2653 new scheme to control `loadlib' configuration (default for dlopen implementation is not to include it) Roberto Ierusalimschy 2003-04-07 17:11:53 -03:00
  • d1df829f8d lua_getmetatable must accept any acceptable index Roberto Ierusalimschy 2003-04-07 11:36:08 -03:00
  • 2ad947fe03 new test options for luaL_getn/setn Roberto Ierusalimschy 2003-04-07 11:35:00 -03:00
  • f0cc013afa luaL_getn/setn must operate correctly over negative indices Roberto Ierusalimschy 2003-04-07 11:35:00 -03:00
  • 0d88545b82 warnings from several compilers (mainly typecasts when lua_Number is float) Roberto Ierusalimschy 2003-04-03 10:35:34 -03:00