aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-12-17Fix bug where objects could not be set to a new group if the group had been ↵Justin Clark-Casey (justincc)8-21/+50
created in that client session, or if no other action has been performed on the object. There were two problems here: 1) On object group update, we looked for the group is the IClientAPI group cache rather than in the groups service. This fails to groups created newly in that session 2) On object group update, we weren't setting the HasGroupChanged flag. This meant that the change was not persisted unless some other action set this flag. This commit fixes these issues and hopefully addresses http://opensimulator.org/mantis/view.php?id=5588 This commit also moves HandleObjectGroupUpdate() to the GroupsModule from the Scene.PacketHandlers.cs file
2011-12-17If a startup simulator script is present, run it after the normal region ↵Justin Clark-Casey (justincc)1-12/+12
selection code rather than before. This allows the script to change the selected region without having it immediately undone. Thanks to Garmin Kawaguichi for this patch.
2011-12-17refactor: simplify methods in Scene.PacketHandlers.cs by using ↵Justin Clark-Casey (justincc)2-142/+81
GetGroupByPrim() rather than retrieving GetEntities() and inspecting the entire list
2011-12-16Stop generating client flags when we send out full object updates.Justin Clark-Casey (justincc)4-27/+11
These were entirely unused.
2011-12-16Don't pass on ChaneWaterHeight event from EventManager is new water height ↵Justin Clark-Casey (justincc)1-0/+6
is less than 0 This is to stop bad values and subsequent viewer crashes. Thanks to Michelle Argus for this patch.
2011-12-16Comment out accidentally left in "Adding physics prim" log messageJustin Clark-Casey (justincc)1-1/+1
2011-12-16Tunnel [GroupsModule] DebugEnabled setting down into ↵Justin Clark-Casey (justincc)2-11/+10
XmlRpcGroupsServicesConnectorModule so that we can record cache misses
2011-12-16Sends the consistent child agent position upon creation of the child agent ↵Diva Canto1-1/+12
in other regions, as opposed to <128, 128, 70>
2011-12-16No functional changes. Changed the prefix of that log message [CONNECTION ↵Diva Canto2-15/+15
BEGIN] to [SCENE] because that's where the message happens. Also changed the instantiation of a vector object to be done only once instead of every time we receive a position update.
2011-12-16HG minor bug fix and marked one method obsolete in UAS.Diva Canto3-1/+6
2011-12-15Stop pointlessly setting the m_colliderarr[] to false in the ODECharacter ↵Justin Clark-Casey (justincc)1-5/+0
constructor
2011-12-15Stop having to call SetHeight again in ScenePresence.AddToPhysicalScene() ↵Justin Clark-Casey (justincc)4-24/+27
when we've already passed size information to the avatar at PhysicsScene.AddAvatar() Eliminate some copypasta for height setting in OdeCharacter
2011-12-15Code cleanup related to ScenePresence.PhysicsActor and OdeScene/OdeCharacterJustin Clark-Casey (justincc)3-35/+56
Stop hiding RemoveAvatar failure, add log messages when characters are removed through defects or re-added unexpectedly. Add commented out log lines for future use. Use automatic property for PhysicsActor for better code readability and simplicity
2011-12-15minor fix to MegaRegions, typo spotted by Ubit!nebadon1-1/+1
2011-12-14minor: add some currently commented log lines for use in debuggingJustin Clark-Casey (justincc)1-1/+8
2011-12-14Simplify some manipulation of _taintedActors in OdeSceneJustin Clark-Casey (justincc)1-13/+6
2011-12-14Eliminate _taintedPrimsH and _taintedPrimsL (and _taintedPrimLock) in favour ↵Justin Clark-Casey (justincc)1-45/+14
of just a _taintedPrims HashSet. There's no point maintaining a list because any pending taint operations are all carried out in the same call anyway.
2011-12-14Fix off by one bug in objects GrabbingBehaviour of pCampBot.exeJustin Clark-Casey (justincc)2-2/+2
Also fix usage message.
2011-12-13Just adding a comment to SendFullUpdatToClientDan Lake1-0/+2
2011-12-13Reorder clearing of upate schedule on SOP to before sending updates. Fix ↵Dan Lake1-11/+3
potential race condition.
2011-12-13In AvatarFactoryModule.SetApperance(), perform ValidateBakedTextureCache() ↵Justin Clark-Casey (justincc)2-4/+6
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-12minor: remove pointless comment from OdeScene.csJustin Clark-Casey (justincc)1-2/+1
2011-12-12Cleaned up ScenePresence parameters for Flying, WasFlying, FlyingOld and ↵Dan Lake6-50/+57
IsColliding
2011-12-12Added an option for extra settings within region ini file. Any non-hardcoded ↵Dan Lake1-20/+55
key-value string pair can be added per-region and referenced by any part of OpenSim with access to the RegionInfo
2011-12-11Mantis 5816: osParseJSON Decoding Problemsnebadon3-191/+72
osParseJSON uses hand-crafted decoding that has two issues * does not seem to handle top-level JSON lists * does not seem to handle unicode text thanks otakup0pe!
2011-12-10Implement handler for TeleportCancel inbound packetMelanie5-0/+18
2011-12-09minor: remove a mono compiler warningJustin Clark-Casey (justincc)1-1/+1
2011-12-09Print out one log message for every missing baked texture, rather than two.Justin Clark-Casey (justincc)1-22/+4
2011-12-09minor: comment out "unpacked appearance" log mesasge for nowJustin Clark-Casey (justincc)1-1/+1
2011-12-09Comment out ChildAgentDataUpdate.Pack() "Pack data" message for now.Justin Clark-Casey (justincc)1-1/+1
2011-12-09Do some clean up Scene.cs log messages.Justin Clark-Casey (justincc)1-24/+38
This prints out both exception message and stacktrace (Exception.ToString()) isn't enough on Windows. This also uses m_log.*Format() which is more efficient than string concat.
2011-12-09Get rid of IScene.PresenceChildStatus() which always had to execute a lookup ↵Justin Clark-Casey (justincc)7-57/+16
in favour of IClientAPI.ISceneAgent.IsChildAgent instead.
2011-12-09remove some unused fields in ScenePresenceJustin Clark-Casey (justincc)1-4/+0
2011-12-09Fix "fix-phantoms" help message. Thanks Garmin Kawaguichi.Justin Clark-Casey (justincc)1-4/+5
2011-12-09Move client id check in Scene.Inventory.cs:UpdateInventoryItemAsset so that ↵Justin Clark-Casey (justincc)1-4/+6
it doesn't trigger an exception if the item hasn't been found. In this situation we will now put out a slightly more meaningful log error message instead.
2011-12-09Add commented log lines to FetchInventoryDescendents2 path for future use.Justin Clark-Casey (justincc)3-4/+95
Haven't been able to resolve issue where attachments are removed by the viewer on relog on a localhost
2011-12-08Revert "Revert "Stop performing the asset save part of baked texture ↵Justin Clark-Casey (justincc)1-5/+9
uploading on the UploadBakedTexture cap asynchronously."" This turned out not to be the upload texture issue. This reverts commit 8721841fc3944ce0cdf5ce76297e73f9ed269751.
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)4-125/+167
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)4-19/+10
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-08minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2-3/+1
2011-12-08When a client connects to a scene, send other avatar appearance data ↵Justin Clark-Casey (justincc)1-6/+6
asynchronously to reduce hold up in the IN UDP packet processing loop. This is already being done for the initial object data send.
2011-12-08On a new client circuit, send the initial reply ack to let the client know ↵Justin Clark-Casey (justincc)13-78/+171
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-08Simplify Scene.AddNewClient()Justin Clark-Casey (justincc)1-17/+28
If sp becomes null right after we've checked or created it, then behaviour down the line is going to be wrong anyway. So instead retain the check/create ScenePresence reference and use this.
2011-12-08Remove a left over log outputMelanie1-2/+1
2011-12-07Remove warning in admin_save_oar xmlrpc method where noassets == true was ↵Justin Clark-Casey (justincc)1-1/+1
comparing against an object rather than a string
2011-12-07Have admin_load_heighmap and admin_save_heightmap xmlrpcadmin methods return ↵Justin Clark-Casey (justincc)1-2/+2
success = true on success rather than false
2011-12-07Refactor RemoteAdminPlugin so that every xmlrpc method calls a common block ↵Justin Clark-Casey (justincc)1-1711/+1370
of code to do password checks, etc., instead of copy/pasting this code into every method