aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Make default serverside_object_permissions = true since this better matches ↵Justin Clark-Casey (justincc)2011-07-011-1/+1
| | | | | | user expectations. It also matches the default setting in the OpenSim.ini.example file
* Hack around with the NPC module to get osNpcCreate() partially working again.Justin Clark-Casey (justincc)2011-06-292-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!
* minor: temporarily comment out the local status notify friends messages seen ↵Justin Clark-Casey (justincc)2011-06-271-1/+1
| | | | | | on login/logout, since it's a bit noisy on the console. Please uncomment if/when this is still needed.
* Tell hypergridders when their teleports fail because of the 4096 limit ↵Justin Clark-Casey (justincc)2011-06-243-12/+50
| | | | | | | | | | | rather than just saying "destination not found" Instead of performing the 4096 check when the region is linked (and subsequently removing the link), leave the link in place and perform the check in the entity transfer module This allows us to explicitly tell the hypergridder why the teleport failed (region out of range). It also allows people on regions that are within range (on a large source grid) to teleport. The Check4096 config parameter in the [GridService] section is replaced by a max_distance paramter in a new [EntityTransfer] section in OpenSimDefaults.ini Since the parameter is in OpenSimDefaults.ini no action needs to be taken unless you want to increase this limit. It could also be decreased. The check is being made in the base entity transfer module, since I believe the viewer problem occurs both on extremely large grids and while hypergridding.
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDiva Canto2011-06-162-2/+169
|\
| * Added an expiring cache for region information to theMic Bowman2011-06-152-2/+169
| | | | | | | | | | | | | | | | RemoteGridService connector. Timeout is currently set at five minutes. Negative results are not cached. The result is that operations like send an instant message do not have to go through the grid service every time.
* | Added a couple of guards and warnings to the MapImage/MapImageServiceModule.Diva Canto2011-06-161-2/+12
|/
* tweak messages. Make verbose inventory item save message give the item name ↵Justin Clark-Casey (justincc)2011-06-142-3/+5
| | | | as well as item id and asset id
* match water color for warp3d map tiler and adjust lightingMichael Cerquoni aka Nebadon Izumi2011-06-131-5/+7
|