Oren Hurvitz
7a8b7c095b
Fixed a race condition related to the keyboard when starting Interface.
...
These two things need to happen in the following order:
1. Initialize the input plugins (including the keyboard)
2. Start the scripts
That's because the scripts try to use the keyboard (e.g., in edit.js), and if it's not ready yet
then they fail, and then Interface doesn't work right (e.g., the Create button doesn't work).
In order to ensure that these things happen in the correct order, we must make sure that
resumeAfterLoginDialogActionTaken() (which starts the scripts) is called only after everything
else in the Interface constructor has finished. Usually this happens correctly, but occasionally
resumeAfterLoginDialogActionTaken() is called too soon. This commit makes sure that even in that
case, we'll postpone calling resumeAfterLoginDialogActionTaken() until the Interface constructor
has finished.
2019-03-28 13:36:41 +02:00
Oren Hurvitz
49165056c9
Fixed a race condition that sometimes caused the main menus not to appear.
...
When Interface starts, it first calls pauseUntilLoginDetermined(), and later resumeAfterLoginDialogActionTaken().
But on rare occasions these functions are called in the reverse order, and this caused Interface to remain
in the "paused" state. Now we check for this case, and abort pauseUntilLoginDetermined() if it happens.
This has only happened to me when running Interface immediately after rebuilding it (in Release mode).
2019-03-28 11:44:12 +02:00
Oren Hurvitz
8e201f4801
Fixed race condition during initialization of the Desktop.
...
The Application constructor must setup event handlers for events emitted when the Desktop is
constructed *before* calling initializeUi(). Otherwise, sometimes these event handlers won't
be called.
When this problem happened (usually on slow machines), Interface would start but neither the
Desktop nor the Login Screen would appear.
2019-03-28 11:44:12 +02:00
Sam Gondelman
40f5a0263c
Merge pull request #15201 from SamGondelman/emit
...
Case 21756: Entities.emitScriptEvent works now
2019-03-21 18:05:17 -07: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
Shannon Romano
b82c808562
Merge pull request #15207 from danteruiz/kick-ui
...
Case 21771: Possible Entity Scipt Ban Incident
2019-03-21 13:10:54 -07:00
Shannon Romano
a6d4f98ee7
Merge pull request #15204 from roxanneskelly/Case21025
...
Case 21025 conditionalizing TabletWebView features
2019-03-20 14:21:37 -07:00
danteruiz
2ab8eb98e8
better implementation
2019-03-17 14:00:41 -07:00
SamGondelman
d4e1ec9741
fix emitScriptEvent
2019-03-15 16:20:01 -07:00
SamGondelman
83bac723ef
fix wearable duplication on domain switch
2019-03-15 13:38:25 -07:00
Roxanne Skelly
9182db8bd4
Case 21025 conditionalizing TabletWebView features
2019-03-15 12:56:43 -07:00
SamGondelman
609c4ab52e
try to fix audio injector threading issues
2019-03-12 18:41:43 -07:00
Wayne Chen
07ddd4e1dd
moving key press detection to JSON
2019-03-11 14:27:47 -07:00
Wayne Chen
7b51061b5f
fixing initialization in switch statement
2019-03-10 19:46:01 -07:00
Wayne Chen
20487b2ad1
connecting pushingToTalkChanged with handlePushedToTalk
2019-03-10 19:39:45 -07:00
Wayne Chen
48d1ec850c
removing debug statement
2019-03-08 16:07:48 -08:00
Wayne Chen
18b86d550d
adding PushToTalk action
2019-03-08 16:07:48 -08:00
r3tk0n
15d49fd9a9
Initial implementation (deadlocks still occurring in Audio.cpp)
2019-03-08 16:02:14 -08:00
Shannon Romano
a8f6e74ca4
Merge pull request #15135 from SamGondelman/text81
...
Case 21628: Fix text rendering on AMD/Mac
2019-03-08 14:59:37 -08:00
Roxanne Skelly
c33d2aafda
Merge branch 'master' of https://github.com/highfidelity/hifi into StandaloneTags
2019-03-08 11:41:34 -08:00
Roxanne Skelly
750dbfae21
Stand-alone Tags: Throw up popup for first unoptimized domain
...
Throw up a popup in stand-alone builds when user attempts to go to
an unoptimized domain.
2019-03-08 10:48:42 -08:00
SamGondelman
af03fb5f85
try to fix text rendering on amd with transparency
2019-03-07 16:23:12 -08:00
Shannon Romano
76958ffda2
Merge pull request #15102 from danteruiz/keyboard-for-web-entities
...
Case 21144: Can't enter text in a Web Entity with the new keyboard
2019-03-07 15:46:31 -08:00
Roxanne Skelly
b38fc65372
Merge branch 'master' of https://github.com/highfidelity/hifi into StandaloneTags
2019-03-07 10:06:05 -08:00
Shannon Romano
4f3d593d90
Merge pull request #15072 from SamGondelman/clear
...
Case 11775: Don't clear my avatar entities on domain switch
2019-03-05 15:42:51 -08:00
danteruiz
e6a63a9a69
add keyboard for html content
2019-03-05 14:24:38 -08:00
SamGondelman
f2c248c0a2
disable href and entity script events when in edit mode
2019-03-04 17:10:20 -08:00
SamGondelman
12f5a735d9
simplifying mouse events and fix mouse on create
2019-03-04 14:50:09 -08:00
Shannon Romano
d56b460d11
Merge pull request #15030 from wayne-chen/clockOnTablet
...
Case 21456, Case 21463: Clock On Tablet (81.0/master)
2019-03-04 10:45:34 -08:00
Sam Gateau
cc9a3e2541
Merge pull request #15052 from amerhifi/quest-demo
...
case 21485: removing quest-demo specific changes
2019-03-01 15:03:44 -08:00
SamGondelman
3e6061e435
try to not clear my avatar entities on domain switch
2019-03-01 13:45:00 -08:00
Shannon Romano
20d65ab183
Merge pull request #15064 from danteruiz/another-login-fix
...
Case 21451: HMD Login Encouragement Screen is not Usable
2019-03-01 12:57:17 -08:00
amer cerkic
6ebc57994b
Merge branch 'master' into quest-demo
2019-03-01 10:23:41 -08:00
Shannon Romano
d68f82eb7d
Merge pull request #15060 from AndrewMeadows/avoid-mem-leaked-entities
...
Case 21494: Avoid mem leaked entities
2019-03-01 09:34:20 -08:00
danteruiz
7bcf727a83
review changes
2019-02-28 18:11:51 -08:00
danteruiz
9fe0309ae6
another login fix
2019-02-28 17:11:48 -08:00
Andrew Meadows
7d9efe4c09
avoid mem-leak for serverless domains
2019-02-28 14:20:11 -08:00
amerhifi
35dc13e06a
Merge branch 'master' into quest-demo
2019-02-28 14:06:47 -08:00
SamGondelman
15064f0097
fix lasers and keyboard on reload
2019-02-28 14:04:22 -08:00
amer cerkic
faedc61c37
removing quest-demo specific changes
2019-02-28 10:54:30 -08:00
amer cerkic
a425becc8a
clean up of debugging
2019-02-27 15:35:33 -08:00
amer cerkic
92cfa49bfb
adding and testing command line parameter passing to application
2019-02-27 11:42:22 -08:00
danteruiz
2fd94c6bbc
fixing login dialog
2019-02-27 10:08:38 -08:00
Wayne Chen
650b34c463
adding clock
2019-02-25 18:00:56 -08:00
Roxanne Skelly
0636579822
Merge branch 'master' of https://github.com/highfidelity/hifi into StandaloneTags
2019-02-22 15:43:42 -08:00
Dante Ruiz
eedd54d0b1
Merge branch 'quest-demo' of github.com:highfidelity/hifi into quest-demo
2019-02-22 15:02:01 -08:00
Dante Ruiz
a87e49bb23
start in quest dev
2019-02-22 15:01:30 -08:00
amer cerkic
9c833f7e64
clean up
2019-02-22 09:21:51 -08:00
amer cerkic
f04fdb2187
added esc key event to fire for the away animation when cycling pause/resume. Reverted change on surface destroy that nullified the surface. Forgot to remove that during testin. Removed comment in away.js with syntax error. Setting cpu/gpu levels back to 1/1 after vr mode is released. Noticed that OS stays in same cpu/gpu level after app closes. Hoping this will help reduce battery drain for user
2019-02-22 09:11:24 -08:00
amer cerkic
9097d9c57c
working on pause -> away mode. Even doesn't seem to be firing. Also found a spot where I left commented out code from lifecycle testing.
2019-02-21 16:33:25 -08:00