Commit Graph

485724 Commits

Author SHA1 Message Date
Martin Stransky
d055a30b27 Bug 1289764 - Move gHPanedWidget/gVPanedWidget to WidgetCache, r=acomminos 2016-07-29 05:30:00 +02:00
Martin Stransky
ec30e6e963 Bug 1288413 - Move GtkTreeView widgets to WidgetCache, r=acomminos 2016-07-29 05:15:00 +02:00
Kaku Kuo
c79eb6f91f Bug 1290371 - handle files with audio and video tracks but no samples at all; r=jya
So, we have 4 boolean variables and here is the truth table.
Case 1, 2, 3, 4, 7, 8, 10 and 12 are not possible to happen.

Then, the remaining cases could be clustered into three categories:
(1) Case 5, 9 and 13: no sample is demuxed at all, return 0.
(2) Case 6, 11, 14 and 15: either audio or video is able to be demuxed, return the known value.
(3) Case 15: both audio and video are demuxed, return the minimum of the values.


For simplifying the logic, I will initialize the audioStartTime and videoStartTime
to be INFINITY if we don't have the first-demuxed sample, otherwise, initialize
them to be the real first-demuxed sample's time.

Then, the final calculation will be:
(1) Case 5, 9 and 13: the minimum of two INFINITY values is still INFINITY, return 0.
(2) Case 6, 11, 14 and 15: return the minimum of one real first-demuxed-time and the INFINITY.
(3) Case 15: return the minimum of two real first-demuxed-time values.

Case   HasAudio   HasVideo   HasAudioSample   HasVideoSample    ExpectedResult
---------------------------------------------------------------------------------------------------
1         F          F             F                 F          not possible
2         F          F             F                 T          not possible
3         F          F             T                 F          not possible
4         F          F             T                 T          not possible
---------------------------------------------------------------------------------------------------
5         F          T             F                 F          return 0
6         F          T             F                 T          return video sample
7         F          T             T                 F          not possible
8         F          T             T                 T          not possible
---------------------------------------------------------------------------------------------------
9         T          F             F                 F          return 0
10        T          F             F                 T          not possible
11        T          F             T                 F          return audio sample
12        T          F             T                 T          not possible
---------------------------------------------------------------------------------------------------
13        T          T             F                 F          return 0
14        T          T             F                 T          return videoSample
15        T          T             T                 F          return audioSample
16        T          T             T                 T          return min(auidoSample, videoSample)

MozReview-Commit-ID: ANsYDth7slJ

--HG--
extra : transplant_source : %DAj%1A%EC%19%82%7B%B3%05%FE%21%04a%16%9A%9F%18x1%95
2016-08-03 16:51:29 +08:00
John Dai
996b1f61aa Bug 1289872 - Fixed the warning log spams due to bug 1275833. r=wchen 2016-08-04 04:22:00 +02:00
Shih-Chiang Chien
a99142a2c5 Bug 1287717 - Part 2, close receiver page while loading fail. r=smaug.
MozReview-Commit-ID: Dogham2LmHG
2016-08-04 09:46:14 +08:00
Shih-Chiang Chien
90424f760d Bug 1287717 - Part 1, enter closed state while fail to connect. r=smaug.
MozReview-Commit-ID: L3gacVfSlcd
2016-08-02 18:40:00 +02:00
Andrew McCreight
0d2ed01bc4 Bug 1287204 - Fix typo in nsNodeUtils::CloneAndAdopt(). r=bz 2016-08-04 16:28:15 +02:00
Martin Stransky
83d5f7415d Bug 1286482 - use gdk_display_get_default() instead of mIsX11Display attribute, r=karlt
--HG--
extra : rebase_source : 136ed4085294eb7ff4908a3439e8dbb78efac768
2016-08-01 01:52:00 +02:00
Jessica Jong
b92c3511ea Bug 1283023 - Implement the step attribute for <input type=month>. r=smaug
--HG--
extra : rebase_source : 730c799687da786279efcd3134777b7208567e9e
2016-08-03 02:54:00 +02:00
JerryShih
184798636b Bug 1236785 - return WebGLTexture cache value for GetTexParameter() call. r=mtseng
--HG--
extra : rebase_source : 6c5d6358f6f4ee0f3c5f4e09a2b17998657415e8
2016-08-02 20:20:00 +02:00
JerryShih
28b72fb07b Bug 1291612 - update webgl conformance test gl-object-get-calls.js. r=mtseng
Update webgl conformance test gl-object-get-calls.js to
24323861fe

--HG--
extra : rebase_source : 0cb51ef71f78d6e9d2ed8cf716b78e8d95f87927
2016-08-02 22:52:00 +02:00
JerryShih
3b6936ef71 Bug 1236394 - turn on gl-object-get-calls.html WebGL conformance test, a=mtseng
--HG--
extra : rebase_source : 8f4daf60eefcbb40915d455f90064bb973ad5ea5
2016-07-31 19:39:00 +02:00
James Willcox
0fbdac5122 Bug 1255628 - Remove AndroidNativeWindow, as we can use the NDK functions directly now r=rbarker 2016-08-04 09:23:34 -05:00
James Willcox
26bcde6a5e Bug 1255628 - Replace and/or remove some graphics-related calls in AndroidBridge with NDK equivalents r=jchen 2016-08-04 09:23:34 -05:00
ctai
03882d4cec Bug 1201363 - Do not copy video segment to StreamTracks in TrackUnionStream. r=jesup
Now everything is ready. We can make NotifyQueuedTrackChanges only triggered by TRACK_EVENT_CREATED and TRACK_EVENT_ENDED without breaking anything. Also we make TrackUnionStream no longer copying data in video case.

MozReview-Commit-ID: IgLx1mpBWB3

--HG--
extra : transplant_source : %21M%C5%07%B9%CB%16%96%D6gN%C0g%0A%E8%7D%A0%AB%98%26
2016-05-31 18:05:11 +08:00
ctai
749ec15b11 Bug 1201363 - MediaStreamVideoSink for MediaPipelineTransmit case. r=jesup
Replace |MediaPipelineTransmit::PipelineListener::NotifyQueuedTrackChanges| with |MediaPipelineTransmit::PipelineVideoSink::SetCurrentFrames|. We only need to deal with the video case since audio will be routed to |NotifyQueuedAudioData|.

MozReview-Commit-ID: EVpMVgJynGT

--HG--
extra : transplant_source : %0By%B5%91Fr%5B%BA%F7%D4%EE%FBs7%0C%F2%84%EC%5C5
2016-05-31 14:59:13 +08:00
Chia-hung Tai
e759836a63 Bug 1201363 - MediaStreamVideoSink for MediaRecorder case. r=jesup
Add MediaStreamVideoRecorderSink into MediaEncorder. In this patch, I still keep use duration to pass to TrackEncoders. Don't want to make this bug too big and out of control. We can file a new bug to change TrackEncoders use TimeStamp only.

MozReview-Commit-ID: KGftzulZynj

--HG--
extra : transplant_source : %E9%22B%90%D6%CF%08%12X%D1%E2%17%90%99%B2%91%24B%EA%1D
2016-06-15 16:48:44 +01:00
ctai
290298aeec Bug 1201363 - MediaStreamVideoSink for ImageCapture case. r=jesup
Make CaptureTask to inherite from MediaStreamVideoSink. The main change is to move the logic of |NotifyQueuedTrackChanges| to |SetCurrentFrames|.
The original image capture is not modified for support multiple video MediaStreamTracks. The design still used the track id in owned media stream. The should be fixed in the following bug if we still want to support ImageCapture in multiple video tracks case.

MozReview-Commit-ID: Od4tHoR8Ef

--HG--
extra : transplant_source : %AA%1BD%20%1D%8F%D0%9A%5B%9C%7Ef%A0%1C%E9%D7%EE%AE%E6%93
2016-05-31 13:53:49 +08:00
ctai
2c69985ffe Bug 1201363 - Call MediaStreamVideoSink::setCurrentFrames in SourceMediaStream::AppendToTrack. r=jesup
In this patch, we first deal with the case of MediaElement. Now we replace |PlayVideo| with |VideoFrameContainer::SetCurrentFrames| in |SourceMediaStream::AppendToTrack|. The MSG use TimeStamp::Now() for the TimeStamp of each video frame in most of case except MediaElement case. Becasue the MediaElement has its own VideoQueue, we need to calucalte the correct Timestamp based on the StartTimeStamp of this MediaStream and the elpased time of the video frame in DecodedStream.

MozReview-Commit-ID: 2bm2AHkFXHu

--HG--
extra : transplant_source : %3D%AA%00%CE%A3SV5%8F%84%96%AC%E2%D9%10%EC%85%07N%DF
2016-07-25 10:01:26 +08:00
ctai
384447b1ba Bug 1201363 - Adding Add/RemoveVideoOutput into VideoStreamTrack. r=jesup
MozReview-Commit-ID: JmKotuB3pBM

--HG--
extra : transplant_source : %DE%90%A1%E0%CC%FD%27%AC%BB%931%9F%EF%B8M%CE%F0%C3%3F%B7
2016-07-19 11:45:27 +08:00
ctai
27d3bbf12d Bug 1201363 - Register MediaStreamVideoSink into SourceMediaStream. r=jesup
MozReview-Commit-ID: 7X546VXVLJT

--HG--
extra : transplant_source : %98%26%05s%9B%96%05%D3%1Aq%7E87%F4%A5%A2%DE%C0Sw
2016-05-30 11:32:23 +08:00
ctai
0444986d79 Bug 1201363 - Let MediaStreamVideoSink bind with particular video track. r=jesup
MozReview-Commit-ID: FcjnmDKuRQI

--HG--
extra : transplant_source : %C3%D3%08%E5%C7%CA%9E%7C%F9L%C0w%C2o%11%16%877%04%21
2016-05-27 14:33:50 +08:00
ctai
b7fcb47572 Bug 1201363 - Replace VideoFrameContainer with MediaStreamVideoSink in MSG. r=jesup
Replace the pointer of VideoFrameContainer with the pointer of MediaStreamVideoSink.

MozReview-Commit-ID: 5bqEMpemwuR

--HG--
extra : transplant_source : %008z%D8W%EE%87%8E%E9/%2CT%26%EBvo%AE%099%A6
2016-05-27 14:33:48 +08:00
ctai
5918cfba5b Bug 1201363 - Adding base class MediaStreamVideoSink and changing VideoFrameContainer to be inherited from MediaStreamVideoSink. r=jesup
MediaStreamVideoSink is the base class of VideoFrameContainer, CaptureTask(ImageCapture), MediaStreamVideoRecorderSink(MediaRecoreder) and PipelineVideoSink(WebRTC-MediaPipelineTransmit). In this patch, I change VideoFrameContainer only. The rest of cases will be changed in latter patches of this bug.

MozReview-Commit-ID: JNUke3fyCoN

--HG--
extra : transplant_source : %0A%C7q%F3Md%0CO%8C%5DH%90%BBvp%9E%F0%DA%CD%CB
2015-12-24 10:43:28 +08:00
Stone Shih
f226c252d4 Bug 1285070 - Real touch events will generate corresponding pointer events twice. r=kats 2016-07-07 09:53:38 +08:00
Jonathan Hao
f2d752034b Bug 1272754 - Disable "Open in new non-e10s window" from non-default containers. r=mconley 2016-08-03 19:32:00 +02:00
Ethan Lin
6e83aa737b Bug 1273365 - Check IsForGenerateGlyphMask before doing mask. r=jfkthame 2016-07-18 03:09:00 +02:00
James Cheng
139a9bcf21 Bug 1291229 - Fix typo for moving Java bindings to mozilla::java namespace. r=jchen
MozReview-Commit-ID: KGAS6EhnwAI

--HG--
extra : transplant_source : %D5%E1%CE%FB%C9s%BD%97%FD%BF%8C%99%81%94%D1%DB%94%DF%5B%05
2016-08-02 17:50:05 +08:00
Xidorn Quan
eaf4527336 Bug 931445 - Part 5 - Avoid childIframe subtest to be started twice. r=smaug
This is a silly bug that start() is called twice in this subtest, one
from the load event of the document (by pointerlock_utils.js), the other
is by onload of the iframe. Given the document's load event comes later,
I removed the onload of iframe.

MozReview-Commit-ID: 7TQJVa3xCb9

--HG--
extra : transplant_source : %88%DFF%5E%CD%84%19%01e%A9%18%7E%85%C75%E4%BAb%EC%03
2016-08-03 15:14:49 +10:00
Carsten "Tomcat" Book
336c76b079 Merge mozilla-central to mozilla-inbound 2016-08-04 16:07:29 +02:00
Carsten "Tomcat" Book
389a3e0817 merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : mobile/android/base/java/org/mozilla/gecko/GeckoAppShell.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoAppShell.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/GeckoLayerClient.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/GeckoLayerClient.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/LayerRenderer.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/LayerRenderer.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/PanningPerfAPI.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/PanningPerfAPI.java
2016-08-04 15:55:50 +02:00
Carsten "Tomcat" Book
d036bdb09c merge fx-team to mozilla-central a=merge 2016-08-04 15:54:27 +02:00
Carsten "Tomcat" Book
03f2893f26 Backed out changeset 5b940f1bf535 (bug 1289829) for reftest failures 2016-08-04 09:58:10 +02:00
Tooru Fujisawa
6a2df0c986 Bug 1285465 - Do not throw when callStack is empty. r=jwalden 2016-08-04 14:52:43 +09:00
Daniel Holbert
83a68d4157 Bug 1291334 part 2: Fix path to solidblue.png image in flexbox-whitespace-handling-001* reftest files. (no review)
MozReview-Commit-ID: 7I53hpMdLS5
2016-08-03 22:34:32 -07:00
Daniel Holbert
4f87c4a3ab Bug 1291334 part 1: Explicitly set margin on textareas within reftest flexbox-basic-textarea-horiz-001.xhtml, to remove assumptions about default styling. (no review)
MozReview-Commit-ID: 67PSYNY8hob
2016-08-03 22:34:30 -07:00
Morgan Phillips
f4a7b6af4c bug 1230490 - Allow 16 bit character codes 2/2; r=evilpie
--HG--
extra : amend_source : 22584adc7bb7af089bd15aca109177955679559c
2016-08-02 16:33:58 -07:00
Morgan Phillips
6482267db5 bug 1230490 - Allow 16 bit character codes 1/2; r=evilpie 2016-08-03 12:11:38 -07:00
Emilio Cobos Álvarez
1b5c331814 Bug 1290335: followup: Fix the ConsumeStoredChangeHint assertion. r=me
That will teach me to address review comments at night.

MozReview-Commit-ID: 9AGFoj2du7C
2016-08-03 19:26:37 -07:00
Jeremy Chen
639577e5c5 No bug - comment typo fix in input-text-3-noheight-ref.html. r=me DONTBUILD
comment-only, so DONTBUILD

MozReview-Commit-ID: 3QlzoP5D0rK
2016-08-04 10:23:53 +08:00
Sotaro Ikeda
4bf4a29dce Bug 1289829 - Change mask SurfaceSize calculation r=mattwoodrow 2016-08-03 19:00:19 -07:00
Phil Ringnalda
56b614beaf Merge m-c to m-i
--HG--
rename : testing/web-platform/tests/encrypted-media/Google/webm/test-encrypted-different-av-keys.webm => testing/web-platform/tests/encrypted-media/Google/test-encrypted-different-av-keys.webm
rename : testing/web-platform/tests/encrypted-media/Google/webm/test-encrypted.webm => testing/web-platform/tests/encrypted-media/Google/test-encrypted.webm
rename : testing/web-platform/tests/web-animations/interfaces/AnimationTimeline/idlharness.html => testing/web-platform/tests/web-animations/interfaces/DocumentTimeline/idlharness.html
rename : testing/web-platform/tests/web-animations/interfaces/AnimationTimeline/document-timeline.html => testing/web-platform/tests/web-animations/timing-model/timelines/default-document-timeline.html
extra : rebase_source : e20524b81fac999678f742d6ad13bca1b761d778
2016-08-03 18:52:15 -07:00
Phil Ringnalda
d9a04f7163 Back out 2 changesets (bug 1291312) for making Win7 debug wpt-e10s-2 permanently fail by taking more than 7200 seconds to run, a=backout
Backed out changeset 0267734ec297 (bug 1291312)
Backed out changeset 8232b0211660 (bug 1291312)

--HG--
rename : testing/web-platform/tests/encrypted-media/Google/webm/test-encrypted-different-av-keys.webm => testing/web-platform/tests/encrypted-media/Google/test-encrypted-different-av-keys.webm
rename : testing/web-platform/tests/encrypted-media/Google/webm/test-encrypted.webm => testing/web-platform/tests/encrypted-media/Google/test-encrypted.webm
rename : testing/web-platform/tests/web-animations/interfaces/AnimationTimeline/idlharness.html => testing/web-platform/tests/web-animations/interfaces/DocumentTimeline/idlharness.html
rename : testing/web-platform/tests/web-animations/interfaces/AnimationTimeline/document-timeline.html => testing/web-platform/tests/web-animations/timing-model/timelines/default-document-timeline.html
2016-08-03 18:50:40 -07:00
Nick Thomas
82a5fd2882 Bug 1291636, Fennec single locale repacks broken on beta, r=Callek DONTBUILD
--HG--
extra : amend_source : c9e804dca936bed44ae46aa352f1895a4215f05f
2016-08-04 13:48:34 +12:00
Boris Zbarsky
d7821950f4 Bug 1278583 part 5. Switch DOM code from using hasInstance class hooks to using Symbol.hasInstance. r=peterv 2016-08-03 18:32:07 -07:00
Boris Zbarsky
ba5962ed70 Bug 1278583 part 4. Rip out the now-unused construct hook holder bits in bindings. r=peterv 2016-08-03 18:32:06 -07:00
Boris Zbarsky
ab204ba73e Bug 1278583 part 3. Make static stuff (static attributes, methods, constants) actually work on globals. r=peterv 2016-08-03 18:32:06 -07:00
Boris Zbarsky
19c582af6e Bug 1278583 part 2. Change the value passed to JS::OrdinaryHasInstance to be a HandleValue, not MutableHandleValue. r=jandem 2016-08-03 18:32:06 -07:00
Boris Zbarsky
e7c46c6242 Bug 1278583 part 1. Expose a JS::OrdinaryHasInstance. r=jandem 2016-08-03 18:32:06 -07:00
Bobby Holley
3b101f50f2 Bug 1291885 - Use leak logging in a few more places. r=emilio 2016-08-03 18:31:04 -07:00