Commit graph

4318 commits

Author SHA1 Message Date
d0a752082c Fix long messages in Entity script log 2024-06-15 22:01:31 +02:00
HifiExperiments
9a2f0f7704
Merge pull request #937 from HifiExperiments/text
Text Entity Improvements
2024-06-10 22:59:44 -07:00
HifiExperiments
62bfab962d fix _spaceWidth, update docs to note only png supported, possible fix for text scrambling 2024-06-04 20:30:38 -07:00
HifiExperiments
19144e492c
Merge pull request #152 from HifiExperiments/urls
add canViewAssetURLs domain permissions
2024-05-01 16:49:38 -07:00
HifiExperiments
268de192f7
Merge branch 'master' into fix/script_deadlocks 2024-04-30 13:29:17 -07:00
9f80c9de58 Added HelperScriptEngine class 2024-04-30 00:27:19 +02:00
HifiExperiments
58e84acd5f whoops now it's working 2024-04-18 18:10:48 -07:00
HifiExperiments
a58e188b5c always allow getting my own avatar entities, also whoops I missed some group props 2024-04-18 17:19:06 -07:00
HifiExperiments
f3cb4e2ca9 handle canViewAssetURLs better in create 2024-04-18 15:44:19 -07:00
HifiExperiments
8bdc5bb4cf add canViewAssetURLs domain permissions 2024-04-18 15:44:15 -07:00
HifiExperiments
36fafe8432 wip msdf fonts 2024-04-16 13:47:05 -07:00
HifiExperiments
b8a9881d41 fix getting only group properties + keylight.direction typo 2024-04-11 15:07:03 -07:00
93a243d095 Move helper script engines to their own threads 2024-03-04 23:06:26 +01:00
9a00edd371 Fix entity density not setting and not updating for motion states 2024-02-17 20:55:02 +01:00
c311d3cbfc Script API for subscribing to entity server messages 2024-01-29 00:19:14 +01: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
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