Commit Graph

  • 152b51955a Removed GC checks from function calls Roberto Ierusalimschy 2022-11-24 10:20:15 -03:00
  • ec61be9a7e 'l_mem' renamed to 'l_obj' to count objects Roberto Ierusalimschy 2022-11-23 17:29:03 -03:00
  • f356d5acdd First version of GC counting objects for control Roberto Ierusalimschy 2022-11-23 17:17:20 -03:00
  • 9a77f57edc Stop GC while building initial state Roberto Ierusalimschy 2022-11-23 14:17:28 -03:00
  • be908a7d4d Removed unused field 'UpVal.tbc' Roberto Ierusalimschy 2022-11-08 10:15:10 -03:00
  • 76953316d1 Added a counter of the total number of existing objects Roberto Ierusalimschy 2022-11-03 16:37:13 -03:00
  • 3d2bd1359d Merge branch 'master' into nextversion Roberto Ierusalimschy 2022-11-01 17:17:21 -03:00
  • 9ede317c70 Threads are created like other objects Roberto Ierusalimschy 2022-11-01 17:14:01 -03:00
  • 8047b2d03e Tables have a 'lastfree' information only when needed Roberto Ierusalimschy 2022-11-01 15:42:08 -03:00
  • ee645472eb Stack reallocation done with a single realloc Roberto Ierusalimschy 2022-10-31 15:06:20 -03:00
  • 413a393e62 Stack indices changed to union's Roberto Ierusalimschy 2022-10-29 12:06:37 -03:00
  • ba089bcb08 Details Roberto Ierusalimschy 2022-10-26 10:15:09 -03:00
  • 1e64c1391f Bug: stack overflow with nesting of coroutine.close Roberto Ierusalimschy 2022-10-25 16:44:06 -03:00
  • b85816b9a8 Removed test function 'luaH_isdummy' Roberto Ierusalimschy 2022-10-21 09:18:13 -03:00
  • c954db3924 Option '-l g=mod' added to the manual Roberto Ierusalimschy 2022-10-19 16:30:39 -03:00
  • 14d2803e55 Details Roberto Ierusalimschy 2022-10-19 16:29:54 -03:00
  • 7f12bf40c4 Portability issue in a test for 'string.format' Roberto Ierusalimschy 2022-10-19 16:20:11 -03:00
  • 26be27459b Negation in constant folding of '>>' may overflow Roberto Ierusalimschy 2022-09-23 11:08:10 -03:00
  • cfbe378f90 Small simplification in overflow check in 'getfield' Roberto Ierusalimschy 2022-09-23 10:57:35 -03:00
  • a1089b415a Bug: 'utf8.codes' accepts spurious continuation bytes Roberto Ierusalimschy 2022-09-23 10:41:16 -03:00
  • f8c4c4fcf2 New test for table rehash Roberto Ierusalimschy 2022-09-16 17:05:22 -03:00
  • 71bc69c2af Note in the manual about using '...' as an expression Roberto Ierusalimschy 2022-09-08 17:21:02 -03:00
  • cd56f222b7 Corrected error message in 'table.remove' Roberto Ierusalimschy 2022-09-07 12:21:46 -03:00
  • 69b77b6fde Changed the growth rate of string buffers Roberto Ierusalimschy 2022-09-06 10:58:55 -03:00
  • 997f11f543 Bug: 'break' may not properly close variable in a 'for' loop Roberto Ierusalimschy 2022-08-24 17:36:47 -03:00
  • 02060b7a37 Simpler handling of Byte Order Mark (BOM) Roberto Ierusalimschy 2022-08-23 16:08:53 -03:00
  • a1f77a234a Bug: set correct pause when (re)entering gen. collection. Roberto Ierusalimschy 2022-08-23 16:06:23 -03:00
  • c6cea857a4 Better documentation for 'multires' expressions Roberto Ierusalimschy 2022-08-19 14:10:18 -03:00
  • d61b0c6028 More checks and documentation for uses of EXTRA_STACK Roberto Ierusalimschy 2022-05-26 15:14:54 -03:00
  • 196bb94d66 Bug: 'lua_settop' may use an invalid pointer to stack Roberto Ierusalimschy 2022-05-25 17:41:39 -03:00
  • 603b2c64ad 'luaV_concat' can use invalidated pointer to stack Roberto Ierusalimschy 2022-05-23 17:50:47 -03:00
  • 4a00f61276 'lua_checkstack' doesn't need to check stack overflow Roberto Ierusalimschy 2022-05-23 10:38:03 -03:00
  • 42d40581dd Save stack space while handling errors Roberto Ierusalimschy 2022-05-20 13:14:33 -03:00
  • e435aaabef Details (identation and typos) Roberto Ierusalimschy 2022-05-10 11:13:39 -03:00
  • 315639d3bb Factoring out common parts of 'codearith' and 'codebitwise' Roberto Ierusalimschy 2022-05-06 17:52:46 -03:00
  • c764ca71a6 Bug: Wrong code generation in bitwise operations Roberto Ierusalimschy 2022-04-25 14:42:51 -03:00
  • 295cde9454 New release number (5.4.5) Roberto Ierusalimschy 2022-04-07 10:52:15 -03:00
  • f3cfd5bf2b Details Roberto Ierusalimschy 2022-04-01 13:55:44 -03:00
  • 8426d9b4d4 Avoid computing invalid addresses Roberto Ierusalimschy 2022-02-18 13:22:25 -03:00
  • 1f3c6f4534 Bug: Lua can generate wrong code when _ENV is <const> Roberto Ierusalimschy 2022-02-15 12:28:46 -03:00
  • 25b143dd34 Bug: lua.c assumes that argv has at least one element Roberto Ierusalimschy 2022-02-07 10:16:35 -03:00
  • 5d708c3f9c Explanation of borders in the manual Roberto Ierusalimschy 2022-01-13 08:15:03 -03:00
  • 8dd2c912d2 Detail Roberto Ierusalimschy 2022-01-03 09:12:17 -03:00
  • 05ac2409ee New year (2022) Roberto Ierusalimschy 2022-01-02 07:11:08 -03:00
  • 597a53bbc6 Bug: finalizer calling exit can corrupt finalization order Roberto Ierusalimschy 2021-12-22 09:00:52 -03:00
  • 86ec152433 Details Roberto Ierusalimschy 2021-12-21 07:39:25 -03:00
  • cf613cdc6f Bug: finalizers can be called with an invalid stack Roberto Ierusalimschy 2021-12-15 11:29:07 -03:00
  • 066e0f93c4 Fix debug information about finalizers Roberto Ierusalimschy 2021-12-14 12:50:05 -03:00
  • 0bfc572e51 Bug: GC is not reentrant Roberto Ierusalimschy 2021-12-13 10:41:17 -03:00
  • 1de95e97ef Bug: Lua stack still active when closing a state Roberto Ierusalimschy 2021-12-10 10:53:54 -03:00
  • ad3942adba Main 'mainposition' replaced by 'mainpositionTV' Roberto Ierusalimschy 2021-11-25 11:07:17 -03:00
  • 48835c76c8 Wrong assert in 'collectvalidlines' Roberto Ierusalimschy 2021-11-25 10:11:05 -03:00
  • 6b3e116d44 Corrected bug in 'luaD_tryfuncTM' Roberto Ierusalimschy 2021-11-16 14:35:06 -03:00
  • e8deac5a41 Avoid OP_VARARGPREP for active lines Roberto Ierusalimschy 2021-11-10 15:07:14 -03:00
  • bfbff3703e Bug: Wrong status in coroutine during reset Roberto Ierusalimschy 2021-11-08 11:55:25 -03:00
  • 74d99057a5 Bug: C stack overflow with coroutines Roberto Ierusalimschy 2021-11-03 15:04:18 -03:00
  • 1fce5bea81 More uniform implementation for tail calls Roberto Ierusalimschy 2021-10-29 13:41:24 -03:00
  • 3699446aaf Removed goto's in 'luaD_precall' Roberto Ierusalimschy 2021-10-18 11:58:40 -03:00
  • 0e5071b5fb Avoid taking the address of a 'TValue' field Roberto Ierusalimschy 2021-10-11 13:52:26 -03:00
  • 87a9573b2e Documentation Roberto Ierusalimschy 2021-10-11 13:49:13 -03:00
  • deac067ed3 Avoid overflows when incrementing parameters in C Roberto Ierusalimschy 2021-09-22 13:10:39 -03:00
  • 2ff3471722 Using 'inline' in some functions Roberto Ierusalimschy 2021-09-15 11:18:41 -03:00
  • 9db4bfed6b Revamp of format validation in 'string.format' Roberto Ierusalimschy 2021-09-03 13:14:56 -03:00
  • 91673a8ec0 'luaD_tryfuncTM' checks stack space by itself Roberto Ierusalimschy 2021-08-18 12:05:06 -03:00
  • 41871f1803 Undo simplification of tail calls (commit 901d760) Roberto Ierusalimschy 2021-08-18 11:21:33 -03:00
  • a393ac2554 Detail in 'testes/math.lua' Roberto Ierusalimschy 2021-08-18 10:46:18 -03:00
  • 65434b4d1b Option '-l' can give a name for the global variable. Roberto Ierusalimschy 2021-08-16 13:57:19 -03:00
  • 59acd79c05 Added tests for string reuse by the scanner Roberto Ierusalimschy 2021-08-11 11:19:33 -03:00
  • e2c07dcbf7 Improved documentation for 'lua_getinfo' Roberto Ierusalimschy 2021-08-11 11:18:10 -03:00
  • 439e45a2f6 Bug: luaL_tolstring may get confused with negative index Roberto Ierusalimschy 2021-07-22 13:48:43 -03:00
  • 62fb934427 Bug: Negation in 'luaV_shiftr' may overflow Roberto Ierusalimschy 2021-07-22 13:44:53 -03:00
  • 8a32e0aa4a Correction on documentation of string-buffer operations Roberto Ierusalimschy 2021-07-21 11:33:58 -03:00
  • dbdc74dc55 Simplification in the parameters of 'luaD_precall' Roberto Ierusalimschy 2021-06-30 12:53:21 -03:00
  • 6a0dace25a Bug: 'local function' can assign to '<const>' variables Roberto Ierusalimschy 2021-06-20 15:36:36 -03:00
  • 04e19712a5 C functions can be tail called, too Roberto Ierusalimschy 2021-06-14 13:28:21 -03:00
  • 901d760093 Simpler implementation for tail calls Roberto Ierusalimschy 2021-06-11 13:41:07 -03:00
  • c0ed74c1e1 Avoid the term "undefined behavior" in the manual Roberto Ierusalimschy 2021-06-09 13:24:49 -03:00
  • fc6c74f100 'index2value' more robust Roberto Ierusalimschy 2021-05-24 16:48:43 -03:00
  • 1e6918d553 Details Roberto Ierusalimschy 2021-05-24 16:48:09 -03:00
  • 681297187e Bug: yielding in '__close' mess up number of returns Roberto Ierusalimschy 2021-04-16 15:41:44 -03:00
  • 5148954eed Align error messages for calling non-callable values Roberto Ierusalimschy 2021-04-12 16:50:34 -03:00
  • d205f3a484 Bug: Lua source should not use C99 comments ("//") Roberto Ierusalimschy 2021-04-10 10:19:21 -03:00
  • 47cffdc723 Bug: tbc variables in "for" loops don't avoid tail calls Roberto Ierusalimschy 2021-04-07 14:59:26 -03:00
  • 36de01d988 Changes in cache for function constants Roberto Ierusalimschy 2021-03-30 14:49:18 -03:00
  • 7fbe215808 New hash function for integer keys Roberto Ierusalimschy 2021-03-29 15:47:18 -03:00
  • bf10593a3a Allow yields inside '__pairs' Roberto Ierusalimschy 2021-03-29 12:57:32 -03:00
  • bef250eb8d Details Roberto Ierusalimschy 2021-03-29 11:47:12 -03:00
  • ba81adaad9 Next release number (5.4.4) Roberto Ierusalimschy 2021-03-29 11:26:07 -03:00
  • eadd8c7178 Added option LUA_NOBUILTIN Roberto Ierusalimschy 2021-03-12 15:03:33 -03:00
  • 014daf43cb Details Roberto Ierusalimschy 2021-03-12 11:29:34 -03:00
  • 05b13651f9 File 'tracegc.lua' added to 'packtests' Roberto Ierusalimschy 2021-03-10 10:35:57 -03:00
  • 81c6021fb4 New implementation for 'tbclist' Roberto Ierusalimschy 2021-03-10 10:27:19 -03:00
  • a7b8b27dd3 Uses of "likely" in macros active to all users Roberto Ierusalimschy 2021-03-09 12:50:59 -03:00
  • 511d53a826 lua_settop/lua_pop closes to-be-closed variables Roberto Ierusalimschy 2021-03-09 11:42:45 -03:00
  • f5df7f91f7 Wrong assertion in 'getbaseline' Roberto Ierusalimschy 2021-03-05 12:10:34 -03:00
  • e7803f7dbc New release number (5.4.3) Roberto Ierusalimschy 2021-03-03 09:44:20 -03:00
  • b7eb21c1ef Normalization of metamethod typography in the manual Roberto Ierusalimschy 2021-03-02 13:50:00 -03:00
  • cf23a93d82 Added assertions for proper use of string buffers Roberto Ierusalimschy 2021-03-02 11:39:42 -03:00
  • 9a2de786de Stack check in warning function for tests Roberto Ierusalimschy 2021-03-02 11:35:40 -03:00
  • 5276973224 New test module 'tracegc' Roberto Ierusalimschy 2021-03-01 13:54:29 -03:00