aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-02-18From: Christopher Yeoh <yeohc@au1.ibm.com>Sean Dague1-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.
2009-02-18Adds support for preserving animations on region crossings and TPs. diva6-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.
2009-02-17Makes SP.CopyFrom a bit more robust with respect to sims in older versions ↵diva1-6/+4
which still don't have the new appearance management code.
2009-02-17Fix a typo. i + i is not 2 times meMelanie Thielker1-1/+1
2009-02-17Re-fixing the fix :/Melanie Thielker1-1/+1
2009-02-17One-liner to fix an omissionMelanie Thielker1-0/+1
2009-02-17* Establish InventoryArchiveSaved event for unit testsJustin Clarke Casey1-2/+20
* This is done on the inventory archiver module directly rather than Scene.EventManager - the module seems the more appropriate location
2009-02-17Re-add the objectID field to the anim pack, that was deemed unneccessaryMelanie Thielker3-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.
2009-02-17Small change on dealing with ODE physics, so that this warning doesn't ↵diva1-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.
2009-02-17- remove the Metadata property from AssetBase and return all previousMike Mazur3-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
2009-02-17Major change to how appearance is managed, including changes in login and ↵diva2-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).
2009-02-16* refactor: remove AssetCache field hanging off SceneJustin Clarke Casey9-30/+24
* This is always available at Scene.CommsManager.AssetCache
2009-02-15More guards around SetHeight.diva1-2/+3
2009-02-15Fix exception when standing up.idb1-1/+1
Fixes Mantis #3170
2009-02-15Guarding the new call to SetHeight in MakeRoot, so that ODE doesn't complain ↵diva1-1/+1
when it's 0.
2009-02-15Moving SendInitialData sort of back to where it was before, so that it ↵diva1-4/+5
doesn't interfere with the unit tests.
2009-02-15This started as way to correct Mantis #3158, which I believe should be fixed ↵diva3-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.
2009-02-14This hopefully fixes a long-standing annoying behavior related to neighbour ↵diva1-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.
2009-02-14Moved RegionUp to REST/LocalComms. The original functionality has been ↵diva3-6/+38
entirely maintained, although it will have to be revisited soon, because it's buggy.
2009-02-13* Change static field "initialized" in RestInterregionComms to an instance fieldJustin Clarke Casey2-13/+11
* This was the cause of teleport tests interfering with each other
2009-02-13* refactor: move alert commands from Scene to DialogModuleJustin Clarke Casey2-40/+0
2009-02-13* Quieten down log messages from the Friends moduleJustin Clarke Casey1-1/+0
2009-02-13* add file missing from last commitJustin Clarke Casey1-0/+34
2009-02-13* refactor: Move LazySaveGeneratedMapTile from scene to WorldMapModuleJustin Clarke Casey1-56/+4
2009-02-13* Remove old Scene.CreateTerrainTexture code that is now handled by the ↵Justin Clarke Casey1-392/+5
world map module
2009-02-13* refactor: Move export map function to world map module from sceneJustin Clarke Casey1-53/+1
2009-02-13Commented the tests for region crossings for now -- they need to be ↵diva1-2/+4
substantially changed because of the callback from region B triggered by the client.
2009-02-13And finally... region crossings entirely over RESTComms/LocalComms. No more ↵diva1-54/+66
remoting for agent movements. WARNING: This breaks region crossing compatibility with previous versions.
2009-02-13Add copyright headers. Minor formatting cleanup. Fix some compiler ↵Jeff Ames4-11/+34
warnings. Fix some m_log declarations.
2009-02-13Bug fix in prim crossing: making it clear when the local object needs to be ↵diva2-2/+2
cloned (regions on the same instance) and when it doesn't (regions on different instances).
2009-02-12Fixes a bug in the ScenePresence test itself.diva1-1/+1
2009-02-12Makes region crossings asynchronous. Moved the bulk of the original code out ↵diva4-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!
2009-02-12large scale fix for svn props after "the great refactor"Sean Dague1-2/+2
2009-02-12* Remove some pointless CachedUserInfo != null tests since these are already ↵Justin Clarke Casey1-134/+133
made in earlier code
2009-02-12* refactor: Move RequestInventoryForUser() from service to CachedUserInfoJustin Clarke Casey2-7/+14
* This simplifies callers in most cases - CachedUserInfo is already handling the rest of the fetch inventory work anyway
2009-02-12* optimized usings.lbsa7134-108/+38
2009-02-12Sending this to Justin, so that he can see what's wrong with the ↵diva2-12/+22
StandaloneTeleportTests when we add RESTInterregionComms module to the ScenePresenceTests.
2009-02-11Enforce estate bans on Teleports.diva1-1/+27
2009-02-11* minor: remove some mono compiler warningsJustin Clarke Casey2-3/+3
2009-02-11* Refactor inventory archive code to allow direct invocation in order to ↵Justin Clarke Casey1-0/+52
support future unit tests * Add a file I missed out from the last commit (the build was probably fine without it)
2009-02-10Add proper handling for shared vs. unshared modules to the commandMelanie Thielker1-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.
2009-02-10Fixes the problem of attachment offset after crossings/TPs. Hopefully it ↵diva3-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.
2009-02-10* minor: Remove SOG XML2 serialization log messages for nowJustin Clarke Casey1-3/+2
2009-02-10* Implement merging of oars in codeJustin Clarke Casey1-2/+28
* Not fully tested yet and not yet available as an option from the user console
2009-02-10this is step 2 of 2 of the OpenSim.Region.Environment refactor.Dr Scofield10-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
2009-02-10Commented out a problematic test that needs more careful revision.diva1-1/+2
2009-02-09Fixes a failed unit test on ScenePresences tests. That test unit needs some ↵diva1-1/+2
fixing too.
2009-02-09Moved prim crossing out of OGS1 and into RESTComms and ↵diva7-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.
2009-02-09From Alan Webb <awebb@linux.vnet.ibm.com>Sean Dague4-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.
2009-02-09a last set of files that seem to have embedded ^M in themSean Dague3-203/+203