Dale Glass
640cee0360
Reduce V8 stack size to 256K. Otherwise the interface can be crashed with a stack overflow in a script.
2023-05-19 00:17:36 +02:00
be3d1713a8
Fixed C++ function calls for V8
2023-05-19 00:17:36 +02:00
abfcbb7588
Added V8 Locker for moving script engine to a new thread
2023-05-19 00:17:36 +02:00
827ddf5958
Added simple compile test function
2023-05-19 00:17:36 +02:00
Dale Glass
1a4eb3ac62
Keep return script value
2023-05-19 00:17:36 +02:00
Dale Glass
e5217c44f0
Build fixes
2023-05-19 00:17:36 +02:00
58a221541f
Script engine new function fixes
2023-05-19 00:17:36 +02:00
a4c6930a50
Added context scopes
2023-05-19 00:17:36 +02:00
2b06c09318
Add V8 handle scopes
2023-05-19 00:17:36 +02:00
b4d21c38c3
Updated script isolation files
2023-05-19 00:17:36 +02:00
7e9ad39b32
Initial V8 support, not working yet
2023-05-19 00:17:36 +02:00
df507a741b
Initial cmake files for V8
2023-05-19 00:17:36 +02:00
74a3c514d2
Replaced withReadLock with resultWithReadLock in ScriptSignalQtProxy::findConnection
2023-05-19 00:17:35 +02:00
586bd7ffca
Fixes for code review
2023-05-19 00:17:35 +02:00
e9bfdd49e8
Fix build error on Windows
2023-05-19 00:17:35 +02:00
979e9ff113
Added scoring system for determining overloaded function to call
2023-05-19 00:17:35 +02:00
8304a0c500
Fixed clearTimeout behavior when called with expired timer
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
716a02495e
Fix build error on MacOS
2023-05-19 00:17:35 +02:00
7a84f7ee4d
Fix for crash on deleting caches
2023-05-19 00:17:35 +02:00
b00c1ae91b
Fixes to scripting-related warnings (lambdas)
2023-05-19 00:17:35 +02:00
6f32173025
Fixes to most scripting-related warnings
2023-05-19 00:17:35 +02:00
a14c6444f1
Forgot to add ResourceScriptingInterface.cpp before
2023-05-19 00:17:35 +02:00
5a9b0ccfb0
Replaced regular mutex with a read write one to improve performance
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
ece2b8096b
Fixed list item removal during access bug
2023-05-19 00:17:35 +02:00
4d61d4fe67
Disallowed incorrect Vec3 to float cast in script engine
2023-05-19 00:17:35 +02:00
c78ec80539
Fixed build error after rebase
2023-05-19 00:17:35 +02:00
Heather Anderson
9c6ffc3fc2
fixed missing #include required by new template blockingInvokeMethod functions
2023-05-19 00:17:35 +02:00
Heather Anderson
457728cee1
dropped KALILA global script attributes
2023-05-19 00:17:35 +02:00
Heather Anderson
9b87072a49
dropped unused meta declaration
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
67260b92bd
fix typo preventing methods from being discovered on scriptable objects when we're ignoring superclasses
2023-05-19 00:17:35 +02:00
Heather Anderson
a822110a62
identify the largest number of parameters any of our method overrides accept and discard script parameters beyond that count
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
55b5a2cd03
Continued tightening and testing of the scripting engine "glue" logic
...
- QObject wrappers will now be reused when asked to wrap the same QObject multiple times
- improved error reporting when we can't form a native call from script
- dropped support for having the existing QtScript logic handle Qt object transformations
- assuming that our code will handle all calls into native objects
- changing timer functions to use CTimer* publicly rather than casted QObject*
2023-05-19 00:17:34 +02:00
Heather Anderson
742fa225f2
not sure what would have broken this but... adding required windows dependencies for MIDI to operate
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
82535cab90
more shifting around of ScriptEngineQtScript declaration
2023-05-19 00:17:34 +02:00
Heather Anderson
c9bf36e57b
more simplification of ScriptEngineQtScript declarations
2023-05-19 00:17:34 +02:00
Heather Anderson
bd4a035ffb
significant cleanup of ScriptEngineQtScript (which isn't exposed to the scripting engine and shouldn't be @jsdoc'ed)
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
Heather Anderson
86348b315e
finished coding and smoketested ScriptContextQtAgent (required to get Scriptable functional for its users)
2023-05-19 00:17:34 +02:00
Heather Anderson
d868143da0
hopefully resolves the last reported link error on macos
2023-05-19 00:17:34 +02:00
Heather Anderson
fb93e39f66
more code review using github compiler runs (hopefully the macos build will link with this)
2023-05-19 00:17:34 +02:00
Heather Anderson
227e899189
more code review using github compiler runs
2023-05-19 00:17:34 +02:00
Heather Anderson
16c2d76efa
more debugging using github compiler runs
2023-05-19 00:17:34 +02:00
Heather Anderson
23edfa3747
more changes in response to build log on other compilers
2023-05-19 00:17:34 +02:00
Heather Anderson
23776abce3
changes in response to build log on other compilers
2023-05-19 00:17:34 +02:00
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
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
a0c98d1c72
Implement initial Blender FBX metallic support
2022-10-14 18:48:31 +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
Dale Glass
0d038be031
Fix writing to buffer out of bounds warning
2022-06-10 00:46:19 +02:00
Dale Glass
118315469c
Fix signed/unsigned comparison warning
2022-06-10 00:46:19 +02:00
Dale Glass
fed0f21603
Fix StrongRef warning
2022-06-10 00:46:19 +02:00
Dale Glass
8cd35251b7
Replace deprecated error() signal
2022-06-10 00:46:19 +02:00
Dale Glass
e8d8657f64
Fix operator precedence warning
2022-06-10 00:46:19 +02:00
Dale Glass
efdc1e9058
Fix deprecated int to flags conversion
2022-06-10 00:46:19 +02:00
Dale Glass
45a3c89e17
Replace deprecated qVariantFromValue
2022-06-10 00:46:19 +02:00
Dale Glass
50e1399cb5
Fix new[]/delete mismatch warning
2022-06-10 00:46:19 +02:00
Dale Glass
178017db2b
Ensure memory is cleared to make compiler happy
2022-06-10 00:46:19 +02:00
Dale Glass
d834a05053
Remove unused variable
2022-06-10 00:46:19 +02:00
Dale Glass
7d34a9233b
Replace QTime with QElapsedTimer (deprecated)
2022-06-10 00:46:19 +02:00
Dale Glass
3a2d4f95c2
Don't use memcpy with non-trivially-copyable type
2022-06-10 00:46:19 +02:00
Dale Glass
a7f6fed937
Replace deprecated .toSet()
2022-06-10 00:46:19 +02:00
Dale Glass
aefb6860e6
Replace mutex with recursive mutex (deprecated)
2022-06-10 00:46:19 +02:00
Dale Glass
38141ef655
Rewrite outputBits without sprintf (deprecated)
2022-06-10 00:46:19 +02:00
Dale Glass
a43b9e170a
Replace deprecated Qt code with STL
2022-06-10 00:46:19 +02:00
Dale Glass
6bd9de5d41
Fix operator precedence warning
2022-06-10 00:46:19 +02:00
Dale Glass
d5d63f0741
Replace deprecated toList() with values()
2022-06-10 00:46:19 +02:00
Dale Glass
87ba20ecb4
Only whitespace changes
2022-06-10 00:46:19 +02:00
Dale Glass
3347cc563b
Create warning whitelist system
2022-06-10 00:46:18 +02:00
Dale Glass
e9cc11ab44
Add a compatibility layer for WebRTC with OpenSSL 3
2022-05-28 20:28:19 +02:00
281b9f9831
Fixed ICE server hostname and some other links
2022-02-26 11:46:37 +01:00
96932a6946
Update metaverse server URL
2022-02-21 23:17:33 +01:00
1191168f43
Fix server-console and ICE server address
2022-02-12 15:40:46 +01:00
c6f1e6410e
Updated some URLs, rebranded documentation and changed default metaverse server address
2022-02-09 23:57:24 +01:00
e2d7e55e0b
Merge branch 'master' into tell-accountmanager-url-changed
2022-01-23 14:08:10 +01:00
Kalila
7c91ceba06
Merge pull request #1575 from mrkcdf/794-fix-handling-of-fractional-display-scaling
...
Replace call to devicePixelRatio() with devicePixelRatioF().
2022-01-22 19:41:09 -05:00
30806ce346
Inform AccountManager about metaverse server change
2022-01-22 18:41:04 +01:00
Dale Glass
27ddd1d61d
Review fix
2022-01-20 23:07:13 +01:00
Dale Glass
7327a56ad2
Remove deprecated usage of setUserData
...
This removes the usage of QObjectUserData, setUserData and userData.
Fixes #1305
2022-01-20 23:06:24 +01:00
Mike
7a63ce4ca2
Replace call to window->devicePixelRatio() with devicePixelRatioF() to handle scales that are not multiples of 100%
2022-01-20 17:36:41 +00:00
Dale Glass
309e2b0eaa
Review fixes
2022-01-16 23:05:14 +01:00
Dale Glass
598032b734
Review fixes
2022-01-16 21:38:14 +01:00
Dale Glass
6738624bff
Two more conversions to Utf8
2022-01-16 21:38:14 +01:00
Dale Glass
0c453e7e0e
Explicitly encode QStrings to utf8
2022-01-16 21:38:14 +01:00
Kalila
4394c2e00b
Merge pull request #1567 from daleglass/fix-qhash
...
Fix MultiHash issues added in PR #1468 .
2022-01-15 15:24:19 -05:00
Dale Glass
5f7bd24c14
Fix MultiHash issues
2022-01-13 23:02:46 +01:00
Julian Groß
cd1798a3d3
Fix static function warning
2021-12-31 01:01:35 +01:00
Dale Glass
9df0f109fa
Merge pull request #1553 from ksuprynowicz/loadSpirvResource_fix
...
Fixed memcpy in loadSpirvResource
2021-12-26 20:37:09 +01:00
Dale Glass
d7073597e4
Merge pull request #1552 from ksuprynowicz/gltf_metallic_fix
...
Fixed metallic material import for glTF.
2021-12-26 20:34:01 +01:00
Dale Glass
d022b004f4
Merge pull request #1482 from daleglass/qt5-fix-vector
...
Replace the deprecated QVector::fromStdVector and QVector::toStdVector().
2021-12-26 20:23:43 +01:00
2ef47b0bed
Fixed memcpy in loadSpirvResource
2021-12-25 18:25:13 +01:00
Dale Glass
8d8d43e342
Review fix
2021-12-23 23:10:44 +01:00
Dale Glass
aeb52b38c7
Replace the deprecated toStdVector() and fromStdVector()
2021-12-23 23:10:44 +01:00
9a3686ccb6
Fixed metallic material import for GLTF
2021-12-23 19:40:50 +01:00
a7883fc588
Update libraries/model-serializers/src/GLTFSerializer.cpp
...
Co-authored-by: David Rowe <david@ctrlaltstudio.com>
2021-12-20 18:49:25 +01:00
7106482c58
Update libraries/model-serializers/src/GLTFSerializer.cpp
...
Co-authored-by: David Rowe <david@ctrlaltstudio.com>
2021-12-20 18:49:13 +01:00
9a3a22d310
Changes to for loops needed to prevent crash on some GLTF models
2021-12-20 00:57:37 +01:00
Kalila
03b5b83b67
Merge pull request #1339 from odysseus654/pr/make_shared
...
Housekeeping: use of std::make_shared / QSharedPointer::create.
2021-12-09 17:14:04 -05:00
Kalila
a1d0f95535
Merge pull request #1340 from odysseus654/pr/auto-const-ref
...
Housekeeping: Update use of "auto" with plugin lists.
2021-12-09 17:13:55 -05:00
David Rowe
022dea7a58
Update API examples to use "vircadia" in mapping names
2021-12-04 21:37:33 +13:00
Kalila
b7734e32d0
Merge pull request #1468 from daleglass/qt5-fix-multimap
...
Fix deprecated usage of multiple keys in QHash and QMap.
2021-12-02 20:28:22 -05:00
Dale Glass
14374d4d70
Replace usage of deprecated uniqueKeys
...
uniqueKeys() is deprecated, and _resources shouldn't contain duplicated keys.
2021-11-26 18:39:21 +01:00
Kalila
aabcdeadbf
Merge pull request #1469 from vircadia/webapp
...
Enable WebRTC connections to be made to the Domain, i.e., add Web client support.
2021-11-26 12:19:45 -05:00
Dale Glass
d77c8bbe41
Fix warnings related to deprecated usage of multiple keys in QHash and QMap
...
This replaces those uses with QMultiHash and QMultiMap
2021-11-26 17:53:23 +01:00
Dale Glass
57167cdfef
Merge pull request #1465 from daleglass/fix-meshstates-assertion
...
Fix for _meshStates.empty() assertion.
2021-11-25 23:17:05 +01:00
65576ba99e
Fix automatic texture memory bug
...
Fixes int32 overflow in automatic texture memory procedure
2021-11-24 22:20:52 +01:00
David Rowe
48c32b96f4
Merge branch 'master' into fix/ssl-websocket-crash
2021-11-23 09:58:04 +13:00
David Rowe
075c0d8b89
Fix domain server crash with SSL WebSocket
2021-11-23 09:57:42 +13:00
Dale Glass
65a87b9603
Fix for _meshStates.empty() assertion
...
See the comment in the code for a detailed discussion of the issue. This is
a workaround, but it should be a safe one.
2021-11-22 01:13:39 +01:00
David Rowe
56d33b555e
Fix assignment client crash
2021-11-20 17:26:06 +13:00
David Rowe
cf57b506b5
Fix domain server crash
2021-11-20 12:13:30 +13:00
David Rowe
fb79d57fef
Improve WebRTC debug
2021-11-20 11:06:05 +13:00
David Rowe
861b8398f4
Merge branch 'webapp' into dev/webrtc-revisions
2021-11-14 14:13:19 +13:00
Dale Glass
b3722b050c
Merge pull request #1438 from namark/settings-null-deref-fix
...
Fixed empty POST request to settings.json crashing the Domain server.
2021-11-06 19:31:34 +01:00
Dale Glass
35a420d312
Merge pull request #1422 from Penguin-Guru/master
...
Changed preset framerates; Add "low power" preset.
2021-11-06 19:30:01 +01:00
David Rowe
afd7993152
Disable WebRTC debug
2021-11-06 22:31:52 +13:00
Dale Glass
b4727adecc
Update comment as per review
2021-11-04 23:53:56 +01:00
namark
7fac5dd8b8
Preserving _requestContent invariant in HTTPConnection class,
...
in the case when Content-Length header is empty, to avoid null
dereference in the requestContent() getter.
2021-11-05 00:16:59 +04:00
Dale Glass
5759c76154
Fix mime type for .htm and .html files
...
The code forces text/html for .shtml files, but if .html ones were used,
it would look up in the mime database and come up with application/x-extension-html
Web browsers try downloading that instead of rendering it.
2021-11-03 01:12:48 +01:00
Kalila
61367ffd47
Merge pull request #1427 from Penguin-Guru/AntialiasingSetting
...
Add antialiasing setting.
2021-11-02 16:09:15 -04:00
David Rowe
c76dc5358b
Rename domain server cert files
2021-10-31 10:01:04 +13:00
Penguin-Guru
56bc962d36
Changed preset framerates. Added preset.
2021-10-30 12:57:00 -07:00
Penguin-Guru
44fb53d4f2
Removed comment.
2021-10-30 10:43:10 -07:00
David Rowe
ccd525a89b
CR
2021-10-30 08:30:05 +13:00
David Rowe
8e3cfe9805
Fix non-const lvalue reference
2021-10-29 23:04:41 +13:00
Kalila
55d27f5813
Merge pull request #1406 from daleglass/update-webrtc-linux
...
Update WebRTC for Linux.
2021-10-28 17:55:59 -04:00
David Rowe
bb3d0fa5fa
Add secure WebSocket support
2021-10-27 21:42:58 +13:00
David Rowe
92e3d1465e
Reduce the number of ICE servers used
2021-10-27 21:41:12 +13:00
David Rowe
2971dd6185
Fix handling of ICE candidate received from client
2021-10-26 12:13:25 +13:00
David Rowe
0fcb9423bf
Fix ICE servers used for STUN
2021-10-26 11:21:23 +13:00
Penguin-Guru
e6a41e85b2
Added comments. Referenced all enums explicitly.
2021-10-25 13:40:36 -07:00
Penguin-Guru
8386f2eb61
Clumsy fix for enum storage.
2021-10-24 19:19:20 -07:00
Penguin-Guru
66fdfa40ad
Hopefully implemented antialiasing setting.
2021-10-24 15:32:51 -07:00
Kalila
f5f51dfca7
Merge pull request #1415 from ctrlaltdavid/dev/message-mixer
...
Networking code tidying and dead code removal.
2021-10-22 01:45:54 -04:00
Dale Glass
4abe8da23e
New build, against openssl
2021-10-20 01:16:45 +02:00
David Rowe
7bb74d0103
Comment code intent
2021-10-19 11:40:20 +13:00
David Rowe
afe459b5b3
Remove unused code
2021-10-19 11:40:00 +13:00
Dale Glass
e44628f6d6
Target webrtc on Linux
2021-10-18 20:55:50 +02:00
Dale Glass
b9568e36ec
Enable data channel
2021-10-18 20:55:47 +02:00
Dale Glass
cd56af6e7e
Partial changes
2021-10-18 20:54:12 +02:00
David Rowe
4b871d1073
Tidying
2021-10-15 09:37:37 +13:00
Kalila
f15aaa5b79
Merge pull request #1383 from ctrlaltdavid/dev/webapp-master-update
...
Update webapp branch with the latest master.
2021-10-14 06:15:34 -04:00
David Rowe
8e653c3a65
Fix assertion message
2021-10-14 21:59:46 +13:00
David Rowe
f15d87fff1
Remove unused code
2021-10-14 13:38:30 +13:00
Julian Groß
b42170c7b6
Disable automatic texture memory on unsupported platforms. Fix automatic texture memory fallback.
2021-10-10 15:01:35 +02:00
David Rowe
f264cc0548
Merge branch 'master' into dev/webapp-master-update
2021-10-08 08:34:03 +13:00
David Rowe
f5452a4324
Guard against invalid data channel address
2021-10-07 21:03:23 +13:00
Kalila
1d8da471a2
Merge pull request #1344 from digisomni/feature/new-domain-wizard
...
Overhaul the Domain server's onboarding wizard.
2021-10-04 16:10:31 -04:00
David Rowe
c03312319d
Merge branch 'master' into dev/webapp-master-update
...
# Conflicts:
# libraries/networking/src/NodeList.h
# libraries/shared/src/shared/WebRTC.h
2021-10-03 12:51:47 +13:00
Kalila
939d0958c1
Merge pull request #1367 from daleglass/fix-recursive-mutex-warnings
...
Replace the deprecated QMutex{ QMutex::Recursive} with QRecursiveMutex (solves approximately 1700 warnings).
2021-10-01 00:15:02 -04:00
Kalila
eab8dcd257
Merge pull request #1376 from JulianGro/gles_glvnd
...
Use GLVND on GLES.
2021-09-30 17:26:14 -04:00
Kalila
c87006c91b
Merge pull request #1346 from JulianGro/aarch64_gha
...
Add aarch64 Linux GHA builds.
2021-09-30 17:14:09 -04:00
David Rowe
de37734e18
Tidying to match the Web SDK
2021-10-01 09:09:07 +13:00
Julian Groß
da71fbf294
Use GLVND on GLES
2021-09-27 14:43:58 +02:00
Dale Glass
b8d1057e1f
Replace the deprecated QMutex{ QMutex::Recursive} with QRecursiveMutex
...
This fixes around 1700 warnings.
2021-09-26 01:27:19 +02:00
Dale Glass
891d555679
Merge pull request #1352 from odysseus654/pr/q_disable_copy
...
Code Review: use of Q_DISABLE_COPY.
2021-09-25 20:33:20 +02:00
Dale Glass
3349d02cef
Merge pull request #1349 from JulianGro/use_GLVND
...
Set GL preference to GLVND
2021-09-25 20:31:11 +02:00
Alezia Kurdis
ec74154042
Adjustment to Doc for "created" properties
...
Adjustment to Doc for "created" properties.
The doc was pretending that it is a string value but it's in fact a number (Unix Timestamp).
Addressing ISSUE #839
2021-09-23 22:07:56 -04:00
Heather Anderson
57a3cd3d63
replace the various disable-copy constructions with Q_DISABLE_COPY (or Q_DISABLE_COPY_MOVE)
2021-09-18 21:36:35 -07:00
David Rowe
6c4e105c06
Remove some unused audio stream method parameters
2021-09-18 10:01:21 +12:00
Julian Groß
babee7c527
Set GL preference to GLVND
2021-09-17 21:04:12 +02:00
Julian Groß
f03606ee60
Disable WebRTC on aarch64 Linux
2021-09-16 06:09:11 +02:00
Heather Anderson
6e4e0dfb6a
remove unnecessary list copying when retrieving a list of plugins
2021-09-12 13:12:02 -07:00
Heather Anderson
05182af561
more (relatively useless) code review
2021-09-11 20:16:51 -07:00
Heather Anderson
bcce9a2091
convert explicit shared pointer creation (using "new") to make_shared where possible/appropriate
2021-09-11 15:15:04 -07:00
Heather Anderson
ab4d70760e
review and cleanup of "#include <QtCore/QSharedPointer>"
2021-09-10 21:40:54 -07:00
Kalila L
c266b003fb
Get Domain creation working; revise metaverse forwarding. (TLS init fail issue present)
2021-09-10 02:06:50 -04:00
Kalila L
74b185f6c6
Fix Qt warning: "QString::KeepEmptyParts" -> "Qt::KeepEmptyParts"
2021-09-09 18:57:43 -04:00
David Rowe
96708f5fe3
Move crash fix
2021-09-07 18:58:37 +12:00
David Rowe
e3c28a5dc8
Alternative crash fix
2021-09-06 16:28:38 +12:00
David Rowe
e9776541bd
Use WebSocket address and port as WebRTC data channel ID
2021-09-05 22:54:58 +12:00
David Rowe
b5867fef48
Tidying
2021-09-04 14:31:20 +12:00
David Rowe
dddabecc84
Use domain server-assigned WebRTC data channel ID in assignment clients
2021-09-04 14:25:21 +12:00
David Rowe
911dc2aff3
Include socket type in domain packets
...
Required for user client info sent to assignment clients from the domain server.
2021-09-04 10:36:13 +12:00
David Rowe
ff72b422b3
Fix WebRTCDataChannels crash
2021-09-03 19:04:24 +12:00
David Rowe
65dec6dfd8
Socket type isn't used in all code
2021-09-02 15:00:26 +12:00
David Rowe
b1050dc83a
Merge branch 'master' into dev/webapp-master-update
2021-09-01 21:52:04 +12:00
David Rowe
ac9229ace0
Fix avatar crash
2021-08-29 21:34:31 +12:00
Kalila
2a4ad7b163
Merge pull request #1251 from digisomni/fix/cmdline-discovery
...
Add disable domain port auto discovery by assignment client option.
2021-08-22 03:05:21 -04:00
David Rowe
1605039929
Tidying
2021-08-21 21:11:42 +12:00
Kalila
45e10f0670
Merge pull request #1303 from daleglass/qt5-fix-qtcpsocket-error
...
Replace deprecated QAbstractsocket::error with QAbstractSocket::error…
2021-08-19 20:51:27 -04:00
David Rowe
ace612d038
Assignment client type is not known at construction
2021-08-18 21:27:35 +12:00
David Rowe
5d15ebb723
WebRTC data channel with assignment clients
2021-08-18 20:21:56 +12:00
David Rowe
a3c1d50478
WebRTC signaling with assignment clients via domain server
2021-08-18 20:10:11 +12:00
David Rowe
9b2c773805
Move WebRTCSignalingServer into Domain Server
2021-08-17 22:37:43 +12:00
Kalila
29b4fea1d2
Merge pull request #1299 from ctrlaltdavid/dev/webrtc-doxygen
...
Fix a couple of WebRTC Doxygen typos
2021-08-16 00:05:44 -04:00
Kalila
019e012f2e
Apply suggestions from code review
...
Co-authored-by: Heather Anderson <heath@odysseus.anderson.name>
2021-08-12 23:01:13 -04:00
Dale Glass
ae9f2aa1ee
Update slots to the new syntax, use QAbstractSocket::errorOccurred
2021-08-12 22:53:24 +02:00
Dale Glass
24ab523acc
Replace deprecated QAbstractsocket::error with QAbstractSocket::errorOccurred
2021-08-06 23:26:02 +02:00
Dale Glass
24b2cdfcd2
Fix QString::SplitBehavior deprecation, replace with Qt::
2021-08-06 20:16:10 +02:00
David Rowe
500da963ad
Make parameter names consistent across usages
2021-08-04 16:11:04 +12:00
David Rowe
9be1c08c8c
Fix domain server crash
2021-07-31 23:03:48 +12:00
David Rowe
8528422834
Fix WebRTC Doxygen typos
2021-07-30 14:18:34 +12:00
David Rowe
0ea6d88bf5
Fix function parameter ID
2021-07-30 14:14:36 +12:00
David Rowe
3603520c94
fillPacketHeader() can be private
2021-07-30 14:13:44 +12:00
David Rowe
fa01ead130
Add extra WebRTC debug
2021-07-30 14:13:15 +12:00
Dale Glass
b293dd2816
Merge pull request #1288 from digisomni/feature/add-talk-to-help
...
Add "Talk" link to "Help" menu.
2021-07-29 23:40:24 +02:00
Kalila
10e8d9f6d8
Update NetworkingConstants.h
2021-07-23 20:44:24 -04:00
Dale Glass
567ff291fe
Merge pull request #943 from daleglass/cmake-build-in-build-dir
...
Cmake: build in build dir
2021-07-22 23:26:21 +02:00
David Rowe
38f7506c5e
Fix erroneous domain server log message
2021-07-21 20:06:18 +12:00
David Rowe
320b5a2d22
Fix HifiSockAddr references
2021-07-21 19:54:40 +12:00
David Rowe
74c2788a14
Merge branch 'master' into dev/rename-hifisockaddr-webapp
...
# Conflicts:
# assignment-client/src/AssignmentClient.cpp
# domain-server/src/DomainServer.cpp
# libraries/networking/src/DomainHandler.cpp
# libraries/networking/src/LimitedNodeList.cpp
# libraries/networking/src/LimitedNodeList.h
# libraries/networking/src/SockAddr.cpp
# libraries/networking/src/SockAddr.h
# libraries/networking/src/udt/Socket.cpp
# libraries/networking/src/udt/Socket.h
# tools/ice-client/src/ICEClientApp.cpp
2021-07-21 15:03:29 +12:00
Dale Glass
32c3725b5d
Define _USE_MATH_DEFINES everywhere that uses math constants
...
On Win32, things are failing to build with messages like:
RenderableEntityItem.cpp(674,51): error C2065: 'M_PI': undeclared identifier
This is because as per Microsoft documentation, _USE_MATH_DEFINES is needed to
obtain constants like M_PI:
https://docs.microsoft.com/en-us/cpp/c-runtime-library/math-constants?view=msvc-160
It seems this worked previously due to some quirk of CMake, but stopped working
after some reordering. This change makes this definition explicit where it is needed.
2021-07-17 19:34:26 +02:00
Kalila
35948d7467
Merge branch 'master' into fix/cmdline-discovery
2021-07-15 22:21:47 -04:00
Kalila
42ffb5709c
Merge pull request #1270 from daleglass/use_qt_endl
...
Replace uses of endl on Qt classes with Qt::endl
2021-07-15 22:18:36 -04:00
Kalila
f62c964fdc
Typo, remove double definitions of constants.
2021-07-15 22:16:32 -04:00
Kalila
d75df82687
Merge pull request #1102 from HifiExperiments/materials2
...
Material improvements 2: reference textures/materials by entity ID
2021-07-15 17:42:40 -04:00
Kalila
8e4a0f8880
Merge branch 'master' into feature/add-talk-to-help
2021-07-15 17:34:29 -04:00
Kalila
0193e0f4d6
Merge pull request #1244 from digisomni/fix/lookup-string-spaces
...
Add ability for 'handleLookupString' to have spaces.
2021-07-12 17:07:29 -04:00
Kalila L
8df362ef1f
Add "Talk" link to "Help" menu.
2021-07-10 18:05:28 -04:00
David Rowe
4dac611036
Fix build error
2021-07-08 15:30:51 +12:00
David Rowe
ed13cbd01b
Merge branch 'webapp' into dev/webrtc-packet
...
# Conflicts:
# libraries/networking/src/webrtc/WebRTCDataChannels.h
2021-07-08 14:54:21 +12:00
HifiExperiments
12833b9c93
CR and percent decoding
2021-07-06 19:13:33 -07:00
HifiExperiments
bdbb88084b
CR
2021-07-05 21:02:40 -07:00
David Rowe
6a17143df8
Rename "HifiSockAddr" to "SockAddr"
2021-07-06 13:23:57 +12:00
HifiExperiments
7f99ddca2e
merge with master
2021-07-05 16:48:45 -07:00
David Rowe
cb89eabf74
Typo
2021-07-06 08:48:43 +12:00
David Rowe
28b46ed861
Log warning if try to set local port on WebRTC LimitedNodeList
2021-07-05 10:59:19 +12:00
David Rowe
319f3e7122
Misc fixes to AddressManager JSDoc
2021-07-05 10:43:50 +12:00
David Rowe
3ebb75acf5
Undo documentation improvements
2021-07-05 10:24:59 +12:00
David Rowe
7ecd9b6b8e
Miscellaneous tidying
2021-07-04 16:38:47 +12:00
David Rowe
e682336cc2
Add missing Doxygen
2021-07-04 15:57:53 +12:00
David Rowe
f6a8ae285d
Fix WebRTC peer connection not being closed properly
2021-07-04 15:50:52 +12:00
Dale Glass
be6a67b5eb
Replace uses of endl on Qt classes with Qt::endl
...
This fixes a whole bunch of warnings
2021-07-03 19:08:03 +02:00
David Rowe
dacda8405c
Typo
2021-07-03 08:43:31 +12:00
David Rowe
f02ffe1ed9
Use alternative signal/slot mechanism for Android compatibility
2021-07-02 12:05:29 +12:00
David Rowe
89c527f0d8
Update Doxygen group tags to use /// format
2021-07-01 15:59:58 +12:00
David Rowe
4d375c029f
Merge remote-tracking branch 'upstream/webapp' into dev/webrtc-packet
2021-07-01 12:14:52 +12:00
David Rowe
d0c89c7d91
Tidying
2021-06-30 22:21:38 +12:00
Kalila
40f81e4866
Merge pull request #1223 from odysseus654/pr/scripting-docs
...
Ensuring minimal documentation for classes declared in script-engine
2021-06-29 19:09:26 -04:00
David Rowe
a0a0e8db35
Merge branch 'webapp' into dev/webrtc-datachannel
2021-06-28 09:42:37 +12:00
Kalila
b86e4b98a9
Merge pull request #1249 from digisomni/fix/docs-links-dev
...
Update user docs links "docs.vircadia.dev" -> "docs.vircadia.com".
2021-06-27 05:55:13 -04:00
Kalila L
88b9b7468e
CR.
2021-06-27 04:31:14 -04:00
Kalila
a217f80ee3
Update NodeList.cpp
2021-06-27 04:14:21 -04:00
David Rowe
d6061289ec
Merge branch 'master' into dev/webapp-master-update
2021-06-27 09:51:41 +12:00
Kalila
7442b14dce
Merge pull request #1258 from ctrlaltdavid/dev/webrtc-update
...
Update WebRTC Windows package
2021-06-26 14:29:24 -04:00
David Rowe
2a9ab98e41
Miscellaneous tidying and fixes
2021-06-26 22:07:48 +12:00
David Rowe
5a5cb6488c
Multiplex UDP and WebRTC sockets in a QUdpSocket-style NetworkSocket
2021-06-26 22:07:01 +12:00
David Rowe
d65ecead9f
Abstract WebRTCDataChannel into a QUdpSocket-style WebRTCSocket
2021-06-26 21:20:26 +12:00
David Rowe
5b937a1580
WebRTCSignalingServer and WebRTCDataChannels improvements
2021-06-26 20:07:26 +12:00
David Rowe
c9d4fe8558
Remove unused code
2021-06-26 17:23:58 +12:00
David Rowe
e48e02d8c6
Fix JSDoc typo
2021-06-22 20:59:06 +12:00
Kalila L
2d4da7ba71
Add disable domain port auto discovery by assignment client option.
2021-06-21 13:22:48 -04:00
Kalila L
d26e035764
Update copyright headers.
2021-06-21 12:06:52 -04:00
Kalila L
90aaa85089
Update user docs links "docs.vircadia.dev" -> "docs.vircadia.com".
2021-06-21 12:01:37 -04:00