<feed xmlns='http://www.w3.org/2005/Atom'>
<title>viewer.git/indra/llcorehttp/tests/test_httprequest.hpp, 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-08-22T17:13:03Z</updated>
<entry>
<title>Fix test build on macOS</title>
<updated>2025-08-22T17:13:03Z</updated>
<author>
<name>Rye</name>
<email>rye@alchemyviewer.org</email>
</author>
<published>2025-08-22T17:13:03Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=3f65a4bfec71a9950a541f9e6195a572a0622b48'/>
<id>urn:sha1:3f65a4bfec71a9950a541f9e6195a572a0622b48</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix llcorehttp tests building under macos</title>
<updated>2025-02-11T10:04:10Z</updated>
<author>
<name>Rye</name>
<email>rye@lindenlab.com</email>
</author>
<published>2025-02-10T19:09:49Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=0ea0edb5d97453225130fbd261e718fb633cc56e'/>
<id>urn:sha1:0ea0edb5d97453225130fbd261e718fb633cc56e</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>SL-17484 Unit test build fix (remove priority parameters).</title>
<updated>2022-05-24T22:48:41Z</updated>
<author>
<name>Dave Parks</name>
<email>davep@lindenlab.com</email>
</author>
<published>2022-05-24T22:48:41Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=41e32126d4b4b5d7bd810484a0f6c732f4367169'/>
<id>urn:sha1:41e32126d4b4b5d7bd810484a0f6c732f4367169</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SL-15742: Convert build scripts to Python 3</title>
<updated>2021-12-10T22:42:49Z</updated>
<author>
<name>Bennett Goble</name>
<email>signal@lindenlab.com</email>
</author>
<published>2021-06-06T05:02:54Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=f729cfc33f258781c5fd85a3d8773bf6149d12db'/>
<id>urn:sha1:f729cfc33f258781c5fd85a3d8773bf6149d12db</id>
<content type='text'>
This changeset makes it possible to build the Second Life viewer using
Python 3. It is designed to be used with an equivalent Autobuild branch
so that a developer can compile without needing Python 2 on their
machine.

Breaking change: Python 2 support ending

Rather than supporting two versions of Python, including one that was
discontinued at the beginning of the year, this branch focuses on
pouring future effort into Python 3 only. As a result, scripts do not
need to be backwards compatible. This means that build environments,
be they on personal computers and on build agents, need to have a
compatible interpreter.

Notes

- SLVersionChecker will still use Python 2 on macOS
- Fixed the message template url used by template_verifier.py
</content>
</entry>
<entry>
<title>DRTVWR-476: Remove special llcorehttp test memory manager.</title>
<updated>2020-03-25T22:44:04Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2019-06-27T14:57:34Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=2902f23a4193d93c2e96daa45587a8c597c0a831'/>
<id>urn:sha1:2902f23a4193d93c2e96daa45587a8c597c0a831</id>
<content type='text'>
NickyD discovered that the substitute default allocator used for llcorehttp
tests was returning badly-aligned storage, which caused access violations on
alignment-sensitive data such as std::atomic. Thanks Nicky!!

Moreover, the llcorehttp test assertions regarding memory usage, well-
intentioned though they are, have been causing us trouble for years. Many have
already been disabled.

The problem is that use of test_allocator.h affected *everything* defined with
that header file's declarations visible. That inevitably included specific
functions in other subsystems. Those functions then (unintentionally) consumed
the special allocator, throwing off the memory tracking and making certain
memory-related assertions consistently fail.

This is a particular, observable bad effect of One Definition Rule violations.
Within a given program, C++ allows multiple definitions for the same entity,
but requires that all such definitions be the same. Partial visibility of the
global operator new() and operator delete() overrides meant that some
definitions of certain entities used the default global allocator, some used
llcorehttp's. There may have been other, more subtle bad effects of these ODR
violations.

If one wanted to reimplement verification of the memory consumption of
llcorehttp classes:

* Each llcorehttp class (for which memory tracking was desired) should declare
  class-specific operator new() and operator delete() methods. Naturally,
  these would all consume a central llcorehttp-specific allocator, but that
  allocator should *not* be named global operator new().
* Presumably that would require runtime indirection to allow using the default
  allocator in production while substituting the special allocator for tests.
* Recording and verifying the memory consumption in each test should be
  performed in the test-object constructor and destructor, rather than being
  sprinkled throughout the test&lt;n&gt;() methods.
* With that mechanism in place, the test object should provide methods to
  adjust (or entirely disable) memory verification for a particular test.
* The test object should also provide a "yes, we're still consuming llcorehttp
  memory" method to be used for spot checks in the middle of tests -- instead
  of sprinkling in explicit comparisons as before.
* In fact, the llcorehttp test object in each test_*.hpp file should be
  derived from a central llcorehttp test-object base class providing those
  methods.
</content>
</entry>
<entry>
<title>Teamcity W64 build freeze.</title>
<updated>2019-02-15T20:05:44Z</updated>
<author>
<name>andreykproductengine</name>
<email>andreykproductengine@lindenlab.com</email>
</author>
<published>2019-02-15T20:05:44Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=344a3a040fb1c664108830ac784c6e4593a57553'/>
<id>urn:sha1:344a3a040fb1c664108830ac784c6e4593a57553</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix for teamcity W64 build freeze.</title>
<updated>2019-02-08T20:22:06Z</updated>
<author>
<name>andreykproductengine</name>
<email>andreykproductengine@lindenlab.com</email>
</author>
<published>2019-02-08T20:22:06Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=eb1c3c5cbbbe687235dc7db2d527e04578ea1d54'/>
<id>urn:sha1:eb1c3c5cbbbe687235dc7db2d527e04578ea1d54</id>
<content type='text'>
</content>
</entry>
<entry>
<title>DRTVWR-418: Disable more needlessly fragile memory consumption tests.</title>
<updated>2017-09-20T21:11:06Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2017-09-20T21:11:06Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=1e49cd9b007ccb020c155b3d034793540e9e09ca'/>
<id>urn:sha1:1e49cd9b007ccb020c155b3d034793540e9e09ca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>DRTVWR-418: Disable another fragile llcorehttp memory-usage check.</title>
<updated>2017-08-15T20:31:17Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2017-08-15T20:31:17Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=2368c44a8e2b031e5a8ac199923a016915cfe96a'/>
<id>urn:sha1:2368c44a8e2b031e5a8ac199923a016915cfe96a</id>
<content type='text'>
</content>
</entry>
</feed>
