Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Stop NPC's getting hypergrid like names in some circumstances. | Justin Clark-Casey (justincc) | 2011-08-19 | 5 | -29/+102 |
| | | | | | This meant punching in another AddUser() method in IUserManagement to do a direct name to UUID associated without the account check (since NPCs don't have accounts). May address http://opensimulator.org/mantis/view.php?id=5645 | ||||
* | Don't need to try both AssetService.Get and GetCached in GetMesh since Get ↵ | Justin Clark-Casey (justincc) | 2011-08-18 | 2 | -38/+15 |
| | | | | always calls GetCached and code paths were identical | ||||
* | refactor: fold CreateSceneViewer() back into ScenePresence constructor | Justin Clark-Casey (justincc) | 2011-08-18 | 1 | -6/+1 |
| | |||||
* | minor: remove some mono compiler warnings | Justin Clark-Casey (justincc) | 2011-08-18 | 2 | -2/+2 |
| | |||||
* | refactor: Fold 3 ScenePresence() constructors into one since only one is called. | Justin Clark-Casey (justincc) | 2011-08-18 | 1 | -9/+2 |
| | |||||
* | Don't try to save changed attachment states when an NPC with attachments is ↵ | Justin Clark-Casey (justincc) | 2011-08-18 | 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 | ||||
* | comment out noisy attachments logging | Justin Clark-Casey (justincc) | 2011-08-17 | 1 | -5/+5 |
| | |||||
* | minor: remove mono compiler warning | Justin Clark-Casey (justincc) | 2011-08-17 | 1 | -1/+1 |
| | |||||
* | In the asset service, check that an asset exists before attempting to store it. | Justin Clark-Casey (justincc) | 2011-08-17 | 2 | -6/+13 |
| | |||||
* | For now, supress 'OH NOES' warnings given by ↵ | Justin Clark-Casey (justincc) | 2011-08-17 | 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 | ||||
* | Fix issue where loading a new appearance onto an NPC would not remove the ↵ | Justin Clark-Casey (justincc) | 2011-08-17 | 3 | -3/+14 |
| | | | | | | previous attachments from the scene. Addresses http://opensimulator.org/mantis/view.php?id=5636 | ||||
* | extend test to check that there is one attachment and that it has the right name | Justin Clark-Casey (justincc) | 2011-08-17 | 1 | -1/+6 |
| | |||||
* | Add new regression TestRezAttachmentsOnAvatarEntrance() to do simple ↵ | Justin Clark-Casey (justincc) | 2011-08-17 | 6 | -20/+69 |
| | | | | attachments check | ||||
* | get rid of logged warnings about lack of some modules - afaik these never ↵ | Justin Clark-Casey (justincc) | 2011-08-16 | 1 | -10/+0 |
| | | | | occur in real life and just clutter up tests | ||||
* | Add new FireAndForgetMethod.None. | Justin Clark-Casey (justincc) | 2011-08-16 | 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. | ||||
* | Move some previously common code back into separate tests. Remove unused ↵ | Justin Clark-Casey (justincc) | 2011-08-16 | 1 | -10/+9 |
| | | | | region handle from test. | ||||
* | Isolate existing incomplete attachments tests rather than have them rely on ↵ | Justin Clark-Casey (justincc) | 2011-08-16 | 1 | -5/+5 |
| | | | | | | each other. Much easier to debug this way. | ||||
* | drop number of attachments in test from 3 to 2 to reduce text complexity | Justin Clark-Casey (justincc) | 2011-08-16 | 1 | -4/+1 |
| | |||||
* | remove setting up of second scene in attachments since it's not currently used | Justin Clark-Casey (justincc) | 2011-08-16 | 1 | -24/+21 |
| | |||||
* | relocate AttachmentTests.cs to AttachmentsModuleTests.cs | Justin Clark-Casey (justincc) | 2011-08-16 | 1 | -2/+2 |
| | |||||
* | minor: remove some mono compiler warnings | Justin Clark-Casey (justincc) | 2011-08-16 | 2 | -5/+6 |
| | |||||
* | minor: change some comment text in flotsam asset cache | Justin Clark-Casey (justincc) | 2011-08-16 | 1 | -4/+3 |
| | |||||
* | On Flotsam asset cache, go back to moving the file from the temporary ↵ | Justin Clark-Casey (justincc) | 2011-08-16 | 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. | ||||
* | Add "shutdown" message to RegionReady | BlueWall | 2011-08-15 | 1 | -0/+5 |
| | | | | | | Add "shutdown" message when removing region. From a patch submitted by Michelle Argus. Thanks Michelle | ||||
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | BlueWall | 2011-08-15 | 1 | -2/+37 |
|\ | |||||
| * | Added console command "delete object outside" to delete all objects outside ↵ | Snoopy Pfeffer | 2011-08-15 | 1 | -2/+37 |
| | | | | | | | | region boundaries. This is especiyll useful in cases where physical objects outside regions boundaries cause much physics engine lag. | ||||
* | | Remove un-needed ATTACH command in migration script. | BlueWall | 2011-08-15 | 1 | -3/+1 |
|/ | | | | | | This was causing issues when using specified paths to database files by using a hard-coded name. | ||||
* | Added optional Login Service parameter "Currency" to be able to change the ↵ | Snoopy Pfeffer | 2011-08-14 | 2 | -2/+21 |
| | | | | currency name shown in the viewer. | ||||
* | WorldMap: Added map item for Land-for-Sale. Implemented backlist item ↵ | Snoopy Pfeffer | 2011-08-14 | 1 | -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. | ||||
* | llGetPrimitiveParams fix prim hollow/hole shape value | Micheil Merlin | 2011-08-13 | 2 | -3/+178 |
| | |||||
* | Fix a problem in the Flotsam asset cache where assets were being put into ↵ | Justin Clark-Casey (justincc) | 2011-08-13 | 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. | ||||
* | Fix a bug preventing region modules from creating trees at anything but the ↵ | Aaron Duffy | 2011-08-13 | 1 | -3/+3 |
| | | | | default scale. | ||||
* | If a map request to a server fails, always close the outbound connection. | Justin Clark-Casey (justincc) | 2011-08-12 | 1 | -1/+5 |
| | | | | This probably doesn't help with the current memory leak. | ||||
* | minor: change login enable/disable messages in last commit so that they ↵ | Justin Clark-Casey (justincc) | 2011-08-12 | 1 | -2/+2 |
| | | | | occur after the setting has been made | ||||
* | minor: On "login disable/enable" always tell the user the final login ↵ | Justin Clark-Casey (justincc) | 2011-08-12 | 2 | -7/+5 |
| | | | | status, rather than remaining silent if it was already on/off | ||||
* | tidy up some OSSL NPC parameter names | Justin Clark-Casey (justincc) | 2011-08-12 | 3 | -34/+34 |
| | |||||
* | rename position parameter in osNpcMoveToTarget to target | Justin Clark-Casey (justincc) | 2011-08-12 | 3 | -5/+5 |
| | |||||
* | rename osNpcStopMoveTo() to osNpcStopMoveToTarget() | Justin Clark-Casey (justincc) | 2011-08-12 | 3 | -4/+4 |
| | |||||
* | When saving appearance, only save the baked textures, not the other face ↵ | Justin Clark-Casey (justincc) | 2011-08-12 | 2 | -6/+44 |
| | | | | textures (which are already stored permanently) | ||||
* | Fix kicking of NPCs via "kick user" console command. | Justin Clark-Casey (justincc) | 2011-08-12 | 1 | -0/+2 |
| | | | | Needed to hook up the Close() function in the NPCAvatar IClientAPI implementation, which [unfortunately] is still needed | ||||
* | Allow the osNpcCreate() function to accept a notecard name or asset for ↵ | Justin Clark-Casey (justincc) | 2011-08-12 | 2 | -6/+26 |
| | | | | initial appearance | ||||
* | implement osNpcGetPos() | Justin Clark-Casey (justincc) | 2011-08-11 | 3 | -0/+27 |
| | |||||
* | implement osNpcGetRot() and osNpcSetRot() | Justin Clark-Casey (justincc) | 2011-08-11 | 4 | -5/+67 |
| | | | | Rotation works if done around the z axis. Anything else leads to random results. | ||||
* | Implement osAgentSaveAppearance() to save the appearance of an avatar in the ↵ | Justin Clark-Casey (justincc) | 2011-08-11 | 4 | -5/+78 |
| | | | | | | region to a notecard This is separate from osOwnerSaveAppearance() so that owner saves can be allowed without allowing arbitrary avatar saves | ||||
* | add regression test for osNpcCreate when cloning an in-region avatar | Justin Clark-Casey (justincc) | 2011-08-11 | 5 | -41/+87 |
| | |||||
* | Split out to-be-common setup stuff from TestOsOwnerSaveAppearance() | Justin Clark-Casey (justincc) | 2011-08-11 | 1 | -15/+33 |
| | |||||
* | eliminate redundant ground sitting checks since these are already done in ↵ | Justin Clark-Casey (justincc) | 2011-08-11 | 1 | -4/+1 |
| | | | | enclosing control structures | ||||
* | minor: a little bit of log message correction/commenting out | Justin Clark-Casey (justincc) | 2011-08-11 | 2 | -2/+2 |
| | |||||
* | eliminate the rotation parameter from SP.HandleMoveToTargetUpdate(). This ↵ | Justin Clark-Casey (justincc) | 2011-08-11 | 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. | ||||
* | instead of setting avatar rotation twice in SP.HandleAgentUpdate(), ↵ | Justin Clark-Casey (justincc) | 2011-08-11 | 2 | -17/+15 |
| | | | | eliminate the second setting in AddNewMovement() |