Commit graph

8558 commits

Author SHA1 Message Date
Dale Glass
57e1c99fff Initialize PathUtils and logging in constructor 2023-11-11 19:34:52 +01:00
Dale Glass
a4e79ff806 Make Application destructor work when terminating early 2023-11-11 19:23:57 +01:00
Dale Glass
c748064d0a Make _applicationOverlay a shared_ptr 2023-11-11 17:59:31 +01:00
Dale Glass
812d043587 Call setupEssentials() in initialize() 2023-11-11 17:59:18 +01:00
Dale Glass
a22b06c3e7 Change _graphicsEngine to a shared_ptr 2023-11-11 17:41:22 +01:00
Dale Glass
3dabf23ff4 Change _octreeProcessor and _entityEditSender to shared_ptr 2023-11-11 17:32:12 +01:00
Dale Glass
35b4c44e9a Delay initializing shared pointers 2023-11-11 16:45:28 +01:00
Dale Glass
059600e8d4 Initial effort to reorganize the startup code.
This is intended to make things like plugin initialization more sane,
and make Qt happier. Qt wants QApplication to start as soon as possible,
but our code's attempt to load the entire world in the Application
constructor doesn't quite mesh with this.

This is an effort to first create Application much earlier, and do as
little as possible in the constructor, moving almost all initialization
to a later init function.

A later stage would be to split the giant mess of init code into more
digestible sections that run in some sort of logical order.
2023-11-11 12:32:17 +01:00
438893ad58 Revert "Merge pull request #705 from daleglass-overte/fix-plugin-crash"
This reverts commit d1cbfa8838, reversing
changes made to 665d21210a.
2023-11-08 18:49:34 +01:00
Dale Glass
8fa46e2be3 Fix crash when starting with --display, --disable-displays or --disable-inputs
This happens because the PluginManager doesn't exist yet at the time when these
options are handled. Fix this by moving PluginManager initialization to an
earlier stage of the code.
2023-11-05 19:34:13 +01:00
8b1b40273b
Merge pull request #686 from JulianGro/discord-rpc
Discord rich presence support
2023-11-02 08:54:12 +01:00
8332e41989 Remove File API and limit audio recording file location 2023-11-01 00:29:15 +01:00
77c24ed7c3 Initial version of Discord rich presence support.
Co-authored-by: Maki <mxmcube@gmail.com>
Co-authored-by: Dale Glass <dale@daleglass.net>
2023-10-30 19:03:49 +01:00
79cf24d30f
Merge pull request #645 from keeshii/feature/qml_entities
Added support for QML inside web-entities.
2023-10-19 22:46:07 +02:00
8b648408fd Added distance-based LOD 2023-10-13 19:28:05 +02:00
keeshii
10bb866654 Added support for QML inside web-entities.
- removed file protocol from the default QML whitelist
- adjusted dpi of the wizard to more standard value
2023-10-10 18:48:39 +02:00
keeshii
d3f652686e Added support for QML inside web-entities. 2023-10-10 18:48:39 +02:00
99e91be35c Fix invisible cursor when no config is present 2023-09-16 12:21:53 +02:00
9d6f08b908
Merge pull request #607 from rampa3/feature/mouse_look
Add mouse look script - continuation
2023-09-10 15:15:13 +02:00
c49c947984 Fixed llack of precision in mouse look mode 2023-09-01 23:43:22 +02:00
51a26522b9 Fixed reticle setting 2023-09-01 20:52:07 +02:00
3d4a993476 API changes for detecting active Window 2023-08-25 23:28:15 +02:00
166f7223d1 Fix most of the crash causes on script engine reload/shutdown 2023-08-18 12:12:17 +02:00
f3732aaa62
Clarified comment on controller endpoint cleanup 2023-07-22 12:47:15 +02:00
790a55d093 Fixed interface scripts failing to shutdown and removed deprecated API signal 2023-07-20 00:15:00 +02:00
Dale Glass
4dcc2882fd Crash reporter moved to separate library
UAL moved back to networking
2023-06-26 23:12:32 +02:00
Dale Glass
dba38acb9f
Merge pull request #381 from JulianGro/pr/drop-wallet
Drop all dependencies on marketplace and wallet
2023-06-03 21:27:13 +02:00
3c1c81e3ac Post merge fix 2023-05-29 19:26:33 +02:00
Heather Anderson
60b8d41c16 stripping wallet/marketplace out 2023-05-28 15:12:21 +02:00
17dc2decf6 Initial IME support 2023-05-27 00:08:24 +02:00
ab21945a54 Fixed crashes that happened when clearing cache 2023-05-22 00:15:54 +02:00
fdd8cb290c Optimized getEntityProperties 2023-05-19 00:17:40 +02:00
28079eb2df Fixed deadlock on start with recent Qt versions 2023-05-19 00:17:40 +02:00
2a2cf3898b Work on porting laser pointers to local entities, removal of LaserPointer JS API 2023-05-19 00:17:40 +02:00
4d03033c9e Fixed pick and ray pick scripting interface 2023-05-19 00:17:40 +02:00
ae7d229d0e Fix copyright headers 2023-05-19 00:17:38 +02:00
1ad1aee11f Minor scripting-related fixes 2023-05-19 00:17:38 +02:00
cb4dc4c7e8 Fixed location JS API 2023-05-19 00:17:37 +02:00
6301d23c48 Fixed object deletion event, temporarily disabled watchdog log commands to make reading logs easier 2023-05-19 00:17:36 +02:00
a4c6930a50 Added context scopes 2023-05-19 00:17:36 +02:00
586bd7ffca Fixes for code review 2023-05-19 00:17:35 +02:00
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
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
70fbe76341 convert script engine variables from QSharedPointer to std::shared_ptr 2023-05-19 00:17:34 +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
1e018dbc64 isolate calls to the QtScript libraries to an interface we control 2023-05-19 00:17:33 +02:00
cbf9c20331 Make NEW MAX ELAPSED AVERAGE trigger less sensitive 2022-12-16 08:52:40 +01:00
Dale Glass
6af76ae19f Remove settings thread from Application.cpp
Thread is now managed in the Setting::Manager
2022-11-01 16:58:54 +01:00