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
Dale Glass
1a4eb3ac62
Keep return script value
2023-05-19 00:17:36 +02:00
58a221541f
Script engine new function fixes
2023-05-19 00:17:36 +02:00
a4c6930a50
Added context scopes
2023-05-19 00:17:36 +02:00
b4d21c38c3
Updated script isolation files
2023-05-19 00:17:36 +02:00
586bd7ffca
Fixes for code review
2023-05-19 00:17:35 +02:00
7a84f7ee4d
Fix for crash on deleting caches
2023-05-19 00:17:35 +02:00
6f32173025
Fixes to most scripting-related warnings
2023-05-19 00:17:35 +02:00
ad57a5e6fd
Fixed enums in scripting engine
2023-05-19 00:17:35 +02:00
0a3ec92031
Type registeration fixes for scripting engine
2023-05-19 00:17:35 +02:00
Heather Anderson
457728cee1
dropped KALILA global script attributes
2023-05-19 00:17:35 +02:00
Heather Anderson
55b5a2cd03
Continued tightening and testing of the scripting engine "glue" logic
...
- QObject wrappers will now be reused when asked to wrap the same QObject multiple times
- improved error reporting when we can't form a native call from script
- dropped support for having the existing QtScript logic handle Qt object transformations
- assuming that our code will handle all calls into native objects
- changing timer functions to use CTimer* publicly rather than casted QObject*
2023-05-19 00:17:34 +02:00
Heather Anderson
bc6eaf25dc
first pass creating Qt <-> QtScript interface
2023-05-19 00:17:34 +02:00
Heather Anderson
70fbe76341
convert script engine variables from QSharedPointer to std::shared_ptr
2023-05-19 00:17:34 +02:00
Heather Anderson
bd4a035ffb
significant cleanup of ScriptEngineQtScript (which isn't exposed to the scripting engine and shouldn't be @jsdoc'ed)
2023-05-19 00:17:34 +02:00
Heather Anderson
227e899189
more code review using github compiler runs
2023-05-19 00:17:34 +02:00
Heather Anderson
8581022a53
rework ScriptValue to act like a stack variable rather than a pointer
2023-05-19 00:17:34 +02:00
Heather Anderson
f209c5124d
early smoketesting
2023-05-19 00:17:34 +02:00
Heather Anderson
7964f06990
moving EntityItemID from script-engine to shared
2023-05-19 00:17:33 +02:00
Heather Anderson
665ea521e8
shifting classes around and adding static initializers to resolve dependencies on scripting-engine (and drop dependencies from scripting-engine)
2023-05-19 00:17:33 +02:00
Heather Anderson
2dd9d784a9
working to clean up the QtScript implementation and move towards completion of the proxy interface
2023-05-19 00:17:33 +02:00
Heather Anderson
1e018dbc64
isolate calls to the QtScript libraries to an interface we control
2023-05-19 00:17:33 +02:00