Commit Graph

8197 Commits (18634e9dd8464ee7514587d0645e38f529f0bb3e)

Author SHA1 Message Date
Melanie 474f58faf5 Finish the renaming and mae things compile again 2009-08-09 22:25:15 +01:00
Melanie 6ba89bef61 More renames 2009-08-09 22:09:10 +01:00
Melanie 11d72f270d Rename UserData to UserAccount data 2009-08-09 21:53:11 +01:00
Diva Canto 6a6dd66129 More removal of HG2 code, this time authentication module and handlers. 2009-08-09 14:21:47 -07:00
Diva Canto 04aca66330 Removed HGInventory out of core. This is part of HG2, which it now being developed outside. 2009-08-09 13:59:26 -07:00
Teravus Ovares (Dan Olivares) 8b9f8709aa * FreeContext may be a bit too buggy for my tastes in some environments. * Commenting it for the moment. 2009-08-08 14:14:52 -04:00
Jeff Ames bc6ec3b564 Formatting cleanup. 2009-08-09 00:43:13 +09:00
Teravus Ovares (Dan Olivares) e88903f481 * Fix one physics crash for regions larger then 512mx512m 2009-08-08 10:38:53 -04:00
Teravus Ovares (Dan Olivares) b5727a1d77 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-08-08 00:10:38 -04:00
Teravus Ovares (Dan Olivares) bff26ccdbb * More tweaking of the various services to work with nonstandard region sizes. * Now, what's available of the terrain will show and it'll be truncated if it's larger on Linden Clients. Parcel minimum is 64 (256/4) for the client to accept it. 2009-08-08 00:10:19 -04:00
Melanie 7fc9358ec3 Patch from otakup0pe:
A better solution for making the FreeSwitch module cooperate with
existing installations
2009-08-08 03:29:00 +01:00
Melanie 0b0ed200f6 Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-08-08 01:43:28 +01:00
Melanie dd03ad86c5 Change the default for internal IP address back to 0.0.0.0 2009-08-08 01:42:50 +01:00
Teravus Ovares (Dan Olivares) d842c1d459 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-08-07 20:32:23 -04:00
Teravus Ovares (Dan Olivares) 2b990a61bf This is the second part of the 'not crash on regionsize changes'. This lets you configure region sizes to be smaller without crashing the region. I remind you that regions are still square, must be a multiple of 4, and the Linden client doesn't like anything other then 256. If you set it bigger or smaller, the terrain doesn't load in the client, the map has issues, and god forbid you connect it to a grid that expects 256m regions. 2009-08-07 20:31:48 -04:00
Melanie 0d2167b6db Update threat level description 2009-08-08 00:53:34 +01:00
Teravus Ovares (Dan Olivares) c8a68fb3fb * Remove hard coded 256 limitations from various places. There's no more 256m limitation within the OpenSimulator framework, however, the LLClient ClientView does not support regions larger then 256 meters so, if you try and make your region larger by setting Constants.RegionSize = 512; in OpenSim.Framework.Constants.cs, the terrain will not display on clients using the LLUDP protocol 2009-08-07 18:40:56 -04:00
Melanie 9337a94f33 Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-08-07 23:06:52 +01:00
Melanie 257ed4c4ac Remove debugging output frm ini file loading. Make it collect matching
files only from last path component.
2009-08-07 23:05:16 +01:00
Melanie a1a09297bc Silly error, simple fix 2009-08-07 22:40:58 +01:00
Melanie e1427b4c3f Try another way to canonicalize the path that may work in Windoze 2009-08-07 22:37:41 +01:00
Melanie e97beb07c9 Add extensive debug output to Util.Glob 2009-08-07 21:59:54 +01:00
Melanie 6c6527caae Thank you, Godfrey, for a patch that implements osGetLinkPrimitiveParams
Fixes Mantis #3979
Applied with changes. Changed ThreatLevel to High since all discovery
functions are a high threat. Overriding that is the responsibility
of the grid owner.
2009-08-07 21:51:03 +01:00
Melanie ad0d2fea20 Experimental! Implement ISponsor in ScriptInstance 2009-08-07 21:30:21 +01:00
Melanie d10f157183 Remove GetFullPath call from config includes, because it barfs in Windoze 2009-08-07 20:51:07 +01:00
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 ca5da5face Merge branch 'groups-core-contrib' of git://github.com/mcortez/opensim into incoming 2009-08-07 11:07:41 -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 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
Jeff Ames 4ce5c894cf Add copyright header. Formatting cleanup. 2009-08-01 05:11:47 +00:00
Melanie Thielker ff35a3378e Make ROBUST not hang on exit in recent Mono versions. Make the logfile config
setting/commandline option actually work.
2009-07-31 21:00:09 +00:00
Teravus Ovares ae8d3ab22e * Fix a locking issue in the EventQueue 2009-07-31 20:53:35 +00:00
Teravus Ovares 23a8895d29 * Fixed another potential httpserver leak. 2009-07-30 18:16:00 +00:00
Melanie Thielker 22a533b675 Thank you, dmiles, for a patch that allows more differentiated script
permissions for YP scripts.
2009-07-30 15:38:42 +00:00
Dahlia Trimble 6c94ce1cca Flag certain meshes to avoid vertex list compaction. This should help speed up meshing time at startup. 2009-07-30 07:06:23 +00:00
Teravus Ovares a8246bc57e * Remove and comment out old and unneeded parts of the old TextureDownload and UserTextureDownloadService modules.
* These have been mostly replaced by the PriorityQueue sender in LLClientView (it was still using threads and poll processing!)
* Thread Reduction!
* Might have been sending more image packets then necessary previously, texture times 2.    We'll see if this reduces the texture packet load.
2009-07-30 06:27:45 +00:00
Melanie Thielker 07579fa402 Add basic support ofr detached request handling to the HTTP server.
Groundwork to finish HTTP IN.
2009-07-29 23:13:08 +00:00
Teravus Ovares 83a421a562 * An attempt to fix mantis #3955
* It's possible it could re-cause mantis #3953, but the FreeContext isn't always necessary because Connection: close ---> Disconnect(SocketError.Success) { FreeContext(); }
2009-07-29 21:53:18 +00:00
Teravus Ovares f727f26bcc * An attempt to fix mantis #3953 2009-07-29 20:32:54 +00:00
Melanie Thielker cbeebc209d Thank you, coyled, for a patch to change Flotsamcache path generation
to avoid directory overflow.
2009-07-29 17:21:36 +00:00
Melanie Thielker cabda86615 Patch from Kai Ludwig: Fix prim drawing on maptile. 2009-07-29 16:32:56 +00:00
Teravus Ovares 50204f6ee2 * Re trigger panda 2009-07-29 02:41:00 +00:00
Teravus Ovares 032aeb8b5d * Adds the ability to have a thread efficient long poll service (such as the eventqueue)
* If this doesn't melt the Http Server, this will significantly reduce the number of threads in use on regions with many users.
* Adds AddPollServiceHTTPHandler, and RemovePollServiceHTTPHandler to BaseHttpServer
* Generic enough to be used for many long poll services, not only the EventQueue.
2009-07-29 02:15:45 +00:00
Melanie Thielker f94985a939 Add the missing block to the alert message 2009-07-28 20:27:31 +00:00
Melanie Thielker aa06d9f98b Add the new StatusData block to the other two searchh packets 2009-07-28 19:28:01 +00:00
Melanie Thielker 64c874a951 Fix a null data block in DirClassifiedReply packet, preventing a session
crash in search.
Fixes Mantis #3952
2009-07-28 18:46:45 +00:00
Melanie Thielker b008865110 Thank you, mcortez, for a patch to correct a folder bloat issue in the
Flotsam Asset Cache.
Fixes mantis #3950
2009-07-28 17:20:51 +00:00
Jeff Ames a1786d4c39 Formatting cleanup. 2009-07-28 09:40:07 +00:00