Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | * Stop passing in unnecessary pameters to CreateNewCircuit | Justin Clarke Casey | 2008-10-24 | 1 | -12/+9 | |
| | ||||||
* | * Stop creating a circuit if the client fails authentication (i.e. the ↵ | Justin Clarke Casey | 2008-10-24 | 4 | -69/+109 | |
| | | | | | | | | | | region server wasn't told that it was coming) * This moves authentication from the client thread (where failure was difficult to detect) to the particular thread handling that packet * I've kept the authentication outside of the crucial clientCircuits lock (though any delay here is probably swamped by the other delays associated with login) * Also added more to the unit test to ensure this doesn't regress | |||||
* | * Change AddClient test such that we now successfully authenticate | Justin Clarke Casey | 2008-10-24 | 2 | -5/+18 | |
| | | | | | | * The fact that the assert passed even when authentication failed reveals a bug in the code that will be corrected soonish | |||||
* | * minor: refactor out AddUser test setup to common method | Justin Clarke Casey | 2008-10-24 | 1 | -4/+8 | |
| | ||||||
* | Remove a debug output dump | Melanie Thielker | 2008-10-24 | 1 | -1/+0 | |
| | ||||||
* | Lotsa plumming :) | Melanie Thielker | 2008-10-24 | 1 | -0/+255 | |
| | ||||||
* | * minor: Remove unused public PacketServer variable. | Justin Clarke Casey | 2008-10-23 | 1 | -8/+2 | |
| | | | | | | * If this was important to you please reinsert and we can put it in a recognized interface. | |||||
* | * Reenable assert for the add circuit test | Justin Clarke Casey | 2008-10-23 | 2 | -3/+10 | |
| | | | | | | | * This checks that a client circuit is established when the udp server is given a use client circuit code packet * And checks that other circuit codes do not exist | |||||
* | * Revert to executing existing setup if an added circuit did not already exist | Justin Clarke Casey | 2008-10-23 | 1 | -3/+3 | |
| | | | | | | | * Not sure why things still worked in the presence of this bug - possibly the problem is compensated for later on. If you are having udp session problems this bug fix may help (though no guarantees). | |||||
* | * Add missing file from last commit. Yay for continuous integration! | Justin Clarke Casey | 2008-10-23 | 1 | -0/+52 | |
| | ||||||
* | * Introduce a basic udp circuit test for adding a client | Justin Clarke Casey | 2008-10-23 | 2 | -8/+91 | |
| | | | | | | * Temporarily disabled assert because it just picked up an existing bug. Yay for tests! | |||||
* | * Refactor LLUDPServer slightly so that unit tests can pass in data ↵ | Justin Clarke Casey | 2008-10-23 | 3 | -34/+105 | |
| | | | | synchronously. Shouldn't be any functional change | |||||
* | Pare the groups module down to basics. Adjust dependent files so that a | Melanie Thielker | 2008-10-21 | 1 | -4/+4 | |
| | | | | | | real groups module can even be implemented. | |||||
* | * minor: remove mono warnings | Justin Clarke Casey | 2008-10-19 | 1 | -1/+1 | |
| | ||||||
* | * Fixed UDP server (again) | Teravus Ovares | 2008-10-19 | 1 | -3/+14 | |
| | | | | | * Guys, there's an endless loop there *ON PURPOSE*. Please don't try to *fix* it. We must continue to process the UDP stream buffer on clients that disconnected nastily until it ends or the UDP server accept thread will die a horrible death. | |||||
* | Added calling cards. Fixes Mantis#2409 and part of #1515. | Homer Horwitz | 2008-10-19 | 1 | -0/+68 | |
| | ||||||
* | * Null check before UseCircuitCode Check or the server crashes on packet loss! | Teravus Ovares | 2008-10-19 | 1 | -1/+1 | |
| | ||||||
* | Megapatch. :) Fix skull attachment editing. Streamline Object terse updates. | Melanie Thielker | 2008-10-18 | 1 | -21/+25 | |
| | | | | | | | | Add rezzing time to objects. Add Object return and traffic fields to land database. Add plumbing for auto return. Implement auto return. Contains a migration. May contain nuts. | |||||
* | * Remove mono warnings | Justin Clarke Casey | 2008-10-17 | 1 | -1/+1 | |
| | ||||||
* | * Finally, don't worry about doing containment checks on other dictionaries ↵ | Justin Clarke Casey | 2008-10-17 | 1 | -4/+2 | |
| | | | | | | | | | if we are adding a client * Regarding an earlier change, I think it would be possible to eliminate the creation of new IPEndPoints on every end receive if we did the client circuit lookup before starting the next receive. However, this would be a performance trade off and hence not worth trying without performance testing | |||||
* | * Don't worry about trying to populate the other dictionaries if a client's ↵ | Justin Clarke Casey | 2008-10-17 | 1 | -13/+22 | |
| | | | | circuitcode is already found in the first one | |||||
* | * close two potential race conditions where a new asynchronous UDP recieve ↵ | Justin Clarke Casey | 2008-10-17 | 1 | -69/+53 | |
| | | | | | | | | could overwrite an existing endpoint that had not yet been used by the previous thread * in practice these race conditions were probably pretty rare | |||||
* | * Temporarily resume creation of IPEndPoint on every call | Justin Clarke Casey | 2008-10-17 | 1 | -5/+7 | |
| | | | | | | | * This widened what I think is an existing race condition where asynchronous recieves could potentially stomp on each other's end points (though this must occur very rarely, if at all, in reality) | |||||
* | * Instead of creating a new IPEndPoint on every udp packet receive, reuse ↵ | Justin Clarke Casey | 2008-10-17 | 1 | -21/+39 | |
| | | | | | | | | the existing one * This requires copying details into a new endpoint when it needs to be stored in client/circuit code hashes | |||||
* | * reverse part of a change that accidentally crept in with the last revision | Justin Clarke Casey | 2008-10-17 | 1 | -1/+2 | |
| | ||||||
* | * Apply a modified version of http://opensimulator.org/mantis/view.php?id=2290 | Justin Clarke Casey | 2008-10-17 | 1 | -2/+1 | |
| | | | | | | | | | * This allows multiple user profile providers to be specified in OpenSim.ini separated by commas * If multiple providers are specified then a request for a user profile will query each in turn until the profile is either found or all have been queried * Unfortunately I don't believe this order can currently be specified, which if true is something that will need to be fixed. * Thanks to smeans for the original patch. | |||||
* | * minor: get rid of pointless ipeSender | Justin Clarke Casey | 2008-10-16 | 2 | -7/+8 | |
| | ||||||
* | * Truncate outgoing media and music urls to 254 characters. | Justin Clarke Casey | 2008-10-15 | 2 | -12/+58 | |
| | | | | | | * Hopefully this will resolve http://opensimulator.org/mantis/view.php?id=2383 | |||||
* | * refactor: Remove OutPacket from the IClientAPI | Justin Clarke Casey | 2008-10-15 | 1 | -7/+7 | |
| | | | | | | | * I believe this is reasonable since code outside the Linden client stack shouldn't be aware of the packet format being used * I would love to have made the method protected, but the LoadBalancerPlugin is still calling it and resolving that would require more work | |||||
* | * refactor: move viewer effect packet into LLClientView | Justin Clarke Casey | 2008-10-15 | 1 | -0/+12 | |
| | ||||||
* | * refactor: Move error logging from GetUserDetails up to callers, since ↵ | Justin Clarke Casey | 2008-10-15 | 1 | -1/+7 | |
| | | | | there are some circumstances in which not finding a user is not an error | |||||
* | * refactor: move code concerned with creating a subsequent image packet to ↵ | Justin Clarke Casey | 2008-10-15 | 1 | -0/+11 | |
| | | | | LLClientView | |||||
* | * refactor: rename SendImagePart to SendImageFirstPart since this is more ↵ | Justin Clarke Casey | 2008-10-15 | 1 | -1/+2 | |
| | | | | descriptive of its actual function | |||||
* | * Send an avatar update to other clients when an avatar rotates, as well as ↵ | Justin Clarke Casey | 2008-10-14 | 1 | -1/+4 | |
| | | | | | | | | | when it moves * This should fix a long standing issue where you often wouldn't see other people simply turn around without moving at all * Arguably lastPhysRot (to mirror lastPhysPos) is not a good name, may change variable names later | |||||
* | * minor: change m_debug to m_debugPacketLevel since that's what it is | Justin Clarke Casey | 2008-10-14 | 1 | -11/+13 | |
| | ||||||
* | * refactor: rename SendKiPrimitive to SendKillObject since this appears more ↵ | Justin Clarke Casey | 2008-10-14 | 1 | -7/+2 | |
| | | | | descriptive of what it actually does | |||||
* | * Make KillObjectPackets reliable | Justin Clarke Casey | 2008-10-14 | 1 | -1/+6 | |
| | | | | | | | * This may help http://opensimulator.org/mantis/view.php?id=2377 where large linksets do not always correctly delete - since a lost kill packet to the client could result in the symptoms described | |||||
* | Add EventInfoRequest and EventInfoReply packets. | Homer Horwitz | 2008-10-12 | 1 | -0/+33 | |
| | | | | | | Note: New file, run prebuild. | |||||
* | * Small fix for when PacketPool is disabled to prevent it from crashing ↵ | Adam Frisby | 2008-10-12 | 1 | -1/+1 | |
| | | | | immedietly. | |||||
* | LLUDP Client View | Adam Frisby | 2008-10-12 | 1 | -0/+1 | |
| | | | | | | | * Experimenting with the PacketPool mechanism. * It's still disabled in the code, however there's now a flag to enable it. * Converted to use Generic Collections vs Hashtables, also now uses a list of 'OK to pool' packets, starting with the high volume PacketAck packet. | |||||
* | * Rework llParcelMediaCommandList | Homer Horwitz | 2008-10-11 | 1 | -1/+1 | |
| | | | | | | | | * Add missing PARCEL_MEDIA_COMMAND_* constants * Fix a copy/paste error in SendParcelMediaUpdate llParcelMediaCommandList should work now | |||||
* | Plumb the remaining search packets and replies. | Melanie Thielker | 2008-10-11 | 1 | -0/+239 | |
| | ||||||
* | added a list of SurfaceTouchEventArgs to the IClientAPI.OnGrab event, for ↵ | MW | 2008-10-10 | 1 | -3/+18 | |
| | | | | the new surface touch parameters in 1.21 viewers. | |||||
* | added a list of SurfaceTouchEventArgs to the IClientAPI.OnGrabUpdate event, ↵ | MW | 2008-10-10 | 1 | -1/+16 | |
| | | | | | | | for the new surface touch parameters in 1.21 viewers. TODO: add the touch args to OnGrabObject and OnDeGrabObject. | |||||
* | A bit more estate fudging | Melanie Thielker | 2008-10-10 | 1 | -5/+2 | |
| | ||||||
* | * fix windows build break - it helps if one actually puts in using ↵ | Justin Clarke Casey | 2008-10-09 | 1 | -1/+3 | |
| | | | | statements and spells dlls correctly | |||||
* | * minor: get rid of an unecessary casting and logic check | Justin Clarke Casey | 2008-10-09 | 1 | -10/+5 | |
| | ||||||
* | * refactor: separate process of extracting packet from received data from ↵ | Justin Clarke Casey | 2008-10-09 | 1 | -34/+41 | |
| | | | | actually processing that packet | |||||
* | * minor: initialize udp server in unit test | Justin Clarke Casey | 2008-10-09 | 2 | -8/+8 | |
| | ||||||
* | * Create project for LindenUDP ClientStack tests | Justin Clarke Casey | 2008-10-09 | 1 | -0/+44 | |
| | | | | | | * No functional tests yet |