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
Перейти к файлу
Nicholas Nethercote cecefaa849 Bug 1443706 - Introduce ConstExprHashString(const char16_t*). r=jwalden
This is a `constexpr` alternative to HashString(const char16_t*). We can't make
HashString(const char16_t*) itself `constexpr` because HashUntilZero(const T*)
isn't in a form that older compilers (like GCC 4.9) allow to be made
`constexpr`. (The trick to satisfying those compilers is to use recursion
instead of iteration, to get the function into a single `return` statement.)

This requires making a bunch of other functions `constexpr` as well. It also
requires adding MOZ_{PUSH,POP}_DISABLE_INTEGRAL_CONSTANT_OVERFLOW_WARNING
macros to avoid some MSVC weirdness.

The introduction of RotateLeft5() partly undoes one of the patches from bug
1443342, but that's unavoidable.

This change will help with static allocation of static atoms (bug 1411469).

MozReview-Commit-ID: 7r3PnrQXb29
2018-03-08 10:27:14 +11:00
.cargo Bug 1426116 - Update for changes in WR PR 2251. r=jrmuizel 2018-01-08 09:19:27 -05:00
.vscode Bug 1423565 - Update tasks.json as per documentation. r=rillian 2017-12-06 14:59:35 +01:00
accessible Bug 1445117 - Remove duplicates from nsGkAtoms. r=froydnj 2018-03-14 10:27:25 +11:00
browser Bug 1440573 - Policy: Disable safe mode. r=jimm,felipe 2018-03-15 23:06:22 -03:00
build Merge mozilla-inbound to mozilla-cenral. a=merge 2018-03-13 19:01:32 +02:00
caps Bug 1442716 - [caps] Handle empty origin gracefully in FUZZING. r=baku 2018-03-02 19:48:49 +01:00
chrome Bug 1443079 - nsScriptError.isFromPrivateWindow must match the correct value also in e10s mode, r=smaug 2018-03-13 06:40:38 +01:00
config Bug 1445592 - Generate Ion LOpcodes.h and MOpcodes.h instead of updating them manually. r=nbp,froydnj 2018-03-14 18:58:52 +01:00
db Bug 1442370 - Change SQLITE_TEMP_FILE_PREFIX to a Mozilla unique value. r=asuth 2018-03-01 20:55:18 +01:00
devtools Merge inbound to mozilla-central. a=merge 2018-03-15 12:15:17 +02:00
docshell No bug, update documentation of nsAboutRedirector.cpp that was outdated, rs=Mossop 2018-03-15 18:20:02 +00:00
dom Bug 1445740 - Port EventSource in Web Workers to WorkerRef, r=smaug 2018-03-15 23:05:17 +01:00
editor Bug 1445605: Make GetCSSFloatValue use GetPropertyValue instead of GetPropertyCSSValue. r=masayuki 2018-03-15 18:22:31 +01: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 1442978 - Add words to en-US dictionary. r=ehsan 2018-03-04 18:49:10 +07:00
gfx Bug 1445662 - Update RemoteContentController to allow the GPU process controller thread to be different from the compositor thread. r=rhunt 2018-03-15 15:25:11 -04:00
gradle/wrapper Bug 1411654 - Part 1: Upgrade to Android-Gradle 3.0+ and build-tools;26.0.2. r=maliu 2017-10-26 11:00:36 -07:00
hal Bug 1426936 - When reading the battery capacity on Mac do not assume that a battery is always present; r=dhylands 2018-03-05 23:35:36 +01:00
image Bug 1435291 - Part 2. Make background SVGs use WebRender instead of fallback. r=jrmuizel 2018-03-14 14:19:13 -04:00
intl Bug 1443697 - Fix nits in Fluent for Firefox Developers. r=flod 2018-03-06 17:48:17 -08:00
ipc Merge inbound to mozilla-central. a=merge 2018-03-15 12:15:17 +02:00
js Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-15 12:18:31 +02:00
layout Bug 1425599 - [css-grid] Follow-up bustage fix for stupid compiler warnings. r=me CLOSED TREE 2018-03-15 23:21:41 +01:00
media Bug 1446062: Vorbis fix r=jmspeex a=abillings 2018-03-15 18:12:05 -04:00
memory Bug 1435407 - declare our wrapped delete definitions with noexcept(true); r=glandium 2018-03-13 11:10:06 -05:00
mfbt Bug 1443706 - Introduce ConstExprHashString(const char16_t*). r=jwalden 2018-03-08 10:27:14 +11:00
mobile Bug 1445100 - Remove pageReport property from browser binding. r=Paolo 2018-03-15 17:56:48 +00:00
modules Merge inbound to mozilla-central. a=merge 2018-03-15 12:15:17 +02:00
mozglue Bug 1438678 - Pass early prefs via shared memory instead of the command line. r=bobowen,jld,glandium. 2018-02-16 17:54:16 +11:00
netwerk Backed out changeset 1ec0f839a905 (bug 1086964) for mass Win7 debug test failures. 2018-03-14 20:35:43 -04:00
nsprpub Bug 1432480, land NSPR_4_19_RTM, no code changes, only version numbers. Require version 4.19 for building. r=me 2018-03-05 17:05:18 +01:00
other-licenses Bug 1436475 Part 5 - Add a readme and a patch file with our changes to the 7-zip directory. r=agashlin 2018-02-13 09:17:07 -08:00
parser Bug 1445079 - Remove nsHTMLTags::sTagAtomTable[]. r=froydnj 2018-03-14 09:56:14 +11:00
python Bug 1444881 - Make |mach bootstrap| use the latest version of Oracle's JDK when bootstrapping Fennec on Gentoo; r=nalexander 2018-03-12 14:31:05 +01:00
rdf Bug 1445114 - Move RDF atoms into nsGkAtoms. r=froydnj 2018-03-14 10:27:34 +11:00
security Bug 1445731 - land NSS f0d4789c8916 UPGRADE_NSS_RELEASE, r=me 2018-03-15 09:00:48 -07:00
services Bug 1031855 - Add test that sync password application does the right thing for duplicates. r=markh 2018-03-07 13:01:12 -08:00
servo servo: Merge #20302 - Include some traversal statistics in style tracing marker (from upsuper:traversal-stats); r=bholley 2018-03-14 21:01:08 -04:00
startupcache Bug 1439047 - Part 2: Cleanup StartupCache::PutBuffer hashtable usage. r=froydnj 2018-02-16 15:58:30 -08:00
storage Bug 1422327 - Clean up storage::Connection::Release. r=mak 2018-02-25 23:50:42 -05:00
taskcluster Merge inbound to mozilla-central. a=merge 2018-03-14 12:00:13 +02:00
testing Bug 1440573 - Policy: Disable safe mode. r=jimm,felipe 2018-03-15 23:06:22 -03:00
third_party Merge mozilla-inbound to mozilla-central. a=merge on a CLOSED TREE 2018-03-09 21:33:50 +02:00
toolkit Bug 1440573 - Policy: Disable safe mode. r=jimm,felipe 2018-03-15 23:06:22 -03:00
tools Bug 1445269 - Refresh tools/rewriting/ThirdPartyPaths.txt r=tjr 2018-03-13 15:59:21 +01:00
uriloader Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
view Bug 1423551: Use BaseRect access methods instead of member variables in view/. r=jet 2018-01-10 11:16:22 -05:00
widget Bug 1445662 - Ensure ZoomToRect runs on the controller thread. r=rhunt 2018-03-15 15:25:10 -04:00
xpcom Merge inbound to mozilla-central. a=merge 2018-03-15 12:15:17 +02:00
xpfe Bug 1439875: Size the XUL window before doing layout. r=smaug 2018-03-15 21:19:50 +11:00
.arcconfig Bug 1424950: Add missing repository.callsign to .arcconfig. r=dkl 2017-12-13 15:38:18 +01:00
.clang-format
.clang-format-ignore Bug 1445269 - Refresh tools/rewriting/ThirdPartyPaths.txt r=tjr 2018-03-13 15:59:21 +01:00
.cron.yml Bug 1418188 - Run Searchfox indexing in TaskCluster on a daily basis (r=dustin,chmanchester) 2017-11-23 07:25:12 -08:00
.eslintignore Bug 1433133 - remove old about:newtab code, r=florian 2018-03-06 17:37:31 +00:00
.eslintrc.js Bug 1434446 - Enable no-unused-vars for global scope on jsm files in browser/. r=mossop 2018-03-01 20:06:06 +00:00
.flake8 Bug 1434430 - [flake8] Fix blank 'except' statements r=rwood 2018-01-31 14:32:08 -05:00
.gdbinit
.gdbinit_python
.gitignore Bug 1439727 - Ignore third_party/python/psutil/tmp/ in VCS; r=nalexander 2018-03-07 08:59:48 -08:00
.hgignore Bug 1439727 - Ignore third_party/python/psutil/tmp/ in VCS; r=nalexander 2018-03-07 08:59:48 -08:00
.hgtags No bug - Tagging mozilla-central fdd1a0082c71673239fc2f3a6a93de889c07a1be with FIREFOX_NIGHTLY_60_END a=release DONTBUILD CLOSED TREE 2018-03-12 13:18:08 +00:00
.inferconfig
.lldbinit
.mailmap NO BUG - Use ato's new address. r=me 2018-02-26 15:59:29 +00:00
.taskcluster.yml Bug 1437562: only use ..:branch:default role, not :*; r=bstack 2018-02-12 18:58:05 +00:00
.yamllint
.ycm_extra_conf.py
AUTHORS
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2018-03-12 13:20:48 +00:00
Cargo.lock No bug - update euclid and revendor rust dependencies. r=me on a CLOSED TREE 2018-03-09 13:01:42 +01:00
Cargo.toml Bug 1444174 - point people away from Cargo.toml for opt-level settings of Rust code; r=nalexander 2018-03-09 09:31:17 -05:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Backed out changeset 2d981ccf4c2e (bug 1298328) for failing X tests on /experiments/test/xpcshell/test_conditions.js on a CLOSED TREE 2018-03-09 01:53:26 +02:00
README.txt
aclocal.m4
build.gradle Bug 1439410 - 1. Enable Kotlin for geckoview tests; r=nalexander 2018-02-22 18:39:11 -05:00
client.mk
client.py
configure.in
configure.py
gradle.properties Bug 1411654 - Part 2: Update Robolectric to 3.5.1. r=mcomella 2017-11-07 20:26:43 -08:00
gradlew
mach
moz.build Bug 1381576 - Use a Cargo workspace for rust crates. r=ted 2018-03-01 14:33:35 -08:00
moz.configure Bug 1435424 - Remove doxygen support from the build system. r=gps 2018-02-02 14:24:18 -08:00
mozilla-config.h.in Bug 1431803 Turn __try into if(true) and __except into else in the chromium sandbox code r=bobowen,glandium 2018-01-22 12:18:51 -06:00
npm-shrinkwrap.json Bug 1439949 - Update eslint to 4.18.1 to support async iteration. r=mossop 2018-02-21 16:00:24 +00:00
old-configure.in Bug 1340588 - enable clang-cl to generate depfiles directly, rather than using a wrapper; r=build-peer 2018-03-13 09:06:00 -05:00
package.json Bug 1439949 - Update eslint to 4.18.1 to support async iteration. r=mossop 2018-02-21 16:00:24 +00:00
settings.gradle
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://nightly.mozilla.org/