<feed xmlns='http://www.w3.org/2005/Atom'>
<title>viewer.git/indra/llmessage/llbuffer.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>DRTVWR-494: Use std::thread::id for LLThread::currentID().</title>
<updated>2020-03-25T19:28:17Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2019-12-06T21:31:49Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=5e7df752a66b2082d063d2c4a10bc7013d479f55'/>
<id>urn:sha1:5e7df752a66b2082d063d2c4a10bc7013d479f55</id>
<content type='text'>
LLThread::currentID() used to return a U32, a distinct unsigned value
incremented by explicitly constructing LLThread or by calling LLThread::
registerThreadID() early in a thread launched by other means. The latter
imposed an unobvious requirement on new code based on std::thread. Using
std::thread::id instead delegates to the compiler/library the problem of
distinguishing threads launched by any means.

Change lots of explicit U32 declarations. Introduce LLThread::id_t typedef to
avoid having to run around fixing uses again if we later revisit this decision.

LLMutex, which stores an LLThread::id_t, wants a distinguished value meaning
NO_THREAD, and had an enum with that name. But as std::thread::id promises
that the default-constructed value is distinct from every valid value,
NO_THREAD becomes unnecessary and goes away.

Because LLMutex now stores LLThread::id_t instead of U32, make llmutex.h
#include "llthread.h" instead of the other way around. This makes LLMutex an
incomplete type within llthread.h, so move LLThread::lockData() and
unlockData() to the .cpp file. Similarly, remove llrefcount.h's #include
"llmutex.h" to break circularity; instead forward-declare LLMutex.

It turns out that a number of source files assumed that #include "llthread.h"
would get the definition for LLMutex. Sprinkle #include "llmutex.h" as needed.

In the SAFE_SSL code in llcorehttp/httpcommon.cpp, there's an ssl_thread_id()
callback that returns an unsigned long to the SSL library. When LLThread::
currentID() was U32, we could simply return that. But std::thread::id is very
deliberately opaque, and can't be reinterpret_cast to unsigned long.
Fortunately it can be hashed because std::hash is specialized with that type.
</content>
</entry>
<entry>
<title>SL-10291 Replace apr_mutex with standard C++11 functionality</title>
<updated>2019-01-14T20:04:44Z</updated>
<author>
<name>andreykproductengine</name>
<email>andreykproductengine@lindenlab.com</email>
</author>
<published>2019-01-14T20:04:44Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=26fae750ba753f32f58bd56d297f2d98c5759e50'/>
<id>urn:sha1:26fae750ba753f32f58bd56d297f2d98c5759e50</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://megapahit.org/viewer.git/commit/?id=c8726aba303bcf1207b730a344536e25491420bc'/>
<id>urn:sha1:c8726aba303bcf1207b730a344536e25491420bc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>merge with release</title>
<updated>2014-03-12T19:48:43Z</updated>
<author>
<name>Richard Linden</name>
<email>none@none</email>
</author>
<published>2014-03-12T19:48:43Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=5b846ed2a6dce6c5801aa74d0f36a1c7525fbcba'/>
<id>urn:sha1:5b846ed2a6dce6c5801aa74d0f36a1c7525fbcba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[MAINT-3555] Crash in LLPanel::~LLPanel() on shutdown</title>
<updated>2014-02-14T21:56:36Z</updated>
<author>
<name>Baker Linden</name>
<email>baker@lindenlab.com</email>
</author>
<published>2014-02-14T21:56:36Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=d7b902d57503dddca59c3d7a772e4f6a454afa7b'/>
<id>urn:sha1:d7b902d57503dddca59c3d7a772e4f6a454afa7b</id>
<content type='text'>
- Added clear() after DeletePointer() call to hopfully fix this...
</content>
</entry>
<entry>
<title>second phase summer cleaning</title>
<updated>2013-08-10T00:11:19Z</updated>
<author>
<name>Richard Linden</name>
<email>none@none</email>
</author>
<published>2013-08-10T00:11:19Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=e340009fc59d59e59b2e8d903a884acb76b178eb'/>
<id>urn:sha1:e340009fc59d59e59b2e8d903a884acb76b178eb</id>
<content type='text'>
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
</content>
</entry>
<entry>
<title>SH-4299 WIP: Interesting: High fps shown temporarily off scale in statistics console</title>
<updated>2013-07-08T07:55:17Z</updated>
<author>
<name>Richard Linden</name>
<email>none@none</email>
</author>
<published>2013-07-08T07:55:17Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=d122318bef2ff0eced7641dc24f411f792bd2935'/>
<id>urn:sha1:d122318bef2ff0eced7641dc24f411f792bd2935</id>
<content type='text'>
added percentage/ratio units
added auto-range and auto tick calculation to stat bar to automate display stats
</content>
</entry>
<entry>
<title>merge with viewer-release</title>
<updated>2013-06-06T02:05:43Z</updated>
<author>
<name>Richard Linden</name>
<email>none@none</email>
</author>
<published>2013-06-06T02:05:43Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=0a96b47663c99914c587cdcb8bcdc096bbf55fa3'/>
<id>urn:sha1:0a96b47663c99914c587cdcb8bcdc096bbf55fa3</id>
<content type='text'>
</content>
</entry>
</feed>
