Dale Glass
1e1b96765f
Add test for update event
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
8f82750f2a
Initial implementation of raiseException and test
2023-05-19 00:17:39 +02:00
Dale Glass
0369949d9b
Add tests for object registration and exception raising
2023-05-19 00:17:39 +02:00
Dale Glass
4beb5eceeb
Tests for runtime exceptions and throw()
2023-05-19 00:17:39 +02:00
Dale Glass
2a5ec7db3d
Rework tests, add tests for exceptions
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
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
e35aa8046d
Add more Doxygen docs
...
Doesn't work right in ScriptManager, looks like a conflict with JSDoc
2023-05-19 00:17:38 +02:00
6bd8a8d503
V8 threading safetyu improvements
2023-05-19 00:17:37 +02:00
c8898e8366
Added script include test
2023-05-19 00:17:37 +02:00
e786fd4864
Fixed Script.require
2023-05-19 00:17:37 +02:00
386242d9c7
Fixed adding properties to methods
2023-05-19 00:17:37 +02:00
Dale Glass
e72bf600ce
Add missing require test
2023-05-19 00:17:37 +02:00
Dale Glass
ac7ebe2888
Add hasProperty for checking whether a property exists
2023-05-19 00:17:36 +02:00
2f9f78fb87
Fixed setting properties of ScriptObjectV8Proxy
2023-05-19 00:17:36 +02:00
0b8958204f
Fixed vector math, added simple test for it
2023-05-19 00:17:36 +02:00
Dale Glass
e1c22b5c7c
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-05-19 00:17:36 +02:00
827ddf5958
Added simple compile test function
2023-05-19 00:17:36 +02:00
Dale Glass
2a394ee290
Add CMakeLists
2023-05-19 00:17:36 +02:00
Dale Glass
e5217c44f0
Build fixes
2023-05-19 00:17:36 +02:00
Dale Glass
c691e8691d
Partial changes
2023-05-19 00:17:36 +02:00
Dale Glass
007db5166e
Initial scripting engine testing code
2023-05-19 00:17:36 +02:00