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
Перейти к файлу
Emilio Cobos Álvarez eadf6ea400 Bug 1562787 - Improve style struct size assertion messages. r=boris
This will display something like:

```
error: static_assert failed due to requirement '528UL <= 504UL' "Style struct became larger than the size limit"
static_assert(Actual <= Limit, "Style struct became larger than the size limit");
^             ~~~~~~~~~~~~~~~
note: in instantiation of template class 'AssertSizeIsLessThan<nsStylePosition, 528, 504>' requested here
STYLE_STRUCT_RESET(Position)
^
note: expanded from macro 'STYLE_STRUCT_RESET'
		     ^
note: expanded from macro 'STYLE_STRUCT'
static_assert(AssertSizeIsLessThan<nsStyle##name_, sizeof(nsStyle##name_), kStyleStructSizeLimit>::instantiate, "");
```

Which includes both the size, the limit, and the struct name, as opposed to the
current:

```
error: static_assert failed due to requirement 'sizeof(nsStylePosition) <= kStyleStructSizeLimit' "nsStylePosition became larger than the size limit"
STYLE_STRUCT_RESET(Position)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: expanded from macro 'STYLE_STRUCT_RESET'
		     ^~~~~~~~~~~~~~~~~~
note: expanded from macro 'STYLE_STRUCT'
static_assert(sizeof(nsStyle##name_) <= kStyleStructSizeLimit, \
```

Which only includes the name and thus isn't very useful.

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

--HG--
extra : moz-landing-system : lando
2019-07-02 18:14:19 +00:00
.cargo Bug 1559099: Bump Cranelift in Spidermonkey to e455f6ae; r=lth 2019-06-28 15:25:47 +02:00
.vscode Bug 1543529 - Stop recommending VSCode plugin "Babel ES6/ES7" r=jya 2019-04-11 03:31:54 +00:00
accessible Bug 1559975 - Make directories python3 compatible r=catlee 2019-07-02 15:47:34 +00:00
browser Bug 1522012 - Implement Touch Bar's native customization window and remove ui.touchbar.layout preference. r=spohl,mikedeboer,fluent-reviewers,Pike 2019-07-02 14:47:07 +00:00
build Bug 1557338 - Fix up TestSprintfLiteral.cpp for warnings on clang trunk r=andi 2019-07-01 21:37:44 +00:00
caps Bug 1547707 - Add in origin attributes to ExpandedPrincipal serialization. r=ckerschb 2019-06-05 11:27:16 +00:00
chrome Bug 1536744 - Remove nsIProtocolHandler.newURI r=baku 2019-05-28 13:49:27 +00:00
config Bug 1557762 - ensure we define NS_FREE_PERMANENT_DATA for single-stage pgo builds, r=chmanchester 2019-06-28 16:38:14 +00:00
devtools Bug 1559975 - Make directories python3 compatible r=catlee 2019-07-02 15:47:34 +00:00
docshell Bug 1551601 - When performing a cross process redirect update the loadInfo to have the correct browsingContext r=nika 2019-06-30 20:20:51 +00:00
dom Bug 1552607 - p2: check sample session ID when processing buffers. r=jya 2019-07-02 18:12:44 +00:00
editor Backed out changeset c68a6b2e0157 (bug 1557371) for causing failures in reftest/content/bugs/272646-1.xul CLOSED TREE 2019-07-02 06:01:31 +03:00
extensions Bug 1444847 - part 3: Create `RangeUtils` to place public static methods of `nsRange` r=smaug 2019-06-28 07:48:07 +00:00
gfx Bug 1562812 - For powerPreference:Default, only keep dGPU active for consistently active contexts. r=lsalzman 2019-07-02 16:45:22 +00:00
gradle/wrapper Bug 1509572 - Part 1: Bump Gradle wrapper to 4.10.2; decouple script from Gradle version. r=snorp 2018-11-26 21:42:27 +00:00
hal Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-05-25 17:46:15 +00:00
image Bug 1562159. Restore second copy of test because pref is different second time. 2019-06-29 00:17:30 +00:00
intl Bug 1558602 - Allow DocumentL10n to use LocalizationSync. r=smaug,Pike 2019-07-01 17:56:57 +00:00
ipc Backed out 15 changesets (bug 1479960, bug 1426526, bug 1534780, bug 1536697) for toolchain bustages on UniquePtrExtensions.h . CLOSED TREE 2019-06-28 22:42:00 +03:00
js Merge mozilla-central to autoland. On a CLOSED TREE 2019-07-02 19:49:42 +03:00
layout Bug 1562787 - Improve style struct size assertion messages. r=boris 2019-07-02 18:14:19 +00:00
media Bug 1552607 - p2: check sample session ID when processing buffers. r=jya 2019-07-02 18:12:44 +00:00
memory Bug 1559975 - enable py2 and py3 linting in memory r=ahal 2019-06-28 18:53:28 +00:00
mfbt Bug 1561866 - Refactor HashTable move constructor/assignment operator as per review comments, missed from previous push r=jwalden 2019-07-02 10:55:29 +01:00
mobile Bug 1552607 - p2: check sample session ID when processing buffers. r=jya 2019-07-02 18:12:44 +00:00
modules Bug 1522012 - Implement Touch Bar's native customization window and remove ui.touchbar.layout preference. r=spohl,mikedeboer,fluent-reviewers,Pike 2019-07-02 14:47:07 +00:00
mozglue Bug 1545582 - Integrate JavaScript memory allocation tracking to the profiler; r=canaltinova 2019-07-01 21:53:11 +00:00
netwerk Bug 1559865 - No need to set offline flag in ChildDNSService r=dragana 2019-06-28 06:44:03 +00:00
nsprpub Bug 1526010, NSPR 4.21 RTM, r=me 2019-03-07 11:16:36 +01:00
other-licenses Bug 1553537 Part 2 - Port the InetBgDL plugin to Visual Studio 2019. r=agashlin 2019-06-25 00:34:13 +00:00
parser Bug 1559008. Load catalog DTDs even if we don't have a useful DTD URI, since we ignore that URI anyway when we find a catalog DTD. r=peterv 2019-06-24 12:45:22 +00:00
python Bug 1555788 - Migrate about preferences home content to use fluent r=fluent-reviewers,Mardak,pdahiya,flod 2019-07-02 17:25:55 +00:00
remote Bug 1560301 - Implement very minimal support of browser context. r=remote-protocol-reviewers,ato 2019-07-02 12:40:58 +00:00
security Merge mozilla-inbound to mozilla-central. a=merge 2019-07-02 12:38:01 +03:00
services No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM 2019-07-01 13:15:39 +00:00
servo Bug 1561283 - Don't optimize out recascading of children when becoming or stopping being display: contents. r=dholbert 2019-07-01 21:39:47 +00:00
startupcache Bug 1554162 - Enable ESLint for startupcache/. r=froydnj 2019-05-25 02:07:26 +00:00
storage Bug 1516333 - Part 1: Move group and origin re-escaping from QuotaManager::GetQuotaObject to GetQuotaObjectFromNameAndParameters in TelemetryVFS.cpp; r=janv,asuth 2019-06-07 08:04:57 +02:00
taskcluster Bug 1560134: Use built-in/succeed worker type for dummy jobs; r=dustin 2019-07-02 17:05:23 +00:00
testing Bug 1557185 - part3 : enable wpt 'too_many_cues.html' and 'too_many_cues_wrapped.html'. r=heycam 2019-07-02 04:53:18 +00:00
third_party Bug 1559099: Bump Cranelift in Spidermonkey to e455f6ae; r=lth 2019-06-28 15:25:47 +02:00
toolkit Bug 1560171 - Merge SelectParent.jsm and SelectParentHelper.jsm files. r=NeilDeakin 2019-07-02 13:25:41 +00:00
tools Bug 1559975 - convert testing/tps to python3 r=ahal 2019-07-02 18:04:40 +00:00
uriloader Bug 1560040 - Introduce 2 new URL-Classifier features to annotate and block social trackers, r=dimi 2019-06-22 16:53:50 +00:00
view Bug 1550422 - P23. Remove now unused gfxPrefs. r=jrmuizel 2019-05-26 14:31:53 +00:00
widget Bug 1522012 - Implement Touch Bar's native customization window and remove ui.touchbar.layout preference. r=spohl,mikedeboer,fluent-reviewers,Pike 2019-07-02 14:47:07 +00:00
xpcom Bug 1083971 - Added a new line in xpcom/ds/tools/make_dafsa.py to fix lint failure 2019-07-02 16:04:46 +03:00
xpfe/appshell Bug 1557887 - Part 3: Extend nsIDocShell.createAboutBlankContentViewer() to accept a storage principal argument; r=baku 2019-06-12 09:04:24 +00:00
.arcconfig Bug 1460463 - Update .arcconfig to make history mutable; r=gps 2018-05-09 23:49:52 +00:00
.clang-format Bug 1547143 - Force the pointer style declaration r=Ehsan 2019-05-01 08:46:08 +00:00
.clang-format-ignore Bug 1554063 - Move decimal to mozglue. r=jwalden 2019-05-29 06:57:28 +00:00
.cron.yml Bug 1554608 Schedule raptor fennec v64 tests in CI r=dustin,tomprince 2019-06-03 13:59:18 +00:00
.eslintignore Bug 1532935 - Enable ESLint for dom/promise (manual changes). r=mccr8 2019-06-25 20:12:47 +00:00
.eslintrc.js Bug 1556844 - Enable more ESLint rules for netwerk, (auto & manual) fixes & format changes , r=dragana 2019-06-21 20:13:40 +00:00
.flake8 Bug 1542963 - Fix most flake8 issues in python/mozbuild/mozbuild/* r=firefox-build-system-reviewers,chmanchester 2019-05-28 14:22:20 +00:00
.gdbinit Bug 1486903 - Add "ftl" command to dump frame subtree to .gdbinit. r=Ehsan 2018-08-28 20:20:21 +00:00
.gdbinit_python Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
.git-blame-ignore-revs No Bug - Ignore Bug 1519636 in blame/annotate. r=sylvestre 2019-04-30 11:41:02 +00:00
.gitignore Bug 1558271 - Update mozilla/browsertime snapshot to b8c1becaee74970a6f6e4222a64d1e2e18f20cd6 r=nalexander 2019-06-10 21:03:22 +00:00
.hg-annotate-ignore-revs Bug 1554625 - Add more commits to the hg ignore list r=marco 2019-05-28 15:32:37 +00:00
.hg-format-source Bug 1511181 - Quick fix for .hg-format-source that has an empty line. r=ehsan, a=aryx 2018-11-30 13:25:44 +02:00
.hgignore Bug 1556760 Organize the test ini file in folders r=perftest-reviewers,alexandru.irimovici,AlexandruIonescu 2019-06-19 07:44:35 +00:00
.hgtags No bug - Tagging mozilla-central adc59d50adf815ad6764ff235f833a5ba74291b6 with FIREFOX_BETA_69_BASE a=release DONTBUILD CLOSED TREE 2019-07-01 08:44:11 +00: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
.prettierignore Bug 1556013 - Add prettier to the top-level eslint config, r=Standard8 2019-06-07 14:20:09 +00:00
.prettierrc Bug 1551218 - Part 3: Add a top-level .prettierrc and reformat the debugger, r=jlast 2019-05-17 15:51:36 +00:00
.taskcluster.yml Bug 1547724 - send cron failure notifications to sheriffs / ciduty r=aryx 2019-05-16 15:37:05 +00:00
.trackerignore Bug 1486468 - Add .trackerignore file to avoid GNOME Tracker indexing mozilla-central files. r=ahal 2018-08-27 16:45:03 +02:00
.yamllint Bug 1392795 - [yamllint] Group paths to lint by their closest config and run each config group separately, r=dustin 2017-08-23 11:28:28 -04:00
.ycm_extra_conf.py Bug 1522135 - Make .ycm_extra_conf.py work with python3. r=jgraham 2019-01-24 13:51:28 +01:00
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 1555661 - Fix client code inclusion in Google urls. r=daleharvey 2019-05-31 12:56:59 +00:00
Cargo.lock Bug 1559099: Bump Cranelift in Spidermonkey to e455f6ae; r=lth 2019-06-28 15:25:47 +02:00
Cargo.toml Bug 1559099: Bump Cranelift in Spidermonkey to e455f6ae; r=lth 2019-06-28 15:25:47 +02:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1557785 - Process install manifests in 3-tier Windows builds; r=firefox-build-system-reviewers,chmanchester 2019-06-19 22:06:14 +00:00
README.txt Bug 1480997 - Remove "Mozilla FTP server" link in README.txt r=mossop 2018-10-23 10:06:29 +00:00
aclocal.m4 Bug 1557583 - Add a --enable-frame-pointers option. r=chmanchester 2019-06-12 22:30:46 +00:00
build.gradle Bug 1391438 - Support FIDO2 for WebAuthn on Android r=snorp,keeler 2019-05-10 16:40:17 +00:00
client.mk Bug 1498031 - Merge code paths for running configure between Tup and Make based backends. r=firefox-build-system-reviewers,mshal 2018-10-16 22:21:36 +00:00
client.py Bug 1399100 - fix client.py follow-up, r=kaie 2017-09-20 09:13:14 +02:00
configure.in
configure.py Bug 1547730 - Add six to path when running configure. r=glandium 2019-05-28 14:23:35 +00:00
gradle.properties Bug 1527896 - Increase Gradle heaps to handle large assets. r=nalexander 2019-02-14 18:21:13 +00:00
gradlew
gradlew.bat Bug 1527796 - Part 3. Use gradlew.bat on Windows. r=nalexander 2019-02-26 11:06:12 +09:00
mach
moz.build Bug 1560425 - Remove old performance measurement API r=jorendorff 2019-07-02 14:37:17 +00:00
moz.configure Bug 1560340 - Only add confvars.sh as a dependency to config.status when it exists. r=chmanchester 2019-06-20 18:43:25 +00:00
mozilla-config.h.in Bug 1504022 - Map GetExceptionCode to a nop to avoid an error r=bobowen 2018-11-02 13:28:01 -05:00
old-configure.in Bug 1558977 - Upgrade NSS 3.45 r=keeler 2019-06-12 23:22:22 +00:00
package-lock.json Bug 1494796 - Removing threadClient specifics from DebuggerClient Special case resume; r=jdescottes,jlast 2019-06-14 04:24:17 +00:00
package.json Bug 1494796 - Removing threadClient specifics from DebuggerClient Special case resume; r=jdescottes,jlast 2019-06-14 04:24:17 +00:00
settings.gradle Bug 1543982 - Part 1: Avoid re-configuring from within Gradle. r=emilio 2019-05-09 20:38:48 +00: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.]

Nightly development builds can be downloaded from:

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

Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy.