summaryrefslogtreecommitdiff
path: root/indra/llmessage
AgeCommit message (Collapse)Author
2015-09-01MAINT-5575: Convert the Experience cache into a coro based singleton.Rider Linden
--HG-- branch : MAINT-5575
2015-08-31Some initial changes to convert the experience cache to a singletonRider Linden
--HG-- branch : MAINT-5575
2015-08-28MAINT-5575: Begin conversion to Singleton<> for Experience Cache. Commited ↵Rider Linden
on branch so that I don't trigger a build of it until I'm ready. --HG-- branch : MAINT-5575
2015-08-25MergeRider Linden
2015-08-24MAINT-4952: Removed a bit of debug code that got included accidentally and ↵Rider Linden
change host == LLHost() to host.isInvalid()
2015-08-18MAINT-5506: Establish circular dependency between LLMessage & LLCoreHttpRider Linden
2015-08-18MAINT-5506: Fix ugly timing bug in llurlentry static initialization.Nat Goodspeed
The problem was that class-static LLUrlEntryParcel::sRegionHost was being initialized by copying class-static LLHost::invalid. Naturally, these two statics are initialized in different source files. Since C++ makes no promises about the relative order in which objects in different object files are initialized, it seems we hit a case in which we were trying to initialize sRegionHost by copying a completely uninitialized LLHost::invalid. In general we might attempt to address such cross-translation-unit issues by introducing an LLSingleton. But in this particular case, the punch line is that LLHost::invalid is explicitly constructed identically to a default-constructed LLHost! In other words, LLHost::invalid provides nothing we couldn't get from LLHost(). All it gives us is an opportunity for glitches such as the above. Remove LLHost::invalid and all references, replacing with LLHost().
2015-08-17Boost coroutines conflicting with script compile in message.h. Only include ↵rider
boost/function
2015-08-17Get unit tests (Integration and project) compiling and linking again.Rider Linden
2015-08-14These tests are just causing a cascade of errors..rider
2015-08-14MAINT-5506: Forgot to remove LLFnPtrResponderRider Linden
2015-08-14MAINT-5506: Converted llmessage untrusted sim message responder to coroutine.Rider Linden
Removed HTTPSender, HTTPNullSender, HTTPCapSender. Moved UntrustedMessageCap storage into LLHost Added boost libraries to PROJECT_x_TEST linkage.
2015-08-12MAINT-5500: Finish converting the AIS responders to the new coroutine model, ↵Rider Linden
Cleaned up dead an unused code. MAINT-4952: Added COPY and MOVE methods to Core:Http adapter
2015-08-11MergeRider Linden
2015-08-04Merge downstream code and become version 3.8.3andreykproductengine
2015-08-04Merge viewer-release and become version 3.8.3AndreyL ProductEngine
2015-07-30Added patchAndYield to httputil adapterRider Linden
Converted All AISv3 commands (except copyLibrary) to coro model.
2015-07-30MAINT-5430 Crash LLAssetStorage::downloadCompleteCallbackandreykproductengine
2015-07-30MAINT-5430 Crash LLAssetStorage::downloadCompleteCallbackandreykproductengine
2015-07-14merge 3.8.0-release and correct xml errors caused by reformattingOz Linden
2015-07-11MAINT-5351: Finish messy merge restoring 'selfless' changes.Nat Goodspeed
2015-07-10Merge restore of more selfless changesNat Goodspeed
2015-07-10Backed out changeset bab1000e1b2d: restore 'selfless' changesNat Goodspeed
2015-07-10Merge restore of selfless changesNat Goodspeed
2015-07-10Backed out changeset 6e1fa9518747: reapply 'selfless' changesNat Goodspeed
2015-07-08Enforcing constness of refsRider Linden
2015-07-08This should be semantically the same thing that was there.Rider Linden
2015-07-08Replace ref parameter with valueRider Linden
2015-07-08Change HttpOptions::ptr_t to be shared_ptr<> rather than intrusive.Rider Linden
2015-07-08Convert LLCore::HttpHeaders to use shared_ptr<> rather than an ↵Rider Linden
intrusive_ptr<> for refrence counting.
2015-07-07MergeRider Linden
2015-07-07Backout selfles merge 738255dbbfd679d9e615baab3398e5e345bbb3c5Rider Linden
2015-07-07Backed out selfless mergeRider Linden
2015-07-04Automated merge with ssh://bitbucket.org/rider_linden/maint-4952-v-t-uNat Goodspeed
2015-07-02Temp disable llavatarnamecache integration test for linuxRider Linden
2015-07-02MAINT-5357: Introduce and populate llcoro:: namespace.Nat Goodspeed
To date, the coroutine helper functions in lleventcoro.h have been in the global namespace. Migrate them into llcoro namespace, and fix references. Specifically, LLVoidListener => llcoro::VoidListener, and voidlistener(), postAndWait(), both waitForEventOn(), postAndWait2(), errorException() and errorLog() have been moved into llcoro. Also migrate new LLCoros::get_self() and Suspending to llcoro:: namespace. While at it, I realized that -- having converted several lleventcoro.h functions from templates (for arbitrary 'self' parameter type) to ordinary functions, having moved them from lleventcoro.h to lleventcoro.cpp, we can now migrate their helpers from lleventcoro.h to lleventcoro.cpp as well. This eliminates the need for the LLEventDetail namespace; the relevant helpers are now in an anonymous namespace in the .cpp file: listenerNameForCoro(), storeToLLSDPath(), WaitForEventOnHelper and wfeoh().
2015-07-01MAINT-5351: Reorder llmessage test libraries to make Linux happy.Nat Goodspeed
Both BOOST_CONTEXT_LIBRARY and BOOST_COROUTINE_LIBRARY were mentioned. But as BOOST_COROUTINE_LIBRARY depends on BOOST_CONTEXT_LIBRARY, they must be mentioned in that order for Linux to successfully link the test programs.
2015-07-01MAINT-5351: Remove 'self' parameter from coroutine functions.Nat Goodspeed
lleventcoro_test.cpp runs clean (as modified for new API), and all the rest builds clean, but the resulting viewer is as yet untested.
2015-07-01MergeRider Linden
2015-06-30Automated merge with ssh://bitbucket.org/lindenlab/viewer-releaseNat Goodspeed
2015-06-29MAINT-4952: Use IntrusivePtr for BufferArray,HttpHeaders,HttpOptions.Nat Goodspeed
Specifically, change the ptr_t typedefs for these LLCore classes to use IntrusivePtr rather than directly using boost::intrusive_ptr. This allows us to use a simple ptr_t(raw ptr) constructor rather than having to remember to code ptr_t(raw ptr, false) everywhere. In fact, the latter form is now invalid: remove the now-extraneous 'false' constructor parameters.
2015-06-29Remove extraneous class qualification from method declaration.Nat Goodspeed
clang doesn't like finding HttpCoroutineAdapter::postFileAndYield(...) inside the class definition for HttpCoroutineAdapter. It's much happier with plain postFileAndYield(...).
2015-06-25Added file upload interface to core HTTP utils.Rider Linden
2015-06-25MAINT-5232: Make LLHTTPClientAdapter not be an LLSingleton.Nat Goodspeed
llhttpclientadapter_test.cpp starts its every test by explicitly instantiating a local LLHTTPClientAdapter object. This is an abuse of LLSingleton, and if it had been properly defined (private constructor), it should never have compiled. Looked at the other way, though, every known reference to LLHTTPClientAdapter instantiates a local object. Why did someone think it should be an LLSingleton in the first place? Remove LLSingleton<> as a base class; remove llsingleton.h. This makes llhttpclientadapter_test.cpp work just fine. One might also question what value this class adds. It seems to do very little -- but more significantly, the ONLY references in the source tree are its declaration, definition and test. Nobody actually uses it anywhere.
2015-06-17Coding policy fixesRider Linden
2015-06-09Removed dead code, llsdmessage, llcapabilitylistener and the associated tests.Rider Linden
2015-06-09Removed homelocation responder (rolled into llagent)Rider Linden
Removed sdhandler from llagent. Removed unused values from llacountingccostmgr Fixed smart pontier creation in llfacebook
2015-06-08Added a way to pass a policy Id to the coroadapter.Rider Linden
Changed language, appearance, and maturity to conform to use the adapter rather than the SDHandler
2015-06-08merge changes for 3.7.29-releaseOz Linden
2015-06-04Default headers added.Rider Linden
Group manager finished conversion. Outfit folders coverted.