Commit Graph

  • a4762b6ffe 'objsize' returns 'l_mem' Roberto Ierusalimschy 2024-11-15 12:04:53 -03:00
  • d4247befa1 New macro 'assert_code' Roberto Ierusalimschy 2024-11-15 11:57:18 -03:00
  • ee6a4cd1ec Ease slightly making Lua with C89 Roberto Ierusalimschy 2024-11-15 11:43:32 -03:00
  • 8a4419b119 Dummy node has a non-nil key Roberto Ierusalimschy 2024-11-15 10:48:52 -03:00
  • 9a91fe1640 Add extra size when resizing tables with deleted keys Roberto Ierusalimschy 2024-11-14 11:48:25 -03:00
  • 2491b87c10 New rule for size of array part Roberto Ierusalimschy 2024-11-13 13:37:24 -03:00
  • 0de8191152 New structure to count keys in a table for rehashing Roberto Ierusalimschy 2024-10-28 14:15:21 -03:00
  • 853311e5b1 Table rehash can resize only the hash part Roberto Ierusalimschy 2024-10-28 10:54:36 -03:00
  • 25a2dac2bc Always use unsigned int for indexing table-arrays Roberto Ierusalimschy 2024-10-24 15:33:25 -03:00
  • e3ce88c9e8 New function 'lua_numbertostrbuff' Roberto Ierusalimschy 2024-10-23 17:16:17 -03:00
  • 5ffcd458f0 Some changes in default GC parameters Roberto Ierusalimschy 2024-10-23 17:15:06 -03:00
  • 9b01da97e3 Small bug in 'luaE_luaE_statesize' Roberto Ierusalimschy 2024-10-21 15:30:35 -03:00
  • 258355734d Better support in 'ltests' for tracing the GC Roberto Ierusalimschy 2024-10-21 15:18:20 -03:00
  • d0815046d0 Some adjustments in transition minor->major Roberto Ierusalimschy 2024-10-18 17:10:20 -03:00
  • 3d54b42d59 'objsize' broke in smaller pieces Roberto Ierusalimschy 2024-09-30 14:01:42 -03:00
  • e4f418f07c Local declaration in the REPL generates a warning Roberto Ierusalimschy 2024-09-27 10:00:35 -03:00
  • 20d42ccaae No errors in 'luaO_pushvfstring' Roberto Ierusalimschy 2024-09-20 15:56:39 -03:00
  • 70d6975018 Towards no errors in 'luaO_pushvfstring' Roberto Ierusalimschy 2024-09-20 12:21:11 -03:00
  • 00e34375ec In 'luaO_pushvfstring', all options use 'addstr2buff' Roberto Ierusalimschy 2024-09-20 10:06:06 -03:00
  • 45a8f1b593 Removed 'if' left from commit ddfa1fbccf Roberto Ierusalimschy 2024-09-20 09:43:46 -03:00
  • 8fac494509 Avoid Microsoft warning Roberto Ierusalimschy 2024-09-19 19:09:35 -03:00
  • 9b72355f99 USHRT_MAX changed to SHRT_MAX Roberto Ierusalimschy 2024-09-19 19:06:16 -03:00
  • ddfa1fbccf GC back to controling pace counting bytes Roberto Ierusalimschy 2024-09-19 19:02:14 -03:00
  • b443145ff3 Details Roberto Ierusalimschy 2024-09-12 11:08:11 -03:00
  • 4901853c11 Parameter for lua_gc/LUA_GCSTEP changed to 'size_t' Roberto Ierusalimschy 2024-09-10 17:05:39 -03:00
  • a04e0ffdb9 Rename of fields in global state that control GC Roberto Ierusalimschy 2024-09-06 14:38:39 -03:00
  • 007b8c7a01 Details Roberto Ierusalimschy 2024-09-06 14:35:04 -03:00
  • fd0e1f530d Added option for direct correction of stack pointers Roberto Ierusalimschy 2024-08-22 11:11:00 -03:00
  • 75620b45ae 'lcode.c' can use 'checklimit', too Roberto Ierusalimschy 2024-08-20 15:15:23 -03:00
  • 3e88b72b8e A return can have at most 254 values Roberto Ierusalimschy 2024-08-19 18:39:25 -03:00
  • 8b752ddf14 Bug: wrong code gen. for indices with comparisons Roberto Ierusalimschy 2024-08-17 12:37:04 -03:00
  • 1bf4b80f1a Floats formatted with "correct" precision Roberto Ierusalimschy 2024-08-02 15:09:30 -03:00
  • 4c6afbcb01 Struct 'transferinfo' moved to "lua_State" Roberto Ierusalimschy 2024-07-30 10:16:19 -03:00
  • f2206b2abe '-Wconversion' extended to all options of Lua numbers Roberto Ierusalimschy 2024-07-27 15:13:21 -03:00
  • 0acd55898d Added gcc option '-Wconversion' Roberto Ierusalimschy 2024-07-27 13:32:59 -03:00
  • 15231d4fb2 'nresults' moved into 'callstatus' Roberto Ierusalimschy 2024-07-21 14:56:59 -03:00
  • f407b3c4a1 Using CIST_CLSRET instead of trick with 'nresults' Roberto Ierusalimschy 2024-07-19 17:34:22 -03:00
  • a546138d15 Explicit limit for number of results in a call Roberto Ierusalimschy 2024-07-18 14:44:40 -03:00
  • cd4de92762 Maximum stack size may not fit in unsigned short Roberto Ierusalimschy 2024-07-16 11:33:30 -03:00
  • 6b45ccf4ed Removed compatibility with "= exp" in the REPL Roberto Ierusalimschy 2024-07-05 15:19:11 -03:00
  • 93fd6892f8 Fixed bug in 'multiline' Roberto Ierusalimschy 2024-07-05 15:13:46 -03:00
  • 193bf7919e 'printstack' (from ltests.c) made public Roberto Ierusalimschy 2024-07-05 14:57:11 -03:00
  • 366c855648 lua.c loads 'readline' dynamically Roberto Ierusalimschy 2024-07-04 17:11:58 -03:00
  • 781219dbe1 Small changes in casts from void* to functions Roberto Ierusalimschy 2024-07-02 11:09:46 -03:00
  • d71fbc3175 Updated dependencies in the make file Roberto Ierusalimschy 2024-07-01 15:58:07 -03:00
  • c403e456b6 New instruction format for SETLIST/NEWTABLE Roberto Ierusalimschy 2024-06-28 11:18:14 -03:00
  • 6ac7219da3 'isIT'/'isOT' turned from macros to functions Roberto Ierusalimschy 2024-06-27 15:01:57 -03:00
  • 9904c253da Flexible limit for use of registers by constructors Roberto Ierusalimschy 2024-06-27 11:24:27 -03:00
  • fb7e5b76c9 Clearer code for controlling maximum registers Roberto Ierusalimschy 2024-06-26 14:46:44 -03:00
  • c1dc08e8e8 Length of external strings must fit in Lua integer Roberto Ierusalimschy 2024-06-24 12:03:59 -03:00
  • 0f7025dcae Details in the manual Roberto Ierusalimschy 2024-06-21 16:36:24 -03:00
  • ef28e5f789 Removed 'int' size limit for string.rep Roberto Ierusalimschy 2024-06-21 16:26:49 -03:00
  • ec65ab878e Removed 'int' size limit for pack/unpack Roberto Ierusalimschy 2024-06-21 14:55:12 -03:00
  • e24ce8c2b3 lua_writestring & co. moved to llimits.h Roberto Ierusalimschy 2024-06-21 12:29:08 -03:00
  • a08d82eb13 llimits.h being used by all Lua code Roberto Ierusalimschy 2024-06-20 14:46:06 -03:00
  • 55ac40f859 Cleaning of llimits.h Roberto Ierusalimschy 2024-06-20 13:43:33 -03:00
  • 97ef8e7bd4 GC test was not restarting collector after pause Roberto Ierusalimschy 2024-06-18 17:14:23 -03:00
  • aaf3533653 Tricky _PROMPT may trigger undefined behavior in lua.c Roberto Ierusalimschy 2024-06-12 16:04:25 -03:00
  • b529aefc53 Bug: luaL_traceback may need more than 5 stack slots Roberto Ierusalimschy 2024-06-12 16:02:01 -03:00
  • d51022bf9e Bug: overlapping assignments Roberto Ierusalimschy 2024-06-12 15:56:13 -03:00
  • bb7bb5944c More disciplined use of 'errno' Roberto Ierusalimschy 2024-06-12 15:50:31 -03:00
  • 94b503d95e Encoding of table indices (hres) must use C indices Roberto Ierusalimschy 2024-06-10 12:09:35 -03:00
  • bdc85357aa Bug: Active-lines for stripped vararg functions Roberto Ierusalimschy 2024-06-04 17:27:13 -03:00
  • b291008cc2 Manual for 'string.format' lists what it accepts Roberto Ierusalimschy 2024-06-04 16:51:31 -03:00
  • 814213b65f utf8.offset returns also final position of character Roberto Ierusalimschy 2024-05-27 11:29:39 -03:00
  • cbdf4969ec Manual: errors in lua_toclose are not memory errors Roberto Ierusalimschy 2024-05-23 09:55:26 -03:00
  • 262dc5729a Details Roberto Ierusalimschy 2024-05-08 17:50:10 -03:00
  • 9d985db7bb New year (2024) Roberto Ierusalimschy 2024-05-02 12:03:30 -03:00
  • 0897c0a428 'getmode' renamed to 'getMode' Roberto Ierusalimschy 2024-04-08 14:28:26 -03:00
  • 5edacafcfa Yet another representation for arrays Roberto Ierusalimschy 2024-04-05 15:35:11 -03:00
  • 3507c3380f Small simplification in 'findloader' Roberto Ierusalimschy 2024-04-03 16:01:23 -03:00
  • 88a50ffa71 Fixed dangling 'StkId' in 'luaV_finishget' Roberto Ierusalimschy 2024-03-29 15:10:50 -03:00
  • 86a8e74824 Details Roberto Ierusalimschy 2024-03-28 17:11:33 -03:00
  • 9fa63a6268 Some 'unsigned int' changed to 'unsigned' Roberto Ierusalimschy 2024-03-22 14:06:11 -03:00
  • 0593256707 'luaH_get' functions return tag of the result Roberto Ierusalimschy 2024-03-21 11:23:21 -03:00
  • ce6f5502c9 'luaH_get' functions return 'TValue' Roberto Ierusalimschy 2024-03-18 15:56:32 -03:00
  • ba71060381 Removed "bulk operations" Roberto Ierusalimschy 2024-03-15 11:23:35 -03:00
  • 3823fc6c81 Added "bulk operations" to arrays Roberto Ierusalimschy 2024-03-15 11:01:34 -03:00
  • 52aa2b5d24 Details Roberto Ierusalimschy 2024-03-13 09:20:34 -03:00
  • cc2b66c856 Removed type 'varint_t' Roberto Ierusalimschy 2024-03-13 09:16:51 -03:00
  • 65b07dd53d API asserts for illegal pops of to-be-closed variables Roberto Ierusalimschy 2024-03-11 14:05:06 -03:00
  • 7237eb3f1c Fixed warnings from different compilers Roberto Ierusalimschy 2024-02-15 11:18:34 -03:00
  • 165389b27b New interface to function 'luaL_openselectedlibs' Roberto Ierusalimschy 2024-02-15 11:17:39 -03:00
  • c8121ce34b Revising code for Varint encoding in dumps Roberto Ierusalimschy 2024-02-12 15:16:11 -03:00
  • 7360f8d0fd Removed deprecated function 'setcstacklimit' Roberto Ierusalimschy 2024-02-07 14:20:43 -03:00
  • 6063c47031 Field 'lastfree' changed (back) to 'Node *' Roberto Ierusalimschy 2024-02-07 13:56:39 -03:00
  • 0c9bec0d38 Better handling of size limit when resizing a table Roberto Ierusalimschy 2024-02-07 13:39:54 -03:00
  • c31d6774ac Details Roberto Ierusalimschy 2024-01-29 14:29:24 -03:00
  • 108e0bdc84 Merge branch 'master' into nextversion Roberto Ierusalimschy 2024-01-25 13:52:52 -03:00
  • b34a97a4af Small optimization in 'luaH_psetint' Roberto Ierusalimschy 2024-01-25 13:44:49 -03:00
  • 3e9dbe143d New function 'table.create' Roberto Ierusalimschy 2024-01-18 15:16:26 -03:00
  • 4a8e480864 New mechanism to query GC parameters Roberto Ierusalimschy 2024-01-16 17:02:55 -03:00
  • 17e0c29d9b Clear interface between references and predefines Roberto Ierusalimschy 2024-01-15 11:31:49 -03:00
  • 8eb0abc9db Removed uses of LUA_NUMTAGS Roberto Ierusalimschy 2024-01-13 18:10:50 -03:00
  • d862da6d04 Optimizations for 'lua_rawgeti' and 'lua_rawseti' Roberto Ierusalimschy 2024-01-12 15:50:51 -03:00
  • e288c5a918 Bug: Yielding in a hook stops in the wrong instruction Roberto Ierusalimschy 2024-01-11 13:44:16 -03:00
  • 7827c40c49 A few more tweaks in the garbage collector Roberto Ierusalimschy 2024-01-10 14:45:58 -03:00
  • e7af9cdf0b Fixed buffers reuse absolute line information Roberto Ierusalimschy 2023-12-27 17:42:00 -03:00
  • 12b6f610b0 Several tweaks in the garbage collector Roberto Ierusalimschy 2023-12-27 12:09:11 -03:00
  • e81f586001 Removed compatibility option LUA_COMPAT_GCPARAMS Roberto Ierusalimschy 2023-12-22 14:57:43 -03:00