aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-04-28Removed dependency on Linq in OpenProfileClientOren Hurvitz1-1/+0
2014-04-25Add missing [Test] decorator to actually get the basic scene creation test ↵Justin Clark-Casey (justincc)1-0/+1
from 2227f51b to run
2014-04-25Add basic regression test for creating a var regionJustin Clark-Casey (justincc)2-1/+25
2014-04-25Add basic sanity regression test for creating a scene.Justin Clark-Casey (justincc)1-0/+7
2014-04-25Add regression test for terrain fill at two digit height and max ll height.Justin Clark-Casey (justincc)2-1/+76
2014-04-25Fix issue where terrain height values > 327 caused chaotic spiked terrain.Justin Clark-Casey (justincc)2-19/+19
Per http://wiki.secondlife.com/wiki/Tips_for_Creating_Heightfields_and_Details_on_Terrain_RAW_Files#Notes_for_Creating_Height_Field_Maps_for_Second_Life terrain heights up to 508 are possible on the LL grid (and were available on previous releases of OpenSimulator). The obvious way to allow both this and equivalent -z values, is to rewiden the internal terrain height storage from short to int. The memory tradeoff is most noticeable on the maximum 8192x8192 var region (equiv to 1024 normal regions), where it adds 128mb to resident use (128k on a normal region) This is still better than the double used in previous releases. This does not affect physics or data storage since they already use float and double respectively. This may not be the final solution if we actually want to sacrifice -z, >327 or something else. Relates to http://opensimulator.org/mantis/view.php?id=7076
2014-04-25Restore overload mode accidentally disabled in a prior commit. Add a newMelanie2-2/+10
config option, LogOverloads, to log when a thread pool overload occurs. This option defaults to "True" because the logging data is useful for diagnosing threading issues.
2014-04-25Adjust permissions to work hand in hand with what the viewer believes they are.Melanie1-7/+7
This fixes the issue of "Show in Search" seeming resetting at random.
2014-04-24Fixes a long-standing bug related to god-mode change ownership of objects ↵Diva Canto2-4/+6
permissive, where the permissions of the children prims' inventory items were not changed. As a consequence, we couldn't control some of the objects imported via HG and OARs even in god mode.
2014-04-24Revert "When linking a Hypergrid region, set the region's flags on the ↵Oren Hurvitz1-4/+4
in-memory GridRegion immediately." This reverts commit 463d0b2f8f0cd5f02c14391b763680b23c16e438.
2014-04-24When linking a Hypergrid region, set the region's flags on the in-memory ↵Oren Hurvitz1-8/+4
GridRegion immediately. (When using llTeleportAgent() this *specific* object is used for the teleport, so it should have the correct flags.)
2014-04-24- Created a standard function to send XML-RPC requests, which logs them like ↵Oren Hurvitz3-138/+145
we do for other types of HTTP activity. - Changed OpenProfileClient to use the new XML-RPC sending function - Improved logging in WebUtil
2014-04-24Changed how UserProfile performs a fallback call using the OpenProfile API, ↵Oren Hurvitz1-30/+37
because now JsonRpcRequest() returns an error result instead of throwing an exception
2014-04-24Refactored: moved OpenProfileClient to a location where it can be used by ↵Oren Hurvitz2-1/+2
both the Simulators and Robust
2014-04-24When sending JSON-RPC calls (for UserProfile), use WebUtil instead of ↵Oren Hurvitz5-126/+94
constructing the HTTP requests manually. This allows the calls to be logged when using "debug http all 6".
2014-04-24Fixed: hypergrid-linking stopped accepting the following format: ↵Oren Hurvitz1-11/+21
"http://grid.example.com" (without a region name) Fixes http://opensimulator.org/mantis/view.php?id=7128
2014-04-24Apply logging flag to a spammy message that may have been overlooked.Melanie1-1/+1
No one needs to see every thread launch.....
2014-04-23Show Group name when land is group-ownedDev Random1-7/+28
2014-04-23minor: Remove unused System.Linq reference and use ParcelFlags.None instead ↵Justin Clark-Casey (justincc)1-2/+1
of 0 from previous commit cb1f28
2014-04-23Prevent sending Land Properties for unprivileged usersDev Random1-5/+8
2014-04-23Fix regression test break on previous commit 328bc3bJustin Clark-Casey (justincc)1-15/+16
2014-04-23Adjust avatar sit positioning on a target to pretty much exactly match that ↵Justin Clark-Casey (justincc)1-14/+26
of the LL grid. This uses an offset of 0.05 on the up vector of the sit orientation, after extensive analysis on http://opensimulator.org/mantis/view.php?id=7096 and https://wiki.secondlife.com/wiki/Talk:LlSitTarget This supersedes the previous adjustment in 5b73b9c4 which had been wrongly applied. The maximum change is about 0.1 with a maximum height avatar. This patch is all Aleric's work - I am applying manually in order to add these additional notes
2014-04-23Dynamic textures shouldn't be saved in the assets service (only in the ↵Oren Hurvitz1-2/+2
simulator cache)
2014-04-23Hypergrid: don't send Local assets to other gridsOren Hurvitz1-35/+34
This commit also contains other changes, but they're all just for clarity. The only actual behavior change is to avoid Posting local assets.
2014-04-23Removed GetUserInventory(). It wasn't being used, and was creating warnings ↵Oren Hurvitz13-293/+2
because it's Obsolete.
2014-04-23Eliminated 'Obsolete' warning: don't call do-nothing function ↵Oren Hurvitz1-1/+0
SetPreviousAppearance()
2014-04-23Eliminated many warningsOren Hurvitz48-77/+101
2014-04-23Workaround for SRAS: if Store Asset returns 'null' then assume the asset ↵Oren Hurvitz1-0/+7
already exists, and this isn't an error
2014-04-23Changed table 'im_offline' to use UTF8 characters. This fixes a problem with ↵Oren Hurvitz1-1/+9
Offline IM V2 (only relevant to MySQL). This fixes http://opensimulator.org/mantis/view.php?id=7123 Users that use MySQL should change their MySQL configuration to support UTF8. In the config file /etc/my.cnf (Linux) or my.ini (Windows), add these settings: [mysqld] character-set-server=utf8 [client] default-character-set=utf8 And then restart MySQL (on Linux: "sudo service mysqld restart").
2014-04-22Fixed KeyframeMotion to work with very slow movement.Oren Hurvitz1-25/+33
Previously, if the movement speed was below 0.05/sec then it didn't work correctly. Fixes http://opensimulator.org/mantis/view.php?id=7117
2014-04-22Changed the maximum asset name and description lengths to constants. Also, ↵Oren Hurvitz7-20/+25
pre-truncate the description of dynamic textures.
2014-04-21Fixed: when a user logged-in, sometimes he didn't get notified of the Online ↵Oren Hurvitz2-2/+24
status of friends, so they continued to appear Offline. This happened because these notifications (the UDP packets) can only be sent to Root Agents. But the notifications were done in OnClientLogin(), at which point the client is still a Child Agent. Since a FireAndForget is used, it became a race condition as to whether the packets would be sent before or after the client became a Root Agent. To fix this, we now only send the notifications once the client becomes a Root Agent for the first time.
2014-04-21Better error handling when retrieving offline IMsOren Hurvitz1-2/+7
2014-04-21Removed an attempt to set a user's presence to "Region 0" when they HG ↵Oren Hurvitz1-3/+0
teleport to another grid. a) This shouldn't have been done because at that point the user is still logged-in to the current grid. b) It's not necessary because the user will soon be logged-out completely. c) And it didn't even work because the MySQL database layer prevents setting the region to 0.
2014-04-21Better logging in PresenceService, to help diagnose presence problems.Oren Hurvitz3-29/+83
2014-04-21Possible solution for #7120 and #7051lillith_xue1-23/+32
Signed-off-by: Robert Adams <misterblue@misterblue.com>
2014-04-20Better error-handling when storing assets: recognize that 'null' is an error ↵Oren Hurvitz4-25/+21
value
2014-04-20Stopped setting the Service URL "GatekeeperURI" on users' accounts. It isn't ↵Oren Hurvitz2-2/+0
actually used.
2014-04-20Fixed: when any avatar changed his Active Group, it was set as the active ↵Oren Hurvitz1-10/+13
group for *all* the avatars in the scene (not permanently)
2014-04-20Fixed: once a user has rezzed an object, they could then duplicate it as ↵Oren Hurvitz1-3/+5
much as they wanted even if the parcel's permissions had since been changed to disallow rezzing
2014-04-20Fixed: if a user belonged to the parcel's group then he was allowed to rez ↵Oren Hurvitz1-16/+16
object in the parcel even if the flag "Create Objects by Group" was disabled
2014-04-20Fixed: the parcel flag "Allow Scripts from Group" should only check if the ↵Oren Hurvitz4-31/+25
parcel has a Group set; it doesn't have to be *deeded* to the group Also some cleanup of the use of Group ID's (with no change to functionality).
2014-04-19Catch empty url errorBlueWall1-0/+3
2014-04-13In teleports, when sending the Source region, set its ServerURI to the ↵Oren Hurvitz2-2/+7
Gatekeeper URI (which is used with Regions); not the Home URI (which is used with Users)
2014-04-13Better error checking when creating hyperlinks: a) Reject invalid strings; ↵Oren Hurvitz1-17/+36
b) Default port is 80, not 0 The change of default port may fix http://opensimulator.org/mantis/view.php?id=7108 , where a user was able to create a Hyperlink to OSGrid from inside OSGrid.
2014-04-12BulletSim: reduce the terrain collison margin to be the same as otherRobert Adams3-4/+11
objects in the world. This was originally changed in an attempt to make vehicles work better but the effect was not that large and it causes avatars to float above the terrain.
2014-04-12Refactor: Rename GetOtherSetting to GetSetting and make SetOtherSetting privateMelanie1-6/+6
2014-04-12Remove the old XML format parsing. Now additional region params can just beMelanie8-1186/+8
added as they are already exposed through an API when using Nini. That will remove the need to always edit RegioInfo just to add a region based setting.
2014-04-12Tweak to PrimLimits and add missing Regions.ini exampleDev Random1-16/+5
Signed-off-by: Melanie <melanie@t-data.com>
2014-04-12Add per-user checking to PrimLimitsModuleDev Random3-24/+88
Signed-off-by: Melanie <melanie@t-data.com>