Commit graph

85989 commits

Author SHA1 Message Date
30620d8899 Fixed object deletion event, temporarily disabled watchdog log commands to make reading logs easier 2023-03-22 20:40:53 +01:00
0c9a403313 V8 fixes, including making debug console work 2023-03-22 20:40:53 +01:00
797d92d5dc More fixes for V8 2023-03-22 20:40:53 +01:00
dc9044b3b3 Fixed setting properties of ScriptObjectV8Proxy 2023-03-22 20:40:52 +01:00
3ae76b173d Fixed vector math, added simple test for it 2023-03-22 20:40:52 +01:00
a8f913a359 Fixed method calls 2023-03-22 20:40:52 +01:00
Dale Glass
3b9f198546 Reduce V8 stack size to 256K. Otherwise the interface can be crashed with a stack overflow in a script. 2023-03-22 20:40:52 +01:00
Dale Glass
c1daffd283 Initial support for a directory with test scripts
This way there's no need to rebuild the test every time.
Script dir is symlinked from the source into the binary dir.
2023-03-22 20:40:52 +01:00
136a6f0033 Fixed C++ function calls for V8 2023-03-22 20:40:52 +01:00
e80ee4a1f0 Added V8 Locker for moving script engine to a new thread 2023-03-22 20:40:52 +01:00
784043dd52 Added simple compile test function 2023-03-22 20:40:52 +01:00
Dale Glass
f6765d41e7 Fix animation tests build 2023-03-22 20:40:52 +01:00
Dale Glass
e2b140848f Keep return script value 2023-03-22 20:40:52 +01:00
Dale Glass
34ab0f10e0 Add CMakeLists 2023-03-22 20:40:52 +01:00
Dale Glass
a462378ba3 Build fixes 2023-03-22 20:40:52 +01:00
Dale Glass
ae5042c52b Partial changes 2023-03-22 20:40:52 +01:00
Dale Glass
16b53fe4fa Initial scripting engine testing code 2023-03-22 20:40:52 +01:00
Dale Glass
2d4c4bad62 Fix tabulation 2023-03-22 20:40:52 +01:00
Dale Glass
1d81d6c543 Use sampler library if present 2023-03-22 20:40:51 +01:00
Dale Glass
13f789c16c Remove requirement for sampler library
Library is not present on some distributions, like Fedora, and not used in the code currently
2023-03-22 20:40:51 +01:00
3afdb787d6 Script engine new function fixes 2023-03-22 20:40:51 +01:00
c4047cb703 Added context scopes 2023-03-22 20:40:51 +01:00
f0e1327032 Add V8 handle scopes 2023-03-22 20:40:51 +01:00
e1fb864c7a Updated script isolation files 2023-03-22 20:40:51 +01:00
5769e89cff Initial V8 support, not working yet 2023-03-22 20:40:51 +01:00
84c4719775 Initial cmake files for V8 2023-03-22 20:40:51 +01:00
acee9afc4c Added V8 vcpkg files 2023-03-22 20:40:51 +01:00
79e4093f73 Replaced withReadLock with resultWithReadLock in ScriptSignalQtProxy::findConnection 2023-03-22 20:40:51 +01:00
5a4cf06134 Fixes for code review 2023-03-22 20:40:51 +01:00
34fe6de3cb Fix build error on Windows 2023-03-22 20:40:51 +01:00
def8555b99 Added scoring system for determining overloaded function to call 2023-03-22 20:40:51 +01:00
f926e8d30c Fixed clearTimeout behavior when called with expired timer 2023-03-22 20:40:50 +01:00
8494ce867c Added QTimer* script data type and some nullptr checks 2023-03-22 20:40:50 +01:00
46b60e244a Fixed simplifiedNametag 2023-03-22 20:40:50 +01:00
9f4997bb7d Fix build error on MacOS 2023-03-22 20:40:50 +01:00
95834a36f7 Fix for crash on deleting caches 2023-03-22 20:40:50 +01:00
adee1aeadf Fixes to scripting-related warnings (lambdas) 2023-03-22 20:40:50 +01:00
9fe83882e4 Fixes to most scripting-related warnings 2023-03-22 20:40:50 +01:00
3d673acaad Forgot to add ResourceScriptingInterface.cpp before 2023-03-22 20:40:50 +01:00
9b301746ee Replaced regular mutex with a read write one to improve performance 2023-03-22 20:40:50 +01:00
b44a2a9339 Fixed enums in scripting engine 2023-03-22 20:40:50 +01:00
d0b80ce64b Fixed callEntityMethod arguments in grab.js 2023-03-22 20:40:50 +01:00
8d5403362d Type registeration fixes for scripting engine 2023-03-22 20:40:50 +01:00
bf99624086 Fixes to problems with meta-types 2023-03-22 20:40:50 +01:00
13c755903f Proper handling of enum classes for scripting 2023-03-22 20:40:50 +01:00
d9c3fcaa16 Attempt to debug broken enums in scripting 2023-03-22 20:40:50 +01:00
96b4149578 Fixed list item removal during access bug 2023-03-22 20:40:50 +01:00
8349e8e305 Disallowed incorrect Vec3 to float cast in script engine 2023-03-22 20:40:50 +01:00
77981d0a64 Fixed build error after rebase 2023-03-22 20:40:50 +01:00
Heather Anderson
558994d685 fixed missing #include required by new template blockingInvokeMethod functions 2023-03-22 20:40:50 +01:00