Iain Ireland
00ae116a04
Bug 1548908: Add InfinityBits to FloatingPoint.h r=jwalden
...
We can't generate a constexpr uint64_t containing the bits for positive/negative infinity, because of a (very sensible) static_assert in SpecificNaNBits. This patch adds support to FloatingPoint.h for infinity. The next patch will use it to make JS::InfinityValue constexpr (to match JS::NaNValue).
Differential Revision: https://phabricator.services.mozilla.com/D29869
--HG--
extra : moz-landing-system : lando
2019-06-03 15:59:21 +00:00
Emilio Cobos Álvarez
53fa6bd77e
Bug 1558440 - Use SaturateUint32 for the visible content heuristic. r=bzbarsky
...
Turns out we do have saturated arithmetic in mfbt, I just missed it.
Also, use just an uint32 for the heuristic. Text length is a uint32 anyway, and
it's unlikely we want to decide anything when the value is over the max uint32
value.
Differential Revision: https://phabricator.services.mozilla.com/D34496
--HG--
extra : moz-landing-system : lando
2019-06-11 15:02:17 +00:00
Aaron Klotz
f5fd73482a
Bug 1558272: Add Windows 10 May 2019 Update to WindowsVersion.h; r=dmajor
...
Differential Revision: https://phabricator.services.mozilla.com/D34390
--HG--
extra : moz-landing-system : lando
2019-06-10 18:52:38 +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
Sylvestre Ledru
d57d4905f1
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D30883
--HG--
extra : moz-landing-system : lando
2019-05-25 17:46:15 +00:00
arthur.iakab
af8e458c5f
Backed out changeset a296439a25ff (bug 1519636) for frequent Windows cppunit failures CLOSED TREE
2019-05-24 14:26:01 +03:00
Sylvestre Ledru
c82ea97226
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D30883
--HG--
extra : moz-landing-system : lando
2019-05-24 09:59:17 +00:00
Andi-Bogdan Postelnicu
879d5c9a34
Bug 1553037 - clang-based disable static-analysis in `MOZ_REALLY_CRASH`. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D32132
--HG--
extra : moz-landing-system : lando
2019-05-22 12:50:43 +00:00
Brian Hackett
a231842bb7
Bug 1547084 Part 1 - Remove recordReplayDirective interface and uses, r=mccr8.
...
--HG--
extra : rebase_source : 9fcddba95a4759fe6eb1222199ad8eeaaba2e146
2019-05-12 13:09:55 -10:00
Jon Coppeard
dd429306b0
Bug 1550009 - Make HashTable call templated alloc/free methods with the same type r=froydnj?
...
Differential Revision: https://phabricator.services.mozilla.com/D30371
--HG--
extra : moz-landing-system : lando
2019-05-08 16:42:06 +00:00
Jim Blandy
54f04058eb
Bug 1548133: mozilla::Variant::addTagToHash should be const-this. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D29423
--HG--
extra : moz-landing-system : lando
2019-05-01 12:13:23 +00:00
Emilio Cobos Álvarez
b825dfe4cf
Bug 1549694 - Don't use check as an identifier in IntegerRange.h, since it conflicts with system headers in Mac and Windows. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D30183
--HG--
extra : moz-landing-system : lando
2019-05-07 13:29:17 +00:00
Jean-Yves Avenard
f558e67dd0
Bug 1548409 - Use MOZ_DIAGNOSTIC_ASSERT. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D29587
--HG--
extra : moz-landing-system : lando
2019-05-02 13:24:31 +00:00
Sylvestre Ledru
e226046cb8
Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan
...
# ignore-this-changeset
Depends on D28954
Differential Revision: https://phabricator.services.mozilla.com/D28956
--HG--
extra : moz-landing-system : lando
2019-05-01 08:47:10 +00:00
Emilio Cobos Álvarez
c7aac206e4
Bug 1546697 - EnumeratedArray should have a copy assignment operator. r=froydnj
...
I'll use this in a following patch.
Differential Revision: https://phabricator.services.mozilla.com/D28679
--HG--
extra : moz-landing-system : lando
2019-04-25 16:40:47 +00:00
Jim Blandy
52031426cb
Bug 1546853: Implement mozilla::Variant::addTagToHash. r=froydnj
...
Define the Variant::addTagToHash method, which perturbs a hash value according
to the variant's current alternative's tag. This makes it easier to avoid
collisions in variants in which different alternatives might hash similarly.
Tests included.
Differential Revision: https://phabricator.services.mozilla.com/D28768
--HG--
extra : moz-landing-system : lando
2019-04-25 14:03:40 +00:00
Ryan VanderMeulen
a49ab1efff
Bug 1544980 - Update lz4 to version 1.9.1. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D28590
--HG--
extra : moz-landing-system : lando
2019-04-24 10:23:54 +00:00
Geoff Brown
323e21aa9d
Bug 1546012 - Avoid slow sleeps on Android in TestSPSCQueue; r=padenot
...
Reducing the sleep to 0 on Android results in a dramatic reduction in run time, and the test
passes consistently.
Differential Revision: https://phabricator.services.mozilla.com/D28296
--HG--
extra : moz-landing-system : lando
2019-04-23 13:39:36 +00:00
Brian Hackett
9a51c20aa1
Bug 1544170 Part 1 - Notify record/replay system about parsed style sheets, r=heycam.
...
Differential Revision: https://phabricator.services.mozilla.com/D27408
--HG--
extra : rebase_source : 49fef2849dc402bedf0ffb59f7db305365426cda
2019-04-12 16:33:00 -10:00
Botond Ballo
55b741f5f7
Bug 1543501 - Make MOZ_DBG() work on Android. r=heycam
...
stderr does not go anywhere by default on Android. Debugging output is
conventionally sent to the Android log via special functions like
__android_log_print.
We already have logic for handling this in nsCRTGlue's printf_stderr, but
I don't think we can use that in MFBT.
Differential Revision: https://phabricator.services.mozilla.com/D26985
--HG--
extra : moz-landing-system : lando
2019-04-12 16:48:51 +00:00
Botond Ballo
422903589d
Bug 1543501 - Print a 'token' that allows output from MOZ_DBG() to be easily grepped for among other output. r=heycam
...
Differential Revision: https://phabricator.services.mozilla.com/D26984
--HG--
extra : moz-landing-system : lando
2019-04-12 16:49:56 +00:00
Cameron McCormack
ad0b101ef6
Bug 1543582 - Only include quotes around XPCOM strings in MOZ_DBG, not operator<<. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D27031
--HG--
extra : moz-landing-system : lando
2019-04-11 23:44:57 +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
Sylvestre Ledru
03fc65347c
Bug 1542146 - Apply the change with the option StatementMacros from clang-format-8 r=andi
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26280
--HG--
extra : moz-landing-system : lando
2019-04-05 21:42:17 +00:00
Sylvestre Ledru
03c8e8c2dd
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
--HG--
extra : moz-landing-system : lando
2019-04-05 21:41:42 +00:00
shindli
45ec6114d3
Merge mozilla-central to autoland. a=merge CLOSED TREE
2019-04-06 00:51:18 +03:00
David Major
bd688314c9
Bug 1536675 - Inline MOZ_Crash even in debug builds r=froydnj
...
We want MOZ_Crash frames to stay out of Taskcluster logs even on debug builds. Perhaps you could say, _especially_ on debug builds.
Differential Revision: https://phabricator.services.mozilla.com/D26352
--HG--
extra : moz-landing-system : lando
2019-04-05 19:25:55 +00:00
Jan Varga
8651b25d09
Bug 1542154 - Add MOZ_DIAGNOSTIC_ALWAYS_TRUE; r=froydnj
2019-04-05 16:44:49 +02:00
Csoregi Natalia
ba58e936bd
Backed out changeset 4ad80127f89f (bug 1519636) for bustage on MarkupMap.h and nsAccessibilityService.cpp. CLOSED TREE
2019-04-05 09:48:19 +03:00
Sylvestre Ledru
d1c1878603
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
--HG--
extra : moz-landing-system : lando
2019-04-04 21:36:16 +00:00
Narcis Beleuzu
24dbe577a5
Backed out changeset 389b6bbd76db (bug 1519636) for bustages on MarkupMap.h . CLOSED TREE
2019-04-05 00:27:56 +03:00
Sylvestre Ledru
399dbd28fe
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
--HG--
extra : moz-landing-system : lando
2019-04-04 20:12:23 +00:00
Ciure Andrei
58c8915ecd
Merge mozilla-central to autoland. a=merge CLOSED TREE
2019-04-04 00:57:38 +03:00
Daniel Varga
f89113118b
Merge mozilla-central to mozilla-inbound. a=merge
2019-04-03 09:18:15 +03:00
David Major
c7531ea325
Bug 1536675 - Take the crashing out of MOZ_CrashPrintf r=froydnj
...
It would be helpful if MOZ_CRASH_UNSAFE_PRINTF would do its crashing inline at the caller, so that CI failure logs can blame the right code.
Before this patch, MOZ_CRASH_UNSAFE_PRINTF calls MOZ_CrashPrintf, which does the printf work and crashes.
This patch pulls out the crashing piece at the end, so that MOZ_CrashPrintf only does the printf work, and returns the string to the caller, who will MOZ_Crash inline.
Differential Revision: https://phabricator.services.mozilla.com/D25329
--HG--
extra : moz-landing-system : lando
2019-04-02 19:20:41 +00:00
Jan Varga
270308cb07
Bug 1540577 - Add MOZ_DIAGNOSTIC_ASSERT_IF; r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D25548
2019-04-01 01:17:07 +02: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
Jeff Gilbert
4a9effbea9
Bug 1540357 - Fix implicit int truncation in dom/canvas's mfbt/* includes. r=froydnj
...
Depends on D25500
Differential Revision: https://phabricator.services.mozilla.com/D25501
--HG--
extra : moz-landing-system : lando
2019-04-02 17:00:53 +00:00
Gerald Squelart
7fca0d0d21
Bug 1429613 - Variadic Variant::match, takes one function object per option - r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D24890
--HG--
extra : moz-landing-system : lando
2019-04-02 11:53:51 +00:00
Gerald Squelart
e2d15a1cfb
Bug 1429613 - Variant matcher callbacks renamed from `match` to `operator()` - r=froydnj
...
Mechanical change from Matcher::match(...) to Matcher::operator()(...).
This will now permit the use of generic lambdas, and facilitate the
implementation of multi-lambda match.
Differential Revision: https://phabricator.services.mozilla.com/D24889
--HG--
extra : moz-landing-system : lando
2019-04-02 11:53:47 +00:00
Narcis Beleuzu
d20e1695b0
Merge autoland to mozilla-central. a=merge
2019-03-30 23:43:56 +02:00
Cameron McCormack
b57c41bebd
Bug 1538081 - Followup fixes.
...
Differential Revision: https://phabricator.services.mozilla.com/D25505
--HG--
extra : moz-landing-system : lando
2019-03-30 07:45:36 +00:00
Cameron McCormack
714e4a84fb
Bug 1538081 - Part 4: Tests. r=froydnj,gerald
...
Depends on D25024
Differential Revision: https://phabricator.services.mozilla.com/D25025
--HG--
extra : moz-landing-system : lando
2019-03-30 04:24:34 +00:00
Cameron McCormack
eedb6aebd4
Bug 1538081 - Part 3: Add operator<<(ostream&) definitions for a few common types. r=froydnj,gerald
...
Depends on D25023
Differential Revision: https://phabricator.services.mozilla.com/D25024
--HG--
extra : moz-landing-system : lando
2019-03-30 04:26:26 +00:00
Cameron McCormack
a635fa2855
Bug 1538081 - Part 2: Add MOZ_DEFINE_DBG. r=froydnj,gerald
...
Depends on D24583
Differential Revision: https://phabricator.services.mozilla.com/D25023
--HG--
extra : moz-landing-system : lando
2019-03-30 04:25:15 +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