<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lanes/unit_tests, branch v4.0.0</title>
<subtitle>A mirror of https://github.com/LuaLanes/lanes.git
</subtitle>
<id>https://git.lua4.win/lanes/atom?h=v4.0.0</id>
<link rel='self' href='https://git.lua4.win/lanes/atom?h=v4.0.0'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/'/>
<updated>2026-02-27T09:59:11+00:00</updated>
<entry>
<title>Unify sleep() timeout with send() and receive (nil means forever)</title>
<updated>2026-02-27T09:59:11+00:00</updated>
<author>
<name>Benoit Germain</name>
<email>benoit.germain@ubisoft.com</email>
</author>
<published>2026-02-27T09:59:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/commit/?id=7e4b6e1526c5b2f85079df6a6ecfe08244a7dbcc'/>
<id>urn:sha1:7e4b6e1526c5b2f85079df6a6ecfe08244a7dbcc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>change cancel_test() to raise cancel_error on hard-cancels by default</title>
<updated>2026-02-26T10:02:55+00:00</updated>
<author>
<name>Benoit Germain</name>
<email>benoit.germain@ubisoft.com</email>
</author>
<published>2026-02-26T10:02:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/commit/?id=4f97720e4c3944ccf9b9742028dc697c2dd94c5a'/>
<id>urn:sha1:4f97720e4c3944ccf9b9742028dc697c2dd94c5a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve cancel_test() documentation and unit test</title>
<updated>2026-02-26T09:17:36+00:00</updated>
<author>
<name>Benoit Germain</name>
<email>benoit.germain@ubisoft.com</email>
</author>
<published>2026-02-26T09:17:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/commit/?id=6b8c83b3bc44b0a1bc186f58de0fea6dfc214c4b'/>
<id>urn:sha1:6b8c83b3bc44b0a1bc186f58de0fea6dfc214c4b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Test full userdata keys with verbose_errors</title>
<updated>2025-10-30T09:02:27+00:00</updated>
<author>
<name>Benoit Germain</name>
<email>benoit.germain@ubisoft.com</email>
</author>
<published>2025-10-30T09:02:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/commit/?id=dfb4a035c2d80a6be689e14ca495b8ba032f58c4'/>
<id>urn:sha1:dfb4a035c2d80a6be689e14ca495b8ba032f58c4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Stronger test for verbose_errors</title>
<updated>2025-10-30T08:38:43+00:00</updated>
<author>
<name>Benoit Germain</name>
<email>benoit.germain@ubisoft.com</email>
</author>
<published>2025-10-30T08:38:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/commit/?id=9c768185696879c6642c1f26c86884eaf727fe27'/>
<id>urn:sha1:9c768185696879c6642c1f26c86884eaf727fe27</id>
<content type='text'>
</content>
</entry>
<entry>
<title>verbose_errors improvement</title>
<updated>2025-10-27T07:43:22+00:00</updated>
<author>
<name>Benoit Germain</name>
<email>benoit.germain@ubisoft.com</email>
</author>
<published>2025-10-27T07:43:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/commit/?id=5e5bcf37450d07f7f2812255bbd1df35d8e6ce75'/>
<id>urn:sha1:5e5bcf37450d07f7f2812255bbd1df35d8e6ce75</id>
<content type='text'>
* Use std::format instead of sprintf for verbose errors when decoding table keys
* Add a unit test for the different table key types
</content>
</entry>
<entry>
<title>Lift restriction on functions and userdata as table keys</title>
<updated>2025-09-30T13:06:21+00:00</updated>
<author>
<name>Benoit Germain</name>
<email>benoit.germain@ubisoft.com</email>
</author>
<published>2025-09-30T13:06:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/commit/?id=ae43a00657a6505910010bdf920c9c0f4823a9c0'/>
<id>urn:sha1:ae43a00657a6505910010bdf920c9c0f4823a9c0</id>
<content type='text'>
As demonstrated by the unit tests, there is no problem with using a function or a userdata as a table key, as long as they are transferable
</content>
</entry>
<entry>
<title>Lift restriction on tables as table keys</title>
<updated>2025-09-29T15:11:58+00:00</updated>
<author>
<name>Benoit Germain</name>
<email>benoit.germain@ubisoft.com</email>
</author>
<published>2025-09-29T15:11:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/commit/?id=f011dcafb0f583c89ed9971238fd83ddcbdb5438'/>
<id>urn:sha1:f011dcafb0f583c89ed9971238fd83ddcbdb5438</id>
<content type='text'>
As demonstrated by the unit tests, there is no problem with using a table as a table key
</content>
</entry>
<entry>
<title>Fix embedded tests when PATH is insufficient</title>
<updated>2025-09-23T13:06:08+00:00</updated>
<author>
<name>Benoit Germain</name>
<email>benoit.germain@ubisoft.com</email>
</author>
<published>2025-09-23T13:06:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/commit/?id=4f5d5ea60e5b5bd42a3bdab5460c2c0fda365a4d'/>
<id>urn:sha1:4f5d5ea60e5b5bd42a3bdab5460c2c0fda365a4d</id>
<content type='text'>
* read package.path and use the list of paths to try to load lanes_core.dll
</content>
</entry>
<entry>
<title>Improve table and userdata conversions</title>
<updated>2025-09-20T12:30:57+00:00</updated>
<author>
<name>Benoit Germain</name>
<email>bnt.germain@gmail.com</email>
</author>
<published>2025-09-20T12:30:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/commit/?id=c52571736d852d2636bd285d19c613be5c706cff'/>
<id>urn:sha1:c52571736d852d2636bd285d19c613be5c706cff</id>
<content type='text'>
* add convert_fallback and convert_max_attempts to global settings
* if no __lanesconvert is available, use convert_fallback (can be useful for externally provided full userdata with fixed metatables)
* only try conversion on non-deep and non-clonable userdata
* conversion can be applied recursively, up to convert_max_attempts times
* plus all the relevant unit tests of course
</content>
</entry>
</feed>
