Commit Graph

35 Commits (8f892d0f36fda170a5cecf0aea89887d6d0e45ef)

Author SHA1 Message Date
Roxie Linden 658ccc3e85 Re-insert backed out SLE checkin so we can fix it 2010-04-07 11:08:04 -07:00
Tofu Linden 0bb3f144c0 Backed out changeset 63b699f90efd 2010-04-07 10:37:07 +01:00
Roxie Linden 6bb43e1369 Automated merge up from viewer 2.0 trunk.
Some llvoiceclient changes duplicated changes that had already been
made in the voice modularization refactor, so the refactor versions
were used.
2010-02-24 17:04:48 -08:00
Nat Goodspeed 7b03037cac EXT-4193: Use different reply pumps for SRV and XMLRPC requests.
This eliminates the timing hole (introduced by EXT-3934 fix) in which a
belated SRV response could confuse the XMLRPC response code.
Extend unit tests to positively drive the bug and validate the fix.
2010-01-12 15:27:01 -05:00
Nat Goodspeed 0f89155e29 EXT-3934: On SRV timeout, don't fail, proceed with original URI. 2010-01-06 10:08:02 -05:00
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
Mark Palange (Mani) be49b8bed5 EXT-3158 - Removing logging of users password hash from new login code.
Reviewed by Brad
2009-12-08 16:57:45 -08:00
Nat Goodspeed fde12f0204 DEV-43463: use fixed Boost package on Windows 2009-12-04 17:32:09 -05:00
Nat Goodspeed be9480ab77 DEV-43463: skip() instead of commenting out lllogin_tests 2009-12-04 16:38:12 -05:00
Mark Palange (Mani) 5729a0a6a3 Fix to windows build breakages.
Reviewed by Brad
2009-12-03 13:11:35 -08:00
Nat Goodspeed 7b6ddb4106 DEV-43463: Keep LLEventPump's LLStandardSignal alive during post()
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-30 12:57:45 -05:00
Mark Palange (Mani) 9054f31f89 Temporary build un breakage - removing broken unit test from build while fixing. 2009-11-12 18:56:55 -08:00
Mark Palange (Mani) f9f2852ff2 DEV-42715 Fixed lllogin SRV request timeout unit test.
Also made SRV config options not persistent.
reviewed by brad
2009-11-12 09:19:32 -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
Mark Palange (Mani) 2b5faa0b9c Changed SRV Request timeout to respond with an event instead of an error 2009-11-09 13:12:43 -08: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 ec52e19dd1 DEV-32777, QAR-1619: Disable MSVC Release-build optimization for LLCoros::launchImpl().
This fixes the Release-build crash in lllogin_test.cpp.
2009-09-25 10:55:25 -04:00
Roxanne Skelly ff52ac089f DEV-34822 viewer 1.23 merge
DEV-32649 Merge the diamondware/vivox voice code
-r124876
-r125220
2009-07-15 21:50:42 +00:00
Palmer 8b7f7143d6 Brad's changes to testquit so we can pass executable to run to it.
Switching eventlet to use subrepo.

By Brad, reviewed by Palmer
2009-07-10 14:53:11 -07:00
Roxanne Skelly 9e89819d55 DEV-34822 - merge with 1.23
certificate notification code
-r 118191

ignore-dead-branch
2009-07-08 00:45:17 +00:00
Roxie Linden fe71dd340a Merge giab-viewer-trunk 2497, general merge of more
secapi stuff as well as certificate handling stuff.
Grid manager as well
2010-02-01 15:10:19 -08:00
brad kittenbrink 7c1742ec7d Added hack for fetching eventlet in place of svn:externals. 2009-06-30 19:12:39 -04:00
Nat Goodspeed c5368c6368 Fix remaining Mac build errors 2009-06-25 09:49:24 -04:00
Bryan O'Sullivan 5d7992d249 Switch to new unit test infrastructure 2009-06-22 16:05:57 -07:00
Brad Kittenbrink 8a8edfd98c First pieces of event host module (DEV-31978).
Basically implements the spec nat decribed in the jira.
Test coverage isn't yet complete though.

mostly paired with nat.
2009-06-18 23:42:51 +00:00
Nat Goodspeed ad40d64b0e DEV-32777: tip won't even build on Windows without pacifying MSVC warning 2009-06-17 15:13:48 +00:00
Nat Goodspeed 820d4a20d1 DEV-32777: Use a canonical boost::coroutines::coroutine signature, relying on
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-04 16:01:40 +00:00
Nat Goodspeed a3d54c48c6 DEV-32777: When launching login coroutine, instead of binding _2, _3
placeholders and then asking Boost.Coroutine to pass parameters to them,
simply bind the desired values.
2009-06-04 02:37:59 +00:00
Nat Goodspeed 46291bf740 DEV-32777: Make coroutine's top-level function accept value params, not
reference params.
2009-06-04 01:59:31 +00:00
Nat Goodspeed 285613b892 DEV-32777: Introduce LLCoros, an LLSingleton registry of named coroutine
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-06-03 21:38:21 +00:00
Nat Goodspeed 7915162b96 DEV-31892: rev 119315 got lost somewhere along the way?! Reapplying. 2009-05-28 22:53:21 +00:00
Nat Goodspeed c607752a9d DEV-32777: ensure that stack objects listening on persistent LLEventPumps get
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-28 21:25:58 +00:00
Nat Goodspeed cb5918df31 Remove silly std::cout debugging output 2009-05-14 20:50:50 +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