Commit Graph

8379 Commits (aab1601642ef6c1b028fc3160e809732ab4d1769)

Author SHA1 Message Date
idb aab1601642 Limit the message length from llInstantMessage to 1024 characters http://wiki.secondlife.com/wiki/LlInstantMessage
Also truncate messages that may exceed the limit set by the packet size. The limit in OpenMetaverse is 1100 bytes including a zero byte terminator.
Fixes Mantis #3244
2009-03-07 14:16:26 +00:00
idb 23b247c519 Added the ability to set User-Agent in llHTTPRequest. No new default value has been set since having no User-Agent seems to work well but the facility is now available to set this if required. Using something based on the pattern of SLs User-Agent may well cause problems, not all web servers respond well to it. See the notes in the SL Wiki http://wiki.secondlife.com/wiki/LlHTTPRequest
Fixes Mantis #3143
2009-03-07 12:58:00 +00:00
idb 1fd57b39df Correct casts so that the target id in the at_target event matches the original target id.
Fixes Mantis #2861
2009-03-07 10:37:15 +00:00
Teravus Ovares 5a49c772ca * Making the minimum ground offset for flying a configurable offset in the OpenSim.ini. This is the code that causes you to rise off the ground when you press the fly button and attempts to keep you above ground automatically when flying in a simulator.
* minimum_ground_flight_offset, by default is 3 meters, as per Kitto Flora  See OpenSim.ini.example for an example.
2009-03-07 07:17:43 +00:00
Teravus Ovares 6c7151109b * fixes mantis 3259
* I'm concerned however that the 'minimum fly height' should really be implemented in ScenePresence and not in the specific physics plugin so that all of the physics plugins can take advantage of it and if desired, a person could swap out the 'minimum fly height' functionality with other functionality.
2009-03-07 06:51:27 +00:00
Teravus Ovares 5b8c925641 * Adding application/x-oar to the list of content types to which the HTTP Server will return the response as if it was a binary file pending discussion on the [opensim-dev] mailing list to be initiated by dmiles. 2009-03-07 06:14:31 +00:00
Jeff Ames 03076b0d33 Update svn properties, minor formatting cleanup. 2009-03-07 02:39:27 +00:00
Jeff Ames 3fe42386e4 Add copyright headers. 2009-03-07 02:11:50 +00:00
Jeff Ames e1f68145be Update svn properties. 2009-03-07 02:00:18 +00:00
Teravus Ovares ebe84907ae * Fixes mantis: #3241
* Uses 'mouselook' or left mouse button down, to determine when to use the camera's UP axis to determine the direction of movement.
* We crouch-slide no more.
2009-03-07 01:18:59 +00:00
Teravus Ovares 3a93bb992f * Added some limits to the maximum force applied per second by llMoveToTarget. Currently, it's 350 times the mass in newtons applied per second, maximum. 2009-03-07 00:27:56 +00:00
Charles Krinke b637a11b58 Fixes Mantis #3260. Thank you kindly, MCortez for a patch that:
llSetHoverHeight() should not clamp the x/y position of an object the way MoveTo does, 
and it should recalculate the absolute height to hover at as an object moves to reflect 
the current ground/water height under it.
Correctly implementing required adjusting the Physics interfaces and implementing at 
the physics plug-in level. The attached is a patch that correctly implements 
llSetHoverHeight() including updates to the ODE physics plug-in.
2009-03-06 23:01:35 +00:00
Sean Dague 05ebd44791 add back .config files for all tests in an attempt to debug why these
things crash so much.

This will generate a lot more log messages on make test, even some scary
looking exceptions.  Don't worry, that's normal.
2009-03-06 21:14:50 +00:00
Justin Clarke Casey fc2c73d5c6 * minor: remove some mono compiler warnings 2009-03-06 21:00:15 +00:00
Justin Clarke Casey f12619b786 * refactor: Remove GetLandOwner function from Scene
* Simplify since the land is never null
2009-03-06 20:44:31 +00:00
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