Commit Graph

21302 Commits

Author SHA1 Message Date
Brad Lassey
35440f6e21 bug 1041700 - add browserWindow and scrollWithPAge to media constraints r=jesup,jib,khuey 2014-07-21 14:57:28 -04:00
Nathan Froyd
b0d8d29205 Bug 1046784 - move -DNOMINMAX definitions to moz.build; r=mshal 2014-07-31 10:41:48 -04:00
Ralph Giles
2e9e69a4dc Bug 1046301 - AppleATDecoder: call DrainComplete. r=cpearce
Propagate changes from bug 1039128.
2014-07-30 16:07:00 -07:00
Ralph Giles
c6fb82a56d Bug 1046301 - AppleVTDecoder: call DrainComplete. r=cpearce
Propagate changes from bug 1039128 and some other cleanup.
2014-07-30 16:06:00 -07:00
Ryan VanderMeulen
80523fd9da Backed out 3 changesets (bug 1022818) for B2G test failures on a CLOSED TREE.
Backed out changeset 9b37b8ae8302 (bug 1022818)
Backed out changeset bfe7d53e220a (bug 1022818)
Backed out changeset 6c5208ca3274 (bug 1022818)
2014-08-01 11:14:14 -04:00
Kearwood (Kip) Gilbert
1fbc95a21a Bug 1022818 - Part 2: Implement Smooth Scrolling. r=bz
- Updated ScrollTo method in nsGlobalWindow to accept a
  mozilla::dom::ScrollOptions parameter to select between the instant
  and smooth MSD motion.
- Updated WebIDL binding boilerplate scrolling functions in nsGlobalWindow
  to pass the correct value of mozilla::dom::ScrollBehavior to the
  implementation and functions, activating smooth scrolling.
- These functions will need to be updated again to support the scroll-behavior
  CSS property in Bug 1010538.
2014-07-21 11:19:00 -04:00
Kearwood (Kip) Gilbert
f805743cfc Bug 1022818 - Part 1: Update webidl interfaces. r=bz
- Extended the Element and Window webidl interfaces as described in the
  CSSOM-View smooth-scrolling specification.
- The Element.scrollTop and Element.scrollLeft changes have been omitted
  until either WebIDL is extended to allow properties to have union datatypes
  that contain dictionaries or the CSSOM-View smooth-scroll specification
  is upddated.  This will not prevent the other interface changes from being
  useful.
- Implemented wrapper functions for the nsGlobalWindow to connect to the new
  WebIDL bindings.  The ScrollOptions parameters are ignored in this patch,
  and used in Part 3 of this patch series.
2014-07-21 11:04:00 -04:00
Paul Adenot
954f625a00 Bug 1046470 - Only reset low latency stream, and properly unlock the Mutex. r=jesup 2014-08-01 14:12:10 +02:00
Chris Pearce
0d51998ee9 Bug 1047188 - Ensure we only call MediaDataDecoder::Drain() once, and break out of MP4Reader::Decode() when DrainComplete() is called. r=kentuckyfriedtakahe 2014-08-01 16:04:37 +12:00
Cameron McCormack
5f1e8f559d Bug 1046534 - Call DropDocumentReference on a document's CSSLoader before we unlink it. r=dbaron 2014-08-01 10:45:02 +10:00
Ehsan Akhgari
47390ee814 Bug 1045270 - Part 3: Add a test case; r=smaug 2014-07-31 20:27:04 -04:00
Ehsan Akhgari
7b43655435 Bug 1045270 - Part 1: Cache the selection state for the native anonymous text box inside number controls on the number control itself; r=smaug
This is needed because the text control and its nsTextEditorState will
die together with the text control's frame.
2014-07-31 20:25:31 -04:00
Birunthan Mohanathas
fcf56eb7ed Bug 1044445 - Collapse test-only moz.build files under content/ into ancestor moz.build files. r=glandium 2014-07-31 12:54:21 -07:00
Birunthan Mohanathas
b2864e176d Bug 1044445 - Collapse test-only moz.build files under content/media/ into ancestor moz.build files. r=glandium 2014-07-31 12:54:21 -07:00
Nathan Froyd
9ea6c585f8 Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium 2014-07-24 11:55:33 -04:00
JW Wang
5df44ffedf Bug 1034957 - don't spin decode task queue waiting for audio frames since it hangs with gstreamer 1.0. r=cpearce 2014-07-30 20:58:00 +02:00
Olli Pettay
00cf47c562 Bug 1024428 - don't crash when using input type='range' in shadow dom. r=wchen 2014-07-30 23:15:44 +03:00
Masayuki Nakano
808c0a4d48 Bug 496360 part.2 IMEContentObserver shouldn't dispatch TextChangeEvent while editor handles an edit action r=ehsan+smaug, sr=smaug 2014-07-31 13:37:59 +09:00
Daniel Holbert
aa377700c6 Bug 1046282 part 4: Make Create*Decoder functions return already_AddRefed. r=rillian 2014-07-30 18:40:21 -07:00
Daniel Holbert
44a462e1a0 Bug 1046282 part 3: Use nsRefPtr instead of RefPtr for DecoderData::mDecoder (and mTaskQueue, for consistency & good measure). r=rillian r=cpearce 2014-07-30 18:40:19 -07:00
Daniel Holbert
9c663b0e34 Bug 1046282 part 2: Drop unnecessary else-after-return in EMEDecoderModule.cpp. r=rillian 2014-07-30 18:40:18 -07:00
Daniel Holbert
07ea0b12df Bug 1046282 part 1: Make Create*Decoder function-signatures use a consistent style. r=rillian 2014-07-30 18:40:14 -07:00
Daniel Holbert
879130a56f (no bug) Move a comment to more appropriate spot, in SVGTransformableElement.h. comment/whitespace-only, DONTBUILD 2014-07-30 14:55:38 -07:00
Randell Jesup
523b21da24 Bug 1044408: enable crashing all GMP plugins on a pref strobe r=cpearce,ted 2014-07-30 17:40:43 -04:00
Sid Stamm
37ef5b48e5 Bug 991474 - Remove selfURI from AppendPolicy after removing the old backend. (r=ckerschb,grobinson) 2014-07-30 14:37:22 -07:00
Sid Stamm
20bf669758 Bug 991468 - Remove isInitialized after we remove the old parser. (r=grobinson,ckerschb) 2014-07-30 14:37:22 -07:00
Sid Stamm
0019b6c74f Bug 994872 - Remove documentPrincipal from nsIContentSecurityPolicy::SetRequestContext. (r=ckerschb) 2014-07-30 14:37:22 -07:00
Sid Stamm
edab85ef33 Bug 994782 - Remove the old Content Security Policy parser, CSPUtils.jsm and tie-in logic. (r=ckerschb,jst) 2014-07-30 14:37:22 -07:00
Ryan VanderMeulen
fe0282dc8f Merge m-c to inbound on a CLOSED TREE. a=merge 2014-07-30 17:16:05 -04:00
Ryan VanderMeulen
879108f360 Merge inbound to m-c. a=merge 2014-07-30 17:13:20 -04:00
Ralph Giles
42bbe06969 Bug 941296 - Fix non-unified build. r=bustage CLOSED TREE
We need to include a headers defining nsrefcnt and NS_IsMainThread(),
and make sure we reference the CMLinker versions of the CoreMedia
functions rather than the system ones.
2014-07-30 11:43:05 -07:00
Masayuki Nakano
ed09b7bff6 Bug 1045978 Create InternalSVGZoomEvent class and InternalSMILTimeEvent class r=smaug 2014-07-31 02:16:57 +09:00
Ralph Giles
f43eae08fb Bug 1043695 - Fix comment formatting. r=cpearce 2014-07-26 23:45:00 -07:00
Andrew McCreight
9d2f3d6535 Bug 1034909 - Remove dangerous public destructor of nsSVGViewBox. r=bjacob 2014-07-30 13:00:28 -07:00
Benoit Jacob
24320668ca Bug 1044658 - 5/6 - remove asWeakPtr - r=froydnj 2014-07-30 15:52:05 -04:00
Daniel Holbert
282beab189 Bug 1046263: Drop EMEDecoderModule.cpp's unused #include for runnable_utils.h (to fix --disable-webrtc builds). r=cpearce 2014-07-30 12:25:27 -07:00
Ralph Giles
b56cc112f0 Bug 1043695 - Add a frame reorder queue. r=cpearce
This fixes the frame drops on test.mp4. For now it just
assumes a reorder depth of 3, but we need to plumb the
actual value through the demuxer.

Based on now-removed code from Edwin's FFmpegH264Decoder.
2014-07-24 17:08:00 -07:00
Ralph Giles
9fcd06be4b Bug 1043695 - Try passing zero for DTS instead of PTS. r=cpearce
Suggestion from ajones to make it fail more obviously if the lack
of DTS values causes a problem. Doesn't seem to make a difference.
2014-07-24 16:58:00 -07:00
Ralph Giles
ac294c190a Bug 1043695 - Log output frame metadata. r=cpearce
Also cleans up the input sample log so they're easier to compare.
2014-07-24 16:57:00 -07:00
Ralph Giles
6ff640055a Bug 1043695 - Wrap FrameRef in an nsAutoPtr. r=cpearce
Everything else auto-releases, might as well do this too.
2014-07-24 16:56:00 -07:00
Jean-Yves Avenard
2f471276ca Bug 1046005 - Fix compilation on OS X 10.9. r=rillian
We never directly link against the CoreVideo framework,
as such no external definition will be resolved
2014-07-30 22:32:58 +12:00
Carsten "Tomcat" Book
c7a256d81d Merge mozilla-central to b2g-inbound 2014-07-30 14:14:01 +02:00
Karl Tomlinson
21244bbd4c crashtest for bug 990794
--HG--
extra : rebase_source : 8d6ff4e6fdfe51e32cca22ecaeb84b59c18ad4ae
2014-07-30 17:45:12 +12:00
Karl Tomlinson
2a948ef5df crashtest for bug 966636
derived from testcase by Atte Kettunen <attekett@gmail.com>

--HG--
extra : rebase_source : 8ec0f239e118d92e04b368490c49dd045bfc5ca5
2014-07-30 12:55:05 +12:00
Karl Tomlinson
f19e56d843 crashtest for bug 944851
based on testcase by Jesse Ruderman <jruderman@gmail.com>

--HG--
extra : rebase_source : f9bbe6e23afac15180a91e7c6d276483e4320d3a
2014-07-30 13:33:32 +12:00
Szu-Yu Chen [:aknow]
61c39eb2d9 Bug 1036851 - Part 2: Add ready event (dom). r=hsinyi 2014-07-21 19:17:00 +02:00
Ralph Giles
ee6e2e7884 Bug 941296 - Fix type conversion errors on 32-bit MacOS. r=cpearce
UInt32 is an unsigned long on i686 while uint32_t is an unsigned int.
The compiler can't covert from a pointer to one to the pointer to
the other, so just use the MacOS type.

There's no problem on 64-bit.
2014-07-26 23:43:00 -07:00
Ralph Giles
74a7e5cb1c Bug 941296 - AAC platform decoder for OS X. r=edwin,cpearce
Implement an AAC decoder based on the AudioToolbox wrapper
in AppleMP3Decoder.
2014-07-24 16:30:00 -07:00
Ralph Giles
e9104482d2 Bug 941296 - Fix warnings from debug-only code. r=cpearce
These reported as unused variable warnings in non-debug builds.
2014-07-26 23:40:00 -07:00
Ralph Giles
df7460f859 Bug 941296 - Add a missing close brace. r=cpearce
Accidentally clobbered this when adding the APPLEMEDIA #ifdef.
Fixes build against ffmpeg, etc.
2014-07-28 15:36:00 -07:00