Commit Graph

8116 Commits

Author SHA1 Message Date
Sean Dague
ca5da5face Merge branch 'groups-core-contrib' of git://github.com/mcortez/opensim into incoming 2009-08-07 11:07:41 -04:00
Adam Frisby
270ae50d70 * Implements MRM's Stop() interface member.
* MRM Scripts should do appropriate cleanup within this event, to allow for clean shutdowns and script updates. This means unbinding from events you are listening to, and releasing any resources.
2009-08-07 14:17:51 +10:00
Melanie
e49abf446a Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-08-07 03:05:46 +01:00
Melanie
f8d8366bfa Revert the XEngine memleak patch, it causes premature GC.
This matches behavior seen with an earlier attempt to do this, apparently
the sponsor mechanism does't work in Mono
2009-08-07 03:04:06 +01:00
Diva Canto
53ba245967 HGAuthenticationService must be a singleton, because it has in-memory state. This makes this singleton register with IScene, so that other parts can retrieve its reference. 2009-08-06 18:43:53 -07:00
Diva Canto
11c698af67 Added missing trailing slash in AuthenticationService. 2009-08-06 17:42:28 -07:00
Diva Canto
ea940d98f9 Added ToXml2() to ISceneObject, so that components other than regions can use this abstraction. 2009-08-06 16:41:24 -07:00
Melanie
91f6898b26 |From: James J Greensky <jame.j.greensky@intel.com>
|Date: Wed, 5 Aug 2009 09:51:52 -0700
|Subject: [PATCH] Closed two major memory leaks for scripted objects
|
|Two major memory leaks for the scripted objects were fixed
|- One leak had to do with remoting acrossing app domains.  When a script and
|  its controlling agent communicate across an application boundary, it calls
|  functions on a stub proxy object that then invokes the remote method on
|  the object in the other app domain. These stub objects (two for each script)
|  were setup to have infinate lifetimes and were never being garbage collected.
|- The second leak was the result of adding a scene object part instance method
|  to a scene event and never removing it.  This cause the event's delegate list
|  to maintain a link to that object which is then never freed as the scene event
|  object is never destroyed.

Patch applied, please direct feedback to me. Possible issue: Longtime idle
scripts like vendors may fail.
2009-08-06 22:03:20 +01:00
Justin Clark-Casey (justincc)
615e1ed285 goose panda 2009-08-06 20:04:40 +01:00
Justin Clark-Casey (justincc)
07e6a492a1 Disable all IAR tests for now due to possible failure-causing race condition 2009-08-06 19:35:52 +01:00
Michael Cortez
72e597bcba Merge branch 'master' into groups-core-contrib 2009-08-06 11:22:10 -07:00
Sean Dague
4078a331e2 Merge branch 'master' of git://opensimulator.org/git/opensim 2009-08-06 14:03:16 -04:00
Sean Dague
b0e6d0fc01 skip sqlite tests on z linux, as sqlite doesn't work right on the platform 2009-08-06 14:01:36 -04:00
Michael Cortez
2ac04cb624 Merge branch 'master' into groups-core-contrib 2009-08-06 09:38:51 -07:00
Michael Cortez
6244b8c384 Fixing comments re: INI file. 2009-08-06 09:34:30 -07:00
Melanie
efc57bc3d7 Allow arbitrary wildcards in config includes. Things like
Include-Modules = "addin-modules/*/config/*.ini" will now work.
Adds Util.Glob, which will resolve a globbed path into a string list.
2009-08-06 02:29:12 +01:00
Melanie
c73ee1d06e Complete the work on the Replaceable interface logic. From this commit onwards
the mere presence of a full version of a replaceable module will cause the
replaceable module in core to be deactivated.
2009-08-06 01:10:45 +01:00
Michael Cortez
c73a6ab7e0 Continue with renaming of Groups module components 2009-08-05 14:56:48 -07:00
Teravus Ovares (Dan Olivares)
72b6e7f949 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-08-05 17:38:27 -04:00
Teravus Ovares (Dan Olivares)
535cb0efc1 * Patch from jhurliman to add accept type recognition to determine the llsd content format. *should allow both json and xml serializations of llsd to work properly.
Signed-off-by: Teravus Ovares (Dan Olivares) <teravus@gmail.com>
2009-08-05 16:47:48 -04:00
Michael Cortez
6c65b990a2 Fixes mono Add-In references for the OptionalModules add-in so that groups doesn't throw errors, and so that the add-in is correctly reported as "OptionalModules" rather then as "SampleMoney" 2009-08-05 13:20:46 -07:00
Melanie
e8b0f7cf5d Remove bad assembly identification tag 2009-08-05 20:37:10 +01:00
Justin Clark-Casey (justincc)
bc6de6f5f0 Disable TestReplicateArchivePathToUserInventory() pending more investigation 2009-08-05 20:05:22 +01:00
Justin Clark-Casey (justincc)
1f7466e5c3 test item data storage impementation (unused as of yet) 2009-08-05 20:04:27 +01:00
Justin Clark-Casey (justincc)
07e00e110d Reinstate TestLoadIarV0_1ExistingUsers(), removing unnecessary wait 2009-08-05 19:38:45 +01:00
Michael Cortez
989517725d Begin refactoring XmlRpcGroups to a more generic Groups module that allows for replaceable Groups Service Connectors. 2009-08-05 11:15:53 -07:00
Justin Clark-Casey (justincc)
9e5736eeec insert a little more debug info for TestReplicateArchivePathToUserInventory() 2009-08-05 19:06:07 +01:00
Justin Clark-Casey (justincc)
f8d8f07cb4 Remove waiting in TestReplicateArchivePathToUserInventory() since local inventory loading is synchronous
Insert a little more debugging info in case the occasional failure reoccurs
2009-08-05 18:59:44 +01:00
Justin Clark-Casey (justincc)
1b65bd5861 Recomment TestReplicateArchivePathToUserInventory() for now due to occasional test fail 2009-08-05 18:21:22 +01:00
Justin Clark-Casey (justincc)
9e0f1b7fef reinstate TestSaveIarV0_1() 2009-08-05 18:01:18 +01:00
Justin Clark-Casey
e5904c3883 remove some more mono compiler warnings 2009-08-05 17:39:32 +01:00
Justin Clark-Casey
190bdc8a2e * Remove some mono compiler warnings 2009-08-05 17:33:23 +01:00
Justin Clark-Casey
3323413f53 reinstate TestReplicateArchivePathToUserInventory() 2009-08-05 17:17:20 +01:00
Justin Clark-Casey
bfc705766b Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim 2009-08-04 19:01:01 +01:00
Justin Clark-Casey
7f5a4bbc26 * Small commented out debug message for module loading, partly to test my ability to commit with git 2009-08-04 19:00:20 +01:00
dr scofield (aka dirk husemann)
4ffc284a36 trying to fix rare timer related exception. 2009-08-04 17:24:32 +02:00
Alan Webb
068f54725b Slight change to state management for attach scheduling.
Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-08-04 11:44:22 +02:00
Alan Webb
9ffe4d850e This change adds support for the attach event in scripts.
[1] Added a new OnAttach event to Scene/EventManager
  [2] Hooked up existing attach event handler in XEngine.
  [3] Modified SceneGraph and Scene.Inventory to trigger
      attach events at the appropriate places. I was forced
      to distribut the changes across two files because of
      the way attach processing is distributed across the
      two files.
  [4] In the case of RezSingleAttachmentFromInventory it is
      necessary to handle event scheduling in a special way.
      There is no synchronous path available, so the fact
      that this object is attached, and who it is attached to,
      is cached when the ScriptInstance is created. When
      the script is started, the attached handler is driven
      after on_rez (but before changed, this should be reviewed).

Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-08-04 11:41:06 +02:00
dahlia
21e62e87c7 starting to refactor path generation out of prim extrusion 2009-08-03 22:59:47 -07:00
Melanie
c3dd98b016 Revert the #3899 patch and it's two follow ups 2009-08-04 05:03:32 +01:00
Melanie
1d8df738f6 Update a misspelled name 2009-08-04 04:57:08 +01:00
Melanie
2b8c3f8519 Change the freeswitch out connector (which is pointless) to an in connector 2009-08-04 04:32:44 +01:00
Melanie
afc318f30b Add the region module shell for the new freeswitch service 2009-08-04 04:25:17 +01:00
Melanie
0f400dc83d Adding the plumbing for a ROBUST freeswitch service 2009-08-04 04:11:04 +01:00
Melanie
17bdc45c5c Add plumbing for the SceneObjectDeleter to wait for the script engine to
allow final deletion of objects. Meant to support the attach(NULL_KEY) event,
2009-08-04 03:17:13 +01:00
Melanie
1f90d2a2c6 If the FreeSwitch context is unset or "public", then accept any context.
This restores the "out of the box" functionality.
2009-08-04 00:43:49 +01:00
Melanie
fa20a2685b Output the Freeswitch context received and the context set up in the
debugging message so a mismatch can be corrected more easily
2009-08-04 00:38:20 +01:00
Charles Krinke
acf7206f4b Thank you kindly, dslake, for a patch that:
The region dearchive module assumes extra null bytes will be appended 
to the end of every OAR file. This may be due to the block nature of 
storage but it seems like an unsafe assumption. When streaming region 
archives over a network or through a memory stream, no additional null 
bytes are added to the end and this an exception.
2009-08-02 19:30:25 +00:00
Teravus Ovares
fea3ffa154 * An enum for The VisualParams array that the viewer sends us with 90% of the documentation.
* Automatically generated using the BuildVisualParamsEnum Method that gets data from the libOMV VisualParams NameValue definitions which they generate from the the avatar_lad.xml file
* Want to know what element controls the eye size, jowls. pointy ears? no problem.
2009-08-02 06:38:52 +00:00
Teravus Ovares
4cbf0444df * Tweak the caps manager so that the NPCAvatar works again. 2009-08-01 14:26:00 +00:00