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

572342 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey 2b959b7c6e Bug 1420355 - Don't link logalloc against the static runtime on Windows. r=njn
This was never strictly required (for instance, DMD doesn't do that),
and would make things harder with the subsequent changes.

--HG--
extra : rebase_source : 29ea08d41f54da7f99120f9fe9af4017f61d8a4b
2017-11-28 17:11:40 +09:00
James Teh e9098869dd Bug 1421478: Clarify comment in handlerDataCleanup.h. r=aklotz
MozReview-Commit-ID: EVzuqVMl7Ck

--HG--
extra : rebase_source : ebcad7cbc5ed49417ece2d9b220d52488ee28732
2017-11-29 10:18:01 +10:00
Jeremy Chen d4489c8a64 Bug 1421197 - use 64-bit for restyle generation counters to avoid overflow issues. r=heycam
It is expected to use 64-bit for all the restyle generation counters, since the
getter methods all return uint64_t type at present. However, we're using uint32_t
for the actual counter variables, which means the potential overflow issue is not
avoided.

In this patch, we use 64-bit for the restyle generation counters, so the overflow
issue can be avoided as expected.

MozReview-Commit-ID: 2y2afIcuwvc

--HG--
extra : rebase_source : 3fe64d7d3fc00fa1031eef9f0c15b64405435dfd
2017-11-28 17:42:22 +08:00
Mark Hammond 4b66d38dd6 Bug 1420810 - record why we are syncing for most syncs initiated by the scheduler. r=eoger
MozReview-Commit-ID: 1ntqG5yQi7q

--HG--
extra : rebase_source : 73b479ac7e602f5f491f63939a4425af17d6ce25
2017-11-27 17:32:05 +11:00
Csoregi Natalia 4ce8d0124c Backed out 7 changesets (bug 1420355) for mass failures on OS X and Android. r=backout on a CLOSED TREE
Backed out changeset a7ed89e13a4c (bug 1420355)
Backed out changeset fd6702e6e0a0 (bug 1420355)
Backed out changeset 0479dda078a2 (bug 1420355)
Backed out changeset e69357ccca9e (bug 1420355)
Backed out changeset 3742a4b69ba2 (bug 1420355)
Backed out changeset 451cd087922f (bug 1420355)
Backed out changeset d80b5c4e1dd0 (bug 1420355)
2017-11-29 03:08:46 +02:00
Mike Hommey 7c62087a43 Bug 1420355 - Statically link DMD. r=njn
--HG--
extra : rebase_source : 46800c9c0c5006a5a32f11abc209da27e65ae0f5
2017-11-28 08:10:48 +09:00
Mike Hommey d60e80991e Bug 1420355 - Allow to statically link replace-malloc libraries. r=njn
And statically link logalloc.

Statically linking is the default, except when building with
--enable-project=memory, allowing to use the generated libraries from
such builds with Firefox.

--HG--
extra : rebase_source : efe9edce8db6a6264703e0105c2192edc5ca8415
2017-11-23 17:24:19 +09:00
Mike Hommey 0a3b6c9813 Bug 1420355 - Don't initialize DMD if the DMD environment variable is not given. r=njn
This makes things slightly more inconvenient (having to set two
environment variables instead of one for the simplest case) until a few
patches down the line, when DMD is statically linked, at which point it
will get down to one environment variable every time.

--HG--
extra : rebase_source : 08dc3c05318b572ae1026227d0369fa8bf21b20f
2017-11-28 08:10:07 +09:00
Mike Hommey e38859b199 Bug 1420355 - Don't initialize logalloc if MALLOC_LOG is not given. r=njn
Now that replace_init can opt-out of registering the replace-malloc
functions, don't do so when MALLOC_LOG was not set in the environment.

While one would normally set MALLOC_LOG alongside one of the environment
variable necessary to load the replace-malloc library, we're also going,
in a subsequent change, to allow statically linking replace-malloc
libraries, taking full advantage of this change.

--HG--
extra : rebase_source : 944a9d7af33f88f793ee0104bd5e58ec508e4f58
2017-11-23 13:54:16 +09:00
Mike Hommey 3e3dbe9627 Bug 1420355 - Remove fallbacks when DMD is initializing. r=njn
As of bug 1420353, DMD's replace_* functions can't be called before
replace_init places them in the malloc function table, which only
happens after DMD::Init has run, meaning DMD is always initialized
by the time any of its replace_* function can be called.

--HG--
extra : rebase_source : 96bf4d01b6fac5cbb4712f56c572791cc4972f77
2017-11-28 08:05:58 +09:00
Mike Hommey ef6af827be Bug 1420355 - Don't declare replace_* functions in replace_malloc.h. r=njn
The original purpose of those declarations was to avoid the function
definitions being wrong, as well as forcing them being exported
properly (as extern "C", as weak symbols when necessary, etc.), but:

- The implementations being C++, function overloads simply allowed
  functions with the same name to have a different signature.

- As of bug 1420353, the functions don't need to be exported anymore,
  nor do we care whether their symbols are mangled. Furthermore, they're
  now being assigned to function table fields, meaning there is type
  checking in place, now.

So all in all, these declarations can be removed.

Also, as further down the line we're going to statically link the
replace-malloc libraries, avoid symbol conflicts by making those
functions static.

--HG--
extra : rebase_source : 0dbb15f2c85bc873e7eb662b8d757f99b0732270
2017-11-28 07:18:15 +09:00
Mike Hommey 8771ae803b Bug 1420355 - Don't link logalloc against the static runtime on Windows. r=njn
This was never strictly required (for instance, DMD doesn't do that),
and would make things harder with the subsequent changes.

--HG--
extra : rebase_source : 29ea08d41f54da7f99120f9fe9af4017f61d8a4b
2017-11-28 17:11:40 +09:00
Mark Hammond 39bf8149a6 Bug 1416788 - limit number of visits we pass to PlacesUtils.history.insertMany to prevent shutdown hangs. r=kitcambridge
MozReview-Commit-ID: AU9AMUAD1Rw

--HG--
extra : rebase_source : 205ec0f17f94bd399f4663e552bd75e7b63f7da5
2017-11-23 16:18:55 +11:00
Thom Chiovoloni dc2fe37c66 Bug 1421452 - Fix deprecation warning in test_bookmark_engine by passing an osfile path instead of nsifile. r=markh
MozReview-Commit-ID: 4XrzA0kUXzE

--HG--
extra : rebase_source : bed7a594b854969dd1932449f43ade4dc068ffeb
2017-11-28 17:35:51 -05:00
James Teh 2cb46a14be Bug 1418448 part 3: Accessible Handler/Provider: Unify release of interfaces in StaticIA2Data. r=aklotz
Both Provider and Handler need to release the interfaces in StaticIA2Data.
Therefore, move this into a common function to avoid duplication pain in future.

MozReview-Commit-ID: 7J4iuvDa8m2

--HG--
extra : rebase_source : 98c97b51c27c318ba987787518cfd70bda8967d4
2017-11-24 15:10:41 +10:00
James Teh f7fcce5742 Bug 1418448 part 2: AccessibleHandler: Clean up DynamicIA2Data. r=aklotz
We need to clean up the VARIANT and BSTRs in DynamicIA2Data in the handler as well.
We do this in two places:
1. Before reading a new payload (because we need to clean up the existing payload); and
2. When we're being destroyed.

MozReview-Commit-ID: GvO7csuxtwZ

--HG--
extra : rebase_source : 92cc9a64deddee07bbbc77e53117c15351816778
2017-11-24 15:14:04 +10:00
James Teh f81d8d0130 Bug 1418448 part 1: Accessible HandlerProvider: Clean up DynamicIA2Data correctly. r=aklotz
DynamicIA2Data contains several BSTRs that need to be freed with SysFreeString.
Previously, we just did a ZeroMemory without actually freeing them.
This cleanup code is placed in a header file so it can be used by AccessibleHandler as well.

MozReview-Commit-ID: 4SWuK9oMRYZ

--HG--
extra : rebase_source : e7358752e7eee1bae000e4005832bfc48c9342af
2017-11-24 15:12:37 +10:00
Anthony Ramine 721e87b91d servo: Merge #19402 - Update gecko-media and clap (from servo:bumps); r=emilio
This removes moz-cheddar and thus syntex from Servo's dependencies.

Source-Repo: https://github.com/servo/servo
Source-Revision: 077d74795a2f0b06f9a65d8062676cec35481fc1

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 879f2cb568bbb94b45bb96a6bd51fa89400c25be
2017-11-28 16:10:17 -06:00
Xidorn Quan 783034684d Bug 1412145 - Drop more backpointers of CSSOM objects in dtor and unlink. r=bz
MozReview-Commit-ID: Ftg3WMBBNlO

--HG--
extra : rebase_source : 65834280c2ae9736861096172ca3f1d4e789c7a4
extra : source : ecbc4f545e09e969b8212e77d013a6b46b983763
2017-11-28 17:06:51 -06:00
Gijs Kruitbosch 5fb33f411d Bug 1420395 - deal with IDN domains without protocols correctly in nsIURIFixup, r=valentin
MozReview-Commit-ID: DZYnxExcqdp

--HG--
extra : rebase_source : 08b4cb23db26a09a3f6fbe8fd7ea79c4191b293e
2017-11-28 14:28:58 +00:00
Nicholas Nethercote 73b9138844 Bug 1394578 - Add PrefHashEntry::ValueMatches(). r=glandium
This factors out some common code from SetValue(), making it easier to read.
The patch also improves the comments in SetValue().

MozReview-Commit-ID: 60JnBlIS1q6

--HG--
extra : rebase_source : cc0e47eb556ab87549137777625856db12782702
2017-11-22 09:53:23 +11:00
Csoregi Natalia d2b537c2ff Backed out 3 changesets (bug 1419591, bug 1419589) for failing Chrome tests on Linux Debug toolkit/content/tests/chrome/test_bug437844.xul. r=backout on a CLOSED TREE
Backed out changeset 213e5dc04b90 (bug 1419589)
Backed out changeset 47b38ef21292 (bug 1419591)
Backed out changeset bcc1d13d74ac (bug 1419591)

--HG--
extra : rebase_source : cdd3e942b9a67f9ee1372170d13f594b35950273
2017-11-29 04:46:28 +02:00
David Anderson ce6acee07d Add high-res tiling support to Advanced Layers. (bug 1420674 part 5, r=mattwoodrow) 2017-11-28 18:34:59 -08:00
David Anderson 6bfb90d614 Override PaintedLayerMLGPU::AssignToView in preparation for supporting TiledContentHost. (bug 1420674 part 4, r=mattwoodrow) 2017-11-28 18:34:59 -08:00
David Anderson 49c3410c44 Use TextureSourceProvider instead of Compositor in TiledContentHost. (bug 1420674 part 3, r=mattwoodrow) 2017-11-28 18:34:58 -08:00
David Anderson cf981e7ff0 Fix ComponentAlphaPass for painted layers with multiple textures. (bug 1420674 part 2, r=rhunt). 2017-11-28 18:34:58 -08:00
David Anderson af51bf9ed7 Don't hardcode ContentHostTexture in PaintedLayerMLGPU. (bug 1420674 part 1, r=rhunt) 2017-11-28 18:34:58 -08:00
Jeff Gilbert 6c3abcde6a Bug 1390386 - Use uintptr for the thread-local. - r=daoshengmu
We're just doing a value comparison, so there's no reason this needs to be a pointer.

MozReview-Commit-ID: 6ck2s2fsdq5
2017-11-28 17:13:45 -08:00
Jeff Gilbert 4ff360b4cd Bug 1390386 - Allow null EGLSurfaces. - r=daoshengmu
MozReview-Commit-ID: 4dnmJ9H3RGJ
2017-11-28 17:13:35 -08:00
Jeff Gilbert fc61254cca Bug 1390386 - fGetError should use BEFORE_GL_CALL. - r=jrmuizel
MozReview-Commit-ID: B8sR38Bzjb5
2017-11-28 17:13:26 -08:00
Jeff Gilbert ea479cbf60 Bug 1390386 - Remove duplicate IsCurrent checks in MakeCurrentImpls. - r=jrmuizel
MozReview-Commit-ID: LZeLbciWnic
2017-11-28 17:13:17 -08:00
Jeff Gilbert fbf8b4797b Bug 1390386 - IsCurrent should understand mImplicitMakeCurrent. - r=jrmuizel
MozReview-Commit-ID: 7vMRUPMc3nN
2017-11-28 17:13:07 -08:00
Jeff Gilbert 2bc1cf06c1 Bug 1390386 - Remove old TLS current-context check. - r=daoshengmu
MozReview-Commit-ID: 18GSNztjkTM
2017-11-28 17:12:58 -08:00
Jeff Gilbert 41f0a05667 Bug 1390386 - Add GLContext::mImplicitMakeCurrent. - r=jrmuizel
MozReview-Commit-ID: 5iyGHNzoCpd
2017-11-28 17:12:48 -08:00
Jeff Gilbert 9c2ba78435 Bug 1390386 - Make MakeCurrent const. - r=daoshengmu
MozReview-Commit-ID: 3m3T6iMgZOc
2017-11-28 17:12:39 -08:00
Tiberius Oros 18ea9ecad9 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE
--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-618078-network-exceptions.html => devtools/client/webconsole/new-console-output/test/mochitest/test-network-exceptions.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1092055_shouldwarn.html => devtools/client/webconsole/new-console-output/test/mochitest/test-subresource-security-error.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1092055_shouldwarn.js => devtools/client/webconsole/new-console-output/test/mochitest/test-subresource-security-error.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1092055_shouldwarn.js^headers^ => devtools/client/webconsole/new-console-output/test/mochitest/test-subresource-security-error.js^headers^
extra : rebase_source : e126b0ab427161de0acd67cdfb9a1434415412dc
2017-11-29 02:25:59 +02:00
André Bargull 18a804475d Bug 1415827 - Import two ICU patches from upstream. r=Waldo 2017-11-20 02:53:24 -08:00
sotaro 78b2129696 Bug 1416533 - Skip to generate frame if there is no update r=nical,kats 2017-11-30 21:38:47 +09:00
sotaro 5988aed34a Bug 1421939 - Fix RenderDXGIYCbCrTextureHostOGL::GetSize() r=nical 2017-11-30 21:30:35 +09:00
Jeff Muizelaar f303d56ec5 Bug 1406507 - Use an ipc::ByteBuf instead of ByteBuffer to send the DisplayList instead of a ByteBuffer. r=kats
DONTBUILD because this is a backout/reland to make sure the code is associated
with the right bug.

MozReview-Commit-ID: GPQABR9ONld
2017-11-30 07:16:21 -05:00
Kartikaya Gupta 29e86552c5 Bug 1379680 - Revert changes that were accidentally landed as part the wrong bug. r=me
MozReview-Commit-ID: HUreLLz3uKI
2017-11-30 07:12:18 -05:00
Marco Castelluccio 4260f69d5d Bug 1418283 - Increase individual web-platform test timeout on coverage builds. r=jgraham
--HG--
extra : rebase_source : c072c2b9329b1f7b443b3c91b0b1ee4defaa8202
2017-11-29 23:50:36 +00:00
Margareta Eliza Balazs 8f1ff0908b Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-30 12:56:57 +02:00
Olli Pettay af3373dc1d Bug 1418002 - Remove HTMLContentElement, r=jessica 2017-11-30 10:57:15 +02:00
Olli Pettay a75b955405 Bug 1421607 - Do black marking of bfcache documents during GC, r=mystor
--HG--
extra : rebase_source : 395dddb461c065b780aeead12150c0feff550d5d
2017-11-30 01:24:46 +02:00
Andrea Marchesini 4ce4e2950f Bug 1421772 - Updating comments for nsInputStreamPump::OnStateStop, r=valentin
This patch removes also the assertion that makes OnStateStop to be executed on
main-thread only.
2017-11-30 09:28:13 +01:00
Jeff Muizelaar 524b31d2ff Bug 1421860. Remove unused gfxContext::SetSource.
This removes some state from AzureState which will
make gfxContext creation and save()/restore() cheaper
2017-11-29 23:51:52 -05:00
Marco Castelluccio cb53260706 Bug 1418255 - Disable Moz2D.JobScheduler_Shutdown GTest in Windows coverage builds. r=jrmuizel
--HG--
extra : rebase_source : 0fc0c8bccd02a028093578f21dd5c8ab0e10f35e
2017-11-18 00:35:59 +01:00
Kai Engert 1ab99b4295 Bug 1420407, land NSPR 4.18 beta2 (r=me) and remove local NSPR patch that's no longer necessary (r=dragana)
UPGRADE_NSPR_RELEASE
2017-11-29 15:53:43 +01:00
Tim Taubert c5eda6e272 Bug 1406462 - Web Authentication - Add support for authenticator selection criteria and attachment types r=jcj,smaug
Reviewers: jcj, smaug

Reviewed By: jcj, smaug

Bug #: 1406462

Differential Revision: https://phabricator.services.mozilla.com/D278
2017-11-29 13:58:33 +01:00