1
0
mirror of https://github.com/lua/lua synced 2026-06-08 15:34:49 +00:00

Commit Graph

  • b14609032c Avoid the creation of too many strings in 'package' Roberto Ierusalimschy 2019-05-03 10:14:25 -03:00
  • b36e26f51b Some more small improvements to 'luaO_pushvfstring' Roberto Ierusalimschy 2019-04-26 11:24:39 -03:00
  • 969b8c1f14 Fixed bug with to-be-closed variables in base C level Roberto Ierusalimschy 2019-04-26 11:13:01 -03:00
  • c65605151c New function 'luaL_addgsub' Roberto Ierusalimschy 2019-04-24 14:41:41 -03:00
  • 3da34a5fa7 Revamp of 'lua_pushfstring' / 'luaO_pushvfstring' Roberto Ierusalimschy 2019-04-24 14:01:20 -03:00
  • 20b161e285 Small correction in test about 'isdst' Roberto Ierusalimschy 2019-04-22 12:31:29 -03:00
  • ed2872cd3b 'require' returns where module was found Roberto Ierusalimschy 2019-04-17 14:57:29 -03:00
  • 2d3f095448 Avoid using large buffers in 'string.format' Roberto Ierusalimschy 2019-04-12 11:48:24 -03:00
  • b0810c51c3 Small optimizations in 'string.gsub' Roberto Ierusalimschy 2019-04-11 11:29:16 -03:00
  • a93e014447 Added an optional parameter to 'coroutine.isyieldable' Roberto Ierusalimschy 2019-04-10 13:23:14 -03:00
  • 8ba4523ccc 'print' does not call 'tostring' to format its arguments Roberto Ierusalimschy 2019-04-10 12:58:14 -03:00
  • 979ad95eb1 Thorough revision of the reference manual Roberto Ierusalimschy 2019-04-10 12:41:56 -03:00
  • 0f028b9008 Corrected tests around non-portable 'isdst' in dates Roberto Ierusalimschy 2019-04-09 18:44:13 -03:00
  • 65d1aa7a77 Syntax should not allow numbers touching identifiers Roberto Ierusalimschy 2019-04-09 18:40:39 -03:00
  • 8004798b03 Fixed wrong error message in 'return math.seed(0)' Roberto Ierusalimschy 2019-04-04 16:31:24 -03:00
  • 5ca1075b71 Added field 'srclen' to structure 'lua_Debug' Roberto Ierusalimschy 2019-04-04 11:45:26 -03:00
  • 38425e0692 Avoid moving the collector while in 'GCSenteratomic' state Roberto Ierusalimschy 2019-04-01 14:22:07 -03:00
  • d12262068d Small optimizations in range checks Roberto Ierusalimschy 2019-03-27 14:56:10 -03:00
  • 89aee84cbc Fixed bug in 'lua_upvaluejoin' Roberto Ierusalimschy 2019-03-27 14:30:12 -03:00
  • 0443ad9e28 LUAI_MAXCCALLS renamed LUAI_MAXCSTACK Roberto Ierusalimschy 2019-03-25 14:12:06 -03:00
  • f9b0cf0e2e Year in copyright notice updated to 2019 Roberto Ierusalimschy 2019-03-25 14:00:09 -03:00
  • 7ceb2154ed Fixed small bugs/issues Roberto Ierusalimschy 2019-03-25 10:38:56 -03:00
  • 23e6bac8a0 Keep correct type for immediate operands in comparisons Roberto Ierusalimschy 2019-03-22 13:37:17 -03:00
  • 682054920d Details in the implementation of the integer 'for' loop Roberto Ierusalimschy 2019-03-21 16:01:55 -03:00
  • f53eabeed8 Small changes in the header of binary files Roberto Ierusalimschy 2019-03-19 15:31:08 -03:00
  • 39bb3cf242 Name 'nonstrict' in the UTF-8 library changed to 'lax' Roberto Ierusalimschy 2019-03-19 11:15:49 -03:00
  • 9b37a4695e New semantics for the integer 'for' loop Roberto Ierusalimschy 2019-03-19 10:53:18 -03:00
  • 1e0c73d5b6 Changes in the validation of UTF-8 Roberto Ierusalimschy 2019-03-15 13:14:17 -03:00
  • 8fa4f1380b Finalizers must be callable Roberto Ierusalimschy 2019-03-14 15:53:42 -03:00
  • b56d4e570a Changes in the warning system Roberto Ierusalimschy 2019-03-14 15:30:54 -03:00
  • 9eca305e75 'math.randomseed()' sets a somewhat random seed Roberto Ierusalimschy 2019-03-13 14:47:48 -03:00
  • c5feac2b5e Strings inside Lua are not fully aligned Roberto Ierusalimschy 2019-03-13 14:14:40 -03:00
  • dfebe439db New conversion specifier '%p' for 'string.format' Roberto Ierusalimschy 2019-03-13 14:04:01 -03:00
  • cf71a5ddc7 Details Roberto Ierusalimschy 2019-03-13 13:16:53 -03:00
  • 2c32bff609 After a "bad collections", avoid switching back back to generational Roberto Ierusalimschy 2019-01-30 11:44:42 -02:00
  • 264659bd53 Optional 'init' argument to 'string.gmatch' Roberto Ierusalimschy 2019-01-08 14:22:32 -02:00
  • 4ace93ca65 No more to-be-closed functions Roberto Ierusalimschy 2019-01-04 13:09:47 -02:00
  • c6f7181e91 No more LUA_ERRGCMM errors Roberto Ierusalimschy 2019-01-01 12:14:56 -02:00
  • 437a5b07d4 Added a warning system to Lua Roberto Ierusalimschy 2018-12-28 15:42:34 -02:00
  • ba7da13ec5 Changes in the control of C-stack overflow Roberto Ierusalimschy 2018-12-27 14:32:29 -02:00
  • da37ac9c78 Detail Roberto Ierusalimschy 2018-12-27 14:19:53 -02:00
  • 662506476b 'all' script automatically 'make's everything Roberto Ierusalimschy 2018-12-19 13:15:14 -02:00
  • f059c2bcc8 File 'bugs' updated to version 5.3.5 Roberto Ierusalimschy 2018-12-17 15:43:09 -02:00
  • 1221e987fe Bug: Long brackets with a huge number of '=' causes overflow Roberto Ierusalimschy 2018-12-17 15:36:51 -02:00
  • 5d7dec5520 Added directory 'testes/libs/P1' to the repository Roberto Ierusalimschy 2018-12-17 15:19:56 -02:00
  • 063d4e4543 Lua 5.3.5 ported to git v5.3.5 Roberto Ierusalimschy 2018-12-17 14:46:37 -02:00
  • af6d9f3116 Details Roberto Ierusalimschy 2018-12-17 13:56:22 -02:00
  • 2258f3133b Added file 'testes/heavy.lua' Roberto Ierusalimschy 2018-12-14 13:49:02 -02:00
  • 57f5b81da9 Bug: Long brackets with a huge number of '=' causes overflow Roberto Ierusalimschy 2018-12-14 13:12:01 -02:00
  • fdc25a1ebf New functions 'lua_resetthread' and 'coroutine.kill' Roberto Ierusalimschy 2018-12-13 13:07:53 -02:00
  • 3b06f983ae Details Roberto Ierusalimschy 2018-12-11 11:54:14 -02:00
  • 51316f9df7 'math.rand()' uses higher bits to produce float value Roberto Ierusalimschy 2018-12-11 11:34:47 -02:00
  • 46beca5bed Better error messages for some polymorphic functions Roberto Ierusalimschy 2018-12-10 13:46:03 -02:00
  • 28d829c867 Calls cannot be tail in the scope of a to-be-closed variable Roberto Ierusalimschy 2018-12-04 15:01:42 -02:00
  • 6d04537ea6 A to-be-closed variable must have a closable value (or be nil) Roberto Ierusalimschy 2018-11-29 16:02:44 -02:00
  • 7696c6474f Auxiliary buffer cannot close box with 'lua_remove' Roberto Ierusalimschy 2018-11-26 14:16:17 -02:00
  • 7e63d3da02 Some bugs with stack reallocation by 'luaF_close' Roberto Ierusalimschy 2018-11-24 11:59:15 -02:00
  • 84e32ad2eb Added opcodes for arithmetic with K operands Roberto Ierusalimschy 2018-11-23 12:23:45 -02:00
  • 35296e1fde Details Roberto Ierusalimschy 2018-11-22 13:56:04 -02:00
  • bb0185b196 Documentation for to-be-closed variables Roberto Ierusalimschy 2018-11-13 14:33:14 -02:00
  • d40cd315f5 Visibility of non-API functions changed to "internal" Roberto Ierusalimschy 2018-11-13 13:58:46 -02:00
  • 8cb84210ab String buffer using to-be-closed variable Roberto Ierusalimschy 2018-11-13 13:50:33 -02:00
  • 5fda30b4f9 'lua_toclose' gets the index to be closed as an argument Roberto Ierusalimschy 2018-11-12 14:15:50 -02:00
  • 9eafe9c053 New implementation for 'luaL_addvalue' Roberto Ierusalimschy 2018-11-09 17:03:52 -02:00
  • 7f6f70853c To-be-closed variable in 'for' loop separated from the state Roberto Ierusalimschy 2018-11-07 14:42:05 -02:00
  • b8fed93215 New syntax for to-be-closed variables Roberto Ierusalimschy 2018-11-07 10:03:05 -02:00
  • 5e76a4fd31 New macros for arithmetic/bitwise operations in 'luaV_execute' Roberto Ierusalimschy 2018-11-05 16:10:42 -02:00
  • e8c779736f Removed internal cache for closures Roberto Ierusalimschy 2018-11-01 13:21:00 -03:00
  • 2fc6b55dae Removed resource-related "emergency collections" Roberto Ierusalimschy 2018-10-31 16:25:29 -03:00
  • 947a372f58 State in generic 'for' acts as a to-be-closed variable Roberto Ierusalimschy 2018-10-31 14:54:45 -03:00
  • e073cbc2e5 Better error messages for invalid operands in numeric 'for' Roberto Ierusalimschy 2018-10-30 15:46:56 -03:00
  • 2316ec4c24 Back with optimization for 'if cond then goto' Roberto Ierusalimschy 2018-10-30 15:04:19 -03:00
  • a006514ea1 Big revamp in the implmentation of labels/gotos Roberto Ierusalimschy 2018-10-29 14:26:48 -03:00
  • 6e9b719694 More uniformity in code generation for 'for' loops Roberto Ierusalimschy 2018-10-26 10:38:50 -03:00
  • 34840301b5 To-be-closed variables in the C API Roberto Ierusalimschy 2018-10-25 15:30:15 -03:00
  • 41c800b352 Closing methods should not interfere with returning values Roberto Ierusalimschy 2018-10-25 12:50:20 -03:00
  • 0a9aca56ca Added a '__close' metamethod to file handles Roberto Ierusalimschy 2018-10-23 13:57:25 -03:00
  • ea1322ef54 Detail: bad assertion in 'luaM_free_' Roberto Ierusalimschy 2018-10-23 12:58:38 -03:00
  • 6a4b9bb2b4 Removed extra information from RCS keyword strings in tests Roberto Ierusalimschy 2018-10-22 15:20:07 -03:00
  • 7c8146d556 Small improvements in the manual Roberto Ierusalimschy 2018-10-22 15:02:09 -03:00
  • c90176f969 Complete implementation of to-be-closed variables Roberto Ierusalimschy 2018-10-22 14:55:51 -03:00
  • 3c7dc52909 Handling of memory errors when creating to-be-closed upvalues Roberto Ierusalimschy 2018-10-18 16:15:09 -03:00
  • bd96330d03 First "complete" implementation of to-be-closed variables Roberto Ierusalimschy 2018-10-17 10:44:42 -03:00
  • 4cd1f4aac0 Towards "to closed" local variables Roberto Ierusalimschy 2018-10-08 10:42:07 -03:00
  • b114c7d487 Added "cost" for the use of C stack by a coroutine invocation. Roberto Ierusalimschy 2018-09-11 14:24:14 -03:00
  • 9cbf17b0f1 Details (comments) Roberto Ierusalimschy 2018-09-11 08:39:12 -03:00
  • 5382a22e0e Corrections in the implementation of '%' for floats. Roberto Ierusalimschy 2018-08-28 12:36:58 -03:00
  • 8c8a91f2ef Deprecated the emulation of '__le' using '__lt' Roberto Ierusalimschy 2018-08-24 10:17:54 -03:00
  • f99509581e Removed extra information from RCS keyword strings Roberto Ierusalimschy 2018-08-23 14:26:12 -03:00
  • 3dcd04ad61 details Roberto Ierusalimschy 2018-08-17 15:53:39 -03:00
  • faaf7e481f Removed use of 'rl_inhibit_completion' in 'lua.c' Roberto Ierusalimschy 2018-08-16 14:38:05 -03:00
  • 3d838f635c Added "emergency collection" to 'io.tmpfile' and 'os.tmpname' Roberto Ierusalimschy 2018-07-27 15:50:53 -03:00
  • aa4c5cf190 Added directory to test file names in '$Id:' Roberto Ierusalimschy 2018-07-25 15:31:04 -03:00
  • b47f2cd068 Small improvements in the manual Roberto Ierusalimschy 2018-07-25 14:56:42 -03:00
  • e885dee5ab File operations try an "emergency collection" when failing Roberto Ierusalimschy 2018-07-25 11:44:46 -03:00
  • ccae0f5aad Comments about OLD0/OLD1 ages Roberto Ierusalimschy 2018-07-18 11:43:45 -03:00
  • 2e297d6ab3 Fixed bug in generational collection of userdata Roberto Ierusalimschy 2018-07-13 15:43:02 -03:00
  • fb18346ddd Avoid using 'int' for UTF-8 values Roberto Ierusalimschy 2018-07-12 15:56:44 -03:00
  • 96f9643f33 Bug: wrong 'nCcalls' when resuming a coroutine Roberto Ierusalimschy 2018-07-11 16:11:50 -03:00
  • 84058b1506 Added definition for LUA_VERSION_RELEASE_NUM Roberto Ierusalimschy 2018-07-11 13:17:46 -03:00