Commit Graph

9874 Commits (263f32a493c0fff5f80e21ff269bbf8b456d3fa6)

Author SHA1 Message Date
Melanie 4ee8d8a813 Another stab at cmickeyb's patch for script GC.
Moved the Close() for the appdomain-hosted parts into a new destructor
on ScriptInstance.
2009-08-07 20:43:23 +01:00
Melanie 2148f84e1e Temporailiy add some info output in config load 2009-08-07 20:18:04 +01:00
Melanie 178b40971a Add a method to init the OSSL Api's m_LSL_Api member back to the OSSL Api 2009-08-07 19:50:47 +01:00
Melanie 3219e648cc From: Snowcrash <Snowcrash.short@gmail.com>
Date: Wed, 5 Aug 2009 12:45:56 +0200
Subject: [PATCH] A few minor tweaks to the MRM API's in order to make it possible for MRM's to run in a separate AppDomain without poluting the primary appdomain of OpenSim

Specifically:
Added an explicit method for getting the "globals" of the MRM, removing the need to have the MRM script code loaded into the primary domain, in order to set up proxies
Added a [Serializable] attribute to TouchEventArgs, again in order to remove the need to have MRM script code loaded into the primary domain.

---------

Applied with whitespace changes
2009-08-07 19:04:20 +01:00
Melanie 7811bceb8f Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-08-07 19:01:27 +01:00
Sean Dague 115a552ade ignore .svn directories, useful for the mirror 2009-08-07 13:29:42 -04:00
Sean Dague ca5da5face Merge branch 'groups-core-contrib' of git://github.com/mcortez/opensim into incoming 2009-08-07 11:07:41 -04:00
Sean Dague 97a01fb109 add in stanzas for ppc64 and s390x 2009-08-07 10:56:49 -04:00
Sean Dague f4cd3d8d0f add stanzas for s390x and ppc64 so that if you build these libraries,
and name them correctly, opensim will pick them up.
2009-08-07 10:54:40 -04:00
Melanie cb10700a1f Make the opensim.ini logfile option really work (port of a fix from ROBUST) 2009-08-07 14:15:59 +01: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 ed3b21ce4e Remove the forge module patch insertion area from prebuild.xml 2009-08-06 23:01:59 +01:00
Melanie 8274005029 Update prebuild once again 2009-08-06 22:55:50 +01:00
Melanie 41221bfe90 Update prebuild binary 2009-08-06 22:38:10 +01:00
Melanie 01dd16d408 Add sorting to prebuild 2009-08-06 22:36:39 +01: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
Melanie eb9d584ee0 Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-08-06 21:20:57 +01:00
Melanie f2498d707d Add the addon modules folder 2009-08-06 21:20:41 +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 00aceec799 Add the config-include statement to OpenSim.ini.example.
addon-modules/*/config/*.ini is now included in the configuration
2009-08-06 02:33:44 +01: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
Sean Dague eeb7fda62a hopefully the finally fix for the hooks 2009-08-05 14:46:30 -04:00
Sean Dague 8f4048c63a Merge branch 'master' of ssh://opensimulator.org/var/git/opensim 2009-08-05 14:44:25 -04:00
Sean Dague 9a5e78a4c9 fixing hooks 2009-08-05 14:44:16 -04:00
Justin Clark-Casey (justincc) 07e00e110d Reinstate TestLoadIarV0_1ExistingUsers(), removing unnecessary wait 2009-08-05 19:38:45 +01:00
Sean Dague 456b383cc4 test commit for new hook changes 2009-08-05 14:37:58 -04:00
Sean Dague a8a77c07ad Merge branch 'master' of ssh://opensimulator.org/var/git/opensim 2009-08-05 14:37:16 -04:00
Sean Dague 1df2c6d8ee test commit for triggering ciabot per changeset 2009-08-05 14:36:41 -04: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
Melanie dcbaaba61f Fix prebuild include syntax 2009-08-05 18:55:37 +01:00
Melanie d2c7fd223c Comment the include line as it seems our prebuild can't handle it. 2009-08-05 18:48:43 +01:00