e9984c72f0
Added QTimer* script data type and some nullptr checks
2023-05-19 00:17:35 +02:00
7a84f7ee4d
Fix for crash on deleting caches
2023-05-19 00:17:35 +02:00
b00c1ae91b
Fixes to scripting-related warnings (lambdas)
2023-05-19 00:17:35 +02:00
6f32173025
Fixes to most scripting-related warnings
2023-05-19 00:17:35 +02:00
a14c6444f1
Forgot to add ResourceScriptingInterface.cpp before
2023-05-19 00:17:35 +02:00
5a9b0ccfb0
Replaced regular mutex with a read write one to improve performance
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
50a6a63cc3
Fixes to problems with meta-types
2023-05-19 00:17:35 +02:00
33c8607e15
Proper handling of enum classes for scripting
2023-05-19 00:17:35 +02:00
95434a26a8
Attempt to debug broken enums in scripting
2023-05-19 00:17:35 +02:00
ece2b8096b
Fixed list item removal during access bug
2023-05-19 00:17:35 +02:00
4d61d4fe67
Disallowed incorrect Vec3 to float cast in script engine
2023-05-19 00:17:35 +02:00
c78ec80539
Fixed build error after rebase
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
67260b92bd
fix typo preventing methods from being discovered on scriptable objects when we're ignoring superclasses
2023-05-19 00:17:35 +02:00
Heather Anderson
a822110a62
identify the largest number of parameters any of our method overrides accept and discard script parameters beyond that count
2023-05-19 00:17:35 +02:00
Heather Anderson
0bce0668f7
minor tweaks in response to code review (very belated) and reported issues
...
- explicitly registering some enums with Qt at runtime (needed if they're function return values)
- replaced references to engine() with local variables if they already existed
2023-05-19 00:17:34 +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
bd04554150
changes from code review suggestions
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
82535cab90
more shifting around of ScriptEngineQtScript declaration
2023-05-19 00:17:34 +02:00
Heather Anderson
c9bf36e57b
more simplification of ScriptEngineQtScript declarations
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
ef16b83362
patch review and removal of unnecessary differences
2023-05-19 00:17:34 +02:00
Heather Anderson
86348b315e
finished coding and smoketested ScriptContextQtAgent (required to get Scriptable functional for its users)
2023-05-19 00:17:34 +02:00
Heather Anderson
fb93e39f66
more code review using github compiler runs (hopefully the macos build will link with this)
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
16c2d76efa
more debugging using github compiler runs
2023-05-19 00:17:34 +02:00
Heather Anderson
23edfa3747
more changes in response to build log on other compilers
2023-05-19 00:17:34 +02:00
Heather Anderson
23776abce3
changes in response to build log on other compilers
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
5f2b2c90a2
added custom type support
2023-05-19 00:17:34 +02:00
Heather Anderson
45ef458af4
dropping dependencies from networking to script-engine by moving EntityScriptClient and LocationScriptingInterface
2023-05-19 00:17:33 +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
1f4f458942
adding basic script-engine documentation
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
Heather Anderson
713b29ee41
ensure all #include's to QtScript are labeled as such (easier to find)
2023-05-19 00:17:33 +02:00
d2a768c2f0
Renamed environment variables
2022-09-08 22:18:50 +02:00
9b6d202a21
Rebranding and fixing URLs
2022-09-08 22:10:13 +02:00
Dale Glass
8a12bf1749
Replace usage of deprecated QWheelEvent members
2022-06-10 00:46:19 +02:00
Dale Glass
efdc1e9058
Fix deprecated int to flags conversion
2022-06-10 00:46:19 +02:00
Dale Glass
45a3c89e17
Replace deprecated qVariantFromValue
2022-06-10 00:46:19 +02:00
Dale Glass
50e1399cb5
Fix new[]/delete mismatch warning
2022-06-10 00:46:19 +02:00
Dale Glass
a7f6fed937
Replace deprecated .toSet()
2022-06-10 00:46:19 +02:00
Dale Glass
87ba20ecb4
Only whitespace changes
2022-06-10 00:46:19 +02:00