UbitUmarov
|
8b1a174430
****DANGER**** try to make LSL_Types.key to work. bin/ScriptEngines contents must be deleted to recompile scripts. Needs more testing on all uses of key type ****DANGER****
|
8 years ago |
UbitUmarov
|
5afc5fe343
Xengine: try to reduce memory pressure of scripts compile. Still ugly code, possible mistakes, but i need to share it before i loose it :) )
|
8 years ago |
UbitUmarov
|
67a853a70e
add a missing lock()
|
8 years ago |
UbitUmarov
|
3fef576554
avoid telling a work job to cancel itself
|
8 years ago |
UbitUmarov
|
6703be2a90
do not enqueue next event processing if script is in SelfDelete state
|
8 years ago |
UbitUmarov
|
7e8544f26e
fix missing clear of queued timer even and state transition flags on scripts reset
|
9 years ago |
UbitUmarov
|
c4c6fcf7ad
fix missing proprieties get, etc
|
9 years ago |
UbitUmarov
|
a11edceb00
seems to compile ( tests comented out)
|
9 years ago |
UbitUmarov
|
371c9dd2af
bad merge?
|
9 years ago |
Melanie Thielker
|
c53f732163
Change the IScriptApi back to it's original form, removing XEngine
|
9 years ago |
Melanie Thielker
|
ee7debcca6
Revert "When scripts are sleeping, don't count that as execution time"
|
9 years ago |
Melanie Thielker
|
664ecb1938
Prevent the spammy "many event" message from appearing in normal use.
|
9 years ago |
Oren Hurvitz
|
59da146e9d
When the user stops a script, have it remain stopped
|
9 years ago |
Oren Hurvitz
|
a568f06b7f
When scripts are sleeping, don't count that as execution time
|
9 years ago |
Oren Hurvitz
|
d24528b3bc
Show Script Time in the statistics panel
|
9 years ago |
Oren Hurvitz
|
5679cd0100
Changed "Script Execution Time" to be the gross time, i.e. including handling it in XEngine
|
9 years ago |
Oren Hurvitz
|
a3bed1fbcb
Report "Script Execution Time" as the time spent executing the script in the last 30 seconds. Use a sliding window to calculate this.
|
9 years ago |
Oren Hurvitz
|
287096d826
Improved calculation of Script Execution TimeStarted
|
9 years ago |
Oren Hurvitz
|
20af31f18e
Fixed mistakes related to confusion between Environment.TickCount (milliseconds) and TimeSpan.TicksPerXXX (10000 x milliseconds)
|
9 years ago |
Oren Hurvitz
|
4c6fb9fb64
Log scripts that have processed many events: this is probably an indication of a problem
|
9 years ago |
Justin Clark-Casey (justincc)
|
3a7d42378f
Move state change in progress in ScriptInstance.PostEvent() to the top of the EventQueue lock to avoid some flags possibly being wrongly set (m_LastControlLevel, etc.)
|
10 years ago |
Justin Clark-Casey (justincc)
|
7410924de0
Lock around EventQueue manipulation in ScriptInstance.SetState() as queues are not thread-safe structures.
|
10 years ago |
Bob Shaffer II
|
b4b13510e8
A workaround for the state change problem described best here http://opensimulator.org/mantis/view.php?id=6960 which should make state changes behave more like is described here http://wiki.secondlife.com/wiki/State
|
10 years ago |
Freaky Tech
|
25901a703a
corrected llGetStartParameter according to http://wiki.secondlife.com/wiki/LlGetStartParameter
|
10 years ago |
Freaky Tech
|
b8157174ca
corrected llResetScript according to description within LSL wiki
|
10 years ago |
Justin Clark-Casey (justincc)
|
b4e955d1c1
Avoid a possible race condition by serializing plugin data outside the EventQueue lock in ScriptInstance.SaveState()
|
10 years ago |
Justin Clark-Casey (justincc)
|
1bed3aff0b
On a multi-region simulator when AppDomain = true, make sure the DLL from the appropriate script engines subdir is loaded rather than always that of the first engine to load the DLL.
|
10 years ago |
Justin Clark-Casey (justincc)
|
d0a2ea0857
Fix regression where the stored state of every second script in an object rezzed from inventory (e.g. attachments) was no longer loaded.
|
10 years ago |
Justin Clark-Casey (justincc)
|
faaf47a86f
Prevent a race condition between the script engine backup thread and script removal by locking on the script's EventQueue and only proceeding if it's flagged as still running.
|
10 years ago |
Justin Clark-Casey (justincc)
|
8d724e90de
For scripts in attachments, don't save .state files apart from the initial one as these are ignored since .state is saved in the attachment's asset.
|
10 years ago |