Commit graph

35054 commits

Author SHA1 Message Date
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
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
Dale Glass
0a2d733c39 Fix unique_ptr new[]/delete mismatch
This is likely a crash fix
2023-05-05 23:59:09 +02:00
Dale Glass
03a20b9b94 Fix the build on GCC 13.0
This adds #include <cstdlib> in a couple places. It also fixes a huge
amount of warnings due to "concept" becoming a keyword in C++20
2023-04-27 00:42:25 +02:00
90efffa2fb
Merge pull request #302 from daleglass-overte/allow-fullscreen-display-selection
Allow fullscreen display selection
2023-04-23 21:07:40 +02:00
dcddf08d24
Merge pull request #342 from JulianGro/increase_log_size
Increase max log size
2023-04-15 00:35:24 +02:00
f5f2134b92
Merge pull request #349 from JulianGro/executable
Remove executable permission from a bunch of files
2023-03-23 02:41:14 +01:00
8b973bdfa3 Remove executable permission from a bunch of files 2023-03-14 00:02:33 +01:00
40cdeec4d9 Fix "Invalid token at start of a preprocessor expression" 2023-03-12 16:36:14 +01:00
88a0d6217e Throw warning if audio devices list is empty instead of debug message. 2023-03-12 16:35:55 +01:00
67a9b82236 Increase max log size from 512 KiB to 10 MiB.
Lower max amount of log files from 100 to 20.
2023-03-11 19:24:23 +01:00
56de0f8d56 Fix material colors for glTF
Co-authored-by: Julian Groß <julian.g@posteo.de>
2023-01-11 14:43:23 +01:00
Dale Glass
bd1fc19bac
Update libraries/ui/src/ScreenName.h
Co-authored-by: Julian Groß  <julian.g@posteo.de>
2023-01-07 20:49:36 +01:00
Dale Glass
8e7b99811e
Update libraries/ui/src/ScreenName.cpp
Co-authored-by: Julian Groß  <julian.g@posteo.de>
2023-01-07 20:49:30 +01:00
Dale Glass
1cf3756c84 Move screen naming to UI library, and improve naming 2023-01-07 19:35:52 +01:00
Dale Glass
de36c716c8 Try to make screen descriptions include more info 2023-01-06 20:35:57 +01:00
Dale Glass
8884988336 Add an option to choose which screen to use for full screen mode 2023-01-06 17:32:06 +01:00
f1d7421698 Workaround for Nvidia driver bug 2022-12-23 20:25:10 +01:00
Dale Glass
61fa164791
Merge pull request #221 from JulianGro/fbx_blender
Implement initial Blender FBX metallic support
2022-12-10 21:10:02 +01:00
Dale Glass
26fd8839a6
Merge pull request #269 from daleglass-overte/fix-uninitialized-blendtime
Fix "may be used uninitialized" warning for blendtime
2022-12-10 21:09:47 +01:00
20e673e364 Fixed weight comparison 2022-12-10 19:51:11 +01:00
088da60116 Added epsilon for dimensions of sphere in SphereCollapse 2022-12-10 17:07:31 +01:00
a5d12fc97d Made ExtractionMode::SphereCollapse fail more gracefully in case of incorrect data 2022-12-10 14:33:34 +01:00
Dale Glass
81b2af88ae Clear _meshStates after warning, not before.
Fixes #257
2022-12-03 00:51:06 +01:00
Dale Glass
b5c5c9ad3e Fix "may be used uninitialized" warning for blendtime 2022-12-03 00:33:22 +01:00
Dale Glass
9a80e696ed Fix warnings generated when building tests 2022-11-27 19:51:58 +01:00
Dale Glass
dd0439e40d Make the GLTF serializer count all other errors it detects 2022-11-26 14:49:54 +01:00
Dale Glass
cd132246e6 Fix crash with models from ReadyPlayerMe by adding extra validation.
This also adds test code for the GLTF loader.
2022-11-26 14:36:37 +01:00
Dale Glass
9a828077bd Add Overte e.V. copyright 2022-11-01 20:49:00 +01:00
Dale Glass
7d3b45753c Comment moved to header 2022-11-01 17:16:14 +01:00
Dale Glass
20548b7b24 Fix mysterious UUID issue
Turned out to be a remainant of previous code that stopped working
correctly due to the changes
2022-11-01 17:15:50 +01:00
Dale Glass
24d4f87341 Improve logging system termination. Send a signal and wait until done. 2022-11-01 17:15:16 +01:00
Dale Glass
d722650806 Don't forward a change to QSetting if the setting didn't change
This considerably reduces the number of disk writes
2022-11-01 17:14:10 +01:00
Dale Glass
f7ab2be173 Unimportant changes
Signals were made non-references for debugging, but that shouldn't
actually matter since Qt copies the parameters anyway.
2022-11-01 17:13:30 +01:00
Dale Glass
51e1df5e4c Improve logging, v3 2022-11-01 17:08:08 +01:00
Dale Glass
06d7b89455 Improve logging, forgotten commit 2022-11-01 17:07:02 +01:00
Dale Glass
b540c426c1 Use logging categories 2022-11-01 17:06:33 +01:00
Dale Glass
0e50b51a63 Improve documentation 2022-11-01 17:01:16 +01:00
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