fe4a097d01
Fix access-after-delete on leaving domain with entity scripts
2024-11-10 00:48:05 +01:00
HifiExperiments
f2d8fa2fe4
whitelist -> allowlist
2024-08-13 17:29:53 -07:00
9d8b801a77
Fix unhandled std::bad_weak_ptr
2024-06-18 00:40:04 +02:00
e490716845
Temporary fix for some script messages not being transmitted
2024-06-13 23:11:52 +02:00
HifiExperiments
f0da309a4f
fix more warnings
2024-06-06 18:00:11 -07:00
225578febe
Added simple protection for avatar URL
2024-03-23 01:19:05 +01:00
d75efdb4ca
Script messaging fix
2024-01-10 00:35:56 +01:00
dfbc1d8865
Server side entity script messages
2023-12-29 20:28:54 +01:00
274867bc47
Work on better subscribtion to script messages
2023-12-23 20:16:39 +01:00
ee980cbc5b
Initial script logging functions
2023-12-23 20:16:39 +01:00
8332e41989
Remove File API and limit audio recording file location
2023-11-01 00:29:15 +01:00
6dc9c1a3f2
Merge pull request #574 from overte-org/fix/script_reload2
...
Fix most of the crash causes on script engine reload/shutdown
2023-08-29 23:48:32 +02:00
1ab46f68e3
Fixed entity script reloads
2023-08-28 23:34:19 +02:00
Dale Glass
1efd8d27b9
Put require() in the global scope
2023-08-21 01:08:37 +02:00
166f7223d1
Fix most of the crash causes on script engine reload/shutdown
2023-08-18 12:12:17 +02:00
a84c68f4ff
Add JS profiling API
2023-08-12 16:18:40 +02:00
f72e8948b0
Fixed entity script whitelist and a bug in makeError
2023-05-19 00:17:41 +02:00
fe9babf02d
Scripting-related cleanup
2023-05-19 00:17:41 +02:00
4107f40c7c
Fixed XMLHttpRequest crash
2023-05-19 00:17:41 +02:00
f79ec0f293
Work on script engine exceptions, cleanup
2023-05-19 00:17:41 +02:00
fdd8cb290c
Optimized getEntityProperties
2023-05-19 00:17:40 +02:00
589ca2a399
Converted overlay getProperty calls to Entities.getEntityProperties
2023-05-19 00:17:40 +02:00
6c1fd88fb1
Fixed crash with asset scripting crash
2023-05-19 00:17:40 +02:00
819ebc9e49
Fixed events on V8
2023-05-19 00:17:39 +02:00
Dale Glass
4d8a20aed7
Use logging categories everywhere in the base scripting engine code
2023-05-19 00:17:39 +02:00
Dale Glass
acd19f7c40
Review fix: add flag to choose whether to abort script on exception
2023-05-19 00:17:39 +02:00
Dale Glass
aec756b0b9
Register metatypes, fixes warnings
...
Remove executeOnScriptThread from Script JS API -- seems unused, is marked deprecated, and for some reason
registration didn't resolve the warnings.
2023-05-19 00:17:39 +02:00
Dale Glass
bb74c2ecc9
Allow accessing engine exceptions from ScriptManager
2023-05-19 00:17:39 +02:00
Dale Glass
67e7a7375a
Further exception work on V8
...
* Get rid of maybeEmitUncaughtException
* Mostly get rid of makeError
* Introduce exception hierarchy, change exceptions to shared_ptr
* Simplify exception throwing code
2023-05-19 00:17:39 +02:00
Dale Glass
c0e62c5cc2
Initial exception handling
...
Make exception handling use the new ScriptException class.
Add exception signal
Throw exceptions in script evaluation
Remove references to ScriptManager from ScriptEngine
2023-05-19 00:17:39 +02:00
8e718262bd
Fixed object containing UniquePersistent
2023-05-19 00:17:38 +02:00
ae7d229d0e
Fix copyright headers
2023-05-19 00:17:38 +02:00
Dale Glass
02a0e33e95
Add NETWORKLESS_TEST_SCRIPT type to NetworkManager.
...
This is a slightly hacky way to make ScriptManager work without any
networking, and minimize the number of dependencies needed to run
a test.
2023-05-19 00:17:38 +02:00
Dale Glass
4d70155e59
Create ScriptManagerScriptingInterface to move off the scripting API into its own class
...
Add a lot of documentation
2023-05-19 00:17:38 +02:00
b554fc70ea
Added script timers performance debugging
2023-05-19 00:17:38 +02:00
1ad1aee11f
Minor scripting-related fixes
2023-05-19 00:17:38 +02:00
5809576577
Fixed Create App
2023-05-19 00:17:37 +02:00
c3417b807c
Increased thread safety in V8
2023-05-19 00:17:37 +02:00
3e692a60b4
V8 fixes
2023-05-19 00:17:37 +02:00
3a5b927979
Functions connected to signals now use context that was active during connecting
2023-05-19 00:17:37 +02:00
044cd506a6
Script engine thread safety improvements
2023-05-19 00:17:37 +02:00
4f4c8931a9
V8 fixes, incl. enum API objects fix
2023-05-19 00:17:37 +02:00
e786fd4864
Fixed Script.require
2023-05-19 00:17:37 +02:00
076349a488
Re-enabled script module cache creation
2023-05-19 00:17:37 +02:00
5f2c13da52
Added debug function to list object members
2023-05-19 00:17:36 +02:00
ed968e1ebd
Further work on evaluateInClosure
2023-05-19 00:17:36 +02:00
70d4a43009
Fixed evaluateInClosure and other V8 stuff
2023-05-19 00:17:36 +02:00
0d454eb6e8
V8 fixes, including making debug console work
2023-05-19 00:17:36 +02:00
abfcbb7588
Added V8 Locker for moving script engine to a new thread
2023-05-19 00:17:36 +02:00
827ddf5958
Added simple compile test function
2023-05-19 00:17:36 +02:00