aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Mantis#2796. Thank you kindly, Gerhard for a patch that addresses:Charles Krinke2008-12-201-1/+1
| | | | | | | | | | | | | | On a call of llVolumeDetect(1) (or any other number !=0) volume detection is enabled. Together with VD, the phantom flag is set to the GUI. On a call of llVolumeDetect(0), vd detection is switched of again, also the phantom state is removed. On a call to llSetState(STATE_PHANTOM, false) while VD is active, also VD is switched off. The same is true for unchecking the phantom flag via GUI. This allows to take back VD without the need to script just by removing the phantom flag. Things missing in this patch: persistance of the volume-detection flag. This needs more discussion and will be included in another patch soon.
* * Adding some locks to XEngine's m_PrimObjects which were prone to 'the ↵Teravus Ovares2008-12-171-23/+34
| | | | collection was modified'
* Make scripted item and folder gives pop up a "accept, decline" messageMelanie Thielker2008-12-141-6/+54
| | | | | | and allow deletion of the just received item.
* Remove use of time dilation in llGetTimeOfDay, llGetTime and llGetAndResetTime.idb2008-12-141-3/+3
| | | | | | It is not documented to be applied to llGetTimeOfDay at all and is not appropriate for the other two because dilation does not directly affect script speed in OS. Fixes Mantis #2783 and #2162
* * Implements the torque/Rotational Impulse methods in the PhysicsAPI and the ↵Teravus Ovares2008-12-141-5/+7
| | | | | | | ODEPlugin and pipes them to their respective LSL method. * NBody will need to be updated, this is an API change. Torque property and AddAngularForce
* Added ATTACH_HUD_* constants fixes Mantis #2823idb2008-12-141-0/+8
|
* Made the casting of stings to floats more robust and work more like SL.idb2008-12-122-15/+29
| | | | | | Added some more tests that casts previously failed on. Fixes Mantis #2789
* Update svn properties, minor formatting cleanup.Jeff Ames2008-12-111-17/+17
|
* From: Christopher Yeoh <yeohc@au1.ibm.com>Sean Dague2008-12-091-4/+15
| | | | | | | | | | | | The attached patch ads an OpenSim.ini option (AutomaticLinkPermission) which when enabled makes PERMISSION_CHANGE_LINKS to be granted to scripts by default. When enabled llGetPermissions will always return it as granted and llCreateLink//llBreakLink will succeed without doing llRequestPermissions. ONLY ENABLE THIS IN TRUSTED ENVIRONMENTS. The patch also fixes a minor bug in llCreateLink related to a potential dereference of a null client object.
* * Gerhard's patch m2781. Does some initial work for setting up llVolumeDetect.Teravus Ovares2008-12-091-1/+7
| | | | | | * Warning! Physics API change. This means that the NBodySimulation needs to be updated! * PhysicsActor -> void SetVolumeDetect(int) needs to go into classes that use PhysicsActor as their base class.
* Remove null checks on structsidb2008-12-091-6/+6
|
* Allow empty statements in LSL (; followed by ;). Fixes Mantis#2320Homer Horwitz2008-12-071-7665/+7735
|
* Fix an ArgumentNullException when moving a DotNet scripted object to the ↵idb2008-12-061-2/+2
| | | | next region
* Implementation of the llDetectedTouch* functionsidb2008-12-055-15/+115
|
* Mantis #2350idb2008-12-051-2/+3
| | | | | Move the DotNetEngine Unloading script debug message
* Minor formatting cleanup.Jeff Ames2008-12-031-3/+3
|
* From: Christopher Yeoh <cyeoh@au1.ibm.com>Dr Scofield2008-12-031-1/+4
| | | | | | | | The attached patch fixes the bug where llCreateLink will cause a null dereference if the avatar who gave link permission for the object is no longer logged in.
* Remove a line of debug info in XEngine that i missedMelanie Thielker2008-12-031-1/+1
|
* * Apply http://opensimulator.org/mantis/view.php?id=2741Justin Clarke Casey2008-12-021-1/+1
| | | | | | | * Fix llTriggerSound() * Thanks Godfrey!
* Remove some of the XEngine chattinessMelanie Thielker2008-12-022-4/+4
|
* Remove duplicated avatar height calculation in lsl functions.idb2008-12-011-19/+3
| | | | | Use height calculation in Basic Physics and Physics of Simplicity so that avatars larger than the default walk with straight legs and shorter walk on the ground.
* Update svn properties. Add copyright header. Minor formatting cleanup.Jeff Ames2008-11-301-26/+53
|
* Start scripts in attachments only after a successful attach. ElimininateMelanie Thielker2008-11-292-1/+13
| | | | | | a gratuitious asset fetch when region crossing.
* Add the lifetime management back into the LSL_Api, since that will alsoMelanie Thielker2008-11-291-2/+10
| | | | | | expire and take the scripts down
* Comment the ScriptSponsor and restore the indefinite lifetime forMelanie Thielker2008-11-293-12/+12
| | | | | | scripts until that can be better debugged
* * minor: remove mono compiler warningsJustin Clarke Casey2008-11-271-2/+2
|
* Test commit.. just contains div trace and other stuff.Tedd Hansen2008-11-273-12/+27
|
* ScriptSponsor and LSL_Api are now MarshalByRefObjectTedd Hansen2008-11-262-2/+2
|
* Made ScriptSponsor serializableTedd Hansen2008-11-261-0/+1
|
* Yay for unit tests. Increased the type width of the prims and primshapesMelanie Thielker2008-11-261-0/+1
| | | | | | | tables, and changed the database modules to actually push these doubles down into the database layer.
* Attempt to give script objects a proper lease time (DNE and xengine). Relies ↵Tedd Hansen2008-11-265-16/+48
| | | | on GC. Also removed lease for LSL_Api as it strictly speaking should not be MarshalByRef. Or should it? If so I broke scripting! :)
* * Removed more locks on EntitiesAdam Frisby2008-11-241-4/+1
| | | | | | | * Entities should now in theory be lock-free externally. * Other properties may cause blocking however[?]. * ScenePresence maintains separate locks so isn't fixed by this commit.
* Some refactoring from about a week ago that I forgot to commit, of ↵MW2008-11-241-1/+1
| | | | AssetTransactionModule to cut down on number of classes and to work towards having a base AssetXferUploader class than can be shared with EstateTerrainXferHandler
* Refactor: Scene.ExternalChecks -> Scene.Permissions. Also make allMelanie Thielker2008-11-212-7/+7
| | | | | | the internals of the permissions module adapter sane
* * refactor: Rip out SOP inventory from the partial into a separate classJustin Clarke Casey2008-11-218-14/+13
| | | | | | | | * SceneObjectPartInventory.cs isn't a particularly good name but it's probably not got a long life * A proper inventory interface to follow * Parallel changes for other inventory partial classes to follow at a later date
* * Improve and correct messages given to the user when permission is denied ↵Justin Clarke Casey2008-11-211-3/+8
| | | | | | | | for a particular OSSL function * I don't believe that the extra information given is anything that couldn't be worked out by trial and error
* Mantis#2656. Thank you kindly, Nlin for a patch that:Charles Krinke2008-11-191-1/+17
| | | | | | Attached patch implements llCollisionSound. Thanks T. Sado.
* Reapply r7369 r7367 r7366 r7370 r7381. This brings it back up to the newMelanie Thielker2008-11-192-2/+6
| | | | | | libOMV.
* Reverting the texture sending patch and the new libOMV. This makes thisMelanie Thielker2008-11-192-6/+2
| | | | | | | | | release a direct descendant of the stable 7364, with all the features and none of the issues. This omits the following patch chain: r7383 r7382 r7381 r7377 r7375 r7373 r7372 r7370 r7369 r7368 r7367 r7366
* Remove perts of jhurliman's AD security patch that had slipped inMelanie Thielker2008-11-181-8/+0
|
* * Remove Appdomain code in XEngine.csJustin Clarke Casey2008-11-171-12/+2
|
* * Update libOMV to r2359. This is necessary for the progressive texture patchJustin Clarke Casey2008-11-172-2/+24
| | | | | | | | * Update libopenjpeg as well for this patch. * Appears to be okay on a very short sniff test * Source code will be placed in opensim-libs shortly
* Fix the PAY_HIDE and PAY_DEFAULT constants to be LSLIntegers and getMelanie Thielker2008-11-171-2/+2
| | | | | | accepted in the quick buttons list
* * Remove the TransferRequest and hip debugging console output that crept in ↵Justin Clarke Casey2008-11-171-3/+2
| | | | recently
* * Eliminate SOG.FakeDeleteGroup() since it is now identical with ↵Justin Clarke Casey2008-11-171-22/+0
| | | | | | | | DeleteGroup() (except that is didn't lock the parts, which was a potential race condition) * Removed fake delete code from LSL_Api.SetFlexi - this code was never activiated anyway and didn't appear to make much sense on the surface
* * Stop nulling SOG.m_rootPart and parts on object deletionJustin Clarke Casey2008-11-171-8/+8
| | | | | | | | | | * This renders RootPart == null checks useless - the replacement is to check SOG.IsDeleted. However, in many cases this will not be necessary since updates to deleted parts will not be sent to the client * This should remove any remaining race conditions where an object is deleted while another thread is yet to obtain the root part to perform some operation * Doing this is probably a necessary prerequisite to moving to a model without a separate SOG and SOP * Unfortunately it's not possible to eliminate all RootPart == null checks since in some contexts it is currently used to check whether an object was created successfully
* fixing warnings in YProlog language supportDr Scofield2008-11-171-2/+2
|
* adding #pragma warnings to yprolog language supportDr Scofield2008-11-179-24/+22
|
* Make object chat come from the root prim's center, rather than trying to makeMelanie Thielker2008-11-171-3/+3
| | | | | | it come from a child prim position.
* Fix previous build breakMelanie Thielker2008-11-171-1/+1
|