aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
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
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 ↵UbitUmarov5-126/+394
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-09More on HG inventory transfers. Move the FireAndForget higher up.Diva Canto1-1/+1
2012-03-09 on linking update linked parts physical flags acording to new parent ones ( ↵UbitUmarov1-1/+8
untested )
2012-03-09 more changes on undo/redo group scaling seems to work betterUbitUmarov1-12/+6
2012-03-09Simplify minimap coarse location code by just reference SP.AbsolutePositionJustin Clark-Casey (justincc)1-5/+1
This is rather than checking whether the avatar is sitting and doing its own calculation.
2012-03-09Get rid of unnecessary ParentID == 0 check on SP.Get_AbsolutePosition since ↵Justin Clark-Casey (justincc)1-2/+2
this is handled by the necessary ParentPart check
2012-03-09Use SP.ParentPart instead of ParentID in places where it's more efficient ↵Justin Clark-Casey (justincc)2-32/+18
(saving extra null checks, etc.) However, it looks like we should retain SP.ParentID since it's much easier to use that in places where another thread could change ParentPart to null. Otherwise one has to clumsily put ParentPart in a reference, etc. to avoid a race.
2012-03-09refactor: cleanup SP.HandleAgentSit so that everything is done within one if ↵Justin Clark-Casey (justincc)1-15/+8
(part != null), rather than having unnecessary multiple checks
2012-03-09Remove a race condition from SP.Set_AbsolutePosition where we assume the ↵Justin Clark-Casey (justincc)1-5/+5
ParentPart is still not null if the ParentID != 0 Another thread could come in and stand the avatar between those two instructions.
2012-03-09 more changes in undo/redo. Basicly moved control to llclientview.cs. later ↵UbitUmarov2-33/+33
we can move back to a dispatcher function on SOG that handles the several cases( in a viwer independent way (?)) and calls current exec funtions. made cosmetic changes replacing decimals by hexs so bits are easier to read. Changed behavour of case 12 and 28 ( 0x0c and 0x1c) to make identical to 0x0d and 0x1d ( scale only and scale plus position). DOn't see 12 and 28 in use... cases 1c and 1d still broken
2012-03-08Hold a ref to the prim we're sat on rather than querying scene each timeMelanie1-27/+29
the check for significant is carried out. Prevents a deadlock condition.
2012-03-08Hold a ref to the prim we're sat on rather than querying scene each timeMelanie1-27/+30
the check for significant is carried out. Prevents a deadlock condition.
2012-03-08Display help commander topics in capitalized form - the commands themselves ↵Justin Clark-Casey (justincc)1-1/+1
are still lowercase. Also convert the estate commands to simply AddCommand() calls so that commands from two different modules can be placed in the same category