aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-03-25Don't fail to enable permissions modules correctly if there is any leading ↵Justin Clark-Casey (justincc)2-3/+5
or trailing whitespace between comma separate module combinations.
2014-03-22Rename SOG.InSceneBackup to CanBeBackedUp to reflect its actual functionality.Justin Clark-Casey (justincc)1-2/+6
It does not indicate that a SOG has been set to be backed up or not. It indicates that a SOG can be backed up in principle. In practice, this was added by lbsa71 in 2007 and is set to always true, albeit as a virtual property.
2014-03-22If an object has it's temporary flag unset after being set, put it back in ↵Justin Clark-Casey (justincc)2-12/+44
the persistence list. Effectively uses the patch in http://opensimulator.org/mantis/view.php?id=7060 But also adds a regression test and exposes the necessary property to allow this to work.
2014-03-21rename prefix of ↵Justin Clark-Casey (justincc)1-34/+36
scene-inventory.<scene-name>.ProcessedFetchInventoryRequests and QueuedFetchInventoryRequests to inventory.httpfetch.* Actual inventory processing is done with a single set of static structures rather than per scene.
2014-03-21Mantis 6922: No particles are generated if their size exceeds the maximum ↵Talun1-4/+10
allowed size. This patch ensures that no particle scal value can exceed 4.0
2014-03-21Add monitored thread last update times as stats in "show stats all"Justin Clark-Casey (justincc)1-0/+26
These have the format server.thread.<thread-name>
2014-03-20Adding a way to disable/enable the in built Dwell ModuleH-H-H1-3/+17
2014-03-20If we find an existing suitcase folder in ↵Justin Clark-Casey (justincc)1-0/+4
HGSuitcaseInventoryService.GetRootFolder(), then return that as a response rather than null. Fixes a regression from commit 346644016c529db6ed63aa866c7cf91cec1b635f (Fri Nov 15 23:10:59 2013) This is actually the reverse of zadark's patch in http://opensimulator.org/mantis/view.php?id=6969 But I'm assuming that was a mistake since clearly we should be returning this data - this was original behaviour
2014-03-20Mantis 6974 PERMISSION_TRACK_CAMERA should be implicit on attach.Talun1-0/+1
http://wiki.secondlife.com/wiki/Run_time_permissions This change makes PERMISSION_TRACK_CAMERA implicit on attach
2014-03-19Allow MaptileStaticFile path to be set to anywhere and not force it to ↵Michael Cerquoni1-3/+3
bin/maptiles
2014-03-18Allow Region specific static maptiles to be loaded from file.Jak Daniels3-19/+58
2014-03-19Revert "Simplify DoubleQueue to eliminate redundant sempahore work."Justin Clark-Casey (justincc)1-7/+27
This reverts commit 52b7b40034ddbb21d06b11ddc4eb6d766b0f616d. Got the semantics wrong - the sempahore is required so that the blocking thread waits for a signal.
2014-03-19Simplify DoubleQueue to eliminate redundant sempahore work.Justin Clark-Casey (justincc)1-27/+7
Exclusion is already guaranteed by the lock on m_syncRoot. Semaphore could not allow more than one thread in these sections anyway since the underlying SDK structures are not thread-safe.
2014-03-19minor: Put ProcessedFetchInventoryRequests and QueuedFetchInventoryRequests ↵Justin Clark-Casey (justincc)1-2/+2
in stats category "scene-inventory" instead of "scene" To distinguish from general scene stats
2014-03-19minor: Make "stats show" an alias for "show stats" command.Justin Clark-Casey (justincc)1-2/+10
2014-03-19Rename "debug stats record" command to "stats record" for consistency. Move ↵Justin Clark-Casey (justincc)1-3/+3
from debug to general command category
2014-03-19Allow a snapshot of stats to be dumped to a file with a "stats save" commandJustin Clark-Casey (justincc)1-3/+46
2014-03-18Add httpserver.<port>.QueuedPollResponses and ↵Justin Clark-Casey (justincc)1-2/+24
httpserver.<port>.ProcessedPollResponses statistics
2014-03-18minor: Correction to description of QueuedPollResponses since this covers ↵Justin Clark-Casey (justincc)1-1/+1
long poll and other 'poll' types
2014-03-18Add httpserver.<port-number>,QueuedPollResponses statJustin Clark-Casey (justincc)1-0/+13
This shows the number pf poll responses queued for processing.
2014-03-18Extend locking in BlockingQueue to cover operations that are not guaranteed ↵Justin Clark-Casey (justincc)1-10/+8
to be thread-safe
2014-03-18Add scene.<scene-name>.ProcessedFetchInventoryRequestsJustin Clark-Casey (justincc)1-15/+41
This shows the number of requests that have been processed. These have not necessarily been sent back to the request since this is done separately by the PollServiceRequestManager
2014-03-18Allow "show stats" console command to take a full stat name and display only ↵Justin Clark-Casey (justincc)1-1/+23
that stat. For example, scene.test.RootAgents will show only the RootAgents stat in the scene named "test"
2014-03-18Add scene.<scene-name>.QueuedFetchInventoryRequests statJustin Clark-Casey (justincc)1-0/+19
This is to aid in detecting whether there are fetch inventory requests remaining to be processed.
2014-03-18Lock m_syncRoot on DoubleQueue.Count. This is not documented as a ↵Justin Clark-Casey (justincc)1-1/+5
thread-safe operation
2014-03-18Add delete maptile ability to MapImageService - yet untestedMelanie Thielker3-2/+92
2014-03-18Fix a bug in previous commit 01520bb where I accidentally saved ↵Justin Clark-Casey (justincc)1-1/+1
OtherCleanTime instead of Dwell
2014-03-18Save and load dwell parcel stat in MySQL DB adaptor. Field in table already ↵Justin Clark-Casey (justincc)1-3/+4
exists! The SQLite database adaptor was loading and saving dwell whilst MySQL was not, even though the field already exists in the db table.
2014-03-17Add regression test for http inventory fetch.Justin Clark-Casey (justincc)10-406/+780
Involved some restructuring to allow regression tests to dequeue inventory requests and perform poll responses synchronously rather than async
2014-03-13Implement osForceBreakAllLinks().Justin Clark-Casey (justincc)4-0/+25
Identical to llBreakAllLinks() except that it doesn't require the script to have link permissions.
2014-03-12Only allow llBreakAllLinks() to work if script has received ↵Justin Clark-Casey (justincc)2-0/+50
PERMISSION_CHANGE_LINKS As per http://wiki.secondlife.com/wiki/LlBreakAllLinks Same as existing llCreateLink() and llBreakLink()
2014-03-12Implement osForceCreateLink() and osForceBreakLink()Justin Clark-Casey (justincc)4-8/+62
These are identical to llCreateLink() and llBreakLink() except that they don't require script permissions. However, osForceCreateLink() still requires that linked and linkee still have the same owner. There's also an AutomaticLinkPermission setting in [XEngine] that could be set to true to prevent the LSL function checks. But this doesn't allow the finer control over which users/scripts, etc. can do this that the OSSL functions provide.
2014-03-12When sending group notices through group messaging, allow the agent ID to ↵Justin Clark-Casey (justincc)4-10/+19
use for fetching group data to be different from im.fromAgentID This is because xmlrpcgroups currently always checks visibility for the requesting agent ID (unlike Groups v2, which can accept UUID.Zero) But group notice IMs have a from agent which is the group rather than the sending agent. Further addresses http://opensimulator.org/mantis/view.php?id=7037
2014-03-11Enable MapImageServiceModule with no refreshDev Random1-12/+22
2014-03-11Instead of auto-creating a parcel on request if one doesn't cover a given ↵Justin Clark-Casey (justincc)3-70/+217
location, fill in gaps or extend existing parcel right after initial data load. This is in line with simpler and still existing behaviour where a default parcel is created if no parcels are in storage at all. Making this change as another step to address current problems with spurious parcels occasionally being created. Also adds regression tests for different load behaviours depending on existing stored parcel data. Relates to http://opensimulator.org/mantis/view.php?id=7035
2014-03-11varregion: remove serialization of region terrain to floats when sending ↵Robert Adams1-2/+6
patches. This should eliminate much memory thrashing and CPU usage while sending initial terrain. The old way of passing terrain was to convert it to an array of floats. This is really bad for large terrain (think 4096x4096 floats). This change passes a dummy float array since the real region info is used anyway and the floats are ignored. (The ignoring the terrain floats is a kludge so as to not change IClientAPI.)
2014-03-10Change terrain update sending to be triggered by frame tick ratherRobert Adams3-66/+139
than everytime terrain is changed. The TerrainModule now hooks the frame event and, if terrain has changed, sends terrain updates to the clients. This polling pattern replaces the previous push on change pattern and will make it easier to do per client throttling and per scene presence terrain update ordering.
2014-03-11Don't start KeyframeMotion timers until all the regions are ready. This ↵Oren Hurvitz1-2/+28
prevents problems in megaregions (prims that think they've crossed over to other regions).
2014-03-11After an object with KeyframeMotion is copied into inventory, resume the ↵Oren Hurvitz1-2/+15
motion (previously it remained stopped)
2014-03-11Send group notices through the same messaging module mechanism used to send ↵Justin Clark-Casey (justincc)6-101/+195
group chat to avoid timeout issues when sending messages to large groups. Only implementing for XmlRpcGroups initially to test. May require MessageOnlineUsersOnly = true in [Groups] to be effective. In relation to http://opensimulator.org/mantis/view.php?id=7037
2014-03-07Add Varregion support to osGetRegionSize OSSL functionDev Random1-1/+3
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2014-03-07Remove try/catch in LandManagmentModule.GetLandObject() - this is very old ↵Justin Clark-Casey (justincc)1-70/+51
code and the caught exceptions can no longer occur.
2014-03-07Lock m_landlist whilst loading parcels from storage to prevent a race ↵Justin Clark-Casey (justincc)1-7/+18
against any parcel auto-creation in GetLandObject()
2014-03-07Only auto-create a land parcel when there is none in a specified tile if ↵Justin Clark-Casey (justincc)1-1/+13
there is more than 1 existing land parcel. This is because there are still issues with bad parcels being generated in http://opensimulator.org/mantis/view.php?id=7035 Theorizing now that it's possible that something is calling GetParcel() before any parcel data has been loaded from persistence.
2014-03-07Add regression test for sending group notices via xmlrpc groups connector.Justin Clark-Casey (justincc)5-48/+253
2014-03-06Add scene name to bad parcel add loggingJustin Clark-Casey (justincc)1-2/+3
2014-03-06refactor: Simplify land object by using c# get/set auto-properties where ↵Justin Clark-Casey (justincc)1-23/+13
applicable.
2014-03-06minor: slightly simplify code in LandObject.ContainsPoint()Justin Clark-Casey (justincc)1-1/+1
2014-03-06Remove array initialize calls in LMM - these are unnecessary as the VM ↵Justin Clark-Casey (justincc)1-4/+0
already does this.
2014-03-06minor: Increase size of parcel name field in "land show" console command ↵Justin Clark-Casey (justincc)2-13/+18
output. Construct table using CDT rather than string formats