- Aug 24, 2018
-
-
Nat Goodspeed authored
Define the CMake cache variable, with empty string as its default. Make build.sh pass the BUGSPLAT_DB environment variable as a CMake command-line variable assignment. Change CMake 'if (DEFINED ENV{BUGSPLAT_DB})' to plain 'if (BUGSPLAT_DB)'. Make CMake pass new --bugsplat switch to every one of SIX different invocations of viewer_manifest.py. Give llmanifest.main() function an argument to allow supplementing the base set of command-line switches with additional application-specific switches. In viewer_manifest.py, define new --bugsplat command-line switch and pass to llmanifest.main(). Instead of consulting os.environ['BUGSPLAT_DB'], consult self.args['bugsplat'].
-
- Jun 14, 2018
-
-
Nat Goodspeed authored
Pass LL_BUGSPLAT into llapp.cpp compile to be able to detect that.
-
- May 17, 2018
-
-
Nat Goodspeed authored
Use WSTRINGIZE(), LL_TO_WSTRING(), wstringize() to produce required wide strings. Use a lambda for callback that sends log file; use LLDir, if set, to find the log file. Introduce BUGSPLAT CMake variable to allow suppressing BugSplat. Make BUGSPLAT CMake variable set LL_BUGSPLAT for C++ compilations. Set viewer version macros on llappviewerwin32.cpp, llappviewerlinux.cpp and llappdelegate-objc.mm -- because BugSplat needs the viewer version data, and because the macOS BugSplat hook is engaged in an Objective-C++ function we override in the app delegate.
-
- May 11, 2018
-
-
Nat Goodspeed authored
No C++ source in llcommon references any of the BugSplat code.
-
- Dec 14, 2017
-
-
Oz Linden authored
-
- Oct 24, 2017
-
-
callum_linden authored
-
- Oct 18, 2017
-
-
callum_linden authored
-
- Jul 28, 2017
-
-
Rider Linden authored
-
- May 10, 2017
-
-
Nat Goodspeed authored
For some reason there wasn't an entry in indra/llcommon/CMakeLists.txt to run the tests in indra/llcommon/tests/lleventfilter_test.cpp. It seems likely that at some point it existed, since all previous tests built and ran successfully. In any case, (re-)add lleventfilter_test.cpp to the set of llcommon tests. Also alphabetize them to make it easier to find a particular test invocation. Also add new tests for LLEventThrottle. To support this, refactor the concrete LLEventThrottle class into LLEventThrottleBase containing all the tricky logic, with pure virtual methods for access to LLTimer and LLEventTimeout, and an LLEventThrottle subclass containing the LLTimer and LLEventTimeout instances and corresponding implementations of the new pure virtual methods. That permits us to introduce TestEventThrottle, an alternate subclass with dummy implementations of the methods related to LLTimer and LLEventTimeout. In particular, we can explicitly advance simulated realtime to simulate particular LLTimer and LLEventTimeout behaviors. Finally, introduce Concat, a test LLEventPump listener class whose function is to concatenate received string event data into a composite string so we can readily test for particular sequences of events.
-
- Dec 01, 2016
-
-
Nat Goodspeed authored
The present CMake logic wants to pass FIXED:NO to the linker for 64-bit builds, which on the face of it seems like a Good Thing: it permits code to be relocated in memory, preventing collisions if two libraries happen to want to load into overlapping address ranges. However the way it's being specified is wrong and harmful. Passing /FIXED:NO to the compiler command line engages /FI (Forced Include!) of a nonexistent file XED:NO -- producing lots of baffling fatal compile errors. Thanks Callum for diagnosing this!
-
- Nov 15, 2016
-
-
Nat Goodspeed authored
autobuild 1.1 now supports expanding $variables within a config file -- support that was explicitly added to address this very problem. So now the windows platform in autobuild.xml uses $AUTOBUILD_ADDRSIZE, $AUTOBUILD_WIN_VSPLATFORM and $AUTOBUILD_WIN_CMAKE_GEN, which should handle most of the deltas between the windows platform and windows64. This permits removing the windows64 platform definition from autobuild.xml. The one remaining delta between the windows64 and windows platform definitions was -DLL_64BIT_BUILD=TRUE. But we can handle that instead by checking ADDRESS_SIZE. Change all existing references to WORD_SIZE to ADDRESS_SIZE instead, and set ADDRESS_SIZE to $AUTOBUILD_ADDRSIZE. Change the one existing LL_64BIT_BUILD reference to test (ADDRESS_SIZE EQUAL 64) instead.
-
- Oct 12, 2016
-
-
Nat Goodspeed authored
-
- Sep 03, 2016
-
-
Nat Goodspeed authored
We need LLSingleton machinery to be able to reference get_id() without also depending on all the rest of LLCoros -- since LLCoros isa LLSingleton.
-
- Aug 30, 2016
-
-
Nat Goodspeed authored
Introduce corresponding llcleanup.cpp, llinitdestroyclass.cpp modules to contain code that performs logging calls. Track class::method names for LLInitClass<T> and LLDestroyClass<T> subclasses, and log them when called. The order in which these calls occur could be relevant to bugs, and could surface the need to convert to LLSingleton dependencies.
-
- Aug 17, 2016
-
-
Nat Goodspeed authored
llexception_test.cpp is an unusual test source in that it need not be verified on every build, so its invocation in indra/llcommon/CMakeLists.txt is commented out with that remark. Its purpose is to help a developer decide what base class(es) to use for LLException, how to throw and how to catch. Our current conclusions are written up as comments in llexception_test.cpp. Added CRASH_ON_UNHANDLED_EXCEPTION() and LOG_UNHANDLED_EXCEPTION() macros to llexception.h -- macros to log __FILE__, __LINE__ and __PRETTY_FUNCTION__ of the catch site. These invoke functions in llexception.cpp so we don't need to #include llerror.h for every possible catch site.
-
- Jul 19, 2016
-
-
Nat Goodspeed authored
This also introduces LLContinueError for exceptions which should interrupt some part of viewer processing (e.g. the current coroutine) but should attempt to let the viewer session proceed. Derive all existing viewer exception classes from LLException rather than from std::runtime_error or std::logic_error. Use BOOST_THROW_EXCEPTION() rather than plain 'throw' to enrich the thrown exception with source file, line number and containing function.
-
- Apr 21, 2016
-
-
callum_linden authored
-
- Jan 26, 2016
-
-
Brad Payne (Vir Linden) authored
SL-315 WIP - added a call stack extractor for windows to help with tracing joint issues (of course, could be used for other things as well).
-
- Dec 18, 2015
-
-
Rider Linden authored
-
- Nov 20, 2015
-
-
Nat Goodspeed authored
-
- Nov 10, 2015
-
-
Oz Linden authored
-
- Oct 31, 2015
-
-
Nat Goodspeed authored
-
- Oct 17, 2015
-
-
Nat Goodspeed authored
because of Oz's suspicion that they may, in some mysterious way, contribute to code-signing failures.
-
- Aug 25, 2015
-
-
Rider Linden authored
-
- Aug 19, 2015
-
-
Rider Linden authored
-
- Jun 17, 2015
-
-
Rider Linden authored
-
- May 27, 2015
-
-
Nat Goodspeed authored
to a new llcommon/llinitdestroyclass.h. This mechanism is so general -- but has so many related moving parts -- that (a) it deserves to be in a header file all its own, instead of conflated with llui.h, and (b) it should be in llcommon where anyone can use it. It has no dependencies whatsoever on llui or anything viewer-specific. In this very changeset we changed one #include "llui.h" whose comment admits that it was only dragged in for LLDestroyClass.
-
- May 22, 2015
-
-
Nat Goodspeed authored
LLMuteList, an LLSingleton, overrides its getInstance() method to intercept control every time a consumer wants LLMuteList. This "polling" is to notice when gMessageSystem becomes non-NULL, and register a couple callbacks on it. Unfortunately there are a couple ways to request the LLMuteList instance without specifically calling the subclass getInstance(), which would bypass that logic. Moreover, the polling feels a bit dubious to start with. LLPounceable<T*> presents an idiom in which you can callWhenReady(callable) on the LLPounceable instance. If the T* is already non-NULL, it calls the callable immediately; otherwise it enqueues it for when the T* is set non-NULL. (This lets you "pounce" on the T* as soon as it becomes available, hence the name.) So if gMessageSystem were an LLPounceable<LLMessageSystem*>, LLMuteList's constructor could simply call gMessageSystem.callWhenReady() and relax: the callbacks would be registered either on LLMuteList construction or LLMessageSystem initialization, whichever comes later. LLPounceable comes with its very own set of unit tests. However, as of this commit it is not yet used in actual viewer code.
-
- May 20, 2015
-
-
Rider Linden authored
Added JSON->LLSD converter Added corohandler for JSON data
-
- Oct 22, 2014
-
-
callum_linden authored
-
- Oct 07, 2014
-
-
maksymsproductengine authored
-
- Apr 22, 2014
-
-
Graham Linden authored
Modify importer to (optionally) improve debug output, perform name-based LOD association, and handle models with many materials.
-
- Apr 08, 2014
-
-
Richard Linden authored
-
- Apr 04, 2014
-
-
Monty Brandenberg authored
-
Monty Brandenberg authored
SDL to 1.2.15, c-ares to latest 1.10.0 build, Boost to 1.55.0 with coroutine updates/fixes, curl to 7.34.0, libpng to 1.6.8, openssl to 1.0.1e, zlib to latest 1.2.8 build, llqtwebkit built from 4.7.1 sources refactored and tested in 3p-llqtwebkit2 repository. Windows is functional with a good number of warning messages at runtime from libpng and KDU. MoaP/slplugin functioning.
-
- Oct 03, 2013
-
-
Richard Linden authored
-
- Aug 27, 2013
-
-
Richard Linden authored
changed unit declarations macros to make a lot more sense
-
- Aug 22, 2013
-
-
Richard Linden authored
added unit tests for lltrace
-
- Jul 30, 2013
-
-
Richard Linden authored
consolidated most indra-specific constants in llcommon under indra_constants.h fixed issues with operations on mixed unit types (implicit and explicit) made LL_INFOS() style macros variadic in order to subsume other logging methods such as ll_infos added optional tag output to error recorders
-
- Jun 22, 2013
-
-
Richard Linden authored
pulled swap() out of ui time block cleaned up internal lltrace dependencies, factored out common accumulator definitions
-