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

571559 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey 1e631092c5 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 7c59f18de8 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 8b50bbe85b 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 449973411b 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 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
Byron Campen [:bwc] 76dc15b465 Bug 1290948 - Part 12: Disable most of the webrtc web-platform-tests until bug 1418367 is fixed. r+jib r=jib
MozReview-Commit-ID: AAJQNWlQM3

--HG--
extra : rebase_source : d7ff460d3eb11909827ec0562ff9beb4fbfb283d
2017-11-17 16:55:20 -06:00
Byron Campen [:bwc] 3b334bbeaa Bug 1290948 - Part 11: Fix a nullptr crash that web-platform-tests is hitting. r=drno
MozReview-Commit-ID: BE2tMZjH0X0

--HG--
extra : rebase_source : 4a9a888edc15608d68db0d9ca061cb5b15beb46b
2017-11-15 20:15:44 -06:00
Byron Campen [:bwc] 885ac8a414 Bug 1290948 - Part 10: Stop expecting failure on lots of webrtc web-platform-tests. r=drno
MozReview-Commit-ID: KIPxoWdo89F

--HG--
extra : rebase_source : 7783a927a8eb7303cd3c27b6a4277b3fd97e0fb3
2017-11-14 17:30:33 -06:00
Byron Campen [:bwc] 3c2b6b45a0 Bug 1290948 - Part 9: Add RTCRtpTransceiver to test_interfaces.js r+smaug r=smaug
MozReview-Commit-ID: BQeODjdgpyf

--HG--
extra : rebase_source : 4396d8098557cbf4fafaa5dcfce5ab5f790fbe6b
2017-11-14 17:29:54 -06:00
Byron Campen [:bwc] b2254c16eb Bug 1290948 - Part 8: Don't cause ICE to fail if there's no streams to establish. r+drno r=drno
MozReview-Commit-ID: 4wxlK9w3sL6

--HG--
extra : rebase_source : 06a01ef64beb1352cee503349a287a511de50053
2017-09-29 09:16:14 -05:00
Byron Campen [:bwc] f7f959c4f1 Bug 1290948 - Part 7: Update existing mochitests to track the spec fixes in previous parts. r+drno r=drno
MozReview-Commit-ID: 95YyFm3cRB6

--HG--
extra : rebase_source : 54e628a7333de674507b0c766e1f447f2d8c69ec
2017-08-23 16:16:29 -05:00
Byron Campen [:bwc] 9fed82e6f6 Bug 1290948 - Part 6: Remove some unused code. r+drno r=drno
MozReview-Commit-ID: G1uxg77wO78

--HG--
extra : rebase_source : bb8f7238bebb48251967cc453257ea6665095535
2017-08-23 16:15:11 -05:00
Byron Campen [:bwc] 7a8dcf7887 Bug 1290948 - Part 5: TransceiverImpl and some major refactoring. r+drno r=drno
MozReview-Commit-ID: 3IBAch7xVNG

--HG--
extra : rebase_source : 7379357abe05ef043260a13faf2bcebbcd2b1d39
2017-08-23 16:12:43 -05:00
Byron Campen [:bwc] 46f6fa03a6 Bug 1290948 - Part 4: Transceivers JSEP/SDP work. r+drno r=drno
MozReview-Commit-ID: JwK3It3UA5M

--HG--
extra : rebase_source : e1a5afa85ed544ab0acac08240b6007954e289e4
2017-08-23 15:55:05 -05:00
Byron Campen [:bwc] cf90c6a366 Bug 1290948 - Part 3: Implement JS part of RTCRtpTransceiver. r=jib
MozReview-Commit-ID: FOZSqKbqHtC

--HG--
extra : rebase_source : 988624d3fe5f44273e7f2d279d25f67a33f7dfae
2017-08-23 15:51:21 -05:00
Byron Campen [:bwc] 5daf41d807 Bug 1290948 - Part 2: webidl for RTCRtpTransceiver and supporting interfaces r+jib, r+ehsan r=ehsan+251051,jib
MozReview-Commit-ID: DmXufKwCAyW

--HG--
extra : rebase_source : 30948762aa31846ac6ae89cd757010a60e6f44db
2017-08-23 15:47:54 -05:00
Byron Campen [:bwc] d76133fd0a Bug 1290948 - Part 1: Mochitest for transceivers. r+jib r=jib
MozReview-Commit-ID: K8AlmUAcTKM

--HG--
rename : dom/media/tests/mochitest/test_peerConnection_basicAudioVideo.html => dom/media/tests/mochitest/test_peerConnection_basicAudioVideoTransceivers.html
extra : rebase_source : 53befed81abc25b6e9a45c582eac46704deb4dc9
2017-08-23 15:44:56 -05:00
Tom Prince f460e17bc9 Bug 1418883: Look in comm-central repository for changed files. r=dustin
MozReview-Commit-ID: 1p2e7Zbqwtw

--HG--
extra : rebase_source : bbcd8e7224c08468151bfb95c98d12a35327ae6c
extra : source : 79c28e859f63c720e4064be904b52f8a887f428c
2017-11-19 21:26:54 -07:00
vladikoff 5a2ac18958 Bug 1369257 - add "scrollbars" to window features for identity.launchWebAuthFlow r=mixedpuppy
MozReview-Commit-ID: FTwyOUxG3K0

--HG--
extra : rebase_source : c3c96d9cc0d43b98142e5a3bb0f8b20312b33555
2017-11-27 21:21:22 -05:00
Peter Major 3588dc8bb2 Bug 1415828 - Accept cookie domains with leading dot character r=ato
Domain cookies retrieved from Marionette have leading dot characters in
them. This change will ensure that adding cookies with leading dot
characters works as expected.

MozReview-Commit-ID: IriHVCcVcP3

--HG--
extra : rebase_source : c889912e68df6393d201b582d6760f06036f2e39
2017-11-23 15:33:30 +00:00
Tom Prince 506636cd2d Bug 1421036: Display task labels by default when running `mach taskgraph optimized`; r=dustin
MozReview-Commit-ID: 4sMl5a02NCE

--HG--
extra : rebase_source : 024a49a82a3ea39fccf745ba33356b39d734c8ea
2017-11-27 13:26:14 -07:00
Tom Prince 3744e9bace Bug 1418654: Allow tasks that run use `mach` to checkout comm-central; r=dustin
MozReview-Commit-ID: 4i7dqhxjxra

--HG--
extra : rebase_source : 23b3483ee3f18061335698c57084c43a57cc6ce5
2017-11-18 10:42:12 -07:00
Tom Prince 36ec066a4a Bug 1421033: Fix parameter generation for try-comm-central. r=dustin
MozReview-Commit-ID: A2MlNNZGnO9

--HG--
extra : rebase_source : 6b87870edf2e34caceeea4a3a5e9f3112375f185
2017-11-27 13:21:59 -07:00
Tom Prince 98988ab6fc Bug 1421002: Get tasks for `mach try fuzzy` from the root of the repository; r=ahal
`mach try` pushes the repository containing the current directory. When this is
a comm-central checkout, the taskcluster configuration should also come from that
repository.

MozReview-Commit-ID: KWbNAe4jrHT

--HG--
extra : rebase_source : e40f5038bdd190fb4cb801ba817c31a3e4031354
extra : source : 7164b051c965280aeb3083e47a93c6d4ac44e2ed
2017-11-21 13:39:21 -07:00
Tom Prince 3890179b24 Bug 1421002: Add an option to control where to find the try_task_config. r=dustin
MozReview-Commit-ID: ntC1fJOidr

--HG--
extra : rebase_source : 7bd3ace5b127fca978b9e5ec6a2d0670ff931af9
extra : source : 43903d5d0cfdf57cc39c643dc1d1f577a6fc8901
2017-11-21 11:26:56 -07:00
Edouard Oger 80589e1731 Bug 1417597 - Show a different feedback message in send tab when we're offline. r=jaws
MozReview-Commit-ID: Emsx0LwFAE1

--HG--
extra : rebase_source : a10a5795f0c4c140a5d9eea5c72821be4931bd9b
2017-11-16 16:11:46 -05:00
Thom Chiovoloni a004052a6e Bug 1421044 - Make TPS await sync initialization before trying to run r=markh
MozReview-Commit-ID: JSBXKHRXjc0

--HG--
extra : rebase_source : f18047d5a71d92acb9712244266909fc9e09dd0f
2017-11-28 13:56:48 -05:00
Thom Chiovoloni 6e7fbdc912 Bug 1420349 - Instantiate the sync scheduler in the service's constructor, instead of in onStartup. r=eoger
MozReview-Commit-ID: 3bOnRH5jR9e

--HG--
extra : rebase_source : 63eb169666e6b5694e7324f5eb01349189a895ec
2017-11-28 11:48:10 -05:00
Tom Tromey b91b9e1c13 Bug 1421066 - remove getAppIniString from devtools/shared/system.js; r=ochameau
getAppIniString was found to be slow, and the results were never used;
so remove it.

MozReview-Commit-ID: Lk90vnElC0

--HG--
extra : rebase_source : eb16495afe014097ad2285678bdf9ac756022d16
2017-11-28 09:04:10 -07:00
Matt Howell 8d0cabec1f Bug 1421354 - Allow stub installer download resuming in more error cases. r=agashlin
MozReview-Commit-ID: 6UnbJAwmUC1

--HG--
extra : rebase_source : e84cbd6111f34683960a0965af84907535136581
2017-11-28 10:54:32 -08:00
Alex Gaynor 52d69a63ca Bug 1421372 - simplify the macOS content sandbox rules by splitting the file process rules out; r=haik
MozReview-Commit-ID: GJukCOAyE10

--HG--
extra : rebase_source : 7bfdd02482d45e72a785ec2abe2260577238406d
2017-11-28 14:06:06 -05:00