c18fd9092e
Fixed assert on ScriptValueV8Wrapper::construct
2023-05-19 00:17:40 +02:00
28079eb2df
Fixed deadlock on start with recent Qt versions
2023-05-19 00:17:40 +02:00
8b9cd84df7
vec3ToScriptValue optimizations
2023-05-19 00:17:40 +02:00
43939290b2
Revert "vec3FromScriptValue replacement attempt"
...
This reverts commit 584e4be0082c07c62b6ad1f17d4258878ce3223c.
2023-05-19 00:17:40 +02:00
dba0925a1c
vec3FromScriptValue replacement attempt
2023-05-19 00:17:40 +02:00
3a207507bf
Optimized EntityItemProperties::copyFromScriptValue
2023-05-19 00:17:40 +02:00
ec3e87da5c
Added ScriptValue::getPropertyNames
2023-05-19 00:17:40 +02:00
e114d86871
Optimization of conversion of vec3 to/from script value
2023-05-19 00:17:40 +02:00
b0e030ada2
Fixed default render states for laser pointers
2023-05-19 00:17:40 +02:00
4062d80445
Added hash maps for faster property search on V8 callbacks
2023-05-19 00:17:40 +02:00
2a2cf3898b
Work on porting laser pointers to local entities, removal of LaserPointer JS API
2023-05-19 00:17:40 +02:00
4d03033c9e
Fixed pick and ray pick scripting interface
2023-05-19 00:17:40 +02:00
ab9f2a7198
Fixed grabbing objects with mouse in desktop mode
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
Alezia Kurdis
ca577f2802
Replace 3dOverlays for Local Entities - part 2
...
Replace 3dOverlays for Local Entities (developer's script)
2023-05-19 00:17:40 +02:00
Alezia Kurdis
0f663d1a4d
Replace 3d Overlays by Local Entities
...
Replace 3d Overlays by Local Entities
This is for the system files.
Another PR will follow for the developer scripts.
2023-05-19 00:17:40 +02:00
e14ae4a96a
Partial fix for asset scripting crash
2023-05-19 00:17:40 +02:00
e75c671a70
Fixed crash with Cameras app
2023-05-19 00:17:39 +02:00
8a2c055adc
Removed 3D overlays functionality entirely
2023-05-19 00:17:39 +02:00
26dd0c7d80
Marked places where 3D overlays need to be replaced with local entities
2023-05-19 00:17:39 +02:00
b52fe9a7d5
Fixed crash on starting in VR mode with V8
2023-05-19 00:17:39 +02:00
ceeac40ea8
Re-enabled WebRTC
2023-05-19 00:17:39 +02:00
819ebc9e49
Fixed events on V8
2023-05-19 00:17:39 +02:00
de75aa1794
Uncommented code that got commented out by accident
2023-05-19 00:17:39 +02:00
Dale Glass
64c0364b2e
Remove old tests, doesn't build on Windows
2023-05-19 00:17:39 +02:00
f241ede316
Initial fixes for building on Windows
2023-05-19 00:17:39 +02:00
Dale Glass
d8488859e2
Add Quat tests, for debugging a problem
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
0fc2ab870a
Add V8 logging category
...
Rename logging category to overte
Make all V8 code use logging categories
2023-05-19 00:17:39 +02:00
633319c111
Reenable vcpkg-clean because GitHub Actions is running out of disk space.
2023-05-19 00:17:39 +02:00
b42a949d03
Find VCPKG libnode
2023-05-19 00:17:39 +02:00
b650da7fc9
Initial VCPKG Node/v8 packaging
2023-05-19 00:17:39 +02:00
3e7bdad500
Fixes in Create App
2023-05-19 00:17:39 +02:00
41760ee3ac
Changed variable in ScriptObjectV8Proxy because it has to be stored as aligned pointer
2023-05-19 00:17:39 +02:00
Dale Glass
6ac2596293
Capture exceptions that happen in signals in ScriptEngine, add test
2023-05-19 00:17:39 +02:00
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
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
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
cd02b22bd7
Don't crash in uncaughtException() if there isn't an exception
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
cb0c62024d
Throw the right exception class, and add the thrown value to it
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
bb74c2ecc9
Allow accessing engine exceptions from ScriptManager
2023-05-19 00:17:39 +02:00
Dale Glass
de02da5fda
Register more metatypes -- more work needed
2023-05-19 00:17:39 +02:00
Dale Glass
b1e2a94d71
Deduplicate QDebug output
2023-05-19 00:17:39 +02:00
Dale Glass
8d6270392d
Make ScriptEngine a QObject instead of the derived class
...
Fix signal -- only needs to be in ScriptEngine
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