aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/ClientView.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* FOR http://opensimulator.org/mantis/view.php?id=226 I have a theory that an ↵Justin Clarke Casey2007-12-241-16/+28
| | | | | | | | | | inventory descendents packet which exceeds a certain size is not being received by the client due to something in the network constraining the maximum UDP packet size. This hypothesis fits the observed facts. The change here reduces the maximum number of items in any single packet to 20. If I'm wrong I'll go back and correct the comments.
* Make copying of scripts into prim inventories more reliable on the first ↵Justin Clarke Casey2007-12-221-2/+10
| | | | | | | | | | attempt when the asset server is lagging by formalising the de facto polling. This may not be the best solution in the long run, but should improve things for now. This may also improve reliability when updating inventory item metadata (e.g. renaming an item) and in retrieving textures for the main map view.
* minor refactorJustin Clarke Casey2007-12-221-1/+1
|
* Initial hookup of update task inventory event. No functionality yet.Justin Clarke Casey2007-12-221-1/+0
|
* *Fixed logic issue in LandManager that caused an 'invalid parcel' error to ↵mingchen2007-12-211-0/+1
| | | | spew in the debug when land was selected
* Refix bug where inventory textures don't appear in prim edit texture ↵Justin Clarke Casey2007-12-211-106/+138
| | | | | | | | selection box unless previously expanded in inventory.
* * Remapped the Connection shutdown path.Teravus Ovares2007-12-211-9/+27
| | | | | | | | | * This fixes a *bunch* of Mantis bugs related to the following * -- Neighbouring simulators not appearing after relog * -- Login to simulator only to be logged off by simulator. * -- ThreadAbort * -- Unable to shutdown circuitCode: x
* * Fix for Mantis: 0000229Teravus Ovares2007-12-211-85/+89
|
* * Fixed a null NewPack error in ClientView.InPacket (object pool returning ↵Teravus Ovares2007-12-201-28/+32
| | | | null objects?)
* Added patch from Johan. First attempt to solve the LibSL.Packet GC problem. ↵Jeff Ames2007-12-201-15/+22
| | | | Works with LibSL rev>1532
* Misc. cleanup:Jeff Ames2007-12-191-23/+6
| | | | | | | * added Util.Clip(value, min, max) * modified asset cache's numPackets calculation to use max packet size (600) instead of 1000 * removed a few magic numbers
* * Added Incomplete Handling of the RegionInfoRequest packet Teravus Ovares2007-12-181-9/+19
| | | | | | | * Added Incomplete Handling of the EstateCovenantRequest packet * Added Incomplete Handling of the EstateOwnerMessageRequest.ChangeEstateCovenantid method * Fixed a race condition with avatar animations
* * Fix for mantis 0000040 After client logout remote host closed connection ↵Teravus Ovares2007-12-181-2/+6
| | | | | | | | | on Simulator makes sim unuseable->'Closed Connection Called' * I've fundamentally changed a few things, so this is experimental * The routine that I used needs to be tested on Linux. I don't expect it to cause a problem, but hey, it might. * Child agents are still not logged off properly, so when the first set time out, the second set get logged off also, on the second log in if the second login is initiated before the first one fully times out.
* * Turned all instances of ForEach loops in ClientManager into Local Arrays. Teravus Ovares2007-12-171-2/+2
| | | | | | * Added Locking while the Copy is taking place. * Added an error message to describe what's actually happening.
* *Adding and Removing Avatars from the Access/Ban List for a parcel now ↵mingchen2007-12-161-6/+30
| | | | works, but the actual ban lines, etc are not done.
* * Added support for multiple terrain blocks to be edited at the same timeTeravus Ovares2007-12-151-4/+7
| | | | | | | * Now sending South and East cords to the terrain editor.. * No new functionality from a user perspective * Programming wise, there's enough information to get the select based terrain editor working in an upcoming revision.
* * some work on not storing the circuitPack (bad thing if we're going to ↵lbsa712007-12-151-122/+118
| | | | | | | | reuse packets) * some work on encapsulation, code convention compliance and beautification. * also, some ignores
* Grid Inventory feature upgrade: renaming folders should now be correct, ↵Brian McBee2007-12-151-3/+60
| | | | | | | | subfolders work, moving folders works. Tested only in MYSQL, but may work in MSSQL and sqlite. Probably not working in standalone mode.
* Minor cleanupJeff Ames2007-12-131-1/+0
|
* Fix for #176 (... doesn't appear in chat bubbles). This also gets the viewer ↵Jeff Ames2007-12-131-13/+12
| | | | to handle starting/stopping of the typing animation.
* put in a try block to catch the ForEach loop dying.Sean Dague2007-12-111-1/+4
|
* debug to catch any users of the stop interfaceSean Dague2007-12-111-1/+1
|
* consolidate client view exit paths, this seems toSean Dague2007-12-111-25/+28
| | | | | | | cause a different synchronization issue in other shutdown routines, though I'm not sure why
* force a flush before client shutdown, so no important packets are lostSean Dague2007-12-111-5/+9
|
* minor restructure of ClientView.cs to get all the attributesSean Dague2007-12-111-105/+93
| | | | | | and properties to the top of the class definition.
* A few minor changes/additions/fixes.MW2007-12-111-0/+3
|
* Implementing updateinventoryfolder: Should now be able to rename folders in ↵Brian McBee2007-12-111-0/+14
| | | | inventory
* Refactored animation handling in ScenePresence. Now maintains a list of ↵Jeff Ames2007-12-101-5/+18
| | | | | | | | | current animations. * Fixes weirdness when typing and sitting at the same time * Should fix bug #32 (getting stuck in edit appearance pose) * Crouchwalk and possibly jump may need more looking into
* more work on texture downloading.MW2007-12-101-1/+2
| | | | | | | Refractored the TextureDownloadModule (but currently to make debugging easier, it is running as a non shared module, so this results in a instance of this module being created for each region (and a extra thread per region), this will be changed back soon. Removed the old texture handling/sending code from AssetCache. A few other small changes/fixes.
* saved OpenSim source code from the giant rampaging unterminated copyright ↵Jeff Ames2007-12-101-1/+1
| | | | notice of doom
* refactored ChatModule a bit.Jeff Ames2007-12-101-1/+0
| | | | | misc cleanup and code convention fixes.
* * Hooked up the GridComm event ChildDataUpdate to the scene.Teravus Ovares2007-12-101-1/+4
| | | | | | | | | * Added List<RegionInfo> m_neighbours to Scene * Hooked up the OnRegionUp event to m_neighbours list * Modified RegionInfo to have a bool commFailTF value so that we can skip neighbors that fail. (when the region comes up, this gets reset to false and the region will try again. * Added SetChildAgentThrottle(byte[]) to IClientAPI * Several other insignificant changes related to passing child pertanant agent data from sim to sim.
* change PacketQueue to take the byte[] throttle insteadSean Dague2007-12-091-1/+2
| | | | | | of the Packet to set the throttles
* added more packet handling stubsJeff Ames2007-12-091-0/+12
|
* hackish code to allow emptying of trash. This really should be done on the ↵Brian McBee2007-12-081-0/+8
| | | | | | | | inventory server, and not from the region. Also: it appeared to work the first try, so I have probably done something horribly wrong.
* Allow moving, deleting, and restoring objects in inventory.Brian McBee2007-12-081-0/+11
| | | | | Note: only tested in grid mode, and emptying trash is still not implemented.
* Enabled the TextureDownloadModule, so that hopefully I might get some ↵MW2007-12-071-13/+13
| | | | feedback, as to if it makes the texture problem better or worse. As I plan/hope to work on texture/asset downloading this weekend.
* move to PacketQueue for throttling. This has been tested with a coupleSean Dague2007-12-071-521/+8
| | | | | | | of people, but is enough of a change that more should try it out. This removes 500 lines from ClientView.cs in the process.
* Updates to LibSL revision 1498. Thanks Johan!Adam Johnson2007-12-071-17/+14
|
* * Added hacked support for 'anyone can move' and 'anyone can copy'.Teravus Ovares2007-12-071-15/+23
| | | | | | | * BACKUP YOUR PRIM BEFORE UPDATING TO THIS and then double check the prim permissions after applying it with a different avatar (then the master avatar or the prim owner avatar). * Also, beware that any objects created under the old permission scheme may react oddly. They may automatically allow anyone to modify them, (which you'll then have to un-set). * It's hacked support because when 'anyone can move is set', any avatar can modify the prim (texture, shape, scale, etc)
* added a lock to prevent multiple Timer popping racesSean Dague2007-12-061-67/+67
| | | | | | on the packet queues.
* reversing the r2599 patch, as this started causing CreateThread errors for Sean Dague2007-12-061-301/+271
| | | | | | | | | me on Mono 1.2.4, which led to client crashes. I think the Timer.Stop() wasn't doing what was desired on Mono. The Queue refactoring should address the readability issues lbsa71 was working on as soon as I get the merge together.
* removed obsolete Verbose() functionJeff Ames2007-12-061-6/+2
|
* * now the throttle timer is stopped whilst processing Queue so that it won't ↵lbsa712007-12-061-271/+301
| | | | | | | | fire twice * started to refactored throttling method * some code convention refactorings
* * Removed lots of scurrilous uses of ASCII/UTF8.GetBytes for making packet ↵Adam Frisby2007-12-061-16/+10
| | | | strings. BAD PROGRAMMER BAD. Use Helpers.StringToField instead. >_>
* * Refactored Permissions into ScenePresence as requested by MWTeravus Ovares2007-12-051-1/+31
| | | | | | | * Un-hackerized generating the client_flags * Now handling the ObjectPermissions Update packet * Warning: Backup your prim before updating. If you fail to do so and something goes wrong then, All Yr prim are belong to us!
* made log messages for known unhandled packet types shorter and yellower. ↵Jeff Ames2007-12-041-27/+80
| | | | added handler stubs.
* minor refactor so that I can now grok what happens for outgoing packetsSean Dague2007-12-041-73/+85
|
* * Fixed a whole bunch of console messages.Adam Frisby2007-12-041-4/+4
|
* From Justin Casey (IBM)Sean Dague2007-12-031-13/+19
| | | | | | | | | | | | | | | | | | | | | | | While exploring what it would take to get the 'new script' button working, I encountered the fact, some way down in the rabbit hole, that if a user renamed an item in their inventory and logged out (without a restart of the simulator), on log in the new name was not preserved. As far as I can see, this was because any updates which didn't occur inside a transaction were ignored by opensim. This patch pays attention to those changes. It generates a new asset when an item is updated and changes the user's inventory properties appropriately. I believe this behaviour is in line with the copy-on-write semantics used in the Second Life protocol - perhaps it could be optimized if we knew for sure that the only copy of the object was in the user's inventory. This also means that if you rename an item (e.g. a script) before you drag it into an object's inventory, the inventory will receive the item's most recent name and description.