aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Changed save oar and save iar parameter -p|--profile to -h|--home, including ↵Snoopy Pfeffer2012-02-032-6/+6
| | | | corresponding RemoteAdmin parameter
* Corrected console help texts for "save iar"Snoopy Pfeffer2012-02-031-2/+2
|
* Prevent a changed attachment that has been saved from being saved again.Melanie2012-02-011-0/+1
|
* Straighten out some attachment mess. Don't save attachment states for HGMelanie2012-02-011-11/+8
| | | | | visitors at all. On Leaving a sim, save only the changed ones. Don't save all scripted stuff when leaving a sim.
* Update save oar and save iar help responses to reflect new -h|--homenebadon2012-01-251-2/+2
| | | | | switches which replace -p|--profile ie: "save oar --home=http://hg.osgrid.org:80 region.oar"
* If deserializing a scene object fails during IAR load then ignore the object ↵Justin Clark-Casey (justincc)2012-01-111-1/+4
| | | | rather than halting the IAR load with an exception.
* Add avatar names to appearance log messagesJustin Clark-Casey (justincc)2012-01-101-3/+3
|
* HG Friends: fixed bug introduced by 571efeddb20f38bb4164074b3c217be5387ca2e0 ↵Diva Canto2012-01-101-2/+2
| | | | (r/17672)
* Don't try to save a NPCs attachment states on NPC deleteMelanie2012-01-071-0/+8
|
* Improve "app rebake" command to return a better message if no uploaded ↵Justin Clark-Casey (justincc)2012-01-051-1/+6
| | | | texture ids were available for the rebake request
* Add "appearance rebake" command to ask a specific viewer to rebake textures ↵Justin Clark-Casey (justincc)2012-01-041-3/+12
| | | | | | | | from the server end. This is not as useful as it sounds, since you can only request rebakes for texture IDs already received. In other words, if the viewer has never sent the server this information (which happens quite often) then it will have no effect. Nonetheless, this is useful for diagnostic/debugging purposes.
* Separate out rebake request code from cache validation code AvatarFactoryModule.Justin Clark-Casey (justincc)2012-01-041-31/+41
| | | | This allows some logic simplification and allows an external caller to manually request rebakes even if textures are uploaded (future command).
* Profile UpdatesBlueWall2012-01-031-5/+7
| | | | Update basic profile to use the replaceable interface, making configuration less error-prone. Add support to query avatar's home user account and profile service for regions usng the updated OpenProfileModule with Hypergrid.
* Added UserManagementModule.IsLocalGridUser(UUID) to be used throughout ↵Diva Canto2011-12-292-24/+60
| | | | region Scenes and Modules. Changed existing modules to use it instead of assuming that foreign = null account.
* Fix race condition where the appearance update timer could be stopped just ↵Justin Clark-Casey (justincc)2011-12-191-3/+6
| | | | | | after another thread had started it on QueueAppearanceSave() or *Send() However, the window for this race is very small, and the next queued appearance save or send would restart the timer anyway.
* Migrate detailed "appearance show" report generation up to ↵Justin Clark-Casey (justincc)2011-12-191-8/+49
| | | | | | | | AvatarFactoryModule from AppearanceInfoModule so that it can be used in debug (inactive). Further filters "debug packet <level>" to exclused [Request]ObjectPropertiesFamily if level is below 25. Adjust some method doc Minor changes to some logging messages.
* In AvatarFactoryModule.SetApperance(), perform ValidateBakedTextureCache() ↵Justin Clark-Casey (justincc)2011-12-131-2/+2
| | | | | | | | in the same thread rather than on another one. The caller is already an async thread from LLClientView so this doesn't hold up the client. However, launching on a separate thread does remove the effect of m_setAppearanceLock This was potentially allowing two different SetAppearance threads to interfere with each other, though this probably rarely happens, if at all.
* Print out one log message for every missing baked texture, rather than two.Justin Clark-Casey (justincc)2011-12-091-22/+4
|
* Add commented log lines to FetchInventoryDescendents2 path for future use.Justin Clark-Casey (justincc)2011-12-091-0/+2
| | | | Haven't been able to resolve issue where attachments are removed by the viewer on relog on a localhost
* Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead ↵Justin Clark-Casey (justincc)2011-12-051-2/+2
| | | | | | | | of OSHttpRequest/OSHttpResponse. This is required for the substitution of different HTTP servers or the newer HttpServer.dll without having to commit to a particular implementation. This is also required to write regression tests that involve the HTTP layer. If you need to recompile, all you need to do is replace OSHttpRequest/OSHttpResponse references with IOSHttpRequest/IOSHttpResponse.
* Comment out the vebose logging on HGFriendsModule.Justin Clark-Casey (justincc)2011-11-161-12/+11
| | | | Recent issues in http://opensimulator.org/mantis/view.php?id=5794 were not related to HG friends
* temporarily increasing logging in HGFriendsModule for debuggingJustin Clark-Casey (justincc)2011-11-151-1/+24
|
* Add comments about trying to avoid synchronous work off the ↵Justin Clark-Casey (justincc)2011-11-151-1/+4
| | | | EventManager.OnMakeRootAgent event since this is on the critical path for transfer of avatars from one region to another.
* remove SceneCommunicationService.OnAvatarCrossingIntoRegion. This stuff is ↵Justin Clark-Casey (justincc)2011-11-151-1/+0
| | | | not being used any more - it's now IEntityTransferModule and SimulationService instead
* Rename FetchFriendslist() -> CacheFriends() and RefetchFriends() -> ↵Justin Clark-Casey (justincc)2011-11-152-15/+13
| | | | RecacheFriends() to reflect their intended function
* refactor: rename m_NeedsListOfFriends => m_NeedsListOfOnlineFriends to ↵Justin Clark-Casey (justincc)2011-11-151-5/+5
| | | | better reflect its actual function
* For clients that are entering a simulator from initial login, stop executing ↵Justin Clark-Casey (justincc)2011-11-151-5/+27
| | | | | | | | FriendsModule.FetchFriendslist() asychronously. Executing this asynchronously allows a race condition where subsequent friends fetches hit a cache that FetchFriendsList() had not yet populated. Changing this to synchronous may improve issues where a user does not see friends as online even though they are. I don't believe synchronous is a problem here, but if it is, then a more complicated signalling mechanism is required. Locking the cache isn't sufficient.
* refactor: Don't create a new UUID for passing uuids to client - UUIDs are ↵Justin Clark-Casey (justincc)2011-11-151-4/+6
| | | | structs are so not passed by reference (and they're immutable!)
* Add test for removing a friendship.Justin Clark-Casey (justincc)2011-11-142-11/+31
|
* Improved method doc for AddFriend() - it actually does set up a two-way ↵Justin Clark-Casey (justincc)2011-11-142-4/+5
| | | | | | relationship. Rename IFriendsModule.AddFriend() to AddFriendship()
* minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2011-11-142-7/+1
|
* Add test for adding a friend whilst onlineJustin Clark-Casey (justincc)2011-11-142-6/+30
|
* Add very simple FriendsModuleTests.TestNoFriends()Justin Clark-Casey (justincc)2011-11-142-1/+81
|
* If a friends identifier which is too short is given to ↵Justin Clark-Casey (justincc)2011-11-141-1/+8
| | | | | | HGFriendsModule.GetOnlineFriends() then spit out a warning rather than failing on the String.Substring(). This is to progress http://opensimulator.org/mantis/view.php?id=5789
* Do a ScenePresence null check in HGMessageTransferModule.SendIMToScene() to ↵Justin Clark-Casey (justincc)2011-11-141-1/+2
| | | | | | stop a NullReferenceException being thrown if an HG IM is sent to a simulator running multiple regions This is an attempt to address http://opensimulator.org/mantis/view.php?id=5791
* Convert SendKillObject to take a list of uint rather than sending oneMelanie2011-11-061-1/+1
| | | | packet per prim. More to come as we change to make use of this.
* Rename ForEachAvatar back to ForEachScenePresence. The other changesDan Lake2011-11-031-1/+1
| | | | | | from previous commit which sort out which iterator is used are left intact. A discussion is needed as to what constitutes an avatar vs a ScenePresence.
* Renamed ForEachRootScenePresence to ForEachAvatar. Cleaned up calls toDan Lake2011-11-033-17/+15
| | | | | | | | | | | | | | the 3 iteration functions so more of them are using the correct iteration for the action they are performing. The 3 iterators that seem to fit all actions within OpenSim at this time are: ForEachAvatar: Perform an action on all avatars (root presences) ForEachClient: Perform an action on all clients (root or child clients) ForEachRootClient: Perform an action on all clients that have an avatar There are still a dozen places or so calling the old ForEachScenePresence that will take a little more refactoring to eliminate.
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2011-11-032-21/+35
|\
| * Merge branch 'master' of melanie@opensimulator.org:/var/git/opensimMelanie2011-11-021-7/+21
| |\
| * | Port the Avination offline messaging system to CoreMelanie2011-11-022-21/+35
| | |
* | | Change default say distance to 20m from 30m, the same as on the big grid. ↵Justin Clark-Casey (justincc)2011-11-021-1/+1
| |/ |/| | | | | | | | | This is to improve the migration of scripts that expect a 20m say distance. If you want to keep a 30m say distance then please set this as the say_distance parameter in the [Chat] section of OpenSim.ini.
* | Fix race condition that would sometimes send or save appearance for the ↵Justin Clark-Casey (justincc)2011-11-021-7/+21
|/ | | | | | | | | wrong avatar. In AvatarFactoryModule.HandleAppearanceUpdateTimer(), we loop through appearance save and send requests and dispatch via a FireAndForget thread. If there was more than one request in the save or send queue, then this led to a subtle race condition where the foreach loop would load in the next KeyValuePair before the thread was dispatched. This gave the thread the wrong avatar ID, leaving some avatar appearance cloudy since appearance data was never sent. This change loads the fields into local references so that this doesn't happen.
* Removed use of 'is' operator and casting to find the root ScenePresence in ↵Dan Lake2011-10-272-68/+41
| | | | MessageTransfer modules and Groups module.
* Continuation of previous checkin. Found more places where ↵Dan Lake2011-10-271-6/+4
| | | | ForEachScenePresence can be changed to ForEachRootScenePresence.
* Added new ForEachRootScenePresence to Scene since almost every delegate ↵Dan Lake2011-10-272-7/+4
| | | | passed to ForEachScenePresence checks for !IsChildAgent first. It consolidates child and root handling for coming refactors.
* Comment out inventory folder bulk update code on InventoryAccepted message ↵Justin Clark-Casey (justincc)2011-10-271-12/+18
| | | | | | | | introduced in commit db91044 on Aug 22 2011 This should be unecessary since the folder update is already made at the time of the offer (and moved to trash if not accepted). This code was also not taking into account the situation where an item was accepted. Needs more fixing if this results in an aggression elsewhere.
* Make OpenSim.Framework.Servers.HttpServer rely on OpenSim.Framework instead ↵Justin Clark-Casey (justincc)2011-10-254-1/+4
| | | | | | | | | of the other way around. This is necessary so that code in HttpServer can use framework facilities such as the thread watchdog for monitoring purposes. Doing this shuffle meant that MainServer was moved into OpenSim/Framework/Servers Also had to make OpenSim.Framework.Console rely on OpenSim.Framework rather than the other way around since it in turn relies on HttpServer MainConsole and some new interfaces had to be moved into OpenSim/Framework to allow this. This can be reverted if parts of OpenSim.Framework stop relying on console presence (cheifly RegionInfo)
* Fix missing Busy-Mode ResponsePixel Tomsen2011-10-221-0/+1
| | | | http://opensimulator.org/mantis/view.php?id=5748
* Moved HaveNeighbor utility function from ScenePresence to Scene. Fixed line ↵Dan Lake2011-10-192-268/+268
| | | | endings from previous commit.