aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-10-26Comment out InventoryTransferModule.NeedSceneCacheClear() and invocations ↵Justin Clark-Casey (justincc)1-11/+13
since the call itself does nothing and the return value is ignored by all callers. This is a very old method (+4 years) so is probably confusing code cruft.
2012-10-25minor: if a scene is already shutting down on Scene.Close(), warn and exit ↵Justin Clark-Casey (justincc)1-0/+6
instead of attempting to run another shutdown concurrently. Thanks to Oren Hurvitz for this change.
2012-10-25Changed "course" to "coarse" in several placesOren Hurvitz1-7/+7
2012-10-25In Scene.Close(), dispose of the physics scene after base.Close() since ↵Justin Clark-Casey (justincc)2-6/+25
script events can still access Physics scene until the script engine shuts down (triggered off base.Close()) XEngine listeners to EventManager.OnShutdown which is triggered from base.Close(). Possibly it could listen for the earlier OnSceneShuttingDown instead, but the easier solution right now is to relocate disposal of the physics scene. This bug has existed since c150320 (Thu Jul 26 15:27:18 2012) and was in 0.7.4
2012-10-25Fix for Mantis 0006376: Avatar no longer show Walking animation when any AO ↵nebadon1-1/+1
hud is loaded. Thank you tglion
2012-10-25Fix script error messages not showing up in viewer 3 and associated viewers.Justin Clark-Casey (justincc)1-0/+12
Viewer 3 will discard such a message if the chat message owner does not match the avatar. We were filling the ownerID with the primID, so this never matched, hence viewer 3 did not see any script error messages. This commit fills the ownerID in with the prim ownerID so the script owner will receive script error messages. This does not affect viewer 1 and associated viewers which continue to process script errors as normal.
2012-10-25When scripts generate expected exceptions (e.g. due to checked bad ↵Justin Clark-Casey (justincc)1-1/+4
parameter) throw ScriptException instead of just a plain old exception. This is to make it easier to distinguish these exceptions from unexpected OpenSimulator problems internally and in regression tests. No functional changes.
2012-10-24Allow "show object", "show part", "dump object" and "delete object" to ↵Justin Clark-Casey (justincc)2-1/+36
accept a local ID as well as a UUID. This means that the sub-commands are now id rather than uuid, e.g. show object id
2012-10-23Add object count stats for new IncomingPacket and UDPPacketBuffer pools if ↵Justin Clark-Casey (justincc)1-2/+4
they are enabled. Add count stats for existing LLUDP pool. This introduces a pull stat type in addition to the push stat type. A pull stat takes a method on construction which knows how to update the stat on request. In this way, special interfaces for pull stat collection are not necessary.
2012-10-20minor: Rename assetCache constructor param in UUIDGatherer to assetService ↵Justin Clark-Casey (justincc)1-2/+2
which is what it is.
2012-10-19normalize quaternion.Slerp outputsUbitUmarov1-0/+1
Signed-off-by: Melanie <melanie@t-data.com>
2012-10-18Add number of inventory items to information displayed via "show part" ↵Justin Clark-Casey (justincc)2-3/+20
console command
2012-10-18Remove extraneous calls to the now commented CheckSculptAndLoadMelanie1-24/+0
2012-10-18 extend coment to include all unused SOG CheckSculptAndLoad()UbitUmarov1-3/+4
2012-10-18[DANGER UNTESTED] ODE mesh assets. Other plugins will not do meshs/sculptsUbitUmarov2-14/+18
now Signed-off-by: Melanie <melanie@t-data.com>
2012-10-16minor: Add/correct some doc messages associated with entity teleport.Justin Clark-Casey (justincc)1-2/+3
I believe UseCircuitCode is sent on EnableSimulator EQ message, rather than EstablishAgentCommunication At least with LL 3.3.4, EstablishAgentCommunication appears unnecessary in the teleport context - viewer still requests it though possibly only after TeleportFinish(). However, we will continue to send it.
2012-10-12Get rid of accidental scene start left in ScenePresenceAutopilotTestsJustin Clark-Casey (justincc)1-1/+0
2012-10-12Fix problems with regression tests by allowing invoke of Update() with a ↵Justin Clark-Casey (justincc)2-3/+5
finite number of frames even if the scene isn't active.
2012-10-12Add "active true|false" to "debug scene" console command.Justin Clark-Casey (justincc)1-3/+37
This allows the scene update and maintenance loops to be started and stopped for debug purposes.
2012-10-10minor: Add method doc to EventManager.OnNewClient, OnClientLogin, ↵Justin Clark-Casey (justincc)1-0/+14
ClientClosed, OnRemovePresence that any long-running operations should be launched on a thread separate to the event thread.
2012-10-10Lock on AgentCircuitData during Scene.AddClient() and RemoveClient() to ↵Justin Clark-Casey (justincc)1-201/+256
prevent an inactive connection being left behind if the user closes the viewer whilst the connection is being established. This should remove the need to run the console command "kick user --force" when these connections are left around.
2012-10-09minor: elaborate method doc on Scene.NewUserConnection()Justin Clark-Casey (justincc)1-6/+13
2012-10-06On receiving TaskInventoryAccepted with a destination folder in the binary ↵Justin Clark-Casey (justincc)1-1/+1
bucket slot for RLV, notify the viewer about inventory folder updates. The viewer would not see the folder move without this, either on accept or decline. This commit also updates the TaskInventoryOffered message to better conform with the data LL uses Changes are, agentID is prim owner rather than prim id, agent name is now simply object name rather than name with owner detail, message is just folder name in single quotes, message is not timestamped. However, folder is not renamed "still #RLV/~<name>". Long term solution is probably not to do these operations server-side. Notes will be added to http://opensimulator.org/mantis/view.php?id=6311
2012-10-05Add bool to TriggerSceneObjectPartUpdated where full = true indicates a full ↵Dan Lake2-5/+5
update. There should be a better way to indicate which properties have changed that is non LLUDP-centric
2012-10-05Trigger ObjectAddedToScene when loading objects from oarfile. Already ↵Dan Lake1-1/+8
triggers when creating, duplicating or loading from database, incoming attachments, etc
2012-10-05minor: Add missing license information from the top of IUserManagementJustin Clark-Casey (justincc)1-1/+28
2012-10-05Forgot to actually remove the packetpool set code from scene.Justin Clark-Casey (justincc)1-7/+0
2012-10-04Allow default animation to be stopped to be replaced with another one.Melanie2-16/+29
Fixes Mantis #6327
2012-10-04Add generic PercentageStat.Justin Clark-Casey (justincc)1-1/+1
Not yet used.
2012-10-04Add experimental "slow frames" stat, available in "show stats" and via the ↵Justin Clark-Casey (justincc)1-0/+33
monitoring module. This increments a SlowFrames counter if a frame takes over 120% of maximum time. This commit also introduces a generic OpenSim.Framework.Monitoring.Stat which is available to any code that wants to register a statistic. This is more granualar than asking objects to create their own reports. At some point this will supersede earlier IMonitor and IAlert facilities in MonitoringModule which are only available to scene code.
2012-10-02implementing osDropAttachment & osDropAttachmentAtSignpostMarv1-0/+9
2012-10-02Prevent the ExtraSettings code from crashing SQLite driven sims.Melanie1-0/+6
2012-09-27Add MaxPrimsUndo config setting to [Startup] section of OpenSim.ini.Justin Clark-Casey (justincc)5-19/+12
This controls how many undo steps the simulator will store for each prim. Default is now 20 rather than 5 as it briefly was. The default number could be increased through this is a memory tradeoff which will scale with the number of prims in the sim and level of activity.
2012-09-26Don't store undo states if a scene object is manipulated when it is not in a ↵Justin Clark-Casey (justincc)2-3/+26
scene. Adds regression test for this.
2012-09-26refactor: Change control structures in SOP.StoreUndoState() to reduce nesting.Justin Clark-Casey (justincc)1-45/+43
2012-09-26Make it possible to rescale SOGs when they are not in a scene.Justin Clark-Casey (justincc)2-34/+40
2012-09-26Enforce existing 5 action hardcoded undo limit.Justin Clark-Casey (justincc)3-27/+65
This was present in the code but not enforced, which led to a memory leak over time as part properties were changed, whether by viewer, script or another source. This commit enforces that limit, which will soon become configurable. Regression test for undo limit added Should help with http://opensimulator.org/mantis/view.php?id=6279
2012-09-26Add basic undo/redo regression tests.Justin Clark-Casey (justincc)3-8/+137
2012-09-24Documenting object-related eventsSignpostMarv1-0/+43
2012-09-24Documenting LSL script-related eventsSignpostMarv1-2/+147
2012-09-21This fixes HG attachments' missing assets (textures, etc).Diva Canto1-10/+17
Also, further improvements on HGUuidGatherer: if the assets are already in this grid don't fetch them again.
2012-09-22Documenting non-LSL script-related eventsSignpostMarv1-0/+52
2012-09-21Moved the small HGUuidGatherer class to the file where its parent class is. ↵Diva Canto1-0/+36
No need to keep 2 separate files.
2012-09-21Rename UuidGather.m_assetCache to m_assetService. If HGUuidGatherer hasn't ↵Justin Clark-Casey (justincc)1-7/+4
been instantiated with an assetServerURL then call down to overriden UuidGatherer.GetAsset() instead of calling m_assetService.GetAsset() itself - these two codepaths are now identical.
2012-09-21Simplify UuidGatherer by performing asset fetch synchronously rather than ↵Justin Clark-Casey (justincc)1-40/+44
using the async call but waiting for completion anyway!
2012-09-20Documentation of teleport-related eventsSignpostMarv1-0/+19
2012-09-20minor tweaks to existing comments for IDE goodnessSignpostMarv1-4/+7
2012-09-20Documentation of agent-related eventsSignpostMarv1-1/+34
2012-09-20Documentation of object-related eventsSignpostMarv1-1/+38
2012-09-20Documentation of OnPluginConsoleSignpostMarv1-0/+16