Commit Graph

10613 Commits (0cb974bc76f9d8f50f56a3c2d15ca3118422e23b)

Author SHA1 Message Date
lbsa71 ec219f025a * Started arduous config refactoring task with babystep introduction of common baseclass for backend configs. 2009-04-16 17:57:17 +00:00
Dr Scofield 4de3f9b597 trying to fix exception in Random.Next() probably caused through sharing of
WindModule plugins --- manifesting itself through:

    2009-04-16 15:32:02,764 [Heartbeat for region sea 3] [Scene]: Failed with exception System.IndexOutOfRangeException: Array index is out of range.
      at System.Random.Sample () [0x0003e] in /usr/local/src/mono/build/mono-2.0.1/mcs/class/corlib/System/Random.cs:91
      at System.Random.NextDouble () [0x00000] in /usr/local/src/mono/build/mono-2.0.1/mcs/class/corlib/System/Random.cs:142
      at OpenSim.Region.CoreModules.World.Wind.Plugins.SimpleRandomWind.WindUpdate (UInt32 frame) [0x00019] in /tmp/opensim-deploy-oTyFP12501/opensim-deploy/OpenSim/Region/CoreModules/World/Wind/Plugins/SimpleRandomWind.cs:92
2009-04-16 14:22:53 +00:00
Dr Scofield bd2ca2d9c1 - turn private m_gui into protected m_gui to allow manipulation in
derived classes
- make OpenSimBackground inherit from OpenSim instead of OpenSimBase
  so that it will have a MainConsole instance and we can use console
  commands, setting m_gui to false
2009-04-16 12:10:50 +00:00
Dr Scofield 96259e82f6 move inclusion of Makefile.local to the end to avoid surprising results 2009-04-16 12:07:40 +00:00
Teravus Ovares 8a7a0190e6 * Remove some super experimental stuff in BulletDotNETPlugin since it was causing issues.
* Tweak the ODEPrim PID a bit more.
2009-04-16 08:11:05 +00:00
Teravus Ovares eac5d4015d * Committing more BulletDotNETPlugin work
* Tweak the LLSetStatus results in the ODEPlugin.  Hopefully it's a little less unstable.
* ODEPlugin is using experimental math for LLSetStatus, use with caution! :)
2009-04-16 07:31:48 +00:00
Melanie Thielker 4b85cbf0b6 Correctly flag group owned prims in the land prim list 2009-04-16 01:01:40 +00:00
Melanie Thielker ac96722c1d Fix build break and change some groups interfaces 2009-04-16 00:46:24 +00:00
Melanie Thielker 7e95783dd3 Expose the GroupRecord and it's accessor API 2009-04-16 00:15:57 +00:00
Melanie Thielker c98287249e Add the XML manifests needed to get the new style modules to load.
Scripting now works again
2009-04-15 23:59:15 +00:00
Melanie Thielker 5a0f1e9022 Prevent a nullref when no script engines are loaded 2009-04-15 23:17:25 +00:00
Melanie Thielker 7306b73f02 Commit the group deeding support, thank you, mcortez 2009-04-15 21:07:09 +00:00
Melanie Thielker b018f45b70 Make sim health data more useful 2009-04-15 20:16:18 +00:00
Melanie Thielker 03baa077fb Add a console command facility to the RemoteAdmin plugin. 2009-04-15 19:50:14 +00:00
Justin Clarke Casey 9f6b8ec9b0 minor: Remove some mono compiler warnings. Uncomment code when it's actually being used. 2009-04-15 19:46:37 +00:00
Justin Clarke Casey 63936d442c * Make it possible to add a request id to load and save oar requests
* This allows specific requests to be identified.
2009-04-15 19:12:37 +00:00
Melanie Thielker 3c338e4e56 Convert both script engines to new region module format. Add proper unload
handling to XEngine. Add needed stubs to DotNetEngine.
2009-04-15 18:51:17 +00:00
Justin Clarke Casey fa9b9126ee * Resolve unit test failure introduced in r9148 (probably)
* Have the test scene always return success for session id authentication for now
2009-04-15 17:40:04 +00:00
Johan Berntsson 119aeeed7d Another cleanup: Region_Status renamed to RegionStatus, and a usage comment added 2009-04-15 04:15:47 +00:00
Johan Berntsson 068127bf57 Renamed splitID in Scene and added comments on usage 2009-04-15 04:07:41 +00:00
diva e3d4814971 One less vulnerability in the HG: detecting foreign users trying to come in with local user IDs. If that happened by accident, too bad, foreign user can't come in with that ID. This test is a consequence of not having truly global names yet. 2009-04-14 22:24:26 +00:00
Homer Horwitz 2a321746fd Fix a test-breakage introduced in r9144 2009-04-14 20:44:51 +00:00
diva 0413d052a3 Adds session authentication upon NewUserConnections. Adds user key authentication (in safemode only) upon CreateChildAgents. All of this for Hypergrid users too. This addresses assorted spoofing vulnerabilities. 2009-04-14 19:35:35 +00:00
Justin Clarke Casey d0744f8eca * Make archiver tests pump the asset server manually instead of starting the normal runtime thread
* This may eliminate the occasional archive test freezes, since they appeared to occur when somehow the asset server didn't pick up on the presence of a request in the asset 
quque
2009-04-14 18:49:45 +00:00
diva 017faf0eff Fix for minor bug introduced yesterday, HG only. Can't lookup the profile when we're looking up the profile... 2009-04-14 18:32:11 +00:00
Justin Clarke Casey e1c449b492 * Change simple asset cache test to manually pump the asset server rather than relying on another thread 2009-04-14 17:44:10 +00:00
diva 2a49272b62 Changing the CAP seed to be the string representation of a full UUID, instead of a trunkated UUID. 2009-04-14 17:32:05 +00:00
Justin Clarke Casey 1894157dd3 * Explicitly start the asset server thread so that unit tests can run single rather than multi-threaded (which may be behind the occasional test freezes) 2009-04-14 17:15:09 +00:00
Justin Clarke Casey ad2bd74057 * refactor: rename AssetCache.Initialize() to AssetCache.Reset() to avoid having Initialise() and Initialize() in the same class - very difficult to read. 2009-04-14 16:36:32 +00:00
Dr Scofield 762703852e - adding Makefile.local to .gitignore 2009-04-14 12:17:34 +00:00
Jeff Ames cad0aab793 Formatting cleanup. 2009-04-14 11:38:33 +00:00
Jeff Ames 6e19fb8593 Add copyright headers. 2009-04-14 10:56:24 +00:00
Jeff Ames fa29cf5c50 Update svn properties. 2009-04-14 10:00:13 +00:00
Teravus Ovares d34d5eb3f7 * Adding some organization of vehicle type stuff in the ODEPlugin.
* Vehicles do NOT work.  This is just organization and a bit of logical code to make doing vehicles easier
2009-04-14 09:03:18 +00:00
Melanie Thielker a0417f5791 Thank you, Fly-Man, for a patch that adds the stub to handle the
avatar interests update.
2009-04-14 03:44:27 +00:00
Melanie Thielker 285dfe3055 Add the RegionLoaded(Scene) API to the new region module interface to allow
region modules to use another region module's interfaces and events in
a scene context
2009-04-14 03:22:02 +00:00
diva 6204f23230 This was needed for the prior commit. 2009-04-14 03:00:17 +00:00
diva 23c88c2f4d Making OGS1UserServices friendly to subclassing. 2009-04-14 02:58:09 +00:00
diva 6bd89f7dad Cleaning up old circuit upon client close. 2009-04-14 02:21:40 +00:00
Teravus Ovares c2e75aecd1 * Commit a variety of fixes to bugs discovered while trying to fix the NaN singularity.
* WebStatsModule doesn't crash on restart.   GodsModule doesn't crash when there is no Dialog Module.  LLUDPServer doesn't crash when the Operation was Aborted.  
* ODEPlugin does 'Almost NaN' sanity checks.
* ODEPlugin sacrifices NaN avatars to the NaN black hole to appease it and keep it from sucking the rest of the world in.
2009-04-14 01:57:35 +00:00
Teravus Ovares ab83af0341 * Set eol-style: native on J2KImage.cs 2009-04-13 23:06:29 +00:00
Sean Dague 04846bf919 don't build the snapshot builds, if you want experimental, you need to
know how to use a compiler.
2009-04-13 22:54:59 +00:00
Sean Dague cf18eae9f2 comment out ode tests for now, as I can't get these to run manually on
the opensim box.
2009-04-13 22:29:26 +00:00
Homer Horwitz 6db21bbf97 - Moved TerrainModule to the new region-module system.
- Fixed some locking issues. Either lock, or don't (if you don't have to). Only locking access half of the time won't work reliably.
- Had to adapt test helpers that use the "old" IRegionModule. TerrainModule isn't one anymore.
2009-04-13 21:23:33 +00:00
Homer Horwitz b717f991ed Remove m_moduleCommands. It wasn't used anywhere; probably a left-over from before ICommander times 2009-04-13 21:23:24 +00:00
Homer Horwitz bcf31a76bb Fix ordering of operations: First initialize everything, then add regions 2009-04-13 21:23:12 +00:00
Sean Dague 5ef6794165 make the asserts spit out messages about their test names 2009-04-13 21:04:50 +00:00
lbsa71 a7ed7665a6 * Changed all privates to m_ scheme 2009-04-13 20:05:12 +00:00
lbsa71 29355de6ee * Some more experimental work on distributed assets. Nothing hotwired yet.
* Introduced preprocess step in FetchAsset (Might revert this later)
  * Some minor CCC
  * Added actual implementation of GetUserProfile( uri ) and the corresponding handler to OGS1.
  * Introduced non-functioning GetUserUri( userProfile) awaiting user server wireup (this might move elsewhere)
2009-04-13 20:04:18 +00:00
Teravus Ovares bd7d00db33 * Remove null reference exception in the J2KDecoderModule's J2K repair routine for when the asset we're looking up isn't an image at all. (did someone set the texture on the side of a primitive to some other kind of asset with the script engine?) 2009-04-13 16:06:53 +00:00