aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-03-15Remove property/field duplication in ScriptInstance where it's unnecessary.Justin Clark-Casey (justincc)2-170/+115
2012-03-15Simplify some logic in the ScriptInstance constructor - running is set to ↵Justin Clark-Casey (justincc)1-9/+3
false in both if/else branches
2012-03-15minor: correct indentation levelsJustin Clark-Casey (justincc)1-13/+12
2012-03-15Remove duplication of m_RunEvents and RunningJustin Clark-Casey (justincc)1-17/+11
2012-03-15Fix a problem where multiple near simultaneous calls to llDie() from ↵Justin Clark-Casey (justincc)2-20/+10
multiple scripts in the same linkset can cause unnecessary thread aborts. The first llDie() could lock Scene.m_deleting_scene_object. The second llDie() would then wait at this lock. The first llDie() would go on to remove the second script but always abort it since the second script's WorkItem would not go away. Easiest solution here is to remove the m_deleting_scene_object since it's no longer justified - we no longer lock m_parts but take a copy instead. This also requires an adjustment in XEngine.OnRemoveScript not to use instance.ObjectID instead when firing the OnObjectRemoved event.
2012-03-15Alleviate an issue where calling Thread.Abort() on script WorkItems can fail ↵Justin Clark-Casey (justincc)2-4/+15
to release locks, resulting in a crippled simulator. This seems to be a particular problem with ReaderWriterLockSlim, though other locks can be affected as well. It has been seen to happen when llDie() is called in a linkset running more than one script. Alleviation here means supplying a ScriptInstance.Stop() timeout of 1000ms rather than 0ms, to give events a chance to complete. Also, we check the IsRunning status at the top of the ScriptInstance.EventProcessor() so that another event doesn't start in the mean time. Ultimately, a better solution may have to be found since a long-running event would still exceed the timeout and be aborted.
2012-03-14Allow llTeleportAgent to teleport gods when not in god modeMelanie1-1/+1
2012-03-13Teleports: bounce off repeated requests of teleporting the same agent. Some ↵Diva Canto1-0/+13
scripts do that, and that fails the whole thing.
2012-03-14refactor: rename ScriptInstance.m_CurrentResult to m_CurrentWorkItem to make ↵Justin Clark-Casey (justincc)3-25/+50
it more understandable as to what it is and what it does (hold a thread pool work item for a waiting of in-progress event) Also add other various illustrative comments
2012-03-13Implement llSetPrimitiveParams for physics shape and material. AddMelanie4-0/+77
llSetPhysicsMaterial support.
2012-03-13Hook up the new cap to the SOP changesMelanie1-8/+5
2012-03-13missed commit of extraphysics parameters serialization..UbitUmarov1-6/+46
2012-03-13 let PhysicsShapeType none remove physics remove physics on child parts ↵UbitUmarov1-10/+38
**UnTested**
2012-03-13 bug fixUbitUmarov1-2/+2
2012-03-13Implement the cap to send extra physics params to the viewer. Not functionalMelanie1-0/+38
yet because the parameters are not actually stored anywhere yet.
2012-03-13 let checkheartbeat work ( bad ideia :p ) commited by mistake my local copy ↵UbitUmarov1-1/+1
with it disabled...
2012-03-13initial suport for ExtraPhysical parts parameters. Reading from llclientView ↵UbitUmarov5-21/+230
to SOP including SOPserialization (not to databases). No action on physics still. No send to viewer, etc
2012-03-13Datasnapshot: added "secret" to the registration/deregistration query so ↵Diva Canto2-33/+28
that data providers can verify authenticity if they want.
2012-03-13Ensure child prims of a phantom prim are marked as phantomMelanie1-2/+2
2012-03-13Refactor, move OjectChangeData into it's own file and renameMelanie5-165/+53
ObjectChnageWhat what into ObjectChangeType change. What is no name for a variable or type!
2012-03-12Add max thread and min thread information to "xengine status" region console ↵Justin Clark-Casey (justincc)2-0/+5
command
2012-03-12DataSnapshot: renamed gridserverURL to gatekeeperURL, and normalimzed the ↵Diva Canto1-2/+2
capitalization of 'name' to lower case, also in the same <grid> section.
2012-03-12Restore duplication of the SL bug where linking phantom to solid lets theMelanie1-3/+2
child prim remain phantom
2012-03-12Add AVATAR_MALE flag to return values of llGetAgentInfoMelanie2-0/+6
2012-03-12allocate UndoRedoStore only on demandUbitUmarov1-10/+17
2012-03-12ubitode prim select was not doing phantom caseUbitUmarov1-6/+17
2012-03-12missing file in ubitODEUbitUmarov1-0/+1
2012-03-11Allow RLV to redirect received folders to #RLV folderMelanie1-0/+33
2012-03-11ubitOde also knows a bit more about physical phantomUbitUmarov1-29/+142
2012-03-11 Physical phantoms testable with chOde. Volume detection was changed and ↵UbitUmarov1-138/+145
also needs testing. Started making it more independent of phantom acording to new sl. ** 99.999...% UNTESTED ***
2012-03-11bug fix (??) in sog copy()UbitUmarov1-10/+19
2012-03-11 more phantom physics ( chODE and a fix in manager physicsactorUbitUmarov2-62/+121
2012-03-11initial steps to support physical phantomsUbitUmarov6-13/+73
2012-03-10Added osGetGridGatekeeperURI()Diva Canto3-0/+20
2012-03-11 cleanup + commentsUbitUmarov1-277/+0
2012-03-11 cleanup + commentsUbitUmarov1-167/+52
2012-03-11coments change..UbitUmarov1-3/+3
2012-03-11 minor changes on updates control on doChangeObject(..)UbitUmarov1-10/+48
2012-03-11 Changed undo redo internals. moved exec code to UndoState.cs from sop that ↵UbitUmarov2-136/+195
now only sees a unified UndoRedoStore class, added size limit on buffers so only last 5 undo/redo are kept. (5 is hardcode like it was ) ***UNTESTED***
2012-03-10BIG MESS. changed Iclient interface so only one event is used to inform ↵UbitUmarov8-139/+539
scene about position scale or rotation change by client (others can be added). Its served at SceneGraph that does permition checks, undostore and sends down to SOG. changed values are stored in a class (ObjectChangeData) and what is changed as a enum (ObjectChangeWhat) with bit fields and 'macros' of this for better readability (at top of scenegraph.cs lasy to find better place for now) this can be extended for other things clients changes and need undo/redo. SOG process acording to what is changed. Changed UNDO/redo to use this also (warning is only storing what is changed, previus stored all, this must be checked for side efects. to save all PRS change commented line in scenegraph). Still have excessive calls to ScheduleGroupForTerseUpdate. **** UNTESTED ****
2012-03-10Fix TestSaveOarNoAssets() by not launch a no-assets request on a separate ↵Justin Clark-Casey (justincc)1-1/+1
thread. This was previous behaviour anyway.
2012-03-10minor: In IAR save, log when we start adding the control file rather than ↵Justin Clark-Casey (justincc)1-2/+3
saying afterwards that we added it.
2012-03-10minor: rearrange some save oar messages so they say what they're about to do ↵Justin Clark-Casey (justincc)1-8/+7
rather than what they've just done.
2012-03-10On OAR saving, try fetch assets serially rather than firing all the requests ↵Justin Clark-Casey (justincc)2-9/+18
at the asset service at once. This may (or may not) improve reliability for http://opensimulator.org/mantis/view.php?id=5898 Quick tests show that save time is the same.
2012-03-10Add ability to specify a default estate to be used when creating regions.Justin Clark-Casey (justincc)1-64/+152
This is configured in the new [Estates] section of OpenSim.ini. If a default estate is configured then all new regions are automatically joined to it instead of asking the user. If the default estate does not already exist then it is created. Current default behaviour remains the same - the user is asked for estate details when necessary. Thanks to Frenando Oliveira for the patch which I adapated further.
2012-03-09Factor out common default animations code into SLUtil. LLClientView now ↵Justin Clark-Casey (justincc)3-61/+4
makes use of the SLUtil copy via a method rather than each LLClientView loading a separate copy. As per opensim-users mailing list discussion.
2012-03-09fix for NPC not playing internal animationssatguru srivastava1-1/+36
2012-03-09More on inventory transfer hold ups:Diva Canto2-2/+77
- Added an inventory cache for caching root and system folders - Synchronized the remote inventory connector, so that all the remote inventory calls are serialized This will not make much difference in the hold ups. We'd have to move the FireAndForget high up to AddInventoryItem, but that opens up a can of worms regarding the notification of the recipient... the recipient would be notified of the offer before the items are effectively in his inventory, which could lead to surprises.
2012-03-09More on HG inventory transfers. Move the FireAndForget higher up.Diva Canto2-2/+2
2012-03-09ubitOde bugUbitUmarov1-2/+4