Commit Graph

9414 Commits (c6cef4bad5fe939b822687f521907c11c05a2bb3)

Author SHA1 Message Date
Justin Clarke Casey 85774de231 * Improve memory usage when writing OARs
* This should make saving large OARs a somewhat better experience
* However, the problem where saving an archive pulls large numbers of assets into the asset cache isn't yet resolved
* This patch also removes lots of archive writing spam that crept in
2009-03-06 20:12:08 +00:00
Sean Dague 08509d5cf2 * Protects RestClient from crashing with dictionary exception, which leads to the client thread crashing if uncaught. 2009-03-06 19:25:33 +00:00
MW 498dda1901 Added a output message to CreateCommsManagerPlugin for when a user tries to run with both -hypergrid=true and -background=true command line arguments. As these two don't work together as they initialise different root OpenSim classes. I was going to change it back to the old behaviour where in that usecase it would just startup in the background but without hyerpgrid enabled. But think its better to give a error about this and then exit, so the user knows to change their settings. Rather than later wondering why hypergrid isn't working. 2009-03-06 09:57:31 +00:00
Mike Mazur 16b6a00005 Add missing parameter to m_log.DebugFormat(). 2009-03-06 00:54:39 +00:00
Teravus Ovares ac84d3d26b * Fixing a few mass calculation errors suggested by jhurliman 2009-03-05 21:59:27 +00:00
Justin Clarke Casey ff7b20bef1 * Add more status information when an oar is being saved
* Among other messages, a log entry is posted for every 50 assets added to the archive
2009-03-05 21:36:48 +00:00
Melanie Thielker 3ad2fef2d3 Prevent ICommander-generated subcommand trees from generating an exception
when the tree root command is executes without another verb following it.
Fixes Mantis #3258
2009-03-05 21:20:57 +00:00
Justin Clarke Casey 11e1948b57 * Replace Scene.GetLandHeight() with a straight query to Scene.Heightmap (which is used in other contexts) 2009-03-05 21:10:39 +00:00
Justin Clarke Casey 3d70dbd01d * refactor: move media and music url setting from scene into LandObject 2009-03-05 20:53:23 +00:00
Justin Clarke Casey c213a12b57 * simplify media and music url setting since we never get back a null land object 2009-03-05 20:32:35 +00:00
Justin Clarke Casey 6c735e0828 * Replace some string to byte conversions for object/item name/description fields with the LLUtil function that prevents the max string size from being breached 2009-03-05 19:32:27 +00:00
Justin Clarke Casey 0de34e9a18 * remove now unused serialization code 2009-03-05 18:36:37 +00:00
Mike Mazur 7768f3aa8b Make DeserializeUUID explicitly private. 2009-03-05 12:57:27 +00:00
MW 732a4fd5fb Made the OpenSimInventoryFrontendPlugin.DeserializeUUID(Stream stream) method static to get past the build errors. Mikem really needs to check this change over to see its the right approach for what he wanted. 2009-03-05 11:23:31 +00:00
Mike Mazur 1894d69c8a Fix moving folders.
Casting from base class to inherited class is a no-no, and we must
preserve the folder type when moving folders, otherwise it gets set to a
Texture folder (type 0).
2009-03-05 08:30:23 +00:00
Mike Mazur 6994d9239d Fix creating inventory items and folders.
The order of deserialization needed to be changed. Also corrected a bug
that caused no inventory items to be returned on login.
2009-03-05 08:30:15 +00:00
Mike Mazur 56158443b3 Implemented all Inventory frontend handlers.
This doesn't mean they all work as expected, though. More changes to
come as testing unveils bugs.
2009-03-05 08:30:08 +00:00
Mike Mazur 293e70a666 Implementing more inventory storage methods. 2009-03-05 08:30:00 +00:00
Mike Mazur 3676062277 Use Inventory{Item,Folder}Base in AssetInventoryServer.
Also the first inventory storage methods are implemented.
2009-03-05 08:29:52 +00:00
Mike Mazur d38bddfb76 A couple cosmetic changes in inventory storage plugin. 2009-03-05 08:29:42 +00:00
Charles Krinke 62eaddbe14 Fixes Mantis #3255. Thank you kindly, MCortez, for a patch that:
Changes to IWindModule interface: Change from assuming a single array of 
256 Vector2 values to a lookup function that takes region x, y, z and returns a Vector3
* Changed llWind() to use new lookup method of IWindModule
* Moved logic for determining the wind at a given point in the data array from 
llWind() to the Wind Module itself.
2009-03-05 04:24:22 +00:00
Charles Krinke 365b5951ff Fixes Mantis #3194. Thank you kindly, Godfrey for a patch that:
fixes llSetLinkPrimitiveParams() - PRIM_ROTATION rotates the prim 
containing the script, rather than the specified child prim
2009-03-05 03:20:28 +00:00
Charles Krinke f7b914228b Fixes Mantis #3253. Thank you kindly, Godfrey, for a patch that:
Corrects the incomplete implementation of llXorBase64StringsCorrect()
so that it returns the proper reversible result.
2009-03-05 03:15:30 +00:00
Adam Frisby 65990de390 MRM Scripting Changes
* Renames MiniRegionModule to MRMModule to make it more distinct from the actual Mini Region Module[s] executed in Scene.
* Renames MiniRegionModuleBase to MRMBase for convenience. MRM's need to be adjusted to inherit from MRMBase.
2009-03-05 00:52:59 +00:00
Adam Frisby 0e7e2eba14 * Implements a number of members on SOGObject for use with the MRM Script Engine API.
* It's lag-tacular! :D
2009-03-05 00:16:06 +00:00
Adam Frisby f3aac0fa4a * Fleshed out the MRM Module a little.
* Please don't use this yet, it represents a very heavy security risk if you enable it.
2009-03-04 22:14:40 +00:00
Justin Clarke Casey f18400fcfb * For now, restore file extension for default oar name I accidentally removed on the last commit 2009-03-04 20:36:09 +00:00
Justin Clarke Casey b52ac542ad * Add the abilty to load and save iar item nodes where folders have identical names 2009-03-04 20:31:03 +00:00
Adam Frisby e57ac6e0bf * Whoops. Left MiniModule enabled to anyone. (potential security risk). Disabled - edit code to load. 2009-03-04 20:29:50 +00:00
Adam Frisby ea9bb2f741 * More work on MiniRegionModule module. 2009-03-04 20:28:11 +00:00
Justin Clarke Casey b57497fd41 * Add gnu tar format long file name support to tar reading and writing.
* Not actually tested yet though existing code which doesn't require long file names looks fine
2009-03-04 18:33:05 +00:00
Mike Mazur b2135c2029 IObjectFace needs to be public to compile. 2009-03-04 03:58:11 +00:00
Adam Frisby 915b0f2448 * More work on MiniRegionModule module. 2009-03-04 02:29:51 +00:00
Adam Frisby 3538eeafa2 * Implementing some interfaces for aformentioned script engine. Ignore this. 2009-03-04 01:38:22 +00:00
Adam Frisby 2fa9e976a3 CONTRIBUTORS.txt cleanup
* Reverting CONTRIBUTORS.txt change in r1370, restoring to original 'semi-order-of-appearance' format.
* Added some missing contributors. May change this in future to simply cut and paste from the Wiki contributors page.
2009-03-03 23:25:16 +00:00
Jeff Ames d81bc4b5f2 Avoid NRE if client sends unrecognized packet type. 2009-03-03 17:39:57 +00:00
Jeff Ames b5cc69f8b2 Update svn properties. 2009-03-03 17:23:11 +00:00
MW 84d6b02475 Renamed ILoginRegionsConnector to ILoginServiceToRegionsConnector and moved it from OpenSim.Client.Linden to OpenSim.Framework. 2009-03-03 16:36:21 +00:00
MW 7a3bb77df9 forgotten files 2009-03-03 15:45:52 +00:00
MW 171015f65f Moved Linden protocol login handling to modules in OpenSim.Client.Linden. There are two region modules in there LLStandaloneLoginModule (for standalone mode) and LLProxyLoginModule (for grid mode which just handles incoming expect_user and logoff_user messages from the remote login server)
Changed OpenSim.Framework.Communications.Tests.LoginServiceTests to use the LLStandaloneLoginService (from the LLStandaloneLoginModule) rather than LocalLoginService. Really these login tests should most likely be somewhere else as they are testing specific implementations of login services. 
Commented out the old LocalLoginService as its no longer used, but want to check there are no problems before it gets deleted.
2009-03-03 15:41:21 +00:00
MW 76133d0763 Refactoring of CreateCommsManagerPlugin.
Plus some general cleanup of a few other files (deleting excess blank lines etc)
2009-03-03 12:51:54 +00:00
MW 8ebd5b409a Renamed OpenSimBase m_autoCreateLindenStack to m_autoCreateClientStack 2009-03-02 18:04:00 +00:00
MW c256fbbccd Added more error info to CreateCommsManagerPlugin. 2009-03-02 17:47:42 +00:00
MW bf3e1956fb Added some debug output to CreateCommsManagerPlugin 2009-03-02 17:29:21 +00:00
MW 03b8eddc37 Added OpenSim.Client.Linden which is a (non shared) region module that creates and initialises the LindenClientStack (or actually whatever client stack was set in opensim.ini) for that region. Currently this module is still at a early stage so just for testing, so its hardcoded to be disabled. To enable first turn off auto creation of the client stack in opensimbase (see last revision) and then in OpenSim.Client.Linden.LLClientStackModule change bool m_createClientStack = false; to true. 2009-03-02 17:18:24 +00:00
MW 3c46ee9326 Moved the SetupScene methods from RegionApplicationBase to OpenSimBase [Do we really still need RegionApplicationBase?]
Added a flag (bool m_autoCreateLindenStack = true) which says if the ClientStack will be autocreated and initialised when creating regions. This helps with moving ClientStacks to Region modules. 
Currently this flag is hardcoded to true, as it is only for testing at the moment, so you need to change the value in the code if you want to turn off auto creating.
2009-03-02 16:33:11 +00:00
MW ff76102644 Changed IClientNetworkServer.AddScene method from void AddScene(Scene x) to void AddScene(IScene x). As there should be no need for the client view to have a reference to Scene. IScene should be all it needs. 2009-03-02 14:42:01 +00:00
MW 1dcbea0144 Removed the commented out InitialiseStandaloneServices and InitialiseGridServices (which are now preformed in CreateCommsManagerPlugin) methods from OpenSimBase and HGOpenSimNode. As if we decided to swap back to the old methods we can always re-add them, rather than leave them commented out. 2009-03-02 11:21:18 +00:00
MW 202f990d2a After another heroic and bloody battle, OpenSim Dino Expedition 1, killed off OsSetParcelMediaTime, which was only ever added for testing. And all the logic code of it has been commented out for a long time. 2009-03-02 11:03:11 +00:00
MW aae39f9e3e As part of a dinosaur hunting expedition, IScenePresenceBody.cs was terminated. The expedition leader, MW, believes it never lead a meaningful life, and is sure it hasn't contributed anything in the last 500,000 years (or 2 years). 2009-03-02 10:52:27 +00:00