Commit graph

4380 commits

Author SHA1 Message Date
HifiExperiments
8bdc5bb4cf add canViewAssetURLs domain permissions 2024-04-18 15:44:15 -07:00
HifiExperiments
a6491d6225 add default particle props 2024-04-17 15:43:20 -07:00
HifiExperiments
36fafe8432 wip msdf fonts 2024-04-16 13:47:05 -07:00
HifiExperiments
98c11cef82 locking attempt #2 2024-04-14 22:04:09 -07:00
HifiExperiments
376be7b17e support registration point, improve locking 2024-04-12 13:04:30 -07:00
HifiExperiments
b8a9881d41 fix getting only group properties + keylight.direction typo 2024-04-11 15:07:03 -07:00
HifiExperiments
b7a3fb1072 support non-localOnly sound avatar entities 2024-04-07 12:54:37 -07:00
HifiExperiments
aa5e8e635e
Merge branch 'protocol_changes' into sound 2024-04-05 23:22:22 -07:00
HifiExperiments
51a80af149
Merge branch 'protocol_changes' into particles 2024-04-05 23:20:58 -07:00
HifiExperiments
9914d4d133 fix stereo sound speed 2024-03-30 00:05:28 -07:00
HifiExperiments
878774b5d3 sound entities 2024-03-26 13:47:22 -07:00
HifiExperiments
b6199079f8 Ability to smooth model animations 2024-03-24 12:46:46 -07:00
HifiExperiments
0538284492 fix 0 update props case 2024-03-23 20:39:40 -07:00
HifiExperiments
9f3cf5a029 fix particle intersection 2024-03-22 21:38:38 -07:00
HifiExperiments
f7c17d6035 new procecural particle entity type 2024-03-21 16:43:09 -07:00
93a243d095 Move helper script engines to their own threads 2024-03-04 23:06:26 +01:00
HifiExperiments
b8d2d71e07 move audio zones to zone entity properties 2024-03-02 11:27:04 -08:00
HifiExperiments
7941c9e2c9
fix typo 2024-03-01 11:18:52 -08:00
9a00edd371 Fix entity density not setting and not updating for motion states 2024-02-17 20:55:02 +01:00
HifiExperiments
dc32e5c0a3 web entity wantsKeyboardFocus property 2024-02-15 11:54:49 -08:00
c311d3cbfc Script API for subscribing to entity server messages 2024-01-29 00:19:14 +01:00
HifiExperiments
e96a4f5c98
Merge branch 'protocol_changes' into tags 2024-01-13 12:11:20 -08:00
Dale Glass
e7591d6794
Revert "Revert "Mirrors + Portals"" 2024-01-13 11:23:36 +01:00
c6e4e5de37
Revert "Mirrors + Portals" 2024-01-13 11:18:08 +01:00
HifiExperiments
f99a2fa405 break when tag found 2023-12-30 13:41:56 -08:00
dfbc1d8865 Server side entity script messages 2023-12-29 20:28:54 +01:00
28e5466659 Fixed returnNothingOnEmptyPropertyFlags 2023-12-14 00:00:45 +01:00
b677cab143 Rename variable in entity scripting API and document it 2023-12-12 19:05:00 +01:00
7010f242b3 Fix a bug in Entities.getEntityProperties 2023-12-10 11:23:06 +01:00
HifiExperiments
85f24f0951 entity tags 2023-12-02 15:59:52 -08:00
HifiExperiments
89e6cbbfa4 mirrors wip 2023-11-13 14:40:56 -08:00
6645763117 Replaced mutex locking with lock guard 2023-10-31 18:37:05 +01:00
7481130e61 Add a mutex to entity server script engine 2023-10-30 20:41:08 +01:00
33bdd841c1 Fix entity server memory leak and improve performance 2023-10-30 18:40:04 +01:00
13242611ea Fix jsDoc references to Vircadia platform/CDN 2023-08-25 13:58:45 -03:00
514c63ed90 Fix prtotocol incompatilibility after removing wallet 2023-06-03 12:27:24 +02:00
Heather Anderson
60b8d41c16 stripping wallet/marketplace out 2023-05-28 15:12:21 +02:00
fe9babf02d Scripting-related cleanup 2023-05-19 00:17:41 +02:00
f79ec0f293 Work on script engine exceptions, cleanup 2023-05-19 00:17:41 +02:00
3c80411bf1 V8-related cleanup 2023-05-19 00:17:41 +02:00
fdd8cb290c Optimized getEntityProperties 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
3a207507bf Optimized EntityItemProperties::copyFromScriptValue 2023-05-19 00:17:40 +02:00
8a2c055adc Removed 3D overlays functionality entirely 2023-05-19 00:17:39 +02:00
Dale Glass
67e7a7375a Further exception work on V8
* Get rid of maybeEmitUncaughtException
* Mostly get rid of makeError
* Introduce exception hierarchy, change exceptions to shared_ptr
* Simplify exception throwing code
2023-05-19 00:17:39 +02:00
Dale Glass
c0e62c5cc2 Initial exception handling
Make exception handling use the new ScriptException class.
Add exception signal
Throw exceptions in script evaluation
Remove references to ScriptManager from ScriptEngine
2023-05-19 00:17:39 +02:00
acc658ee80 Fixed deadlock in Create App 2023-05-19 00:17:38 +02:00
ae7d229d0e Fix copyright headers 2023-05-19 00:17:38 +02:00
12f239b18c Fix V8 memory leak and persistend handle problems 2023-05-19 00:17:38 +02:00
3e692a60b4 V8 fixes 2023-05-19 00:17:37 +02:00
6f32173025 Fixes to most scripting-related warnings 2023-05-19 00:17:35 +02:00
0a3ec92031 Type registeration fixes for scripting engine 2023-05-19 00:17:35 +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
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
8581022a53 rework ScriptValue to act like a stack variable rather than a pointer 2023-05-19 00:17:34 +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
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
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
3df9d6674b Voxel UI code cleanup 2022-07-16 16:22:46 +02:00
55347d2a97 Voxel creation and presets from Create App 2022-07-16 16:22:33 +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
0d038be031 Fix writing to buffer out of bounds warning 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
c6f1e6410e Updated some URLs, rebranded documentation and changed default metaverse server address 2022-02-09 23:57:24 +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
Dale Glass
b8d1057e1f Replace the deprecated QMutex{ QMutex::Recursive} with QRecursiveMutex
This fixes around 1700 warnings.
2021-09-26 01:27:19 +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
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
Dale Glass
24b2cdfcd2 Fix QString::SplitBehavior deprecation, replace with Qt:: 2021-08-06 20:16:10 +02: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
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
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
HifiExperiments
7f99ddca2e merge with master 2021-07-05 16:48:45 -07:00
David Rowe
4d11d1d515 Convert all "/**jsdoc" occurrences to "/*@jsdoc" 2021-05-12 10:54:45 +12:00
Julian Groß
8573425f68 Update library headers 2021-04-15 20:15:36 +02:00
Kalila
6949c9a5cd
Merge pull request #1145 from daleglass/fix-getRotateForPicking
Fix ShapeEntityItem::getRotateForPicking()
2021-04-02 16:24:19 -04:00
Dale Glass
aa0f8a8304 Fix ShapeEntityItem::getRotateForPicking()
It declared a variable it didn't use, and instead used the unlocked version.
2021-04-02 00:24:45 +02:00
David Rowe
c45007d038 Merge branch 'master' into fix/can-rez-attachment
# Conflicts:
#	interface/src/Application.h
2021-03-29 15:28:08 +13:00
Kalila
409cc5835c
Merge pull request #1050 from HifiExperiments/imageAspectFix
Image Entities: fix keepAspectRatio, implement naturalDimensions
2021-03-27 15:24:43 -04:00
David Rowe
71b025f7f0 Separate API vs. internal versions of clearAvatarEntity() 2021-03-22 15:36:57 +13:00
HifiExperiments
a87d6e5182 on json import, material/texture references are updated to new ids 2021-03-19 17:39:22 -07:00
HifiExperiments
5fd4f215f1 more docs 2021-03-17 19:18:30 -07:00
David Rowe
b48d3e0387 Tidy disabling of avatar entity manipulation if don't have permission 2021-03-16 12:00:34 +13:00
David Rowe
e23251df4e Ignore Entities.addEntity() for avatar entities if don't have permission 2021-03-15 20:25:18 +13:00
Kalila
053548cd14
Merge pull request #1033 from HifiExperiments/skyboxShape
Non-uniformly scaled sphere zones and models behave like ellipsoids (and fix EntityItem::contains sphere case)
2021-03-03 16:15:47 -05:00
Kalila L
6b5cffa5e4 Initial pass at adding canRezAvatarEntities. 2021-02-26 06:14:06 -05:00
HifiExperiments
5677b5d5dc docs 2021-02-20 23:03:30 -08:00
HifiExperiments
30cf1555e4 fix keepAspectRatio, give text entities naturalDimensions 2021-02-20 22:47:33 -08:00
Julian Groß
937e0a55db Merge remote-tracking branch 'refs/remotes/HifiExperiments/fixBillboard' 2021-02-20 12:12:59 +01:00