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
457728cee1
dropped KALILA global script attributes
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
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
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
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
Dale Glass
8a12bf1749
Replace usage of deprecated QWheelEvent members
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
a7f6fed937
Replace deprecated .toSet()
2022-06-10 00:46:19 +02:00
Dale Glass
87ba20ecb4
Only whitespace changes
2022-06-10 00:46:19 +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
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
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
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
David Rowe
89c527f0d8
Update Doxygen group tags to use /// format
2021-07-01 15:59:58 +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
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
David Rowe
e48e02d8c6
Fix JSDoc typo
2021-06-22 20:59:06 +12:00
Kalila L
90aaa85089
Update user docs links "docs.vircadia.dev" -> "docs.vircadia.com".
2021-06-21 12:01:37 -04:00
Kalila L
51e6468abd
Rename 'URL_SCHEME_HIFI' -> 'URL_SCHEME_VIRCADIA'.
2021-06-11 17:04:16 -04:00
Kalila
d8a0d13812
Merge pull request #1206 from odysseus654/pr/drop-script-debugging
...
drop remaining references to QScriptEngineDebugger
2021-06-03 18:01:40 -04:00
Heather Anderson
259cd20b87
Ensuring minimal documentation for classes declared in script-engine
2021-05-29 22:50:39 -07:00
David Rowe
4d11d1d515
Convert all "/**jsdoc" occurrences to "/*@jsdoc"
2021-05-12 10:54:45 +12:00
Heather Anderson
04f8ccd2b0
drop remaining references to QScriptEngineDebugger
2021-05-08 20:31:03 -07:00
Julian Groß
ecb7c47f1a
Rename fbx folder to model-serializers
2021-04-15 19:26:10 +02:00
Dale Glass
a51c5057ca
Add virtual destructor to TreeNodeBase
...
Fixes #1131 , possibly solves a crash on exit.
2021-03-30 17:14:45 +02:00
Kalila
58fde3c159
Merge pull request #1090 from digisomni/feature/expand-kick-functionality
...
Add improved functionality for `Users.kick` API.
2021-03-28 21:05:59 -04:00
Kalila L
cfac34bf7e
CR.
2021-03-21 13:20:05 -04:00
Kalila
12d5687c6a
Update libraries/script-engine/src/UsersScriptingInterface.h
...
Co-authored-by: David Rowe <david@ctrlaltstudio.com>
2021-03-21 13:13:24 -04:00
Kalila L
f067feb37a
Add docs for ban functionality.
2021-03-19 04:44:58 -04:00
Kalila L
fd592dfb06
CR.
2021-03-19 04:11:26 -04:00
Kalila L
be0bd3940d
Finish flag work on kick functionality.
2021-03-17 23:25:08 -04:00
Kalila L
0216b34681
State of refactoring
2021-03-17 19:37:06 -04:00
Kalila L
78cc98bc7b
Add improved functionality for Users.kick
API.
...
Add banByUsername, banByFingerprint, and banByIP parameters.
2021-03-11 01:03:54 -05:00
Kalila
1f4cb7b9d6
Update ScriptGatekeeper.cpp
2021-03-10 01:27:32 -05:00
Kalila
3dc11637ed
Apply suggestions from code review
...
Co-authored-by: David Rowe <david@ctrlaltstudio.com>
2021-03-10 01:27:05 -05:00
Kalila L
3ed98d0f3e
Add "ScriptGatekeeper" class and "PRELOADED_SCRIPT_WHITELIST" variable.
2021-03-08 02:00:34 -05:00
David Rowe
5ad2f9d192
Fix OSX crash on shutdown
2021-02-26 09:05:52 +13:00
HifiExperiments
30c4779eeb
name all the threads
2021-02-13 20:17:28 -08:00
kasenvr
86cbcb53a3
Merge pull request #882 from ctrlaltdavid/fix/jsdoc-typo
...
Fix JSDoc typo
2020-12-01 05:58:31 -05:00
David Rowe
eb70d15f77
Fix JSDoc typo
2020-11-23 19:13:48 +13:00
HifiExperiments
b6744588f4
loading fix
2020-11-16 21:25:25 -08:00
kasenvr
5080909bb9
Merge pull request #664 from kasenvr/feature/require-redownload
...
Feature/require redownload
2020-11-12 17:10:08 -05:00
humbletim
f41ef31ef5
changes per CR
2020-10-31 13:50:47 -04:00
humbletim
ae7aa3eb88
update ScriptCache to detect local script modifications
2020-10-29 11:30:33 -04:00
kasenvr
4b2c71cf61
Update libraries/script-engine/src/ScriptEngine.cpp
...
Co-authored-by: David Rowe <david@ctrlaltstudio.com>
2020-10-25 19:49:59 -04:00
Kalila L
50067e3361
Prevent crash on entity-script-server for due to logging interface.
2020-10-25 18:36:20 -04:00
Kalila L
05ad300894
CR.
2020-10-11 00:50:41 -04:00
Kalila L
36f5fd9636
Merge branch 'master' into feature/require-redownload
2020-10-11 00:15:52 -04:00
kasenvr
b182a7b371
Merge pull request #669 from odysseus654/pr/script-logging
...
add more details to messages logged in entity scripts
2020-10-06 04:35:11 -04:00
kasenvr
ca80d79991
Merge branch 'master' into fix/update-api-docs
2020-10-02 15:33:28 -04:00
kasenvr
c975d1acec
Update libraries/script-engine/src/ScriptEngine.h
...
Co-authored-by: David Rowe <david@ctrlaltstudio.com>
2020-10-02 15:32:05 -04:00
Kalila L
853c8052f4
Merge branch 'master' into pr/669
2020-10-02 15:29:51 -04:00
Dale Glass
1d58ac4d79
Sanitize the URL further by removing leading slashes and any duplicated ones
2020-09-23 23:33:22 +02:00
Dale Glass
b243d382fc
Fix warning due to multiline comment
2020-09-23 22:34:01 +02:00
David Rowe
c6ba42b7d6
Fix calculating external resource paths
2020-09-23 22:15:13 +12:00
David Rowe
ba7242f4dc
Script.getExternalPath() and related JSDoc
2020-09-23 17:23:40 +12:00
Kalila L
7b7038fae1
Bunch of URL updates later...
2020-09-21 00:54:49 -04:00
kasenvr
88fc213644
Apply suggestions from code review
...
Co-authored-by: David Rowe <david@ctrlaltstudio.com>
2020-09-19 23:53:04 -04:00
Dale Glass
25a9716642
Fix crash due to incorrect assert
2020-09-20 02:08:22 +02:00
Dale Glass
2de0934598
Some missed review fixes
2020-09-20 01:57:44 +02:00
David Rowe
2c84478dc1
Register metatype
2020-09-20 01:29:32 +02:00
Dale Glass
89aa89e9d3
Review fixes (non-working)
...
Trouble with:
> Script.getExternalPath(Script.ExternalPaths.Assets, "hi")
[UncaughtException evaluate] Error: cannot call getExternalPath(): argument 1 has unknown type `ExternalResource::Bucket' (register the type with qScriptRegisterMetaType()) in about:console:1 [Backtrace] <global>() at about:console:1
TypeError: cannot call getExternalPath(): argument 1 has unknown type `ExternalResource::Bucket' (register the type with qScriptRegisterMetaType())
2020-09-20 01:29:32 +02:00
Dale Glass
cd901f9e32
Move enum into ExternalResources namespace
2020-09-20 01:29:32 +02:00
Dale Glass
26bcaa420d
Better enum registration
2020-09-20 01:29:32 +02:00
Kalila L
bcd5f242b9
Added type and filename doc for Script API.
2020-09-18 18:52:49 -04:00
Kalila L
9f3978d3d5
Update system to use a checkbox + setting instead.
2020-09-17 18:40:01 -04:00
Kalila L
8eb12a873b
Revert forceRedownload functionality.
2020-09-17 14:14:32 -04:00
kasenvr
8a007a4edf
Apply suggestions from code review
...
Co-authored-by: HifiExperiments <53453710+HifiExperiments@users.noreply.github.com>
Co-authored-by: David Rowe <david@ctrlaltstudio.com>
2020-09-07 01:38:44 -04:00
Kalila L
ab46b1fc9e
Update ScriptEngine.cpp
...
Just some revisions...
2020-09-03 01:41:31 -04:00
Kalila L
4096d75bb4
Add checkbox for showing extra source logs.
2020-09-01 16:46:22 -04:00
Heather Anderson
ee43cfd892
add more details to messages logged in entity scripts
2020-08-30 23:47:54 -07:00
Kalila L
2645547f48
Add forceRedownload parameter to Script.require
2020-08-27 05:57:28 -04:00
Kasen IO
4b1e82fc0b
Move user agent to networking constants.
2020-07-08 14:18:24 -04:00
kasenvr
7996698c8f
Merge branch 'master' into fix/other-renamings
2020-05-18 15:10:32 -04:00
David Rowe
ffeb37e7aa
Merge remote-tracking branch 'hifi/master' into merge-hifi-master
...
# Conflicts:
# CMakeLists.txt
# README.md
# cmake/externals/glad32es/CMakeLists.txt
# cmake/externals/glad41/CMakeLists.txt
# cmake/externals/glad45/CMakeLists.txt
# cmake/externals/polyvox/CMakeLists.txt
# cmake/externals/quazip/CMakeLists.txt
# cmake/externals/vhacd/CMakeLists.txt
# cmake/init.cmake
# cmake/ports/hifi-deps/CONTROL
# cmake/ports/sdl2/CONTROL
# cmake/ports/sdl2/disable-hidapi-for-uwp.patch
# cmake/ports/sdl2/enable-winrt-cmake.patch
# cmake/ports/sdl2/fix-arm64-headers.patch
# cmake/ports/sdl2/fix-x86-windows.patch
# cmake/ports/sdl2/portfile.cmake
# cmake/ports/sdl2/vcpkg-cmake-wrapper.cmake
# cmake/ports/tbb/portfile.cmake
# hifi_vcpkg.py
# interface/src/avatar/MyAvatar.h
# libraries/avatars-renderer/src/avatars-renderer/Avatar.h
# libraries/avatars/src/AvatarData.h
# libraries/entities-renderer/src/RenderableEntityItem.h
# libraries/entities/src/EntityItem.cpp
# libraries/entities/src/EntityItem.h
# libraries/fbx/src/GLTFSerializer.cpp
# libraries/graphics-scripting/src/graphics-scripting/Forward.h
# libraries/networking/src/AddressManager.cpp
# libraries/networking/src/DomainHandler.h
# libraries/procedural/src/procedural/ProceduralMaterialCache.cpp
# libraries/render-utils/src/HighlightEffect.cpp
# libraries/render-utils/src/MeshPartPayload.cpp
# libraries/render-utils/src/Model.cpp
# libraries/render-utils/src/RenderShadowTask.cpp
# libraries/script-engine/src/WebSocketClass.cpp
2020-04-09 16:46:27 +12:00
Kasen IO
115c40bd54
Lots of renamings, more to come.
2020-04-07 04:56:02 -04:00
David Rowe
5a91de016e
Fix scripts not running at Interface start after reloading all scripts
2020-02-08 16:50:46 +13:00
Kasen IO
428a5b65ff
Lint
2020-01-27 13:13:36 -05:00
Kasen IO
8b03d1bd19
Removed unnecessary var.
2020-01-25 19:08:56 -05:00
kasenvr
fe48427d38
Update libraries/script-engine/src/ScriptEngine.cpp
...
Co-Authored-By: HifiExperiments <53453710+HifiExperiments@users.noreply.github.com>
2020-01-25 19:02:12 -05:00
Kasen IO
d6cf4db930
Fixed bug
2020-01-25 12:48:43 -05:00
Kasen IO
aa0c225809
Merge branch 'kasen/core' into fix/whitelist-qml-adds
2020-01-24 19:55:23 -05:00
David Rowe
7ed117dfcb
Replace links to docs.highfidelity.com
2020-01-24 10:18:55 +13:00
Kasen IO
c121a8ef2a
Housekeeping.
2020-01-23 03:06:58 -05:00
Kasen IO
7a985b445e
removed extra debug, added debug for user awareness.
2020-01-22 14:53:55 -05:00
Kasen IO
fd5ee3e1a7
Whitelist toggle now works.
2020-01-22 14:48:15 -05:00
Kasen IO
98473abbb4
QML works, C++ works but does a manual set to true, does not see updates from QML set setting.
2020-01-22 11:29:37 -05:00
Kasen IO
61943d0edb
non-working state
2020-01-21 22:51:30 -05:00
Kasen IO
bd066adbf6
Whitelist toggle not working c++ side.
2020-01-20 16:03:48 -05:00
e5dd23b922
Merge pull request #33 from kasenvr/feature/metaverse-url-switching
...
Ability to change Metaverse API from setting
2020-01-14 18:40:04 -06:00
David Rowe
ec1e6bc7d3
Merge branch 'DOC-55-C' into api-docs
2020-01-14 18:04:32 +13:00
David Rowe
050c6e2cc5
Merge branch 'DOC-212' into api-docs
...
# Conflicts:
# libraries/shared/src/RegisteredMetaTypes.h
2020-01-14 18:04:17 +13:00
David Rowe
b9a1b78531
Merge branch 'DOC-68' into api-docs
...
# Conflicts:
# libraries/shared/src/RegisteredMetaTypes.h
2020-01-14 18:02:23 +13:00
kasenvr
5fdd563bfa
Merge pull request #65 from kasenvr/fix/whitelist-server
...
Whitelist Quality of Life Updates
2020-01-09 17:55:45 -05:00
Kasen IO
2c7911acb8
more housekeeping
2020-01-09 16:15:41 -05:00
Fluffy Jenkins
672ac8066b
Made changes
2020-01-08 04:38:33 +00:00
Kasen IO
a6dc494d7c
housekeeping
2020-01-07 19:40:42 -05:00
Kasen IO
13d79fec8b
Fixes bools and tab.
2020-01-07 13:04:28 -05:00
Kasen IO
d87cd01129
Adds major QOL updates to whitelist
2020-01-07 03:03:08 -05:00
Fluffy Jenkins
3c4d56bc50
Fixed whitespace
2020-01-07 04:10:15 +00:00
Fluffy Jenkins
b33ad80992
Init push
2020-01-07 04:00:13 +00:00
Kasen IO
20f5439fa8
Hard tabs converted to 4 length soft tabs.
2020-01-06 08:58:09 -05:00
Kasen IO
8124b7d4a1
Fixed tabs and spaces.
2020-01-06 08:29:01 -05:00
Kasen IO
fb5dbfc52a
Disable whitelist on entity_server scripts.
2020-01-05 23:32:28 -05:00
David Rowe
2dd981493e
Update classes' JSDoc per @hideconstructor
2019-12-23 14:13:48 +13:00
David Rowe
a92830f2c1
Miscellaneous JSDoc fixes
2019-12-23 09:09:27 +13:00
Kasen IO
c34cd996df
change Metaverse API from setting
2019-12-20 11:39:05 +01:00
David Rowe
1ebc6a575e
Model API JSDoc
2019-12-20 13:33:48 +13:00
David Rowe
5256f58520
Document callback function signatures for Script.addEventHandler()
2019-12-17 16:17:45 +13:00
David Rowe
3aaeba76a9
Fix typos in WebSocket JSDoc
2019-12-17 09:20:18 +13:00
David Rowe
025c136561
XMLHttpRequest API JSDoc
2019-12-17 09:19:47 +13:00
David Rowe
ea72036757
Typos
2019-12-14 12:36:36 +13:00
David Rowe
5359efead8
Add JSDoc missing for callback parameter
2019-12-14 12:33:51 +13:00
David Rowe
13abf7f016
WebSocket and WebSocketServer JSDoc
2019-12-14 11:59:18 +13:00
David Rowe
bbd16d7544
Fix global print function's JSDoc
2019-12-11 07:42:58 +13:00
David Rowe
5caa21e5d9
Update Script JSDoc accordingly
2019-12-11 07:42:40 +13:00
David Rowe
7d2e818ab1
console JSDoc
2019-12-11 07:41:37 +13:00
Kasen IO
3e6660b633
Updated whitelist debugs for clarity in dev log
2019-12-09 08:30:02 -05:00
Kasen IO
2de388ab3b
Fixes bug where empty "" whitespace allows all scripts.
2019-12-09 01:20:04 -05:00
Kasen IO
fe66dc82f3
scriptengine pulls from inferface.json correctly, removed extra debug, fixed QML to load to textarea correctly.
2019-12-08 23:11:21 -05:00
Kasen IO
f49e64b99f
Cleaned out extra commented code.
2019-12-08 21:12:20 -05:00
Kasen IO
2e36c40912
added QML + C++ system for whitelists
2019-12-07 21:37:23 -05:00
Kasen IO
edfce861a8
Merge branch 'kasen/core' into v0860-kasen-release+freshstart
2019-12-01 22:56:19 -05:00
Kasen IO
07d706d681
Removed all hardcoded whitelist rules
2019-12-01 22:55:51 -05:00
Kasen IO
0b46c53df1
Merge branch 'kasen/core' into v0860-kasen-release+freshstart
2019-12-01 19:59:59 -05:00
Brad Davis
d4b3a9ba49
Github actions
2019-11-18 15:20:37 -08:00
HifiExperiments
bae2ba7bae
merge with master
2019-11-02 01:08:56 -07:00
HifiExperiments
1e100a672e
merge with master and try to fix opacity mode stuff
2019-10-23 22:21:45 -07:00
David Rowe
777f969919
Typo
2019-10-24 09:00:29 +13:00
David Rowe
fffb81b474
Merge branch 'master' into DOC-191
2019-10-24 08:23:27 +13:00
David Rowe
185d6990eb
Add missing threading checks to Recording API methods
2019-10-16 09:17:29 +13:00
David Rowe
e708cb98bb
Fix crash in Recorder.stopRecording() when no recording is being made
2019-10-15 11:29:49 +13:00
David Rowe
1715a86dba
Fix typo in Assets JSDoc
2019-10-12 07:58:26 +13:00
David Rowe
e4bc3a7d9d
Recording JSDoc
2019-10-12 07:58:13 +13:00
David Rowe
f224832d27
Merge branch 'master' into DOC-111
2019-10-08 20:44:13 +13:00
jennaingersoll
8d8449d8d7
Merge pull request #16166 from ctrlaltdavid/DOC-159
...
DOC-159: File JSDoc
2019-10-07 16:37:11 -07:00
Shannon Romano
5bbe271c7a
Merge pull request #16299 from ctrlaltdavid/DOC-187
...
DOC-187: Mat4 JSDoc
2019-10-07 09:11:32 -07:00
Shannon Romano
921cec872b
Merge pull request #16300 from hyperlogic/bug-fix/mat4-forward-right-up-fixes
...
Fix for Mat4.getForward, getRight and getUp
2019-10-04 17:00:43 -07:00
David Rowe
70577b8f34
Remove "not working" warnings in anticipation of fix
2019-10-05 12:13:57 +13:00
Anthony J. Thibault
521f64f152
normalize axes returned by Mat4.getForward getUp and getRight
2019-10-04 14:10:28 -07:00
Anthony J. Thibault
e3f799d039
Fix for Mat4.getForward, getRight and getUp
...
It should match the results from the same methods on the Quat class.
2019-10-04 13:59:38 -07:00
David Rowe
6e6d438d36
Tidying
2019-10-05 09:34:31 +13:00
David Rowe
a56f82c1ba
Mat4 JSDoc
2019-10-05 09:27:31 +13:00
Simon Walton
95248c7ccd
Add <future> header for Android
2019-09-30 23:43:06 -07:00
Simon Walton
595b473be7
Make AssetScriptingInterface::initializeCache() blocking
2019-09-30 17:55:24 -07:00
David Rowe
b174e002a9
Implement Recording.setPlayerVolume()
2019-09-24 12:52:51 +12:00
David Rowe
9d9317c50d
Miscellaneous fixes and typos
2019-09-20 10:19:45 +12:00
David Rowe
d5e08d19e3
Fix JSDoc for miscellaneous white space issues
2019-09-20 08:17:24 +12:00
David Rowe
dff37a71eb
Fix JSDoc markup HTML issues
2019-09-17 16:26:09 +12:00
David Rowe
7bbca94d43
Doc review
2019-09-12 14:41:43 +12:00
Shannon Romano
fa8c959699
Merge pull request #16133 from ctrlaltdavid/DOC-59
...
DOC-59: Assets JSDoc
2019-09-11 17:19:45 -07:00
Shannon Romano
65d0bb1342
Merge pull request #15906 from kasenvr/kpi-v1-modkit-rc
...
Kasen Plugin Infrastructure v½ Codename "Modkit Mini"
2019-09-11 13:04:01 -07:00
David Rowe
04203b1425
File JSDoc
2019-09-10 12:01:38 +12:00
Sam Gateau
acf51ad217
Merge pull request #16137 from jherico/fix/bugz-1398
...
BUGZ-1398: Tablet access to local HTML
2019-09-06 09:59:22 -07:00
Brad Davis
0511f87bad
BUGZ-1398: Tablet access to local HTML https://youtu.be/7EWQOeQf32U
2019-09-05 11:43:43 -07:00
humbletim
271fac4bca
Merge remote-tracking branch 'upstream/master' into kasenvr-kpi-v1-modkit-rc-merge
2019-09-05 09:46:21 -04:00
HifiExperiments
97b9179144
merge with master
2019-09-05 00:46:56 -07:00
David Rowe
49ab504226
Make placement of callback JSDoc consistent
2019-09-05 12:23:56 +12:00
David Rowe
06ebba554e
Doc review
2019-09-05 12:23:12 +12:00
David Rowe
6474705ca2
Reformat "supported script types" in Entities and Scripts signals
2019-09-04 21:06:30 +12:00
David Rowe
cf01d9f1af
Script.require() JSDoc fixes
2019-09-04 21:04:03 +12:00
David Rowe
f384b79bf5
Merge branch 'master' into DOC-59
2019-09-04 15:47:23 +12:00
David Rowe
9457aed631
Tidying and polishing Assets JSDoc
2019-09-04 15:43:18 +12:00
David Rowe
8820d1d76b
Assets API cache methods
2019-09-04 13:48:06 +12:00
jennaingersoll
037ad36262
Merge pull request #16103 from ctrlaltdavid/DOC-64
...
DOC-64: ScriptDiscoveryService API JSDoc
2019-08-30 22:35:39 -07:00
Bradley Austin Davis
8e3b337a6e
Merge pull request #16120 from jherico/fix/bugz-1365
...
BUGZ-1365: prevent server scripts from accessing local files in HTML controls
2019-08-30 13:10:09 -07:00
Brad Davis
428a58710d
BUGZ-1365: Ensure that by default web views can't access local content
2019-08-29 13:44:49 -07:00
Shannon Romano
b4d0c87654
Merge pull request #16117 from ctrlaltdavid/BUGZ-1316
...
BUGZ-1316: Fix crashes in Assets API
2019-08-29 09:07:37 -07:00
David Rowe
fb818c0726
Fix crash in Assets.setBakingEnabled() when callback undefined
2019-08-29 13:33:22 +12:00
David Rowe
746f97a0e0
Fix crash in Assets.getAsset() when callback undefined
2019-08-29 13:33:04 +12:00
Shannon Romano
f63fc15d4f
Merge pull request #16115 from sabrina-shanman/crash_shutdown_running-script
...
Attempt to fix crash from script running too late
2019-08-28 15:54:10 -07:00
sabrina-shanman
437f6b4096
Only say we're throwing a script error when we mean it
2019-08-28 14:58:57 -07:00
David Rowe
d52bb66048
Add missing JSDoc
2019-08-29 09:38:43 +12:00
sabrina-shanman
67a06b3a74
Attempt to fix crash from script running too late
2019-08-28 14:28:12 -07:00
David Rowe
8c735ed6ae
Fix ScriptDiscoveryService.scriptsModel.parent() crash for invalid index
2019-08-28 16:32:52 +12:00
David Rowe
757a4f908b
Fix ScriptDiscoveryService.scriptsModel.data() crash for invalid row
...
Also fixes unexpected data for invalid column > 1.
2019-08-28 16:32:22 +12:00
David Rowe
3e795d9b99
Typos and improvements
2019-08-27 10:03:26 +12:00
David Rowe
c19c1c9a5d
Scripts API JSDoc fixes
2019-08-27 09:24:01 +12:00
David Rowe
fff2a15960
ScriptsModel and ScriptsModelFilter classes' JSDoc
2019-08-27 09:24:01 +12:00
David Rowe
e1e74a2c34
ScriptDiscoveryService API JSDoc
2019-08-27 09:24:00 +12:00
David Rowe
2ad1d7a2a2
Fix typos
2019-08-22 10:27:17 +12:00
David Rowe
942347158a
Collapse some function signatures' JSDoc
2019-08-22 10:16:56 +12:00
David Rowe
11e72c638b
Assets API compression methods JSDoc
2019-08-22 09:47:25 +12:00
David Rowe
5f3081784c
Assets API methods that include mappings JSDoc
2019-08-21 12:36:37 +12:00
David Rowe
817bc6cd43
Assets API base functionality JSDoc
2019-08-21 09:50:23 +12:00
Simon Walton
85da916a3b
Merge pull request #16061 from SimonWalton-HiFi/entities-scriptengine-takedown
...
BUGZ-984: Wait for client entity-scripts to unload when shutting down
2019-08-16 10:12:38 -07:00
Simon Walton
9aacd136b8
Add blocking to script unload for client entity-scripts
2019-08-14 13:51:40 -07:00
Clement
90aeb636bd
Delete reply after the callback is executed
2019-08-12 17:21:22 -07:00
Clement
b2704da9ef
Don't manage _sendData's memory
2019-08-07 15:04:20 -07:00
Clement
0b72e4dc60
Make XML HTTP requests script owned
...
This was causing them to leak every time
2019-08-07 13:18:39 -07:00
Kalila R
28b27a1e48
Merge branch 'v0.83.0-rc' into kasen/core
2019-08-03 15:27:23 -04:00
amerhifi
a37ef7d80e
adding default script location setting for defaultscriptoverride runs. Prevents the second interface run to have no ui
2019-08-02 13:00:43 -07:00
amerhifi
0ee9de7ed8
lambda space
2019-08-02 11:24:21 -07:00
amerhifi
d05f1ac87f
adding ability to reload defaultOverrdie script without saving to settings:
2019-08-02 11:23:33 -07:00
Kalila R
8b6cce5889
Moved getTypeAsString function from public to protected
2019-07-30 17:26:49 -04:00
Simon Walton
2ebc6e66fe
Merge remote-tracking branch 'upstream/master' into scriptaudioinjector-delete-via-signal
...
Need 985 PR.
2019-07-26 09:53:23 -07:00
humbletim
058c81aa1a
Merge branch 'hifi-master' into kpi-v1-modkit-rc
2019-07-26 01:36:52 -04:00
Simon Walton
a9d3413626
Delete script audio-injector wrapper when wrapped object goes
2019-07-25 17:51:01 -07:00
Simon Walton
53cf915e8d
Guard for AudioInjectorManager existance; clear an audio interface pointer
2019-07-24 14:51:41 -07:00
humbletim
c5b2514e0e
fix linux build warning; remove unnecessary code
2019-07-23 12:13:49 -04:00
Shannon Romano
23c7e1c0f3
Merge pull request #15843 from SamGondelman/quit
...
Fix ScriptEngines::loadScript invoke call
2019-07-15 08:32:16 -07:00
kasenvr
e9e9607a3b
modkit core changes initial commit
...
whitespace corrections + warnings
updated cmake plugin
rework with focus on JS API integration example
cleanup edit_filter scope
separate-out edit_filter wantsScope stuff
-plugin metadata
split scriptengines out separately
cleanup __url/__filename sets
additional cleanup
fix typo; consolidate ScriptInitializerMixin inits
add more example API protoypes
cleanup pass; fix entity_server / agent init
fix whitespace
remove technically unnessary plugin filtering
+EDIT_FILTER_SCRIPT; cleanup
reorder public/slot/private
use std::count_if
formatting
better debug output; cleanup
fix msvc compiler warning
cleanup
eradicate QtScript references from API Example
updated header comments
Updated KasenAPIExample
2019-07-14 21:35:13 -04:00
SamGondelman
60600779c9
merge with master
2019-07-12 11:01:17 -07:00
Shannon Romano
f235778a6e
Merge pull request #15866 from huffman/feat/override-default-scripts
...
DEV-164: Add defaultScriptsOverride option
2019-07-10 10:16:55 -07:00
Ryan Huffman
d29cd796ca
Add defaultScriptsOverride option
2019-07-01 23:51:34 -07:00
Anthony Thibault
6c66f5a37b
Fix for DependencyManager crash on shutdown on Mac
...
On Mac, it is possible to crash when shutting down, it is not clear if this is due to
shutting down the app on another thread during logout or something that can happen
during normal shutdown, because it is so difficult to reproduce.
However, from looking at the stack traces it is possible for a [NSApplication terminate:]
event to get processed while Appliction::aboutToQuit() is calling ScriptEngine::waitTillDoneRunning()
This causes AppKit to invoke the static destructors too early. Which in turn, causes the
DependencyManager destructor to fire while there are still many dependencies running.
Unfortunatly, the order of destruction is not determinstic, causing them to get shutdown
in an incorrect order.
To workaround this, we delay the call to QCoreApplication::processEvents() as late as possible,
in the Application destructor. Theoretically, this will be a safe time for the static destructors
to be invoked, because it is after all of the DependencyManager's dependencies have been
manually destroyed.
However, this is only a speculative fix, because this is so difficult to reproduce.
2019-07-01 17:37:57 -07:00
David Rowe
2d6d3eb4fe
Doc review
2019-06-28 17:05:36 +12:00
SamGondelman
fb4be671e7
fix invoke call
2019-06-26 10:54:50 -07:00