Age | Commit message (Collapse) | Author |
|
|
|
|
|
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().
|
|
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.
|
|
lleventcoro_test.cpp runs clean (as modified for new API), and all the rest
builds clean, but the resulting viewer is as yet untested.
|
|
|
|
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.
|
|
clang doesn't like finding HttpCoroutineAdapter::postFileAndYield(...) inside
the class definition for HttpCoroutineAdapter. It's much happier with plain
postFileAndYield(...).
|
|
|
|
|
|
|
|
Removed sdhandler from llagent.
Removed unused values from llacountingccostmgr
Fixed smart pontier creation in llfacebook
|
|
Changed language, appearance, and maturity to conform to use the adapter rather than the SDHandler
|
|
|
|
Group manager finished conversion.
Outfit folders coverted.
|
|
|
|
Viewer media routines to coroutine.
Post with raw respons in llcorehttputil
LLCore::Http added headers only option (applies only on get)
|
|
Changed debugging output from core utitl to string.
|
|
Partial conversion of group manager
clean up some debug code in web profiles.
|
|
Added JSON->LLSD converter
Added corohandler for JSON data
|
|
Fixed a stray reference (&) on URL that had crept into some coroutine definitions.
|
|
object wrapped in an LLSD object.
|
|
classified and click tracker,
Avatar hover height
Pass the http_results on successfull call back style completion as well.
|
|
these methods.
|
|
converted llfloaterregioninfo to use coroutine's and new LLCore::HTTP
|
|
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
|
|
|
|
Temp disable llmediaclient's unit tests for link issues.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wide char paths; on other platforms they are now just typedefs to the std classes
|
|
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.
|
|
Canceling outstanding polling transactions
|
|
Event polling as a coroutine. (incomplete)
Groundwork for canceling HttpCoroutineAdapter yields.
|
|
respectively
|
|
respectively
|
|
code into a single adapter.
|
|
|
|
Converted AccountingCostManager to use the new LLCore::Http library and coroutines.
|
|
|
|
|
|
|
|
|
|
|