aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-09-28 ... post merge issueUbitUmarov1-6/+14
2015-09-24 bug fix, let ubODE see more than one mesh on cast rayUbitUmarov1-14/+1
2015-09-23 add Culture.FormatProvider on all casts to LSLString on Vectors and ↵UbitUmarov1-6/+4
Quaternions. This may need better checking
2015-09-21replace LSL reference to sog GetLinkedAvatarsUbitUmarov1-3/+5
2015-09-21Fix a regression to GetSittingAvatars(). Return List<ScenePresence> once more.Kevin Cozens1-14/+9
2015-09-08add missing llSetVelocity stubUbitUmarov1-0/+6
2015-09-08 fix missing proprieties get, etcUbitUmarov1-8/+10
2015-09-06minor change, add a lock we had at avnUbitUmarov1-2/+4
2015-09-06add missing stub for llSetVelocityUbitUmarov1-0/+1
2015-09-03fix CM_api compile errorUbitUmarov1-3/+3
2015-09-03 minor cleanUbitUmarov1-48/+0
2015-09-02seems to compile ( tests comented out)UbitUmarov8-1516/+270
2015-08-30More namespace and dll name changes. Still no functional changes.Diva Canto1-1/+1
2015-08-30Renamed the namespaces tooDiva Canto1-1/+1
2015-08-24Add Culture.FormatProvider to String.Format, like it is done for LSLFloatlillith xue1-3/+3
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2015-08-24Just replace all m_data accesses with accesses to Data, which isMelanie Thielker1-62/+62
protected against nullrefs
2015-08-23add missing culture format on lslvector toStringUbitUmarov1-3/+3
2015-08-23Revert "Revert "Fix a possible nullref caused by accessing m_data rather ↵Melanie Thielker1-4/+4
than Data"" Needed after all This reverts commit 26094c21feb8f63d7e6ed46ec2668f213d9dc623.
2015-08-23Fix the nullref in scripts - the right wayMelanie Thielker1-3/+3
2015-08-23Revert "Fix a possible nullref caused by accessing m_data rather than Data"Melanie Thielker1-4/+4
My bad! This reverts commit 20326e1947f56c6c39a9e701859c286ebee062e0.
2015-08-19Fix a possible nullref caused by accessing m_data rather than DataMelanie Thielker1-4/+4
2015-08-19Add explicit initialization because mono 3 doesn't like what mono 2 allowsMelanie2-2/+2
2015-08-19Convert the lsl list type into a struct. EXPERIMENTAL! This may affectMelanie Thielker4-172/+172
the llSetPrimitiveParams family of functions adversely. Please test!
2015-08-19Some unit tests are simply broken and create an API with a null m_item.Melanie Thielker1-0/+6
This isn't supposed to be done and should be changed in the tests. For now, add a protective check.
2015-08-19Fix adding a scalar to the end of a listMelanie Thielker1-2/+5
2015-08-19Try to address Mantis #7689. When adding a scalar to a list, make a copyMelanie Thielker1-2/+5
as is done when adding another list.
2015-08-17Change the IScriptApi back to it's original form, removing XEngineMelanie Thielker21-69/+97
specific additions that should not have been there in the first place. Sleeping and time measurement are now completely internal to XEngine
2015-08-17Revert "When scripts are sleeping, don't count that as execution time"Melanie Thielker18-95/+49
The approach is good but the way it is written breaks the architecture. Rewrite follows. This reverts commit a568f06b7faea807149205d0e47454e4883e4836.
2015-08-17Prevent the spammy "many event" message from appearing in normal use.Melanie Thielker1-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.
2015-08-13Remove DOS line endings from LSL_API.csMelanie Thielker1-15278/+15278
2015-08-12Whitespace borkness?Diva Canto1-15277/+15277
2015-08-12Send correct uuids in the FromID and ID packet fields for llInstantMessageDrake Arconis1-5/+2
Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-08-11When the user stops a script, have it remain stoppedOren Hurvitz3-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.
2015-08-11When scripts are sleeping, don't count that as execution timeOren Hurvitz18-49/+95
Sleeping doesn't use the CPU.
2015-08-11Show Script Time in the statistics panelOren Hurvitz1-0/+1
The value shown is the number of milliseconds per frame that were spent executing scripts in this region.
2015-08-11Changed "Script Execution Time" to be the gross time, i.e. including ↵Oren Hurvitz1-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.
2015-08-11Report "Script Execution Time" as the time spent executing the script in the ↵Oren Hurvitz3-51/+18
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.
2015-08-11Improved calculation of Script Execution TimeStartedOren Hurvitz2-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
2015-08-11Fixed mistakes related to confusion between Environment.TickCount ↵Oren Hurvitz1-1/+1
(milliseconds) and TimeSpan.TicksPerXXX (10000 x milliseconds)
2015-08-11Log scripts that have processed many events: this is probably an indication ↵Oren Hurvitz1-0/+8
of a problem
2015-08-11Fixed calling "debug xengine log" without the 'level' parameter: this should ↵Oren Hurvitz1-1/+1
show the current log level; not crash
2015-08-07Have osAvatarName2Key check the cache first, even for foreign usersOren Hurvitz1-22/+23
Another change: removed the second call to userManager.AddUser(). UserManagementModule won't modify an existing record.
2015-08-04create osGetAvatarHomeURIChristopher3-0/+40
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2015-08-04Make osAvatarName2Key() able to get names from unknown HG usersChristopher1-4/+40
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2015-08-02osKey2Name returns now correct values for HG users who are not on the region.Christopher1-10/+18
Signed-off-by: Oren Hurvitz <orenh@kitely.com>
2015-06-21Guard against null AgentPrefs service in llGetAgentLanguage()Cinder1-3/+10
Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-06-13Refactor AgentPreferences so that database operations happen centrally. the ↵Cinder1-7/+3
opensim way. Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-06-13Support for Linden AgentPreferences capability and friends ↵Cinder1-5/+11
(UpdateAgentLanguage and UpdateAgentInformation) and Mantis #7157 Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-06-01Correct constant RCERR_CAST_TIME_EXCEEDED.Magnuz Binder1-1/+1
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-05-29Add a new os function "osGetGender()"dahlia3-0/+51