Commit graph

35006 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
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
b5d9a4dbba Make test class a friend 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
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
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
90b0b1eb45 Change identifier to org.overte 2022-09-08 22:18:53 +02:00
d2a768c2f0 Renamed environment variables 2022-09-08 22:18:50 +02:00
9b6d202a21 Rebranding and fixing URLs 2022-09-08 22:10:13 +02:00
5b12f42dd4 Fix voxel state machine 2022-09-02 18:39:39 +02:00
538a80c5ab Fix string to float conversion for systems using anything other than a period as decimal separator 2022-08-21 17:15:57 +02:00
89440e4a8e Fix apidocs example files. 2022-08-09 14:30:01 +02:00
e60dc098da
Update libraries/entities-renderer/src/RenderablePolyVoxEntityItem.cpp
Co-authored-by: Julian Groß  <julian.g@posteo.de>
2022-07-30 12:02:55 +02:00
42cd0ddfca
Update libraries/entities-renderer/src/RenderablePolyVoxEntityItem.cpp
Co-authored-by: Julian Groß  <julian.g@posteo.de>
2022-07-30 12:02:51 +02:00
fac118ec8a Removed outdated TODO comment 2022-07-28 01:07:05 +02:00
0dea304d72
Update libraries/entities-renderer/src/RenderablePolyVoxEntityItem.cpp
Co-authored-by: HifiExperiments <53453710+HifiExperiments@users.noreply.github.com>
2022-07-28 01:03:26 +02:00
e14a41c3e0 Fix voxel deadlock and improve performance 2022-07-27 23:10:27 +02:00
7cdf3ec4fc
Merge pull request #129 from overte-org/fix/http_acces_after_delete
Fixed memory access after delete in Domain Server
2022-07-22 00:20:28 +02:00
ac10b96882 Fixed memory access after delete in Domain Server 2022-07-18 20:19:08 +02:00
d62438d852 Voxel UI cleanup and help text improvement 2022-07-16 20:19:50 +02:00
3df9d6674b Voxel UI code cleanup 2022-07-16 16:22:46 +02:00
9616ba0ca4 Fixed out of bounds access in QByteArray in voxel entity 2022-07-16 16:22:46 +02:00
55347d2a97 Voxel creation and presets from Create App 2022-07-16 16:22:33 +02:00
b69f42e641 Fixed voxel decoding bug 2022-07-16 16:21:12 +02:00
Dale Glass
214dce833d Improve error reporting for incorrect --logOptions 2022-06-28 00:34:43 +02:00
Dale Glass
2a919e35f4 Rename TARGET field to "COMPONENT" for clarity.
"Target" is what's it named in the source, but it seems too confusing.
2022-06-28 00:34:43 +02:00
Dale Glass
6110da720e Remove old code 2022-06-28 00:34:43 +02:00
Dale Glass
e01f6e3049 Finish journald logging implementation
This adds command-line arguments, disables it by default on interface,
adds target logging, and can deal with variable numbers of fields.

It also adds some documentation.
2022-06-28 00:34:43 +02:00
Dale Glass
4dec2d6430 Add 'journald' log option 2022-06-28 00:34:43 +02:00
Dale Glass
ad4f0c1a8c Initial implementation 2022-06-28 00:34:41 +02:00
036977b790
Merge pull request #100 from daleglass-overte/make-wrote-ktx-cache-debug
Make the "Wrote KTX" message a debug one
2022-06-26 18:25:15 +02:00
Dale Glass
c6222144bf
Merge pull request #97 from daleglass-overte/show-texture-filename
Show the filename when a texture fails to load
2022-06-26 18:11:39 +02:00
Dale Glass
b551e80fa5 Add missing file 2022-06-22 19:15:16 +02:00
Dale Glass
99d00d03cd Make the "Wrote KTX" message a debug one 2022-06-21 15:12:49 +02:00
Dale Glass
5d168666c3 Added explanatory note 2022-06-21 13:59:30 +02:00
Dale Glass
2fb3a10262 Show the filename when a texture fails to load 2022-06-20 23:12:58 +02:00
Dale Glass
d323be22df Add log breakpoint system 2022-06-20 16:39:22 +02:00
Dale Glass
742b62450c Add newlines at ends of files 2022-06-10 00:49:00 +02:00
Dale Glass
0b7934a8b3 Remove unused variable 2022-06-10 00:47:47 +02:00
Dale Glass
ab95528e25 Implement Visual C warnings suppression 2022-06-10 00:46:19 +02:00
Dale Glass
39706f1c9a Prototype for MSVC support, still need to figure out the right directives 2022-06-10 00:46:19 +02:00
Dale Glass
9e93cabdb2 Fix 'warning: ‘size_t strlen(const char*)’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]' 2022-06-10 00:46:19 +02:00
Dale Glass
121091ec26 Fix writing to buffer out of bounds warning (another one) 2022-06-10 00:46:19 +02:00
Dale Glass
c4c69f09ee Use const reference (warning) 2022-06-10 00:46:19 +02:00
Dale Glass
8a12bf1749 Replace usage of deprecated QWheelEvent members 2022-06-10 00:46:19 +02:00
Dale Glass
044f08b931 Replace use of deprecated sprintf 2022-06-10 00:46:19 +02:00