aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2014-03-06Prevent adding a land object if it overlaps any existing objects that have ↵Justin Clark-Casey (justincc)4-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.
2014-03-05Add UUID and ready status (whether region has finished starting up) to "show ↵Justin Clark-Casey (justincc)2-10/+60
regions" console output.
2014-03-05Don't request a terse update after local teleport - this will be done by the ↵Justin Clark-Casey (justincc)1-6/+0
main frame loop anyway and has the potential to race that thread.
2014-03-05If an avatar is sitting, send out position updates to clients for any ↵Justin Clark-Casey (justincc)4-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.
2014-03-03When positioning agent with PRIM_ROTATION in llSetLinkPrimitiveParams(), set ↵Justin Clark-Casey (justincc)2-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
2014-02-28Maybe slightly reduce warp3d memory leakage by disposing of decoded bitmap ↵Justin Clark-Casey (justincc)1-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.
2014-02-27Set up a StreamReader and call ReadToEnd() instead of using the ↵Justin Clark-Casey (justincc)1-41/+13
GetStreamString() extension method This eliminates some stream seeking that was never necessary and makes disposable of the StreamReader consistent with other code
2014-02-27Remove long unused UntrustedWebRequest classJustin Clark-Casey (justincc)1-230/+0
This purports to check web requests but doesn't appear to actually do that.
2014-02-27refactor: More consistently use using construct within WebUtil to match ↵Justin Clark-Casey (justincc)1-225/+218
other existing code there.
2014-02-27Add more details to InvalidOperationException logging in ↵Justin Clark-Casey (justincc)1-3/+4
SychronousRestFormsRequest.MakeRequest().
2014-02-27Stop LSL_Api.GetLinkEntities() from creating an unused list on every ↵Justin Clark-Casey (justincc)1-9/+6
parameter except LINK_THIS. Simplify code.
2014-02-27minor: remove unused variable from recent commit 0e23374Justin Clark-Casey (justincc)1-2/+0
2014-02-27refactor: Make osGetPrimtiveParams() and soSetPrimitiveParams() use common ↵Justin Clark-Casey (justincc)1-33/+12
get/set params code in LSL_Api rather than an old copy&pasted section.
2014-02-26Add Util method to load OpSys env varsDev Random3-124/+104
2014-02-26Add some regression tests for previous commit 0e23374Justin Clark-Casey (justincc)1-0/+115
2014-02-26Implement PRIM_ROTATION, PRIM_ROT_LOCAL, PRIM_POSITION and PRIM_POS_LOCAL ↵Justin Clark-Casey (justincc)1-17/+128
when manipulating avatars via llSetLinkPrimitiveParams() Combination of core parts of Freaky's patch at https://github.com/ft-/opensim-patches/blob/master/opensim-llsetlinkprimitive-agent-fix.patch plus further adjustments from myself. Resolves Mantises 6121, 6421, 6573, 6657
2014-02-24Improve regression test TestSetAppearance()Justin Clark-Casey (justincc)1-42/+69
2014-02-24Re-enable regression TestSaveBakedTextures()Justin Clark-Casey (justincc)1-4/+2
2014-02-24Stop mesh avatars that specify the alpha texture in their bake slots from ↵Justin Clark-Casey (justincc)3-38/+70
causing the simulator to continually request that they rebake This is because the alpha texture is not in the cache, we must continue to have the fallback of looking for these and other persisted bakes in the asset service. Relates to http://opensimulator.org/mantis/view.php?id=6927
2014-02-23Make Scene.DefaultDrawDistance to be the max of the region size and theRobert Adams1-1/+3
user setting. Seems this parameter has many side effects.
2014-02-22Fix problem of hurricane speed winds. Thanks Vegaslon.Robert Adams2-11/+6
2014-02-21Added 2 new behaviors to pCampBotDiva Canto1-0/+6
2014-02-21Added 2 new behavirors to pCampBot. These are part of a systematic study I'm ↵Diva Canto2-0/+159
doing for understanding the load that AgentUpdate packets incur on the server.
2014-02-20If texture decode fails in Warp3D map maker, log uuid of asset that failed ↵Justin Clark-Casey (justincc)1-1/+14
to decode along with exception
2014-02-20If GetFolderContent called by WebFetchInvDescHandler.Fetch() fails for some ↵Justin Clark-Casey (justincc)2-2/+10
reason and returns null, log and return empty contents rather than throwing an exception that ends up terminating the simulator.
2014-02-20minor: Add some method doc to AFM,SetAppearanceAssets()Justin Clark-Casey (justincc)1-0/+6
2014-02-20In core.groups GroupsServiceRemoveConnector, if GetGroupRecord() or ↵Justin Clark-Casey (justincc)1-4/+6
UpdateGroup() do not have a RESULT parameter in the result message, return null rather than fail with NullReferenceException This check was already done by other methods. Looks to resolve http://opensimulator.org/mantis/view.php?id=7012
2014-02-20For now, do not replacing missing wearables with default wearables if itme ↵Justin Clark-Casey (justincc)1-144/+190
details cannot be found. This is causing many issues on OSGrid, possibly due to teleporting timing differences with simulators hosted in different places or HG teleports Added a bit more logging for debug purposes. See http://opensimulator.org/mantis/view.php?id=6939
2014-02-20add newRegion parameter to CrossAgentToNewRegion event and trigger the event ↵dahlia3-4/+5
after crossing thread is invoked
2014-02-19add EventManager event OnCrossAgentToNewRegiondahlia2-0/+25
2014-02-19varregion: make scene default draw distance to be the maximum size of theRobert Adams1-1/+8
region. This is a temp fix for the use of draw distance to compute child regions. Eventually must use the draw distance from the viewer for the computation.
2014-02-15Repair check for if in region position (I mean || is kinda like &&).Robert Adams2-2/+2
2014-02-15Fix displacement and location operations on legacy trees and grass inRobert Adams2-5/+5
the 'load oar' and 'scene' commands. Before they were ignored but the code now relies on the SOG.IsAttachment function for attachmentness.
2014-02-15Properly restore position on crossing failure for mega-regions.Robert Adams4-23/+52
Fix odd "cannot cross into banned parcel" viewer error message when crossing into non-existant region. Proper permission failure messages are now returned.
2014-02-15Rewrite of mega-region code to use new form of border checking.Robert Adams7-619/+107
This commit eliminates all of the 'border' class and list code and replaces it with testing if in the current region. Impacts: can make a mega-region out of varregions of the same size; and mega-region combinations must be rectangular (not square but rectangular)
2014-02-15Non-functional changes of numbers into symbolic references and a fewRobert Adams4-4/+6
comments on what variables really mean.
2014-02-15In GridUserService, if a UUID is given consistently use the longest matched ↵Justin Clark-Casey (justincc)1-6/+19
entry (as already done by GetGridUserInfo()) in order to avoid problems with multiple entries. This is to avoid issues where LoggedIn, SetHome, etc were always using the exact UUID match but GetGridUserInfo() would use the longest. Looks to address http://opensimulator.org/mantis/view.php?id=6986
2014-02-14Don't request group information in SP.MakeRootAgent() if the presence ↵Justin Clark-Casey (justincc)1-8/+10
belongs to no group (UUID.Zero) This was trigger the XmlRpcGroups errors described in http://opensimulator.org/mantis/view.php?id=6986 Introduced in commit 5b73b9c4 (Wed Dec 11 01:39:56 2013)
2014-02-14Log information about which function, request data and agent ID triggered an ↵Justin Clark-Casey (justincc)2-14/+29
XmlRpcGroupsServiceConnector error
2014-02-14Change warns associated with UserAgentServiceConnector to debugs, as this is ↵Justin Clark-Casey (justincc)6-6/+6
not necessarily a problen with the source simulator (e.g. someone else's remote simulator cannot be contacted). This is Oren Hurvitz's second patch from http://opensimulator.org/mantis/view.php?id=6956 with a small amount of correction
2014-02-14If calls to UserAgentServiceConnector fail then throw an exception. This ↵Justin Clark-Casey (justincc)8-300/+193
lets the caller decide whether to discard the error or not. This is Oren Hurvitz's 0001 patch from http://opensimulator.org/mantis/view.php?id=6956 but I ended up doing some tweaking to resolve patch application issues.
2014-02-12If a caller tries to queue a CAPs message to a scene presence that has no ↵Justin Clark-Casey (justincc)2-7/+99
event queue (e.g. an NPC), only warn if event queue debugging is greater than zero. Removes the spurious log warnings if groups are active when NPCs are used. Adds more regression tests associated with adding messages to the event queue
2014-02-11BulletSim: the minimum vehicle velocity was set too low so moving slowRobert Adams2-1/+12
was getting zeroed too easily. Added VehicleMinVelocity parameter.
2014-02-11varregion: Send large region patches for wind and clouds.Robert Adams2-5/+13
2014-02-09Add JsonRezAtRoot script function. Operation is very similar toMic Bowman1-0/+111
llRezAtRoot except that the start parameter is a Json string that will be unpacked into a json store identified by the objects uuid. This makes a much more expressive (and simpler) way of passing initial parameters to a rezzed object.
2014-02-06Fix - Viewer crash during HG TeleportRoger Kirkman1-2/+2
Signed-off-by: Robert Adams <misterblue@misterblue.com>
2014-02-05Update the SimianMaptile uploader to accommodate varregions.Mic Bowman1-74/+59