Oren Hurvitz
|
6734b94761
Better error messages
|
11 years ago |
Robert Adams
|
a90351cd2c
Remove exception when printing error for failure removing script state.
|
11 years ago |
Justin Clark-Casey (justincc)
|
3d118fb580
In co-op termination, extend EventWaitHandle to give this an indefinite lifetime in order to avoid a later RemotingException if scripts are being loaded into their own domains.
|
11 years ago |
Justin Clark-Casey (justincc)
|
81a90e30c6
Add in-code exaplanation for the change in cancellation signalling in STP 2.2.3. Remove left in Console.WriteLine accidentally inserted in recent 206fb306
|
11 years ago |
Justin Clark-Casey (justincc)
|
206fb306a7
Update SmartThreadPool to latest version 2.2.3 with a major and minor change.
|
11 years ago |
Justin Clark-Casey (justincc)
|
8690a08881
minor: Log an exception if we aren't able to delete a script state file rather than simply ignoring it.
|
11 years ago |
Justin Clark-Casey (justincc)
|
a82bd5678e
Use an integer when specifying the XWorkItem wait rather than a TimeSpan to avoid a Windows casting issue in SmartThreadPool for large TimeSpans.
|
11 years ago |
Justin Clark-Casey (justincc)
|
1a610f30d8
Fix mono 2.4.3 build break by using CreateInstanceAndUnwrap 9 method call deprecated in later .net versions
|
11 years ago |
Justin Clark-Casey (justincc)
|
72dd3633ee
Improve logging by making it clearer which script is failing if an assembly fails to load.
|
11 years ago |
Justin Clark-Casey (justincc)
|
cf168194e5
If ScriptStopStrategy hasn't been set to co-op in [XEngine] config, then continue to generate C# that is functionality identical to historical generation
|
11 years ago |
Justin Clark-Casey (justincc)
|
c8afc8523b
Implement non-wait co-operative termination of scripts for XEngine in addition to termination on wait.
|
11 years ago |
Justin Clark-Casey (justincc)
|
0963ece25b
Implement co-operative script termination if termination comes during a script wait event (llSleep(), etc.)
|
12 years ago |
Justin Clark-Casey (justincc)
|
b8949024bc
Revert "Implement co-operative script termination if termination comes during a script wait event (llSleep(), etc.)"
|
12 years ago |
Justin Clark-Casey (justincc)
|
1b5c41c14a
Implement co-operative script termination if termination comes during a script wait event (llSleep(), etc.)
|
12 years ago |
Justin Clark-Casey (justincc)
|
fccb03227e
Instead of passing separate engine, part and item components to script APIs, pass down IScriptInstance instead.
|
12 years ago |
Justin Clark-Casey (justincc)
|
7978b349bd
refactor: Simplify ScriptInstance by retaining reference to SceneObjectPart instead of sometimes but not always looking it up.
|
12 years ago |
Justin Clark-Casey (justincc)
|
e6fd8365af
Extend default 1 second wait for event completion to other thread script reset (as called by llResetOtherScript()).
|
12 years ago |
Justin Clark-Casey (justincc)
|
512e4c9313
Log situations where workitem event threads are aborted on stop request because they failed to complete event processing within the given timeout.
|
12 years ago |
Justin Clark-Casey (justincc)
|
047270bdc8
Add "debug script log" command to allow setting a numeric debug level on individual IScriptInstances for debugging purposes.
|
12 years ago |
Justin Clark-Casey (justincc)
|
1c9ecc55d3
Instead of printing script errors out to console, put to debug log so that we also get timestamps.
|
12 years ago |
Justin Clark-Casey (justincc)
|
5ba99cbf55
Add IScriptInstance.EventsQueued to match EventsProcessed instead of asking callers to lock and directly inspect the EventQueue
|
12 years ago |
Justin Clark-Casey (justincc)
|
e8df0f1b4c
Add IScriptInstance.EventsProcessed stat so that we can record this information and display in "show scripts" for debug purposes
|
12 years ago |
Melanie
|
c489bc1cd2
Make the scrpt running flag work properly
|
12 years ago |
Melanie
|
1c3b0da74a
Revert "Fix script "Running" behavior"
|
12 years ago |
Justin Clark-Casey (justincc)
|
884d603cac
Rather than instantiating a UTF8 encoding everywhere when we want to supress the BOM, use a single Util.UTF8NoBomEncoding.
|
12 years ago |
Justin Clark-Casey (justincc)
|
916e3bf886
Where possible, use the system Encoding.ASCII and Encoding.UTF8 rather than constructing fresh copies.
|
12 years ago |
BlueWall
|
6d3ee8bb39
Fix script "Running" behavior
|
12 years ago |
Justin Clark-Casey (justincc)
|
d24122b706
Add item id, name, prim name and id to log message when state exists but loading fails.
|
12 years ago |
Justin Clark-Casey (justincc)
|
afcabf5244
Retrigger build - last jenkins run was glitched
|
12 years ago |
Justin Clark-Casey (justincc)
|
5709bed548
Add state file location to errors logged when there's some issue with retrieving state (e.g. exceeds memory limit)
|
12 years ago |