Commit Graph

8827 Commits (3db52d95ef42bf82182af02c9c4ad5ea8cecee9e)

Author SHA1 Message Date
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
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 daac8ad2db * Tweak prebuild #2 2009-04-10 23:55:03 +00:00
Teravus Ovares 881ab5412f * Fixes missing meshing reference. 2009-04-10 23:32:29 +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 e8dfa00d8c * Updated BulletDotNET dll with the ContactFlags definition. 2009-04-10 06:08: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