Commit Graph

570196 Commits

Author SHA1 Message Date
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
Florian Quèze
d622df7dce Bug 1405670 - fix search service tests relying on dropping .xml files in the profile folder, r=adw. 2017-11-17 12:05:47 +01:00
Florian Quèze
b44b6a963a Bug 1405670 - remove support for NS_APP_SEARCH_DIR_LIST and NS_APP_SEARCH_DIR from the directory service, r=adw. 2017-11-17 12:05:20 +01:00
Florian Quèze
97356e430c Bug 1405670 - stop importing old search metadata from search-metadata.json, r=adw. 2017-11-17 12:04:44 +01:00
Florian Quèze
229e50d560 Bug 1405670 - stop saving the last modification date of directories we loaded engines from, r=adw. 2017-11-17 12:04:27 +01:00
Florian Quèze
47b9babf07 Bug 1405670 - stop importing old search plugins from <profile>/searchplugins/*.xml when the cache file is missing, r=adw. 2017-11-17 12:03:52 +01:00
Benjamin Bouvier
2c71210b54 Bug 1417555: Fix a rebasing error; r=me
MozReview-Commit-ID: BmFj7rU7Sxd

--HG--
extra : rebase_source : 9de285f15551261ccd990ec4352e20836a5b910f
2017-11-17 11:57:16 +01:00
Jonathan Kew
e264fbefb1 Bug 1416795 - Implement synthetic-oblique font rendering by applying a transform at gfxFont::Draw time, rather than setting it on the cairo font matrix. r=jrmuizel 2017-11-17 10:54:21 +00:00
Jonathan Kew
35d7befd30 Bug 1416762 - Avoid using the LastResort font on macOS for glyph fallback -- prefer to draw hexboxes for unsupported characters. r=jrmuizel 2017-11-17 10:54:19 +00:00
Benjamin Bouvier
f1a832bd0b Bug 1417555: Fuse the script load and jit code load into one masm instruction; r=jandem
MozReview-Commit-ID: 4hyHyjHpu2B

--HG--
extra : rebase_source : 3dbf3a6a44c63d092f8c679fb0fef3c7e498c9d6
extra : histedit_source : 620fdc32897f676650e37218ff43e132ec54baf8
2017-11-15 17:11:54 +01:00
Benjamin Bouvier
09eaa31001 Bug 1417555: Rejigger how native/script are stored in JSFunction and update callers; r=jandem
MozReview-Commit-ID: JdNwPLTvsTt

--HG--
extra : rebase_source : 36a66b08f78d8a3fa60ee264abd8fc0033b6da81
extra : histedit_source : 15da64862811a0dd252743c693c8cee9453b3174
2017-11-15 16:28:56 +01:00
Benjamin Bouvier
3f95c09fd2 Bug 1417555: Use more descriptive names in the JSFunction union; r=jandem
MozReview-Commit-ID: FWW43cMAbnv

--HG--
extra : rebase_source : a4ec32b69bbb0c627459253a6b1a370a5c6640d4
extra : histedit_source : 5435152c5900a8f6c059387e30fab3625b40ba21
2017-11-15 15:51:59 +01:00
Benjamin Bouvier
1b49087f99 Bug 1417555: Random cleanups; r=jandem
MozReview-Commit-ID: IUib7BfNWEN

--HG--
extra : rebase_source : 6ac03ec53156fd3446ee032ca8533e7621bbd3d8
extra : histedit_source : 85c359dca98f83a872ea26ae5b8eeba7a5edbfb4
2017-11-15 15:27:23 +01:00