Commit Graph

6767 Commits (8ebd5b409ac85a3370b02c302efb4d24562b0f6e)

Author SHA1 Message Date
Mike Mazur e41f761e0d - add restrictions and error handling to plugin loading in
AssetInventoryServer
- assign shorter names to each AssetInventory plugin
- modify AssetInventoryServer.ini.example file so it works out of the
  box
2009-02-16 02:28:51 +00:00
Mike Mazur efbb44b98a Standardize logging messages. 2009-02-16 02:28:43 +00:00
Mike Mazur ab5e332832 - removed OpenSim.Grid.AssetInventoryServer.Metadata class in favor of
OpenSim.Framework.AssetMetadata and related updates in AssetInventory
  server
- removed dependency on MySql.Data.MySqlClient
- commented out the bulk of OpenSimInventoryStorage due to missing
  MySql.Data dependency
- refactor asset creation in OpenSimAssetFrontend
- commented out ForEach implementation, which also depended on
  MySql.Data, until it's supported by OpenSim backends
- commented out some handlers in BrowseFrontend and ReferenceFrontend as
  they relied on either ForEach or the removed Metadata class
2009-02-16 02:28:34 +00:00
Mike Mazur 4c6b7234de We need to return a zero-length byte array from the Handle() routine. 2009-02-16 02:28:24 +00:00
Mike Mazur f8d51e6949 - clean up using references as well as References in prebuild.xml
- comment out a bunch of stuff in OpenSimInventoryFrontendPlugin.cs to
  get rid of warnings
2009-02-16 02:28:16 +00:00
Mike Mazur a928a14c7a Name extension points a little clearer. 2009-02-16 02:28:08 +00:00
Mike Mazur ef19d32a39 - remove dependency on OpenSim.Grid.AssetServer.Plugins.Opensim in
OpenSim.Data.*.addin.xml, this is cruft left over from previous
  testing
- fix example SQLite connection string in
  AssetInventoryServer.ini.example
2009-02-16 02:28:00 +00:00
Mike Mazur 7d9882c04d Fix dependency on non-OpenSim version of OpenMetaverse.StructuredData.dll. 2009-02-16 02:27:51 +00:00
Mike Mazur 5277fc64c0 - change AssetInventoryServer config from XML to INI
- convert AssetInventoryServer logging to OpenSim's log4net
- updated AssetInventoryServer.ini.example file
2009-02-16 02:27:43 +00:00
Mike Mazur 529dd66ed0 - remove dependency on ExtensionLoader.dll (DBConnString.cs can go)
- bring config system in line with other servers
- add new plugin filter class which filters on ID
- update AssetInventoryServer.ini file
2009-02-16 02:27:34 +00:00
Mike Mazur f8ea274090 - asset server functionality works with OpenSim's HttpServer
- start of removal of AssetInventoryServer.Metadata class
2009-02-16 02:27:25 +00:00
Mike Mazur 07b8d51da8 AssetInventoryServer now compiles while using the standard OpenSim
console and HttpServer. It doesn't work though.
2009-02-16 02:27:17 +00:00
Mike Mazur 1778f799ba Update to new generic DataPluginFactory calls. 2009-02-16 02:27:09 +00:00
Mike Mazur f1e71ca5e1 - add list for backend plugins and Dispose() all plugins on shutdown
- fix some plugin names
- remove most references to ExtensionLoader
- remove commented out AssetInventoryServer blobs from prebuild.xml
2009-02-16 02:27:01 +00:00
Mike Mazur 932e591e05 Move NullAuthentication and AuthorizeAll extensions to plugins. 2009-02-16 02:26:52 +00:00
Mike Mazur 02cf9f7e9f Move BrowseFrontend and ReferenceFrontend to
OpenSim/Grid/AssetInventoryServer/Plugins.
2009-02-16 02:26:44 +00:00
Mike Mazur af64c1ee9e Migrate OpenSim inventory frontend to load with Mono.Addins. Everything
should compile and it seems even creating users works somehow.
2009-02-16 02:26:36 +00:00
Mike Mazur 74a2bd237a Add OpenSim & Simple inventory storage plugins and Null metrics plugin. 2009-02-16 02:26:27 +00:00
Mike Mazur 3f3dfd7ac1 - added Simple AssetInventoryServer plugin (asset storage only)
- removed OpenSim storage and frontend classes in Extensions dir
- put OpenSim plugins in
  OpenSim.Grid.AssetInventoryServer.Plugins.OpenSim namespace
2009-02-16 02:26:18 +00:00
Mike Mazur dbee7fcb21 - implement and load NullMetrics module in AssetInventoryServer
- update AssetBase de/serialization in AssetInventoryServer
2009-02-16 02:26:09 +00:00
Mike Mazur 98b5e5062e - IAssetProviderPlugin was changed to IAssetDataPlugin
- Use OpenSim.Data.DataPluginFactory to load data plugins
2009-02-16 02:26:01 +00:00
Mike Mazur 9e88cef033 AssetInventoryServer plugins can't be a dependency for the OpenSim.Data.MySQL addin. 2009-02-16 02:25:53 +00:00
Mike Mazur 16fa7f516a Converted to Linux newlines. 2009-02-16 02:25:44 +00:00
Mike Mazur 617016fa68 Added OpenSim asset frontend plugin. 2009-02-16 02:25:36 +00:00
Mike Mazur 8d30472551 Rename NewAssetServer AssetInventoryServer and fully qualify with
OpenSim.Grid.AssetInventoryServer.
2009-02-16 02:25:25 +00:00
Mike Mazur b3c0cea024 - add OpenSim.Grid.AssetServer.Plugins.OpenSim as a dependency for OpenSim.Data.*.addin.xml
- remove OpenSim.Grid.NewAssetServer.exe from bin/OpenSim.Data.addin.xml
- add prebuild.xml section for OpenSim.Grid.AssetServer.Plugins.OpenSim.dll
2009-02-16 02:25:15 +00:00
Mike Mazur 0e09b4a08b Adding
- NewAssetServer code
- NewAssetServer addin manifest
- example AssetServer.ini file
2009-02-16 02:24:57 +00:00
Melanie Thielker 37a00427bc Thank you, cmickeyb, for a patch to ass two string functions
to OSSL.
Fixes Mantis #3173
2009-02-16 01:58:26 +00:00
Melanie Thielker 7d77e0e703 Thank you, patnad, for a patch that adds 3 new discovery functions
to OSSL.
Applied with changes.
Fixes Mantis #3172
2009-02-16 01:22:37 +00:00
diva 312b0f91c4 More guards around SetHeight. 2009-02-15 20:02:13 +00:00
idb 98e7ea015c Fix exception when standing up.
Fixes Mantis #3170
2009-02-15 16:12:58 +00:00
Melanie Thielker 272a319a3e Thank you, Vytek, for a patch that streamlines the delay in the email
module and changes SMTP authentication (applied with changes)
Fixes Mantis #3168
2009-02-15 13:54:34 +00:00
diva 9b19c65450 Guarding the new call to SetHeight in MakeRoot, so that ODE doesn't complain when it's 0. 2009-02-15 06:12:11 +00:00
diva 52c5b75174 Moving SendInitialData sort of back to where it was before, so that it doesn't interfere with the unit tests. 2009-02-15 05:50:07 +00:00
diva 3d5a9e6748 This started as way to correct Mantis #3158, which I believe should be fixed now. The flying status was temporarily being ignored, which caused the avie to drop sometimes -- there was a race condition. In the process it also fixes that annoying bug in basic physics where the avie would drop half-way to the ground upon region crossings (SetAppearance was missing). Additionally, a lot of child-agent-related code has been cleaned up; namely child agents are now consistently not added to physical scenes, and they also don't have appearances. All of that happens in MakeRoot, consistently. 2009-02-15 05:00:58 +00:00
Dahlia Trimble 7731c055e4 Set sculpt map alpha to 255 prior to scaling and meshing. Addresses Mantis #3150 2009-02-15 04:00:00 +00:00
Melanie Thielker 7ea2812a9e Thank you, DoranZemlja, for a patch that addresses some moe llGetNextEmail
issues.
Fixes Mantis #3145.
2009-02-15 01:06:03 +00:00
Charles Krinke 38b1f2dbfc Mantis 3164. Thank you kindly, TLaukkan (Tommil) for a patch that:
* Added tests for manager, user and group lists.
* Added test for ban list. The test had to be left as ignored as 
native MySQL throws exception when ban is saved.
* Added utility class to support parametrized unit tests for range checking.
2009-02-14 22:31:39 +00:00
diva a2d17dfff1 Restores the HGWorldMap functionality that has been reduced since a recent refactoring of the WorldMapModule. 2009-02-14 21:26:20 +00:00
Melanie Thielker 4bc52888be Thank you, DoranZemlja, for a patch that implements local inter-object email
delivery.
Leaving Mantis #3145 open so that more code can be added.
2009-02-14 21:25:22 +00:00
Charles Krinke 3542630478 Remove the "?" that I inadvertently got into the first line
of EstateRegionLink.cs
2009-02-14 20:03:16 +00:00
Charles Krinke a583d8ad70 Thank you kindly, TLaukkan (Tommil) for a patch that:
* Created value object for EstateRegionLink for storing the estate region relationship.
* Refactored slightly NHibernateManager and NHibernateXXXXData implementations for accesing nhibernate generated ID on insert.
** Changed NHibernateManager.Save method name to Insert as it does Insert.
** Changed NHibernateManager.Save return value object as ID can be both UUID and uint currently.
** Changed NHibernateManager.Load method Id parameter to object as it can be both UUID and uint.
* Created NHibernateEstateData implementation. This is the actual estate storage.
* Created NHibernate mapping files for both EstateSettings and EstateRegionLink
* Created MigrationSyntaxDifferences.txt files to write notes about differences in migration scripts between different databases.
* Created estate storage migration scripts for all four databases.
* Created estate unit test classes for all four databases.
* Updated one missing field to BasicEstateTest.cs
* Tested NHibernate unit tests with NUnit GUI. Asset databases fail but that is not related to this patch.
* Tested build with both Visual Studio and nant.
* Executed build tests with nant succesfully.
2009-02-14 19:47:02 +00:00
idb 67b0ba71da Add an override for the % operator.
Fixes Mantis #3157
2009-02-14 18:09:08 +00:00
diva 622e7b4c7d This hopefully fixes a long-standing annoying behavior related to neighbour regions going up & down while avies are logged in (mantis #2701, perhaps? maybe not). This is the bug mentioned 2 commits ago. If this proves to work well in OSGrid, there's a lot of old code cleaning to do. 2009-02-14 17:17:48 +00:00
diva 5655233ad0 Making initialized an instance variable again. My last commit wrote over justin's r8383, for some strange reason. 2009-02-14 16:56:37 +00:00
diva 217ffee8cb Moved RegionUp to REST/LocalComms. The original functionality has been entirely maintained, although it will have to be revisited soon, because it's buggy. 2009-02-14 16:37:55 +00:00
Melanie Thielker d31bf02eaf Thank you, patnad, for a patch that removes the "Subdivision of" text
when dividing land.
Fixes Mantis #3154
2009-02-14 12:24:26 +00:00
idb 63a1cab7fe Correct llGetNumberOfPrims to include sitting avatars in the count. 2009-02-13 21:56:50 +00:00
Justin Clarke Casey bc9a013f52 * minor: remove mono compiler warnings 2009-02-13 20:51:22 +00:00
Melanie Thielker a8f3d625cb Guard the values used to set the cursor position in the real time console 2009-02-13 20:49:23 +00:00
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