Greg V
e65e9412b0
Bug 1634205 - Support Gecko Profiler and Base Profiler on FreeBSD r=mstange
...
- supports amd64 and arm64 (aarch64)
- uses LUL for stack walking
Differential Revision: https://phabricator.services.mozilla.com/D73162
2020-05-06 17:44:19 +00:00
Christian Holler
c248943491
Bug 1620326 - Add a separate TSan suppression list for the updater. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D67125
--HG--
extra : moz-landing-system : lando
2020-03-26 21:19:24 +00:00
Chris Fronk
048799bff2
Bug 1490781 - Add FunctionRef, a non-owning reference to a callable value (function pointer, lambda, etc.). r=botond
...
Differential Revision: https://phabricator.services.mozilla.com/D62684
--HG--
extra : moz-landing-system : lando
2020-03-24 00:12:41 +00:00
Chris Fronk
d5b004443b
Bug 1143478 - Rename mozilla::Pair to CompactPair. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D64511
--HG--
rename : mfbt/Pair.h => mfbt/CompactPair.h
extra : moz-landing-system : lando
2020-03-17 12:42:12 +00:00
shindli
b02b3a6e1a
Backed out changeset a08637fb30c8 (bug 1143478) for causing bustages in /builds/worker/checkouts/gecko/ipc/mscom/Registration.cpp CLOSED TREE
...
--HG--
rename : mfbt/CompactPair.h => mfbt/Pair.h
2020-03-11 14:30:54 +02:00
Chris Fronk
a27e438c2d
Bug 1143478 - Rename mozilla::Pair to CompactPair. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D64511
--HG--
rename : mfbt/Pair.h => mfbt/CompactPair.h
extra : moz-landing-system : lando
2020-03-11 12:18:13 +00:00
Simon Giesecke
1fc7f24745
Bug 1597954 - Add a class template for objects that can only be initialized once. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D63181
--HG--
extra : moz-landing-system : lando
2020-03-05 17:26:26 +00:00
Andrew McCreight
4babb2b5ab
Bug 1609815 - Remove Web Replay C++ implementation. r=jgilbert,jandem,gbrown
...
Patch by bhackett and jlaster. Also reviewed by mccr8.
Differential Revision: https://phabricator.services.mozilla.com/D60197
--HG--
extra : moz-landing-system : lando
2020-02-27 17:39:15 +00:00
Ciure Andrei
00dd87f6f4
Backed out changeset d407a28318e6 (bug 1609815) for causing windows ming bustages CLOSED TREE
...
--HG--
extra : histedit_source : b2c748e31e0f6ba8fcf9960a336e0bbd361b07e6
2020-02-27 07:05:19 +02:00
Andrew McCreight
b197e1f783
Bug 1609815 - Remove Web Replay C++ implementation. r=jgilbert,jandem,gbrown
...
Patch by bhackett and jlaster. Also reviewed by mccr8.
Differential Revision: https://phabricator.services.mozilla.com/D60197
--HG--
extra : moz-landing-system : lando
2020-02-27 04:43:48 +00:00
David Major
c8447603c3
Bug 1614003 - Remove unused file mfbt/NullPtr.h r=froydnj
...
C++14 has a replacement anyway.
Differential Revision: https://phabricator.services.mozilla.com/D62076
--HG--
extra : moz-landing-system : lando
2020-02-07 19:08:17 +00:00
Tom Ritter
8512ab7c40
Bug 1610039 - Create a Tainted<> class and macros to obtain validated raw values r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D60531
--HG--
extra : moz-landing-system : lando
2020-01-23 22:19:32 +00:00
Emilio Cobos Álvarez
aa3a695712
Bug 1609996 - Remove mozilla/Move.h. r=froydnj
...
rg -l 'mozilla/Move.h' | xargs sed -i 's/#include "mozilla\/Move.h"/#include <utility>/g'
Further manual fixups and cleanups to the include order incoming.
Differential Revision: https://phabricator.services.mozilla.com/D60323
--HG--
extra : moz-landing-system : lando
2020-01-20 16:18:20 +00:00
Ryan VanderMeulen
0d693d24ac
Bug 1587590 - Update double-conversion to upstream revision 4a51e73. r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D48759
--HG--
extra : moz-landing-system : lando
2019-10-11 02:46:45 +00:00
Doug Thayer
534ac9e360
Bug 1550108 - Pull in secondary lz4 libraries r=glandium
...
I opted to go with what I perceived as the more expedient route
of leaving lz4 roughly where it is and just adding to that. The
biggest complication was xxhash, which is included elsewhere.
I'm not generally proficient with build-related things though so
my solution may be wrong and not just ugly.
Differential Revision: https://phabricator.services.mozilla.com/D30640
--HG--
rename : mfbt/lz4.c => mfbt/lz4/lz4.c
rename : mfbt/lz4.h => mfbt/lz4/lz4.h
extra : moz-landing-system : lando
2019-10-04 20:44:08 +00:00
Cosmin Sabou
14938bad3b
Backed out 10 changesets (bug 1550108) for causing build bustages on StartupCache.cpp.
...
Backed out changeset cbadfa2bbd7e (bug 1550108)
Backed out changeset 2560f0ab6ebf (bug 1550108)
Backed out changeset 0a1fa8d8bb3c (bug 1550108)
Backed out changeset 62416909cf67 (bug 1550108)
Backed out changeset 60991713b1e2 (bug 1550108)
Backed out changeset f950e30afd90 (bug 1550108)
Backed out changeset e63d0a1fec38 (bug 1550108)
Backed out changeset 7a009d42e7e7 (bug 1550108)
Backed out changeset 395affa4c205 (bug 1550108)
Backed out changeset 0fd41e9dbd2a (bug 1550108)
--HG--
rename : mfbt/lz4/lz4.c => mfbt/lz4.c
rename : mfbt/lz4/lz4.h => mfbt/lz4.h
2019-09-29 01:14:31 +03:00
Doug Thayer
fdbddfa996
Bug 1550108 - Pull in secondary lz4 libraries r=glandium
...
I opted to go with what I perceived as the more expedient route
of leaving lz4 roughly where it is and just adding to that. The
biggest complication was xxhash, which is included elsewhere.
I'm not generally proficient with build-related things though so
my solution may be wrong and not just ugly.
Differential Revision: https://phabricator.services.mozilla.com/D30640
--HG--
rename : mfbt/lz4.c => mfbt/lz4/lz4.c
rename : mfbt/lz4.h => mfbt/lz4/lz4.h
extra : moz-landing-system : lando
2019-09-27 22:15:01 +00:00
Henri Sivonen
c193518677
Bug 1490601 part 2 - Move C++ entry points to encoding_c_mem to mfbt/. r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D43957
--HG--
extra : moz-landing-system : lando
2019-09-18 08:26:34 +00:00
Tom Ritter
d922064696
Bug 1547519 - Rename NS_STRINGIFY to MOZ_STRINGIFY, move to mfbt, and unify stragglers r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D39961
--HG--
extra : moz-landing-system : lando
2019-09-04 02:40:32 +00:00
Jed Davis
370bd5030f
Bug 1534780 - Move ipc::FileDescriptor's UniquePtr instance into MFBT as UniqueFileHandle. r=froydnj
...
MozReview-Commit-ID: 7bbGVIjTTaJ
Differential Revision: https://phabricator.services.mozilla.com/D26737
--HG--
extra : moz-landing-system : lando
2019-06-28 19:46:58 +00:00
Tom Prince
0cd3337d90
Bug 1458385: Package mar and mbsdiff as a toolchain; r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D24229
--HG--
extra : moz-landing-system : lando
2019-07-11 16:40:13 +00:00
Jed Davis
ffe4e7333c
Bug 1562358 - Move fallible.h into MFBT. r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D36541
--HG--
rename : memory/fallible/fallible.h => mfbt/fallible.h
extra : moz-landing-system : lando
2019-07-10 01:51:15 +00:00
Csoregi Natalia
f30f0ab1f3
Backed out changeset 5bf39249f6e4 (bug 1562358) for spidermonkey bustage. CLOSED TREE
...
--HG--
rename : mfbt/fallible.h => memory/fallible/fallible.h
2019-07-09 19:26:58 +03:00
Jed Davis
f0628ffad3
Bug 1562358 - Move fallible.h into MFBT. r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D36541
--HG--
rename : memory/fallible/fallible.h => mfbt/fallible.h
extra : moz-landing-system : lando
2019-07-02 09:08:21 +00:00
Narcis Beleuzu
a89b67e772
Backed out 15 changesets (bug 1479960, bug 1426526, bug 1534780, bug 1536697
) for toolchain bustages on UniquePtrExtensions.h . CLOSED TREE
...
Backed out changeset a8518ea4b594 (bug 1479960)
Backed out changeset 7172762c4b87 (bug 1536697
)
Backed out changeset 2ea5ccb8f3a1 (bug 1426526)
Backed out changeset d892a888fe9c (bug 1426526)
Backed out changeset 2c4d12bdfec3 (bug 1479960)
Backed out changeset 8a322064cf6d (bug 1479960)
Backed out changeset 47d387b6cd4a (bug 1479960)
Backed out changeset 8332565a6943 (bug 1479960)
Backed out changeset 9d7f1835f96f (bug 1479960)
Backed out changeset 0aa8af4965c5 (bug 1479960)
Backed out changeset 036809330a51 (bug 1479960)
Backed out changeset 39e18373e3d3 (bug 1479960)
Backed out changeset 6c2b995a9d30 (bug 1479960)
Backed out changeset 3c2b31744645 (bug 1534780)
Backed out changeset 26bb00a94d5d (bug 1534780)
2019-06-28 22:42:00 +03:00
Jed Davis
35bc3bb540
Bug 1534780 - Move ipc::FileDescriptor's UniquePtr instance into MFBT as UniqueFileHandle. r=froydnj
...
MozReview-Commit-ID: 7bbGVIjTTaJ
Differential Revision: https://phabricator.services.mozilla.com/D26737
--HG--
extra : moz-landing-system : lando
2019-06-20 22:40:13 +00:00
Ciure Andrei
72f3f971fb
Backed out 15 changesets (bug 1479960, bug 1426526, bug 1534780, bug 1536697
) for causing build bustages CLOSED TREE
...
Backed out changeset 5645e0cc3915 (bug 1479960)
Backed out changeset a7c09894c6a0 (bug 1536697
)
Backed out changeset 510f03381af9 (bug 1426526)
Backed out changeset 7cf4735a088f (bug 1426526)
Backed out changeset 41080844e645 (bug 1479960)
Backed out changeset fdba3c5f8fd0 (bug 1479960)
Backed out changeset 26a8ebcb2db4 (bug 1479960)
Backed out changeset d0d383e5bae1 (bug 1479960)
Backed out changeset c418095bb7b7 (bug 1479960)
Backed out changeset 7b78b1945532 (bug 1479960)
Backed out changeset c47d47d4073d (bug 1479960)
Backed out changeset 71253b62a633 (bug 1479960)
Backed out changeset ae525f20bdbb (bug 1479960)
Backed out changeset 7fba719355d7 (bug 1534780)
Backed out changeset 771db331860a (bug 1534780)
2019-06-20 19:54:57 +03:00
Jed Davis
19b7fc2cbd
Bug 1534780 - Move ipc::FileDescriptor's UniquePtr instance into MFBT as UniqueFileHandle. r=froydnj
...
MozReview-Commit-ID: 7bbGVIjTTaJ
Differential Revision: https://phabricator.services.mozilla.com/D26737
--HG--
extra : moz-landing-system : lando
2019-06-17 02:19:35 +00:00
Mike Hommey
4c0ecc6982
Bug 1554063 - Move decimal to mozglue. r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D32435
--HG--
rename : mfbt/decimal/Decimal.cpp => mozglue/misc/decimal/Decimal.cpp
rename : mfbt/decimal/Decimal.h => mozglue/misc/decimal/Decimal.h
rename : mfbt/decimal/UPSTREAM-GIT-SHA => mozglue/misc/decimal/UPSTREAM-GIT-SHA
rename : mfbt/decimal/comparison-with-nan.patch => mozglue/misc/decimal/comparison-with-nan.patch
rename : mfbt/decimal/fix-wshadow-warnings.patch => mozglue/misc/decimal/fix-wshadow-warnings.patch
rename : mfbt/decimal/mfbt-abi-markers.patch => mozglue/misc/decimal/mfbt-abi-markers.patch
rename : mfbt/decimal/moz-decimal-utils.h => mozglue/misc/decimal/moz-decimal-utils.h
rename : mfbt/decimal/to-moz-dependencies.patch => mozglue/misc/decimal/to-moz-dependencies.patch
rename : mfbt/decimal/update.sh => mozglue/misc/decimal/update.sh
rename : mfbt/decimal/zero-serialization.patch => mozglue/misc/decimal/zero-serialization.patch
extra : moz-landing-system : lando
2019-05-29 06:57:28 +00:00
Mihai Alexandru Michis
372773e7f5
Backed out changeset 3edc5be703be (bug 1554063) for mass test failures. CLOSED TREE
...
--HG--
rename : mozglue/misc/decimal/Decimal.cpp => mfbt/decimal/Decimal.cpp
rename : mozglue/misc/decimal/Decimal.h => mfbt/decimal/Decimal.h
rename : mozglue/misc/decimal/UPSTREAM-GIT-SHA => mfbt/decimal/UPSTREAM-GIT-SHA
rename : mozglue/misc/decimal/comparison-with-nan.patch => mfbt/decimal/comparison-with-nan.patch
rename : mozglue/misc/decimal/fix-wshadow-warnings.patch => mfbt/decimal/fix-wshadow-warnings.patch
rename : mozglue/misc/decimal/mfbt-abi-markers.patch => mfbt/decimal/mfbt-abi-markers.patch
rename : mozglue/misc/decimal/moz-decimal-utils.h => mfbt/decimal/moz-decimal-utils.h
rename : mozglue/misc/decimal/to-moz-dependencies.patch => mfbt/decimal/to-moz-dependencies.patch
rename : mozglue/misc/decimal/update.sh => mfbt/decimal/update.sh
rename : mozglue/misc/decimal/zero-serialization.patch => mfbt/decimal/zero-serialization.patch
2019-05-29 09:54:37 +03:00
Mike Hommey
66cb95a768
Bug 1554063 - Move decimal to mozglue. r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D32435
--HG--
rename : mfbt/decimal/Decimal.cpp => mozglue/misc/decimal/Decimal.cpp
rename : mfbt/decimal/Decimal.h => mozglue/misc/decimal/Decimal.h
rename : mfbt/decimal/UPSTREAM-GIT-SHA => mozglue/misc/decimal/UPSTREAM-GIT-SHA
rename : mfbt/decimal/comparison-with-nan.patch => mozglue/misc/decimal/comparison-with-nan.patch
rename : mfbt/decimal/fix-wshadow-warnings.patch => mozglue/misc/decimal/fix-wshadow-warnings.patch
rename : mfbt/decimal/mfbt-abi-markers.patch => mozglue/misc/decimal/mfbt-abi-markers.patch
rename : mfbt/decimal/moz-decimal-utils.h => mozglue/misc/decimal/moz-decimal-utils.h
rename : mfbt/decimal/to-moz-dependencies.patch => mozglue/misc/decimal/to-moz-dependencies.patch
rename : mfbt/decimal/update.sh => mozglue/misc/decimal/update.sh
rename : mfbt/decimal/zero-serialization.patch => mozglue/misc/decimal/zero-serialization.patch
extra : moz-landing-system : lando
2019-05-29 00:59:20 +00:00
Daniel Varga
6d6f6dadce
Backed out 4 changesets (bug 1458385) for nightly updates fail. a=backout
...
Backed out changeset 09338587b68e (bug 1458385)
Backed out changeset f7791b680d46 (bug 1458385)
Backed out changeset cc06a7beb3d1 (bug 1458385)
Backed out changeset 3b10487587c3 (bug 1458385)
2019-04-10 21:09:46 +03:00
Tom Prince
b4e1868e59
Bug 1458385: Package mar and mbsdiff as a toolchain; r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D24229
--HG--
extra : moz-landing-system : lando
2019-04-06 05:49:31 +00:00
Mike Hommey
14f091e326
Bug 1541302 - Don't build RecordReplay.cpp during a --enable-project=memory build. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D25895
--HG--
extra : moz-landing-system : lando
2019-04-03 01:43:37 +00:00
Cameron McCormack
9796d08b83
Bug 1538081 - Part 1: Add MOZ_DBG macro. r=froydnj,gerald
...
Differential Revision: https://phabricator.services.mozilla.com/D24583
--HG--
extra : moz-landing-system : lando
2019-03-30 04:25:13 +00:00
Ciure Andrei
615006146b
Backed out 4 changesets (bug 1538081) for causing BaseElf.cpp bustages CLOSED TREE
...
Backed out changeset ced61a86c74c (bug 1538081)
Backed out changeset d6d331abbf0e (bug 1538081)
Backed out changeset 26df801e44db (bug 1538081)
Backed out changeset 113ac188a69e (bug 1538081)
2019-03-30 03:02:15 +02:00
Cameron McCormack
3bb950d9a6
Bug 1538081 - Part 1: Add MOZ_DBG macro. r=froydnj,gerald
...
Differential Revision: https://phabricator.services.mozilla.com/D24583
--HG--
extra : moz-landing-system : lando
2019-03-30 00:21:14 +00:00
Oana Pop Rus
d9ec36d04f
Backed out 3 changesets (bug 1458385) for windows partial bustages. a=backout
...
Backed out changeset 8036c03c3b51 (bug 1458385)
Backed out changeset 99fa5539c2bd (bug 1458385)
Backed out changeset 9a5f255979c2 (bug 1458385)
2019-03-28 15:13:13 +02:00
Tom Prince
fbb8603385
Bug 1458385: Package mar and mbsdiff as a toolchain; r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D24229
--HG--
extra : moz-landing-system : lando
2019-03-27 22:30:44 +00:00
Mike Hommey
70f1ad55e1
Bug 1519307 - Add a new project to build useful parts of breakpad independently. r=froydnj
...
With `ac_add_options --enable-project=tools/crashreporter` in a
mozconfig, `./mach build` builds minidump_stackwalk, dump_syms
and fileid.
One caveat is that due to limitation in how the build system works
currently, it's cumbersome to keep dump_syms as a host program for
Gecko, and to make it a target program for this project. For now,
keep it as a host program. We're not going to use it on automation,
but it's still convenient to have for quick local builds (I've had
to resort to awful hacks downstream).
Differential Revision: https://phabricator.services.mozilla.com/D16299
--HG--
extra : moz-landing-system : lando
2019-01-11 16:01:15 +00:00
Henri Sivonen
c58ccc7e2b
Bug 1512155 - Introduce a movable type that combines mozilla::UniquePtr<T[]> and its length. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D13795
--HG--
extra : moz-landing-system : lando
2018-12-07 08:28:08 +00:00
Chris Martin
6f57bf69b4
Bug 1402282 - Move CSPRNG logic to common area r=froydnj
...
The logic in JSMath for generating cryptographically-secure
pseudorandom numbers without NSS is independently useful, and so
it's been moved to a common area.
It will eventually be used for generated random arena ids.
Differential Revision: https://phabricator.services.mozilla.com/D8597
--HG--
extra : moz-landing-system : lando
2018-10-25 18:00:15 +00:00
Cosmin Sabou
de8cde8599
Backed out changeset b283e9a224e0 (bug 1402282) build bustages on RandomNum.cpp.
2018-10-24 03:00:42 +03:00
Cosmin Sabou
035c4c098e
Bug 1402282 - Move CSPRNG logic to common area r=froydnj
...
--HG--
extra : rebase_source : a273743c193ebfb054105949068578a4a57cf3a0
2018-10-24 02:49:33 +03:00
Gerald Squelart
2d21b03a3b
Bug 1482046
- mfbt: FunctionTypeTraits - r=froydnj
...
FunctionTypeTraits< function type > makes it easier to inspect a function's
return type, arity, and parameter types.
It works with free functions, struct/class methods, function objects like
non-generic lambdas and std::function.
Differential Revision: https://phabricator.services.mozilla.com/D2998
--HG--
extra : moz-landing-system : lando
2018-08-15 10:27:45 +00:00
Nicholas Nethercote
b85493f609
Bug 1477626 - Move js::Hash{Set,Map} into MFBT. r=Waldo
...
The main change is that the patch copies js/public/HashTable.h to
mfbt/HashTable.h, and then changes it as follows.
- Changes `js` namespaces to `mozilla` (and removes some now-unnecessary
`mozilla::` qualifiers).
- Changes the default AllocPolicy from the SpiderMonkey-specific
`TempAllocPolicy` to the generic `MallocAllocPolicy`.
- Adds `#include "AllocPolicy.h"` (like mfbt/Vector.h).
- Changes `JS_DEBUG` use to `DEBUG`.
- Minor comment updates, as necessary.
js/public/HashTable.h is now tiny, holding just a few renamings of things from
the `mozilla` namespace into the `js` namespace to minimize churn elsewhere.
(Those renamings keep `TempAllocPolicy` as the default AllocPolicy for
js::Hash{Set,Map}.)
Also, various template specializations had to be moved from the `js` namespace
to the `mozilla` namespace to avoid compile errors.
MozReview-Commit-ID: GS9Qn9YeYDA
--HG--
rename : js/public/HashTable.h => mfbt/HashTable.h
2018-07-26 20:15:49 +10:00
Brian Hackett
16cf11f43a
Bug 1464903 Part 1 - Public record/replay API, r=froydnj.
...
--HG--
extra : rebase_source : 3841f170eac0e0916a667d541ab0ee20b1626f2e
2018-07-20 23:59:31 +00:00
Jeff Walden
90507ffb7a
Bug 1426909 - Introduce a new mfbt/Utf8.h header for UTF-8-related functionality, including a UTF-8 code unit type that is compatible with, but doesn't directly interconvert with, |char|. r=froydnj
...
--HG--
extra : rebase_source : 00760186060d7e72fac783af3fc5595a6057feca
2018-01-11 11:29:53 -07:00
Paul Adenot
515134e9a0
Bug 1454385 - Add a single producer single consumer lock and wait free queue to mfbt/. r=froydnj
...
MozReview-Commit-ID: 6Dq0GQtYgv2
--HG--
extra : rebase_source : 67bc4245a61c15738e3a6467a03b41e9e29af9ce
2018-04-13 17:14:05 +02:00
Noemi Erli
5ffb086f4a
Backed out changeset 98e368b5c4be (bug 1463035) for failures in tools/profiler/tests/chrome/test_profile_worker.html on a CLOSED TREE
2018-05-22 03:16:44 +03:00