1
0
mirror of https://github.com/lua/lua synced 2026-06-08 15:34:49 +00:00

Commit Graph

  • 2dcc31574f new function xpcall Roberto Ierusalimschy 2002-08-05 11:46:02 -03:00
  • 390fc99a5c xpcall now is builtin + new macros `ttis*' Roberto Ierusalimschy 2002-08-05 11:10:10 -03:00
  • 79c8edb6c4 new names for light userdata operations Roberto Ierusalimschy 2002-07-17 13:25:13 -03:00
  • e5146fb01f CallInfo has different fields for C functions and Lua functions Roberto Ierusalimschy 2002-07-16 11:26:56 -03:00
  • ce6b930464 `isdst' should be a boolean (and not 0/1!!) Roberto Ierusalimschy 2002-07-12 15:54:53 -03:00
  • ac7006d374 ^D in interactive mode finish interaction (no questions asked) Roberto Ierusalimschy 2002-07-10 17:49:01 -03:00
  • 12bee999dd new way to handle macros read_line/save_line Roberto Ierusalimschy 2002-07-10 17:44:34 -03:00
  • a8c9eec426 bug: chunk can end just after a '\' in a string Roberto Ierusalimschy 2002-07-10 17:43:53 -03:00
  • a885b826b3 LUA_ALERT is no longer used Roberto Ierusalimschy 2002-07-09 15:49:13 -03:00
  • a960e62c3e new options; no more _ALERT; no more getargs Roberto Ierusalimschy 2002-07-09 15:19:44 -03:00
  • c51aa6ee33 details Roberto Ierusalimschy 2002-07-09 15:19:19 -03:00
  • d88860131a new macro `lua_isudataval' (for completude) Roberto Ierusalimschy 2002-07-09 11:58:28 -03:00
  • 44752fc9ce hook count is quadratic Roberto Ierusalimschy 2002-07-08 17:22:08 -03:00
  • 39b2d58c39 new interface for debug hooks Roberto Ierusalimschy 2002-07-08 15:21:33 -03:00
  • d2d24f0971 details to allow compilation of Lua as a single file Roberto Ierusalimschy 2002-07-08 15:14:36 -03:00
  • 0436c96866 C++ warning Roberto Ierusalimschy 2002-07-08 13:51:20 -03:00
  • f8279f6cd8 optimizations for gettable (temporary) Roberto Ierusalimschy 2002-07-05 15:27:39 -03:00
  • 1fe280df72 new priority for and/or Roberto Ierusalimschy 2002-07-04 15:23:42 -03:00
  • 1ede98157d strings are always `strong' in weaktables Roberto Ierusalimschy 2002-07-04 14:58:02 -03:00
  • 3e52573c72 details (error messages) Roberto Ierusalimschy 2002-07-04 09:29:32 -03:00
  • 84ad1eea81 use of NaN as key breaks some invariants Roberto Ierusalimschy 2002-07-02 14:54:23 -03:00
  • b30ec2532c details Roberto Ierusalimschy 2002-07-02 13:43:28 -03:00
  • 68ee518e81 only tables need `lua_number2int' Roberto Ierusalimschy 2002-07-01 16:31:10 -03:00
  • 76a73cb2ee new getn' (and setn') Roberto Ierusalimschy 2002-07-01 16:25:28 -03:00
  • aa3da1605c `newproxy' uses its own weaktable Roberto Ierusalimschy 2002-07-01 16:23:58 -03:00
  • 9f4b5b5232 weak keys are removed only after finalization Roberto Ierusalimschy 2002-07-01 14:06:58 -03:00
  • 5fabed21a1 getglobals(0) is the C global table Roberto Ierusalimschy 2002-06-26 17:36:17 -03:00
  • f67ccfbdeb no more `lua_getn' function Roberto Ierusalimschy 2002-06-26 16:28:44 -03:00
  • cfcf200806 concat' goes to table' library Roberto Ierusalimschy 2002-06-26 16:28:08 -03:00
  • f32a8c0477 details (temporary?) Roberto Ierusalimschy 2002-06-26 13:37:39 -03:00
  • 88607acc2c details Roberto Ierusalimschy 2002-06-26 13:37:23 -03:00
  • 6de93e2932 two new bugs in 4.0 :-( (both were already corrected in 5.0 :-) Roberto Ierusalimschy 2002-06-25 16:23:55 -03:00
  • 25dc9b7faf new functions dofile' and pairs'; correct way to check proxies Roberto Ierusalimschy 2002-06-25 16:19:33 -03:00
  • 78c507b7b8 lua_upcall' -> lua_call' Roberto Ierusalimschy 2002-06-25 16:18:49 -03:00
  • 69906cb56f error message ends with `\n' (is already formatted) Roberto Ierusalimschy 2002-06-25 16:18:20 -03:00
  • 9d6556fd87 userdata are removed from weaktables before invoking their GC fallbacks Roberto Ierusalimschy 2002-06-25 16:17:42 -03:00
  • 35707e94f3 __weakmode' -> __mode' Roberto Ierusalimschy 2002-06-25 16:17:22 -03:00
  • 89b102bd1d new `luaL_weakregistry' function Roberto Ierusalimschy 2002-06-25 16:15:21 -03:00
  • fdfd5b44ee TM_GETTABLE/TM_SETTABLE don't need fast access anymore Roberto Ierusalimschy 2002-06-24 17:18:38 -03:00
  • 1a4c428d6d new function `newproxy' Roberto Ierusalimschy 2002-06-24 14:23:16 -03:00
  • 2394604d10 assertion may fail when closing a state Roberto Ierusalimschy 2002-06-24 14:19:43 -03:00
  • 922f36a05b details Roberto Ierusalimschy 2002-06-24 12:07:21 -03:00
  • ad41fc11eb details in arithmetic implementation Roberto Ierusalimschy 2002-06-24 11:11:14 -03:00
  • e182cf452f `^' operator is defined in registry.__pow Roberto Ierusalimschy 2002-06-24 10:54:13 -03:00
  • e34f282365 `luaV_gettable' returns element position Roberto Ierusalimschy 2002-06-24 10:08:45 -03:00
  • 3941af53ad first implementation of independent global table per function Roberto Ierusalimschy 2002-06-20 17:41:46 -03:00
  • 5610fdd776 avoid using obsolete lua_dostring Roberto Ierusalimschy 2002-06-20 17:40:38 -03:00
  • b449a5e574 more robust when printing error messages Roberto Ierusalimschy 2002-06-20 17:40:09 -03:00
  • e572dffa15 small bug building error messages Roberto Ierusalimschy 2002-06-20 17:39:44 -03:00
  • 5893fcb71a accept option arguments without spaces (e.g. "-eprint(a)") Roberto Ierusalimschy 2002-06-18 14:43:49 -03:00
  • eec0905173 better tests (assertions) for debug hooks Roberto Ierusalimschy 2002-06-18 14:42:52 -03:00
  • a44f37513b better treatment for error messages Roberto Ierusalimschy 2002-06-18 14:12:05 -03:00
  • 6ee2dbdfe9 traceback stops at first protected call Roberto Ierusalimschy 2002-06-18 14:10:43 -03:00
  • 1dbe708aa8 new protocol for error handling Roberto Ierusalimschy 2002-06-18 12:19:27 -03:00
  • 8f080fd683 `traceback' returns only the traceback Roberto Ierusalimschy 2002-06-18 12:17:58 -03:00
  • d8678edddc luaL_verror -> luaL_error Roberto Ierusalimschy 2002-06-18 12:16:18 -03:00
  • e812aa2002 avoid assignments to TObject access macros Roberto Ierusalimschy 2002-06-17 10:51:01 -03:00
  • c31494df26 avoid gotos when possible Roberto Ierusalimschy 2002-06-14 14:21:32 -03:00
  • 8fd0f6a82b new macro to check conditions on expression macros Roberto Ierusalimschy 2002-06-13 10:45:31 -03:00
  • eb3de8768a rawcall' -> upcall' (unprotected call) Roberto Ierusalimschy 2002-06-13 10:44:50 -03:00
  • 864c96f36c new fallback for equality `__eq' Roberto Ierusalimschy 2002-06-13 10:39:55 -03:00
  • 0052930ffe details Roberto Ierusalimschy 2002-06-12 16:16:00 -03:00
  • eeab473fc8 new fallback __le (less equal), for partial order Roberto Ierusalimschy 2002-06-12 11:56:22 -03:00
  • 6b8cdc9cdd Lua now uses only `realloc' for all its memory management Roberto Ierusalimschy 2002-06-11 13:26:12 -03:00
  • 000d081fd0 warnings from other compilers Roberto Ierusalimschy 2002-06-06 15:17:33 -03:00
  • 65d66ba275 new "local function" Roberto Ierusalimschy 2002-06-06 14:29:53 -03:00
  • cff22f57dd some refactoring Roberto Ierusalimschy 2002-06-06 10:52:37 -03:00
  • 168ea16acb details Roberto Ierusalimschy 2002-06-06 10:16:02 -03:00
  • dc6e6c48bb on the way to 5.0 Roberto Ierusalimschy 2002-06-06 09:49:28 -03:00
  • e3cddc950c C is not C++... Roberto Ierusalimschy 2002-06-06 09:43:08 -03:00
  • 630acb2048 _ERRORMESSAGE `accepts' non-string arguments (at least for now...) Roberto Ierusalimschy 2002-06-06 09:40:36 -03:00
  • 16f4723398 names & names Roberto Ierusalimschy 2002-06-06 09:40:22 -03:00
  • f1c43bbe19 new function `xpcall' (at least for now...) Roberto Ierusalimschy 2002-06-06 09:39:48 -03:00
  • 5a8f383e60 io.close() closes standard output file; `close' now is method Roberto Ierusalimschy 2002-06-05 14:42:03 -03:00
  • 711b936849 new versions from lhf Roberto Ierusalimschy 2002-06-05 14:26:23 -03:00
  • 5b8ee9fa8d new names for standard libraries Roberto Ierusalimschy 2002-06-05 14:24:04 -03:00
  • 2cd6161060 don't need stdio Roberto Ierusalimschy 2002-06-05 13:59:52 -03:00
  • a102221a0b better error messages Roberto Ierusalimschy 2002-06-05 13:59:37 -03:00
  • 6dd0b6c62b details Roberto Ierusalimschy 2002-06-05 13:59:21 -03:00
  • fa23301251 defintions for lua_number2str and lua_str2number don't need to be public Roberto Ierusalimschy 2002-06-05 09:34:19 -03:00
  • 94c2449d25 undump may return LUA_ERRRUN Roberto Ierusalimschy 2002-06-03 17:12:50 -03:00
  • c398a02110 uses `isspace' to recognize space characters Roberto Ierusalimschy 2002-06-03 17:12:21 -03:00
  • ad7103ea3a lua_load* defined in auxlib (and so renamed to luaL_load*) Roberto Ierusalimschy 2002-06-03 17:11:41 -03:00
  • 0079e0f57c core tests whether file is binary Roberto Ierusalimschy 2002-06-03 17:11:07 -03:00
  • cfff013586 detail Roberto Ierusalimschy 2002-06-03 14:47:18 -03:00
  • 35a22ed1ab lua_load* replaced by a simple lua_load Roberto Ierusalimschy 2002-06-03 14:46:34 -03:00
  • ff91b355f4 no more use of stdio inside the core (except for `tostring'...) Roberto Ierusalimschy 2002-06-03 11:09:57 -03:00
  • 5094c37988 strconc' -> concat' Roberto Ierusalimschy 2002-06-03 11:08:43 -03:00
  • 46c471d7e9 new `__newindex' eventfield Roberto Ierusalimschy 2002-05-27 17:35:40 -03:00
  • 859ecf36b6 new copyright notice Roberto Ierusalimschy 2002-05-23 17:29:05 -03:00
  • a1700bbc50 details Roberto Ierusalimschy 2002-05-23 16:43:04 -03:00
  • 8876a1bf92 details Roberto Ierusalimschy 2002-05-20 16:51:06 -03:00
  • f53fd8d5f5 _ALERT is a private afair of lua.c Roberto Ierusalimschy 2002-05-16 16:09:19 -03:00
  • 955def0348 new names for string formating functions Roberto Ierusalimschy 2002-05-16 15:39:46 -03:00
  • 9c3b3f82fe new commands to test `load' Roberto Ierusalimschy 2002-05-16 11:59:49 -03:00
  • b7a0503c1d new format for error messages Roberto Ierusalimschy 2002-05-15 15:57:44 -03:00
  • 1c328a191a no more `global' declarations Roberto Ierusalimschy 2002-05-14 14:52:22 -03:00
  • 58bf77bc7f no more extra space when growing hash Roberto Ierusalimschy 2002-05-13 10:38:59 -03:00
  • 8da6fe62d8 `nexti' returns correct indices Roberto Ierusalimschy 2002-05-13 10:10:58 -03:00
  • c18fe57e54 quick-and-dirty function to print code (for debugging Lua) Roberto Ierusalimschy 2002-05-13 10:10:04 -03:00