aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Avatar/Chat (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Thanks cmickyb for a patch that enhances the IRC module.Dahlia Trimble2008-10-111-27/+98
| | | | | | See mantis #2379 for some useful scripts that work with this. Note that I added another configuration parameter in addition to the patch to allow for legacy behavior in the absence of new configuration settings.
* Disabled some thread aborts in the IRC module that I added earlier and don't ↵Dahlia Trimble2008-10-031-2/+2
| | | | seem necessary
* This changeset changes the way chat from client is routed: Dr Scofield2008-10-032-109/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | old way: each region module interested in chat from client had to - subscribe to scene.EventManager.OnNewClient - then in its OnNewClient delegate it would subscribe to client.OnChatFromViewer to capture chat messages coming new way: ChatModule is the only region module that uses the "old way" approach but is now forwarding all client chat via scene.EventManager.OnChatFromClient - each region module interested in chat from client now only subscribes to scene.EventManager.OnChatFromClient this not only simplifies code, but also allows us to substitute ChatModule with derived classes (ConciergeModule is going to be one example). Also, this changeset changes ChatFromViewer to ChatFromClient as it doesn't necessarily have to be a viewer that is a chat source. i've taken great care to only comment out those OnNewClient delegates that were only used for getting at the client chat --- hope it's not breaking anything.
* a little (incomplete) hackery in the IRC module to allow run-time connection ↵Dahlia Trimble2008-10-011-11/+74
| | | | changes
* - a couple of minor code cleanups in RestInventoryServicesDr Scofield2008-09-302-58/+70
| | | | | | | - cleanups and more comments in ChatModule and IRCBridgeModule - adding Name support in ScenePresence
* Decouple AsyncCommands from XEngine and the script instance. MakeMelanie Thielker2008-09-241-0/+3
| | | | | | | | all methods needed outside the API ststic. Async command processing is now wholly internal to the API. This sets the stage for the next convergence step.
* Update svn properties, formatting cleanup.Jeff Ames2008-09-091-1/+1
|
* * This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares2008-09-062-18/+18
| | | | | | | * This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
* Change some chat output functions so that text is truncated atMelanie Thielker2008-09-021-1/+4
| | | | | | | | 1000 chars to avoid the exception thrown by libomv at 1100 chars. Change string->int conversion so it copes with non-numeric chars after the number and no longer uses a float to parse the value.
* Thank you, sacha magne, for a patch that prevents sim chat fromMelanie Thielker2008-07-311-1/+4
| | | | | | | being heard across whole grids. Fixes Mantis #1855
* renaming the increasingly ill-named ChatFromViewerArgs to OSChatMessageDr Scofield2008-07-252-5/+5
|
* Commented out a readline that was preventing the sim from shutting down in ↵Dahlia Trimble2008-07-181-1/+1
| | | | some cases
* fixing warning in IRCBridgeModule and logging the exception cause now.Dr Scofield2008-07-141-2/+3
|
* adds a default value of true to the new IRC bridge configuration option ↵Dahlia Trimble2008-07-141-3/+5
| | | | "nicknum" to provide backwards compatibility for existing OpenSim.ini files
* Mantis#1718. Thank you kindly, Mircea for a patch that:Charles Krinke2008-07-121-9/+17
| | | | | Adds some IRC bridge improvement.
* trying to fix mantis #1711.Dr Scofield2008-07-111-5/+12
|
* revert 5028, as this approach to 1 nick per avatar isn't going to work, Sean Dague2008-06-061-21/+8
| | | | | | | however, I think I understand now how to make it work. I just don't want to have this broken for people this weekend.
* experimental IRC changes, because it's friday, and I'm curious if thisSean Dague2008-06-061-8/+21
| | | | | | will work.
* 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-282-25/+25
|
* 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-272-3/+4
| | | | | | | | | | | | | | 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-262-35/+28
| | | | | | | | llOwnerSay() via the newly created Scene.SimBroadcast() call.
* Adding OnChatBroadcast event logic to EventManager providing Dr Scofield2008-05-262-108/+149
| | | | | | | | | | | | | 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-252-16/+16
|
* 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-232-3/+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().
* i've refactored the ChatModule into two modules: ChatModule and IRCBridgeModule.Dr Scofield2008-05-231-709/+37
| | | | | | | | | | | | | ChatModule is now only doing in-world chat. IRCBridgeModule is only doing, well, bridging chat to/from IRC. Both modules are now using a new OnChatFromWorld event handler (which Scene.PacketHandler is feeding for chat from in-world instead of going via the Interface method). This refactoring will allow us to easily add other bridge modules (e.g., an XMPP bridge module). there is still a bug in IRCBridgeModule (inherited from the old ChatModule) where FindClientRegion does not really find the client region...
* * Plug in stubbed out archiver moduleJustin Clarke Casey2008-05-221-2/+2
|
* Formatting cleanup.Jeff Ames2008-05-161-3/+3
|
* * Removed 19 warningsTeravus Ovares2008-05-141-1/+1
|
* * Unraveled the DEBUG_CHANNEL mystery.Teravus Ovares2008-05-051-9/+21
| | | | | | | | * Moved script errors to the debug channel. * Typing '/2147483647 OK' results in a debug_channel message. * Expanded the available parameters that are send-able through IClientAPI
* * Rolled back a few changes.Adam Frisby2008-05-011-28/+28
|
* * Spring cleaning on Region.Environment. Adam Frisby2008-05-011-28/+28
| | | | | | | * Converted a large number of read-only fields to be actually, readonly. * Reformatted code sections. * Removed redundant code.
* Update svn properties. Minor formatting cleanup.Jeff Ames2008-05-011-867/+867
|
* * Cruft removal step #1. Cleaning Modules directory.Adam Frisby2008-04-301-156/+193
|
* * Refactored Environment/Modules directory - modules now reside in their own ↵Adam Frisby2008-04-301-0/+831
directory with any associated module-specific classes. * Each module directory is currently inside one of the following category folders: Agent (Anything relating to do with Client<->Server communications.), Avatar (Anything to do with the avatar or presence inworld), Framework (Classes modules can use), Grid (Grid traffic, new OGS2 grid comms), Scripting (Scripting functions, etc), World (The enrivonment/scene, IE Sun/Tree modules.) * This should be moved into a seperate project file.