<feed xmlns='http://www.w3.org/2005/Atom'>
<title>viewer.git/indra/llcommon/llsdserialize_xml.cpp, branch 26.1.1</title>
<subtitle>Megapahit's fork of the Second Life viewer.
</subtitle>
<id>https://www.megapahit.org/viewer.git/atom?h=26.1.1</id>
<link rel='self' href='https://www.megapahit.org/viewer.git/atom?h=26.1.1'/>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/'/>
<updated>2025-05-12T12:14:23Z</updated>
<entry>
<title>Have unencapsulated Expat headers in any condition</title>
<updated>2025-05-12T12:14:23Z</updated>
<author>
<name>Erik Kundiman</name>
<email>erik@megapahit.org</email>
</author>
<published>2025-05-12T12:14:23Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=0500c78b1bccda71a8623785c9765a7adaec0071'/>
<id>urn:sha1:0500c78b1bccda71a8623785c9765a7adaec0071</id>
<content type='text'>
The only condition where Expat headers would be encapsulated is when
using LL's Autobuild-based prebuilt libraries, and we're never using
any of LL's prebuilt binary for Expat on desktop, since Expat is
practically available on any supported desktop platform.
The system Expat headers are never encapsulated in any of those
platforms.
This is the beginning of not relying on the LL_USESYSTEMLIBS macro
any more (eventually not relying on the custom USESYSTEMLIBS CMake
setting either).
Keeping the build system still flexible to have the option to use
LL's prebuilt libraries *fully* (we still use some of them in cases
where the platform may not have the related system library or for
convenience, so the term USESYSTEMLIBS may not always be consistent),
is getting harder to maintain.
The way it's done is using #if 1, in order to minimise difference
from upstream.
</content>
</entry>
<entry>
<title>Update tracy profiler to 0.10 (#1946)</title>
<updated>2024-07-09T21:53:43Z</updated>
<author>
<name>Rye Mutt</name>
<email>rye@alchemyviewer.org</email>
</author>
<published>2024-07-09T21:53:43Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=2a7030992faa12c362d3eb9365080efd8265e15f'/>
<id>urn:sha1:2a7030992faa12c362d3eb9365080efd8265e15f</id>
<content type='text'>
</content>
</entry>
<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>Viewer#863 Crash reading xml</title>
<updated>2024-02-21T23:36:10Z</updated>
<author>
<name>Andrey Kleshchev</name>
<email>andreykproductengine@lindenlab.com</email>
</author>
<published>2024-02-21T23:09:23Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=da0f5ea0b4366ccc2b065103a7bc37552b1fe8de'/>
<id>urn:sha1:da0f5ea0b4366ccc2b065103a7bc37552b1fe8de</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>Fix for SL-19968 objects missing timing bug due to stall during login</title>
<updated>2023-11-03T16:49:48Z</updated>
<author>
<name>Brad Kittenbrink (Brad Linden)</name>
<email>brad@lindenlab.com</email>
</author>
<published>2023-07-28T23:52:06Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=b9b38db5678556e1aa2710a86004dc5a14f97242'/>
<id>urn:sha1:b9b38db5678556e1aa2710a86004dc5a14f97242</id>
<content type='text'>
ensure inventory skeleton loading doesn't block the message system from processing packets.
</content>
</entry>
<entry>
<title>DRTVWR-575: Update a few more int lengths in llsdserialize.{h,cpp}.</title>
<updated>2022-12-06T19:40:11Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2022-12-06T19:40:11Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=db1d757aebc3dd23e542f7cd4f468dbcd97edcb7'/>
<id>urn:sha1:db1d757aebc3dd23e542f7cd4f468dbcd97edcb7</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://www.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://www.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>
</feed>
