<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua/ltests.h, branch v5.4.9</title>
<subtitle>A mirror of https://github.com/lua/lua
</subtitle>
<id>https://git.lua4.win/lua/atom?h=v5.4.9</id>
<link rel='self' href='https://git.lua4.win/lua/atom?h=v5.4.9'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/'/>
<updated>2022-04-25T17:42:51+00:00</updated>
<entry>
<title>Bug: Wrong code generation in bitwise operations</title>
<updated>2022-04-25T17:42:51+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2022-04-25T17:42:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=c764ca71a639f5585b5f466bea25dc42b855a4b0'/>
<id>urn:sha1:c764ca71a639f5585b5f466bea25dc42b855a4b0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Details (do not affect regular code)</title>
<updated>2020-12-07T14:17:30+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-12-07T14:17:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=e2ea3b31c94bb3e1da27c233661cb2a16699c685'/>
<id>urn:sha1:e2ea3b31c94bb3e1da27c233661cb2a16699c685</id>
<content type='text'>
* Avoids multiple definitions of 'lua_assert' in test file.
* Smaller C-stack limit in test mode.
* Note in the manual about the use of false
* Extra test for constant reuse.
</content>
</entry>
<entry>
<title>Back to a stackless implementation</title>
<updated>2020-10-12T15:29:09+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-09-21T13:31:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=5d8ce05b3f6fad79e37ed21c1076e47a322472c6'/>
<id>urn:sha1:5d8ce05b3f6fad79e37ed21c1076e47a322472c6</id>
<content type='text'>
A "with stack" implementation gains too little in performance to be
worth all the noise from C-stack overflows.

This commit is almost a sketch, to test performance. There are several
pending stuff:

- review control of C-stack overflow and error messages;
- what to do with setcstacklimit;
- review comments;
- review unroll of Lua calls.
</content>
</entry>
<entry>
<title>Clearer handling of gray lists when entering generational mode</title>
<updated>2020-08-03T16:22:57+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-08-03T16:22:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=b9b554e0f68726b19274209ea6ce910b7e9f5fbf'/>
<id>urn:sha1:b9b554e0f68726b19274209ea6ce910b7e9f5fbf</id>
<content type='text'>
When entering generational mode, all objects are old. So, the only
objects that need to be in a gray list are threads, which can be
assigned without barriers. Changes in anything else (e.g., weak
tables) will trigger barriers that, if needed, will add the object
to a gray list.
</content>
</entry>
<entry>
<title>Function 'printobj' in 'ltests.c' made public</title>
<updated>2020-07-27T14:24:03+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-07-27T14:24:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=8c7c9ea06502b8caa5224bf74c90a8885dbe0d42'/>
<id>urn:sha1:8c7c9ea06502b8caa5224bf74c90a8885dbe0d42</id>
<content type='text'>
It helps to have this function available for debugging.
</content>
</entry>
<entry>
<title>Macro LUAI_ASSERT eases turning assertions on</title>
<updated>2020-07-08T18:51:55+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-07-08T18:51:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=6f5bd5072dff07679c390eecfeaa9d20cc45a9ef'/>
<id>urn:sha1:6f5bd5072dff07679c390eecfeaa9d20cc45a9ef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Details</title>
<updated>2020-04-30T20:29:27+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-04-30T20:29:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=948fb628d9d7242acfe1c3fe1f099ef228e38ead'/>
<id>urn:sha1:948fb628d9d7242acfe1c3fe1f099ef228e38ead</id>
<content type='text'>
When in test mode (#include "tests.h"), force Lua to use its own
implementation of 'lua_strx2number' and 'lua_number2strx' to test them.
</content>
</entry>
<entry>
<title>Details</title>
<updated>2020-02-27T15:59:22+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-02-27T15:59:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=6eb53b752617fae9e1329bfe2cfecdcbb593c398'/>
<id>urn:sha1:6eb53b752617fae9e1329bfe2cfecdcbb593c398</id>
<content type='text'>
Several details in code (e.g., moving a variable to the most inner
scope that encloses its uses), comments, parameter names, extra tests.
</content>
</entry>
<entry>
<title>Clearer distinction between types and tags</title>
<updated>2020-01-31T14:09:53+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-01-31T14:09:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=46c3587a6feb28e1ee4a32aabe463b0ecb9e8f5e'/>
<id>urn:sha1:46c3587a6feb28e1ee4a32aabe463b0ecb9e8f5e</id>
<content type='text'>
LUA_T* represents only types; tags (types + Variants) are represented
by LUA_V* constants.
</content>
</entry>
<entry>
<title>Small changes around C-stack limit</title>
<updated>2019-06-26T16:26:36+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2019-06-26T16:26:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=8b7cfee26b71e66de2cef9f8db9d9e18f5439afd'/>
<id>urn:sha1:8b7cfee26b71e66de2cef9f8db9d9e18f5439afd</id>
<content type='text'>
- Better documentation in 'testes/cstack.lua' about using
'debug.setCstacklimit' to find a good limit.

- Constant LUAI_MAXCSTACK gets added CSTACKERR (extra stack for
error handling), so that it is compatible with the argument to
'debug.setCstacklimit'.
</content>
</entry>
</feed>
