Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-03-25 | DRTVWR-494: Use std::thread::id for LLThread::currentID(). | Nat Goodspeed | |
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. | |||
2019-11-12 | Merged in lindenlab/viewer-release | AndreyL ProductEngine | |
2019-09-10 | Merged in lindenlab/viewer-release | andreykproductengine | |
2019-09-04 | DRTVWR-493 Do not recreate proxy only to destroy it | andreykproductengine | |
2019-08-12 | Automated merge with file:///Users/nat/linden/viewer-catch | Nat Goodspeed | |
2019-08-12 | DRTVWR-493: Make catch_llerrs() a member of WrapLLErrs. | Nat Goodspeed | |
2019-08-10 | DRTVWR-493: Introduce test catch_what(), catch_llerrs() functions. | Nat Goodspeed | |
Use them in place of awkward try/catch test boilerplate. | |||
2019-07-24 | SL-4150 Rename htonmemcpy | andreykproductengine | |
2019-07-03 | DRTVWR-493 LLAvatarNameCache to singletone | andreykproductengine | |
2019-04-17 | Merged in lindenlab/viewer-release (EAM) | AndreyL ProductEngine | |
2019-03-01 | Merged in lindenlab/viewer-release | AndreyL ProductEngine | |
2019-01-15 | SL-10291 Replace apr_atomic with standard C++11 functionality | andreykproductengine | |
2019-01-17 | SL-10291 cleanup-mutex | andreykproductengine | |
2019-01-14 | SL-10291 Replace apr_mutex with standard C++11 functionality | andreykproductengine | |
2019-03-01 | Merged in lindenlab/viewer-release and incremented viewer version to 6.2.0 | AndreyL ProductEngine | |
2018-12-14 | SL-10153: Review and rationalize fetching paths from environment. | Nat Goodspeed | |
Use LLStringUtil::getenv() or getoptenv() whenever we fetch a string that will be used as a pathname. Use LLFile::tmpdir() instead of getenv("TEMP"). As an added extra-special bonus, finally clean up $TMP/llcontrol-test-zzzzzz directories that have been accumulating every time we run a local build! | |||
2018-11-14 | Merged in lindenlab/viewer-release | AndreyL ProductEngine | |
2018-09-27 | merge | Brad Payne (Vir Linden) | |
2018-09-27 | Merged in lindenlab/viewer-release | AndreyL ProductEngine | |
2018-08-30 | Restore the ability for sockets to specify the interface to listen on | Oz Linden | |
2018-08-28 | Backed out changeset: 871c2923afce | AndreyL ProductEngine | |
2018-08-17 | MAINT-5651 Froce-quit crash | andreykproductengine | |
2019-04-17 | SL-2797 SOCKS5 not working reliably | andreykproductengine | |
2018-08-08 | Add optional hostname param to LLSocket::create() for testing. | Nat Goodspeed | |
This allows the io.cpp test to listen only on the localhost loopback, avoiding the macOS 10.13.6 "allow listening for incoming connections" popup while running build-time tests that might halt an unattended TeamCity build. | |||
2018-06-22 | Merged lindenlab/viewer-release into default | Andrey Lihatskiy | |
2018-06-21 | merge | Brad Payne (Vir Linden) | |
2018-05-18 | MAINT-7626 EOF fix | AndreyL ProductEngine | |
2018-05-08 | MAINT-7626 Update logging and comments, sync remaining transfer changes | andreykproductengine | |
2018-05-08 | MAINT-7626 fix merge conflict2 | andreykproductengine | |
2018-05-07 | MAINT-7626 fix merge conflict | andreykproductengine | |
2018-05-04 | MAINT-7626 Incorporate transfer changes into viewer | andreykproductengine | |
2018-04-19 | MAINT-7626 Incorporate transfer changes into viewer | andreykproductengine | |
2018-04-14 | MAINT-8442 Increase the total number of Estate Managers from 10 to 15 | AndreyL ProductEngine | |
2018-05-18 | merge | Brad Payne (Vir Linden) | |
2018-04-10 | MAINT-8489 Remove/Cleanup LLIMInfo | Andrey Kleshchev | |
2018-03-02 | merge | Brad Payne (Vir Linden) | |
2018-02-13 | merge | Brad Payne (Vir Linden) | |
2018-03-07 | MAINT-8364 Fix for requestAvatarNameCache_ crash | andreykproductengine | |
2018-02-12 | Merged in lindenlab/viewer-release | AndreyL ProductEngine | |
2018-01-22 | MAINT-8210 Fixed crash in avatar name cache | andreykproductengine | |
2018-01-17 | merge 5.1.0-release | Oz Linden | |
2018-01-17 | merge | Brad Payne (Vir Linden) | |
2017-09-27 | MAINT-7081: Mention nghttp2 library wherever it must be mentioned. | Nat Goodspeed | |
2017-08-28 | merge | Brad Payne (Vir Linden) | |
2017-08-23 | merge changes for 5.0.7-release | Oz Linden | |
2017-08-16 | merge changes for DRTVWR-439 | Oz Linden | |
2017-08-08 | MAINT-7634: Logging and instrumentation canges to narrow down viewer crashes. | Rider Linden | |
2017-06-20 | merge | Brad Payne (Vir Linden) | |
2017-06-20 | merge changes for 5.0.6-release | Oz Linden | |
2017-06-20 | Merged in lindenlab/viewer-release | AndreyL ProductEngine | |