aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules (follow)
Commit message (Collapse)AuthorAgeFilesLines
* drop number of attachments in test from 3 to 2 to reduce text complexityJustin Clark-Casey (justincc)2011-08-161-4/+1
|
* remove setting up of second scene in attachments since it's not currently usedJustin Clark-Casey (justincc)2011-08-161-24/+21
|
* relocate AttachmentTests.cs to AttachmentsModuleTests.csJustin Clark-Casey (justincc)2011-08-161-0/+172
|
* minor: change some comment text in flotsam asset cacheJustin Clark-Casey (justincc)2011-08-161-4/+3
|
* On Flotsam asset cache, go back to moving the file from the temporary ↵Justin Clark-Casey (justincc)2011-08-161-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.
* WorldMap: Added map item for Land-for-Sale. Implemented backlist item ↵Snoopy Pfeffer2011-08-141-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.
* Fix a problem in the Flotsam asset cache where assets were being put into ↵Justin Clark-Casey (justincc)2011-08-131-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 Duffy2011-08-131-3/+3
| | | | default scale.
* If a map request to a server fails, always close the outbound connection.Justin Clark-Casey (justincc)2011-08-121-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-121-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-121-4/+2
| | | | status, rather than remaining silent if it was already on/off
* 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.