Commit Graph

  • 45948e7e55 Manual corrected with the new syntax for attributes Roberto Ierusalimschy 2019-08-16 16:11:21 -03:00
  • b96b0b5abb Added macro 'luaL_pushfail' Roberto Ierusalimschy 2019-08-16 14:58:02 -03:00
  • ca13be9af7 Supressed errors in '__close' generate warnings Roberto Ierusalimschy 2019-08-16 09:51:54 -03:00
  • a1d8eb2743 Added control messages to warnings Roberto Ierusalimschy 2019-08-15 13:44:36 -03:00
  • f64a1b175a Small optimization in 'convergeephemerons' Roberto Ierusalimschy 2019-08-12 15:32:44 -03:00
  • 09b4e527a0 Detail in the manual (method 'file:setvbuf') Roberto Ierusalimschy 2019-08-12 11:26:08 -03:00
  • 35a28a58b3 Details Roberto Ierusalimschy 2019-08-01 14:11:33 -03:00
  • 223bb04090 Correction in the documentation of 'io.lines' Roberto Ierusalimschy 2019-07-31 11:41:59 -03:00
  • fe040633a1 Tracebacks recognize metamethods '__close' Roberto Ierusalimschy 2019-07-31 11:22:39 -03:00
  • f645d31573 To-be-closed variables must be closed on initialization Roberto Ierusalimschy 2019-07-31 10:43:51 -03:00
  • 35b4efc270 Fixed test in 'main.lua' Roberto Ierusalimschy 2019-07-30 13:48:40 -03:00
  • 0d52913804 Change in the syntax of attributes Roberto Ierusalimschy 2019-07-30 12:18:19 -03:00
  • b80077b8f3 Change in the handling of 'L->top' when calling metamethods Roberto Ierusalimschy 2019-07-26 14:59:39 -03:00
  • e70f275f32 Bug: 'Vardesc' array can be reallocated in 'localstat' Roberto Ierusalimschy 2019-07-26 13:27:43 -03:00
  • 9a37dc0ce6 Small corrections when setting 'L->top' Roberto Ierusalimschy 2019-07-25 13:55:29 -03:00
  • 0eb6aa4013 Some improvements in date/time functions Roberto Ierusalimschy 2019-07-24 15:01:59 -03:00
  • 7f5c31cdca Fixed bug in 'string.format' with option '%f' Roberto Ierusalimschy 2019-07-23 12:46:33 -03:00
  • 9e6807c3c9 Do not collect open upvalues Roberto Ierusalimschy 2019-07-22 09:41:10 -03:00
  • 2f22c6bb79 'math.randomseed' always returns the two seed components Roberto Ierusalimschy 2019-07-19 13:31:53 -03:00
  • 3c0d3c6fbe Avoid using addresses of static variables as unique keys Roberto Ierusalimschy 2019-07-19 13:14:06 -03:00
  • 440a5ee78c Fixed bug for emergency collection in upvalue creation Roberto Ierusalimschy 2019-07-19 12:13:00 -03:00
  • dc07719b0d Tag LUA_TUPVALTBC replaced by a flag Roberto Ierusalimschy 2019-07-19 11:12:31 -03:00
  • 9cdf6b7082 Some details in 'lmem.c' and 'lgc.c' Roberto Ierusalimschy 2019-07-19 09:43:35 -03:00
  • 3c1d415bd3 Details Roberto Ierusalimschy 2019-07-18 15:31:22 -03:00
  • d36a31e673 Reviving HARDMEMTESTS Roberto Ierusalimschy 2019-07-18 14:58:15 -03:00
  • 024a6071ca Small bug with stack reallocation Roberto Ierusalimschy 2019-07-18 11:26:03 -03:00
  • 4eefef07ab 'math.randomseed()' returns the seeds it used Roberto Ierusalimschy 2019-07-17 16:00:24 -03:00
  • 9c28ed05c9 Calls 'luaF_close' in 'lua_settop' only when needed Roberto Ierusalimschy 2019-07-17 15:22:11 -03:00
  • 8082906c05 Fixed small issue with constant propagation Roberto Ierusalimschy 2019-07-17 14:50:42 -03:00
  • d6af81084d New kind of expression VKSTR Roberto Ierusalimschy 2019-07-17 14:26:56 -03:00
  • 4846f7e3bb Micro optimization in OP_RETURN and OP_TAILCALL Roberto Ierusalimschy 2019-07-16 15:44:37 -03:00
  • c220b0a5d0 '__close' method may be called again in case of error Roberto Ierusalimschy 2019-07-16 15:17:47 -03:00
  • 298f383ffc Avoid setting the stack top below upvalues to be closed Roberto Ierusalimschy 2019-07-16 14:13:22 -03:00
  • 758c1ef445 Unification of size representation in OP_NEWTABLE and OP_SETLIST Roberto Ierusalimschy 2019-07-15 14:59:35 -03:00
  • dd6d8db49a Reordering of instructions in the main loop Roberto Ierusalimschy 2019-07-12 16:47:02 -03:00
  • 1fb4d53925 OP_NEWTABLE keeps exact size of arrays Roberto Ierusalimschy 2019-07-12 16:13:50 -03:00
  • f6aab3ec1f First implementation of constant propagation Roberto Ierusalimschy 2019-07-12 11:38:42 -03:00
  • be8445d7e4 Details Roberto Ierusalimschy 2019-07-10 14:58:31 -03:00
  • 3d296304ef Towards constant propagation Roberto Ierusalimschy 2019-07-10 14:00:22 -03:00
  • 54f7b46c1e New implementation for constants Roberto Ierusalimschy 2019-07-09 10:43:17 -03:00
  • e888976bc6 Details (typos in comments) Roberto Ierusalimschy 2019-07-05 15:03:15 -03:00
  • 4d46289331 Local attributes can be used in list of local variables Roberto Ierusalimschy 2019-07-03 14:18:07 -03:00
  • 8eca21c2e8 First take on constant propagation Roberto Ierusalimschy 2019-07-01 12:42:31 -03:00
  • 924bed7297 Methods separated from metamethods in 'io' Roberto Ierusalimschy 2019-07-01 12:25:00 -03:00
  • 8b7cfee26b Small changes around C-stack limit Roberto Ierusalimschy 2019-06-26 13:26:36 -03:00
  • c1a63c45f8 '__call' metamethod can be any callable object Roberto Ierusalimschy 2019-06-25 17:45:50 -03:00
  • 4487c28ced A few more tests for table access in the API Roberto Ierusalimschy 2019-06-25 17:38:58 -03:00
  • 05ba288049 Added script 'packtests' to the project Roberto Ierusalimschy 2019-06-21 10:46:41 -03:00
  • 6b9490bd72 Details in tests Roberto Ierusalimschy 2019-06-21 10:21:07 -03:00
  • e4b02ca8e4 Structure 'Vardesc' does not need a 'name' field Roberto Ierusalimschy 2019-06-21 10:16:57 -03:00
  • 20a9853e02 Cleaning macros in 'luaV_execute' Roberto Ierusalimschy 2019-06-21 10:00:50 -03:00
  • 1d70708a78 Fixed bug [5.4 alpha] for errors in finalizers Roberto Ierusalimschy 2019-06-21 09:34:49 -03:00
  • be73f72fcc New function 'setCstacklimit' Roberto Ierusalimschy 2019-06-18 16:52:22 -03:00
  • 3cd9b56ae6 Revamp around 'L->nCcalls' count Roberto Ierusalimschy 2019-06-12 10:31:38 -03:00
  • d2a9b4ffb8 Detail in the manual Roberto Ierusalimschy 2019-06-10 13:59:19 -03:00
  • f39e8c06d6 Updated the documentation for the API function 'lua_gc' Roberto Ierusalimschy 2019-06-06 12:51:41 -03:00
  • 6aeaeb5656 Detail in makefile Roberto Ierusalimschy 2019-06-05 13:21:16 -03:00
  • b4d5dff8ec Multiple errors in '__toclose' report the first one Roberto Ierusalimschy 2019-06-05 13:16:25 -03:00
  • 14edd364c3 Function 'warn' is vararg Roberto Ierusalimschy 2019-06-04 11:22:21 -03:00
  • 514d942748 'coroutine.kill' renamed 'coroutine.close' Roberto Ierusalimschy 2019-06-03 13:11:20 -03:00
  • 4a3fd8488d bug in 5.4 alpha rc1: to-be-closed x vararg functions Roberto Ierusalimschy 2019-06-03 12:13:13 -03:00
  • 2c68e66570 Details Roberto Ierusalimschy 2019-06-03 11:36:42 -03:00
  • 7d0f41df41 Improvements in 'testes/cstack.lua' Roberto Ierusalimschy 2019-06-03 11:34:32 -03:00
  • 2b8b53864c Improvements in 'luaL_traceback' Roberto Ierusalimschy 2019-05-28 15:50:40 -03:00
  • b293ae0577 Details Roberto Ierusalimschy 2019-05-28 15:46:49 -03:00
  • d9f40e3f6f First implementation for 'const' variables Roberto Ierusalimschy 2019-05-17 11:11:44 -03:00
  • 347d6961ac Define LUA_MAXUNSIGNED as a preprocessor constant Roberto Ierusalimschy 2019-05-14 11:10:24 -03:00
  • 0b63d79b36 Details Roberto Ierusalimschy 2019-05-13 16:20:40 -03:00
  • 279c3a6961 A few changes in tests about number of bits in integers Roberto Ierusalimschy 2019-05-13 16:17:21 -03:00
  • 49c42f3615 Some improvements in 'luaconf.h' Roberto Ierusalimschy 2019-05-13 14:24:10 -03:00
  • d881325c2f Flag for to-be-closed variables changed to '<toclose>' Roberto Ierusalimschy 2019-05-09 12:10:31 -03:00
  • 3f253f116e Test for dead coroutine moved to 'lua_resume' Roberto Ierusalimschy 2019-05-09 11:32:20 -03:00
  • 389116d8ab Coroutines do not unwind the stack in case of errors Roberto Ierusalimschy 2019-05-09 11:13:45 -03:00
  • 01bded3d8c File 'lib2-v2.so' generated from its own source Roberto Ierusalimschy 2019-05-03 10:36:19 -03:00
  • 7c5786479c A few more improvements in 'luaO_pushvfstring' Roberto Ierusalimschy 2019-05-03 10:18:44 -03:00
  • 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
  • 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