aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace borkness?Diva Canto2015-08-121-15277/+15277
|
* Send correct uuids in the FromID and ID packet fields for llInstantMessageDrake Arconis2015-08-121-5/+2
| | | | Signed-off-by: Diva Canto <diva@metaverseink.com>
* Added *.Tests.log to .gitignoreOren Hurvitz2015-08-111-0/+1
|
* When the user stops a script, have it remain stoppedOren Hurvitz2015-08-113-3/+28
| | | | | | Previously the script state was never saved for a !Running script, so upon region restart the script would be Running again. The use of the 'StayStopped' flag is needed because all scripts are automatically stopped when the region shuts down, but in that case we shouldn't save in their state that they're !Running.
* When scripts are sleeping, don't count that as execution timeOren Hurvitz2015-08-1118-49/+95
| | | | Sleeping doesn't use the CPU.
* Show Script Time in the statistics panelOren Hurvitz2015-08-113-38/+69
| | | | The value shown is the number of milliseconds per frame that were spent executing scripts in this region.
* Changed "Script Execution Time" to be the gross time, i.e. including ↵Oren Hurvitz2015-08-111-164/+176
| | | | | | handling it in XEngine Previously the "Net Time" was reported: only the time actually spent in the script's code. This is not a correct indication of how much load the script places on the simulator, because scripts that change state often or have many events use up a lot of time just in the event handlers, and previously this time wasn't counted.
* Report "Script Execution Time" as the time spent executing the script in the ↵Oren Hurvitz2015-08-114-51/+241
| | | | | | | | last 30 seconds. Use a sliding window to calculate this. Notes: - This metric provides a better indication of which scripts are taking up a lot of CPU (and therefore should be optimized). - Previously the execution time was reset to 0 in every new measurement period, causing the reported time to fluctuate for no reason. This has been fixed by using a sliding window.
* Improved calculation of Script Execution TimeStartedOren Hurvitz2015-08-112-7/+13
| | | | | | 1. Use a Stopwatch (a high-resolution timer) 2. Whenever we start a new measurement period, zero out the total execution time (previously it just kept accumulating) 3. Changed the measurement period from 30 minutes to 30 seconds. This is much more useful in the "Top Scripts" dialog, as it shows currently active scripts
* Fixed mistakes related to confusion between Environment.TickCount ↵Oren Hurvitz2015-08-112-3/+3
| | | | (milliseconds) and TimeSpan.TicksPerXXX (10000 x milliseconds)
* Log scripts that have processed many events: this is probably an indication ↵Oren Hurvitz2015-08-111-0/+8
| | | | of a problem
* Removed unused code that checked wait_timeout in MySQLEstateDataOren Hurvitz2015-08-111-34/+0
|
* Fixed calling "debug xengine log" without the 'level' parameter: this should ↵Oren Hurvitz2015-08-111-1/+1
| | | | show the current log level; not crash
* Prevent a crash if "debug jobengine log" is entered without a log levelOren Hurvitz2015-08-111-0/+6
|
* Better handling of invalid XML: a) prevent infinite loop on EOF; b) better ↵Oren Hurvitz2015-08-115-69/+115
| | | | | | | | logging If the XML was truncated for some reason then ExecuteReadProcessors() would get into an infinite loop, using high CPU. Now it detects EOF (and several other error cases) and aborts. The rest of the changes just improve logging of XML in case of errors, so that we can see what the bad XML is.
* Fixed mistakes in string format specifiers (e.g., "{0)" instead of {0}")Oren Hurvitz2015-08-112-2/+2
|
* BulletSim: rearrange code and add different locking to eliminate chancesRobert Adams2015-08-093-43/+40
| | | | | | | | of race conditions and, especially, race conditions when an object is removed and quickly re-added to a scene. This hopefully reduces the occurance of problems when avatars TP within a region -- the main problem being the loss of collisions.
* BulletSim: update the motion actors so they completely clean themselvesRobert Adams2015-08-097-29/+41
| | | | | | | when Dispose() is called. This reduces chance of object leakage when destroying objects. Rearrange initialization and shut down of BSActorLockAxis so it is consistant with other actors.
* Corrected spelling of SQLITE. Fixes mantis #7675.Kevin Cozens2015-08-081-1/+1
|
* Convert the enum to int before casting it to string for DB queryDiva Canto2015-08-081-1/+1
|
* Fixed failing testDiva Canto2015-08-081-14/+5
|
* WARNING: massive refactor to follow libomv's latest changes regarding ↵Diva Canto2015-08-0841-225/+238
| | | | | | | inventory folders. The newest version of libomv itself is committed here. Basically, everything that was using the AssetType enum has been combed through; many of those uses were changed to the new FolderType enum. This means that from now on, [new] root folders have code 8 (FolderType.Root), as the viewers expect, as opposed to 9, which was what we had been doing. Normal folders are as they were, -1. Also now sending folder code 100 for Suitcase folders to viewers, with no filter. All tests pass, but fingers crossed!
* Have osAvatarName2Key check the cache first, even for foreign usersOren Hurvitz2015-08-072-23/+47
| | | | Another change: removed the second call to userManager.AddUser(). UserManagementModule won't modify an existing record.
* max-agent-groups supportCinder2015-08-074-2/+27
| | | | | | | | Robust now tells viewers what the maximum number of groups is. Viewers show this limit to the users, and enforce it. The default is 42, which is what viewers had assumed was the maximum number before this update. Signed-off-by: Oren Hurvitz <orenh@kitely.com>
* BulletSim: clean up some code for axis locking. No functional change.Robert Adams2015-08-061-74/+13
|
* BulletSim: rearrange code and add some tests to try and resolve theRobert Adams2015-08-062-6/+7
| | | | | | | | initialization race conditions reported in Mantis 6792. When a region is initializing it seems that the prim initialization code can be interrupted part way through then taints are processed for prims that are not completely there.
* create osGetAvatarHomeURIChristopher2015-08-044-0/+41
| | | | Signed-off-by: Melanie Thielker <melanie@t-data.com>
* Make osAvatarName2Key() able to get names from unknown HG usersChristopher2015-08-042-4/+41
| | | | Signed-off-by: Melanie Thielker <melanie@t-data.com>
* In the AgentCircuitData of HG users, set the last name to include the portOren Hurvitz2015-08-031-1/+1
| | | | E.g., instead of "first.last @grid.example.com", the name is now "first.last @grid.example.com:8002"
* Merged the two "Version 2" migrations in PGSQLOren Hurvitz2015-08-031-6/+0
|
* PGSL Presence migration to correct a double version 2 migration that existedGeir Nøklebye2015-08-031-0/+10
| | | | | | | | | The migration file had a version 2 migration defined twice and therefore the LastSeen field most likely never was defined in the presence file. This migration adds the field and migrates the table to version 4. Signed-off-by: Oren Hurvitz <orenh@kitely.com>
* Removed unused variableOren Hurvitz2015-08-031-2/+0
|
* Add an option to processes physics collisions using FireAndForget.Robert Adams2015-08-022-3/+48
| | | | | | | | | | | Off by default but set with [Startup]ShouldUseFireAndForgetForCollsions=true There is a problem with physics colliions sometimes stopping. One suspicion is that the long callback path from the physics engine into the script engine is causing problems. Enabling this feature passes the collision into the script engine on a separate thread and not the main simulation thread. Tester can enable this and see if the collsions stay around. If they still fail, this commit should be reverted and another solution looked for.
* Add HGFSAssetService to the HypergridService to provide HG support for FSAssets.AliciaRaven2015-08-023-5/+195
|
* osKey2Name returns now correct values for HG users who are not on the region.Christopher2015-08-021-10/+18
| | | | Signed-off-by: Oren Hurvitz <orenh@kitely.com>
* Mantis #7657: similar fixes for FSAssets.Diva Canto2015-08-012-1/+29
|
* Mantis #7657 and #7514. This should alleviate the problem of bad object ↵Diva Canto2015-08-014-4/+47
| | | | | | | | | | | assets being passed around via HG and archives. No guarantees that all the leaks have been found, but at least it detects and fixes these bad assets upon: (1) storing and getting assets over HG -- assuming the core HG asset service is being used (not the case with OSGrid!) (2) importing assets via OAR and IAR Instantiation of bad assets now should also work, instead of producing an exception, but the bad assets themselves aren't being fixed in the DB. That should be done with a cleaning tool -- see Perl script in Mantis #7657. Virus!
* Mantis #7664: Added IHypergridLinker interface to establish a contract about ↵Diva Canto2015-08-012-2/+8
| | | | what implementers need to provide publicly. This is used by 3rd-party addons such as Wifi.
* Show last online status of group members from the PresenceService in group ↵Cinder2015-07-313-48/+80
| | | | | | profiles Signed-off-by: Oren Hurvitz <orenh@kitely.com>
* Eliminated several warningsOren Hurvitz2015-07-317-3/+15
|
* XMLRPCModule now actually aborts the worker thread when requestedOren Hurvitz2015-07-311-2/+6
|
* PGSQL migrations for IM_Store, UserProfiles, removal of casting exception ↵Geir Nøklebye2015-07-315-1/+35
| | | | | | | | | | | | for UserProfiles and adding double precision to PGSQL Manager PGSQL migrations for IM_Store, UserProfiles, removal of casting exception for UserProfiles and adding double precision to PGSQL Manager. Fixes the Offline IM to Email toggle and prepares for fixing Offline IM. Signed-off-by: Oren Hurvitz <orenh@kitely.com>
* Fixed bad log messageOren Hurvitz2015-07-311-1/+1
| | | | This fixes http://opensimulator.org/mantis/view.php?id=7661
* Fix a typo in my previous changes to robust.ini example files with regards ↵AliciaRaven2015-07-302-4/+4
| | | | to the FSAssets config.
* Fixed bug introduced in 4735514. The project didn't compile.Oren Hurvitz2015-07-261-1/+1
|
* Update PGSQL groups handler to accept search queries from the viewerGeir Nøklebye2015-07-263-17/+26
| | | | | | | Update PGSQL groups handler to accept search queries from the viewer. Fixed malformed query strings. Signed-off-by: Oren Hurvitz <orenh@kitely.com>
* Add LogFile option in OpenSimDefaults.ini. It was omitted accidentallyMelanie Thielker2015-07-261-0/+3
|
* Fixed not being charged to create classifeids on money enabled regionsQuill Littlefeather2015-07-261-2/+14
| | | | Signed-off-by: Melanie Thielker <melanie@t-data.com>
* Removed unused code related to DNS lookupsOren Hurvitz2015-07-232-38/+0
|
* Git-ignore log files and console history filesOren Hurvitz2015-07-231-0/+5
|