Commit Graph

23 Commits (87f64b2d8deeeb415bf765268d35b0c0af76b61d)

Author SHA1 Message Date
Mark Palange (Mani) 87f64b2d8d EXT-3550 Fixed messages from login.cgi not being displayed.
Handling message from "indeterminate" state - feeding them to the llprogressview.
Handling showing error message from incomplete login.
2009-12-21 13:48:46 -08:00
Mark Palange (Mani) 18eea99b55 EXT-3536 Bugfix in lllogin.cpp when reading 'indeterminate' repsonse from login.cgi.
Also fixed up lllogin unit test to match the bugfix.
Reviewed by Brad
2009-12-17 17:52:06 -08:00
brad kittenbrink 724cbb8134 Made viewerclient.py a bit more robust against timing problems on startup.
It now successfully retries to connect on windows.
reviewed by nat.
2009-12-07 14:37:27 -08:00
Nat Goodspeed 8dda668fc4 Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0/ 2009-11-13 12:22:40 -05:00
Nat Goodspeed 2f97829aab Introduce LLEventDispatcher::begin()/end() to iterate over (name, desc) pairs
for all registered operations. (untested)
Introduce LLEventDispatcher::getMetadata(name) query so you can discover, for
a given named operation, its query string and required parameters. (untested)
Introduce LLEventDispatcher::add() convenience methods allowing you to omit
description strings. Fix LLLoginInstance (which uses a non-LLEventAPI
LLEventDispatcher) back to description-less add() calls.
However, filter LLEventDispatcher::add() methods inherited by LLEventAPI so
that an LLEventAPI subclass *must* provide a description string.
2009-11-12 20:11:53 -05:00
Mark Palange (Mani) a5f6da0975 merge 2009-11-12 09:26:54 -08:00
Mark Palange (Mani) 51e3a486c6 Changes to fix an LLERRS caused by SRV request timeout.
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-11 14:28:40 -08:00
Nat Goodspeed 062d0a13db Add LLEventAPI class, formalizing the mechanism by which we wrap a C++ API
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-11-11 07:41:50 -05:00
Nat Goodspeed e3a4e3dc10 DEV-40930: Added ["change"] key to login-module status events. Changed
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-10-09 19:42:59 -04:00
Nat Goodspeed 08f3ea28f5 QAR-1619: Remove unneeded llfloatertos.h #includes.
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-11 22:12:34 -04:00
brad kittenbrink 5e4edfb83f Fixups for eol-style copy pasta... 2009-09-01 13:12:17 -04:00
brad kittenbrink 81d3f7ec6b Post-merge cleanups (ported llstartup.cpp changes to where the surrounding code has been moved to in LLLoginInstance and LLAppViewer) 2009-08-31 20:00:09 -04:00
brad kittenbrink 8f4811f3fd Better solution for fixing up the LLFloaterTOS callback after the last viewer-2.0.0-3 merge.
LLFloaterTOS and LLLoginInstance now communicate through an event pump "lllogininstance_tos_callback".
reviewed by Mani.
2009-08-11 12:09:18 -04:00
brad kittenbrink 469836c4c7 Merged in partial rollback of LLFloaterTOS post-merge fixes. 2009-08-06 18:54:22 -07:00
brad kittenbrink e6c9f94438 Backed out changeset bfb246df4655: rolling back LLFloaterTOS post-merge fixups because they didn't work on linux. 2009-08-06 18:45:37 -07:00
brad kittenbrink 0bf8a15cc0 Fixups after the latest merge with viewer-2.0.0-3. Updated LLLoginInstance to use the new LLFloaterReg way of getting hold of floaters. 2009-08-05 18:39:02 -07:00
brad kittenbrink ec22197240 Fixups for conflicts that got dropped in the changeset 486d51877332 merge of 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-31 15:32:03 -07:00
Nat Goodspeed 91497c40c5 Fix Linux compile problem 2009-07-28 13:46:34 -07:00
Mark Palange (Mani) 9538328d5f Adding LLLoginInstance unit test.
- Added LLNotificationsInterface class.
 - Removed LLLoginInstance use of LLNotifications EventAPI
2009-07-24 15:08:16 -07:00
Mark Palange (Mani) db7f15df68 Adding LLLoginInstance unit test 2009-07-22 14:53:55 -07:00
Nat Goodspeed d4330d3396 QAR-1619: fix Linux-only missing #include (Linux-only reference to LLTrans) 2009-06-23 20:20:01 +00:00
Nat Goodspeed 3975de991d svn merge -r113003:119136 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-13 23:35:42 +00:00
Nat Goodspeed dc93462991 svn merge -r113003:119136 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 2009-05-11 20:05:46 +00:00