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
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
Sean Dague
7934094cf3
* Added MySQL Grid unit tests
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-14 19:34:14 +00:00
Justin Clarke Casey
3ff8dd34b0
* Remove absolute position and authentication handler addition for incoming 'new user notifications' that have existing scene presences
...
* The position will be reset if the connection turns out to be a root one, and since the client is already authenticated another authentication will not occur anyway
2009-01-14 18:48:57 +00:00
Justin Clarke Casey
75ea84f3d2
* minor: Change around more debugging messages
2009-01-14 18:46:33 +00:00
Justin Clarke Casey
6ae1b80d20
* Do some log tweaking to better see incoming connection success (and failure)
2009-01-14 17:34:04 +00:00
Justin Clarke Casey
2a5f060ed8
* Fix typo which meant that RestComms was never enabled if you explicitly enabled it
...
* In fact, it would only be activated if there was no [Communications] section at all (which would be the case for most people with existing region setups unless they
specifically added it in
* This fix means that enabling inter-region rest comms is now the default
2009-01-14 16:52:12 +00:00
Justin Clarke Casey
e10de20772
* Apply http://opensimulator.org/mantis/view.php?id=2995
...
* This fixes MSSQL for user friends lookups
* Thanks StrawberryFride
2009-01-14 14:53:42 +00:00
Johan Berntsson
a885d2a6ff
Added a primitive shape function for spheres
2009-01-14 07:16:03 +00:00
nlin
bfdf2479fb
Improve parsing of joint parameters for NINJA physics (Mantis #2966 ).
...
Multiple spaces or leading/trailing spaces when specifying the prims
to connect should no longer cause problems.
2009-01-14 04:59:57 +00:00
diva
866c85be0d
Easy on locking m_scenePresences in RequestTeleportLocation. With the extra locks of SceneGraph ScenePresences introduced in 7982, this was making TPs not close the agent in the departing region due to locking. That locking problem seemed to occur only in Linux/mono -- I suspect a mono bug here.
2009-01-14 04:18:28 +00:00
Melanie Thielker
1c3542303c
Change fake parcel ids to allow a Z coordinate. Change TP by lure
...
to also transmit and use a Z coordinate.
2009-01-13 23:29:54 +00:00
Teravus Ovares
412dd1260b
* Add a second logoffuser message with the region secret.
...
* This ensures that the user will be logged off successfully by a properly permissioned user server
2009-01-13 23:27:48 +00:00
Teravus Ovares
c80b2bb98e
* Fix a few caps limiter that were causing problems
...
* Added a path for all sessionids to be logged off when a region secret is provided. (helps log-off dead agents).
2009-01-13 23:25:47 +00:00
Teravus Ovares
f013b26241
* Fix an invalid seed cap that could be causing issues.
...
* CapsUtil.GetRandomCapsObjectPath(); contains a / and the regionInfo.httpServerURI contains a / so that makes
* response.SeedCapability = regionInfo.httpServerURI + CapsUtil.GetCapsSeedPath(capsPath); contain two "//" leading to a seed caps path definition like //CAPS/f7ba4238-ec86-4a2b-b3f6-4d9b56070000/, which is wrong
2009-01-13 22:27:26 +00:00
Sean Dague
9dff38ca14
* Extended TextureSenderTests and modified TestClient.cs with new methods
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-13 19:55:07 +00:00
Justin Clarke Casey
1baa921463
* minor: remove some mono compiler warnings
2009-01-13 18:35:20 +00:00
Justin Clarke Casey
363054bb2c
* minor; Very minor non-functional tidy ups
2009-01-13 18:23:37 +00:00
Justin Clarke Casey
2676927466
* Add copyright notice to NHibernate.UserFriend
2009-01-13 17:16:56 +00:00
Justin Clarke Casey
bfef9a7b0d
* Apply http://opensimulator.org/mantis/view.php?id=2991
...
* Puts ordinary getters and setters into NHibernate.UserFriend since previous c# 3.0 get/set failed on MSVC#2005
* Thanks mpallari
2009-01-13 17:13:49 +00:00
Justin Clarke Casey
c8ea09f325
* Apply http://opensimulator.org/mantis/view.php?id=2992
...
* Removes now unnecessary revision 2 and 3 files that should have been removed in an earlier patch
* Thanks tlaukkan!
2009-01-13 17:04:52 +00:00
Justin Clarke Casey
feba3cc3ff
* Removing set-time command since it doesn't actually do anything at all
...
* If this was crucial to someone then it should be reinsertable as a module
2009-01-13 17:01:57 +00:00
Justin Clarke Casey
66637ad6e7
* minor: Add a couple of code comments about enabling httpserver logging
2009-01-13 16:56:10 +00:00
Justin Clarke Casey
1e365df495
* minor: Stop friendship termination crashing the client thread if the friend to be terminated could not be found
2009-01-13 16:49:01 +00:00
Dr Scofield
9bcaf98e37
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
The attached patch adds the automatic granting of PERMISSION_CONTROL_CAMERA
on request to a script when an avatar is sitting on the object that the script
resides in.
It also automatically removes PERMISSION_TAKE_CONTROLS and PERMISSION_CONTROL_CAMERA
from the scripts when an avatar stands up. It doesn't remove the other automatically
granted permissions but this follows LL server behavior. Removing these two
permissions avoids some potential race conditions (accidentally taking
control after the avatar has stood up) which may be why LL put
them in the first place.
2009-01-13 08:15:43 +00:00
Justin Clarke Casey
efcf6ff095
* Extend current stub packet handler test into a really basic one that checks that a sent in packet ends up on the client queue ready for processing
2009-01-12 20:42:44 +00:00
Charles Krinke
c00c855cc5
Thank you kindly, Tlaukkan (Tommil) for a patch that:
...
Cleaned up schema creation scripts of MySQL to compliant form and created
SQLite scripts from them. In future it would be optimal if scripts from
different databases could be generated from MySQL scripts to ensure optimal
consistency between schemas of different databases. Did not yet review
column names. ID columns seem to have variety in naming which can be confusing.
2009-01-12 20:14:39 +00:00
Justin Clarke Casey
ade107f04f
* Separate starting a client thread into a separate Start() method (which matches the existing Stop() and Restart() methods)
2009-01-12 19:37:56 +00:00
Homer Horwitz
2cfd18b6a2
Fix some C#3.0-isms that broke build in Mono 1.2.6 and MSVC# 2005.
...
Fixes Mantis #2989 .
2009-01-12 19:28:40 +00:00
Homer Horwitz
7caf1a4abf
Fixed some svn properties
2009-01-12 19:24:20 +00:00
Justin Clarke Casey
d4d2c19594
* Extend PacketHandlerTest to fire in a packet.
...
* Can't test result yet since the Client thread handles it with unpredictable timing
2009-01-12 18:45:03 +00:00
Justin Clarke Casey
af0fcb96a4
* Apply http://opensimulator.org/mantis/view.php?id=2965
...
* Adds first version of MsSql2005Dialect support for NHibernate
* Thanks mpallari
2009-01-12 17:51:43 +00:00
Justin Clarke Casey
41377008e1
* Apply http://opensimulator.org/mantis/view.php?id=2980
...
* Add single conversion to MSSQLManager.DbTypeFromType
* May resolve storage of prim information under MSSQL
* Thanks SirKimba
2009-01-12 17:44:39 +00:00
Justin Clarke Casey
6e9d5e4ea7
* refactor: move packet handler interface into a separate class
2009-01-12 17:31:30 +00:00
MW
3c9d57c11b
Added WearableItem class to the framework. This class can be used to: load from disk, create from code, or modify a existing Wearable item. Its not currently used by anything in trunk but is a handy utility class.
...
I'll be writing some instructions on its use as part of a more general article on various methods of creating better initial avatars for new users. Which will include some code samples, but as each grid has its own requirements, there will be no out of the box solution included.
2009-01-12 15:37:30 +00:00
Sean Dague
77f0df6394
Caught exceptions in some console commands
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-12 15:34:05 +00:00
Sean Dague
d770bea291
Enhanced LoginServiceTests to test for authentication and response
...
Expanded TestUserDataPlugin to cover new methods
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-12 15:33:56 +00:00
Melanie Thielker
2ba9dd7eeb
Cause permissions on root prims to not override folded permissions anymore
...
Fix propagation of folded permissions from object inventory to agent
inventory.
2009-01-12 13:19:33 +00:00
MW
e1eb1b2cfa
a little bit more work on LLFileTransfer.cs, from over the christmas/new year period. Still not working/in use but hopefully I can finish it soon.
2009-01-12 10:16:33 +00:00
Mike Mazur
a7bc56073c
Make ZERO_ROTATION.y a float. Fixes Mantis #2985 .
2009-01-12 09:04:31 +00:00
Charles Krinke
d7f1660761
Commenting out the succesful REST message as under heavy use there
...
are multiple messages in a second and that is usually (in my experience) meaning
the logging itself is slowing down the program. Leaving the unsuccesful message
as we need to know about that path.
2009-01-12 03:49:48 +00:00
Charles Krinke
40f34aeffd
Thank you kindly, Tlaukkan (Tommil) for a patch that:
...
Fixed all NHibernate unit tests by implementing missing persistency
methods, tables, columns and fixing bugs in the existing implementation.
Two minor changes to classes outside NHibernate module: Added Scene
instantiation for SceneObjectGroup in OpenSim.Data.Tests.BasicRegionTest
as this was required by the NHibernate persistency. In the process added
also mock constructor to Scene which only populates RegionInfo in the scene
which is used by ScenePart.RegionUUID. NHibernate module is still in
experimental state and has not been tested at opensim region or ugaim runtime
configuration. Adding unit tests to build is not yet advisable nor using
NHibernate module in any production setup.
2009-01-11 18:24:16 +00:00
Charles Krinke
16561bd528
Thank you kindly, Tlaukkan (Tommil) for a patch that:
...
NHibernate MySQL migration was not working as mysql dialect is
MySQL5Dialect now instead of MySQLDialect which is the migration
sub folder name. Fixed this by adding simple dialect to migration
sub type mapping to manager initialization to avoid need of renaming
migration script folder each time MySQL version changes. Removed
shared session and changed session to be constructed per call as
NHibernate session is not thread safe. Refactored manager member
names to be according to the naming convention (full words in camel case).
2009-01-10 16:31:00 +00:00
Dahlia Trimble
630ce5b264
Revert progressive texture patch from r8001 until issues can be addressed
2009-01-10 09:15:23 +00:00
Charles Krinke
5e87e49570
Thank you kindly, StrawberryFride for a patch that:
...
Enable users to enable only selected methods out of the
available set of remote methods to restrict remote
functionality to less harmful methods, such as
admin_broadcast, or admin_region_query.
2009-01-10 04:16:06 +00:00
Dahlia Trimble
3bdd4db3fd
Thanks jhurliman for a patch that implements progressive texture downloading - Mantis #2655
2009-01-10 01:46:47 +00:00
Justin Clarke Casey
1149bde7cb
minor: remove mono compiler warning
2009-01-09 21:15:34 +00:00
Justin Clarke Casey
7cd8748096
* minor: Put in stub LLPacketHandler testing code
2009-01-09 21:05:53 +00:00
Melanie Thielker
993b965f0a
Prevent error message from scripted IM
...
Fixes Mantis #2970
2009-01-09 15:15:41 +00:00
Melanie Thielker
7c7ea57c5c
Finish dwell sending, adding the forgotten method body.
...
Add UserInfo and a dummy reply to enable Hippo Viewer users to
disable IM logging (option was greyed out in OpenSim before)
2009-01-09 02:59:56 +00:00
Teravus Ovares
fcc3325f3b
* Adds the variables passed to the hashtable BaseHttpServer passes in.
...
* Null check on Sessions_report.
2009-01-08 22:01:57 +00:00
Justin Clarke Casey
5169b1f19e
* Establish placeholder for future TextureSender tests
2009-01-08 21:05:24 +00:00
Justin Clarke Casey
af49acd6cc
* refactor: move url sending from scene to DialogModule
2009-01-08 19:28:10 +00:00
Justin Clarke Casey
be41132c72
* minor: Remove now unused SendEstateMessage... method in Scene I forgot from last commit
2009-01-08 19:18:45 +00:00
Justin Clarke Casey
e7bb27b5bd
* refactor: move code to send a dialog to a user from scene to DialogModule
2009-01-08 19:14:52 +00:00
Justin Clarke Casey
9a97a6866f
* refactor: move estate dialog to DialogModule
...
* This appeared only to be implemented for the region, and doesn't currently seem to work anyway
2009-01-08 19:05:22 +00:00
Justin Clarke Casey
17f783457b
* refactor: move code for sending a message to all users in a region to the DialogModule
2009-01-08 18:50:46 +00:00
Jeff Ames
b0a59c3bf3
Update svn properties, minor formatting cleanup.
2009-01-08 01:13:08 +00:00
Teravus Ovares
437d2f8703
* Add session length to session.report.
2009-01-07 23:35:11 +00:00
Teravus Ovares
95984e0587
* Added session report.
...
** Full or two criteria. UserID, or VersionString
* Added link to session report from client report.
2009-01-07 23:20:23 +00:00
Justin Clarke Casey
b97a51d7d0
* refactor: Make some direct IClientAPI calls go through the dialog module instead
2009-01-07 20:46:28 +00:00
Justin Clarke Casey
1aa9e63428
* Move general alert code to DialogModule.
...
* Should be a clean build - last failure looked like a mantis hiccup
2009-01-07 20:29:09 +00:00
Justin Clarke Casey
c084b07116
* minor: Remove mono compiler warnings from WindModule
2009-01-07 20:13:40 +00:00
Justin Clarke Casey
9b96fc9029
* refactor: Establish DialogModule, move some alert code from Scene to here
2009-01-07 20:09:37 +00:00
Justin Clarke Casey
9e297cd722
* Slightly increase ScenePresences locking where it's technically required in SceneGraph
2009-01-07 19:33:20 +00:00
Justin Clarke Casey
8d035b196d
* Apply http://opensimulator.org/mantis/view.php?id=2948
...
* This fixes adding and updating user profiles in MySQL on platforms that have a commas as a decimal separator
* Thanks Tommil!
2009-01-07 18:46:27 +00:00
Justin Clarke Casey
a9df572c25
* refactor: Remove MakeHttpRequest wrapper method from Scene in favour of a direct call
2009-01-07 18:36:27 +00:00
Charles Krinke
0f9918f1d3
Thank you kindly, StrawberryFride for a patch that:
...
Solves the problem of unable to load prim items on region start in MSSQL.
The error was in the MSSQLRegionData code that loads objects from the database,
due to reliance on the ParentID field that is not used.
2009-01-07 15:03:41 +00:00
Teravus Ovares
9bd827a642
* Added a client version report.
...
* Added a report-> link generator.
2009-01-07 03:40:13 +00:00
Justin Clarke Casey
a31792ee5c
* prune and regrade log messages relating to client login and logout
2009-01-06 21:39:55 +00:00
Justin Clarke Casey
31b0f07085
* Rename GetRandomCapsPath() to GetRandomCapsObjectPath() to fit in with terminology used elsewhere
...
* Last build break was probably a Bamboo failure - hopefully this should succeed
2009-01-06 18:26:27 +00:00
Justin Clarke Casey
498cd4f987
* Fix build break - forgot that I had renamed an argument
2009-01-06 18:12:22 +00:00
Justin Clarke Casey
715a776f7d
* Move common string aggregation for caps seed path to a method in CapsUtil
2009-01-06 18:06:53 +00:00
Justin Clarke Casey
e8dba51247
* Yeah, might just want to add the new class as well - sigh
2009-01-06 17:30:37 +00:00
Justin Clarke Casey
b1c2cb3d82
* minor: Move GetRandomCapsPath() to a CapsUtil class
2009-01-06 17:27:04 +00:00
Justin Clarke Casey
251387a391
* Remove unused CAPSService
2009-01-06 16:39:08 +00:00
Justin Clarke Casey
47a693ff1a
* remove mono compiler warnings
2009-01-06 15:26:30 +00:00
Adam Frisby
79bf2c8096
* Added three new events to SceneGraph:
...
- OnObjectCreate
- OnObjectDuplicate
- OnObjectRemove
2009-01-06 15:14:15 +00:00
Justin Clarke Casey
b6ee2f15ba
* refactor: Remove the need to separately pass in the http listener to the scene - this is always available via CommsManager
2009-01-06 15:09:52 +00:00
Justin Clarke Casey
fde6a1665c
* refactor: call AddHttpHandler() directly via CommsManager
2009-01-06 14:44:45 +00:00
Justin Clarke Casey
b07c188b7e
* refactor: call AddStreamHandler() directly via CommsManager
2009-01-06 14:37:39 +00:00
Justin Clarke Casey
579f11b3b8
* refactor: call AddLLSDHandler directly via CommsManager
2009-01-06 14:30:50 +00:00
Justin Clarke Casey
2a4c4ceebb
* refactor: drop AddXmlRpcHandler() from scene in favour of call via CommsManager
2009-01-06 14:20:54 +00:00
Teravus Ovares
df82eaf8a8
* Mjnor: Clarified comment to ensure that people are aware of how to end the recursive calls
2009-01-06 01:10:26 +00:00
Teravus Ovares
4f0bbf5d61
* Kill an endless loop in the Instant Message delivery system
...
* Must compare user region with previous calling of the same method to determine if we should look the user up.
* The first time, the previous region handle will be 0, so therefore it'll use the cached version.
* The second time, previousRegionHandle will be what we looked up on the first round
* The third time, it'll say.. we tried to deliver it once with or without lookup, we tried to deliver it a second time with lookup, and failed both times so end!
2009-01-06 00:57:33 +00:00
Teravus Ovares
0d1b867500
* Added a way for the sim stats reporter to say to the scene that the stats are illogical.
2009-01-06 00:07:24 +00:00
Homer Horwitz
0c3426935e
Use correct name for friendship offer. Fixes Mantis #2959 .
2009-01-05 21:45:20 +00:00
Justin Clarke Casey
b077723a20
* minor: remove some mono compiler warnings
2009-01-05 20:58:57 +00:00
Justin Clarke Casey
e98385dd74
* Stop bothering to populate and retrieve the parent local ids for MSSQL, as was done for SQLite and MySQL in r7586
...
* This may resolve http://opensimulator.org/mantis/view.php?id=2939
2009-01-05 20:43:03 +00:00
Justin Clarke Casey
e7ac639f3a
* Centralize references to the well known blank texture 5748decc-f629-461c-9a36-a35a221fe21f to a constant in OpenSim.Framework.Util
2009-01-05 19:36:48 +00:00
Justin Clarke Casey
9d62dee531
* Add prereqs and usings required by the Windows compiler
2009-01-05 18:52:43 +00:00
Teravus Ovares
0cd0a9bdb1
* Resolve a few bugs in the Stats Collector
...
** Update limiter logic reversed
* Resolve a few bugs in the Viewer Stats collector
** Catch the logoff ViewerStats post (darn those caps deregistrations)
** Check the type of the correct map when checking
* Resolve a leak in Prototype_distributor
** .Close, .Dispose()!
2009-01-05 18:35:50 +00:00
Justin Clarke Casey
c6294efdbb
* Add the actual tests from http://opensimulator.org/mantis/view.php?id=2950
...
* Apologies for missing these out yet again
* Thanks to Tommil for this code
2009-01-05 18:33:12 +00:00
Justin Clarke Casey
fcab408cc4
* Add seed cap check to login test
2009-01-05 18:30:56 +00:00
Justin Clarke Casey
0d3a99f6bc
fixes mantis #2950
2009-01-05 18:04:47 +00:00
Justin Clarke Casey
0b07c9762b
* Simplify test code by always setting up mock 'in memory' user and inventory data plugins for every TestCommunicationsManager
...
* imo the gain in simplcity of test code outweighs the very small cost of setting up some stuff that some tests will never use
2009-01-05 18:00:53 +00:00
Justin Clarke Casey
04ffcce7ea
* Extend stub to test the successful login of a user on the local login service
...
* Test does not do authentication
2009-01-05 17:38:39 +00:00
Justin Clarke Casey
0b8d22ab54
* Check in login service tests beachhead
2009-01-05 16:30:35 +00:00
Sean Dague
d8a2ad5cb5
change the drop order to see if this affects unit test fails
...
From: Sean Dague <sdague@gmail.com>
2009-01-05 15:59:08 +00:00
Sean Dague
9d2e0535f1
* Fixes a small bug where load-oar fails due to whitespace in region name.
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-05 15:43:30 +00:00
Jeff Ames
694e37f529
Update svn properties, minor formatting cleanup.
2009-01-05 04:34:17 +00:00
Teravus Ovares
e4a8cc192d
* Adds an active log to the WebStats console. for an example of it in use as it is right now see http://wmcv.com:9000/SStats/
...
* It still isn't quite ready to be used mainstream.
* A couple of things to note, it doesn't keep track of the logs if nobody is looking at the stats.
* It doesn't read the whole log file. Just the last 10 lines of the stream. Tested to 1GB+ logfiles with no noticeable performance issues.
2009-01-05 04:09:04 +00:00
Adam Frisby
3b0eb958a8
* Another minor GenericMessage fix - If we assume the method names are case-insensitive, we should process them as such.
2009-01-04 19:41:55 +00:00
Adam Frisby
00a0f4a286
* Added some information to HandleGenericMessage to indicate that it's not the packet that isnt being processed, but instead the method-type.
2009-01-04 19:39:17 +00:00
Dahlia Trimble
20670ff0c8
sync with primmesher r26 on forge
2009-01-04 19:09:31 +00:00
Adam Frisby
f0864b5154
* Minor tweak to crash logger to copy ini with log if save-to-dir is on.
...
* Added BinaryGenericMessage handler for cases where GenericMessage isnt transmitting pure-utf8 characters.
2009-01-04 19:09:22 +00:00
Dahlia Trimble
f836e36c49
Improve LOD scaling for anisotropic sculpted prim meshes
2009-01-04 18:36:13 +00:00
Melanie Thielker
aa11fbfe34
Connect dewww request packets to the land module to makle dwell work
2009-01-03 20:57:59 +00:00
Melanie Thielker
7beb8a5abb
Plumb the remaining dwell packets
2009-01-03 20:45:33 +00:00
diva
f1b9ff6b4b
Fixed logic for sending foreign user information (HG).
2009-01-03 16:18:20 +00:00
diva
711cd752ad
This may fix the home jump problem.
2009-01-03 09:01:58 +00:00
diva
dd2a82f81c
Extra check to avoid client crashes on HG home teleports.
2009-01-03 08:51:54 +00:00
diva
19cb2cb395
Undoing the bump up of MajorInterfaceVersion number back to 2. This just doesn't work in practice!
2009-01-03 07:31:48 +00:00
diva
158de95bde
Another interregion comms change that will not work well with previous versions. This commit moves InformRegionOfChildAgent from OGS1 to RESTComms, effectively having the complete child agent life cycle over REST: create=POST, update=PUT, close=DELETE.
...
Additional changes include more functions in the IHyperlink interface, and some refactorings in the HG code for better reuse in RESTComms.
2009-01-03 07:05:33 +00:00
diva
1b7ce1c874
Plumbing for moving InformRegionOfChildAgent over to RESTComms: pack and unpack methods for AgentCircuitData. This code is not used yet.
2009-01-03 03:41:41 +00:00
Teravus Ovares
e9cef70f89
* Updates the sim stats module. Cleans out some of the rot.
...
* Adds a prototype web stats module which is disabled by default. It's functional with one report right now, however, the database structure may change, so I don't recommend enabling this to keep actual stats right now. I'll let you know when it's safe.
* Adds Prototype for ajaxy web content
* removed a warning or two.
2009-01-03 03:30:03 +00:00
diva
4144fd0eb2
Split agent updates into two messages: full update and position+camera update. They're both sent over HTTP PUT. The full update is sent on TPs, for now; later it will also be sent on region crossings.
2009-01-03 02:29:49 +00:00
Melanie Thielker
a7708413ee
Plumb in dwell in a couple of places
2009-01-03 00:03:41 +00:00
diva
82700448f5
Some plumbing for additional agent update messages. Not used yet. Removed the compilation warnings on this file, and completed the packing/unpacking of AgentData (VisualParams, Anims and Groups).
2009-01-03 00:00:37 +00:00
Justin Clarke Casey
0dd53c419e
* Move EventQueueGetModule to the EventQueue namespace
...
* Not going to move EventQueueHelper as of now since the subsequent direct references to the module namespace would seem to somewhat defeat the point
2009-01-02 20:22:35 +00:00
Justin Clarke Casey
a3af0e61eb
* Add Nini.Config and System.Xml references to MockScene for Windows compilers
2009-01-02 20:11:20 +00:00
Justin Clarke Casey
2a7e3b9cff
* refactor: move event queue module code to its own folder
2009-01-02 20:07:29 +00:00
Justin Clarke Casey
720191ef2d
* reference is to Nini.Config, not Nini
2009-01-02 19:46:12 +00:00
Justin Clarke Casey
401a0d0a0a
* Add Nini reference to Communications.OGS1
2009-01-02 19:43:30 +00:00
Melanie Thielker
0138fdc5fd
Allow some values that are set in OpenSim.ini to be set from region config
...
XML as well.
2009-01-02 17:41:12 +00:00
Homer Horwitz
09378da127
Use only one (static) (de-)serializer for (de-)serializing SOPs.
...
That improves performance drastically, at least for Mono, as the
(de-)serializers can then be optimized (and won't use reflection anymore).
On my system, before this change de-/serialization took ~9s/9s, whereas
after the change it takes ~.5/.2s.
2009-01-02 17:22:24 +00:00
Melanie Thielker
24f0d97075
Small fix to prevent client thread crash in multi-region instances when
...
a scripted object is paid
2009-01-02 16:24:44 +00:00
Teravus Ovares
b1a677630f
* Adding some recognizable and search-able test to some WriteLine(e.ToString()) messages so that when they occur, we can figure out what threw them.
2009-01-02 14:24:49 +00:00
Melanie Thielker
b175e8f6cd
Fixes Mantis #2945
...
Committing the above patch with changes. Thank you, Gerhard. Removed
unneccessary verbosity in case of no error, added more output for errors.
Added support for HTTP Uri fetching which I had added in my last commit.
Converted the Console.WriteLines to log4net.
2009-01-02 12:57:21 +00:00
Melanie Thielker
18ba10b51c
Add the ability to read the ini file from a URI. If the -inifile option
...
is a http:// URI, it will be fetched and parsed as an XML config.
2009-01-02 05:52:01 +00:00
diva
d8ebf2fc9d
Major changes in interregion communications. This breaks compatibility with older versions, and may result is all sorts of weirdnesses when interacting with sims in older versions. Changes:
...
- Introducing synchronous Teleports. Now the receiving region calls back the sending region after the client has been made a root agent there, that is, after client sends CompleteMovement to the destination.
- SendCloseAgent moved from OGS1 Remoting to RESTComms.
2009-01-01 19:42:24 +00:00
diva
ba9d9a9019
Minor fix for HG request neighbors. Should not return hyperlink neighbors, only neighbors on the same grid. I'm still not sure if this is a bug or a feature, so this may change again.
...
My first commit of 2009 -- Happy New Year!
2009-01-01 19:29:30 +00:00
diva
59cddd0844
Beginning of true REST style for interregion comms, SendChildAgentUpdate only. Agents are now resources accessed at http://<host>:<port>/agent/<uuid>/[action/]. PUT is SendChildAgentUpdate.
2008-12-31 21:14:31 +00:00
diva
06803f182b
Minor bug fix in HG home regions management, removing the use of m_knownRegions.Count for creating the local handler. Local handlers are now created using a random number generator.
2008-12-31 20:49:04 +00:00
Homer Horwitz
a72d3522ff
Slight optimisation: Don't check for duplication if we won't use the result anyway.
2008-12-31 20:09:17 +00:00
Homer Horwitz
4b760bba79
- Added the fixed Ode.NET.dll
...
- Adapted code to match the corrected signatures
- Fixes Mantis #2934 . Hopefully.
Note: Physics on linked objects still don't work correctly:
It doesn't crash the region anymore, but the example object in
the mentioned mantis now falls through the ground.
2008-12-31 19:35:46 +00:00
Homer Horwitz
067a9f3d5f
Added a missing setMass for initializing the mass of prims
2008-12-31 19:35:33 +00:00
diva
fe20ff8072
Added http-method to the hashtable that gets passed to GenericHTTPMethods.
2008-12-31 18:26:31 +00:00
diva
12946b5d78
Folded HG regionhandle lookup into the normal RESTInterregionComms, to avoid proliferation of "modes".
2008-12-31 00:49:34 +00:00
diva
5de40aaf46
Added a SendChildAgentDataUpdate call on Teleports, so that the agent at the destination will have all the necessary information.
2008-12-31 00:18:24 +00:00
diva
f08f11fe60
Removing unnecessary null checks on structs in AgentsData pack/unpack.
2008-12-30 23:53:51 +00:00
Justin Clarke Casey
e4c7bdc730
* Remove mono compiler warnings
...
* Leaving the 23 warnings in ChildAgentDataUpdate.cs for Diva to look at
2008-12-30 20:48:31 +00:00
Justin Clarke Casey
f0ea8eb534
* Implement saving of region settings in OAR files
...
* This means that you can now save terrain textures, water height, etc.
* Estate settings are not supported
* Older OAR files without these settings can still be loaded
2008-12-30 19:00:19 +00:00
Homer Horwitz
c22edf01f7
OpenUser_Main is now public. Fixes Mantis #2940 . Thanks SirKimba
2008-12-30 16:16:47 +00:00
diva
eaf8066700
Making the default choice for InterregionComms work, and removing an unnecessary console debug message.
2008-12-30 01:21:13 +00:00
Jeff Ames
2be0f7a6f0
Update svn properties, minor formatting cleanup.
2008-12-30 01:08:07 +00:00
diva
3a6b27befb
Changing the default Comms module to be RESTComms, in case none is specified in OpenSim.ini. RESTComms is a super-set of LocalComms. Calls to local regions do no use REST, they use internal function calls.
2008-12-29 22:44:04 +00:00
diva
a3e2e03f7b
Final part for implementing SendChildAgentDataUpdate with modules. This is the part that uses the modules in Scene and related classes. This commit breaks compatibility of sim-sim SendChildAgentUpdates with older versions of OpenSim.
2008-12-29 22:22:05 +00:00
diva
e12d2ec9dc
This is a beefy commit containing the communication modules that implement SendChildAgentUpdate. This commit has only the modules, but not their usage. It should be harmless.
2008-12-29 21:40:20 +00:00
diva
606163a9d8
Minor change in HGSceneCommunicationService, making one field public readonly. Totally harmless.
2008-12-29 21:26:44 +00:00
diva
57518c3624
Merged the InterregionData that Melanie had placed there onto the existing ChildAgentDataUpdate. This commit involves a change in prebuild.xml, because ChildAgentDataUpdate uses OpenMetaverse.StructuredData. Still no use of this data structure, though. Crossing my fingers that this partial commit will compile ok...
2008-12-29 21:10:35 +00:00
diva
e3007a6f13
First commit in a series of commits for Interregion REST comms. This one simply deletes the skeleton module that Melanie kindly placed for me to start working on this.
2008-12-29 20:43:33 +00:00
Justin Clarke Casey
266d0fbaae
* Apply http://opensimulator.org/mantis/view.php?id=2927 with some changes
...
* This allows configuration of the assetset and library control file paths to be other than ./inventory/Libraries.xml and ./assets/AssetSets.xml
* This is controlled via the LibrariesXMLFile and AssetSetsXMLFile configuration settings in [StandAlone] in OpenSim.ini (in standalone)
and via the user and asset config xml files for grid mode
* Thanks to SirKimba for the patch
2008-12-29 16:56:48 +00:00
Melanie Thielker
817a10d0aa
Revamp the return logic to close a privilege escalation loophole.
...
Estate owner / Master avatar returns would place the item in the
returner's inventory rather than the owner's if the owner was not
in sim.
2008-12-28 23:55:34 +00:00
Charles Krinke
0125a98a1f
Thank you kindly, StrawberryFride for a patch that:
...
Persists appearance with MSSQL more properly.
2008-12-28 22:31:21 +00:00
Melanie Thielker
bafa5a3693
Demonstration code for modular comms. No user functionality
2008-12-28 19:15:20 +00:00
Melanie Thielker
81a4fe9db7
Insert a 15 seconds delay before the script engine starts loading scripts
2008-12-28 17:22:31 +00:00
Teravus Ovares
6eed7fcd1e
* More NINJA Joint physics fixes from nlin.
...
fixes mantis #2874
2008-12-28 16:30:00 +00:00
Teravus Ovares
e9411a4c59
* Eliminate a possible null reference from the LLSDLogin method.
2008-12-27 21:50:19 +00:00
Teravus Ovares
b378bd33ad
* Fixes mantis #2922
...
* Converts some C# 3.0 syntax into it's 2.0 equivalent so that Visual Studio 2005 can compile it successfully.
2008-12-27 00:17:08 +00:00
Teravus Ovares
013b87fad1
* Fixes missing sculpt texture assets from oar files as detailed on mantis 2971 by thomax
2008-12-26 22:04:25 +00:00
Teravus Ovares
ec2dc354b4
* Applying Nlin's NINJA Joint patch. v2. Mantis# 2874
...
* Thanks nlin!
* To try it out, set ninja joints active in the ODEPhysicsSettings
and use the example at:
* http://forge.opensimulator.org/gf/download/frsrelease/142/304/demo-playground.tgz .
* Don't forget to change the .tgz to .oar and load it with load-oar.
2008-12-26 12:58:02 +00:00
idb
8a58d998d9
Prevent exception in terrain module if just the word terrain is entered at the console. Fixes Mantis #2915
2008-12-26 11:59:37 +00:00
Dahlia Trimble
a23e9a36a1
Substitutes the value of an environment variable if the value of a region configuration variable begins with a "$" character. Should be useful when moving region configs between hosts
2008-12-26 09:14:49 +00:00
Melanie Thielker
cce648244d
Add a few forgotten fields to interregion data
2008-12-25 23:33:49 +00:00
Melanie Thielker
23844a9073
Plumb the profile reply packets for picks, classifieds and notes
2008-12-25 20:28:13 +00:00
Melanie Thielker
3b6ffd9e41
Plumb yet another groups packet
2008-12-25 18:22:50 +00:00
diva
a647a19894
Better test on EQ shutdown.
2008-12-24 05:05:22 +00:00
diva
90126f6ca8
Backing off from the accidental removal one of the most valued 'features' of the HG: the ability to TP to regions on the grid that don't run HG. *smiles*
2008-12-24 00:53:06 +00:00
diva
857535550c
Better error handling for expect_hg_user on the HG.
2008-12-24 00:03:33 +00:00
Melanie Thielker
318de200bd
Plumb in EventNotification* and EventGodDelete
2008-12-23 23:41:46 +00:00
Melanie Thielker
8e8abde7d4
Addinf InterregionData.cs IInterregionComms.cs and InterregionComms.cs
...
Creates a nonshared region module publishing IInterregionComms, to
send data of type InterregionData to another region directly.
2008-12-23 21:36:13 +00:00
Justin Clarke Casey
e64d9b66a9
* Fix http://opensimulator.org/mantis/view.php?id=2889
...
* Primshapes uuid wasn't being converted to raw (non-dashed) format before being used in primshapes delete command
2008-12-23 20:41:52 +00:00
Justin Clarke Casey
94d267303f
* Correct build break, no idea how that one managed to slip by me
2008-12-23 19:07:29 +00:00
Justin Clarke Casey
f49daf9708
* Modify SQLite implementation of UpdateUserProfile() to allow modifications where the name has not been changed
2008-12-23 18:56:56 +00:00
Justin Clarke Casey
690d190783
* minor: small documentation comment
2008-12-23 18:21:23 +00:00
Melanie Thielker
fc053a6af8
Plumb in the 4 missing classified events and the 3 packet methods
2008-12-23 18:16:30 +00:00
Justin Clarke Casey
151d3afe16
* Remove mono compiler warning
2008-12-23 18:07:45 +00:00
Justin Clarke Casey
2afdfc4d29
* Remove IGesturesModules since it won't be very helpful without a client message anyway
2008-12-23 18:01:05 +00:00
Justin Clarke Casey
cce1b096db
* refactor: Replace part of SceneObjectPart with the identical sound playing code in the SoundModule
2008-12-23 17:54:13 +00:00
Justin Clarke Casey
c1320112a9
* Add a method to allow friendship offers to a logged in client from an offline user directly from the server
2008-12-23 17:16:47 +00:00
Homer Horwitz
fb49e010b7
Update the MySQL connector to 5.2.5. Fixes Mantids#2673. Thanks for the hint, jhurliman.
2008-12-22 19:49:17 +00:00
Justin Clarke Casey
eda69e81ef
* refactor: Make gestures module register its own events too
2008-12-22 19:09:09 +00:00
Justin Clarke Casey
85557fb0ef
* Like most other modules, make the sound module register for its event directly, rather than needing Scene to know about it
2008-12-22 18:47:20 +00:00
Justin Clarke Casey
e0b7ad7677
* Refactor: Move some code into separate methods in FriendsModule
2008-12-22 18:39:06 +00:00
diva
06f74e4295
Fix for attachment crossing on TPs. Now that we're letting the viewer have control over MakeRoot at the destination, we need to pass the attachments after that. Attachment crossing requires a root agent at the destination.
2008-12-22 17:43:51 +00:00
Melanie Thielker
e7e8e6a7c3
Plumb in the birthdate from the user server reply to the cache
2008-12-22 16:20:16 +00:00
Melanie Thielker
5929d2a47c
Fix date format of the birthdates to conform to what the client expects
2008-12-22 15:31:39 +00:00
Melanie Thielker
a7a0b5e1ae
Fix the error i got sidetracked from :/
2008-12-22 14:41:18 +00:00
Melanie Thielker
a3b67ec8c7
Fix "from" link number in single prims to 0. Previously, this was 1,
...
causing sime scripts that expected the first param of the link_message
to match llGetLinkNumber() to fail in single prims
2008-12-22 13:03:30 +00:00
MW
69b72ac83c
Deleted the AssetDownload module (and directory), as this module/code hasn't been used for a few thousand revisions now. And the code for sending assets has long since been moved to the LLClientView where it belongs.
2008-12-22 11:24:25 +00:00
Dahlia Trimble
6e68a11082
Thanks Gerhard for a patch that implements part 3 of VolumeDetection / persistance
2008-12-22 09:29:59 +00:00
Dahlia Trimble
1fbbdb6714
test commit - no functional change
2008-12-22 07:48:43 +00:00
Dahlia Trimble
8a86439985
Removed some debugging code that was inadvertently left in in my last commit :/
2008-12-22 07:25:41 +00:00
diva
339fd602db
This commit is a major change on the TP process. Several things were wrong and/or broken. (a) ExpectAvatarCrossing is redundant (and bad) because the client triggers the same method on the receiving region after it receives TeleportFinish. (b) At least two of the *Async methods in SceneCommunicationService weren't asynchronous at all; I made them be asynchronous. Crossing fingers...
2008-12-22 07:06:01 +00:00
diva
69fe246fcc
Removing the region where the agent is in from the list of regions to close child agents.
2008-12-22 06:56:47 +00:00
diva
9056ad63d5
One more small mod in EQ: there is no need to subscribe to the OnLogout event, because things in the EQ get shutdown OnClientClosed.
2008-12-22 06:47:53 +00:00
diva
fc9ffa5f97
One more check on closing EQs.
2008-12-22 06:10:36 +00:00
Dahlia Trimble
c66cfb51f7
Fix a floating point comparison that was causing some misshaped triangles on some prim faces
2008-12-22 06:07:51 +00:00
diva
ae30d74b79
On closing EQs, make sure to wait for the viewer to fetch the last events.
2008-12-22 05:59:29 +00:00
Dahlia Trimble
d83d665186
Thanks to M. Igarashi and nlin for a patch that improves conformance of the funcion llAxes2Rot()
2008-12-22 03:08:39 +00:00
Teravus Ovares
a973825db6
* Fixes edit linked parts rotating the root prim in a linkset. One more bug to go.. and that's editing multiple prim in a linkset at the same time. Don't try that now, as it'll bust the linkset.
2008-12-22 00:03:18 +00:00
Teravus Ovares
53a479904e
Minor: fix a comment... scratch that,reverse it.
2008-12-21 21:19:55 +00:00
Teravus Ovares
2ee8f81e15
* Commit linkset Group (multiprim) linked/delinked to another linkset group (multiprim) test.
2008-12-21 20:09:47 +00:00
idb
3fe966d6b3
An initial implementation of llMinEventDelay in XEngine.
...
Not implemented yet in DotNetEngine.
Fixes Mantis #2830
2008-12-21 19:04:06 +00:00
diva
7d837a9bea
Slowing TPs down a bit further.
2008-12-21 19:00:30 +00:00
Melanie Thielker
d56a62253b
Change XEngine money() event routing to always raise the money()
...
event int he root prim of a linkset
2008-12-21 17:07:45 +00:00
Teravus Ovares
8444528bdc
* Adding a two prim linking/delinking test. This test is likely to get on people's nerves since linking/delinking is easily broken. But.. that's why we have tests!
2008-12-21 16:16:47 +00:00
Teravus Ovares
bf9e8cb987
* Fixes linking multiple linksets together. They no longer explode
...
* Not out of the weeds yet. Rotating the root part with 'edit linked parts' still borks all child part rotations and rotating a selection of child parts with 'edit linked parts' still borks the position/rotation of the child parts selected
2008-12-21 14:50:58 +00:00
idb
d7a19adcac
Persist script permission mask and granter
2008-12-21 13:28:51 +00:00
diva
9af9f648ef
Small null check in DeregisterHandlers.
2008-12-21 02:25:14 +00:00
Charles Krinke
f8f93f4c48
Mantis#2860. Thank you kindly, Thomax for a patch that:
...
Improves map image representation.
2008-12-21 00:27:32 +00:00
Teravus Ovares
119104e35b
* Re-implement packet tracking in IClientAPI so we can see what's going on in the client network in the simstats manager. This makes packets in per second, packets out per second, and unacked bytes work again in the simulator stats section.
2008-12-21 00:11:54 +00:00
diva
3dae92b850
Slowing things down even more on TPs, to see if that helps the European folks connected to osgrid.
2008-12-20 22:44:26 +00:00
Charles Krinke
62dd67b8b8
Mantis#2796. Thank you kindly, Gerhard for a patch that addresses:
...
On a call of llVolumeDetect(1) (or any other number !=0) volume
detection is enabled. Together with VD, the phantom flag is set to the GUI.
On a call of llVolumeDetect(0), vd detection is switched of again,
also the phantom state is removed. On a call to llSetState(STATE_PHANTOM,
false) while VD is active, also VD is switched off. The same is true for
unchecking the phantom flag via GUI. This allows to take back VD without
the need to script just by removing the phantom flag.
Things missing in this patch: persistance of the volume-detection flag.
This needs more discussion and will be included in another patch soon.
2008-12-20 21:36:42 +00:00
Charles Krinke
ad05d613a6
Mantis#2881. Thank you kindly, SirKimba for a patch that:
...
Solves inserting Wolrdparameters in SQL Database with
OpenSim.Data.MSSQL.dll always crash cause there were
missing some fields in the Insert-String
2008-12-20 21:26:00 +00:00
Charles Krinke
b1d235a60c
Change VersionInfo.cs from 0.6.0 to 0.6.1 in preparation
...
for the 0.6.1 minor release.
2008-12-20 19:13:02 +00:00
diva
fcf61c4d0d
This reduces DNS lookups in TPs by a factor of 4. Let's see if this fixes some of the crashes experienced by ppl in Europe connected to OSGrid. If DNS lookup does not resolve, they may experience a substantial increase in "Region not available", but they shouldn't crash.
2008-12-20 18:15:02 +00:00
Teravus Ovares
1e723f185a
* Add two more missing defaults that use GetBoolean without a default in standalone. (not sure if this will fix your issue daTwitch.. it's probably not even a bug)
2008-12-20 17:34:38 +00:00
Homer Horwitz
84b43c8c23
Fix Mantis#2878 for now by not resetting physical values on rez (only on switch).
...
We still might have to split the rotational velocities into a physical and a non-physical part...
2008-12-20 16:42:17 +00:00
Teravus Ovares
8f07f2e8b0
* A few more fixes to HttpServer.
...
* http://www.codeplex.com/webserver/WorkItem/View.aspx?WorkItemId=3110 fix erronious call to beginread that caused an exception which was caught and ignored (increase performance)
* Pass socket into httpclientcontectImp and call the disconnect + reuse method so the socket can be reused quicker (increase performance)
* Ensured that in every error scenario beginAccept is called (stability)
* Fixed header casing (standards compliance)
* Fixed Connection: close handling (standards compliance)
2008-12-20 15:09:01 +00:00
diva
7a619ad84a
Slowing things down a little bit in TPs, with a couple of extra Thread.Sleep to give enough time for the destination to set up CAPs for the incoming agent before sending EAC to the client.
2008-12-20 02:45:12 +00:00
Teravus Ovares
7af84d7e10
* Adds defaults for some GetBoolean config values that previously did not have them.
2008-12-20 01:58:01 +00:00
Teravus Ovares
4d26da545d
* ReCommit the OpenID patch with a few less dependencies.
...
* Removes all references to ASP.NET (System.Web.UI,*)
* Removes all references to System.Web.Mobile
2008-12-20 01:20:40 +00:00
Charles Krinke
098b5d953d
Revert OpenId until we can come to grips with the mono 2 requirement
...
for System.Web.Mobile
2008-12-20 00:52:17 +00:00
diva
b3dc462ee3
The previous fix for the EQ might have been too radical, and some early events now may be getting dropped because the EQ is not there yet. So, let's add an EQ immediately upon registering caps.
2008-12-19 23:58:13 +00:00
Charles Krinke
e86f4d9723
Mantis#2816. Thank you kindly, JHurliman for the beginnings of
...
OpenID support in OpenSim for the UserServer.
2008-12-19 23:55:28 +00:00
Sean Dague
db4f4c255b
let you specify a hex number as the color in the vector rendering
...
module. This expands the colors you can use.
2008-12-19 22:27:45 +00:00
Homer Horwitz
11d0456246
- Set acceleration and rotational velocity to 0, too
...
- Pull it up a bit, so the physics is notified of it, too,
before being switched off.
2008-12-19 21:06:07 +00:00
Justin Clarke Casey
db0c65ea56
* refactor: move sound trigger from scene into sepearate SoundModule
2008-12-19 21:03:56 +00:00
Homer Horwitz
0cbdfcea87
Stop prims that get non-physical. Fixes Mantis#2859.
2008-12-19 20:33:51 +00:00
Homer Horwitz
a0f8e04142
Remove forgotten debug message from my last commit.
2008-12-19 20:33:36 +00:00
diva
7691be377a
Fix for more child agent mismanagement (like #2846 ). On enqueueing events, we should not be creating new queues; if the queue doesn't exist -- too bad, event is dropped. That tends to happen just after the client is closed, and the EQ also closed. If someone places an event in that queue after that, that event should be dropped instead of creating a new, erroneous queue.
2008-12-19 20:31:32 +00:00
Justin Clarke Casey
ed97f290c9
* minor: Just some method commentary before turning to another subject
2008-12-19 20:07:26 +00:00
Justin Clarke Casey
899f2a80d7
minor: remove mono compiler warning
2008-12-19 19:50:46 +00:00
Justin Clarke Casey
aa497a1867
* refactor: move saved named prims to xml2 method out into the serialization module
2008-12-19 19:47:11 +00:00
Justin Clarke Casey
e62016d2c7
minor: Remove some serialization module scene wrappers
2008-12-19 19:35:14 +00:00
Justin Clarke Casey
667a935fff
* refactor: remove xml serialization wrappers from Scene
2008-12-19 19:14:52 +00:00
Justin Clarke Casey
eb6cca4750
* refactor: Rename IRegionSerialiser and move into interfaces namespace
2008-12-19 19:07:11 +00:00
Homer Horwitz
fbd44e628c
Reset Expire date for tempOnRez objects on rez. Fixes Mantis#2848
2008-12-19 18:38:45 +00:00
Justin Clarke Casey
5313330e4d
* minor: move IGesturesModule into the correct namespace
2008-12-19 18:37:15 +00:00
Justin Clarke Casey
583fa73126
* refactor: Remove archiver module scene wrappers
2008-12-19 18:33:03 +00:00
Justin Clarke Casey
7271edd684
* Add missing file from last commit
2008-12-19 18:02:59 +00:00
Justin Clarke Casey
7ce8ccb043
* refactor: Move tree code out into a separate module
2008-12-19 17:57:03 +00:00
Teravus Ovares
7bbda6651e
* Commit patch from cmickeyb. #2871 . Optimized float array for the terrain heightfield to reduce cpu usage on new client significantly.
...
Thanks cmickeyb!
2008-12-19 00:06:19 +00:00
Melanie Thielker
c6b2ffb734
Make llSetAlpha and llSetTexture properly queue full updates, so changes
...
are visible right away
2008-12-18 19:59:51 +00:00
diva
d04247d418
Removing a check in Teleports. This check should be there, I think, but it may be causing problems right now.
2008-12-18 19:45:55 +00:00
Melanie Thielker
8231f9476c
Fix and streamline the RegionHandshake stuff for estate managers
2008-12-18 19:20:11 +00:00
Justin Clarke Casey
4f88f25913
* refactor: move gestures code out from Scene into its own module
2008-12-18 18:49:05 +00:00
diva
3a56d91974
This may fix mantis #2855 . There was a race condition on the TextureDownloadModule upon clients (ScenePresences) being closed. If there were still textures to send, the UserTextureServices was created again, but pointing to the old IClient that had just been closed, which made things not work upon that user returning to that region.
2008-12-18 18:11:29 +00:00
Dahlia Trimble
2537a4098a
Enabled complex meshing for simple box prims with non-zero shear
2008-12-18 17:53:38 +00:00
Justin Clarke Casey
3a1b3ce32d
* Apply http://opensimulator.org/mantis/view.php?id=2810
...
* Fix set up of master avatar on a fresh OpenSim install
* Turns out we had started hashing the password too many times. Thanks jonc!
2008-12-18 15:59:48 +00:00
Melanie Thielker
98d0d728c2
Stop hacked godmode from being able to actually move other people's
...
attachments
2008-12-18 13:33:48 +00:00
Teravus Ovares
a66657f155
* Tweak my previously mentioned nasty hack so it's a little less nasty
2008-12-18 13:17:54 +00:00
lbsa71
56f1b03cd0
* Added "show queues" command that shows throttling queues for all clients.
...
*** This only works for LLCLientView at the moment ***
2008-12-18 13:16:41 +00:00
Teravus Ovares
0f25e8298b
* Add a nasty hack to try and give the HttpServer a few extra lives until we dig more into what's causing it to stop listening.
2008-12-18 11:44:53 +00:00
lbsa71
68c53c6da0
* Caught unhandled IOException, and outputted it to log.
2008-12-18 11:39:24 +00:00
Teravus Ovares
eb777b7373
* Catch a WebException in the LoadImageURLModule
2008-12-18 08:50:25 +00:00
Teravus Ovares
f4acaafd3a
* Added more articulate logging of HttpServer so we can diagnose issues.
2008-12-18 02:42:26 +00:00
diva
3b0a6efde7
This innocuous change in the TextureDownloadModule suddenly made the texture problems ( #2855 ) go away for me. I'm committing it, so that others can test and refute, to make sure I'm not hallucinating.
2008-12-18 02:31:40 +00:00
Teravus Ovares
6358c21208
* Committing an opensim level error message on httpserver. This might help with the eventqueue http server death.
2008-12-18 01:52:49 +00:00
Melanie Thielker
6ef64593fd
Fix attachment persistence which got broken with some inventory
...
changes a few revs back.
2008-12-17 22:09:14 +00:00
Sean Dague
ba6b3ade3b
fix a bug with the Grid REST interface that was returning the classname
...
in the UUID field instead of the actual UUID because of an implicit use
of ToString()
2008-12-17 21:59:20 +00:00
Melanie Thielker
a9e38bcafc
Reapply the packet optimization patch, with changes
2008-12-17 21:00:18 +00:00
Justin Clarke Casey
dce11e4685
* minor: Comment out "Informing neighbours" debug message that pops up whenever some aspect of the avatar changes.
...
* with Diva's blessing ;)
2008-12-17 20:54:34 +00:00
Melanie Thielker
2bcf315ea2
Revert 7754 and 7755 pending a rework
2008-12-17 20:34:37 +00:00
Melanie Thielker
5320f0f33c
Stop packets that may be resent from being returned to the packet pool.
...
FWIW
2008-12-17 20:21:48 +00:00
Justin Clarke Casey
2108d328df
* revert r7724 so that PresenceChildStatus() starts throwing NRE's again
...
* apparantly logout code relies on this happening in certain circumstances. Really, the root issue needs to be investigated.
2008-12-17 19:12:56 +00:00
Melanie Thielker
7ef5a79fef
Change the PacketQueue to use the stored size as well
2008-12-17 19:01:47 +00:00
Melanie Thielker
0d3a9b45ae
Marry AckData to LLQueItem, and store packet data and length there for
...
use everywhere. Each packet gets serialized only once now in PacketHandler
2008-12-17 18:56:47 +00:00
Justin Clarke Casey
ff7c8551ba
* remove mono compiler warnings
...
* should work - the last compile failure looks like a random glitch...
2008-12-17 18:42:23 +00:00
Justin Clarke Casey
b37c8d6cbd
* minor: Comment out high volume 'Getting MapItems' messages
...
* make worldmap module log tags consistent
2008-12-17 18:20:33 +00:00
diva
7b6471f642
Kicking child agents off on the first login after a client crash. The child agents kickoff was
...
missing from when this is run in grid mode. But, worse, turns out that this whole feature of kicking
off the user after a crash was entirely missing from standalone mode.
2008-12-17 17:44:00 +00:00
Justin Clarke Casey
ab77b22f0f
* Only serialize packets once for the length calculation for throttle queues rather than twice
2008-12-17 17:33:57 +00:00
Melanie Thielker
35ec496f98
Revamp packet handler to smooth out the stream of resent packets.
...
Eliminates the bursting in resends observed in the prior implementation
2008-12-17 17:19:14 +00:00
Justin Clarke Casey
72ff5322f5
* Replace manually zeroing with Array.Clear(). Thanks cmickeyb
2008-12-17 17:18:52 +00:00
Melanie Thielker
8e5fe0257c
Mantis #2850
...
Applying the patch to reduce the load caused by the throttle loop even more
2008-12-17 17:05:12 +00:00
Justin Clarke Casey
2e79fd0f0c
* minor: Minor documentation and small minor change on LLPacketThrottle to remove some unnecessary lines
2008-12-17 17:01:02 +00:00
Justin Clarke Casey
ac451485d6
* minor: Remove unused AppearanceTableMapper as pointed out by jonc in http://opensimulator.org/mantis/view.php?id=2843
2008-12-17 16:47:38 +00:00
Justin Clarke Casey
890d8d4215
* Simply friends code by only sending notifications to a newly logged on user for other users who are online.
...
* No need to send offline notifications since the client assumes this (and future clients should be able to do the same).
2008-12-17 16:34:11 +00:00
Justin Clarke Casey
b4680f653d
* Implement 'Save Object Back to My Inventory'. On the Linden client this is in the Tools menu available when editing an object
...
* This facility allows you to save changes to an object that you've rezzed into a region back into their original inventory item without having to take a copy of the rezzed
object.
2008-12-17 16:11:03 +00:00
Teravus Ovares
ca0de93d9a
* Adding some locks to XEngine's m_PrimObjects which were prone to 'the collection was modified'
2008-12-17 15:30:26 +00:00
MW
027ae58dc4
Stop users taking a copy of a in world prim that contains inventory items that have no copy permission set.
2008-12-17 13:32:01 +00:00
MW
6c8f9078ef
Added a check to CanDuplicateObject(), to stop duplicating prims that contains inventory items that you don't have permission to copy
2008-12-17 12:53:47 +00:00
Melanie Thielker
1c30111c7a
Stop owners from duplicating no-copy objects in-world
2008-12-17 12:12:23 +00:00
Melanie Thielker
a5343c5404
Add repecting the min and max values back in
2008-12-17 09:55:10 +00:00
Melanie Thielker
e394e1c06f
Remove a major bottleneck in throttling code.
2008-12-17 09:52:52 +00:00
Melanie Thielker
02a28a6992
Avoid checking the throttle limit for empty queues
2008-12-17 09:30:56 +00:00
diva
4b81ec02d7
Avoid sending DisableSimulator event to the root agent upon logout.
2008-12-16 19:44:32 +00:00
Melanie Thielker
36ee0e8fb9
Fix script controls for weapons
2008-12-16 04:12:40 +00:00
diva
223b6f63af
Attempt at fixing the HG home jump by looking up hyperlink regions before grid-local regions.
2008-12-15 22:17:40 +00:00
MW
1110ee877f
More work on moving Xfer file transfer handling code to the Client stack from the various region modules that it is currently in.
...
Still not enabled yet.
2008-12-15 21:46:57 +00:00
diva
8fffdac7fa
Attempt at restoring inventory access after TPs/crossings. RemoveClient in Scene was being too
...
aggressive at nixing the user out of the cache. We're now relying on NeedSceneCacheClear to decide
whether to nix it or not. All other mods in other files are for better debugging messages.
2008-12-15 20:45:40 +00:00
Justin Clarke Casey
41ad030a5a
* minor: method documentation and miscellaneous tidy
2008-12-15 20:32:49 +00:00
Justin Clarke Casey
3b0db66b92
* Apply http://opensimulator.org/mantis/view.php?id=2775 with small tweaks
...
* This pushes an identifier for the OpenSim scene to the physics scene. This allows log messages from the physics scene to identify which OpenSim scene they relate to.
* Thanks Gerhard
2008-12-15 18:39:54 +00:00
Justin Clarke Casey
2e288fade1
* minor: Stop presence child status suffering an NRE if the agent uuid given is not represent at all
2008-12-15 18:11:47 +00:00
diva
4b71b88114
Bug fix in new child agents management. Thanks DigiDaz for helping identify this issue.
...
We need to update all child agents whenever the root agent crosses regions. The update
now includes child agents in common neighbours. This is so that those get updated with the
seeds of the new child agents that are spawned from the receiving region.
This also fixes some timing issues. We need to close child agents from the originating region
before we update child agents in the receiving region.
2008-12-15 16:23:34 +00:00
MW
a933ca842b
Removed some instances of "<3 OpenSim Developers" (why were they there?) being in alert messages from the LandManagementModile.
2008-12-15 12:47:16 +00:00
diva
d6d4c267e0
Bug fix for Hypergrid. This bug was introduced by the recent TP fixes, and affected the jump back home.
2008-12-15 00:06:52 +00:00
Melanie Thielker
3aa7ad24da
Make scripted item and folder gives pop up a "accept, decline" message
...
and allow deletion of the just received item.
2008-12-14 22:27:40 +00:00
Homer Horwitz
ef2c0d115a
Color was set twice, first correctly, then incorrectly, in SQLiteRegionData.
...
Removed the second set. Fixes Mantis#2380.
2008-12-14 18:17:35 +00:00
idb
7c6c443503
Remove use of time dilation in llGetTimeOfDay, llGetTime and llGetAndResetTime.
...
It is not documented to be applied to llGetTimeOfDay at all and is not appropriate for the other two because dilation does not directly affect script speed in OS.
Fixes Mantis #2783 and #2162
2008-12-14 17:48:27 +00:00
Teravus Ovares
8ad6f575eb
* Implements the torque/Rotational Impulse methods in the PhysicsAPI and the ODEPlugin and pipes them to their respective LSL method.
...
* NBody will need to be updated, this is an API change. Torque property and AddAngularForce
2008-12-14 14:30:28 +00:00
idb
795cdf624b
Added ATTACH_HUD_* constants fixes Mantis #2823
2008-12-14 12:14:23 +00:00
Teravus Ovares
b5dec9a37f
* Added Avatar minimum size in the ODEPlugin and a stern warning about setting the capsule size too low in OpenSim.ini
2008-12-14 07:29:40 +00:00
Teravus Ovares
6f7a560c04
* A Few physical prim + linkset fixes. Prevent some crashes
2008-12-14 06:34:05 +00:00
Melanie Thielker
b32f72a438
Adds the "Send Teleport" module
2008-12-14 05:56:33 +00:00
Melanie Thielker
008e1fe8df
Plumb the TP-Sending packets
2008-12-14 05:49:07 +00:00
Charles Krinke
e6eb571c1d
Mantis#2725. Thank you kindly, Diva, for a patch that:
...
Adds missing protocol pieces for EstablishAgentCommunication
event which allows the client to activate CAPS and the EQ for
child agents.
2008-12-14 02:17:12 +00:00
Charles Krinke
6cf0b81864
Mantis#2811. Thank you kindly, Diva for a patch that resolves
...
some of our DNS/dotted decimal issues that plague teleporting.
We are increasing the MajorInterfaceVersion from 1 to 2 in the
gridserver, so sims will need to be updated on various grids.
2008-12-13 16:25:20 +00:00
MW
40bbf886f2
more work on moving FileTransfer code to the clientstack.
...
Still not enabled.
2008-12-13 15:04:24 +00:00
Jeff Ames
8929bfc369
Add copyright headers.
2008-12-13 12:30:46 +00:00
Jeff Ames
4f9d5d955b
Update svn properties.
2008-12-13 12:22:52 +00:00
MW
e0765fa6c8
more work on moving FileTransfer code to the clientstack.
...
Although its still not enabled.
2008-12-12 22:20:13 +00:00
Justin Clarke Casey
3aaf303a75
* minor: Downgrade friends module 'client logging out' notice from error to debug
2008-12-12 21:24:39 +00:00
Justin Clarke Casey
80f285a2aa
* minor: Be a little more informative when a region fails to connect because it fails to implement the required OGS interface version
2008-12-12 21:21:35 +00:00
MW
6e07ef9cb9
Add OpenSim.Framework.IClientFileTransfer.
2008-12-12 21:17:49 +00:00
Justin Clarke Casey
96ea54409f
* minor: remove mono compiler warning
2008-12-12 21:14:27 +00:00
MW
e9d905f48c
Started to move xfer file transfer code to the LLClientStack, rather than having it in a region module (like it was).
...
Note:None of this is enabled yet.
2008-12-12 21:08:23 +00:00
Justin Clarke Casey
71960f17bc
* Extend update test to test situation where it also moves the folder
...
* Correct logic so that update folder behaves as expected
2008-12-12 21:06:07 +00:00
Justin Clarke Casey
b1f018aa26
* Create update folder test
...
* Correct small logic elidation
2008-12-12 20:43:42 +00:00
Justin Clarke Casey
42ec7f4935
* minor: make AddRequest() protected since in principle it shouldn't be used outside the class and its descendents
2008-12-12 20:10:39 +00:00
Justin Clarke Casey
1531035b14
* Actually properly enable the purge folders test and correct some problems
2008-12-12 20:04:58 +00:00
Homer Horwitz
185ad8edcb
Add missing scene reference. Fixes a NRE. SimpleModule now works again (sort of).
2008-12-12 20:01:04 +00:00
Homer Horwitz
66791c90e4
Replace the throwing of a NonImplementedException in MyNpcCharacter, so that
...
the SimpleModule doesn't prevent the start of the region server, if used.
Note: This module doesn't do anything sensible; it only serves as an example.
2008-12-12 19:39:48 +00:00
Justin Clarke Casey
9f6e567cb1
* add purge folder test
2008-12-12 19:37:51 +00:00
Justin Clarke Casey
7bbab12158
* Add user info move inventory folder test
2008-12-12 19:24:45 +00:00
Justin Clarke Casey
f8ce498755
* extend user profile create folder test to check that one can't create a folder with a non-existant parent folder id
2008-12-12 19:04:10 +00:00
Justin Clarke Casey
b60d980f7c
* Add file missing from last commit
2008-12-12 18:59:06 +00:00
Justin Clarke Casey
a7e145bdfd
* refactor: pull out common user profile test code into utility functions
2008-12-12 18:48:29 +00:00
Sean Dague
7a4f11b94d
* Deleted old EntiyList tests, added new EntityManager tests
...
* Edited EntityManager to treat Exceptions
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-12-12 18:33:16 +00:00
idb
1ba76f57ba
Made the casting of stings to floats more robust and work more like SL.
...
Added some more tests that casts previously failed on.
Fixes Mantis #2789
2008-12-12 11:50:12 +00:00
Sean Dague
624423deb1
apparently opensim only works if secure_inventory_server = true, who
...
knew? Reverting that.
2008-12-12 00:57:48 +00:00
Homer Horwitz
7672bdb0a3
Add hostnames in addition to IP address to some more places. This continues r7676.
...
NOTE: Changes UGAIM.
2008-12-11 21:49:11 +00:00
Justin Clarke Casey
80e267dcfe
* refactor: Stop exposing InventoryFolderImpl.SubFolders publicly
2008-12-11 20:58:11 +00:00
Sean Dague
616cf74e73
make a couple of other config default to make the example ini to give us
...
a better chance of working out of the box
2008-12-11 20:43:21 +00:00
Justin Clarke Casey
f23856a575
* Add get child folder test
2008-12-11 20:36:46 +00:00
Sean Dague
a02efe6dcc
after much discussion, and overwhelming +1 on the -dev list, switch the
...
default script engine to XEngine. This won't change anything if you
already specified the default in your OpenSim.ini.
2008-12-11 20:32:57 +00:00
idb
31bccdffd9
Add a null check. Mantis #2798
2008-12-11 20:20:21 +00:00
Homer Horwitz
51427bae9f
Correct the last checkin.
2008-12-11 19:57:45 +00:00
Justin Clarke Casey
30213e141b
* Add create folder userinfo test
2008-12-11 19:57:12 +00:00
Homer Horwitz
d943abea57
Move from IP to hostname for seed caps on login, for gridmode and standalone.
...
All the other caps (except the initial one) are already sent with hostname
instead of IP.
NOTE: This changes gridserver and userserver
2008-12-11 19:52:29 +00:00
Justin Clarke Casey
c9aabe2b90
* Pop in a missing using statement without which UserProfileCacheServiceTests.cs fails on Windows (but not mono)
2008-12-11 19:11:19 +00:00
Justin Clarke Casey
04a07daa5b
minor: Add request inventory test
2008-12-11 18:56:04 +00:00
Justin Clarke Casey
0e870400ca
* Delete currently unrun TestInventory.cs superseded by BasicInventoryTests
2008-12-11 18:30:57 +00:00
Justin Clarke Casey
bec3993849
* Fold mock classes into existing OpenSim/Tests/Common assembly rather than sprouting another one
2008-12-11 18:07:23 +00:00
Justin Clarke Casey
230eb06d34
* Extend test to probe for user details that should exist
2008-12-11 17:30:57 +00:00
Justin Clarke Casey
c4b45449ee
* test: Add simple user profile test that checks for non-existing users
2008-12-11 17:23:55 +00:00
Justin Clarke Casey
e02aaaf9db
* minor: Move mock test classes into mock namespace
2008-12-11 16:40:22 +00:00
MW
fa28d1ab7d
Reimplemented running of ShutdownCommandFile. Mantis #2800
2008-12-11 14:31:58 +00:00
Jeff Ames
a8fff196f5
Update svn properties, minor formatting cleanup.
2008-12-11 02:35:51 +00:00
Melanie Thielker
2101680094
Make object return actually use the CanReturnObject permission, rather than
...
the CanDelete one.
2008-12-11 01:03:53 +00:00
Teravus Ovares
7f80eff067
* Committing a slightly distilled version of nlin's ODECharacter race condition eliminator.
...
* The modifications that I made were only so that it didn't require changes to the public physics api.
2008-12-10 23:46:20 +00:00
Justin Clarke Casey
c9ae8fce5e
* refactor: Move test infrastructure code to its own package so that it can be reused by more than Environment tests
...
* This shuffles the test packages in prebuild.xml below it so they can all potentially reference it
2008-12-10 20:57:15 +00:00
Justin Clarke Casey
f38c35b609
* refactor: Move inventory handlers out from UserProfileCacheService
...
* This means that UserProfileCacheService no longer needs to know about IClientAPI and can leave it to callers to do their own error logging
* This is also more consistent with the way that item inventory manipulation is handled
* I don't really think Scene.PacketHandlers.cs should be a permanent home for these handlers - this is just for convenience
2008-12-10 19:12:59 +00:00
Justin Clarke Casey
93977c2d47
* Establish OpenSim.Framework.Communications.Tests beachhead
...
* No valid tests yet
2008-12-10 17:43:45 +00:00
Justin Clarke Casey
9e02a639e5
* Apply the other patch from http://opensimulator.org/mantis/view.php?id=2315
...
* This means that LL RAW terrains (one source being the upload/download buttons on the estate dialog in the viewer) are now imported the 'right' way around rather than being
flipped on the y axis
* Existing RAW terrains before this patch will need to be flipped with the "terrain flip y" command from the console after import
* More details on the mailing lists soon.
-This line, and those below, will be ignored--
M OpenSim/Region/Environment/Modules/World/Terrain/FileLoaders/LLRAW.cs
M OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
M OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs
2008-12-10 16:50:11 +00:00
Melanie Thielker
e8a43b136b
Applying diva's revert patch. Reverts closing child agents and makes
...
TP more reliable again.
2008-12-10 01:37:31 +00:00
Justin Clarke Casey
dae84498ed
* Enable agent to agent transfer of inventory folders
...
* It should now be possible to give an entire folder to another avatar instead of just single items at a time
2008-12-09 20:07:15 +00:00
Justin Clarke Casey
762712c02e
* Actually update subfolders of parent folders in the inventory cache when a folder gets moved
...
* This was causing inventory folder transfer code to not work properly (this is still temporarily disabled)
2008-12-09 18:35:09 +00:00
Justin Clarke Casey
7c3bfdd8c9
* Apply terrain flip patch from http://opensimulator.org/mantis/view.php?id=2315
...
* This allows terrain to be flipped on the x or y axis with the command "terrain flip x" (or y)
* See terrain help from the command prompt
* This is in anticipation of change the way around in which terrain raw files are imported to match that of Second Life (to reduce user confusion and improve useability)
* Thanks jonc!
2008-12-09 17:00:42 +00:00
Teravus Ovares
cb73cf1a92
* Fixes a few instances of llSetStatus with Axis lock gone wrong.
...
* Sums up the masses of the objects within a physical linkset
2008-12-09 16:27:07 +00:00
Justin Clarke Casey
557567dcf8
* minor: remove some old logging messages
2008-12-09 16:16:16 +00:00
Sean Dague
04e8d624d6
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
The attached patch ads an OpenSim.ini option (AutomaticLinkPermission)
which when enabled makes PERMISSION_CHANGE_LINKS to be granted to
scripts by default. When enabled llGetPermissions will always return it
as granted and llCreateLink//llBreakLink will succeed without
doing llRequestPermissions. ONLY ENABLE THIS IN TRUSTED ENVIRONMENTS.
The patch also fixes a minor bug in llCreateLink
related to a potential dereference of a null client object.
2008-12-09 13:24:01 +00:00
Jeff Ames
3ba0bc8f44
Minor formatting cleanup.
2008-12-09 12:15:02 +00:00
Teravus Ovares
3844e73d27
* Gerhard's patch m2781. Does some initial work for setting up llVolumeDetect.
...
* Warning! Physics API change. This means that the NBodySimulation needs to be updated!
* PhysicsActor -> void SetVolumeDetect(int) needs to go into classes that use PhysicsActor as their base class.
2008-12-09 11:11:16 +00:00
Dahlia Trimble
44d133da66
clean up some old debugging code
2008-12-09 08:17:31 +00:00
Adam Frisby
888151833b
* Added primitive exception logging capabilities.
...
* Disabled by default (see OpenSim.ini.example for how to enable)
* Saves exceptions to a folder on disk (default "crashes") when enabled.
* These reports can then be uploaded or posted to help debug an error.
2008-12-09 03:06:26 +00:00
idb
8c33fcb321
Remove null checks on structs
2008-12-09 00:51:35 +00:00
idb
7e65697142
Reinstate setting timeout to never, the default 30 second timeout was causing problems with big migrations
2008-12-08 18:55:19 +00:00
Sean Dague
444436db15
change a UUID cast to an actual new UUID call to be consistant with
...
the rest of the assignments here.
2008-12-08 17:06:47 +00:00
Sean Dague
a260466147
fix an issue I found where primshapes weren't every being removed
...
because of a logic error.
attempt to speed up deletes a bit by batching up all the primitem
deletes and primshape deletes into single delete statements. This
removes the lock/release/lock/release/lock/release for loop.
2008-12-08 16:29:48 +00:00
lbsa71
b4a725ed87
* Killed off OpenSimExport. One project less to maintain.
2008-12-08 14:45:40 +00:00
Teravus Ovares
e61dacb928
* Adds some rudimentary error handling to the physics debug drawstuff tool.
2008-12-08 07:19:26 +00:00
Teravus Ovares
354ffcf94e
* Fixes control issue at the root of the boat turning problem.
2008-12-08 07:18:30 +00:00
Homer Horwitz
7083be07b0
Allow empty statements in LSL (; followed by ;). Fixes Mantis#2320
2008-12-07 19:20:45 +00:00
Teravus Ovares
76e1462dff
* Tweaks physics so that linked prim are a single body. This will make linked prim more stable and probably the last obstacle to vehicles physics wise.
...
* Fixed a bug that caused physics proxies to be scattered when you link an object.
* Single physical prim work exactly the same as before, just linked physical prim will have changed.
2008-12-07 04:03:09 +00:00
Homer Horwitz
6ab09bc139
Send the creation-date of items to the viewer. This fixes Mantis#2769.
2008-12-06 22:51:41 +00:00
Melanie Thielker
c5bd7975e8
Change AllowScriptCrossings to be AllowScriptCrossing to match the
...
.ini files already out there
2008-12-06 18:33:13 +00:00
idb
84ba5dd962
Fix an ArgumentNullException when moving a DotNet scripted object to the next region
2008-12-06 14:55:18 +00:00
Jeff Ames
3a4ddfec79
Add copyright headers.
2008-12-06 03:54:01 +00:00
Tedd Hansen
f2cbc48a9e
GUI for launching grids. Early version, but should work fine.
...
Will execute all OpenSim services redirect their input/output/errors to the selected "GUI module".
This version has following "GUI modules":
* Windows Forms
* Windows Service (doesn't work yet)
* Console
* TCP daemon
This means that OpenSim can now run in a single console for those who want that.
Console functionallity is not too rich yet, but code/framework is there... more to come. :)
2008-12-06 03:28:34 +00:00
Jeff Ames
b23e82b573
Minor formatting cleanup.
2008-12-06 00:54:48 +00:00
Melanie Thielker
d24e4a9f2d
Committing the missing bits to enable script crossing. Disabled by default.
...
For a script to successfully cross, both source and destination region must
enable the feature. WARNING: Trusting binaries from other sims allows
ARBITRARY REMOTE CODE EXECUTION for ANYONE! Please do not use except
in ultimate trust scenarios!
2008-12-05 20:30:00 +00:00
Homer Horwitz
05467cb780
- Use the http-port that is now provided by the grid-server. If it isn't (because GridServer is too old), complain.
...
Not used yet, but will be necessary for crossing regions correcly.
2008-12-05 17:31:31 +00:00
Homer Horwitz
33d7913341
- Fixed missing ToString() in map_blocks response in grid-server
...
- Added remoting_port to the non-fast if-branch, too
- Added httpPort field to map_blocks response. This isn't needed yet, but will be for correct crossing between regions.
Note: This touches the GridServer.
2008-12-05 17:31:20 +00:00
idb
7ae9ec217d
Implementation of the llDetectedTouch* functions
2008-12-05 16:48:47 +00:00
Tedd Hansen
c826570751
Fixed Mantis #2756
2008-12-05 16:20:12 +00:00
Dr Scofield
bdffd56a45
killing warnings, reformatting RemoteAdminPlugin
2008-12-05 15:28:03 +00:00
Tedd Hansen
336daa1aa8
save file before commit is often useful
2008-12-05 13:12:16 +00:00
Tedd Hansen
a20d6b4b42
Fix: removed m_log.InfoFormat("[OPENSIM MAIN]: GC Latency Mode: {0}", GCSettings.LatencyMode.ToString());
2008-12-05 12:59:50 +00:00
Tedd Hansen
081383c8cb
Garbage Collector
...
* Enabled GC server
* Enabled concurrent collections
2008-12-05 12:42:32 +00:00
idb
e56f918b17
Mantis #2350
...
Move the DotNetEngine Unloading script debug message
2008-12-05 12:30:50 +00:00
MW
2cb30b3435
some small refactoring of the LoginService to allow sub classes to override the LLSD login authentication
2008-12-05 10:31:34 +00:00
Melanie Thielker
826450eabe
Actually remove the script when it's task inventory item is deleted, rather
...
than just stopping it.
2008-12-05 07:53:12 +00:00
Melanie Thielker
5e819ba933
And fix it right
2008-12-05 05:28:17 +00:00
Melanie Thielker
2667fdf1e3
Mantis #2754
...
Stop scripts that are removed from an object's inventory
2008-12-05 05:19:32 +00:00
Melanie Thielker
1cad124b7d
Allow no-copy attachments to be worn without losing them
2008-12-05 04:17:21 +00:00
Melanie Thielker
9d64709602
Yay for languages without default parameter values
2008-12-05 03:36:41 +00:00
Melanie Thielker
cbd3e53ce1
Stop trying to save attachment states on logout. That caused a predicatble
...
loss of no copy attachments, as the client context/thread was terminating
before the save could complete.
2008-12-05 03:26:01 +00:00
Justin Clarke Casey
5ffbba9a8f
* minor: Take out some of the test log output I accidentally left in a couple of commits ago
2008-12-04 21:06:25 +00:00
Justin Clarke Casey
bdee86563c
* Check in another patch from http://opensimulator.org/mantis/view.php?id=2710
...
* This allows removal of the old NHiberate.Mapping.Attributes.dll
* Also add in the files I forgot about last time. Doh!
2008-12-04 20:48:08 +00:00
Justin Clarke Casey
b4db3a550a
* Apply http://opensimulator.org/mantis/view.php?id=2750 with a small tweak.
...
* Initializes ODE only when a scene is grabbed rather than on plugin load. This means we don't initialize ode if that physics engine is not used, and it allows other ode use
plugins to be used instead.
2008-12-04 20:29:34 +00:00
Justin Clarke Casey
38ca31b37a
* Put in the code necessary to allow inventory transfer of whole folders (and their contents) between agents, not just single items
...
* However, this is not currently activated since it's not absolutely fully tested and there's a bug lurking in there to do with the sending of the BulkInventoryUpdate packets
2008-12-04 19:57:36 +00:00
Jeff Ames
1bd92a6d34
Minor formatting cleanup.
2008-12-03 23:48:24 +00:00
Homer Horwitz
17a0474c5f
Fixes Mantis#2744: Permissions returned false for resetting scripts in
...
non-root SOPs. Now, they will use the SOG the SOP belongs to.
2008-12-03 19:45:35 +00:00
Sean Dague
95de4717b6
* Minor test correction, comment removal
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-12-03 19:19:51 +00:00
Sean Dague
b337088997
* Locked some RemoteAdmin methods due to racing condition bad behavior.
...
* Methods locked: CreateRegion, DeleteRegion, CreateUser, CreateUserMethodEmail,
UpdateUserAccountMethod, LoadOARMethod, LoadXMLMethod
* An example of bad behavior was multiple region creation where same UUID and
grid location was possible, by running multiple XMLRPC threads.
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-12-03 19:19:46 +00:00
Sean Dague
b2ab15ba34
Extends Avatar Appearance tests
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-12-03 19:19:39 +00:00
Dr Scofield
59b0ac846c
From: Christopher Yeoh <cyeoh@au1.ibm.com>
...
The attached patch fixes the bug where llCreateLink will cause a null dereference
if the avatar who gave link permission for the object is no longer logged in.
2008-12-03 10:10:01 +00:00
Melanie Thielker
0d5d3e0b48
Reinstate closing the EQ when the UDP circuit disconnects. This will likely
...
also reinstate the texture issue, which needs ot be fixed another way.
2008-12-03 06:33:13 +00:00
Jeff Ames
ab83713a2c
Make a couple log4net instances static readonly.
2008-12-03 05:18:28 +00:00
Jeff Ames
d324389dd9
Update svn properties.
2008-12-03 04:41:31 +00:00
Melanie Thielker
4636e5fc01
Remove a line of debug info in XEngine that i missed
2008-12-03 03:28:28 +00:00
Melanie Thielker
b80a48841e
Remove the bandaid (fast rip)
2008-12-03 03:26:58 +00:00
Melanie Thielker
0edb533c27
Apply Diva's bandaid to OpenSim's scraped knee.
2008-12-03 01:55:40 +00:00
Justin Clarke Casey
d253008450
* Apply http://opensimulator.org/mantis/view.php?id=2741
...
* Fix llTriggerSound()
* Thanks Godfrey!
2008-12-02 17:55:07 +00:00
Justin Clarke Casey
dde32f1130
* Reapply http://opensimulator.org/mantis/view.php?id=2710
...
* This patch gets NHibernate working
*** PLEASE NOTE: This patch now requires the libmono-oracle2.0-cil library to be installed on Ubuntu (to stop the System.Data.Oracle missing failure) ***
* Not sure what the dependency is on other distros. Adding this info to http://opensimulator.org/wiki/Build_Instructions would be most welcome
* Adds Castle.* libraries that were missing last time (note, dlls have been added from http://downloads.sourceforge.net/nhibernate/NHibernate-2.0.1.GA-bin.zip )
2008-12-02 15:22:58 +00:00
Justin Clarke Casey
26fd6c741f
* Resolve http://opensimulator.org/mantis/view.php?id=2743 and http://opensimulator.org/mantis/view.php?id=2739 by no longer bothering to store or retrieve the local parentID in
...
the region database
* The original issue is that the now randomly generated local ids do not fit into the int parentID datatype
* However, as far as I know it's actually pointless to store this local parent ID anyway (we already store the groupUUID), especially as we don't bother to store the localID (as
opposed to UUID itself).
* Conservatively, the actual column will be removed in a later commit
2008-12-02 14:59:52 +00:00
lbsa71
5588cb3e92
* reverted 7561 as the logger reference should always be private to the class. Thanks sdague for the protip!
2008-12-02 14:09:45 +00:00
MW
8f7c2ba91b
changed UserManagerBase. IInterServiceInventoryServices m_interServiceInventoryService from private to protected
2008-12-02 13:15:10 +00:00
Melanie Thielker
5a7ffb7298
Remove some of the XEngine chattiness
2008-12-02 12:12:50 +00:00
MW
11169c0e71
Made BaseOpenSimServer.ShutdownSpecific() public. As the OpenSimBase.Shutdown() includes a Environment.Exit(0); which is not always wanted when shutting down, like from a windows service.
2008-12-02 11:40:22 +00:00
MW
b62b9af6b0
Added two new "trusted" url handlers to the Inventory server, to allow the user server to get a list of items in a folder and add a new item.
2008-12-02 11:15:08 +00:00
Melanie Thielker
bf4ccf3858
Catch all possible exceptions in the mysql module. It throws non-mysql
...
exceptions as well.
2008-12-02 01:50:15 +00:00
Homer Horwitz
4480d5527b
Fix Mantis#2527. Permissions returned false for editing non-root SOPs. Now,
...
they will use the SOG the SOP belongs to (as it was for the root-SOP already).
2008-12-01 22:28:17 +00:00
Sean Dague
047e54acbc
don't close eventqueues when you leave a region. This really does seem
...
to fix the A -> B -> A issue. Because the code is very reuse friendly,
it shouldn't cause much additional memory bloat in the sims.
I'm sure this isn't the right fix, but it is progress, and confirms that
the close path while leaving a region is part of the issue.
2008-12-01 21:03:55 +00:00
Justin Clarke Casey
18ba6c3510
* minor: A few tiny bits of documentation and log message cleanup before starting something different
2008-12-01 20:28:00 +00:00
Justin Clarke Casey
2cf0be7d58
* Assume that asset data in a reset inventory post is not inlined by default
...
* This means that the xml of a get request can be used as the input with a few value tweaks, instead of having to explicitly put inline="false" in the output xml
2008-12-01 19:23:12 +00:00
Melanie Thielker
733faf9748
Fix the terrain loader
2008-12-01 19:08:58 +00:00
Justin Clarke Casey
e31b8be54d
* minor: remove 2 mono compiler warnings
2008-12-01 19:02:16 +00:00
Melanie Thielker
5727146d61
More reverts. Revert the MySQL database module. This caused more issues
...
than it solved by trying to use, and then exhausting, the connection pool
2008-12-01 18:59:13 +00:00
Justin Clarke Casey
80520206fc
* Unforunately it turns out not to be that simple. Revert the rest of r7560 for now.
2008-12-01 18:42:14 +00:00
Justin Clarke Casey
4699cd7957
* stop inventory item creation via REST falling over on any included assets that are not inline (UUID only)
...
* make rest inventory item xml output use 'invtype' for inventory type rather than just 'type'. This makes it symmetrical with input xml
2008-12-01 18:09:04 +00:00
Justin Clarke Casey
5a0fa4f34c
* minor: fix log message printed when unrecognized elements are found in inventory rest input xml
2008-12-01 17:49:52 +00:00
Sean Dague
c8abe037a5
fix the "I get no textures if I teleport back to a region I've been in
...
before" issue. This involves the EventQueueGet module so I'm not sure
this is the right fix but it appears to work.
When the ScenePresence leaves force a close on it. The reuse of the
queues doesn't seem to be working, so the forced close causes a new one
the next time in. This does appear to work.
2008-12-01 16:55:39 +00:00
Sean Dague
21b1218737
attempt to modify the event queue for greater debugging
2008-12-01 16:49:26 +00:00
Charles Krinke
01fc0492d0
Mantis#2730. Thank you kindly, StrawberryFride for a patch that:
...
MSSQL Fix to accommodate random ParentIDs. uint values now
cleanly converted to ints and vice versa to hopefully prevent
outofrange exceptions on prim storage.
2008-12-01 15:03:57 +00:00
MW
67c260fdcc
Added a Catch(InvalidOperationException) to BaseHttpServer.HandleRequest(). Which is thrown due to errors in the XML deserializing. Without this catch is it easy to bring down any of the opensim servers on purpose by just sending corrupt xml to them.
2008-12-01 11:23:27 +00:00
lbsa71
5d290cda4a
* Making log available for subclasses
2008-12-01 10:06:10 +00:00
Adam Frisby
4ed7ca62b1
* From Mantis#2701 - Implements NHibernate data adapter, adds support for MsSql2005 to NHibernate.
...
* Patch courtesy of Adminotech and realXtend. Thanks!
2008-12-01 07:50:38 +00:00
Melanie Thielker
6c86823803
Mantis #2729
...
Add a check for script reset permissions to the permissions module
2008-12-01 03:40:41 +00:00
Melanie Thielker
ddf765f840
Make the permissions module hook CanResetScript suitable for use
2008-12-01 03:32:48 +00:00
idb
098f16fe31
Remove duplicated avatar height calculation in lsl functions.
...
Use height calculation in Basic Physics and Physics of Simplicity so that avatars larger than the default walk with straight legs and shorter walk on the ground.
2008-12-01 00:49:36 +00:00
Melanie Thielker
d1841ca94d
Mantis #2584 (again)
...
Next step of diva's TP fixes and HG support
2008-11-30 23:36:56 +00:00
Homer Horwitz
96921c402c
Try to fix Mantis#2727. SQLite seems to be able to store bigger numbers in
...
an INTEGER column (using 6 bytes), but the mapping was wrong.
Question: Should we move localIDs to int instead of uint to save some bytes?
2008-11-30 22:27:22 +00:00
idb
e102ed3ce1
Mantis #2716 Null when linking across objects across two regions.
...
Now silently fails to link prims in different regions.
2008-11-30 21:19:53 +00:00
Melanie Thielker
379d44fd6d
Fix prim crossings, again.
2008-11-30 09:03:55 +00:00
Melanie Thielker
38380def17
More changes to the MySQL adapter. take advantage of pooling and run lock-free.
...
This should finally kill the "There is already an open data reader associated
with this connection, which must be closed first" error that makes people's
builds not save
2008-11-30 05:20:19 +00:00
Dahlia Trimble
07ee2c3504
Revert r7548 and r7549 until someone with prebuild-fu can help structure the dependencies
2008-11-30 03:52:18 +00:00
Dahlia Trimble
37afd69feb
Removed remaining meshing code
...
Add PrimMesher.dll r21
All meshing tasks are now passed through Meshmerizer and handled by PrimMesher.dll
2008-11-30 03:13:02 +00:00
Jeff Ames
077314cdd3
Update svn properties. Add copyright header. Minor formatting cleanup.
2008-11-30 00:51:40 +00:00
Melanie Thielker
d579246257
Explicitly Dispose() all cmd objects
2008-11-29 21:24:54 +00:00
Homer Horwitz
aaba3c342f
Fix usage of reflection where it isn't necessary.
2008-11-29 19:50:53 +00:00
Homer Horwitz
6408626c97
Revert justincc's try to change the licence char-by-char AGAIN!!! :P
2008-11-29 19:50:33 +00:00
Melanie Thielker
b6fef0fdb8
Add configuration values for scripted prim region crossing
2008-11-29 14:26:42 +00:00
Melanie Thielker
af5e9147f0
Start scripts in attachments only after a successful attach. Elimininate
...
a gratuitious asset fetch when region crossing.
2008-11-29 14:16:09 +00:00
Melanie Thielker
b8e8a33d60
Mantis #2584
...
Applying a patch from Diva. This patch introduces significant improvements
in teleporting. Thank you, Diva.
2008-11-29 13:49:20 +00:00
Melanie Thielker
1b3a3ffc77
Finally make attachments stay put. Randomize local ID generation to
...
prevent adjacent sims from using identical Local IDs for the attachment
Thanks to Mana Janus (Hippo Viewer) for providing the crucial bit of
information, namely that, due to a bug in the viewer, adjacent sims can't
use the same local ids.
2008-11-29 13:17:21 +00:00
Melanie Thielker
a00d346aab
Add the lifetime management back into the LSL_Api, since that will also
...
expire and take the scripts down
2008-11-29 11:20:06 +00:00
Dahlia Trimble
fdd2388331
Update meshing code to sync with current PrimMesher.cs on forge.
...
Migrate sculpt meshing code to primMesher version. This should result in more accurate physical sculpted prim proxies.
Remove much obsolete code from Region/Physics/Meshing
2008-11-29 11:02:14 +00:00
Melanie Thielker
1952a67ceb
Comment the ScriptSponsor and restore the indefinite lifetime for
...
scripts until that can be better debugged
2008-11-29 07:10:00 +00:00
Melanie Thielker
e1153394c1
Stop attachments from twisting away. Thismakes attachments phantom, which
...
is the proper way to handle this
2008-11-29 07:05:33 +00:00
Melanie Thielker
179d114daa
Try to prevent attachments twisting/moving
2008-11-29 04:01:46 +00:00
Melanie Thielker
ef4a80eeaf
Should have tried with something other than attachments. Make normal prim
...
render again :)
2008-11-29 03:18:06 +00:00
Melanie Thielker
287c724b55
A try to better attachment crossing.
2008-11-29 01:33:10 +00:00
Justin Clarke Casey
8527f23c59
* Stop console misleadingly reporting an error if it cannot find a startup commands file
2008-11-28 21:09:20 +00:00
Justin Clarke Casey
4356fc1006
* minor: remove mono compiler warning
2008-11-28 21:05:35 +00:00
Justin Clarke Casey
5f9ccd486f
* test: Extend take object test to finally check that the object made it into user inventory and that it was removed from the scene
2008-11-28 20:58:12 +00:00
Teravus Ovares
c9a5215d6d
* Fixes Location == Location, and Location != Location
2008-11-28 20:37:21 +00:00
Justin Clarke Casey
dfbec673a4
* simplify AddNewClient since making this root without using MakeRootAgent() no longer sets everything up properly
2008-11-28 20:11:17 +00:00
Teravus Ovares
86b75d1617
* Committing a new test, that will fail until someone decides to fix Location == Location. Obviously, if that is failing then many other things that test location will fail.
2008-11-28 20:07:13 +00:00
Teravus Ovares
414bf2aaf1
* The equals override of 'Location' is not working as expected. This caused sim restarts to fail because the test that searches for and shutsdown the UDP server listener for that region never found and shutdown the udp server. hence the error message, "only one listener on port".
...
* This is a high profile candidate for a unit test. (big)
2008-11-28 19:44:44 +00:00
Justin Clarke Casey
71e05a5707
* test: Add a wodge of code in order to be able to slightly extend a test to deliver a taken object to a user inventory folder without throwing an exception
...
* test doesn't actually double check for the presence of the item yet
2008-11-28 19:39:46 +00:00
Justin Clarke Casey
abfb7bd2cf
* test: Separate out async deletion methods to test delete and take copy separately.
...
* The take copy test doesn't currently actually test the take
2008-11-28 17:41:45 +00:00
Justin Clarke Casey
df9b0e9e11
* refactor: Replace derez destiation magic numbers with an enumeration
2008-11-28 17:18:10 +00:00
Justin Clarke Casey
a199d9b955
* minor: remove unused JId class
2008-11-28 16:10:30 +00:00
Justin Clarke Casey
18974b7766
* refactor: rename UserServiceAdmin to UserAdminService
2008-11-28 16:04:01 +00:00
Justin Clarke Casey
63851f1441
* refactor: move ResetUserPassword into UserServiceAdmin
2008-11-28 15:47:01 +00:00
Justin Clarke Casey
7b49c711e9
* minor: Eliminate unused paramter in LocalUserServices constructors
2008-11-28 15:40:44 +00:00
Justin Clarke Casey
0862627b34
* refactor: move CreateUser into UserServiceAdmin
2008-11-28 15:34:30 +00:00
lbsa71
27d9e715c0
* Changed name of auth function to better reflect actual use
2008-11-28 12:31:30 +00:00
Melanie Thielker
09281fb55c
Correct wrong inverted logic on settings goup
2008-11-28 09:54:27 +00:00
Melanie Thielker
dd3f87ceb5
Revert setting the parent local is explicitly, as that caused even more
...
failures
2008-11-28 04:50:50 +00:00
Melanie Thielker
0afbb6cb3e
Omit parcel checks for attachments.
2008-11-28 04:31:39 +00:00
Melanie Thielker
3ff34579e4
Force regioncrossed prims to get a new LocalID. Reset parent local ID to new
...
avatar local ID when corssing.
2008-11-28 03:28:39 +00:00
Melanie Thielker
a7f3d2fbc2
Invert a test to allow prims to region-cross again
2008-11-28 02:31:43 +00:00
Melanie Thielker
48149f36c0
Reinstate a check that i overzealously removed. Permissions are not slammed
...
without owner change anymore
2008-11-28 01:07:22 +00:00
Melanie Thielker
d50c752dbe
Fix build break
2008-11-27 22:46:20 +00:00
Melanie Thielker
8089935681
And take away a now unnecessare swap elsewhere. We should not be swapping
...
them anywhere but at the point of transmission
2008-11-27 22:37:04 +00:00
Melanie Thielker
d20a3c6e5a
Cause attachment nibbles to be swapped in terse object updates, too.
...
This error may have been the root cause of the head attachment bug.
2008-11-27 22:30:54 +00:00
Justin Clarke Casey
a3a4c16294
* minor: rename m_parent to m_commsManager to make it a little clearer what it actually is
2008-11-27 20:46:10 +00:00
Justin Clarke Casey
9b03802189
* test: Inch forward with another test by using a skeletal in memory inventory data plugin
2008-11-27 20:33:18 +00:00
Justin Clarke Casey
8ba6b2b11a
* minor: remove mono compiler warnings
2008-11-27 19:51:11 +00:00
Justin Clarke Casey
45c50998c2
* Remove unused and largely unimplemented UpdateUserCurrentRegion()
...
* please say if this causes you a problem
2008-11-27 19:43:26 +00:00
Justin Clarke Casey
1cd727614d
* Add a file I forgot in the last commit.
2008-11-27 19:31:19 +00:00
Justin Clarke Casey
7c6c776ff7
* test: Add the ability to add a plugin directory to the user and inventory services in order to extend unit tests for user and inventory information
...
* I can't spend any longer in trying to get Mono.Addins to work with the unit tests, so this is not a proper plugin at this time
2008-11-27 19:28:04 +00:00
Justin Clarke Casey
5867f9c11f
* minor: remove the ability to change the client in ScenePresence to reduce the scope of possible bugs - currently unused in the core code
...
* if this is being used then please say and we can see if there is a better accomodation of this
2008-11-27 15:14:27 +00:00
lbsa71
4a54e3412d
* Opened the registration of http handlers up for subclassing
2008-11-27 14:39:44 +00:00
Tedd Hansen
1eeffcd89e
Test commit.. just contains div trace and other stuff.
2008-11-27 13:41:26 +00:00
Teravus Ovares
f7beef3283
* Adds texture download requests to pcampbot to more accurately represent load.
2008-11-27 06:54:20 +00:00
Teravus Ovares
7bf1452a61
* Fix some tests
2008-11-27 06:07:17 +00:00
Charles Krinke
921692a15f
Thank you kindly, Nlin for a patch that:
...
Adds a new method to IClientAPI to allow adding message handlers
for GenericMessages (of which "autopilot" is one). Part 2 adds a
specific autopilot handler in ScenePresence.cs.
2) Removing unused variables and functions.
3) Simplifying the navigation logic in ScenePresence.cs. The
original patch was somewhat complex because it included orientation
logic for a future enhancement of orienting the avatar to point
towards the direction being walked. Currently this isn't working,
though, so I removed the orientation code, which leaves just the
smaller and hopefully simpler-to-understand movement code.
2008-11-27 05:16:47 +00:00
Melanie Thielker
714ca971d6
Unconditionally set the slam bit oon all object to agent inventory transfers.
...
Closes a possible exploit with prims containing other prims
2008-11-27 03:56:21 +00:00
Melanie Thielker
d9c05a6def
Cause the slam bit to be set in transferred inv items
2008-11-27 03:54:43 +00:00
Melanie Thielker
6b7ba29986
Fix permission propagation that was broken some revision back, causing
...
sold/given prim to become full perm.
2008-11-27 03:17:00 +00:00
Homer Horwitz
557559abd3
Added local lookup before we ask the messaging server.
...
Still not tested. May contain bugs.
2008-11-26 19:50:03 +00:00
Justin Clarke Casey
c85e2a0fb0
* restore deleted method documentation, some to IRegionDataStore and some to MySQLRegionData
...
* I would like to keep documentation on methods, even if it sometimes seems obvious (and not all of these are)
2008-11-26 17:42:35 +00:00
Justin Clarke Casey
3e3cf67b00
* minor: Remove unused SetAnimation method that was identical to TrySetAnimation
2008-11-26 17:40:08 +00:00
Justin Clarke Casey
759850cbc1
* Eliminate forceAvatarMovement() in favour of existing AddNewMovement()
2008-11-26 17:30:47 +00:00
Justin Clarke Casey
7c2f8e2ee9
* Get rid of the phenomena where the avatar sometimes reverts to the stand animation when flying across borders
...
* Applies to both standalone and grid mode
* The slight retardation on border cross remains - this is a separate issue
2008-11-26 16:56:57 +00:00
Tedd Hansen
1767100316
ScriptSponsor and LSL_Api are now MarshalByRefObject
2008-11-26 14:23:46 +00:00
Tedd Hansen
e2b6ad4d5f
Made ScriptSponsor serializable
2008-11-26 13:25:56 +00:00
Melanie Thielker
f1f4b16bc8
Change the max value of the bytes in tests to 127. MySQL bytes are signed
...
by default
2008-11-26 12:34:32 +00:00
Melanie Thielker
fdf5f55a5b
Yay for unit tests. Increased the type width of the prims and primshapes
...
tables, and changed the database modules to actually push these doubles
down into the database layer.
2008-11-26 12:23:56 +00:00
Melanie Thielker
4fdda32cd3
A migration to make the floats in prims table be doubles
2008-11-26 11:38:58 +00:00
Melanie Thielker
bd6f58184a
Reduce the numerical range of text values to match what MySQL offers
2008-11-26 11:27:02 +00:00
Tedd Hansen
e6ddb5de7d
Attempt to give script objects a proper lease time (DNE and xengine). Relies on GC. Also removed lease for LSL_Api as it strictly speaking should not be MarshalByRef. Or should it? If so I broke scripting! :)
2008-11-26 11:12:57 +00:00
Melanie Thielker
c7d39fb4e3
Comment one more field that can't be tested that way anymore
2008-11-26 10:55:06 +00:00
Adam Frisby
5f912a6787
* Adding ScenePresence.ClientView property to return IClientCore interface to a client.
2008-11-26 09:53:45 +00:00
Melanie Thielker
841c53003f
A migration to convert the floats int the database to doubles.
...
Maybe we don't have to say "Shift happens" as often anymore....
2008-11-26 09:05:11 +00:00
Melanie Thielker
3388584aa8
Fix 2 of the failed tests. Cause terrain queries to return null when no
...
terrain is found, rather than a default "0" terrain.
Remove the "remove object wrong region" test. UUIDs either are unique
or they're not. This test tested a bad behavior I have chosen not to
duplicate.
2008-11-26 08:06:14 +00:00
Melanie Thielker
3efdccbb12
Committing the LCO database layer. Native MySQL, no ADO. New reconnect
...
mechanism to prevent prim loss. Preserve link order on sim restart
and drag copy. Fix drag-copied prims' inventories. Fix persistence
of child prim inventories.
2008-11-26 07:34:38 +00:00
Homer Horwitz
3e42cca2c0
Next step of the PresenceModule. Still not complete; local optimizations and the
...
messaging server changes are still missing.
Completely untested. May contain bugs.
2008-11-25 22:04:33 +00:00
Homer Horwitz
4acddb6797
Mantis#2692: Thanks Diva, for a patch that fixes a bug in HyperGrid.
2008-11-25 19:08:52 +00:00
Justin Clarke Casey
759a667247
* Make a step on removing direct access to TaskInventoryDictionary from other packages
2008-11-25 17:15:21 +00:00
Justin Clarke Casey
11f7471d9c
* Remove direct access to Inventory.Serial
2008-11-25 17:01:18 +00:00
Justin Clarke Casey
6caebb6c93
* refactor: Establish an IEntityInventory interface for SceneObjectPartInventory.cs and expose that from SceneObjectPart rather than the original object
2008-11-25 16:47:50 +00:00
Jeff Ames
de052c48d1
Add copyright headers. Minor formatting cleanup.
2008-11-25 16:10:08 +00:00
Jeff Ames
518a8b9f2a
Update svn properties.
2008-11-25 16:00:55 +00:00
Justin Clarke Casey
fbf90b1ece
* minor: eliminate mono compiler warnings
2008-11-25 15:41:42 +00:00
MW
3223a4d16d
made the messaging server OpenMessage_Main constructor public (from private) so it can be subclassed.
2008-11-25 15:19:46 +00:00
Justin Clarke Casey
e187972377
* Apply http://opensimulator.org/mantis/view.php?id=2640
...
* This is Diva's hypergrid patch, as perviously discussed on the opensim-dev mailing list
* Applied some minor prebuild.xml jiggling to resolve a dependency issue
* Thanks Diva!
2008-11-25 15:19:00 +00:00
lbsa71
dbe64197ae
* Adding some virtual hooks and making some privaets protected for great justice.
2008-11-25 11:46:15 +00:00
lbsa71
0f5112ffff
* Adding the incoming url as Param[2] in the XmlRpcRequest
2008-11-25 11:45:34 +00:00
lbsa71
4cfa8b0a10
* First step in refactoring the login code - extracting the authentication
2008-11-25 11:44:31 +00:00
Homer Horwitz
62c263d32b
WIP: Adding a few things to PresenceModule. Not quite finished yet.
2008-11-24 22:07:45 +00:00
Homer Horwitz
c13bf719e1
- Evaluate config only once
...
- Fixed some locking issues
2008-11-24 20:43:16 +00:00
Adam Frisby
6fb254965d
* Added some debug information when console commands fail.
2008-11-24 16:23:45 +00:00
Adam Frisby
2a8ff937d5
* Removed more locks on Entities
...
* Entities should now in theory be lock-free externally.
* Other properties may cause blocking however[?].
* ScenePresence maintains separate locks so isn't fixed by this commit.
2008-11-24 15:14:33 +00:00
Adam Frisby
2305ef61a5
* Refactored a number of locks into EntityManager to limit the scope of the locks.
2008-11-24 15:09:25 +00:00
Adam Frisby
47829849d9
* Swaps Scene.Entities Dictionary for EntityManager.
...
* Important Changes: Scene.Entities is now IEnumerable directly. You do not need to use Entities.Values, you can Enumerate on .Entities directly. (So 'foreach Scene.Entities' vs 'foreach Scene.Entities.Values').
* Locks: Entities maintains it's own internal locking states. This means you do not need to lock entities anymore. I'll be going through and removing locks on it systematically.
2008-11-24 14:45:05 +00:00
Adam Frisby
202406c522
* Makes EntityManager IEnumerable - meaning we should be good to go to enable this.
2008-11-24 13:14:52 +00:00
Adam Frisby
eb8650fc14
* Adding EntityManager.cs
...
* Not referenced anywhere yet.
* Designed to replace Dictionary<UUID,EntityBase> within SceneGraph.Entities
* Allows indexed access and better handling of locks.
* Someone needs to implement IEnumerable on this before we can switch it over.
2008-11-24 12:58:41 +00:00
MW
0be9ff1949
Some refactoring from about a week ago that I forgot to commit, of AssetTransactionModule to cut down on number of classes and to work towards having a base AssetXferUploader class than can be shared with EstateTerrainXferHandler
2008-11-24 10:03:18 +00:00
Dahlia Trimble
d8bb20fc1c
Thanks SachaMagne for a patch which adds the following console commands:
...
login-enable : Allow login at sim level (opensim.exe)
login-disable: Stop any login BUT keep the logged avt
login-status : Return the actual status
2008-11-24 09:53:49 +00:00
Melanie Thielker
95fec14201
Remove code from an experimantal patch that wasn't supposed to be committed
2008-11-23 21:03:54 +00:00
Melanie Thielker
fba9e3f513
Don't serve texture preview from other people's objects if you
...
havenever seen that texture before.
2008-11-23 20:39:51 +00:00
Melanie Thielker
bb982ab57f
Try to keep autoreturn from IM spamming users if the prims take a bit
...
longer to be deleted
2008-11-23 06:57:38 +00:00
Melanie Thielker
ed300f21f0
05:24:49 - [PRESENCE]: Logging off 888760cb-a3cf-43ac-8ea4-8732fd3ee2bb because the region they were in has gone
...
Or, in other words, a region crash/restart no longer messes up presence.
2008-11-23 06:44:43 +00:00
Melanie Thielker
cbd0221870
Plumb in the presence notifications and region shutdown/restart messages
...
from the presence module to the message server, through the user server
and on into the database. This should fix the "Already logged in" issue
that grids see after a sim crashes, or a user crashes out of a sim.
Not yet a 100% solution for friends, but getting there.
2008-11-23 05:16:07 +00:00
Charles Krinke
02fd7751d9
Mantis#2660. Thank you kindly, Ruud Lathrop for a patch that:
...
This patch adds the option of adding the email when you create
a new user. This works in Gridmode as none Gridmode. This
option is also added to RemoteAdminPlugin. With a new handler
you can create a user with a email.
2008-11-23 03:38:40 +00:00
Melanie Thielker
0460c19bcd
Add error handling to catch the WebExceptions thrown if you have
...
no messaging server
2008-11-23 00:36:39 +00:00
Melanie Thielker
e082f10884
Adding root agent position messages to the message server
2008-11-22 23:54:53 +00:00
Melanie Thielker
7aa32ac6e0
Add root agent tracking to presence module
2008-11-22 23:38:25 +00:00
Melanie Thielker
2fa072b579
Next step in the presence module - some core plumbing included at
...
no extra cost
2008-11-22 22:56:00 +00:00
Dahlia Trimble
336fc239bb
Increase IRC login timeout to 25 - it was 10 which was causing reconnect loops on slow responding servers.
2008-11-22 21:12:10 +00:00
Melanie Thielker
bf885b2035
Adding region up/down notifications to the PresenceModule. Messaging
...
Server portion remains to be implemented
2008-11-22 20:29:00 +00:00
Melanie Thielker
84db1e1290
Change the presence event signatures
2008-11-22 19:40:15 +00:00
Melanie Thielker
29803efda4
Check in the presence module skeleton
2008-11-22 19:25:12 +00:00
Melanie Thielker
26cbe5649d
Move user server -> message server notifications into a separate thread
...
to make the user server more responsive
2008-11-22 18:54:58 +00:00
Homer Horwitz
a7b01140db
Enclose the inter-region IM sending in a try-catch for now to find possibly missed exceptions.
2008-11-22 18:33:02 +00:00
Homer Horwitz
6566da2962
- Add a warning if the agent data of the destination of an IM isn't found
...
- Add a warning if the region info of the region the user is in isn't found
- Remove one possibility for a silently dropped IM.
2008-11-22 18:10:59 +00:00
Homer Horwitz
1148d9a11c
Removing some direct console output for outputting ImprovedInstantMessage packets.
2008-11-22 17:42:23 +00:00
Melanie Thielker
1c89c348b7
Fix build break
2008-11-22 16:09:58 +00:00
Melanie Thielker
e982a24f77
Remove a redundant check and add checking for attachments in parcels that
...
have no entry set, part 1
2008-11-22 15:58:52 +00:00
Jeff Ames
25d6b18bcd
Update svn properties, minor formatting cleanup.
2008-11-22 02:33:18 +00:00
Melanie Thielker
c71863d83e
First stage group permissions plumbing
2008-11-22 01:58:36 +00:00
Melanie Thielker
691c4bc756
Mantis #2442
...
Attempt to reinstate the Object Entry flag in parcel settings
2008-11-22 00:23:48 +00:00
Melanie Thielker
48cf76efe7
Introducing IPresenceModule
2008-11-21 22:47:24 +00:00
Homer Horwitz
0d2e5827c5
- No need to build a list of regions and then only the first one.
...
- I first did lock on m_scenes for that access, but as m_scenes (currently) is
only changed in Initialise (and locked there), and PostInitialise is called
after the calls to Initialise, there shouldn't be a need to lock here.
- Trying out git-svn dcommit. Hope this works.
2008-11-21 22:21:49 +00:00
Melanie Thielker
ba723a4cf6
Refactor: Scene.ExternalChecks -> Scene.Permissions. Also make all
...
the internals of the permissions module adapter sane
2008-11-21 22:14:57 +00:00
Justin Clarke Casey
c0cd681608
* Comment out unused access time method in MSSQL
...
* This should probably be being called in FetchAsset() instead as for all the other databases, but I lack the means to test MSSQL
2008-11-21 21:24:39 +00:00
Justin Clarke Casey
915593bfbc
* refactor: Rip out SOP inventory from the partial into a separate class
...
* SceneObjectPartInventory.cs isn't a particularly good name but it's probably not got a long life
* A proper inventory interface to follow
* Parallel changes for other inventory partial classes to follow at a later date
2008-11-21 21:16:42 +00:00
Justin Clarke Casey
02105c9c2a
* Extend sog delete to inventory test to crank the normally async sog deleter by hand
...
* After the crank, assert that the object has now been removed from the scene
2008-11-21 18:46:24 +00:00
Jeff Ames
ecac5c9c5a
Update svn properties, minor formatting cleanup.
2008-11-21 18:44:48 +00:00
Justin Clarke Casey
7dce464113
* Largely revert the last revision and improve on the previous way of doing things
...
* Deleting the object before the async to inventory is bad since if OpenSim crashes (or is shutdown!) in the time inbetween, then the object is lost
* Also now delete the object from the scene only after it has gone to inventory - in the old way there was still a race condition
* This is still not ideal since the 'deleted' object remains in the scene and probably could be manipulated. But this is better than the alternative
2008-11-21 18:33:09 +00:00
Justin Clarke Casey
e261c97470
* On delete to inventory, actually remove the group from the scene before the async stage.
...
* Last time I accidentally left the existing code in place that merely wiped the group from the client (but not the scene)
* Put in an incomplete 'delete object o inventory' test to assert that this happens
2008-11-21 18:17:01 +00:00
Justin Clarke Casey
82aa8e0327
* minor: Remove comparison of UUID struct against null picked up as a warning
2008-11-21 17:35:34 +00:00
Justin Clarke Casey
c2d3d8d88e
* Improve and correct messages given to the user when permission is denied for a particular OSSL function
...
* I don't believe that the extra information given is anything that couldn't be worked out by trial and error
2008-11-21 17:28:57 +00:00
Melanie Thielker
ee4d4d784e
Fully implement object return from the parcel dialog
2008-11-21 07:33:13 +00:00
Melanie Thielker
46278b34b1
Allow selecting group objects and selecting objects by owner from the
...
parcel dialog.
2008-11-21 05:35:35 +00:00
Melanie Thielker
e9ad6f7913
Plumb in the list if user IDs to the land module to allow selection
...
of objects by owner name
2008-11-21 04:41:39 +00:00
Melanie Thielker
0092ecbce7
Prevent a null reference when giving items.
2008-11-21 00:54:32 +00:00
Justin Clarke Casey
b9c07730f5
* refactor: change some method names and doc in the physics plugin manager
...
* move the directory choice for plugins outside into RegionApplicationBase
2008-11-20 19:52:55 +00:00
Justin Clarke Casey
d625095959
* Allow physics dlls to be loaded separately, rather than just the contents of bin/Physics
...
* This is primarily to see if not loading ODE in the unit tests will allow them to proceed, though the option of separate loading is probably a good thing in itself
2008-11-20 18:28:30 +00:00
Justin Clarke Casey
00d9c3c2cc
* Add a scratch test for removing a client from a scene
2008-11-20 17:27:45 +00:00
Justin Clarke Casey
890beb442a
* Add forgotton tag to existing remove scene object test
2008-11-20 17:18:39 +00:00
Justin Clarke Casey
81dcf223bf
* Add enough infrastructure code to run an extremely basic and flaky add root agent scene test
2008-11-20 16:58:40 +00:00
Sean Dague
e6f92044ca
From: Christopher Yeoh <cyeoh@au1.ibm.com>
...
Attached is a patch which fixes mantis bug 2645 where scripts in child
prims
freeze after being unlinked from the root prim. This got introduced
some time after the 0.6 freeze. Have checked test suites
pass even after nant clean ;-)
http://opensimulator.org/mantis/bug_update_page.php?bug_id=2645
Also removes a redundant ResetIDs call
Regards,
Chris
2008-11-20 00:13:15 +00:00
Charles Krinke
b0ee8fc271
Mantis#2658. Thank you kindly, StrawberryFride for a patch that:
...
Keeping up with MySQL and SQLite. Small code changes and
another resource file to add.
2008-11-19 23:57:19 +00:00
Justin Clarke Casey
14f3ac1440
* Add just enough to allow the scene presences test to establish a new user connection (though not yet an actual ScenePresence)
2008-11-19 20:13:51 +00:00
Melanie Thielker
6f0e068cf1
Guard against a strange nullref in ODE
2008-11-19 20:04:41 +00:00
Charles Krinke
164ed57ad3
Mantis#2638. Thank you kindly, Sacha Magne for a patch that:
...
Implementing "Play sound inworld". Currently a WIP .
2008-11-19 18:41:10 +00:00
Charles Krinke
9babdb1095
Mantis#2657. Thank you kindly, StrawberryFride for a patch that:
...
Added access_time and create_time, plus the new sun position
data to MSSQL code.
2008-11-19 18:36:04 +00:00
Charles Krinke
44c56a974c
Mantis#2656. Thank you kindly, Nlin for a patch that:
...
Attached patch implements llCollisionSound. Thanks T. Sado.
2008-11-19 18:30:16 +00:00
Melanie Thielker
778d83d9f0
Adjust to the Helpers->Utils rename
2008-11-19 07:03:39 +00:00
Melanie Thielker
f518ca7feb
Reapply r7369 r7367 r7366 r7370 r7381. This brings it back up to the new
...
libOMV.
2008-11-19 06:25:34 +00:00
Melanie Thielker
3234472d62
Reverting the texture sending patch and the new libOMV. This makes this
...
release a direct descendant of the stable 7364, with all the features and
none of the issues.
This omits the following patch chain: r7383 r7382 r7381 r7377 r7375 r7373
r7372 r7370 r7369 r7368 r7367 r7366
2008-11-19 06:15:21 +00:00
Melanie Thielker
44a94055a4
Ensure that the physics representation of a deleted object is also removed
2008-11-19 02:13:15 +00:00
Melanie Thielker
a104cc2c62
Fix deleting object that have been persisted already from the DB
2008-11-19 01:37:39 +00:00
Melanie Thielker
0abb762ecc
Patch from jhurliman. Fixing the texture decoding issues in progressive
...
texture sending. Grain of salt not included.
2008-11-18 20:02:25 +00:00
Melanie Thielker
18b6250f40
Remove perts of jhurliman's AD security patch that had slipped in
2008-11-18 18:14:15 +00:00
Melanie Thielker
9d7e503ce3
Prevent a nullref when building new prims while others watch
2008-11-18 17:21:33 +00:00
Sean Dague
5517ea3dfd
Fixed MySQL and SQLite so they will save the
...
variable sun vector, adding 3 new fields on both.
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-11-18 12:48:36 +00:00
Sean Dague
99fb0d7b33
Extended Agent Tests
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-11-18 12:48:29 +00:00
Melanie Thielker
92517b48e9
Apply JHurliman's texture sender patch
2008-11-18 02:14:06 +00:00
Adam Frisby
434afaf717
* Added and removed debug information relating to client connections
...
* Minor client fixes
* Added the ability for a client to login without a UserProfile, allowing certain alternate clients to connect to the region.
2008-11-18 00:47:30 +00:00
Melanie Thielker
6fd8960064
Prevent the texture downloader from locking a null object when a download
...
hits bad data
2008-11-17 23:48:29 +00:00
Melanie Thielker
2b8915d679
Make newly created prims be the correct group
2008-11-17 23:43:46 +00:00
Melanie Thielker
ece27a3631
Make texture decode errors nonfatal. The texture send is simply dropped
2008-11-17 23:08:37 +00:00
Homer Horwitz
5972eb8848
Fix a few small issues with the progressive texture-download:
...
- The initial priority wasn't passed in, so a discardLevel of -1 in the first
request automatically cancelled texture-download.
- One-packet textures weren't handled, as CurrentPacket starts at 1 and
StopPacket == 0 in that case.
- Increased MAX_ALLOWED_TEXTURE_REQUESTS to 15; incremental texture downloads
will cause more requests.
2008-11-17 22:15:02 +00:00
Melanie Thielker
a8e40bed52
Set group on newly rezzed objects to the rezzer's (or rezzing object's)
...
group
2008-11-17 21:44:09 +00:00
Justin Clarke Casey
93b18d7323
* Remove Appdomain code in XEngine.cs
2008-11-17 21:36:12 +00:00
Justin Clarke Casey
f26f5f6eff
* Apply http://opensimulator.org/mantis/view.php?id=2611
...
* Progressive texture delivery (ported from jhurliman's Simian code)
* Thanks jhurliman!
2008-11-17 21:10:08 +00:00
Justin Clarke Casey
c25a0ea792
* Update libOMV to r2359. This is necessary for the progressive texture patch
...
* Update libopenjpeg as well for this patch.
* Appears to be okay on a very short sniff test
* Source code will be placed in opensim-libs shortly
2008-11-17 21:00:34 +00:00
Justin Clarke Casey
072624b19d
* minor: add interface version to 'show version' command output
2008-11-17 20:22:22 +00:00
Justin Clarke Casey
6052ed4707
* Add allowed_script_editors to OpenSim.ini in the same fashion as allowed_script_creators.
...
* This allows one to override normal OpenSim permissions and prevent non-gods from editing any scripts. This allows edit ability
to be rescinded after it has been given, and prevents the security hole where a single script with liberal perms would allow code changes.
* The default setting remains the existing one of never overruling normal edit permissions.
* These two settings may be enough to stop non-gods entering artbirary script code in a closed grid/standalone configuration.
2008-11-17 19:55:32 +00:00
Melanie Thielker
7ced8d136a
Add a few comments
2008-11-17 19:42:21 +00:00
Melanie Thielker
0a01826843
Change some comments that have been superseded
2008-11-17 18:16:08 +00:00
Melanie Thielker
30b626024c
Fix the PAY_HIDE and PAY_DEFAULT constants to be LSLIntegers and get
...
accepted in the quick buttons list
2008-11-17 17:59:15 +00:00
Justin Clarke Casey
de526d0274
* refactor: move user set permissions parsing code into a separate method ready for reuse
2008-11-17 17:59:10 +00:00
Justin Clarke Casey
99bd7cce2b
* Make sure that deleted objects do not send further object updates to the client
2008-11-17 16:33:41 +00:00
Justin Clarke Casey
dcfd343a1e
minor: remove mono compiler warnings
2008-11-17 16:22:21 +00:00
Justin Clarke Casey
558704be8b
* Remove the TransferRequest and hip debugging console output that crept in recently
2008-11-17 16:14:23 +00:00
Justin Clarke Casey
c41903077d
* Eliminate SOG.FakeDeleteGroup() since it is now identical with DeleteGroup() (except that is didn't lock the parts, which was a potential race condition)
...
* Removed fake delete code from LSL_Api.SetFlexi - this code was never activiated anyway and didn't appear to make much sense on the surface
2008-11-17 16:06:50 +00:00
Justin Clarke Casey
48a72f51a8
* minor: eliminate propogation of now unused permissionToDelete flag
2008-11-17 15:58:12 +00:00
Justin Clarke Casey
f16cf12840
* Fix probable partial breakage of delete to inventory in last commit
...
* Not nulling out parts and the root part allows the code to be simplified
2008-11-17 15:52:27 +00:00
Justin Clarke Casey
d54b6608a7
* Stop nulling SOG.m_rootPart and parts on object deletion
...
* This renders RootPart == null checks useless - the replacement is to check SOG.IsDeleted. However, in many cases this will not be necessary since updates to deleted parts
will not be sent to the client
* This should remove any remaining race conditions where an object is deleted while another thread is yet to obtain the root part to perform some operation
* Doing this is probably a necessary prerequisite to moving to a model without a separate SOG and SOP
* Unfortunately it's not possible to eliminate all RootPart == null checks since in some contexts it is currently used to check whether an object was created successfully
2008-11-17 15:40:27 +00:00
Dr Scofield
dd37fbb137
fixing warnings in YProlog language support
2008-11-17 11:16:24 +00:00
Dr Scofield
bc72f0a9a5
commenting out unused variable.
2008-11-17 11:14:49 +00:00
Dr Scofield
a67dccefbf
cleaning up warning
2008-11-17 11:10:32 +00:00
Dr Scofield
68019e8d98
cleaning up warnings in MSSQL code.
2008-11-17 11:07:18 +00:00
Dr Scofield
ae0bcab35e
adding #pragma warnings to yprolog language support
2008-11-17 11:06:24 +00:00
Melanie Thielker
05fb40dc0b
Use the message transfer module to pass items across the grid via the profile
2008-11-17 08:29:37 +00:00
Melanie Thielker
bb936d8a2f
Correct prim counts for group land. Correct MessageTransferModule startup
2008-11-17 08:15:43 +00:00
Melanie Thielker
598316c890
Make object chat come from the root prim's center, rather than trying to make
...
it come from a child prim position.
2008-11-17 05:57:58 +00:00
Melanie Thielker
2a8020b9d9
Back out the attachment location patch to debug a crash
2008-11-17 05:47:36 +00:00
Melanie Thielker
3f4aeccca3
Try to fix login crash
2008-11-17 05:37:24 +00:00
Melanie Thielker
fa50156b4c
Make the messageing server re-register with all it's user servers every five
...
minutes. This ensures that things don't get messy if a user server is restarted
and the user server's operator has no control over the host the message servers
run on.
2008-11-17 05:04:33 +00:00
Melanie Thielker
08b1e1a1f6
Fix previous build break
2008-11-17 04:34:19 +00:00
Melanie Thielker
928d003bf5
Change the semantics of the Allow_* os function control. Omitting a function
...
causes defautlt behavior. "true" now means usable unconditionally, "false"
means disabled, and a list of UUIDs restricts it.
This changes SECURITY! If you used "true" here before, you shoudl review
your setup!
2008-11-17 04:23:03 +00:00
Melanie Thielker
840ef17b8d
Allow more then one user server in the user server config of the
...
message server. This is needed for larger grids
2008-11-17 03:28:38 +00:00
Melanie Thielker
0e7b6879d2
Add some null checks
2008-11-17 00:45:56 +00:00
Melanie Thielker
74ba1bb180
Fix child prims in attachments chatting from near 0,0,0 rather than
...
the avatar position. Fixes "silent" child prim scripts
2008-11-17 00:28:47 +00:00
Homer Horwitz
4343ddeec1
Fix NRE on TP-to-home, if the home-region is unavailable.
2008-11-16 23:53:00 +00:00
Homer Horwitz
07afe9c137
Fix friends again. Friends-handling is now stateless and, thanks to
...
MessageTransferModule, much easier to understand (I hope).
2008-11-16 23:50:18 +00:00
Melanie Thielker
4d23d22fb1
Remove a redundant parameter
2008-11-16 23:25:36 +00:00
Melanie Thielker
5e2e05a1c1
Megapatch. Completely remove the multiparameter IM methods. Remove the insecure
...
fromAgentSession field.
2008-11-16 22:04:01 +00:00
Homer Horwitz
78d42a7fc8
- Fix a formatting error in a log message (Mantis#2635).
2008-11-16 21:32:10 +00:00
Melanie Thielker
3f818e001d
First step tidy-up of IM packing/unpacking/repacking
2008-11-16 20:32:00 +00:00
Homer Horwitz
e1ccbed982
GridIMs don't have a (sending) client, which led to a NRE on access.
...
Doesn't use client now in that case.
2008-11-16 19:45:46 +00:00
Melanie Thielker
9e7d00c1e6
Add MessageTransferModule interface to all scenes, not only the first
2008-11-16 18:59:58 +00:00
Melanie Thielker
ca8a2cad53
Fix 2 bugs in the message transfer module, thanks, Homer Horwitz!
2008-11-16 18:53:17 +00:00
Melanie Thielker
e46719e8f1
Make return object actually use the return object permissions
2008-11-16 18:27:24 +00:00
Melanie Thielker
5aa10a8ab1
Add group prim count support to land properties
2008-11-16 04:57:37 +00:00
Adam Frisby
29eec33506
* Abstracted some methods from SceneObjectGroup to allow them to be overridden more easily. Specifically object creation from XML.
2008-11-16 04:40:36 +00:00
Melanie Thielker
8e119130c5
Make a quick stab at the "Open data reader" issue.
...
MySqlDataReader needs to be Close()d explicitly. Disposing it or letting
it fall out of scope will not free it's hold on the connection.
2008-11-16 04:39:41 +00:00
Melanie Thielker
3de41ea377
Reinstate the IM sending from scripts and from autoreturn
2008-11-16 04:31:52 +00:00
Jeff Ames
55e2ede065
Update svn properties, minor formatting cleanup.
2008-11-16 02:55:24 +00:00
Melanie Thielker
4f293aa99c
Adds the missing interface to fix the build
2008-11-16 00:54:10 +00:00
Melanie Thielker
27e557eb98
Introduces the message transfer module. It splits the transfer mechanics off
...
the IM module and makes it into a module of it's own, which can be used by
all other modules. Removes some ugly hacks. Refer to the IM module to see
how it's used. Also fixes the persistence issue (Mantis #2598 )
2008-11-16 00:47:21 +00:00
Dahlia Trimble
a3f785e978
Changed sculpted prim texture scaling method to bilinear to reduce scaling artifacts
2008-11-16 00:24:10 +00:00
Homer Horwitz
9a6cdf662b
Mantis#2626: Thank you Ruud Lathrop, for a patch that cleans up MSSQL code.
2008-11-15 21:27:10 +00:00
Homer Horwitz
448e4b0beb
- Change llSetRot behavior so it matches the SL behavior (in particular, the
...
rather strange behavior if used in a child prim).
- Small refactoring.
2008-11-15 21:03:06 +00:00
Homer Horwitz
e26169f0b0
Mantis#2552: Thanks idb, for a patch that fixes persistence of physical prims.
...
(added a fix for the broken build from last commit, too)
2008-11-15 18:00:34 +00:00
Homer Horwitz
21b69ac515
Mantis #2621 : Thanks idb, for a patch that will persist regularily changed objects better.
...
Objects will be persisted now MinimumTimeBeforePersistenceConsidered seconds
after the last change, but latest MaximumTimeBeforePersistenceConsidered after
the first change (both are configurable in OpenSim.ini.example and are set to
60 and 600 as default).
2008-11-15 17:52:00 +00:00
Homer Horwitz
3fdc445dd1
Prevent NRE if you do a llSetStatus(STATUS_ROTATION...) on an object that isn't physical.
2008-11-15 17:19:35 +00:00
Homer Horwitz
1f06532b82
Hack to temporarily fix friends-handling. This will be redone as soon as
...
Melanie's CommunicationModule is in.
Please note: imSession is a transaction-ID, *not* the agent's session.
2008-11-15 16:25:30 +00:00
Jeff Ames
e40fe2db26
Update svn properties, minor formatting cleanup.
2008-11-15 02:21:52 +00:00
Justin Clarke Casey
00d6114525
* test: Add scene root agent test stub, since I'll be picking up with something else the next time I start coding on OpenSim
2008-11-14 21:06:40 +00:00
Justin Clarke Casey
a760586f26
* minor: remove mono compiler warnings
2008-11-14 20:15:22 +00:00
Justin Clarke Casey
95a5bfc560
* refactor: Have the entity list tests use the infrastructure method rather than cut n paste
2008-11-14 20:09:12 +00:00
Justin Clarke Casey
2bb4b45626
* Move test scene construction infrastructure methods to a separate class for future common use
2008-11-14 20:06:44 +00:00
Melanie Thielker
5214d39e7c
Mantis #2618
...
Thank you, StrawberryFride, for a patch that adds group permission support
to MSSQL. Contains a migration, back up your database.
2008-11-14 19:36:29 +00:00
Melanie Thielker
1bd0721dbe
Add SQLite and the missing migrations files for last commit
2008-11-14 19:00:14 +00:00
Melanie Thielker
d66f3993de
Add group permissions to agent inventory.
...
Contains a migration. May contain nuts.
Please back up your inventory data store. This revision changes the interface
version!! No older regions can connect to these new UGAIM, and the new regions
can't connect to the old UGAIM. Fixes a long-standing issue of permissions loss
Currently persisted on MySQL only.
2008-11-14 18:54:38 +00:00
Justin Clarke Casey
e3770cfee6
* Allow new script creation to be locked down to only gods if specified in OpenSim.ini
...
* This doesn't allow complete script lockdown of a sim, many avenues (copying, editing) are still uncloseable at the moment
* Default remains to allow all users to create scripts (subject to existing permissions if enabled)
2008-11-14 18:43:40 +00:00
Melanie Thielker
9960637545
Try to make the test pass again
2008-11-14 17:53:58 +00:00
Melanie Thielker
edee11ff87
Reapplying a revised version of Christopher Yeoh's (IBM) patch for allow
...
inventory drop. Also adds a new flags, "propagate_permissions" to
OpenSim.ini to control that feature.
2008-11-14 17:24:56 +00:00
Justin Clarke Casey
165fcd1aac
* Switch default permissions back to false (so they are not on) as they were two revisions ago, since it sounds like this was our agreed position from some time back
...
* Make the default also false (to match what is in OpenSim.ini.example)
2008-11-14 15:48:34 +00:00
Justin Clarke Casey
8372880c75
* Hook up create new object event in the permissions module
...
* Switch default for serverside_object_permissions from false to true - it seems more natural that we enforce permissions by default rather than not!
* Add some explanation in OpenSim.ini.example for serverside_object_permissions
2008-11-14 15:36:46 +00:00
Melanie Thielker
b43c056c5f
Detach dropped attachments from the scene presence so they don't get cleaned
...
on logout
2008-11-14 15:30:15 +00:00
Teravus Ovares
3e4b094921
* Implements terrain raw upload. You can now upload your .raw terrain files using the Estate Tools.
...
* Could this be extended in the future to support .oar uploads too? Only time will tell!
2008-11-14 14:42:00 +00:00
Dr Scofield
5c21ec6d10
reverting #7295 , as it still fails a test case (as pointed out very
...
kindly by sean) --- lesson learned: just running a "make test" is not
sufficient, you need to precede it by a "make clean".
2008-11-14 13:03:18 +00:00
Dr Scofield
5e20e32b69
From: Christopher Yeoh <cyeoh@au1.ibm.com>
...
This patch makes llAllowInventoryDrop work with the permissions module
enabled. Changes include:
- Enabled PropagatePermissions when permissions module serverside perms
is on
- change ownership of item when item is dropped into an object.
Ownership changes to the owner of the object the item is dropped into
- propagation of permissions if the permissions module enabled (eg
next-owner mask applied)
- CHANGED_ALLOWED_DROP is now passed to the change script event if an
item was allowed to be dropped into the object only because
llAllowInventoryDrop is enabled (instead of CHANGED_INVENTORY being
passed).
- Sets object flags correctly when llAllowInventoryDrop is called so
clients are notified immediately of the change in state. Am not
sure that calling aggregateScriptEvents is the right way to do it,
but it works and seems to be the only way without making further
changes to update LocalFlags
2008-11-14 10:55:14 +00:00
Dr Scofield
62317ded9f
From: Alan Webb (alan_webb@us.ibm.com)
...
Fixed the IRC code so that it deals with regions coming and
going.
2008-11-14 10:50:36 +00:00
Melanie Thielker
4e0a424f9f
Some changes to the money module to allow a more flexible system of
...
applying charges
2008-11-14 07:56:34 +00:00
Melanie Thielker
4f91da2488
More groups plumbing
2008-11-14 05:18:39 +00:00
Melanie Thielker
c79a11cbd1
Lots of experimentation yielded a fair approximation of a hip offset from the
...
physical center of an avatar, for display purposes. This should keep the
avatar feet above ground visually in most cases. Tweaked for both height
extremes and various leg lengths. Improvements welcome
2008-11-14 03:32:20 +00:00
Sean Dague
cc5ccfb315
make inventory item listing more robust. It turns out that a bad item
...
(one that won't parse right) will prevent all other items in that folder
to load when inventory is requested. This is very careful to no longer
add inventory items that return as null to the hash table for
getInventoryInFolder, as well as be more careful parsing UUIDs for
fields that aren't marked not null in MySQL.
The net result, you may see previously missing inventory items return
after this checkin. Folders probably need to be hardened in the same
way, but I'm out of time for today.
2008-11-13 22:53:49 +00:00
Sean Dague
c268a3c84e
From: awebb@us.ibm.com
...
Fix the long-standing "lost clothing" bug by making AvatarFactory a non
shared module (which it should have been all along).
2008-11-13 21:31:03 +00:00
Justin Clarke Casey
1fd32a5ab2
* Rename all the previous methods to be User rather than Avatar (for extra bonus points)
...
public bool ExternalChecksCanCreateUserInventory(int invType, UUID userID)
public bool ExternalChecksCanCopyUserInventory(UUID itemID, UUID userID)
public bool ExternalChecksCanCopyUserInventory(UUID itemID, UUID userID)
public bool ExternalChecksCanDeleteUserInventory(UUID itemID, UUID userID)
2008-11-13 20:52:06 +00:00
Justin Clarke Casey
bd61b946df
* Add
...
public bool ExternalChecksCanCreateAvatarInventory(int invType, UUID userID)
public bool ExternalChecksCanCopyAvatarInventory(UUID itemID, UUID userID)
public bool ExternalChecksCanCopyAvatarInventory(UUID itemID, UUID userID)
public bool ExternalChecksCanDeleteAvatarInventory(UUID itemID, UUID userID)
to ExternalChecks to handle avatar inventory checks (as opposed to object inv checks).
* opensim-dev e-mail to follow concerning this shortly
2008-11-13 20:29:41 +00:00
Justin Clarke Casey
bf68255b86
* refactor: rename object inventory permission checks to distinguish between task inventory and agent inventory
2008-11-13 19:16:15 +00:00
Melanie Thielker
ca35b49b70
Make scripts in objects rezzed from script compile synchronously to close
...
a timing gap. Still not 100%, but getting there
2008-11-13 19:00:46 +00:00
Justin Clarke Casey
ef601d805a
* First part of a series of patches
...
* Intension is to provide a way to lock down script creation to administrators/gods only
* Defaults will remain as they are at the moment
2008-11-13 18:52:16 +00:00
Justin Clarke Casey
219015d699
* Attempt to make OpenSim.ini.example a bit more readable by
...
* Some rearrangement within sections
* Indenting section contents
* Also, correct indentation levels in PermissionsModule
2008-11-13 17:22:18 +00:00
Charles Krinke
8a3d9ea2db
Mantis#2597. Thank you kindly, Idb for a patch that:
...
Solves the problem of changes to objects not
persisted on server shutdown.
2008-11-13 04:23:31 +00:00
Melanie Thielker
c18ce34d06
Update avatar picker search to work with OpenSearch people search
2008-11-13 03:24:23 +00:00
Justin Clarke Casey
424792b39b
* Rename scene tests to scene object tests since that is what they are actually concerned with
2008-11-12 21:12:46 +00:00
Justin Clarke Casey
2c7ac33650
* test: Add basic synchronous object remove test
2008-11-12 20:35:35 +00:00
Justin Clarke Casey
cec112c87a
* refactor: as per a recent opensim-dev thread, rename InnerScene to SceneGraph to make it more descriptive of its intended function
2008-11-12 20:16:46 +00:00
Justin Clarke Casey
b636bb0f9e
* Stop the pointless passing of a scene's own region handler back to it in region comms
...
* Some scene methods ignored it, others did nothing if the region handler given did not match their own (which would never be triggered)
2008-11-12 19:12:33 +00:00
Melanie Thielker
724390e413
Change HTTP server backlog/acceptors to 64, per Adam Z
2008-11-12 18:59:38 +00:00
Justin Clarke Casey
e2ab576572
* Stop locking the scene presences dictionary for the entire agent crossing part of the login sequence
...
* This may alleviate a little the freezing experienced by existing avatars when a new client logs in
* Race condition risks look minimal since one wouldn't expect another thread to start fiddling with that presence
2008-11-12 18:12:18 +00:00
Dr Scofield
4b5e09a36b
From: Alan Webb (alan_webb@us.ibm.com)
...
Fix the broken llSetTimerEvent implementation (sec == 0 was not
possible anymore).
2008-11-12 11:02:55 +00:00
Melanie Thielker
c71f0899c2
Revamp inventory transfer module, step 1. Inventory will now be saved if
...
destination user is offline/out of range. No more eternal cache is needed
for tracking IDs. Code cleanup. Removed some casts from IScene to Scene.
Decline now properly places item in trash rather than deleting it outright.
2008-11-12 06:22:31 +00:00
Teravus Ovares
c453a41fb5
* Set defaults on the allowed LSL Compilers to 'lsl' unless you've specified otherwise.
2008-11-12 04:49:06 +00:00
Melanie Thielker
c34805d573
Add the missing bits that got lost in the prim clamping commit. This should
...
actually make it work
2008-11-12 01:40:38 +00:00
Justin Clarke Casey
70ad3ecd5e
* Create TestScene to get at the async object deleter for use in a future test
2008-11-11 21:31:39 +00:00
Justin Clarke Casey
a814ac3d67
* Put an Enabled switch on the async object deleter for future testing purposes
2008-11-11 20:33:29 +00:00
Melanie Thielker
47a5d71b7e
Prevent pieces from other people's HUDs from displaying at the center of
...
every user's HUD
2008-11-11 19:08:59 +00:00
Justin Clarke Casey
4245cd90de
minor: refactor some SceneTests code for future tests
2008-11-11 18:21:43 +00:00
Justin Clarke Casey
2b97c84d1d
* minor: remove log message that gives wrong user server 'version'
2008-11-11 18:15:30 +00:00
Justin Clarke Casey
50e3eb31b0
* Restore storing null to represent 'missing asset' requests in the AssetCache
...
* If we don't do this then callers to the polling GetAsset wait the full polling time before returning
2008-11-11 17:54:21 +00:00
Adam Frisby
1493f7349f
* Minor typing fixes in AssetCache - now uses base types for nearly everything.
...
* Code Cleanliness Fixes in LLClientView
* Using field instead of local variable for handlerUpdatePrimGroupRotation (if you notice any new oddities with prim group rotation after this patch, please mantis)
2008-11-11 17:48:36 +00:00
Justin Clarke Casey
97816f8c90
* Implement basic region filtering as described in https://lists.berlios.de/pipermail/opensim-dev/2008-November/003468.html
...
* This is done by sending a 'major interface version' number on sim registration. Developers must increment this every time they make a change that would make the previous
OpenSim revision failure incompatible with the new one (non-fatal incompatibilities are fine).
* This number resides in OpenSim.Framework.Servers.VersionInfo.MajorInterfaceVersion
* This allows the grid service to stop older, incompatible regions from connecting
2008-11-11 17:02:46 +00:00
Charles Krinke
851b72570a
Mantis#2604. Thank you kindly, Diva for a patch that:
...
This patch changes a couple of methods in Scene.Inventory to virtual,
so they can be overridden in subclasses. DeleteToInventory now returns
the UUID of the newly created asset, so that further actions on it can
be pursued in subclasses. This will make my life easier for making
inventory accessible in the hypergrid.
2008-11-11 15:18:16 +00:00
Mike Mazur
32b9975468
If the proxy is on, we need to ignore the extra 6 bytes in the packet.
2008-11-11 03:41:28 +00:00
Melanie Thielker
89570e1637
Add ClampPrimSize option to ensure no prim can exceed the set size. This
...
will allow people who don't want megaprims in their sim to prevent them
from being created. Any prim rezzed or pulled across the border will be
clamped to the size specified in OpenSim.ini if this option is set.
2008-11-11 03:10:28 +00:00
Melanie Thielker
7af1afb6df
Fix a nullref in attachment packing
2008-11-11 02:24:33 +00:00
Melanie Thielker
302d65569f
Allow gods to terraform without limits. Respect the Allow Others To
...
Terraform flag in land.
2008-11-11 01:47:40 +00:00
Melanie Thielker
7eda940e7f
Fix llList2Integer to have the same semantics as an (integer) cast. Handle
...
mixed number/letter content properly.
2008-11-11 01:02:48 +00:00
Jeff Ames
5276c4bdf8
Update svn properties, minor formatting cleanup.
2008-11-11 00:52:47 +00:00
Teravus Ovares
d145700115
* Commit allows downloading of the .raw terrain from the estate tools.
...
* Implements the SendInitiateDownload method in IClientAPI
* Uses the ITerrainModule Interface to write a terrain file to disk then uses a FileStream to read the binary file from the disk and put it in a byte array. and save to the xFer list.
* It then tells the client to download the file and the client initiates an Xfer request.
2008-11-10 23:56:58 +00:00
Justin Clarke Casey
4c731dd44e
* Remove mono warnings
...
* Remove duplicate test part
2008-11-10 21:12:53 +00:00
Justin Clarke Casey
0bda2cf5bc
* refactor: clean up SOG xml2 reloading to reuse more code
2008-11-10 21:06:26 +00:00
Melanie Thielker
58e74b554f
Restore the independent LocalID numbering for avatars. Fixes an issue where
...
it becomes impossible to cross back into a region you came from, or freeze
several seconds after region crossings.
2008-11-10 20:58:24 +00:00
Justin Clarke Casey
b044a0f139
* refactor: Make xml (orig format) loading method reuse existing set root part method
...
* miscellaneous doc/log message changes
2008-11-10 20:54:34 +00:00
Sean Dague
d52946dd0d
fix unit tests use SetRootPart now
...
From: Sean Dague <sdague@gmail.com>
2008-11-10 20:46:47 +00:00
Sean Dague
03382c55cb
make things compile, but the test still fails because of the root part
...
changes
2008-11-10 20:42:23 +00:00
Sean Dague
60299d172b
Lock tests on EntityList.cs, multithreaded object addition
...
and removal.
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-11-10 20:28:57 +00:00
Justin Clarke Casey
13cf89bf3b
* minor: remove useless exception catch
2008-11-10 20:10:23 +00:00
Justin Clarke Casey
0e180b0ad3
* refactor: Expose SOG.SetRootPart for outsiders to use rather than setting RootPart and adding the part separately
...
* Make RootPart read only
2008-11-10 20:04:55 +00:00
Homer Horwitz
014eb26426
Removed some debug output I forgot to remove...
2008-11-10 19:55:30 +00:00
Justin Clarke Casey
adf1c40ba3
* Take out the 1 second sleep debugging line in ScenePresence
2008-11-10 19:48:06 +00:00
Justin Clarke Casey
2d89e562d7
* Refactor the callers of SOG.SetPartAsRoot() to use common code
2008-11-10 19:47:13 +00:00
Justin Clarke Casey
c220b4b8b4
* minor: Remove old dead and buried datastore code
2008-11-10 19:32:18 +00:00
Justin Clarke Casey
0f22013ae4
minor: remove mono compiler warnings
2008-11-10 19:06:01 +00:00
Justin Clarke Casey
5d1d5a22a9
* Extend basic scene test to retrieve the object from the scene and match uuids
...
* Decouple sog and sop by removing the need to pass the sog to the sop when it is created - most of the code was doing this operation (and hence duplicating it) anyway
* Remove unused constructors
2008-11-10 18:10:00 +00:00
Dr Scofield
6df113845e
this changeset adds an option to RemoteAdmin to limit the number of
...
regions that XmlRpcCreateRegion will create: if region_limit is != 0
then XmlRpcCreateRegion will only create a new region if the number of
regions already existing is below region_limit.
2008-11-10 17:37:28 +00:00
Melanie Thielker
2589acc5d1
Keep dropped prims from being temp-on-rez and getting cleaned up
2008-11-10 16:11:22 +00:00
MW
d01cd9c84f
another small bit of startup refactoring
2008-11-10 15:17:50 +00:00
Sean Dague
bfc2d8c231
From: Christopher Yeoh <cyeoh@au1.ibm.com>
...
This patch addresses mantis bug 2576.
http://opensimulator.org/mantis/view.php?id=2576
Briefly, if you call llDie from many scripts at the same time (say a
build is cleaning up excess objects) then OpenSim deadlocks. Avatars
are unable to move, and whilst the console is active you can't do much
without it also locking up. This only occurs with the XEngine script
engine enabled.
I have attached a patch which works, but I'm not sure its the right way
to address the problem. The fundamental problem is that a lock on a
SceneObjectGroup's m_parts is taken when the object is deleted, a
callback to the script engine occurs and a fair way down the callchain,
potentially there are locks taken on several other SceneObjectGroup's
m_parts. Deadlock then occurs if you get unlucky enough
to get in the situation where with several llDie's are called and
SceneObjectGroups
have taken a lock on their own m_parts, and end up waiting on each
other's
locks to become available.
The patch adds a lock at a high level so that that the removal of script
instances
from an object only occurs once per scene at a time. This avoids the
potential
of deadlock. Theoretically there could be some performance hit but
AFAICT
the path taken is not a common occurrence.
Would welcome any suggestions for a better solution, otherwise feel free
to apply :-)
Note this patch was built against the 0.6.0 freeze as trunk was
rather broken for me this morning (creating a script killed the client
connection).
2008-11-10 12:42:22 +00:00
Johan Berntsson
22b70495ab
The region proxy for the load balancer module works again. The incoming proxy messages were not properly decoded.
2008-11-10 09:50:05 +00:00
Melanie Thielker
0d02f53f87
Prevent AO from crashing the sim if the user logs out before the script
...
stops
2008-11-10 05:42:02 +00:00
Melanie Thielker
dd688e95e0
Add a MinTimerInterval, defaulted at 0.5s, to the scripting configuration
2008-11-10 05:33:36 +00:00
Melanie Thielker
fc6f3edec6
Stop attachments from causing an update to be sent on every frame in which
...
an avatar moves.
2008-11-10 05:21:51 +00:00
Melanie Thielker
ce37b80c68
Thank you, idb, for a patch that fixes avatar height calculation
...
Our feet will now be above ground
2008-11-10 01:28:37 +00:00
Adam Frisby
e0498e1638
* Fixed asset bug.
2008-11-09 23:05:08 +00:00
Melanie Thielker
298ab2f9cb
Prevent updates about other people's HUD objects being sent
2008-11-09 22:52:00 +00:00
Charles Krinke
087d2f9147
Enabled SoftERP for the contact structure but not SoftCFM.
...
A tube on a pole is a bit less "flubbery" so maybe this is
the right direction.
2008-11-09 20:20:20 +00:00
Melanie Thielker
664e8a464e
Script region crossing. This has not user functionality, but lays all the
...
groundwork.
2008-11-09 19:30:40 +00:00
Melanie Thielker
6c27321949
Cause llGetInventoryType to return the asset type, which corresponds with
...
the LSL constants.
2008-11-09 19:10:33 +00:00
Charles Krinke
c6ed72b4fa
Clean up a few comments.
2008-11-09 18:43:46 +00:00
Charles Krinke
8ed4821c47
Clean up the mass < 0 logic a tiny bit when
...
calculating mass.
2008-11-09 18:22:36 +00:00
Adam Frisby
df8b92cc1e
* Applying EventQueueGetModule patch to try debug the case of the missing EQG.
2008-11-09 15:44:12 +00:00
Adam Frisby
c43e466301
* Enabled GTCache for AssetCache
...
* Items will now be locally cached for only 24 hours from last access. (Rather than until restart)
* Caveat: Implementing the new caching mechanism means statistics gathering on AssetCache is no longer functional. (Justin - you might want to take a look and see if you can somehow get that back and running if you still need it)
2008-11-09 15:00:26 +00:00
Tedd Hansen
853ba745b5
Refactoring: Moved component creation to "ComponentFactory" as dictated by convention
2008-11-09 10:30:46 +00:00
Jeff Ames
8da726c3a8
Update svn properties. Add copyright headers. Minor formatting cleanup.
2008-11-09 01:31:38 +00:00
Melanie Thielker
bdf9add8d1
Reintroduce transactionID to the parameter list for SendInstantMessage.
...
It is required by group IM and also for a proper implementation of item
give, group notice attachments and offline IM.
2008-11-09 01:16:42 +00:00
Charles Krinke
62bc9c2e8e
Mantis#2591. Thank you kindly, Ruud Lathrop for a patch that:
...
This patch is two script that fixes a issue when adding more
then 1 avatar to estateban/estatemanager list. It removes a
key and adds a index to the tables.
2008-11-09 00:53:54 +00:00
Charles Krinke
83d83ebbc4
Refactor the detectparams variable from 'd' to
...
a more meaningful name of 'detectedParams'.
2008-11-08 23:55:40 +00:00
Adam Frisby
ddca72530d
* Quick test for Dahlia, returns Packet Processing Loop to Infinite Loop.
2008-11-08 23:17:30 +00:00
Charles Krinke
41979f292b
Mantis#2590. Thank you kindly, Diva for a patch that solves:
...
When the given address to CheckRegion is wrong, it crashes
the whole server. Patch included.
2008-11-08 21:49:40 +00:00
Charles Krinke
edb2344796
Mantis#2583. Thank you kindly, Idb for a patch that solves:
...
PRIM_TEMP_ON_REZ and PRIM_MATERIAL are not implemented in
llSetPrimitiveParams so support for these is in the patch.
Also two deprecated functions throw errors. They are changed
to behave as in SL: llSetPrimURL - Does nothing except the sleep
(currently commented out) & llRefreshPrimURL shouts
"llRefreshPrimURL - not yet supported" on the error channel
2008-11-08 21:25:26 +00:00
Homer Horwitz
5e4def3ee7
Mantis#2589: Thanks StrawberryFride, for a patch that fixes the build on VS2005.
2008-11-08 21:18:23 +00:00
Adam Frisby
7308f35a96
* Fixed issue where incorrect braces nesting resulted in a section of PacketQueue getting disabled.
...
* This means the recent memory fix should now be working correctly - so the current largest memory leak should be fixed. AssetCache still needs to be addressed however.
2008-11-08 21:08:01 +00:00
Adam Frisby
fb2a1a6b7c
* Fixed a major memory leak in packet processing - PacketQueue.Close is never called, causing the PacketQueue for dead clients to be preserved (including it's contents).
...
* This patch is highly experimental and may cause clients to not be able to connect, if this is the case, it will be rolled back in approximately 5 minutes.
2008-11-08 20:52:48 +00:00
Adam Frisby
cbda728183
* "Fixed" a NRE with the new script engine Tedd committed
...
* Tedd will need to fix properly.
2008-11-08 20:31:47 +00:00
Homer Horwitz
344b725d3b
Mantis#2598: Thanks Fly-Man- for a patch that fixes a client-thread crash by
...
allowing landFlags bit 31 to be used (Int32 -> UInt32).
2008-11-08 20:04:28 +00:00
Homer Horwitz
4da4941065
Mantis #2553 : Thank you, idb, for a fix that helps to persist changes in prim attributes.
2008-11-08 19:55:33 +00:00
Adam Frisby
f1aa849dff
* Missed a file from previous checkin.
2008-11-08 19:37:08 +00:00
Adam Frisby
4e94989106
* Added IClientChat to IClientCore
...
* Updated LLClientView
* Removed defunct SendChatMessage(bytes[]...) method, see http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#Porting_Guide
2008-11-08 19:29:35 +00:00
Adam Frisby
bec51a9580
* Ported InstantMessageModule to IClientCore
...
* See http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#InstantMessageModule.cs
2008-11-08 18:07:33 +00:00
Adam Frisby
5a5e132a96
* Implemented OnClientConnect in Scene EventManager
...
* Identical to OnNewClient except it passes IClientCore instead of IClientAPI
* See http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#Porting_Guide
2008-11-08 17:46:10 +00:00
Tedd Hansen
9511a8c763
Work in progress on SECS stuff. Have been holding it off until after 0.6 release. Still messy as hell and doesn't really work yet. Will undergo dramatic changes. AND MOST IMPORTANTLY: Will be conformed to work in coop with todays DNE and XEngine, hopefully one day providing a common interface for all components.
2008-11-08 17:35:48 +00:00
Adam Frisby
cf0a14bec9
* Added IClientIM to IClientCore interfaces
...
* Changed SendInstantMessage, dropped fromAgentSession and imSessionID as security precaution, see http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#Porting_Guide for details on porting.
* Removed unused usings from Framework.*
2008-11-08 17:20:54 +00:00
Homer Horwitz
718425e7dc
Added necessary locking to LandManagementModule. As it is used by several
...
threads concurrently, you'll get bad Heisenbugs without correct locking.
This might fix Mantis#2413
2008-11-08 17:00:42 +00:00
Homer Horwitz
38b99e998e
Small bugfix for RemoveNeighbourRegion
2008-11-08 16:55:59 +00:00
Adam Frisby
b0a90642de
* Made ClientLoop non-infinite, ClientLoop will now disengage when the client has logged out.
...
* Cleaned up a section of LLClientView
* Removed unused 'using' from HTTPServer
* Please test this patch.
2008-11-08 16:22:36 +00:00
Adam Frisby
6d5248441d
* Implementing first of the 0.6 IClientAPI Changes
...
* Introducing IClientCore - this will be the key replacement for IClientAPI in the long run, it has a very minimal set of methods designed to allow you to access specialist API's.
* See https://lists.berlios.de/pipermail/opensim-dev/2008-September/003049.html for the early discussion on this.
2008-11-08 16:09:15 +00:00
Melanie Thielker
5c0fd512e8
Fix llParseString* to create LSLStrings. This makes llListFindList work
...
on lists created by parsing
2008-11-08 15:31:02 +00:00
Melanie Thielker
e93828fe00
Add some discovery code, laying groundwork for region-crossing scripts
...
No user functionality yet
2008-11-08 14:35:52 +00:00
Charles Krinke
69afefa788
Change Version string from 0.5.11 to 0.6.0 for release.
2008-11-08 14:32:56 +00:00
Jeff Ames
bbb8d6fc51
Remove empty OSUUID.cs file. Add copyright headers. Minor formatting cleanup.
2008-11-08 14:28:43 +00:00
Melanie Thielker
0fc57de7de
Remove part of another patch that would cause DNE to nuke the sim in it's
...
current form
2008-11-08 02:31:57 +00:00
Melanie Thielker
833f5e8bed
Refactor IEventReceiver back into IScriptEngine
2008-11-08 02:24:34 +00:00
Justin Clarke Casey
8699c2b3b9
* Correct catch changed on last commit, since I just realized I started making it catch a little too much, in principle
2008-11-07 23:08:51 +00:00
Justin Clarke Casey
1effc31b14
* minor: Remove mono compiler warning
2008-11-07 23:04:25 +00:00
Justin Clarke Casey
bf9384d594
* Apply http://opensimulator.org/mantis/view.php?id=2582
...
* Send prim flags as booleans from LLClientView rather than in the native LL array
* Thanks idb
2008-11-07 22:57:32 +00:00
Justin Clarke Casey
4ace67a81d
* Fix bug in r7162 where avatars could not move
...
* Was caused by the lack of a local id. Local ids are now given from the same sequence as prims, rather than a separate one
* I don't believe this will cause any problems, but please revert to a separate sequence if it does
2008-11-07 22:49:36 +00:00
Justin Clarke Casey
ba1d9ca26b
* refactor: cleanup AllocateLocalPrimId() a bit more
2008-11-07 22:08:58 +00:00
Justin Clarke Casey
fb694fb177
* Rename PrimIDAllocate() to more effectively convey what it does, and put the verb at the front
2008-11-07 21:50:03 +00:00
Justin Clarke Casey
47e3d4d1f0
* Remove next local id from SceneBase
...
* This was only reference by ScenePresence and not used anyway - Scene itself had it's own copy
2008-11-07 21:33:11 +00:00
Justin Clarke Casey
a943b7dc7d
* minor: Just some tidy up of log messages, etc.
2008-11-07 21:25:47 +00:00
Justin Clarke Casey
54e10e5b61
* Stop requiring local ids in the SOG constructors.
...
* These are assigned when the object is attached to the scene
2008-11-07 21:07:14 +00:00
Justin Clarke Casey
af35f4cb4a
* refactor: stop unnecessary passing of scene to sog copy constructor
...
* this is now done in AttachToScene()
2008-11-07 19:49:22 +00:00
Justin Clarke Casey
f3edbcfa3b
* Stop prim attach being signalled twice (it is already been done outside AttachToScene())
2008-11-07 19:30:20 +00:00
Justin Clarke Casey
e34eaec553
* Remove more UpdateParentIDs() calls that are now duplicates
2008-11-07 19:17:24 +00:00
Justin Clarke Casey
e08c4376f7
* Apply http://opensimulator.org/mantis/view.php?id=1883
...
* Fix llSetStatus() and llSetPrimitiveParams()
* Thanks idb
2008-11-07 19:02:55 +00:00
Justin Clarke Casey
cd96a33976
* Stop now unnecessary separate local id allocation for restored objects
...
* remove a debug line I accidentally left in there
2008-11-07 18:52:28 +00:00
Justin Clarke Casey
ebd9f22b29
* refactor: allocate local ids to prims only when an object is attached to a scene
2008-11-07 18:46:11 +00:00
Justin Clarke Casey
2184f4b2a9
* Apply patch in http://opensimulator.org/mantis/view.php?id=2397
...
* Fix from 7139 also needed in the Estate Menu teleport home functions
* Thanks idb
2008-11-07 16:54:57 +00:00
Dr Scofield
c93c42cd49
adding region_port field to /admin/rest/regions/UUID/ to convey the
...
port of the region (used for region planning)
2008-11-07 15:30:38 +00:00
Melanie Thielker
506a3aa215
Change teleport timings
2008-11-07 07:35:51 +00:00
Melanie Thielker
106904152a
Fixing up some remaining attachment issues
2008-11-07 07:13:52 +00:00
Melanie Thielker
48c6d052d9
Attachments, attachments, and, did I say attachments?
...
Too many fixes to list.
2008-11-07 05:48:44 +00:00
Teravus Ovares
f0bf3df024
* Fix half of the issue behind the long standing 'UseCircuitCode' packet spam from libOMV clients. AckPacket.Header.Sequence was 0. This caused LibOMV to ignore it.
...
* There's another patch over at http://jira.openmv.org/browse/LIBOMV-415 to fix the 'resend forever' issue.
2008-11-07 01:05:22 +00:00
Justin Clarke Casey
eec8c6cd6e
* Remove SceneObjectPart.AttachToScene() since the remaining instruction can be done by other means
2008-11-06 23:40:58 +00:00
Justin Clarke Casey
1e527f3e86
* Fix test failure in CSCodeGeneratorTest.TestJumps()
...
* Need new NoOp(); generated part
* Not Homer's fault - this test ain't running under Windows! (needs fixing!)
2008-11-06 23:32:39 +00:00
Justin Clarke Casey
275048490c
* eliminate unnecessary ScheduleFullUpdate()
2008-11-06 23:22:38 +00:00
Melanie Thielker
9e4fc8e03a
Mantis #2571
...
Thank you, idb, for a patch that fixes the jump function in LSL.
2008-11-06 23:10:49 +00:00
Jeff Ames
486ac1e12f
Update svn properties, minor formatting cleanup.
2008-11-06 22:24:34 +00:00
Justin Clarke Casey
0d17ba2a76
* refactor: Attach a scene object to a scene separately from its construction
2008-11-06 22:21:25 +00:00
Sean Dague
629b0d9f28
add create_time and access_time to asset db for mysql, as well
...
as the code to update these at the appropriate time. This isn't
surfaced in AssetBase yet.
Change the replace into to an insert into for asset create. Assets
are not supposed to be updatable, and the replace into is more
expensive.
From: Sean Dague <sdague@gmail.com>
2008-11-06 21:21:46 +00:00
Justin Clarke Casey
c6dad833f5
* minor: remove some mono compiler warnings
2008-11-06 21:01:16 +00:00
Homer Horwitz
1df67a37dc
Add missing TeleportStart packets to llTeleportAgentHome and osTeleportAgent.
...
As those aren't viewer-initiated TPs, the viewer has to be informed.
This should fix Mantis #2351 and #2397 .
2008-11-06 20:38:34 +00:00
Justin Clarke Casey
9770cf778e
* minor: Make some 'startup config failed to load' log messages more consistent
2008-11-06 20:38:04 +00:00
MW
c932aae4c3
a little bit more refactoring of startup
2008-11-06 20:17:20 +00:00
Justin Clarke Casey
d31d02c373
* refactor: Split BeginRecieve() into BeginReceive() and BeginRobustReceive()
2008-11-06 20:10:39 +00:00
Justin Clarke Casey
5a852321e0
* Stop passing along epSender explicitly where we are really using the constantly reused ep sender field
2008-11-06 19:59:59 +00:00
Justin Clarke Casey
427a80bba5
* test: Add assert checking that the circuit which trigger the socket exception has been closed
2008-11-06 19:52:06 +00:00
Justin Clarke Casey
29691a3d36
* Test to ensure that the udp server stays active after receiving a SocketException on BeginReceive
2008-11-06 19:35:57 +00:00
Charles Krinke
17e43dcc0f
Mantis#2566. Thank you kindly, Diva for a patch that:
...
This patch introduces a couple of read-only properties,
so that I can grab the asset server plugin from a region
module. This is needed to set up an http service for
accessing standalone assets remotely.
2008-11-06 19:27:18 +00:00
Charles Krinke
557c7de2ec
Thank you kindly, Diva, for a patch that:
...
Removed unnecessary dependency from
Get/PostAssetHandlers to OpenAsset_Main
2008-11-06 19:24:42 +00:00
Charles Krinke
c8db23d456
Thank you kindly, Diva for a patch that:
...
Makies OpenSimBase even more friendly to subclassing
2008-11-06 19:21:50 +00:00
Charles Krinke
9efc4e303b
Mantis#2423. Thank you kindly, Godfrey for a patch that:
...
Included patch fixes error: Z and W terms in the quaternion were
swapped (ZERO_ROTATION is <0,0,0,1>, it was checking for <0,0,1,0>).
There is an issue with older prims: it seems their default sit
target was not always set to ZERO_ROTATION;
2008-11-06 19:18:30 +00:00
Charles Krinke
563d583973
Mantis#2514 & 1375. Thank you kindly, Thomas for a patch that:
...
Improves ScenePresence.cs for attachments when crossing boundaries
between regions.
2008-11-06 19:04:56 +00:00
Justin Clarke Casey
8477aab8e0
* refactor: factor out test packet send method in client stack unit tests
2008-11-06 18:27:56 +00:00
Sean Dague
46492f3c11
From: arthursv@linux.vnet.ibm.com
...
Add more unit tests for user cases
Persist more user fields into mysql that already had columns
defined but weren't getting passed to the mysql manager.
2008-11-06 17:07:08 +00:00
Melanie Thielker
f79e7597b6
Disable distance sorting for child agents. It makes no sense there, as the
...
base point for the sort is 128,128,128, causing funny visuals
2008-11-06 16:25:11 +00:00
Melanie Thielker
4cd7907314
Change threat level of osMakeNotecard to High because of it's griefing
...
potential (asset bloat, asset server DOS due to no enforced delay)
Formatting cleanup. Change default permissions on the notecard to
not include "anyone can copy" and "anyone can move", as they are
meaningless on non-prim items.
2008-11-06 14:37:41 +00:00
Dr Scofield
09f86d7e99
- fixes comparison of struct against null (no no no)
...
- fixes IRCBridgeModule's XmlRpc method really paying attention to
region parameter
- cleans up indentation in IRCBridge code
- fixes ConciergeModule exception on client logout
2008-11-06 13:13:08 +00:00
Dr Scofield
44b0c59ba9
From: Christopher Yeoh <cyeoh@au1.ibm.com>
...
The following patch implements osMakeNotecard as specified on the OpenSim website
2008-11-06 09:12:14 +00:00
Mike Mazur
5d8e08a072
- create entries in avatarattachments table when first attaching an object; fix issue 2512
...
- correct attachment offset; fix issue 2513
- thanks Thomas for the patches
2008-11-06 06:23:58 +00:00
Jeff Ames
397b608af5
Thanks Diva for a patch that makes WorldMapModule friendly to subclassing.
2008-11-06 02:11:51 +00:00
Jeff Ames
1c4d6544d5
Update svn properties.
2008-11-06 01:56:42 +00:00
Justin Clarke Casey
f7f448bc78
* Fix capitalization typoes in packet throttle that happened to be the name of existing fields
...
* This should (hopefully) allow TestClient and stuff built on top of it to work again
* Will probably come back later and change variable names to stop this happening again
2008-11-05 22:17:47 +00:00
Justin Clarke Casey
892e7bf9fb
* Properly use the default value if the LindenUDP.ClientStack section exists by the client throttle setting does not
...
* Old behaviour was to throw an exception on startup
* Print out client stack setting temporarly for debug purposes
2008-11-05 20:42:37 +00:00
MW
571b94f537
moved the initial loading/setting of the config settings to its own class, ConfigurationLoader. To make it easier to customise the loading of those settings and possible in the future move it to a plugin.
2008-11-05 20:14:52 +00:00
Justin Clarke Casey
590cff9956
* Zap the letters that accidentally crept in to the license in EventQueueThreadClass
...
* (damn, Teravus spotted my plan to slowly change all the licenses in OpenSim letter by letter)
2008-11-05 20:13:53 +00:00
MW
6e017ca842
fixed/refactored the Get/Set Config console commands.
2008-11-05 19:47:29 +00:00
Justin Clarke Casey
fc36d7fdf2
* Set default client throttle multiplier to 2 (old value was effectively 8). See OpenSim.ini.example for details as to what this means
...
* Really this should be 1, but I think that this would be too slow compared to a Second Life server until we improve our ability to send textures of variable quality
* This may improve one aspect of sim performance where there are many avatars. However, there are still other performance problems that are unrelated to this change
* Value may be further tuned
* Removed temporary decals since the multipler setting will stick around now
2008-11-05 19:23:59 +00:00
MW
204ef95843
Moved a couple of more configuration fields to ConfigSettings
2008-11-05 18:00:45 +00:00
MW
079469b3f5
more startup/initialisation refactoring
2008-11-05 17:45:56 +00:00
MW
2a249373d3
Moved most of the configuration fields from Opensimbase to their own Class... Framework/ConfigSettings.
2008-11-05 17:18:16 +00:00
Justin Clarke Casey
8f3c5dbe5c
* Apply second patch in http://opensimulator.org/mantis/view.php?id=2561
...
* Inserts proper animation state names into data/avataranimations.xml file so that llGetAnimation() works as one would expect.
* Thanks StrawberryFride!
2008-11-05 15:26:10 +00:00
Jeff Ames
638fe7a7b5
Update svn properties, minor formatting cleanup.
2008-11-05 15:15:41 +00:00
Justin Clarke Casey
b84417a220
* Apply http://opensimulator.org/mantis/view.php?id=2561
...
* This is a partial implementation of llGetAnimation that returns the name of the animation as stored in data/avataranimations.xml but not its state name (since we don't yet
have these).
* Thanks StrawberryFride
2008-11-05 14:02:36 +00:00
Sean Dague
8bacdbd49c
add a test that ensures that databases work if email is null.
...
From: Sean Dague <sdague@gmail.com>
2008-11-05 13:23:25 +00:00
Dahlia Trimble
6d195ce3ce
added missing file from mantis #2555
2008-11-05 10:38:37 +00:00
Dahlia Trimble
5fffc04ae6
Add more vertex normals and UV coordinates. Sync with primmesher.dll forge project.
2008-11-05 10:22:41 +00:00
Charles Krinke
d664192dfe
Mantis#2557. Thank you kindly, Diva for a patch that:
...
This patch changes a method from private to public.
Will make life easier for the asset mapper for
the hypergrid.
2008-11-05 02:23:44 +00:00
Justin Clarke Casey
349f6ec3e5
* Apply http://opensimulator.org/mantis/view.php?id=2555
...
* Add new e-mail field to users table for MSSQL
* Thanks StrawberryFride
2008-11-04 21:44:57 +00:00
Justin Clarke Casey
41232ee921
* Correct build break from last commit - how on earth did it compile last time? Bizarre
2008-11-04 21:42:31 +00:00
Justin Clarke Casey
e1e2622e92
* Stop an exception in the thread tracker cleanup loop from terminating the sim
2008-11-04 21:35:12 +00:00
Justin Clarke Casey
8851db0a0a
* Stop an exception in the Content Management module main loop from crashing the whole sim
2008-11-04 21:30:57 +00:00
Justin Clarke Casey
09dabb2aec
* Prevent texture sender thread termination from immediately crashing the sim
2008-11-04 21:26:40 +00:00
Justin Clarke Casey
9848dc77cc
* Stop an exception in getting assets for the archiver from crashing the sim
2008-11-04 21:19:00 +00:00
Sean Dague
ea27b95f8e
From: Rob Smart <SMARTROB@uk.ibm.com>
...
This patch allows an object to directly message another object given its
key using the method osMessageObject(key objectUUID,string message).
to communicate with an object it must implement the dataserver listener
method. The dataserver method is passed the key of the calling object
and a string message.
2008-11-04 20:48:35 +00:00
Justin Clarke Casey
c4fbb6453c
* Stop a non WebException in an XMLRPC request from bringing down the whole sim
2008-11-04 20:47:59 +00:00
Justin Clarke Casey
03c402842a
* Stop a problem in the DotNetEngine event queue thread from immediately bringing down the whole sim, though the sim will need a reboot
2008-11-04 20:43:11 +00:00
Justin Clarke Casey
97d320d7d1
* Practise some defensive programming - gracefully terminate the thread if there is a problm in the world map module rather than bringing down the whole server.
2008-11-04 20:23:18 +00:00
Justin Clarke Casey
21c0df53a2
* Improve the previous fix by pushing the exception catching down into OGS1 grid services
2008-11-04 20:14:57 +00:00
Justin Clarke Casey
f793f93817
* Temporary fix to stop a problem in getting neighbour info in the world map module from crashing the entire server
2008-11-04 19:56:02 +00:00
Justin Clarke Casey
78bfe7a3e3
* minor: doc and log message tweaking for wearables
2008-11-04 19:51:35 +00:00
Sean Dague
7d6dc3b099
add some null protection on email
...
From: Sean Dague <sdague@gmail.com>
2008-11-04 19:26:17 +00:00
Sean Dague
972143b592
- Added stronger persistence tests for BasicUserTests
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-11-04 18:53:13 +00:00
Sean Dague
45dd97a262
- Stronger inventory tests
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-11-04 18:53:06 +00:00
Justin Clarke Casey
67315ef106
* Stop sending wearables back to the client on set appearance
...
* Now I've had time to analyze this, the Second Life grid doesn't appear to send this to the client (which in principle should know what wearables it has already)
2008-11-04 18:33:54 +00:00
Justin Clarke Casey
5330838b15
* minor: appearance related doc and log message tweaking
2008-11-04 18:29:37 +00:00
MW
1c2a0c78d9
Added a (xmlIgnored) SitAnimation property to SceneObjectPart. That allows the setting of the name of the animation to be used when a avatar sits on that object. At some point in the future this should be persisted.
...
So basically simplifies what a lsl script that detects a avatar sitting on a prim, then stopping the sit animation and playing a custom animation, does.
Also added another ScenePresence.HandleAgentRequestSit() method , that accepts the name of the sit animation. So that modules can override the animation used, when they are doing a server controlled sit.
Started some work on making the stand pose be played as soon as a user logs into a region. Rather than them starting with their arms stretched. This still needs more work
2008-11-04 16:39:28 +00:00
Dr Scofield
f57d1307ab
fix: ArchiveReadRequest.URIFetch stumbles over absent content length field
...
fix: region parameter in IRCBridgeModule XmlRpc was check for presence but not actually used...
2008-11-04 16:17:27 +00:00
Sean Dague
702249358b
implement email field for MySQL and SQLite
...
From: Sean Dague <sdague@gmail.com>
2008-11-04 14:54:42 +00:00
Mike Mazur
6e14d1005a
Prefix LSL variables which are C# keywords with @ instead of _ when translating from LSL to C#. Thanks idb for the patch. Fix issue 2546.
2008-11-04 01:30:39 +00:00
Jeff Ames
a66081f562
Update svn properties, minor formatting cleanup.
2008-11-04 00:54:16 +00:00
Sean Dague
a9d0642fca
add email field to UserProfileData object
...
remove virtual setting from properties, as that was legacy that I put in
there a while back
From: Sean Dague <sdague@gmail.com>
2008-11-04 00:35:32 +00:00
Justin Clarke Casey
ee178c76ae
* Apply http://opensimulator.org/mantis/view.php?id=2535
...
* Catch and report deserialization exceptions on rest handlers
* Thanks Diva!
2008-11-03 22:29:19 +00:00
Homer Horwitz
39691e61a2
Small fix for a possible NRE in standalone mode, killing the
...
client-thread. Will hopefully fix Mantis#2536.
2008-11-03 22:02:52 +00:00
Justin Clarke Casey
4ff0c39153
* Expose a client_throttle_multiplier setting in OpenSim.ini. This multiplier is applied to all the client throttle settings received by the client
...
* This should probably be 1, but currently by default it is 8, to reflect what was being eon3 in OpenSim before this revision. So if the client requested a maximum throttle
of 1500 kilobits per second, we would actually send out 1500 kilobytes per second
* Adjusting this multiplier down towards 1 may improve your OpenSim experience, though in other situations it may degrade (e.g. if you're using a standalone over high bandwidth
links)
* This is currently a user setting because adjusting it down may currently reveal other OpenSim bugs.
2008-11-03 21:09:30 +00:00
Justin Clarke Casey
c789a9d02a
* mionr: correct CONTRIBUTORS file for Plugh
2008-11-03 20:16:47 +00:00
Justin Clarke Casey
1e56bda487
* minor: fussy little change to put colons in some log output
2008-11-03 20:10:54 +00:00
Homer Horwitz
580b11779a
On TP, child-agents weren't closed down properly, as the list of child-regions
...
was cleared before using it to find the children.
2008-11-03 19:56:47 +00:00
Homer Horwitz
a64d6eccd0
Add a bit more error-checking to GetFriendRegionInfos.
2008-11-03 19:13:42 +00:00
Justin Clarke Casey
8dbd0118a8
* Pull client throttle multipler setting out of config source. Not an adjustable setting yet (and then only for debug purposes)
2008-11-03 19:02:44 +00:00
Justin Clarke Casey
6ea24799dd
* minor: don't need to null check config source in clientstack settings since this is always non null
2008-11-03 18:49:25 +00:00
Justin Clarke Casey
a88e850ccf
* minor: eliminate unused config field
2008-11-03 18:36:04 +00:00
Justin Clarke Casey
8c71954e08
* Use nini to pass config information to the client stack, rather than the ClientStackUserSettings class
...
* This conforms better to other module usage
2008-11-03 18:33:35 +00:00
Dr Scofield
add42f5e9b
completing move to refactored multi-channel capable IRCBridgeModule
2008-11-03 17:17:57 +00:00
Dr Scofield
69ae33db1a
dropping old IRCBridgeModule.
2008-11-03 17:11:28 +00:00
Justin Clarke Casey
57caef119c
* Use the UUID regex sitting in utils for detection of uuids embedded in scripts
...
* Replaces the one in the module itself, which had a dumb bug in it anyway
2008-11-03 16:57:03 +00:00
Dr Scofield
d6d2a38e76
merging changes from IRCBridgeModule in to XIRCBridgeModule; swapping
...
OpenSim.ini config tags in preparation for merge of IRCBridgeModule
and XIRCBridgeModule.
2008-11-03 16:20:13 +00:00
Dahlia Trimble
d0c8d7a177
Thanks diva for a patch that removes an unnecessary dependency on CommunicationsOGS1 from OGS1UserServices
2008-11-03 05:40:43 +00:00
Dahlia Trimble
8aa16a9acf
Thanks diva for patch that makes a bunch of methods in InventoryServiceBase virtual, so that they can be overriden in subclasses.
2008-11-03 05:22:36 +00:00
Charles Krinke
07ba2f4363
Mantis #2530 . Thank you kindly, Idb for a patch that:
...
The attached patch changes the casts from explicit to implicit.
2008-11-03 01:57:10 +00:00
Homer Horwitz
499f1428f7
- Add Util.isUUID
...
- Add tests for Util.isUUID
- First part of the fix for protocol interoperability between viewer 1.20 and 1.21 for friend offers.
2008-11-02 13:07:57 +00:00
Melanie Thielker
6d4f8b38aa
Cause inventory to be fetched on scripted item gives if the destination
...
avatar is remote or offline.
2008-11-02 08:53:03 +00:00
Jeff Ames
88d6557071
Update svn properties, formatting cleanup.
2008-11-02 01:29:56 +00:00
Melanie Thielker
44852158f2
Mantis #2518
...
Thank you, idb, for a patch that fixes the conflicts of lsl identifiers
with c# keywords
2008-11-01 23:50:19 +00:00
Justin Clarke Casey
87b8f327aa
* Apply http://opensimulator.org/mantis/view.php?id=2440
...
* The attached patch changes the LSLInteger operator overrides for == and != to return LSLIntegers 1 or 0 instead of a bool and adds similar operator overrides for >, <, >= and
<=
* Thanks idb!
2008-11-01 23:15:16 +00:00
Adam Frisby
4c24b1bc9b
* Massive cleanup of LLClientView, removed a few hundred unnecessary value initialisers, etc.
2008-11-01 22:34:04 +00:00
Adam Frisby
84136c70d8
* Minor cleanup
...
* Added additional error message when a Object/SOG DB save fails so we can trace why.
2008-11-01 22:20:54 +00:00
Justin Clarke Casey
e3864de621
* Apply http://opensimulator.org/mantis/view.php?id=2521
...
* Fix not tests in LSL which require implicit casting (see mantis for an example)
2008-11-01 22:18:26 +00:00
Homer Horwitz
38e8853e57
Megapatch that fixes/adds: friend offer/deny/accept, friendship termination,
...
on-/offline updates, calling cards for friends.
This adds methods in the DB layer and changes the MessagingServer, so a full
update (incl. UGAIM) is necessary to get it working. Older regions shouldn't
break, nor should older UGAIM break newer regions, but friends/presence will
only work with all concerned parts (UGAIM, source region and destination
region) at this revision (or later).
I added the DB code for MSSQL, too, but couldn't test that.
BEWARE: May contain bugs.
2008-11-01 22:09:48 +00:00
Justin Clarke Casey
e3a1ccf0b2
* minor: Remove mono compiler warning
2008-11-01 22:07:55 +00:00
Justin Clarke Casey
9366a234cf
* refactor: Convert most non SOP methods to use SOG.IsAttachment rather than SOP.IsAttachment
2008-11-01 22:04:35 +00:00
Homer Horwitz
44e377d1fb
Fix a compile warning about unreachable code
2008-11-01 21:55:48 +00:00
Justin Clarke Casey
7c04d27875
* Introduce an IsAttachment property on the group level (which just returns false if the group is already deleted)
...
* This is to avoid repetitive null checks - I'm beginning to think that blasting away the root part on object deletion is actually a bad move. Perhaps we should leave it around
and let the client ignore any superfluous packets (which it may well do anyway), since we're constantly exposing a race condition
2008-11-01 21:50:07 +00:00
Justin Clarke Casey
b03e34dd2d
* Fix http://opensimulator.org/mantis/view.php?id=2517
...
* Don't save attachments on saving oar, which stops them coming back as ghost prims
2008-11-01 21:28:52 +00:00
Melanie Thielker
388c053dcb
Make the IM and friends modules optional. Clean up some code that dealt
...
with the old Grid Instant Message over OGS1. Refactor the EventManager
to be independent of the rigid module structure design imposed by
the current implementation. Message routing is now done in the destination
module rather than in the event manager. This way, more or less granular
solutions are possible without core changes.
2008-11-01 18:18:19 +00:00
Charles Krinke
9299be0080
Revert last checkin. Avatars fall through non-physical prims now.
...
There is more to the solution then just enabling soft_erp and
soft_cfm for all d.Contact cases.
2008-11-01 17:58:34 +00:00
Charles Krinke
1e376deedd
Added soft_cfm and soft_erp to the general "contact" initialization
...
for physical prim interactions. They were not previously enabled
for prim-prim interactions.
2008-11-01 17:30:06 +00:00
Melanie Thielker
865b5bb317
Make the inventory transfer module replacable in config.
2008-11-01 17:05:28 +00:00
Melanie Thielker
0bff4215fe
Correct the handling of the creator field on inventory gives
2008-11-01 16:49:52 +00:00
Melanie Thielker
4fb2d70373
A stab a getting the user server to act right. Move acquisition of the
...
locks to just before the try/catch/finally block, so that an exception
thrown between taking the lock and entering the try doesn't leave a mutex
locked
2008-11-01 15:10:45 +00:00
Jeff Ames
337da2a7a3
Update svn properties, minor formatting cleanup.
2008-11-01 07:21:40 +00:00
Justin Clarke Casey
465a931c05
* In the client stack, if the BeginReceive() throws an exception then do print this out to the log once
...
* This may help us detect if mysterious UDP disconnects are happening because of this.
* Shouldn't be any functional change but I would appreciate a buddy check from Teravus if he has time (as for all client stack changes)
2008-10-31 19:41:07 +00:00
Justin Clarke Casey
4df3a19be6
* Reinstate sending wearables back to the client in response to set appearance
...
* Since the client sets the appearance in the first place (in response to receiving wearables information originally) this seems a little redundant
* But I've realized I didn't actually test this assumption, so I'm going to reinstate it for now
2008-10-31 18:58:30 +00:00
Justin Clarke Casey
269303d97d
* test: Add basic scene test which merely instantiates the scene right now
...
* set debug scene name on scene registration, rather than within the Scene constructor
2008-10-31 18:39:51 +00:00
Adam Frisby
1f52ca97c7
* Enables PrimitiveBaseShape to be used inside a libOpenMV project by adding some alternate codepaths that avoid triggering OpenSim specific code. Probably not useful for most people, but might be for those working on interop projects.
2008-10-31 08:54:54 +00:00
Adam Frisby
129610e797
* Added some debug information to MySQL UserDataManager to help diagnose a potential issue when in high load. Related to mantis #2508 .
2008-10-31 04:58:14 +00:00
Justin Clarke Casey
5feaff8524
test: Extend malformed packet test to actually check that a valid packet can get through after the malformed ones have been sent
2008-10-30 22:32:23 +00:00
Justin Clarke Casey
419775c72b
* test: Test that the client stack doesn't completely blow up if a client passes it malformed data
2008-10-30 20:17:30 +00:00
Justin Clarke Casey
2fb8089d8c
* Slightly tweak to teardown test, try a circuit which never existed in the first place
2008-10-30 19:46:52 +00:00
Justin Clarke Casey
22ec3e7952
* minor: spacing adjustment before next commit
2008-10-30 19:43:58 +00:00
Justin Clarke Casey
bc1b69b2fd
* test: fill out circuit teardown test
2008-10-30 19:42:25 +00:00
Justin Clarke Casey
9f9d97c57b
* minor: remove mono warning
2008-10-30 19:32:36 +00:00
Justin Clarke Casey
80e87747f3
* test: Refactor test infrastructure for future client teardown test
2008-10-30 19:26:38 +00:00
Dr Scofield
b222d11b12
From: Alan Webb (alan_webb@us.ibm.com)
...
XIRCBrigeModule is transient, will merge it with IRCBridgeModule:
extends/refactors IRCBridgeModule to support channel-per-region (if
desired).
2008-10-30 15:31:44 +00:00
Dr Scofield
3a6037b421
From: Alan Webb (alan_webb@us.ibm.com)
...
Cleanups in REST inventory and asset services.
2008-10-30 15:26:23 +00:00
Dr Scofield
e8615f0fee
From: Alan Webb (alan_webb@us.ibm.com)
...
Adding support to set start region and lookat for an avatar via
XmlRpc.
2008-10-30 15:24:52 +00:00
Dr Scofield
537cd4708f
From: Chris Yeoh (yeohc@au1.ibm.com)
...
Here's the patch that clamps llGround to using sane values avoiding
runtime errors.
2008-10-30 15:09:43 +00:00
Charles Krinke
87e7ff5932
Thank you kindly, NLin for an implementation patch
...
for llSetHoverHeight() and llStopHover(). I believe
this gets is to less then 50 LSL functions left to
implement.
2008-10-30 14:06:00 +00:00
Sean Dague
9e353d5713
- Includes consistency test for new and updated objects, as
...
some fixes in MySQL and SQLite
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-10-30 12:56:10 +00:00
Sean Dague
409e7262df
Mid-work, trying to fix region part insertion and retrieval
...
SQLite reports System NUll Reference, but works, inside
LoadItems, on SQLiteRegionData.cs
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-10-30 12:56:04 +00:00
Justin Clarke Casey
742514b0d7
* Apply http://opensimulator.org/mantis/view.php?id=2492
...
* object_rez event should now be sent to all scripts in the prim
* Thanks idb!
2008-10-29 20:58:11 +00:00
Justin Clarke Casey
7fdd6b74e3
* Apply patch in http://opensimulator.org/mantis/view.php?id=2494
...
* Introduces missing casts for float, integer, vector, quaterion and string to list
* Thanks idb
2008-10-29 20:09:02 +00:00
Justin Clarke Casey
8367353ea3
minor: indentation corrections
2008-10-29 20:05:16 +00:00
Justin Clarke Casey
f8c2efbe70
* Instead of putting 0.5.11.00000 if there is no revision, just put 0.5.11 instead
...
* This is to make things less confusing to users (and maybe a little easier to do future version filtering for grid connections)
* If there's disagreement about this, then please say so (preferably in the opensim-dev mailing list)
2008-10-29 19:57:30 +00:00
Justin Clarke Casey
b21734d4d9
* Stop the DataSnapShot module trying to call home on shutdown even if it isn't enabled.
...
* Please let's check such patches carefully - we don't want info leaking out unless the user has requested it
2008-10-29 18:53:24 +00:00
Justin Clarke Casey
8a3157aa6a
* Check in (disabled) results of not persisting avatar textures but rather sending ImageNotFound to clients if avatar textures are missing
...
* Whilst this does automatically get the client to rebake, on crossing a region border the 'local' assets are left behind
* There may be a cunning solution (such as squirting the assets on region crossing, or having them fetched from the original region) but
instead I'm going to opt for the easy solution of keeping them in the asset database, for now
2008-10-29 18:38:10 +00:00
Dahlia Trimble
5cf6a7f118
Viewer side normals and UV fixes on profile cuts. Sync with primmesher.dll forge project.
2008-10-29 09:47:45 +00:00
Jeff Ames
395a0f7977
Minor formatting cleanup.
2008-10-29 03:22:54 +00:00
Mike Mazur
3fd35f9fbe
GridManager.GetRegions() now returns a List, not a Dictionary. Also removed some trailing whitespace.
2008-10-29 02:27:39 +00:00
Melanie Thielker
f9eb3712ed
Remove a debug output
2008-10-29 00:32:41 +00:00
Melanie Thielker
766269a59b
Plumbing along....
2008-10-29 00:15:39 +00:00
Melanie Thielker
0c6db79a8e
Mantis #2489
...
Thank you, Diva, for a patch that helps keep the list of sims to index clean
by allowing sims to deregister.
2008-10-29 00:10:59 +00:00
Justin Clarke Casey
7beeaf51f8
* minor: remove mono compiler warnings
2008-10-28 21:47:43 +00:00
Justin Clarke Casey
1ff9709ea3
* Possibly fix grey avatar appearance problems
...
* And hopefully rebaking all the time should no longer be necessary now
* It turns out that when the client baked the texture, the uploaded asset had the Temporary flag to true (Temporary is actually deprecated).
* It also had the StoreLocal flag set to true, which signifies that the asset should be stored locally. If it disappears we should reply to the asset request with
ImageNotInDatabasePacket
* However, last time this was enabled some clients started crashing. This may well no longer be the case and needs to be tested, but in the mean time we will store
the asset instead.
* This needs to be resolved in a better way, possibly by starting to send the ImageNotInDatabase packet again instead
2008-10-28 21:31:23 +00:00
Justin Clarke Casey
247b806134
* minor: Add documentation to some of the appearance methods, change some logging messages
2008-10-28 17:35:36 +00:00
Justin Clarke Casey
f34079cc8c
* Eliminate an extra unnecessary appearance fetch on login
...
* This shouldn't fix the existing appearance bugs, but neither should it make them worse.
2008-10-28 16:04:25 +00:00
Justin Clarke Casey
baa29fcbff
* minor: Doc and log message tidy up
...
* reinstate debug level log message indicating when a child agent is made a root for future debugging purposes
2008-10-28 15:46:30 +00:00
Justin Clarke Casey
2a9796e2aa
* Apply http://opensimulator.org/mantis/view.php?id=2482
...
* Stop 'show threads' throwing an exception if a thread is dead
2008-10-28 15:01:43 +00:00
Charles Krinke
d8a6971a35
Thank you kindly, Mircea Kitsune for a patch that solves:
...
When the avatar stops flying in mid air, it stays still
while it falls to the ground. Normally, the avatar would
use the falling animation (when it spins its arms and legs
while falling) until it reaches the ground.
2008-10-28 14:57:31 +00:00
Dr Scofield
1a06045c98
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
The attached patch fixes the bug where when linking in a new set of
prims to an already linked set of objects the prims were placed at the
end of the list rather than just after the root prim. ie. link prim
order result was different on OpenSim compared to an LL server. This
causes a few issues with respect to compatibility of scripts,
especially when using llCreateLink.
2008-10-28 11:26:23 +00:00
Melanie Thielker
8ea4553d39
Mantis #2486
...
Thank you, nlin, for a patch that fixes serialization of vector and
quaternion types for script state.
2008-10-28 10:14:44 +00:00
Dahlia Trimble
ae5d92a167
some sorely needed extruder code simplification and refactoring, also some fixes to cut face UV coordinates
2008-10-28 08:57:15 +00:00
Jeff Ames
1342e89a8f
Update Sun options in OpenSim.ini.example. Minor cleanup in SunModule.cs.
2008-10-28 02:34:03 +00:00
Melanie Thielker
9a36afec6e
Experimental patch (suggested by diva) to kill off WP teleport ghosts.
2008-10-27 23:46:34 +00:00
Justin Clarke Casey
e6a141b0f5
* Remove the OpenSim GUI.
...
* A better version can now be found on the forge at http://forge.opensimulator.org/gf/project/osgui
2008-10-27 21:29:22 +00:00
Justin Clarke Casey
4b929804dc
* cleanup: Update the avatar factory (appearance module) in Region/Environment and use that instead of the Region/Modules/AvatarFactory
...
* Remove the AvatarFactory dll
2008-10-27 20:48:18 +00:00
Justin Clarke Casey
754f6ba2a2
* minor: remove mono compiler warnings
2008-10-27 20:16:42 +00:00
Justin Clarke Casey
6ec9c2d706
* Apply http://opensimulator.org/mantis/view.php?id=2468
...
* This time there are accompanying changes to the unit test to adapt it to the changes
* Thanks tglion
2008-10-27 17:06:47 +00:00
Justin Clarke Casey
0d69e06779
* Temporarily revert terrain changes in r6976 and reinstate unit test from r6977.
...
* If a change is going to affect a unit test, then please could we change the unit test at the same time? Otherwise this will never get done
* It also seems a bad idea to disable tests which start failing unless there's a very good reason
2008-10-27 14:27:45 +00:00
Jeff Ames
b2d6b0a3d4
Update svn properties, minor formatting cleanup.
2008-10-27 01:43:59 +00:00
Charles Krinke
a59ca765fe
Thank you kindly, Idb for a patch that solves:
...
LSL - Bitwise operators OR and XOR do not work
on integer variables
2008-10-27 00:59:26 +00:00
Charles Krinke
8a6042f063
Thank you kindly, Idb for a patch that solves:
...
llGetRot and llGetRootRotation return the wrong
values when the object is attached
2008-10-27 00:51:50 +00:00
Charles Krinke
8cb889cb0e
Thank you kindly, Ruud Lathrop for a patch that solves:
...
Primary Key violation when just linked a lot of prims using MSSQL.
2008-10-27 00:46:17 +00:00
Melanie Thielker
cc48110a03
Mantis #2428
...
Thank you, miceakitsune, for a patch that makes terraforming tools usable again
2008-10-26 23:09:00 +00:00
Melanie Thielker
f7e44250bf
Committing a small fix for EventData along with more plumbing work
2008-10-26 19:32:41 +00:00
Charles Krinke
ba79c26d2d
Thank you kindly, Idb for a patch that solves:
...
The following should silently fail when attached,
llBreakAllLinks, llBreakLink, llCreateLink.
The following should be restricted to avatars in the same sim,
llGetAgentInfo, llSameGroup, llGetAgentSize, llGetAnimationList.
Comment added to the following unimplemented functions,
llGetAgentLanguage, llGetAnimation.
2008-10-26 18:26:56 +00:00
Charles Krinke
b552e8ebe3
Thank you kindly, Idb for a patch that solves:
...
llGetBoundingBox is completely unimplemented. The attached
patch contains a partial implementation for single prim
objects and standing, flying and ground sitting avatars.
In the case of an avatar sat on an object or multi-prim
objects only the bounding box of the root prim is returned.
llRezObject and llRezAtRoot ignored any velocity parameter.
The attached patch makes use of it if it is not a zero vector.
2008-10-26 17:09:26 +00:00
Charles Krinke
2462108bfb
Thank you kindly, Ewe Loon for a patch that solves:
...
m_ScriptDelayFactor and m_ScriptDistanceFactor are
being read from XEngine settings not the settings
for the scriptengine being used
2008-10-26 17:01:15 +00:00
Melanie Thielker
c25f3ced04
Disable terrain brush test until someone with terrain-fu can look
...
at it and determine the new test parameters needed for the terrain
brush with strength support
2008-10-25 14:47:09 +00:00
Charles Krinke
4e14aa44c7
Thank you kindly, Tglion for a patch that:
...
Support of strength-slider in latest sl-client (1.21.6)
Added a patch, which includes the support of strength-slider
in latest sl-client (1.21.6) for Raise- and LowerSphere.
2008-10-25 14:07:35 +00:00
Melanie Thielker
c49e1b8fb6
A few more bots to yesterday's plumbing: change instant message method
...
signature
2008-10-25 13:53:17 +00:00
Homer Horwitz
5e6954dfe6
Fixed the cause of a hidden Exception which prevented BaseHttpServer to answer
...
when a non-existing XmlRpc method was called. Now, it will correctly respond
with a faultCode/faultMessage.
2008-10-25 13:45:26 +00:00
Melanie Thielker
dc1214e46f
Make ScenePresence.Close public to allow subclassing of SceneComms
2008-10-25 13:44:26 +00:00
Melanie Thielker
26643c4a9d
More plumbing and some wires
2008-10-25 01:42:43 +00:00
Melanie Thielker
f85be9b39a
Fix a leak in the plumbing
2008-10-24 23:55:28 +00:00
Dahlia Trimble
3447bed8be
Add end faces when radius setting is non-zero
2008-10-24 23:37:09 +00:00
Melanie Thielker
64f9f03e9a
Plumb some more
2008-10-24 23:04:55 +00:00
Justin Clarke Casey
c519b80680
* minor: eliminate some mono compiler warnings
2008-10-24 21:40:05 +00:00
Justin Clarke Casey
7b224677c1
* Stop passing in unnecessary pameters to CreateNewCircuit
2008-10-24 21:34:18 +00:00
Justin Clarke Casey
dc6724ddde
* minor: Remove now unused startpos method
2008-10-24 21:26:59 +00:00