Commit Graph

  • 03bf7fdd4f Added missing casts from lua_Unsigned to size_t Roberto Ierusalimschy 2025-07-01 16:07:03 -03:00
  • 59a1adf194 LUAI_MAXSTACK defined privately Roberto Ierusalimschy 2025-07-01 10:57:02 -03:00
  • cfce6f4b20 Warning in loslib.c (signed-unsigned comparison) Roberto Ierusalimschy 2025-06-27 14:47:11 -03:00
  • 1da89da62f Manual updated to version 5.5 Roberto Ierusalimschy 2025-06-27 14:46:41 -03:00
  • f6c627af20 Cast added to 'add_history' Roberto Ierusalimschy 2025-06-26 11:45:42 -03:00
  • 270a58c062 Application name for 'readline' is "lua", not "Lua" Roberto Ierusalimschy 2025-06-23 14:36:32 -03:00
  • 30531c291b Refactoring in the use of 'readline' by 'lua.c' Roberto Ierusalimschy 2025-06-23 14:00:21 -03:00
  • 07b009c371 No need to limit variable declarations to 250 Roberto Ierusalimschy 2025-06-18 16:45:55 -03:00
  • f711567448 Check string indices when loading binary chunk Roberto Ierusalimschy 2025-06-17 11:40:49 -03:00
  • 9386e49a31 New metatable in an all-weak table can fool the GC Roberto Ierusalimschy 2025-06-16 16:29:32 -03:00
  • 8cd7ae7da0 Simpler code for 'traversetable' Roberto Ierusalimschy 2025-06-16 15:50:12 -03:00
  • 0cecf1ab6d Dump uses varints also for integer constants Roberto Ierusalimschy 2025-06-13 14:14:50 -03:00
  • e657a48ea5 The main thread cannot be closed Roberto Ierusalimschy 2025-06-13 14:08:38 -03:00
  • fd897027f1 A coroutine can close itself Roberto Ierusalimschy 2025-06-12 11:15:09 -03:00
  • d05fe48bfd Loading a binary chunk should not break assertions Roberto Ierusalimschy 2025-06-04 12:55:43 -03:00
  • 519c57d597 Removed uneeded check in parser Roberto Ierusalimschy 2025-06-04 09:54:31 -03:00
  • c15543b9af Bug: check for constructor overflow in [exp] fields Roberto Ierusalimschy 2025-05-20 17:50:56 -03:00
  • be05c44481 New way to control preambular declaration Roberto Ierusalimschy 2025-05-20 17:36:05 -03:00
  • 6d53701c7a Proper error message when jumping into 'global *' Roberto Ierusalimschy 2025-05-18 12:03:54 -03:00
  • abbae57c78 Variable attributes can prefix name list Roberto Ierusalimschy 2025-05-18 11:43:43 -03:00
  • f2c1531e6c Detail Roberto Ierusalimschy 2025-05-16 15:20:32 -03:00
  • ded2ad2d86 Slightly faster way to check for "global" Roberto Ierusalimschy 2025-05-16 14:51:07 -03:00
  • 3fb7a77731 Internalized string "break" kept by the parser Roberto Ierusalimschy 2025-05-15 12:43:37 -03:00
  • fded0b4a84 Remove compat code in parser when not needed Roberto Ierusalimschy 2025-05-13 11:50:43 -03:00
  • 3b9dd52be0 Collective declaration for globals ('global *') Roberto Ierusalimschy 2025-05-13 11:43:10 -03:00
  • 7dc6aae290 Correct line in error message for constant function Roberto Ierusalimschy 2025-05-12 11:42:45 -03:00
  • 5b1ab8efdc 'expdesc' doesn't depend on 'actvar' for var. info. Roberto Ierusalimschy 2025-05-11 11:51:58 -03:00
  • 7ade155762 Janitorial work on casts Roberto Ierusalimschy 2025-05-08 15:18:57 -03:00
  • d827e96f33 Using 'l_uint32' for unicode codepoints in scanner Roberto Ierusalimschy 2025-05-08 12:49:39 -03:00
  • 3f0ea90aa8 New syntax 'global function' Roberto Ierusalimschy 2025-05-08 11:08:03 -03:00
  • 4365a45d68 Checks for read-only globals Roberto Ierusalimschy 2025-05-06 15:54:05 -03:00
  • be81209063 First implementation of global declarations Roberto Ierusalimschy 2025-05-05 16:24:59 -03:00
  • e055905914 New macro 'pushvfstring' Roberto Ierusalimschy 2025-04-23 11:55:04 -03:00
  • 9b014d4bcd Details (typos in comments) Roberto Ierusalimschy 2025-04-23 11:36:09 -03:00
  • 50fd8d03c3 Function 'luaK_semerror' made vararg Roberto Ierusalimschy 2025-04-17 14:58:55 -03:00
  • 3dbb1a4b89 In gen. GC, some gray objects stay in gray lists Roberto Ierusalimschy 2025-04-15 17:00:30 -03:00
  • 3dd8ea54da Order change in 'pushfuncname' Roberto Ierusalimschy 2025-04-03 15:31:22 -03:00
  • 620f49a7aa Tiny refactoring in io.flush Roberto Ierusalimschy 2025-04-03 12:56:52 -03:00
  • 3f4f28010a io.write returns number of written bytes on error Roberto Ierusalimschy 2025-04-03 11:32:49 -03:00
  • 93e347b519 Corrections of stack addresses back to strict mode Roberto Ierusalimschy 2025-04-01 10:41:25 -03:00
  • f4123b2fc2 Growth factor of 1.5 for stack and lexical buffer Roberto Ierusalimschy 2025-03-31 13:44:41 -03:00
  • 37a1b72706 Small optimization in 'project' from math.random Roberto Ierusalimschy 2025-03-27 15:22:40 -03:00
  • ef5d171cc8 New macro 'l_numbits' Roberto Ierusalimschy 2025-03-27 12:38:29 -03:00
  • b0f3df16a4 Addition in math.random can overflow Roberto Ierusalimschy 2025-03-25 11:43:03 -03:00
  • cad5a4fdbb Details Roberto Ierusalimschy 2025-03-24 15:23:55 -03:00
  • fdbb4c2341 Detail in the manual Roberto Ierusalimschy 2025-03-17 16:05:47 -03:00
  • 921832be8d New function 'resetCI' Roberto Ierusalimschy 2025-03-17 14:32:08 -03:00
  • 205f9aa67b New function 'printallstack' in test library Roberto Ierusalimschy 2025-03-17 14:30:43 -03:00
  • 94d38560c3 Wrong error message when using "_ENV" fields Roberto Ierusalimschy 2025-03-14 15:16:09 -03:00
  • c2dc6e8e94 Missing GC barrier in 'luaV_finishset' Roberto Ierusalimschy 2025-03-14 12:37:19 -03:00
  • 22974326ca Use after free in 'luaV_finishset' Roberto Ierusalimschy 2025-03-13 15:30:52 -03:00
  • c931d86e98 'luaD_seterrorobj' should not raise errors Roberto Ierusalimschy 2025-03-12 15:51:16 -03:00
  • d9e0f64a5d Small changes in the manual Roberto Ierusalimschy 2025-03-12 15:45:39 -03:00
  • ab66652b32 Removed copyright notice from 'testes/all.lua' Roberto Ierusalimschy 2025-03-12 14:00:58 -03:00
  • 4398e488e6 New test file 'memerr.lua' Roberto Ierusalimschy 2025-03-12 13:52:35 -03:00
  • 808976bb59 Small correction in 'traverseweakvalue' Roberto Ierusalimschy 2025-03-12 12:35:36 -03:00
  • b5b1995f29 Checks for type 'int' added to binary header Roberto Ierusalimschy 2025-03-10 15:21:32 -03:00
  • cb88c1cd5d Detail Roberto Ierusalimschy 2025-02-28 15:48:45 -03:00
  • ee99452158 Error object cannot be nil Roberto Ierusalimschy 2025-02-28 14:53:58 -03:00
  • 127a8e80fe '__close' gets no error object if there is no error Roberto Ierusalimschy 2025-02-28 10:10:27 -03:00
  • f9e35627ed 'lua_State.nci' must be an integer Roberto Ierusalimschy 2025-02-26 11:31:10 -03:00
  • ceac82f78b Details Roberto Ierusalimschy 2025-02-26 11:29:54 -03:00
  • e5f4927a0b Array sizes in undump changed from unsigned to int Roberto Ierusalimschy 2025-02-20 10:09:04 -03:00
  • cd38fe8cf3 Added macro LUAI_STRICT_ADDRESS Roberto Ierusalimschy 2025-02-18 17:02:32 -03:00
  • fa1382b5cd Main thread is a regular field of global_State Roberto Ierusalimschy 2025-01-31 13:51:38 -03:00
  • d1e677c52b New type 'TStatus' for thread status/error codes Roberto Ierusalimschy 2025-01-30 11:41:39 -03:00
  • f7439112a5 Details (in test library) Roberto Ierusalimschy 2025-01-29 14:47:06 -03:00
  • 39a14ea7d7 CallInfo bit CIST_CLSRET broken in two Roberto Ierusalimschy 2025-01-28 11:45:45 -03:00
  • c4e7cdb541 Renaming two new functions Roberto Ierusalimschy 2025-01-27 16:09:55 -03:00
  • 7d7ae8781e Parameters for 'lua_createtable' back to int Roberto Ierusalimschy 2025-01-21 13:33:59 -03:00
  • 724012d3d0 Small change in macro 'isvalid' Roberto Ierusalimschy 2025-01-16 16:11:49 -03:00
  • 664bda02ba fixing 'lua_status' in panic. Roberto Ierusalimschy 2025-01-16 16:07:39 -03:00
  • 2d8d5c74b5 Details Roberto Ierusalimschy 2025-01-16 11:51:16 -03:00
  • 3cdd49c94a Fixed conversion warnings from clang Roberto Ierusalimschy 2025-01-14 16:24:46 -03:00
  • 10e931da82 Error "break outside loop" made a syntax error Roberto Ierusalimschy 2025-01-13 11:23:07 -03:00
  • 4b107a8776 Details in lparser.c Roberto Ierusalimschy 2025-01-10 15:27:17 -03:00
  • 429761d7d2 New optimization option for testing Roberto Ierusalimschy 2025-01-10 15:14:01 -03:00
  • 915c29f8bd Improvements in the manual Roberto Ierusalimschy 2025-01-10 15:11:54 -03:00
  • 7ca3c40b50 Another way to compile goto's Roberto Ierusalimschy 2025-01-10 13:54:51 -03:00
  • 8a3a49250c Detail Roberto Ierusalimschy 2025-01-06 14:44:06 -03:00
  • 1ec251e091 Detail (debugging aid) Roberto Ierusalimschy 2025-01-06 12:41:39 -03:00
  • 5894ca7b95 Scanner doesn't need to anchor reserved words Roberto Ierusalimschy 2024-12-30 16:53:51 -03:00
  • abf8b1cd4a Small optimization in 'luaH_psetshortstr' Roberto Ierusalimschy 2024-12-28 15:05:01 -03:00
  • 2a307f898b When parser reuses constants, only floats can collide Roberto Ierusalimschy 2024-12-28 15:03:48 -03:00
  • f81d0bbd4f Detail in 'luaD_inctop' Roberto Ierusalimschy 2024-12-17 13:36:12 -03:00
  • 1c40ff9faa Scanner and parser use different tables for constants Roberto Ierusalimschy 2024-12-17 11:23:22 -03:00
  • 7538f3886d 'addk' broken in two functions Roberto Ierusalimschy 2024-12-16 14:13:49 -03:00
  • 412e9a4d95 'luaH_fastseti' uses 'checknoTM' Roberto Ierusalimschy 2024-12-11 15:32:43 -03:00
  • 25a491fe34 OP_SELF restricted to constant short strings Roberto Ierusalimschy 2024-12-11 13:56:03 -03:00
  • b4b616bdf2 Rehash reinserts elements with "lighter" functions Roberto Ierusalimschy 2024-12-05 17:34:08 -03:00
  • bb93f04d87 Refactoring of 'luaH_newkey' Roberto Ierusalimschy 2024-12-05 14:27:58 -03:00
  • 975d4e0592 Fix in the definition of 'sizeLclosure' Roberto Ierusalimschy 2024-12-03 10:53:46 -03:00
  • 04e495403b New function 'lua_printvalue' for internal debugging Roberto Ierusalimschy 2024-12-02 11:19:03 -03:00
  • 62afbc6bfc Details Roberto Ierusalimschy 2024-11-29 17:39:20 -03:00
  • 002beeebe7 New way to keep hints for table length Roberto Ierusalimschy 2024-11-29 17:26:20 -03:00
  • 9329eeac3b Avoid an extra call to 'concretesize' in 'resizearray' Roberto Ierusalimschy 2024-11-27 18:37:29 -03:00
  • 682efe2678 Change to macro 'LUAI_TRY' Roberto Ierusalimschy 2024-11-25 15:47:08 -03:00
  • 50c7c915ee Debug information about extra arguments from __call Roberto Ierusalimschy 2024-11-19 14:09:18 -03:00
  • b117bdb344 Counter for length of chains of __call metamethods Roberto Ierusalimschy 2024-11-16 12:00:28 -03:00
  • f12ce4029d More integration of 'nresults' into 'callstatus' Roberto Ierusalimschy 2024-11-15 15:25:11 -03:00