aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules (follow)
Commit message (Collapse)AuthorAgeFilesLines
* When saving appearance, only save the baked textures, not the other face ↵Justin Clark-Casey (justincc)2011-08-121-5/+43
| | | | textures (which are already stored permanently)
* minor: a little bit of log message correction/commenting outJustin Clark-Casey (justincc)2011-08-111-1/+1
|
* comment out some of the currently less useful debug log messagesJustin Clark-Casey (justincc)2011-08-112-2/+3
|
* implement osNpcStopMoveTo() to cancel any current move targetJustin Clark-Casey (justincc)2011-08-101-2/+2
|
* When an NPC is created, stop telling neighbouring regions to expect a child ↵Justin Clark-Casey (justincc)2011-08-091-1/+5
| | | | agent
* Implement first draft functions for saving and loading NPC appearance from ↵Justin Clark-Casey (justincc)2011-08-092-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.
* refactor: Change SceneHelpers.AddClient() to AddScenePresence().Justin Clark-Casey (justincc)2011-08-061-1/+1
| | | | This seems to make more sense as we can get SP.ControllingClient
* rename TestHelper => TestHelpers for consistencyJustin Clark-Casey (justincc)2011-08-069-45/+45
|
* rename test SceneSetupHelpers -> SceneHelpers for consistencyJustin Clark-Casey (justincc)2011-08-0610-56/+56
|
* refactor: remove a sliver of unnecessary codeJustin Clark-Casey (justincc)2011-08-051-4/+1
|
* Instead of moving the file to its final place when FlotsamCache writes to ↵Justin Clark-Casey (justincc)2011-08-051-2/+7
| | | | | | disk, copy it instead. This is to eliminate IOException where two threads compete to cache the same file.
* Do a partial fix/implementation of OSSL osNpcMoveTo()Justin Clark-Casey (justincc)2011-08-031-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.
* Fix Flotsam cache so it will use the disk cache if the memory cache is enabledRobert Adams2011-08-021-2/+2
|
* remove ancient late 2008 cruft that handles the situation where the ↵Justin Clark-Casey (justincc)2011-08-021-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.
* Change GridService.GetRegionByName() to only return info if there is an ↵Justin Clark-Casey (justincc)2011-08-021-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.
* Get osNpcCreate appearance working with avatars that are currently in the scene.Justin Clark-Casey (justincc)2011-08-011-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.
* Replace the generic exception logging in flotsam asset cache with more ↵Justin Clark-Casey (justincc)2011-07-301-26/+24
| | | | specific stuff to return more information.
* correct misleading "fcache status" text - deep scans are not performed when ↵Justin Clark-Casey (justincc)2011-07-301-1/+1
| | | | this command is invoked.
* When we start the appearance saving thread, make sure we set the culture to ↵Justin Clark-Casey (justincc)2011-07-291-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
* Fix LLTextBox to work with the updated libOMVMelanie2011-07-231-1/+3
|
* Pass the first name and last name from the agent circuit data to the ↵Justin Clark-Casey (justincc)2011-07-232-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
* Fixed serverside_object_permission default value conflictionMakopoppo2011-07-231-1/+1
|
* For default everyone permissions on library items, make notecards and ↵Justin Clark-Casey (justincc)2011-07-231-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.
* Remove manually permissions settings on all current library items so that ↵Justin Clark-Casey (justincc)2011-07-232-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)
* Revert "Don't load current/next/everyone/base permissions from the library ↵Justin Clark-Casey (justincc)2011-07-232-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.
* Don't load current/next/everyone/base permissions from the library item xml ↵Justin Clark-Casey (justincc)2011-07-232-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.
* Generate the initial maptile asynchronouslyOren Hurvitz2011-07-221-4/+6
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* When handling SetAppearance packet, always save the appearance; not only if ↵Oren Hurvitz2011-07-211-5/+5
| | | | the texture was changed
* Fixed updating avatar appearanceOren Hurvitz2011-07-211-10/+17
| | | | Signed-off-by: root <root@grid00001.t-data.com>
* use standard sdk stack in terrain model rather than OpenSim.Framework.UndoStack.Justin Clark-Casey (justincc)2011-07-181-1/+1
| | | | remove OpenSim.Framework.UndoStack
* minor: remove mono compiler warningsJustin Clark-Casey (justincc)2011-07-163-4/+7
|
* If object is an attachment, make llGetVel() return the avatar's speed rather ↵Justin Clark-Casey (justincc)2011-07-151-1/+0
| | | | | | than the object's own zero speed. As per http://opensimulator.org/mantis/view.php?id=5575
* minor: method doc for baked texture uploadingJustin Clark-Casey (justincc)2011-07-151-1/+2
|
* refactor: Move all callers of the obsoleted ↵Justin Clark-Casey (justincc)2011-07-131-3/+4
| | | | SychronousRestObjectPoster.BeginPostObject() to the identical SynchronousRestObjectRequester.MakeRequest()
* Add a warning to URI config in GridCommon.ini.example not to add a slash to ↵Justin Clark-Casey (justincc)2011-07-121-1/+0
| | | | | | the end. Tidy up GridCommon.ini.example
* refactor: slightly simplify testJustin Clark-Casey (justincc)2011-07-091-4/+1
|
* Rename SceneSetupHelpers.AddRootAgent to AddClient() to better represent its ↵Justin Clark-Casey (justincc)2011-07-091-1/+1
| | | | effects and return object
* Add scratch AvatarFactoryModuleTests with one test to do a partial check on ↵Justin Clark-Casey (justincc)2011-07-092-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.
* stop the local inventory services connector from logging an error when an ↵Justin Clark-Casey (justincc)2011-07-081-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.
* fix bug where opening a library script would failJustin Clark-Casey (justincc)2011-07-081-2/+2
|
* refactor: rename bool returning GetAgentInventoryItem() to ↵Justin Clark-Casey (justincc)2011-07-081-1/+1
| | | | CanGetAgentInventoryItem() to improve code readability
* Ensure that the max transfer distance is initialized correctly.Mic Bowman2011-07-071-1/+7
|
* Add TestClearCache()Justin Clark-Casey (justincc)2011-07-041-0/+17
|
* add TestExpireAsset()Justin Clark-Casey (justincc)2011-07-041-0/+20
|
* refactor: Move test setup code into setup methodJustin Clark-Casey (justincc)2011-07-041-13/+20
|
* Make it possible to disable the file part of the flotsam asset cacheJustin Clark-Casey (justincc)2011-07-042-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.
* refactor: Split file cache manipulation code into separate methods, as has ↵Justin Clark-Casey (justincc)2011-07-041-102/+131
| | | | already been done for the memory cache
* Add basic flotsam asset cache test for retrieved cached asset.Justin Clark-Casey (justincc)2011-07-042-0/+84
| | | | Disabled temporarily since file system caching disrupts subsequent test runs
* If a user has the rights to edit a parcel's properties, then also allow them ↵Justin Clark-Casey (justincc)2011-07-021-4/+4
| | | | | | | always to enter that parcel. This is patch http://opensimulator.org/mantis/view.php?id=5567 Thanks Snoopy!
* Create a very basic initial test which just creates an 'npc' and tests that ↵Justin Clark-Casey (justincc)2011-07-021-40/+0
| | | | the scene presence exists