Commit Graph

16979 Commits (d76df3df791938bd97087a65ee9cb6785fd13df8)

Author SHA1 Message Date
Sean Dague 7943ae48f5 move the lock out a bit further in the ProccessAssetCache loop to reduce
the number of times we are going to take this lock in a row (which is
just wasted resource), and to keep us from attempting to array access a
list which might be changing right now.  Extremely curious if this helps
prevent some of our mono segfaults.
2009-04-23 17:53:18 +00:00
Sean Dague 31bded51fb based on recent unit test output, put some extra checking in the
RunAssetCache error code
2009-04-23 17:38:08 +00:00
Dr Scofield 07b435b2b9 From: Alan Webb <alan_webb@us.ibm.com>
Cleanup tabs and spacing.
2009-04-23 14:38:55 +00:00
Dr Scofield 4b7a208559 From: Alan M Webb <alan_webb@us.ibm.com>
Some other IRC timing wrinkles  showed up:

[1] If connect processing blocked in socket activation, then
    the watch dog saw the session as connected, and eventually
    tried to ping, but because the socket create was still
    blocked, it barfed on a null reference. This then drove
    reconnect. Changed the watchdog handler so that it only
    tries to ping connections that are connected and not pending.
[2] If the socket creation actually fails, then the connect and
    pending flags were reset. This resulted in the connection
    being retried at the earliest possible opportunity. The
    longer login-timeout is preferrable, so the status flags
    are not reset, and the failed login is eventually timed
    out.
[3] The Inter-connection interval is primed so that the first
    session can connect without delay.
2009-04-23 09:06:36 +00:00
Jeff Ames 1e54b0642e Update svn properties. 2009-04-23 07:00:27 +00:00
Teravus Ovares 77bd7da9cc * Fix another crash bug in the FreeSwitchVoiceModule 2009-04-23 06:31:32 +00:00
Teravus Ovares dc640465a8 * Tweaking the dialstring so the sip_contact_user variable is set to the dialed user. This stops the client from complaining and might be useful later. Resolves the 'unable to parse id from mod_sofia@ip:port' message. 2009-04-23 05:22:02 +00:00
Adam Frisby f03cc3ab0e * Adds missing IClientAPI member. (Plz be adding new members to IClientCore!) 2009-04-23 05:13:45 +00:00
Adam Frisby 2af4ca44a6 * Adds additional background layer for VWoHTTP ClientStack
* Implements asset handling.
2009-04-23 04:51:29 +00:00
Justin Clarke Casey bd8e4a8892 * Fix hypergrid standalone login by overriding AddNewUserAgent in HGUserServices 2009-04-22 23:04:32 +00:00
Justin Clarke Casey 342126b7b9 * Resolve http://opensimulator.org/mantis/view.php?id=3509 by putting some service initialization into CommsManager
* What is really needed is a plugin and interface request system as being done for region modules
2009-04-22 22:19:43 +00:00
Justin Clarke Casey 4254733e8a * Resolve http://opensimulator.org/mantis/view.php?id=3509 by passing up the comms manager rather than null 2009-04-22 20:09:45 +00:00
Justin Clarke Casey c25ceb009e * minor: remove some compiler warnings 2009-04-22 19:43:58 +00:00
Charles Krinke 0f08f4cc4b Thank you kindly, TLaukkan, for a patch that:
Adds connectivity to grid regions. 
* Fixed UserService cast.
* Added exception handling to avoid mxp message handling 
thread to exit and hang the module on unhandled exception.
2009-04-22 19:27:35 +00:00
Justin Clarke Casey 4c80685563 * Allow plugins to play nicely in UserManagerBase
* Some methods were returning the value of the first plugin queried, even if the return was null
* Other methods are probably best off querying more than one plugin and aggregating results
2009-04-22 19:26:18 +00:00
Sean Dague e0160e5640 add if exists to the drop table 2009-04-22 19:23:38 +00:00
Sean Dague b0ac6cd0e0 add cleardb to estate tests 2009-04-22 19:11:54 +00:00
Sean Dague 45b90ceef1 ensure we've got a clean data environment prior to running the region
tests
2009-04-22 19:00:40 +00:00
Justin Clarke Casey 8ca805009b * Fix the other windows build break. Hopefully that shoudl be the last one 2009-04-22 18:48:49 +00:00
Justin Clarke Casey 3ace45a839 * Fix windows build from last commit 2009-04-22 18:36:45 +00:00
Justin Clarke Casey 2c81e41c8a * Fission OGS1UserServices into user service and OGS1 user data plugin components
* Make OGS1UserServices inherit from UserManagerBase
* This allows grid mode regions to use the same user data plugin infrastructure as grid servers and standalone OpenSims
2009-04-22 18:15:43 +00:00
Dr Scofield 7dbcf0570f From: Alan Webb <alan_webb@us.ibm.com>
Changes to enable script state persistence across non-restart
serialization situations (inventory/OAR/attachments)

Also fixing test cases for OAR and IAR so they don't barf with the new code.
2009-04-22 18:09:55 +00:00
Dr Scofield d455d579d0 more cleanup 2009-04-22 18:00:59 +00:00
Dahlia Trimble d2bf957b13 Thanks tlaukkan for a patch that Fixes asset cache url forming for MXP join response message. Addresses Mantis #3505 2009-04-22 17:09:56 +00:00
Charles Krinke 84602c9480 Thank you kindly, Marcus Llewellyn, for a patch that:
An attachment with the physical checkbox checked will not allow the 
phantom checkbox to be cleared. This interfers with scripting 
functions such as llMoveToTarget(), which won't work while an object 
is phantom. If the prim containing the script is rezzed to the ground, 
it will then allow the phantom checlbox to be cleared, and the script 
works as expected.
2009-04-22 14:44:19 +00:00
Sean Dague d35c86928d remove the bamboo build file, bamboo is dead, long live panda :) 2009-04-22 12:23:00 +00:00
Sean Dague 026dce23ad fix line endings on new files 2009-04-22 12:22:05 +00:00
Sean Dague 99a1f47c1e fix the build break, thankes mikkopa for pointing out the quick change
to address this.
2009-04-22 12:14:13 +00:00
Adam Frisby d6b62b677c * Committing stub VW-over-HTTP ClientStack. (2/2)
* Minor MRM tweak.
2009-04-22 10:11:12 +00:00
Adam Frisby 03c307ecdb * Committing stub VW-over-HTTP ClientStack. (1/2)
* Nonfunctional, but eventually form a AJAX-accessible client protocol - for clients written in environments which only allow HTTP (eg HTML, Silverlight, Flash, etc). Designed for super-lightweight clients.
2009-04-22 10:10:19 +00:00
Dr Scofield 956be49238 further cleanup (lower casing non-public vars and local vars) 2009-04-22 10:03:38 +00:00
Dr Scofield 458f7eb9b3 cleaning up, fixing warnings 2009-04-22 09:42:44 +00:00
Teravus Ovares 2ebedc5c29 * update example to reflect optional Well known hostname. 2009-04-22 06:09:11 +00:00
Teravus Ovares c397f05be7 * Some tweaks to the FreeSwitchModule to allow a well known hostname and avoid a double // in a path which causes account verification to fail
* The change shouldn't affect anyone who has it working currently and makes it a ton easier for everyone else to get it working.
* Handle a case when there's no Event-Calling-Function but it's obviously a REGISTER method
2009-04-22 06:07:39 +00:00
Melanie Thielker bd522720f7 Change the default for FreeSwitch Voice to disable. Most people don't have
the server, after all.
2009-04-22 02:17:59 +00:00
Melanie Thielker 338655e9d5 Fix loading notecards from LSL. The first time a notecard was accessed, the
ID returned from the call would differ from the one later sent
via dataserver(), causing AOs to fail.
2009-04-22 01:43:07 +00:00
Jeff Ames 6aa5d3904d Add copyright headers. Formatting cleanup. 2009-04-22 00:48:56 +00:00
Charles Krinke 5ea4faa6f2 Thank you kindly, MCortez, for a patch that:
* Refactors the xmlrpc calls to a single location to 
make it easier to debug and include alternative 
xmlrpc call mechanisms
* Includes an alternative xmlrpc call mechanism that 
sets HTTP Keep-Alive to false which solves nearly all 
System.Net exceptions on some windows environments
2009-04-21 20:44:17 +00:00
Justin Clarke Casey 607156cae8 * Comment out user profile cache update method for now 2009-04-21 20:12:33 +00:00
Charles Krinke 27c8cc5b1f Thank you kindly, TLaukkan for a patch that:
Added support for loading bare asset binaries (as opposed to 
xml encoded asset base) to both sandbox asset service and cable beach.
* Added support for enabling region asset service when mxp is enabled.
* Moved base http server content type defaulting before invocation of 
request handle method to allow for variable content type in the response.
2009-04-21 19:42:36 +00:00
Justin Clarke Casey 48720ea7a2 * extend user cache update test to check data backend 2009-04-21 16:21:15 +00:00
Dr Scofield 4a8313f14c culling AsteriskVoiceModule and SIPVoiceModule, now that we have
working FreeSwitchVoiceModule and soon will have a fully working
VivoxVoiceModule.
2009-04-21 16:06:16 +00:00
Charles Krinke 6bd8e1eb99 Thank you kindly, MPallari for a patch that:
This patch adds few properties to ScenePresence and 
thus allows region module or MRM script:
1. Force flying for avatar or,
2. Disable flying from avatar
2009-04-21 15:52:35 +00:00
Jeff Ames 13f5dd5f35 Update svn properties. 2009-04-21 15:30:03 +00:00
Justin Clarke Casey d2d0b9877f * Add the ability to update profiles via the cache, so that cached profiles don't become stale
* Add corresponding unit test
2009-04-21 15:21:27 +00:00
Dr Scofield f31a60bad7 From: Alan Webb <alan_webb@us.ibm.com>
Fixes IRC reconnect problem

When a session fails to establish, the login attempt eventually
times out and the login is retried. This should occur once every
25 seconds (to give the server plenty of time to respond). In fact
the interval was typically only 10 seconds, this was being caused
by a second reset that was being scheduled when the failed
listener thread was terminated. Because the second reset occurred
inside the ICC timeout, it eventually gets scheduled after only
10 seconds.

In addition to this, the connector was being added to the monitoring
twice. This was harmless, but entirely redundant.

Both of these problems have been fixed and tested. Each connector
now maintains a count of how often it has been reset. The listener
thread records this value on entry and checks for a change on exit.
If the counts are the same, then the listener is exiting and can
potentially reschedule the connection.
2009-04-21 13:17:34 +00:00
Adam Frisby 594c7c3eb1 * Implements Extensions to MRM. This allows Region Modules to insert new classes into OpenSim MRM's.
* Example in region module:
    Scene.GetModuleInterface<IMRMModule>.RegisterExtension<IMyInterface>(this);
* In the MRM:
    //@DEPENDS:MyExtensionModule.dll
    ...
    Host.Extensions<IMyInterface>.DoStuff();
2009-04-21 04:55:53 +00:00
Melanie Thielker 01a22d940f Change a bad use of a type name as a variable. Thanks, Fly-Man
Fixes Mantis #3497
2009-04-20 21:58:32 +00:00
Melanie Thielker d91330ea35 Add PlacesQuery packet 2009-04-20 20:43:48 +00:00
Teravus Ovares c5a3ff231f * It turns out vehicle Angular Motor direction is always in global space. 2009-04-20 17:46:37 +00:00