aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/EventManager.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-12-12* refactor: pull out common user profile test code into utility functionsJustin Clarke Casey1-0/+4
2008-12-05Implementation of the llDetectedTouch* functionsidb1-3/+3
2008-11-22Add root agent tracking to presence moduleMelanie Thielker1-3/+3
2008-11-22Next step in the presence module - some core plumbing included atMelanie Thielker1-0/+13
no extra cost
2008-11-16Introduces the message transfer module. It splits the transfer mechanics offMelanie Thielker1-10/+19
the IM module and makes it into a module of it's own, which can be used by all other modules. Removes some ugly hacks. Refer to the IM module to see how it's used. Also fixes the persistence issue (Mantis #2598)
2008-11-09Script region crossing. This has not user functionality, but lays all theMelanie Thielker1-3/+3
groundwork.
2008-11-08* Implemented OnClientConnect in Scene EventManagerAdam Frisby1-0/+16
* Identical to OnNewClient except it passes IClientCore instead of IClientAPI * See http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#Porting_Guide
2008-11-01Make the IM and friends modules optional. Clean up some code that dealtMelanie Thielker1-22/+6
with the old Grid Instant Message over OGS1. Refactor the EventManager to be independent of the rigid module structure design imposed by the current implementation. Message routing is now done in the destination module rather than in the event manager. This way, more or less granular solutions are possible without core changes.
2008-10-03This changeset changes the way chat from client is routed: Dr Scofield1-3/+19
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.
2008-09-25Convergence is almost complete. This brings the diff between the API to < 10kMelanie Thielker1-0/+11
and makes it use a common set of types in both engine. Fixes the issues with running both engines and HTTP requests / listens / timers etc.. Also fixes a couple of minor Scene issues and a CTB by nullref.
2008-09-21Change the scirpt engine loading mechanism. Script engines are nowMelanie Thielker1-3/+4
ordinary region modules and are able to coexist in one instance. See http://opensimulator.org/wiki/ScriptEngines for details. There were changes to OpenSim.ini.example, please note DefaultScriptEngine. Also see the User docs and FAQ on the Wiki. Default is DotNetEngine.
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares1-44/+44
* 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.
2008-08-27Thank you, salahazar, for a patch that corrects the behavior ofMelanie Thielker1-6/+6
llDetectedLink(). Also a small refactor to remove an interface member from IScriptEngine.
2008-08-18Formatting cleanup.Jeff Ames1-23/+9
2008-07-25renaming the increasingly ill-named ChatFromViewerArgs to OSChatMessageDr Scofield1-4/+4
2008-06-28Mantis#1616. Applied Melanie's patch. This may or mayCharles Krinke1-11/+26
not break trunk.
2008-06-05* This sends collision events to the script engine. Teravus Ovares1-1/+37
* Unfortunately, there's some kludges with the Async manager and the llDetected functions that I have yet to decipher... so llDetected functions don't work with collision events at the moment....
2008-06-04Mantis#1439. Thank you kindly, Melanie for a patch thatCharles Krinke1-0/+13
plumbs in the events for on_rez.
2008-06-02* Fixes a bug saving the current sun phase to the estate_settings file.Teravus Ovares1-0/+15
2008-05-30* Fixed a dangling event hook that I added.Teravus Ovares1-0/+12
* Added a Non-finite avatar position reset. This will either handle the <0,0,0> avatar gracefully, or send the avatar to 127,127,127 if that also doesn't work. ( I've only been able to reproduce this error once on my development workstation )
2008-05-26Thank you kindly, Melanie for a patch for script resetCharles Krinke1-0/+12
that creates the event handler chain ready to hook by script engines
2008-05-26Adding OnChatBroadcast event logic to EventManager providing Dr Scofield1-0/+16
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-25* A hacky Top Scripts display. It isn't accurate as far as ms accounting, ↵Teravus Ovares1-0/+15
however you can use it to help find out what scripts are causing your simulator to cry. * Access it from the Estate tools/Debug tab.
2008-05-24* Fixes endless loop in the Land Module when selecting any object.Teravus Ovares1-10/+11
* Fixes returning objects when the object owner hasn't been in the simulator since the simulator started up last.
2008-05-23IRCBridgeModule (and ChatModule before the refactoring) didn't succeed in Dr Scofield1-2/+16
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-23*Refactor of the LandManagementModule that allows OpenSim to run without itmingchen1-0/+89
2008-05-23i've refactored the ChatModule into two modules: ChatModule and IRCBridgeModule.Dr Scofield1-0/+18
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-21* Going to the C# syntactic sugar way of handling the backup event delegates.Teravus Ovares1-8/+2
2008-05-21* This update causes the backup process to run in a separate thread.Teravus Ovares1-2/+8
* Concurrency issues are resolved because each object makes a memory-only copy of itself and backs up the copy. * Because of the way this is done, the latest at the time of the backup gets backed up (no functionality change) * You can move *thousands of objects at a time* and the sim doesn't freeze and wait for the backup to complete. * This can be enhanced more by dedicating the thread as opposed to starting it when the backup process starts.
2008-05-20move SceneEvents.cs to EventManager.cs, as that's actuallySean Dague1-0/+0
the name of the contained class.
2008-05-16Formatting cleanup.Jeff Ames1-8/+8
2008-05-14More formatting cleanup.Jeff Ames1-1/+2
2008-05-09*Land/Parcel upates are now correct with a significant movement by the Clientmingchen1-0/+16
*Moved OnSignificantClientMovement to where it is supposed to be - SceneEvents and not ScenePresence
2008-05-07* Other then the prim update experiments that are going on now, ↵Teravus Ovares1-2/+11
llTakeControls works now along with the 'release controls button'. llReleaseControls() works mostly :D.
2008-05-07* Theoretically, everything is in place for scripted take controls... ↵Teravus Ovares1-0/+5
Theoretically. * I've still got to test, it's still theoretical code :D. Good thing it isn't enabled by default!
2008-05-03*Moved EstateManager into a region modulemingchen1-0/+15
2008-05-03* For your fragging desire, damage enabled land works, but watch out!, life ↵Teravus Ovares1-0/+13
does not regenerate until you're dead!
2008-05-01* Rolled back a few changes.Adam Frisby1-175/+162
2008-05-01* Spring cleaning on Region.Environment. Adam Frisby1-162/+175
* Converted a large number of read-only fields to be actually, readonly. * Reformatted code sections. * Removed redundant code.
2008-05-01* Cleaned namespaces of entire solution. OpenSim directories now correspond ↵Adam Frisby1-1/+1
with namespaces.
2008-04-27* Patch from XenReborn to make remove-region work properly without needing ↵Teravus Ovares1-0/+12
to do a change-region first. Careful though. I still suggest you do a change-region first. * Patch from Melanie to implement touch_end. * Thanks XenReborn!. Thanks Melanie!
2008-04-25* Implements llTarget, llTargetRemove, at_target(), not_at_target()Teravus Ovares1-1/+29
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby1-4/+4
(this took a while to run).
2008-04-17* Re-Fixed caps Teravus Ovares1-8/+8
* This fixes chi11ken's/OpenViewer's libsl cap issue.
2008-04-17* Implements 'Set Home to Here' Teravus Ovares1-2/+2
* Implements 'Teleport Home' * User Server has to be updated for it to save your home in grid mode * home position accuracy is in int because the grid comms ExpectUser method tries to convert to Uint and crashes if it gets a float. Added a convert to decimal in ExpectUser but to avoid a breaking change with old revisions, kept the save value in int for now. Eventually it needs to be a float, but lets release another incremental version before doing that.
2008-04-14* Fixed a few warnings.Teravus Ovares1-1/+59
* Added license info to a few files it was missing from. * Fleshed out the landbuy interfaces * If you add '-helperuri http://127.0.0.1:9000/' to your list of parameters you tell the client to use when you start it up you can transfer ownership of parcels now in standalone. Structured gridmode requires a lot more work, see the documentation in the example money module. The example money module is not secure especially in standalone mode.
2008-04-10* Updates BetaGridLikeMoneyModuleTeravus Ovares1-0/+14
* Several people have asked for a way to limit uploads, so I've decided to show people how to do this in the BetaGridLikeMoneyModule. * Configure it in OpenSim.ini using the [Economy] header. See the bottom of the OpenSim.ini.example for more information. * This also fleshes out the Economy API a bit more.
2008-04-03* From: Dr Scofield <hud@zurich.ibm.com>Justin Clarke Casey1-0/+34
* This patch removes voice code into a region module. This required the implementation of events and other code to allow region modules to register their own caps handlers, and should allow different voice module implementations. * CAVEAT: This does not provide complete voice support, it merely provides the hooks so that it can be plugged in.
2008-03-22*Moved LandManagement into its own region module (spiffy!)mingchen1-6/+5
2008-03-18Formatting cleanup.Jeff Ames1-30/+26