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
SamGondelman
9c1b139d5f
merge with master
2019-06-25 23:46:39 -07:00
Sam Gondelman
e4847cc4ae
Merge branch 'master' into proceduralMesh
2019-06-24 10:16:45 -07:00
David Rowe
b2b7a6ae99
Merge branch 'master' into DOC-79
2019-06-22 12:11:22 +12:00
David Rowe
eb227c6b9a
Document Entities entity methods
2019-06-22 11:59:07 +12:00
Shannon Romano
13615eb9ff
Merge pull request #15818 from sabrina-shanman/crash_scriptengine_thread
...
(BUGZ-619) Fix potential crash when ending script on main thread
2019-06-21 15:08:42 -07:00
sabrina-shanman
4fafa2135a
Fix potential crash when ending script on main thread
2019-06-21 14:20:15 -07:00
Zach Fox
8044b33d65
This also works
2019-06-21 13:44:31 -07:00
Zach Fox
5067fd4cd2
OK this is definitely working
2019-06-21 13:41:11 -07:00
Zach Fox
d49205be74
Merge branch 'master' of github.com:highfidelity/hifi into SUI/fixLasers
2019-06-20 09:45:49 -07:00
David Rowe
0945bdaac7
Remainder of Entities methods' JSDoc
2019-06-20 15:11:01 +12:00
Simon Walton
7701710aa5
Consider a NetworkClipLoader resource with null URL to be failed
2019-06-19 15:02:16 -07:00
Zach Fox
8fdfdbaae4
Another attempt, still not working
2019-06-19 13:31:21 -07:00
SamGondelman
37feb7f027
merge with master
2019-06-10 10:29:39 -07:00
jennaingersoll
677b54e240
Merge pull request #15684 from ctrlaltdavid/DOC-78
...
DOC-78: Polish Vec3 JSDoc
2019-06-05 16:26:32 -07:00
David Rowe
42cb3d9828
Polish Vec3 API JSDoc
2019-06-06 10:26:43 +12:00
Shannon Romano
a3d3190813
Merge pull request #15678 from ctrlaltdavid/DOC-75
...
DOC-75: Polish Users JSDoc
2019-06-05 14:20:19 -07:00
David Rowe
eac7d298dc
Change "privacy bubble" to "privacy shield"
2019-06-06 08:21:22 +12:00
David Rowe
ef56cba71b
Polish Uuid API JSDoc
2019-06-05 14:39:27 +12:00
David Rowe
6299d38673
Distinguish between Uuid API and Uuid type in JSDoc
2019-06-05 14:39:05 +12:00
David Rowe
0bdca38644
Polish Users JSDoc
2019-06-05 11:46:14 +12:00
Anthony J. Thibault
e1534b34b4
Workaround crash in reportAdditionalMemoryCost other platforms
2019-06-04 08:56:07 -07:00
Sam Gondelman
3d05a954bc
Merge branch 'master' into proceduralMesh
2019-05-23 09:35:14 -07:00
David Rowe
5227b35c6b
Revise changes
2019-05-21 10:32:12 +12:00
David Rowe
ca7ddece8b
Add missing Script JSDoc
2019-05-21 10:32:12 +12:00
David Rowe
0a0a25139c
Deprecate items that shouldn't be in the Script API
2019-05-21 10:32:12 +12:00
David Rowe
d196e35701
Polish existing Script JSDoc
2019-05-21 10:32:12 +12:00
David Rowe
0e478de1a2
Stub out missing Script JSDoc
2019-05-21 10:32:12 +12:00
SamGondelman
da254c2ccc
(¬‿¬)
2019-05-15 23:48:04 -07:00
Shannon Romano
72d000a76d
Merge pull request #15521 from ctrlaltdavid/M22489
...
Case 22489: Scene JSDoc
2019-05-13 15:49:44 -07:00
David Rowe
71f7132a6b
Scene JSDoc
2019-05-08 09:17:11 +12:00
Revofire
47af406440
merged 0.80.0-kasen into 0.81.0-kasen, 0.81.0-kasen source ready for build.
...
various changes, idk, added a whitelist filter to ent script filter
2019-05-01 22:13:51 -04:00
David Rowe
638e040e17
Quat JSDoc update
2019-04-30 12:13:08 +12:00
David Rowe
fbe49bbfd4
Doc review
2019-04-27 10:20:35 +12:00
David Rowe
311826c04d
Merge branch 'master' into M22215
2019-04-27 10:03:24 +12:00
David Rowe
7dde764907
Merge branch 'master' into M21956
...
# Conflicts:
# libraries/audio/src/Sound.h
2019-04-23 14:58:23 +12:00
David Rowe
6e09c4885f
Review updates
2019-04-23 14:35:25 +12:00
David Rowe
60298245da
Menu JSDoc update
2019-04-16 11:24:24 +12:00
David Rowe
28dfac64ba
Merge branch 'master' into M21460
...
# Conflicts:
# libraries/image/src/image/Image.h
2019-04-05 17:50:46 +13:00
David Rowe
68f76851fd
Updates per doc review
2019-04-05 17:10:52 +13:00
Ryan Huffman
cf3a9b1d48
Fix ScriptEngine not being destroyed on its own thread
2019-04-04 13:28:13 -07:00
David Rowe
dff013128e
Text improvements and typos
2019-03-30 10:09:48 +13:00
David Rowe
da45b4db38
Add further Audio API examples
2019-03-30 09:51:02 +13:00
David Rowe
5c8d89fb12
Fill in and tidy Audio API JSDoc
2019-03-29 18:53:30 +13:00
David Rowe
9a1bb27034
AnimationCache, ModelCache, SoundCache, and TextureCache JSDoc
2019-03-26 13:58:43 +13:00
David Rowe
cf4370ed3a
Merge branch 'master' into M21222
2019-03-26 09:44:48 +13:00
Sam Gondelman
04ecdb463f
Merge pull request #15173 from SamGondelman/audio
...
Case 21457, Case 16836, Case 15782: Improve AudioInjector threading
2019-03-21 18:03:58 -07:00
danteruiz
2ab8eb98e8
better implementation
2019-03-17 14:00:41 -07:00
danteruiz
5f3e31b119
add ui to kick api
2019-03-15 18:15:18 -07:00
SamGondelman
300dd39abf
fix script engine shutdown
2019-03-13 12:23:31 -07:00
David Rowe
7445d73857
Merge branch 'master' into M21222
...
# Conflicts:
# libraries/avatars/src/AvatarData.h
2019-03-13 16:14:14 +13:00
SamGondelman
609c4ab52e
try to fix audio injector threading issues
2019-03-12 18:41:43 -07:00
Shannon Romano
ca87e217bd
Merge pull request #15097 from wayne-chen/audioSettingsModified
...
Case 21562: Audio settings screen
2019-03-08 16:22:52 -08:00
David Rowe
4779a6b156
Merge branch 'master' into M21222
2019-03-09 07:57:53 +13:00
David Rowe
5068075645
Fill in MyAvatar animation JSDoc
2019-03-09 07:42:55 +13:00
SamGondelman
f2c248c0a2
disable href and entity script events when in edit mode
2019-03-04 17:10:20 -08:00
Seth Alves
9614216006
don't disable server echo when audio qml page is closed
2019-03-04 13:47:55 -08:00
Seth Alves
d5e8cba1ee
make server-audio-loopback button work in HMDs
2019-03-04 13:47:55 -08:00
David Rowe
aa53ab7492
Distinguish between Mat4 type and Mat4 API in JSDoc
2019-02-27 09:54:11 +13:00
Sam Gondelman
9aa99f24f0
Merge pull request #14905 from SamGondelman/materialMapping
...
Case 20242: FST materialMapping supports our material JSON format
2019-02-15 11:21:51 -08:00
Bradley Austin Davis
d45d87031d
Merge pull request #14782 from SamGondelman/NOverlaysFinal
...
Case 20723, Case 20334: Internally, replace all overlays with local entities
2019-02-14 13:49:47 -08:00
SamGondelman
13ece79476
merge with master
2019-02-13 16:30:22 -08:00
SamGondelman
77a8ddb3f0
Merge remote-tracking branch 'upstream/master' into materialMapping
2019-02-11 16:35:05 -08:00
David Rowe
5428bb19dc
Add "Avatar Script" JSDoc API classification
2019-02-12 11:49:49 +13:00
SamGondelman
f7a487a020
move materialcache et al to material-networking library
2019-02-08 10:28:07 -08:00
SamGondelman
25ca52d892
Merge remote-tracking branch 'upstream/master' into NOverlaysFinal
2019-02-07 09:48:13 -08:00
danteruiz
30bd9774b2
script engine to load platform specific files
2019-02-05 13:11:54 -08:00
SamGondelman
b80d2a9b06
Merge remote-tracking branch 'upstream/master' into NOverlaysFinal
2019-02-01 13:33:04 -08:00
Shannon Romano
72d3eb9d33
Merge pull request #14797 from kencooke/audio-injector-stereo-distattn-bugfix2
...
case 20805: RC78.1 to master: Fix the distance attenuation of stereo local injectors
2019-01-29 13:12:51 -08:00
Ken Cooke
fa08e42da6
Restore legacy attenuation behavior for system sounds and scripts that do not set position.
...
JS detects when "position" was not set by the script.
C++ explicitly sets .positionSet=false when not set (for system sounds).
Local rendering uses a direct mix (no attenuation/HRTF) when not set.
2019-01-29 11:21:02 -08:00
SamGondelman
5ce8f566cc
more overlay wip
2019-01-25 11:10:11 -08:00
John Conklin II
45ec44423b
Merge pull request #14694 from danteruiz/delete-only-domain-entities
...
case 20595: case 20563: Do not delete local entities when switching domains.
2019-01-17 11:25:58 -08:00
Antonina Savinova
560c44a74a
Merge pull request #14697 from howard-stearns/more-log-purge
...
log purge
2019-01-15 16:19:03 -08:00
Dante Ruiz
e7d3844620
making pre review requests
2019-01-14 11:14:57 -08:00
Seth Alves
6ca9ab6fba
avoid shutdown crash
2019-01-11 15:53:49 -08:00
Seth Alves
36040597ba
rename variable for consistency
2019-01-11 15:53:49 -08:00
Seth Alves
6589db628a
fix a couple shutdown crashes and a class of asan warning
2019-01-11 15:53:49 -08:00
Howard Stearns
62ed84aa19
more log purge
2019-01-11 12:34:44 -08:00
unknown
f8f13e974d
property range audit - add range info via macros accessible via API, tweak min/max/steps in entityProperties
2019-01-02 11:12:10 -08:00
Wayne Chen
4c9c785c24
Merge branch 'master' of https://github.com/highfidelity/hifi into loginInitiative2
2018-12-10 07:57:44 -08:00
Brad Hefta-Gaub
a005f9e9ab
Merge pull request #14546 from danteruiz/fix-reload-scripts
...
fix realod all scripts functionality broken by PR14478
2018-12-09 17:30:36 -08:00
Dante Ruiz
177a94b9a9
fix realod all scripts functionality
2018-12-07 11:48:03 -08:00
Clement
7723261cb9
Remove deferred script loading logic
2018-12-05 14:08:30 -08:00
Wayne Chen
a2a4d2ff89
removing trailing debug
2018-12-05 08:21:11 -08:00
Wayne Chen
07599c02c8
true reversion of scrips param
2018-12-05 08:16:54 -08:00
Wayne Chen
9deb15b9f6
Merge branch 'master' into loginInitiative2
2018-11-28 19:10:20 -08:00
Dante Ruiz
c4a9ca3445
fix interface crashing when reloading scripts
2018-11-27 09:32:37 -08:00
Wayne Chen
b8d8710604
Merge branch 'master' of https://github.com/highfidelity/hifi into loginInitiative2
2018-11-19 09:02:16 -08:00
Wayne Chen
c85b840db0
Merge branch 'master' of https://github.com/highfidelity/hifi into loginInitiative2
2018-11-14 14:47:56 -08:00
Clement
7192aed131
Rework audio data memory ownership model
2018-11-14 14:45:18 -08:00
Brad Hefta-Gaub
bb2239c0bd
Merge pull request #14359 from howard-stearns/no-url-logging
...
remove urls from logs in Interface
2018-11-13 13:19:30 -08:00
Howard Stearns
545b85bc9d
Merge branch 'master' of github.com:highfidelity/hifi into no-url-logging
2018-11-13 09:55:54 -08:00
sabrina-shanman
753557736e
Merge branch 'master' into hfm_library
2018-11-12 15:03:30 -08:00
Zach Fox
e0ca535853
CR round 2
2018-11-08 10:08:42 -08:00
Wayne Chen
f683a51ef5
allowing qApp to load overlay/load default scripts if runningscripts empty
2018-11-07 16:32:06 -08:00
sabrina-shanman
2c94d1f620
Fix hfm not linking in script-engine for Android build
2018-11-07 09:24:42 -08:00
Roxanne Skelly
cef7000a72
Case 19754 - Remove logging URLs and related file locations.
...
The goal is to strip out data that can be used by untoward users in
copying models, avatars, etc.
2018-11-06 16:24:32 -08:00
Wayne Chen
8797c40d94
cleanup unused functions
2018-11-06 15:04:51 -08:00
Clement
0ca0a6f3be
Fix JSDoc arrays
2018-11-06 12:57:17 -08:00
Clement
4e802b0f3f
Add JSDoc comments
2018-11-06 11:59:15 -08:00
Clement
37c69ebe62
Add audio soloing feature
2018-11-05 19:02:26 -08:00
sabrina-shanman
2801f324b7
Switch references to HFM to the HFM lib and remove HFM classes in FBX
2018-11-05 12:47:34 -08:00
Wayne Chen
ed847203ea
wip for getting hmd overlay
2018-10-29 11:33:28 -07:00
Kerry Ivan Kurian
e7d1c2873a
Merge branch 'master' into log-resource-requests-2
2018-10-23 13:46:59 -07:00
Brad Davis
c8e664a0a1
New SPIRV Shader toolchain
2018-10-23 10:40:12 -07:00
Zach Fox
493262052c
Remove extraneous code changes; remove QUrlAncestry code; remove extra logging
2018-10-22 13:59:52 -07:00
Zach Fox
2f37a2b1a1
Merge branch 'master' of github.com:highfidelity/hifi into log-resource-requests-2
2018-10-18 11:12:26 -07:00
Kerry Ivan Kurian
3b15548ea3
Display resource-access events in marketplace item tester
...
Includes refactoring marketplace item tester into a single-page app.
2018-10-18 01:04:47 -07:00
Sam Gondelman
5b6e7b2566
Merge branch 'master' into scriptvec3
2018-10-02 08:58:04 -07:00
Brad Hefta-Gaub
7c9464572a
Merge pull request #14027 from huffman/feat/deprecate-undo-stack
...
Remove UndoStack API
2018-10-01 17:13:48 -07:00
Brad Hefta-Gaub
e5d9c0d442
Merge pull request #14083 from sethalves/fix-recording-upload-crash
...
call saveRecordingToAsset callback on correct thread
2018-10-01 16:46:36 -07:00
Brad Hefta-Gaub
edd5db7768
Merge pull request #14042 from thoys/perf/create/getMultipleEntities
...
Speed up Entity List properties fetching by adding Entities.getMultipleEntities API
2018-10-01 16:16:48 -07:00
Ryan Huffman
09b2565e76
Remove UndoStack API
...
edit.js shares a global undo stack through the UndoStack API. Because
the stack is globally shared, disabling the feature while create is
disabled doesn't make a lot of sense because it might disabling the
ability to undo/redo with another feature. Because UndoStack is only
used by edit.js, UndoStack is being removed in favor of a local undo
stack implemented within edit.js.
2018-09-26 14:43:11 -07:00
Seth Alves
87a67a3f0c
call saveRecordingToAsset callback on correct thread
2018-09-25 15:50:47 -07:00
Seth Alves
f6e57f54b0
don't call enterEntity until script preload has finished
2018-09-21 10:26:55 -07:00
Thijs Wenker
06491ef12f
API function for retrieving multiple entity properties with better performance
2018-09-20 19:34:00 +02:00
SamGondelman
c522d1bc93
merge with master
2018-09-14 00:57:13 -07:00
Clement
e6b4ccef16
Add lock around _entityScripts
2018-09-13 15:10:16 -07:00
John Conklin II
558f3dc7e5
Merge pull request #13964 from dback2/reloadScriptQThreadCrash
...
Destroy script thread on finish instead of on ScriptEngine destroyed
2018-09-10 14:11:37 -07:00
David Back
3601ade8ba
destroy thread from thread finished not scriptEngine destroyed
2018-09-07 18:36:36 -07:00
Ryan Huffman
22df1b3bc6
Add comment to Assets.sendFakeHandshake about excluding jsdoc
2018-09-06 17:19:41 -07:00
SamGondelman
9b75c7e07f
trying to separate colors and vectors
2018-09-04 17:20:05 -07:00
Sam Gondelman
6730635931
Merge branch 'master' into scriptvec3
2018-08-27 10:43:52 -07:00
SamGondelman
283c0c0311
s i m p l i f y
2018-08-23 11:47:56 -07:00
Stephen Birarda
01e8fd66a3
fix script engine(s) cleanup from ESS
2018-08-22 13:52:37 -07:00
Sam Gondelman
f0986a7f5a
Merge branch 'master' into scriptvec3
2018-08-20 10:56:45 -07:00
John Conklin II
1edf1b4337
Merge pull request #13555 from SamGondelman/destroy
...
Trying to fix dependency shutdown
2018-08-16 13:14:58 -07:00
Stephen Birarda
e686df6fb9
Merge pull request #13720 from Atlante45/feat/test-tool
...
Stack tester changes
2018-08-08 13:40:05 -04:00
Sam Gondelman
2edefe3209
Merge branch 'master' into destroy
2018-08-06 09:51:14 -07:00
Sam Gondelman
7772e8adf2
Merge branch 'master' into scriptvec3
2018-08-03 14:57:49 -07:00
David Rowe
2270255d88
JSDoc review
2018-08-04 07:22:12 +12:00
David Rowe
32e3bb0e1d
Merge branch 'master' into M08513-a
...
# Conflicts:
# libraries/audio/src/SoundCache.h
2018-08-03 10:29:32 +12:00
SamGondelman
8a9c27ed92
Merge remote-tracking branch 'upstream/master' into destroy
2018-08-01 16:07:48 -07:00
Clement
9c89aa9f90
Make sure the stack test interface gets cleaned up
2018-08-01 13:29:07 -07:00
John Conklin II
7a635b6a57
Merge pull request #13709 from thoys/fix/require-load-queue
...
MS17041: Fix for require fail when the same script loaded simultaneously from another entity script
2018-08-01 11:15:32 -07:00
Thijs Wenker
74343c71d8
CR fixes
2018-07-31 22:29:53 +02:00
SamGondelman
2ca217eb4a
merge with master
2018-07-30 17:43:15 -07:00
Clement
949c7f8c19
Add automated test tool scripting interface
2018-07-30 17:18:32 -07:00
Thijs Wenker
ba8d445444
fix require by queueing content requests
2018-07-28 00:25:16 +02:00
Dante Ruiz
b750a005cf
fix script memory issue
2018-07-24 16:31:12 -07:00
David Rowe
396382afd7
Fill in Audio API JSDoc
2018-07-19 09:31:48 +12:00
David Rowe
806228299e
Stub out Audio JSDoc
2018-07-15 10:31:48 +12:00
SamGondelman
9929529f30
vec3 conversion
2018-07-11 14:18:22 -07:00
Clement
e5206a94a8
Revert "setStereoInput always returns true to not break old scripts"
...
This reverts commit 2bf7db6952
.
2018-07-11 11:51:06 -07:00
SamGondelman
5bbd5b9e52
vec2 conversion
2018-07-10 16:32:49 -07:00
SamGondelman
d2699e8e5b
some more attempted cleanup
2018-07-10 10:50:01 -07:00
SamGondelman
7954865141
trying to fix dependency shutdown
2018-07-05 14:34:37 -07:00
Anthony Thibault
a5919ee3fa
Merge pull request #13497 from hyperlogic/bug-fix/script-engine-batchloader-memory-corruption-fix
...
Fix memory corruption when running scripts using Script.require().
2018-06-28 14:18:56 -07:00
Anthony J. Thibault
ac6fcf092c
Fix memory corruption via lambdas that capture local variables by reference.
...
The lambdas in ScriptEngine::fetchModuleSource() were referencing local stack variables by reference.
This could lead to un-expected results including memory corruption.
To workaround this issue the QTimer and QEventLoop variables are allocated on the heap and held onto by a shared_ptr.
This shared_ptr is passed to the lambda.
This will not result in cycles and should result in the QTimer and QEventLoop being destroyed when the BatchLoader
object they are connected to is deleted.
2018-06-28 11:15:25 -07:00
John Conklin II
040978830a
Merge pull request #13413 from Atlante45/fix/audio-starve
...
Fix audio device sometimes being on the wrong thread
2018-06-28 09:59:00 -07:00
Seth Alves
01632ddd29
Merge pull request #13345 from ctrlaltdavid/21890
...
Fix memory leak when reloading scripts
2018-06-27 09:39:53 -07:00
Clement
2bf7db6952
setStereoInput always returns true to not break old scripts
2018-06-19 16:37:11 -07:00
Atlante45
4a4c0d132e
Make stereo interface async
2018-06-18 17:26:29 -07:00
Atlante45
29ff47c6fb
Ensure audio devices are made on the right thread
2018-06-18 16:28:52 -07:00
Seth Alves
3c081c4bf8
Merge pull request #13377 from danteruiz/fix-double-scripts-on-reload
...
prevent having more than one instance of a script running after reloading the script
2018-06-15 17:17:35 -07:00
Dante Ruiz
8b4b95f890
prevent have more than one instance of a script after reloading script
2018-06-14 14:00:40 -07:00
Zach Fox
3c681554de
Fix MS13202: Don't save incomplete list of scripts to Settings while reloading scripts
2018-06-14 13:50:30 -07:00
David Rowe
9338c217cd
Fix memory leak when reloading scripts
2018-06-09 16:58:49 +12:00
Alexander Ivash
5897c9948d
terminate thread if it didn't complete during MAX_SCRIPT_QUITTING_TIME
2018-06-06 03:52:22 +03:00
Gabriel Calero
bb73af7230
Show stats button only in debug mode. Add isDebugMode to Script public interface
2018-05-29 17:21:44 -03:00
David Rowe
ebeee51581
Update image links
2018-05-23 17:20:24 +12:00
David Rowe
e44e7ca35f
Fix up Resource and resource cache APIs' JSDoc
2018-05-21 11:57:16 +12:00
David Rowe
6d4f704279
Regularize some JSDoc usage
2018-05-21 09:32:10 +12:00
David Rowe
f571e90ef5
Merge branch 'master' into 21872-b
2018-05-16 10:20:53 +12:00
David Rowe
6e1a091447
Mat4 API JSDoc stubs
2018-05-12 14:44:38 +12:00
David Rowe
496154fdbe
File API JSDoc stubs
2018-05-11 21:07:12 +12:00
David Rowe
fab85c3f6d
Fix JSDoc function definitions specifying properties instead of params
2018-05-11 09:52:48 +12:00
Seth Alves
4410402c7d
Merge pull request #13114 from sethalves/more-logging-suppression
...
more suppression of logging
2018-05-09 17:36:12 -07:00
MiladNazeri
bc03fb398f
Merge pull request #13102 from ctrlaltdavid/21856-h
...
Fix JSDoc for Users.requestUsernameFromID
2018-05-09 13:35:06 -07:00
Seth Alves
7466d08f1f
more suppression of logging
2018-05-09 13:01:49 -07:00
NissimHadar
7f9f9d769a
Corrected bug causing Interface not to exit at end of test.
2018-05-08 15:51:52 -07:00
NissimHadar
c3ef6aab1c
Don't save test scripts
2018-05-07 12:51:41 -07:00
NissimHadar
481eddb2a3
Merge branch 'master' of github.com:highfidelity/hifi into commandLineParametersForAutotester
2018-05-07 08:24:03 -07:00
Clement
da9fb9c751
Fix non self-sufficient headers
2018-05-04 16:26:41 -07:00
David Rowe
a35517d985
Fix JSDoc for Users.requestUsernameFromID
2018-05-05 07:05:10 +12:00
NissimHadar
3b566332c6
Shutdown interface when test script finishes.
2018-05-03 14:34:12 -07:00
NissimHadar
3a5425122b
Shutdown interface when test script finishes.
2018-05-03 14:31:01 -07:00
MiladNazeri
8e214d8ee8
Merge pull request #13049 from ctrlaltdavid/21856-d
...
List which contexts each namespace and class is available in
2018-05-03 01:29:14 -07:00
John Conklin II
7a5fce4315
Merge pull request #12991 from luiscuenca/avatarScript
...
Avatar Scripts
2018-05-02 12:23:13 -07:00
David Rowe
1aa28b7f54
Merge remote-tracking branch 'upstream/master' into 21856-d
...
# Conflicts:
# interface/src/LODManager.h
2018-05-02 07:50:55 +12:00
David Rowe
a1fc1c4810
Add JSDoc for Entity preload and unload signals
2018-05-01 21:55:14 +12:00
luiscuenca
50ca09b3b4
minor fixes
2018-04-30 16:26:04 -07:00
luiscuenca
2de982a5a2
Added script types and better script reload
2018-04-30 12:04:35 -07:00
David Rowe
2cc3ed6287
List which contexts each namespace and object is available in
2018-04-28 20:00:28 +12:00
John Conklin II
dd32ca33a5
Merge pull request #12957 from sethalves/quiet-logging
...
Quiet logging
2018-04-27 14:59:38 -07:00
John Conklin II
ddedfce8a3
Merge pull request #12932 from ZappoMan/fixBug349
...
fix bug 349
2018-04-27 12:48:17 -07:00
David Rowe
08dc9b133f
Docs to JSDoc review
2018-04-26 21:10:28 +12:00
MiladNazeri
0f87e53902
Merge pull request #12963 from MiladNazeri/docs/DocsToJSDocsUpdate
...
Docs/docs to js docs update
2018-04-25 12:26:19 -07:00
milad nazeri
4c736b2d62
Fixed defaults
2018-04-24 21:38:48 -07:00
David Rowe
cae9447ac5
Doc review
2018-04-25 15:09:47 +12:00
milad nazeri
23d07fa292
fixed spacing issue
2018-04-24 13:14:55 -07:00
milad nazeri
1121fe8da0
fix tabs
2018-04-23 21:47:53 -07:00
milad nazeri
4ac06fe99f
Updating previous jsdocs
2018-04-22 22:22:33 -07:00
David Rowe
941e9360dd
JSDoc fixes
2018-04-23 16:09:56 +12:00
David Rowe
d65f66a73d
Interim JSDoc for Recording
2018-04-23 14:13:29 +12:00
David Rowe
4fb55ec2af
Interim JSDoc for Users
2018-04-23 09:59:14 +12:00
David Rowe
2c39f2dbad
Interim JSDoc for Scene
2018-04-22 17:37:06 +12:00
David Rowe
62930eb576
Interim JSDoc for Script
2018-04-22 15:26:39 +12:00
David Rowe
01870af624
Interim JSDoc for ScriptDiscoveryService
2018-04-22 11:32:46 +12:00
MiladNazeri
3710ce593d
Merge pull request #12922 from ctrlaltdavid/21815
...
Controller API JSDoc
2018-04-21 10:44:05 -07:00
Seth Alves
bec39369f7
remove some uncatagorized logging, suppress some categories by default
2018-04-20 16:08:57 -07:00
David Rowe
8173ac87a8
Minor improvement to Quat.IDENTITY JSDoc
2018-04-20 16:41:10 +12:00
David Rowe
b1e214de5a
Vec3 API JSDoc
2018-04-20 16:40:15 +12:00
David Rowe
0a7cccc3f7
Move Vec2 and Vec4 JSDoc
2018-04-20 12:47:53 +12:00
milad
42471c539b
initial fixes from ctralt david's comments
2018-04-19 13:40:57 -07:00
milad
3f129bda13
More done on audio
2018-04-18 20:04:41 -07:00
ZappoMan
1a82101360
fix bug 349
2018-04-18 09:27:09 -07:00
David Rowe
9f83c606e9
Controller API JSDoc
2018-04-17 11:46:40 +12:00
MiladNazeri
e054f16c46
Merge pull request #12526 from ctrlaltdavid/21709
...
Entities API JSDoc
2018-03-12 14:40:09 -07:00
John Conklin II
42a686ad93
Merge pull request #12578 from druiz17/use-correct-audio-api
...
use correct scripting api for audio in Audio.qml
2018-03-09 13:41:20 -08:00
Dante Ruiz
3a39fca268
made requested changes
2018-03-09 10:09:51 -08:00
Dante Ruiz
c49d0557fc
fixing check box issues
2018-03-09 09:29:37 -08:00
Atlante45
69fb830480
Merge branch 'RC65' of https://github.com/highfidelity/hifi into new-master
2018-03-08 17:23:17 -08:00
David Rowe
b461a422c6
Merge branch 'master' into 21709
2018-03-09 14:18:42 +13:00
Sam Gondelman
1e9cfe29f2
Merge pull request #12388 from highfidelity/android
...
Android Tip
2018-03-08 10:18:35 -08:00
David Rowe
a62b6b7150
Merge branch 'master' into 21709
2018-03-07 17:34:53 +13:00
Elisa Lupin-Jimenez
c6e5f4c9c8
zip file drags don't auto add model textures
2018-03-06 19:24:09 -08:00
Brad Davis
8bfc610cfb
Merge remote-tracking branch 'upstream/master' into android
2018-03-05 11:48:58 -08:00
Dante Ruiz
55d8cfd4c1
make sure dont make audio devices that don't use stereo use stereo
2018-03-02 10:56:44 -08:00
David Rowe
d82a300f5f
Miscellaneous JSDoc improvements
2018-03-01 09:58:35 +13:00
David Rowe
3275846882
Material entity JSDoc
2018-03-01 09:57:42 +13:00
David Rowe
a782b6779a
Merge branch 'master' into 21709
...
# Conflicts:
# interface/src/ui/overlays/Overlays.h
# interface/src/ui/overlays/Shape3DOverlay.cpp
# libraries/entities/src/EntityItemProperties.cpp
# libraries/entities/src/EntityScriptingInterface.h
2018-02-28 12:42:05 +13:00
Brad Davis
3e552e5739
Fix warnings
2018-02-26 09:53:35 -08:00
humbletim
f8fe06213d
CR feedback; whitespace / remove unnecessary diffs
2018-02-23 09:11:23 -05:00
humbletim
72fca7e57e
Merge remote-tracking branch 'samuel/scriptableMaterials' into Leopoly_Phase1_010_graphics-scripting-merge
2018-02-22 05:18:05 -05:00
humbletim
be8d79f53f
CR fedback and cleanup
2018-02-22 05:15:01 -05:00
SamGondelman
4c6169ec78
merge and a little cleanup
2018-02-20 15:45:34 -08:00
humbletim
5791ca4c51
interim checkin
2018-02-20 12:22:04 -05:00
David Rowe
86a6f73fb4
Quat JSDoc improvement
2018-02-19 12:21:21 +13:00
Andrew Meadows
96c97547f9
Merge pull request #12205 from jherico/no_widgets
...
Remove some unneeded Qt dependencies
2018-02-05 15:32:54 -08:00
humbletim
06afaa7470
BufferView <-> QVariant/QScriptValue conversion
...
update MeshProxy/SimpleMeshProxy and ScriptableModel
ModelScriptingInterface / scriptable::ModelProvider
integration
update to RC-63
initial graphics-scripting refactoring
graphics-scripting baseline commit
wip commit
Geometry -> MeshPart
remove SimpleMeshProxy
collapse graphics-utils -> graphics-scripting
scriptable::Model => scriptable::ScriptableModel
2018-02-01 16:30:29 -05:00
Bradley Austin Davis
b97c938544
Merge pull request #12216 from thoys/feat/js-script-console-auto-complete
...
JS scripting console auto-complete
2018-01-31 10:39:51 -08:00
MiladNazeri
3585bead96
Merge pull request #12037 from humbletim/Leopoly_Phase1_004_RayPick-Changes
...
Leopoly_Phase1_004_RayPick-Changes
2018-01-29 14:02:38 -08:00
MiladNazeri
9baf02b7a1
Merge pull request #12036 from humbletim/Leopoly_Phase1_003_Asset-Request
...
Leopoly_Phase1_003_Asset-Request
2018-01-29 11:40:41 -08:00
Brad Davis
0781d8eaf0
Remove some unneeded Qt dependencies
2018-01-28 22:18:24 -08:00
Thijs Wenker
45487a1e45
Merge branch 'master' of github.com:highfidelity/hifi into feat/js-script-console-auto-complete
...
# Conflicts:
# interface/CMakeLists.txt
2018-01-25 22:51:35 +01:00
ZappoMan
cb01bd14b9
Merge branch 'master' of https://github.com/highfidelity/hifi into sendDataDescription
2018-01-25 10:39:43 -08:00
humbletim
63a226f999
make fromScriptValue logic easier to follow for CR; eliminate extra QByteArray conversion
2018-01-24 13:49:58 -05:00
humbletim
c2ee13931e
changes per CR feedback; additional jsdoc
2018-01-24 13:38:10 -05:00
humbletim
65455e7b50
Merge remote-tracking branch 'upstream/master' into Leopoly_Phase1_004_RayPick-Changes
2018-01-23 14:57:33 -05:00
humbletim
76cbc4ee55
separate getAsset fail/then handlers
2018-01-23 14:47:49 -05:00
humbletim
3a735c1fc7
CR feedback and code cleanup
2018-01-23 03:12:26 -05:00
ZappoMan
4ad5d34a10
more preferences cleanup, removing some dead code from ScriptEngines/ScriptModel
2018-01-20 17:20:42 -08:00
humbletim
395cc663dd
reuse same disk cache as AssetClient
2018-01-19 15:10:36 -05:00
Thijs Wenker
0f7f58417b
JS scripting console auto-complete
2018-01-19 19:11:12 +01:00
humbletim
d2a3a71f00
trying JS_VERIFY on for size (instead of JS_ASSERT)
2018-01-18 21:48:41 -05:00
humbletim
49bb9420cc
Merge branch 'master' into Leopoly_Phase1_003_Asset-Request
2018-01-17 17:11:33 -05:00
humbletim
0930cc4f0e
partial getMapping PR integration
2018-01-17 17:08:57 -05:00
Brad Davis
6a06bf405a
Merge remote-tracking branch 'upstream/master' into android
2018-01-16 18:24:44 -08:00
Brad Davis
ceb60f6eba
Fix built-in resource loading from scripts
2018-01-16 12:33:09 -08:00
humbletim
b91d536dd0
rename model:: -> graphics::
2018-01-16 12:46:16 -05:00
humbletim
08ccda9cfc
rename libraries/model(src/model) -> libraries/graphics(src/graphics)
2018-01-16 12:44:44 -05:00
Seth Alves
76048f3c30
error handling
2018-01-15 10:48:12 -08:00
Seth Alves
3e7d303661
export atp GetMappingRequest to js
2018-01-15 09:56:46 -08:00
Brad Davis
7579451c24
Merge remote-tracking branch 'upstream/master' into android
2018-01-11 23:31:45 -08:00
Seth Alves
568c27d6e0
Merge pull request #12039 from luiscuenca/currentAPI
...
Fix and improve currentAPI.js
2018-01-10 17:55:08 -08:00
Brad Davis
2c35242af1
Merge remote-tracking branch 'upstream/master' into android_nov
2018-01-10 13:40:12 -08:00