<feed xmlns='http://www.w3.org/2005/Atom'>
<title>viewer.git/indra/llcommon/lltraceaccumulators.cpp, branch cef_147</title>
<subtitle>Megapahit's fork of the Second Life viewer.
</subtitle>
<id>https://megapahit.org/viewer.git/atom?h=cef_147</id>
<link rel='self' href='https://megapahit.org/viewer.git/atom?h=cef_147'/>
<link rel='alternate' type='text/html' href='https://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://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://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://megapahit.org/viewer.git/commit/?id=a2552a555669490dc2ca173a48989d1b30e62c56'/>
<id>urn:sha1:a2552a555669490dc2ca173a48989d1b30e62c56</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SL-18620 Statistics-&gt;Advanced-&gt;Memory Usage no longer updating</title>
<updated>2023-08-24T18:47:26Z</updated>
<author>
<name>Alexander Gavriliuk</name>
<email>alexandrgproductengine@lindenlab.com</email>
</author>
<published>2023-08-24T14:02:08Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=57d784f80728f9ecd75f8dbc989cd75cf328c353'/>
<id>urn:sha1:57d784f80728f9ecd75f8dbc989cd75cf328c353</id>
<content type='text'>
</content>
</entry>
<entry>
<title>DRTVWR-565: Merge branch 'origin/contribute' into DRTVWR-565</title>
<updated>2022-12-12T18:27:57Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2022-12-12T18:27:57Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=12f66fda1376a03a0ef791d22984bd4a13831b5a'/>
<id>urn:sha1:12f66fda1376a03a0ef791d22984bd4a13831b5a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>DRTVWR-575: Address review comments on Xcode 14.1 type tweaks.</title>
<updated>2022-11-13T04:59:21Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2022-11-13T04:59:21Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=4349cb6165e983ff6bdd45ad1b82bb98bfc0436f'/>
<id>urn:sha1:4349cb6165e983ff6bdd45ad1b82bb98bfc0436f</id>
<content type='text'>
Introduce LLSD template constructors and assignment operators to disambiguate
construction or assignment from any integer type to Integer, likewise any
floating point type to Real. Use new narrow() function to validate
conversions.

For LLSD method parameters converted from LLSD::Integer to size_t, where the
method previously checked for a negative argument, make it now check for
size_t converted from negative: in other words, more than S32_MAX. The risk of
having a parameter forced from negative to unsigned exceeds the risk of a
valid length or index over that max.

In lltracerecording.cpp's PeriodicRecording, now that mCurPeriod and
mNumRecordedPeriods are size_t instead of S32, defend against subtracting 1
from 0.

Use narrow() to validate newly-introduced narrowing conversions.

Make llclamp() return the type of the raw input value, even if the types of
the boundary values differ.

std::ostream::tellp() no longer returns a value we can directly report as a
number. Cast to U64.
</content>
</entry>
<entry>
<title>DRTVWR-575: Fix llcommon assumptions that size_t fits in 4 bytes.</title>
<updated>2022-11-03T18:58:32Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2022-11-03T18:58:32Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=9522a0b7c16414fce2103cf58bfdd63aaf0cb01b'/>
<id>urn:sha1:9522a0b7c16414fce2103cf58bfdd63aaf0cb01b</id>
<content type='text'>
It's a little distressing how often we have historically coded S32 or U32 to
pass a length or index.

There are more such assumptions in other viewer subdirectories, but this is a
start.
</content>
</entry>
<entry>
<title>SL-17868 Crash at ThreadRecorder::bringUpToDate</title>
<updated>2022-07-29T23:57:30Z</updated>
<author>
<name>Andrey Kleshchev</name>
<email>andreykproductengine@lindenlab.com</email>
</author>
<published>2022-07-29T22:36:56Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=fe26a9d32c422fa26cfd82e92f93ad33654c2c51'/>
<id>urn:sha1:fe26a9d32c422fa26cfd82e92f93ad33654c2c51</id>
<content type='text'>
According to bugsplat get_thread_recorder was null
Replaced apr based LLThreadLocalPointer with thread_local
</content>
</entry>
<entry>
<title>SL-16606: Add profiler category STATS</title>
<updated>2022-01-14T19:50:21Z</updated>
<author>
<name>Ptolemy</name>
<email>ptolemy@lindenlab.com</email>
</author>
<published>2022-01-13T20:47:54Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=31b0e8cef83780de19fc713791a30f56108b75f6'/>
<id>urn:sha1:31b0e8cef83780de19fc713791a30f56108b75f6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SL-16148 SL-16244 SL-16270 SL-16253 Remove most BlockTimers, remove LLMemTracked, introduce alignas, hook most/all reamining allocs, disable synchronous occlusion, and convert frequently accessed LLSingletons to LLSimpleton</title>
<updated>2021-10-28T18:06:21Z</updated>
<author>
<name>Dave Parks</name>
<email>davep@lindenlab.com</email>
</author>
<published>2021-10-28T18:06:21Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=8d20480c5f77fe1fab8149d3cda79bdd61e77656'/>
<id>urn:sha1:8d20480c5f77fe1fab8149d3cda79bdd61e77656</id>
<content type='text'>
</content>
</entry>
</feed>
