aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Formatting cleanup, minor refactoring, svn properties.Jeff Ames2008-06-041-2/+2
|
* * Stop the IRC module throwing a nre on shutdown if it isn't actually being usedJustin Clarke Casey2008-05-301-2/+5
|
* * Successfully pick out prims.xml file from archiveJustin Clarke Casey2008-05-301-1/+1
|
* while investigating why IRCBridgeModule.Close() was having no effect, iDr Scofield2008-05-301-13/+26
| | | | | | | | | | | | | | | | | | | noticed that Scene.Close() will only call Close on non-shared region modules. i've now added code to SceneManager.Close() to collect all shared region module from each scene before calling Scene.Close() on it and then, once, all Scenes are closed, go through the list of collected shared region modules and close them as well. SceneManager.Close() is only called when we initiate a shutdown --- i've verified that a Scene restart does not trigger the shutdown of shared modules :-) also, this adds a couple of bug fixes to the IRCBridgeModule (which after all didn't take kindly to being closed) as well as a check to InterregionModule's Close() call. finally, this fixes the RestPlugin's XmlWriter so that it no longer includes the "xsd=..." and "xsi=..." junk.
* Formatting cleanup.Jeff Ames2008-05-281-12/+12
|
* fixes a CTB when IRCBridgeModule is not configured.Dr Scofield2008-05-271-2/+2
|
* cleaning up: coding style guidelines violation in RestPlugin.cs. Dr Scofield2008-05-271-0/+23
| | | | | | adding support for enabled = true|false for IRCBridgeModule
* I'm dropping the ISimChat interface as that has now been Dr Scofield2008-05-271-2/+3
| | | | | | | | | | | | | | replaced by EventManager events. also, i've added instructions to README.txt about running runprebuild.sh and on how to report bugs. plus some minor fixes (dropping m_log statement left over from debugging llOwnerSay, nicer catch of exception in IRCBridgeModule
* This cleans up a merge mess from the earlier checkin and implements ↵Dr Scofield2008-05-261-24/+5
| | | | | | | | llOwnerSay() via the newly created Scene.SimBroadcast() call.
* Adding OnChatBroadcast event logic to EventManager providing Dr Scofield2008-05-261-69/+87
| | | | | | | | | | | | | a clean interface for Sim broadcasts. Added SimBroadcast support to ChatModule. Removing all code from IRCBridgeModule dealing with agent/client directly. Cleaning up ChatModule. Polishing IRC messages, adding support for "/me" (both directions).
* Update svn properties. Formatting cleanup.Jeff Ames2008-05-251-8/+8
|
* forgot to actually remove IRCBridgeModule.FindClientRegion()Dr Scofield2008-05-231-32/+0
|
* IRCBridgeModule (and ChatModule before the refactoring) didn't succeed in Dr Scofield2008-05-231-0/+860
finding out which region a new avatar was logging in to; the same problem occurred when the client/avatar logged out. the reason was mani-fold: - Scene.AddNewClient(...) would call SubscribeToClientEvents(client) which would subscribe to all client events and then call TriggerOnNewClient(...) BEFORE the ScenePresence object had even been created and added. i've moved the TriggerOnNewClient() call to the end of Scene.AddNewClient() - Scene.AddNewClient(...) is called with child == true; a later call to ScenePresence.MakeRootAgent() will turn child to false. When OnNewClient is triggered, child is still true, causing IRCBridgeModule's FindClientRegion to ignore the ScenePresence of the new avatar. i've changed IRCBridgeModule to still use OnNewClient and also OnLogout and OnConnectionClosed but only to signal that the avatar has logged on (logged off respectively). to track whether an avatar has actually entered a region i've added EventManager.OnMakeRootAgent (complementing OnMakeChildAgent). also, i've cleaned up the internal IRCModule code a bit. currently it still uses IClientAPI.SendChatMessage() which replicates the code in ChatModule, that needs to be changed to use TriggerOnChatFromWorld().