summaryrefslogtreecommitdiff
path: root/indra/viewer_components
AgeCommit message (Collapse)Author
2010-01-06EXT-3934: On SRV timeout, don't fail, proceed with original URI.Nat Goodspeed
2009-12-21EXT-3550 Fixed messages from login.cgi not being displayed.Mark Palange (Mani)
Handling message from "indeterminate" state - feeding them to the llprogressview. Handling showing error message from incomplete login.
2009-12-17EXT-3536 Bugfix in lllogin.cpp when reading 'indeterminate' repsonse from ↵Mark Palange (Mani)
login.cgi. Also fixed up lllogin unit test to match the bugfix. Reviewed by Brad
2009-12-08EXT-3158 - Removing logging of users password hash from new login code.Mark Palange (Mani)
Reviewed by Brad
2009-12-04DEV-43463: use fixed Boost package on WindowsNat Goodspeed
2009-12-04DEV-43463: skip() instead of commenting out lllogin_testsNat Goodspeed
2009-12-03Fix to windows build breakages.Mark Palange (Mani)
Reviewed by Brad
2009-11-30DEV-43463: Keep LLEventPump's LLStandardSignal alive during post()Nat Goodspeed
Replace LLEventPump's boost::scoped_ptr<LLStandardSignal> with boost::shared_ptr. Take a local stack copy of that shared_ptr in post() methods, and invoke the signal through that copy. This guards against scenario in which LLEventPump gets destroyed during signal invocation. (See Jira for details.) Re-enable Mani's test case that used to crash. Introduce ll_template_cast<> to allow a template function to recognize a parameter of a particular type. Introduce LLListenerWrapper mechanism to support wrapper objects for LLEventPump listeners. You instantiate an LLListenerWrapper subclass object inline in the listen() call (typically with llwrap<>), passing it the real listener, trusting it to forward the eventual call. Introduce prototypical LLCoutListener and LLLogListener subclasses for illustrative and diagnostic purposes. Test that LLLogListener doesn't block recognizing LLEventTrackable base class bound into wrapped listener.
2009-11-12Temporary build un breakage - removing broken unit test from build while fixing.Mark Palange (Mani)
2009-11-12DEV-42715 Fixed lllogin SRV request timeout unit test.Mark Palange (Mani)
Also made SRV config options not persistent. reviewed by brad
2009-11-11Changes to fix an LLERRS caused by SRV request timeout.Mark Palange (Mani)
Added settings to config SRV request params Increased timeout to 10 seconds Changed timeout to generate login failure event instead of an error. Added unit test to cover SRV failure event.
2009-11-09Changed SRV Request timeout to respond with an event instead of an errorMark Palange (Mani)
2009-10-09DEV-40930: Added ["change"] key to login-module status events. ChangedNat Goodspeed
existing event calls to use state as "offline" or "online", with "change" indicating the reason for this status event. Changed disconnect() to send state "offline", change "disconnect" -- instead of replaying last auth failure. Changed unit tests accordingly. Changed LLLoginInstance::handleLoginEvent() to use LLEventDispatcher to route calls to handleLoginFailure() et al. Added LLEventDispatcher::get() to allow retrieving Callable by name and testing for empty().
2009-09-25DEV-32777, QAR-1619: Disable MSVC Release-build optimization for ↵Nat Goodspeed
LLCoros::launchImpl(). This fixes the Release-build crash in lllogin_test.cpp.
2009-07-10Brad's changes to testquit so we can pass executable to run to it.Palmer
Switching eventlet to use subrepo. By Brad, reviewed by Palmer
2009-06-30Added hack for fetching eventlet in place of svn:externals.brad kittenbrink
2009-06-25Fix remaining Mac build errorsNat Goodspeed
2009-06-22Switch to new unit test infrastructureBryan O'Sullivan
2009-06-18First pieces of event host module (DEV-31978).Brad Kittenbrink
Basically implements the spec nat decribed in the jira. Test coverage isn't yet complete though. mostly paired with nat.
2009-06-17DEV-32777: tip won't even build on Windows without pacifying MSVC warningNat Goodspeed
2009-06-04DEV-32777: Use a canonical boost::coroutines::coroutine signature, relying onNat Goodspeed
boost::bind() to pass any other coroutine arguments. This allows us to remove the LLCoroBase and LLCoro constructs, directly storing a coroutine object in our ptr_map. It also allows us to remove the multiple launch() overloads for multiple arguments. Finally, it lets us move most launch() functionality into a non-template method.
2009-06-04DEV-32777: When launching login coroutine, instead of binding _2, _3Nat Goodspeed
placeholders and then asking Boost.Coroutine to pass parameters to them, simply bind the desired values.
2009-06-04DEV-32777: Make coroutine's top-level function accept value params, notNat Goodspeed
reference params.
2009-06-03DEV-32777: Introduce LLCoros, an LLSingleton registry of named coroutineNat Goodspeed
instances. LLCoros::launch() intends to address three issues: - ownership of coroutine instance - cleanup of coroutine instance when it terminates - central place to twiddle MSVC optimizations to bypass DEV-32777 crash. Initially coded on Mac; will address the third bullet on Windows. Adapt listenerNameForCoro() to consult LLCoros::getName() if applicable. Change LLLogin::Impl::connect() to use LLCoros::launch(). LLCoros::getName() relies on patch to boost::coroutines::coroutine::self to introduce get_id().
2009-05-28DEV-31892: rev 119315 got lost somewhere along the way?! Reapplying.Nat Goodspeed
2009-05-28DEV-32777: ensure that stack objects listening on persistent LLEventPumps getNat Goodspeed
properly disconnected when destroyed. Break out Debug class and associated macros from lleventcoro_test.cpp into test/debug.h. Add Debug output to lllogin_test.
2009-05-14Remove silly std::cout debugging outputNat Goodspeed
2009-05-11svn merge -r113003:119136 ↵Nat Goodspeed
svn+ssh://svn.lindenlab.com/svn/linden/branches/login-api/login-api-2 svn+ssh://svn.lindenlab.com/svn/linden/branches/login-api/login-api-3