aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-08-11comment out some of the currently less useful debug log messagesJustin Clark-Casey (justincc)2-2/+3
2011-08-10implement osNpcStopMoveTo() to cancel any current move targetJustin Clark-Casey (justincc)1-2/+2
2011-08-09When an NPC is created, stop telling neighbouring regions to expect a child ↵Justin Clark-Casey (justincc)1-1/+5
agent
2011-08-09Implement first draft functions for saving and loading NPC appearance from ↵Justin Clark-Casey (justincc)2-24/+65
storage. This works by serializing and deserializing NPC AvatarAppearance to a notecard in the prim inventory and making the required baked textures permanent. By using notecards, we avoid lots of awkward, technical and user-unfriendly issues concerning retaining asset references and creating a new asset type. Notecards also allow different appearances to be swapped and manipulated easily. This also allows stored NPC appearances to work transparently with OARs/IARs since the UUID scan will pick up and store the necessary references from the notecard text. This works in my basic test but is not at all ready for user use or bug reporting yet.
2011-08-06refactor: Change SceneHelpers.AddClient() to AddScenePresence().Justin Clark-Casey (justincc)1-1/+1
This seems to make more sense as we can get SP.ControllingClient
2011-08-06rename TestHelper => TestHelpers for consistencyJustin Clark-Casey (justincc)9-45/+45
2011-08-06rename test SceneSetupHelpers -> SceneHelpers for consistencyJustin Clark-Casey (justincc)10-56/+56
2011-08-05refactor: remove a sliver of unnecessary codeJustin Clark-Casey (justincc)1-4/+1
2011-08-05Instead of moving the file to its final place when FlotsamCache writes to ↵Justin Clark-Casey (justincc)1-2/+7
disk, copy it instead. This is to eliminate IOException where two threads compete to cache the same file.
2011-08-03Do a partial fix/implementation of OSSL osNpcMoveTo()Justin Clark-Casey (justincc)1-37/+32
Avatar moves and stops. However, will stop in mid stride. And if the move to position is in the air, avatar will continue to make vain and quite hilarious attempts to take off (but never doing so). Clearly more work is needed.
2011-08-02Fix Flotsam cache so it will use the disk cache if the memory cache is enabledRobert Adams1-2/+2
2011-08-02remove ancient late 2008 cruft that handles the situation where the ↵Justin Clark-Casey (justincc)1-10/+1
GetRegionsByName used to not be implemented/returned null. It's impossible that anybody is still running this since the infrastructure has changed massively since that time.
2011-08-02Change GridService.GetRegionByName() to only return info if there is an ↵Justin Clark-Casey (justincc)1-2/+5
exact region name match, unlike GetRegionsByName() This should fix the first part of http://opensimulator.org/mantis/view.php?id=5606, and maybe 5605. Thanks to Melanie for helping with this.
2011-08-01Get osNpcCreate appearance working with avatars that are currently in the scene.Justin Clark-Casey (justincc)1-0/+4
Had to stop using AvatarService for now since it doesn't store baked texture IDs (which is why this was failing). Also failing because cloning appearance was also cloning the AvatarApperance.Owner field, which we weren't then changing. Extended TestCreate() to check this.
2011-07-30Replace the generic exception logging in flotsam asset cache with more ↵Justin Clark-Casey (justincc)1-26/+24
specific stuff to return more information.
2011-07-30correct misleading "fcache status" text - deep scans are not performed when ↵Justin Clark-Casey (justincc)1-1/+1
this command is invoked.
2011-07-29When we start the appearance saving thread, make sure we set the culture to ↵Justin Clark-Casey (justincc)1-0/+5
En_US so that a different culture doesn't save values with commas as decimal points, etc. This will hopefully stop giants stalking the grid. See http://opensimulator.org/mantis/view.php?id=5614
2011-07-23Fix LLTextBox to work with the updated libOMVMelanie1-1/+3
2011-07-23Pass the first name and last name from the agent circuit data to the ↵Justin Clark-Casey (justincc)2-17/+24
authorization service rather than from the account. This is to accomodate situations where the authorization service is being used by the hypergrid, where visitors have no user account. See http://opensimulator.org/mantis/view.php?id=5517, this code is somewhat adapted/cleaned up from Michelle's patch I'm a little ambivalent about this since visitors could put anything in firstname/lastname so it's not much of an auth measure. It's up to the auth service to decide which data it actually uses. Possibly we should be passing through other info such as agent circuit ip
2011-07-23Fixed serverside_object_permission default value conflictionMakopoppo1-1/+1
2011-07-23For default everyone permissions on library items, make notecards and ↵Justin Clark-Casey (justincc)1-8/+4
scripts non-modifiable (but still copyable, etc). Users should not be given the impression that they can modify these items. This still does not solve the issue where library items cannot be dragged into prims or user inventory any time after they are initially seen. Curiously, manually copying and pasting still appears to work. On the surface, this seems to have something to do with library item caching on the client, since deleting the cache allows drag to work again once Not sure what the exact problem is.
2011-07-23Remove manually permissions settings on all current library items so that ↵Justin Clark-Casey (justincc)2-1/+11
they use the defaults instead. Some items had completely wrong permissions - this is easier than correcting them all. The ability to set permissions in xml is retained since there are use cases for this (e.g. to create no-mod library scripts)
2011-07-23Revert "Don't load current/next/everyone/base permissions from the library ↵Justin Clark-Casey (justincc)2-11/+1
item xml files - always use PermissionMask.All instead (which was the existing default)." There actually are uses for this. I will correct the perms instead since some entries appear to be wrong. This reverts commit 667b54f5a2a04fa5a2859397868d270eab3913f1.
2011-07-23Don't load current/next/everyone/base permissions from the library item xml ↵Justin Clark-Casey (justincc)2-1/+11
files - always use PermissionMask.All instead (which was the existing default). Library items always need the same permissions, so it doesn't make sense to load them from the xml files. This just opens the door to permissions mistakes.
2011-07-22Generate the initial maptile asynchronouslyOren Hurvitz1-4/+6
Signed-off-by: Melanie <melanie@t-data.com>
2011-07-21When handling SetAppearance packet, always save the appearance; not only if ↵Oren Hurvitz1-5/+5
the texture was changed
2011-07-21Fixed updating avatar appearanceOren Hurvitz1-10/+17
Signed-off-by: root <root@grid00001.t-data.com>
2011-07-18use standard sdk stack in terrain model rather than OpenSim.Framework.UndoStack.Justin Clark-Casey (justincc)1-1/+1
remove OpenSim.Framework.UndoStack
2011-07-16minor: remove mono compiler warningsJustin Clark-Casey (justincc)3-4/+7
2011-07-15If object is an attachment, make llGetVel() return the avatar's speed rather ↵Justin Clark-Casey (justincc)1-1/+0
than the object's own zero speed. As per http://opensimulator.org/mantis/view.php?id=5575
2011-07-15minor: method doc for baked texture uploadingJustin Clark-Casey (justincc)1-1/+2
2011-07-13refactor: Move all callers of the obsoleted ↵Justin Clark-Casey (justincc)1-3/+4
SychronousRestObjectPoster.BeginPostObject() to the identical SynchronousRestObjectRequester.MakeRequest()
2011-07-12Add a warning to URI config in GridCommon.ini.example not to add a slash to ↵Justin Clark-Casey (justincc)1-1/+0
the end. Tidy up GridCommon.ini.example
2011-07-09refactor: slightly simplify testJustin Clark-Casey (justincc)1-4/+1
2011-07-09Rename SceneSetupHelpers.AddRootAgent to AddClient() to better represent its ↵Justin Clark-Casey (justincc)1-1/+1
effects and return object
2011-07-09Add scratch AvatarFactoryModuleTests with one test to do a partial check on ↵Justin Clark-Casey (justincc)2-9/+87
AvatarFactoryModule.SetAppearance() Baked texture set not yet checked, nor persistence of data in avatar service This is a foundation for later npc related tests.
2011-07-08stop the local inventory services connector from logging an error when an ↵Justin Clark-Casey (justincc)1-3/+3
item id isn't found. making this query is legitimate and so the log line can cause false positivies. It is up to callers to log an error if appropriate.
2011-07-08fix bug where opening a library script would failJustin Clark-Casey (justincc)1-2/+2
2011-07-08refactor: rename bool returning GetAgentInventoryItem() to ↵Justin Clark-Casey (justincc)1-1/+1
CanGetAgentInventoryItem() to improve code readability
2011-07-07Ensure that the max transfer distance is initialized correctly.Mic Bowman1-1/+7
2011-07-04Add TestClearCache()Justin Clark-Casey (justincc)1-0/+17
2011-07-04add TestExpireAsset()Justin Clark-Casey (justincc)1-0/+20
2011-07-04refactor: Move test setup code into setup methodJustin Clark-Casey (justincc)1-13/+20
2011-07-04Make it possible to disable the file part of the flotsam asset cacheJustin Clark-Casey (justincc)2-39/+74
This matches the ability to disable the memory part This is controlled through the FileCacheEnabled parameter in FlotsamCache.ini Default is true, so existing installations are not affected. Improved fcache command feedback when various caches are disabled. Re-enabled test for flotsam cache with file caching disabled.
2011-07-04refactor: Split file cache manipulation code into separate methods, as has ↵Justin Clark-Casey (justincc)1-102/+131
already been done for the memory cache
2011-07-04Add basic flotsam asset cache test for retrieved cached asset.Justin Clark-Casey (justincc)2-0/+84
Disabled temporarily since file system caching disrupts subsequent test runs
2011-07-02If a user has the rights to edit a parcel's properties, then also allow them ↵Justin Clark-Casey (justincc)1-4/+4
always to enter that parcel. This is patch http://opensimulator.org/mantis/view.php?id=5567 Thanks Snoopy!
2011-07-02Create a very basic initial test which just creates an 'npc' and tests that ↵Justin Clark-Casey (justincc)1-40/+0
the scene presence exists
2011-07-01Make default serverside_object_permissions = true since this better matches ↵Justin Clark-Casey (justincc)1-1/+1
user expectations. It also matches the default setting in the OpenSim.ini.example file
2011-06-29Hack around with the NPC module to get osNpcCreate() partially working again.Justin Clark-Casey (justincc)2-3/+4
This now creates an avatar but appearance is always cloudy. Move doesn't work. Really, creating an NPC should only involve a ScenePresence rather than doing anything with IClientAPI, since an NPC has no viewer to communicate with!