aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename "debug stats record" command to "stats record" for consistency. Move ↵Justin Clark-Casey (justincc)2014-03-191-3/+3
| | | | from debug to general command category
* Allow a snapshot of stats to be dumped to a file with a "stats save" commandJustin Clark-Casey (justincc)2014-03-191-3/+46
|
* Add httpserver.<port>.QueuedPollResponses and ↵Justin Clark-Casey (justincc)2014-03-181-2/+24
| | | | httpserver.<port>.ProcessedPollResponses statistics
* minor: Correction to description of QueuedPollResponses since this covers ↵Justin Clark-Casey (justincc)2014-03-181-1/+1
| | | | long poll and other 'poll' types
* Add httpserver.<port-number>,QueuedPollResponses statJustin Clark-Casey (justincc)2014-03-181-0/+13
| | | | This shows the number pf poll responses queued for processing.
* Extend locking in BlockingQueue to cover operations that are not guaranteed ↵Justin Clark-Casey (justincc)2014-03-181-10/+8
| | | | to be thread-safe
* Add scene.<scene-name>.ProcessedFetchInventoryRequestsJustin Clark-Casey (justincc)2014-03-181-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
* Allow "show stats" console command to take a full stat name and display only ↵Justin Clark-Casey (justincc)2014-03-181-1/+23
| | | | | | that stat. For example, scene.test.RootAgents will show only the RootAgents stat in the scene named "test"
* Add scene.<scene-name>.QueuedFetchInventoryRequests statJustin Clark-Casey (justincc)2014-03-181-0/+19
| | | | This is to aid in detecting whether there are fetch inventory requests remaining to be processed.
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2014-03-183-2/+92
|\
| * Add delete maptile ability to MapImageService - yet untestedMelanie Thielker2014-03-183-2/+92
| |
* | Lock m_syncRoot on DoubleQueue.Count. This is not documented as a ↵Justin Clark-Casey (justincc)2014-03-181-1/+5
|/ | | | thread-safe operation
* Fix a bug in previous commit 01520bb where I accidentally saved ↵Justin Clark-Casey (justincc)2014-03-181-1/+1
| | | | OtherCleanTime instead of Dwell
* Save and load dwell parcel stat in MySQL DB adaptor. Field in table already ↵Justin Clark-Casey (justincc)2014-03-181-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.
* Add regression test for http inventory fetch.Justin Clark-Casey (justincc)2014-03-1710-406/+780
| | | | Involved some restructuring to allow regression tests to dequeue inventory requests and perform poll responses synchronously rather than async
* Implement osForceBreakAllLinks().Justin Clark-Casey (justincc)2014-03-134-0/+25
| | | | Identical to llBreakAllLinks() except that it doesn't require the script to have link permissions.
* Only allow llBreakAllLinks() to work if script has received ↵Justin Clark-Casey (justincc)2014-03-122-0/+50
| | | | | | | PERMISSION_CHANGE_LINKS As per http://wiki.secondlife.com/wiki/LlBreakAllLinks Same as existing llCreateLink() and llBreakLink()
* Implement osForceCreateLink() and osForceBreakLink()Justin Clark-Casey (justincc)2014-03-124-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.
* When sending group notices through group messaging, allow the agent ID to ↵Justin Clark-Casey (justincc)2014-03-124-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
* Enable MapImageServiceModule with no refreshDev Random2014-03-111-12/+22
|
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2014-03-113-67/+144
|\
| * varregion: remove serialization of region terrain to floats when sending ↵Robert Adams2014-03-111-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.)
| * Change terrain update sending to be triggered by frame tick ratherRobert Adams2014-03-103-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.
* | Instead of auto-creating a parcel on request if one doesn't cover a given ↵Justin Clark-Casey (justincc)2014-03-113-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
* Don't start KeyframeMotion timers until all the regions are ready. This ↵Oren Hurvitz2014-03-111-2/+28
| | | | prevents problems in megaregions (prims that think they've crossed over to other regions).
* After an object with KeyframeMotion is copied into inventory, resume the ↵Oren Hurvitz2014-03-111-2/+15
| | | | motion (previously it remained stopped)
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2014-03-111-1/+3
|\
| * Add Varregion support to osGetRegionSize OSSL functionDev Random2014-03-071-1/+3
| | | | | | | | Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
* | Send group notices through the same messaging module mechanism used to send ↵Justin Clark-Casey (justincc)2014-03-116-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
* Remove try/catch in LandManagmentModule.GetLandObject() - this is very old ↵Justin Clark-Casey (justincc)2014-03-071-70/+51
| | | | code and the caught exceptions can no longer occur.
* Lock m_landlist whilst loading parcels from storage to prevent a race ↵Justin Clark-Casey (justincc)2014-03-071-7/+18
| | | | against any parcel auto-creation in GetLandObject()
* Only auto-create a land parcel when there is none in a specified tile if ↵Justin Clark-Casey (justincc)2014-03-071-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.
* Add regression test for sending group notices via xmlrpc groups connector.Justin Clark-Casey (justincc)2014-03-075-48/+253
|
* Add scene name to bad parcel add loggingJustin Clark-Casey (justincc)2014-03-061-2/+3
|
* refactor: Simplify land object by using c# get/set auto-properties where ↵Justin Clark-Casey (justincc)2014-03-061-23/+13
| | | | applicable.
* minor: slightly simplify code in LandObject.ContainsPoint()Justin Clark-Casey (justincc)2014-03-061-1/+1
|
* Remove array initialize calls in LMM - these are unnecessary as the VM ↵Justin Clark-Casey (justincc)2014-03-061-4/+0
| | | | already does this.
* minor: Increase size of parcel name field in "land show" console command ↵Justin Clark-Casey (justincc)2014-03-062-13/+18
| | | | output. Construct table using CDT rather than string formats
* Prevent adding a land object if it overlaps any existing objects that have ↵Justin Clark-Casey (justincc)2014-03-064-30/+215
| | | | | | | | not had their bitmaps adjusted. This is to prevent an immediate problem in http://opensimulator.org/mantis/view.php?id=7035 where a development code bug occasionally overlays all the existing parcels with a blank parcel owned by the estate manager and to gather more data. My guess is that this parcel is being created by the new code in LandManagementModule.GetLandObject(), probably some race between threads since this only happens occasionally. Adds regression tests for this case and for parcel subdivide.
* Add UUID and ready status (whether region has finished starting up) to "show ↵Justin Clark-Casey (justincc)2014-03-052-10/+60
| | | | regions" console output.
* Don't request a terse update after local teleport - this will be done by the ↵Justin Clark-Casey (justincc)2014-03-051-6/+0
| | | | main frame loop anyway and has the potential to race that thread.
* If an avatar is sitting, send out position updates to clients for any ↵Justin Clark-Casey (justincc)2014-03-054-5/+48
| | | | | | | | change, not just those outside the usual tolerances. This is to allow small adjustments of less than 0.05m in functions such as llSetPrimitiveLinkParams() to work This is another fix for http://opensimulator.org/mantis/view.php?id=7044 Extends regression test for this case.
* When positioning agent with PRIM_ROTATION in llSetLinkPrimitiveParams(), set ↵Justin Clark-Casey (justincc)2014-03-032-12/+38
| | | | | | | the global rotation rather than the local rotation Functionally the same as the patch in http://opensimulator.org/mantis/view.php?id=7044, thanks Aleric. This commit also extends the regression test
* Maybe slightly reduce warp3d memory leakage by disposing of decoded bitmap ↵Justin Clark-Casey (justincc)2014-02-281-8/+6
| | | | | | in Warp3DImageModule.GetTexture() However, this still appears to be leaking massively, at least for me. Possible cause is warp3D using GDI objects internally and not disposing of them.
* Set up a StreamReader and call ReadToEnd() instead of using the ↵Justin Clark-Casey (justincc)2014-02-271-41/+13
| | | | | | GetStreamString() extension method This eliminates some stream seeking that was never necessary and makes disposable of the StreamReader consistent with other code
* Remove long unused UntrustedWebRequest classJustin Clark-Casey (justincc)2014-02-271-230/+0
| | | | This purports to check web requests but doesn't appear to actually do that.
* refactor: More consistently use using construct within WebUtil to match ↵Justin Clark-Casey (justincc)2014-02-271-225/+218
| | | | other existing code there.
* Add more details to InvalidOperationException logging in ↵Justin Clark-Casey (justincc)2014-02-271-3/+4
| | | | SychronousRestFormsRequest.MakeRequest().
* Stop LSL_Api.GetLinkEntities() from creating an unused list on every ↵Justin Clark-Casey (justincc)2014-02-271-9/+6
| | | | parameter except LINK_THIS. Simplify code.
* minor: remove unused variable from recent commit 0e23374Justin Clark-Casey (justincc)2014-02-271-2/+0
|