Commit Graph
100 Commits
Author SHA1 Message Date
Roberto Ierusalimschy 2bddbe6603 cannot change filename' before eventual call to freopen' 2000-10-10 17:51:39 -02:00
Roberto Ierusalimschy e323338fd0 `nlineinfo' must include end flag. 2000-10-10 17:51:15 -02:00
Roberto Ierusalimschy 46b543ebef better treatment for errors inside _ERRORMETHOD 2000-10-09 13:46:43 -02:00
Roberto Ierusalimschy 79909a92e1 details 2000-10-09 11:47:46 -02:00
Roberto Ierusalimschy d6232a0b2e better treatment for source names 2000-10-09 11:47:32 -02:00
Roberto Ierusalimschy ae63a0e692 new implementation for some API functions 2000-10-06 16:29:26 -03:00
Roberto Ierusalimschy cd3d446957 detail 2000-10-06 16:28:47 -03:00
Roberto Ierusalimschy f01e6c6f1d small optimization in `sort' 2000-10-06 16:13:29 -03:00
Roberto Ierusalimschy ad3816d0d1 luaD_call is more uniform 2000-10-06 09:45:25 -03:00
Roberto Ierusalimschy 046a3d6173 tag methods are always functions, so don't need to store a whole object 2000-10-05 10:00:17 -03:00
Roberto Ierusalimschy 001f2bdd0e new definition for types-tags 2000-10-05 09:14:08 -03:00
Roberto Ierusalimschy cd2ddaded9 call hooks can only be called when `pc' is active (that is, inside
`execute'...)
2000-10-04 09:16:08 -03:00
Roberto Ierusalimschy d68209e822 details. 2000-10-03 11:27:44 -03:00
Roberto Ierusalimschy 1088cde03c easier way to change type Number 2000-10-03 11:03:21 -03:00
Roberto Ierusalimschy 6759f3ec5e no more `proprietary' convertion algorithm (too complex) 2000-10-03 11:03:21 -03:00
Roberto Ierusalimschy f6834f4393 new API function `lua_type' + new type lua_Type 2000-10-02 17:10:55 -03:00
Roberto Ierusalimschy 78bc8e553d new API for garbage collector 2000-10-02 11:47:43 -03:00
Roberto Ierusalimschy dad808a73a new way to count `nblocks' for GC (try to count bytes). 2000-09-29 09:42:13 -03:00
Roberto Ierusalimschy ca7fd50a4e small optimizations 2000-09-29 09:40:56 -03:00
Roberto Ierusalimschy 282ab366f4 bug: parser overwrites semantic information when looking ahead 2000-09-27 14:41:58 -03:00
Roberto Ierusalimschy 444d6a106b lua_tag should return LUA_NOTAG for non-valid indices 2000-09-27 09:51:39 -03:00
Roberto Ierusalimschy 13635f7de7 new version of protected execution 2000-09-25 13:22:42 -03:00
Roberto Ierusalimschy d8a442206d lua_state (now called `L') should not be global 2000-09-25 13:15:52 -03:00
Roberto Ierusalimschy c9c6f9747c GC may crash when checking C closures 2000-09-25 11:52:10 -03:00
Roberto Ierusalimschy c2aa7bd72d bug: lua_gettable does not get key from stack top 2000-09-25 11:48:42 -03:00
Roberto Ierusalimschy f9dd50cefc `read("*w")' should return nil at EOF 2000-09-22 15:14:06 -03:00
Roberto Ierusalimschy dbde9f8817 wrong assert 2000-09-21 11:41:25 -03:00
Roberto Ierusalimschy 857a1204d8 by lhf 2000-09-21 11:18:43 -03:00
Roberto Ierusalimschy d742b88fa1 final version (by lhf) 2000-09-20 15:43:54 -03:00
Roberto Ierusalimschy eb822c314a macros to do jumps 2000-09-20 14:57:08 -03:00
Roberto Ierusalimschy ab7aceb980 Tochange 2000-09-20 14:21:20 -03:00
Roberto Ierusalimschy 72b12e0956 error messages in lower case. 2000-09-20 09:54:17 -03:00
Roberto Ierusalimschy 5ed3bcd4ea warnings in Solaris 2000-09-19 05:42:35 -03:00
Roberto Ierusalimschy 7508fed673 final version for 4.0 beta 2000-09-18 16:46:37 -03:00
Roberto Ierusalimschy aab4fde468 changes by lhf 2000-09-18 16:42:05 -03:00
Roberto Ierusalimschy 6ec4a0ef76 updates by lhf 2000-09-18 16:41:16 -03:00
Roberto Ierusalimschy 42ca3105ac small "by 1" bug 2000-09-18 16:39:49 -03:00
Roberto Ierusalimschy 6030d5fed4 avoid assignment to local structure 2000-09-18 16:39:26 -03:00
Roberto Ierusalimschy 91c003dcc2 details 2000-09-18 16:39:18 -03:00
Roberto Ierusalimschy 620d22f2a0 new API function lua_rawget 2000-09-14 11:09:31 -03:00
Roberto Ierusalimschy f45cba42b5 details for OLD_ANSI 2000-09-13 17:12:14 -03:00
Roberto Ierusalimschy 2628a42480 re-implementation of deprecated functions (wiht compiler option) 2000-09-13 16:52:39 -03:00
Roberto Ierusalimschy 0b3b6850c9 `back-up' definition for ERRORMESSAGE 2000-09-12 15:42:32 -03:00
Roberto Ierusalimschy 5d033f33eb details in ERRORMESSAGE 2000-09-12 15:41:55 -03:00
Roberto Ierusalimschy e143fed484 better standard error messages 2000-09-12 15:41:43 -03:00
Roberto Ierusalimschy 01ce1ce48c field short_src 2000-09-12 15:38:25 -03:00
Roberto Ierusalimschy 024ed4218f better name for source_id (short_src) 2000-09-12 15:38:02 -03:00
Roberto Ierusalimschy c1f725ba4a read patterns (deprecated) use new auxlib's buffer system 2000-09-12 10:58:37 -03:00
Roberto Ierusalimschy 5d69960734 error codes as strings for dofile and dostring 2000-09-12 10:49:05 -03:00
Roberto Ierusalimschy d1c351857d ERRORMESSAGE uses auxlib's buffer to build message string 2000-09-12 10:48:34 -03:00
Roberto Ierusalimschy 4ef14ba280 new function `luaL_addstring' 2000-09-12 10:48:22 -03:00
Roberto Ierusalimschy b8d57092eb topointer handles only types that have no other "to" function 2000-09-12 10:47:46 -03:00
Roberto Ierusalimschy 0f59e3d7a7 details 2000-09-12 10:47:39 -03:00
Roberto Ierusalimschy 55c3bc2bcb _ALERT is used (and assumed) only by the libs 2000-09-12 10:46:59 -03:00
Roberto Ierusalimschy 8060193702 `lauxlib' is now part of the libraries (not used by core Lua) 2000-09-11 17:29:27 -03:00
Roberto Ierusalimschy 2779e81fbb API functions check stack overflow 2000-09-11 16:45:27 -03:00
Roberto Ierusalimschy 30f6e658d2 lua_newstate' renamed to lua_open' 2000-09-11 16:42:57 -03:00
Roberto Ierusalimschy 787a78f83e new scheme for buffers 2000-09-11 14:38:42 -03:00
Roberto Ierusalimschy 70c8a31092 obsolete module 2000-09-11 11:44:38 -03:00
Roberto Ierusalimschy 2018380e9f late `lbuiltin.c', now implemented through the official API (and
therefore distributed as a regular library).
2000-09-05 16:33:56 -03:00
Roberto Ierusalimschy 6e80c1cde1 new version for API 2000-09-05 16:33:32 -03:00
Roberto Ierusalimschy f67f324377 deprecated files 2000-09-05 16:28:46 -03:00
Roberto Ierusalimschy eebc9729e4 new versions by lhf 2000-09-04 15:53:41 -03:00
Roberto Ierusalimschy 6990b06467 finish with parse data before doing main chunk. 2000-09-04 15:52:51 -03:00
Roberto Ierusalimschy cad91499dd no more support for single state 2000-09-04 15:27:32 -03:00
Roberto Ierusalimschy ebdd4e8451 `call' doesn't use pack anymore 2000-08-31 18:02:55 -03:00
Roberto Ierusalimschy 9a21e81907 more builtin functions using official API 2000-08-31 18:01:43 -03:00
Roberto Ierusalimschy f0b3cd1d6f new API functions pop', insert', and `move' 2000-08-31 17:23:40 -03:00
Roberto Ierusalimschy fb5e6d5ac4 more functions implemented through the official API 2000-08-31 13:52:06 -03:00
Roberto Ierusalimschy d63afba9d3 negative stack sizes are invalid, too. 2000-08-31 11:28:17 -03:00
Roberto Ierusalimschy 100bfec39a new implementation for `next' 2000-08-31 11:08:27 -03:00
Roberto Ierusalimschy a290b84c67 dohook' to abstract callhook' and `linehook' 2000-08-31 10:31:44 -03:00
Roberto Ierusalimschy 1022b3c85e minimum size for stack 2000-08-31 10:30:39 -03:00
Roberto Ierusalimschy a1d3e001b9 comments 2000-08-31 10:30:22 -03:00
Roberto Ierusalimschy 10b4799ce5 details 2000-08-31 10:30:10 -03:00
Roberto Ierusalimschy a0de89d62a simpler tests for simpler API 2000-08-31 10:29:47 -03:00
Roberto Ierusalimschy 21dc77b2af errors may happen before function start running (with pc=-1) 2000-08-31 10:29:12 -03:00
Roberto Ierusalimschy 2d3ebba537 last version before new API 2000-08-30 15:58:46 -03:00
Roberto Ierusalimschy a97f29f154 explicit stack control in the API 2000-08-29 17:43:28 -03:00
Roberto Ierusalimschy 4135f4f586 new API does not need tests that complex 2000-08-29 16:05:11 -03:00
Roberto Ierusalimschy 808525e417 new asserts for hooks 2000-08-29 16:01:34 -03:00
Roberto Ierusalimschy 48a968e6b5 gc tag method for nil could call line hook 2000-08-29 16:00:57 -03:00
Roberto Ierusalimschy 58adbde216 details 2000-08-29 11:57:23 -03:00
Roberto Ierusalimschy 9e74ca62d7 tests for lua_is* 2000-08-29 11:57:10 -03:00
Roberto Ierusalimschy d396562b5e lua_equal also accepts out-of-range indices 2000-08-29 11:52:27 -03:00
Roberto Ierusalimschy 9d60598260 better definitions for MULTRET 2000-08-29 11:48:16 -03:00
Roberto Ierusalimschy 4e56c0d514 better implementation for luaV_pack 2000-08-29 11:41:56 -03:00
Roberto Ierusalimschy ac12f4db4b C upvalues are the last arguments to a function 2000-08-29 11:33:31 -03:00
Roberto Ierusalimschy b691d4344b L is not unused. 2000-08-28 17:22:21 -03:00
Roberto Ierusalimschy 9fdf73bc9a first version for new API 2000-08-28 14:57:04 -03:00
Roberto Ierusalimschy f1fd9b5c2c intermediate version (only to avoid compiler errors) 2000-08-24 11:19:39 -03:00
Roberto Ierusalimschy 3723d790ae checkstack needs a correct stack 2000-08-22 17:53:30 -03:00
Roberto Ierusalimschy b800c38b69 simpler code for settable and gettable 2000-08-22 17:49:29 -03:00
Roberto Ierusalimschy 5c0e79847c pragmas are no longer supported 2000-08-22 17:07:56 -03:00
Roberto Ierusalimschy e662e0f1cd simpler way to access _INPUT and _OUTPUT 2000-08-22 14:47:17 -03:00
Roberto Ierusalimschy c85162be27 new way to store local-variable information. 2000-08-22 14:44:17 -03:00
Roberto Ierusalimschy bd39db46ed details 2000-08-21 11:34:43 -03:00
Roberto Ierusalimschy 90fb2e18e8 pushref' is more efficient (and probably more useful) than getref'. 2000-08-17 10:18:01 -03:00
Roberto Ierusalimschy 4365c31c89 new name for globaltable. 2000-08-15 17:14:27 -03:00
Roberto Ierusalimschy 44eb7d91ac comments 2000-08-15 15:28:48 -03:00