aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Guard against scenes without an agent prefs service and a copy and paste fixCinder2015-06-131-1/+1
| | | | Signed-off-by: Diva Canto <diva@metaverseink.com>
* Refactor AgentPreferences so that database operations happen centrally. the ↵Cinder2015-06-132-0/+269
| | | | | | opensim way. Signed-off-by: Diva Canto <diva@metaverseink.com>
* Address Mantis 7592 (http://opensimulator.org/mantis/view.php?id=7592) byRobert Adams2015-06-061-25/+49
| | | | | | | | disabling terrain patch sending by view distance for legacy sized regions. The problem seems to be that people expect adjacent legacy sized regions to just display like they always have. Limiting displayed terrain is complicated by the camera position not being updated in child regions.
* More on mantis #7567. Two things:Diva Canto2015-06-051-0/+8
| | | | | - Increase the inventory cache timeout to 20 secs, so that the items will still be there when they are needed by the sim for rezzing - Before rezzing attachs, make a call to GetMultipleItems so to fetch them all at the same time
* Attachments Module. Fix detach event not being fired until the next time the ↵AliciaRaven2015-05-261-0/+5
| | | | | | | | object is attached. Not an ideal fix but this allows scripts such as AOs to remove animations when detached etc. The pause added does not affect other avatars or the scene in general and only pauses the avatar performing the detach for an extra 2 milliseconds. Signed-off-by: Diva Canto <diva@metaverseink.com>
* Adding back command to clear region's user cacheBlueWall2015-05-131-7/+22
|
* Knocked off a few compiler warnings regarding unused variables.Diva Canto2015-05-107-7/+0
|
* Constrain 'terrain modify' to selected RegionDev Random2015-05-091-8/+17
| | | | Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
* Another major overhaul of inventory downloading, this time pertaining to ↵Diva Canto2015-05-084-0/+46
| | | | inventory links. Added yet another function to IInventoryService to get multiple items at once, so that fetching collections of linked items is done once per folder instead of once per item.
* Major change in the way inventory is downloaded: added a method throughout ↵Diva Canto2015-05-075-2/+51
| | | | IIventoryService that fetches sets of folders at once. Also added folder id in the InventoryCollection data structure, so that we don't need to go to inventory server again just for that. This reduces the chatter between sims and inventory server by... a lot. On my tests, this reduces initial inventory download down to 30% of what it currently is.
* Minor whitespace removalMichael Cerquoni2015-05-071-1/+0
|
* Add 'terrain modify noise' and code cleanupDev Random2015-05-075-291/+113
| | | | Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
* 'terrain modify' command for area-of-effect operationsDev Random2015-05-0610-143/+1266
| | | | Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
* Refactored some code that is used in two different dlls related to SOP ↵Diva Canto2015-05-052-208/+3
| | | | rewriting. Also added some unit tests that relate to mantis #7514
* Only send parcel layer data around the point of interest. Can be disabledRobert Adams2015-05-031-5/+79
| | | | | by setting [LandManagement]LimitParcelLayerUpdateDistance=false New parameters added to OpenSimDefaults for the distance and enablement.
* Mantis #7514Diva Canto2015-05-021-2/+2
| | | | I think this is it -- a bug introduced back in October, where the prefix and name space were being added twice on HG asset posts bu simulators.
* Updated all occurrences of AssemblyVersion("0.8.1.*") to ↵Diva Canto2015-04-291-1/+1
| | | | AssemblyVersion("0.8.2.*")
* Change UserProfiles so that the parcel name is used for a ProfilePick and ↵AliciaRaven2015-04-121-17/+9
| | | | | | not the parcel owners name. This change also fixes a bug where if the avatar enters and does not move, creating or editing a ProfilePick would set the parcelId as an empty UUID. This is because ScenePresence.currentParcelUUID is not set until the avatar moves. Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
* Fix script state not being preserved in objects sent via Hypergrid.Justin Clark-Casey (justincc)2015-03-132-9/+79
| | | | | | | This was because attributes were not being included in the transformation, hence losing the script state identity. Symptoms are messages like "[SCENE OBJECT GROUP]: SavedScriptState element had no UUID in object test box" Regression since the conference code merge. Regression test extended for this case. Relates to http://opensimulator.org/mantis/view.php?id=7439
* minor: Remove windows build warning about CompressionLevel package ambiguity.Justin Clark-Casey (justincc)2015-03-112-0/+2
| | | | | Relates to http://opensimulator.org/mantis/view.php?id=7442 Thanks Fly-Man-
* Remove references to MAX_ASSET_DESC from the dynamic texture module, ↵BlueWall2015-03-061-2/+2
| | | | hardcode to 128 as in other inventory modules.
* adjusted new UserManagementModule to accept the HG UUI test harnessFreaky Tech2015-03-051-1/+5
| | | | Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* solving HG IM, HGFriends issues based on falsified GridUser dataFreaky Tech2015-03-053-272/+324
| | | | | | | | | | | | | | it does not consider GridUser as a viable source for residents' data. it does not consider Friends, Inventory Creators to be trusted at all. There are lots of broken entries in existence. There are lots of broken creator data fields in assets. The following issues arise from the broken data in the old User Management Module: failing HG IM failing HGFriends Requests Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* Add outbound URL filter to llHttpRequest() and osSetDynamicTextureURL*() ↵Justin Clark-Casey (justincc)2015-03-043-27/+154
| | | | | | | | script functions. This is to address an issue where HTTP script functions could make calls to localhost and other endpoints inside the simulator's LAN. By default, calls to all private addresses are now blocked as per http://en.wikipedia.org/wiki/Reserved_IP_addresses If you require exceptions to this, configure [Network] OutboundDisallowForUserScriptsExcept in OpenSim.ini
* Use using constructs on disposable io objects in LLRaw to ensure they are ↵Justin Clark-Casey (justincc)2015-02-281-113/+111
| | | | always closed even if an exception is thrown.
* Add OpenSim.Framework using statement necessary to get previous fad4d4dc to ↵Justin Clark-Casey (justincc)2015-02-281-0/+1
| | | | compile.
* Permit loading of LLRAW files bigger than 256x256 by calculating size based ↵Magnuz Binder2015-02-281-1/+9
| | | | on file size rather than assuming 256x256, same as for RAW32.
* minor: In HGAssetMapper, don't complain on seeing an XmlDeclaration as we ↵Justin Clark-Casey (justincc)2015-02-251-0/+5
| | | | | | know that we not using those in transformation. Relates to http://opensimulator.org/mantis/view.php?id=7447
* Reduce coupling in regression test task inventory creation methods to make ↵Justin Clark-Casey (justincc)2015-02-251-2/+2
| | | | them usable in tests with no scene present
* Fix cross-grid inventory delivery notifications, fixes ↵BlueWall2015-02-211-0/+1
| | | | http://opensimulator.org/mantis/view.php?id=7113
* In HGAssetMapper.RewriteSOP(), don't explicitly end the document.Justin Clark-Casey (justincc)2015-02-211-2/+0
| | | | | | The document here has no <?xml declaration. Though ideally it may be present, in practice it has not been added as the data here is embedded within an asset On Mono 3.2.8 and probably other versions, calling WriteEndDocument() without a declaration does nothing. On Windows .NET, the same operation throws a "Document does not have a root element" exception which may be contributing to Mantis 7397 and possibly 7439
* If HGAssetMapper.PostAsset fails then be more explicit about the uuid, type, ↵Justin Clark-Casey (justincc)2015-02-191-2/+27
| | | | size and base asset uuid of the failure for debugging purposes.
* Add the type of the unrecognized node to the HG asset mapping error message ↵Justin Clark-Casey (justincc)2015-02-191-1/+3
| | | | in TransformXml()
* Comment out unnecessary "Region Found!" alert message when searching mapdahlia2015-02-181-2/+3
|
* If the owner of an object is taking a copy from the scene (e.g. via the ↵Justin Clark-Casey (justincc)2015-02-032-15/+16
| | | | | | | | | "take copy" option on a viewer) then only require owner copy perms, not copy and transfer. This matches Linden Lab behaviour and what was already possible via shift-copy. Transfer would not apply here as the owner and copier are the same. This is the only functional change, all other current take copy logic remains the same. Adds regression tests around relevant take copy cases.
* Fix regression where the stored state of every second script in an object ↵Justin Clark-Casey (justincc)2015-01-231-1/+4
| | | | | | | rezzed from inventory (e.g. attachments) was no longer loaded. Likely a regression since f132f642 (2014-08-28) Relates to http://opensimulator.org/mantis/view.php?id=7278
* minor: In AttachmentsModule.UpdateKnownItem use the existing ↵Justin Clark-Casey (justincc)2015-01-171-3/+2
| | | | IInventoryAccessModule reference that other methods are already using rather than fetching its own copy.
* minor: Suppress the log messages when user profiles data is requested for an ↵Justin Clark-Casey (justincc)2015-01-161-3/+10
| | | | | | | | NPC or an HG user with no set server URI to avoid log spam. Messages concerning failure to contact a given user profiles service are preserved by logging within called code with the agent ID. If the "No Presence - foreign friend" log message is important then please revert. Relates to http://opensimulator.org/mantis/view.php?id=7414
* Fix a recent regression with HG asset posting to other grids where the ↵Justin Clark-Casey (justincc)2015-01-151-0/+1
| | | | | | assets were no longer being posted. Addresses regression from 08606ae (Thu Jan 8 2015)
* Stop simulators attempting to contact registered but offline regions ↵Justin Clark-Casey (justincc)2015-01-141-14/+23
| | | | | | | | (RegionFlags.Persistent but not RegioNFlags.RegionOnline) on startup and when an avatar completes a teleport. This eliminates spurious network calls and failure reporting. This is done by adding RegionFlags to the GridRegion returned data in a backward compatible way as an alternative to multiple IGridService.GetRegionFlags() calls Using a simulator or a grid service older than this commit will just see previous behaviour.
* Make the performance controlling job processing threads introduced in ↵Justin Clark-Casey (justincc)2015-01-122-356/+29
| | | | conference code use a generic JobEngine class rather than 4 slightly different copy/pasted versions.
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDiva Canto2015-01-095-33/+30
|\
| * Make the IteratingUuidGatherer the only UuidGatherer.Justin Clark-Casey (justincc)2015-01-085-33/+30
| | | | | | | | | | This UUID gatherer provides a superset of the previous gatherer's functionality as it also allows the caller to control gathering iterations for load purposes.
* | Added GetDisplayNames capability. For now, we don't actually use display ↵Diva Canto2015-01-092-0/+2
|/ | | | names, and this cap returns the regular name. But this moves the server side into the newer, preferred, protocol used by the viewer for fetching the names of agents in the scene given their UUIDs. (the old protocol is via UDP). This works fine in my limited tests, but could use further testing by others.
* Renamed VERSION_NUMBER to VersionNumberDiva Canto2014-12-301-2/+2
|
* This cleans up versioning. Specifically:Diva Canto2014-12-301-2/+2
| | | | | | | - It establishes 4 digits for opensim versions - It uses the same number between opensim releases and mono addins versions It also eliminates the last addin.xml files that were still there, for consistency.
* WARNING: BREAKING CHANGES FOR REGION MODULE DEVELOPMENT.Diva Canto2014-12-301-1/+1
| | | | | | | This cleans up Opensim's use of mono addins. In particular, the extension points /OpenSim/RegionModules and /OpenSim/WindModule moved from OpenSim.exe to OpenSim.Region.Framework.dll. From here on, developers of region modules should declare their dlls to be dependent on OpenSim.Region.Framework, starting with version 0.8.1 Additional changes: - Addins version uniformly updated to 0.8.1. These numbers should be compatible with the release numbers or else it becomes very confusing. - Mono addins directives moved from files addins.xml to embedded directives in the class and assembly declarations, to make it all consistent
* Updated OpenSim-as-addin version from 0.5 to 0.8.1. The addin version number ↵Diva Canto2014-12-292-2/+2
| | | | doesn't need to match the release version number, but I think it's a very good idea that they do.
* If a moap entry has EnableWhiteList but WhiteList == null, then properly ↵Justin Clark-Casey (justincc)2014-12-231-0/+3
| | | | | | | | block the request instead of throwing an exception. Normally, WhiteList is an empty list but from Mantis 7389 it looks like it might sometimes be possible for it to be null (haven't seen this up till now) It looks like failing with an exception instead of properly replying to the request (which comes in via a cap) might be enough, surprisingly, to freeze a viewer until timeout. Part of http://opensimulator.org/mantis/view.php?id=7389 but probably unrelated to the actual issue of that mantis.
* In XBakesModule.Get() use using() to always dispose of RestClient which ↵Justin Clark-Casey (justincc)2014-12-201-31/+35
| | | | disposes the stream rather than disposing the stream directly