Commit Graph

1803 Commits

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