aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-03-21Instead of loading default avatar animations in both SLUtil and ↵Justin Clark-Casey (justincc)1-6/+1
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-20minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-1/+1
2012-03-20Move frame loop entirely within Scene.Update() for better future performance ↵Justin Clark-Casey (justincc)1-1/+1
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-09Factor out common default animations code into SLUtil. LLClientView now ↵Justin Clark-Casey (justincc)1-26/+1
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-08Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)1-1/+1
<category/module>" to display commands in a category. This is to deal with the hundred lines of command splurge when one previously typed "help" Modelled somewhat on the mysql console One can still type help <command> to get per command help at any point. Categories capitalized to avoid conflict with the all-lowercase commands (except for commander system, as of yet). Does not affect command parsing or any other aspects of the console apart from the help system. Backwards compatible with existing modules.
2012-03-02comment out "[CAPS]: ScriptTaskInventory Request" log spamJustin Clark-Casey (justincc)1-1/+1
2012-02-24Stop spurious scene loop startup timeout alarms for scenes with many prims.Justin Clark-Casey (justincc)1-2/+5
On the first frame, all startup scene objects are added to the physics scene. This can cause a considerable delay, so we don't start raising the alarm on scene loop timeouts until the second frame. This commit also slightly changes the behaviour of timeout reporting. Previously, a report was made for the very first timed out thread, ignoring all others until the next watchdog check. Instead, we now report every timed out thread, though we still only do this once no matter how long the timeout.
2012-02-16Correct a bug introduced in 1f402fdf (Feb 7 2012) where the delete friends ↵Justin Clark-Casey (justincc)1-3/+3
grid call would try and contact the wrong uri. Also fixes the build from df960d5
2012-02-16Add known identity informatio nto log message if an exception is thrown ↵Justin Clark-Casey (justincc)1-36/+53
during LLUDPServer.HandleUseCircuitCode()
2012-02-10Fix: Covenant view fails after updates or cache-clean see mantis ↵PixelTomsen1-0/+12
http://opensimulator.org/mantis/view.php?id=2879 Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-02-10Fix: Unable to remove AV from friend list (sqldb-bug) ↵PixelTomsen1-7/+7
http://opensimulator.org/mantis/view.php?id=3731
2012-02-10When an asset is uploaded (e.g. a mesh) set individual copy/move/transfer ↵Justin Clark-Casey (justincc)3-7/+14
permissions, not PermissionMask.All Setting PermissionMask.All will cause next permissions to replace current permissions when the object is rezzed, since bit 4 will be set. This is not correct behaviour for a freshly uploaded mesh. Freshly rezzed in-world prims also do not have bit 4 set (don't yet know exactly what this is). Should resolve http://opensimulator.org/mantis/view.php?id=5651
2012-02-03Fix: Covenant changed time not set ↵PixelTomsen1-4/+4
http://opensimulator.org/mantis/view.php?id=5869 Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-02-02Replace ParcelAccessEntry with a new struct, LandAccessEntry, which moreMelanie1-7/+7
accurately reflects the data sent by the viewer. Add times bans and the expiration of timed bans. Warning: Contains a Migration (and nuts)
2012-01-31minor: remove mono compiler warningJustin Clark-Casey (justincc)1-2/+1
2012-01-29Fix:Get embedded objects in notecard ↵PixelTomsen1-0/+71
http://opensimulator.org/mantis/view.php?id=2607 Signed-off-by: nebadon <michael@osgrid.org>
2012-01-28Remove IClientAPI from the money module. It was only used to pass in theMelanie2-4/+4
agent id anyway
2012-01-24Fix "Abnormal client thread terminations" stat in period CONNECTION ↵Justin Clark-Casey (justincc)1-0/+1
STATISTICS to count the number of times clients are disconnected due to ack timeouts. This has been broken for a long period and would only ever show 0.
2012-01-21Telehub Support:BlueWall1-1/+13
Telehub settings now persist to the database and are saved across sim restarts. So-far this only works on MySQL. this is a work in progress, teleport routing is not yet implemented.
2012-01-20Telehub Support:BlueWall1-3/+36
Support for viewer side of telehub management. Can manupulate Telehubs and SpawnPoints from the viewer estate managemnt tools. This is a work in progress and does not yet persist or affect teleport routing.
2012-01-19Allow a viewer UDP image request retry to trigger another asset fetch if an ↵Justin Clark-Casey (justincc)2-6/+32
existing fetch hasn't responded before a timeout. This is to stop a high priority image/texture request from blocking the entire download queue if its asset fetch got dropped for some reason.
2012-01-19Add image not in database test for LLImageManagerJustin Clark-Casey (justincc)3-13/+52
2012-01-19refactor: separate out common parts of LLImageManagerTestsJustin Clark-Casey (justincc)1-48/+40
2012-01-19Add LLImageManager regression test for discard caseJustin Clark-Casey (justincc)1-0/+53
2012-01-19Add "image queues clear <first-name> <last-name>" console commandJustin Clark-Casey (justincc)1-0/+20
This allows a way to manually clear pending image queue requests for debug purposes
2012-01-19Add basic request and send image regression tests for LLImageManagerJustin Clark-Casey (justincc)4-6/+98
2012-01-16Comment out noisy log lines I accidentally included in the nant build target ↵Justin Clark-Casey (justincc)1-6/+6
adjustment commit. Left in the method doc.
2012-01-16Remove monocov and other obsolete nant build targets.Justin Clark-Casey (justincc)1-5/+10
monocov was a code coverage attempt 3 years ago which no longer works. other removed targets have been commented out or unused for a very long time
2012-01-10Add "show image queue <first-name> <last-name>" region console commandJustin Clark-Casey (justincc)2-5/+19
This is so that we can inspect the image download queue (texture download via udp) for debugging purposes.
2012-01-06Implement the FetchInventory2 capability. This accompanies the existing ↵Justin Clark-Casey (justincc)1-0/+151
FetchInventoryDescendents2 capability. Not yet enabled by default. You can enable this by setting Cap_FetchInventory2 = "localhost" in the [ClientStack.LindenCaps] section of OpenSim.ini Enabling both FetchInventory2 and FetchInventoryDescendents2 improves the situation with properly fetching attachments and hud objects Probably because viewers are never expecting the odd situation where FetchInventoryDescendents2 is present but not FetchInventory2 However, for some reason attachments and hud objects occasionally fail to appear, though their status is correct in inventory For attachments, focussing on the avatar makes them appear. Hud objects have to be reattached.
2012-01-05recomment log messages I accidentally left uncommentedJustin Clark-Casey (justincc)1-6/+6
2012-01-05Improve "app rebake" command to return a better message if no uploaded ↵Justin Clark-Casey (justincc)1-6/+6
texture ids were available for the rebake request
2012-01-04Minor formatting changes and commented out log lines for future debugging of ↵Justin Clark-Casey (justincc)3-22/+76
image manager (udp texture fetch). No significant functional changes.
2012-01-04Remove the pointless LLClientView.m_imageManager null check.Justin Clark-Casey (justincc)1-16/+4
Despite the code comments we never actually null it.
2012-01-02Reduce accessibility of some J2KImage/LLImageManager properties and methods ↵Justin Clark-Casey (justincc)2-12/+12
to reduce potential code complexity and make code reading easier.
2012-01-02Adding commented out log messages and some minor formatting for future bug ↵Justin Clark-Casey (justincc)1-1/+8
hunting. No functional changes.
2011-12-24HG: more / love for XmasDiva Canto1-2/+5
2011-12-19Stop unnecessarily sending the TextureEntry in client avatar updates.Justin Clark-Casey (justincc)1-1/+7
As far as I know, viewers don't use this mechanism to recieve new TextureEntry data for avatars. This is done via the AvatarAppearance packet instead. Tested this back to viewer 1.23. Replacing with Utils.EmptyBytes since converting the texture entry to bytes on each AvatarUpdate (or which there are many) is not cost-free.
2011-12-19Migrate detailed "appearance show" report generation up to ↵Justin Clark-Casey (justincc)1-4/+13
AvatarFactoryModule from AppearanceInfoModule so that it can be used in debug (inactive). Further filters "debug packet <level>" to exclused [Request]ObjectPropertiesFamily if level is below 25. Adjust some method doc Minor changes to some logging messages.
2011-12-16Stop generating client flags when we send out full object updates.Justin Clark-Casey (justincc)1-0/+1
These were entirely unused.
2011-12-13In AvatarFactoryModule.SetApperance(), perform ValidateBakedTextureCache() ↵Justin Clark-Casey (justincc)1-2/+4
in the same thread rather than on another one. The caller is already an async thread from LLClientView so this doesn't hold up the client. However, launching on a separate thread does remove the effect of m_setAppearanceLock This was potentially allowing two different SetAppearance threads to interfere with each other, though this probably rarely happens, if at all.
2011-12-10Implement handler for TeleportCancel inbound packetMelanie1-0/+12
2011-12-09Get rid of IScene.PresenceChildStatus() which always had to execute a lookup ↵Justin Clark-Casey (justincc)1-12/+4
in favour of IClientAPI.ISceneAgent.IsChildAgent instead.
2011-12-08Don't reply with an ack packet if the client is not authorized.Justin Clark-Casey (justincc)2-45/+31
2011-12-08Extend TestAddClient() to check that the first packet received is an ack packetJustin Clark-Casey (justincc)3-93/+116
2011-12-08Add OpenSim.Region.ClientStack.LindenUDP.Tests.dll back into the test suiteJustin Clark-Casey (justincc)1-1/+1
2011-12-08Reactivate BasicCircuitTests.TestAddClient()Justin Clark-Casey (justincc)3-109/+138
This checks that the initial UseCircuitCode packet is handled correctly for a normal client login.
2011-12-08Remove unnecessary AgentCircuitData null check from Scene.AddNewClient().Justin Clark-Casey (justincc)1-4/+4
The only caller is the LLUDP stack and this has to validate the UDP circuit itself, so we know that it exists. This allows us to eliminate another null check elsewhere and simplifies the method contract
2011-12-08On a new client circuit, send the initial reply ack to let the client know ↵Justin Clark-Casey (justincc)3-21/+46
it's live before sending other data. This means that avatar/appearance data of other avatars and scene objects for a client will be sent after the ack rather than possibly before. This may stop some avatars appearing grey on login. This introduces a new OpenSim.Framework.ISceneAgent to accompany the existing OpenSim.Framework.ISceneObject and ISceneEntity This allows IClientAPI to handle this as it can't reference OpenSim.Region.Framework.Interfaces
2011-12-07Stop also adding an ordinary http handler when we set up a poll http handler.Justin Clark-Casey (justincc)1-6/+0
It appears that this is entirely unnecessary since the poll http handlers are dealt with on a separate code path.