aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
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 Hurvitz1-16/+0
because it's Obsolete.
2014-04-23Eliminated many warningsOren Hurvitz3-5/+1
2014-04-20Better error-handling when storing assets: recognize that 'null' is an error ↵Oren Hurvitz1-1/+1
value
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-09In teleports, pass the source region to the destination (similar to an HTTP ↵Oren Hurvitz2-13/+20
referrer)
2014-04-08Improved error messages when a teleport fails. The viewer's dialog already ↵Oren Hurvitz1-4/+4
says "Teleport failed", so adding "Teleport refused" is redundant.
2014-04-07When sending QueryAccess to a region, also send the user's Home URIOren Hurvitz1-2/+5
2014-04-07Refactored: use Scene.GetAgentHomeURI() to get the Home URI of a userOren Hurvitz2-9/+2
2014-04-06Fixed: during a teleport we always sent the error "The teleport destination ↵Oren Hurvitz2-7/+1
could not be found" to the client. This happened on both success and failure. On successful teleports this error wasn't actually shown to the user. But on failed teleports this error could hide the true cause of the failure. For example, attempting to use a Landmark that's more than 4095 regions away would result in two warnings appearing in the viewer: "Region too far" and "Destination could not be found". The second message hid the first one, so it wasn't obvious to the user what is actually the problem.
2014-04-06When preparing a Hypergrid teleport, tell the receiving grid which user is ↵Oren Hurvitz2-5/+16
entering the grid. This can affect which region to use. E.g., returning users may be allowed to enter any region, whereas users from other grids will have to enter a gateway region. Previously per-user decisions were only made later, but by then it's too late to change which region the user enters.
2014-04-06Pass the correct position to QueryAccess() instead of UUID.Zero (it was ↵Oren Hurvitz1-1/+1
wrong in one place)
2014-04-03When teleporting using Hypergrid, show more informative error messages in ↵Oren Hurvitz2-10/+27
case of error
2014-04-02BulletSim: make avatar physical shape to be a rectangle rather thanRobert Adams1-5/+1
a capsule. Set the default to be the rectangle shape and adjust the parameters in OpenSimDefaults.ini for the new shape. The rectangle shape will perform better and avatar height can be computed more accurately.
2014-04-03Wrap contents of ETM.CrossAgentToNewRegionAsync() in try/catch to avoid a ↵Justin Clark-Casey (justincc)1-13/+19
failure terminating simulators running on Windows In relation to http://opensimulator.org/mantis/view.php?id=7050
2014-04-02Added assets service method AssetsExist(), which returns whether the given ↵Oren Hurvitz1-20/+49
list of assets exist. This method is used to optimize sending assets with embedded assets: e.g., when a Hypergrid visitor takes an item into the inventory.
2014-03-24When searching for users, don't add users from the local cache if they have ↵Oren Hurvitz1-2/+3
an invalid UUID Resolves http://opensimulator.org/mantis/view.php?id=6935
2014-03-24Trim search queries (for users, groups, etc.). I have found that sometimes ↵Oren Hurvitz1-1/+3
the viewer adds a space at the end, which causes searches to fail. Resolves http://opensimulator.org/mantis/view.php?id=6935
2014-03-17Add regression test for http inventory fetch.Justin Clark-Casey (justincc)1-0/+4
Involved some restructuring to allow regression tests to dequeue inventory requests and perform poll responses synchronously rather than async
2014-03-11After an object with KeyframeMotion is copied into inventory, resume the ↵Oren Hurvitz1-2/+15
motion (previously it remained stopped)
2014-02-20add newRegion parameter to CrossAgentToNewRegion event and trigger the event ↵dahlia1-0/+2
after crossing thread is invoked
2014-02-15Properly restore position on crossing failure for mega-regions.Robert Adams1-6/+15
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 Adams1-34/+14
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-14Change warns associated with UserAgentServiceConnector to debugs, as this is ↵Justin Clark-Casey (justincc)3-3/+3
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)3-4/+33
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-01-26varregion: enable teleporting to a varregion by clicking on the map andRobert Adams1-3/+28
pressing the 'teleport' button. This commit adds returning region map info for all the subregions of a varregion. This also handles the selection of the extra region and then the displacement of the postion so the teleport is to the correct location.
2014-01-20Materials module: a) Store materials as assets; b) Finalized it (removed the ↵Oren Hurvitz2-6/+6
"Demo" label; removed most of the logging); c) Enabled by default Changed UuidGatherer to use 'sbyte' to identify assets instead of 'AssetType'. This lets UuidGatherer handle Materials, which are defined in a different enum from 'AssetType'.
2014-01-17minor: since structs are values, assigning them to another variable copies ↵Justin Clark-Casey (justincc)1-1/+1
it. Instantiation is unnecessary.
2014-01-10When creating a coalesced object, set its permissions to the ↵Oren Hurvitz1-7/+16
lowest-common-denominator of all the sub-objects
2014-01-10When creating a coalesced object, set its Creator ID if all the objects have ↵Oren Hurvitz1-4/+15
the same creator
2014-01-10Refactored: use a single function to apply an object's folded permissions to ↵Oren Hurvitz1-11/+9
its main permissions
2014-01-10Refactored setting permissions when rezzing items: use the same function ↵Oren Hurvitz1-37/+14
when rezzing from user inventory and prim inventory. Also, fixed a bug: when rezzing a coalesced object from a prim's inventory, apply the coalesced object's name and description only to the first sub-object; not to all the objects in the coalescence. (This was already done correctly when rezzing from a user's inventory.)
2014-01-04Some missing definitions needed for successful compilation.Robert Adams1-1/+2
2014-01-04varregion: Add region size to teleport event messages (EnableSimulator,Robert Adams1-11/+21
CorssRegion, TeleportFinishEvent). Have Simian grid service return the region size. Many teleport related debug log messages. Can be removed when teleport works (like that's ever going to happen). Conflicts: OpenSim/Framework/RegionInfo.cs
2014-01-03varregion: Add region size to teleport event messages (EnableSimulator,Robert Adams1-11/+21
CorssRegion, TeleportFinishEvent). Have Simian grid service return the region size. Many teleport related debug log messages. Can be removed when teleport works (like that's ever going to happen).
2013-12-27varregion: extract banned region logic into a class for cleanlyness.Robert Adams1-33/+174
Add 'not found' caching in EntityTransferModule.GetRegionContainingWorldLocation so hitting borders and bad teleports do not continuiously hammer on the GridService.
2013-12-26varregion: many more updates removing the constant RegionSize and replacingRobert Adams1-22/+21
with a passed region size. This time in the map code and grid services code.
2013-12-24varregion: add lots of DEBUG level log messages. Especially for teleport.Robert Adams2-1/+7
2013-12-24varregion: fix bug where destination region is not found and object isRobert Adams1-47/+61
not restored to its original location.
2013-12-14varregion: rename 'LegacyRegionLocX' back to 'RegionLocX' and same for Y and Z.Robert Adams1-12/+12
Rename 'RegionWorldLocX' to 'WorldLocX' and same for Y and Z. This keeps the downward compatibility and follows the scheme of 'region' and 'world' location naming that is happening in the Util module.
2013-12-11This is the Avination Entity Transfer Module. Surprisingly, it still compilesMelanie1-217/+204
but I don't know if it runs. Will probably crash and burn as the supporting code isn't there yet.
2013-11-30varregion: Add MaxRegionSize constant and enforce in RegionInfo.Robert Adams1-60/+158
Intermediate checkin of changing border cross computation from checking boundry limits to requests to GridService. Not totally functional.
2013-11-15refactor: replace verbose checks with String.IsNullOrEmpty where applicable.Justin Clark-Casey (justincc)2-3/+3
Thanks to Kira for this patch from http://opensimulator.org/mantis/view.php?id=6845
2013-11-08varregion: elimination of Constants.RegionSize from all over OpenSimulator.Robert Adams1-3/+1
Routines in Util to compute region world coordinates from region coordinates as well as the conversion to and from region handles. These routines have replaced a lot of math scattered throughout the simulator. Should be no functional changes.
2013-10-15Fixed rezzing coalesced objects from a prim's inventoryOren Hurvitz1-43/+8
Previously only the first object in the Coalesced Object was rezzed. Now all the objects are rezzed.
2013-09-28VarRegion: change RegionInfo storage of region coordinates from regionRobert Adams1-24/+24
count number to integer world coordinates. Added new methods RegionWorldLoc[XY]. Refactored name of 'RegionLoc*' to 'LegacyRegionLoc*' throughout OpenSim. Kept old 'RegionLoc*' entrypoint to RegionInfo for downward compatability of external region management packages.
2013-09-27refactor: rename Scene.IncomingCloseAgent() to CloseAgent() in order to make ↵Justin Clark-Casey (justincc)1-4/+4
it clear that all non-clientstack callers should be using this rather than RemoveClient() in order to step through the ScenePresence state machine properly. Adds IScene.CloseAgent() to replace RemoveClient()
2013-09-26minor: correct attachment spelling mistake in log message in ↵Justin Clark-Casey (justincc)1-1/+1
HGEntityTransferModule.OnIncomingSceneObject()
2013-09-25VarRegion: change RegionInfo storage of region coordinates from regionRobert Adams1-24/+24
count number to integer world coordinates. Added new methods RegionWorldLoc[XY]. Refactored name of 'RegionLoc*' to 'LegacyRegionLoc*' throughout OpenSim. Kept old 'RegionLoc*' entrypoint to RegionInfo for downward compatability of external region management packages.
2013-09-26minor: log MaxOutgoingTransferVersion at EntityTransferModule startupJustin Clark-Casey (justincc)1-0/+4