summaryrefslogtreecommitdiff
path: root/indra/newview/lllogininstance.cpp
AgeCommit message (Collapse)Author
2009-11-11Add LLEventAPI class, formalizing the mechanism by which we wrap a C++ APINat Goodspeed
with an event API. In addition to the LLEventPump name on which to listen, LLEventAPI accepts a documentation string for event API introspection. Give every LLEventDispatcher::add() overload a new documentation string parameter for event API introspection. Convert every existing event API to new conventions, introducing suitable documentation strings for the API and each of its operations.
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-11QAR-1619: Remove unneeded llfloatertos.h #includes.Nat Goodspeed
Neither lllogininstance.cpp nor lllogininstance_test.cpp need llfloatertos.h any more, since LLLoginInstance talks to LLFloaterTOS only via LLFloaterReg and LLEventPumps. However, both sources depended on llfloatertos.h dragging in llnotifications.h, so include that explicitly instead of llfloatertos.h.
2009-09-01Fixups for eol-style copy pasta...brad kittenbrink
2009-08-31Post-merge cleanups (ported llstartup.cpp changes to where the surrounding ↵brad kittenbrink
code has been moved to in LLLoginInstance and LLAppViewer)
2009-08-11Better solution for fixing up the LLFloaterTOS callback after the last ↵brad kittenbrink
viewer-2.0.0-3 merge. LLFloaterTOS and LLLoginInstance now communicate through an event pump "lllogininstance_tos_callback". reviewed by Mani.
2009-08-06Merged in partial rollback of LLFloaterTOS post-merge fixes.brad kittenbrink
2009-08-06Backed out changeset bfb246df4655: rolling back LLFloaterTOS post-merge ↵brad kittenbrink
fixups because they didn't work on linux.
2009-08-05Fixups after the latest merge with viewer-2.0.0-3. Updated LLLoginInstance ↵brad kittenbrink
to use the new LLFloaterReg way of getting hold of floaters.
2009-07-31Fixups for conflicts that got dropped in the changeset 486d51877332 merge of ↵brad kittenbrink
viewer-2.0.0-3 with login-api. Mostly code that had been modified in viewer-2.0.0-3 that had been moved elsewhere in login-api.
2009-07-28Fix Linux compile problemNat Goodspeed
2009-07-24Adding LLLoginInstance unit test.Mark Palange (Mani)
- Added LLNotificationsInterface class. - Removed LLLoginInstance use of LLNotifications EventAPI
2009-07-22Adding LLLoginInstance unit testMark Palange (Mani)
2009-06-23QAR-1619: fix Linux-only missing #include (Linux-only reference to LLTrans)Nat Goodspeed
2009-05-13svn 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 (finish)
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