Commit Graph

  • 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
  • 5d7dec5520 Added directory 'testes/libs/P1' to the repository Roberto Ierusalimschy 2018-12-17 15:19:56 -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
  • 4d5de1c1fb Fixed bug in line info. when using 'not' operator Roberto Ierusalimschy 2018-07-11 12:53:23 -03:00
  • 9a825f6bb9 In tests of opcodes, avoid coercion in bitwise operation Roberto Ierusalimschy 2018-07-10 14:55:16 -03:00
  • 941b189d98 Improvements in the manual Roberto Ierusalimschy 2018-07-10 13:48:19 -03:00
  • 21f663d29f Added missing $Id$ to file 'ljumptab.h' Roberto Ierusalimschy 2018-07-10 13:40:30 -03:00
  • 626cf0581b Generational mode may wait longer after a major collection Roberto Ierusalimschy 2018-07-09 14:22:09 -03:00
  • ccf6d098f6 'searchpath' creates less temporary strings Roberto Ierusalimschy 2018-07-09 13:29:08 -03:00
  • de2caf7ee4 Bit-library file removed from the project (as it was deprecated) Roberto Ierusalimschy 2018-07-09 12:54:51 -03:00
  • b08c9079c5 Opcode names moved to a new header file Roberto Ierusalimschy 2018-07-09 12:50:51 -03:00
  • 06e08c6d05 Fixed bug in OP_IDIVI Roberto Ierusalimschy 2018-07-09 12:41:24 -03:00
  • 7c519dfbd0 Added manual and tests for version 5.4-w2 Roberto Ierusalimschy 2018-07-09 12:33:01 -03:00
  • f59e6a93c0 opening functions must be exported! Roberto Ierusalimschy 2018-06-19 16:23:57 -03:00
  • 6683f83b51 several details Roberto Ierusalimschy 2018-06-18 15:25:19 -03:00
  • a314409dba in generational mode, an emergency collection can turn any object black during any memory allocation + 'luaT_getvarargs' may reallocate the stack, and therefore the top must be correct. Roberto Ierusalimschy 2018-06-18 14:58:21 -03:00
  • 15ce8d0904 in generational mode, an emergency collection can turn any object black during any memory allocation. Roberto Ierusalimschy 2018-06-18 14:57:20 -03:00
  • b43300c14f change in 'LUAI_DDEC' to allow variables to be static in 'onelua' + change in 'LUAMOD_API' as opening functions do not need to be global Roberto Ierusalimschy 2018-06-18 09:51:05 -03:00
  • af70905246 no need to check whether libraries and host use the same kernel; Lua should work correctly with several copies of the kernel Roberto Ierusalimschy 2018-06-18 09:08:10 -03:00
  • b95e466218 new field 'nilvalue' in struct 'global_State' to avoid the use of addresses of static variables Roberto Ierusalimschy 2018-06-15 16:31:22 -03:00
  • d406d3d05f removed unused macros 'isstackindex'/'api_checkstackindex' + macro 'api_checkvalidindex' (used only once) expanded and removed Roberto Ierusalimschy 2018-06-15 14:30:52 -03:00
  • b6780ee41b detail (removed unused definition for 'LUA_QS') Roberto Ierusalimschy 2018-06-15 12:49:28 -03:00
  • 2c107e13a8 warning (comparison between signed and unsigned integers) Roberto Ierusalimschy 2018-06-15 11:18:40 -03:00
  • 6e600695f8 field 'sizearray' in struct 'Table' changed to 'alimit', which can be used as a hint for '#t' Roberto Ierusalimschy 2018-06-15 11:14:20 -03:00
  • 06127927ff new macro 'ispow2' Roberto Ierusalimschy 2018-06-15 11:13:45 -03:00
  • aedcfb9414 type 'Rand64' may not be long long, so it should not use 'LL' in its constants Roberto Ierusalimschy 2018-06-14 15:47:22 -03:00
  • 992b6d2712 no more 'TESTGRAYBIT' (to free this bit for real uses) Roberto Ierusalimschy 2018-06-11 11:19:50 -03:00
  • 588dfa4ce5 detail in comment Roberto Ierusalimschy 2018-06-08 16:07:27 -03:00
  • 6f2b8e21c4 added 'const' to 'Proto*' when possible Roberto Ierusalimschy 2018-06-08 16:06:59 -03:00
  • c5dc521d65 added patch for bug 5.3.4-7 Roberto Ierusalimschy 2018-06-08 13:23:18 -03:00
  • 505fc91222 no more 'luaO_nilobject' to avoid comparison of global variable addresses (now uses static variables) Roberto Ierusalimschy 2018-06-01 14:40:38 -03:00
  • fb8fa66136 no more 'luaH_emptyobject' and comparisons of addresses of global variables (instead, use a different kind of nil to signal the fake entry returned when a key is not found in a table) Roberto Ierusalimschy 2018-06-01 13:51:34 -03:00