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

42 Коммитов

Автор SHA1 Сообщение Дата
Jeff Walden e57173377f Bug 1439659 - Make |MOZ_{LITTLE,BIG}_ENDIAN| into function macros so that invoking them inside |#if| conditions when they haven't been defined yet is a compile error. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D57038

--HG--
extra : moz-landing-system : lando
2019-12-13 20:51:04 +00:00
Jeff Walden ac5904852e Bug 1583958 - Update our fdlibm import to upstream rev cf4707bb2f78ecf56ba350bdc24e3135b4339622, adjusting local patchwork as necessary for changes upstream's made since last import. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D47186

--HG--
extra : moz-landing-system : lando
2019-09-26 07:07:16 +00:00
Ciure Andrei d14974ca63 Backed out changeset 62e38ee5dd16 (bug 1583958) for causing build bustages CLOSED TREE 2019-09-26 02:41:24 +03:00
Jeff Walden 25fcb2454a Bug 1583958 - Update our fdlibm import to upstream rev cf4707bb2f78ecf56ba350bdc24e3135b4339622, adjusting local patchwork as necessary for changes upstream's made since last import. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D47186

--HG--
extra : moz-landing-system : lando
2019-09-25 23:27:02 +00:00
André Bargull 1ce1fec25f Bug 1564117 - Part 2: Allow to reimport a specific fdlibm commit. r=arai
This makes it easier to test if modified patch files still apply.

Additionally "--no-backup-if-mismatch" was added to the `patch` command to
avoid generating ".orig" files.

Depends on D37256

Differential Revision: https://phabricator.services.mozilla.com/D37257

--HG--
extra : moz-landing-system : lando
2019-07-08 16:52:47 +00:00
André Bargull eebb17f171 Bug 1564117 - Part 1: Use std::sqrt in fdlibm. r=arai
std::sqrt is guaranteed to have an error less than 0.5 ulp, so there's no need
to use fdlibm's slower implementation.

Differential Revision: https://phabricator.services.mozilla.com/D37256

--HG--
extra : moz-landing-system : lando
2019-07-08 16:52:45 +00:00
André Bargull 24bb28b814 Bug 1380031: Ensure Math.exp(1) returns Math.E. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D24354

--HG--
extra : moz-landing-system : lando
2019-03-25 09:15:27 +00:00
David Major 56ea434680 Bug 1528074 - Translate MSVC warning flags to clang spelling where supported r=froydnj
clang-cl only acts on five MSVC warning flags: 7219c7e9af/clang/include/clang/Driver/CLCompatOptions.td (L188-L197)

With MSVC now unsupported, most -wdNNNN have no effect and can be removed.

This patch converts the five supported warnings to their clang spellings, as preparation for a subsequent patch that will remove all remaining `[/-]w[edo][0-9]{4}`.

Differential Revision: https://phabricator.services.mozilla.com/D22582

--HG--
extra : moz-landing-system : lando
2019-03-11 01:39:42 +00:00
Mike Hommey ef3ad686ee Bug 1512504 - Remove support for MSVC. r=froydnj
Consequently, this removes:
- MOZ_LIBPRIO, which is now always enabled.
- non_msvc_compiler, which is now always true.
- The cl.py wrapper, since it's not used anymore.
- CL_INCLUDES_PREFIX, which was only used for the cl.py wrapper.
- NONASCII, which was only there to ensure CL_INCLUDES_PREFIX still
  worked in non-ASCII cases.

This however keeps a large part of detecting and configuring for MSVC,
because we still do need it for at least headers, libraries, and midl.

Depends on D19614

Differential Revision: https://phabricator.services.mozilla.com/D19615

--HG--
extra : moz-landing-system : lando
2019-02-14 21:45:27 +00:00
David Major d8d830c2dd Bug 1520647: Add a comment explaining why fdlibm sources can't be unified. DONTBUILD 2019-01-18 21:28:18 -05:00
Tooru Fujisawa dc9e1f8ab9 Bug 1438599 - Part 2: Import fdlibm from FreeBSD (revision b21ccf63f28a3a4692d8a31419e0a725a1b1a800). r=jwalden 2018-02-18 22:56:46 +09:00
Tooru Fujisawa cacb9bf19b Bug 1438599 - Part 1: Rebase local patches for fdlibm. r=jwalden 2018-02-18 22:56:38 +09:00
Tooru Fujisawa 777d46a71e Bug 1438599 - Part 0: Echo the applying patch in fdlibm update script. r=jwalden 2018-02-18 22:56:29 +09:00
Jeff Walden 29bf925937 Bug 1437729 - Make fdlibm::atan2(y, x)'s handling for |x == 1.0| not potentially invoke signed integer overflow. r=arai
--HG--
rename : modules/fdlibm/patches/15_use_safer_strict_assign_on_visual_studio.patch => modules/fdlibm/patches/16_use_safer_strict_assign_on_visual_studio.patch
extra : rebase_source : c4d0988163c9f854d28e67c1c1568f7c1f99929a
2018-02-13 09:00:53 -08:00
Sylvestre Ledru 4591d82b23 Bug 1394734 - Replace CONFIG['CLANG*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: HbF5oT5HW6f

--HG--
extra : rebase_source : eca479b6ae4bff7f600d1cdb39e11ac2057e4e79
2017-12-07 22:09:38 +01:00
Sylvestre Ledru 5de63ef061 Bug 1394734 - Replace CONFIG['MSVC'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 5orfnoude7h

--HG--
extra : rebase_source : 1ed9a6b56e1d27221a07624767a7fb0e6147117f
2017-12-08 13:46:13 +01:00
Sylvestre Ledru 9bfe27d903 Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 7duJk2gSd4m

--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Petr Sumbera 19ea5cacf5 Bug 1350355 - fdlibm should provide definition for u_int32_t and u_int64_t. r=arai
--HG--
extra : rebase_source : ef6ae7b88fd98d8e6e7d37f5ebbb1b56f3c669ac
2017-03-27 03:33:34 -07:00
Joel Maher ad033bbef8 Bug 1345618 - add BUG_COMPONENT to modules/* files. r=jfkthame,mcmanus,rstrong
MozReview-Commit-ID: G3hG5C4P5jS
2017-03-09 05:33:31 -05:00
Tom Ritter 336cc26b26 Bug 1343336 - Include the upstream commit date in the fdlibm Mozilla README. r=bbouvier
MozReview-Commit-ID: 1tROG2vpdqH

--HG--
extra : rebase_source : ca7d55f294b6a20d0ff0ea702f9a1056799f7336
2017-02-28 14:33:18 -06:00
Emanuel Hoogeveen e0a81d7503 Bug 1309573 - Part 2: Define MOZ_HAS_MOZGLUE in various places so that the crash reason gets used. r=glandium
--HG--
extra : rebase_source : d55e8dd75469759f333366bdf9662178ff0a2474
2016-11-08 03:53:00 -05:00
Benjamin Bouvier 92f99e505e Bug 1303085: updates meta-patches after adding rint/rintf/nearbyint/nearbyintf; r=arai
MozReview-Commit-ID: LLDpA6SplXi

--HG--
extra : rebase_source : 2c3450a39832ef71144cb212c3aa04ed66da7f79
extra : histedit_source : 61089440a402dced2d4bbfc41599ea751eec1abb
2016-09-15 20:50:09 +02:00
Benjamin Bouvier 38920d4ca6 Bug 1303085: Add nearbyint/nearbyintf to fdlibm; r=arai
MozReview-Commit-ID: GahbeGVPKs

--HG--
extra : rebase_source : 521205f9c6fe5d559efa2d0c854f906857c10f36
extra : histedit_source : bd0bf1fb258fc6aac8a33b18f529a43f0130ff68
2016-09-15 20:57:47 +02:00
Tooru Fujisawa a96c9fd437 Bug 1303463 - Use safer STRICT_ASSIGN on VisualStudio. r=jwalden 2016-09-20 16:57:08 +09:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Chris Peterson 11ef78ae89 Bug 1275016 - Rename Endian.h to EndianUtils.h to avoid #include confusion with Android's endian.h stdlib header. r=froydnj
--HG--
rename : mfbt/Endian.h => mfbt/EndianUtils.h
2016-05-22 13:31:11 -07:00
Benjamin Bouvier 258bdc0148 Bug 1272640: Apply meta-patches to fdlibm/; r=arai
MozReview-Commit-ID: 3NNw1d0zF3k

--HG--
extra : rebase_source : e326698dfd32bf4e8734596ffabbfc2b390088c0
2016-05-19 16:05:34 +02:00
Benjamin Bouvier 65bc0f401d Bug 1272640: Update patches in modules/fdblim/patches/; r=arai
MozReview-Commit-ID: HkQ223HMuMv

--HG--
extra : rebase_source : 00d78978498113f8a4d519247421675e3926e0a6
2016-05-19 16:04:14 +02:00
Benjamin Bouvier c8b45033c6 Bug 1272640: Update update.sh to import s_truncf.cpp into fdlibm/; r=arai
MozReview-Commit-ID: 27MMIP67LxN

--HG--
extra : rebase_source : c2cc2eb6562ad1650310df11cdd42dbbcf8d601e
2016-05-19 16:20:19 +02:00
Tobias Schneider 06c125d9b7 Bug 1266889 - Plugin block list blocks SWF network requests, but does not prevent plugin instantiation. r=francois 2016-04-22 16:00:43 -07:00
Tooru Fujisawa 8eb6e36c52 Bug 933257 - Part 3: Add build scripts for fdlibm. r=jwalden 2015-11-18 19:13:22 +09:00
Tooru Fujisawa cbfb5c70a2 Bug 933257 - Part 2.1: Import fdlibm from FreeBSD (revision bcea9d50b15e4f0027a5dd526e0e2a612238471e). r=jwalden 2016-04-06 08:59:40 +09:00
Tooru Fujisawa 78da35c112 Bug 933257 - Part 2: Add patches for fdlibm. r=jwalden 2016-04-06 08:59:40 +09:00
Tooru Fujisawa 32eef41a25 Bug 933257 - Part 1: Add a script to import and update fdlibm from FreeBSD. r=jwalden 2016-01-07 12:30:26 +09:00
Tooru Fujisawa b4d5be0e72 Backed out changeset 4c1a64f8996a (bug 933257) for huge regression on benchmarks 2016-03-15 08:16:06 +09:00
Tooru Fujisawa 54fdedb829 Backed out changeset dd5d65d5a57d (bug 933257) 2016-03-15 08:15:09 +09:00
Tooru Fujisawa 6d262bf4c9 Backed out changeset 98670690ac0c (bug 933257) 2016-03-15 08:15:09 +09:00
Tooru Fujisawa 6f0ad3cc16 Backed out changeset c91821911d55 (bug 933257) 2016-03-15 08:15:09 +09:00
Tooru Fujisawa 643618c77d Bug 933257 - Part 3: Add build scripts for fdlibm. r=jwalden 2015-11-18 19:13:22 +09:00
Tooru Fujisawa 17a8f8e6da Bug 933257 - Part 2.1: Import fdlibm from FreeBSD (revision bcea9d50b15e4f0027a5dd526e0e2a612238471e). r=jwalden 2016-03-13 02:16:15 +09:00
Tooru Fujisawa fa373353b6 Bug 933257 - Part 2: Add patches for fdlibm. r=jwalden 2016-03-13 02:16:14 +09:00
Tooru Fujisawa 29db49ab36 Bug 933257 - Part 1: Add a script to import and update fdlibm from FreeBSD. r=jwalden 2016-01-07 12:30:26 +09:00