aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-03-19Fix a bug where logins to standalones would fail if the RegionReady module ↵Justin Clark-Casey (justincc)1-7/+2
was not active Unfortunately, the OnLoginsEnabled event is currently only guaranteed to fire if the RegionReady module is active. However, we can instantiate the AuthorizationService in the module RegionLoaded method since by this time all other modules will have been loaded
2012-03-17Amend to previous commit: normalize strings ToLower.Diva Canto1-2/+6
2012-03-17More on HG access control. This commit splits the UserManagementModule into ↵Diva Canto3-40/+182
the Basic one and the HG one, so that we can do everything that needs to be done for HG ACLs to work without interfering with the vanilla opensim. For the moment, it finds foreign users who have left a trace in the region, e.g. an object. This makes it possible to ban/IM/etc these users using the regular avatar picker. TODO: contact the UAS directly given a name of the form First.Last @foo.com.
2012-03-17Moved HandleAvatarPickerRequest from the generic Scene.PacketHandlers to the ↵Diva Canto1-0/+62
UserManagementModule where it belongs. No functional changes.
2012-03-17Region access control! Region operators can now specify things like ↵Diva Canto2-27/+140
DisallowForeigners (means what it says) and DisallowResidents (means that only admins and managers can get into the region). This puts the never-completed AuthorizationService to good use. Note that I didn't implement a grid-wide Authorization service; this service implementation is done entirely locally on the simulator. This can be changed as usual by pluging in a different AuthorizationServicesConnector.
2012-03-17Clean up "save iar" helpJustin Clark-Casey (justincc)1-8/+8
2012-03-16Terrain: added [Terrain] section with an option to load an initial flat ↵Diva Canto1-1/+6
terrain. Default is still pinhead island. I much rather have a flat land in the beginning.
2012-03-15More on map search: send extra messages to the user regarding the region ↵Diva Canto1-0/+11
being found or not, because the UI is horribly confusing -- places profile is always "loading..." whether the region exists or not.
2012-03-16In Top Scripts report, don't show scripts with no or less than 1 microsecond ↵Justin Clark-Casey (justincc)1-0/+6
of execution time. This is to make the report clearer and less confusing.
2012-03-16Fix owner name display in "Top Colliders" and "Top Script" region reports.Justin Clark-Casey (justincc)1-45/+1
2012-03-16Replace script-lines-per-second with the script execution time scaled by its ↵Justin Clark-Casey (justincc)1-30/+47
measurement period and an idealised frame time. The previous lines-per-second measurement used for top scripts report was inaccurate, since lines executed does not reflect time taken to execute. Also, every fetch of the report would reset all the numbers limiting its usefulness and we weren't even guaranteed to see the top 100. The actual measurement value should be script execution time per frame but XEngine does not work this way. Therefore, we use actual script execution time scaled by the measurement period and an idealised frame time. This is still not ideal but gives reasonable results and allows scripts to be compared. This commit moves script execution time calculations from SceneGraph into IScriptModule implementations.
2012-03-15More on SLURLs and V3. This is hacky, but it works. Basically, we have to ↵Diva Canto1-3/+12
redefine the encoding of HG URLs because the viewer messes them up. Examples of what works and doesn't work: - secondlife://ucigrid00.nacs.uci.edu|8002/128/128 <-- works throughout the viewer - secondlife://http|!!ucigrid00.nacs.uci.edu|8002+Test+Zone+1/128/128 <-- works throughout the viewer - secondlife://http|!!grid.sciencesim.com!grid!hypergrid.php+Yellowstone01+74/128/128 <-- works throughout - secondlife://http%3A%2F%2Fucigrid00.nacs.uci.edu%3A8002%20UCI%20Central%201/128/128 <-- works in chat, but not as URLs in the webkit
2012-03-15Revert "Revert "More hacking around viewer bug""Diva Canto1-1/+1
This reverts commit e5612553ce57b6e36cfa59db8450473099054da1.
2012-03-15These SLURLs are very confusing! -- reverting the revert. Hack is, indeed, ↵Diva Canto1-1/+13
needed. Revert "Revert "Hack around https://jira.secondlife.com/browse/VWR-28570"" This reverts commit 5a9560db288a25799c93a3ecbd3544931149fa2a.
2012-03-15Revert "Hack around https://jira.secondlife.com/browse/VWR-28570"Diva Canto1-13/+1
This reverts commit 697ac7fd9de244cb3b25ff8576838fd323b257c3.
2012-03-15Revert "More hacking around viewer bug"Diva Canto1-1/+1
This reverts commit 10731732b4d40ec9d9e7a21f406a3d2b5dfc1075.
2012-03-15More hacking around viewer bugDiva Canto1-1/+1
2012-03-15Hack around https://jira.secondlife.com/browse/VWR-28570Diva Canto1-1/+13
2012-03-13Teleports: bounce off repeated requests of teleporting the same agent. Some ↵Diva Canto1-0/+13
scripts do that, and that fails the whole thing.
2012-03-10Fix TestSaveOarNoAssets() by not launch a no-assets request on a separate ↵Justin Clark-Casey (justincc)1-1/+1
thread. This was previous behaviour anyway.
2012-03-10minor: In IAR save, log when we start adding the control file rather than ↵Justin Clark-Casey (justincc)1-2/+3
saying afterwards that we added it.
2012-03-10minor: rearrange some save oar messages so they say what they're about to do ↵Justin Clark-Casey (justincc)1-8/+7
rather than what they've just done.
2012-03-10On OAR saving, try fetch assets serially rather than firing all the requests ↵Justin Clark-Casey (justincc)2-9/+18
at the asset service at once. This may (or may not) improve reliability for http://opensimulator.org/mantis/view.php?id=5898 Quick tests show that save time is the same.
2012-03-09More on inventory transfer hold ups:Diva Canto2-2/+77
- Added an inventory cache for caching root and system folders - Synchronized the remote inventory connector, so that all the remote inventory calls are serialized This will not make much difference in the hold ups. We'd have to move the FireAndForget high up to AddInventoryItem, but that opens up a can of worms regarding the notification of the recipient... the recipient would be notified of the offer before the items are effectively in his inventory, which could lead to surprises.
2012-03-09More on HG inventory transfers. Move the FireAndForget higher up.Diva Canto1-1/+1
2012-03-08More on the freeze on HG inventory transfers: spawn a threadlet on the ↵Diva Canto1-1/+1
functional asset posts so that the client threads doesn't freeze (but the network posts are serialized).
2012-03-08Uses shorter AddCommand form for "show estates"Justin Clark-Casey (justincc)1-1/+1
2012-03-08Display help commander topics in capitalized form - the commands themselves ↵Justin Clark-Casey (justincc)1-40/+7
are still lowercase. Also convert the estate commands to simply AddCommand() calls so that commands from two different modules can be placed in the same category
2012-03-08Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)15-44/+53
<category/module>" to display commands in a category. This is to deal with the hundred lines of command splurge when one previously typed "help" Modelled somewhat on the mysql console One can still type help <command> to get per command help at any point. Categories capitalized to avoid conflict with the all-lowercase commands (except for commander system, as of yet). Does not affect command parsing or any other aspects of the console apart from the help system. Backwards compatible with existing modules.
2012-03-06Remove static m_MainInstance in LocalGridServiceConnector.Justin Clark-Casey (justincc)1-24/+10
I believe this was originally required back when there could be two LocalGridServiceConnectors but this is no longer the case. Having such statics makes performance testing much more difficult since they prevent GC of objects unless static references are explicitly nulled.
2012-03-06Add sensor, dataserver requests, timer and listener counts to "xengine ↵Justin Clark-Casey (justincc)1-0/+20
status" command. This is for diagnostic purposes.
2012-03-01Send the right name and creation date on the BasicProfileModule.Diva Canto1-2/+11
2012-03-02Start by adding XAssetService as a copy of the existing AssetService.Justin Clark-Casey (justincc)1-2/+5
This is the start of exploring the creation of a bundled OpenSimulator asset service that does de-duplication and possibly file storage of assets. Along the lines of coyled's SRAS, but not intended to replace, merely to act as a more performant bundled default. Might end up nicking stuff from kcozen's patch at http://opensimulator.org/mantis/view.php?id=5429 More details at http://opensimulator.org/wiki/Feature_Proposals/Deduplicating_Asset_Service Feedback and discussion welcome as commits are made.
2012-02-28Fixed two typos. White space cleanups.Kevin Cozens1-16/+16
Signed-off-by: nebadon <michael@osgrid.org>
2012-02-25HG: Remove async in posting assets to foreign grid. Mono hates concurrency ↵Diva Canto1-1/+1
there.
2012-02-25Remove EXPERIMENTAL tags from load iar/save iar commands.Justin Clark-Casey (justincc)1-3/+0
2012-02-24Stop spurious scene loop startup timeout alarms for scenes with many prims.Justin Clark-Casey (justincc)2-1/+2
On the first frame, all startup scene objects are added to the physics scene. This can cause a considerable delay, so we don't start raising the alarm on scene loop timeouts until the second frame. This commit also slightly changes the behaviour of timeout reporting. Previously, a report was made for the very first timed out thread, ignoring all others until the next watchdog check. Instead, we now report every timed out thread, though we still only do this once no matter how long the timeout.
2012-02-23Try to resolve some problems with viewers crashing after hitting parcel ↵Justin Clark-Casey (justincc)1-6/+21
banlines or freezing on the banline. This involves 1) On forcible teleport, call m_scene.RequestTeleportLocation() rather than ScenePresence.Teleport() - only EntityTransferModule now should call SP.Teleport() 2) When avatar is being forcibly moved due to banlines, use a 'stop movement' tolerance of 0.2 to requested position rather than 1 This prevents the avatar sometimes being stuck to banlines until they teleport somewhere else. This aims to fix some problems in http://opensimulator.org/mantis/view.php?id=5822
2012-02-23Add a position parameter to region crossing of objects. This avoids theMelanie3-11/+10
potential bad update that places an object at the opposite side of the origin sim for a moment before actually crossing it. Especially important in grids like OSG where lag between sims is high.
2012-02-21Fix problem with dragging child part inventory item to user inventory.Justin Clark-Casey (justincc)1-19/+3
This fixes the problem by fixing the permissions module to look at root part permissions rather than having to do this for every caller. Resolves http://opensimulator.org/mantis/view.php?id=5569
2012-02-19One more tweak related to the previous 2 commits.Diva Canto1-1/+3
2012-02-19A few more tweaks on position updates and create child agents. Mono hates ↵Diva Canto1-4/+8
concurrent uses of the same TCP connection, and even of the connections to the same server. So let's stop doing it. This patch makes movement much smoother when there are lots of neighbours.
2012-02-19Fix:Fly setting for Parcel dosen't work ↵PixelTomsen1-1/+2
http://opensimulator.org/mantis/view.php?id=5887 Signed-off-by: nebadon <michael@osgrid.org>
2012-02-18This should smooth movement in heteregeneous networks by a lot: cache the ↵Diva Canto2-2/+40
region by position instead of looking it up all the time -- this was being done during the main update loop!
2012-02-17Added the TriggerAvatarAppearanceChanged to EventManager. It's triggered by ↵Dan Lake1-0/+4
AvatarFactoryModule after an avatar's appearance has been succesfully changed and persisted (if the persist option is set).
2012-02-16minor formatting changes from last commit (4486n7d)Justin Clark-Casey (justincc)1-4/+3
2012-02-16Fix: Object owned by the group does not return to the last owner ↵PixelTomsen1-0/+6
http://opensimulator.org/mantis/view.php?id=5404
2012-02-16Turn off logging on test in last commit (2b84295).Justin Clark-Casey (justincc)1-1/+1
2012-02-16If shape properties fail SOP parsing (e.g. due to commas instead of decimal ↵Justin Clark-Casey (justincc)1-0/+133
points) print out one short message listing the failing node names rather than lots of exceptions. Adds skeleton bad float values deserialization test
2012-02-14Refactor appearance saving for NPC to use AvatarFactoryModule interface.Dan Lake1-9/+31