aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-03-22refactor: simplify code for checks when part.OwnerID != destPart.OwnerID in ↵Justin Clark-Casey (justincc)1-11/+8
MoveTaskInventoryItem()
2012-03-22Fix llGiveInventory() so that it checks the destination part for ↵Justin Clark-Casey (justincc)1-5/+5
AllowInventoryDrop, not the source. This allows llAllowInventoryDrop() to work. Regression test added for this case.
2012-03-22Add llGiveInventory() test from object to object where both objects are ↵Justin Clark-Casey (justincc)3-6/+17
owned by the same user.
2012-03-22Revert "Simple build permissions feature. NOTE: EXPERIMENTAL, DISABLED BY ↵Melanie1-17/+0
DEFAULT. Turns out that this can't be expressed by cascading Permission modules, so I did it as per this patch." This reverts commit 6146e7ef258b10888ad7464b72b75cca701e02c9.
2012-03-22Simple build permissions feature. NOTE: EXPERIMENTAL, DISABLED BY DEFAULT. ↵Diva Canto1-0/+17
Turns out that this can't be expressed by cascading Permission modules, so I did it as per this patch.
2012-03-22refactor: Rename AvatarAnimations -> DefaultAvatarAnimations for code ↵Justin Clark-Casey (justincc)3-6/+6
clarity since non-default animations are handled completely separately from this class
2012-03-21Instead of loading default avatar animations in both SLUtil and ↵Justin Clark-Casey (justincc)3-24/+79
AvatarAnimations, load just in AvatarAnimations instead. This lets us remove the dependency of OpenSim.Framework.dll on data/avataranimations.xml, which is not necessary for ROBUST. This commit also takes care of the odd situation where animations are stored and used internally with uppercase names (e.g. "STAND") but scripts refer to them with lowercase names (e.g. "sit").
2012-03-21 fix a bad reset of shapetype on pbshape change, added missing ↵UbitUmarov1-7/+10
checksculpload ( to reload mesh on change )
2012-03-21Changes of PrimShapeType should now work with UbitOde ( almost untested )UbitUmarov1-17/+26
2012-03-21If "debug scene updates true" then print out to log when a garbage ↵Justin Clark-Casey (justincc)1-0/+3
collection occurs.
2012-03-21Tell physics about physics shape when creating. Added some virtual methods ↵UbitUmarov1-0/+2
to get/set density,gravmod, frition,bounce and shape type ( not in use ). UbitOde now should do convex type on creation or everytime the mesh is changed ( as in change size, shape, etc )
2012-03-21Add Scene.DebugUpdates switch which, if turned on, will print out a warning ↵Justin Clark-Casey (justincc)1-10/+32
when a frame updates takes longer than twice the desired time This is controlled via "debug scene updates true|false" on the region console. Also fix an oversight with "debug scene teleport true|false"
2012-03-21Incorporate scene teleporting debugging into "debug scene teleport ↵Justin Clark-Casey (justincc)2-2/+5
true|false" command
2012-03-21Replace "scene debug true false true" console command with "scene debug ↵Justin Clark-Casey (justincc)1-25/+30
scripting true" or other parameters as appropriate. This is to allow individual switching of scene debug settings and to provide flexibiltiy for additional settings.
2012-03-21Add ability to log warn if a frame takes longer than twice the expected ↵Justin Clark-Casey (justincc)1-7/+14
time. Currently commented out.
2012-03-21Move the health monitoring stuff where it will do some goodMelanie1-3/+3
2012-03-20remove unnecessary tmpFrameMS, use maintc instead for frame time calculationJustin Clark-Casey (justincc)1-3/+2
2012-03-20Move frame loop entirely within Scene.Update() for better future performance ↵Justin Clark-Casey (justincc)4-168/+191
analysis and stat accuracy. Update() now accepts a frames parameter which can control the number of frames updated. -1 will update until shutdown. The watchdog updating moves above the maintc recalculation for any required sleep since it should be accounted for within the frame.
2012-03-20slight increase in jump power to make running jump slightly better.nebadon1-1/+1
2012-03-20reduce avatar verticle jump from the absurd 5 meter jump to a lessnebadon1-1/+1
absurd 3m vertical jump to better match what you would see in Second Life and be more in line with what users would expect.
2012-03-20Cover the case where prims are loaded and ParentGroup is not yet setMelanie1-5/+10
2012-03-20 add some more notifications about changes on physical parameters ( still ↵UbitUmarov2-10/+13
incomple and there should be a better away )
2012-03-20Cause prims to be saved if extra physics parameters are changedMelanie1-0/+5
2012-03-20Remove pointless ThreadAbortException catching in a test that isn't run anyway.Justin Clark-Casey (justincc)1-11/+5
2012-03-20Remove some pointless catching/throwing in the scene loop.Justin Clark-Casey (justincc)1-7/+0
2012-03-19Add some doc about the EventManager.OnLoginsEnabled event.Justin Clark-Casey (justincc)1-0/+7
2012-03-17Moved HandleAvatarPickerRequest from the generic Scene.PacketHandlers to the ↵Diva Canto2-55/+0
UserManagementModule where it belongs. No functional changes.
2012-03-17Region access control! Region operators can now specify things like ↵Diva Canto1-2/+2
DisallowForeigners (means what it says) and DisallowResidents (means that only admins and managers can get into the region). This puts the never-completed AuthorizationService to good use. Note that I didn't implement a grid-wide Authorization service; this service implementation is done entirely locally on the simulator. This can be changed as usual by pluging in a different AuthorizationServicesConnector.
2012-03-16Terrain: added [Terrain] section with an option to load an initial flat ↵Diva Canto2-18/+53
terrain. Default is still pinhead island. I much rather have a flat land in the beginning.
2012-03-16 some more work on costsUbitUmarov2-0/+158
2012-03-16Aggregate script execution times by linksets rather than individual prims.Justin Clark-Casey (justincc)1-1/+4
This is for the top scripts report.
2012-03-16Replace script-lines-per-second with the script execution time scaled by its ↵Justin Clark-Casey (justincc)3-39/+10
measurement period and an idealised frame time. The previous lines-per-second measurement used for top scripts report was inaccurate, since lines executed does not reflect time taken to execute. Also, every fetch of the report would reset all the numbers limiting its usefulness and we weren't even guaranteed to see the top 100. The actual measurement value should be script execution time per frame but XEngine does not work this way. Therefore, we use actual script execution time scaled by the measurement period and an idealised frame time. This is still not ideal but gives reasonable results and allows scripts to be compared. This commit moves script execution time calculations from SceneGraph into IScriptModule implementations.
2012-03-15Adds a new script command 'modInvoke' to invoke registered functionsMic Bowman1-0/+10
from region modules. The LSL translator is extended to generate the modInvoke format of commands for directly inlined function calls. A region module can register a function Test() with the name "Test". LSL code can call that function as "Test()". The compiler will translate that invocation into modInvoke("Test", ...)
2012-03-15 added ObjectPhysicsProperties http event message to send viewer that data. ↵UbitUmarov3-1/+4
For now on caps/EventQueue, and still only used on a material change...
2012-03-15Fix a problem where multiple near simultaneous calls to llDie() from ↵Justin Clark-Casey (justincc)1-10/+1
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-14bug fixs, added a default physics shape estimator based on being a mesh or ↵UbitUmarov3-18/+80
not and use it on unlink if new root part as type none. Viewer doesn't get updated even with fullupdates we are missing something still
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-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 ↵UbitUmarov4-17/+205
to SOP including SOPserialization (not to databases). No action on physics still. No send to viewer, etc
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 renameMelanie4-149/+37
ObjectChnageWhat what into ObjectChangeType change. What is no name for a variable or type!
2012-03-12Restore duplication of the SL bug where linking phantom to solid lets theMelanie1-3/+2
child prim remain phantom
2012-03-12allocate UndoRedoStore only on demandUbitUmarov1-10/+17
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 cleanup + commentsUbitUmarov1-167/+52
2012-03-11coments change..UbitUmarov1-3/+3
2012-03-11 minor changes on updates control on doChangeObject(..)UbitUmarov1-10/+48