Justin Clarke Casey
7c04c1e44c
* Apply http://opensimulator.org/mantis/view.php?id=3427
...
* Return different values for llCloud() over time based on a cellular automation system.
* Thanks aduffy70!
2009-04-10 14:56:58 +00:00
Justin Clarke Casey
30d012b297
* Apply http://opensimulator.org/mantis/view.php?id=3432
...
* Make llGroundSlope() return correct results
* Thanks aduffy70!
2009-04-10 14:15:47 +00:00
Justin Clarke Casey
bc515c3241
* Apply http://opensimulator.org/mantis/view.php?id=3439
...
* This corrects problems seen on some SQLite systems where the migration fails because the two argument substr() isn't implemented
* Thanks RemedyTomm!
2009-04-10 11:34:37 +00:00
Teravus Ovares
515bf6d7dc
* Patch from RemedyTomm Mantis 3440
...
* Revamps the server side texture pipeline
* Textures should load faster, get clogged less, and be less blurry
* Minor tweak to ensure the outgoing texture throttle stays private.
* Fixes mantis 3440
2009-04-10 08:30:21 +00:00
nlin
8e6c20b27f
Handle ObjectSpin* packets to spin physical prims on Ctrl+Shift+Drag
...
Addresses Mantis #3381
The current implementation works as expected if the object has no rotation or
only rotation around the Z axis; you can spin the object left or right (around
the world Z axis).
It works a little unexpectedly if the object has a non-Z-axis rotation; in this
case the body is spun about its local Z axis, not the world Z-axis. (But SL
also behaves oddly with a spin on an arbitrarily rotated object.)
2009-04-10 06:39:52 +00:00
Teravus Ovares
10f5615573
* Tweak the character controller some more
...
* Add cursory integration with script engine.
* LLMoveToTarget, LLSetBouyancy, LLSetStatus (Physical only), LLApplyImpulse, LLApplyTorque, LLPushObject.. etc.
* Still missing linked physical active and LLSetStatus with an axis lock.
2009-04-10 06:01:29 +00:00
Adam Frisby
b664566b8f
* Fixes a bug in MRM scripting whereby the Touch flag is never enabled for OnTouch capable scripts.
2009-04-10 05:13:02 +00:00
Teravus Ovares
b05a1aa4b7
* Whoops, never saved the BulletDotNETScene.. Last commit continued.....
2009-04-09 22:00:15 +00:00
Teravus Ovares
4050dec682
* Changes the timstep of the bullet world
...
* Enables border crossings when using the BulletDotNETPlugin
* Enabled variable time steps in BulletDotNETPlugin
* Still no 'linked physical objects' yet
* Still no script engine integration
2009-04-09 21:48:11 +00:00
Arthur Valadares
08f83f275d
* Reinstated Scene Crossing tests, now with timeouts to check for race conditions
2009-04-09 21:37:54 +00:00
Justin Clarke Casey
80ea563bcc
* minor: correct some documentation in SQLiteAssetData.cs
2009-04-09 20:07:12 +00:00
Justin Clarke Casey
601fa22185
* minor: remove some mono compiler warnings
2009-04-09 20:06:30 +00:00
lbsa71
6af0751cc5
* Tagged long running tests with LongRunningAttribute.
...
* Now, the 144 unit tests takes roughly as long time to run (16s on my laptop) that the 10 long running takes. The database tests takes forever.
* Feel free to run the unit tests as you code, and the rest before commit.
2009-04-09 20:06:27 +00:00
Justin Clarke Casey
1066aa6998
* Remove Autooar module pending it's migration to the forge
2009-04-09 19:49:33 +00:00
Justin Clarke Casey
2176a80bcf
* Terminate OpenSim startup if we cannot listen to the designated HTTP port
...
* This makes the problem much more obvious to the user, and OpenSim isn't that useful without inbound http anyway
2009-04-09 19:46:14 +00:00
Justin Clarke Casey
7f8552fe63
* Change SQLite asset UUID to dashed format to be consistent
...
* Remaining inconsistent uuids (non dashed) are in region store for sqlite and mysql
* Migration of these will happen at a later date, unless someone else wants to do it
2009-04-09 19:23:19 +00:00
Justin Clarke Casey
67333d48fc
* Change UUIDs in SQLite user db to dashed format to match representations elsewhere
2009-04-09 19:01:52 +00:00
Justin Clarke Casey
39c6302972
* Improve inventory uuid conversions to make sure that we aren't converting anything that already contains a -
...
* Among other things, this means that if a migration is interrupted, it can simply be retried
2009-04-09 18:17:52 +00:00
Justin Clarke Casey
b5ba5634fb
* Migrate UUID representations in SQLite inventory store to dashed format
...
* This makes the representation consistent with that most commonly used in the other supported database layers
2009-04-09 16:56:01 +00:00
lbsa71
d2a412e94b
* Added some more experimental code; nothing wired in so far.
2009-04-09 16:45:22 +00:00
lbsa71
5572a00295
* Moved the DatabaseTestAttribute to Test.Common, and thus included ref to that in all db tests. *phew*
2009-04-09 16:40:02 +00:00
Adam Frisby
f44694c28e
* Allows MRMs to import libraries in the OpenSim bin directory.
...
* Syntax: //@DEPENDS:library.dll
2009-04-09 15:46:02 +00:00
Sean Dague
a5ceb1a2a0
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
The attached patch implements osKey2Name and osName2Key
which converts between a UUID key for an avatar and
an avatar name and vice-versa.
osKey2Name is similar to llKey2Name except that it will work
even if the avatar being looked up is not in the same region
as the script.
2009-04-09 15:04:02 +00:00
Adam Frisby
8ee81f98ea
* Implements IObject.Materials[].*
...
* This lets you do things like IObject.Materials[0].Texture = new UUID("0000-...");
2009-04-09 14:51:18 +00:00
Adam Frisby
c77e7fce9e
* Implements IGraphics interface for MRM Scripting.
...
* This allows you to utilize System.Drawing tools on textures within the region.
* Example: use System.Drawing.Bitmap to make your texture, then use Host.Graphics.SaveBitmap to make an asset from it in JPEG2K. You can edit (but not overwrite) existing textures using Host.Graphics.LoadBitmap.
2009-04-09 14:19:49 +00:00
Adam Frisby
98eda9ebdb
* Adds World.OnNewUser += delegate(IWorld sender, NewUserEventArgs e);
...
* This event fires when a new avatar is created within the Scene. (Internally corresponds to EventManager.OnNewPresence)
2009-04-09 13:22:27 +00:00
Adam Frisby
c91c24441b
* Limits MRM scripting to Region Master Avatar only.
...
* This makes MRM scripting ever so slightly more secure. If you have enforced Object Permissions enabled, it may be acceptable to enable MRM within your regions.
* Security bug reports on this feature are much appreciated (eg: anyone finding ways around this to execute a MRM as a basic user).
2009-04-09 13:14:25 +00:00
Adam Frisby
162dd5c65c
* World.OnChat no longer fires if there is no chat text (prevents the typing animation packet from firing OnChat)
2009-04-09 13:05:01 +00:00
Adam Frisby
03984e7304
* Added additional debug testing info to Scene
...
* Corrected issue with MRMs where it would attempt to overwrite an already loaded DLL. (and thus fail with cryptic UnauthorizedAccessException.)
* Made DrunkenTextAppreciationModule.cs MRM not crash with StackOverflowException
* Added some temporary logging to MRM World.*
2009-04-09 13:03:27 +00:00
Adam Frisby
0af0399198
* Forgot to commit IEntity in last commit.
...
* Added "DrunkenTextAppreciationModule" Demo MRM - behaves very similarly to the sobriety filter in WoW. ;)
2009-04-09 11:25:50 +00:00
Adam Frisby
b529750548
* Moves Name, GlobalID and WorldPosition into new IEntity interface.
...
* Avatar and Object now inherit from IEntity.
* Avatar.Position is now Avatar.WorldPosition to match IObject property.
* Implements event World.OnChat += delegate(IWorld sender, ChatEventArgs e);
2009-04-09 11:09:24 +00:00
Adam Frisby
1b56fff7c8
* Implements retrieving child primitives via World.Objects[id] (MRM)
...
* Optimizes SceneGraph - fetches on primitives via "GetGroupByPrim" wont search the entire list if the primitive is infact the root. (Core)
* Updates Test MRM.
2009-04-09 10:07:40 +00:00
lbsa71
73ab6bd455
* Thank you, mpallari for a patch that updates NHibernate inventory base mapping.
...
This fixes mantis #3435
2009-04-09 07:49:16 +00:00
Adam Frisby
232241ab25
* Implements IObject.OnTouch += delegate(IObject sender, TouchEventArgs e)
...
* This is equivalent to LSL 'touch(int senders)'
2009-04-09 07:46:05 +00:00
lbsa71
99bf4ce72f
* Fixed a number of culture-variant bugs in lsl implicit type conversions.
2009-04-09 07:33:05 +00:00
lbsa71
0366cc1601
* argh. reverted untested fix that snuck into the last commit
2009-04-09 07:14:20 +00:00
lbsa71
ed33878a0f
* tagged some more database tests as such
2009-04-09 07:11:49 +00:00
lbsa71
a707fa7bea
* Added custom DatabaseTestAttribute to help separating unit tests from component tests.
2009-04-09 06:42:15 +00:00
Sean Dague
65dcfdf031
SQLite doesn't work on ppc64, so ignore these tests if we are
...
on this platform
2009-04-08 20:16:23 +00:00
lbsa71
ed70ef6407
* butterfingers
2009-04-08 20:10:43 +00:00
lbsa71
e93b782f9d
* Introduced some experimental code with regards to asset data substitution
2009-04-08 19:59:37 +00:00
Justin Clarke Casey
f3c7298fc5
* Make it possible to store creator strings in user inventory items as well as UUIDs
...
* All existing functionality should be unaffected.
* Database schemas have not been changed.
2009-04-08 17:50:57 +00:00
Teravus Ovares
8d8c45b659
* Fix the remainder of the packets that require sessionId checks.
2009-04-08 16:31:56 +00:00
lbsa71
f913221313
* Restored GridLaunch that was mistakenly deleted in 9036
2009-04-08 16:30:43 +00:00
lbsa71
abf1df8ae0
* Restored 32BitLaunch that was mistakenly deleted in 9036
2009-04-08 16:27:30 +00:00
Adam Frisby
5118f88bc4
* [SECURITY] Implements additional packet security checks for Object related packets.
...
* Note: as with the last commit, this requires additional testing.
* This represents 2/8ths of packets now being checked appropriately.
2009-04-08 06:41:52 +00:00
Adam Frisby
2bd6a915a0
* [SECURITY] Implements a large number of new security checks into Scene/Avatar packet processing within ProcessInPacket.
...
* Notes: this requires heavy testing, it may cause new issues where LL have recycled agent block data for non-security purposes. It can be disabled on Line 4421 of LLClientView.cs by changing m_checkPackets to false.
* This represents approx 1/8th of the packets being checked.
2009-04-08 06:31:19 +00:00
Dahlia Trimble
d5727c8c1a
Correct unit test for llAngleBetween()
...
Reinstate patch for Mantis #3007
2009-04-08 03:16:24 +00:00
Justin Clarke Casey
ad7b005784
* minor: remove some mono compiler warnings
2009-04-07 20:24:09 +00:00
Teravus Ovares
41fab69ad5
* Remove unnecessary build dependencies on the ExamplemoneyModule stub.
...
(??? using OpenSim.Region.CoreModules.Avatar.Currency.SampleMoney ???)
2009-04-07 19:37:54 +00:00
Justin Clarke Casey
0752dd65cc
* Ooops, really put this on the task queue and not texture
2009-04-07 19:30:10 +00:00
Justin Clarke Casey
952960e375
* Put AgentTextureCached? response packet on the task queue rather than the wind queue
...
* Thanks to rtomita for pointing this out.
2009-04-07 19:23:17 +00:00
Justin Clarke Casey
513ae92bbb
* Apply http://opensimulator.org/mantis/view.php?id=3406
...
* Makes Second Life environment sensor ranges and maximum response number configurable
* Thanks Intimidated
2009-04-07 19:15:26 +00:00
Justin Clarke Casey
d0d481a0ab
* Apply http://opensimulator.org/mantis/view.php?id=3418
...
* Prevents occasional wind module related exceptions on region server shutdown
* Thanks Intimidated!
2009-04-07 19:07:23 +00:00
Justin Clarke Casey
ed6165ab9c
* Apply http://opensimulator.org/mantis/view.php?id=3227
...
* Implement "Add To Outfit"
* Thanks FredoChaplin
2009-04-07 17:46:23 +00:00
Dahlia Trimble
ea5b120006
temporarily revert llanglebetween patch until unit test can be updated - affects Mantis #3007
2009-04-07 17:29:55 +00:00
Dahlia Trimble
e7a051d2be
remove defective test criteria from unit test for llAngleBetween
2009-04-07 17:03:00 +00:00
Dr Scofield
e540b66a86
From: Alan Webb <alan_webb@us.ibm.com>
...
Fix null reference exception during close down of IRC module if the
region was not actually initialized.
2009-04-07 16:53:41 +00:00
Teravus Ovares
b326b55bcd
* Added finite testing to the character and object constructor
2009-04-07 16:41:07 +00:00
Teravus Ovares
9bbc7e8bf6
* Added a routine to check if a PhysicsVector and Quaternion is finite
...
* Now validating input to the Physics scene and warning when something is awry.
* This should help nail down that Non Finite Avatar Position Detected issue.
2009-04-07 16:13:17 +00:00
Teravus Ovares
11f8ea30f9
* Tweak the BulletDotNETPlugin character controller so it feels more finished.
2009-04-07 15:01:46 +00:00
Dahlia Trimble
eb190905b5
Thanks Ewe Loon for Mantis #3007 - llAngleBetween is producing numbers greater then Pi Radians.
...
Also modified to use the system constant for Pi and prevent negative results.
2009-04-07 07:59:32 +00:00
Teravus Ovares
0d4880d5cf
* This fixes BulletDotNET so it can now be used on linux.
2009-04-07 03:33:28 +00:00
Teravus Ovares
9459b16cc2
* BulletDotNET Updates.
...
* Should react somewhat normally to editing, and setting physics now.
2009-04-07 00:13:08 +00:00
Homer Horwitz
39f5dd1973
Added some null-checks to Intimidated's patch in r9024.
...
Hopefully fixes Mantis #3415 .
2009-04-06 19:12:26 +00:00
Melanie Thielker
fb900f6055
Applying Intimidated's patch to fix anim handling.
...
Fixes Mantis #3417
2009-04-06 18:02:12 +00:00
Jeff Ames
465f1df592
Add copyright headers, formatting cleanup.
2009-04-06 14:36:44 +00:00
Jeff Ames
5f34bd73fb
Update svn properties.
2009-04-06 14:24:13 +00:00
Melanie Thielker
2a5d38a580
Thank you, Intimidated, for a patch too fix the movement animation handling
...
Fixes Mantis #3413
2009-04-06 10:44:41 +00:00
Adam Frisby
9e51c2db95
* Implements World.Parcels[] array for MRM scripting.
2009-04-06 07:17:23 +00:00
Adam Frisby
918c466881
* Adds AutoOAR module, this will automatically OAR your regions every 20 minutes to a directory called "autooar", if enabled. Default disabled. Use [autooar] Enabled=true in OpenSim.ini to enable.
...
* Adds some MRM XMLDOC
2009-04-06 04:17:55 +00:00
diva
5b103aab89
Changed the asynchronous call to get inventory in HG, so that it properly reports problems. OGS1 should also be changed, but I'm leaving it as is for now. RestSessionObjectPosterResponse is fairly broken and should not be used.
...
Minor changes in Get inventory item in HGAssetMapper.
2009-04-05 22:39:19 +00:00
Dahlia Trimble
f73d4f9735
unspecified sculpt stitching mode now defaults to plane instead of sphere. Addresses Mantis #3403
2009-04-05 19:25:39 +00:00
Homer Horwitz
c44f4add8b
Thanks StrawberryFride for a MSSQL patch to mirror r9011.
...
Fixes Mantis #3409
2009-04-05 18:05:55 +00:00
Homer Horwitz
d4e23e28ca
Ouch. Remove some test left over from r9013, which broke startup
2009-04-05 18:05:44 +00:00
Homer Horwitz
648452dd91
- Add new RegionModulesControllerPlugin to the application modules
...
- Change several classes to use the new plugin for handling of region-modules
(NOTE: No regionmodule is using this yet)
- Add necessary prebuild parts (don't forget to runprebuild)
Attention: Work in progress. This shouldn't break anything, but you never know...
2009-04-05 17:08:11 +00:00
Homer Horwitz
50aa775ea7
- Move IWindModule to OpenSim.Region.Framework.Interfaces
...
- Fix a dependency problem.
Hopefully fixes Mantis #3395
2009-04-05 17:08:01 +00:00
Homer Horwitz
97fa525f4e
Adding migrations for MySQL and SQLite for removing the "old" cloud image.
...
The new one already in the Library will be reinserted automatically.
Fixes Mantis #964
2009-04-05 17:07:50 +00:00
diva
75873b6253
Thanks BlueWall for a patch that adds Hypergrid dynamic linking to osTeleportAgent. Fixes mantis #3408 .
2009-04-05 16:41:27 +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
Teravus Ovares
cf1e8b1723
* Fixing SVN properties
2009-04-05 08:43:29 +00:00
Teravus Ovares
e592d03843
* Committing what I have on the BulletDotNETPlugin that I have so far.
...
* It's not ready to try. It doesn't do what you expect in many ways.
* It throws errors and prints jibberish on the console
* Test it out only if you're brave and you've backed up first.
* The opensim.ini line is physics = BulletDotNETPlugin
2009-04-05 08:35:38 +00:00
diva
3c9cba1627
Added CreateObject(regionhandle, userID, itemID) to post objects that are to be fetched from the user's inventory server and rezzed in the region. Added all code necessary to fetch the item and the asset, and rez it inworld. The access to the item is uncap-ed and unverified -- I may place it later either under a cap or with auth verification. But in this model regions don't have the user's inventory, so they would have to guess the item IDs.
...
Added safemode config to Standalone Hypergrid, similar effect to AllowRegionAccessToInventory in Inventory Server. Everyone should have these vars set to their default values except me!
2009-04-05 03:27:50 +00:00
Adam Frisby
9a4192d14e
* Fixed copyright headers on HyperGrid source files. (Now match the rest of OpenSim, license text is unchanged)
...
* Added Bitmap[,] to IParcel for MRM
2009-04-05 02:51:10 +00:00
Adam Frisby
51419d21e4
* Minor cosmetic change to SEUser to get Bamboo to initiate another build. (grr)
...
* Adds basic IParcel interface. Soon to live on World.Parcels{[id],[x,y]}
2009-04-05 01:36:30 +00:00
Adam Frisby
dc967b16a4
* Typo in constructor during class rename (whoops!)
...
* OpenSim is now over 9000.
2009-04-05 01:29:58 +00:00
Adam Frisby
f094847c43
* Implements ISocialEntity - this represents the class of "user-like" objects such as Users, Groups, etc. Destined to be used as the return value of any "Owner" properties.
...
* Implements basic "SEUser" class which implements Avatar/Agent SE functions (primitive).
2009-04-05 01:28:23 +00:00
Adam Frisby
2e1646d368
* Removes IsPhysical, IsPhantom from IObject, since this is now represented in IObject.Physics.Enabled / IObject.Physics.Phantom instead.
2009-04-04 23:44:37 +00:00
Adam Frisby
e120876bd0
Implements on IObjectPhysics:
...
* SetMomentum
* AddAngularForce
* AddForce
* FloatOnWater
* Force
* Acceleration
* Torque
* Velocity
* RotationalVelocity
* CenterOfMass
* GeometricCenter
* Buoyancy
* Mass (Partial)
* Density (Partial)
2009-04-04 23:32:37 +00:00
Adam Frisby
746729b6ce
* Implements IObjectPhysics on SOPObject partially.
...
* Eg, IObject.Physics.* is now valid syntax and compiles (but will throw NotSupported at runtime)
2009-04-04 23:23:24 +00:00
Adam Frisby
39c3ccb93a
* Implements IObjectPhysics, this collects Physics attributes into one interface, will be referenced on IObject as IObject.Physics.*
...
* Eg; IObject.Physics.Torque = new Vector3(30.0,0.4,0.5);
* Maps loosely to internal PhysicsActor class.
2009-04-04 23:16:19 +00:00
Adam Frisby
d758753d7c
* More fiddling with MRM IPersistence, now stores <T> instead of Object.
2009-04-04 22:57:53 +00:00
idb
168752b81b
Give a meaningful message if terrain save fails because of a file IO error.
...
Fixes Mantis #3348
2009-04-04 22:26:38 +00:00
Homer Horwitz
8136cf4075
Thanks jonc, for a patch that adds rendering of classic clouds.
...
First part of Mantis #964 , the necessary clouds image will follow separately.
2009-04-04 15:43:02 +00:00
Homer Horwitz
7acec9860d
DST setting wasn't transferred to client, leading to wrong time display.
2009-04-04 14:26:35 +00:00
Homer Horwitz
c6283cacac
Remove some Mono warnings.
2009-04-04 14:26:24 +00:00
nlin
449bebf16e
Preliminary work to support ObjectSpin* packets when user invokes CTRL / SHIFT / MOUSE DRAG on a physical object
...
Addresses Mantis #3381
2009-04-04 13:13:14 +00:00
Adam Frisby
23193ab538
* Changed IPersistence interface so that passing the MRMBase is unessecary.
2009-04-04 08:36:45 +00:00
Adam Frisby
4e9403e6ef
* Renamed Heightmap.Height to Heightmap.Length to avoid confusion about axis.
...
* Added XMLDOC to MRM API code, this means we have usable programming docs being produced here: http://docs.opensimulator.org/namespaceOpenSim_1_1Region_1_1OptionalModules_1_1Scripting_1_1Minimodule.html (eg IObject, IHeightmap, etc)
2009-04-04 08:33:58 +00:00
Jeff Ames
5cf7b784ce
Add copyright headers, formatting cleanup.
2009-04-04 07:32:41 +00:00
Adam Frisby
c3e1756a48
* Removes IObject.Position, IObject.Rotation from IObject
...
* Adds IObject.WorldPosition and IObject.OffsetPosition - this is equivilent to AbsolutePosition and OffsetPosition in SOP respectively.
* Adds IObject.WorldRotation and IObject.OffsetRotation - as above.
2009-04-04 06:28:55 +00:00
Adam Frisby
fcbe7b9ed6
* Drops Heightmap.Get/Heightmap.Set from IHeightmap interface.
...
* Adds Heightmap[x,y] to interface.
* MRM Scripts should utilize World.Heightmap[x,y] = 0.0; to replace set, and Val = World.Heightmap[x,y] to get.
2009-04-04 05:51:26 +00:00
lbsa71
7f4bf5871d
* Proactively fixed bug-potential concerning the fact that m_httpServer property was differently referred to between RegionApplicationBase and all other grid services.
2009-04-03 20:56:36 +00:00
Arthur Valadares
0c544a85dc
* Fixes issue where of you force your avatar against a region corner, it gets stuck and NonFinite Avatar messages floods console
...
Addresses Mantis #3380
2009-04-03 19:20:23 +00:00
Justin Clarke Casey
5146cb7a72
* refactor: Call StatsReporter methods directly rather than through Scene (as WebStatsModule was doing)
...
* Assume that StatsReporter is always present (possibly as a no-op impl) rather than doing null checks
2009-04-03 17:14:51 +00:00
diva
7322e19212
Added one more delegate to Caps, and a few guards, so that these objects can be used from more than just Scenes. Added the NewFileAgentInvengory cap to HGInventoryService.
2009-04-03 16:08:07 +00:00
Dr Scofield
fc1b1bc797
- adding -logconfig option to allow configuration of log4net from
...
log4net config file other then bin/OpenSim.exe.config
- moving ArgvConfigSource initialization up to allow for configuration
of XmlConfigurator.Configure()
2009-04-03 12:47:56 +00:00
Adam Frisby
084ffc74c6
* Implements MRM IObject.Say - this is equivilent to llSay
...
Example:
public override void Start()
{
Host.Object.Say("Hello World!");
}
2009-04-03 10:42:39 +00:00
Adam Frisby
254d3099f0
* Implements Scene.SimChat(string,...) rather than byte[]. We should probably mark byte[] as obsolete.
...
* Implements SOPObject.Say for MRM. (Note, not IObject yet)
2009-04-03 10:40:14 +00:00
Adam Frisby
36bc485e7e
* MRM Scripts will now no longer disconnect the client if there was an error in compilation or script initialisation.
...
* Clarified some debug text for MRM Enabling
2009-04-03 10:30:51 +00:00
Adam Frisby
7e91f41535
* Implements "ID" semi-global within MRM scripts. This is tied to the 'state ID' for MRMs.
...
* Implements IPersistence interface, allows simple KeyValue access for MRM scripts to a more permanent datastore.
2009-04-03 09:22:34 +00:00
Dahlia Trimble
5f4cab6ed3
fix an error in hollow cylinder face number calculation
2009-04-03 08:45:32 +00:00
Melanie Thielker
f17732346e
Fix a nullref when compiling non-LSL scripts
2009-04-02 16:27:16 +00:00
idb
b45ac2bf8e
Correct llSetPrimitiveParams to check for a texture in inventory when setting the sculpt map.
...
This Fixes Mantis #3331
Also corrected the capping calculation in llApplyImpulse and several integer "boolean" comparisons from "== 1" to "!= 0" for true
2009-04-02 10:24:12 +00:00
Dahlia Trimble
b42fec5c74
partial support for sculpted prim "inside out" setting
2009-04-02 06:54:48 +00:00
diva
86c753a6bd
More refactoring. This time extracting the client-side of RESTInterregionComms into a RegionClient class.
2009-04-01 23:35:48 +00:00
diva
2e54f277d1
One more bit of refactoring, so this can be used outside region code.
2009-04-01 22:42:44 +00:00
diva
6e368c4b59
Refactoring, no functional changes. Moved ChildAgentDataUpdate data structures from OpenSim.Region.Framework.Scenes back to OpenSim.Framework, so they can be referenced more broadly. This involved having to move the small Animation data structure to OpenSim.Framework too.
2009-04-01 19:50:09 +00:00
lbsa71
958d764172
* Upped trunk version number to 0.6.4 as we just tagged 0.6.4-release
2009-04-01 19:44:46 +00:00
Teravus Ovares
74d5d44373
* Committing patch in mantis 3376 [Patch] Fix a minor animation handling glitch in ScenePresence
...
* ..
* ..
* err, okay, this was a stick-buggery April 1st joke by me. This removes it. Happy April 1st!
* fixes mantis 3376
2009-04-01 19:04:59 +00:00
Dahlia Trimble
8493123629
Hard code scaled image resolution to 96 dpi prior to sculpt meshing to prevent a mono 2.4 failure. Thanks to cmickeyb for pointing out the failure.
2009-04-01 18:38:51 +00:00
Jeff Ames
99cfcf405b
Update svn properties.
2009-04-01 14:50:18 +00:00
Melanie Thielker
a1fe54baa0
Add a "user" config option to the IRC module config. Like all other IRC
...
config options, this has NO default, if you use the IRC module, you MUST
add this setting to your ini file.
2009-04-01 12:28:46 +00:00
Melanie Thielker
76ca096384
Add a PIDFile in [Startup], which the PID will be written to
2009-04-01 12:13:42 +00:00
Adam Frisby
1a25969096
* MRM Adjustments
...
* Renamed 'Material' to PhysicsMaterial (Wood, Glass, Metal, etc.). May want to place in subclass with other physics specific properties. (We however need to support these features in ODE/etc first.)
* Renamed Faces to Materials. IObjectFace to IObjectMaterial - this is for clarity for those coming from a 3D Programming background (it also makes more sense if/when we support Meshes in core). Properties and members remain identical.
* Added XMLDoc comments to IObject to assist people writing MRMs in XMLDoc aware editors.
2009-04-01 11:03:42 +00:00
Adam Frisby
5cd70a8c0e
* MRM Adjustments
...
* Changes World.Objects from Array IObject[] to IObjectAccessor.
* Syntactically identical in most behaviour, however the indexer is now ranges not from 0..Count, but any valid internal LocalID. Additional indexers have been added for UUID.
* Example: for(int i=0;i<World.Objects.Count;i++) will not work any more, however foreach(World.Objects) will remain functional.
* This prevents us needing to create a list for each access to World.Objects which should [in theory] present a dramatic speed improvement to MRM scripts frequently accessing World.Objects.
2009-04-01 09:31:40 +00:00
Adam Frisby
7eccad05c9
* Adds World.Avatars[] to MRM Scripting. Contains an enumerable array containing IAvatar instances for each avatar in the region.
...
* Adds Test/TestModule.cs which demonstrates a very quick and simple MRM Test.
2009-04-01 06:55:39 +00:00
lbsa71
0266c344fb
* Added NUnit tested utility function GetHashGuid() for future use.
...
* Did some aligning refactoring of the MD5 and SHA-1 functions.
2009-04-01 06:11:51 +00:00
Adam Frisby
5225e40f9e
* Removes some hard-coded magic numbers relating to RegionSize. We now use Constants.RegionSize as expected. (Working towards enlarged or smaller regionsizes that arent multiples of 256m)
...
* Adds minor functionality to MRM Scripting.
2009-04-01 05:58:07 +00:00
Melanie Thielker
7ec85508ff
Finally clean up the Scene.Permissions and permissions module.
...
Permissions now use proper events and not delegate lists, which makes
for much easier reading and much less work adding new methods.
I finally found a way to raise events with return values without it becoming
late bound.
2009-04-01 01:41:40 +00:00
diva
d4f6750f82
Added AllowLoginWithoutInventory to LoginService, to be overwritten in subclasses. Default is false. HGLoginAuthService sets it true. Better error handling dealing with inventory service faults.
2009-04-01 01:18:21 +00:00
Melanie Thielker
a4ba587df7
Adding the Length override to the KillPacket
2009-03-31 21:34:29 +00:00
diva
cb74848f2d
Turning the wind module off by default.
2009-03-31 16:17:13 +00:00
Dr Scofield
aecb4fb72a
From: Alan M Webb <alan_webb@us.ibm.com>
...
Add sanity check to fly-height calculation so that it does
not attempt to retrieve information from non-existent
regions.
2009-03-31 12:45:34 +00:00
Melanie Thielker
62fcfe8924
Thank you, StrawberryFride, for a patch that adds offline inventory
...
functionality to the MSSQL module.
Fixes Mantis #3370
2009-03-31 11:32:30 +00:00
lbsa71
fb9a358b79
* Refactored out and de-duplicated Base64ToString(string)
...
* Fixed minor typo
2009-03-31 05:51:28 +00:00
Jeff Ames
20e1a8d7f6
Thanks rtomita for a patch to add a handler for the RemoveInventoryObjects packet. (bug #3304 )
2009-03-31 05:47:53 +00:00
Charles Krinke
54a27f9f5c
Thank you kindly, MCortez for a patch that:
...
With some support from HomerH, this patch adds support for Wind
Model plugins via the mono.Addin framework.
* Adds console & OSSL access to Wind Parameters
* Adds plug-in support for custom wind models
* Provides two example Wind Model plug-ins
Documentation for the wind module is temporarily located at http://code.google.com/p/flotsam/wiki/CoreWindModule [^]
-- will move this documentation to http://opensimulator.org [^]
after the patch has been committed.
2009-03-31 02:33:19 +00:00
Jeff Ames
54ccca1e2c
Update svn properties, add copyright header, formatting cleanup.
2009-03-31 02:00:33 +00:00
diva
b73ce1143a
Adds support at the inventory server for direct inventory manipulation from authorized clients using capabilities. Provided keys are verified with the designated authority. The added code is only executed for clients following HGLoginAuth procedure or similar. It does not remove any existing behavior.
2009-03-30 19:35:55 +00:00
diva
4cbf963354
HGInventoryService now uses the actual authority portion of the user's key to verify the key.
2009-03-30 19:26:25 +00:00
Justin Clarke Casey
2914bfe7b0
* Fix test breakage by always inserting a gods module when testing
2009-03-30 19:09:57 +00:00
Justin Clarke Casey
176f263d23
* minor: remove mono compiler warnings
2009-03-30 18:34:43 +00:00
Justin Clarke Casey
ac8fc02afc
* refactor: Move god related methods in Scene out to a module
2009-03-30 18:20:41 +00:00
diva
6957803759
Sigh. Manual data typing grief.
2009-03-30 17:34:36 +00:00
Teravus Ovares
0318e824ae
* Remove a debug line of localIDs
2009-03-30 14:13:56 +00:00
Teravus Ovares
6522b4f5d4
* Fixing thread safety of avatar adding and removing from the Physics Scene in the ODEPlugin
...
* This may help one of the symptoms or mantis 3363 , however it probably won't solve the occasional NonFinite Avatar Position detected.. issues that some people see. That is probably an entirely different issue(NaN).
2009-03-30 14:10:24 +00:00
Melanie Thielker
f88d755f96
Add PickInfoReply packet.
...
Fixes Mantis #3324
2009-03-30 11:51:34 +00:00
Dahlia Trimble
d468b7f2d3
Thank you Flyte Xevious for Mantis #3361 - Implementation of llEdgeOfWorld
2009-03-29 23:59:14 +00:00
diva
c3e604c46c
Added Authorization client code that interfaces with HGLoginAuthService. Improved error handling in HGLoginAuthService. Instrumented HGInventoryService so that it can interface both with local and remote user and asset services.
2009-03-29 23:39:00 +00:00
diva
f7eac63e01
Another bit of refactoring to try to make sense of OpenSim.Framework.Communications. Everything that looks like a service, with service handlers, moved to .Services -- i.e. LoginService and Response, and GridInfoService. The rest of the changes were to adapt to the new locations of those files.
2009-03-29 22:04:45 +00:00
diva
08732b65be
Moved some files around, so that it's easier to share code between standalone and the grid services. Should not affect any functionality.
2009-03-29 20:29:13 +00:00
Melanie Thielker
d857cf1335
Don't let a missing configuration cause a NRE
...
Fixes Mantis #3355
2009-03-29 15:24:50 +00:00
Melanie Thielker
03063375ee
Add AcceptNotices member to GroupMembershipData and an overload to
...
IGroupsModule interface
2009-03-29 11:18:45 +00:00
Melanie Thielker
8c4bcfb5d0
Module interface change
2009-03-29 06:14:54 +00:00
Melanie Thielker
c483206fd7
Change the client API to use GridInstantMessage for the "last mile" of IM
...
sending. With this change, all methods that handle IM now use GridInstantMessage
rather than individual parameters.
2009-03-29 05:42:27 +00:00
Melanie Thielker
404bfdc9a6
Finish the offline IM module (still needs a server). Add rudimentary
...
support for the mute list (no functionality yet, but allows the
RetrieveInstantMessages event to fire now).
2009-03-29 00:48:34 +00:00
diva
730b78114f
Minor bug fix in UpdateItem (meta data).
2009-03-28 23:50:37 +00:00
Teravus Ovares
b857635712
* Adding some heuristic error correction to the j2k decoder module to combat some of the situations that we see in mantis 3049 .
...
* This may help people on certain 64 bit systems where the end byte position of each layer data packet is incorrect but the start positions are correct.
* The console will still be extremely chatty with 'Inconsistent packet data in JPEG2000 stream:' messages, however.. if OpenSimulator was able to recover the data, it will say HURISTICS SUCCEEDED
2009-03-28 20:50:08 +00:00
Melanie Thielker
4f6c4378da
Add mute list request event and dummy response
2009-03-28 04:21:44 +00:00
Melanie Thielker
b40ec850bb
Fix the plumbing in the offline message module.
...
No functionality yet.
2009-03-28 04:02:30 +00:00
Melanie Thielker
0ff7c85a5d
Add a module skeleton for offline IM storage. No functionality yet.
2009-03-28 02:58:12 +00:00
Teravus Ovares
67be0213d4
* Remove redundancies in ScenePresence
2009-03-28 02:41:51 +00:00
Teravus Ovares
f5812b3702
* Adds AgentUUIDs into the CourseLocationUpdate to improve compatibility with LibOMV based clients.
...
* Modifies the IClientAPI! So client stacks will need to be modified!
2009-03-28 01:40:33 +00:00
diva
cd1bf3600d
Small bugs fixed related to ownership and permissions.
2009-03-28 00:08:13 +00:00
Melanie Thielker
cbef90fec6
Add the events needed for profiles.
...
Fixes Mantis #3324
2009-03-27 22:47:41 +00:00
Teravus Ovares
52c482a7a7
* This updates LibOMV to the current release 0.6.0 on March 19 2009
...
* Important: HttpServer.dll was changed to HttpServer_OpenSim.dll so that the HttpServer references do not conflict if you've copied the OpenMetaverse.Http.dll and requirements to the OpenSimulator bin folder.
This means that if you reference HttpServer.dll in any projects, you will need to change the reference to HttpServer_OpenSim.dll. It still uses the Same HttpServer namespace though.
2009-03-27 22:13:09 +00:00
Justin Clarke Casey
30ffefb67b
* refactor: call some EventManager triggers directly rather than through scene
2009-03-27 20:41:35 +00:00
diva
bce5ed5812
Moved a method GetDefaultVisualParameters from Scene to AvatarAppearance, where it belongs. Better error handling in ScenePresence.CopyFrom.
2009-03-27 20:18:55 +00:00
Justin Clarke Casey
3fe010d716
* minor: remove one mono compiler warning
2009-03-27 20:03:20 +00:00
Justin Clarke Casey
bd8d6fad45
* Implement * wildcard in save iar requests
...
* not yet ready for use
2009-03-27 19:45:07 +00:00
Justin Clarke Casey
053a6b355c
* Fix single item iar saving
...
* Not yet ready for use
2009-03-27 18:53:11 +00:00
Melanie Thielker
37e81c7d54
Remove a hardcoded flow/dependency on the money module from LLCLientView
2009-03-27 18:51:45 +00:00
Justin Clarke Casey
561f241564
* minor: move RegionSettingsSerializer into OpenSim.Framework.Serialization
2009-03-27 18:13:34 +00:00
Justin Clarke Casey
86cc0e86d4
* Also temporarily disable T032_CrossAttachments() since this relies on the execution of T021_TestCroswsToNewRegion()
2009-03-27 17:19:58 +00:00
Justin Clarke Casey
39bf59080b
* Temporarily disable ScenePresenceTests.T021_TestCrossToNewRegion() as this has both WaitOnes() which don't time out and tight loops
...
* Going to see if this stops the freeze failures where (though there may also be a separate occasional failure in the save oar test)
2009-03-27 17:01:07 +00:00
Justin Clarke Casey
355247c2b2
* For each test in OpenSim.Region.Framework.Scenes.Tests, tell the console when the test starts
...
* This is to help identify which test is freezing, since all the tests in the previous dll (coremodules) succeed
* Unfortunately they are not executed in the same order in which the results are listed in Bamboo
2009-03-27 16:33:15 +00:00
diva
6b9125b319
Added the hg login procedure to the user server.
2009-03-27 16:23:52 +00:00
diva
06ad2244f0
svn:eol-style property set.
2009-03-27 16:13:25 +00:00
diva
6ddf932c7e
svn:eol-style property set.
2009-03-27 15:11:21 +00:00
Dr Scofield
bf4d701cd5
From: Alan Webb <alan_webb@us.ibm.com>
...
Fixed problem with REST services caused by changes to the OpenSim
core code base - the comms manager had been 'modularized'.
Also added additional debugging to RemoteAdmin interface.
2009-03-27 12:49:27 +00:00
diva
f2b8691c9c
Forgot to comment an unnecessary log message on my last commit.
2009-03-26 22:21:39 +00:00
diva
a423b3060b
Notecard updates bypassing the regions. (HGStandalone only)
2009-03-26 22:17:57 +00:00
Justin Clarke Casey
8a4464f44a
* correct iar root folder location for saving of individual items
...
* however, rest of the path components are still currently wrong so this is broke
2009-03-26 20:34:02 +00:00
Justin Clarke Casey
6ffed09682
* Fix build break - went a const or two too far
2009-03-26 20:15:36 +00:00
Justin Clarke Casey
7e40315d5d
* minor: change some static readonlys to consts
...
* adjust user profile iar saving path
2009-03-26 20:09:12 +00:00
Dahlia Trimble
ad012d4b46
add x-axis mirror capability to sculpted prim mesh - addresses Mantis #3342
2009-03-26 18:12:10 +00:00
Justin Clarke Casey
10d21afd9d
* Apply http://opensimulator.org/mantis/view.php?id=3343
...
* Removes long unused -useexecutepath switch
* Thanks coyled
2009-03-26 17:43:05 +00:00
Justin Clarke Casey
0db166ed3d
* Apply http://opensimulator.org/mantis/view.php?id=865
...
* Reimplements "terrain rescale <min> <max>" command which rescales current terrain to be inbetween min and max
* Thanks jonc
2009-03-26 17:42:02 +00:00
Justin Clarke Casey
3f1ec6334f
* Fix build break from last commit
2009-03-26 17:30:43 +00:00
Justin Clarke Casey
93b26f8933
* iars: Serialize information about item creators to archive
2009-03-26 17:25:12 +00:00
diva
28d9a73521
Small refactoring in Caps, no functional changes.
2009-03-26 16:05:00 +00:00
Melanie Thielker
706a2df516
Read the .map files in on sim startup. Also clean them up when an assembly
...
is deleted.
2009-03-26 15:06:20 +00:00
Melanie Thielker
eb6c1ae0c1
Avoid preprocessing scripts on region restart just to generate the line
...
number map. Instead, write the map to a file for later use. That is not
yet used, so currently runtime errors after a sim restart will have wrong
line numbers
2009-03-26 14:49:39 +00:00
Melanie Thielker
fcab3510b3
Avoid writing script state to the filesystem if the state has not changed.
...
Remove the unneccessary double check that was only used to provide a
meaningless warning message for a corner case.
2009-03-26 14:28:00 +00:00
Dr Scofield
c8aaf538e4
- adding osGetAgents() which returns a list of all avatars in the region
...
in which the script is running.
- found a bag of space characters under my desk, thought i'd donate them
to the JSON OSSL function (aka clean up)
2009-03-26 12:08:18 +00:00
lbsa71
3ca1481c3d
* Minor fixes, inverted an if for readability and introduced a virtual pre-process step on the asset cache
2009-03-26 06:56:10 +00:00
diva
de3971a8d3
One more -- CopyItem.
2009-03-26 04:14:33 +00:00
diva
3b08f17fc2
Half-way through supporting inventory access from outside the regions -- HG standalones only, for now.
2009-03-26 03:45:49 +00:00
Dahlia Trimble
3bedb59f50
make some arrays static to prevent excessive re-initialization - suggested by jhurliman
2009-03-26 03:10:30 +00:00
Melanie Thielker
8dfe8a0d1d
Make the error messages passed to RegionReady more descriptive
...
Patch by antont, thank you.
Fixes Mantis #3338
2009-03-26 01:02:19 +00:00
Sean Dague
6323516a83
* Appearance patches suite: These patches are applied to allow libomv bots to wear outfits in the future.
...
This functionality will be upstreamed later.
** Fixed call of new AvatarAppearance without arguments, which caused bots look like clouds of gas
** Added a SendAvatarData in ScenePresence.SetAppearance, which is expected after SetAppearance is run
** Fixed AssetXferUploader: CallbackID wasn't being passed on on multiple packets asset uploads
** Set VisualParams in AvatarAppearance to stop the alien looking bot from spawning and now looks a little better.
*** TODO: Set better VisualParams value then 150 to everything
2009-03-25 20:15:46 +00:00
Justin Clarke Casey
b52587ea6c
iar: centralize user uuid gathering
2009-03-25 19:54:07 +00:00
lbsa71
3cb06cc4cc
* Changed a recursive BeginRobustReceive loop to a flat while loop to avoid lethal stack overflows.
2009-03-25 19:30:36 +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
Justin Clarke Casey
19595a2825
* minor: spit out creator name on save iar
...
* not yet ready for use
2009-03-25 19:14:36 +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
Melanie Thielker
21d14a7090
Thank you, dslake, for a patch that fixes passing the start param to scripts
...
Fixes Mantis #3330
2009-03-25 11:05:01 +00:00
Dr Scofield
0bb3d2e6d7
cleanup
2009-03-25 07:36:56 +00:00
diva
2afe3be2e6
HGStandaloneInventoryService now serves inventory assets. No need for clients to have direct access to the asset service.
2009-03-25 05:21:47 +00:00
Melanie Thielker
fb5f702e78
Change llGetOwnerKey to use another overload of GetSceneObject.
...
Fixes Mantis #3326
2009-03-24 22:12:48 +00:00
Justin Clarke Casey
6cad71d5ec
* minor: remove load oar logging I accidentally left in a few commits ago
...
* reduce noisiness of uuid gatherer
* stop bothering to pointless complain about directory tar entries when loading an oar
2009-03-24 21:05:20 +00:00
Justin Clarke Casey
64341fc965
* minor: remove a couple more compiler warnings
2009-03-24 20:57:02 +00:00
Justin Clarke Casey
0bf2177dfb
* Use memory more efficiently when loading oars
...
* This change starts the script immediately after an object is loaded, rather than waiting till they are all loaded
* This should be okay, but please report any new errors
2009-03-24 20:48:27 +00:00
Justin Clarke Casey
22a4d6acc2
* minor: remove mono compiler warnings
2009-03-24 20:36:32 +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
diva
c7d0e4ffc1
Added the login region's http to the login response.
2009-03-24 18:56:32 +00:00
Melanie Thielker
c268b71f4b
Thank you, dslake, for a patch that speeds up the Delete Old Files option
...
in the compiler. Committed with changes.
Fixes Mantis #3325
2009-03-24 12:18:31 +00:00
Dr Scofield
b5f6aa6ff2
From: Alan Webb <alan_webb@us.ibm.com>
...
Changes to AssetCache and DynamicTextureModule to eliminate
opportunities for lost texture updates.
2009-03-24 08:21:50 +00:00
diva
ec07baa8c0
Preparing the loginauth service for gridmode logins.
2009-03-24 02:28:17 +00:00
diva
5af63a6a5c
Root agent retrieval via http/REST. This is a pull, the caller gets the agent. This is not used by the regions yet, but it may be a better alternative to transfer agents even when that is done by the regions. The data is still trivial; soon it will have attachments, scripts and script state. Also, authorization tokens still to come. Serialization using OSD/json, as the other methods.
2009-03-23 02:37:19 +00:00
Melanie Thielker
e1ea3f05aa
Finish folder gives. With this commit, single item and folder gives now
...
work across regions and also to offline avatars. Scripted gives are not
yet tested and may not work.
2009-03-23 02:02:12 +00:00
Melanie Thielker
412112acba
Committing partial work on passing folders across instances. This may crash.
2009-03-23 00:11:34 +00:00
Melanie Thielker
f86c13f48e
Send proper creation date on item gives, so objects will appear at the top of
...
"Objects", not at the bottom
2009-03-22 20:05:11 +00:00
Melanie Thielker
16a6d60a21
Make offline gives work in SQLite standalones
2009-03-22 18:35:16 +00:00
Melanie Thielker
48e87b6448
Make single item inventory gives work across regions
2009-03-22 18:25:04 +00:00
Melanie Thielker
9b82b52096
MYSQL Only: Make items given while offline appear in inventory without
...
the need to clear cache.
2009-03-22 16:12:48 +00:00
Melanie Thielker
e6bb86a224
Add QueryItem method to secure inventory and HG inventory, change method sig to
...
provide additional information the HG needs.
2009-03-22 15:42:22 +00:00
Melanie Thielker
73a982babe
Fox a null ref in the inventory give module
2009-03-22 15:19:43 +00:00
Melanie Thielker
ea1e38dd14
Cause the inventory give module to be more selective and not attempt to
...
deliver other modules' IM types
2009-03-22 14:32:15 +00:00
Melanie Thielker
b83ad8a97b
Thank you, dslake, for a patch that fixes XEngine linemap handling.
...
Fixes Mantis #3321
2009-03-22 11:57:00 +00:00
diva
047d753cd0
Explicit tests for local regions.
2009-03-22 06:31:32 +00:00
diva
9489ad57f9
Moving the LoginAuth service up, so that it can be shared among standalones and the User Server.
2009-03-22 04:39:16 +00:00
diva
09732b4d5d
Initial support for authentication/authorization keys in UserManagerBase, and use of it in HGStandaloneLoginService (producer of initial key for user, and of subsequent keys) and HGStandaloneInventoryService (consumer of a key).
...
Keys are of the form http://<authority>/<random uuid>
and they are sent over http header "authorization".
2009-03-21 20:16:35 +00:00
diva
b140988a1f
Minor changes in names inside.
2009-03-21 19:37:35 +00:00
Melanie Thielker
1e6587f1d3
Add code to the inventory transfer module to use the new DB functionality
...
Not tested!
2009-03-21 18:14:06 +00:00
diva
b0f2bcbe79
Moving HGStandaloneAssetService to a new place, and giving it a more generic name. MXP is going to use it too.
2009-03-21 18:03:44 +00:00
Melanie Thielker
1121a214b9
Add a QueryItem method to the inventory subsystem. Currently implemented for
...
MySQL only, stubs for the others. This allows updating the cache with a single
item from the database.
2009-03-21 17:46:58 +00:00
idb
2d387c25b8
Move a check for null PhysActor in applyImpulse so that attachments can move avatars.
...
Fixes Mantis #3160
2009-03-21 11:42:31 +00:00
Teravus Ovares
14b94b8d05
* Finishing up the last commit by adding ISunModule
2009-03-20 23:15:16 +00:00
Melanie Thielker
c6da0fda58
Thank you, mcortez, for patch to add functionality to the sun module.
...
Fixes Mantis #3313
2009-03-20 22:42:21 +00:00
lbsa71
613201e220
* Normalized and pulled GetInventorySkeleton up.
2009-03-20 17:25:12 +00:00
idb
aab38c2cb2
Ensure the remembered velocity is zero when physical is turned off on a prim. Without this the velocity gets sent to the client and the prim appears to move.
...
Fixes Mantis #3303
2009-03-20 15:59:11 +00:00
Melanie Thielker
78a19528c6
Change DropObject to public. Fixes Mantis #3314
2009-03-20 13:57:22 +00:00
lbsa71
feaa645071
* De-duplicated login service some more
...
* Normalized m_inventoryService
* Pulled AddActiveGestures up
2009-03-20 06:49:12 +00:00
diva
2a76b2a417
Moving GetInventoryItem up to InventoryServiceBase, since this seems like a pretty fundamental function.
2009-03-19 21:43:35 +00:00
Justin Clarke Casey
4571a8b3fb
* Remove compiler warnings
...
* These have actually been removed from HGHyperLink.TryUnlinkRegion, because some parameters were parsed but never used.
* This might be a situation where the warnings have shown up an oversight
2009-03-19 21:16:02 +00:00
Justin Clarke Casey
8f1844665b
* Group OpenSim.Framework.Servers interfaces together
2009-03-19 19:21:17 +00:00
Justin Clarke Casey
bd2180d9af
* refactor: Create IHttpServer interface instead of accessing BaseHttpServer via CommunicationsManager directly
2009-03-19 18:11:44 +00:00
Justin Clarke Casey
b05be5b06b
* Lock http handlers dictionary in other places as well to avoid race conditions
...
* No adverse effects on a quick multi-machine grid test
2009-03-19 17:07:00 +00:00
Justin Clarke Casey
1e6056c24b
* Add necessary locking to BaseHttpServer.RemoveHTTPHandler()
2009-03-19 16:51:21 +00:00
Justin Clarke Casey
eb0c369409
* Add documentation to BaseHttpServer.AddHTTPHandler()
2009-03-19 16:41:23 +00:00
Dr Scofield
0867302e09
reformatting README (just noticed that that line was a bit on the long
...
side.
2009-03-19 08:47:05 +00:00
Dr Scofield
1caf1c5d96
adding missing ChatSessionRequest voice capability for direct AV-AV calls.
2009-03-19 08:42:59 +00:00
Dahlia Trimble
d23f0ec143
Thanks to mpallari for Mantis #3310 : Make EventQueueGetModule more inheritable
2009-03-19 07:06:30 +00:00
diva
247a25a7fe
Making a couple of methods public.
2009-03-19 03:33:20 +00:00
Justin Clarke Casey
c0c929665f
* Apply http://opensimulator.org/mantis/view.php?id=3311
...
* Store script timers in a dictionary rather than a list to make unset much more efficient
* Thanks dslake
2009-03-18 20:24:53 +00:00
diva
a7d610ffcc
Adds support for unlink-region command in hypergrid.
2009-03-18 16:37:26 +00:00
Melanie Thielker
87822c5d95
Add an event to process undelivered IMs
2009-03-17 23:52:30 +00:00
Justin Clarke Casey
7658e30dfc
* minor: remove compiler warning
2009-03-17 21:20:58 +00:00
MW
86d48b73e1
Fixed the looping on llParcelMediaCommandList, now PARCEL_MEDIA_COMMAND_PLAY will make the media play only once like its meant to, and PARCEL_MEDIA_COMMAND_LOOP can be used to make it loop.
2009-03-17 18:18:24 +00:00
Dr Scofield
b2de81ebac
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
Attached is a patch which enabled through an OpenSim.ini option the ability
to read long notecard lines. Currently although the data is read from
the notecard it is truncated at 255 characters (same as for the LL servers.
This patch allows the setting of that limit to a different value.
; Maximum length of notecard line read
; Increasing this to large values potentially opens
; up the system to malicious scripters
; NotecardLineReadCharsMax = 255
this allows for save/restore functionality using notecards without
having to worry about very short line length limits.
2009-03-17 07:03:53 +00:00
Homer Horwitz
66f0445173
Mantis#3306: Thanks tlaukkan for a patch that
...
adds primitive hierarchies support to MXP and improves client disconnect handling.
2009-03-16 21:41:51 +00:00
Mike Mazur
f28886e26d
Rename OpenSim.Framework.Archive to OpenSim.Framework.Serialization
...
Update using statements and prebuild.xml. Also trim trailing whitespace.
2009-03-16 00:12:25 +00:00
Homer Horwitz
abc5df12c8
This patch improves MXP connect and disconnect functionality.
...
- Avatars are now properly on top of terrain.
- ScenePresence is now removed from Scene only once.
Fixes Mantis #3302 . Thanks tlaukkan.
2009-03-15 21:34:28 +00:00
Homer Horwitz
c9a3a764f1
regionInfo isn't defined here yet, which leads to a NRE. Grid-server
...
provided us with the data, so let's use it for now. Hopefully
fixes Mantis #3297 .
2009-03-15 21:01:04 +00:00
Charles Krinke
5bc386c648
Fixes Mantis#3301. Thank you kindly, MaimedLeech for a patch that:
...
patch allows wind to be enabled/disabled, and wind strength set,
from ini file
2009-03-15 20:22:07 +00:00
Charles Krinke
9e0329f1dc
Fixes Mantis #3294 . Thank you kindly, Godfrey, for a patch that:
...
Attached is a patch which provides osAvatarPlayAnimation() the ability to
also trigger animations contained within the same prim as the script, as
llStartAnimation() does. (It also modifies osAvatarStopAnimation(),
otherwise the script wouldn't be able to stop animations it had started.)
2009-03-15 19:45:42 +00:00
Charles Krinke
9e4d9e2c3f
Fixes Mantis #3289 . Thank you kindly, Ewe Loon, for a patch that:
...
fixes Sporadic Errors in "Dictionary<InstanceData, DetectParams[]"
Causing total script Failure
2009-03-15 19:39:43 +00:00
diva
95323c3264
Changing a few methods to public. This is the collection of methods that will be moved to a library somewhere else.
2009-03-15 19:21:43 +00:00
Dahlia Trimble
0d37907c58
Thanks Tommil for a patch which added support for creating user accounts automatically in local sandbox if
...
accounts authenticate is set off and connecting with MXP protocol. Mantis #3300
2009-03-15 16:17:01 +00:00
Dahlia Trimble
fa5fef33a9
fixed propagation of normalized sculpt mesh vertex normals
2009-03-15 09:05:35 +00:00
Jeff Ames
fec8aef03a
Thanks rtomita for a patch to add handlers for prim scale updates from libomv-based clients. ( #3291 )
2009-03-14 22:55:17 +00:00
Melanie Thielker
ddbf81fa07
Thank you, mcortez, for a patch that fixes a number of long standing
...
issues with the sun module.
Fixes Mantis #3295
2009-03-13 23:45:02 +00:00
Justin Clarke Casey
c04e7cdf2b
* Support loading empty folders in an iar
2009-03-13 20:46:53 +00:00
Justin Clarke Casey
6573e2ee2f
* Remove asset cache size and texture stat reports from ASSET STATS since these are now inaccurate
...
* Correct count of assets in cache
2009-03-13 18:36:24 +00:00
Mike Mazur
4a21d92668
Mark AssetBase.Metadata with [XmlIgnore]
2009-03-13 05:58:32 +00:00
Justin Clarke Casey
bd41639a68
* Don't fail the client login if there are no OnClientConnect listeners
2009-03-12 20:38:28 +00:00
Justin Clarke Casey
f5ff2eff24
* minor: Lable the heartbeat thread with the region it's beating for
2009-03-12 20:37:15 +00:00
Dr Scofield
fa619bdf8c
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
Patch to RegionReady which adds a field which adds to the message
whether the region is ready due to a server startup or due to an oar
file loading.
2009-03-12 18:51:28 +00:00
Justin Clarke Casey
a02c3caa0d
* Move SceneObject tests into their proper namespace
...
* Add some more debug code to narrow down where the tests are freezing
2009-03-12 18:13:51 +00:00
Dr Scofield
38d56d7cb2
merging XmlRpcCreateUserMethod and XmlRpcCreateUserMethodEmail, adding
...
optional about_virtual_world and about_real_world parameters to
XmlRpcUpdateUserAccountMethod to allow setting of "About" and "First
Life" tab in avatar profile.
2009-03-12 16:50:44 +00:00
Jeff Ames
fb258c5ed9
Update svn properties, formatting cleanup.
2009-03-12 15:28:30 +00:00
lbsa71
33f511ee4b
* Another stab at refactoring up the CustomiseResponse function. Two fixes:
...
* Sometimes, null is a valid return value to indicate 'none found'. doh.
* Sometimes, the Grid server does not send simURI - this you need to reconstruct yourself. Euw.
(I believe) this solves mantis issue #3287
2009-03-12 10:50:59 +00:00
Mike Mazur
7b2977d625
Move ArchiveConstants to OpenSim.Framework.Archive
...
- move a couple constants from InventoryArchiveConstants to
ArchiveConstants, now only one of these is needed
- change InventoryArchiveConstants references to ArchiveConstants
- remove InventoryArchive AssetInventoryServer plugin dependency on
OpenSim.Region.CodeModules
- trim trailing whitespace
2009-03-12 06:04:17 +00:00
Mike Mazur
f784620780
Moving TarArchive to OpenSim.Framework.Archive
...
We now build OpenSim.Framework.Archive.dll which aims to contain code
used for archiving various things in OpenSim. Also remove trailing
whitespace.
2009-03-12 06:03:59 +00:00
diva
4eba67175d
Minor bug fix. Thanks daTwitch.
2009-03-12 01:43:22 +00:00
Jeff Ames
a8c66444e2
Update svn properties, minor formatting cleanup.
2009-03-12 01:14:54 +00:00
lbsa71
2133d35831
* Reverted r8750 to do another round of debugging on mantis #3287
2009-03-11 19:19:48 +00:00
Jeff Ames
6462014250
Thanks rtomita for a patch to fix inventory listings for clients using libomv. ( #3285 )
2009-03-11 18:46:52 +00:00
Justin Clarke Casey
2e6e0cee28
* fix build break
2009-03-11 18:21:47 +00:00
Justin Clarke Casey
acad0328b2
* Make all coded defaults match settings in OpenSim.ini.example
...
* In most cases, the setting in OpenSim.ini.example is taken as the canonical one since this is the file virtually everyone ends up using
* OpenSim will start up with a blank OpenSim.ini, in which case sqlite is the default database (as before)
2009-03-11 18:02:22 +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
Dr Scofield
b6b83be562
From: Alan M Webb <alan_webb@us.ibm.com>
...
This fixes *another* sync error in a list/dictionary
iterator. This time in WorldComm. I'm beginning to think
something is going on...
2009-03-11 09:07:50 +00:00
Mike Mazur
c20e0286d3
Adding AssetInventory InventoryArchive plugin
...
This plugin exposes an HTTP handler on the AssetInventoryServer which
serves a gzipped tar file containing the contents of a user's inventory.
The assets referenced by the inventory are not yet archived. At the
moment only export functionality is implemented, restore functionality
is missing.
prebuild.xml had to be shuffled around a bit in order for the plugin to
build, as it has a dependency on OpenSim.Region.CoreModules.
Also, close a MemoryStream in a few places.
2009-03-11 07:38:35 +00:00
Dahlia Trimble
5cc372fab4
add a taint to SOP.UpdateShape() - addresses Mantis #3277
2009-03-11 04:13:35 +00:00
Mike Mazur
8606d7d126
Remove chained tests in BasicGridTest.cs.
...
It's good practice to isolate unit tests so their outcome (pass/fail)
does not depend on whether another test has been run/passed/failed. A
method is used to populate the DB independently for each test, and a
TearDown method cleans up the database after each test.
Also adding extra comment in C-style comment test.
2009-03-11 00:33:34 +00:00
lbsa71
1c70790a8f
* Cleanup and CCC (Code Convention Conformance)
2009-03-10 20:42:44 +00:00
lbsa71
91a096dca6
* Cleanup and CCC (Code Convention Conformance)
2009-03-10 20:27:41 +00:00
lbsa71
63a5a01945
* Cleanup and CCC (Code Convention Conformance)
2009-03-10 20:06:25 +00:00
lbsa71
a8ae02df4f
* Cleanup and CCC (Code Convention Conformance)
2009-03-10 19:55:59 +00:00
Justin Clarke Casey
dd28d6ceeb
* minor: reduce some code duplication in BaseHttpServer
2009-03-10 18:22:46 +00:00
Justin Clarke Casey
327720498e
* Enable test logging for TestSaveOarV0p2 to capture more information the next time this hiccups
2009-03-10 17:57:04 +00:00
Dr Scofield
fd9ba29a03
From: Alan M Webb <alan_webb@us.ibm.com>
...
Fix a null reference loophole in ScenePresence.
2009-03-10 15:54:00 +00:00
Dr Scofield
c6415ef71d
fixing out-of-sync error in BaseHttpServer
2009-03-10 15:51:17 +00:00
lbsa71
0df0258087
*** POTENTIAL BREAKAGE ***
...
* Finally got to the point where I could pull up the CustomiseResponse function. Major de-duplication.
* Introduced FromRegionInfo on RegionProfileData
* This revision needs both grid and standalone testing galore.
Work in progress!
2009-03-10 12:11:19 +00:00
lbsa71
1917238cd3
* Re-aligned CustomiseResponse function for imminent up-pulling
2009-03-10 11:47:34 +00:00
lbsa71
1956930e0d
* Removed unused and uncommented file
2009-03-10 09:20:27 +00:00
lbsa71
1b34b94331
* Refactored out Create() methods to ensure proper transformation between RegionProfileData and RegionInfo
...
* Created ToRegionInfo method, still not using it pending peer review.
* This is a preparatory commit for a subsequent login service refactoring.
2009-03-10 09:05:06 +00:00
Dr Scofield
973ba9c9b7
From: Alan Webb <alan_webb@us.ibm.com>
...
This commit fixes the attachment position problem described in
OpenSim Mantis 2841 (and a couple of duplicate tickets).
2009-03-10 06:14:29 +00:00
Dr Scofield
2dcc24cc83
From: Alan Webb <alan_webb@us.ibm.com>
...
Fix a rather significant error in the UpdateUserAccountMethod.
The request was failing to set user location and orientation
correctly.
2009-03-10 06:04:51 +00:00
Jeff Ames
112a1af3a6
Update svn properties, minor formatting cleanup.
2009-03-10 00:03:26 +00:00
Jeff Ames
278ae3477a
Thanks M1sha for a patch to reinstate the original functionality of the TreePopulatorModule.
...
Note that the planting command 'tree' has been changed to 'tree plant'. (#3264 )
2009-03-09 23:31:10 +00:00
Justin Clarke Casey
051096e8ae
* minor: remove some mono compiler warnings
2009-03-09 19:58:39 +00:00
Justin Clarke Casey
ae759f2d06
* Add basic asset cache get test
2009-03-09 19:40:32 +00:00
Justin Clarke Casey
1bf05a543c
* Move method documentation from AssetCache up to IAssetCache
...
* No functional changes
2009-03-09 18:35:26 +00:00
Justin Clarke Casey
ee73d72f1d
* Apply http://opensimulator.org/mantis/view.php?id=3280
...
* Some small syntax and refactoring tweaks for asset and inventory MSSQL
* This means the MSSQL db plugin now requires SQL Server 2005
2009-03-09 18:04:23 +00:00
Justin Clarke Casey
5a6bc26600
* Address http://opensimulator.org/mantis/view.php?id=3207
...
* A saved archive now immediately expires the data in the asset cache that it used, rather than retaining all the assets (esp textures) in the cache.
* This is an imperfect solution. Ideally we would only expire the assets newly requested for the archive (not existing ones). But doing that would require a lot more
restructuring.
* I don't believe there are any locking issues due to the locking performed by the underlying memory cache, but please report any issues.
2009-03-09 17:55:08 +00:00
Sean Dague
a2ff2e9000
* Added TXXX in front of unit tests to make sure they are running in the correct order. Although it might not make a difference here, this pattern should be followed to avoid further issues.
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-03-09 15:20:36 +00:00
Mike Mazur
5bee29e036
Refactor login test class.
...
There were multiple tests in one test method (T011_Auth_Login). This
test has been refactored into multiple tests. Common setup code was
placed into a SetUp method executed before each test.
2009-03-09 08:07:12 +00:00
Mike Mazur
66120f5a40
Fix tests broken in r8732.
...
Recent changes in the code handling login_to_simulator XMLRPC method
calls caused two tests to fail because not enough parameters were being
supplied with the method call. The parameters added in this patch work,
but I'm not sure whether they are actually correct or even relevant.
Diva, please look over this.
2009-03-09 07:29:53 +00:00
Mike Mazur
a2f07ecd2e
Implemented FetchAssetMetadataSet in DB backends.
...
This method fetches metadata for a subset of the entries in the assets
database. This functionality is used in the ForEach calls in the asset
storage providers in AssetInventoryServer. With this implemented,
frontends such as the BrowseFrontend should now work.
- MySQL: implemented, sanity tested
- SQLite: implemented, sanity tested
- MSSQL: implemented, not tested
- NHibernate: not implemented
2009-03-09 07:29:34 +00:00
Teravus Ovares
f9ebdee1d2
* Tweak llMoveToTarget per mantis 3265
...
* Add some comments to the Wind Module
* Add the BinBVH decoder/encoder as a scene object (to encode/decode animations programmatically).
* Add m_sitState for upcoming code to improve sit results.
2009-03-09 04:33:53 +00:00
diva
6f4051c932
Making the web_login_key code work, even if the LL Viewer doesn't support it. Other clients can launch the LL Viewer with something like this, for example:
...
Process.Start("C:\\Program Files\\SecondLife\\SecondLife.exe",
"-loginuri " + loginuri + "?web_login_key=" + web_login_key + " -login " + firstName + " " + lastName + " -multiple");
This requires a prior step for actually getting the key, which can be done like this:
http://localhost:9000/?method=login&firstname=barak&lastname=obama&password=123&show_login_form=FALSE
2009-03-08 23:17:49 +00:00
lbsa71
4f23718102
Thank you tlaukkan for a patch that: Upgraded to MXP 0.4 version and cleaned up field naming.
...
* Updated code to compile against MXP 0.4 version.
* Cleaned up field naming conventions.
* Added support for logging in with region name.
* Filled in new fields of JoinResponseMEssage.
* Added support for SynchronizationBeginEvent and SynchronizationEndEvent.
* Commented out periodic debug log.
* Added networking startup log messages.
This closes mantis #3277
2009-03-08 19:33:19 +00:00
Adam Johnson
2fa57a2970
Moving Windows Installer to forge.
2009-03-07 16:27:07 +00:00
Jeff Ames
385d3a467c
Minor formatting cleanup.
2009-03-07 16:16:00 +00:00
idb
93a697b24d
Correct a typo, purely cosmetic.
...
FixesMantis #3263
2009-03-07 14:39:42 +00:00
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
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
Jeff Ames
d81bc4b5f2
Avoid NRE if client sends unrecognized packet type.
2009-03-03 17:39:57 +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
Charles Krinke
dc314ee50c
Mantis#3249. Thank you kindly, Tlaukkan (Tommil) for a patch that:
...
* Removed compiler warnings
* Updated protobuf-net and MXP license files.
2009-03-01 19:33:12 +00:00
Dahlia Trimble
63992d92fe
Thanks tommil for mantis #3248 - a patch that adds support for avatar movement to MXP module.
2009-03-01 18:31:27 +00:00
Jeff Ames
808e4a847a
Update svn properties, add copyright headers, minor formatting cleanup.
2009-03-01 09:15:31 +00:00
MW
23a7af4538
Added check so Util.ReadSettingsFromIniFile doesn't try to set static fields.
2009-02-28 16:42:13 +00:00
MW
77b70759a6
Copied the Util.ReadSettingsFromIniFile method from the branch to trunk.
2009-02-28 16:13:20 +00:00
MW
7a2985b441
Changed it so only .ini file types are loaded from the (optional) config directory rather all files types in that folder.
2009-02-28 15:16:12 +00:00
MW
d6b8b41a5b
Applied Patch from mantis #3245 . Thanks tlaukkan/Tommil
2009-02-28 14:04:02 +00:00
MW
5626d43259
Changed the CreateCommsManagerPlugin so it requests a IRegionCreator and subscribes to the OnNewRegionCreated event on that interface rather than requesting the LoadRegionsPlugin directly.
...
Removed the reference to OpenSim.ApplicationPlugins.LoadRegions from the CreateCommsManagerPlugin project.
2009-02-27 17:03:27 +00:00
MW
d45fa9c2df
Added GridServerPlugin class (which implements IGridPlugin) to OpenSim.Grid.GridServer.Modules.
...
This class handles all the initialising of the grid server.
And made GridServer into basically a generic server that just loads plugins.
So this is a step towards having a generic server that loads service modules.
2009-02-27 15:57:09 +00:00