Commit Graph

9049 Commits (ebb8111f6c414388e2877804295339550f6d0ce2)

Author SHA1 Message Date
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
Melanie Thielker dd0fa5745e It is possible that apacket is recieved before the clint stack is fully ready.
This causes a nullref we need to catch here.
2009-04-20 17:24:09 +00:00
Melanie Thielker 3340217320 Also make GroupsMessaging quit trying to run and reduce it's debug
spamming somewhat
2009-04-20 13:59:18 +00:00
Melanie Thielker 6a8fe8a84e Prevent a null ref if a notecard is not found 2009-04-20 13:56:16 +00:00
Melanie Thielker 489758f68a Make sure that the groups module is really disabled when it's not configured.
Fixes an issue where the presence of any groups section will make XmlRpcGroups
think it should hook client events.
2009-04-20 13:39:41 +00:00
Teravus Ovares b98f93212b * Prevent a vehicle crash 2009-04-20 06:56:53 +00:00
Teravus Ovares 21d4423030 * Allow passing of material type to physics engine
* Define low friction and medium bounce for Glass
2009-04-20 03:07:53 +00:00
Sean Dague 0da7c8a78c turn back on fail on error, otherwise we don't end up knowing that we
missed tests.
2009-04-19 19:32:42 +00:00
Homer Horwitz 5200a849f6 Reverting r9224. We don't have scripts in the SL sense (with binary and state).
Using this identifier prevents "our" scripts from working.
Reopens Mantis #3482, I'm afraid.
2009-04-19 18:30:02 +00:00
Charles Krinke aff38e2dd2 Thank you kindly, MPallari, for a patch that:
This patch adds new property to ScenePresence: SpeedModifier. 
With this, one can modify avatars speed from region module 
or MRM script.
2009-04-19 17:19:31 +00:00
Charles Krinke 088ed68562 Fixes Mantis#3489. Thank you kindly, MCortez for a patch that:
Group profile page is showing an empty dropdown for titles and
this patch fixes this.
2009-04-19 16:22:26 +00:00
Sean Dague ced15d6d83 turn off failonerror for the text-xml target, which should make picking
up the fail points easier.
2009-04-19 15:37:54 +00:00
diva 4f07370d94 Accounting for the changes introduced in AssetServerBase in r9143 related to starting the thread manually. Fixes mantis #3490. 2009-04-19 15:07:29 +00:00
Homer Horwitz be08c2d411 Change invType of scripts from "lsl_text" to "script". Fixes Mantis #3482. 2009-04-19 13:34:38 +00:00
Homer Horwitz 33e1316ced Terrain changes done via osTerrainSetHeight aren't shown immediately to the clients in
that region. I decided against sending the terrain on every call to osTerrainSetHeight
(which makes it abysmally slow), and added a osTerrainFlush instead, which should be
called after all the terrain-changes have been done. Changed some return types to
LSL types, too, and removed some end-of-line spaces.
2009-04-19 13:34:28 +00:00
Homer Horwitz 9c3ec87b97 Moved ITerrainModule and ITerainEffect to OpenSim.Region.Framework.Interfaces and added a TaintTerrain method 2009-04-19 13:33:46 +00:00
idb 716e1fe0e1 Keep IsColliding updated for the recent changes in ScenePresence so that walk/stand animations will get used instead of just falling 2009-04-19 12:28:29 +00:00
Teravus Ovares 03901c8c0d * Rudimentary angular motor implementation for the LSL Vehicle API 2009-04-19 08:12:10 +00:00
Dahlia Trimble 5f1fa0d3d7 Added a "force_simple_prim_meshing" option to the ODE settings in OpenSim.ini which will use meshes for collisions with simple prim shapes rather than internal ODE algorithms. This may help with Mantis #2905 and Mantis #3487 for those experimenting with capsule settings.
Note that this will increase memory usage and region startup time.
2009-04-19 01:21:38 +00:00
Charles Krinke a416e75ddb Thank you kindly, MCortez, for a patch that:
This hooks up the LandManagementModule to handle the DeedParcelToGroup 
packet. Now people can start testing land assigned to and owned by groups.
Also fixes a viewer crash issue when searching for and then joining a group 
with an agent that is not already being tracked by groups server.
2009-04-19 00:11:14 +00:00
diva 06f0515d14 Bug fix in HG asset posts. Get the inner assets not just from mem cache but from asset service, because the inner ones may not be in mem cache. 2009-04-18 22:46:48 +00:00
diva 5ae8ad55cd Little bug fix on the Groups module to get over an exception upon login. 2009-04-18 22:31:38 +00:00
Charles Krinke 659b55905d Thank you kindly, MCortez, for a patch that:
Added is a patch that adds a rough Groups implementation. This patch allows 
the creation, adding and maintaining Groups, Roles and Members. Work has begun 
on a very naive implementation of messaging, and minimal support for notifications 
{no attachments yet}. Proposals are not yet supported, but are on the to-do list.
This implementation is not active by default, and must be configured in 
OpenSim.ini to become active.
2009-04-18 21:33:48 +00:00
Melanie Thielker d285ccb5cf Allow reading of notecards by asset ID.
Fixes Manthis #3420
2009-04-18 19:08:35 +00:00
Charles Krinke 2578db3dfa Thank you kindly, RemedyTomm for a patch that:
Following feedback from 0003440, i've made some changes to the new texture pipeline to optimise
 performance. The changes are:
 - Fixed a math issue where a small percentage of images with a certain size (on the packet boundary) would not have their final data delivered. This issue has been present since pre- 0003440
 - It was suggested that a discardlevel of -1 and a prioriy of 0 meant to abandon the transfer, this is incorrect and caused some textures to clog.
 - The texture throttle blocking queue is now only filled in relation to the actual throttle amount.. i.e, on a connection throttled to 300k, only twenty packets will be placed in the queue at a time, on a larger connection it will be much more. This is to balance responsiveness to requests and speed, and to minimise wasted packets.
 - The engine now keeps track of the number of pending textures, and the stack will not be walked if there's no textures pending, saving CPU. Textures are only considered "pending" when they've already been decoded.
 - As part of the above, some textures may receive twice as much data per cycle if the number of pending textures is below the cycle threshold, this should prevent loading from slowing down when there are fewer textures in the queue.
2009-04-18 18:35:03 +00:00
idb 47d6dee657 Remove the default plywood texture from the library. Its presence can cause usability problems when selecting textures. The texture is still in assets and can still be applied using the "Default" button or by uuid from scripts. The removal may not shown up until after clearing the cache.
Fixes Mantis #3460
2009-04-18 17:31:57 +00:00
Dahlia Trimble 15b9c528c5 Add some documentation. (note this is *not* a thinly veiled attempt to increase my commit frequency *wink*) 2009-04-18 17:15:56 +00:00
Charles Krinke aa86305a41 Thank you kindly, StrawberryFride, for a patch that:
Adds a test to see if the first option on osDynamicTextureData is "AltDelim", 
then picks up the first character after the whitespace and uses as a delimiter 
instead of ;. If this string does not appear at the start of the data, the 
default ; will be used, hence this should not break existing code.
2009-04-18 17:05:51 +00:00
diva 8e08dd20dc Thank you dslake for diagnosing and fixing a race condition in OGS1SecureInventoryServer (mantis #3483). The provided patch was slightly modified to narrow the locking scope to smaller portions of the functions. Applied the same locking to HGInventoryService, which suffered from the same race condition. 2009-04-18 16:37:05 +00:00
diva b824e488ba Addresses mantis #3485. 2009-04-18 15:45:05 +00:00
idb 21d80b28aa Obtain the owner name for the X-SecondLife-Owner-Name header in llHTTPRequest when the owner is offline/not in the region.
Fixes Mantis #3454
2009-04-18 14:21:54 +00:00