Shih-Chiang Chien
e452abf554
Bug 1336004 - add missing header file for TaskTracer. r=cyu
...
MozReview-Commit-ID: 11cMTxBWCRl
--HG--
extra : rebase_source : d8fb52e1b4d81f72fbb674a19b983a0e376fabde
2017-02-02 12:00:58 +08:00
Julian Seward
62b845c331
Bug 1328916 - Remove ProfilerSaveSignalHandler and transitively reachable code. r=mstange.
...
--HG--
extra : rebase_source : c4b95dcf205d4df81e22d4b08947d55ab4fac8ca
2017-02-02 10:04:02 +01:00
Julian Seward
95cd90edee
Bug 1329150 - Remove ENABLE_ARM_LR_SAVING and its code. r=mstange.
...
--HG--
extra : rebase_source : 14c459cbfa061a885221d2d89a98f98d721679c2
2017-02-02 08:29:18 +01:00
Wes Kocher
8d4bb91470
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: Am6M5iHxmAr
2017-02-01 16:31:23 -08:00
Wes Kocher
f2cb5e7c63
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: EZrwvZH5DsY
2017-02-01 16:22:11 -08:00
stefanh@inbox.com
3e60e56c26
Bug 1333485 - Remove LogUtils.jsm from services/crypto/modules/. r=markh.
2017-02-01 20:55:09 +01:00
Mike Hommey
dc5d1e6adf
Bug 1335309 - Change the default for find_executables to False. r=mshal
...
Back when the class was written, for the packaging code, it made sense
that the default was True. But now that it's used all over the place,
and that the vast majority of uses are with find_executables=False, it
makes more sense for that to be the default.
--HG--
extra : rebase_source : ff813735fc0d53093f348f20eb77ee03e9b09d4e
2017-01-31 14:06:15 +09:00
Jeff Walden
645ca06a98
Bug 1332797 - Move mfbt/double-conversion source files into a new source/ subdirectory, to segregate upstream files from update.sh and our local patches. r=froydnj
...
--HG--
rename : mfbt/double-conversion/LICENSE => mfbt/double-conversion/source/LICENSE
rename : mfbt/double-conversion/README => mfbt/double-conversion/source/README
rename : mfbt/double-conversion/bignum-dtoa.cc => mfbt/double-conversion/source/bignum-dtoa.cc
rename : mfbt/double-conversion/bignum-dtoa.h => mfbt/double-conversion/source/bignum-dtoa.h
rename : mfbt/double-conversion/bignum.cc => mfbt/double-conversion/source/bignum.cc
rename : mfbt/double-conversion/bignum.h => mfbt/double-conversion/source/bignum.h
rename : mfbt/double-conversion/cached-powers.cc => mfbt/double-conversion/source/cached-powers.cc
rename : mfbt/double-conversion/cached-powers.h => mfbt/double-conversion/source/cached-powers.h
rename : mfbt/double-conversion/diy-fp.cc => mfbt/double-conversion/source/diy-fp.cc
rename : mfbt/double-conversion/diy-fp.h => mfbt/double-conversion/source/diy-fp.h
rename : mfbt/double-conversion/double-conversion.cc => mfbt/double-conversion/source/double-conversion.cc
rename : mfbt/double-conversion/double-conversion.h => mfbt/double-conversion/source/double-conversion.h
rename : mfbt/double-conversion/fast-dtoa.cc => mfbt/double-conversion/source/fast-dtoa.cc
rename : mfbt/double-conversion/fast-dtoa.h => mfbt/double-conversion/source/fast-dtoa.h
rename : mfbt/double-conversion/fixed-dtoa.cc => mfbt/double-conversion/source/fixed-dtoa.cc
rename : mfbt/double-conversion/fixed-dtoa.h => mfbt/double-conversion/source/fixed-dtoa.h
rename : mfbt/double-conversion/ieee.h => mfbt/double-conversion/source/ieee.h
rename : mfbt/double-conversion/strtod.cc => mfbt/double-conversion/source/strtod.cc
rename : mfbt/double-conversion/strtod.h => mfbt/double-conversion/source/strtod.h
rename : mfbt/double-conversion/utils.h => mfbt/double-conversion/source/utils.h
extra : rebase_source : e84171373b2f766698ea48d23484ed05463a4d8a
2017-01-23 15:11:50 -08:00
Carsten "Tomcat" Book
29cd257175
merge mozilla-inbound to mozilla-central a=merge
2017-01-30 15:59:14 +01:00
Florian Quèze
77bac28360
Bug 1334831 - add an eslint rule to report usage of .parentNode.removeChild when .remove() could be used instead, r=jaws.
2017-01-30 08:10:18 +01:00
Nicholas Nethercote
dfbacc4a42
Bug 1334466 (part 5) - Remove PlatformData::profiled_pthread_. r=mstange.
...
It's unused.
--HG--
extra : rebase_source : a755202318cf8abceefd1d29326380f3bc2746b7
2017-01-28 01:07:01 +11:00
Nicholas Nethercote
d1afdf0d74
Bug 1334466 (part 4) - Remove Sampler::profiling_. r=mstange.
...
Because it's always true.
--HG--
extra : rebase_source : b77cccb79989e6e93f003609baab34ca588e455e
2017-01-28 00:58:55 +11:00
Nicholas Nethercote
9c6ed67ad7
Bug 1334466 (part 3) - Rename GeckoSampler.cpp as Sampler.cpp. r=mstange.
...
The patch also moves some Sampler methods from platform.cpp to Sampler.cpp. Now
all Sampler methods are in Sampler.cpp except for a small number of
platform-specific ones, which are in platform-*.cpp.
--HG--
rename : tools/profiler/core/GeckoSampler.cpp => tools/profiler/core/Sampler.cpp
extra : rebase_source : a13862dccfcb1c78567cc9eb22e92b8410d2e544
2017-01-28 00:57:52 +11:00
Nicholas Nethercote
b33fc679ac
Bug 1334466 (part 2) - Merge Sampler and GeckoSampler. r=mstange.
...
There's no point having them as separate classes. This removes the need for
some virtual functions, too.
--HG--
extra : rebase_source : b2607ba2431ae043b6e015f4f435b0d660b02d71
2017-01-25 14:34:25 +11:00
Nicholas Nethercote
0a42d0f79c
Bug 1334466 (part 1) - Merge Sampler constructors and destructors. r=mstange.
...
They're defined separately for each platform, but the definitions are almost
identical and can be commoned up.
--HG--
extra : rebase_source : 67b7f88410db1951a20f03f6c156aa6b35a3ee20
2017-01-28 00:52:57 +11:00
Nicholas Nethercote
e584767774
Bug 1333655 - Improve the profiler's Thread class. r=mstange.
...
It's a clumsy cross-platform abstraction. GetCurrentId() and tid_t are the only
genuinely cross-platform things in it, and the patch keeps those in place.
The remaining methods are not implemented on all platforms (none are
implemented on Linux) and the fields are all used on either Mac or Windows, but
not both. So the patch moves the relevant Thread method implementations and
fields into the existing SamplerThread classes. There is sufficiently little
overlap between the two SamplerThread classes that there is no point sharing a
base class between them. This avoids the need for virtual functions, and
simplifies thread naming on Mac.
The patch also changes some of the existing code to use Gecko style, e.g.
|mFoo| instead of |foo_| for class fields.
2017-01-25 14:34:25 +11:00
Nicholas Nethercote
234a671f05
Bug 1328365 (part 3) - Remove GeckoSampler::sActiveSampler. r=mstange.
...
This variable is set in GeckoSampler's destructor and cleared in GeckoSampler's
destructor, which means it's just another handle to the GeckoSampler singleton,
which means it duplicates gSampler.
This patch replaces its uses with gSampler uses. This exposes various places
where GeckoSampler is being accessed off the main thread, which I have marked
with XXX comments.
--HG--
extra : rebase_source : 3c2d012b4d38d353022f384c31a528096a462711
2017-01-27 16:25:23 +11:00
Nicholas Nethercote
9fcc3d9c39
Bug 1328365 (part 2) - Rename ProfileGatherer::mTicker as mSampler. r=mstange.
...
It's a better name, given that the type is |GeckoSampler*|.
--HG--
extra : rebase_source : aaeb9d0c34f8650c2e034e334825c7e8d7c1e832
2017-01-25 16:09:06 +11:00
Nicholas Nethercote
fd25b06c81
Bug 1328365 (part 1) - Replace tlsTicker with gSampler. r=mstange.
...
There is a single GeckoSampler and it is currently only accessed on the main
thread, so it's silly to use TLS for it; a normal global variable is better.
This patch also adds main thread assertions to a number of the profiler_*()
functions. Even though bug 1330184 may get rid of some of them, right now they
are a useful as both a sanity check and documentation.
--HG--
extra : rebase_source : 7613eb3cc8089b31180365f6463c81f4556c7b66
2017-01-25 16:00:47 +11:00
Wes Kocher
7cd28f7e5d
Merge inbound to central, a=merge
...
MozReview-Commit-ID: HvoljuLV6Gj
2017-01-27 16:37:18 -08:00
Edouard Oger
7314dabc8c
Bug 1296767 part 10 - Remove FxA Migration code. r=markh
...
MozReview-Commit-ID: DamrbblcMmZ
2017-01-27 13:31:58 -05:00
Edouard Oger
cdce850c10
Bug 1296767 part 5 - Remove add_identity_test helper. r=markh
...
MozReview-Commit-ID: 12pP01IHRyp
2017-01-27 13:30:48 -05:00
Edouard Oger
df80e282e9
Bug 1296767 part 4 - Update tests to work with the BrowserID identity manager. r=markh
...
MozReview-Commit-ID: AFRyZFW6xZU
2017-01-27 13:30:48 -05:00
Edouard Oger
bf4dae4e25
Bug 1296767 part 3 - Make BrowserID the only Sync identity manager. r=markh
...
MozReview-Commit-ID: IC7kRjgtPp8
2017-01-27 13:30:47 -05:00
Edouard Oger
c94655827a
Bug 1296767 part 2 - Remove Sync UserApi. r=markh
...
MozReview-Commit-ID: CdgLxCN52Os
2017-01-27 13:30:47 -05:00
Edouard Oger
bb525e4654
Bug 1296767 part 1 - Remove J-PAKE from Sync. r=markh
...
MozReview-Commit-ID: iD4OJv436i
2017-01-27 13:30:47 -05:00
Mark Banner
8cf0d4744c
Bug 1333044 - Enable no-undef eslint rule for services/. r=markh
...
MozReview-Commit-ID: IrtWclENDth
--HG--
extra : rebase_source : 72df6ddc457431ae77f953a00712462e4902b5f1
2017-01-23 15:15:05 +00:00
Florian Quèze
9815fa9ed8
Bug 1334261 - make the no-useless-parameters rule reject newURI call with an empty string as the last parameter, r=jaws.
2017-01-27 10:51:02 +01:00
Florian Quèze
dca267bbc7
Bug 1334199 - make the no-useless-parameters eslint rule report getComputedStyle's second argument when it's falsy, r=jaws.
2017-01-27 10:51:01 +01:00
Florian Quèze
15bab6d46b
Bug 1334250 - adapt the no-useless-removeEventListener rule to handle the listener being added and removed with the same variable + some hand fixes, r=jaws.
2017-01-27 10:47:57 +01:00
Wes Kocher
5144abead2
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: A6ZgbjxAv9N
2017-01-25 16:54:02 -08:00
Justin Wood
688005c17d
Bug 1333769 - Explicitly pass the version to MAR. r=rail a=philor for landing on central
...
(for "Nightly l10n repacks generate wrong complete MARs")
MozReview-Commit-ID: 8cIno7eFKve
--HG--
extra : rebase_source : 5c370cbc563e6e649652dce8e98c62b24d59faac
2017-01-25 10:18:45 -05:00
Carsten "Tomcat" Book
182312677f
merge mozilla-inbound to mozilla-central a=merge
2017-01-25 13:47:25 +01:00
Florian Quèze
03d00b4c13
Bug 1331599 - add an eslint rule to reject removeEventListener calls when the once option can be used instead, r=jaws.
2017-01-25 07:03:50 +01:00
Florian Quèze
bb130a6716
Bug 1331599 - fix the balanced-listeners custom eslint rule to handle addEventListener's options parameter, r=jaws.
2017-01-25 07:03:46 +01:00
Nicholas Nethercote
45bf8c43bb
Bug 1329684 (part 2) - Remove OS::msPerSecond, which is unused. r=mstange.
...
--HG--
extra : rebase_source : 5c0fcac9c52e8c9b0022002cbbdcaef33982a682
2017-01-25 14:33:34 +11:00
Nicholas Nethercote
6eb4bf69b1
Bug 1329684 (part 1) - Remove GeckoMutex, ::Mutex and ::MutexAutoLock from the profiler. r=mstange.
...
Note that the comment on ::Mutex said that it should support recursive locking,
but GeckoMutex was implemented using mozilla::Mutex which does *not* support
recursive locking.
The patch also removes OS::CreateMutex(), because it's only used twice and
doesn't make the code more concise.
--HG--
extra : rebase_source : 81f324cb3856ea5329d8b6edb457c8ec44395c56
2017-01-25 14:33:32 +11:00
Mark Banner
2ecc79b536
Bug 1333044 - Prepare services/ for enabling no-undef eslint rule. r=jaws
...
MozReview-Commit-ID: 29KwwyZH2jn
--HG--
extra : rebase_source : c4b19fe3714b19b445011ae1c413ca0e624cb46e
2017-01-17 12:25:43 +00:00
Phil Ringnalda
1b60bc19eb
Merge m-c to autoland
2017-01-24 18:56:54 -08:00
stefanh@inbox.com
f28e3f1e0d
Bug 1313045 - Remove toolkit/identity, part1: Remove unneeded files/bits. r=MattN.
2017-01-23 20:20:54 +01:00
Mark Banner
72976b4efa
Bug 1330545 - [eslint] Handle importScripts in workers for determining global variables. r=mossop
...
MozReview-Commit-ID: 6NkcAcaNjur
--HG--
extra : rebase_source : 2004e08b8e2e52b9ad329eb7604868ebe3bd60c6
2017-01-05 07:31:13 +00:00
Nicholas Nethercote
cb7d796cb1
Bug 1333296 (part 3) - Remove SPS mentions in tools/profiler. r=mstange.
...
--HG--
extra : rebase_source : d4ee3eccbffc86ea902be2b80a159fb84445c027
2017-01-24 14:18:50 +11:00
Nicholas Nethercote
997c2d8b00
Bug 1333296 (part 2) - Change "SPS:" mentions in logging code. r=mstange.
...
--HG--
extra : rebase_source : 2cb0718e120a2d0f988a7456d6fbf5946ce2e3a6
2017-01-24 14:17:13 +11:00
Nicholas Nethercote
22b6d342d7
Bug 1333296 (part 1) - Rename MOZ_ENABLE_PROFILER_SPS as MOZ_GECKO_PROFILER. r=mstange,glandium.
...
--HG--
extra : rebase_source : 223f3a17f009645369be503392cc1f0cea7f19a1
2017-01-24 14:15:12 +11:00
Wes Kocher
c3cc3b6407
Backed out 13 changesets (bug 1296767) for xpcshell failures a=backout CLOSED TREE
...
Backed out changeset 41ed77788333 (bug 1296767)
Backed out changeset 1c0c9289b532 (bug 1296767)
Backed out changeset 50294db1d871 (bug 1296767)
Backed out changeset 26c065f79c54 (bug 1296767)
Backed out changeset 0362a78d6978 (bug 1296767)
Backed out changeset 4e71cf94e4ee (bug 1296767)
Backed out changeset f6f59447d22a (bug 1296767)
Backed out changeset 6c9b792cc296 (bug 1296767)
Backed out changeset 46a52b10a868 (bug 1296767)
Backed out changeset 5d70d87d2a8f (bug 1296767)
Backed out changeset 8219686be6a2 (bug 1296767)
Backed out changeset 0a989b0cea67 (bug 1296767)
Backed out changeset 9f59a0b75c1f (bug 1296767)
MozReview-Commit-ID: 2XBNsd8JrZL
--HG--
extra : amend_source : 1afafaa8127fcebac31ce1d7743dc16872fa0522
2017-01-26 11:16:12 -08:00
Edouard Oger
775061c90e
Bug 1296767 part 10 - Remove FxA Migration code. r=markh
...
MozReview-Commit-ID: DamrbblcMmZ
--HG--
extra : rebase_source : 7356a6a99005ae702e90eb5d5e2f0cbee35ff861
2017-01-19 13:03:38 -05:00
Edouard Oger
9050cab070
Bug 1296767 part 5 - Remove add_identity_test helper. r=markh
...
MozReview-Commit-ID: 12pP01IHRyp
--HG--
extra : rebase_source : 2c5af253df77ed08dd8bdf0c7645ed98e6a96c9a
2017-01-18 15:52:47 -05:00
Edouard Oger
cfef81983f
Bug 1296767 part 4 - Update tests to work with the BrowserID identity manager. r=markh
...
MozReview-Commit-ID: AFRyZFW6xZU
--HG--
extra : rebase_source : 6110e19a51d6d3375b47f785c8f644ee879fb924
2017-01-13 15:59:32 -05:00
Edouard Oger
49552f7919
Bug 1296767 part 3 - Make BrowserID the only Sync identity manager. r=markh
...
MozReview-Commit-ID: IC7kRjgtPp8
--HG--
extra : rebase_source : ec10c24400afa4b1c1fd3840f31a9d57d498ec8a
2017-01-13 15:02:21 -05:00
Edouard Oger
eb0c42bf7a
Bug 1296767 part 2 - Remove Sync UserApi. r=markh
...
MozReview-Commit-ID: CdgLxCN52Os
--HG--
extra : rebase_source : c270d7dfbaf621c1eb8f440009b361212969a8bc
2017-01-13 15:54:46 -05:00