summaryrefslogtreecommitdiff
path: root/indra/llmessage
AgeCommit message (Collapse)Author
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.
2015-06-03Remove vestigial httpclient.h include from files that no longer need it.Rider Linden
2015-05-27Memory leak (extra ref) in webprofileRider Linden
Viewer media routines to coroutine. Post with raw respons in llcorehttputil LLCore::Http added headers only option (applies only on get)
2015-05-23MAINT-5232: Make gMessageSystem an LLPounceable<LLMessageSystem*>.Nat Goodspeed
This will permit other subsystems to use gMessageSystem.callWhenReady() to (e.g.) register callbacks as soon as gMessageSystem is fully initialized.
2015-05-22Floater IM Session to trivial coroutine.Rider Linden
Changed debugging output from core utitl to string.
2015-05-22Removed dead HTTP client adapter codeRider Linden
Partial conversion of group manager clean up some debug code in web profiles.
2015-05-20Webprofile converted to coroutine.Rider Linden
Added JSON->LLSD converter Added corohandler for JSON data
2015-05-20MAINT-5232: Introduce SUBSYSTEM_CLEANUP() macroNat Goodspeed
and use it for existing LLSomeClass::cleanupClass() calls. This logs the fact of making the call, as well as making it.
2015-05-18Changed Avatar picker to use coroutine for find.Rider Linden
Fixed a stray reference (&) on URL that had crept into some coroutine definitions.
2015-05-15Address Nat's concerns about the const_cast<> and modification of a binary ↵Rider Linden
object wrapped in an LLSD object.
2015-05-14Converted the Server release notes URL,Rider Linden
classified and click tracker, Avatar hover height Pass the http_results on successfull call back style completion as well.
2015-05-14Make generic callback version of trivial GET/PUT methods. Make message use ↵Rider Linden
these methods.
2015-05-12Added trivial case GET and POST to the CoreHTTP UtilsRider Linden
converted llfloaterregioninfo to use coroutine's and new LLCore::HTTP
2015-05-11Updated feature manager downloader to coroutine.Rider Linden
Added "raw" coroutine handler (returns raw result as LLSD::Binary) and split out the guts of the get, put, etc methods. Moved getStatusFromLLSD from HttpCoroHandler into HttpCorutineAdapter
2015-04-30Crash logger changes to LLCore::HttpRider Linden
2015-04-28Converting llmediaclient to new order.Rider Linden
Temp disable llmediaclient's unit tests for link issues.
2015-04-20Flickr conversion.Rider Linden
2015-04-16Facebook conversion.Rider Linden
2015-04-15Merge viewer-releasesimon
2015-04-14Pull merge from lindenlab/viewer-tools-update (includes viewer-release)Merov Linden
2015-04-14Merged lindenlab/viewer-tools-update into defaultRider Linden
2015-04-13merge changes for 3.7.27-releaseOz Linden
2015-04-13MergeRider Linden
2015-04-13Formatting change to get past merge conflict.Rider Linden
2015-04-10Adding support for DELETE, PATCH and COPYRider Linden
2015-04-10restore the ll[io]fstream because we need them as wrappers on Windows for ↵Oz Linden
wide char paths; on other platforms they are now just typedefs to the std classes
2015-04-09Merge lindenlab/viewer-tools-updateMerov Linden
2015-04-09Added LL_WARNS_IF to llerror.hRider Linden
If the coro is given something other than a map from the http then move the return into a body section. Changed windlight to use a coroutine and the new LLCore::Http libarary. Extra comments into Event Polling.
2015-04-08Moved some LLEventPolling internal classes to a named namespaceRider Linden
Canceling outstanding polling transactions
2015-04-08Adding weak pointer support.Rider Linden
Event polling as a coroutine. (incomplete) Groundwork for canceling HttpCoroutineAdapter yields.
2015-04-07replace llifstream and llofstream with std::ifstream and std::ofstream ↵Oz Linden
respectively
2015-04-07convert llifstream and llofstream to std::ifstream and std::ofstream ↵Oz Linden
respectively
2015-04-07Results from code review with Nat. Consolidate some of the coroutine/http ↵Rider Linden
code into a single adapter.