aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix typo reported on mantis 7735UbitUmarov2015-10-311-1/+1
|
* Deleted OpenSim.Framework.Communications. Moved its two remaining files to ↵Diva Canto2015-09-041-1/+0
| | | | OpenSim.Framework.
* More namespace and dll name changes. Still no functional changes.Diva Canto2015-08-303-3/+3
|
* Renamed the namespaces tooDiva Canto2015-08-303-3/+3
|
* Prevent two maptiles being generated at startup, one for v1 and another for ↵AliciaRaven2015-07-211-0/+6
| | | | | | v2-3 service. * v1 Service (WorldMapModule) is called directly by scene on startup. This patch moves the initial map registration of the v2-3 service (MapImageServiceModule) to that point so they can share the bitmap instead of doubling the work of Warp3D and exasperate its memory leak issues. Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
* Warp3DImageModule. Reduce workload by not calling to render the root prim ↵AliciaRaven2015-06-191-1/+0
| | | | | | twice. When loading prims to draw the map, the Warp3D system first calls to load the root prim, followed by all the prims in the SOG. The initial call to load the root prim is not required because it is also in the parts list. The result of this was that all root prims were being loaded twice. 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.
* 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>
* 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-051-1/+1
| | | | 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.
* minor: Remove windows build warning about CompressionLevel package ambiguity.Justin Clark-Casey (justincc)2015-03-111-0/+1
| | | | | Relates to http://opensimulator.org/mantis/view.php?id=7442 Thanks Fly-Man-
* solving HG IM, HGFriends issues based on falsified GridUser dataFreaky Tech2015-03-051-1/+16
| | | | | | | | | | | | | | 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>
* 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.
* 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-031-15/+12
| | | | | | | | | "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.
* Make the IteratingUuidGatherer the only UuidGatherer.Justin Clark-Casey (justincc)2015-01-081-5/+5
| | | | | 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.
* 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.
* refactor: Move methods to start a monitored thread, start work in its own ↵Justin Clark-Casey (justincc)2014-11-254-6/+6
| | | | | | | | thread and run work in the jobengine from Watchdog to a WorkManager class. This is to achieve a clean separation of concerns - the watchdog is an inappropriate place for work management. Also adds a WorkManager.RunInThreadPool() class which feeds through to Util.FireAndForget. Also switches around the name and obj arguments to the new RunInThread() and RunJob() methods so that the callback obj comes after the callback as seen in the SDK and elsewhere
* refactor: consistently put all test classes in the OpenSim.Tests.Common ↵Justin Clark-Casey (justincc)2014-11-254-4/+0
| | | | | | package rather than some in OpenSim.Tests.Common.Mock the separate mock package was not useful and was just another using line to always add
* Add 'terrain feature' commandDev Random2014-11-194-2/+353
|
* Actually persist a changed console set agent-limit via "region set".Justin Clark-Casey (justincc)2014-10-311-2/+7
| | | | | Unfortunately, it's not currently easy to do this with "max-agent-limit" - this must be separately set as MaxAgents in region config if it's to persist over restarts.
* Add "region set" console command.Justin Clark-Casey (justincc)2014-10-311-1/+73
| | | | | | This current allows one to set two region parameters agent-limit <int> will set the current root agent limit for the region, as also settable through the viewer, though some impose a max setting (e.g. 100). max-agent-limit <int> will set the maximum allowed root agent limit. This can also be set via the MaxAgent parameter in region config.
* Add "region get" command as a synononym for "show region" console command.Justin Clark-Casey (justincc)2014-10-311-0/+9
| | | | This matches existing similar commands and a soon to be added "region set" command.
* When a prim is bought through BuySellModule, the click action is not changed ↵AliciaRaven2014-09-271-0/+1
| | | | | | back from buy object. This means that after the object is bought, it still appears as if for sale which can be confusing. This sets it back to touch, the default after sale. Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* Make "generate map" console command also trigger upload to maptiles as well ↵Justin Clark-Casey (justincc)2014-09-261-10/+34
| | | | as asset generation without performing tile generation twice.
* Modifications to previous IAR commits to bring them more inline with ↵AliciaRaven2014-09-231-9/+9
| | | | existing OpenSim code conventions. Also include new IAR save switch in console help print out.
* For monitoring purposes, start non-timeout tasks (which do not currently use ↵Justin Clark-Casey (justincc)2014-09-053-5/+8
| | | | | | | a threadpool) via Watchdog.RunInThread() rather than Util.RunThreadNoTimeout() The functionality is the same but this allow us to monitor such tasks via "show threads" and abort them for test purposes, etc. Also extends thread names to provide more info (e.g. SendInitialDataToClient says what client the task is for).
* Ignore whitespace when reading serialized XML objects.Justin Clark-Casey (justincc)2014-08-291-17/+1
| | | | | | This was previously effectively being done by XmlDocument in the multiple passes through the XML. This change tells XmlReader to ignore whitespace. This also means changing arguments to use XmlReader instead of XmlTextReader (a descendent of XmlReader) directly. XmlReader.Create() has been the recommend way to create XML readers since .NET 2.0 as per MS SDK and is the only way to specific ignore whitespace settings.
* Fix recent regression test TestDeserializeXmlObjectWithOtherParts() which ↵Justin Clark-Casey (justincc)2014-08-291-1/+1
| | | | was not meant to indent the input xml
* Add regression test for deserializing xml objects with more than one ↵Justin Clark-Casey (justincc)2014-08-291-127/+406
| | | | non-root part.
* Remove race conditions from where SP.AbsolutePosition could change between ↵Justin Clark-Casey (justincc)2014-08-261-7/+4
| | | | the various property checks.
* Fix short help string for show region command.BlueWall2014-08-061-1/+1
|
* In TerrainModule, lock m_perClientPatchUpdates when removing entries.Justin Clark-Casey (justincc)2014-07-291-3/+2
| | | | | This may have been the trigger CheckSendingPatchesToClients() dictionary out of sync exceptions in today's load test. Don't need to check ContainsKey() since Remove() returns false on a request to remove a key that it doesn't have
* Added locking in AccessModule to prevent possible errors when shutting down ↵Oren Hurvitz2014-07-211-3/+7
| | | | a simulator that has >1 region
* Eliminated common but un-useful log messagesOren Hurvitz2014-07-211-2/+4
|
* Minor: changed "existant" to "existent"Oren Hurvitz2014-07-211-2/+2
|
* Close streams immediately when we finish using themOren Hurvitz2014-07-216-45/+37
|
* Set "[Terrain]SendTerrainUpdatesByViewDistance=true" by default.Robert Adams2014-07-201-1/+1
| | | | | | | | This, by default, enables terrain patches being sent to each avatar from the avatar away (rather than the old outside-in pattern), only sending terrain patches within the avatars view distance (making view loading quicker), and sending multiple terrain patches per protocol packet (making terrain loading and editing quicker).
* minor: Add meters unit to water height console displayJustin Clark-Casey (justincc)2014-07-181-1/+1
|
* Add "show region" command which will show parameters for current region.Justin Clark-Casey (justincc)2014-07-181-1/+73
| | | | This shows static data (e.g. region agent limit) whereas "show scene" shows live data (sim fps, current prims, etc.)
* fix all instances of "non-existant" to "non-existent" (spelling mistakes) ↵Michael Cerquoni2014-07-171-1/+1
| | | | thanks Ai Austin for pointing this out.
* Bug fix in map teleports in varregions. The cherry was missing from the ↵Diva Canto2014-06-211-26/+0
| | | | ice-cream Sunday: the packet itself was hardcoding the size of the region...
* Behavior change: only local users can set home in any parcel of a grid. ↵Diva Canto2014-06-151-9/+11
| | | | Setting it for foreign users does not make sense, since cntrl+shift+H always teleports them back to their original grid.
* Send multiple terrain patches per terrain update packet if terrainRobert Adams2014-06-011-1/+13
| | | | | draw distance optimization is enabled. Makes terrain editting a lot snappier.