Commit History

Author SHA1 Message Date
  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
  Justin Clark-Casey (justincc) 2b9f0647de Fix a regression where objects crossing regions in the same simulator (on their own or as attachments) with AppDomainLoading = false would create the new state in the source region area rather than the dest. 10 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) a82bd5678e Use an integer when specifying the XWorkItem wait rather than a TimeSpan to avoid a Windows casting issue in SmartThreadPool for large TimeSpans. 12 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) 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) 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) 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 1c3b0da74a Revert "Fix script "Running" behavior" 12 years ago
  BlueWall 6d3ee8bb39 Fix script "Running" behavior 12 years ago
  Justin Clark-Casey (justincc) c386b68373 Aggregate script execution times by linksets rather than individual prims. 12 years ago
  Justin Clark-Casey (justincc) a4b01ef38a Replace script-lines-per-second with the script execution time scaled by its measurement period and an idealised frame time. 12 years ago
  Justin Clark-Casey (justincc) acb1355ff2 Remove property/field duplication in ScriptInstance where it's unnecessary. 12 years ago
  Justin Clark-Casey (justincc) 95ec96bf86 refactor: rename ScriptInstance.m_CurrentResult to m_CurrentWorkItem to make it more understandable as to what it is and what it does (hold a thread pool work item for a waiting of in-progress event) 12 years ago
  Justin Clark-Casey (justincc) 116fbe8258 add current script status to "scripts show" command (running, suspended, etc.) 13 years ago
  Justin Clark-Casey (justincc) cf3ffe5bb4 Fix llAttachToAvatar() 13 years ago
  Marck 2827deffe8 Trigger changed event with CHANGED_TELEPORT when teleporting to another region. 14 years ago
  Melanie c1ad8a3c17 People can't leave their hands ooff "well enough". StateSource 0 was region 14 years ago
  Melanie 21cad5d3ac All scripts are now created suspended and are only unsuspended when the object 14 years ago
  Melanie 9d63f90467 Remove the old (Remoting) region crossing code. Fix the new code to 15 years ago
  Alan Webb 068f54725b Slight change to state management for attach scheduling. 15 years ago
  Melanie 17bdc45c5c Add plumbing for the SceneObjectDeleter to wait for the script engine to 15 years ago
  Jeff Ames 840de6c036 Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt. 15 years ago
  Melanie Thielker 3c338e4e56 Convert both script engines to new region module format. Add proper unload 15 years ago
  Dr Scofield ce1e1854b1 From: Christopher Yeoh <[email protected]> 16 years ago