aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/ClientView.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-12-10refactored ChatModule a bit.Jeff Ames1-1/+0
misc cleanup and code convention fixes.
2007-12-10* Hooked up the GridComm event ChildDataUpdate to the scene.Teravus Ovares1-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.
2007-12-09change PacketQueue to take the byte[] throttle insteadSean Dague1-1/+2
of the Packet to set the throttles
2007-12-09added more packet handling stubsJeff Ames1-0/+12
2007-12-08hackish code to allow emptying of trash. This really should be done on the ↵Brian McBee1-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.
2007-12-08Allow moving, deleting, and restoring objects in inventory.Brian McBee1-0/+11
Note: only tested in grid mode, and emptying trash is still not implemented.
2007-12-07Enabled the TextureDownloadModule, so that hopefully I might get some ↵MW1-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.
2007-12-07move to PacketQueue for throttling. This has been tested with a coupleSean Dague1-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.
2007-12-07Updates to LibSL revision 1498. Thanks Johan!Adam Johnson1-17/+14
2007-12-07* Added hacked support for 'anyone can move' and 'anyone can copy'.Teravus Ovares1-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)
2007-12-06added a lock to prevent multiple Timer popping racesSean Dague1-67/+67
on the packet queues.
2007-12-06reversing the r2599 patch, as this started causing CreateThread errors for Sean Dague1-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.
2007-12-06removed obsolete Verbose() functionJeff Ames1-6/+2
2007-12-06* now the throttle timer is stopped whilst processing Queue so that it won't ↵lbsa711-271/+301
fire twice * started to refactored throttling method * some code convention refactorings
2007-12-06* Removed lots of scurrilous uses of ASCII/UTF8.GetBytes for making packet ↵Adam Frisby1-16/+10
strings. BAD PROGRAMMER BAD. Use Helpers.StringToField instead. >_>
2007-12-05* Refactored Permissions into ScenePresence as requested by MWTeravus Ovares1-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!
2007-12-04made log messages for known unhandled packet types shorter and yellower. ↵Jeff Ames1-27/+80
added handler stubs.
2007-12-04minor refactor so that I can now grok what happens for outgoing packetsSean Dague1-73/+85
2007-12-04* Fixed a whole bunch of console messages.Adam Frisby1-4/+4
2007-12-03From Justin Casey (IBM)Sean Dague1-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.
2007-12-03This is a simple patch which just renames an IClientAPI method toSean Dague1-1/+2
SendInventoryItemCreateUpdate() in order to reflect the actual packet it sends (UpdateCreateInventoryItem). From Justin Casey (IBM)
2007-12-01Part 1 of a commit. This revision will not compile, part 2 will be added in ↵MW1-4/+14
a couple of minutes that should fix that. Some work towards persisting Avatar Appearance (what is being worn). Added OnAvatarNowWearing event to IClientAPI that is triggered by AgentIsNowWearing packets. stub code to subscribe to this event in AvatarFactoryModule. Todo: code needs to be added to AvatarFactoryModule to save the uuids to a database and then read them back when that modules TryGetIntialAvatarAppearance() method is called. Done some changes to Scene to make it easier to subclass it: including changed some private fields to protected and made some methods virtual.
2007-11-30Patch for mantis 0000015: Textures don't display in the objectSean Dague1-3/+19
properties window From Justin Casey (IBM)
2007-11-29add a few more parens to make sure that throttling conditionSean Dague1-1/+1
is really happening the way we want it to.
2007-11-29* Thanks to _SomeOne_, Server side permissions on object editing. Be aware, ↵Teravus Ovares1-83/+88
that if you're editing an object on your client that you're not allowed to, it'll appear that it's moving to you, but won't actually be moving on the sim.
2007-11-28I believe this turns throttling back on. I had expectedSean Dague1-8/+8
that the Queue would come in by reference, but it didn't appear to be.
2007-11-28merged ClientView into a non partial class. WillSean Dague1-1/+3090
make it easier to start breaking this up into more discreet functional classes
2007-11-27some variable renames to help me read the throttle codeSean Dague1-40/+40
2007-11-24* Added a way for the Region master user to kick individual users from their ↵Teravus Ovares1-0/+13
sim with a custom message. Their client says, "You've been logged off of secondlife, <Your custom message here> and logs them off. * Added a way for the Region master user to kick *ALL* users from *ALL* their regions in the estate with a custom message.
2007-11-22* Added more commentsTeravus Ovares1-0/+3
* Tweaked the esoteric throttler parameters again.
2007-11-22* Quelled a Log format exception in the logging routines.Teravus Ovares1-2/+2
* Tweaked some esoteric throttle settings * Removed AgentThrottle from the unsupported packet list.
2007-11-22Created a client driven packet throttler. The sim now respects the client's ↵Teravus Ovares1-5/+153
network throttle settings but does sanity checks to avoid too little(nothing gets sent) or too much(the sim crashes) data. * Consider this experimental.. however, it looks very promising.
2007-11-18* Refactored IClientAPI.OutPacket to require a second mandatory parameter. ↵Teravus Ovares1-1/+1
This parameter has an enum:int ThrottleOutPacketType and contains types; Resend, Land, Wind, Cloud, Task, Texture, and Asset.
2007-11-18Revert the previous commit - indeed this needs to be fixed in a Dalien Talbot1-9/+3
different place...
2007-11-18Trap the error during the logout with connections to multiple sims on Dalien Talbot1-3/+9
the same box (error in closecircuit) - temp band-aid, should have a better fix.
2007-11-13* Added AvatarPicker in Standalone mode. Works for finding avatar to ban, ↵Teravus Ovares1-5/+10
manually trying to add a friend (with the add button) or useful to those who are curious which usernames have visited your standalone sim. Important for future development :D. * Grid mode always returns 0 results until the Grid Communications portion is done.
2007-11-13Some work on cleanly removing Regions.MW1-0/+10
2007-11-09add a few more verbose bitsSean Dague1-0/+2
2007-11-09* Protip: Commit AFTER compiling. Adam Frisby1-1/+1
2007-11-09* Added some code to prevent a spinlock.Adam Frisby1-3/+7
2007-11-09* Tweaked how the throttle works.Adam Frisby1-1/+9
2007-11-09* Tweaked throttle sizes. Throttle is now 256kbps outbound per client.Adam Frisby1-2/+3
2007-11-09* Added some *VERY* experimental highly dodgy throttling of outbound packets ↵Adam Frisby1-4/+31
to help alleviate clients borking during massive amounts of updates. Needs work.
2007-11-01* Diuerse beavtificatemslbsa711-2/+2
2007-10-31some small changesMW1-1/+1
2007-10-30* Optimized usingslbsa711-37/+49
* Shortened type references * Removed redundant 'this' qualifier
2007-10-29as per the "Filesystem cleanup for OpenSim repository" mailing list thread. ↵MW1-4/+0
Have flattened the OpenSim.Framework project/namespace. The problem is that the namespace is still wrong as its "OpenSim.Framework" while the directory is "OpenSim\Framework\General" , so we need to decide if we change the directory or correct the namespace. Note this has lead to a big flat project, but I think a lot of the files we most likely don't even use any longer. And others belong in other projects/namespaces anyway.
2007-10-22* Removed plenty more untagged console messages. Everything now has shiny ↵Adam Frisby1-5/+5
groups. :)
2007-10-19* Major structural change: Begun converting Events to use (caller, args) ↵Adam Frisby1-0/+7
syntax to conform with .NET guidelines. * OnChatFromViewer has been converted as an example. * Bug: SimpleApp's NPC client does not implement a Scene property and will likely crash with a NullReferenceException when it attempts to chat.
2007-09-27Reverting back to 2017 since 2018 were causing Linux breakage; reopening ↵lbsa711-0/+1
Tleiades patch 444 and 445.