<feed xmlns='http://www.w3.org/2005/Atom'>
<title>viewer.git/indra/llcommon/llrand.cpp, branch cef_147</title>
<subtitle>Megapahit's fork of the Second Life viewer.
</subtitle>
<id>https://www.megapahit.org/viewer.git/atom?h=cef_147</id>
<link rel='self' href='https://www.megapahit.org/viewer.git/atom?h=cef_147'/>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/'/>
<updated>2024-07-08T18:27:14Z</updated>
<entry>
<title>Re-enable compiler warnings C4244 and C4396 except for lltracerecording.h and llunittype.h for now</title>
<updated>2024-07-08T18:27:14Z</updated>
<author>
<name>Ansariel</name>
<email>ansariel.hiller@phoenixviewer.com</email>
</author>
<published>2024-07-08T18:27:14Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=9fdca96f8bd2211a99fe88e57b70cbecefa20b6d'/>
<id>urn:sha1:9fdca96f8bd2211a99fe88e57b70cbecefa20b6d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>#824 Process source files in bulk: replace tabs with spaces, convert CRLF to LF, and trim trailing whitespaces as needed</title>
<updated>2024-04-29T04:56:09Z</updated>
<author>
<name>Andrey Lihatskiy</name>
<email>alihatskiy@productengine.com</email>
</author>
<published>2024-04-29T04:43:28Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=1b68f71348ecf3983b76b40d7940da8377f049b7'/>
<id>urn:sha1:1b68f71348ecf3983b76b40d7940da8377f049b7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Build fix for Visual Studio patch</title>
<updated>2024-02-08T20:44:34Z</updated>
<author>
<name>Alexander Gavriliuk</name>
<email>alexandrgproductengine@lindenlab.com</email>
</author>
<published>2024-02-08T20:03:59Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=a2552a555669490dc2ca173a48989d1b30e62c56'/>
<id>urn:sha1:a2552a555669490dc2ca173a48989d1b30e62c56</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SL-20546: Defend llrand's random generator against concurrent access</title>
<updated>2023-11-17T19:31:21Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2023-11-17T19:31:21Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=5fa7f69101a889009194eeddb927599d7536613f'/>
<id>urn:sha1:5fa7f69101a889009194eeddb927599d7536613f</id>
<content type='text'>
by making it thread_local.
</content>
</entry>
<entry>
<title>SL-20546: Avoid promoting F32 to double just to compare bounds.</title>
<updated>2023-11-17T15:24:14Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2023-11-17T15:24:14Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=e7ae20c96fccdad06e39a3f8e5fe61a812029242'/>
<id>urn:sha1:e7ae20c96fccdad06e39a3f8e5fe61a812029242</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SL-20546: Use narrow() explicit conversion from F64 to F32.</title>
<updated>2023-11-15T15:12:12Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2023-11-15T15:12:12Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=d427d5dbfa09f0bdec743e75a41e8ea0ee4abeea'/>
<id>urn:sha1:d427d5dbfa09f0bdec743e75a41e8ea0ee4abeea</id>
<content type='text'>
</content>
</entry>
<entry>
<title>DRTVWR-588: Try to fix sporadic llrand test failures.</title>
<updated>2023-11-15T01:29:51Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2023-11-15T01:29:51Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=d255c3dda852731b6709ac4e9c9821b3be84ec86'/>
<id>urn:sha1:d255c3dda852731b6709ac4e9c9821b3be84ec86</id>
<content type='text'>
With GitHub viewer builds, every few weeks we've seen test failures when
ll_frand() returns exactly 1.0. This is a problem for a function that's
supposed to return [0.0 .. 1.0).

Monty suggests that the problem is likely to be conversion of F32 to F64 to
pass to fmod(), and then truncation of fmod()'s F64 result back to F32. Moved
the clamping code to each size-specific ll_internal_random specialization.

Monty also noted that a stateful static random number engine isn't
thread-safe. Added a mutex lock.
</content>
</entry>
<entry>
<title>SL-18837: Ditch inactive llrand.cpp LL_USE_SYSTEM_RAND code.</title>
<updated>2023-07-18T13:45:00Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2023-07-18T13:45:00Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=14d0b514af4e70956ecc2fbf6fe4c2e745e144a8'/>
<id>urn:sha1:14d0b514af4e70956ecc2fbf6fe4c2e745e144a8</id>
<content type='text'>
LL_USE_SYSTEM_RAND has been disabled since June 2008; that code only clutters
the implementation we actually use.
</content>
</entry>
<entry>
<title>SL-18837: Clean up some redundancy in llrand.cpp.</title>
<updated>2023-07-17T20:20:59Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2023-07-17T20:20:59Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=167ac704c8387c531630949860e33fb5a59789a8'/>
<id>urn:sha1:167ac704c8387c531630949860e33fb5a59789a8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove execute permission from many files that should not have it</title>
<updated>2015-11-10T14:48:56Z</updated>
<author>
<name>Oz Linden</name>
<email>oz@lindenlab.com</email>
</author>
<published>2015-11-10T14:48:56Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=c8726aba303bcf1207b730a344536e25491420bc'/>
<id>urn:sha1:c8726aba303bcf1207b730a344536e25491420bc</id>
<content type='text'>
</content>
</entry>
</feed>
