Commit Graph

9926 Commits (46116864b9f8cc63ec97b89f11bb5372f08dbc01)

Author SHA1 Message Date
lbsa71 977f1e0373 * Apparently, I broke reflection voodo. Reverting.
This fixes mantis #3477
2009-04-17 13:56:07 +00:00
Dr Scofield 96a22862d2 adding log statement on shutdown in background mode 2009-04-17 13:27:32 +00:00
Dr Scofield d5fbb2610d Adds a new REST service /admin/regioninfo/ --- will return a
comprehensive list of all regions in one go (in contrast to the
/admin/regions/ REST call).

Example:
% curl http://127.0.0.1:9000/admin/regioninfo/

<regions max="10" number="1">
  <region avatars="0"
          external_hostname="127.0.0.1" ip="0.0.0.0:9000"
	  master_name="Mr X" master_uuid="b757d5f9-7b36-4dda-8388-6e03dd59b326"
	  name="London" objects="6" uuid="49253666-a42e-4f44-9026-d23f93af31d7" x="1000" y="1000"/>
</regions>
2009-04-17 11:12:06 +00:00
Dr Scofield 3cb82ce383 quick fix for mantis #3477 --- m_configMember is being picked up by
MySQLEstateData.cs via reflection and then causes MySQL to get all
confused and panicky...

NOTE: the MySQL test cases are still very unhappy...
2009-04-17 09:23:26 +00:00
Dr Scofield 3b70d14e62 fixes System.UnauthorizedAccessExceptions when trying to load OARs from
read-only files on linux.
2009-04-17 08:11:34 +00:00
lbsa71 bbe1e19696 * Some more work on refactoring configs;
* Moved the constants out into a separate DefaultConfig
  * Pulled configMember up
  * Some minor CCC
2009-04-17 05:52:46 +00:00
Adam Frisby 03687e2b43 * Added some debug info if MXP is enabled. 2009-04-17 05:23:36 +00:00
Teravus Ovares e95fe66dd5 * Set some minimum values to avoid divide by zero errors. 2009-04-17 04:38:31 +00:00
Teravus Ovares 0d00a767bc * Commit a few fixes to the Vehicle settings
* Vertical Attractor servo
2009-04-17 04:34:52 +00:00
Justin Clarke Casey 235ae95b50 * minor: Eliminate redundant argument in PreloadUserCache 2009-04-16 20:24:11 +00:00
Justin Clarke Casey cab7a2a45c * Add name keyed cache to UserProfileCacheService 2009-04-16 20:12:46 +00:00
lbsa71 6391b5312a * Since that was seemingly an false alarm, reverting the revert. 2009-04-16 19:27:00 +00:00
lbsa71 1d12274850 * bizarrely, two reports that that last commit broke script engine startup (!) on linux - reverting until we can investigate further. 2009-04-16 18:35:23 +00:00
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