Commit Graph

124 Commits (f9ff986908521f4eb816d15f8f4598433f13c18e)

Author SHA1 Message Date
Melanie Thielker 7cc69ac97f Make create region save the new region to ini file format if the name
specifies an ini file.
If the ini file exists, the region will be added.
2009-06-25 23:31:55 +00:00
Charles Krinke 23bf1bf6e0 Thank you kindly, MattSetzer, for a patch that solves a Mantis:
This appears to be due to the fact that no asset cache has been 
configured, possibly as a result of the configuration changes that 
have been made recently. I've attached a patch to display a message 
to that effect rather than throwing an error.
2009-06-02 21:13:29 +00:00
Jeff Ames 840de6c036 Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt. 2009-06-01 06:37:14 +00:00
Melanie Thielker e5f3337c3f Implement .ini file includes. Anything that begins with "Include-" will be
treated as another ini source to load.
For example:
Include-Asset = AssetSetup.ini
will load AssetSetup.ini after all other ini files are done.
This works recursively, too
2009-05-21 23:06:10 +00:00
Melanie Thielker 4065ebff15 Remove the pre-log4net, discrete output methods from the consoles 2009-05-20 13:50:33 +00:00
Justin Clarke Casey 1cc9d1fd8d * minor: another attempt at http://opensimulator.org/mantis/view.php?id=3191
* didn't realize that we were getting back plain old exceptions
2009-05-18 18:44:55 +00:00
Justin Clarke Casey 29671fc103 * Resolve http://opensimulator.org/mantis/view.php?id=3191
* Catch directory exception on load oar as well as file exception
2009-05-18 18:22:15 +00:00
Charles Krinke e08d0a7ba5 Thank you kindly, Patnad, for a patch that:
This patch allow you to see region rating from 
the console. Type "show ratings" and it will 
show you the rating of all your regions.
2009-05-12 03:35:07 +00:00
Melanie Thielker c1e7352d75 Add the asset service connectors and sample config. READ WARNINGS!!! 2009-05-09 02:49:55 +00:00
Melanie Thielker acfb5051cd Intermediate commit. WILL NOT COMPILE! 2009-05-04 20:15:39 +00:00
Melanie Thielker 1b877234da Refactor. Make ConsoleBase a true base class. Create CommandConsole as a simple
console capable of processing commands. Create LocalConsole as a console
that uses cursor control and context help. Precursor to a distributed
console system for the new grid services. No functional change intended :)
2009-05-04 12:15:55 +00:00
diva d8313e314f Getting rid of -hypergrid=true on the command line. This config now goes inside OpenSim.ini in the Startup section. This makes the HG compatible with -background, and prepares the way for further work on HG-related config vars. Might help with mantis #3527. 2009-04-27 00:16:59 +00:00
Justin Clarke Casey 83c9a6a230 * Change profile check for add user to run through the cache service 2009-04-17 16:06:35 +00:00
Dr Scofield bd2ca2d9c1 - turn private m_gui into protected m_gui to allow manipulation in
derived classes
- make OpenSimBackground inherit from OpenSim instead of OpenSimBase
  so that it will have a MainConsole instance and we can use console
  commands, setting m_gui to false
2009-04-16 12:10:50 +00:00
idb 4e8723ad3f Directory defaults for region xml files when creating a new region got changed/lost with svn 8550 when a check was added for the file name having .xml extension. The extension check has been moved slightly earlier and the original directory logic restored.
Fixes Mantis #3386
2009-04-05 10:31:18 +00:00
Justin Clarke Casey e694e1a657 * minor: Adjust exception catching on load/save xml[2]/oar.
* Allow non FileNotFoundExceptions to propogate rather than post a misleading error message
2009-03-25 19:21:28 +00:00
Dr Scofield 09d2c6fe5d adding presence.ControllingClient.Kick(msg) to the brew. 2009-03-25 18:48:30 +00:00
Dr Scofield 0419f29856 enhances the console command "kick user" with an optional alert
message which will be dialog-ed to the user just before being kicked.
2009-03-25 18:04:33 +00:00
Justin Clarke Casey 5e9682cef7 * Fix edit scale command - was looking for one too few arguments 2009-03-24 19:04:28 +00:00
Dahlia Trimble 669aa46bff update some ini defaults in code - all defaults from beginning of OpenSim.ini.example thru DefaultScriptEngine = "XEngine" 2009-03-11 09:31:02 +00:00
lbsa71 91a096dca6 * Cleanup and CCC (Code Convention Conformance) 2009-03-10 20:27:41 +00:00
Justin Clarke Casey 7b04d1da5e * Apply http://opensimulator.org/mantis/view.php?id=3191
* Make load/save oar and load/save xml2 behave a little better when there is an io problem
* Thanks dslake
2009-02-26 21:00:33 +00:00
MW 33e7c09b7b Added IRegistryCore and RegistryCore to OpenSim.Framework.
Added a ApplicationRegistry to OpenSimBase.
Changed LoadRegionsPlugin so it registers itself to that application registry.
Added a event to LoadRegionsPlugin, that is triggered when it creates a new scene ,although maybe this event should actually be in opensimBase incase other plugins are creating regions (like the RemoteAdminPlugin).
2009-02-26 20:01:20 +00:00
MW ea26bd4153 First step in separating out the Userserver console command handling to a "module".
Added OpenSim.Grid.UserServer.Modules project/dll which now contains the components of the userserver. With the OpenSim.Grid.UserServer being the setup and initiate exe.
2009-02-24 15:37:03 +00:00
Jeff Ames 551bebdc84 Update svn properties, add copyright headers, minor formatting cleanup. 2009-02-22 01:18:49 +00:00
MW a2546d58a8 Applied patch from mantis #3213. Which adds a check to create region command, to make sure the .xml is passed in the command arguments. Thanks BlueWall 2009-02-21 14:45:10 +00:00
Justin Clarke Casey d307109e1a * refactor: move alert commands from Scene to DialogModule 2009-02-13 19:03:18 +00:00
Justin Clarke Casey 88b273bc71 * refactor: Move export map function to world map module from scene 2009-02-13 16:43:20 +00:00
lbsa71 801da4346a * optimized usings. 2009-02-12 09:53:12 +00:00
Justin Clarke Casey 04d6a810b6 * More inventory archive invocation to a proper region module
* Not ready for use yet
2009-02-11 17:34:12 +00:00
Melanie Thielker c754160dee If an instance contains only one region, select it in the console by default 2009-02-10 23:40:22 +00:00
Melanie Thielker 9bfbfa381a Add proper handling for shared vs. unshared modules to the command
interface. Shared modules will now only get added once, so the command
handler is called once per module, not once per scene. Removal of scenes
has no adverse effects. Nonshared modules will be called for each scene.
2009-02-10 23:15:48 +00:00
Justin Clarke Casey 8c157a7aae * Remove load and save inventory commands from the console since these are actually experimental and the storage format may soon undergo incompatible changes
* If you were using these please uncomment the code before rebuilding, but be aware that old files may become incompatible soon
2009-02-10 19:33:09 +00:00
Dr Scofield 180be7de07 this is step 2 of 2 of the OpenSim.Region.Environment refactor.
NOTHING has been deleted or moved off to forge at this point.  what
has happened is that OpenSim.Region.Environment.Modules has been split
in two:

- OpenSim.Region.CoreModules: all those modules that are either
  directly or indirectly referenced from  other  OpenSim packages, or
  that provide functionality that the OpenSim developer community
  considers core functionality:

      CoreModules/Agent/AssetTransaction
      CoreModules/Agent/Capabilities
      CoreModules/Agent/TextureDownload
      CoreModules/Agent/TextureSender
      CoreModules/Agent/TextureSender/Tests
      CoreModules/Agent/Xfer
      CoreModules/Avatar/AvatarFactory
      CoreModules/Avatar/Chat/ChatModule
      CoreModules/Avatar/Combat
      CoreModules/Avatar/Currency/SampleMoney
      CoreModules/Avatar/Dialog
      CoreModules/Avatar/Friends
      CoreModules/Avatar/Gestures
      CoreModules/Avatar/Groups
      CoreModules/Avatar/InstantMessage
      CoreModules/Avatar/Inventory
      CoreModules/Avatar/Inventory/Archiver
      CoreModules/Avatar/Inventory/Transfer
      CoreModules/Avatar/Lure
      CoreModules/Avatar/ObjectCaps
      CoreModules/Avatar/Profiles
      CoreModules/Communications/Local
      CoreModules/Communications/REST
      CoreModules/Framework/EventQueue
      CoreModules/Framework/InterfaceCommander
      CoreModules/Hypergrid
      CoreModules/InterGrid
      CoreModules/Scripting/DynamicTexture
      CoreModules/Scripting/EMailModules
      CoreModules/Scripting/HttpRequest
      CoreModules/Scripting/LoadImageURL
      CoreModules/Scripting/VectorRender
      CoreModules/Scripting/WorldComm
      CoreModules/Scripting/XMLRPC
      CoreModules/World/Archiver
      CoreModules/World/Archiver/Tests
      CoreModules/World/Estate
      CoreModules/World/Land
      CoreModules/World/Permissions
      CoreModules/World/Serialiser
      CoreModules/World/Sound
      CoreModules/World/Sun
      CoreModules/World/Terrain
      CoreModules/World/Terrain/DefaultEffects
      CoreModules/World/Terrain/DefaultEffects/bin
      CoreModules/World/Terrain/DefaultEffects/bin/Debug
      CoreModules/World/Terrain/Effects
      CoreModules/World/Terrain/FileLoaders
      CoreModules/World/Terrain/FloodBrushes
      CoreModules/World/Terrain/PaintBrushes
      CoreModules/World/Terrain/Tests
      CoreModules/World/Vegetation
      CoreModules/World/Wind
      CoreModules/World/WorldMap

- OpenSim.Region.OptionalModules: all those modules that are not core
  modules:

      OptionalModules/Avatar/Chat/IRC-stuff
      OptionalModules/Avatar/Concierge
      OptionalModules/Avatar/Voice/AsterixVoice
      OptionalModules/Avatar/Voice/SIPVoice
      OptionalModules/ContentManagementSystem
      OptionalModules/Grid/Interregion
      OptionalModules/Python
      OptionalModules/SvnSerialiser
      OptionalModules/World/NPC
      OptionalModules/World/TreePopulator
2009-02-10 13:10:57 +00:00
Melanie Thielker a1393db7f0 Stopgap measure: To use gridlaunch, or GUI, start opensim with
OpenSim.exe -gui=true
2009-02-10 12:25:29 +00:00
Justin Clarke Casey a034b640da * Add the ability to type help <command> for more detailed help about a specific command if any is available 2009-02-09 20:52:04 +00:00
Justin Clarke Casey d1d93fae6c * Restore show information for the OpenSim region server (version, info, threads, etc.) 2009-02-09 18:11:09 +00:00
Melanie Thielker 2fe9915951 Reinstate the KickUserCommand handler, which was commented out by
another dev whiel I was putting the reference to it back in
2009-02-09 16:34:21 +00:00
Melanie Thielker 8a9128ccce Correct a delegate in OpenSim.cs
Fixes Mantis #3117
2009-02-09 16:21:13 +00:00
Dr Scofield b1739cbbfd fixing warnings. 2009-02-09 10:40:12 +00:00
Melanie Thielker 54c6a920ba Replace the console for all OpenSim apps with a new console featuring command
line editing, context sensitive help (press ? at any time), command line
history, a new plugin command system and new appender features thet let you
type while the console is scrolling. Seamlessly integrates the ICommander
interfaces.
2009-02-07 12:25:39 +00:00
Justin Clarke Casey 00a3cbd6fa * Implement help <command> from the region console
* So at the moment once can type 'help terrain fill' as well as 'terrain fill help'
* Current implementation is a transient hack that should be tidied up soon
2009-02-06 18:18:01 +00:00
Dr Scofield 9b66108081 This changeset is the step 1 of 2 in refactoring
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!
2009-02-06 16:55:34 +00:00
Justin Clarke Casey 732cd838b1 * Make existing module commanders register as help topics
* 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
2009-02-05 21:35:59 +00:00
Justin Clarke Casey 577064fb9d * minor: remove deprecated and unused terrain method from SceneManager
* other minor tidy up
2009-02-04 20:37:20 +00:00
Teravus Ovares 76206543e8 * Adds console command, 'predecode-j2k <number of threads>' to load all of the texture assets from the scene and decode the j2k layer data to cache. The work is split between the number of threads you specify. A good number of threads value is the number of cores on your machine minus 1.
* Increases the number of ImageDataPackets we send per PriorityQueue pop and tweak it so that the number of packets is ( (2 * decode level) + 1 ) * 2, and (((2 * (5-decode level)) + 1) * 2).  The first one sends more data for low quality textures, the second one sends more data for high quality textures.
2009-01-25 04:34:00 +00:00
Justin Clarke Casey feba3cc3ff * Removing set-time command since it doesn't actually do anything at all
* If this was crucial to someone then it should be reinsertable as a module
2009-01-13 17:01:57 +00:00
Sean Dague 77f0df6394 Caught exceptions in some console commands
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-12 15:34:05 +00:00
Melanie Thielker 0138fdc5fd Allow some values that are set in OpenSim.ini to be set from region config
XML as well.
2009-01-02 17:41:12 +00:00
diva d8ebf2fc9d Major changes in interregion communications. This breaks compatibility with older versions, and may result is all sorts of weirdnesses when interacting with sims in older versions. Changes:
- Introducing synchronous Teleports. Now the receiving region calls back the sending region after the client has been made a root agent there, that is, after client sends CompleteMovement to the destination.
- SendCloseAgent moved from OGS1 Remoting to RESTComms.
2009-01-01 19:42:24 +00:00