Commit graph

31715 commits

Author SHA1 Message Date
39df2c975d
Merge pull request #711 from HifiExperiments/deprecatedRedirect
Fix QNetworkRequest::FollowRedirectsAttribute deprecated warning
2023-11-24 07:40:13 +01:00
keeshii
eba935a55f Corrected refresh rate values in wizard. 2023-11-23 15:48:12 +01:00
HifiExperiments
a630a6f9c9 mirrors on models + text 2023-11-19 14:57:02 -08:00
825c398e54 Changed gravity constant 2023-11-19 17:39:10 +01:00
HifiExperiments
d9ee3791e6 fix deprecated warning 2023-11-18 23:12:28 -08:00
d2e0e2f41b
Merge pull request #723 from JulianGro/drpc2
Discord Rich Presence v2
2023-11-15 20:20:42 +01:00
4cd16437f4 Expand message that shows when Interface exists because another instance is already running. 2023-11-15 13:46:52 +01:00
9e19f9fc58 Display desktop or VR mode in Discord Rich Presence.
Don't show worldName if it is unknown; Fixes the name of the last world being used when switching to Serverless.
2023-11-15 13:45:52 +01:00
HifiExperiments
10de1288c2 fix view + projection, texture flipping, billboarding 2023-11-13 14:40:56 -08:00
HifiExperiments
89e6cbbfa4 mirrors wip 2023-11-13 14:40:56 -08:00
Dale Glass
111cea477d Provide plugin load state 2023-11-12 20:08:47 +01:00
Dale Glass
1de6e6d418 Rename arguments for more clarity 2023-11-12 20:08:29 +01:00
Dale Glass
b05dd3443d Refactor display/input disabling 2023-11-12 18:44:31 +01:00
Dale Glass
0bd72f3d54 Fix bug in reporting steam/oculus availability 2023-11-12 18:43:36 +01:00
Dale Glass
59f96cada1 Add explanatory comments 2023-11-12 18:12:05 +01:00
Dale Glass
aba921502d Improve codec JSON info 2023-11-12 11:41:44 +01:00
Dale Glass
b9662e5af8 Separate plugin initialization, allow dumping plugin info 2023-11-11 21:03:16 +01:00
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
d1cbfa8838
Merge pull request #705 from daleglass-overte/fix-plugin-crash
Fix crash when starting with --display, --disable-displays or --disable-inputs
2023-11-06 22:16:30 +01:00
3abd98b642
Merge pull request #706 from overte-org/fix/graphics_settings
Fix for custom graphics setting
2023-11-06 00:17:11 +01:00
8f416ef505 Fix for custom graphics setting 2023-11-05 23:58:26 +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
ed58d6f34e Disable Oculus plugin by default and add a setting to enable it 2023-11-05 10:49:49 +01:00
8b1b40273b
Merge pull request #686 from JulianGro/discord-rpc
Discord rich presence support
2023-11-02 08:54:12 +01:00
bf8ad07b60 Moved archive download interface files and converted documetnation to doxygen 2023-11-01 19:51:21 +01:00
8332e41989 Remove File API and limit audio recording file location 2023-11-01 00:29:15 +01:00
5ba3b2b4ba
Update copyright year in TabletAboutDialog.qml 2023-10-30 21:43:41 +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
b6f148576a
Merge pull request #663 from overte-org/feature/new_LOD
Added distance-based LOD
2023-10-16 22:59:10 +02:00
6ea4cdb434
Update interface/src/LODManager.h 2023-10-16 22:02:10 +02:00
61e9ee6ce0 Fix MicBar to not spam thousands of TypeError messages on Windows 2023-10-16 19:53:51 +02:00
68f6e466bf Default to higher LOD framerate target on High graphics setting 2023-10-15 20:38:17 +02:00
f74725042e Better name for LOD options and clearer documentation 2023-10-15 19:29:14 +02:00
c6e9772def
Update comment in interface/src/LODManager.cpp
Co-authored-by: Julian Groß  <julian.g@posteo.de>
2023-10-13 22:12:06 +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
6dc9c1a3f2
Merge pull request #574 from overte-org/fix/script_reload2
Fix most of the crash causes on script engine reload/shutdown
2023-08-29 23:48:32 +02:00
025f530db6 Added an API function to check if an overlay has keyboard focus 2023-08-27 22:06:03 +02:00
3d4a993476 API changes for detecting active Window 2023-08-25 23:28:15 +02:00
13242611ea Fix jsDoc references to Vircadia platform/CDN 2023-08-25 13:58:45 -03:00
98282d1255 Add mouse look preference setting 2023-08-22 19:05:09 +02:00
166f7223d1 Fix most of the crash causes on script engine reload/shutdown 2023-08-18 12:12:17 +02:00
53843e8d2b Fixed control delays that were caused by a filter 2023-08-03 09:42:54 +02:00
74c5b6038f Lower inertia for more precise controls 2023-08-02 22:00:12 +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
Alezia Kurdis
8fd000e705
Replace reference to EXPLORE app
Replace reference to EXPLORE app to PLACES app in Connection error message.
2023-07-10 21:50:03 -04:00
Alezia Kurdis
9aaa05da79
Replace reference to EXPLORE app
Replace reference to EXPLORE app for "PLACES" app in Connection error message.
2023-07-10 21:46:47 -04:00
Dale Glass
c05fde3db4
Merge pull request #482 from daleglass-overte/crash-handler-on-server
Crash handler on server
2023-07-09 21:50:43 +02:00
2860650859 Truncate logs read by FileLogger 2023-07-09 21:01:23 +02:00
a6c59ad75d Fix Valve Index Controller trackpad regression 2023-07-09 15:06:31 +02:00
Dale Glass
14e0a8220b Load settings on start, missed during refactoring 2023-07-03 00:27:36 +02:00
Dale Glass
37d5734f28 Undo some weird formatting
It seems I accidentally ran some sort of auto-format, undoing.
2023-07-03 00:23:40 +02:00
Dale Glass
441413020e Move crash handler to networking library.
Turns out dependencies just don't work out well otherwise.
2023-07-02 22:10:27 +02:00
Dale Glass
25755f9c88 Many improvements:
* Get crash settings in assignment clients
* Allow custom crash reporting URL and token
* Fix setting system -- the client's one doesn't belong in the server
* Lots more documentation

Commit just before moving things around.
2023-07-02 21:18:09 +02:00
4254c19cf6 Fixed laser pointer blinking issue 2023-06-29 17:30:49 +02:00
ebedfa5a5a
Merge pull request #481 from overte-org/fix/thumbsticks
Fix thumbstick press issue
2023-06-27 21:16:20 +02:00
092cb8a572
Merge pull request #478 from overte-org/fix/ui_jumping
VR overlay recenter now triggers on hasDriveInput rising edge
2023-06-27 19:52:13 +02:00
Dale Glass
2cfac3a896 Make crash reporting work on domain-server 2023-06-26 23:12:32 +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
6ec276c818 Initial reorganization 2023-06-26 23:12:32 +02:00
Dale Glass
b3fba4d0ab Remove unused variable, causes problems if crash reporting is not used. 2023-06-26 19:41:21 +02:00
7cf9fd83a6 Fix rotation thumbstick press issue 2023-06-26 17:09:23 +02:00
387778aeca
Merge pull request #480 from daleglass-overte/improve-crash-handler
Improve crash handler
2023-06-25 22:42:07 +02:00
474f52a4f3 Fix thumbstick press issue for translation (not rotation yet) 2023-06-25 22:23:49 +02:00
Dale Glass
b2960d5a19 Review fixes 2023-06-25 21:46:57 +02:00
Dale Glass
de706ab458 Rework crash reporting UI
* Encourage users running dev code to submit reports
* Change from "Disable" to "Enable"
* Always initialize Crashpad and just prevent uploads if disabled
* Fix menu not being in sync
* Add documentation
* Keep track of whether Crashpad initialized successfully
2023-06-25 20:14:13 +02:00
4d02e2010f VR overlay recenter now triggers on hasDriveInput rising edge 2023-06-25 16:10:02 +02:00
Dale Glass
179fe79168 Better crash handler 2023-06-25 12:12:28 +02:00
da03262084
Merge pull request #465 from overte-org/feature/fov_setting
Added FOV setting to graphics menu
2023-06-25 10:12:54 +02:00
Armored-Dragon
de15b30e2d
Update createGlobalEventBridge.js
Other users seem to be experiencing issues with Audio. Removing it may  not be the correct action, instead exposing the API may be the correct action.
2023-06-24 13:27:21 -05:00
ArmoredDragon
57ab4366d4
Fixed copyright formatting issues. 2023-06-24 12:09:44 -05:00
ArmoredDragon
a986871dec
Remove document event listeners:
No longer needed.
2023-06-24 11:30:19 -05:00
ArmoredDragon
4e7335f149
Attempt 1: Do we need it? 2023-06-24 10:52:41 -05:00
d0fe5b7994 Added FOV setting to graphics menu 2023-06-19 19:10:16 +02:00
Dale Glass
ab7eebae31
Merge pull request #445 from daleglass-overte/fix-settings-reset
Fix resetting the settings
2023-06-04 11:41:22 -07:00
Dale Glass
32b9cc123c Fix resetting the settings
Also minor documentation improvements
2023-06-04 14:50:03 +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
Dale Glass
58fbffa9e7
Merge pull request #436 from shocktail39/fix/v8-mic-icon
fixed mic not changing color when not in use
2023-06-02 18:43:10 +02:00
e256599a15
Merge pull request #431 from overte-org/feature/IME
Japanese language support (and other IME probably)
2023-05-30 12:53:24 +02:00
steve hocktail
bb09b1cdfb fixed mic not changing color when not in use 2023-05-29 14:57:01 -04: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
6192416dce V8 related cleanup 2023-05-27 22:06:57 +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
8de1331fa5 V8 related cleanup 2023-05-19 00:17:41 +02:00
fe9babf02d Scripting-related cleanup 2023-05-19 00:17:41 +02:00
48a3368b69 Minor fixes and XMLHTTPRequest debugging 2023-05-19 00:17:41 +02:00
d74089d7d8 Fixed parabola pointers, code cleanup 2023-05-19 00:17:41 +02:00
3c80411bf1 V8-related cleanup 2023-05-19 00:17:41 +02:00
a7229e9249 Scripting API cleanup and type conversion fixes 2023-05-19 00:17:41 +02:00
42704ea4bc Work on fixing V8 memory leaks, memory leak test 2023-05-19 00:17:40 +02:00
2faacfaec6 Fixed laser pointers 2023-05-19 00:17:40 +02:00
85262dfe28 Fixed grabbing in VR 2023-05-19 00:17:40 +02:00
022bf6de8c Laser pointer fixes 2023-05-19 00:17:40 +02:00
50879fa813 Laser pointer fixes 2023-05-19 00:17:40 +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
43939290b2 Revert "vec3FromScriptValue replacement attempt"
This reverts commit 584e4be0082c07c62b6ad1f17d4258878ce3223c.
2023-05-19 00:17:40 +02:00
dba0925a1c vec3FromScriptValue replacement attempt 2023-05-19 00:17:40 +02:00
b0e030ada2 Fixed default render states for laser pointers 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
ab9f2a7198 Fixed grabbing objects with mouse in desktop mode 2023-05-19 00:17:40 +02:00
e75c671a70 Fixed crash with Cameras app 2023-05-19 00:17:39 +02:00
8a2c055adc Removed 3D overlays functionality entirely 2023-05-19 00:17:39 +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
5cf32a968c V8 fixes 2023-05-19 00:17:37 +02:00
f65e72c8f2 Listing objects and their properties on API debugger now works 2023-05-19 00:17:37 +02:00
5809576577 Fixed Create App 2023-05-19 00:17:37 +02:00
3e692a60b4 V8 fixes 2023-05-19 00:17:37 +02:00
5099e68b56 V8 fixes, including calls and signals 2023-05-19 00:17:37 +02:00
cb4dc4c7e8 Fixed location JS API 2023-05-19 00:17:37 +02:00
70d4a43009 Fixed evaluateInClosure and other V8 stuff 2023-05-19 00:17:36 +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
0d454eb6e8 V8 fixes, including making debug console work 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
80e5f2430f Fixed simplifiedNametag 2023-05-19 00:17:35 +02:00
7a84f7ee4d Fix for crash on deleting caches 2023-05-19 00:17:35 +02:00
6f32173025 Fixes to most scripting-related warnings 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
Heather Anderson
306f3d07c9 remove requirement that ScriptManager::evaluate be meta-invokable 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
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
ef16b83362 patch review and removal of unnecessary differences 2023-05-19 00:17:34 +02:00