aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-08-18Don't need to try both AssetService.Get and GetCached in GetMesh since Get ↵Justin Clark-Casey (justincc)2-38/+15
always calls GetCached and code paths were identical
2011-08-18refactor: fold CreateSceneViewer() back into ScenePresence constructorJustin Clark-Casey (justincc)1-6/+1
2011-08-18minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2-2/+2
2011-08-18refactor: Fold 3 ScenePresence() constructors into one since only one is called.Justin Clark-Casey (justincc)1-9/+2
2011-08-18Don't try to save changed attachment states when an NPC with attachments is ↵Justin Clark-Casey (justincc)14-23/+71
removed from the scene. This is done by introducing a PresenceType enum into ScenePresence which currently has two values, User and Npc. This seems better than a SaveAttachments flag in terms of code comprehension, though I'm still slightly uneasy about introducing these semantics to core objects
2011-08-17comment out noisy attachments loggingJustin Clark-Casey (justincc)1-5/+5
2011-08-17minor: remove mono compiler warningJustin Clark-Casey (justincc)1-1/+1
2011-08-17In the asset service, check that an asset exists before attempting to store it.Justin Clark-Casey (justincc)2-6/+13
2011-08-17For now, supress 'OH NOES' warnings given by ↵Justin Clark-Casey (justincc)1-5/+5
HGInventoryBroker.CacheInventoryServiceURL when it tries to cache it for an NPC This concept is meaningless for NPCs. However, it might be better to make NPCism an actual property on ScenePresence and check. Addresses http://opensimulator.org/mantis/view.php?id=5643
2011-08-17Fix issue where loading a new appearance onto an NPC would not remove the ↵Justin Clark-Casey (justincc)3-3/+14
previous attachments from the scene. Addresses http://opensimulator.org/mantis/view.php?id=5636
2011-08-17extend test to check that there is one attachment and that it has the right nameJustin Clark-Casey (justincc)1-1/+6
2011-08-17Add new regression TestRezAttachmentsOnAvatarEntrance() to do simple ↵Justin Clark-Casey (justincc)6-20/+69
attachments check
2011-08-16get rid of logged warnings about lack of some modules - afaik these never ↵Justin Clark-Casey (justincc)1-10/+0
occur in real life and just clutter up tests
2011-08-16Add new FireAndForgetMethod.None.Justin Clark-Casey (justincc)3-16/+53
This executes the callback on the same thread that made the request. Designed for use only by regression tests that rely on a predicable event ordering.
2011-08-16Move some previously common code back into separate tests. Remove unused ↵Justin Clark-Casey (justincc)1-10/+9
region handle from test.
2011-08-16Isolate existing incomplete attachments tests rather than have them rely on ↵Justin Clark-Casey (justincc)1-5/+5
each other. Much easier to debug this way.
2011-08-16drop number of attachments in test from 3 to 2 to reduce text complexityJustin Clark-Casey (justincc)1-4/+1
2011-08-16remove setting up of second scene in attachments since it's not currently usedJustin Clark-Casey (justincc)1-24/+21
2011-08-16relocate AttachmentTests.cs to AttachmentsModuleTests.csJustin Clark-Casey (justincc)1-2/+2
2011-08-16minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2-5/+6
2011-08-16minor: change some comment text in flotsam asset cacheJustin Clark-Casey (justincc)1-4/+3
2011-08-16On Flotsam asset cache, go back to moving the file from the temporary ↵Justin Clark-Casey (justincc)1-26/+47
location rather than copying. Copying doesn't prevent IOExceptions on Windows due to file locking. (e.g. Mantis 5642, 5630). So instead go back to moving the file, swallowing IOExceptions that occur just for the move due to competing caching threads or even different opensimulator instances.
2011-08-15Add "shutdown" message to RegionReadyBlueWall1-0/+5
Add "shutdown" message when removing region. From a patch submitted by Michelle Argus. Thanks Michelle
2011-08-15Remove un-needed ATTACH command in migration script.BlueWall1-3/+1
This was causing issues when using specified paths to database files by using a hard-coded name.
2011-08-15Added console command "delete object outside" to delete all objects outside ↵Snoopy Pfeffer1-2/+37
region boundaries. This is especiyll useful in cases where physical objects outside regions boundaries cause much physics engine lag.
2011-08-14Added optional Login Service parameter "Currency" to be able to change the ↵Snoopy Pfeffer2-2/+21
currency name shown in the viewer.
2011-08-14WorldMap: Added map item for Land-for-Sale. Implemented backlist item ↵Snoopy Pfeffer1-19/+187
timeouts (default 10 minutes; see also new config file setting BlacklistTimeout) and removing backlisted neigboring regions that have been restarted from the blacklist.
2011-08-13llGetPrimitiveParams fix prim hollow/hole shape valueMicheil Merlin2-3/+178
2011-08-13Fix a problem in the Flotsam asset cache where assets were being put into ↵Justin Clark-Casey (justincc)1-2/+6
the memory cache even when it wasn't enabled. This hopefully addresses http://opensimulator.org/mantis/view.php?id=5634 This is the most probable cause of the memory problems that people have been seeing in the past month. This bug has been around since commit 5dc785b (4th July 2011). Doh! This is why regressions tests are such a good idea... :) Many thanks to Nebadon for using git bisect to track down this bug, which made it a 5 minute fix.
2011-08-13Fix a bug preventing region modules from creating trees at anything but the ↵Aaron Duffy1-3/+3
default scale.
2011-08-12If a map request to a server fails, always close the outbound connection.Justin Clark-Casey (justincc)1-1/+5
This probably doesn't help with the current memory leak.
2011-08-12minor: change login enable/disable messages in last commit so that they ↵Justin Clark-Casey (justincc)1-2/+2
occur after the setting has been made
2011-08-12minor: On "login disable/enable" always tell the user the final login ↵Justin Clark-Casey (justincc)2-7/+5
status, rather than remaining silent if it was already on/off
2011-08-12tidy up some OSSL NPC parameter namesJustin Clark-Casey (justincc)3-34/+34
2011-08-12rename position parameter in osNpcMoveToTarget to targetJustin Clark-Casey (justincc)3-5/+5
2011-08-12rename osNpcStopMoveTo() to osNpcStopMoveToTarget()Justin Clark-Casey (justincc)3-4/+4
2011-08-12When saving appearance, only save the baked textures, not the other face ↵Justin Clark-Casey (justincc)2-6/+44
textures (which are already stored permanently)
2011-08-12Fix kicking of NPCs via "kick user" console command.Justin Clark-Casey (justincc)1-0/+2
Needed to hook up the Close() function in the NPCAvatar IClientAPI implementation, which [unfortunately] is still needed
2011-08-12Allow the osNpcCreate() function to accept a notecard name or asset for ↵Justin Clark-Casey (justincc)2-6/+26
initial appearance
2011-08-11implement osNpcGetPos()Justin Clark-Casey (justincc)3-0/+27
2011-08-11implement osNpcGetRot() and osNpcSetRot()Justin Clark-Casey (justincc)4-5/+67
Rotation works if done around the z axis. Anything else leads to random results.
2011-08-11Implement osAgentSaveAppearance() to save the appearance of an avatar in the ↵Justin Clark-Casey (justincc)4-5/+78
region to a notecard This is separate from osOwnerSaveAppearance() so that owner saves can be allowed without allowing arbitrary avatar saves
2011-08-11add regression test for osNpcCreate when cloning an in-region avatarJustin Clark-Casey (justincc)5-41/+87
2011-08-11Split out to-be-common setup stuff from TestOsOwnerSaveAppearance()Justin Clark-Casey (justincc)1-15/+33
2011-08-11eliminate redundant ground sitting checks since these are already done in ↵Justin Clark-Casey (justincc)1-4/+1
enclosing control structures
2011-08-11minor: a little bit of log message correction/commenting outJustin Clark-Casey (justincc)2-2/+2
2011-08-11eliminate the rotation parameter from SP.HandleMoveToTargetUpdate(). This ↵Justin Clark-Casey (justincc)2-6/+10
can just use the currently set Rotation looks like I spoke to soon about eliminating jerkiness on "go here"/autopilot. It's still there.
2011-08-11instead of setting avatar rotation twice in SP.HandleAgentUpdate(), ↵Justin Clark-Casey (justincc)2-17/+15
eliminate the second setting in AddNewMovement()
2011-08-11get rid of intermediate local store of body rotation in ScenePresence, this ↵Justin Clark-Casey (justincc)1-5/+4
is not used.
2011-08-11only accept npc UUIDs to osNpc* functions, not names (except for create)Justin Clark-Casey (justincc)3-24/+20