Commit Graph

484767 Commits

Author SHA1 Message Date
Jean-Yves Avenard
525aebc682 Bug 1288331: [ogg] P2. Fix fast seek mochitest. r=cpearce
Fast seek in the old OggReader is broken: the audio track isn't seeked to the video track in order to preserve A/V sync and we end up always performing an accurate seek which explain why this test succeeded before.
The page index is only made of two entries, and so the first video frame returned after a seek, if within the first index will always have a time of 0.

MozReview-Commit-ID: 2EYzLMWRZAi

--HG--
extra : rebase_source : a7c73a757a841550cc7c5d2a0a7229a037a2bb9f
2016-07-27 00:12:28 +10:00
Jean-Yves Avenard
d8e3cd1eab Bug 1288331: [ogg] P1. Seek audio track and video track independently from one another. r=brion+1012
MozReview-Commit-ID: 3ZOuzLNbPiq

Bug 1288331: [ogg] P1 amend

MozReview-Commit-ID: BoeDuGziBX5

--HG--
extra : rebase_source : 54220233aa4e0d54154edbb32c879935866f4745
2016-07-26 23:03:36 +10:00
Jean-Yves Avenard
d9896af911 Bug 1289059: P1. Add MediaDemuxer generic logging. r=cpearce
MozReview-Commit-ID: 453QrMX1nWp

--HG--
extra : rebase_source : 679586d22a380e57c19c1e78b29e71282c08ecbf
2016-07-24 22:30:07 +10:00
Jean-Yves Avenard
2de6846418 Bug 1168674: [ogg] P8. Fix metadata retrieval. r=brion+1012
MozReview-Commit-ID: BMUNy4zyWMz

--HG--
extra : rebase_source : 6bd1242b5195d1d2093df670797fcabbb6f8cc98
2016-07-27 12:22:31 +10:00
Jean-Yves Avenard
b0edcccd34 Bug 1168674: [ogg] P7. Properly mark overridden methods. r=gerald
MozReview-Commit-ID: 5aICN1aQwgC

--HG--
extra : rebase_source : a5ab7663bb831153d8c984e0f55ff338f574bb23
2016-07-26 16:39:44 +10:00
Jean-Yves Avenard
17bf74890d Bug 1168674: [vorbis] P6. Do not tweak first decoded sample time. r=cpearce
r?cpearce

A hack was in place to ensure that the first returned sample would have
a time of 0 so that the media start time would be 0. This was incorrect
for two primary reasons:
- The media start time is adjusted according to the first sample anyway.
- When seeking to 0, the first sample would have a time different to the
first sample decoded (when we want them to have the same time).

MozReview-Commit-ID: IyuT9O2F4EZ

--HG--
extra : rebase_source : 74b29eb5970c67aed6ca568d1882e3b6c54a6637
2016-07-25 19:14:39 +10:00
Jean-Yves Avenard
1125dc098d Bug 1168674: [ogg] P5. Use common demuxing methods. r=brion+1012
This ensure that the first sample demuxed will be identical to the first
one demuxed following a seek to the beginning.
Also, only demux the next packet when none is queued rather than all the time.

MozReview-Commit-ID: 5wtFVLiCAW

--HG--
extra : rebase_source : ce73d35f68fb800608a1182843de1d4abd469081
2016-07-25 19:06:20 +10:00
Jean-Yves Avenard
928589a0d1 Bug 1168674: [ogg] P4. Skip over header packets when seeking close to the start. r=brion+1012
MozReview-Commit-ID: F0Ezo0yfOyo

--HG--
extra : rebase_source : aac013a5b6065efed696e9929c63789f72ee1f5d
2016-07-21 17:56:01 +10:00
Brion Vibber
7f2fa5c20a Bug 1168674: [ogg] P3. Add theora MediaDataDecoder. r=me
MozReview-Commit-ID: 7ZJD21JMXBY

--HG--
extra : rebase_source : 5108040c8de69e52bdd96842315e5a5e70c65ff7
2016-07-21 11:36:47 +10:00
Brion Vibber
847a1df7ea Bug 1168674: [ogg] P2. Hook up new OggDemuxer. r=me
Not on by default yet. use media.format-reader.ogg preference

MozReview-Commit-ID: 7pH67XERTbW

--HG--
extra : rebase_source : 9868f07f622782b4859b95f237f7ee516345c2b2
2016-07-21 11:34:42 +10:00
Brion Vibber
173a4b9f77 Bug 1168674: [ogg] P1. Add OggDemuxer object. r=me
MozReview-Commit-ID: ChEceup4MYh

--HG--
extra : rebase_source : 0dc2c481c3bb3554484aac4227e92261c2341c66
2016-07-21 11:28:47 +10:00
Sebastian Kaspari
cc62ca1699 Bug 1290012 - Introduce setting to enable experimental activity stream feature. r=ahunt
If the app is build with MOZ_ANDROID_ACTIVITY_STREAM enabled then a preference for
activity stream will appear in the 'advanced' section. All upcoming activity stream
features should check ActivityStream.isEnabled() at runtime.

MozReview-Commit-ID: Hibh1j0lqFo

--HG--
extra : rebase_source : c70ca471361050e0ca613e12ee250bf0cb0cf1a8
2016-07-28 21:12:58 +02:00
Alexandre Lissy
72456298c6 Bug 1290460 - Update AllocationHandle for MediaEngineGonk r=padenot
MozReview-Commit-ID: KVVPjWfDSlu

--HG--
extra : rebase_source : ccc67d374a14bc3b84f0e1e9acad829e684afe72
2016-07-29 15:56:02 +02:00
Tom Tromey
0625980878 Bug 1274303 - fix gcli "inspect" command; r=jwalker
MozReview-Commit-ID: GeTUvJqvrKx

--HG--
extra : rebase_source : 59048383ea0f63c9ea1fcb4e986446d6db954096
2016-07-27 13:08:47 -06:00
Mike Conley
bcd208c716 Bug 1228120 - Add tests to ensure SessionStore saves and restores windows and tabs properly after a restart. r=whimboo
Now that the Firefox UI tests are in the tree, this is possible and less
of a pain. Unfortunately, due to bug 1228446, this test is disabled for
e10s.

MozReview-Commit-ID: A16EVJ8eYyB

--HG--
extra : rebase_source : 3d7b1401a4bafcd7c4bcb0804fe8c98a804a2611
2016-07-29 09:29:34 -04:00
Andrew Halberstadt
dc3d031216 Bug 1289879 - Activate the mozharness virtualenv when running tests on interactive workers, r=armenzg
There are some packages like 'requests' that are bundled in the mozharness venv, but not in the test
package. It would be easy to manually add these to sys.path in the mach bootstrap script, but it's
much nicer to simply activate this virtualenv in the first place.

MozReview-Commit-ID: 8xeJEIgUbLj

--HG--
extra : rebase_source : b87e5ef46041d9d5a89d419e97fe3a316de6c8c2
2016-07-20 16:40:40 -04:00
Andrew Halberstadt
e920337e70 Bug 1288827 - Allow running mochitest from test-package without specifying --appname, r=armenzg
Because it is now possible for options.app to get set after 'parse_args' time, we need to make sure
the argument validation happens later. To accomplish this we pass in the parser instance to
'run_test_harness' and do parser.validate there. This unfortunately requires some minor uses of
global to accomplish easily due to how mach handles parsers.

MozReview-Commit-ID: s3Js1aZlSE

--HG--
extra : rebase_source : 3a94debda3dbed839074094707cadf32e7f7337c
2016-07-20 11:13:30 -04:00
Alastor Wu
22838ab6da Bug 1289356 - only resume music when we're in the state 'AUDIOFOCUS_LOSS_TRANSIENT'. r=sebastian
The audio should only be resumed when we lose audio-focus transiently. Eg. interrupt by ringtone or telephony.

MozReview-Commit-ID: 78QHSqxEhcp

--HG--
extra : rebase_source : e6e1f2f85b0082a5729b31c0b81aa579b623ff26
2016-07-29 19:22:31 +08:00
Mike Hommey
8eff2bec09 Bug 1290026 - Automatically set LIB from configure. r=chmanchester
--HG--
extra : rebase_source : 4ca572685169fdd2fbb0c9ae6aac5361d2669569
2016-07-27 18:01:04 +09:00
Mike Hommey
9bca5c6d3a Bug 1290026 - Automatically set INCLUDE from configure. r=chmanchester
--HG--
extra : rebase_source : e96decbc05d41e25a80cd3d1d61a7b36ba91f08b
2016-07-27 17:03:09 +09:00
Mike Hommey
75ca7fed2b Bug 1289638 - Update the MSVC tooltool package. r=gps
- Update the tooltool manifests to use the new package.
- Update mozconfig paths to reflect MSVC tooltool package changes.

--HG--
extra : rebase_source : 2f2da35ec1d1b3fb5ca9210951d9ac3a38a2bd75
2016-07-27 09:38:45 +09:00
Mike Hommey
439cf4860e Bug 1289638 - Don't remove the SDK version from the SDK paths in the MSVC tooltool package. r=gps
While we're here changing the MSVC tooltool package, and since we're
going to remove the INCLUDE and LIB lines from mozconfigs that contain
the SDK version, we might as well make the SDK in the tooltool package
closer to an actual SDK, so that automation and local build more or
less follow the same (upcoming) configure code path.

--HG--
extra : rebase_source : d760931fd721df1a6b27ae8caee37874eb1252f5
2016-07-28 16:53:44 +09:00
Mike Hommey
fae208c213 Bug 1289638 - Don't rename the DIA SDK directory in the MSVC tooltool package. r=gps
--HG--
extra : rebase_source : 1082c4dc3423bebdbfb62d30c339043d994f47ba
2016-07-27 09:32:22 +09:00
Carsten "Tomcat" Book
227fd9521f Merge mozilla-central to autoland 2016-07-29 12:36:04 +02:00
Carsten "Tomcat" Book
8c47612fee merge mozilla-inbound to mozilla-central a=merge 2016-07-29 11:56:43 +02:00
Carsten "Tomcat" Book
e7165f9b1e merge fx-team to mozilla-central a=merge 2016-07-29 11:55:36 +02:00
Wes Kocher
0291de30b7 Backed out changeset 7d6baa38a04c (bug 1288938) for reftest crashes 2016-07-28 22:43:49 -07:00
Tooru Fujisawa
ab4c2ebe2c Bug 1287520 - Check IsPackedArray for the result array in Array.prototype.concat. r=efaust 2016-07-29 13:55:26 +09:00
Tooru Fujisawa
a3fa8a6a1c Bug 1287525 - Part 2: Do not use RegExp.prototype[@@split] optimized path if limit is not number. r=h4writer 2016-07-29 13:55:26 +09:00
Tooru Fujisawa
1de3de00d8 Bug 1287525 - Part 1: Do not use RegExp.prototype[@@split] optimized path if |this| object has extra property. r=h4writer 2016-07-29 13:55:26 +09:00
Tooru Fujisawa
414b89d4d3 Bug 1287524 - Check RegExp.prototype.unicode in RegExpPrototypeOptimizable. r=h4writer 2016-07-29 13:55:26 +09:00
Tooru Fujisawa
16ab15420c Bug 1280046 - Search codepoints with same uppercase on ignoreCase match with non-unicode RegExp. r=jwalden 2016-07-29 13:55:25 +09:00
Mark Hammond
27fa2ce0b7 Bug 1275139 (part 3) - don't Sync system addons, nor apply them when incoming. r=rhelmer
MozReview-Commit-ID: Jn0TNLy4cDJ
2016-07-29 10:44:20 +10:00
Mark Hammond
d2219304ce Bug 1275139 (part 2) - change tests to demonstrate the problems with system addons. r=rhelmer
MozReview-Commit-ID: Jhi4WyBYX8t
2016-07-29 10:44:12 +10:00
Mark Hammond
31b43265c9 Bug 1275139 (part 1) - kill ignoreRepositoryChecking pref, replacing it with AddonRepository.cache. r=rhelmer
MozReview-Commit-ID: 4tbctcuoFeB
2016-07-29 10:44:05 +10:00
Wes Kocher
2e8a001926 Merge m-c to fx-team, a=merge 2016-07-28 17:04:33 -07:00
Kris Maglione
bd7e3664e4 Bug 1276390 - Use blocking polling in worker to handle subprocess IO. r=aswan
MozReview-Commit-ID: KXqgCLnO7dR

--HG--
extra : source : 48cff1c9b619bb224dd763332836522fd60c160f
extra : histedit_source : dd214d7b0835a3dcf361b9a6f65625fa2434cd81%2Cd7c9dc53cb4e020a66d716ec538e2f7c7664e91c
2016-07-28 16:27:25 -07:00
Bobby Holley
6255cd0c72 Bug 1290214 - Remove NS_ERROR for {un,partially-}implemented ServoRestyleManager and ServoStyleSet methods. r=emilio
These are core methods that we know we need to implement, and I'm not worried that
we'll forget about them. The warnings should be enough here.
2016-07-28 17:25:53 -07:00
Bobby Holley
7e2a8f642f Bug 1290214 - Remove NS_ERROR for unhandled document state changes. r=emilio 2016-07-28 17:25:51 -07:00
Bobby Holley
ff7b93c2e8 Bug 1290214 - Remove NS_ERROR for XBL stylesheet management. r=emilio 2016-07-28 17:25:49 -07:00
Bobby Holley
5cc53812ef Bug 1290214 - Make ServoRestyleManager::AttributeChanged a no-op. r=emilio
We do all the work we need to do with the snapshot model in AttributeWillChange.
2016-07-28 17:25:48 -07:00
Bobby Holley
7c2695a9d0 Bug 1290214 - Remove NS_ERROR for media queries and @font-face. r=emilio 2016-07-28 17:25:46 -07:00
Bobby Holley
81084cfef0 Bug 1290214 - Remove NS_ERROR in the case where we skip checking the stylesheet service. r=emilio 2016-07-28 17:25:44 -07:00
Bobby Holley
d5aeede891 Bug 1290214 - Remove NS_ERRORs in css::Loader. r=emilio 2016-07-28 17:25:43 -07:00
Bobby Holley
b92154b20a Bug 1290214 - Stop asserting when we don't have enough information to use the servo backend. r=emilio
In practice I'm pretty sure these cases wouldn't have a content docshell anyway.
We probably don't need more robust machinery here, since eventually we'll just
make stylo pref-based for every new prescontext regardless of type.
2016-07-28 17:25:41 -07:00
Wes Kocher
97868e2577 Merge m-c to inbound, a=merge 2016-07-28 17:04:59 -07:00
Sebastian Hengst
098d95ef0e Bug 1289358 - Remove typeof win.foo == "function" checks: Remove trailing whitespaces. r=eslint-fix 2016-07-29 00:49:39 +02:00
Neerja Pancholi
d660b8cb84 Bug 1288797 - Replace nsAutoPtr with UniquePtr in nsStyleStruct.h (for variable "mCropRect") r=dholbert
MozReview-Commit-ID: 1UFbO0jgM1k

--HG--
extra : rebase_source : 577c45b90653482ec2d5baab679c743cc68ac872
2016-07-28 15:06:02 -07:00
Jonathan Chan
95f96fd0dd Bug 1290320 - Add missing include to nsStyleSet.h. r=bholley
MozReview-Commit-ID: PRSFRX9Oru

--HG--
extra : rebase_source : 7f964a1b0371eb6b986b165e3fc100139469ce1c
2016-07-28 18:41:08 -07:00
Sebastian Hengst
1112b7a522 Bug 1289067 - Tooltip for 'Analyze' button (shown if netmonitor view empty) not shown. r=jryans
MozReview-Commit-ID: Kj0UGz97v6X

--HG--
extra : rebase_source : b2fcc1bf9358f06f1a3b1e5f25a2b69e60b7f7e9
2016-07-28 20:45:01 +02:00