Commit Graph

  • 96ba5d0bc2 include file name in error messages Roberto Ierusalimschy 2002-11-18 14:53:19 -02:00
  • f0185f7628 support for tests of yield inside hooks + better support for tests with valgrind and other memory checkers Roberto Ierusalimschy 2002-11-18 13:24:27 -02:00
  • 9bab2cf55d support for yield inside hooks Roberto Ierusalimschy 2002-11-18 13:24:11 -02:00
  • c4ae00a3d1 details Roberto Ierusalimschy 2002-11-18 13:23:43 -02:00
  • f4d3bc52f4 towards 5.0 beta Roberto Ierusalimschy 2002-11-18 12:39:34 -02:00
  • 18765d900e messages Roberto Ierusalimschy 2002-11-18 09:20:01 -02:00
  • 43013b39cc new representation for hooks (to allow asynchronous calls to sethook) Roberto Ierusalimschy 2002-11-18 09:01:55 -02:00
  • 94912d99fc details Roberto Ierusalimschy 2002-11-14 14:59:16 -02:00
  • b40c9f7a3c better code to signal write barriers Roberto Ierusalimschy 2002-11-14 14:16:21 -02:00
  • 41fd639cab documentation for write barriers Roberto Ierusalimschy 2002-11-14 14:15:53 -02:00
  • a845a46cc8 C function may leave garbage on the stack (besides return values) Roberto Ierusalimschy 2002-11-14 13:42:05 -02:00
  • 097edd3884 better names for auxiliar functions Roberto Ierusalimschy 2002-11-14 13:41:38 -02:00
  • 5c5d9b2703 back to `__mode' metafield to specify weakness Roberto Ierusalimschy 2002-11-14 10:01:35 -02:00
  • 43d1a6af12 detail Roberto Ierusalimschy 2002-11-14 09:51:23 -02:00
  • 3010eb0536 all objects with several children (tables, closures, stacks, prototypes) go to `gray' queue Roberto Ierusalimschy 2002-11-13 09:49:19 -02:00
  • 2f91f95d94 better control over GCObjects Roberto Ierusalimschy 2002-11-13 09:32:26 -02:00
  • 42dd080a2e details Roberto Ierusalimschy 2002-11-12 12:34:18 -02:00
  • 9957f7d598 better way to open libraries Roberto Ierusalimschy 2002-11-11 11:28:06 -02:00
  • ac27b7a842 avoid traversing extra elements when cleaning weak tables Roberto Ierusalimschy 2002-11-11 09:52:43 -02:00
  • 81e142fc14 detail (`key' is always on stack) Roberto Ierusalimschy 2002-11-07 14:03:33 -02:00
  • 63633c5b5f better name for `lua_movethread' Roberto Ierusalimschy 2002-11-07 13:39:23 -02:00
  • dff9be4224 new macros to distinguish different types of object moves (for future GC evolution). Roberto Ierusalimschy 2002-11-07 13:37:10 -02:00
  • 118347d8c3 new API for coroutines Roberto Ierusalimschy 2002-11-06 17:08:00 -02:00
  • 6820da5096 detail Roberto Ierusalimschy 2002-11-04 10:31:44 -02:00
  • c3eb4675b9 new module, ldump.c Roberto Ierusalimschy 2002-10-25 18:38:17 -03:00
  • 7e0f880bc5 C++ demands cast from void to specific types Roberto Ierusalimschy 2002-10-25 18:36:54 -03:00
  • 118e9cd843 new facility for dumping chunks Roberto Ierusalimschy 2002-10-25 18:31:28 -03:00
  • de00d0d0ad module for dumping chunks Roberto Ierusalimschy 2002-10-25 18:31:28 -03:00
  • 1713b64065 Writer type must be public (so, in lua.h) Roberto Ierusalimschy 2002-10-25 18:30:49 -03:00
  • 671dc6eec2 new version (from lhf) Roberto Ierusalimschy 2002-10-25 18:30:41 -03:00
  • e356a43dc0 C needs "union" (unlike C++) Roberto Ierusalimschy 2002-10-25 18:30:00 -03:00
  • f36038e42a assertion must be always valid (not only in debug mode) Roberto Ierusalimschy 2002-10-25 18:29:20 -03:00
  • 96e15b8501 threads now are real Lua objects, subject to garbage collection Roberto Ierusalimschy 2002-10-25 17:05:28 -03:00
  • 0fd91b1b08 optional limits for table.concat Roberto Ierusalimschy 2002-10-23 16:08:23 -03:00
  • a2b353e044 details Roberto Ierusalimschy 2002-10-23 16:08:13 -03:00
  • 92a2ef9dca field `__globals' protect global tables Roberto Ierusalimschy 2002-10-22 16:41:08 -03:00
  • 4fb9110a6e tests for compatibility functions lua_dostring/lua_dofile Roberto Ierusalimschy 2002-10-22 15:07:55 -03:00
  • 11886dc7b0 print error on stderr when _ALERT is not defined Roberto Ierusalimschy 2002-10-22 15:07:55 -03:00
  • 81bc5711a8 only one instance of registry and default metatable per global state Roberto Ierusalimschy 2002-10-22 14:58:14 -03:00
  • 6a77a6b73f avoid too much precision when printing numbers Roberto Ierusalimschy 2002-10-22 14:21:25 -03:00
  • 84e0b1bc97 small changes in type configuration facilities Roberto Ierusalimschy 2002-10-22 14:18:28 -03:00
  • 6823a2f57f better tokens for error messages Roberto Ierusalimschy 2002-10-22 13:45:52 -03:00
  • 313b2fe902 detail Roberto Ierusalimschy 2002-10-21 17:43:38 -03:00
  • 425e5813b0 free prototype in (more or less) the same order it is created by `undump' Roberto Ierusalimschy 2002-10-21 17:41:46 -03:00
  • 6505503b49 do not pretend that file is closed when close fails Roberto Ierusalimschy 2002-10-21 17:41:24 -03:00
  • ec748fcb0a correct handling of opened files in presence of memory allocation errors Roberto Ierusalimschy 2002-10-16 17:41:35 -03:00
  • c196348717 in case of memory allocation errors, sizecode and sizelineinfo can be different Roberto Ierusalimschy 2002-10-16 17:40:58 -03:00
  • 669129a6d8 io.lines() iterate over the standard input file Roberto Ierusalimschy 2002-10-11 17:40:32 -03:00
  • 46b063ef59 `undump' also uses private buffer Roberto Ierusalimschy 2002-10-09 10:42:01 -03:00
  • e1d5153a33 details Roberto Ierusalimschy 2002-10-09 10:00:08 -03:00
  • b3d0682fb9 use of different buffers for scanner and concatenation Roberto Ierusalimschy 2002-10-08 15:46:08 -03:00
  • 02afc892d5 new ANSI C does not assure that realloc(p,0) == free(p) Roberto Ierusalimschy 2002-10-08 15:45:07 -03:00
  • fa2f1ec7ba to avoid `strerror', define itself to something else; nil has a special, fixed reference Roberto Ierusalimschy 2002-10-04 11:31:40 -03:00
  • 829befcc41 small optimization for object comparison Roberto Ierusalimschy 2002-10-04 11:31:03 -03:00
  • d477e4ffd6 detail Roberto Ierusalimschy 2002-10-04 11:30:31 -03:00
  • ce09af1e25 easier to define api_check' using assert' Roberto Ierusalimschy 2002-09-20 14:01:24 -03:00
  • 98d0b79613 EXIT_SUCCESS may be different from 0 Roberto Ierusalimschy 2002-09-20 10:32:56 -03:00
  • e8f35fc4ff unification of __index & __gettable (and __newindex & __settable) Roberto Ierusalimschy 2002-09-19 17:12:47 -03:00
  • 6fb0fd5063 avoid `reclearing' weak tables Roberto Ierusalimschy 2002-09-19 16:54:22 -03:00
  • 565e6d74e1 state's buffer is used only for chars Roberto Ierusalimschy 2002-09-19 10:03:53 -03:00
  • f6bc7884be new generators for reading a file line by line Roberto Ierusalimschy 2002-09-17 17:35:54 -03:00
  • 32a5d96dfc `setmetatable' cannot change protected objects Roberto Ierusalimschy 2002-09-16 16:49:45 -03:00
  • 8dae071f42 details Roberto Ierusalimschy 2002-09-16 16:18:01 -03:00
  • afe1305b1a avoid luaS_resize (which may need extra memory) during `main' activities Roberto Ierusalimschy 2002-09-05 16:57:40 -03:00
  • 728fa167d2 cannot raise memory error when realloc to smaller block Roberto Ierusalimschy 2002-09-05 16:57:08 -03:00
  • 1bdde38bd2 no more newlines at the end of error messages Roberto Ierusalimschy 2002-09-05 16:45:42 -03:00
  • b2bc3b44b6 no more reserved word "global" Roberto Ierusalimschy 2002-09-03 08:57:38 -03:00
  • 7c0ccdfd61 avoid the use of "enum" in the API, as they do not have a fixed representation Roberto Ierusalimschy 2002-09-02 17:00:41 -03:00
  • 4964e7c8a0 details Roberto Ierusalimschy 2002-09-02 16:54:49 -03:00
  • 2c670baf24 avoid the use of "obvious" names in header files to avoid conflicts Roberto Ierusalimschy 2002-08-30 17:00:59 -03:00
  • fdafd4f4a8 new structure for collectable objects, sharing a common header Roberto Ierusalimschy 2002-08-30 16:09:21 -03:00
  • beeff4ccaf GC metamethod stored in a weak metatable being collected together with userdata may not be cleared properly Roberto Ierusalimschy 2002-08-30 16:08:30 -03:00
  • 12c4e48506 `frontier' patterns Roberto Ierusalimschy 2002-08-23 16:45:24 -03:00
  • c78aaa9a70 better line number for function definitions Roberto Ierusalimschy 2002-08-22 16:51:08 -03:00
  • 4d7a554921 style for switch statements Roberto Ierusalimschy 2002-08-21 16:39:31 -03:00
  • fbc23d0245 details Roberto Ierusalimschy 2002-08-21 15:56:33 -03:00
  • 81a8845e4f detail Roberto Ierusalimschy 2002-08-21 11:57:48 -03:00
  • 6c283b2f4f new simetric format for ABC instructions, to avoid exchanging operands for `commutative' operators Roberto Ierusalimschy 2002-08-20 17:03:05 -03:00
  • 576bded513 details Roberto Ierusalimschy 2002-08-16 17:02:13 -03:00
  • ecc7769de2 names... Roberto Ierusalimschy 2002-08-16 17:00:28 -03:00
  • da19c436cc cleaning the stage for generational collection Roberto Ierusalimschy 2002-08-16 11:45:55 -03:00
  • 0039feb9da warning from Visual C Roberto Ierusalimschy 2002-08-16 11:45:18 -03:00
  • aa5b15f271 detail v5.0-alpha Roberto Ierusalimschy 2002-08-14 17:10:33 -03:00
  • 653416d5c0 angles in radians(!) Roberto Ierusalimschy 2002-08-14 17:07:43 -03:00
  • 82a3be0671 some corrections + angles in radians Roberto Ierusalimschy 2002-08-14 17:07:25 -03:00
  • 94b5ad31f4 details Roberto Ierusalimschy 2002-08-13 17:00:51 -03:00
  • 90d26b9266 update of `debug' library (Lua binding) Roberto Ierusalimschy 2002-08-13 16:44:47 -03:00
  • a048d71ef3 new LUA_USERCONFIG to include user options Roberto Ierusalimschy 2002-08-13 12:04:59 -03:00
  • 27f8a4a69e towards 5.0 (one more step)... Roberto Ierusalimschy 2002-08-12 14:43:35 -03:00
  • 8e4ac679ff use a linear count for count hook Roberto Ierusalimschy 2002-08-12 14:23:12 -03:00
  • 221b5be7b7 use of `LoadState' struct (instead of several separate arguments) Roberto Ierusalimschy 2002-08-12 10:37:19 -03:00
  • b6791f5fa5 details Roberto Ierusalimschy 2002-08-12 10:37:19 -03:00
  • 3b058177af towards 5.0 alpha... Roberto Ierusalimschy 2002-08-09 18:03:19 -03:00
  • 586e510577 details Roberto Ierusalimschy 2002-08-08 17:08:41 -03:00
  • 9998082839 external messages add their own extra information Roberto Ierusalimschy 2002-08-08 17:08:41 -03:00
  • 08da48a73c detail Roberto Ierusalimschy 2002-08-07 17:55:00 -03:00
  • 00a40f4d6a ensure proper rounding Roberto Ierusalimschy 2002-08-07 17:54:38 -03:00
  • 3bb5079dd4 ensure fixed order for library initialization Roberto Ierusalimschy 2002-08-07 17:54:17 -03:00
  • 5016f43aa4 (much) cleaner way to control function states Roberto Ierusalimschy 2002-08-07 16:22:39 -03:00
  • c1c100a0c0 warnings in other compilers Roberto Ierusalimschy 2002-08-07 11:35:55 -03:00