Commit graph

2122 commits

Author SHA1 Message Date
Heather Anderson
81165ea10c 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-03-22 20:40:50 +01:00
Heather Anderson
521ef65ed8 first pass creating Qt <-> QtScript interface 2023-03-22 20:40:49 +01:00
Heather Anderson
1156275b00 changes from code review suggestions 2023-03-22 20:40:49 +01:00
Heather Anderson
a1696bb850 convert script engine variables from QSharedPointer to std::shared_ptr 2023-03-22 20:40:49 +01:00
Heather Anderson
4389fd1e68 more shifting around of ScriptEngineQtScript declaration 2023-03-22 20:40:49 +01:00
Heather Anderson
69566fa924 more simplification of ScriptEngineQtScript declarations 2023-03-22 20:40:49 +01:00
Heather Anderson
36ff1697da significant cleanup of ScriptEngineQtScript (which isn't exposed to the scripting engine and shouldn't be @jsdoc'ed) 2023-03-22 20:40:49 +01:00
Heather Anderson
b4669e7173 patch review and removal of unnecessary differences 2023-03-22 20:40:49 +01:00
Heather Anderson
3282f1ab99 finished coding and smoketested ScriptContextQtAgent (required to get Scriptable functional for its users) 2023-03-22 20:40:49 +01:00
Heather Anderson
b389c85dc2 more code review using github compiler runs (hopefully the macos build will link with this) 2023-03-22 20:40:49 +01:00
Heather Anderson
f40faabfcb more code review using github compiler runs 2023-03-22 20:40:49 +01:00
Heather Anderson
4816b9356a more debugging using github compiler runs 2023-03-22 20:40:49 +01:00
Heather Anderson
64f6997ebf more changes in response to build log on other compilers 2023-03-22 20:40:49 +01:00
Heather Anderson
68d697ca6c changes in response to build log on other compilers 2023-03-22 20:40:49 +01:00
Heather Anderson
608a21c9a3 rework ScriptValue to act like a stack variable rather than a pointer 2023-03-22 20:40:49 +01:00
Heather Anderson
b397b8d4fa early smoketesting 2023-03-22 20:40:49 +01:00
Heather Anderson
30ad00dbe8 added custom type support 2023-03-22 20:40:48 +01:00
Heather Anderson
b2c0b92869 dropping dependencies from networking to script-engine by moving EntityScriptClient and LocationScriptingInterface 2023-03-22 20:40:48 +01:00
Heather Anderson
dbf633d218 moving EntityItemID from script-engine to shared 2023-03-22 20:40:48 +01:00
Heather Anderson
fce56f10d4 shifting classes around and adding static initializers to resolve dependencies on scripting-engine (and drop dependencies from scripting-engine) 2023-03-22 20:40:48 +01:00
Heather Anderson
7fe33aaa69 adding basic script-engine documentation 2023-03-22 20:40:48 +01:00
Heather Anderson
c4d9285614 working to clean up the QtScript implementation and move towards completion of the proxy interface 2023-03-22 20:40:48 +01:00
Heather Anderson
f7922c2535 isolate calls to the QtScript libraries to an interface we control 2023-03-22 20:40:48 +01:00
Heather Anderson
7e612655f0 ensure all #include's to QtScript are labeled as such (easier to find) 2023-03-22 20:40:47 +01: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
c6f1e6410e Updated some URLs, rebranded documentation and changed default metaverse server address 2022-02-09 23:57:24 +01:00
Kalila
03b5b83b67
Merge pull request #1339 from odysseus654/pr/make_shared
Housekeeping: use of std::make_shared / QSharedPointer::create.
2021-12-09 17:14:04 -05:00
Dale Glass
d77c8bbe41 Fix warnings related to deprecated usage of multiple keys in QHash and QMap
This replaces those uses with QMultiHash and QMultiMap
2021-11-26 17:53:23 +01:00
Heather Anderson
bcce9a2091 convert explicit shared pointer creation (using "new") to make_shared where possible/appropriate 2021-09-11 15:15:04 -07:00
Heather Anderson
ab4d70760e review and cleanup of "#include <QtCore/QSharedPointer>" 2021-09-10 21:40:54 -07:00
Dale Glass
24b2cdfcd2 Fix QString::SplitBehavior deprecation, replace with Qt:: 2021-08-06 20:16:10 +02:00
Kalila
0193e0f4d6
Merge pull request #1244 from digisomni/fix/lookup-string-spaces
Add ability for 'handleLookupString' to have spaces.
2021-07-12 17:07:29 -04:00
David Rowe
89c527f0d8 Update Doxygen group tags to use /// format 2021-07-01 15:59:58 +12:00
Kalila
40f81e4866
Merge pull request #1223 from odysseus654/pr/scripting-docs
Ensuring minimal documentation for classes declared in script-engine
2021-06-29 19:09:26 -04:00
Kalila
b86e4b98a9
Merge pull request #1249 from digisomni/fix/docs-links-dev
Update user docs links "docs.vircadia.dev" -> "docs.vircadia.com".
2021-06-27 05:55:13 -04:00
David Rowe
e48e02d8c6 Fix JSDoc typo 2021-06-22 20:59:06 +12:00
Kalila L
90aaa85089 Update user docs links "docs.vircadia.dev" -> "docs.vircadia.com". 2021-06-21 12:01:37 -04:00
Kalila L
51e6468abd Rename 'URL_SCHEME_HIFI' -> 'URL_SCHEME_VIRCADIA'. 2021-06-11 17:04:16 -04:00
Kalila
d8a0d13812
Merge pull request #1206 from odysseus654/pr/drop-script-debugging
drop remaining references to QScriptEngineDebugger
2021-06-03 18:01:40 -04:00
Heather Anderson
259cd20b87 Ensuring minimal documentation for classes declared in script-engine 2021-05-29 22:50:39 -07:00
David Rowe
4d11d1d515 Convert all "/**jsdoc" occurrences to "/*@jsdoc" 2021-05-12 10:54:45 +12:00
Heather Anderson
04f8ccd2b0 drop remaining references to QScriptEngineDebugger 2021-05-08 20:31:03 -07:00
Julian Groß
ecb7c47f1a Rename fbx folder to model-serializers 2021-04-15 19:26:10 +02:00