aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/RegionApplicationBase.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* From: Dr Scofield <hud@zurich.ibm.com>Justin Clarke Casey2008-04-281-7/+7
| | | | | | | | | | | | | | | | | | Note: This is the first part of some changes from Dr Scofield to support console-less operation of an OpenSim region server. The changes are not yet complete. * refactors OpenSimMain into two classes: OpenSimMain and OpenSimMainConsole. OpenSimMainConsole derives from OpenSimMain and basically is the "old" OpenSimMain * drops StartConsole from RegionApplicationBase (was only called from the "old" OpenSimMain anyhow) * reverts the changes to TryGetScene(string, out scene) as that seems to work perfectly fine * adds a check to region-remove to see whether m_sceneManger.CurrentScene is non-null before comparing it against the region-to-be-removed
* From: Dr Scofield <hud@zurich.ibm.com>Sean Dague2008-04-211-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | the attached patch set is centered around RemoteAdminPlugin and focuses mainly on making it more robust (i.e. more parameter checking and better error reporting) but also we've re-implemented the LoadTerrain stuff that got disabled during the terrain code reworking: * missing PostInitialize() calls on region modules that were loaded for regions created via RemoteAdmin's CreateRegion XmlRpc call * re-implements RemoteAdmin's LoadTerrain XmlRpc call (probably lost during the TerrainModule rework) * adds lots more parameter checking and error reporting to RemoteAdmin * adds a read-only property to RegionApplicationBase so that we can access the CommsManager * adds Exceptions to TerrainModule so that we get better error case feedback (and can report more meaningful errors in turn) * adds a CheckForTerrainUpdate() call to TerrainModule.LoadFromFile() to make terrain changes effective * adds TryGetCurrentScene(LLUUID) to SceneManager so that we can retrieve Scenes not only by name but also by LLUUID cheers, dr scofield
* * Optimised using statements and namespace references across entire project ↵Adam Frisby2008-04-211-3/+4
| | | | (this took a while to run).
* further renaming of properties for claritySean Dague2008-04-101-2/+2
|
* moved fields to properties for UserDataProfile, which wasSean Dague2008-04-101-2/+2
| | | | | | | actually a little more work than I expected given the copious use of out params.
* Re-enabled terrain texture generation for the world map. Adam can clean up/ ↵MW2008-03-291-1/+4
| | | | | | | | sort it out when he gets time. Most likely doesn't really work in grid mode as the generated textures are marked as temporary and I don't think they are updated to the asset server. We have to either live with these textures being sent to the asset server, and manually clean them out from time to time or wait until there is some asset management system in place. Also currently the texture is only generated at region startup, it is not updated after terraforming.
* * Make standalone non-home region caps work again.Justin Clarke Casey2008-03-241-1/+2
| | | | | | * When I removed the hard coding for the http port last night, I foolishly assumed standalone would be okay :)
* *Moved LandManagement into its own region module (spiffy!)mingchen2008-03-221-2/+0
|
* Formatting cleanup.Jeff Ames2008-03-181-26/+26
|
* * Added ODEPlugin Support for llSetBuoyancy. Set Buoyancy to 1 for space prim.Teravus Ovares2008-03-101-0/+1
| | | | | * Added WaterLevel support to the ODEPlugin. More on this later.
* * Disabled ancient TerrainEngine.Adam Frisby2008-03-061-1/+1
| | | | | | | * 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.
* Merged 3Di code that provides scene and avatar serialization, and plugin ↵Johan Berntsson2008-03-041-3/+8
| | | | support for region move/split/merge. See ThirdParty/3Di/README.txt. Unless the new modules are used there should be no noticeable changes when running OpenSim.
* Minor cleanup.Jeff Ames2008-02-201-1/+1
|
* Converted logging to use log4net.Jeff Ames2008-02-051-8/+11
| | | | | | Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
* * Rebase all current servers on common abstract BaseOpenSimServer classJustin Clarke Casey2008-02-041-8/+1
| | | | | | | * The immediate upshot is that "show uptime" from the console will now show uptime on all server types (user, asset, grid, etc) * DEV: This refactoring is far from complete - only just enough to makes the "show uptime" command common accross the servers. More is needed, but in this case it's somewhat like eating cabbage, which I prefer not to do all at once
* First part of avatar persistence, currently only really works in standalone ↵MW2008-02-041-1/+1
| | | | | | | | | mode (with accounts_authenticate set to true), it also only currently has a mysql database connector. (sqlite one will follow soon). It also uses the tribalmedia database system, so this needs checking to see if the old problems with mono have been fixed. To use, see the appearance section in opensim.ini.example, set "persist = true", then add the correct connection string for your database.(see mysql-AvatarAppearance.sql in share folder for a example of the table mysql table structure). This could possible be used in a very small grid, but would mean each region server would need to connect to the same mysql database. But the work to move the code to one of the grid servers shouldn't be too much.
* In an attempt to solve multihomed UDP problem I seem to have bound UDP ↵Tedd Hansen2008-02-021-3/+3
| | | | socket to external IP instead of internal :)
* Hopefully fixed MySQL DB crash on startup issue (so we can remove 3 sec wait).Tedd Hansen2008-02-021-2/+8
| | | | | | Added option to try alternate UDP ports if the one configured is in use. UDP packets are now bound to the actual outside IP address and hopefully won't "randomly" select IP on multihomed systems.
* * Exprimental prim inventory persistence can now be enabled by users.Justin Clarke Casey2008-01-111-1/+5
| | | | | | | | | * This can be turned on by setting storage_prim_inventories_experimental = True in OpenSim.ini * Implemented for sqlite and MySQL, no MSSQL implementation yet * As an experimental feature, there is no guarantee that this won't take down your region or that the db representation won't need to change. * More (and continuing) details at http://opensimulator.org/wiki/OpenSim:Prim_Inventory_Persistence
* * Optimized usingslbsa712007-12-271-5/+4
| | | | | | | * shortened references * Removed redundant 'this' * Normalized EOF
* Added patch from Johan. First attempt to solve the LibSL.Packet GC problem. ↵Jeff Ames2007-12-201-1/+1
| | | | Works with LibSL rev>1532
* *Parcels and their access lists now store over multiple sessions when the ↵mingchen2007-12-181-2/+0
| | | | datastore is sqlite
* *Land has now been linked to the StorageManager. Next step is to fill in the ↵mingchen2007-12-171-3/+1
| | | | functions for the different datastore interfaces for Land Objects.
* Minor cleanupJeff Ames2007-12-131-2/+2
|
* saved OpenSim source code from the giant rampaging unterminated copyright ↵Jeff Ames2007-12-101-1/+1
| | | | notice of doom
* removed some duplicate hard-coded port numbers. changed ports to uint.Jeff Ames2007-12-061-2/+2
|
* * Fixed a whole bunch of console messages.Adam Frisby2007-12-041-1/+1
|
* * Extended our semi-stupid implementation of in world object permissions to ↵Teravus Ovares2007-11-301-2/+3
| | | | | | | show a user's client that it can't edit a prim if it doesn't have permission. * Permissions is due for a big revamp. The current way it's done is a hack at best.
* * Fixed neighbour range buglbsa712007-11-291-2/+2
| | | | | * Various refactorings
* Moved the m_sceneGridService.RegisterRegion(RegionInfo); call out of ↵MW2007-11-281-0/+1
| | | | | | | LoadWorldMap and into its own public method (which is called during region creation). We shouldn't have things like that in methods like LoadWorldMap as some regions might not being having a worldmap loaded via the LoadWorldMap method (like in custom applications). Deleted the CreateTerrainTextureInitial Method which was a 99% duplicate of CreateTerrainTexture, with just a bool field setting difference. That bool is now passed to CreateTerrainTexture as a param.
* *** BIG CHANGES : REGION STORAGE MOVED : UPDATE YOUR OpenSim.ini FROM ↵lbsa712007-11-151-3/+7
| | | | | | | | | | | OpenSim.ini.example ** * Now moved region storage from region to application, so we have one storage per application, instead of one per region. * Changed so that the region store providers use connectionstrings, not filenames * Removed various unfit fields and properties (call me Darwin)
* * Moves the Meshmerizer to a separate pluginTeravus Ovares2007-11-101-3/+4
| | | | | | * Experimental. Linux Prebuild needs testing. * One more update after this to remove the ODEMeshing directory....
* *Master Avatar can be specified by a previous UUID in either grid mode or ↵mingchen2007-11-031-2/+11
| | | | standalone mode by specifying a master_avatar_uuid attribute in the place of master_avatar_xxxx_name and master_avatar_password.You will not be asked for the name and password if a valid UUID is specified.
* * Optimized usingslbsa712007-10-301-13/+12
| | | | | | * Shortened type references * Removed redundant 'this' qualifier
* as per the "Filesystem cleanup for OpenSim repository" mailing list thread. ↵MW2007-10-291-1/+1
| | | | | | | Have flattened the OpenSim.Framework project/namespace. The problem is that the namespace is still wrong as its "OpenSim.Framework" while the directory is "OpenSim\Framework\General" , so we need to decide if we change the directory or correct the namespace. Note this has lead to a big flat project, but I think a lot of the files we most likely don't even use any longer. And others belong in other projects/namespaces anyway.
* * Added XMLRPC Controller Module to OpenSimMain which allows XML-RPC queries ↵Adam Frisby2007-10-251-0/+5
| | | | | | | | to be sent to the core application. * Disabled by default, but has two functions so far -- shutdown (timed or now), and create-region. * Added SendGeneralAlert function to SceneManager allowing all-user alerts to be sent from OpenSimMain.
* == The "right name and place" commit ==lbsa712007-10-051-1/+0
| | | | | | | | | * Moved InventoryData to Framework.Types/InventoryItemBase.cs * Moved UserData to Framework.Interfaces/IUserData.cs * Moved UserProfileData to Framework/Types/UserProfileData.cs * Deleted ass-backwards Framework dependency on Framework.Data (now it's the other way round) * Changed some namespaces to reflect file structure
* * minor renaminglbsa712007-10-031-3/+3
|
* * Started major restructusing of comms to prepare for better grid and region ↵lbsa712007-09-241-1/+1
| | | | | | | | functionality * Working towards one shared set of services * Killed off two projects with very little functionality
* * Encapsulated all CommunicationsManager serviceslbsa712007-09-241-1/+1
|
* * Purged 'Regions' code pending Agent layer grok.lbsa712007-09-231-3/+2
| | | | | | * Changed so prims aren't loaded until AFTER parcels. * The region startup flow is still an ungodly rats nest.
* * moved SceneManager to RegionApplicationBaselbsa712007-09-201-0/+2
| | | | | | * Implemented SceneManager.StopScene() and Scene.Stop() * Some SimpleApping
* mass update of urls in source code to new websiteSean Dague2007-09-101-1/+1
|
* Corrected the namespace in OpenSim.Region.Physics.Manager, so now namespace ↵MW2007-08-281-1/+1
| | | | should equal project and directory.
* Deleted old inventoryCache.csMW2007-08-161-15/+10
|
* (DotNet) ScriptEngine is now loaded and added to Scene during startup.Tedd Hansen2007-08-131-0/+2
|
* Some cleaning up and removed a few old files no longer in use.MW2007-08-101-1/+1
| | | | | | | | | | | Temporary have had to rename the OpenSim.DataStore.MonoSqlite project to OpenSim.DataStore.MonoSqlite1, as I'm not sure what was done to stop the old project name being included in the VS2005 solution. Also some config changes: OpenSim now has a INI (OpenSim.ini) file that it will read some config settings from (if the ini file exists). Added Mono.Data.SqliteClient.dll so that we can use the same code for sqlite on Windows and mono/linux. (from what I can tell Mono class libraries have a MIT license so there should be no problems with us including this dll). So now to get the basic prim storage working , you need to first create the sqlite database file from the sqlite3-prims.sql in share directory. Then in the OpenSim.ini file, change the storage_plugin so it points to OpenSim.DataStore.MonoSqlite1.dll (storage_plugin = OpenSim.DataStore.MonoSqlite1.dll). Then in your region.xml files change the DataStore value so it is the name of your database file (at the moment you need a different sqlite3 database file for each region).
* Made a few changes so that once we enable the sqlite data store (simple line ↵MW2007-08-101-1/+1
| | | | change in OpenSimMain), then basic ( with a few limits at moment) prim database backup will work.
* Re-added Grid mode. (which had got removed/disabled in revision 1515)MW2007-08-061-2/+1
|
* * SimpleApp works again:lbsa712007-08-061-0/+2
| | | | | | | | | | | * NetworkServersInfo settable without config file * DefaultHomeLoc throws if getted before setted * Removed nonsensical sandbox distinction * Refactored default config file creation * Some more small refactorings on shapes