aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Fixes a permissions bug where a user with group powers to always rez was not ↵Diva Canto2014-06-011-1/+5
| | | | being given permission to rez on group land.
* This may fix mantis #7200, but I am unable to test because I don't have any ↵Diva Canto2014-06-011-0/+1
| | | | old viewers around anymore.
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDiva Canto2014-06-011-33/+262
|\
| * Modifications to debugging printouts. No functional changes.Robert Adams2014-05-311-5/+8
| |
| * varregion: More tweeking to only sending patches within avatar draw distance.Robert Adams2014-05-311-3/+3
| | | | | | | | Still has problems with child avatars.
| * varregion: send terrain patches from where the avatar outward if the parameterRobert Adams2014-05-311-33/+259
| | | | | | | | | | | | [Terrain]SendTerrainUpdatesByViewDistance=true. This tracks which patches have been sent to each client and outputs the patches as the avatar moves.
* | Fixed a few things pertaining to interfacing with the estate service. ↵Diva Canto2014-06-011-23/+28
|/ | | | | | Specifically, StoreEstateSettings was not being used anywhere; instead EstatSetting.Save was being called, but that method is a trigger to the DB-layer code directly, which, besides being wrong, was making it impossible to replace the service with a remote connector. Also added more packing/unpacking code.
* Fix bug where setting a parcel in a varregion for sale would make sale ↵Justin Clark-Casey (justincc)2014-05-301-10/+21
| | | | | | bitmap generation in WorldMapModule throw an exception on next startup. This commit replaces the hardcoded region sizes in WorldMapModule.GenerateOverlay() with numbers pulled from m_scene.RegionInfo
* Fixes a bug where map search results pertaining to varregions would only ↵Diva Canto2014-05-272-20/+28
| | | | send the SW-most corner of the varregions; the other areas, when clicked, would result a blue circle, meaning that the viewer didn't know about those areas. This is still not quite right, as all the areas appear to be in the same coordinates, but it's good enough for now.
* When saving an OAR in "Publish" mode, also discard Group informationOren Hurvitz2014-05-261-1/+2
|
* Allow map searches for regions that contain the characters "!+|"Oren Hurvitz2014-05-211-20/+24
| | | | These characters are used as placeholders for other characters: ": /". But we should search first for the exact string the user entered, and only if that fails then replace the characters and search again.
* minor: Clean up and make consistent some log file messages in ↵Justin Clark-Casey (justincc)2014-05-141-6/+11
| | | | EstateManagementModule relating to RAW file uploading.
* Console commands for Estate MgmtDev Random2014-05-061-0/+63
|
* new version of patch to add default-user switch new version :qw :wq updated ↵Matt Lehmann2014-05-061-0/+2
| | | | version of default user switch for load oar :q :q
* updated version of default user switch for load oar :q :qMatt Lehmann2014-05-062-6/+42
|
* minor: Correct mistake in terrain flip error message from previous commit ↵Justin Clark-Casey (justincc)2014-04-301-1/+1
| | | | 5d01a1f
* minor: Print output in response to terrain console commands on the console ↵Justin Clark-Casey (justincc)2014-04-301-8/+9
| | | | rather than in the log.
* Add "terrain show" console command which outputs terrain height for a given ↵Justin Clark-Casey (justincc)2014-04-301-0/+22
| | | | | | region co-ordinate. For debug purposes.
* BulletSim: non-functional changes to debugging statements and formatting.Robert Adams2014-04-281-2/+1
|
* Add regression test for terrain fill at two digit height and max ll height.Justin Clark-Casey (justincc)2014-04-252-1/+76
|
* Adjust permissions to work hand in hand with what the viewer believes they are.Melanie2014-04-251-7/+7
| | | | This fixes the issue of "Show in Search" seeming resetting at random.
* Show Group name when land is group-ownedDev Random2014-04-231-7/+28
|