aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-07-25Move Watchdog and MemoryWatchdog classes into OpenSim.Framework.Monitoring ↵Justin Clark-Casey (justincc)3-0/+3
with other monitoring code from OpenSim.Framework
2012-07-25Rename OpenSim.Framework.Statistics to OpenSim.Framework.Monitoring.Justin Clark-Casey (justincc)4-4/+4
This better reflects the long-term purpose of that project and matches Monitoring modules.
2012-07-25Make SceneManager.OnRegionsReadyStatusChange event available.Justin Clark-Casey (justincc)1-1/+1
This is fired when all regions are ready or when at least one region becomes not ready. Recently added EventManager.OnRegionReady becomes OnRegionReadyStatusChange to match OnLoginsEnabledStatusChange
2012-07-24Rename "image queues clear" console command to "clear image queues"Justin Clark-Casey (justincc)1-12/+6
There is less justification for this word arrangement (verb after noun) now that command help is categorized. Also removes "image queues show" in favour of existing alias "show image queues".
2012-07-24Add information about each column to "show queues" region console command help.Justin Clark-Casey (justincc)1-2/+9
2012-07-24Extend region console "show queues" command to show already collected time ↵Justin Clark-Casey (justincc)1-18/+24
since last packeted received by the simulator from a viewer.
2012-07-19minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2-3/+1
2012-07-19Add EventManager.OnRegionLoginsStatusChange fired whenever logins are ↵Justin Clark-Casey (justincc)1-3/+1
enabled or disabled at any point, not just during initial startup. This replaces EventManager.OnLoginsEnabled which only fired when logins were first enabled and was affected by a bug where it would never fire if the region started with logins disabled.
2012-07-18Perform other region ready actions even if simulator is configured to leave ↵Justin Clark-Casey (justincc)1-26/+19
logins disabled on startup.
2012-07-18Fix bug where region ready would be triggered a second time if a script was ↵Justin Clark-Casey (justincc)1-30/+23
rezzed on a previously script-free region. There is no need to listen for OnRezScript in RegionReadyModule since OnEmptyScriptCompileQueue will only fire if scripts were compiled.
2012-07-18Establish EventManager.OnRegionReady event. This will only be triggerred ↵Justin Clark-Casey (justincc)1-0/+2
once when the region is ready. Switch MapImageServiceModule to use this.
2012-07-18Pass entire scene object in OnLoginsEnabled event rather than just the ↵Justin Clark-Casey (justincc)1-8/+16
region name. This saves listeners from having to re-retrieve the scene from their own lists, which won't work anyway if multiple regions with the same name have been allowed
2012-07-18Only listen to LoginsEnabled event in RegionReadyModule if it has been asked ↵Justin Clark-Casey (justincc)1-26/+22
to disable logins until all scripts have been compiled
2012-07-12Remove IClientIPEndpoint client interface for now.Justin Clark-Casey (justincc)1-10/+1
This may well come back in the future when this subinterface is actually used but it currently isn't and I feel the name was poor. Everything uses IClientAPI.RemoveEndPoint which also returned the full endpoint rather than just the ip address.
2012-07-12Remove IClientAPI.GetClientEP() in favour of existing identical ↵Justin Clark-Casey (justincc)2-10/+0
IClientAPI.RemoteEndpoint.
2012-07-11Where possible, use the system Encoding.ASCII and Encoding.UTF8 rather than ↵Justin Clark-Casey (justincc)4-12/+6
constructing fresh copies. The encodings are thread-safe and already used in such a manner in other places. This isn't done where Byte Order Mark output is suppressed, since Encoding.UTF8 is constructed to output the BOM.
2012-07-07minor: rearrange INITIALIZATION COMPLETE log message so that it's clear init ↵Justin Clark-Casey (justincc)1-3/+2
is only complete for a particular region at a time
2012-07-07minor: Get RegionReady module to shout initialization complete status to ↵Justin Clark-Casey (justincc)1-1/+3
draw the eye
2012-07-06Mantis 6077 trim NPC chat on channel zero.Talun1-0/+8
This patch trims leading and trailing spaces from NPC chat and suppresses the sending of empty chat strings on open chat channel 0.
2012-07-06Mantis 6063 osNpcTouch.Talun2-0/+49
Allow NPCS to touch obects.
2012-07-05Add OSSL function osForceAttachToAvatarFromInventory()Justin Clark-Casey (justincc)1-2/+2
This works like osForceAttachToAvatar() but allows an object to be directly specified from the script object's inventory rather than forcing it to be rezzed in the scene first. Still only attaches objects to the owner of the script. This allows one to bypass the complicated co-ordination of first rezzing objects in the scene before attaching them. Threat level high.
2012-06-13Remove long obsolete and unused IClientAPI.KillEndDone()Justin Clark-Casey (justincc)2-9/+0
2012-06-06Ensure closure of bitmap and memory stream with using() statements in ↵Justin Clark-Casey (justincc)1-7/+8
WorldViewModule. If this has any effect then it will only be to the map images returned via requests to the /worldview simulator HTTP path (not enabled by default)
2012-05-23refactor: Rename ConsoleTableRow and ConsoleTableColumn to ↵Justin Clark-Casey (justincc)1-6/+6
ConsoleDisplayTableRow and ConsoleDisplayTableColumn
2012-05-23refactor: rename ConsoleTable -> ConsoleDisplayTable for clarityJustin Clark-Casey (justincc)1-1/+1
2012-05-10Add ConsoleTable framework class for future uniform formatting of console ↵Justin Clark-Casey (justincc)1-8/+26
output tables. Still subject to change - if you use this be prepared to change your output code if/when the methods change. Make new "attachments show" command use this.
2012-05-10Add "attachments" show console command that will show the server's record of ↵Justin Clark-Casey (justincc)1-0/+177
which attachments an in-scene avatar has. For debugging purposes.
2012-05-07remove default values from prior commit since mono cant deal with themdahlia2-3/+3
2012-05-06add OS_NPC_RUNNING option to osNpcMoveToTarget() to allow running speed for ↵dahlia1-1/+2
moving NPCs
2012-05-03Implement optional name and description on http stream handlers so that we ↵Justin Clark-Casey (justincc)2-48/+59
can relate a slow request to what the handler actually does and the agent it serves, if applicable. This is most useful for capabilities where the url is not self-describing.
2012-04-28Remove mono compiler warning. Adjust message log to error from infoJustin Clark-Casey (justincc)1-2/+2
2012-04-27Add regression test for teleporting an agent between separated regions on ↵Justin Clark-Casey (justincc)2-2/+2
the same simulator. This involves a large amount of change in test scene setup code to allow test scenes to share shared modules SetupScene is now an instance method that requires an instantiation of SceneHelpers, though other SceneHelpers methods are still static May split these out into separate classes in the future.
2012-04-26Add a version of osNpcSay that takes a channel number Mantis 5747Talun2-9/+55
osNpcSay(UUID npc, string message) left untouched New functions:- osNpcSay(UUID npc, int channel, string message) osNpcShout(UUID npc, int channel, string message) osNpcWhisper(UUID npc, int channel, string message) Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-04-25Add try/catch around Json script method registration to avoild some issuesMic Bowman1-15/+24
with .NET 3.5 vs 4.0 differences. See http://opensimulator.org/mantis/view.php?id=5971
2012-04-25refactor: Combine ScenePresence.Teleport() and TeleportWithMomentum()Justin Clark-Casey (justincc)1-1/+1
These are identical apart from setting Velocity = zero, which has no practical effect anyway since this is zeroed when the avatar is added back to the physics scene.
2012-04-24Minor improvements to loggingOren Hurvitz1-2/+2
Eliminated an extra newline in the console if the log line doesn't contain a category (example of a category: "[ASSETS]").
2012-04-24Add online/offline indicator to "friends show" region console command.Justin Clark-Casey (justincc)1-3/+14
Improve output table formatting.
2012-04-17clean up some more logging spam in the jsonstore modulesMic Bowman2-2/+4
2012-04-17Fix the Csharp 3.0 vs 4.0 problem in JsonStore initialization.Mic Bowman3-5/+7
Cut down on the logging spam.
2012-04-17This commit adds a new optional region module, JsonStore, that provides ↵Mic Bowman3-0/+1416
structured storage (dictionaries and arrays of string values) for scripts and region modules. In addition, there are operations on the storage that enable "real" distributed computation between scripts through operations similar to those of a tuple space. Scripts can share task queues, implement shared locks or semaphores, etc. The structured store is limited to the current region and is not currently persisted. However, script operations are defined to initialize a store from a notecard and to serialize the store to a notecard. Documentation will be posted to the opensim wiki soon.
2012-04-17make the namespace for the ScriptModuleComms consistent with its file system ↵Mic Bowman1-1/+1
location
2012-04-05Added missing refresh of group membership client side cache to the groups ↵Snoopy Pfeffer1-1/+2
module. Before memberships of non active groups often were not stored in the cache (n_groupPowers).
2012-03-31refactor: Rename SOG.GetChildPart() to GetPart() since it can also return ↵Justin Clark-Casey (justincc)1-1/+1
the 'root' part.
2012-03-30minor: remove some now unneeded code from FriendsCommandsModuleJustin Clark-Casey (justincc)1-55/+0
2012-03-30Make default "show friends" console command show friends fetched from the ↵Justin Clark-Casey (justincc)1-4/+83
friends service. There is no a --cache option which will show friends from the local cache if available.
2012-03-30refactor: Move "friends show cache" console command out into separate ↵Justin Clark-Casey (justincc)1-0/+165
FriendsCommandsModule. Expose required methods on IFriendsModule. Rename GetFriends() -> GetFriendsFromCache() for self-documentation
2012-03-29Add back parts of reverted changes that were not concerned with child agent ↵Justin Clark-Casey (justincc)2-3/+3
caching. This adds ScenePresence to IClientAPI.SceneAgent earlier on in the add client process so that its information is available to EventManager.OnNewClient() and OnClientLogin() Also add a code comment as to why we're caching friend information for child agents.
2012-03-29Revert "Simplify friends caching by only doing this for root agents - no ↵Justin Clark-Casey (justincc)2-3/+3
functions require caching for child agents." We need to cache child agents so that friends object edit/delete permissions will work across boarders on regions hosted by different simulators. This reverts commit d9f7b8549b3cb9699eb8bd54242d31aac0f8241a.
2012-03-28Simplify friends caching by only doing this for root agents - no functions ↵Justin Clark-Casey (justincc)2-3/+3
require caching for child agents. This allows us to avoid unnecessary multiple calls to the friends service. All friends functions originate from the root agent and only go to other root agents in existing code. This also allows us to eliminate complex ref counting.
2012-03-27minor: clean up some code formatting in VivoxVoiceModule.csJustin Clark-Casey (justincc)1-54/+25