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
Перейти к файлу
Markus Stange 7c4a6b32f3 Bug 1634784 - Remove #ifdef MOZ_GECKO_PROFILER wrappers in mozglue/baseprofiler cpp files, and reorder includes. r=gerald
I apologize for mixing multiple types of changes in this patch. The mix is probably harder to review than necessary.

Because of the way these .cpp files are listed in mozglue/baseprofiler/moz.build,
they are only built when MOZ_GECKO_PROFILER is set. So the #ifdef MOZ_GECKO_PROFILER
wrapper is now unnecessary.
Removing this wrapper has many knock-on effects on other lines in these files
due to preprocessor line indentation.

As I was removing the #ifdefs, I was reordering includes as well, to follow the
include order laid out on https://google.github.io/styleguide/cppguide.html#Names_and_Order_of_Includes ;
namely, system headers should go before "your project's" .h files.

I also removed the BaseProfiler.h include from some files but not from all.
In the past, the BaseProfiler.h include served the purpose of picking up the
MOZ_BASE_PROFILER #define, and it's no longer needed for that reason.
There are probably lots of now-unnecessary BaseProfiler.h includes left.

Differential Revision: https://phabricator.services.mozilla.com/D73527
2020-05-05 22:00:49 +00:00
.cargo Bug 1631965 - Vendor Rust. r=chunmin 2020-05-05 21:13:53 +00:00
.vscode
accessible Bug 1631568 - Have nsLayoutUtils::GetFrameForPoint() and GetFramesForArea() take a RelativeTo parameter. r=tnikkel 2020-05-05 15:24:12 +00:00
browser Bug 1635154 - Add a yandex/ua search engine locale in preparation for distributions. r=daleharvey" -a 2020-05-05 21:05:45 +00:00
build Bug 1635514 - Delete tup CI/configure stuff r=froydnj 2020-05-05 18:34:16 +00:00
caps Backed out changeset 8a194fc3bf96 (bug 1634411) for causing perma bc2 failure in browser/components/originattributes/test/browser/browser_postMessage.js CLOSED TREE 2020-04-30 19:08:34 +03:00
chrome Bug 1536556 - Replace raw thrown Cr.ERRORs with Components.Exception. r=mossop,remote-protocol-reviewers,marionette-reviewers,whimboo,necko-reviewers,geckoview-reviewers,valentin,agi 2020-05-05 17:41:36 +00:00
config Bug 1632434 - Part 2: Update ICU data file again to tzdata 2020a. r=jwalden 2020-04-29 23:47:39 +00:00
devtools Bug 1602075 - add an accessibility-panel-auto-init feature to control the panel auto enabling functionality. r=mythmon,mtigley 2020-05-05 21:13:38 +00:00
docs Bug 1536556 - Extend no-throw-cr-literal ESLint rule to forbid and fix `throw new Error(Cr.ERROR);`. r=Standard8 2020-05-05 17:43:39 +00:00
docshell Bug 1536556 - Replace raw thrown Cr.ERRORs with Components.Exception. r=mossop,remote-protocol-reviewers,marionette-reviewers,whimboo,necko-reviewers,geckoview-reviewers,valentin,agi 2020-05-05 17:41:36 +00:00
dom Bug 1626364: Report errors in VideoToolkit h264 decode PlatformCallback. r=jya 2020-04-20 16:25:15 +00:00
editor Bug 1634663: part 3) Declare callers of `Selection::GetRangeAt` in spellchecking code `const`. r=masayuki 2020-05-02 23:45:59 +00:00
extensions Bug 1536556 - Replace raw thrown Cr.ERRORs with Components.Exception. r=mossop,remote-protocol-reviewers,marionette-reviewers,whimboo,necko-reviewers,geckoview-reviewers,valentin,agi 2020-05-05 17:41:36 +00:00
gfx Bug 1631568 - Have nsLayoutUtils::GetFrameForPoint() and GetFramesForArea() take a RelativeTo parameter. r=tnikkel 2020-05-05 15:24:12 +00:00
gradle/wrapper
hal Bug 1626570 - Improve handling of copying arrays in hal/. r=gsvelto 2020-05-05 10:14:24 +00:00
image Bug 1536556 - Replace raw thrown Cr.ERRORs with Components.Exception. r=mossop,remote-protocol-reviewers,marionette-reviewers,whimboo,necko-reviewers,geckoview-reviewers,valentin,agi 2020-05-05 17:41:36 +00:00
intl Bug 1626570 - Improve handling of copying arrays in intl/. r=emilio 2020-05-05 10:42:23 +00:00
ipc Bug 1626570 - Add CopyableAutoTArray. r=froydnj 2020-05-05 10:56:14 +00:00
js Bug 1618637 - Construct JSFunctions directly with correct nargs in frontend. r=mgaudet 2020-05-05 20:59:59 +00:00
layout Bug 1631568 - Have nsLayoutUtils::GetFrameForPoint() and GetFramesForArea() take a RelativeTo parameter. r=tnikkel 2020-05-05 15:24:12 +00:00
media Bug 1626364: Reinit decoder on error in WebrtcMediaDataDecoder. r=jya 2020-04-27 16:54:37 +00:00
memory Backed out 6 changesets (bug 1632916, bug 1599658, bug 1633037, bug 1633039, bug 1633016, bug 1632920) for SA bustages CLOSED TREE 2020-05-02 01:49:29 +03:00
mfbt Bug 1634003 - Add MovingNotNull class template. r=jwalden 2020-05-05 09:09:13 +00:00
mobile Bug 1635173: Add GeckoSessionTestRule.getSessionPid() to junit; r=agi,geckoview-reviewers 2020-05-05 18:43:56 +00:00
modules Bug 1536556 - Replace raw thrown Cr.ERRORs with Components.Exception. r=mossop,remote-protocol-reviewers,marionette-reviewers,whimboo,necko-reviewers,geckoview-reviewers,valentin,agi 2020-05-05 17:41:36 +00:00
mozglue Bug 1634784 - Remove #ifdef MOZ_GECKO_PROFILER wrappers in mozglue/baseprofiler cpp files, and reorder includes. r=gerald 2020-05-05 22:00:49 +00:00
netwerk Bug 1635193 - StoragePrincipalHelper::GetOriginAttributes instead of NS_GetOriginAttributes, r=timhuang 2020-05-05 20:56:04 +00:00
nsprpub Bug 1600803 - NSPR_4_25_RTM for Firefox 74. r=kjacobs UPGRADE_NSPR_RELEASE 2020-02-03 12:17:20 +00:00
other-licenses Bug 1632463 - Part 1: Pass no window to ExecuteCodeSegment. r=mhowell 2020-04-29 15:39:56 +00:00
parser Bug 1627809 - Rename Document::TriggerInitialTranslation to Document::OnParsingCompleted. r=smaug 2020-04-30 17:56:11 +00:00
python Bug 1635546 - deactivate test under macOS r=sparky 2020-05-05 21:29:00 +00:00
remote Bug 1635496 - [remote] Fixed dispatchMouseEvent to not await undefined promises. r=remote-protocol-reviewers,whimboo 2020-05-05 20:04:16 +00:00
security Bug 1622656 - OSKeyStore.cpp: replace r.size()<1 to r.empty(). r=sylvestre 2020-05-05 18:48:37 +00:00
services Bug 1536556 - Replace raw thrown Cr.ERRORs with Components.Exception. r=mossop,remote-protocol-reviewers,marionette-reviewers,whimboo,necko-reviewers,geckoview-reviewers,valentin,agi 2020-05-05 17:41:36 +00:00
servo Bug 1626570 - Improve handling of copying arrays in layout/style/ and servo/. r=emilio 2020-05-05 10:42:23 +00:00
startupcache Bug 1614795 - use the background task queue for startupcache writes, r=dthayer,decoder 2020-04-15 20:43:44 +00:00
storage Bug 1628715 - Part 15: Replace MOZ_NONNULL_RETURN by returning NotNull<elem_type*>. r=xpcom-reviewers,necko-reviewers,dragana,nika 2020-04-24 13:35:27 +00:00
taskcluster Bug 1635383 - Run yaml linter in parallel r=marco 2020-05-05 11:31:06 +00:00
testing Bug 1599415 trigger `focus` when details summary element is clicked r=TYLin,smaug 2020-05-05 21:09:42 +00:00
third_party Bug 1631965 - Vendor Rust. r=chunmin 2020-05-05 21:13:53 +00:00
toolkit Bug 1635193 - StoragePrincipalHelper::GetOriginAttributes instead of NS_GetOriginAttributes, r=timhuang 2020-05-05 20:56:04 +00:00
tools Bug 1634784 - Remove MOZ_BASE_PROFILER and replace it with MOZ_GECKO_PROFILER everywhere. r=gerald 2020-05-05 21:44:11 +00:00
uriloader Bug 1536556 - Replace raw thrown Cr.ERRORs with Components.Exception. r=mossop,remote-protocol-reviewers,marionette-reviewers,whimboo,necko-reviewers,geckoview-reviewers,valentin,agi 2020-05-05 17:41:36 +00:00
view Bug 1623992 - Automated rewrite from chrome://global/skin/ to chrome://global/skin/global.css in markup r=marionette-reviewers,perftest-reviewers,mossop,whimboo,sparky 2020-04-03 22:23:23 +00:00
widget Bug 1631584 - Add profiler labels for JNI binding method/getter/setter/constructor calls. r=gerald,snorp,geckoview-reviewers 2020-05-05 21:42:21 +00:00
xpcom Bug 1536556 - Replace raw thrown Cr.ERRORs with Components.Exception. r=mossop,remote-protocol-reviewers,marionette-reviewers,whimboo,necko-reviewers,geckoview-reviewers,valentin,agi 2020-05-05 17:41:36 +00:00
xpfe/appshell Bug 1580565 - Part 3: Simplify API for creating independent BCs, r=farre 2020-04-24 18:33:01 +00:00
.arcconfig
.babel-eslint.rc.js Bug 1622328 - add license info to all eslintrc files r=Standard8,webcompat-reviewers,miketaylr 2020-03-19 13:47:51 +00:00
.clang-format
.clang-format-ignore Bug 1466070 - Integrate clang-format into mozlint r=linter-reviewers,ahal 2020-04-15 20:39:32 +00:00
.cron.yml Bug 1630009: Re-use on-push builds for generating conditioned profiles; r=jmaher 2020-04-14 20:23:14 +00:00
.eslintignore Bug 1628982 - Activate the condprofile on desktop + GV r=Bebe,perftest-reviewers,whimboo 2020-04-16 14:01:55 +00:00
.eslintrc.js Bug 1620621 - Unit tests for MLBF-based blocklist r=Gijs 2020-04-30 10:02:37 +00:00
.flake8 Bug 1622687 - toolkit/crashreporter/: Make it flake8 compliant r=gsvelto,rstewart 2020-04-16 14:40:31 +00:00
.gdbinit Bug 1627398 Part 5 - Support dumping frame trees in CSS pixels for gdb and lldb. r=heycam 2020-04-07 23:42:38 +00:00
.gdbinit_python
.git-blame-ignore-revs Bug 1633969 - Refresh .git-blame-ignore-revs. r=sylvestre 2020-04-30 16:38:19 +00:00
.gitattributes
.gitignore Bug 1635514 - Delete tup CI/configure stuff r=froydnj 2020-05-05 18:34:16 +00:00
.hg-annotate-ignore-revs Bug 1633969 - Add a changeset marked as "skip-blame" to .hg-annotate-ignore-revs. r=sylvestre 2020-04-30 16:37:44 +00:00
.hg-format-source
.hgignore Bug 1635514 - Delete tup CI/configure stuff r=froydnj 2020-05-05 18:34:16 +00:00
.hgtags No bug - tagging 5b8406a0446906d7228e5d745549b50a3496dc0f with FIREFOX_NIGHTLY_77_END a=release DONTBUILD CLOSED TREE 2020-05-04 14:53:30 +00:00
.lldbinit Bug 1603804. Move third_party/python/lldbutils to python/lldbutils. r=ahal 2019-12-20 17:10:12 +00:00
.mailmap
.prettierignore Bug 1609671 - Inspect binding should try to get the sourcemapped location while inspecting a function. r=jdescottes,vporof 2020-01-24 12:58:24 +00:00
.prettierrc Bug 1620218 - Update Prettier to 1.18.2 and other ESLint modules to the latest versions. r=mossop 2020-03-08 21:45:23 +00:00
.taskcluster.yml Bug 1626795: Use revision rather than push-id to look up existing tasks; r=aki 2020-04-10 22:29:39 +00:00
.trackerignore
.yamllint Bug 1606009 - Fix & silent some tests r=Callek 2019-12-26 22:13:18 +00:00
.ycm_extra_conf.py Bug 1632497 - Make YouCompleteMe clangd completer work. r=jgraham 2020-04-28 10:08:00 +00:00
AUTHORS
CLOBBER Bug 1632434 - Part 7: Updating ICU requires a clobber. r=jwalden 2020-04-29 23:48:06 +00:00
Cargo.lock Bug 1631965 - Vendor Rust. r=chunmin 2020-05-05 21:13:53 +00:00
Cargo.toml Bug 1618595 - Bump Cranelift to b7cfd39b531680217537cfcf5294a22077a0a58d; r=jseward 2020-04-30 11:57:24 +00:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Backed out 6 changesets (bug 1632916, bug 1599658, bug 1633037, bug 1633039, bug 1633016, bug 1632920) for SA bustages CLOSED TREE 2020-05-02 01:49:29 +03:00
README.txt Bug 1617846 - Replace IRC with matrix.r=firefox-source-docs-reviewers,sylvestre 2020-02-25 11:39:53 +00:00
aclocal.m4
build.gradle Backed out 6 changesets (bug 1632916, bug 1599658, bug 1633037, bug 1633039, bug 1633016, bug 1632920) for SA bustages CLOSED TREE 2020-05-02 01:49:29 +03:00
client.mk Backed out 6 changesets (bug 1632916, bug 1599658, bug 1633037, bug 1633039, bug 1633016, bug 1632920) for SA bustages CLOSED TREE 2020-05-02 01:49:29 +03:00
client.py
configure.in Bug 1627163 - Switch python configure to python 3. r=firefox-build-system-reviewers,rstewart 2020-04-07 18:31:56 +00:00
configure.py Bug 1631633 - Generate config.status deterministically. r=rstewart 2020-04-21 21:32:30 +00:00
gradle.properties
gradlew
gradlew.bat
mach Bug 1635491 - Delete tup backend and `mach analyze` r=froydnj 2020-05-05 17:28:07 +00:00
moz.build Bug 1621095 - add reftest-qr to run focused webrender reftests on android phones. r=bc 2020-04-24 18:54:51 +00:00
moz.configure Bug 1635514 - Delete tup CI/configure stuff r=froydnj 2020-05-05 18:34:16 +00:00
mozilla-config.h.in
old-configure.in Bug 1635271 - Restore CFLAGS to avoid repeat -fPIC flag when running configure after clobber. r=froydnj 2020-05-04 23:13:55 +00:00
package-lock.json Bug 1622717: When parsing an AST allow the chosen parser to override the default scope manager and visitor keys. r=Standard8 2020-03-23 12:58:28 +00:00
package.json Bug 1622717: When parsing an AST allow the chosen parser to override the default scope manager and visitor keys. r=Standard8 2020-03-23 12:58:28 +00:00
settings.gradle
substitute-local-geckoview.gradle Bug 1581979 - Use -SNAPSHOT versions locally to enable the local GeckoView substitution flow. r=nalexander 2019-12-11 21:29:44 +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://firefox-source-docs.mozilla.org/contributing/directory_structure.html

For information on how to build Mozilla from the source code and create the patch see:

    https://firefox-source-docs.mozilla.org/contributing/how_to_contribute_firefox.html

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 on Matrix at chat.mozilla.org in `Introduction` (https://chat.mozilla.org/#/room/#introduction:mozilla.org) channel.


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.