Commit Graph

  • 2a7cf4f319 More effort in avoiding errors in finalizers master Roberto I 2026-01-11 15:36:03 -03:00
  • 5cfc725a8b Special case for 'string.rep' over an empty string Roberto I 2026-01-04 16:39:22 -03:00
  • 45c7ae5b1b BUG: Possible overflow in 'string.packsize' Roberto I 2026-01-04 16:31:17 -03:00
  • 962f444a75 Details Roberto I 2026-01-04 16:27:54 -03:00
  • c4e2c91973 Details Roberto I 2025-12-30 10:50:49 -03:00
  • 632a71b24d BUG: Arithmetic overflow in 'collectgarbage"step"' Roberto I 2025-12-27 16:22:13 -03:00
  • 578ae5745c Details Roberto I 2025-12-23 14:44:06 -03:00
  • a5522f06d2 GC checks stack space before running finalizer v5.5.0 Roberto I 2025-12-13 16:16:59 -03:00
  • 3d03ae5bd6 'luaL_newstate' starts state with warnings on Roberto I 2025-12-13 11:00:30 -03:00
  • 82d721a855 Format adjust in the manual Roberto I 2025-12-10 10:35:05 -03:00
  • 104b0fc700 Details Roberto I 2025-12-08 13:09:47 -03:00
  • 8164d09338 Wrong assert in 'luaK_indexed' Roberto I 2025-12-08 11:08:12 -03:00
  • 985ef32248 In luaB_close, running coroutines do not go to default rc Roberto I 2025-12-01 10:25:44 -03:00
  • a07f6a8241 Functions with vararg tables don't need hidden args. Roberto I 2025-11-28 15:12:51 -03:00
  • f33cc4ddec New conceptual model for vararg Roberto I 2025-11-26 11:18:29 -03:00
  • d94f7ba304 Details Roberto I 2025-11-24 11:39:46 -03:00
  • 4cf498210e '__pairs' can also return a to-be-closed object Roberto I 2025-11-11 15:11:06 -03:00
  • 5b7d998764 External strings are as good as internal ones Roberto I 2025-11-11 14:40:30 -03:00
  • 81f4def54f Correction in line info for semantic errors Roberto I 2025-11-11 14:36:16 -03:00
  • e44f3a2ffc Global initialization checks name conflict Roberto I 2025-11-08 11:43:42 -03:00
  • f791bb6906 Details Roberto I 2025-10-31 14:48:55 -03:00
  • d342328e5b Vertical bar removed from syntax of vararg table Roberto I 2025-10-30 11:07:01 -03:00
  • 0149b781d4 Case VVARGIND added to luaK_storevar Roberto Ierusalimschy 2025-10-30 10:39:55 -03:00
  • d4eff00234 Fixed initialization of global variables Roberto I 2025-10-29 13:14:48 -03:00
  • fca974486d Small change in 'trymt' Roberto I 2025-10-18 10:34:42 -03:00
  • 26755cad99 Added "attribute internal" to __MACH__ platforms Roberto I 2025-10-18 10:30:12 -03:00
  • b352217b84 Standard allocator function added to the API Roberto I 2025-10-17 13:53:35 -03:00
  • 9c66903cc5 Details Roberto I 2025-10-14 13:50:24 -03:00
  • 30a7b93439 Two new memory tests Roberto I 2025-10-12 15:13:28 -03:00
  • 7a92f3f99a Change in dumping of NULL strings Roberto I 2025-10-10 15:28:41 -03:00
  • 3347c9d32d Initialization of too many locals break assertion Roberto I 2025-10-10 13:22:19 -03:00
  • 25c54fe60e Optimization for vararg tables Roberto I 2025-09-24 18:33:08 -03:00
  • 0cc3c9447c Small tweaks in makefile Roberto I 2025-09-18 11:03:55 -03:00
  • 8fb1af0e33 Varag parameter is a new kind of variable Roberto I 2025-09-17 16:07:48 -03:00
  • 140b672e2e Vararg table Roberto I 2025-09-16 13:26:24 -03:00
  • 9ea06e61f2 Details Roberto I 2025-09-05 15:36:47 -03:00
  • ffbcadfb41 In C++, 'throw' must go to the correct handler. Roberto I 2025-09-05 15:29:15 -03:00
  • 0b73ed8f08 Allows LUA_32BITS to be defined externally Roberto Ierusalimschy 2025-08-30 16:16:02 -03:00
  • 934fdd481c Bug: Constructors with nils can overflow counters v5.4 Roberto Ierusalimschy 2025-08-27 14:58:02 -03:00
  • 9ac9d23f41 Bug: error with option '--' without a script Roberto Ierusalimschy 2025-08-27 14:55:35 -03:00
  • f87416f1a3 Added limit to number of elements in a constructor Roberto I 2025-08-27 10:30:54 -03:00
  • 03a3473687 'ltests.h' should not use LUAI_FUNC Roberto I 2025-08-27 10:28:31 -03:00
  • 9a3940380a New compile option LUA_USE_OFF_T Roberto Ierusalimschy 2025-08-26 12:30:34 -03:00
  • 711890624f update in 'onelua.c' Roberto Ierusalimschy 2025-08-26 12:30:05 -03:00
  • 13d2326a23 Some definitions moved from luaconf.h to llimits.h Roberto Ierusalimschy 2025-08-21 10:51:17 -03:00
  • 06c5d3825f Removed code for compatibility with version 5.3 Roberto I 2025-08-20 16:10:54 -03:00
  • c345877e4c Better documentation for LUA_ERRERR Roberto I 2025-08-20 15:29:46 -03:00
  • 907d172c11 Added lock/unlock to API function 'lua_rawlen' Roberto I 2025-08-20 15:00:53 -03:00
  • 88aa4049ad Keep the order left-right in shifts Roberto I 2025-08-20 14:31:07 -03:00
  • c688b00f73 Detail in 'obj2gco' Roberto I 2025-08-20 14:18:12 -03:00
  • dd095677e3 Small cleaning services Roberto I 2025-08-20 13:59:08 -03:00
  • 53dc5a3bba Functions 'frexp'-'ldexp' back to the math library Roberto I 2025-08-09 15:15:20 -03:00
  • 5b179eaf6a Details Roberto I 2025-08-09 15:08:53 -03:00
  • 8fddca81e7 'onelua' can use the test library Roberto Ierusalimschy 2025-07-29 14:35:04 -03:00
  • c33bb08ffe Added some casts for 32-bit machines Roberto Ierusalimschy 2025-07-29 11:50:20 -03:00
  • e3716ee161 Fix in string.rep Roberto Ierusalimschy 2025-07-23 18:12:53 -03:00
  • 303f415559 Randomness added to table length computation Roberto Ierusalimschy 2025-07-18 16:18:30 -03:00
  • ccb8b307f1 Correction in utf8.offset Roberto Ierusalimschy 2025-07-18 16:10:28 -03:00
  • 60b6599e83 Short strings can be external, too Roberto Ierusalimschy 2025-07-15 14:40:27 -03:00
  • c612685d4b lua.c doesn't use function pointers with LUA_READLINE Roberto Ierusalimschy 2025-07-09 14:43:31 -03:00
  • 85a3c1699c New method to unload DLLs Roberto Ierusalimschy 2025-07-09 14:40:36 -03:00
  • f65d1f9e02 lua option '--' may not be followed by script Roberto Ierusalimschy 2025-07-08 15:40:59 -03:00
  • 942c10a5e3 Optional initialization for global declarations Roberto Ierusalimschy 2025-07-08 13:33:57 -03:00
  • 8485687908 Correction in definition of CIST_FRESH Roberto Ierusalimschy 2025-07-07 15:03:45 -03:00
  • 03d672a95c Details (comments) Roberto Ierusalimschy 2025-07-07 15:02:09 -03:00
  • 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) v5.5-beta 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" =list 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
  • 1b0f943da7 Bug: new metatable in weak table can fool the GC Roberto Ierusalimschy 2025-06-16 16:33:02 -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
  • 6e22fedb74 New release number, updated copyright year v5.4.8 Roberto Ierusalimschy 2025-05-21 13:52:56 -03:00
  • 267ef461d0 Bug: check for constructor overflow in [exp] fields Roberto Ierusalimschy 2025-05-20 17:55:08 -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
  • d1ee2a4deb Bug: Bad error message with fields of string _ENV Roberto Ierusalimschy 2025-05-15 15:14:56 -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