aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework (follow)
Commit message (Collapse)AuthorAgeFilesLines
* From: Christopher Yeoh <yeohc@au1.ibm.com>Sean Dague2009-02-181-0/+4
| | | | | | | | | | | | | | The attached patch implements osGetDrawStringSize that looks like: vector osGetDrawStringSize(string contentType, string text, string fontName, int fontSize) in LSL. It is meant to be used in conjunction with the osDraw* functions. It returns accurate information on the size that a given string will be rendered given the specified font and font size. This allows for nicely formatted and positioned text on the generated image.
* Adds support for preserving animations on region crossings and TPs. diva2009-02-186-18/+590
| | | | | | | Known issue: after TP, the self client doesn't see the animations going, but others can see them. So there's a bug there (TPs only, crossings seem to be all fine). Untested: did not test animation overriders; only tested playing animations from the viewer.
* Makes SP.CopyFrom a bit more robust with respect to sims in older versions ↵diva2009-02-171-6/+4
| | | | which still don't have the new appearance management code.
* Fix a typo. i + i is not 2 times meMelanie Thielker2009-02-171-1/+1
|
* Re-fixing the fix :/Melanie Thielker2009-02-171-1/+1
|
* One-liner to fix an omissionMelanie Thielker2009-02-171-0/+1
|
* * Establish InventoryArchiveSaved event for unit testsJustin Clarke Casey2009-02-171-2/+20
| | | | | | * This is done on the inventory archiver module directly rather than Scene.EventManager - the module seems the more appropriate location
* Re-add the objectID field to the anim pack, that was deemed unneccessaryMelanie Thielker2009-02-173-22/+35
| | | | | | | | and dropped nonths ago, because it is required to get smooth region crossings with AO running. Without it, in some corner cases, anims will continue to run in an unstoppable state.
* Small change on dealing with ODE physics, so that this warning doesn't ↵diva2009-02-171-1/+1
| | | | happen: "[PHYSICS]: trying to change capsule size, but the following ODE data is missing - Shell Body Amotor". That warning occurred in MakeRoot, because of the call to SetSize, immediately after making the avie physical.
* - remove the Metadata property from AssetBase and return all previousMike Mazur2009-02-173-45/+45
| | | | | | | | | properties as before - prefix private variables with m_ in AssetBase.cs - related to Mantis #3122, as mentioned in https://lists.berlios.de/pipermail/opensim-dev/2009-February/005088.html - all services will likely need to be upgraded after this commit
* Major change to how appearance is managed, including changes in login and ↵diva2009-02-172-28/+87
| | | | user service/server. Appearance is now sent by the user service/server along with all other loginparams. Regions don't query the user service for appearance anymore. The appearance is passed along from region to region as the avie moves around. And, as before, it's stored back with the user service as the client changes the avie's appearance. Child agents have default appearances that are set to the actual appearance when the avie moves to that region. (as before, child agents are invisible and non-physical).
* * refactor: remove AssetCache field hanging off SceneJustin Clarke Casey2009-02-169-30/+24
| | | | | | * This is always available at Scene.CommsManager.AssetCache
* More guards around SetHeight.diva2009-02-151-2/+3
|
* Fix exception when standing up.idb2009-02-151-1/+1
| | | | | Fixes Mantis #3170
* Guarding the new call to SetHeight in MakeRoot, so that ODE doesn't complain ↵diva2009-02-151-1/+1
| | | | when it's 0.
* Moving SendInitialData sort of back to where it was before, so that it ↵diva2009-02-151-4/+5
| | | | doesn't interfere with the unit tests.
* This started as way to correct Mantis #3158, which I believe should be fixed ↵diva2009-02-153-30/+35
| | | | now. The flying status was temporarily being ignored, which caused the avie to drop sometimes -- there was a race condition. In the process it also fixes that annoying bug in basic physics where the avie would drop half-way to the ground upon region crossings (SetAppearance was missing). Additionally, a lot of child-agent-related code has been cleaned up; namely child agents are now consistently not added to physical scenes, and they also don't have appearances. All of that happens in MakeRoot, consistently.
* This hopefully fixes a long-standing annoying behavior related to neighbour ↵diva2009-02-141-1/+6
| | | | 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.
* Moved RegionUp to REST/LocalComms. The original functionality has been ↵diva2009-02-143-6/+38
| | | | entirely maintained, although it will have to be revisited soon, because it's buggy.
* * Change static field "initialized" in RestInterregionComms to an instance fieldJustin Clarke Casey2009-02-132-13/+11
| | | | | | * This was the cause of teleport tests interfering with each other
* * refactor: move alert commands from Scene to DialogModuleJustin Clarke Casey2009-02-132-40/+0
|
* * Quieten down log messages from the Friends moduleJustin Clarke Casey2009-02-131-1/+0
|
* * add file missing from last commitJustin Clarke Casey2009-02-131-0/+34
|
* * refactor: Move LazySaveGeneratedMapTile from scene to WorldMapModuleJustin Clarke Casey2009-02-131-56/+4
|
* * Remove old Scene.CreateTerrainTexture code that is now handled by the ↵Justin Clarke Casey2009-02-131-392/+5
| | | | world map module
* * refactor: Move export map function to world map module from sceneJustin Clarke Casey2009-02-131-53/+1
|
* Commented the tests for region crossings for now -- they need to be ↵diva2009-02-131-2/+4
| | | | substantially changed because of the callback from region B triggered by the client.
* And finally... region crossings entirely over RESTComms/LocalComms. No more ↵diva2009-02-131-54/+66
| | | | remoting for agent movements. WARNING: This breaks region crossing compatibility with previous versions.
* Add copyright headers. Minor formatting cleanup. Fix some compiler ↵Jeff Ames2009-02-134-11/+34
| | | | warnings. Fix some m_log declarations.
* Bug fix in prim crossing: making it clear when the local object needs to be ↵diva2009-02-132-2/+2
| | | | cloned (regions on the same instance) and when it doesn't (regions on different instances).
* Fixes a bug in the ScenePresence test itself.diva2009-02-121-1/+1
|
* Makes region crossings asynchronous. Moved the bulk of the original code out ↵diva2009-02-124-134/+219
| | | | | | | | 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!
* large scale fix for svn props after "the great refactor"Sean Dague2009-02-121-2/+2
|
* * Remove some pointless CachedUserInfo != null tests since these are already ↵Justin Clarke Casey2009-02-121-134/+133
| | | | made in earlier code
* * refactor: Move RequestInventoryForUser() from service to CachedUserInfoJustin Clarke Casey2009-02-122-7/+14
| | | | | | * This simplifies callers in most cases - CachedUserInfo is already handling the rest of the fetch inventory work anyway
* * optimized usings.lbsa712009-02-1234-108/+38
|
* Sending this to Justin, so that he can see what's wrong with the ↵diva2009-02-122-12/+22
| | | | StandaloneTeleportTests when we add RESTInterregionComms module to the ScenePresenceTests.
* Enforce estate bans on Teleports.diva2009-02-111-1/+27
|
* * minor: remove some mono compiler warningsJustin Clarke Casey2009-02-112-3/+3
|
* * Refactor inventory archive code to allow direct invocation in order to ↵Justin Clarke Casey2009-02-111-0/+52
| | | | | | | | support future unit tests * Add a file I missed out from the last commit (the build was probably fine without it)
* Add proper handling for shared vs. unshared modules to the commandMelanie Thielker2009-02-101-2/+15
| | | | | | | | 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.
* Fixes the problem of attachment offset after crossings/TPs. Hopefully it ↵diva2009-02-103-38/+39
| | | | 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.
* * minor: Remove SOG XML2 serialization log messages for nowJustin Clarke Casey2009-02-101-3/+2
|
* * Implement merging of oars in codeJustin Clarke Casey2009-02-101-2/+28
| | | | | | * Not fully tested yet and not yet available as an option from the user console
* this is step 2 of 2 of the OpenSim.Region.Environment refactor.Dr Scofield2009-02-1010-12/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Commented out a problematic test that needs more careful revision.diva2009-02-101-1/+2
|
* Fixes a failed unit test on ScenePresences tests. That test unit needs some ↵diva2009-02-091-1/+2
| | | | fixing too.
* Moved prim crossing out of OGS1 and into RESTComms and ↵diva2009-02-097-102/+264
| | | | | | | | | | 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.
* From Alan Webb <awebb@linux.vnet.ibm.com>Sean Dague2009-02-094-5/+5
| | | | | | | | | | | 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.
* a last set of files that seem to have embedded ^M in themSean Dague2009-02-093-203/+203
|