summaryrefslogtreecommitdiff
path: root/indra/llcommon
AgeCommit message (Collapse)Author
2013-03-13Cleanup per code review of prev change with DavePGraham Madarasz (Graham Linden)
2013-03-13Move fast memcpy to llcommon and use it in llalignedarray pushback on all ↵Graham Madarasz (Graham Linden)
platforms. Code Review: DaveP
2013-03-13Merging LLCURL::Responder changes with CHUI changes. Fixed gcc 4.6 compile ↵Don Kjer
failures
2013-03-13Large changes to the LLCurl::Responder API, as well as pulling in some ↵Don Kjer
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.
2013-03-12Better compat with non-Ubuntu distros (bare typedef sometimes conflicts with ↵Graham Madarasz
OS decl of same).
2013-03-11Clean up moving llalignedarray and fast memcpy to llcommonGraham Madarasz
2013-03-11Move 16b aligned memcpy and alignment utilities to llmem in llcommon for ↵Graham Madarasz
easier use elsewhere
2013-03-11Merged vwr-cat..#$%$% whitespace diffsGraham Madarasz
2013-03-11MergeGraham Madarasz
2013-03-11Moved LLAlignedArray from llmath to llcommon and put template func impls in ↵Graham Madarasz
header to work around Mac 4.3.3 link issue.
2013-03-11mergeprep
2013-03-11mergeprep
2013-03-11Viewer-chui mergeprep
2013-03-11Fix missing eol at eof in llstaticstringtable.h breaking linux buildGraham Madarasz (Graham)
2013-03-11Fix missing eol at eof in llinstancetracker.cpp tripping up linux buildGraham Madarasz (Graham)
2013-03-08Optimize interp code to elim hundreds of divides per frame and fix jitter bugs.Graham Madarasz (Graham)
2013-03-07Fix missing eol at eofGraham Madarasz (Graham)
2013-03-07Put newline at end of file to appease gcc's OCDGraham Madarasz (Graham)
2013-03-05Fixing issues with not detecting when LLSD XML parsing fails. Changing most ↵Don Kjer
http error handlers to understand LLSD error responses. Fleshing out most http error handler message spam.
2013-03-05Merged lindenlab/viewer-cat into defaultgraham linden
2013-03-04Automated merge with https://bitbucket.org/lindenlab/viewer-catDave Parks
2013-03-04Include signal.h instead of replicating typedef to avoid errors from ↵Graham Madarasz (Graham)
redefining it...provides better compat with non-Ubuntu distros
2013-03-04MAINT-2371 More optimizations.Dave Parks
Reviewed by Graham
2013-03-01Added missing enums for integ test usageGraham Madarasz (Graham)
2013-03-01Fix integration tests broken by instancetracker changesGraham Madarasz (Graham)
2013-03-01merge fix for unit test problem with some python configurationsOz Linden
2013-03-01Add llstaticstringtable.hGraham Madarasz (Graham)
2013-03-01Make WL updates use pre-hashed strings for uniform setsGraham Madarasz (Graham)
2013-03-01remove use of system llbase module in integration tests; always use the one ↵Oz Linden
from this tree
2013-02-28Attempt at a faster ThreadSafeRefCount classGraham Madarasz (Graham)
2013-02-28Modify LLInstanceTracker to avoid using a map of strings to find a map of ↵Graham Madarasz (Graham)
foo to find some pointers
2013-02-28Improve perf of GLSL uniform lookups by nameGraham Madarasz (Graham)
2013-02-25increment version to 3.5.1Oz Linden
2013-02-25increment minor version: 3.5.0Oz Linden
2013-02-22Merge new boost and add OS X 10.8 modsGraham Madarasz (Graham Linden)
2013-02-21MAINT-2389: Change viewer to Boost package without ucontext.h.Nat Goodspeed
In autobuild.xml, specify today's build of the Boost package that includes the Boost.Context library, and whose boost::dcoroutines library uses Boost.Context exclusively instead of its previous context-switching underpinnings (source of the ucontext.h dependency). Add BOOST_CONTEXT_LIBRARY to Boost.cmake and Copy3rdPartyLibs.cmake. Link it with the viewer and with the lllogin.cpp test executable. Track new Boost package convention that our (early, unofficial) Boost.Coroutine library is now accessed as boost/dcoroutine/etc.h and boost::dcoroutines::etc. Remove #include <boost/coroutine/coroutine.hpp> from llviewerprecompiledheaders.h and lllogin.cpp: old rule that Boost.Coroutine header must be #included before anything else that might use ucontext.h is gone now that we no longer depend on ucontext.h. In fact remove -D_XOPEN_SOURCE in 00-Common.cmake because that was inserted specifically to work around a known problem with the ucontext.h facilities.
2013-02-18Automated merge with https://bitbucket.org/lindenlab/viewer-chuiRichard Linden
2013-02-18CHUI-739 FIX FUI toolbars not displayed when switching between CHUI and ↵Richard Linden
release viewer param blocks no longer write enums as ints
2013-02-14CHUI-739 : Clean up : FUI toolbars not displayed when switching between CHUI ↵AlexanderP ProductEngine
and release viewer
2013-02-13CHUI-739 Fixed! FUI toolbars not displayed when switching between CHUI and ↵AlexanderP ProductEngine
release viewer : parsing declare values of Enums
2013-02-12merge up to 3.4.5-releaseOz Linden
2013-01-31merge workaround for llprocess test failuresOz Linden
2013-01-31workaround by skipping llprocess tests that frequently fail on WindowsOz Linden
2013-01-30Pull merge from lindenlab/viewer-developementMerov Linden
2013-01-25BUILDFIX: merge cleanupNyx Linden
A couple of merge issues that caused the resulting code to not build.
2013-01-24Merged with latest viewer-dev.Geenz
2013-01-24merging in viewer-beta.Nyx Linden
Most of the merge was clean, a couple conflicts. Brought over a couple patches manually for llpolymesh.
2013-01-22And thus, the demonic mouse position conversions from view space to screen ↵Geenz
space were tamed.
2013-01-10increment viewer version to 3.4.6Oz Linden
2013-01-10Merge pull from lindenlab/viewer-betaMerov Linden