Граф коммитов

558552 Коммитов

Автор SHA1 Сообщение Дата
Jean-Yves Avenard aa5caa2ae1 Bug 1397307 - P3. Remove unused method. r=gerald
Code was incorrect anyway.

MozReview-Commit-ID: Bf0O4Mhu1P6

--HG--
extra : rebase_source : 79ff66e3bec257b9f72e8af9b06b023715172d69
2017-09-11 17:37:44 +02:00
Jean-Yves Avenard c59188889b Bug 1397307 - P2. Wrap boolean in structure to prevent unwanted conversion. r=gerald
Automatic conversion (say from int to bool) makes DecoderParam difficult to extend.

MozReview-Commit-ID: G0T7jPogskN

--HG--
extra : rebase_source : 59437fd2b430ccd6be50b18c98b5a5c4ed2c8240
2017-09-08 15:45:38 +02:00
Jean-Yves Avenard d9036ddaef Bug 1397307 - P1. Make method const. r=gerald
MozReview-Commit-ID: 2UrTZroXpRG

--HG--
extra : rebase_source : d3c95c1c07fb46d28d7aea9fc8891894e7024b5a
2017-09-08 12:49:01 +02:00
Nicholas Nethercote beeb6cb150 Bug 1399758 - Measure ImageValue objects. r=heycam.
We have about 11,500 of these when loading gmail in a Stylo-enabled build, from
SpecifiedUrls; the objects themselves account for about 1.3 MiB of memory, and the
strings within them about 2.9 MiB.

We also have a very small number of them on the Gecko side.

MozReview-Commit-ID: AduCIaDIzGG

--HG--
extra : rebase_source : ee2a20921a17b9091b60a5d9e389a6c6f2fa192b
2017-09-14 18:48:19 +10:00
Nicholas Nethercote daa15872e6 servo: Merge #18515 - Measure ImageValue objects (from nnethercote:bug-1399758); r=heycam
We have about 11,500 of these when loading gmail in a Stylo-enabled build, from
SpecifiedUrls; the objects themselves account for about 1.3 MiB of memory, and
the strings within them about 2.9 MiB.

We also have a very small number of them on the Gecko side.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because tested on Gecko side.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: db689094f1413f542961cbe0d19a3ed82a11f682

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ef3e7f77133cb4b5e353de277c9a6332c1c5c7ec
2017-09-14 22:06:43 -05:00
Andrew Swan 31d7ea5e09 Bug 1384608 Show complete themes with legacy extensions r=rhelmer
MozReview-Commit-ID: 6jiQZ8SQpzI

--HG--
extra : rebase_source : 67a2d296c4a24b262be678e35cff36a3bcdd42b8
2017-09-13 13:23:39 -07:00
Shane Caraveo 85604b0c2b Bug 1393150 prevent remote extensions when e10s is off, r=bz,kmag
MozReview-Commit-ID: HjLLa9vx2UW

--HG--
extra : rebase_source : d37088f31931a74ef2c40dc510794ebc5f4931ab
2017-09-14 15:12:45 -07:00
Anthony Ramine 54a40ba2da servo: Merge #18504 - Some minor HTMLMediaElement improvements (from servo:media); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 1b9a5ea7197cb59f48b2010895ad2a98fef08bc4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e35d7df99fa18b655b4c2e8a2fbffb060366d174
2017-09-14 20:51:51 -05:00
Phil Ringnalda eab70d0a07 Backed out changeset 0e349b74bfc6 (bug 1399921) for failure to thrive on Mac
MozReview-Commit-ID: HoBhxzIzn2d
2017-09-14 20:36:41 -07:00
Mike Hommey c53e695a6e Bug 1399921 - Register zone allocator independently, and delay jemalloc initialization on mac. r=njn
In bug 1361258, we unified the initialization sequence on mac, and
chose to make the zone registration happen after jemalloc
initialization.

The order between jemalloc init and zone registration shouldn't actually
matter, because jemalloc initializes the first time the allocator is
actually used.

On the other hand, in some build setups (e.g. with light optimization),
the initialization of the thread_arena thread local variable can happen
after the forced jemalloc initialization because of the order the
corresponding static initializers run. In some levels of optimization,
the thread_arena initializer resets the value the jemalloc
initialization has set, which subsequently makes choose_arena() return
a bogus value (or hit an assertion in ThreadLocal.h on debug builds).

So instead of initializing jemalloc from a static initializer, which
then registers the zone, we instead register the zone and let jemalloc
initialize itself when used, which increases the chances of the
thread_arena initializer running first.

--HG--
extra : rebase_source : 4d9a5340d097ac8528dc4aaaf0c05bbef40b59bb
2017-09-15 07:34:48 +09:00
Jeremy Chen 4169d67990 Bug 1399805 - fix the default path of fix_macosx_stack.py for running wpt tests. r=jgraham
We try to find fix_macosx_stack.py on the wrong path, which leads us can't run
wpt tests without setting stack fix directory manually (--stackfix-dir).
In this patch, we fix this issue by pointing the path to @topobjdir/dist/bin.

MozReview-Commit-ID: 8JzWWgVM6fM

--HG--
extra : rebase_source : a7822998d7668b976284852bdca86e70d615b611
2017-09-14 19:07:23 +08:00
JW Wang 04279e9849 Bug 1399751. P3 - pass the offset of range request to ChannelMediaResource::OnStartRequest(). r=gerald
So we don't have to look at GetOffset(). We want to reduce the use of
MediaCacheStream::mChannelOffset so it is easier to fix data races about it.

MozReview-Commit-ID: 3GAbKYA9xi4

--HG--
extra : rebase_source : bfaceb190da30e3276085fb7930468ad51e3a98f
2017-09-14 14:33:15 +08:00
JW Wang 93ecd70b5b Bug 1399751. P2 - pass a block index to FindBlockForIncomingData() so it doesn't depend on mChannelOffset. r=gerald
MozReview-Commit-ID: 7VltaDyxndl

--HG--
extra : rebase_source : 09516f6379bb5f0e6e949e150cc74d373a889464
2017-09-14 10:42:54 +08:00
JW Wang a00d1e2c0a Bug 1399751. P1 - pass a block index to AllocateAndWriteBlock() so it doesn't depend on mChannelOffset. r=gerald
MozReview-Commit-ID: EJmxrE5X6nA

--HG--
extra : rebase_source : 0d89f6e1de8082ebe0fa3a20c1c8d2e34d4e1982
2017-09-14 10:39:06 +08:00
Thom Chiovoloni 3a3834f7a8 Bug 1400075 - Cleanup async handling for tab engine in TPS. r=markh
MozReview-Commit-ID: BQ0aJodErWy

--HG--
extra : rebase_source : 4f74acd21f64559b9a7215638672f6952283a4fe
2017-09-14 16:59:11 -07:00
Anthony Ramine 8c60b6fc19 servo: Merge #18503 - Simplify WorkerGlobalScope::process_event (from servo:globalism); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 42680374245c149b9bccc3ee5ea65f36d58c6d9e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2b81d5237cbda6fe5f1dae5288276a3af99251e5
2017-09-14 18:17:55 -05:00
Mike Hommey e4f4d5fc59 Bug 1400063 - Automatically declare jemalloc_* functions in mozmemory.h. r=njn
There is a lot of churn involved in adding new API surface to
mozjemalloc, and mozmemory.h is one. Instead of declaring
everything manually in there, "generate" the declarations through
malloc_decls.h.

--HG--
extra : rebase_source : 1416fa972319c419112c4a8b16759d90692db5b2
2017-09-14 18:28:12 +09:00
Bryce Van Dyk 5a880668fb Bug 1336367 - Fix unified build issues from previous changes. r=pehrsons
MozReview-Commit-ID: E82sCwkCxGT

--HG--
extra : rebase_source : 7ceace01c2d91b1f65f7ab9d34ebb08dd1edb48b
2017-09-14 14:15:22 +12:00
Bryce Van Dyk 1d69fbd829 Bug 1336367 - Rename TestTrackEncoder to TestAudioTrackEncoder. r=pehrsons
The TestTrackEncoder file only contained audio encoder tests. This makes the
distinction between the already existing TestVideoTrackEncoder and these audio
tests clearer.

MozReview-Commit-ID: KmM616S72Gm

--HG--
rename : dom/media/gtest/TestTrackEncoder.cpp => dom/media/gtest/TestAudioTrackEncoder.cpp
extra : rebase_source : abd0965fd27ef0f51575ac20e908b4cc908bca47
2017-09-14 13:54:43 +12:00
Bryce Van Dyk 2cc5363e39 Bug 1336367 - Add gtest for new AudioTrackEncoder init method and behaviour. r=pehrsons
MozReview-Commit-ID: 1IWPu2lD2u6

--HG--
extra : rebase_source : 4daeef0555e637f561025440591b7954641add1d
2017-09-14 13:21:31 +12:00
Bryce Van Dyk 1f1b9997c8 Bug 1336367 - Move AudioTrackEncoder Segment init logic into new method. r=pehrsons
The AudioTrackEncoder has logic to attempt to init when given an AudioSegment.
This logic has previously been part of NotifyQueuedTrackChanges. This
changeset moves the logic to its own method. This allows for finer testing of
the init attempt behaviour.

MozReview-Commit-ID: Der1iM9J8fr

--HG--
extra : rebase_source : bb47dd483d69349482a6d8882e9768b1a8d09480
2017-09-14 07:19:27 +12:00
Bryce Van Dyk fc034c8d9f Bug 1336367 - Significantly lower TrackEncoder timeout, make best effort init audio encoder on timeout. r=pehrsons
MozReview-Commit-ID: 2J5DPfkulIF

--HG--
extra : rebase_source : 06fffca2f1fb60971d204e0dfa773d1373eb0e89
2017-09-12 09:32:17 +12:00
Felipe Gomes ed68443c24 Bug 1399969 - Fix typo due to merge conflict in e10srollout. r=mrbkap
MozReview-Commit-ID: 2rJzk3riinb

--HG--
extra : rebase_source : 5c7110896eb633f27a3fc3770f714dabe91e648d
2017-09-14 17:51:16 -03:00
Andy McKay 43c09b0525 Bug 1395720 fix Error calls to have just one argument r=mossop
MozReview-Commit-ID: i603CDTrmO

--HG--
extra : rebase_source : f2618a8e8881710b9eae1b91102a6e5d73598e69
2017-09-14 15:48:22 -07:00
Servo VCS Sync 92eb546f04 No bug - Revendor rust dependencies 2017-09-14 22:42:42 +00:00
Matt Brubeck a927a3f53f servo: Merge #18466 - Bug 1398957 - Make LRUCache use a linked list to reduce memmoves (from mbrubeck:cache); r=SimonSapin
https://bugzilla.mozilla.org/show_bug.cgi?id=1398957

Source-Repo: https://github.com/servo/servo
Source-Revision: 49f753523ac0f062943923935ff6d1942554d2cc

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9291351e803a33f04c286b134a60b07c203dc694
2017-09-14 16:48:48 -05:00
Ed Lee e1093bc25f Bug 1399970 - Add Photon polish, PureComponents and bug fixes to Activity Stream. r=dmose
Also fix Bug 1399686 - `make package` broken on macOS after landing of bug 1399226

MozReview-Commit-ID: HVZ02HlV1b6

--HG--
extra : rebase_source : 4661571dacaaf10050be4fb859533d6d81a7529b
2017-09-14 15:08:05 -07:00
Fernando Jimenez Moreno 6d89c9d1f6 Bug 1384221 - stylo: error reporting lies about property names in some cases. r=jdm 2017-09-11 02:11:00 -04:00
Jonas Finnemann Jensen cabbd581af Bug 1393655 - Strip microsecond from run-task logs r=gps
* Strip microsecond from log prefixes generated
    by run-task.

MozReview-Commit-ID: 87kL6gs2LZS

--HG--
extra : rebase_source : dc038d4f915092f665401f1b205c15eb86272016
2017-08-24 17:56:15 -07:00
Sebastian Hengst 220e7cecae merge mozilla-central to autoland. r=merge a=merge 2017-09-15 00:01:52 +02:00
Sebastian Hengst 71720207e1 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JHeyFz4rx1v
2017-09-14 23:58:56 +02:00
Sebastian Hengst dfb0dfbb5e merge autoland to mozilla-inbound. r=merge a=merge
MozReview-Commit-ID: 1gVeCMsyp4B
2017-09-14 23:56:36 +02:00
Emilio Cobos Álvarez cc8a228ea1 servo: Merge #18502 - style: Unify how servo and Gecko handle UA sheets (from emilio:ua-sheets-unify); r=simonsapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 75e126f139197c447686242082d9e7f61ba92c3f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 849a1ec32e68ff28dea5a5db16c51424c790550e
2017-09-14 15:55:21 -05:00
ffxbld 2c9a5993ac No bug, Automated blocklist update from host bld-linux64-spot-306 - a=blocklist-update 2017-09-14 10:42:37 -07:00
ffxbld 60074a5f28 No bug, Automated HPKP preload list update from host bld-linux64-spot-306 - a=hpkp-update 2017-09-14 10:42:33 -07:00
ffxbld b549e15598 No bug, Automated HSTS preload list update from host bld-linux64-spot-306 - a=hsts-update 2017-09-14 10:42:30 -07:00
Ryan VanderMeulen 749fec75f0 Backed out changeset 4198b9d273b9 (bug 1399541) for causing bug 1399899. 2017-09-14 12:13:38 -04:00
Philippe Normand fb80b50e2e Bug 1399825 - Include nsXULAppAPI.h in nsThreadManager.cpp. r=Ms2ger
This ensures XRE_IsContentProcess() is defined, as it's used in this file.

MozReview-Commit-ID: GwBYcFBiUBK
2017-09-14 12:51:41 +01:00
Alex Chronopoulos fce9feacea Bug 1399905 - Update cubeb from upstream to 09a90a7. r=padenot
MozReview-Commit-ID: JoZj8q2nQPb
2017-09-14 18:35:15 +03:00
Michael Layzell 3cb7b23c33 Bug 1391126 - Guard use of shared-libraries.h in HangStack.cpp behind MOZ_GECKO_PROFILER, r=froydnj 2017-09-14 11:00:06 -04:00
Ted Campbell 9b5f5a54bb Bug 1398601 - Fix wunused-variable errors when MOZ_DIAGNOSTIC_ASSERT isn't available. a=RyanVM
MozReview-Commit-ID: 1kvKcQBqog9
2017-09-14 06:35:00 -04:00
Andy McKay 6815156468 Bug 1350277 - Remove duplicates when showing host permissons. r=aswan
MozReview-Commit-ID: 2GzUwFHuEe6

--HG--
extra : transplant_source : %84%C1%3Am%FCF%A1%23o%0EW%9C%7E%F2%F7%DF%2CM%AE%A1
2017-09-13 13:41:21 -07:00
Ed Lee e3156bf606 Bug 1399648 - Get browser_aboutHome.js passing on both about:homes with activity stream or not. r=ursula
MozReview-Commit-ID: GtzmDbmSUjH

--HG--
extra : rebase_source : b62d939e325a1aa4d5d34e2501be39b2f0959357
2017-09-13 13:10:23 -07:00
Ryan VanderMeulen 930d063386 Backed out changeset 754d3df0517d (bug 1378153) 2017-09-14 17:22:17 -04:00
Markus Stange c067e172e8 Bug 1387594 - Sprinkle -moz-font-smoothing-background-color declarations over the CSS. r=dao
There's only one interesting case here: the active tab. When rendering the label
of an overflowing active tab into the fadeout mask surface, text rendering must
not use the font smoothing background color for dark vibrancy. Instead, it needs
to use the color of the tab itself for best results.
Alternatively, we could set the font smoothing background color of the active
tab to "transparent", because this text is not on top of a vibrant background.
However, doing so would lose the subpixel AA and would not look as crisp.

MozReview-Commit-ID: 28MKCz1vmb9
2017-09-14 23:09:49 +02:00
Markus Stange 0704012f36 Bug 1387594 - Add system colors for use in conjunction with -moz-font-smoothing-background-color and vibrant -moz-appearances. r=dbaron
MozReview-Commit-ID: IxXZwONxy41
2017-09-14 23:09:48 +02:00
Markus Stange c0139d2740 Bug 1387594 - Respect the font smoothing background color in pushed layers again. This backs out bug 1386643. r=jrmuizel
MozReview-Commit-ID: KNsd7tKuRk1
2017-09-14 23:09:48 +02:00
Markus Stange ae927d3f44 Bug 1387594 - Set the font smoothing background color based on the -moz-font-smoothing-background-color property. r=mattwoodrow
MozReview-Commit-ID: B3PVIvMswf8
2017-09-14 23:09:47 +02:00
Markus Stange b5fdbfc62c Bug 1387594 - Stop getting the font smoothing background color from the theme. r=mattwoodrow
MozReview-Commit-ID: 2r1B8SvEkEl
2017-09-14 23:09:47 +02:00
Markus Stange 2e951f24c1 Bug 1387594 - Add a chrome-only CSS property called -moz-font-smoothing-background-color. r=dbaron
This property accepts a color. It's inherited and defaults to transparent.
Its value is respected on macOS when rendering text into transparent pixels.
This property should be used for text that is placed on top of "vibrant"
-moz-appearances, in order to achieve high quality text rendering for such text.

In most cases, the property should be set to a named system color; an upcoming
patch in this patch series will add one such color for each vibrant
-moz-appearance value.
However, in some cases it can also be useful to use a custom color: If text
is rendered into an intermediate surface, for example because a mask is applied
to it, and the background color behind that intermediate surface is known, then
this property can be set to that background color in order to achieve subpixel
AA for the text inside the mask effect. In that case, the font smoothing
background color is respected because text is rendered into transparent pixels
*inside the intermediate surface*. At the moment, the only example of that use
case is the text of the active tab in the state where the text is overflowing.

MozReview-Commit-ID: D98qQnxoFaq
2017-09-14 23:09:46 +02:00