Commit Graph

  • f9d857a81b Stack reallocation done in two phases Roberto Ierusalimschy 2021-02-27 12:56:09 -03:00
  • 1537d6680b New control for reentrancy of emergency collections Roberto Ierusalimschy 2021-02-26 11:41:02 -03:00
  • e0260eb2d4 Bug (kind of) in 'isinstack' Roberto Ierusalimschy 2021-02-25 13:39:36 -03:00
  • 5205f073c5 Don't use tointegerns when luaV_tointegerns will do Roberto Ierusalimschy 2021-02-24 12:24:42 -03:00
  • 31925e4cc2 Details Roberto Ierusalimschy 2021-02-24 11:30:46 -03:00
  • 59c88f846d Broadening the use of branch hints Roberto Ierusalimschy 2021-02-24 11:14:44 -03:00
  • c03c527fd2 Bug: 'string.concat' error message uses wrong format Roberto Ierusalimschy 2021-02-15 13:31:45 -03:00
  • 38cc7d40a4 Bug: cannot allow the call 'debug.getinfo(0, ">")' Roberto Ierusalimschy 2021-02-15 10:38:09 -03:00
  • bc970005ce '__close' methods can yield in the return of a C function Roberto Ierusalimschy 2021-02-12 13:36:30 -03:00
  • f79ccdca9b Eases the use of clang in the makefile Roberto Ierusalimschy 2021-02-10 14:11:51 -03:00
  • 4e47f81188 New implementation for to-be-closed variables Roberto Ierusalimschy 2021-02-09 14:00:05 -03:00
  • c63e5d212b New macro 'completestate' Roberto Ierusalimschy 2021-02-05 17:51:25 -03:00
  • dee6433a89 Forbid changing numerical types through compiler options Roberto Ierusalimschy 2021-02-05 15:30:34 -03:00
  • 2bfa13e520 Fixed some bugs around stack reallocation Roberto Ierusalimschy 2021-02-05 11:00:28 -03:00
  • e500892e18 Optimization/simplification of 'getbaseline' Roberto Ierusalimschy 2021-02-02 14:43:55 -03:00
  • 949187b049 Optimizations for line hook Roberto Ierusalimschy 2021-01-28 14:40:29 -03:00
  • 58aa09a0b9 Small improvements in hooks Roberto Ierusalimschy 2021-01-26 16:53:51 -03:00
  • 1f81baffad Janitorial work Roberto Ierusalimschy 2021-01-25 10:39:18 -03:00
  • 0e9254dfa0 Correct order of return hooks vs. close metamethods Roberto Ierusalimschy 2021-01-21 10:27:22 -03:00
  • 6ccd24eff5 Simpler handling of errors when creating tbc variables Roberto Ierusalimschy 2021-01-19 10:03:13 -03:00
  • d0f34d9137 Allow yields in '__close' metamethods ater errors Roberto Ierusalimschy 2021-01-18 11:40:45 -03:00
  • 825ac8eca8 Corrected documentation for 'table.sort' Roberto Ierusalimschy 2021-01-14 13:26:55 -03:00
  • b07fc10e91 Allow yields inside '__close' metamethods Roberto Ierusalimschy 2021-01-13 13:54:10 -03:00
  • cc1692515e New API function 'lua_closeslot' Roberto Ierusalimschy 2021-01-11 15:03:01 -03:00
  • ce101dcaf7 Handles '__close' errors in coroutines in "coroutine style" Roberto Ierusalimschy 2020-12-30 11:20:22 -03:00
  • 553b37ce4f Do not insert nil values into tables Roberto Ierusalimschy 2020-12-29 13:38:47 -03:00
  • 4bd10b6fe8 Better error messages for calling non-callable objects Roberto Ierusalimschy 2020-12-29 13:15:54 -03:00
  • 59e565d955 No need to recheck close method before calling it Roberto Ierusalimschy 2020-12-29 10:23:02 -03:00
  • 6188f3a654 Reset thread before panicking Roberto Ierusalimschy 2020-12-28 16:34:07 -03:00
  • 7af27ef59d Cleaner handling of errors in '__close' metamethods Roberto Ierusalimschy 2020-12-28 11:40:30 -03:00
  • 0ceada8da9 Report last error in closing methods Roberto Ierusalimschy 2020-12-22 10:54:25 -03:00
  • f9d29b0c44 Upvalues removed from 'openupval' before being closed Roberto Ierusalimschy 2020-12-21 15:21:45 -03:00
  • 409256b784 'coroutine.close'/'lua_resetthread' report original errors Roberto Ierusalimschy 2020-12-18 11:22:42 -03:00
  • b17178b27a Cleaner handling of floats in pack/unpack Roberto Ierusalimschy 2020-12-16 11:23:51 -03:00
  • e1ceea5674 Cleaner definition for macro 'ttisclosure' Roberto Ierusalimschy 2020-12-16 11:02:40 -03:00
  • 748d6d4e7a Review of asserts in 'ltests.c' Roberto Ierusalimschy 2020-12-08 11:54:21 -03:00
  • e2ea3b31c9 Details (do not affect regular code) Roberto Ierusalimschy 2020-12-07 11:17:30 -03:00
  • 23051e830a Changes in the API of 'luaH_set' and related functions Roberto Ierusalimschy 2020-12-04 11:08:42 -03:00
  • f15589f3b0 Added test cases for error messages about goto/label Roberto Ierusalimschy 2020-12-03 12:11:15 -03:00
  • 754ca0060f n Windows, 'popen' accepts "[rw][bt]?" as valid modes Roberto Ierusalimschy 2020-12-03 12:09:50 -03:00
  • c36ced53c9 Avoid "bad programming habits" in the reference system Roberto Ierusalimschy 2020-12-03 12:00:32 -03:00
  • d41c36bf67 'lua_assert' moved from 'lualib.h' to 'lauxlib.h' Roberto Ierusalimschy 2020-12-03 10:39:38 -03:00
  • d9d2904f09 Details Roberto Ierusalimschy 2020-12-02 15:13:13 -03:00
  • 65d2294454 Changed access to global table in the registry Roberto Ierusalimschy 2020-11-26 18:23:40 -03:00
  • 131e3fd814 Avoid using 'signal' when 'sigaction' is available Roberto Ierusalimschy 2020-11-24 14:41:50 -03:00
  • 9d067ab73b Optimization for 'n^2' Roberto Ierusalimschy 2020-11-13 09:59:07 -03:00
  • 2f4162bc47 Compiler optimization back to '-O2' Roberto Ierusalimschy 2020-11-11 15:10:51 -03:00
  • ab1aca94e8 Removed optimization for «if ... then goto» Roberto Ierusalimschy 2020-11-11 14:41:41 -03:00
  • d282652561 Bug when growing a stack Roberto Ierusalimschy 2020-11-08 11:52:26 -03:00
  • 58216600eb 'luaL_newstate' should not allocate extra memory Roberto Ierusalimschy 2020-11-03 16:34:36 -03:00
  • 94cbe46511 Details Roberto Ierusalimschy 2020-10-30 10:18:54 -03:00
  • 69b71a6919 _PROMPT can have non-string values Roberto Ierusalimschy 2020-10-26 11:15:51 -03:00
  • d742a193e5 Comments Roberto Ierusalimschy 2020-10-22 15:54:46 -03:00
  • e4a38eb0e8 Fixed wrong trace of vararg functions Roberto Ierusalimschy 2020-10-19 15:55:25 -03:00
  • f07de22576 Fixed compiler option -DHARDSTACKTESTS to commit 5aa36e8 Roberto Ierusalimschy 2020-10-19 15:43:59 -03:00
  • 52c8679760 Fixed bug of keys removed from tables vs 'next' Roberto Ierusalimschy 2020-10-14 15:46:58 -03:00
  • 849b2ecbd2 New release number (5.4.2) Roberto Ierusalimschy 2020-10-12 14:52:39 -03:00
  • 30528049f1 'lua_upvalueid' returns NULL on invalid upvalue index Roberto Ierusalimschy 2020-10-12 14:51:28 -03:00
  • 9a89fb1c9d Hash always use all characters in a long string Roberto Ierusalimschy 2020-10-12 10:02:37 -03:00
  • c23cc86c54 Details Roberto Ierusalimschy 2020-10-07 11:45:23 -03:00
  • 171dcd7d74 'recover' finish of 'luaD_pcall' should follow the original Roberto Ierusalimschy 2020-10-07 10:42:00 -03:00
  • 5aa36e894f No more field 'lua_State.stacksize' Roberto Ierusalimschy 2020-10-06 15:50:24 -03:00
  • 9ecd446141 Avoid shrinking stacks to often Roberto Ierusalimschy 2020-10-06 13:37:41 -03:00
  • fb172d0a92 No need for 'volatile' in string.pack/unpack Roberto Ierusalimschy 2020-10-05 10:38:41 -03:00
  • 0085db4596 Avoid GCs when testing stack overflow Roberto Ierusalimschy 2020-09-28 10:14:06 -03:00
  • 490d42b5f8 Correct handling of 'luaV_execute' invocations Roberto Ierusalimschy 2020-09-24 13:26:51 -03:00
  • 287b302acb Revision of stackless implementation Roberto Ierusalimschy 2020-09-23 10:18:01 -03:00
  • 5d8ce05b3f Back to a stackless implementation Roberto Ierusalimschy 2020-09-21 10:31:03 -03:00
  • f83de8e34e Wrong cast in 'str_unpack' Roberto Ierusalimschy 2020-09-30 15:10:12 -03:00
  • 9f791535cd Merge branch 'master' of https://github.com/lua/lua Roberto Ierusalimschy 2020-09-29 10:25:50 -03:00
  • 51c29ec0c4 Create README.md lhf 2020-09-28 14:34:44 +00:00
  • fbaf040f5e Details in the manual Roberto Ierusalimschy 2020-09-25 10:49:29 -03:00
  • e51564d1be Details in comments and documentation Roberto Ierusalimschy 2020-09-16 14:57:51 -03:00
  • 98ec799591 Detail Roberto Ierusalimschy 2020-09-15 14:29:52 -03:00
  • b6888a158b New release number (5.4.1) Roberto Ierusalimschy 2020-09-15 14:27:10 -03:00
  • 613513d09f Better documentation for the GC of strings in the C API Roberto Ierusalimschy 2020-09-09 17:28:25 -03:00
  • 8496112a18 Better documentation for 'lctype.h' Roberto Ierusalimschy 2020-09-03 09:52:43 -03:00
  • 6bc0f13505 Fixed bug of long strings in binary chunks Roberto Ierusalimschy 2020-08-18 14:42:11 -03:00
  • 8a89da07ba Better control of gray objects Roberto Ierusalimschy 2020-08-17 15:38:51 -03:00
  • f849885a4b Small changes in macros that change GC colors Roberto Ierusalimschy 2020-08-13 15:23:21 -03:00
  • f7ce7e5faa TOUCHED2 objects are not always black Roberto Ierusalimschy 2020-08-13 14:31:27 -03:00
  • 65141832d2 Open upvalues should be gray when entering gen. mode Roberto Ierusalimschy 2020-08-07 14:53:38 -03:00
  • f13dc59416 Better tests for gray lists Roberto Ierusalimschy 2020-08-07 14:45:20 -03:00
  • 7c3cb71fa4 Free bit 7 of GC 'marked' field Roberto Ierusalimschy 2020-08-07 11:21:44 -03:00
  • 68109afcdb Detail (in asserts) Roberto Ierusalimschy 2020-08-03 16:05:10 -03:00
  • 9cf3299faf Threads don't need to always go to 'grayagain' Roberto Ierusalimschy 2020-08-03 14:28:13 -03:00
  • b9b554e0f6 Clearer handling of gray lists when entering generational mode Roberto Ierusalimschy 2020-08-03 13:22:57 -03:00
  • 0dc5deca1c Optimization in 'markold' Roberto Ierusalimschy 2020-07-29 17:05:47 -03:00
  • b4c353434f Details Roberto Ierusalimschy 2020-07-29 11:34:08 -03:00
  • 71f70df327 OLD1 ages advanced by 'markold' Roberto Ierusalimschy 2020-07-29 09:58:25 -03:00
  • 663f83f647 Same changes around 'correctgraylist' Roberto Ierusalimschy 2020-07-28 15:51:07 -03:00
  • ae5b5ba529 Fixed bug: line hooks in stripped functions Roberto Ierusalimschy 2020-07-27 13:23:05 -03:00
  • a585eae6e7 Fixed bug: Negation overflow in getlocal/setlocal Roberto Ierusalimschy 2020-07-27 12:01:38 -03:00
  • d2c2e32e8a All objects are kept 'new' in incremental GC Roberto Ierusalimschy 2020-07-27 11:39:42 -03:00
  • 8c7c9ea065 Function 'printobj' in 'ltests.c' made public Roberto Ierusalimschy 2020-07-27 11:24:03 -03:00
  • a6da1472c0 Fixed bug: barriers cannot be active during sweep Roberto Ierusalimschy 2020-07-27 10:26:20 -03:00
  • 34affe7a63 Fixed bug: 'luaD_callnoyield' called twice in a row Roberto Ierusalimschy 2020-07-17 14:54:26 -03:00
  • a2195644d8 Fixed bug: invalid 'oldpc' when returning to a function Roberto Ierusalimschy 2020-07-17 11:01:05 -03:00
  • 1ecfbfa1a1 Fixed bug: invalid mode can crash 'io.popen' Roberto Ierusalimschy 2020-07-15 16:01:03 -03:00
  • e1d8770f12 Fixed bug: wrong stack limit when entering a coroutine Roberto Ierusalimschy 2020-07-13 13:39:02 -03:00