Commit graph

85941 commits

Author SHA1 Message Date
77981d0a64 Fixed build error after rebase 2023-03-22 20:40:50 +01:00
Heather Anderson
558994d685 fixed missing #include required by new template blockingInvokeMethod functions 2023-03-22 20:40:50 +01:00
Heather Anderson
86f2bc16cc dropped KALILA global script attributes 2023-03-22 20:40:50 +01:00
Heather Anderson
425cf78005 dropped unused meta declaration 2023-03-22 20:40:50 +01:00
Heather Anderson
362d57d881 remove requirement that ScriptManager::evaluate be meta-invokable 2023-03-22 20:40:50 +01:00
Heather Anderson
fec687affe fix typo preventing methods from being discovered on scriptable objects when we're ignoring superclasses 2023-03-22 20:40:50 +01:00
Heather Anderson
71ce8b6bf2 identify the largest number of parameters any of our method overrides accept and discard script parameters beyond that count 2023-03-22 20:40:50 +01:00
Heather Anderson
baf8aef694 force Qt registration of PerformanceManager::PerformancePreset, as it's used as a return datatype in a script-callable function (and doesn't get auto-registered) 2023-03-22 20:40:50 +01:00
Heather Anderson
703a2eee7b 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-03-22 20:40:50 +01:00
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
115acc157c not sure what would have broken this but... adding required windows dependencies for MIDI to operate 2023-03-22 20:40:49 +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
0d39770673 hopefully resolves the last reported link error on macos 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
ad05086a9c
Merge pull request #347 from JulianGro/audio
Throw warning on empty audio device list
2023-03-18 21:13:15 +01:00
09a88a5d0f Add KDevelop to gitignore 2023-03-12 16:38:32 +01:00
40cdeec4d9 Fix "Invalid token at start of a preprocessor expression" 2023-03-12 16:36:14 +01:00
88a0d6217e Throw warning if audio devices list is empty instead of debug message. 2023-03-12 16:35:55 +01:00
cf6c974c5d
Update license year 2023-03-11 19:35:10 +01:00
842a78e6bc
Add PayPal to FUNDING.yml 2023-03-09 12:58:43 +01:00
8276e429c8
Merge pull request #338 from JulianGro/master
Add FUNDING.yml
2023-03-06 22:11:04 +01:00
6ce8dec43b Add FUNDING.yml 2023-03-06 21:31:07 +01:00
Dale Glass
889f26d8d9
Merge pull request #330 from AleziaKurdis/placesAppReplaceVircadiaFromFed
Remove Vircadia, add metax.zone from the federation.json
2023-02-18 21:12:24 +01:00
Dale Glass
7391405058
Merge pull request #329 from SilverfishVR/master
fix api docs Window.prompt() example
2023-02-18 21:10:45 +01:00
Alezia Kurdis
86761cc2ab
remove Vircadia, add metax.zone
This PR remove Vircadia from the Federation (Since it is not really part of a federation when it is one way and not even working with us)
This PR also add "https://api.mv.metax.zone" as part of the federation (minimally for testing/development) 

Note: Vircadia should remain in the place app as an "external" region for those who lock it in the create app. It will be up to them to keep it or let it go.
2023-02-17 22:30:59 -05:00
SilverfishVR
ec25cfd60a fix api docs Window.prompt() example
example did not work as expected
2023-02-17 03:25:57 +01:00
789fd834fe
Merge pull request #325 from JulianGro/native_GHA
GitHub Actions update actions
2023-02-15 14:56:25 +01:00
53afe4a6aa Update actions that were formerly incompatible with our setup. 2023-02-15 09:33:14 +01:00
e81cf369c9
Merge pull request #315 from overte-org/JulianGro-doxygen
GitHub Actions Doxygen update
2023-02-11 21:49:07 +01:00