aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneBase.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* This changeset is the step 1 of 2 in refactoringDr Scofield2009-02-061-419/+0
| | | | | | | | | | | | | | | | | | | | OpenSim.Region.Environment into a "framework" part and a modules only part. This first changeset refactors OpenSim.Region.Environment.Scenes, OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region modules in OpenSim.Region.Environment. The next step will be to move region modules up from OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and then sort out which modules are really core modules and which should move out to forge. I've been very careful to NOT BREAK anything. i hope i've succeeded. as this is the work of a whole week i hope i managed to keep track with the applied patches of the last week --- could any of you that did check in stuff have a look at whether it survived? thx!
* * Make existing module commanders register as help topicsJustin Clarke Casey2009-02-051-1/+9
| | | | | | | * Typing help will now give a list of these topics at the top (as well as the rest of the current help stuff) * Typing help <topic> will give information about commands specific to that topic
* * Use the commander name to register module commanders instead of providing ↵Justin Clarke Casey2009-02-051-2/+2
| | | | the information twice
* * refactor: Move module handling code up into SceneBase from Scene, reducing ↵Justin Clarke Casey2009-02-051-4/+173
| | | | the large number of different things that Scene does
* * refactor: Extract caps related code from scene and put into a region moduleJustin Clarke Casey2009-01-211-61/+0
| | | | | | * No functional changes in this revision
* Mantis#2725. Thank you kindly, Diva, for a patch that:Charles Krinke2008-12-141-1/+48
| | | | | | | Adds missing protocol pieces for EstablishAgentCommunication event which allows the client to activate CAPS and the EQ for child agents.
* * refactor: pull out common user profile test code into utility functionsJustin Clarke Casey2008-12-121-3/+5
|
* Finally make attachments stay put. Randomize local ID generation toMelanie Thielker2008-11-291-8/+1
| | | | | | | | | prevent adjacent sims from using identical Local IDs for the attachment Thanks to Mana Janus (Hippo Viewer) for providing the crucial bit of information, namely that, due to a bug in the viewer, adjacent sims can't use the same local ids.
* * simplify AddNewClient since making this root without using MakeRootAgent() ↵Justin Clarke Casey2008-11-281-4/+4
| | | | no longer sets everything up properly
* Refactor: Scene.ExternalChecks -> Scene.Permissions. Also make allMelanie Thielker2008-11-211-3/+3
| | | | | | the internals of the permissions module adapter sane
* * Add just enough to allow the scene presences test to establish a new user ↵Justin Clarke Casey2008-11-191-0/+3
| | | | connection (though not yet an actual ScenePresence)
* Restore the independent LocalID numbering for avatars. Fixes an issue whereMelanie Thielker2008-11-101-0/+8
| | | | | | | it becomes impossible to cross back into a region you came from, or freeze several seconds after region crossings.
* * Fix bug in r7162 where avatars could not moveJustin Clarke Casey2008-11-071-0/+24
| | | | | | | * Was caused by the lack of a local id. Local ids are now given from the same sequence as prims, rather than a separate one * I don't believe this will cause any problems, but please revert to a separate sequence if it does
* * Remove next local id from SceneBaseJustin Clarke Casey2008-11-071-8/+0
| | | | | | * This was only reference by ScenePresence and not used anyway - Scene itself had it's own copy
* test: Extend malformed packet test to actually check that a valid packet can ↵Justin Clarke Casey2008-10-301-3/+2
| | | | get through after the malformed ones have been sent
* * Introduce a basic udp circuit test for adding a clientJustin Clarke Casey2008-10-231-0/+1
| | | | | | * Temporarily disabled assert because it just picked up an existing bug. Yay for tests!
* Add an extension to allow registering multiple interfaces of a type withMelanie Thielker2008-09-251-0/+5
| | | | | | | | | | Scene. Make the script engines check that the engine name in the //Engine:language comment is a valid engine and treat it as a normal comment if it's not. //DotNetEngine: needs to be written as //ScriptEngine.DotNetEngine: now, since that is it's real internal name. //XEngine: still works
* Mantis#2017. Thank you kindly, Tyre, for a patch that solves:Charles Krinke2008-09-251-1/+1
| | | | | | | | | | Check the client dialog box (from top menu) WORLD / REGION ESTATE / REGION tab. The client dialog box seems to have a hard limit of about 32 characters per line available for displaying the region version number. Our regions are sending a string which is greater than the limit, causing the client to wrap the text and look ugly.
* * This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares2008-09-061-5/+5
| | | | | | | * 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.
* Some complex re-ordering to make prebuild do what needed to be done.Melanie Thielker2008-08-231-0/+5
| | | | | | | | | It is now possible to use module interfaces without referencing Scene. Place those interfaces in OpenSim/Region/Interfaces. They may not use any refs from OpenSim.Region.Environment as parameters. This resolves a circular library ref introduced in r5949
* Formatting cleanup.Jeff Ames2008-05-161-9/+9
|
* *Added SceneExternalChecks.cs that is used to manage checking the results of ↵mingchen2008-05-071-0/+6
| | | | multiple functions that register with the class and return the result (usually true/false) based on those results. This is useful for module wanting to put their opinion in decisions such as 'can the user rez this object?'
* * Rolled back a few changes.Adam Frisby2008-05-011-37/+34
|
* * Spring cleaning on Region.Environment. Adam Frisby2008-05-011-34/+37
| | | | | | | * Converted a large number of read-only fields to be actually, readonly. * Reformatted code sections. * Removed redundant code.
* * Optimised using statements and namespace references across entire project ↵Adam Frisby2008-04-211-4/+4
| | | | (this took a while to run).
* * Re-Fixed caps Teravus Ovares2008-04-171-12/+0
| | | | | * This fixes chi11ken's/OpenViewer's libsl cap issue.
* * A tweak of the caps system so that new caps have random paths instead of a ↵Teravus Ovares2008-04-151-0/+12
| | | | | | | | | | fixed path * This allows caps requests to be routed to regions where the agent is currently a root agent instead of the region that they logged into as it did previously. * This fixes a wide variety of bugs related to 'can't do X once i've crossed a border'. * The first seed cap request fails, the second one works. (this generates an error message on the console) * Experimental.
* *Moved LandManagement into its own region module (spiffy!)mingchen2008-03-221-0/+3
|
* * First draft resolution of mantis 777, 734, 389 - scripts do not save in ↵Justin Clarke Casey2008-03-201-0/+15
| | | | | | | | | | | | non-home regions * Should work in multi-region standalone and grid modes * This should also solve other non-home region caps issues (map requests, RC client inventory requests, etc) * We now pass CAPS information on to the destination region on region crossing, and set up a CAPS object when an agent becomes a master * Current limitation is that this will only work if your http_listener_port is 9000 * This is a very early code cut (lots of bad practice, hard coding and inefficiency). However, I wanted to get this out there for feedback and my own sanity. Next few patches will clean up the mess.
* Formatting cleanup.Jeff Ames2008-03-181-27/+27
|
* * Disabled ancient TerrainEngine.Adam Frisby2008-03-061-11/+2
| | | | | | | * Enabled new TerrainModule. (The king is dead, long live the king!) * Use the console command: "script terrain save file.r32" / "script terrain load file.r32" to load/save terrain. Now uses the extension to determine file format. * MANY of the old terrain features do not have a replacement function in the new module yet, this needs to be corrected, but has not been done so far. This being said, the new module is faster and more efficient and should be a good replacement.
* * New Terrain Module (disabled, search for 'usingTerrainModule = false' to ↵Adam Frisby2008-03-051-1/+1
| | | | | | | | | | | reenable) * *Much* faster terraforming (woot!) * New "Brushes" design, so you can create custom terraforming brushes then apply those inplace of the standard tools. (ie an Erode Brush for example) * New specialised "Flood Brushes" to do large area effects, ie, raise-area, now takes a bitmap rather than repeats the ordinary raise brush a thousand times. * New modular file Load/Save systems -- write importers/exporters for multiple formats without having to hard code the whole thing in. * Coming soon - effects system, ie the old Erosion functions, etc. for one-shot effects.
* * Removed a bunch of compiler warnings.Adam Frisby2008-03-031-1/+1
|
* * Removed and sorted using clauses in a number of files.Adam Frisby2008-03-031-1/+10
| | | | | | | | | | * 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
* Change handler001 through handler009 to moreCharles Krinke2008-03-021-3/+3
| | | | | | | | appropriate names consisten with their use. All done with all 94 handlers from handler001 through handler094. Hopefully we can move forward without numbered handlers.
* * Moved all events except gridcomms and regioncomms over to Event Delegate ↵Teravus Ovares2008-02-221-1/+3
| | | | instances to prevent event race conditions
* * Removed some catch-all-ignores from UDPServer in an attempt to look for #305.Adam Frisby2008-02-141-0/+2
| | | | | * Minor work towards abstracting terrain.
* * Fixed nebadon's UserServer crash bug from yesterday.Teravus Ovares2008-02-091-0/+5
| | | | | | * Made Estate tools work for estate managers without needing to request admin status First * Added code to make the Simulator version to be reported in the About box of the client
* Converted logging to use log4net.Jeff Ames2008-02-051-2/+4
| | | | | | Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
* Persistent prim inventory phase 5. Restart scripts contained in persisted ↵Justin Clarke Casey2008-01-071-1/+3
| | | | | | | | prims on region start. No user functionality exposed yet - no ini switch to enable persistence or restore. A bit more initial work to do.
* * Added the ability for estate managers to use the magic secondlife blue ↵Teravus Ovares2008-01-041-1/+4
| | | | | | | card of death to send out region and estate messages. * Switched over Region Restart notices to the magic secondlife blue card of death method.
* * Optimized usingslbsa712007-12-271-7/+4
| | | | | | | * shortened references * Removed redundant 'this' * Normalized EOF
* * Fix for mantis 0000040 After client logout remote host closed connection ↵Teravus Ovares2007-12-181-0/+2
| | | | | | | | | on Simulator makes sim unuseable->'Closed Connection Called' * I've fundamentally changed a few things, so this is experimental * The routine that I used needs to be tested on Linux. I don't expect it to cause a problem, but hey, it might. * Child agents are still not logged off properly, so when the first set time out, the second set get logged off also, on the second log in if the second login is initiated before the first one fully times out.
* saved OpenSim source code from the giant rampaging unterminated copyright ↵Jeff Ames2007-12-101-2/+2
| | | | notice of doom
* * Restarting regions with the estate tools works in sandbox mode. I'm still ↵Teravus Ovares2007-11-261-2/+1
| | | | working on grid mode, however. It doesn't break anything, but that feature doesn't work in grid mode yet either.
* * Added the ability to restart your individual sims from within them using ↵Teravus Ovares2007-11-251-0/+34
| | | | | | | the estate tools. * The sims properly restart, however they don't yet notify the existing avatars that they are up. To see the sim again, you'll need to log-out and back in until I can figure out how to get the proper data to the sims and to the avatar so they reconnect again.
* Added "remove-region <region name>" console command that "should" remove the ↵MW2007-11-131-5/+0
| | | | named region/scene.
* Some more refactoringMW2007-11-041-7/+0
|
* Added support for OpenSim application plugins (as requested by Adam), which ↵MW2007-11-041-1/+7
| | | | | | | use Mono.addins for loading/management. (which is a pure .net solution so works on both Mono and MS .net, and is under the MIT license, will add the source code for the library later). I also suggest we look into switching to using Mono.addins for our Region module loading management. A little bit more refactoring of Scene.
* First part of Scene refactoring:MW2007-11-031-1/+4
| | | | | | Started the move of some of the methods from scene into a inner class (currently called InnerScene.cs), the idea being that the code related to the 3d scene (primitive/entities/Avatars etc) will be in this inner class, then what is now Scene.cs will be left as a kind of wrapper class around it. And once the spilt is complete can be renamed to something like RegionInstance (or any name that sounds good and ids it as the Region layer class that "has" a scene). Added SceneCommunicationService which at the moment is a kind of high level wrapper around commsManager. The idea being that it has a higher level API for the Region/Scene to send messages to the other regions on the grid. a Example of the API is that instead of having sendXmessage methods, it has more functional level method like PassAvatarToNeighbour. Hopefully this will allow more freedom to do changes in communications that doesn't break other things.