Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Перейти к файлу
Chris Peterson 874e8bf033 Bug 1483761 - Enable clang's -Wfloat-(overflow|zero)-conversion warnings. r=glandium
-Wfloat-overflow-conversion detects when a constant floating point value is converted to an integer type and will overflow the target type.

https://clang.llvm.org/docs/DiagnosticsReference.html#wfloat-overflow-conversion

-Wfloat-zero-conversion detects when a non-zero floating point value is converted to a zero integer value.

https://clang.llvm.org/docs/DiagnosticsReference.html#wfloat-zero-conversion

There are currently no -Wfloat-overlap-conversion warnings in mozilla-central. There is one -Wfloat-zero-conversion warning in a webrtc test. It doesn't block enabling this check because the webrtc tests are not compiled with warnings-as-errors.

media/webrtc/trunk/webrtc/modules/audio_coding/audio_network_adaptor/frame_length_controller_unittest.cc:255:54 [-Wfloat-zero-conversion] implicit conversion from 'const float' to 'int' changes non-zero value from 0.045000002 to 0

We can't enable all -Wfloat-conversion warnings (for any implicit conversion of a floating-point number into an integer) because there are currently over 1400 warnings. I spot checked a few of these -Wfloat-conversion warnings. I didn't find any obvious bugs, but there is some suspicious code, such as implicit conversions of floats to bools.

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

--HG--
extra : rebase_source : 589be9e593749c7000b1f89ca155e4f95a487f8f
2018-08-14 23:03:52 -07:00
.cargo Bug 1468950 - Update serde_derive patch for changes in WR PR 2819. r=Gankro 2018-06-21 08:15:40 -04:00
.vscode Bug 1482693 - Recommend the official Rust VisualStudio Code extension r=gps,jya 2018-08-13 21:21:34 +00:00
accessible Bug 1483911 - Defer scrolling events until after ipc doc construction. r=Jamie 2018-08-20 15:51:00 +03:00
browser Merge inbound to mozilla-central. a=merge 2018-08-23 06:41:38 +03:00
build Bug 1483761 - Enable clang's -Wfloat-(overflow|zero)-conversion warnings. r=glandium 2018-08-14 23:03:52 -07:00
caps Bug 1431255 - Part III, Create per-origin sandboxes from XPCJSRuntime and load UA widgets scripts r=bholley,jaws,sfink 2018-06-27 11:34:07 -07:00
chrome Bug 1479544. Remove nsIXULChromeRegistry::ReloadChrome. r=mossop 2018-08-03 15:14:43 +00:00
config Bug 1484535 - Allow C++ files to check MOZ_SYSTEM_ICU. r=froydnj 2018-08-21 16:02:00 +03:00
db Bug 1467121 - Upgrade to SQLite 3.24.0. r=mak 2018-06-06 09:52:32 -04:00
devtools Merge inbound to mozilla-central. a=merge 2018-08-23 01:00:10 +03:00
docshell Bug 1485279 - Merge nsISHContainer into nsISHEntry. r=qdot 2018-08-22 19:20:56 +10:00
dom Merge inbound to mozilla-central. a=merge 2018-08-23 06:41:38 +03:00
editor Bug 1484124 - part 1: Create HTMLEditor::GetCellIndexes() class to get and store indexes of a table cell r=m_kato 2018-08-22 03:34:40 +00:00
embedding Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian 2018-01-29 15:20:18 -08:00
extensions Bug 1484868 - Add the nsIPermissionManager::removeByType() API; r=nika 2018-08-21 15:10:13 -04:00
gfx Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-23 06:45:33 +03:00
gradle/wrapper Bug 1476165 - Part 2: Update Android Gradle plugin to version 3.1.0. r=nalexander,snorp 2018-07-17 13:20:19 +01:00
hal Bug 1482753 - Introduce two macros to implement HAL observers handy. r=gsvelto 2018-08-13 10:57:50 +09:00
image Bug 1483765 - Fix the image cache key computation logic to only consider first-party storage access for third-party windows; r=smaug 2018-08-17 15:26:43 -04:00
intl Bug 1473340 - Use bulk_write() in encoding_glue. r=nika 2018-08-20 19:55:10 +00:00
ipc Merge mozilla-inbound to mozilla-central. a=merge 2018-08-21 12:54:24 +03:00
js Merge inbound to mozilla-central. a=merge 2018-08-23 06:41:38 +03:00
layout Bug 1435045 - Don't make CSS filters on the <svg> element use fallback. r=jrmuizel 2018-08-22 22:06:24 +00:00
media Bug 1417050: Add support for AV1 in MP4. r=jya 2018-08-20 23:56:39 +00:00
memory Bug 1484184 - Remove now unused _RAISE macro check to deal with MSVC 2017 15.8. r=froydnj 2018-08-17 01:27:29 +09:00
mfbt Bug 1480578 - update double-conversion to bring in ARM/AArch64 Windows support; r=Waldo 2018-08-22 21:01:24 -04:00
mobile Merge inbound to mozilla-central. a=merge 2018-08-23 01:00:10 +03:00
modules Merge inbound to mozilla-central. a=merge 2018-08-22 12:49:02 +03:00
mozglue Bug 1485487: Add an assertion to ensure that DllServices::GetBinaryOrgName is not called on the Gecko main thread; r=mhowell 2018-08-22 15:23:04 -06:00
netwerk Bug 1482224 Crash in Shutdown due to ProxyAutoConfig still aiming to resolve addressThis crash has arisen due to a loop in ProxyAutoConfig which spins until apending PAC request is complete, even when the ProxyAutoConfig object is beingshut... r=valentin 2018-08-22 23:23:08 +00:00
nsprpub Bug 1477680, land NSPR 4.20 beta snapshot 34274ae8c85e, r=me 2018-08-22 14:09:49 +02:00
other-licenses Bug 1485245: Back out Move -> std::move change in 7zstub. r=mhowell 2018-08-22 14:46:50 +00:00
parser Bug 1480465: Infer the namespace for custom elements at definition time by following the class hierarchy. r=smaug 2018-08-15 10:31:16 +00:00
python Bug 1484243 - Detect vcs automatically in |mach vcs-setup|. r=ahal 2018-08-22 17:26:58 +00:00
security Bug 1468225 - remove method nsICertificateDialogs.viewCert and its uses. r=Gijs,keeler 2018-08-22 17:38:33 +00:00
services Bug 1483979 - Enable fxa commands r=markh 2018-08-17 17:56:52 +00:00
servo Merge inbound to mozilla-central. a=merge 2018-08-22 12:49:02 +03:00
startupcache Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
storage Bug 1484466: Part 3a - Update remaining XPCOMUtils.generateQI callers to use ChromeUtils. r=mccr8 2018-08-18 12:44:57 -07:00
taskcluster Bug 1485197 - Bump cbindgen to 0.6.2. r=heycam 2018-08-21 23:40:51 +00:00
testing Merge inbound to mozilla-central. a=merge 2018-08-23 06:41:38 +03:00
third_party Bug 1480841 - Raptor support for running speedometer on geckoview r=jmaher 2018-08-17 18:06:22 +00:00
toolkit Merge inbound to mozilla-central. a=merge 2018-08-23 06:41:38 +03:00
tools Bug 1397722 - [tryselect] Filter 'ccov' tasks out of the target task set (now they must be selected with --full), r=sparky 2018-08-21 20:00:32 +00:00
uriloader Merge mozilla-inbound to mozilla-central. a=merge 2018-08-21 12:54:24 +03:00
view Bug 1462784 - Remove EVENTS category. r=njn 2018-05-18 17:36:30 -04:00
widget Bug 1484823 - Fix Android build errors with NDK r18-beta1. r=snorp 2018-08-22 16:01:33 +00:00
xpcom Bug 1480095 - Allow loading custom error pages via nsILoadURIDelegate r=esawin,bz,jchen 2018-08-22 08:46:41 -05:00
xpfe/appshell Bug 1484848 - Remove the XPCOM component registrations for window and child window; r=mstange 2018-08-21 16:20:28 -04:00
.arcconfig Bug 1460463 - Update .arcconfig to make history mutable; r=gps 2018-05-09 23:49:52 +00:00
.clang-format Bug 1414764 - Remove Mozilla specific options to avoid build warnings with gcc and -Wcomment enabled. r=sylvestre 2017-11-06 11:47:40 +02:00
.clang-format-ignore Bug 1464452 - Add richtext to the list of thirdparties r=andi 2018-05-25 09:01:11 -07:00
.cron.yml Bug 1477021 - Schedule pipfile updates to run once per week. r=sfraser 2018-07-27 15:12:36 +00:00
.eslintignore Bug 1481442 - Remove followonsearch system add-on. r=Standard8 2018-08-20 11:50:27 +00:00
.eslintrc.js Bug 1481932 - Fully enable ESLint rule mozilla/reject-requires-await. r=mossop 2018-08-11 07:27:35 +00:00
.flake8 Bug 1473951: Add infer to taskcluster and build. r=gps 2018-07-06 17:37:16 +01:00
.gdbinit
.gdbinit_python
.gitignore Bug 1484708 - Update .gitignore rules and add js/src/obj-*. r=ted.mielczarek 2018-08-20 09:03:00 +03:00
.hgignore Bug 1484708 - Update .gitignore rules and add js/src/obj-*. r=ted.mielczarek 2018-08-20 09:03:00 +03:00
.hgtags No bug - Tagging mozilla-central 4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a with FIREFOX_NIGHTLY_62_END a=release DONTBUILD CLOSED TREE 2018-06-25 09:31:32 -07:00
.lldbinit Bug 1481555: Use lldb's python API to summarise nsAtoms. r=froydnj 2018-08-08 15:11:22 +00:00
.mailmap NO BUG - Use ato's new address. r=me 2018-02-26 15:59:29 +00:00
.taskcluster.yml Bug 1470886 - only produce tasks for recognized tasks_for; r=tomprince 2018-07-03 18:07:42 +00:00
.yamllint
.ycm_extra_conf.py
AUTHORS Bug 1481409 - Use HTTPS protocol for Mozilla's Credits link in AUTHORS file r=mossop 2018-08-13 16:39:30 +00:00
CLOBBER Bug 1346211 - Part 7: Clobber after modifying ICU data file. r=clobber 2018-08-17 14:30:37 -07:00
Cargo.lock Bug 1484459: Update num-traits in style. r=me 2018-08-18 19:07:05 +02:00
Cargo.toml Bug 1474871 - Link dump_syms against rustc-demangle. r=ted 2018-07-12 10:23:12 +09:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1473821 - The MOZ_PGO_INSTRUMENTED environment variable is not used anymore so remove all remaining mentions of it r=gps 2018-08-17 16:40:10 +00:00
Pipfile bug 1461992 - update vendored copy of voluptuous to 0.11.5. r=gps 2018-08-06 06:45:33 -04:00
Pipfile.lock bug 1461992 - update vendored copy of voluptuous to 0.11.5. r=gps 2018-08-06 06:45:33 -04:00
README.txt Bug 1460030 - Update the nightly URL in the README.txt file r=kohei 2018-05-08 21:22:10 +02:00
aclocal.m4
build.gradle Backed out changeset d3978309484a (bug 1480920) For Android build bustages CLOSED TREE 2018-08-09 23:59:05 +03:00
client.mk Bug 1461836 - Write out complete configure dependencies from configure for consumption by make and non-make backends. r=mshal 2018-05-21 14:01:50 -07:00
client.py
configure.in
configure.py Bug 1461836 - Write out complete configure dependencies from configure for consumption by make and non-make backends. r=mshal 2018-05-21 14:01:50 -07:00
gradle.properties Bug 1453413 - Use aapt2 to build Firefox for Android. r=mcomella 2018-04-11 09:59:22 -07:00
gradlew
mach
moz.build Bug 1346026 - Vendor pipenv 2018.5.18 and transient dependencies; r=ahal 2018-05-17 19:06:20 +01:00
moz.configure Bug 1481340 - Don't generate combinations of make and tup backends in configure. r=gps,firefox-build-system-reviewers 2018-08-10 22:30:35 +00:00
mozilla-config.h.in Bug 1463637: Remove mozilla-config.h hacks for Hunspell extra includes. r=ted 2018-05-22 20:36:39 -07:00
old-configure.in Bug 1484872 - Remove --enable-llvm-hacks. r=froydnj 2018-08-21 08:40:00 +09:00
package-lock.json Bug 1456078 - Upgrade ESLint to version 5.3.0, and eslint-plugin-html to 4.0.5. r=mossop 2018-08-07 14:46:19 +00:00
package.json Bug 1456078 - Upgrade ESLint to version 5.3.0, and eslint-plugin-html to 4.0.5. r=mossop 2018-08-07 14:46:19 +00:00
settings.gradle Bug 1444546 - Part 2: Build annotationProcessors with Gradle. r=jchen 2018-02-22 16:11:14 -08:00
test.mozbuild

README.txt

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly