Commit Graph

41 Commits (176efe3f0680aa7e1c46d9eb0fc1ead762512ac3)

Author SHA1 Message Date
MW 314181a70d small change to last commit 2008-06-26 17:23:05 +00:00
MW 682ec53420 As per the suggestion on the mailing list, added support for a OpenSim.xml config file, instead of a ini file. INI files still work the same as they did before, just now if a ini file isn't found, it looks for a OpenSim.xml file (of course in xml format) and if found uses that.
Includes a OpenSim.Example.xml for reference (the default settings saved as a xml file).
2008-06-26 17:20:08 +00:00
Justin Clarke Casey 8e1d338656 * Refactor: Split opensim background server into a separate class 2008-06-01 01:01:16 +00:00
Jeff Ames 65c5efe43b Formatting cleanup. 2008-05-16 01:22:11 +00:00
Adam Frisby 20a9bf08f5 * Rolled back a few changes. 2008-05-01 18:04:42 +00:00
Adam Frisby fc6c4dc399 * Cleaning code still. 2008-05-01 16:41:01 +00:00
Adam Frisby 5231903778 * In ur code. Making it static.
* Converted a bunch of functions to static functions.
2008-05-01 16:03:53 +00:00
Adam Frisby a1c8aa4050 * Cleaned namespaces of entire solution. OpenSim directories now correspond with namespaces. 2008-05-01 15:36:39 +00:00
Adam Frisby 3da6a05eaa * Sometimes you know, you do something really stupid.
* This is one of those times (should fix build)
2008-04-30 21:32:14 +00:00
Justin Clarke Casey 763ae779ff From: Dr Scofield <hud@zurich.ibm.com>
* Fixes the admin_shutdown xmlrpc method
* Adds a share/python/console/shutdown.py script for shutting down a background OpenSim
* For more details see http://xyzzyxyzzy.net/2008/04/29/console-less-opensim/
* There should also be instructions in the opensimulator wiki soon as well
2008-04-29 14:50:27 +00:00
Justin Clarke Casey 78ae258bb0 From: Dr Scofield <hud@zurich.ibm.com>
attached patch does a bit of reformatting and adds some more parameter 
checking to RemoteAdmin.
2008-04-28 14:08:38 +00:00
Sean Dague bf1580fba4 From: Dr Scofield <hud@zurich.ibm.com>
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
2008-04-21 12:42:56 +00:00
Adam Frisby fef3b36894 * Optimised using statements and namespace references across entire project (this took a while to run). 2008-04-21 07:09:17 +00:00
Sean Dague 62d02e079e From: dirk husemann <hud@zurich.ibm.com>
attached is a patch set that
     * adds further robustness checks for the CreateUser and CreateRegion
       XmlRpc
     * fixes SceneManager.TryGetScene(IPEndPoint, Scene) --- contrary to my
       expectation IPEndPoint.Address is not sufficient for a comparision,
       IPEndPoint.Address.Address (the long representation) does work
       however.
     * add [RemoteAdmin] section to OpenSim.ini.example
     * fixes XML doc comments
       good night,
       dirk
2008-04-15 14:18:37 +00:00
Justin Clarke Casey b3892096f3 * From: Dr Scofield <hud@zurich.ibm.com>
* This patch adds support for saving a dynamically generated region to the filesystem (as a region xml file)
* Also adds some error checknig to make sure the dynamically generated region name, id or location are not already taken.
* Thanks Dr Scofield
2008-04-11 15:00:41 +00:00
Sean Dague ae490c7d6f From: Dr Scofield <hud@zurich.ibm.com>
ansgar and i have done a bit of clean up for the "create user" and "create
region" XmlRpc methods in RemoteController (contributed earlier by ansgar),
this add a bit of consistency checking, more error checking and also
documentation of the  expected XmlRpc parameters.
2008-04-04 11:48:27 +00:00
Jeff Ames e5b9144282 Formatting cleanup. 2008-03-18 15:30:38 +00:00
Jeff Ames 47180080f0 Formatting cleanup. 2008-03-18 05:16:43 +00:00
Adam Frisby a360116502 * Disabled ancient TerrainEngine.
* 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.
2008-03-06 15:49:53 +00:00
Johan Berntsson 279e0061c5 Merged 3Di code that provides scene and avatar serialization, and plugin 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. 2008-03-04 05:31:54 +00:00
Tedd Hansen c62328950a More exception checks and crash hints
If no scriptengine is specified then don't try to load any.
2008-02-18 14:21:51 +00:00
Sean Dague c7c567182a From: Ansgar Schmidt <ANSI@de.ibm.com>
Here is a patch for Revision 3380. This patch adds the feature of loading
XML prim specification via XML-RPC call on a given island. Call with
Islandname and XMLPrim Filename.
2008-02-11 12:58:01 +00:00
Jeff Ames 49622dfbc5 Update version numbers to 0.5 2008-02-07 04:41:08 +00:00
Jeff Ames 6ed5283bc0 Converted logging to use log4net.
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-05 19:44:27 +00:00
Justin Clarke Casey 55dc0dc267 * Patch from Ansi (IBM)
* Allows the creation of a user via the RemoteAdminPlugin.
* Many thanks!
2008-01-29 14:43:45 +00:00
Adam Frisby b25f9f322c * Mother of all commits:
* Cleaned up copyright notices in AssemblyInfo.cs's
* Added Copyright headers to a bunch of files missing them
* Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
2008-01-15 02:09:55 +00:00
Adam Frisby bf8ffc7a0c * For your enjoyment, some RAdmin improvements, namely a new LoadHeightmap method. 2008-01-12 03:17:28 +00:00
Tedd Hansen d430b7d815 Removed ModuleName because its like that and thats the way it is (according to Mono) 2008-01-05 17:15:38 +00:00
Tedd Hansen 26ce983b74 Implicit interface definitions (maybe Mono won't crash?) 2008-01-05 17:10:01 +00:00
Tedd Hansen 704e491c3a Added ModuleName to /OpenSim/StartUp modules + debug messages during startup 2008-01-05 16:58:30 +00:00
lbsa71 efd90b56b7 * Optimized usings
* shortened references
* Removed redundant 'this'
* Normalized EOF
2007-12-27 21:41:48 +00:00
mingchen 169e176f47 *RemoteAdminPlugin can now be password protected. Add the password in the INI under [RemoteAdmin] with the name access_password
*Removed a few more unneeded exceptions in land that has been fixed
2007-12-21 03:34:51 +00:00
Jeff Ames 6702b03733 Misc. cleanup:
* added Util.Clip(value, min, max)
* modified asset cache's numPackets calculation to use max packet size (600) instead of 1000
* removed a few magic numbers
2007-12-19 08:44:25 +00:00
Jeff Ames 712efda9b9 added copyright notices 2007-12-11 01:26:06 +00:00
Jeff Ames f195725db4 keeping opensim safe for children -- made some namespace references less explicit 2007-12-04 22:14:53 +00:00
Adam Frisby 7d5f032203 * Added SSL Support to HttpListener
* Added SSL Option to User Server to allow logins to be done via SSL.
* Added sane handling for when Remote Admin Plugin configuration is not found
* Added some performance boosts to an area of libTerrain which was highlighted in profiling.
2007-12-04 05:47:51 +00:00
MW 9f5e1efc2d Added another .ini file error catch to the RemoteAdminPlugin Initialise method. 2007-12-03 09:58:25 +00:00
Adam Frisby 1d5e19e476 * Added a XMLRPC Restart command to RemoteAdminPlugin 2007-12-03 07:28:04 +00:00
Adam Frisby c8faccb396 * Added XMLRPC Broadcast Alert method.
* Renamed a few console messages to match the new "RADMIN" tag for remote-admin stuff.
2007-12-03 07:14:58 +00:00
Jeff Ames 27a731ae1a set svn:eol-style 2007-12-03 07:10:08 +00:00
Adam Frisby 981c97502a * Moved XMLRPC Controller to a Application Plugin. Requires testing. 2007-12-03 07:06:46 +00:00