Commit graph

85814 commits

Author SHA1 Message Date
Dale Glass
cdc15d7821 Improve settings system, by moving all writes to a thread
This should complete what was started in the HiFi days but didn't quite succeed.

Setting::Manager is now thread safe, and delegates all settings writes to a thread
that nothing waits on, which should ensure that settings don't degrade performance
even on slow storage devices.

Functions that weren't thread safe were removed from Setting::Manager, and it was
reduced to a key/value store.

Functions that modify state like beginGroup were implemented in the Settings class
instead, which should be created only in the context where it's needed. It will
forward all changes to the manager.

A few QSettings functions were left unimplemented because they're not used in
the code. They may be implemented later if there's a need.
2022-10-23 23:25:42 +02:00
Dale Glass
51d16c2ecf Fix copyright header 2022-10-23 16:05:22 +02:00
Dale Glass
e960829112 Fix test for the master branch 2022-10-23 16:02:37 +02:00
Dale Glass
0896807ca5 Slight cleanup of tests, use friend class to avoid exposing test functions 2022-10-23 13:24:56 +02:00
Dale Glass
d9468f33aa Add ASAN/UBSAN support to shared tests 2022-10-23 13:24:56 +02:00
Dale Glass
b5d9a4dbba Make test class a friend 2022-10-23 13:24:56 +02:00
Dale Glass
c743abc348 Added threaded settings test.
Test setValue() while a thread is constantly trying to save the file
to disk to test the absolute worst case performance.
2022-10-23 13:24:56 +02:00
Dale Glass
334317b175 Test suite for settings system
Proof of concept still. Adds a test-specific function in Setting::Manager.
2022-10-23 13:24:56 +02:00
13cf109d40
Merge pull request #190 from AleziaKurdis/Notifications_Recoded
Re-coded to be more stable.
2022-10-15 23:30:20 +02:00
9b15f7fd00
Update CHANGELOG.md 2022-10-06 13:04:39 +02:00
1892bab9ce
Merge pull request #209 from overte-org/fix/domain_id_selection
Fixed lack of Domain ID selection buttons in server UI
2022-10-04 19:05:00 +02:00
e0621a9cd8 Fixed lack of Domain ID selection buttons in server UI 2022-10-04 18:44:37 +02:00
63f6ee110e
Update CHANGELOG.md 2022-10-02 13:27:57 +02:00
a89ddf2d26
Merge pull request #191 from overte-org/fix/create_app_intersections
Fixed create app entity intersections in VR, increased default voxel resolution
2022-09-18 22:16:11 +02:00
6e401ff40d
Merge pull request #197 from JulianGro/2022.09.1
Fix missing comma in avatarbookmarks.json
2022-09-18 21:21:43 +02:00
33f22568b9 Removed unnecessary print commands reamaining after debugging. 2022-09-18 20:14:09 +02:00
Alezia Kurdis
425cd51cd6
Play whoosh sound before deletion
The sound "whoosh" is now played before calling the notification deletion.
Previously it was called after and the effect was a bit wasted by this.
2022-09-17 22:17:37 -04:00
4bd8633969
Merge pull request #134 from overte-org/feature/format_selection
Added screenshot format selection with PNG, JPEG and WEBP support
2022-09-17 19:21:48 +02:00
Alezia Kurdis
4a49631007
Added HMD notifications dismissal
Added a gestural way to dismiss the notifications in HMD.

The notifications vanishes after 10 sec. 
But if for any reason we want to accelerate the process (mostly because it hide the view or it is going to appears in photo capture)
In Desktop we can simply click on the notification to get rid of them.
But in HMD, clicking was kinda a pain (assuming the if you want to dismiss the notification is often because they are already annoying you)
have to aim and click is like pressing a button using a fishing pole, it's certainly adding more annoyance to this.
To addressed that, I introduced the "Whoosh!": An easy gesture to dismiss any 3d UI, by simply move one of you controller over you eyes height. (a bit like making flee an annoying fly.)
2022-09-16 22:29:02 -04:00
5de9bca022 Fix missing comma in avatarbookmarks.json 2022-09-16 16:11:28 +02:00
ad8da103b4 Fixed default preference selection bug for screenshot formats and added short descriptions 2022-09-16 00:09:31 +02:00
SilverfishVR
0ca8545c20 Update API docs to reflect changes 2022-09-16 00:09:31 +02:00
df56e047f3 Reordered snapshot options 2022-09-16 00:09:27 +02:00
c2572000e2 Removed excessive debug messages 2022-09-16 00:06:58 +02:00
eed83ac85a Added screenshot format selection with PNG, JPEG and WEBM support 2022-09-16 00:06:45 +02:00
9bd68c0103 Fixed create app entity intersections in VR, increased default voxel resolution 2022-09-15 18:52:49 +02:00
Alezia Kurdis
3e7854a034
Re-coded to be more stable.
This is a an almost complete re-coding of the notifications script.
The previous version had too useless complexities and was computing each element position independently causing the notifications to be unstably displayed in HMD if the user moved.
There was also too many array used to achieved this. It was a bit painful.

This new version use an invisible entity parented to the avatar as a "container" where the notification elements are parented to it, making the positioning easier and more stable if the avatar moves.
I used only one array of objects to contain the the notification stack.
There is also a better management of some signal to avoid useless computing when it wasn't necessary.
I think the code is also more clear.

I got rid of the little x buttons to close the notification, it was on each element, you had to target a very small square surface with the mouse if you wanted to absolutely close a notification within the 10 second of their existence. Now you can close a notification simply by clicking on it (on all its surface)
But as before, the close function works only on desktop mode. (Apparently it's relatively complex to get the id of the entity that you click on in HMD. Maybe one day.)

It's also easier now to adjust the scale of the notifications in HMD if we want too, (only one value to change in the script)
The parenting using a container entity has also made all the notification UI in HMD scaling correctly according the avatar scale (it was free by parenting all those together).
2022-09-14 23:11:56 -04:00
ecf54a60be
Merge pull request #189 from AleziaKurdis/notificationsToLocalEntity
Notifications: Local Entities, emissive, HMD bugs fixes, new HMD positioning, settings ON/OFF.
2022-09-13 01:32:28 +02:00
916cd86045 Added preferences setting for snapshot notifications 2022-09-11 14:33:23 +02:00
Alezia Kurdis
efa22b8fd9
Upgrade to local Entities and Misc
Upgrade to local Entities and Misc

- All the deprecated use of 3d overly has been changes to Local Entities (Only the addEntity)
- All the preview are now unlit (it was a pain in a dark place)
- The HMD has been repositionned to be visible. (This is a try, I think it is better)
- Many bug fix in HMD
- Added a setting to switch on/off the snapshot related notification (because they are often a nuisance during capture sessions. constantly present and appearing in the capture)

(The setting still need to be plugged in the admin.)
2022-09-09 23:55:49 -04:00
098ce1531b
Change one instance of "game" to "world" in README 2022-09-09 18:26:34 +02:00
ef54987c61
Update CHANGELOG.md 2022-09-09 18:25:52 +02:00
702ddb30d6
Merge pull request #149 from overte-org/fix/cdn_urls
Rebranding and fixing URLs, including CDN ones
2022-09-09 17:23:18 +02:00
88046506c3 Renamed Metaverse Server to Directory Server/Services 2022-09-08 22:19:55 +02:00
614c6927b6 Replace non-existent HiFi content S3 URLs with placeholders 2022-09-08 22:19:54 +02:00
a927334d80 Update content URLs in example scripts 2022-09-08 22:19:54 +02:00
150558dda5 Update URLs in avatarbookmarks.json 2022-09-08 22:19:54 +02:00
bea8baeead Use redirected documentation URL 2022-09-08 22:19:54 +02:00
7f0f1885ae Do not provide URLs that don't exist (anywhere). 2022-09-08 22:19:54 +02:00
34612ba92c Update OVERTE_CONTENT_CDN_URL 2022-09-08 22:19:54 +02:00
89fa000551 Fix broken documentation URL 2022-09-08 22:18:53 +02:00
90b0b1eb45 Change identifier to org.overte 2022-09-08 22:18:53 +02:00
712563ea63 Remove outdated documentation links 2022-09-08 22:18:53 +02:00
d2a768c2f0 Renamed environment variables 2022-09-08 22:18:50 +02:00
2bc9982b99 Renamed services 2022-09-08 22:12:41 +02:00
9b6d202a21 Rebranding and fixing URLs 2022-09-08 22:10:13 +02:00
619e36e9a9
Merge pull request #174 from JulianGro/server-packaging
Add Docker based server packaging
2022-09-08 21:19:06 +02:00
6fba114e11 Fix wrong link name 2022-09-08 20:50:55 +02:00
16435d13a0
Merge pull request #150 from overte-org/domain-wizard
Domain wizard
2022-09-06 13:43:05 +02:00
2fd0a3eb78 Fixed bug with wizard moving to next page even with wrong password 2022-09-06 00:19:06 +02:00