aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* If the SnedInventoryAync() method receives an exception log this but make ↵Justin Clark-Casey (justincc)2015-01-211-1/+10
| | | | | | sure it does not terminate the process. Relates to http://opensimulator.org/mantis/view.php?id=7421
* Changes to be committed: modified: ↵Edward2014-09-171-0/+15
| | | | OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs modified: OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs This solves mantis bug# 5005: llRegionSay script does not trigger ChatFromWorld event. This was solved by adding World.SimChat() command to the llRegionSay() function (per suggestion of DrCuriosity). Additionally this fixes llRegionSayTo() which was also not functioning by adding a World.SimChat() command and adding a new SimChatToAgent() overrided function to Scene.PacketHandlers.cs This is the second patch revision. Corrections made to the position of World.SimChat() and removal of tabs per suggestion by justincc.
* After finishing to edit an attachment, let other avatars see the changes. ↵Oren Hurvitz2013-10-171-7/+2
| | | | (The changes weren't visible before because updates to attachments aren't sent while the attachment is selected.)
* Filter certain viewer effects depending on distance between the avatar that ↵Diva Canto2013-07-211-7/+25
| | | | is generating the effect and the cameras of the observers. In particular, this applies to LookAt (which is really verbose and occurs every time users move the mouse) and Beam (which doesn't occur that often, but that can be extremely noisy (10.sec) when it happens)
* Fix script error messages not showing up in viewer 3 and associated viewers.Justin Clark-Casey (justincc)2012-10-251-0/+12
| | | | | | | Viewer 3 will discard such a message if the chat message owner does not match the avatar. We were filling the ownerID with the primID, so this never matched, hence viewer 3 did not see any script error messages. This commit fills the ownerID in with the prim ownerID so the script owner will receive script error messages. This does not affect viewer 1 and associated viewers which continue to process script errors as normal.
* When scripts generate expected exceptions (e.g. due to checked bad ↵Justin Clark-Casey (justincc)2012-10-251-1/+4
| | | | | | | parameter) throw ScriptException instead of just a plain old exception. This is to make it easier to distinguish these exceptions from unexpected OpenSimulator problems internally and in regression tests. No functional changes.
* minor: Fix bad log message for failure to create an inventory folderJustin Clark-Casey (justincc)2012-08-251-1/+1
|
* Mantis 5977 Corrections to llRegionSayToTalun2012-04-231-3/+23
| | | | Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* Moved HandleAvatarPickerRequest from the generic Scene.PacketHandlers to the ↵Diva Canto2012-03-171-53/+0
| | | | UserManagementModule where it belongs. No functional changes.
* Move HandleObjectGroupUpdate() from GroupsModule to Scene.PacketHandlers.cs ↵Justin Clark-Casey (justincc)2011-12-191-0/+39
| | | | as this is updating SOG/SOP.GroupID, which is arguably generic.
* refactor: simplify methods in Scene.PacketHandlers.cs by using ↵Justin Clark-Casey (justincc)2011-12-171-138/+71
| | | | GetGroupByPrim() rather than retrieving GetEntities() and inspecting the entire list
* minor: formatting changes in Scene.PacketHandlers.csJustin Clark-Casey (justincc)2011-11-261-5/+5
|
* Rip out unused Scene.HandleFetchInventoryDescendentsCAPS().Justin Clark-Casey (justincc)2011-11-261-58/+0
| | | | This has been handled by WebFetchInvDescHandler.Fetch() for some time.
* refactor: rename SOG/SOP.GetProperties() to SendPropertiesToClient() to ↵Justin Clark-Casey (justincc)2011-09-151-2/+2
| | | | | | reflect what it actually does This also makes it consistent with some other methods that send data to the client.
* Eliminate pointless checks of SOG.RootPart != nullJustin Clark-Casey (justincc)2011-09-011-4/+0
| | | | It's never possible for SOG to have no RootPart, except in the first few picosends of the big bang when it's pulled from region persistence or deserialized
* Add an async inventory details sender to respond to FetchInventory packets.Justin Clark-Casey (justincc)2011-07-011-25/+0
| | | | | | | If a user with a very large inventory right-clicks on their "My Inventory" folder, viewer 1 code will send a massive number of Fetchinventory requests. Even though each is handled asynchronously via a pool thread, the sheer frequency of requests overwhelms the pool and freezes inbound packet handling. This change makes the first Fetchinventory thread also handle subsequent requests, freeing up the other threads. Further efficiencies could be made by handling all the items in a particular FetchInventory request together, rather than separately.
* Fix broken inventory links on viewer 2.Justin Clark-Casey (justincc)2011-05-131-0/+4
| | | | | It appears that if the viewer requests a folder containing links, we must also send the folders that contain the link targets first. This was tested with Kokua 0.1.0 WIP though I predict it will also work with other viewer 2s
* Global creator information working on MySQL DB and on load/save OARs. ↵Diva Canto2010-11-211-16/+0
| | | | | | | Creator name properly shown on the viewer as first.last @authority. New option added to save oar -profile=url. Migration on RegionStore making CreatorID be 255 chars. Moved Handling of user UUID -> name requests to a new module UserManagement/UserManagementModule.
* Fix an inventory fetch issueMelanie2010-09-301-0/+3
|
* Changed SceneObjectGroup to store parts with the fast and thread-safe ↵John Hurliman2010-09-161-4/+1
| | | | MapAndArray collection
* Formatting cleanup.Jeff Ames2010-09-121-1/+1
|
* First pass at cleaning up thread safety in EntityManager and SceneGraphJohn Hurliman2010-09-101-9/+7
|
* Improve liveness by operating on list copies of SOG.Children where appropriateJustin Clark-Casey (justincc)2010-08-281-7/+8
|
* Improve consistency of locking for SOG.m_parts in order to avoid race ↵Justin Clark-Casey (justincc)2010-08-261-15/+23
| | | | conditions in linking and unlinking
* * Fixes Library bugs in grid mode. Partly a missing check and partly a ↵Diva Canto2010-05-051-2/+2
| | | | | | missing configuration. * Made previous Robust config changes consistent in Robust.HG.ini.example
* Merge branch 'master' into presence-refactorMelanie2010-02-081-0/+40
|\ | | | | | | | | This was a large, heavily conflicted merge and things MAY have got broken. Please check!
| * Apply http://opensimulator.org/mantis/view.php?id=3334Justin Clark-Casey (justincc)2010-01-291-0/+40
| | | | | | | | | | | | Send continuous touch() events if the left mouse button is held down while moving over an object This conforms with Linden Lab practice Thanks Revolution
* | OpenSim/Framework/Communications/Cache deleted. LibraryRootFolder deleted.Diva Canto2010-01-111-1/+0
| |
* | CommunicationsManager is practically empty. Only NetworkServersInfo is there.Diva Canto2010-01-101-8/+10
| |
* | * Last reference to CommsManager.UserProfileCacheService removedDiva Canto2010-01-101-1/+1
| | | | | | | | * Grided-sims added the Library module
* | Less refs to UserProfileCacheService. Compiles but likely doesn't run.Diva Canto2010-01-091-1/+19
| |
* | The Library Service is now working. UserProfileCacheService.LibraryRoot is ↵Diva Canto2010-01-011-16/+18
|/ | | | obsolete. Didn't delete it yet to avoid merge conflicts later -- want to stay out of core as much as possible.
* Backport the fixes to WebFetchInventoryDescendents to the UDPMelanie2009-11-041-1/+1
| | | | | | | InventoryDescendents packet. Testing has shown that UDP inventory now works flawlessly and, unlike CAPS inventory, doesn't download the entire agent inventory on start. Neither does it incessantly re-request folder NULL_KEY. Therefore, I have disabled CAPS inventory.
* * Converts ClientManager.ForEach() (and as a result, Scene.ForEachClient()) ↵John Hurliman2009-10-271-3/+2
| | | | | | to use a non-blocking parallel method when operating in async mode * Minor code readability cleanup
* * Switched all operations on the list of clients that could be either sync ↵John Hurliman2009-10-261-1/+1
| | | | | | | | or async to use Scene.ForEachClient() instead of referencing ClientManager directly * Added a new [Startup] config option called use_async_when_possible to signal how to run operations that could be either sync or async * Changed Scene.ForEachClient to respect use_async_when_possible * Fixing a potential deadlock in Parallel.ForEach by locking on a temporary object instead of the enumerator (which may be shared across multiple invocations on ForEach). Thank you diva
* * Rewrote ClientManager to remove Lindenisms from OpenSim core, improve ↵John Hurliman2009-10-131-1/+1
| | | | | | | | performance by removing locks, and replace LLUDPClientCollection * Removed the confusing (and LL-specific) shutdowncircuit parameter from IClientAPI.Close() * Updated the LLUDP code to only use ClientManager instead of trying to synchronize ClientManager and m_clients * Remove clients asynchronously since it is a very slow operation (including a 2000ms sleep)
* * Unregister event handlers in LLUDPServer when a client logs out and ↵John Hurliman2009-10-131-0/+26
| | | | | | | | disconnects * Move ViewerEffect handling to Scene.PacketHandlers * Removing the unused CloseAllAgents function * Trimming ClientManager down. This class needs to be reworked to keep LLUDP circuit codes from intruding into the abstract OpenSim core code
* A small change in FetchInventoryDescendantsCAPS.Diva Canto2009-10-061-1/+2
|
* Uncommented log message on CAPs FetchInventoryDescendantsDiva Canto2009-10-061-3/+3
|
* Formatting cleanup.Jeff Ames2009-10-011-1/+1
|
* Formatting cleanup.Jeff Ames2009-10-011-7/+7
|
* Fixes seven leaky .BeginInvoke() callsJohn Hurliman2009-09-031-0/+4
|
* Fix up WebFetchInventoryDescendents to really return all data needed,Melanie2009-08-291-1/+17
| | | | | especially the folder version and the subfolders. Fixes inventory search hang and folders not loading.
* Modify CAPS inventory code. Currently this is not executedMelanie2009-08-281-3/+7
|
* * Fixes mantis http://opensimulator.org/mantis/view.php?id=4044. Turns out ↵Diva Canto2009-08-221-1/+1
| | | | | | folders were never being removed from trash when they were singled out for purging in trash. They were being removed when Trash was purged as a whole. That behavior is now fixed for the new InventoryService set. * Removed left-overs from AssetInventoryServer.
* Made HandleFetchInventoryDescendents async, so that the client thread ↵Diva Canto2009-08-201-2/+17
| | | | doesn't wait for the download of the entire inventory.
* One more place fixed for setting the inventory folder owner. Thanks jhurliman.Diva Canto2009-08-201-1/+1
|
* Async purge so that the client thread doesn't wait.Diva Canto2009-08-191-2/+22
|
* A better purge of trash folder.Diva Canto2009-08-191-1/+1
|
* jhurliman's patch in http://opensimulator.org/mantis/view.php?id=4024Diva Canto2009-08-181-1/+2
|