aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-05-07Revert "Better error handling if Load OAR or Save OAR fail"Justin Clark-Casey (justincc)3-32/+6
This reverts commit 65c88b2ff4e2616fa5c1d4c5e75298ed1eb1c0d8. Yet again I accidentally committed something whilst evaluating it.
2012-05-07Better error handling if Load OAR or Save OAR failOren Hurvitz3-6/+32
2012-05-07refactor: Instead of performing a ScenePresence lookup twice over ↵Justin Clark-Casey (justincc)1-18/+2
LocateClientObject() and GetClientScene(), do the lookup just once in LocateClientObject()
2012-05-07Fix a bug in FriendsModule.StatusNotify() where all subsequent friends would ↵Justin Clark-Casey (justincc)1-2/+7
not be notified once a non-local friend was found.
2012-05-05Fire the scripting changed event with CHANGED_OWNER when an object that has ↵Justin Clark-Casey (justincc)2-10/+9
changed owners is rezzed. This needs to occur after the script is resumed rather than before, when the event is just dropped. Addresses http://opensimulator.org/mantis/view.php?id=5890 and http://opensimulator.org/mantis/view.php?id=5952
2012-05-04Use the more efficient HashSet instead of List for ↵Justin Clark-Casey (justincc)1-1/+1
FlotasmAssetCache.m_CurrentlyWriting
2012-05-04Don't try and update the access time of a file that is actively being cached.Justin Clark-Casey (justincc)1-2/+6
This may cause IOErrors on Windows. Aims to help with http://opensimulator.org/mantis/view.php?id=6003
2012-05-04Temporarily add debug log lines to lsl url request and releaseJustin Clark-Casey (justincc)1-0/+13
To help with http://opensimulator.org/mantis/view.php?id=5993
2012-05-04Mantis 60004 problems with damage and llSetDamage. In damage enabled areas ↵Talun1-3/+14
this patch - Deletes any objects that have damage set > 0 that deliver that damage to an avatar Stops Gods receiving damage, Stops volume detect objects causing damage Deletes NPCS when their helth reduces to zero Gradually "heals" damage to an avatar Resets health on going to a non damage area
2012-05-03Reinsert a 2000ms delay before closing a no longer required agent on the ↵Justin Clark-Casey (justincc)1-2/+7
source region after teleport to resolve Imprudence teleport problems. Viewers 1 and 3 are fine with doing this immediately. However, Imprudence has a small delay (<200ms, >500ms) after receiving the AgentCompleteMovement reply packet on the destination region before regarding that region as the currnet region. If Imprudence receives a DisableSimulator in this period, it quits. We are not restoring the full 5000ms delay since this brings back a bug where teleports permanently fail if an avatar tries to teleport back too quickly. This commit also sends the AgentCompleteMovement packet to the client before telling the source region to release its old agent, in order to further cut down any possibility of the DisableSimulator being recieved before the AgentMovementComplete.
2012-05-03minor: resolve some mono compiler warningsJustin Clark-Casey (justincc)2-8/+3
2012-05-03Implement optional name and description on http stream handlers so that we ↵Justin Clark-Casey (justincc)3-24/+34
can relate a slow request to what the handler actually does and the agent it serves, if applicable. This is most useful for capabilities where the url is not self-describing.
2012-05-01Comment out the five second sleep in etm.DoTeleport() if the old agent needs ↵Justin Clark-Casey (justincc)1-1/+1
to be closed because it is no longer in the child's view distance. This sleep appears unnecessary since a sleep has already occurred in WaitForCallback() whilst waiting for the destination region to notify of teleport success. There are no async operations between this sleep and the WaitForCallback() If this sleep is present, then teleporting back to the source region within 5 seconds results in a disconnection. If this sleep is commented out then teleporting quickly back and forth between two simulators appears to work without issue. Tested on standalone, local grid and distributed grid. Please revert if there's something that I've missed.
2012-05-01Remove some test code that accidentally crept in with 9d2e1c67Justin Clark-Casey (justincc)1-3/+0
2012-05-01Add regression test for teleporting between neighbouring regions on the same ↵Justin Clark-Casey (justincc)2-7/+30
simulator This adds a non-advertised wait_for_callback option in [EntityTransfer]. Default is always true. Teleport tests disable the wait for callback from the destination region in order to run within a single thread.
2012-05-01Move max teleport distance check down into etm.DoTeleport() since this ↵Justin Clark-Casey (justincc)1-40/+41
should apply to all teleport calls, not just those through Teleport()
2012-05-01refactor: Split most of EntityTransferModule.Teleport() into its same region ↵Justin Clark-Casey (justincc)3-126/+165
and different region teleport components. DoTeleport() now retrives IEventQueue itself rather than requiring it to be passed in.
2012-04-28Put scene object related console commands into new "Objects" help category ↵Justin Clark-Casey (justincc)1-9/+13
rather than "Regions"
2012-04-27Add flags information (phantom, physics, etc.) to "show object" and "show ↵Justin Clark-Casey (justincc)1-0/+2
part" console commands
2012-04-27If a Grid God teleports then include the Godlike teleport flag. This can ↵Oren Hurvitz2-9/+28
affect the starting position in the destination region.
2012-04-27Use DotNetZip to compress OARs and IARs.Oren Hurvitz2-2/+8
DotNetZip provides much better compression than standard .NET.
2012-04-27MapImageService: changed the event at which the map tiles are uploaded, ↵Diva Canto1-3/+12
because they were being uploaded before the region was registered with the grid
2012-04-27Minor change in error message (HG teleport failures)Diva Canto1-1/+1
2012-04-27Add regression test for teleporting an agent between separated regions on ↵Justin Clark-Casey (justincc)13-22/+23
the same simulator. This involves a large amount of change in test scene setup code to allow test scenes to share shared modules SetupScene is now an instance method that requires an instantiation of SceneHelpers, though other SceneHelpers methods are still static May split these out into separate classes in the future.
2012-04-26When creating an OAR, objects where the user is the Creator are always ↵Oren Hurvitz1-2/+7
included, regardless of their permissions. The purpose of the permission checks is to prevent the unauthorized copying of assets, but users can always copy assets that they created.
2012-04-26Tweak log messages on local region to region teleport path to help with ↵Justin Clark-Casey (justincc)3-23/+41
problem resolution.
2012-04-24Slight rewording of output messages.Diva Canto1-1/+1
2012-04-24HG: Moved User-level code down to the HGEntityTransferModule where it belongs.Diva Canto2-14/+14
2012-04-25zero out SP velocity before calling SP.Teleport(), as the client expects ↵Justin Clark-Casey (justincc)1-0/+1
(though this is also effectively done by physics at the moment)
2012-04-25Add regression test TestSameRegionTeleport()Justin Clark-Casey (justincc)1-1/+1
2012-04-25Comment out some debug ATTACHMENTS log messages for now.Justin Clark-Casey (justincc)1-15/+14
2012-04-25Comment out the noisier AVFACTORY log messages for now.Justin Clark-Casey (justincc)1-4/+6
Permanently comment out warnings about ScenePresence not being found - this is entirely expected if the avatar has alraedy logged out or left the scene.
2012-04-25Improve teleport log debug and error messages to tell us who is teleporting.Justin Clark-Casey (justincc)1-3/+14
2012-04-24Minor improvements to loggingOren Hurvitz2-6/+9
Eliminated an extra newline in the console if the log line doesn't contain a category (example of a category: "[ASSETS]").
2012-04-23Changed the Map-related messages from Info to Debug. They're debug messages.Diva Canto4-8/+8
2012-04-23Mantis 5977 Corrections to llRegionSayToTalun2-52/+70
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-04-22Fix bug where setting phantom on a prim would result in a server log message ↵Justin Clark-Casey (justincc)1-2/+2
rather than setting phantom. This was an oversight when removing some race conditions from PhysicsActor setting recently. Regression tests extended to probe this code path. Extending regression tests required implementation of a BasicPhysicsPrim (there was none before). However, BasicPhysics plugin is still of no current practical use other than to fill in as a component for other parts of regression testing.
2012-04-20Improve bitmap disposal to do null checks and not to potentially try ↵Justin Clark-Casey (justincc)1-4/+7
disposal of uninitialized variables. This issue doesn't cause the mono 2.10.5 compiler to fail but appears to cause the windows compiler to fail. Resolves http://opensimulator.org/mantis/view.php?id=5973
2012-04-20Always dispose of existing opened bitmap from file in SaveFile(), instead of ↵Justin Clark-Casey (justincc)1-22/+37
simply dropping the reference if the existing file didn't contain a bitmap of the same size.
2012-04-20Explicitly dispose of bitmaps opened from files in GenericSystemDrawing and ↵Justin Clark-Casey (justincc)2-18/+31
JPEG.cs
2012-04-20concerns GenericSystemDrawing.csGarmin Kawaguichi1-8/+9
in OpenSim\Region\CoreModules\World\Terrain\FileLoaders\GenericSystemDrawing.cs Ln 67 Apply Justin's solution Signed-off-by: Garmin Kawaguichi <garmin.kawaguichi@magalaxie.com>
2012-04-20Stop teleports from dropping tall avatars through or embedding them in the ↵Justin Clark-Casey (justincc)1-1/+7
floor when lured by short avatars. This involves giving the ceiling of the Z-component in a lure rather than the floor. Ideally we would give the exact float compensating for relative avatar height but it looks like that isn't possible with the parcel id format used in lures
2012-04-18On "show part" command, show link number.Justin Clark-Casey (justincc)1-1/+1
This replaces the Parts count which was rather pointless for a prim (it was either 1 if a child or the number of parts if the root). This information is still avaliable on the "show object" command.
2012-04-17refactor: Rename EstateSettings.IsEstateManager() to ↵Justin Clark-Casey (justincc)3-4/+4
EstateSettings.IsEstateManagerOrOwner() to reflect what it actually does. This makes it consistent with other parts of OpenSimulator that are treating ESTATE_MANAGER and ESTATE_OWNER as different entities. As per opensim-dev mailing list.
2012-04-13Added ability to exclude inventory items or folders when saving IAR files.Kevin Cozens2-84/+128
2012-04-11HGFriendsModule: Type casts to fix compile errorSnoopy Pfeffer1-1/+1
2012-04-11HGFriendsModule: Added optional user level based restriction to send ↵Snoopy Pfeffer1-4/+20
friendship invitations to foreign users.
2012-04-11HGFriendsModule: add the scaffolding for supporting permissions pertaining ↵Diva Canto2-2/+32
to HG friendships. Snoopy take it from here.
2012-04-10New OS scripting functions osSetTerrainTexture and osSetTerrainHeight as ↵Snoopy Pfeffer1-2/+13
originally proposed in SL Jira (https://jira.secondlife.com/browse/SVC-244).
2012-04-10Do not timeout group member cache entry, as long as there are frequent group ↵Snoopy Pfeffer1-0/+3
membership requests. These are caused by movements within the parcel boundaries.