Commit Graph

  • 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
  • af19d55635 generic for also coded to make test at the end of the loop Roberto Ierusalimschy 2002-05-13 10:09:00 -03:00
  • b55fded18c details about jump optimization Roberto Ierusalimschy 2002-05-13 10:07:48 -03:00
  • 2dadc81822 cleaner implementation of code generation for jumps Roberto Ierusalimschy 2002-05-10 16:22:11 -03:00
  • b487975344 optimization for `while' (first version) Roberto Ierusalimschy 2002-05-10 14:02:32 -03:00
  • 94e5545806 comment Roberto Ierusalimschy 2002-05-09 15:00:38 -03:00
  • 78b40bf57d `skip' instructions must be followed by a jump Roberto Ierusalimschy 2002-05-09 11:14:34 -03:00
  • 01f1ac36b1 `global' tables (registry, etc.) stored in proper place, not in the stack Roberto Ierusalimschy 2002-05-08 14:34:23 -03:00
  • a4d06736d4 correct implementation for arrays of size 1 Roberto Ierusalimschy 2002-05-08 14:34:00 -03:00
  • dea6b6da94 new function lua_vpushstr' to replace uses of sprintf' Roberto Ierusalimschy 2002-05-07 14:36:56 -03:00
  • 71144e3ff0 errors return' int, to avoid warnings + home-made sprintf' (first version) Roberto Ierusalimschy 2002-05-06 16:05:10 -03:00
  • 0dbf0c5953 new format for test intructions (handle NaN correctly) Roberto Ierusalimschy 2002-05-06 12:51:41 -03:00
  • 85dcb411a8 all textual errors go through `luaL_verror' Roberto Ierusalimschy 2002-05-02 14:12:27 -03:00
  • 3c6a383d62 avoid limits in filename size Roberto Ierusalimschy 2002-05-02 13:55:55 -03:00
  • 9a0f0dcc77 precompiler may create functions without `lineinfo' Roberto Ierusalimschy 2002-05-02 10:06:20 -03:00
  • 751cd867d3 new way to handle errors Roberto Ierusalimschy 2002-05-01 17:48:12 -03:00
  • b36b2a061c new way to handle errors Roberto Ierusalimschy 2002-05-01 17:40:42 -03:00
  • ab52fc6097 new macro to `fix' strings Roberto Ierusalimschy 2002-04-30 10:01:48 -03:00
  • e68d0df1c6 function `zsopen' is not used Roberto Ierusalimschy 2002-04-29 09:37:41 -03:00
  • 9b38a696d5 avoid names that differ only in capitalization Roberto Ierusalimschy 2002-04-24 17:07:46 -03:00
  • 383e8b9e77 use of a common `dummynode' for all empty tables Roberto Ierusalimschy 2002-04-23 12:04:39 -03:00
  • f1a1bb23fe good stack limit to compute ack(8,3) Roberto Ierusalimschy 2002-04-23 11:59:35 -03:00
  • 151ba1cc7b details Roberto Ierusalimschy 2002-04-23 11:59:22 -03:00
  • ee4859b3e3 new way to handle errors (temporary version) Roberto Ierusalimschy 2002-04-22 11:40:50 -03:00
  • f388ee4a82 new way to handle errors Roberto Ierusalimschy 2002-04-22 11:40:23 -03:00
  • 30ad4c75db bug: 'local a,b; a,b = 1,f()' did not close f() Roberto Ierusalimschy 2002-04-22 11:38:52 -03:00
  • 3ee1efa7b2 some simplifications Roberto Ierusalimschy 2002-04-22 11:37:09 -03:00
  • c11d374c59 `panic' function configurable via API Roberto Ierusalimschy 2002-04-16 14:08:28 -03:00
  • 13230c451b details Roberto Ierusalimschy 2002-04-16 09:00:02 -03:00
  • 391c5459cb new implementation for `require' (with templates) Roberto Ierusalimschy 2002-04-15 17:54:41 -03:00
  • 62dd4cbe91 check for errors while loading file Roberto Ierusalimschy 2002-04-15 16:34:42 -03:00
  • ae5283dc36 co' library goes with basic library (and not with tab') Roberto Ierusalimschy 2002-04-12 16:57:29 -03:00
  • 1ce6cb6032 no more option `*u' in read (too complex) Roberto Ierusalimschy 2002-04-12 16:56:25 -03:00
  • 11c63bc3af error in calls signalled in first line (instead of last) Roberto Ierusalimschy 2002-04-10 16:14:45 -03:00
  • f1f271ae76 details Roberto Ierusalimschy 2002-04-10 15:05:08 -03:00
  • 6c7334a9ac line trace uses savedpc' to save last pc' seen Roberto Ierusalimschy 2002-04-10 09:11:07 -03:00
  • 8e1e618606 baselib' splited in baselib' and `tablib' Roberto Ierusalimschy 2002-04-09 17:19:06 -03:00
  • af4721f7a3 library with table manipulation functions Roberto Ierusalimschy 2002-04-09 17:19:06 -03:00
  • 018e50ad7f use addresses as keys to hooks Roberto Ierusalimschy 2002-04-09 16:48:08 -03:00
  • 7b65328c8e new semantics for `generic for' (with state) Roberto Ierusalimschy 2002-04-09 16:47:44 -03:00
  • d2e05589d7 bug: `resume' was returning its arguments, too Roberto Ierusalimschy 2002-04-09 16:46:56 -03:00
  • 237969724f support for light' userdata + simpler support for boxed' udata Roberto Ierusalimschy 2002-04-05 15:54:31 -03:00
  • f438d00ef3 correct #args for calls with self (a:foo(...)) Roberto Ierusalimschy 2002-04-04 17:25:55 -03:00
  • c3b90061ea new design for iolib (object style) Roberto Ierusalimschy 2002-04-04 17:24:56 -03:00
  • a2e414d679 `pow' must be global (as the implementation of '^') Roberto Ierusalimschy 2002-04-04 17:20:49 -03:00
  • 93bcb65a9b debug interface uses method' to describe calls like a:foo()' Roberto Ierusalimschy 2002-04-04 14:21:31 -03:00
  • 49c95648a0 getmetatable doesn't push nil when there is no metatable Roberto Ierusalimschy 2002-04-02 17:43:18 -03:00
  • 13ab5a6bb1 details Roberto Ierusalimschy 2002-04-02 17:43:08 -03:00
  • cd99bbcd0d better support for new libraries Roberto Ierusalimschy 2002-04-02 17:42:49 -03:00
  • 2cbbf7e95a tostring' uses __tostring' when available Roberto Ierusalimschy 2002-04-02 17:42:20 -03:00
  • e5919be1a7 bug: end of block may not be end of stat Roberto Ierusalimschy 2002-04-02 17:34:15 -03:00
  • b795d4b561 details Roberto Ierusalimschy 2002-04-01 11:42:33 -03:00