aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-10-25Get rid of the pointless null checks on collision listeners. Add warning ↵Justin Clark-Casey (justincc)2-7/+0
about synchronicity for PhysicsActor.OnCollisionUpdate event doc
2011-10-25For ScenePresence collision events, instead of creating a new ↵Justin Clark-Casey (justincc)1-4/+6
CollisionEventsThisFrame every time we need to send some new ones, reuse the existing one instead. This assumes that the listener is using the data synchronously, which is currently the case.
2011-10-25Make OpenSim.Framework.Servers.HttpServer rely on OpenSim.Framework instead ↵Justin Clark-Casey (justincc)1-0/+1
of the other way around. This is necessary so that code in HttpServer can use framework facilities such as the thread watchdog for monitoring purposes. Doing this shuffle meant that MainServer was moved into OpenSim/Framework/Servers Also had to make OpenSim.Framework.Console rely on OpenSim.Framework rather than the other way around since it in turn relies on HttpServer MainConsole and some new interfaces had to be moved into OpenSim/Framework to allow this. This can be reverted if parts of OpenSim.Framework stop relying on console presence (cheifly RegionInfo)
2011-10-24Add new EventQueueTests with basic test to check that adding a client ↵Justin Clark-Casey (justincc)1-1/+3
registers an http poll
2011-10-23Comment out the uuid gatherer lines that I accidentally left in.Justin Clark-Casey (justincc)1-4/+4
2011-10-22Get UUIDGatherer to scan notecards in the graph for asset uuids.Justin Clark-Casey (justincc)2-16/+48
This is to support npc baked texture saving in oars and iars. May address http://opensimulator.org/mantis/view.php?id=5743
2011-10-20Get OdeScene to use passed in time step rather than hard-coded 0.089Justin Clark-Casey (justincc)1-2/+8
However, I still don't recommend changing MinFrameTime from 0.089, high values do not work well and lower values don't seem to make much difference
2011-10-20Pass PhysicsScene.Simulate() only the MinFrameTime rather than the useless ↵Justin Clark-Casey (justincc)1-12/+4
Math.Max(SinceLastFrame.TotalSeconds, MinFrameTime) SinceLastFrame was calculating the interval between any sleep that had occurred to pad out the frame time and the start of the next frame. This would usually be below MinFrameTime but occasionally if the sleep was long it would be above, often due to the time required to update the watchdog. This doesn't appear to play much practical role right now. ODE was actually ignoring it entirely. Bullet might be helped slightly by receiving a non-varying value.
2011-10-19Removed redundant NotInTransit function from ScenePresence. ↵Dan Lake1-5/+0
IsInTransit=false does the same thing and NotInTransit was not used anywhere.
2011-10-19Moved HaveNeighbor utility function from ScenePresence to Scene. Fixed line ↵Dan Lake3-50/+50
endings from previous commit.
2011-10-19Renamed and rearranged AvatarFactoryModule to eliminate redundant lookups of ↵Dan Lake3-7/+10
scene presence by client ID.
2011-10-19Extend scripts stop/start/suspend/resume console commands to allow action on ↵Justin Clark-Casey (justincc)1-5/+9
a single script by giving the script item id (which can be found via scripts show). Not an ideal way to do this on a region with many scripts. Needs refinement later.
2011-10-17Allow an avatar to be explicitly named to the "debug packet" commandJustin Clark-Casey (justincc)1-2/+3
2011-10-17refactor: Make IClientAPI.DebugPacketFormat a property rather than a setter ↵Justin Clark-Casey (justincc)1-1/+1
without a getter
2011-10-17refactor: Use SOP.SitTargetAvatar instead of calling a special ↵Justin Clark-Casey (justincc)2-10/+9
GetAvatarOnSitTarget() which returned exactly the same thing
2011-10-17Implement osNpcStand(<npc-id>)Justin Clark-Casey (justincc)1-0/+8
Allows you to stand an NPC that has sat.
2011-10-17Implement osNpcSit(). This is still in development so don't trust itJustin Clark-Casey (justincc)3-5/+13
Format is osNpcSit(<npc-uuid>, <target-uuid>, OS_NPC_SIT_IMMEDIATE) e.g. osNpcSit(npc, llGetKey(), OS_NPC_SIT_IMMEDIATE); At the moment, sit only succeeds if the part has a sit target set. NPC immediately sits on the target even if miles away - they do not walk up to it. This method is in development - it may change so please don't trust it yet. Standing will follow shortly since that's kind of important once you're sitting :)
2011-10-15improve method doc on Scene.OtherRegionUp()Justin Clark-Casey (justincc)1-4/+4
this is really just to trigger panda.
2011-10-15move see_into_this_sim_from_neighbor [Startup] flag parsing into Scene with ↵Justin Clark-Casey (justincc)1-3/+2
the others
2011-10-15fetch physical_prim switch from [Startup] config from inside scene, as is ↵Justin Clark-Casey (justincc)2-38/+17
done for most other scene config params
2011-10-15remove now redundant m_physical_prim flag from SOP.ApplyPhysics()Justin Clark-Casey (justincc)2-6/+6
2011-10-15Restore [Startup] physical_prim flag which can stop any prims being subject ↵Justin Clark-Casey (justincc)1-1/+6
to physics This had stopped working. However, at the moment it still allows the physics flag to be set even though this has no effect. This needs to be fixed. Default for this flag is true as previously.
2011-10-15remove redundant PhysActor.IsPhysical call from SOP.UpdatePrimFlags() as its ↵Justin Clark-Casey (justincc)1-4/+0
done immediately afterwards in DoPhysicsPropertyUpdate()
2011-10-15refactor: Remove redundant code in SOP.UpdatePrimFlags()Justin Clark-Casey (justincc)1-27/+21
2011-10-15factor common code out into SOP.RemoveFromPhysics()Justin Clark-Casey (justincc)2-7/+18
2011-10-14refactor: rename IClientAPI.SendPrimUpdate() to SendEntityUpdate() since it ↵Justin Clark-Casey (justincc)2-3/+3
sends entity updates (including presence ones), not just prims.
2011-10-13Expose minimum frame time and update periods for experimentation.Justin Clark-Casey (justincc)1-19/+33
Settings are at bottom of [Startup] in OpenSimDefaults.ini, override in OpenSim.ini to change Defaults are the same as previously. More information to come on opensim-dev shortly. Feel free to tweak but if you do please don't expect any support unless feedback on certain tweaks is explicitly requested.
2011-10-13refactor: Put the frame update period when temporary objects are cleaned up ↵Justin Clark-Casey (justincc)1-4/+4
in a field, like all the other update periods
2011-10-13refactor: chain the two scene constructors together to eliminate more copypastaJustin Clark-Casey (justincc)1-29/+1
2011-10-13Tie reported FPS correction factor into the minimum frame time rather than ↵Justin Clark-Casey (justincc)2-6/+13
setting separately. This makes reported FPS scale as required if min frame time changes
2011-10-13Move fps stat adjustment factor into field rather than hard-coded.Justin Clark-Casey (justincc)1-1/+12
2011-10-12remove some mono compiler warningsJustin Clark-Casey (justincc)3-44/+1
2011-10-11Start recording object updates per second statistic (analogue of agent ↵Justin Clark-Casey (justincc)2-1/+35
updates per secod) and expose via monitoring module as ObjectUpdatePerSecondMonitor A useful diagnostic to find out how object updates are burdening a scene
2011-10-10Add other region stats (total frame time, physics fps, etc.) currently ↵Justin Clark-Casey (justincc)1-1/+1
missing from MonitorModule Unlike the other 3 stats mechanisms, monitor data can be queried per individual region, which makes this useful. This doesn't affect an of the existing monitored stats.
2011-10-10Convert getLastReportedSimFPS() and getLastReportedSimStats() into more ↵Justin Clark-Casey (justincc)1-13/+13
idiomatic LastReportedSimFPS and LastReportedSimStats on SimStatsReporter
2011-10-10refactor: have lsl and ossl interrogate scene.StatsReporter directly rather ↵Justin Clark-Casey (justincc)1-13/+0
than going through scene I know this goes against the law of demeter but I don't think it's that useful here and I'd rather get rid of nasty little wrapper methods
2011-10-08Go back to lying that sim fps is 55 when it's actually locked at a maximum ↵Justin Clark-Casey (justincc)1-2/+6
of 11. We're been lying since 2008 so I'm sure another few years can't hurt. To know the real fps, either divide sim fps by 5 and/or look at the frame time.
2011-10-07Comment out [SCENE PRESENCE] SendAppearanceToAllOtherAgents: log messageJustin Clark-Casey (justincc)1-1/+1
As per earlier discussions with dslake
2011-10-06Fixed line endings from previous commitDan Lake3-51/+51
2011-10-06Refactored "known child region" in ScenePresence. There were 4 differentDan Lake4-88/+78
ways to access the list/dictionary of child regions and locking was inconsistent. There are now public properties which enforce locks. Callers are no longer required to create new copies of lists.
2011-10-07remove the pointless slashes on the end of the (5!) different server stat ↵Justin Clark-Casey (justincc)1-9/+2
retrieval mechanisms. Original request URLs that end with / will still work, but this will allow one to type /simstatus as well as /simstatus/ Can't do this with webstats yet since it does insane things to the path.
2011-10-06Simplified IsInTransit property on ScenePresence and removed InTransit() ↵Dan Lake1-11/+10
which called IsInTransit=true which called m_inTransit=true. Also removed NotInTransit().
2011-10-06Refactor ScenePresence so gets and sets are through properties. Added ↵Dan Lake1-287/+288
private sets when needed. Removed redundant code when methods replicated what the set already does
2011-10-06Instead of adding stat agentMS in all kinds of places, calculate it instead ↵Justin Clark-Casey (justincc)4-36/+21
in the main Scene.Update() loop, like the other stats Some of the places where agentMS was added were in separate threads launched by the update loop. I don't believe this is correct, since such threads are no longer contributing to frame time. Some of the places were also driven by client input rather than the scene loop. I don't believe it's appropriate to add this kind of stuff to scene loop stats. These changes hopefully have the nice affect of making the broken out frame stats actually add up to the total frame time
2011-10-05Make reported sim fps more accurate, in line with frame time msJustin Clark-Casey (justincc)3-24/+36
Also remove some unused fields and improve naming on others.
2011-10-04Removed all refs to IClientAPI from IAttachmentsModule. Separated client ↵Dan Lake1-22/+9
handlers for attachments to call public interface and rearranged module file into sections
2011-10-03Removed redundant code in AttachmentsModule and simplified interfaces which ↵Dan Lake2-30/+7
converted back and forth between ScenePresence and IClientAPI. More to be done still.
2011-10-04Animation-States Turning Left, Turning Right implemented/enabledPixel Tomsen1-2/+6
http://opensimulator.org/mantis/view.php?id=3036
2011-10-03Remove vestigal RegionStatus.SlaveScene.Justin Clark-Casey (justincc)1-45/+42
This appears to be code clutter since the code that uses this has long gone.
2011-10-03Remove usage of Linden packet types from inside Attachments Module and interfaceDan Lake1-2/+2