Johan Berntsson
068127bf57
Renamed splitID in Scene and added comments on usage
2009-04-15 04:07:41 +00:00
diva
e3d4814971
One less vulnerability in the HG: detecting foreign users trying to come in with local user IDs. If that happened by accident, too bad, foreign user can't come in with that ID. This test is a consequence of not having truly global names yet.
2009-04-14 22:24:26 +00:00
Homer Horwitz
2a321746fd
Fix a test-breakage introduced in r9144
2009-04-14 20:44:51 +00:00
diva
0413d052a3
Adds session authentication upon NewUserConnections. Adds user key authentication (in safemode only) upon CreateChildAgents. All of this for Hypergrid users too. This addresses assorted spoofing vulnerabilities.
2009-04-14 19:35:35 +00:00
Justin Clarke Casey
d0744f8eca
* Make archiver tests pump the asset server manually instead of starting the normal runtime thread
...
* This may eliminate the occasional archive test freezes, since they appeared to occur when somehow the asset server didn't pick up on the presence of a request in the asset
quque
2009-04-14 18:49:45 +00:00
diva
017faf0eff
Fix for minor bug introduced yesterday, HG only. Can't lookup the profile when we're looking up the profile...
2009-04-14 18:32:11 +00:00
Justin Clarke Casey
e1c449b492
* Change simple asset cache test to manually pump the asset server rather than relying on another thread
2009-04-14 17:44:10 +00:00
diva
2a49272b62
Changing the CAP seed to be the string representation of a full UUID, instead of a trunkated UUID.
2009-04-14 17:32:05 +00:00
Justin Clarke Casey
1894157dd3
* Explicitly start the asset server thread so that unit tests can run single rather than multi-threaded (which may be behind the occasional test freezes)
2009-04-14 17:15:09 +00:00
Justin Clarke Casey
ad2bd74057
* refactor: rename AssetCache.Initialize() to AssetCache.Reset() to avoid having Initialise() and Initialize() in the same class - very difficult to read.
2009-04-14 16:36:32 +00:00
Jeff Ames
cad0aab793
Formatting cleanup.
2009-04-14 11:38:33 +00:00
Jeff Ames
6e19fb8593
Add copyright headers.
2009-04-14 10:56:24 +00:00
Jeff Ames
fa29cf5c50
Update svn properties.
2009-04-14 10:00:13 +00:00
Teravus Ovares
d34d5eb3f7
* Adding some organization of vehicle type stuff in the ODEPlugin.
...
* Vehicles do NOT work. This is just organization and a bit of logical code to make doing vehicles easier
2009-04-14 09:03:18 +00:00
Melanie Thielker
a0417f5791
Thank you, Fly-Man, for a patch that adds the stub to handle the
...
avatar interests update.
2009-04-14 03:44:27 +00:00
Melanie Thielker
285dfe3055
Add the RegionLoaded(Scene) API to the new region module interface to allow
...
region modules to use another region module's interfaces and events in
a scene context
2009-04-14 03:22:02 +00:00
diva
6204f23230
This was needed for the prior commit.
2009-04-14 03:00:17 +00:00
diva
23c88c2f4d
Making OGS1UserServices friendly to subclassing.
2009-04-14 02:58:09 +00:00
diva
6bd89f7dad
Cleaning up old circuit upon client close.
2009-04-14 02:21:40 +00:00
Teravus Ovares
c2e75aecd1
* Commit a variety of fixes to bugs discovered while trying to fix the NaN singularity.
...
* WebStatsModule doesn't crash on restart. GodsModule doesn't crash when there is no Dialog Module. LLUDPServer doesn't crash when the Operation was Aborted.
* ODEPlugin does 'Almost NaN' sanity checks.
* ODEPlugin sacrifices NaN avatars to the NaN black hole to appease it and keep it from sucking the rest of the world in.
2009-04-14 01:57:35 +00:00
Teravus Ovares
ab83af0341
* Set eol-style: native on J2KImage.cs
2009-04-13 23:06:29 +00:00
Homer Horwitz
6db21bbf97
- Moved TerrainModule to the new region-module system.
...
- Fixed some locking issues. Either lock, or don't (if you don't have to). Only locking access half of the time won't work reliably.
- Had to adapt test helpers that use the "old" IRegionModule. TerrainModule isn't one anymore.
2009-04-13 21:23:33 +00:00
Homer Horwitz
b717f991ed
Remove m_moduleCommands. It wasn't used anywhere; probably a left-over from before ICommander times
2009-04-13 21:23:24 +00:00
Homer Horwitz
bcf31a76bb
Fix ordering of operations: First initialize everything, then add regions
2009-04-13 21:23:12 +00:00
Sean Dague
5ef6794165
make the asserts spit out messages about their test names
2009-04-13 21:04:50 +00:00
lbsa71
a7ed7665a6
* Changed all privates to m_ scheme
2009-04-13 20:05:12 +00:00
lbsa71
29355de6ee
* Some more experimental work on distributed assets. Nothing hotwired yet.
...
* Introduced preprocess step in FetchAsset (Might revert this later)
* Some minor CCC
* Added actual implementation of GetUserProfile( uri ) and the corresponding handler to OGS1.
* Introduced non-functioning GetUserUri( userProfile) awaiting user server wireup (this might move elsewhere)
2009-04-13 20:04:18 +00:00
Teravus Ovares
bd7d00db33
* Remove null reference exception in the J2KDecoderModule's J2K repair routine for when the asset we're looking up isn't an image at all. (did someone set the texture on the side of a primitive to some other kind of asset with the script engine?)
2009-04-13 16:06:53 +00:00
Teravus Ovares
9371df52cb
*Bypass J2kDecoder when asset is null
2009-04-13 15:18:38 +00:00
Sean Dague
532ae6d925
if Data is null, shortcut to client.SendImageNotFound, as any other
...
option at this point is going to give us a NullReferenceException
2009-04-13 15:08:06 +00:00
Sean Dague
15d39f33ca
scream out a bit warning if we failed to set default image
2009-04-13 14:52:29 +00:00
Sean Dague
b2e5f03942
catch for a null asset so we don't get an exception here, though this
...
probably just makes the decoder break somewhere else.
2009-04-13 14:52:23 +00:00
Sean Dague
58fd013929
put J2KImage into it's own file, please no doubling up on classes in
...
files
2009-04-13 14:52:14 +00:00
Melanie Thielker
cc86df4a3f
Thank you, dslake, for a patch that converts many of the linear searches
...
in SceneGraph to fast dictionary lookups.
Includes a regression fix for attachments by myself.
Fixes Mantis #3312
2009-04-12 15:18:04 +00:00
Melanie Thielker
87ce5ea0eb
Actually do what I promised in the previous commit :/
2009-04-12 12:49:59 +00:00
Melanie Thielker
9d31cfafb2
Funnel stored (offline) IMs through the Scene EventManager to make sure
...
they are processed by the modules rather than sent to the client
directly. Allows friends and group requests and responses to be saved, too
2009-04-12 12:44:41 +00:00
Melanie Thielker
2864c45678
Actually remove the script if it tries to remove itself.
...
Fixes Mantis #2929
2009-04-12 12:03:07 +00:00
Melanie Thielker
f6f3737fe8
Fix a regression where animations would only be sent if the avatar has
...
attachments. Convert base types to LSL types for event marshalling through
IScriptModule to avoid parameter errors.
2009-04-12 02:42:05 +00:00
Melanie Thielker
217b2d93ae
Adding a script event, changed(CHANGED_ANIMATION)
...
This is sent to all root prims of all attachments of an avatar when the
animation state changes. llGetAnimation() can thenbe used to find the
new movement animation. This eliminates the need for fast timers in AOs
2009-04-11 16:51:27 +00:00
Adam Frisby
b8619386eb
* Minor MRM Cleanup
...
* Interfaces now live in Interfaces subdirectory.
* Namespace does not yet reflect this change.
* Final namespace for MRMs will probably sit somewhere around OpenSim.Extend.MRM[?]
2009-04-11 10:21:04 +00:00
idb
988737b182
Correct Opensim.ini.example to reflect the default settings for clouds.
...
Fixes Mantis #3421
Change the agent/avatar events subscriptions to just OnNewClient. The data only needs to be sent once and keeping track of log ins/movements is not required. This will also send cloud data to child agents so that they can see clouds above neighbouring regions not just regions that they have visited.
2009-04-11 10:18:20 +00:00
Teravus Ovares
2dca78b2bf
* BulletDotNETPlugin supports Axis lock (LLSetStatus) from the script engine now.
2009-04-11 03:04:08 +00:00
Teravus Ovares
827117f0b1
* Add catch-all error handlers back to scene.
2009-04-11 00:12:57 +00:00
Teravus Ovares
53026affb3
* Instead of referencing mesh stuff in the physics plugin.. change the IMesh Interface. (blame prebuild)
2009-04-11 00:11:54 +00:00
Teravus Ovares
474b982eba
* Adds Physical/Active Linkset support to BulletDotNETPlugin
2009-04-10 23:26:42 +00:00
Melanie Thielker
3307f21706
Add XmlRpcGridRouter, a module that communicates URIs for XMLRPC channels
...
to a central server via REST, for centralized XMLRPC routing.
2009-04-10 22:05:37 +00:00
Melanie Thielker
a7de0ae9ec
Make the scrpt engines ignore any script that begins with //MRM:
2009-04-10 21:44:27 +00:00
Melanie Thielker
ae6f265729
Add an optional region module which will supply a script event,
...
xmlrpc_uri(string) in response to a OpenRemoteDataChannel call. The string
is the fully qualified URI to post XMLRPC requests for that script to.
2009-04-10 21:26:36 +00:00
Melanie Thielker
8902923b12
Introduce IXmlRpcRouter, an interface that allows registering XMLRPC
...
UUIDs with a central marshaller for grids, or publish the ULS for objects
elsewhere.
2009-04-10 21:08:33 +00:00
Melanie Thielker
b43226019a
Expose the XMLRPC listener port on the IXMLRPC interface to allow
...
publication
2009-04-10 19:27:47 +00:00
Melanie Thielker
0377ddb5de
Add events to IScriptEngine to notify scripting modules of the removal
...
of objects from the scene, and of scripts from objects. This facilitates
the development of modules that can register prims with externall servers
for inbound email and XMLRPC. Currently implemented in XEngine only.
Also applying cmickeyb's compiler locking patch, since it seems risk-free.
2009-04-10 19:07:41 +00:00
Melanie Thielker
292672675a
Thank you, OwenOyen, for a patch that corrects the behavior of llRot2Euler.
...
Committed with comment changes.
Fixes Mantis #3412
2009-04-10 17:26:00 +00:00
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