Commit graph

86182 commits

Author SHA1 Message Date
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
4d6889a677 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-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
742fa225f2 not sure what would have broken this but... adding required windows dependencies for MIDI to operate 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
d868143da0 hopefully resolves the last reported link error on macos 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
b1bf855202
Merge pull request #412 from daleglass-overte/update_tbb
Update tbb
2023-05-18 20:47:36 +02:00
Dale Glass
1138c6c720 Remove fix-static-build.patch, doesn't apply.
Fix missing PATCHES directive to make the other patch work.
2023-05-16 19:07:32 +02:00
Dale Glass
7d08df3f82 Fix build on Fedora.
Fix portfile license handling.
Fix tbb choking on Qt's 'emit' macro.
2023-05-16 18:56:33 +02:00
584ac3c15a Update tbb to fix building on Apple M1 2023-05-16 18:21:35 +02:00
1ab7d3b119
Merge pull request #399 from overte-org/gha_aarch64
Update GitHub Actions
2023-05-12 20:45:40 +02:00
b097976a3e
Merge pull request #397 from AleziaKurdis/PlaceApp_fileProtocoleSupport
Places app: support for file URI scheme
2023-05-12 20:44:53 +02:00
bad64acecb
Merge pull request #403 from AleziaKurdis/placesApp-tpOnEnter
Places App: Enter to teleport
2023-05-12 20:35:05 +02:00
Alezia Kurdis
cb4a443920
Places App: Enter to teleport
This PR add the possibility to press "Enter" to initiate a teleportation from the value in the search/address bar of the Places App.
(In addition to the current teleport button)
This is a more intuitive behaviour since everyone is used to this in the web browsers.
2023-05-11 21:43:40 -04:00
b411335998 Do not try to package on Linux aarch64 as it currently fails trying to build server-console.
The packaging step on Linux produces an empty archive anyways, so we just disable it.
2023-05-11 13:01:24 +02:00
dc01ba50cc Add Dockerfile for aarch64 CI build containers 2023-05-11 12:38:47 +02:00
0f60e35d26 Do not clear working directory, since we always run in a fresh VM or container. 2023-05-11 12:35:39 +02:00
670841eb6b Change job names 2023-05-11 12:35:08 +02:00
d85d48af45 Switch to using an aarch64 Docker container instead of running directly on the runner. 2023-05-11 12:34:54 +02:00
cc476c75c3 Don't try to run macOS-10.15 jobs as their runners have been shut down. 2023-05-11 12:29:50 +02:00
f3f07869b5 Change license of Dockerfiles. 2023-05-11 12:28:49 +02:00
42565dcdcd Add systemd-logging dependency to server Dockerfiles 2023-05-11 12:27:53 +02:00
2c54cc7ff5 Fix typos in Dockerfiles 2023-05-11 12:25:55 +02:00
Alezia Kurdis
74eefac999
Places app: support for file URI scheme
This PR adds the support of URI starting by "file:/"
in the places app. (to allow to load local serverless json)
2023-05-08 21:43:35 -04:00
0bfdf92647
Merge pull request #392 from daleglass-overte/fix-unique-ptr-delete
Fix unique_ptr new[]/delete mismatch
2023-05-06 00:38:03 +02:00
Dale Glass
0a2d733c39 Fix unique_ptr new[]/delete mismatch
This is likely a crash fix
2023-05-05 23:59:09 +02:00
6313bc5295
Merge pull request #380 from overte-org/qml_remove_deprecated
Remove styles-uit and controls-uit QML modules
2023-05-01 19:00:00 +02:00