Commit Graph

  • 8ce6f0b418 avoid including system headers after program headers Roberto Ierusalimschy 2003-03-06 16:37:42 -03:00
  • 572bddc0b0 LUA_USETMPNAME -> USE_TMPNAME Roberto Ierusalimschy 2003-03-06 16:36:44 -03:00
  • 3684f67771 details (text of an error message) Roberto Ierusalimschy 2003-03-06 16:36:16 -03:00
  • 69dd9461e5 bug: GC metamethod calls could mess C/Lua stack syncronization Roberto Ierusalimschy 2003-02-28 16:45:15 -03:00
  • 6b6bc532a4 better error message for (deprecated) "%global" Roberto Ierusalimschy 2003-02-28 14:19:47 -03:00
  • ea16ee41a8 no more attempt to optimize GC when parsing new modules (too complex) Roberto Ierusalimschy 2003-02-28 12:42:08 -03:00
  • 60d11ec316 by default, gcc does not get tmpname Roberto Ierusalimschy 2003-02-27 09:39:05 -03:00
  • e1a424e8a3 avoid the identifier index' (clashes with BSD index' function) Roberto Ierusalimschy 2003-02-27 09:33:07 -03:00
  • 59ce42dbd5 detail Roberto Ierusalimschy 2003-02-27 09:32:30 -03:00
  • 92f6e0c1bf no-nonsense debug information about tail calls Roberto Ierusalimschy 2003-02-27 08:52:30 -03:00
  • 5cd99b82b7 set/getenvtable' -> set/getfenv' Roberto Ierusalimschy 2003-02-24 13:54:20 -03:00
  • 07e210e655 `require' returns value returned by package Roberto Ierusalimschy 2003-02-24 13:50:41 -03:00
  • feb724c122 ULONG_MAX>>10 may not fit into an int (old bug) Roberto Ierusalimschy 2003-02-21 16:00:14 -03:00
  • 67f9a2a98f details Roberto Ierusalimschy 2003-02-20 17:12:39 -03:00
  • c4f9c887fc expressions too complex for an ARM compiler... Roberto Ierusalimschy 2003-02-19 07:28:58 -03:00
  • 9866fb0ef1 set/getglobals' -> set/getenvtable' Roberto Ierusalimschy 2003-02-18 13:13:15 -03:00
  • 60c83ded30 small optimization for sizes of array constructors Roberto Ierusalimschy 2003-02-18 13:02:56 -03:00
  • 07948c3181 restore _REQUIREDNAME after requiring a file Roberto Ierusalimschy 2003-02-18 13:02:13 -03:00
  • dce9a49a08 final version Roberto Ierusalimschy 2003-02-18 13:01:57 -03:00
  • 15db58a2f5 create arg table with correct size Roberto Ierusalimschy 2003-02-13 14:08:47 -02:00
  • d6826dbc80 simpler way to count uses Roberto Ierusalimschy 2003-02-13 14:08:32 -02:00
  • e75a6ae9ee `defaultmeta' is always empty, but registry needs some space for names and numbers (references) Roberto Ierusalimschy 2003-02-13 14:07:57 -02:00
  • 2866fb2dd0 reset _REQUIREDNAME after loading module Roberto Ierusalimschy 2003-02-13 14:07:37 -02:00
  • 4b6f436d67 unpack' uses getn' to get table size Roberto Ierusalimschy 2003-02-12 07:11:01 -02:00
  • 8f105d6b59 string.byte returns nil if index is out-of-range Roberto Ierusalimschy 2003-02-12 07:10:41 -02:00
  • 2fef8c772b auxiliary function to check userdata with types Roberto Ierusalimschy 2003-02-11 13:32:31 -02:00
  • 7285fa393b use C names for C types Roberto Ierusalimschy 2003-02-11 13:31:50 -02:00
  • 5085f09ce5 small optimizations Roberto Ierusalimschy 2003-02-11 13:24:52 -02:00
  • d674626392 compatibility with '%' syntax is optional Roberto Ierusalimschy 2003-02-11 08:49:53 -02:00
  • 7a40cdbda0 different variables for number of upvalues and size of upvalue array (makes code clearer) Roberto Ierusalimschy 2003-02-11 08:46:24 -02:00
  • 3cdeacbbfb reference system also uses getn/setn (plus small corrections) Roberto Ierusalimschy 2003-02-11 07:44:38 -02:00
  • 6f207b15fb resist errors in finalizers during lua_close Roberto Ierusalimschy 2003-02-10 15:32:50 -02:00
  • 3184314bf3 warning Roberto Ierusalimschy 2003-02-10 15:31:13 -02:00
  • 7964f7cbbd more complete information for coroutine errors Roberto Ierusalimschy 2003-02-10 08:21:31 -02:00
  • 383a6e88f9 argv[0] may be NULL Roberto Ierusalimschy 2003-01-29 11:23:45 -02:00
  • 871166d7db test for panic function Roberto Ierusalimschy 2003-01-29 08:27:53 -02:00
  • 592cf2334e "panic" cannot happen in lua.c, with lua_cpcall + argv[0] may be empty Roberto Ierusalimschy 2003-01-29 08:27:07 -02:00
  • 0175f8d5d1 dump/undump of upvalue names Roberto Ierusalimschy 2003-01-27 13:52:57 -02:00
  • e79bf02f33 correct semantics for comparison metamethods (they are only valid when both operands have the same metamethod). Roberto Ierusalimschy 2003-01-27 13:12:52 -02:00
  • 41ed3c4771 getn/setn in C moved to lauxlib Roberto Ierusalimschy 2003-01-27 11:46:16 -02:00
  • 635b7c707d details Roberto Ierusalimschy 2003-01-27 11:00:43 -02:00
  • 83f0d6ef1a DEPRECATED (new manual uses an independent format instead of LaTeX) Roberto Ierusalimschy 2003-01-24 14:38:18 -02:00
  • 3088ebd95b last changes before leaving Latex Roberto Ierusalimschy 2003-01-24 07:14:54 -02:00
  • 797d964df9 detail Roberto Ierusalimschy 2003-01-23 09:34:18 -02:00
  • e44e579dc1 bug: luaD_protectedparser must protect its garbage collection too Roberto Ierusalimschy 2003-01-23 09:31:38 -02:00
  • a153cafd8d starting translation to new format (@comand{...}). Roberto Ierusalimschy 2003-01-22 14:29:38 -02:00
  • 3b5158f2a1 corrections from Asko Kauppi Roberto Ierusalimschy 2003-01-21 15:45:11 -02:00
  • 60a8b94fd0 corrections/suggestions by Ed Ferguson Roberto Ierusalimschy 2003-01-20 09:03:05 -02:00
  • c499442e5f compatibility macros must be available by default Roberto Ierusalimschy 2003-01-17 13:28:09 -02:00
  • 9a5bab82ff use the more modern _POSIX_C_SOURCE instead of older _POSIX_SOURCE Roberto Ierusalimschy 2003-01-17 13:27:28 -02:00
  • 32fd039bb5 `openlib' functions return new module Roberto Ierusalimschy 2002-12-20 08:26:33 -02:00
  • 75f73172c4 bug: `resume' was checking the wrong value for stack overflow Roberto Ierusalimschy 2002-12-20 07:55:56 -02:00
  • 754c630754 details Roberto Ierusalimschy 2002-12-19 11:21:08 -02:00
  • dd8edecae1 new functions to manipulate upvales (get/setupvalue) Roberto Ierusalimschy 2002-12-19 09:11:55 -02:00
  • 28021c5c66 better explanation (+ example) for coroutines v5.0-beta Roberto Ierusalimschy 2002-12-11 11:43:15 -02:00
  • 73517e86b0 OP_TFORLOOP uses extra stack space Roberto Ierusalimschy 2002-12-11 10:34:22 -02:00
  • 9e8face8d8 must move call results in the last iteration, too Roberto Ierusalimschy 2002-12-11 10:34:22 -02:00
  • 64864f094b new options for debugging Lua (HARDSTACKTESTS & EXTERNMEMCHECK) Roberto Ierusalimschy 2002-12-06 15:20:45 -02:00
  • 9bd3fc1039 TFORLOOP makes a call that affects all values above it on the stack Roberto Ierusalimschy 2002-12-06 15:15:35 -02:00
  • cc4a22ebe2 bug: scope of generic for variables is not sound Roberto Ierusalimschy 2002-12-06 15:09:00 -02:00
  • acf62ddfbe "load*" creates chunk with same global table than caller Roberto Ierusalimschy 2002-12-06 15:05:15 -02:00
  • 04f95ce879 hook counts are integers now Roberto Ierusalimschy 2002-12-05 15:50:10 -02:00
  • 27c6b4d422 each .c file defines its own name Roberto Ierusalimschy 2002-12-04 15:38:31 -02:00
  • 0bb8eb5151 new function `lua_cpcall' Roberto Ierusalimschy 2002-12-04 15:29:32 -02:00
  • 38da8c0d7d new facilities to test memory overflow in main.c Roberto Ierusalimschy 2002-12-04 15:29:05 -02:00
  • 76de732745 avoid non-raw accesses to globals when variable may not exist Roberto Ierusalimschy 2002-12-04 13:38:25 -02:00
  • 90d7892007 new function `io.type' Roberto Ierusalimschy 2002-12-04 13:27:17 -02:00
  • 041cb96992 small bug: `write' must return three values in case of errors Roberto Ierusalimschy 2002-12-04 13:17:36 -02:00
  • c75c3cfd19 avoid names `str...' (may conflict with string.h) Roberto Ierusalimschy 2002-12-02 10:06:10 -02:00
  • 24471525d7 details Roberto Ierusalimschy 2002-12-02 10:06:10 -02:00
  • 1f55dbc699 details Roberto Ierusalimschy 2002-11-26 10:53:29 -02:00
  • c194a46bc5 detail Roberto Ierusalimschy 2002-11-26 06:59:48 -02:00
  • 8954bdc706 new `coroutine.status' function Roberto Ierusalimschy 2002-11-26 06:45:36 -02:00
  • 5a228bb1d8 new function `lua_version' Roberto Ierusalimschy 2002-11-25 15:50:14 -02:00
  • 5f698f8b6f simpler interface to hooks + use of `int' to count hooks Roberto Ierusalimschy 2002-11-25 15:47:13 -02:00
  • 9b1c586b2f renaming stringdump' -> string.dump' Roberto Ierusalimschy 2002-11-25 15:33:33 -02:00
  • d9340154ac `__tostring' for files + small bug (could do invalid read inside a userdata when it was not a file) Roberto Ierusalimschy 2002-11-25 13:05:39 -02:00
  • e47baca75a warnings from Visual C++ Roberto Ierusalimschy 2002-11-25 10:38:47 -02:00
  • b8a680c114 resets hook count even in case of errors Roberto Ierusalimschy 2002-11-25 09:20:29 -02:00
  • 709b27b456 ULONG_MAX>>10 may not fit into an int Roberto Ierusalimschy 2002-11-25 09:16:48 -02:00
  • dbc5451bea comments Roberto Ierusalimschy 2002-11-22 16:01:46 -02:00
  • 2d2d45976c separated control over C recursion level Roberto Ierusalimschy 2002-11-22 15:16:52 -02:00
  • 0050d983fc make more clear "primitive" recursive definitions Roberto Ierusalimschy 2002-11-22 14:42:53 -02:00
  • 04b143ddf9 avoid C stack overflow during parsing Roberto Ierusalimschy 2002-11-22 14:35:20 -02:00
  • 007f229568 detail Roberto Ierusalimschy 2002-11-22 11:59:04 -02:00
  • 84488c5670 small bug: previous call may change `base' Roberto Ierusalimschy 2002-11-21 15:19:42 -02:00
  • 5142e630bf new macro `condhardstacktests' to control hard stack tests Roberto Ierusalimschy 2002-11-21 15:19:11 -02:00
  • 010bbd9d9c simpler definition for incr_top Roberto Ierusalimschy 2002-11-21 14:46:16 -02:00
  • be00cd2a6b easier way to keep `base' correct Roberto Ierusalimschy 2002-11-21 13:46:44 -02:00
  • 2e4e888de0 Lua functions must have a frame or a saved pc. Roberto Ierusalimschy 2002-11-21 13:46:20 -02:00
  • ddc144e4d2 keep L->ci->base in L->base for faster access Roberto Ierusalimschy 2002-11-21 13:16:04 -02:00
  • b48c6e7680 no problem keeping some dead meat while doing collection Roberto Ierusalimschy 2002-11-21 12:18:01 -02:00
  • aff97fffc4 C functions cannot increase its top without filling the stack Roberto Ierusalimschy 2002-11-21 12:17:15 -02:00
  • 1648674653 must check GC every time it can create new objects Roberto Ierusalimschy 2002-11-21 12:16:52 -02:00
  • d404f0c276 global_State must be deallocated (and so allocated) with NULL also (otherwise it trys to decrement inside itself after its own free) Roberto Ierusalimschy 2002-11-21 12:14:42 -02:00
  • 48e42261ac details Roberto Ierusalimschy 2002-11-19 15:42:32 -02:00
  • be762f38bd better organization of "malloc responsabilities" Roberto Ierusalimschy 2002-11-19 12:12:13 -02:00
  • c8a79057f7 option -l does a require', instead of dofile' Roberto Ierusalimschy 2002-11-19 11:49:43 -02:00
  • 642af82e81 small bugs (state could keep its CI_HASFRAME attribute after returning) Roberto Ierusalimschy 2002-11-19 06:50:56 -02:00
  • 636c629e56 new assertions Roberto Ierusalimschy 2002-11-18 16:45:38 -02:00