aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Avatar/Chat/ChatModule.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-05-28Formatting cleanup.Jeff Ames1-13/+13
2008-05-27I'm dropping the ISimChat interface as that has now been Dr Scofield1-1/+1
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
2008-05-26This cleans up a merge mess from the earlier checkin and implements ↵Dr Scofield1-11/+23
llOwnerSay() via the newly created Scene.SimBroadcast() call.
2008-05-26Adding OnChatBroadcast event logic to EventManager providing Dr Scofield1-39/+62
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).
2008-05-25Update svn properties. Formatting cleanup.Jeff Ames1-8/+8
2008-05-23IRCBridgeModule (and ChatModule before the refactoring) didn't succeed in Dr Scofield1-3/+0
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().
2008-05-23i've refactored the ChatModule into two modules: ChatModule and IRCBridgeModule.Dr Scofield1-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...
2008-05-22* Plug in stubbed out archiver moduleJustin Clarke Casey1-2/+2
2008-05-16Formatting cleanup.Jeff Ames1-3/+3
2008-05-14* Removed 19 warningsTeravus Ovares1-1/+1
2008-05-05* Unraveled the DEBUG_CHANNEL mystery.Teravus Ovares1-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
2008-05-01* Rolled back a few changes.Adam Frisby1-28/+28
2008-05-01* Spring cleaning on Region.Environment. Adam Frisby1-28/+28
* Converted a large number of read-only fields to be actually, readonly. * Reformatted code sections. * Removed redundant code.
2008-05-01Update svn properties. Minor formatting cleanup.Jeff Ames1-867/+867
2008-04-30* Cruft removal step #1. Cleaning Modules directory.Adam Frisby1-156/+193
2008-04-30* Refactored Environment/Modules directory - modules now reside in their own ↵Adam Frisby1-831/+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.
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby1-6/+8
(this took a while to run).
2008-04-14make it so the IRC bridge only relays channel 0 messagesSean Dague1-7/+10
not all of them (like it was doing before)
2008-04-01a few small changesMW1-7/+7
2008-03-18Formatting cleanup.Jeff Ames1-22/+27
2008-03-18Formatting cleanup.Jeff Ames1-26/+25
2008-03-03* Removed and sorted using clauses in a number of files.Adam Frisby1-1/+0
* Cleaned up ITerrainChannel * Implemented Raise, Lower, Smooth, Flatten, Noise Terrain Paint Brushes * Implemented Raise, Lower, Smooth, Flatten, Noise Terrain Fill Brushes * Implemented Export functionality for RAW32 terrain loader * Implemented Import/Export for SLRAW terrain loader * Implemented Export for JPEG terrain loader
2008-02-29Cleaned up a couple compiler warnings.Jeff Ames1-41/+27
2008-02-25* Caught HttpListenerException and swallowed if with outputlbsa711-1/+0
* Moved Flush into Close since it's always done in that order. * Minor renamings * Reversed if for clarity
2008-02-21"threads" command now works. I've added manual tracking of threads (only if ↵Tedd Hansen1-2/+10
compiled in DEBUG mode)... Its ugly and even requires a separate thread to track the treads, but it will be very valuable in debugging.
2008-02-20Minor cleanup.Jeff Ames1-1/+1
2008-02-19Playing "Name that thread". Adding names and isbackground=true to all ↵Tedd Hansen1-3/+18
threads so it will be easier to debug.
2008-02-14* Made new Framework.Constants class, added RegionSize member.Adam Frisby1-2/+2
* Converted all instances of "256" spotted to use RegionSize instead. Some approximations used for border crossings (ie 255.9f) are still using that value, but should be updated to use something based on RegionSize. * Moving Terrain to a RegionModule, implemented ITerrainChannel and TerrainModule - nonfunctional, but will be soon.
2008-02-05Converted logging to use log4net.Jeff Ames1-53/+50
Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
2008-02-04* Chat Message format patch from kinoc (#443) Thanks!Adam Frisby1-2/+19
2008-02-02Thank you very much, Kinoc for : Moved the Listener loop try/catch to a ↵Charles Krinke1-8/+17
better position. Uses the IRC nick as the default when user location cannot be determined.
2008-02-01Thank you, Kinoc for the ChatModule.cs updates.Charles Krinke1-75/+491
2008-01-31revert last IRC bridge changes as this broke chat on my test environment.Sean Dague1-80/+23
Going to sift through the diff later to sort out what the root cause is here.
2008-01-29Thanks kinoc for your improved IRC Gateway patch as referenced in mantis ↵Teravus Ovares1-23/+80
issue 390.
2007-12-27* Optimized usingslbsa711-5/+5
* shortened references * Removed redundant 'this' * Normalized EOF
2007-12-17make it so prims don't relay into IRCSean Dague1-4/+2
2007-12-17ignore Primitive for the IRC relaySean Dague1-1/+3
2007-12-13Fix for #176 (... doesn't appear in chat bubbles). This also gets the viewer ↵Jeff Ames1-46/+15
to handle starting/stopping of the typing animation.
2007-12-10refactored ChatModule a bit.Jeff Ames1-88/+46
misc cleanup and code convention fixes.
2007-12-09removed old debugging code from IM and chat modulesJeff Ames1-4/+0
2007-12-07Updates to LibSL revision 1498. Thanks Johan!Adam Johnson1-1/+1
2007-12-06removed some duplicate hard-coded port numbers. changed ports to uint.Jeff Ames1-3/+3
2007-12-04keeping opensim safe for children -- made some namespace references less ↵Jeff Ames1-4/+2
explicit
2007-12-04* Fixed a whole bunch of console messages.Adam Frisby1-1/+1
2007-11-21* Did some initial work for prim crossing. Just glue so far.Teravus Ovares1-1/+1
* Added the child_get_tasks OpenSim.ini flag for testing the UDP packet sending code and packet throttler. This flag gets purposely disabled in grid mode. This flag also has the consequence that you can see the prim in neighboring regions without going into them. Be warned, this causes tons of dropped packets.
2007-11-18cleaned up some mono compiler warningsJeff Ames1-2/+2
2007-11-12enable typing animation for chat, maybeJeff Ames1-53/+71
2007-11-11Fixing null pointer exception from Mathias Soeken:Dalien Talbot1-2/+2
e.Scene is copied to locale variable scene and replaced when it is null, but in the LLVector3 constructor in the next line, e.Scene is used, so it can be null.
2007-11-05Started to cleanup/close down childagent connections when a user teleports. ↵MW1-48/+51
As the client will not close old childagent connections without being told explicitly to do so by each region the connection is to. Currently only implemented in standalone mode. ( the TellRegionToCloseChildConnection( ) in OGS1GridServices.cs needs implementing for grid mode, and the inter region .net remoting added for the new messages). hopefully fixed the echo bug in chatmodule.
2007-11-01* Diuerse beavtificatemslbsa711-1/+1