aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-03-21HG Friends: pulled sim-bound notification code to HGStatusNotifier, so that ↵Diva Canto3-20/+58
we can better manage this traffic.
2012-03-21Removed extraneous debug messageDiva Canto1-3/+0
2012-03-20Removed extraneous debug messages. Added a check for UUID.Zero.Diva Canto1-16/+23
2012-03-21If "debug scene updates true" then print out to log when a garbage ↵Justin Clark-Casey (justincc)1-0/+3
collection occurs.
2012-03-21Add Scene.DebugUpdates switch which, if turned on, will print out a warning ↵Justin Clark-Casey (justincc)1-10/+32
when a frame updates takes longer than twice the desired time This is controlled via "debug scene updates true|false" on the region console. Also fix an oversight with "debug scene teleport true|false"
2012-03-21Incorporate scene teleporting debugging into "debug scene teleport ↵Justin Clark-Casey (justincc)3-18/+6
true|false" command
2012-03-21Replace "scene debug true false true" console command with "scene debug ↵Justin Clark-Casey (justincc)3-37/+45
scripting true" or other parameters as appropriate. This is to allow individual switching of scene debug settings and to provide flexibiltiy for additional settings.
2012-03-21fix compile error from last commitJustin Clark-Casey (justincc)1-1/+1
2012-03-20Fixed borkness with map search introduce by my last changes to it.Diva Canto1-1/+1
2012-03-21refactor: simplify EstateManagementModule.handleEstateDebugRegionRequest()Justin Clark-Casey (justincc)1-18/+7
2012-03-20HG Friends: allow the establishment of HG friendships without requiring ↵Diva Canto5-167/+276
co-presence in the same sim. Using avatar picker, users can now search for names such as "first.last@grid.com:9000", find them, and request friendship. Friendship requests are stored if target user is offline. TESTED ON STANDALONE ONLY.
2012-03-21Add ability to log warn if a frame takes longer than twice the expected ↵Justin Clark-Casey (justincc)1-7/+14
time. Currently commented out.
2012-03-20Add prim name to "[MESH]: No recognized physics mesh..." log messageJustin Clark-Casey (justincc)1-1/+1
2012-03-20remove some mono compiler warningsJustin Clark-Casey (justincc)1-2/+0
2012-03-20remove unnecessary tmpFrameMS, use maintc instead for frame time calculationJustin Clark-Casey (justincc)1-3/+2
2012-03-20minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-1/+1
2012-03-20Move frame loop entirely within Scene.Update() for better future performance ↵Justin Clark-Casey (justincc)6-176/+197
analysis and stat accuracy. Update() now accepts a frames parameter which can control the number of frames updated. -1 will update until shutdown. The watchdog updating moves above the maintc recalculation for any required sleep since it should be accounted for within the frame.
2012-03-20slight increase in jump power to make running jump slightly better.nebadon1-1/+1
2012-03-20reduce avatar verticle jump from the absurd 5 meter jump to a lessnebadon1-1/+1
absurd 3m vertical jump to better match what you would see in Second Life and be more in line with what users would expect.
2012-03-20refactor: precalculate the fixed movement factor for avatar tilting ↵Justin Clark-Casey (justincc)2-8/+16
(sqrt(2)) rather than doing it multiple times on every move.
2012-03-20refactor: Eliminate unnecessary duplicate avCapsuleTiltedJustin Clark-Casey (justincc)1-3/+7
2012-03-20Remove pointless ThreadAbortException catching in a test that isn't run anyway.Justin Clark-Casey (justincc)1-11/+5
2012-03-20Remove some pointless catching/throwing in the scene loop.Justin Clark-Casey (justincc)1-7/+0
2012-03-20Fix crash where two scene loop threads could changes m_MeshToTriMeshMap at ↵Justin Clark-Casey (justincc)1-10/+16
the same time. Have to lock m_MeshToTriMeshMap as property is static and with more than one region two scene loops could try to manipulate at the same time.
2012-03-19Add some doc about the EventManager.OnLoginsEnabled event.Justin Clark-Casey (justincc)1-0/+7
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-19Stop console command "xengine status" throwing an exception if there are no ↵Justin Clark-Casey (justincc)1-4/+4
scripts in a region. Addresses http://opensimulator.org/mantis/view.php?id=5940
2012-03-17Added GetUUID(first, last) on UserAgentsService so that we can finally make ↵Diva Canto2-7/+34
direct user connections.
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 Canto3-55/+62
UserManagementModule where it belongs. No functional changes.
2012-03-17Region access control! Region operators can now specify things like ↵Diva Canto3-29/+142
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-17Add osGetInventoryDesc() as per http://opensimulator.org/mantis/view.php?id=5927Justin Clark-Casey (justincc)3-0/+30
This allows one to get description data for a given prim inventory item. Thanks MarcelEdward and GuduleLapointe!
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 Canto3-19/+59
terrain. Default is still pinhead island. I much rather have a flat land in the beginning.
2012-03-16refactor: separate out console and status report generation parts of XEngineJustin Clark-Casey (justincc)1-1/+6
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-16Allow comments to appear in command scripts (e.g. shutdown_commands.txt).Justin Clark-Casey (justincc)1-1/+5
These can start with ; # or //
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-16Aggregate script execution times by linksets rather than individual prims.Justin Clark-Casey (justincc)4-4/+23
This is for the top scripts report.
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)7-70/+145
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-15Protect the scriptmodulecomms interface.Mic Bowman1-1/+4
2012-03-15Adds a new script command 'modInvoke' to invoke registered functionsMic Bowman7-5/+270
from region modules. The LSL translator is extended to generate the modInvoke format of commands for directly inlined function calls. A region module can register a function Test() with the name "Test". LSL code can call that function as "Test()". The compiler will translate that invocation into modInvoke("Test", ...)
2012-03-15More hacking around viewer bugDiva Canto1-1/+1