Commit Graph

6767 Commits (8ebd5b409ac85a3370b02c302efb4d24562b0f6e)

Author SHA1 Message Date
Justin Clarke Casey b71d68c9bc * Change static field "initialized" in RestInterregionComms to an instance field
* This was the cause of teleport tests interfering with each other
2009-02-13 20:12:11 +00:00
Justin Clarke Casey d307109e1a * refactor: move alert commands from Scene to DialogModule 2009-02-13 19:03:18 +00:00
Justin Clarke Casey a46c9b0eea * Quieten down log messages from the Friends module 2009-02-13 18:02:24 +00:00
Justin Clarke Casey d31810d548 * add file missing from last commit 2009-02-13 17:41:48 +00:00
Justin Clarke Casey 92232663e4 * refactor: Move LazySaveGeneratedMapTile from scene to WorldMapModule 2009-02-13 17:40:52 +00:00
Justin Clarke Casey 3b147f814f * Remove old Scene.CreateTerrainTexture code that is now handled by the world map module 2009-02-13 17:15:49 +00:00
Justin Clarke Casey 42bd38960c * Apply http://opensimulator.org/mantis/view.php?id=3149
* If the texture does not contain any discard levels the last image packet was not sent
* Thanks Snowdrop
2009-02-13 17:02:26 +00:00
Justin Clarke Casey 88b273bc71 * refactor: Move export map function to world map module from scene 2009-02-13 16:43:20 +00:00
Dr Scofield 6600a7a9bc fixing crash due to make-child and make-root stepping on each other's toes 2009-02-13 16:11:52 +00:00
diva 1b4a615690 Commented the tests for region crossings for now -- they need to be substantially changed because of the callback from region B triggered by the client. 2009-02-13 04:08:28 +00:00
diva 96113e5660 And finally... region crossings entirely over RESTComms/LocalComms. No more remoting for agent movements. WARNING: This breaks region crossing compatibility with previous versions. 2009-02-13 03:45:08 +00:00
Jeff Ames 163c1026d1 Fix some compiler warnings. Minor formatting cleanup. 2009-02-13 02:52:08 +00:00
Jeff Ames 95d53d48d4 Add copyright headers. Minor formatting cleanup. Fix some compiler warnings. Fix some m_log declarations. 2009-02-13 02:06:28 +00:00
diva a54758eef3 Bug fix in prim crossing: making it clear when the local object needs to be cloned (regions on the same instance) and when it doesn't (regions on different instances). 2009-02-13 00:49:58 +00:00
Mike Mazur ebf268a593 Remove extra ID field from asset DB mapping. Mantis #3122, fixes Mantis #3080. 2009-02-13 00:02:26 +00:00
diva ad1e2e0b8b Fixes a bug in the ScenePresence test itself. 2009-02-12 23:38:41 +00:00
diva 7a274a7e1d Makes region crossings asynchronous. Moved the bulk of the original code out of ScenePresence and into SceneCommunicationService, where it should be (next to RequestTeleportToLocation). No changes in the crossing mechanism itself, yet. But this change opens the way to doing crossings as slowly as it needs to be, outside the simulator Update loop.
Note: weirdnesses may occur!
2009-02-12 23:23:44 +00:00
Justin Clarke Casey 9177f28710 * Make it possible to load and save inventory archives while a user is not logged in on standalone mode but not on grid mode
* No user functionality yet
2009-02-12 19:54:19 +00:00
Sean Dague 5959e42683 large scale fix for svn props after "the great refactor" 2009-02-12 18:59:45 +00:00
Justin Clarke Casey 6db1f3c6a6 * Lock remaining m_rpcHandlers use since these accesses are not guaranteed to be thread safe 2009-02-12 18:54:48 +00:00
diva 8ed9c3b8cd Commented a couple of not very useful log messages that are cluttering the log in sims that have objects belonging to foreign users. 2009-02-12 18:43:49 +00:00
Justin Clarke Casey e2b2ac8715 * Remove a change which shouldn't have made it into the last commit
* Rogue change affected grid only
2009-02-12 18:37:27 +00:00
Justin Clarke Casey 34ef01615c * Add missing OpenSIm.Framework.Communications ref for Wdinwos builds 2009-02-12 18:31:56 +00:00
Justin Clarke Casey d29e0498ff * Apply http://opensimulator.org/mantis/view.php?id=3138
* Adds a GetXmlRPCHandler() to the BaseHttpServer
* Thanks mpallari
2009-02-12 18:01:29 +00:00
Justin Clarke Casey f74326c1b0 * move userinfo for inventory archiving up to module class so that it only has to be done once 2009-02-12 17:41:09 +00:00
Justin Clarke Casey e7427f21bd * Remove some pointless CachedUserInfo != null tests since these are already made in earlier code 2009-02-12 17:17:04 +00:00
Justin Clarke Casey 31ca3a8d4d * refactor: Move RequestInventoryForUser() from service to CachedUserInfo
* This simplifies callers in most cases - CachedUserInfo is already handling the rest of the fetch inventory work anyway
2009-02-12 17:07:44 +00:00
Sean Dague 058ec414b4 * Added XEngine tests and gathered other ScriptEngine
Tests together

From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-02-12 17:02:54 +00:00
lbsa71 84d56bc515 * Some more CCC 2009-02-12 10:30:53 +00:00
lbsa71 6187888456 * Renamed RegionProfileService to RegionProfileServiceProxy to better reflect actual use.
* Added IRegionProfileService
2009-02-12 10:21:21 +00:00
lbsa71 c3a4810e91 * Turned RegionProfileService non-static 2009-02-12 10:16:11 +00:00
lbsa71 792b7cba2f * Applied some CCC (Code Convention Conformance) 2009-02-12 10:08:47 +00:00
lbsa71 fa796308c3 * Added RegionProfileService and moved RequestSimData to it. 2009-02-12 10:05:15 +00:00
lbsa71 801da4346a * optimized usings. 2009-02-12 09:53:12 +00:00
Dahlia Trimble d21601d497 Thanks Kitto Flora for a patch that adds automatic min fly height to ODE - Mantis #3134 2009-02-12 07:58:10 +00:00
diva 4ee99e2aab Sending this to Justin, so that he can see what's wrong with the StandaloneTeleportTests when we add RESTInterregionComms module to the ScenePresenceTests. 2009-02-12 04:26:13 +00:00
diva 98bfeabf94 Makes ban of HG users exactly the same as ban of local users, that is upon AddClient and not before. 2009-02-12 02:03:36 +00:00
diva 5dae1ddb5a Fixes mantis #3121. 2009-02-12 01:09:51 +00:00
diva b6e7e5ed42 Enforce estate bans on Teleports. 2009-02-11 21:07:41 +00:00
Justin Clarke Casey 83105211bc * minor: remove some mono compiler warnings 2009-02-11 20:36:17 +00:00
Justin Clarke Casey 9b6035c2a6 * When an inventory archive is loaded, immediately update the client's inventory if that client is online at that region server
* Not useable yet
2009-02-11 20:24:41 +00:00
Justin Clarke Casey 8645c7482d * Change SendBulkUpdateInventory from two methods to one which accepts an InventoryNode 2009-02-11 19:57:45 +00:00
Justin Clarke Casey e12981ef1b * Establish a common InventoryNodeBase class from InventoryItemBase and InventoryFolderBase 2009-02-11 19:29:59 +00:00
Justin Clarke Casey 162a59ba17 * Refactor inventory archive code to allow direct invocation in order to support future unit tests
* Add a file I missed out from the last commit (the build was probably fine without it)
2009-02-11 18:46:51 +00:00
Justin Clarke Casey 04d6a810b6 * More inventory archive invocation to a proper region module
* Not ready for use yet
2009-02-11 17:34:12 +00:00
Charles Krinke 6b187ae196 Thank you kindly, FrankNichols for a patch that:
The following patch fixes http://opensimulator.org/mantis/view.php?id=3107 
[^] by changing call from setRot to llSetRot, the later handles 
child prim being rotated relative to root prim in linked set.
2009-02-11 16:01:56 +00:00
Dr Scofield f70e580f86 From: Christopher Yeoh <yeohc@au1.ibm.com>
This changeset add the RegionReady module code. The module sends a
message on a configurable channel when an oar file has finished
loading or if the script engine has emptied its queue for the first
time (eg server startup). Config is something like this:

[RegionReady]
enabled = true
channel_notify = -800

The module also knows if there was an error with startup.
2009-02-11 14:35:07 +00:00
Melanie Thielker c754160dee If an instance contains only one region, select it in the console by default 2009-02-10 23:40:22 +00:00
Sean Dague 83347360c3 fix a typo where the High Southwest height was getting set to the Low
Southwest height
2009-02-10 23:31:49 +00:00
Melanie Thielker 9bfbfa381a Add proper handling for shared vs. unshared modules to the command
interface. Shared modules will now only get added once, so the command
handler is called once per module, not once per scene. Removal of scenes
has no adverse effects. Nonshared modules will be called for each scene.
2009-02-10 23:15:48 +00:00
diva b4be9baa4a Fixes the problem of attachment offset after crossings/TPs. Hopefully it fixes mantis #3126, as well as other random displacements. The problem was that the new object at the receiving region was being marked as attachment before AttachObject was called. That made its AbsolutePosition be the position of the avie, and that was what was being given to AttachObject. 2009-02-10 22:54:05 +00:00
Justin Clarke Casey 8c157a7aae * Remove load and save inventory commands from the console since these are actually experimental and the storage format may soon undergo incompatible changes
* If you were using these please uncomment the code before rebuilding, but be aware that old files may become incompatible soon
2009-02-10 19:33:09 +00:00
Justin Clarke Casey bd4955468e * minor: Remove SOG XML2 serialization log messages for now 2009-02-10 19:00:10 +00:00
Justin Clarke Casey 0cd5a353cf * Stop OpenSim crashing if an exception from a command makes it right up to the top of the stack 2009-02-10 18:50:25 +00:00
Justin Clarke Casey 25bc7a44cd * Implement merging of oars in code
* Not fully tested yet and not yet available as an option from the user console
2009-02-10 18:43:36 +00:00
Justin Clarke Casey 879338499f * extend load oar test to check that an object was actually loaded 2009-02-10 16:56:35 +00:00
Justin Clarke Casey 566bc33824 * Fix build break, parentheses in the wrong place 2009-02-10 15:46:38 +00:00
Justin Clarke Casey 5b7a5696e5 * Overwrite the old saved OpenSim.ini file saved in response to a crash if one already exists 2009-02-10 15:35:41 +00:00
Melanie Thielker 87f328bd30 Change the command parser and resolver to be able to disambiguate commands
that are a prefix of another command. Fixes "terrain load"
Fixes Mantis #3123
2009-02-10 14:39:04 +00:00
Dr Scofield a99285ecc6 fixing ConciergeModule to follow coding conventions 2009-02-10 14:32:23 +00:00
Sean Dague ac6657d0f1 From Rob Smart <SMARTROB@uk.ibm.com>
In SL if llAbs() is called with the minimum integer value of -2147483648
it will return that value untouched without error.

this patch replicates the SL functionality.

OpenSim currently throws an overflow exception: number too small under
mono or a "System.OverflowException: Negating the minimum value of a
twos complement number is invalid. " under .NET
2009-02-10 13:36:42 +00:00
Dr Scofield 180be7de07 this is step 2 of 2 of the OpenSim.Region.Environment refactor.
NOTHING has been deleted or moved off to forge at this point.  what
has happened is that OpenSim.Region.Environment.Modules has been split
in two:

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

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

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

      OptionalModules/Avatar/Chat/IRC-stuff
      OptionalModules/Avatar/Concierge
      OptionalModules/Avatar/Voice/AsterixVoice
      OptionalModules/Avatar/Voice/SIPVoice
      OptionalModules/ContentManagementSystem
      OptionalModules/Grid/Interregion
      OptionalModules/Python
      OptionalModules/SvnSerialiser
      OptionalModules/World/NPC
      OptionalModules/World/TreePopulator
2009-02-10 13:10:57 +00:00
Melanie Thielker a1393db7f0 Stopgap measure: To use gridlaunch, or GUI, start opensim with
OpenSim.exe -gui=true
2009-02-10 12:25:29 +00:00
diva 08ef0ddd22 Commented out a problematic test that needs more careful revision. 2009-02-10 00:15:30 +00:00
diva d9d5a56f1d Fixes a failed unit test on ScenePresences tests. That test unit needs some fixing too. 2009-02-09 23:12:49 +00:00
Jeff Ames a3d14832af Update svn properties, minor formatting cleanup. 2009-02-09 22:49:05 +00:00
diva 2c685bff14 Moved prim crossing out of OGS1 and into RESTComms and LocalInterregionComms. This breaks interregion comms with older versions in what concerns prim crossing. In the process of moving the comms, a few things seem to be working better, namely this may address mantis #3011, mantis #1698. Hopefully, this doesn't break anything else. But I'm still seeing weirdnesses with attchments jumping out of place after a cross/TP.
The two most notable changes in the crossing process were:
* Object gets passed in only one message, not two as done before.
* Local object crossings do not get serialized, as done before.
2009-02-09 22:27:27 +00:00
Charles Krinke 29f54db90a Thank you kindly, TLaukkan (Timmil) for a patch that:
* Fixed and added athursv's BasicEstateTest
* Added MySQLEstateTest
* Added SQLiteEstateTest
2009-02-09 22:07:27 +00:00
Sean Dague b7cc4d73b7 oops, missing file from last patch set 2009-02-09 22:04:43 +00:00
Sean Dague 8088802c21 From Alan Webb <awebb@linux.vnet.ibm.com>
These changes replace all direct references to the AssetCache with
IAssetCache. There is no change to functionality. Everything works as
before.

This is laying the groundwork for making it possible to register
alternative asset caching mechanisms without disrupting other parts of
OpenSim or their dependencies upon AssetCache functionality.
2009-02-09 21:47:55 +00:00
Charles Krinke 70051278c4 Thank you kindly, TLaukkan (Tommil) for a patch that:
* Updated migration scripts and hbm.xml so that nhibernate tests work.
2009-02-09 21:44:39 +00:00
Justin Clarke Casey a034b640da * Add the ability to type help <command> for more detailed help about a specific command if any is available 2009-02-09 20:52:04 +00:00
Sean Dague 66dc421be7 a last set of files that seem to have embedded ^M in them 2009-02-09 20:06:06 +00:00
Justin Clarke Casey d1d93fae6c * Restore show information for the OpenSim region server (version, info, threads, etc.) 2009-02-09 18:11:09 +00:00
Justin Clarke Casey eddcf620d8 * Apply http://opensimulator.org/mantis/view.php?id=3080
* Changes the NHibernate asset mapping and expose FullID on AssetBase for NHibernate
* mikem has seen this patch :)
2009-02-09 17:31:03 +00:00
Justin Clarke Casey 828049ac8f * Apply http://opensimulator.org/mantis/view.php?id=3094
* Add NHibernate PostgreSQL database tests.  
* Tests not yet being run as the PostgreSQL module is not yet fully functional
2009-02-09 17:02:10 +00:00
Melanie Thielker 2fe9915951 Reinstate the KickUserCommand handler, which was commented out by
another dev whiel I was putting the reference to it back in
2009-02-09 16:34:21 +00:00
Melanie Thielker 8a9128ccce Correct a delegate in OpenSim.cs
Fixes Mantis #3117
2009-02-09 16:21:13 +00:00
Justin Clarke Casey f95b8b3863 * Reinstate tests that are now in CoreModules 2009-02-09 15:57:53 +00:00
Sean Dague 56318f97bf * Fixing refactoring +1 (Fixes Mantis #3113)
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-02-09 15:40:31 +00:00
Dr Scofield b1739cbbfd fixing warnings. 2009-02-09 10:40:12 +00:00
Dr Scofield 07804f6937 This patch implements llLookAt to the extent that an object will correctly
rotate and point to the target, however it doesnt yet use the damping or
strength parameters.

From: Robert Smart <smartrob@uk.ibm.com>
2009-02-09 10:04:54 +00:00
Dr Scofield 11f0ac88ee fixing refactoring artefact. (fixes mantis #3113) 2009-02-09 09:45:09 +00:00
Dr Scofield a89d097355 starting phase 2 of the OpenSim.Region.Environment commit: relocating
OpenSim.Region.Environment.Modules.Agent en bloc to OpenSim.Region.CoreModules
2009-02-09 09:16:15 +00:00
Mike Mazur 9a33a4733e Thanks Tommi Laukkanen for a patch that allows the
CSCodeGeneratorTest.TestStringsWithEscapedQuotesAndComments unit test to
pass on Windows. Fixes Mantis #3104.
2009-02-09 00:59:02 +00:00
Mike Mazur d01fffb8b5 Remove unused OpenSim/Data/{DataStore,InventoryData}Base.cs. 2009-02-09 00:34:01 +00:00
Mike Mazur 369eef5fcd The DataPluginFactory is now a set of generic methods instead of
multiple duplicates of the same code.
2009-02-09 00:33:44 +00:00
Teravus Ovares d85fce99f4 * Once again, fixing linked prim collisions by putting AbsolutePosition = AbsolutePosition; back in the linking routine. Why was it removed? It's critical to the physics scene.
* Fixes mantis #3108
2009-02-08 18:05:12 +00:00
Teravus Ovares c0c330988f * Some minor cleanup
* sealed OdeScene
2009-02-08 17:41:15 +00:00
Teravus Ovares 26ca3e26bf Reverts patch from tuco/mikkopa/sempuki mantis #3072 2009-02-08 17:25:02 +00:00
Dahlia Trimble 8cc327cfa3 send group name in binary bucket in chatterbox invitation eventqueue message 2009-02-08 10:50:22 +00:00
Teravus Ovares b60931b686 * Limit the total number of joints created per frame to the maximum possible without causing a stack collision.
* This fixes crashing on large sets of physical prims because of stack collisions (assuming you follow the directions on linux for starting ode with ulimit).   After the maximum joints are created, objects will start to fall through the ground and be disabled.   Not the best solution, but it's better then a crash caused by a stack collision with the process exceeding the maximum available memory/recursions per thread.
* Make a clean region, make a stack of 5000 prim, 20 layers high.  Make them physical, *SLOW*, but no crash.
2009-02-08 03:02:43 +00:00
Teravus Ovares 08a9a85376 * Fixes colliding with the terrain lower then 0 and higher then 256m
* The actual AABB of the heightfield on the Z is now determined by the minimum and maximum heightfield value in the terrain array (assuming it's a reasonable number).  This might optimize collisions in simulators that have a small difference between minimum and maximum heightfield values.
2009-02-08 01:05:09 +00:00
diva 665269a277 * Removed the duplicate AddCapsHandler that existed in ScenePresence.MakeRootAgent; CAPs are already in place when this runs.
* Moved MoveAgentIntoRegion further down in the CompleteMovement method.
* changed a couple of methods from protected to public in SceneCommunicationService
2009-02-08 00:54:56 +00:00
diva 0031489072 Bug fix related to the filling out the remoting port in RegionInfo. It still must be there because of attachments. 2009-02-07 23:51:30 +00:00
lbsa71 262acf61c4 * Refactored UserLoginService.CustomiseResponse to be (almost) text-wide identical to LocalLoginService.CustomiseResponse in order to be able to pull them up. 2009-02-07 20:16:58 +00:00
Charles Krinke 63fd4c0fb2 Thank you kindly, TLaukkan (Tommil) for a patch that:
Created nunit test for LSL API and example test for 
llAngleBetween which was marked untested in wiki. 
Run new test succesfully with NUnitGUI and nant build.
2009-02-07 18:11:04 +00:00
diva ff0fa12903 Adds support for HG linking to specific regions within an instance. The format is Host:Port:Region. Refactored the linking code from MapSearchModule to HGHyperlink, so that it can be used both by the MapSearchModule and the Console command. 2009-02-07 16:10:23 +00:00
Melanie Thielker e4ab15ccb1 Fix a .NET issue where changing a locked reference would cause a crash 2009-02-07 15:51:00 +00:00
Sean Dague 6bd2979486 the parameters for llAtan2 were inverted before passing to Math.
Thanks to Rob Smart for pointing this out.
2009-02-07 13:16:27 +00:00
Melanie Thielker 54c6a920ba Replace the console for all OpenSim apps with a new console featuring command
line editing, context sensitive help (press ? at any time), command line
history, a new plugin command system and new appender features thet let you
type while the console is scrolling. Seamlessly integrates the ICommander
interfaces.
2009-02-07 12:25:39 +00:00
lbsa71 4d4402158e Thank you dslake for a patch that:
* fixes mantis #3092: User Server sets agent starting position to passed x/y/x instead of x/y/z
2009-02-07 09:45:56 +00:00
Justin Clarke Casey a6b21a3b83 * minor: Apply second patch from http://opensimulator.org/mantis/view.php?id=3089
* This adds more explanation for the new proxy settings in OpenSim.ini.example
* Also does some formatting correction
* I did some additional reformatting on top of that
2009-02-06 21:56:50 +00:00
Justin Clarke Casey fae20712a9 * reinstate OpenSim/Region/Framework/Scenes/Tests
* should bring us back up to 240 tests
2009-02-06 21:37:10 +00:00
Justin Clarke Casey 84659396b8 * Make the module loader display which module failed if there was a loading problem
* Such failures are now fatal to grab the user's attention.
* However, they could be made non-fatal (just with a loud error warning) if this proves too inconvenient
2009-02-06 19:12:04 +00:00
Justin Clarke Casey 00a3cbd6fa * Implement help <command> from the region console
* So at the moment once can type 'help terrain fill' as well as 'terrain fill help'
* Current implementation is a transient hack that should be tidied up soon
2009-02-06 18:18:01 +00:00
Dr Scofield 9b66108081 This changeset is the step 1 of 2 in refactoring
OpenSim.Region.Environment into a "framework" part and a modules only
part. This first changeset refactors OpenSim.Region.Environment.Scenes,
OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces
into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region
modules in OpenSim.Region.Environment.

The next step will be to move region modules up from
OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and
then sort out which modules are really core modules and which should
move out to forge.

I've been very careful to NOT BREAK anything. i hope i've
succeeded. as this is the work of a whole week i hope i managed to
keep track with the applied patches of the last week --- could any of
you that did check in stuff have a look at whether it survived? thx!
2009-02-06 16:55:34 +00:00
lbsa71 3bc6eb1ff0 * removed superfluous constants class 2009-02-06 15:01:20 +00:00
Dahlia Trimble 3465447e17 more eventqueue endian madness 2009-02-06 09:58:23 +00:00
Dahlia Trimble 5cef64f564 move RegionDenyAgeUnverified parameter to AgeVerificationBlock in parcel properties event queue message. Addresses Mantis#3090 2009-02-06 08:53:30 +00:00
Dahlia Trimble 28820e6185 Thanks cmickyb for a patch (Mantis#3089) that adds support for proxy in http requests 2009-02-06 01:25:59 +00:00
Justin Clarke Casey f8c372721b * minor: remove mono compiler warning 2009-02-05 22:03:23 +00:00
Justin Clarke Casey fae5d25e82 * Apply http://opensimulator.org/mantis/view.php?id=3056
* Clamps negative values to zero when a terrain is exported in LLRAW format, since LLRAW doesn't support negative values.
* Thanks jonc!
2009-02-05 21:54:22 +00:00
Justin Clarke Casey 10aa027ec8 * Remove CommanderTestModule as there are several normal modules which effectively fulfil this function 2009-02-05 21:46:57 +00:00
Justin Clarke Casey 3027b6ad27 * cheap hack to make module help information more accurately reflect what command text needs to be typed
* Should disappear soon
2009-02-05 21:46:04 +00:00
Justin Clarke Casey 732cd838b1 * Make existing module commanders register as help topics
* Typing help will now give a list of these topics at the top (as well as the rest of the current help stuff)
* Typing help <topic> will give information about commands specific to that topic
2009-02-05 21:35:59 +00:00
Justin Clarke Casey 9a666bda02 * Use the commander name to register module commanders instead of providing the information twice 2009-02-05 19:54:22 +00:00
Justin Clarke Casey 65448cd02d * refactor: Split out module Command class into a separate file 2009-02-05 19:34:23 +00:00
Justin Clarke Casey 18100eee50 * Remove unused region info list from OpenSimBase.
* The same information is available via SceneManager
2009-02-05 18:47:39 +00:00
Justin Clarke Casey d04025ff3d * refactor: Move module handling code up into SceneBase from Scene, reducing the large number of different things that Scene does 2009-02-05 18:36:53 +00:00
Sean Dague efcf00ee60 From: Christopher Yeoh <yeohc@au1.ibm.com>
This patch fixes the problem where if an object containing a script is
deleted at the same time as an object containing the same script is
rezzed, it can result in the assembly file being deleted after the
second object script initialisation has found it but not started using
it yet, resulting in the script not starting up.
2009-02-05 16:12:51 +00:00
Teravus Ovares 2a998d6cd7 * Add the second version of the experimental ObjectAdd Cap. It will handle both versions currently. 2009-02-05 13:43:36 +00:00
Teravus Ovares 8f31210432 * Committing an experimental ObjectAdd module. Intended to work with http://jira.secondlife.com/browse/VWR-8049 .
* Catherine contacted us and gave us a LLSD dump to study for implementation.
* Still needs to be tested.  May not produce expected results.
2009-02-05 06:44:46 +00:00
Justin Clarke Casey 577064fb9d * minor: remove deprecated and unused terrain method from SceneManager
* other minor tidy up
2009-02-04 20:37:20 +00:00
Justin Clarke Casey a1da605706 * Introduce a new "default" option for asset_database in the [STORAGE] section
* This option makes OpenSim use the usual db based asset service in standalone, and the grid based one in grid mode
* The other options can (local, grid, etc) can still be used explicitly as before
* Also change OpenSim.ini.example and the surrounding explanative text
2009-02-04 18:56:12 +00:00
diva be3e676d33 Addresses a race condition that happened between the viewer and the departing region wrt the creation of the child agent in the receiving region, and that resulted in failed TPs. 2009-02-04 16:31:48 +00:00
MW 8d6bd1b650 Added a ForceSceneObjectBackup method to Scene, which as it says forces a database backup/update on the SceneObjectGroup.
This is now called at the beginning of DeRezObject, so we know the database is upto date before we attempt to delete a object. 
Fix Mantis #1004 
Which happened because Database backups don't happen if a object is still selected, so when you select a part in a link-set and then unlink it and then delete it, all without unselecting the prim at all. The unlink changes never get updated to the database. So then when the call to delete the prim from the database happens, which is called with the SceneObjectId. That SceneObjectId is never found, as the database still has that prim as part of another link set. 
It is possible that these changes might have to be reverted and for us to find a different method of fixing the problem. If the performance overhead is too high or it causes any other problems.
2009-02-04 16:00:39 +00:00
diva cf1fd7de4a Closing the requestStream and setting a 10 sec timeout for getting it. 2009-02-04 13:13:47 +00:00
Mike Mazur 0c03a48fb2 - add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of it
- trim trailing whitespace
2009-02-04 00:01:36 +00:00
Justin Clarke Casey 1adb8c33b2 * Add another object to the existing save oar test 2009-02-03 20:45:18 +00:00
Justin Clarke Casey 1c0df5e40f * Address http://opensimulator.org/mantis/view.php?id=3076 by actually eliminating the redundant enable = true commented example
* Comment out some startup verbosity from the module if we haven't enabled it
2009-02-03 20:16:15 +00:00
Justin Clarke Casey 2009d1aa01 * Fission SceneObjectTests into basic and linking sets 2009-02-03 20:13:34 +00:00
Justin Clarke Casey 984cf94375 * Lock the parts for the old group while we're clearing it as well - not much point doing one without the other
* Shouldn't result in any deadlocks as I don't think there are any locks in the calling code
2009-02-03 19:36:57 +00:00
Justin Clarke Casey cff7664a37 * Mark the old group after linking as deleted
* Add unit test assertions to check this
2009-02-03 19:13:17 +00:00
diva 4ea2749b37 OK, commenting the return again :-/ 2009-02-03 19:03:01 +00:00
Justin Clarke Casey b2de0a3ae6 * Now clearing parts list in the old group after a link has occurred
* Adjusted existing link tests to reflect this and added some new assertions
2009-02-03 18:48:04 +00:00
Justin Clarke Casey 35f9f2545d * Lock parts while they're being duplicated to prevent possible race conditions with other parts changers
* This shouldn't provoke any deadlocks since the callers aren't taking any other locks beforehand
2009-02-03 18:06:24 +00:00
Justin Clarke Casey a9e76ce847 * minor: remove some pointless assignments in SOG.Copy() that had already been done by MemberwiseClone() 2009-02-03 17:50:25 +00:00
Teravus Ovares c80733cc98 * Fixes mantis #3070 2009-02-03 14:11:52 +00:00
Mike Mazur 949ae6136e Change access levels from private to protected to facilitate
subclassing; also add new method signatures. Thanks tuco and mikkopa.
Fix Mantis #3072.
2009-02-03 08:31:08 +00:00
Mike Mazur 52deb50884 Embed OpenSim.Data.addin.xml as a resource into OpenSim.Data.dll. 2009-02-03 05:20:52 +00:00
Mike Mazur d259238c74 - moved data plugin loading code from various places to
OpenSim/Data/DataPluginFactory.cs
- removed dependencies on a few executable assemblies in
  bin/OpenSim.Data.addin.xml
- trim trailing whitespace
2009-02-03 05:20:44 +00:00
Mike Mazur d3eae4073e - move OpenSim/Framework/IUserData.cs to OpenSim/Data/IUserData.cs
- trim trailing whitespace
2009-02-03 05:20:35 +00:00
Mike Mazur 9377c6f2b2 - move OpenSim/Framework/IInventoryData.cs to
OpenSim/Data/IInventoryData.cs
- trim trailing whitespace
2009-02-03 05:20:26 +00:00
Mike Mazur e12b0a2496 - move IAssetDataPlugin from OpenSim/Framework/IAssetProvider.cs to
OpenSim/Data/IAssetData.cs
- remove some trailing whitespace
2009-02-03 05:20:16 +00:00
Mike Mazur f8e45e8e98 Rename IAssetProviderPlugin to IAssetDataPlugin aligning with the other data plugins. 2009-02-03 05:20:03 +00:00
Justin Clarke Casey 2c2f10e156 * Establish OnOarFileSaved EventManager event and subscribe to that instead of passing in a waithandle to the archiver
* This matches the existing OnOarFileLoaded event
* This brings up the question of how these things can be made generic so that they don't have to be tied into EventManager, but that's a topic for another day
2009-02-02 20:59:12 +00:00
Justin Clarke Casey 13a5243d76 * As per http://opensimulator.org/mantis/view.php?id=3065
* Copy OpenSim.ini to _OpenSim.ini on crash instead of opensim.ini
* This makes it work on Linux/Mac(?) as well as Windows
2009-02-02 20:01:50 +00:00
idb 49946cb7aa Restore llGetSunPosition to its former self.
Fixes Mantis #2195
2009-02-02 19:20:12 +00:00
Justin Clarke Casey 176920f8d3 * Make it more obvious that there is an enabled switch for chat in OpenSim.ini.example.
* Add default information for other chat settings
2009-02-02 17:27:23 +00:00
Justin Clarke Casey 6f9c1e3bcc * Stop the instant message module from trying to register for the message transfer module in PostInitialise() if it hasn't actually been enabled 2009-02-02 17:22:20 +00:00
Justin Clarke Casey e0cef010f3 * Small tweak to move name replacement in friendship offer since server side requests don't want the lookup 2009-02-02 17:19:57 +00:00
Dr Scofield 3682212fbf [previous VectorRender patch was from: Robert Smart
<SMARTROB@uk.ibm.com>]

clean up.
2009-02-02 14:57:20 +00:00
lbsa71 8a098bf12c * Minor refactoring and comments updates
* Ignored some gens
2009-02-02 14:57:01 +00:00
Dr Scofield 7ec667d279 [patching previous patch and also taking the chance of fixing the
previous commit message]

This patch reimplements the Draw method in the VectorRenderModule which is
used to create dynamic textures.

The previous version was limited to creating square dynamic textures, it
also didnt allow for dynamically loading an image containing transparency
except at 256x256.

The extraParams string in such functions as osSetDynamicTextureData can
now be passed a comma seperated string of name value pairs which set the
width,height and alpha value of dynamic textures. e.g.
"height:512,width:2048,alpha:255"

Backward compatibility is still preserved so passing the old params of
either a string integer "256" "512" will still work in the same fashion as
will passing "setAlpha" on its own
2009-02-02 13:58:01 +00:00
Dr Scofield b9db1b1345 Merge branch 'vector' into OpenSimulator.org 2009-02-02 11:40:34 +00:00
lbsa71 4e5e70491b * Removed erroneous reference to the Data.Base Framework 2009-02-02 11:27:58 +00:00
lbsa71 d91bc08737 * Removed the unused Data.Base Framework 2009-02-02 11:16:41 +00:00
Jeff Ames 496ed4488d Minor formatting cleanup. 2009-02-02 09:01:00 +00:00
Teravus Ovares aabaa35af7 * Adding the Tree module configuration options to OpenSim.ini.example
* Adding an option to use the tree module to manage the trees in the simulator (grow/reproduce/die)
* Setting it to off by default in an effort to reduce the number of threads in use by default
* You can also turn it on in a 'one off' way with 'tree active true' on the console. To 'one off' turn it off, it's 'tree active false'.  The permanent way to do that, however is in the opensim.ini.
2009-02-02 06:04:03 +00:00
diva dee6ad7154 Putting the return back in AddCapsHandler upon attempt at adding CAPs twice. The return seems to have been commented in 8038, as an attempt at fixing multiple TP problems later identified to be deadlocks. CAPs should never be overwritten, or the viewer can get confused. Right now this method is erroneously being called twice because of legacy code. I'll fix that later, after further testing. 2009-02-01 20:36:10 +00:00
Charles Krinke 50536c66a0 Thank you kindly, TLaukkan (Tommil) for a patch that:
Added osTeleportAgent with region coordinates to 
support hyper grid scripted teleports.
2009-02-01 17:41:33 +00:00
Teravus Ovares 469b35d2bb * Adding a few fields to the Land data responder that the client is complaining about (and older clients are crashing on) 2009-02-01 17:16:36 +00:00
idb aad843fc2c Correct the method signature on llMakeFountain. 2009-02-01 15:12:32 +00:00
diva 3bd0df18b7 More on dynamic hyperlinks. Making the 4096 check (deregistration of region) work in grid mode. 2009-02-01 02:20:57 +00:00
diva ff149ae197 Check for the 4096 limitation in dynamic region hyperlinks. 2009-02-01 00:59:42 +00:00
idb 1a14066aa6 Speed improvement mostly when sensing objects especially noticeable in a sim with many objects. 2009-01-31 19:02:09 +00:00
Charles Krinke 4a120e9dd5 Flesh out llGetAgentLanguage to return "en-us" until
we have an I18N committee for internationalization.
2009-01-31 18:27:44 +00:00
diva 9e29baa565 Initial support for dynamic HG hyperlinks. With this commit, remote sims can be linked (and TPed to) simply by searching on the map for things like this ucigrid03.nacs.uci.edu:9003 or by clicking on things like this in the chat history secondlife://ucigrid03.nacs.uci.edu:9003/ or by clicking on links like that on the embedded browser. 2009-01-31 18:13:22 +00:00
Teravus Ovares 85c0c0557e * Tweaks some locks when modifying an ODECharacter. This actually allows a user to log-in while the physics scene and the scripts are starting up. This also seems to smooth out the jerks on teleport/connect/disconnect a little bit.
* If you log-in while the simulator is starting up, you won't be able to move and the sim stats will say 0 FPS, and 0 Physics Frames and you may see only terrain.  Once the sim finishes starting up, it'll all resume as normal.
2009-01-31 16:49:32 +00:00
diva 4db9373b29 Oops. Forgot a try-catch on the last commit. 2009-01-31 01:59:05 +00:00
diva 26f99de45d Fixes mantis #3061. Thanks Hallow Palmer for diagnosing the issue so well. I bet this inconsistency happens a lot out there. 2009-01-31 00:28:51 +00:00
diva 360eb239b3 Hopefully fixes mantis #3063. 2009-01-31 00:15:13 +00:00
diva e7a9ece410 Bug fix on posting assets onto foreign users inventory. Check that the key is already in the local asset map before adding it. 2009-01-30 23:53:41 +00:00
diva 36221a2c19 Added a new method SendGroupRootUpdate to start addressing mantis #3019. ll functions have not been changed. 2009-01-30 23:23:02 +00:00
Justin Clarke Casey e233aad098 * Put a wait timeout on the archive test, just in case the archiver never returns 2009-01-30 21:39:54 +00:00
Justin Clarke Casey fa88dac539 * minor: remove some mono compiler warnings 2009-01-30 21:26:38 +00:00
Justin Clarke Casey 951c08933a * In OpenSim.ini.example, list defaults for AllowOSFunctions and OSFunctionThreatLevel and change existing OpenSim.ini.example settings 2009-01-30 21:04:23 +00:00
Justin Clarke Casey c307e0e4a7 * Extend archive save test to check for the presence of the file for the object that was in the scene
* Can now pass in a wait handle to ArchiveRegion() if you want same thread signalling that the save has completed
2009-01-30 20:54:38 +00:00
Justin Clarke Casey f351ab62ec * furhter simplify test setups for objects 2009-01-30 18:38:32 +00:00
Justin Clarke Casey 7a751f6940 * minor: stop bothering to set parts to phantom within test setups - tests now seem to pass without having to do this 2009-01-30 18:28:05 +00:00
Dr Scofield 1b0a398763 reporting original request URI if HttpWebRequest failed, adding
try-catch around GetRequestStream (this time for sure)
2009-01-30 14:45:39 +00:00
Jeff Ames 6126c687c1 Update svn properties, minor formatting cleanup. 2009-01-30 09:03:23 +00:00
Dahlia Trimble 7e17cec182 remove dummy parcel media settings from event queue message 2009-01-30 08:52:45 +00:00
Dr Scofield 587b079878 2009-01-30 08:49:00 +00:00
Dr Scofield 27df816184 fixing: client gets logged out when concierge's broker returns 500
response.
adding: more verbose error logging
2009-01-30 08:48:41 +00:00
Justin Clarke Casey 13f069b945 * If an orphaned group is found in the mysql or mssql databases (i.e. there is no prim where UUID = SceneGroupID), then force one prim to have UUID = SceneGroupID.
* A warning is posted about this on startup giving the location of the object
* This should allow one class of persistently undeletable prims to be removed
* This change should not cause any issues, but I still suggest that you backup your database beforehand
* If this doesn't work for previously linked objects, then you could also try the workaround in http://opensimulator.org/mantis/view.php?id=3059
* This change has been made to mysql and mssql, but sqlite appears to work in a different way
2009-01-29 20:08:04 +00:00
idb ea6e4a95ce Complete the implementation of llSHA1String. 2009-01-29 19:47:55 +00:00
Justin Clarke Casey 6e63e93ec7 * minor: just a few formatting changes and log quietening 2009-01-29 18:39:33 +00:00
Sean Dague 25e241837b * Enhanced ScenePresenceTests. Now tests for region and prim crossing.
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-28 19:23:20 +00:00
Dr Scofield 4cfa36ee8b fix: client gets logged out when concierge's broker returns 500
response.
2009-01-28 18:58:49 +00:00
Dr Scofield ce1e1854b1 From: Christopher Yeoh <yeohc@au1.ibm.com>
This changeset fixes a race condition where a script (XEngine run) can
startup before a reference is added to it in all of the required
places in the XEngine class. The effect of this is that a script can
sometimes on startup miss script events. For example a script which
starts up and initialises itself from a notecard may never receive the
dataserver event containing the notecard information.

The patch isn't as clean as I'd like - I've split the constructor of
ScriptInstance up so it does everything it did before except
call Startup and post events like state_entry and on_rez. An Init
function has been added which is called after the ScriptInstance
object has been added to the necessary data structures in XEngine.

Happy to rework it if someone suggests a better way of doing it.
2009-01-28 09:52:09 +00:00
Dr Scofield a3ac702941 From: Christopher Yeoh <yeohc@au1.ibm.com>
Adding Oarfileloaded and EmptyScriptCompileQueue event support which
allows (with a module) for programmatic notification of when a region
objects and scripts are up and running after a server start or
load-oar.
2009-01-28 09:22:12 +00:00
Charles Krinke fe18adbc11 Add in a stub for llSHA1String. I believe it is the only one new
function we were missing.
2009-01-28 04:50:25 +00:00
Mike Mazur 7aa216d574 Slight cleanup of docs, removing trailing whitespace. 2009-01-28 01:55:45 +00:00
Dahlia Trimble 0c712e9704 delete some commented out junk code notes 2009-01-27 06:20:03 +00:00
Dahlia Trimble c747990187 Send groups list via event queue 2009-01-27 06:14:11 +00:00
Dahlia Trimble 54a1b9dbff correct formatting if parcel description field in event queue message 2009-01-27 01:31:06 +00:00
Dahlia Trimble fd76bc39fa Correct a typo in the parcel properties event queue message which was preventing the display of authorized buyer 2009-01-27 00:51:14 +00:00
Dr Scofield b1520fbfd2 2009-01-26 21:35:54 +00:00
Dr Scofield 92b6d1efbb 2009-01-26 21:35:38 +00:00
Dr Scofield 6cebb6e760 ~ fixing bugs in ConciergeServer.py test code
~ fix bug in ConciergeModule: wrong closing tag for avatars list
2009-01-26 21:35:16 +00:00
Dr Scofield 0aafeb5da3 adding XML parsing to make sure POST content is welformed 2009-01-26 21:34:59 +00:00
Dr Scofield 10f7e534c9 + adding URI substitution for concierges broker URI 2009-01-26 21:34:44 +00:00
Dr Scofield 0c14ebec87 ~ moving test server script on level up 2009-01-26 21:34:27 +00:00
Dr Scofield db46c75d72 ~ moving test server script on level up 2009-01-26 21:33:53 +00:00
Dr Scofield 494cfdfe37 ~ turning synchronous broker update into asynchronous one 2009-01-26 21:33:36 +00:00
Dr Scofield 8c4ac64d80 ~ fix: Concierge reports avatar leaving region twice
~ cleaning up log statements
2009-01-26 21:33:20 +00:00
Dr Scofield 3b866df078 + completed python test server 2009-01-26 21:32:59 +00:00
Dr Scofield 78db120b3d + adding test server for debugging purposes 2009-01-26 21:32:43 +00:00
Dr Scofield 0abc179a4e ~ extending attendee list to include agent name
+ code to generate full XML avatar list
+ code to POST XML snipplet
2009-01-26 21:32:24 +00:00
Dr Scofield 4464e59f75 adding timestamp as ISO 8601 2009-01-26 21:31:41 +00:00
Dr Scofield d10d8af295 adding XML sniplet generation (start of) 2009-01-26 21:31:21 +00:00
Dr Scofield 464ecc15a0 starting draft attendee list notification support. 2009-01-26 21:31:02 +00:00
Dahlia Trimble b112109d2c swap endianness of parcel flags in event queue message 2009-01-26 20:06:31 +00:00
Teravus Ovares fc75a2031e * Providing a way for the rest of the simulator to get at the economy settings through the IMoneyModule interface. 2009-01-26 20:05:13 +00:00
Dahlia Trimble 4dace03696 add a definition for a parcel properties CAP
send parcel properties via eventqueue rather than UDP to facilitate libomv clients - see Mantis #3040
2009-01-26 10:42:24 +00:00
Dahlia Trimble fa99f01378 more eventqueue IM nonsense 2009-01-26 08:04:12 +00:00
idb b0cb272d12 Remove the addition of the region coordinates to obtain the absolute position of a prim/person on the grid. I believe it is superfluous and removes needed decimal places for short range sensors.
Fixes Manitis #3046
2009-01-25 21:13:42 +00:00
Homer Horwitz b405d92260 * Fixed a small logical error in error handling of console commands.
* Console command help should be output to the console, not to the log (as "help" does it already). That allows getting help/answers even if you only log into a file.
Fixes Mantis#2916.
2009-01-25 16:12:55 +00:00
idb aa2521623c Add an override of the ! operator to lsl integer.
Fixes Mantis #3041
2009-01-25 10:17:26 +00:00
Adam Johnson 444320e4a6 Applied patch from #3012 Fixing a minor bug where nhibernate mappings from outside OpenSim.Data.NHibernate assembly were not included in sessionFactory. Thanks mpallari! 2009-01-25 08:31:08 +00:00
Teravus Ovares 76206543e8 * Adds console command, 'predecode-j2k <number of threads>' to load all of the texture assets from the scene and decode the j2k layer data to cache. The work is split between the number of threads you specify. A good number of threads value is the number of cores on your machine minus 1.
* Increases the number of ImageDataPackets we send per PriorityQueue pop and tweak it so that the number of packets is ( (2 * decode level) + 1 ) * 2, and (((2 * (5-decode level)) + 1) * 2).  The first one sends more data for low quality textures, the second one sends more data for high quality textures.
2009-01-25 04:34:00 +00:00
Jeff Ames 676b7c1073 Update svn properties. 2009-01-24 08:18:41 +00:00
Justin Clarke Casey c277440e73 * minor: remove mono compiler warning 2009-01-23 20:44:35 +00:00
Justin Clarke Casey dbd2b45233 * Write a simple archive loading test which doesn't actually do any testing yet apart from not blow up 2009-01-23 20:38:44 +00:00
Charles Krinke bd2c345e56 Thank you kindly, TLaukkan (Tommil) for a patch that:
* Added Npgsql.dll and Mono.Security.dll which are NpgsqlDriver dlls.
* Added missing field to schema creation scripts: PathTaperY.
* Added schema creation scripts for PostgreSQL.
* Added unit test classes for PostgreSQL.
* Added schema creation script folder to NHibernate project in prebuild.xml
* Added Npgsql.dll to NHibernate test project dependencies in prebuild.xml
* Ensured that build works with both nant and Visual Studio.
* Executed build unit tests with nant and NHibernate unit tests with NUnitGUI
  - Couple of region tests fail due to double precission float rounding errors need to sort out how these are handles in unit tests and if higher precission numeric field needs to be used in Postgresql.
2009-01-23 20:21:43 +00:00
Justin Clarke Casey 664f983943 * Extend archive test to check for the presence of a control file in a saved archive 2009-01-23 19:24:36 +00:00
idb 04a565e6b1 Fix for llGetRot when the script is in a child prim. Also fixed llGetPrimitiveParams for PRIM_ROTATION.
Fixes Mantis #3023
2009-01-23 18:10:31 +00:00
Justin Clarke Casey f8aea3724d refactor: move test modules set up code to common function 2009-01-23 17:55:29 +00:00
Justin Clarke Casey ee3c61247e * refactor: move scene setup code into common test code assembly 2009-01-23 17:32:38 +00:00
Justin Clarke Casey 227e88a6f4 * minor: remove serialization and deserializationg sog log messages for now 2009-01-23 17:17:46 +00:00
Justin Clarke Casey 15cd1102e1 * minor: small tweak to archive save completion log message 2009-01-23 17:12:15 +00:00
Justin Clarke Casey ddff7ab20e * Add direct stream loading and saving methods to the archive module.
* The async stream method does not yet signal completion to interested calling code
2009-01-23 17:07:37 +00:00
Teravus Ovares 74df9f9c81 * Adds a synchronous jpeg decode for pre-caching purposes
* When the DynamicTextureModule creates a j2k image, pre-cache the decode so that it doesn't stall any client threads.
2009-01-23 11:00:36 +00:00
Dahlia Trimble 68978e6e2a add event queue code for sending group IM for future group support 2009-01-23 01:49:32 +00:00
Teravus Ovares 178fd97bd0 * Fixing a group title 2009-01-23 00:08:35 +00:00
idb 757762a630 Implement missing LSL TEXTURE_xxx constants including two new textures.
Fixes Mantis #3030
2009-01-22 23:58:46 +00:00
Justin Clarke Casey 884009ed33 * Add some caps seed capability path checking to the simple non neighbours standalone region teleport test 2009-01-22 19:46:31 +00:00
Teravus Ovares 28ddc38deb * Remove a few unnecessary locks to try and prevent lock contention in LLImageManager 2009-01-22 18:28:32 +00:00
Justin Clarke Casey 8a24f61acd * Change the currently misleading log message when capabilities are added twice, and provide some more information
* No functional change
* It strikes me that there may be caps problems if double registration is presented if cleanup failed for a previous agent (so a caps handler will remain in memory for that 
agent but with a different seed).  This needs investigation
2009-01-22 17:51:47 +00:00
Dr Scofield 20359e8591 white space & formatting cleanup 2009-01-22 16:43:28 +00:00
Dr Scofield 7e08d7da15 From: Christopher Yeoh <yeohc@au1.ibm.com>
this patch makes load-oar a bit more tolerant to irrelevant
differences in the oar file format. Directory entries are now ignored
rather than trying to interpret them as files they hold which results
in the load-oar failing. This change makes it easier to manually
modify oar files.
2009-01-22 16:43:09 +00:00
Jeff Ames c1e9990d82 Update svn properties, minor formatting cleanup. 2009-01-22 16:16:34 +00:00
Sean Dague 54801bb142 * minox fix related to last commit
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-22 16:06:26 +00:00
Charles Krinke bcc7a8f09c Fixes Mantis #3032. The VersionInfo.cs file was not updated from 0.6.1 to 0.6.2 with the last minor release and shows incorrectly on the console. This will resolve itself on the next svn update. 2009-01-22 15:57:47 +00:00
Sean Dague 9704196bbf * Caught 2 dictionary exceptions that were unhandled
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-22 13:59:54 +00:00
Teravus Ovares 9ebba37a7c * discovered! darn! Removing I <3 OpenSimulator from firstname 2009-01-22 10:04:15 +00:00
Teravus Ovares a7ccbb3de0 * Added some more comments
* Fixed up an outgoing packet
* I <3 OpenSimulator
2009-01-22 09:31:01 +00:00
Teravus Ovares 6167019a05 * Adds a Scene Getter property called SceneContents for the Scene's m_sceneGraph. This will allow it to be exposed to modules without resorting to referring to m_sceneGraph 2009-01-22 01:50:00 +00:00
Teravus Ovares c6154c8987 * Add File cache for j2k layer decodes. This will make it so that the server will decode the j2k stream once and cache it to disk so that the cache is saved across sim restarts. 2009-01-22 01:33:46 +00:00
Justin Clarke Casey 37fa677548 * refactor: Extract caps related code from scene and put into a region module
* No functional changes in this revision
2009-01-21 21:14:17 +00:00
Justin Clarke Casey 2921729bf2 * Restore commented out isdone assertions in TextureSendTests.T010_SendPkg()
* These still appear to suceed with the current code!
2009-01-21 18:57:05 +00:00
Justin Clarke Casey d2d273aebe * minor: move connection success log message so that it doesn't get printed again if a duplicate use circuit code packet comes in 2009-01-21 18:46:44 +00:00
Justin Clarke Casey 22aeda3ba1 minor: find in existing senderUUID field for chat messages originating from a client 2009-01-21 17:56:25 +00:00
Teravus Ovares 1a55dd11f1 * More friendly OpenJpeg error handling.
* Often times now the only reason OpenJpeg doesn't work is because it requires Glibc 2.4    The error messages reflect that.
* In J2kDecoder module, It stops trying to decode modules if it encounters a dllnotfound exception and instead sends a full resolution layer that causes the texture sender to only send the full resolution image.  (big decrease in texture download speed, but it's better then nasty repeating error messages)
2009-01-21 11:16:33 +00:00
Mike Mazur 0e7aac0f65 - remove extra "; in http_loginform.html.example; fix issue 3025
- sync up default HTML generated in LoginService.cs with that in
  http_loginform.html.example
2009-01-21 10:20:32 +00:00
Dahlia Trimble 032b30ffdb Fix an error in sculpt LOD calculation 2009-01-21 02:40:09 +00:00
Mike Mazur 792ebca5f3 Set request method for REST requests with no input. 2009-01-21 02:29:56 +00:00
Melanie Thielker cbbb3a0c6d And another method added 2009-01-20 21:59:11 +00:00
Melanie Thielker 5ae3364152 Small interface addition 2009-01-20 21:45:44 +00:00
Justin Clarke Casey 6495ff9624 * Apply http://opensimulator.org/mantis/view.php?id=3021
* Adds MSSQL 2005 unit tests
* Thanks Tommil!
2009-01-20 18:49:16 +00:00
Justin Clarke Casey 37f7c5a0ea * Apply http://opensimulator.org/mantis/view.php?id=3020
* Adds a grid db implementation and unit tests to the NHibernate module
2009-01-20 18:38:51 +00:00
Justin Clarke Casey 84a4a9ecf7 * Apply http://opensimulator.org/mantis/view.php?id=3012
* Allows different assemblies to be used in NHibernateManager, which makes it possible to use mapping and migration files in different assemblies.
* Thanks mpallari!
2009-01-20 18:27:30 +00:00
Dahlia Trimble e94d862db2 Removed some of the darker colors from console messages as they were not visible in some terminal emulators (like putty) 2009-01-20 10:09:16 +00:00
Teravus Ovares e1f5e2df3f * minor: A few comments. A bit of cleanup. 2009-01-20 06:07:36 +00:00
diva e4c1e20d27 Very minor: added a missing {0} in a couple of Error messages. 2009-01-20 01:50:20 +00:00
idb afc48ce39c Added overrides for == and != for list.
Fixes Mantis #3002
2009-01-20 00:10:39 +00:00
Sean Dague 280ba00c68 oops hash codes can be negative, account for that
From: Sean Dague <sdague@gmail.com>
2009-01-19 21:38:31 +00:00
Sean Dague c81395593d added display of exception
From: Sean Dague <sdague@gmail.com>
2009-01-19 21:38:25 +00:00
Sean Dague 0f289ca405 change the appender to have a few more colors, none of which are red
From: Sean Dague <sdague@gmail.com>
2009-01-19 21:38:16 +00:00
Teravus Ovares 68baf9096a * Another image packet edge case. Thanks nebadon for printing a log of it 2009-01-19 21:29:44 +00:00
idb a47d851295 Correct energy calculation to include the mass of the object.
Fixes Mantis #3006
2009-01-19 19:15:55 +00:00
Teravus Ovares 4823f2ae8e * Set SVN Properties 2009-01-19 18:33:25 +00:00
Justin Clarke Casey 96e15058d5 * minor: Just some minor log elaboration to reveal in the logs where a teleport is being directed rather than just its position 2009-01-19 17:15:27 +00:00
Teravus Ovares 8e01f75784 * Progressive texture patch + PriorityQueue put into the LLClient namespace.
* Updates LibOMV to r2362
2009-01-19 17:11:57 +00:00
Justin Clarke Casey 0828c28501 * Remove unused prims.ParentID field from SQLite and MySQL
* Since this is a db change, as always I strongly recommend that you backup your database before updating to this revision
* Haven't touched MSSQL in case I get it wrong - looking for some kind soul to take care of this.
2009-01-19 15:16:17 +00:00
Mike Mazur 92e6bbcd63 No longer append a "texture" parameter on texture asset requests. The
asset server doesn't check for the existence of this parameter since
r2744.
2009-01-19 02:30:51 +00:00
Melanie Thielker c5395feadd Avoid an invalid cast on legacy data 2009-01-18 23:31:13 +00:00
idb 63d2885008 Moved applying an impulse to a newly rezzed object to minimise the delay getting the object moving. 2009-01-18 14:46:43 +00:00
idb ed0661e25a Subscribe to collision events if needed when turning an object to non-phantom from phantom.
Fixes Mantis #1883
2009-01-18 11:25:12 +00:00
Dahlia Trimble 37b63636ee Added an optional password for the IRC module 2009-01-18 10:50:53 +00:00
diva 1d8821ccb2 Getting rid of the CheckRegion call during TPs. This seems to be not just useless, but sometimes problematic (mantis #2999). Initial tests indicate that this call is not necessary. Let's see if this stands in the wild. 2009-01-18 01:45:22 +00:00
Melanie Thielker 96d6c6b1f3 Change list type to compare length instead of references.
Fixes Mantis #3002
2009-01-17 18:35:40 +00:00
Justin Clarke Casey eca6442bae * Rig up enough infrastructure to actually perform a successful 'standalone' teleport unit test with checks that the scene presence disappeared from sceneA and appeared in
sceneB
* However, I'm not convinced that the actual process in the test completely reflects reality, and a lot of stuff had to be rigged up (which should get resolved over time)
2009-01-16 21:56:13 +00:00
Justin Clarke Casey bee9efa30e * minor: Future archiver test stub 2009-01-16 18:31:07 +00:00
MW e21b3bf390 Added support so that during the loading of a xml link list, it checks if a linked hypergrid region's real location is within 4096,4096 map spaces of its "local" location. If it is outside of that range ( so it wouldn't be possible to teleport to it) then it ignores it and doesn't create a link.
See the hypergrid wiki page for more details.
2009-01-16 17:56:44 +00:00
MW eb5a022981 Added some basic relocation mapping support for when loading hypergrid links from a xml file.
Console Command: link-mapping <StartXloc> <StartYloc>.
This results in only the last two digits of any of the locations defined in the xml file being used, and those 0-99 values being added to the StartXloc and StartYloc figures.
For more infomation, see the email on the mailing list and the soon to be added instructions on the wiki's hypergrid page.
Also made the Secion Names in xml file case insensitive.
2009-01-16 12:52:05 +00:00
Jeff Ames 23bd915ecd Minor formatting cleanup, add copyright header. 2009-01-16 04:42:24 +00:00
Jeff Ames 5c310efb79 Update svn properties. 2009-01-16 04:23:10 +00:00
diva e80dcfa9f6 Eased the locking times of ScenePresences. No locks were removed, just the locking periods changed.
* Added an additional lock in GetScenePresences()
* Changed ForEachClient to use GetScenePresences() instead of the main ScenePresences dictionary, so that there is no need to lock.
2009-01-15 23:37:49 +00:00
Justin Clarke Casey d1456554f2 * Delete OpenSim/Framework/OpenJpeg for now, with Teravus' permission ;) 2009-01-15 21:37:22 +00:00
Justin Clarke Casey adc61008cc * add file I just missed out, nggggff 2009-01-15 21:29:24 +00:00
Justin Clarke Casey 093adb2113 * Add new unit test for simple teleport in a standalone.
* Does not yet check results.
2009-01-15 21:27:55 +00:00
MW 0ec96d294a Small bit of refactoring related to the hypergrid link loading from xml files. 2009-01-15 17:09:51 +00:00
MW d40e07a2c7 Added support for a "excludeList" as part of the hypergrid xml link file loading. So that certain links in the file will be ignored. See the wiki's hypergrid page for details (in about a hour). 2009-01-15 15:31:40 +00:00
MW 940728dad7 Added initial support for reading hypergrid links from a xml config file. Although its currently still activated by using console command: link-region <URI of xml file> , the uri should be able to be a local file path or a http uri. I'm adding details of the format of the xml file to the wiki's hypergrid page.
TODO: Add a initial startup option for setting the uri and making it autoload it. 
Add support for scanning the xml file to check that its own region(s) aren't in the list, and if they are, ignoring them. This would allow setting up "virtual link/grid lists" on webservers, that people can add their own regions to and also point those regions to those same lists, so they load the other region's data.
Add support for automapping of those region/link lists.
2009-01-15 14:37:04 +00:00
Dahlia Trimble 9822f8fc8f Added a taint to the sculpt texture callback in an attempt to mitigate Mantis #2908. Thanks Teravus for the suggestions :) 2009-01-15 02:17:30 +00:00
Justin Clarke Casey 46cac455c1 * Move the timed_out change to earlier on in the async handler
* There appears to be a bug on mono 1.9.1 (and maybe later), where sometimes the async wait will be signalled even though that async callback has not executed
* This change may make it slightly better but it's difficult to tell (it definitely still occurs)
* Also this patch closes the wait handle explicitly, as recommended in the MSDN docs.  This doesn't have any impact on the bug though
2009-01-14 20:40:14 +00:00
Justin Clarke Casey 8a08e4980d * Adjust log messages so that we don't get a CONNECTION BEGIN for notifications that won't actually lead to a client connection (because they are from a neighbouring teleport
target that needs to trigger a child seeds adjustment on a child agent that has been kept around)
2009-01-14 19:53:15 +00:00