Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' of opensimulator.org:/var/git/opensim | Melanie Thielker | 2015-08-19 | 2 | -2/+2 |
|\ | |||||
| * | Add explicit initialization because mono 3 doesn't like what mono 2 allows | Melanie | 2015-08-19 | 2 | -2/+2 |
| | | |||||
* | | Fix a possible nullref caused by accessing m_data rather than Data | Melanie Thielker | 2015-08-19 | 1 | -4/+4 |
|/ | |||||
* | Convert the lsl list type into a struct. EXPERIMENTAL! This may affect | Melanie Thielker | 2015-08-19 | 4 | -172/+172 |
| | | | | the llSetPrimitiveParams family of functions adversely. Please test! | ||||
* | Some unit tests are simply broken and create an API with a null m_item. | Melanie Thielker | 2015-08-19 | 1 | -0/+6 |
| | | | | | This isn't supposed to be done and should be changed in the tests. For now, add a protective check. | ||||
* | Try to address Mantis #7689. When adding a scalar to a list, make a copy | Melanie Thielker | 2015-08-19 | 1 | -2/+5 |
| | | | | as is done when adding another list. | ||||
* | Change the IScriptApi back to it's original form, removing XEngine | Melanie Thielker | 2015-08-17 | 17 | -67/+64 |
| | | | | | specific additions that should not have been there in the first place. Sleeping and time measurement are now completely internal to XEngine | ||||
* | Revert "When scripts are sleeping, don't count that as execution time" | Melanie Thielker | 2015-08-17 | 17 | -91/+48 |
| | | | | | | | The approach is good but the way it is written breaks the architecture. Rewrite follows. This reverts commit a568f06b7faea807149205d0e47454e4883e4836. | ||||
* | Prevent the spammy "many event" message from appearing in normal use. | Melanie Thielker | 2015-08-17 | 1 | -2/+4 |
| | | | | | | Console command debug xengine now turns that on. Also, per orenh, remove the triggers at 1000 and 10000 as they are not useful now that top scripts works. | ||||
* | Remove DOS line endings from LSL_API.cs | Melanie Thielker | 2015-08-13 | 1 | -15278/+15278 |
| | |||||
* | Whitespace borkness? | Diva Canto | 2015-08-12 | 1 | -15277/+15277 |
| | |||||
* | Send correct uuids in the FromID and ID packet fields for llInstantMessage | Drake Arconis | 2015-08-12 | 1 | -5/+2 |
| | | | | Signed-off-by: Diva Canto <diva@metaverseink.com> | ||||
* | When the user stops a script, have it remain stopped | Oren Hurvitz | 2015-08-11 | 1 | -3/+18 |
| | | | | | | 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 time | Oren Hurvitz | 2015-08-11 | 17 | -48/+91 |
| | | | | Sleeping doesn't use the CPU. | ||||
* | Show Script Time in the statistics panel | Oren Hurvitz | 2015-08-11 | 1 | -0/+1 |
| | | | | 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 Hurvitz | 2015-08-11 | 1 | -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 Hurvitz | 2015-08-11 | 1 | -17/+12 |
| | | | | | | | | 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 TimeStarted | Oren Hurvitz | 2015-08-11 | 1 | -6/+12 |
| | | | | | | 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 Hurvitz | 2015-08-11 | 1 | -1/+1 |
| | | | | (milliseconds) and TimeSpan.TicksPerXXX (10000 x milliseconds) | ||||
* | Log scripts that have processed many events: this is probably an indication ↵ | Oren Hurvitz | 2015-08-11 | 1 | -0/+8 |
| | | | | of a problem | ||||
* | Have osAvatarName2Key check the cache first, even for foreign users | Oren Hurvitz | 2015-08-07 | 1 | -22/+23 |
| | | | | Another change: removed the second call to userManager.AddUser(). UserManagementModule won't modify an existing record. | ||||
* | create osGetAvatarHomeURI | Christopher | 2015-08-04 | 3 | -0/+40 |
| | | | | Signed-off-by: Melanie Thielker <melanie@t-data.com> | ||||
* | Make osAvatarName2Key() able to get names from unknown HG users | Christopher | 2015-08-04 | 1 | -4/+40 |
| | | | | Signed-off-by: Melanie Thielker <melanie@t-data.com> | ||||
* | osKey2Name returns now correct values for HG users who are not on the region. | Christopher | 2015-08-02 | 1 | -10/+18 |
| | | | | Signed-off-by: Oren Hurvitz <orenh@kitely.com> | ||||
* | Guard against null AgentPrefs service in llGetAgentLanguage() | Cinder | 2015-06-21 | 1 | -3/+10 |
| | | | | Signed-off-by: Diva Canto <diva@metaverseink.com> | ||||
* | Refactor AgentPreferences so that database operations happen centrally. the ↵ | Cinder | 2015-06-13 | 1 | -7/+3 |
| | | | | | | opensim way. Signed-off-by: Diva Canto <diva@metaverseink.com> | ||||
* | Support for Linden AgentPreferences capability and friends ↵ | Cinder | 2015-06-13 | 1 | -5/+11 |
| | | | | | | (UpdateAgentLanguage and UpdateAgentInformation) and Mantis #7157 Signed-off-by: Diva Canto <diva@metaverseink.com> | ||||
* | Correct constant RCERR_CAST_TIME_EXCEEDED. | Magnuz Binder | 2015-06-01 | 1 | -1/+1 |
| | | | | Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com> | ||||
* | Add a new os function "osGetGender()" | dahlia | 2015-05-29 | 3 | -0/+51 |
| | |||||
* | llListRandomize() wasn't very random | Cinder | 2015-05-27 | 1 | -6/+7 |
| | | | | Signed-off-by: Diva Canto <diva@metaverseink.com> | ||||
* | Fix mesh cache race condition in llCastRay V3. | Magnuz Binder | 2015-05-23 | 1 | -2/+4 |
| | | | | Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com> | ||||
* | Use own mesh cache in llCastRay V3 after throttling. | Magnuz Binder | 2015-05-22 | 1 | -39/+104 |
| | | | | Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com> | ||||
* | Throttle llCastRay V3. | Magnuz Binder | 2015-05-22 | 1 | -2/+90 |
| | | | | Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com> | ||||
* | New values returned by llGetEnv | Talun | 2015-05-20 | 1 | -1/+33 |
| | | | | | | | | Implements recent changes to llGetEnv region_cpu_ratio hardcoded to 1 region_product_sku hardcoded to OpenSim Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com> | ||||
* | Patch llCastRay fully simplified to V3. | Magnuz Binder | 2015-05-12 | 1 | -212/+217 |
| | |||||
* | Revert "Patch llCastRay fully-simplified to V2." for further review. | Michael Cerquoni | 2015-05-04 | 1 | -15/+14 |
| | | | | This reverts commit c96ee68953eb31fc2ad6d1df9b7a4bb19c584e17. | ||||
* | Missing constants for llGetObjectDetails | Talun | 2015-05-04 | 2 | -0/+33 |
| | | | | | | | | | OBJECT_BODY_SHAPE_TYPE OBJECT_HOVER_HEIGHT OBJECT_LAST_OWNER_ID OBJECT_RENDER_WEIGHT Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com> | ||||
* | Implement llGetGeometricCenter correctly. | Magnuz Binder | 2015-05-04 | 1 | -1/+20 |
| | | | | Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com> | ||||
* | Patch llCastRay fully-simplified to V2. | Magnuz Binder | 2015-05-04 | 1 | -14/+15 |
| | | | | Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com> | ||||
* | Implement llCastRay fully, simplified. | Magnuz Binder | 2015-05-03 | 1 | -1/+759 |
| | |||||
* | Updated all occurrences of AssemblyVersion("0.8.1.*") to ↵ | Diva Canto | 2015-04-29 | 3 | -3/+3 |
| | | | | AssemblyVersion("0.8.2.*") | ||||
* | Allow setting profilecut diff to 0.02 from scripts just like from viewer. | Magnuz Binder | 2015-04-20 | 1 | -3/+3 |
| | | | | Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com> | ||||
* | Implement llGetBoundingBox fully. | Magnuz Binder | 2015-04-20 | 1 | -42/+447 |
| | | | | Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com> | ||||
* | Temporarily comment out OSSL enabled warning log message. | Robert Adams | 2015-04-14 | 1 | -1/+1 |
| | | | | Added in wrong place. It is printed once per script rather than once per region. | ||||
* | Enable OSSL functions by default using the osslEnable.ini configuration file. | Robert Adams | 2015-04-14 | 1 | -0/+3 |
| | | | | | This changes OpenSim.ini.example to, by default, include osslEnable.ini which turns on the OSSL functions and limits who can do which operations. | ||||
* | Add osCheckODE() function so scripts can configure for running with legacy ↵ | Robert Adams | 2015-04-12 | 3 | -0/+21 |
| | | | | | | | | physics engine. Function returns 'true' of the physics engine is configured to be 'OpenDynamicsEngine'. The presumption is that all other physics engines work the same (like SL) or it is a bug. Does not require ossl functions to be enabled. | ||||
* | Fix llTargetOmega non-physical gain. | Magnuz Binder | 2015-04-12 | 1 | -0/+3 |
| | | | | Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com> | ||||
* | Parameterize sleeps in LSL functions. | Magnuz Binder | 2015-03-22 | 1 | -64/+123 |
| | |||||
* | Allow setting hollow to 99% from scripts just like from viewer. | Magnuz Binder | 2015-03-22 | 2 | -6/+6 |
| | |||||
* | Allow setting holesize to 0.01 from scripts just like from viewer. | Magnuz Binder | 2015-03-22 | 1 | -4/+4 |
| |