39c75fd7e6
Fixed crash with Cameras app
2023-03-22 20:40:58 +01:00
420e861a36
Removed 3D overlays functionality entirely
2023-03-22 20:40:58 +01:00
91d7abc883
Marked places where 3D overlays need to be replaced with local entities
2023-03-22 20:40:58 +01:00
37a1320a30
Fixed crash on starting in VR mode with V8
2023-03-22 20:40:58 +01:00
f6c7281062
Re-enabled WebRTC
2023-03-22 20:40:58 +01:00
6218ec960e
Fixed events on V8
2023-03-22 20:40:58 +01:00
847faa13de
Uncommented code that got commented out by accident
2023-03-22 20:40:58 +01:00
Dale Glass
500ca0fd30
Remove old tests, doesn't build on Windows
2023-03-22 20:40:58 +01:00
54e5183b9b
Initial fixes for building on Windows
2023-03-22 20:40:58 +01:00
Dale Glass
93db8fdb69
Add Quat tests, for debugging a problem
2023-03-22 20:40:58 +01:00
Dale Glass
f90e124d0d
Use logging categories everywhere in the base scripting engine code
2023-03-22 20:40:58 +01:00
Dale Glass
5866494244
Add V8 logging category
...
Rename logging category to overte
Make all V8 code use logging categories
2023-03-22 20:40:58 +01:00
0d69b0d232
Reenable vcpkg-clean because GitHub Actions is running out of disk space.
2023-03-22 20:40:58 +01:00
a525f1402a
Find VCPKG libnode
2023-03-22 20:40:58 +01:00
bb06c2a125
Initial VCPKG Node/v8 packaging
2023-03-22 20:40:57 +01:00
20a674823c
Fixes in Create App
2023-03-22 20:40:57 +01:00
542228594b
Changed variable in ScriptObjectV8Proxy because it has to be stored as aligned pointer
2023-03-22 20:40:57 +01:00
Dale Glass
f2e5f13f1d
Capture exceptions that happen in signals in ScriptEngine, add test
2023-03-22 20:40:57 +01:00
Dale Glass
6a189d33af
Add test for update event
2023-03-22 20:40:57 +01:00
Dale Glass
ce1ac5d00e
Review fix: add flag to choose whether to abort script on exception
2023-03-22 20:40:57 +01:00
Dale Glass
72009abd67
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-03-22 20:40:57 +01:00
Dale Glass
3d4818d793
Initial implementation of raiseException and test
2023-03-22 20:40:57 +01:00
Dale Glass
a403def46e
Add tests for object registration and exception raising
2023-03-22 20:40:57 +01:00
Dale Glass
96321d36a4
Don't crash in uncaughtException() if there isn't an exception
2023-03-22 20:40:57 +01:00
Dale Glass
2a59590bf5
Tests for runtime exceptions and throw()
2023-03-22 20:40:57 +01:00
Dale Glass
6a63dbaa09
Throw the right exception class, and add the thrown value to it
2023-03-22 20:40:57 +01:00
Dale Glass
5984c19df7
Rework tests, add tests for exceptions
2023-03-22 20:40:57 +01:00
Dale Glass
7df2f69481
Allow accessing engine exceptions from ScriptManager
2023-03-22 20:40:57 +01:00
Dale Glass
afab0560d2
Register more metatypes -- more work needed
2023-03-22 20:40:57 +01:00
Dale Glass
0d73d9c137
Deduplicate QDebug output
2023-03-22 20:40:57 +01:00
Dale Glass
768ef0bf48
Make ScriptEngine a QObject instead of the derived class
...
Fix signal -- only needs to be in ScriptEngine
2023-03-22 20:40:57 +01:00
Dale Glass
299ca7e940
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-03-22 20:40:57 +01:00
Dale Glass
1298eb0e24
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-03-22 20:40:57 +01:00
710ceb1a61
Fixed ScriptObjectV8Proxy access after delete
2023-03-22 20:40:57 +01:00
6c907fbbed
Addeed V8 getters/setters to ScriptVariantV8Proxy, fixed animation scripting
2023-03-22 20:40:57 +01:00
ec0f8fbf05
Reverted change that broke AnimationObjec scripting interface
2023-03-22 20:40:56 +01:00
3c72113b6d
Fixed deadlock in updating animation state handlers
2023-03-22 20:40:56 +01:00
982dbcde8e
V8 QObject pointer handling changes
2023-03-22 20:40:56 +01:00
7a43202951
Fixed crash on standing up from sit script
2023-03-22 20:40:56 +01:00
4b0c7674ad
Fixed object containing UniquePersistent
2023-03-22 20:40:56 +01:00
3c9f92e790
Fix broken hifi-deps CONTROL file
2023-03-22 20:40:56 +01:00
546d04167f
Fixed deadlock in Create App
2023-03-22 20:40:56 +01:00
99592e7d85
Fix copyright headers
2023-03-22 20:40:56 +01:00
Dale Glass
067a66a714
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-03-22 20:40:56 +01:00
7a830f59db
Fix V8 memory leak and persistend handle problems
2023-03-22 20:40:56 +01:00
Dale Glass
17e286e1d1
Review fixes
2023-03-22 20:40:56 +01:00
Dale Glass
b4fa14192b
Add a ScriptManagerScriptingInterface.cpp, will be useful later.
2023-03-22 20:40:56 +01:00
Dale Glass
6ff331fb8c
More Doxygen for ScriptEngine
2023-03-22 20:40:56 +01:00
Dale Glass
76c28532f9
A bit more documentation
2023-03-22 20:40:56 +01:00
Dale Glass
946d7ac6e3
Create ScriptManagerScriptingInterface to move off the scripting API into its own class
...
Add a lot of documentation
2023-03-22 20:40:56 +01:00