Commit Graph

7499 Commits (b76405f50a5a8214830aa8d2b9078bb8d0925407)

Author SHA1 Message Date
Dr Scofield 956be49238 further cleanup (lower casing non-public vars and local vars) 2009-04-22 10:03:38 +00:00
Dr Scofield 458f7eb9b3 cleaning up, fixing warnings 2009-04-22 09:42:44 +00:00
Teravus Ovares c397f05be7 * Some tweaks to the FreeSwitchModule to allow a well known hostname and avoid a double // in a path which causes account verification to fail
* The change shouldn't affect anyone who has it working currently and makes it a ton easier for everyone else to get it working.
* Handle a case when there's no Event-Calling-Function but it's obviously a REGISTER method
2009-04-22 06:07:39 +00:00
Melanie Thielker 338655e9d5 Fix loading notecards from LSL. The first time a notecard was accessed, the
ID returned from the call would differ from the one later sent
via dataserver(), causing AOs to fail.
2009-04-22 01:43:07 +00:00
Jeff Ames 6aa5d3904d Add copyright headers. Formatting cleanup. 2009-04-22 00:48:56 +00:00
Charles Krinke 5ea4faa6f2 Thank you kindly, MCortez, for a patch that:
* Refactors the xmlrpc calls to a single location to 
make it easier to debug and include alternative 
xmlrpc call mechanisms
* Includes an alternative xmlrpc call mechanism that 
sets HTTP Keep-Alive to false which solves nearly all 
System.Net exceptions on some windows environments
2009-04-21 20:44:17 +00:00
Justin Clarke Casey 607156cae8 * Comment out user profile cache update method for now 2009-04-21 20:12:33 +00:00
Charles Krinke 27c8cc5b1f Thank you kindly, TLaukkan for a patch that:
Added support for loading bare asset binaries (as opposed to 
xml encoded asset base) to both sandbox asset service and cable beach.
* Added support for enabling region asset service when mxp is enabled.
* Moved base http server content type defaulting before invocation of 
request handle method to allow for variable content type in the response.
2009-04-21 19:42:36 +00:00
Justin Clarke Casey 48720ea7a2 * extend user cache update test to check data backend 2009-04-21 16:21:15 +00:00
Dr Scofield 4a8313f14c culling AsteriskVoiceModule and SIPVoiceModule, now that we have
working FreeSwitchVoiceModule and soon will have a fully working
VivoxVoiceModule.
2009-04-21 16:06:16 +00:00
Charles Krinke 6bd8e1eb99 Thank you kindly, MPallari for a patch that:
This patch adds few properties to ScenePresence and 
thus allows region module or MRM script:
1. Force flying for avatar or,
2. Disable flying from avatar
2009-04-21 15:52:35 +00:00
Jeff Ames 13f5dd5f35 Update svn properties. 2009-04-21 15:30:03 +00:00
Justin Clarke Casey d2d0b9877f * Add the ability to update profiles via the cache, so that cached profiles don't become stale
* Add corresponding unit test
2009-04-21 15:21:27 +00:00
Dr Scofield f31a60bad7 From: Alan Webb <alan_webb@us.ibm.com>
Fixes IRC reconnect problem

When a session fails to establish, the login attempt eventually
times out and the login is retried. This should occur once every
25 seconds (to give the server plenty of time to respond). In fact
the interval was typically only 10 seconds, this was being caused
by a second reset that was being scheduled when the failed
listener thread was terminated. Because the second reset occurred
inside the ICC timeout, it eventually gets scheduled after only
10 seconds.

In addition to this, the connector was being added to the monitoring
twice. This was harmless, but entirely redundant.

Both of these problems have been fixed and tested. Each connector
now maintains a count of how often it has been reset. The listener
thread records this value on entry and checks for a change on exit.
If the counts are the same, then the listener is exiting and can
potentially reschedule the connection.
2009-04-21 13:17:34 +00:00
Adam Frisby 594c7c3eb1 * Implements Extensions to MRM. This allows Region Modules to insert new classes into OpenSim MRM's.
* Example in region module:
    Scene.GetModuleInterface<IMRMModule>.RegisterExtension<IMyInterface>(this);
* In the MRM:
    //@DEPENDS:MyExtensionModule.dll
    ...
    Host.Extensions<IMyInterface>.DoStuff();
2009-04-21 04:55:53 +00:00
Melanie Thielker 01a22d940f Change a bad use of a type name as a variable. Thanks, Fly-Man
Fixes Mantis #3497
2009-04-20 21:58:32 +00:00
Melanie Thielker d91330ea35 Add PlacesQuery packet 2009-04-20 20:43:48 +00:00
Teravus Ovares c5a3ff231f * It turns out vehicle Angular Motor direction is always in global space. 2009-04-20 17:46:37 +00:00
Melanie Thielker dd0fa5745e It is possible that apacket is recieved before the clint stack is fully ready.
This causes a nullref we need to catch here.
2009-04-20 17:24:09 +00:00
Melanie Thielker 3340217320 Also make GroupsMessaging quit trying to run and reduce it's debug
spamming somewhat
2009-04-20 13:59:18 +00:00
Melanie Thielker 6a8fe8a84e Prevent a null ref if a notecard is not found 2009-04-20 13:56:16 +00:00
Melanie Thielker 489758f68a Make sure that the groups module is really disabled when it's not configured.
Fixes an issue where the presence of any groups section will make XmlRpcGroups
think it should hook client events.
2009-04-20 13:39:41 +00:00
Teravus Ovares b98f93212b * Prevent a vehicle crash 2009-04-20 06:56:53 +00:00
Teravus Ovares 21d4423030 * Allow passing of material type to physics engine
* Define low friction and medium bounce for Glass
2009-04-20 03:07:53 +00:00
Homer Horwitz 5200a849f6 Reverting r9224. We don't have scripts in the SL sense (with binary and state).
Using this identifier prevents "our" scripts from working.
Reopens Mantis #3482, I'm afraid.
2009-04-19 18:30:02 +00:00
Charles Krinke aff38e2dd2 Thank you kindly, MPallari, for a patch that:
This patch adds new property to ScenePresence: SpeedModifier. 
With this, one can modify avatars speed from region module 
or MRM script.
2009-04-19 17:19:31 +00:00
Charles Krinke 088ed68562 Fixes Mantis#3489. Thank you kindly, MCortez for a patch that:
Group profile page is showing an empty dropdown for titles and
this patch fixes this.
2009-04-19 16:22:26 +00:00
diva 4f07370d94 Accounting for the changes introduced in AssetServerBase in r9143 related to starting the thread manually. Fixes mantis #3490. 2009-04-19 15:07:29 +00:00
Homer Horwitz be08c2d411 Change invType of scripts from "lsl_text" to "script". Fixes Mantis #3482. 2009-04-19 13:34:38 +00:00
Homer Horwitz 33e1316ced Terrain changes done via osTerrainSetHeight aren't shown immediately to the clients in
that region. I decided against sending the terrain on every call to osTerrainSetHeight
(which makes it abysmally slow), and added a osTerrainFlush instead, which should be
called after all the terrain-changes have been done. Changed some return types to
LSL types, too, and removed some end-of-line spaces.
2009-04-19 13:34:28 +00:00
Homer Horwitz 9c3ec87b97 Moved ITerrainModule and ITerainEffect to OpenSim.Region.Framework.Interfaces and added a TaintTerrain method 2009-04-19 13:33:46 +00:00
idb 716e1fe0e1 Keep IsColliding updated for the recent changes in ScenePresence so that walk/stand animations will get used instead of just falling 2009-04-19 12:28:29 +00:00
Teravus Ovares 03901c8c0d * Rudimentary angular motor implementation for the LSL Vehicle API 2009-04-19 08:12:10 +00:00
Dahlia Trimble 5f1fa0d3d7 Added a "force_simple_prim_meshing" option to the ODE settings in OpenSim.ini which will use meshes for collisions with simple prim shapes rather than internal ODE algorithms. This may help with Mantis #2905 and Mantis #3487 for those experimenting with capsule settings.
Note that this will increase memory usage and region startup time.
2009-04-19 01:21:38 +00:00
Charles Krinke a416e75ddb Thank you kindly, MCortez, for a patch that:
This hooks up the LandManagementModule to handle the DeedParcelToGroup 
packet. Now people can start testing land assigned to and owned by groups.
Also fixes a viewer crash issue when searching for and then joining a group 
with an agent that is not already being tracked by groups server.
2009-04-19 00:11:14 +00:00
diva 06f0515d14 Bug fix in HG asset posts. Get the inner assets not just from mem cache but from asset service, because the inner ones may not be in mem cache. 2009-04-18 22:46:48 +00:00
diva 5ae8ad55cd Little bug fix on the Groups module to get over an exception upon login. 2009-04-18 22:31:38 +00:00
Charles Krinke 659b55905d Thank you kindly, MCortez, for a patch that:
Added is a patch that adds a rough Groups implementation. This patch allows 
the creation, adding and maintaining Groups, Roles and Members. Work has begun 
on a very naive implementation of messaging, and minimal support for notifications 
{no attachments yet}. Proposals are not yet supported, but are on the to-do list.
This implementation is not active by default, and must be configured in 
OpenSim.ini to become active.
2009-04-18 21:33:48 +00:00
Melanie Thielker d285ccb5cf Allow reading of notecards by asset ID.
Fixes Manthis #3420
2009-04-18 19:08:35 +00:00
Charles Krinke 2578db3dfa Thank you kindly, RemedyTomm for a patch that:
Following feedback from 0003440, i've made some changes to the new texture pipeline to optimise
 performance. The changes are:
 - Fixed a math issue where a small percentage of images with a certain size (on the packet boundary) would not have their final data delivered. This issue has been present since pre- 0003440
 - It was suggested that a discardlevel of -1 and a prioriy of 0 meant to abandon the transfer, this is incorrect and caused some textures to clog.
 - The texture throttle blocking queue is now only filled in relation to the actual throttle amount.. i.e, on a connection throttled to 300k, only twenty packets will be placed in the queue at a time, on a larger connection it will be much more. This is to balance responsiveness to requests and speed, and to minimise wasted packets.
 - The engine now keeps track of the number of pending textures, and the stack will not be walked if there's no textures pending, saving CPU. Textures are only considered "pending" when they've already been decoded.
 - As part of the above, some textures may receive twice as much data per cycle if the number of pending textures is below the cycle threshold, this should prevent loading from slowing down when there are fewer textures in the queue.
2009-04-18 18:35:03 +00:00
Dahlia Trimble 15b9c528c5 Add some documentation. (note this is *not* a thinly veiled attempt to increase my commit frequency *wink*) 2009-04-18 17:15:56 +00:00
Charles Krinke aa86305a41 Thank you kindly, StrawberryFride, for a patch that:
Adds a test to see if the first option on osDynamicTextureData is "AltDelim", 
then picks up the first character after the whitespace and uses as a delimiter 
instead of ;. If this string does not appear at the start of the data, the 
default ; will be used, hence this should not break existing code.
2009-04-18 17:05:51 +00:00
diva 8e08dd20dc Thank you dslake for diagnosing and fixing a race condition in OGS1SecureInventoryServer (mantis #3483). The provided patch was slightly modified to narrow the locking scope to smaller portions of the functions. Applied the same locking to HGInventoryService, which suffered from the same race condition. 2009-04-18 16:37:05 +00:00
diva b824e488ba Addresses mantis #3485. 2009-04-18 15:45:05 +00:00
idb 21d80b28aa Obtain the owner name for the X-SecondLife-Owner-Name header in llHTTPRequest when the owner is offline/not in the region.
Fixes Mantis #3454
2009-04-18 14:21:54 +00:00
Adam Frisby b2a7c1468e * Adds IObject.Shape to MRM
* Implements Sculpty modification support to MRM
* Example: IObject.Shape.SculptMap = new UUID("0000-0000-0000....");
2009-04-18 05:43:40 +00:00
diva c41d2a1e3d Bug fix for standalone HG login. VerifySession should be local for local users. 2009-04-18 02:55:45 +00:00
diva bc02eab4b9 Commit agent to DB immediately after creation, for LLSD logins too. Addresses mantis #3471. Requires upgrade of User Server in grid mode for this fix to kick in. 2009-04-18 02:37:12 +00:00
diva 722be8f132 Thank you M1sha for diagnosing and patching a lock bug affecting region crossings introduced in r9110. Fixes mantis #3456. 2009-04-17 23:55:59 +00:00
Teravus Ovares 68190617b4 * A few fixes to the Linear Motor 2009-04-17 23:04:33 +00:00
Charles Krinke b4cb45bb79 Fixes Mantis # 3469. Thank you kindly, BlueWall, for a patch that:
This patch adds extended status reporting with the url 
http://server:port/simstatusx/ [^] . The data is returned 
in json format as "text/plain" type.
2009-04-17 21:48:48 +00:00
Teravus Ovares 07c113a766 * Add Implementation of Linear Motor and Linear friction from the LSL Vehicle API in Physics 2009-04-17 21:10:54 +00:00
Sean Dague 37f98a65d4 add fix for LLSDVoiceAccountResponse to work with freeswitch (from Rob
Smart)
2009-04-17 20:00:35 +00:00
Sean Dague 7f30be17d0 experimental freeswitch code, imported from Rob Smart's tree 2009-04-17 20:00:30 +00:00
idb d9896ff71a Correct detected rotation to return the same value as llGetRot in the object being detected.
Fixes Mantis #3467
2009-04-17 19:39:37 +00:00
Justin Clarke Casey bd1b478f2c * Change inventory archiver module to use profile cache
* Clean up some log messages
2009-04-17 19:11:03 +00:00
Justin Clarke Casey a29d7c9040 * Use profile cache service for data snapshot 2009-04-17 18:06:40 +00:00
Justin Clarke Casey e999c78600 * Also use the profile cache for osKey2Name() 2009-04-17 17:33:31 +00:00
Justin Clarke Casey be1855f163 * Use cached user profiles in osAvatarName2Key() 2009-04-17 17:22:58 +00:00
Jeff Ames 2fafc74c74 Add copyright header. 2009-04-17 16:34:17 +00:00
Justin Clarke Casey 83c9a6a230 * Change profile check for add user to run through the cache service 2009-04-17 16:06:35 +00:00
Dr Scofield 91bd87add1 - disabling logging of non-system IRC messages 2009-04-17 16:00:02 +00:00
Jeff Ames e7c7917bf8 Update svn properties. 2009-04-17 15:57:44 +00:00
Justin Clarke Casey 765553d098 * Run RemoteAdminPlugin user info queries through cache service rather than direct 2009-04-17 15:51:58 +00:00
lbsa71 a189da844a * Moved the DefaultConfig settings into already-existing ConfigSettings 2009-04-17 15:09:37 +00:00
lbsa71 1759d05cdf * remind me to never touch EstateSettings ever again. Ever. 2009-04-17 15:06:51 +00:00
Justin Clarke Casey 3db52d95ef * Extend get user profile test to cover retrieval by name 2009-04-17 14:41:56 +00:00
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
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
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
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
Teravus Ovares 9371df52cb *Bypass J2kDecoder when asset is null 2009-04-13 15:18:38 +00:00
Sean Dague 532ae6d925 if Data is null, shortcut to client.SendImageNotFound, as any other
option at this point is going to give us a NullReferenceException
2009-04-13 15:08:06 +00:00
Sean Dague 15d39f33ca scream out a bit warning if we failed to set default image 2009-04-13 14:52:29 +00:00
Sean Dague b2e5f03942 catch for a null asset so we don't get an exception here, though this
probably just makes the decoder break somewhere else.
2009-04-13 14:52:23 +00:00
Sean Dague 58fd013929 put J2KImage into it's own file, please no doubling up on classes in
files
2009-04-13 14:52:14 +00:00
Melanie Thielker cc86df4a3f Thank you, dslake, for a patch that converts many of the linear searches
in SceneGraph to fast dictionary lookups.
Includes a regression fix for attachments by myself.
Fixes Mantis #3312
2009-04-12 15:18:04 +00:00
Melanie Thielker 87ce5ea0eb Actually do what I promised in the previous commit :/ 2009-04-12 12:49:59 +00:00
Melanie Thielker 9d31cfafb2 Funnel stored (offline) IMs through the Scene EventManager to make sure
they are processed by the modules rather than sent to the client
directly. Allows friends and group requests and responses to be saved, too
2009-04-12 12:44:41 +00:00
Melanie Thielker 2864c45678 Actually remove the script if it tries to remove itself.
Fixes Mantis #2929
2009-04-12 12:03:07 +00:00
Melanie Thielker f6f3737fe8 Fix a regression where animations would only be sent if the avatar has
attachments. Convert base types to LSL types for event marshalling through
IScriptModule to avoid parameter errors.
2009-04-12 02:42:05 +00:00
Melanie Thielker 217b2d93ae Adding a script event, changed(CHANGED_ANIMATION)
This is sent to all root prims of all attachments of an avatar when the
animation state changes. llGetAnimation() can thenbe used to find the
new movement animation. This eliminates the need for fast timers in AOs
2009-04-11 16:51:27 +00:00
Adam Frisby b8619386eb * Minor MRM Cleanup
* Interfaces now live in Interfaces subdirectory. 
* Namespace does not yet reflect this change.
* Final namespace for MRMs will probably sit somewhere around OpenSim.Extend.MRM[?]
2009-04-11 10:21:04 +00:00
idb 988737b182 Correct Opensim.ini.example to reflect the default settings for clouds.
Fixes Mantis #3421
Change the agent/avatar events subscriptions to just OnNewClient. The data only needs to be sent once and keeping track of log ins/movements is not required. This will also send cloud data to child agents so that they can see clouds above neighbouring regions not just regions that they have visited.
2009-04-11 10:18:20 +00:00
Teravus Ovares 2dca78b2bf * BulletDotNETPlugin supports Axis lock (LLSetStatus) from the script engine now. 2009-04-11 03:04:08 +00:00
Teravus Ovares 827117f0b1 * Add catch-all error handlers back to scene. 2009-04-11 00:12:57 +00:00
Teravus Ovares 53026affb3 * Instead of referencing mesh stuff in the physics plugin.. change the IMesh Interface. (blame prebuild) 2009-04-11 00:11:54 +00:00
Teravus Ovares 474b982eba * Adds Physical/Active Linkset support to BulletDotNETPlugin 2009-04-10 23:26:42 +00:00
Melanie Thielker 3307f21706 Add XmlRpcGridRouter, a module that communicates URIs for XMLRPC channels
to a central server via REST, for centralized XMLRPC routing.
2009-04-10 22:05:37 +00:00
Melanie Thielker a7de0ae9ec Make the scrpt engines ignore any script that begins with //MRM: 2009-04-10 21:44:27 +00:00
Melanie Thielker ae6f265729 Add an optional region module which will supply a script event,
xmlrpc_uri(string) in response to a OpenRemoteDataChannel call. The string
is the fully qualified URI to post XMLRPC requests for that script to.
2009-04-10 21:26:36 +00:00
Melanie Thielker 8902923b12 Introduce IXmlRpcRouter, an interface that allows registering XMLRPC
UUIDs with a central marshaller for grids, or publish the ULS for objects
elsewhere.
2009-04-10 21:08:33 +00:00
Melanie Thielker b43226019a Expose the XMLRPC listener port on the IXMLRPC interface to allow
publication
2009-04-10 19:27:47 +00:00
Melanie Thielker 0377ddb5de Add events to IScriptEngine to notify scripting modules of the removal
of objects from the scene, and of scripts from objects. This facilitates
the development of modules that can register prims with externall servers
for inbound email and XMLRPC. Currently implemented in XEngine only.
Also applying cmickeyb's compiler locking patch, since it seems risk-free.
2009-04-10 19:07:41 +00:00
Melanie Thielker 292672675a Thank you, OwenOyen, for a patch that corrects the behavior of llRot2Euler.
Committed with comment changes.
Fixes Mantis #3412
2009-04-10 17:26:00 +00:00
Justin Clarke Casey 7c04c1e44c * Apply http://opensimulator.org/mantis/view.php?id=3427
* Return different values for llCloud() over time based on a cellular automation system.
* Thanks aduffy70!
2009-04-10 14:56:58 +00:00
Justin Clarke Casey 30d012b297 * Apply http://opensimulator.org/mantis/view.php?id=3432
* Make llGroundSlope() return correct results
* Thanks aduffy70!
2009-04-10 14:15:47 +00:00
Justin Clarke Casey bc515c3241 * Apply http://opensimulator.org/mantis/view.php?id=3439
* This corrects problems seen on some SQLite systems where the migration fails because the two argument substr() isn't implemented
* Thanks RemedyTomm!
2009-04-10 11:34:37 +00:00
Teravus Ovares 515bf6d7dc * Patch from RemedyTomm Mantis 3440
* Revamps the server side texture pipeline
* Textures should load faster, get clogged less, and be less blurry
* Minor tweak to ensure the outgoing texture throttle stays private.
* Fixes mantis 3440
2009-04-10 08:30:21 +00:00
nlin 8e6c20b27f Handle ObjectSpin* packets to spin physical prims on Ctrl+Shift+Drag
Addresses Mantis #3381

The current implementation works as expected if the object has no rotation or 
only rotation around the Z axis; you can spin the object left or right (around
the world Z axis).

It works a little unexpectedly if the object has a non-Z-axis rotation; in this
case the body is spun about its local Z axis, not the world Z-axis. (But SL 
also behaves oddly with a spin on an arbitrarily rotated object.)
2009-04-10 06:39:52 +00:00
Teravus Ovares 10f5615573 * Tweak the character controller some more
* Add cursory integration with script engine.    
* LLMoveToTarget, LLSetBouyancy, LLSetStatus (Physical only), LLApplyImpulse, LLApplyTorque, LLPushObject..   etc.
* Still missing linked physical active and LLSetStatus with an axis lock.
2009-04-10 06:01:29 +00:00
Adam Frisby b664566b8f * Fixes a bug in MRM scripting whereby the Touch flag is never enabled for OnTouch capable scripts. 2009-04-10 05:13:02 +00:00
Teravus Ovares b05a1aa4b7 * Whoops, never saved the BulletDotNETScene.. Last commit continued..... 2009-04-09 22:00:15 +00:00
Teravus Ovares 4050dec682 * Changes the timstep of the bullet world
* Enables border crossings when using the BulletDotNETPlugin 
* Enabled variable time steps in BulletDotNETPlugin
* Still no 'linked physical objects' yet
* Still no script engine integration
2009-04-09 21:48:11 +00:00
Arthur Valadares 08f83f275d * Reinstated Scene Crossing tests, now with timeouts to check for race conditions 2009-04-09 21:37:54 +00:00
Justin Clarke Casey 80ea563bcc * minor: correct some documentation in SQLiteAssetData.cs 2009-04-09 20:07:12 +00:00
Justin Clarke Casey 601fa22185 * minor: remove some mono compiler warnings 2009-04-09 20:06:30 +00:00
lbsa71 6af0751cc5 * Tagged long running tests with LongRunningAttribute.
* Now, the 144 unit tests takes roughly as long time to run (16s on my laptop) that the 10 long running takes. The database tests takes forever.
* Feel free to run the unit tests as you code, and the rest before commit.
2009-04-09 20:06:27 +00:00
Justin Clarke Casey 1066aa6998 * Remove Autooar module pending it's migration to the forge 2009-04-09 19:49:33 +00:00
Justin Clarke Casey 2176a80bcf * Terminate OpenSim startup if we cannot listen to the designated HTTP port
* This makes the problem much more obvious to the user, and OpenSim isn't that useful without inbound http anyway
2009-04-09 19:46:14 +00:00
Justin Clarke Casey 7f8552fe63 * Change SQLite asset UUID to dashed format to be consistent
* Remaining inconsistent uuids (non dashed) are in region store for sqlite and mysql
* Migration of these will happen at a later date, unless someone else wants to do it
2009-04-09 19:23:19 +00:00
Justin Clarke Casey 67333d48fc * Change UUIDs in SQLite user db to dashed format to match representations elsewhere 2009-04-09 19:01:52 +00:00
Justin Clarke Casey 39c6302972 * Improve inventory uuid conversions to make sure that we aren't converting anything that already contains a -
* Among other things, this means that if a migration is interrupted, it can simply be retried
2009-04-09 18:17:52 +00:00
Justin Clarke Casey b5ba5634fb * Migrate UUID representations in SQLite inventory store to dashed format
* This makes the representation consistent with that most commonly used in the other supported database layers
2009-04-09 16:56:01 +00:00
lbsa71 d2a412e94b * Added some more experimental code; nothing wired in so far. 2009-04-09 16:45:22 +00:00
lbsa71 5572a00295 * Moved the DatabaseTestAttribute to Test.Common, and thus included ref to that in all db tests. *phew* 2009-04-09 16:40:02 +00:00
Adam Frisby f44694c28e * Allows MRMs to import libraries in the OpenSim bin directory.
* Syntax: //@DEPENDS:library.dll
2009-04-09 15:46:02 +00:00
Sean Dague a5ceb1a2a0 From: Christopher Yeoh <yeohc@au1.ibm.com>
The attached patch implements osKey2Name and osName2Key
which converts between a UUID key for an avatar and
an avatar name and vice-versa.

osKey2Name is similar to llKey2Name except that it will work
even if the avatar being looked up is not in the same region
as the script.
2009-04-09 15:04:02 +00:00
Adam Frisby 8ee81f98ea * Implements IObject.Materials[].*
* This lets you do things like IObject.Materials[0].Texture = new UUID("0000-...");
2009-04-09 14:51:18 +00:00
Adam Frisby c77e7fce9e * Implements IGraphics interface for MRM Scripting.
* This allows you to utilize System.Drawing tools on textures within the region.
* Example: use System.Drawing.Bitmap to make your texture, then use Host.Graphics.SaveBitmap to make an asset from it in JPEG2K. You can edit (but not overwrite) existing textures using Host.Graphics.LoadBitmap.
2009-04-09 14:19:49 +00:00
Adam Frisby 98eda9ebdb * Adds World.OnNewUser += delegate(IWorld sender, NewUserEventArgs e);
* This event fires when a new avatar is created within the Scene. (Internally corresponds to EventManager.OnNewPresence)
2009-04-09 13:22:27 +00:00
Adam Frisby c91c24441b * Limits MRM scripting to Region Master Avatar only.
* This makes MRM scripting ever so slightly more secure. If you have enforced Object Permissions enabled, it may be acceptable to enable MRM within your regions.
* Security bug reports on this feature are much appreciated (eg: anyone finding ways around this to execute a MRM as a basic user).
2009-04-09 13:14:25 +00:00
Adam Frisby 162dd5c65c * World.OnChat no longer fires if there is no chat text (prevents the typing animation packet from firing OnChat) 2009-04-09 13:05:01 +00:00
Adam Frisby 03984e7304 * Added additional debug testing info to Scene
* Corrected issue with MRMs where it would attempt to overwrite an already loaded DLL. (and thus fail with cryptic UnauthorizedAccessException.)
* Made DrunkenTextAppreciationModule.cs MRM not crash with StackOverflowException
* Added some temporary logging to MRM World.*
2009-04-09 13:03:27 +00:00
Adam Frisby 0af0399198 * Forgot to commit IEntity in last commit.
* Added "DrunkenTextAppreciationModule" Demo MRM - behaves very similarly to the sobriety filter in WoW. ;)
2009-04-09 11:25:50 +00:00
Adam Frisby b529750548 * Moves Name, GlobalID and WorldPosition into new IEntity interface.
* Avatar and Object now inherit from IEntity.
* Avatar.Position is now Avatar.WorldPosition to match IObject property.
* Implements event World.OnChat += delegate(IWorld sender, ChatEventArgs e);
2009-04-09 11:09:24 +00:00
Adam Frisby 1b56fff7c8 * Implements retrieving child primitives via World.Objects[id] (MRM)
* Optimizes SceneGraph - fetches on primitives via "GetGroupByPrim" wont search the entire list if the primitive is infact the root. (Core)
* Updates Test MRM.
2009-04-09 10:07:40 +00:00
lbsa71 73ab6bd455 * Thank you, mpallari for a patch that updates NHibernate inventory base mapping.
This fixes mantis #3435
2009-04-09 07:49:16 +00:00
Adam Frisby 232241ab25 * Implements IObject.OnTouch += delegate(IObject sender, TouchEventArgs e)
* This is equivalent to LSL 'touch(int senders)'
2009-04-09 07:46:05 +00:00
lbsa71 99bf4ce72f * Fixed a number of culture-variant bugs in lsl implicit type conversions. 2009-04-09 07:33:05 +00:00
lbsa71 0366cc1601 * argh. reverted untested fix that snuck into the last commit 2009-04-09 07:14:20 +00:00
lbsa71 ed33878a0f * tagged some more database tests as such 2009-04-09 07:11:49 +00:00
lbsa71 a707fa7bea * Added custom DatabaseTestAttribute to help separating unit tests from component tests. 2009-04-09 06:42:15 +00:00
Sean Dague 65dcfdf031 SQLite doesn't work on ppc64, so ignore these tests if we are
on this platform
2009-04-08 20:16:23 +00:00
lbsa71 ed70ef6407 * butterfingers 2009-04-08 20:10:43 +00:00
lbsa71 e93b782f9d * Introduced some experimental code with regards to asset data substitution 2009-04-08 19:59:37 +00:00
Justin Clarke Casey f3c7298fc5 * Make it possible to store creator strings in user inventory items as well as UUIDs
* All existing functionality should be unaffected.
* Database schemas have not been changed.
2009-04-08 17:50:57 +00:00
Teravus Ovares 8d8c45b659 * Fix the remainder of the packets that require sessionId checks. 2009-04-08 16:31:56 +00:00
lbsa71 f913221313 * Restored GridLaunch that was mistakenly deleted in 9036 2009-04-08 16:30:43 +00:00
lbsa71 abf1df8ae0 * Restored 32BitLaunch that was mistakenly deleted in 9036 2009-04-08 16:27:30 +00:00
Adam Frisby 5118f88bc4 * [SECURITY] Implements additional packet security checks for Object related packets.
* Note: as with the last commit, this requires additional testing.
* This represents 2/8ths of packets now being checked appropriately.
2009-04-08 06:41:52 +00:00
Adam Frisby 2bd6a915a0 * [SECURITY] Implements a large number of new security checks into Scene/Avatar packet processing within ProcessInPacket.
* Notes: this requires heavy testing, it may cause new issues where LL have recycled agent block data for non-security purposes. It can be disabled on Line 4421 of LLClientView.cs by changing m_checkPackets to false.
* This represents approx 1/8th of the packets being checked.
2009-04-08 06:31:19 +00:00
Dahlia Trimble d5727c8c1a Correct unit test for llAngleBetween()
Reinstate patch for Mantis #3007
2009-04-08 03:16:24 +00:00
Justin Clarke Casey ad7b005784 * minor: remove some mono compiler warnings 2009-04-07 20:24:09 +00:00
Teravus Ovares 41fab69ad5 * Remove unnecessary build dependencies on the ExamplemoneyModule stub.
(??? using OpenSim.Region.CoreModules.Avatar.Currency.SampleMoney ???)
2009-04-07 19:37:54 +00:00
Justin Clarke Casey 0752dd65cc * Ooops, really put this on the task queue and not texture 2009-04-07 19:30:10 +00:00
Justin Clarke Casey 952960e375 * Put AgentTextureCached? response packet on the task queue rather than the wind queue
* Thanks to rtomita for pointing this out.
2009-04-07 19:23:17 +00:00
Justin Clarke Casey 513ae92bbb * Apply http://opensimulator.org/mantis/view.php?id=3406
* Makes Second Life environment sensor ranges and maximum response number configurable
* Thanks Intimidated
2009-04-07 19:15:26 +00:00
Justin Clarke Casey d0d481a0ab * Apply http://opensimulator.org/mantis/view.php?id=3418
* Prevents occasional wind module related exceptions on region server shutdown
* Thanks Intimidated!
2009-04-07 19:07:23 +00:00
Justin Clarke Casey ed6165ab9c * Apply http://opensimulator.org/mantis/view.php?id=3227
* Implement "Add To Outfit"
* Thanks FredoChaplin
2009-04-07 17:46:23 +00:00
Dahlia Trimble ea5b120006 temporarily revert llanglebetween patch until unit test can be updated - affects Mantis #3007 2009-04-07 17:29:55 +00:00
Dahlia Trimble e7a051d2be remove defective test criteria from unit test for llAngleBetween 2009-04-07 17:03:00 +00:00
Dr Scofield e540b66a86 From: Alan Webb <alan_webb@us.ibm.com>
Fix null reference exception during close down of IRC module if the
  region was not actually initialized.
2009-04-07 16:53:41 +00:00
Teravus Ovares b326b55bcd * Added finite testing to the character and object constructor 2009-04-07 16:41:07 +00:00
Teravus Ovares 9bbc7e8bf6 * Added a routine to check if a PhysicsVector and Quaternion is finite
* Now validating input to the Physics scene and warning when something is awry.
* This should help nail down that Non Finite Avatar Position Detected issue.
2009-04-07 16:13:17 +00:00
Teravus Ovares 11f8ea30f9 * Tweak the BulletDotNETPlugin character controller so it feels more finished. 2009-04-07 15:01:46 +00:00
Dahlia Trimble eb190905b5 Thanks Ewe Loon for Mantis #3007 - llAngleBetween is producing numbers greater then Pi Radians.
Also modified to use the system constant for Pi and prevent negative results.
2009-04-07 07:59:32 +00:00
Teravus Ovares 0d4880d5cf * This fixes BulletDotNET so it can now be used on linux. 2009-04-07 03:33:28 +00:00
Teravus Ovares 9459b16cc2 * BulletDotNET Updates.
* Should react somewhat normally to editing, and setting physics now.
2009-04-07 00:13:08 +00:00
Homer Horwitz 39f5dd1973 Added some null-checks to Intimidated's patch in r9024.
Hopefully fixes Mantis #3415.
2009-04-06 19:12:26 +00:00
Melanie Thielker fb900f6055 Applying Intimidated's patch to fix anim handling.
Fixes Mantis #3417
2009-04-06 18:02:12 +00:00
Jeff Ames 465f1df592 Add copyright headers, formatting cleanup. 2009-04-06 14:36:44 +00:00
Jeff Ames 5f34bd73fb Update svn properties. 2009-04-06 14:24:13 +00:00
Melanie Thielker 2a5d38a580 Thank you, Intimidated, for a patch too fix the movement animation handling
Fixes Mantis #3413
2009-04-06 10:44:41 +00:00
Adam Frisby 9e51c2db95 * Implements World.Parcels[] array for MRM scripting. 2009-04-06 07:17:23 +00:00
Adam Frisby 918c466881 * Adds AutoOAR module, this will automatically OAR your regions every 20 minutes to a directory called "autooar", if enabled. Default disabled. Use [autooar] Enabled=true in OpenSim.ini to enable.
* Adds some MRM XMLDOC
2009-04-06 04:17:55 +00:00
diva 5b103aab89 Changed the asynchronous call to get inventory in HG, so that it properly reports problems. OGS1 should also be changed, but I'm leaving it as is for now. RestSessionObjectPosterResponse is fairly broken and should not be used.
Minor changes in Get inventory item in HGAssetMapper.
2009-04-05 22:39:19 +00:00
Dahlia Trimble f73d4f9735 unspecified sculpt stitching mode now defaults to plane instead of sphere. Addresses Mantis #3403 2009-04-05 19:25:39 +00:00
Homer Horwitz c44f4add8b Thanks StrawberryFride for a MSSQL patch to mirror r9011.
Fixes Mantis #3409
2009-04-05 18:05:55 +00:00
Homer Horwitz d4e23e28ca Ouch. Remove some test left over from r9013, which broke startup 2009-04-05 18:05:44 +00:00
Homer Horwitz 648452dd91 - Add new RegionModulesControllerPlugin to the application modules
- Change several classes to use the new plugin for handling of region-modules
  (NOTE: No regionmodule is using this yet)
- Add necessary prebuild parts (don't forget to runprebuild)
Attention: Work in progress. This shouldn't break anything, but you never know...
2009-04-05 17:08:11 +00:00
Homer Horwitz 50aa775ea7 - Move IWindModule to OpenSim.Region.Framework.Interfaces
- Fix a dependency problem.
Hopefully fixes Mantis #3395
2009-04-05 17:08:01 +00:00
Homer Horwitz 97fa525f4e Adding migrations for MySQL and SQLite for removing the "old" cloud image.
The new one already in the Library will be reinserted automatically.
Fixes Mantis #964
2009-04-05 17:07:50 +00:00
diva 75873b6253 Thanks BlueWall for a patch that adds Hypergrid dynamic linking to osTeleportAgent. Fixes mantis #3408. 2009-04-05 16:41:27 +00:00
idb 4e8723ad3f Directory defaults for region xml files when creating a new region got changed/lost with svn 8550 when a check was added for the file name having .xml extension. The extension check has been moved slightly earlier and the original directory logic restored.
Fixes Mantis #3386
2009-04-05 10:31:18 +00:00
Teravus Ovares cf1e8b1723 * Fixing SVN properties 2009-04-05 08:43:29 +00:00
Teravus Ovares e592d03843 * Committing what I have on the BulletDotNETPlugin that I have so far.
* It's not ready to try.   It doesn't do what you expect in many ways.
* It throws errors and prints jibberish on the console
* Test it out only if you're brave and you've backed up first.
* The opensim.ini line is physics = BulletDotNETPlugin
2009-04-05 08:35:38 +00:00
diva 3c9cba1627 Added CreateObject(regionhandle, userID, itemID) to post objects that are to be fetched from the user's inventory server and rezzed in the region. Added all code necessary to fetch the item and the asset, and rez it inworld. The access to the item is uncap-ed and unverified -- I may place it later either under a cap or with auth verification. But in this model regions don't have the user's inventory, so they would have to guess the item IDs.
Added safemode config to Standalone Hypergrid, similar effect to AllowRegionAccessToInventory in Inventory Server. Everyone should have these vars set to their default values except me!
2009-04-05 03:27:50 +00:00
Adam Frisby 9a4192d14e * Fixed copyright headers on HyperGrid source files. (Now match the rest of OpenSim, license text is unchanged)
* Added Bitmap[,] to IParcel for MRM
2009-04-05 02:51:10 +00:00
Adam Frisby 51419d21e4 * Minor cosmetic change to SEUser to get Bamboo to initiate another build. (grr)
* Adds basic IParcel interface. Soon to live on World.Parcels{[id],[x,y]}
2009-04-05 01:36:30 +00:00
Adam Frisby dc967b16a4 * Typo in constructor during class rename (whoops!)
* OpenSim is now over 9000.
2009-04-05 01:29:58 +00:00
Adam Frisby f094847c43 * Implements ISocialEntity - this represents the class of "user-like" objects such as Users, Groups, etc. Destined to be used as the return value of any "Owner" properties.
* Implements basic "SEUser" class which implements Avatar/Agent SE functions (primitive).
2009-04-05 01:28:23 +00:00
Adam Frisby 2e1646d368 * Removes IsPhysical, IsPhantom from IObject, since this is now represented in IObject.Physics.Enabled / IObject.Physics.Phantom instead. 2009-04-04 23:44:37 +00:00
Adam Frisby e120876bd0 Implements on IObjectPhysics:
* SetMomentum
* AddAngularForce
* AddForce
* FloatOnWater
* Force
* Acceleration
* Torque
* Velocity
* RotationalVelocity
* CenterOfMass
* GeometricCenter
* Buoyancy
* Mass (Partial)
* Density (Partial)
2009-04-04 23:32:37 +00:00
Adam Frisby 746729b6ce * Implements IObjectPhysics on SOPObject partially.
* Eg, IObject.Physics.* is now valid syntax and compiles (but will throw NotSupported at runtime)
2009-04-04 23:23:24 +00:00
Adam Frisby 39c3ccb93a * Implements IObjectPhysics, this collects Physics attributes into one interface, will be referenced on IObject as IObject.Physics.*
* Eg; IObject.Physics.Torque = new Vector3(30.0,0.4,0.5);
* Maps loosely to internal PhysicsActor class.
2009-04-04 23:16:19 +00:00
Adam Frisby d758753d7c * More fiddling with MRM IPersistence, now stores <T> instead of Object. 2009-04-04 22:57:53 +00:00
idb 168752b81b Give a meaningful message if terrain save fails because of a file IO error.
Fixes Mantis #3348
2009-04-04 22:26:38 +00:00
Homer Horwitz 8136cf4075 Thanks jonc, for a patch that adds rendering of classic clouds.
First part of Mantis #964, the necessary clouds image will follow separately.
2009-04-04 15:43:02 +00:00
Homer Horwitz 7acec9860d DST setting wasn't transferred to client, leading to wrong time display. 2009-04-04 14:26:35 +00:00
Homer Horwitz c6283cacac Remove some Mono warnings. 2009-04-04 14:26:24 +00:00
nlin 449bebf16e Preliminary work to support ObjectSpin* packets when user invokes CTRL / SHIFT / MOUSE DRAG on a physical object
Addresses Mantis #3381
2009-04-04 13:13:14 +00:00
Adam Frisby 23193ab538 * Changed IPersistence interface so that passing the MRMBase is unessecary. 2009-04-04 08:36:45 +00:00
Adam Frisby 4e9403e6ef * Renamed Heightmap.Height to Heightmap.Length to avoid confusion about axis.
* Added XMLDOC to MRM API code, this means we have usable programming docs being produced here: http://docs.opensimulator.org/namespaceOpenSim_1_1Region_1_1OptionalModules_1_1Scripting_1_1Minimodule.html (eg IObject, IHeightmap, etc)
2009-04-04 08:33:58 +00:00
Jeff Ames 5cf7b784ce Add copyright headers, formatting cleanup. 2009-04-04 07:32:41 +00:00