- 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.
-
- 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
-
- 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 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
-
- May 23, 2013
-
-
Nat Goodspeed authored
Introduce LLCoros::setStackSize(), with a compile-time default value we hope we never have to use. Make LLAppViewer call it with the value of the new settings variable CoroutineStackSize as soon as we've read settings files. (While we're at it, notify interested parties that we've read settings files.) Give CoroutineStackSize a default value four times the previous default stack size. Make LLCoros::launch() pass the saved stack size to each new coroutine instance. Re-enable lleventcoro integration test. Use LLSDMap() construct rather than LLSD::insert(), which used to return the modified object but is now void.
-
- May 05, 2013
-
-
Richard Linden authored
-
- May 01, 2013
-
-
Monty Brandenberg authored
The http_texture_load example program has some cpu usage gathering tools that should be generally useful and specifically for the deadman switch. Port these into llcommon into new all-static class LLProcInfo. Add unit test, etc.
-
- Apr 11, 2013
-
-
Richard Linden authored
-
- Apr 09, 2013
-
-
Monty Brandenberg authored
Will be used for mesh, inventory, etc., operation markers.
-
- Mar 29, 2013
-
-
Graham Madarasz authored
-
Graham Madarasz authored
-
- Mar 27, 2013
-
-
Graham Madarasz authored
-
- Mar 13, 2013
-
-
Don Kjer authored
Large changes to the LLCurl::Responder API, as well as pulling in some changes to common libraries from the server codebase: * Additional error checking in http handlers. * Uniform log spam for http errors. * Switch to using constants for http heads and status codes. * Fixed bugs in incorrectly checking if parsing LLSD xml resulted in an error. * Reduced spam regarding LLSD parsing errors in the default completedRaw http handler. It should not longer be necessary to short-circuit completedRaw to avoid spam. * Ported over a few bug fixes from the server code. * Switch mode http status codes to use S32 instead of U32. * Ported LLSD::asStringRef from server code; avoids copying strings all over the place. * Ported server change to LLSD::asBinary; this always returns a reference now instead of copying the entire binary blob. * Ported server pretty notation format (and pretty binary format) to llsd serialization. * The new LLCurl::Responder API no longer has two error handlers to choose from. Overriding the following methods have been deprecated: ** error - use httpFailure ** errorWithContent - use httpFailure ** result - use httpSuccess ** completed - use httpCompleted ** completedHeader - no longer necessary; call getResponseHeaders() from a completion method to obtain these headers. * In order to 'catch' a completed http request, override one of these methods: ** httpSuccess - Called for any 2xx status code. ** httpFailure - Called for any non-2xx status code. ** httpComplete - Called for all status codes. Default implementation is to call either httpSuccess or httpFailure. * It is recommended to keep these methods protected/private in order to avoid triggering of these methods without using a 'push' method (see below). * Uniform error handling should followed whenever possible by calling a variant of this during httpFailure: ** llwarns << dumpResponse() << llendl; * Be sure to include LOG_CLASS(your_class_name) in your class in order for the log entry to give more context. * In order to 'push' a result into the responder, you should no longer call error, errorWithContent, result, or completed. * Nor should you directly call httpSuccess/Failure/Completed (unless passing a message up to a parent class). * Instead, you can set the internal content of a responder and trigger a corresponding method using the following methods: ** successResult - Sets results and calls httpSuccess ** failureResult - Sets results and calls httpFailure ** completedResult - Sets results and calls httpCompleted * To obtain information about a the response from a reponder method, use the following getters: ** getStatus - HTTP status code ** getReason - Reason string ** getContent - Content (Parsed body LLSD) ** getResponseHeaders - Response Headers (LLSD map) ** getHTTPMethod - HTTP method of the request ** getURL - URL of the request * It is still possible to override completeRaw if you want to manipulate data directly out of LLPumpIO. * See indra/llmessage/llcurl.h for more information.
-
- Mar 11, 2013
-
-
Graham Madarasz authored
Moved LLAlignedArray from llmath to llcommon and put template func impls in header to work around Mac 4.3.3 link issue.
-
- Mar 01, 2013
-
-
Graham Madarasz (Graham) authored
-
- Jan 11, 2013
-
-
Richard Linden authored
moved thread local storage to its own cpp file
-
- Jan 09, 2013
-
-
Richard Linden authored
fix for linux build issues
-
- Jan 03, 2013
-
-
Richard Linden authored
made fast timer stack thread local added LLThreadLocalSingleton made LLThreadLocalPointer obey pointer rules for const added LLThreadLocalSingletonPointer for fast thread local pointers
-
- Dec 07, 2012
-
-
Richard Linden authored
improved unit tests for LLUnit renamed LLUnit to LLUnitImplicit with LLUnit being reserved for explicit units
-