aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Minor typing fixes in AssetCache - now uses base types for nearly everything.Adam Frisby2008-11-111-81/+51
| | | | | | * Code Cleanliness Fixes in LLClientView * Using field instead of local variable for handlerUpdatePrimGroupRotation (if you notice any new oddities with prim group rotation after this patch, please mantis)
* If the proxy is on, we need to ignore the extra 6 bytes in the packet.Mike Mazur2008-11-111-0/+1
|
* Allow gods to terraform without limits. Respect the Allow Others ToMelanie Thielker2008-11-111-1/+1
| | | | | | Terraform flag in land.
* Update svn properties, minor formatting cleanup.Jeff Ames2008-11-111-1/+1
|
* * Commit allows downloading of the .raw terrain from the estate tools.Teravus Ovares2008-11-101-5/+33
| | | | | | | * Implements the SendInitiateDownload method in IClientAPI * Uses the ITerrainModule Interface to write a terrain file to disk then uses a FileStream to read the binary file from the disk and put it in a byte array. and save to the xFer list. * It then tells the client to download the file and the client initiates an Xfer request.
* The region proxy for the load balancer module works again. The incoming ↵Johan Berntsson2008-11-101-10/+20
| | | | proxy messages were not properly decoded.
* Prevent updates about other people's HUD objects being sentMelanie Thielker2008-11-091-0/+3
|
* * Enabled GTCache for AssetCache Adam Frisby2008-11-092-12/+22
| | | | | | * Items will now be locally cached for only 24 hours from last access. (Rather than until restart) * Caveat: Implementing the new caching mechanism means statistics gathering on AssetCache is no longer functional. (Justin - you might want to take a look and see if you can somehow get that back and running if you still need it)
* Update svn properties. Add copyright headers. Minor formatting cleanup.Jeff Ames2008-11-092-2/+2
|
* Reintroduce transactionID to the parameter list for SendInstantMessage.Melanie Thielker2008-11-091-3/+9
| | | | | | | It is required by group IM and also for a proper implementation of item give, group notice attachments and offline IM.
* * Quick test for Dahlia, returns Packet Processing Loop to Infinite Loop.Adam Frisby2008-11-081-1/+1
|
* * Fixed issue where incorrect braces nesting resulted in a section of ↵Adam Frisby2008-11-081-24/+22
| | | | | | | PacketQueue getting disabled. * This means the recent memory fix should now be working correctly - so the current largest memory leak should be fixed. AssetCache still needs to be addressed however.
* * Fixed a major memory leak in packet processing - PacketQueue.Close is ↵Adam Frisby2008-11-082-27/+55
| | | | | | | never called, causing the PacketQueue for dead clients to be preserved (including it's contents). * This patch is highly experimental and may cause clients to not be able to connect, if this is the case, it will be rolled back in approximately 5 minutes.
* * Added IClientChat to IClientCoreAdam Frisby2008-11-081-16/+3
| | | | | | * Updated LLClientView * Removed defunct SendChatMessage(bytes[]...) method, see http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#Porting_Guide
* * Added IClientIM to IClientCore interfacesAdam Frisby2008-11-081-13/+18
| | | | | | * Changed SendInstantMessage, dropped fromAgentSession and imSessionID as security precaution, see http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#Porting_Guide for details on porting. * Removed unused usings from Framework.*
* * Made ClientLoop non-infinite, ClientLoop will now disengage when the ↵Adam Frisby2008-11-081-30/+19
| | | | | | | | | | client has logged out. * Cleaned up a section of LLClientView * Removed unused 'using' from HTTPServer * Please test this patch.
* * Implementing first of the 0.6 IClientAPI ChangesAdam Frisby2008-11-081-12/+39
| | | | | | * Introducing IClientCore - this will be the key replacement for IClientAPI in the long run, it has a very minimal set of methods designed to allow you to access specialist API's. * See https://lists.berlios.de/pipermail/opensim-dev/2008-September/003049.html for the early discussion on this.
* * Apply http://opensimulator.org/mantis/view.php?id=2582Justin Clarke Casey2008-11-071-1/+6
| | | | | | | * Send prim flags as booleans from LLClientView rather than in the native LL array * Thanks idb
* Attachments, attachments, and, did I say attachments?Melanie Thielker2008-11-071-1/+1
| | | | | | Too many fixes to list.
* * Fix half of the issue behind the long standing 'UseCircuitCode' packet ↵Teravus Ovares2008-11-071-0/+2
| | | | | | | spam from libOMV clients. AckPacket.Header.Sequence was 0. This caused LibOMV to ignore it. * There's another patch over at http://jira.openmv.org/browse/LIBOMV-415 to fix the 'resend forever' issue.
* Update svn properties, minor formatting cleanup.Jeff Ames2008-11-061-1/+1
|
* * minor: remove some mono compiler warningsJustin Clarke Casey2008-11-061-1/+0
|
* * refactor: Split BeginRecieve() into BeginReceive() and BeginRobustReceive()Justin Clarke Casey2008-11-062-11/+19
|
* * Stop passing along epSender explicitly where we are really using the ↵Justin Clarke Casey2008-11-061-5/+5
| | | | constantly reused ep sender field
* * test: Add assert checking that the circuit which trigger the socket ↵Justin Clarke Casey2008-11-062-1/+4
| | | | exception has been closed
* * Test to ensure that the udp server stays active after receiving a ↵Justin Clarke Casey2008-11-063-16/+50
| | | | SocketException on BeginReceive
* * refactor: factor out test packet send method in client stack unit testsJustin Clarke Casey2008-11-062-10/+66
|
* * Fix capitalization typoes in packet throttle that happened to be the name ↵Justin Clarke Casey2008-11-051-2/+2
| | | | | | | | | of existing fields * This should (hopefully) allow TestClient and stuff built on top of it to work again * Will probably come back later and change variable names to stop this happening again
* * Properly use the default value if the LindenUDP.ClientStack section exists ↵Justin Clarke Casey2008-11-052-6/+5
| | | | | | | | | by the client throttle setting does not * Old behaviour was to throw an exception on startup * Print out client stack setting temporarly for debug purposes
* * Set default client throttle multiplier to 2 (old value was effectively 8). ↵Justin Clarke Casey2008-11-053-6/+8
| | | | | | | | | | | See OpenSim.ini.example for details as to what this means * Really this should be 1, but I think that this would be too slow compared to a Second Life server until we improve our ability to send textures of variable quality * This may improve one aspect of sim performance where there are many avatars. However, there are still other performance problems that are unrelated to this change * Value may be further tuned * Removed temporary decals since the multipler setting will stick around now
* Moved a couple of more configuration fields to ConfigSettingsMW2008-11-051-5/+3
|
* * Expose a client_throttle_multiplier setting in OpenSim.ini. This ↵Justin Clarke Casey2008-11-034-20/+36
| | | | | | | | | | | | multiplier is applied to all the client throttle settings received by the client * This should probably be 1, but currently by default it is 8, to reflect what was being eon3 in OpenSim before this revision. So if the client requested a maximum throttle of 1500 kilobits per second, we would actually send out 1500 kilobytes per second * Adjusting this multiplier down towards 1 may improve your OpenSim experience, though in other situations it may degrade (e.g. if you're using a standalone over high bandwidth links) * This is currently a user setting because adjusting it down may currently reveal other OpenSim bugs.
* * Pull client throttle multipler setting out of config source. Not an ↵Justin Clarke Casey2008-11-032-1/+16
| | | | adjustable setting yet (and then only for debug purposes)
* * minor: don't need to null check config source in clientstack settings ↵Justin Clarke Casey2008-11-031-1/+0
| | | | since this is always non null
* * Use nini to pass config information to the client stack, rather than the ↵Justin Clarke Casey2008-11-037-19/+33
| | | | | | | | ClientStackUserSettings class * This conforms better to other module usage
* * Massive cleanup of LLClientView, removed a few hundred unnecessary value ↵Adam Frisby2008-11-011-2558/+2526
| | | | initialisers, etc.
* Megapatch that fixes/adds: friend offer/deny/accept, friendship termination,Homer Horwitz2008-11-011-1/+22
| | | | | | | | | | | | | | on-/offline updates, calling cards for friends. This adds methods in the DB layer and changes the MessagingServer, so a full update (incl. UGAIM) is necessary to get it working. Older regions shouldn't break, nor should older UGAIM break newer regions, but friends/presence will only work with all concerned parts (UGAIM, source region and destination region) at this revision (or later). I added the DB code for MSSQL, too, but couldn't test that. BEWARE: May contain bugs.
* * Fix http://opensimulator.org/mantis/view.php?id=2517Justin Clarke Casey2008-11-012-12/+7
| | | | | | * Don't save attachments on saving oar, which stops them coming back as ghost prims
* * In the client stack, if the BeginReceive() throws an exception then do ↵Justin Clarke Casey2008-10-311-54/+49
| | | | | | | | | print this out to the log once * This may help us detect if mysterious UDP disconnects are happening because of this. * Shouldn't be any functional change but I would appreciate a buddy check from Teravus if he has time (as for all client stack changes)
* test: Extend malformed packet test to actually check that a valid packet can ↵Justin Clarke Casey2008-10-305-15/+136
| | | | get through after the malformed ones have been sent
* * test: Test that the client stack doesn't completely blow up if a client ↵Justin Clarke Casey2008-10-302-10/+43
| | | | passes it malformed data
* * Slightly tweak to teardown test, try a circuit which never existed in the ↵Justin Clarke Casey2008-10-301-3/+3
| | | | first place
* * minor: spacing adjustment before next commitJustin Clarke Casey2008-10-301-2/+1
|
* * test: fill out circuit teardown testJustin Clarke Casey2008-10-301-1/+10
|
* * test: Refactor test infrastructure for future client teardown testJustin Clarke Casey2008-10-301-9/+69
|
* * Check in (disabled) results of not persisting avatar textures but rather ↵Justin Clarke Casey2008-10-291-0/+10
| | | | | | | | | | sending ImageNotFound to clients if avatar textures are missing * Whilst this does automatically get the client to rebake, on crossing a region border the 'local' assets are left behind * There may be a cunning solution (such as squirting the assets on region crossing, or having them fetched from the original region) but instead I'm going to opt for the easy solution of keeping them in the asset database, for now
* Remove a debug outputMelanie Thielker2008-10-291-1/+0
|
* Plumbing along....Melanie Thielker2008-10-291-0/+39
|
* * Possibly fix grey avatar appearance problemsJustin Clarke Casey2008-10-281-1/+6
| | | | | | | | | | | | * And hopefully rebaking all the time should no longer be necessary now * It turns out that when the client baked the texture, the uploaded asset had the Temporary flag to true (Temporary is actually deprecated). * It also had the StoreLocal flag set to true, which signifies that the asset should be stored locally. If it disappears we should reply to the asset request with ImageNotInDatabasePacket * However, last time this was enabled some clients started crashing. This may well no longer be the case and needs to be tested, but in the mean time we will store the asset instead. * This needs to be resolved in a better way, possibly by starting to send the ImageNotInDatabase packet again instead
* * minor: Add documentation to some of the appearance methods, change some ↵Justin Clarke Casey2008-10-281-11/+4
| | | | logging messages