Commit Graph

  • 3b6f8bfbe6 simpler implementation of for loops Roberto Ierusalimschy 2001-01-29 13:26:40 -02:00
  • caf01b5bfa better implementation for list "for" Roberto Ierusalimschy 2001-01-29 11:14:49 -02:00
  • ca1f28b829 avoid side-effects on macros that may use twice their arguments Roberto Ierusalimschy 2001-01-26 16:43:22 -02:00
  • b82242d4c4 detail Roberto Ierusalimschy 2001-01-26 13:58:50 -02:00
  • ac390020e9 optimizations based on all types but number and nil are pointers Roberto Ierusalimschy 2001-01-26 12:16:35 -02:00
  • 9b45439860 details Roberto Ierusalimschy 2001-01-26 12:16:24 -02:00
  • 7959f3aebb easier way to erase 'dead' keys Roberto Ierusalimschy 2001-01-26 11:18:00 -02:00
  • bce6572579 new macros + new names to facilitate compilation of threaded version Roberto Ierusalimschy 2001-01-26 09:45:51 -02:00
  • a53d9b66ca first implementation for type names Roberto Ierusalimschy 2001-01-25 14:45:36 -02:00
  • c8559e3c8d a small optimization Roberto Ierusalimschy 2001-01-24 14:20:54 -02:00
  • 71ae4801d6 macros LUA_ENTRY/LUA_EXIT to control exclusive access to Lua core Roberto Ierusalimschy 2001-01-24 13:45:33 -02:00
  • 6fda6a5302 support for multiple stacks sharing the same global environment Roberto Ierusalimschy 2001-01-22 16:01:38 -02:00
  • 4ac58853dc thead-specific state separated from "global" state Roberto Ierusalimschy 2001-01-19 11:20:30 -02:00
  • f2c451d745 all accesses to TObjects done through macros Roberto Ierusalimschy 2001-01-18 13:59:09 -02:00
  • 619edfd9e4 details Roberto Ierusalimschy 2001-01-15 16:07:56 -02:00
  • a04de4f0ad no more END opcode Roberto Ierusalimschy 2001-01-15 14:13:24 -02:00
  • a653d93a43 string comparison only needs to test for "less than" Roberto Ierusalimschy 2001-01-11 16:59:32 -02:00
  • 321c7fb6f8 details Roberto Ierusalimschy 2001-01-11 16:59:20 -02:00
  • dabb19fc17 specialized versions for luaH_set (numbers and strings) Roberto Ierusalimschy 2001-01-10 16:56:11 -02:00
  • 08496eea8b small changes in lstring Roberto Ierusalimschy 2001-01-10 15:41:50 -02:00
  • 4ff5545709 new macro pushliteral Roberto Ierusalimschy 2001-01-10 14:58:11 -02:00
  • 595e449537 tighter size for error buffers Roberto Ierusalimschy 2001-01-10 14:40:56 -02:00
  • a907aeeb1e general corrections Roberto Ierusalimschy 2000-12-28 15:25:45 -02:00
  • 76f62fc5a1 correct size only after malloc success Roberto Ierusalimschy 2000-12-28 10:59:41 -02:00
  • 0183b8030c `free' gets size of the block: complete control over memory use Roberto Ierusalimschy 2000-12-28 10:55:41 -02:00
  • 8c49e19865 explicit control of size for growing vectors Roberto Ierusalimschy 2000-12-26 16:46:09 -02:00
  • 6af005ec20 bug: when `read' fails it must return nil (and not no value) Roberto Ierusalimschy 2000-12-22 15:32:28 -02:00
  • f8a0fd268e temporary version Roberto Ierusalimschy 2000-12-22 14:58:41 -02:00
  • 0066bbbb0b details Roberto Ierusalimschy 2000-12-22 14:57:46 -02:00
  • 1db05793a0 time' does not need to correct its table argument (use date' for that) Roberto Ierusalimschy 2000-12-22 14:57:13 -02:00
  • af97be026b new function for time and date Roberto Ierusalimschy 2000-12-18 11:42:19 -02:00
  • cce8ebd306 obsolete `format' option (d$). Roberto Ierusalimschy 2000-12-18 11:41:41 -02:00
  • 4894c27962 lua_Number defined in lua.h (1st version) Roberto Ierusalimschy 2000-12-04 16:33:40 -02:00
  • 10ac68c648 first implementation for position captures Roberto Ierusalimschy 2000-12-04 12:43:06 -02:00
  • 01b00cc292 better control over extensions of char/short to int Roberto Ierusalimschy 2000-11-30 16:50:47 -02:00
  • fc7b167ae0 BUG: parser does not accept a ;' after a return' Roberto Ierusalimschy 2000-11-29 09:57:42 -02:00
  • 96253ed8ce better support for 64-bit machines (avoid excessive use of longs) Roberto Ierusalimschy 2000-11-24 15:39:56 -02:00
  • 35d6b15057 some cleaning Roberto Ierusalimschy 2000-11-23 11:49:35 -02:00
  • 22914afab3 avoid the use of (non const) static data Roberto Ierusalimschy 2000-11-23 11:47:39 -02:00
  • 523c5d8e1c last changes by lhf. Roberto Ierusalimschy 2000-11-07 10:44:44 -02:00
  • 40a4c76773 setlinehook/setcallhook return old hook Roberto Ierusalimschy 2000-11-06 15:58:38 -02:00
  • 1385d81d20 Roberto Ierusalimschy 2000-11-06 11:45:18 -02:00
  • 906d5dcc41 details Roberto Ierusalimschy 2000-11-06 11:45:18 -02:00
  • 93a5649d40 hooks may call `error' to break a chunk. Roberto Ierusalimschy 2000-11-06 11:19:08 -02:00
  • df416661cc many changes Roberto Ierusalimschy 2000-10-31 16:20:01 -02:00
  • 67c1afff59 lua_settagmethod does not return old tag method Roberto Ierusalimschy 2000-10-31 11:10:24 -02:00
  • 03770ecfc9 comments Roberto Ierusalimschy 2000-10-31 10:44:07 -02:00
  • 7409678b5d DEBUG renamed to LUA_DEBUG Roberto Ierusalimschy 2000-10-30 15:50:00 -02:00
  • d1c689af40 subtelties in layout of TString Roberto Ierusalimschy 2000-10-30 15:49:19 -02:00
  • 37e9c2e744 macro DEBUG renamed to LUA_DEBUG Roberto Ierusalimschy 2000-10-30 14:29:59 -02:00
  • e42a219eeb `lua_typename' accepts LUA_TNONE Roberto Ierusalimschy 2000-10-30 11:07:48 -02:00
  • b3959d58ff Roberto Ierusalimschy 2000-10-30 10:50:09 -02:00
  • f379d06e24 all API functions are declared in a single line (to facilitate pre-processing). Roberto Ierusalimschy 2000-10-30 10:38:50 -02:00
  • 728ff20701 details Roberto Ierusalimschy 2000-10-30 10:20:29 -02:00
  • 2cbbf3933a new macro LUALIB_API (so the lib can be a separate DLL) Roberto Ierusalimschy 2000-10-27 14:15:53 -02:00
  • e2b6b7de1b details Roberto Ierusalimschy 2000-10-27 09:39:52 -02:00
  • 563b1f5704 new way to ensure uniqueness of registry keys Roberto Ierusalimschy 2000-10-26 17:04:22 -02:00
  • 4670476584 details. Roberto Ierusalimschy 2000-10-26 16:44:26 -02:00
  • 89f98c0995 in function `read_file', realloc() doesn't free the buffer if it can't allocate new memory Roberto Ierusalimschy 2000-10-26 10:53:55 -02:00
  • b892f0a877 new API function `createuserdata' Roberto Ierusalimschy 2000-10-26 10:47:05 -02:00
  • aadc35449e lua_settag does not pop its argument Roberto Ierusalimschy 2000-10-24 17:19:15 -02:00
  • cdc8139e29 registry mechanism Roberto Ierusalimschy 2000-10-24 17:12:06 -02:00
  • e833bd47c9 comments Roberto Ierusalimschy 2000-10-24 14:05:59 -02:00
  • b7ffb128cb it is unsafe to allow Lua to get gc tag methods Roberto Ierusalimschy 2000-10-20 14:57:42 -02:00
  • 64eecc0b82 new macro LUA_API Roberto Ierusalimschy 2000-10-20 14:39:03 -02:00
  • 8b88ab07f7 more controled use of `sprintf' Roberto Ierusalimschy 2000-10-20 14:36:32 -02:00
  • 2779ceeb12 ((n)-1) may be negative (-1), and so it is not wise to keep it as unsigned Roberto Ierusalimschy 2000-10-18 15:19:09 -02:00
  • e93c4547fe no more USERINIT (macro) Roberto Ierusalimschy 2000-10-17 11:36:24 -02:00
  • 0ffc676ce7 details Roberto Ierusalimschy 2000-10-11 14:47:50 -02:00
  • 18fb3ddb89 details. Roberto Ierusalimschy 2000-10-10 17:52:58 -02:00
  • 2bddbe6603 cannot change filename' before eventual call to freopen' Roberto Ierusalimschy 2000-10-10 17:51:39 -02:00
  • e323338fd0 `nlineinfo' must include end flag. Roberto Ierusalimschy 2000-10-10 17:51:15 -02:00
  • 46b543ebef better treatment for errors inside _ERRORMETHOD Roberto Ierusalimschy 2000-10-09 13:46:43 -02:00
  • 79909a92e1 details Roberto Ierusalimschy 2000-10-09 11:47:46 -02:00
  • d6232a0b2e better treatment for source names Roberto Ierusalimschy 2000-10-09 11:47:32 -02:00
  • ae63a0e692 new implementation for some API functions Roberto Ierusalimschy 2000-10-06 16:29:26 -03:00
  • cd3d446957 detail Roberto Ierusalimschy 2000-10-06 16:28:47 -03:00
  • f01e6c6f1d small optimization in `sort' Roberto Ierusalimschy 2000-10-06 16:13:29 -03:00
  • ad3816d0d1 luaD_call is more uniform Roberto Ierusalimschy 2000-10-06 09:45:25 -03:00
  • 046a3d6173 tag methods are always functions, so don't need to store a whole object Roberto Ierusalimschy 2000-10-05 10:00:17 -03:00
  • 001f2bdd0e new definition for types-tags Roberto Ierusalimschy 2000-10-05 09:14:08 -03:00
  • cd2ddaded9 call hooks can only be called when pc' is active (that is, inside execute'...) Roberto Ierusalimschy 2000-10-04 09:16:08 -03:00
  • d68209e822 details. Roberto Ierusalimschy 2000-10-03 11:27:44 -03:00
  • 1088cde03c easier way to change type Number Roberto Ierusalimschy 2000-10-03 11:03:21 -03:00
  • 6759f3ec5e no more `proprietary' convertion algorithm (too complex) Roberto Ierusalimschy 2000-10-03 11:03:21 -03:00
  • f6834f4393 new API function `lua_type' + new type lua_Type Roberto Ierusalimschy 2000-10-02 17:10:55 -03:00
  • 78bc8e553d new API for garbage collector Roberto Ierusalimschy 2000-10-02 11:47:43 -03:00
  • dad808a73a new way to count `nblocks' for GC (try to count bytes). Roberto Ierusalimschy 2000-09-29 09:42:13 -03:00
  • ca7fd50a4e small optimizations Roberto Ierusalimschy 2000-09-29 09:40:56 -03:00
  • 282ab366f4 bug: parser overwrites semantic information when looking ahead Roberto Ierusalimschy 2000-09-27 14:41:58 -03:00
  • 444d6a106b lua_tag should return LUA_NOTAG for non-valid indices Roberto Ierusalimschy 2000-09-27 09:51:39 -03:00
  • 13635f7de7 new version of protected execution Roberto Ierusalimschy 2000-09-25 13:22:42 -03:00
  • d8a442206d lua_state (now called `L') should not be global Roberto Ierusalimschy 2000-09-25 13:15:52 -03:00
  • c9c6f9747c GC may crash when checking C closures Roberto Ierusalimschy 2000-09-25 11:52:10 -03:00
  • c2aa7bd72d bug: lua_gettable does not get key from stack top Roberto Ierusalimschy 2000-09-25 11:48:42 -03:00
  • f9dd50cefc `read("*w")' should return nil at EOF Roberto Ierusalimschy 2000-09-22 15:14:06 -03:00
  • dbde9f8817 wrong assert Roberto Ierusalimschy 2000-09-21 11:41:25 -03:00
  • 857a1204d8 by lhf Roberto Ierusalimschy 2000-09-21 11:18:43 -03:00
  • d742b88fa1 final version (by lhf) Roberto Ierusalimschy 2000-09-20 15:43:54 -03:00
  • eb822c314a macros to do jumps Roberto Ierusalimschy 2000-09-20 14:57:08 -03:00