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

Commit Graph

  • b8cdea0190 Changed definition of macro 'l_isfalse' Roberto Ierusalimschy 2019-10-22 14:10:54 -03:00
  • e592f94a64 Details (mostly comments) Roberto Ierusalimschy 2019-10-22 14:08:22 -03:00
  • 6e1aec7a67 Larger C-stack limits for new threads Roberto Ierusalimschy 2019-10-17 13:09:17 -03:00
  • 6055a039b5 Easy redefinition of valid flags for 'string.format' Roberto Ierusalimschy 2019-10-17 13:02:07 -03:00
  • 6c0e44464b Improvements in the manual around metamethods v5.4-beta Roberto Ierusalimschy 2019-10-08 10:34:43 -03:00
  • 6a84c32900 No coercion string->number in arithmetic with LUA_NOCVTS2N Roberto Ierusalimschy 2019-10-08 10:29:38 -03:00
  • 6a10f03ff8 Makefile compiles the Lua compiler with '-Os' Roberto Ierusalimschy 2019-10-08 10:26:02 -03:00
  • 7bd1e53753 Fixed a warning and other minor issues Roberto Ierusalimschy 2019-10-04 16:17:04 -03:00
  • b98d41db99 Script 'packtests' gets Lua version as a parameter Roberto Ierusalimschy 2019-10-02 17:04:06 -03:00
  • b2a580bdb1 Janitorial work Roberto Ierusalimschy 2019-10-01 17:24:37 -03:00
  • 89f6a85f03 Details in the makefile (warning options) Roberto Ierusalimschy 2019-09-24 14:43:32 -03:00
  • 6ef366644f Subtraction of small constant integers optimized with OP_ADDI Roberto Ierusalimschy 2019-09-24 14:34:52 -03:00
  • 03cde80b58 'setCstacklimit' renamed to 'setcstacklimit' Roberto Ierusalimschy 2019-09-24 14:31:06 -03:00
  • 6b2e202df5 Janitorial work in 'lcode.c' Roberto Ierusalimschy 2019-09-19 14:29:21 -03:00
  • 40d8832ee0 Simplification in the call to 'constfolding' Roberto Ierusalimschy 2019-09-11 10:20:10 -03:00
  • 91dad09f65 Removed arithmetic opcodes with immediate operand Roberto Ierusalimschy 2019-09-10 13:20:03 -03:00
  • 4518e5df24 Added macro 'testMMMode' Roberto Ierusalimschy 2019-09-06 14:14:11 -03:00
  • 72a094bda7 Undo change in the handling of 'L->top' (commit b80077b8f3) Roberto Ierusalimschy 2019-08-29 12:52:37 -03:00
  • 46b84580d6 Use of 'MMBIN' opcodes extended to shift operators Roberto Ierusalimschy 2019-08-28 09:58:03 -03:00
  • df13f25948 First version of OP_MMBIN opcodes Roberto Ierusalimschy 2019-08-27 13:59:39 -03:00
  • 643188d6e5 Fixed missing case in 'luaV_finishOp' Roberto Ierusalimschy 2019-08-27 10:28:09 -03:00
  • 3df5624ff4 Fixed bug when yiedling inside OP_ADDK opcode Roberto Ierusalimschy 2019-08-21 12:19:47 -03:00
  • be78aeae4c Default for warnings changed to "off" Roberto Ierusalimschy 2019-08-20 13:42:26 -03:00
  • 5bc47fe830 Detail (extra test for warnings when closing state) Roberto Ierusalimschy 2019-08-19 14:41:48 -03:00
  • 9405472565 Improvement in warn-mode '@store' (for testing) Roberto Ierusalimschy 2019-08-18 17:29:46 -03:00
  • 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' v5.4-alpha 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