Commit Graph

570067 Commits

Author SHA1 Message Date
Botond Ballo
b968be1ddd Bug 1416754 - Reftest. r=longsonr
MozReview-Commit-ID: Kd0umDQxYsH

--HG--
extra : rebase_source : 60fe483c9d650ba3dc0eddddb46f302c24ded37a
2017-11-17 15:19:34 -05:00
Botond Ballo
6adc2e4d1d Bug 1416754 - Account for a clip-path's transform in nsSVGUtils::GetBBox(). r=longsonr
MozReview-Commit-ID: 87RpVYk0nm0

--HG--
extra : rebase_source : 95bc906f923de229f6af63473f263e07d81e60ff
2017-11-15 17:33:41 -05:00
Mike Hommey
b20067214e Bug 1418123 - Apply junk on huge and large reallocations. r=njn
Zero and junk should have the same scope, but currently huge and large
reallocs are zeroed when zeroing is enabled, but are not junked when
junking is enabled. This makes things straight, leaning on the side of
filling the added bytes, rather than not.

This has an actual effect on debug builds, where junk is enabled by
default.

--HG--
extra : rebase_source : f409cae7ea720f69239d896d155b653efc648feb
2017-11-16 16:34:31 +09:00
Mike Hommey
a6bafc7783 Bug 1418123 - Factor out the zero/junk logic. r=njn
--HG--
extra : rebase_source : fe8f184e072982b1995b4059f799a0b6c22af668
2017-11-10 16:59:21 +09:00
Aaron Klotz
1476d2ed85 Bug 1406827: Do not wrap an interface with a passthru proxy unless sandboxing is enabled and >= level 3; r=jimm
MozReview-Commit-ID: Gi1ch0IQtPj
2017-11-03 16:50:17 -06:00
André Bargull
77cc8b33d4 Bug 1418237 - Delete unused SyntaxParseHandler::singleBindingFromDeclaration(). r=arai
--HG--
extra : rebase_source : b3c468d70556ff0ed32e19b8959d1931b01e3169
extra : histedit_source : 5227aa673a5de4e03aaa0ce9c7cab5ce1110f6b2
2017-11-17 06:59:32 -08:00
André Bargull
f4de88858a Bug 1418235 - Simplify tracking of parenthesized names in SyntaxParseHandler. r=arai
--HG--
extra : rebase_source : 7154d041e14f24fb5894d2b255e7cb77432505d4
extra : histedit_source : 23250bc47ae3dce24339c5f05b4c1a69f2d3d08b
2017-11-17 06:19:59 -08:00
Sebastian Hengst
045ffa33ce Backed out changeset e3ce81bc209b (bug 1409721) 2017-11-17 17:56:18 +02:00
Sebastian Hengst
43e7c5f4ed Backed out changeset 5ee033a3c356 (bug 1409721) 2017-11-17 17:56:16 +02:00
Sebastian Hengst
906975871b Backed out changeset baa2f0ec9b1d (bug 1409721) 2017-11-17 17:56:14 +02:00
Sebastian Hengst
5893f9f792 Backed out changeset 0e485a8fdc3f (bug 1409721) 2017-11-17 17:56:11 +02:00
Sebastian Hengst
8f1cac6216 Backed out changeset d91108089272 (bug 1407374) 2017-11-17 17:56:09 +02:00
Junior Hsu
f5ad53fef0 Bug 1416985 - Fix the telemetry for using legacy cookies.txt, r=jdm 2017-11-16 19:24:00 +02:00
Dylan Roeh
aa335d6514 Bug 1370915 - Reorganize compatibility checks in BrowserApp and GeckoApp to avoid attempting to load mozglue on unsupported hardware. r=jchen 2017-11-17 08:51:39 -06:00
Marco Castelluccio
09426b3bf3 Bug 1418253 - Use correct awsy config on Windows coverage builds. r=jmaher
--HG--
extra : rebase_source : 6fd65bd0600a8cf26d6596d4cb47997596643432
2017-11-17 10:44:31 +01:00
Nicolas B. Pierron
53b6774498 Bug 1416794 - InliningDecision_Error is always reported with a pending exception, use AbortReason_Error instead of _Alloc. r=jandem 2017-11-17 13:21:08 +00:00
Ted Mielczarek
d8ca891199 bug 1407374 - move hunspell dictionary copying to LOCALIZED_FILES in moz.build. r=nalexander
MozReview-Commit-ID: 833pqKcr4T9

--HG--
extra : rebase_source : 2cbddc7b759d0f433b2a9175cbec742761e9bfb9
2017-11-13 15:45:12 -05:00
Ted Mielczarek
39a3cc18ee bug 1409721 - move crashreporter.ini and crashreporter-override.ini to moz.build LOCALIZED_FILES. r=nalexander
The additional `ifndef IS_LANGPACK` Makefile bits turned out to be unnecessary,
as langpack packaging excludes ini files:
https://dxr.mozilla.org/mozilla-central/rev/20d57b9c4183973af4af5e078dff2aec0b74f928/toolkit/locales/l10n.mk#220

We already don't have this wrapping around updater.ini so it doesn't seem
harmful.

MozReview-Commit-ID: 7kmg1AIVLcl

--HG--
extra : rebase_source : 91e6a3df1d0ddc9da360efd51b0de3d4d5eba5ae
2017-11-13 15:58:09 -05:00
Ted Mielczarek
01256960d9 bug 1409721 - move firefox-l10n.js to moz.build. r=nalexander
This is a fairly straightforward application of LOCALIZED_PP_FILES.

The extra layer of PREF_DIR can be removed because all of browser
has DIST_SUBDIR set due to it being exported in browser/moz.build, and
that means that PREF_DIR is always defaults/preferences here:
https://dxr.mozilla.org/mozilla-central/rev/f41930a869a84af81df1a88d8e82323ff3a6509a/config/rules.mk#1205

Additionally, it turns out that PREF_PPFLAGS is not set anywhere in the tree,
so I simply left it out of the translation.

MozReview-Commit-ID: 874EeTZRdLI

--HG--
extra : rebase_source : 0e585c9bd682c73b1da906d8b979cdedc05863a3
2017-11-09 15:34:21 -08:00
Ted Mielczarek
4b151d4231 bug 1409721 - wire up support for LOCALIZED[_PP]_FILES in the recursive make backend. r=nalexander
This commit adds support for handling LOCALIZED_FILES and LOCALIZED_PP_FILES
in the recursive make backend. They get special handling because they have
a few special needs:
* They run during the libs tier, so that repacks work.
* The filenames cannot be determined at build-backend generation time,
  since repacks run configure once and then repack multiple locales using
  the generated backend files, so they are written with to be expanded with
  MERGE_FILE by make so that the file gets picked up from the proper locale dir.

Other build backends that aren't trying to handle localized builds will
silently handle these like FINAL_TARGET_FILES, which is fine until we revamp
our l10n repack story.

MozReview-Commit-ID: 2LZhPZNhQ4S

--HG--
extra : rebase_source : d0087ed10a79e94f8ecb06325e425b8bebe659d5
2017-11-09 15:22:42 -08:00
Ted Mielczarek
e8ccc43406 bug 1409721 - add LOCALIZED_FILES and LOCALIZED_PP_FILES to moz.build sandbox. r=nalexander
This commit adds new moz.build sandbox symbols that are intended to be used
for localized files: LOCALIZED_FILES and LOCALIZED_PP_FILES. They are currently
just do-nothing subclasses of FinalTarget[Preprocessor]Files, but the next
change in this series will add support for them to the recursive make backend.

Because they subclass FinalTarget[Preprocessor]Files, build backends that are
not concerned about localized builds should be able to handle them as if
they were FINAL_TARGET[_PP]_FILES without any additional code.

MozReview-Commit-ID: K0baBZ0F7av

--HG--
extra : rebase_source : 4fc3bdfcfb25142aaac873076edb92cb78032a7a
2017-11-09 14:01:48 -08:00
JerryShih
11cc44fa89 Bug 1416868 - make sure we could always get the specific userData from mask layer. r=mattwoodrow
The gecko have two types of mask layer: css mask layer and the regular mask layer.
The hash key of ContainerState::mRecycledMaskImageLayers doesn't contain mask type.
So, we might get a css mask layer when we try to get a regular mask layer. Then, we
will get a nullptr of userData.
This patch add a userData checking in ContainerState::CreateOrRecycleMaskImageLayerFor()
to avoid the problem.

MozReview-Commit-ID: EEUhkctqwR2
2017-11-16 19:15:00 +02:00
Junior Hsu
414c3e5987 Bug 1415120 - Part2: crash test for cookie db rebuild, r=nwgh
--HG--
extra : rebase_source : 72c160028d5f718166161a9d05948e00b9939476
2017-11-15 20:04:00 +02:00
Junior Hsu
2976cce51f Bug 1415120 - Part1: no db access while rebuilding, r=nwgh
--HG--
extra : rebase_source : eae928de8e7c4f827f516dc1fb737ef2b544bbc5
2017-11-15 20:03:00 +02:00
Andrew Osmond
d9067a16fe Bug 1368776 - Part 17. Fix how we could reuse an incorrect image container instead of creating a new one. r=me 2017-11-17 07:54:50 -05:00
André Bargull
027f71e3dd Bug 1418026: Remove unused code from js/src/frontend. r=jandem 2017-11-16 11:17:04 -08:00
Andrew Osmond
5418665096 Bug 1368776 - Part 16. Ensure we more consistently pass the suggested size from SurfaceCache::LookupBestMatch. r=tnikkel
The suggested size is useful in more situations now that
GetImageContainerImpl requires it. It should be passed whenever we have
it available.
2017-11-17 06:45:28 -05:00
Andrew Osmond
0cfb7cd99e Bug 1368776 - Part 15. Cache flags passed to ImageResource::GetImageContainerImpl for consistency. r=tnikkel
When FLAG_HIGH_QUALITY_SCALING is used, we need to make sure we continue
using that flag when we update the container. We should also use it for
comparing whether or not an existing image container is equivalent.
2017-11-17 06:45:28 -05:00
Andrew Osmond
addb00a059 Bug 1368776 - Part 14. Make ImageResource::GetImageContainerImpl handle differing suggested sizes. r=tnikkel 2017-11-17 06:45:27 -05:00
Andrew Osmond
a1d47a973a Bug 1368776 - Part 13. Make ImageResource::GetFrameInternal also return the suggested size for the lookup. r=tnikkel 2017-11-17 06:45:27 -05:00
Andrew Osmond
2463bc3782 Bug 1368776 - Part 12. Add gtests for RasterImage::GetImageContainerAtSize. r=tnikkel 2017-11-17 06:45:27 -05:00
Andrew Osmond
8fa46b5099 Bug 1368776 - Part 11. Add ImageResource::GetImageContainerSize to determine the appropriate size for a requested container. r=tnikkel 2017-11-17 06:45:26 -05:00
Andrew Osmond
a594e125e0 Bug 1368776 - Part 10. Implement RasterImage::IsImageContainerAvailableAtSize and GetImageContainerAtSize. r=tnikkel 2017-11-17 06:45:26 -05:00
Andrew Osmond
d6a6987766 Bug 1368776 - Part 9. Expose getting an image container at a given size. r=tnikkel
This adds IsImageContainerAvailableAtSize and GetImageContainerAtSize to
the imgIContainer interface, as well as stubbing it for all of the
classes which implement it. The real implementations will follow for the
more complicated classes (RasterImage, VectorImage).
2017-11-17 06:45:26 -05:00
Andrew Osmond
5f57793c54 Bug 1368776 - Part 8. Fix ImageResource::GetImageContainerImpl assert to allow high quality scaling. r=tnikkel 2017-11-17 06:45:26 -05:00
Andrew Osmond
a01ef792f6 Bug 1368776 - Part 7. Remove size parameter from ImageResource::UpdateImageContainer. r=tnikkel 2017-11-17 06:45:25 -05:00
Andrew Osmond
634060f444 Bug 1368776 - Part 6. Add support for multiple differently-sized image containers for downscale-on-decode. r=tnikkel
Exposure of this functionality comes in a later patch in the set.
Experimental testing with WebRender and image layers enabled suggests
most of the time we are not using more than one image container per
image, hence why mImageContainers has room for one container without a
malloc.
2017-11-17 06:45:25 -05:00
Andrew Osmond
53cb3aad32 Bug 1368776 - Part 5. Refactor ImageResource::GetCurrentImage to reduce code duplication. r=tnikkel 2017-11-17 06:45:25 -05:00
Andrew Osmond
8dcbfe2c0b Bug 1368776 - Part 4. Handle all potential DrawResult values to make Image::GetImageContainerImpl more generic. r=tnikkel
RasterImage::GetCurrentImage can only return a subset of the DrawResult
values, and the original RasterImage::GetImageContainer implementation
relied upon this behavior. Now we handle them all to ensure that when
other image implementations reuse it, they may return any valid
DrawResult and get the expected results.
2017-11-17 06:45:25 -05:00
Andrew Osmond
0b4ae23fa1 Bug 1368776 - Part 3. Move RasterImage::GetCurrentImage to ImageResource. r=tnikkel
As part of the move, we add a IntSize parameter to
ImageResource::GetCurrentImage. This is because we don't have access to
the image's size (yet) from ImageResource, but additionally because we
will need this anyways when we support multiple image containers at
different sizes.
2017-11-17 06:45:24 -05:00
Andrew Osmond
6367b2724a Bug 1368776 - Part 2. Move RasterImage::GetImageContainer and UpdateImageContainer implementations to ImageResource. r=tnikkel
The only change to the moved implementation is that we no longer have
access to RasterImage::mHasSize and RasterImage::mSize. Thus we rely
upon imgIContainer::IsImageContainerAvailable to perform these checks.
2017-11-17 06:45:24 -05:00
Andrew Osmond
b43a2010d4 Bug 1368776 - Part 1. Move RasterImage's ImageContainer state to ImageResource. r=tnikkel
This state will eventually be used by VectorImage when it supports image
containers. For now, it is harmless beyond using slightly more memory
for SVGs.
2017-11-17 06:45:23 -05:00
Andrew Osmond
37395798ee Bug 1368776 - Part 0. Move RasterImage's NotifyDrawingObservers to ImageResource. r=tnikkel 2017-11-17 06:45:23 -05:00
Tim Taubert
e3b5379696 Bug 1418242 - [u2f-hid-rs] Let stubs fail, instead of running until cancellation r=jcj
1b1d79e653
2017-11-16 21:22:04 +01:00
Jan de Mooij
3a57a1a466 Bug 1417844 part 5 - Stop passing -v 170 to xpcshell. r=jmaher 2017-11-17 12:14:04 +01:00
Jan de Mooij
793d5faa99 Bug 1417844 part 4 - Remove more JSVersion code. r=evilpie 2017-11-17 12:13:42 +01:00
Jan de Mooij
2e7986aee1 Bug 1417844 part 3 - Remove JSVersion from subscript cache path. r=kmag 2017-11-17 12:13:15 +01:00
Jan de Mooij
7f30bf48a7 Bug 1417844 part 2 - Remove JSVersion from CompileOptions, CompartmentBehaviors, scripts. r=evilpie 2017-11-17 12:12:39 +01:00
Jan de Mooij
98d0642163 Bug 1417844 part 1 - Remove JSVersion related code from jit-tests and jsreftests. r=anba 2017-11-17 12:12:05 +01:00
Florian Quèze
db57a79267 Bug 1405670 - remove tests for search-metadata.json migration, r=adw. 2017-11-17 12:06:06 +01:00