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
Go to file
Emilio Cobos Álvarez f032c0c3c9 Bug 1646256 - Make rust-analyzer and YouCompleteMe work with mozilla-central. r=sylvestre
The default configuration recommended here[1], while being a good
generic default, it doesn't quite work for mozilla-central as that peeks
the closest ancestor directory with a `Cargo.toml`.

For example, when editing under `servo/components/style`, it'd try to
use that directory as a project root and fail like:

```
    0: Failed to run `cargo metadata --manifest-path /home/emilio/src/moz/gecko/servo/components/style/Cargo.toml`
    1: Error during execution of `cargo metadata`:     Updating crates.io index
       error: failed to get `servo_atoms` as a dependency of package `style v0.0.1 (/home/emilio/src/moz/gecko/servo/components/style)`
       Caused by:
         failed to load source for dependency `servo_atoms`
```

Instead, we want to override it using the `'project_directory'` setting
so that we hit this path[2] and it works out of the box.

[1]: https://rust-analyzer.github.io/manual.html#youcompleteme
[2]: 63db7ea379/ycmd/completers/language_server/language_server_completer.py (L1914-L1916)

Differential Revision: https://phabricator.services.mozilla.com/D79938
2020-06-17 17:53:56 +00:00
.cargo Bug 1644698 - Part 1: Update ScriptStencil structs. r=jorendorff 2020-06-15 15:47:21 +00:00
.vscode Bug 1645020 - Add rust-analyzer as a default plugin to vscode. r=jya 2020-06-12 10:41:36 +00:00
accessible Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp 2020-06-17 17:17:16 +00:00
browser Bug 1639980 - Hide Pocket saved pages if Pocket is disabled. r=Mardak 2020-06-17 17:22:20 +00:00
build Bug 1646158 - Fix StringRef conversions in clang-plugin for clang 11 r=static-analysis-reviewers,andi 2020-06-17 15:56:44 +00:00
caps Backed out 2 changesets (bug 1626335) for xpcshell failures on test_cookies_thirdparty.js. CLOSED TREE 2020-06-10 01:16:00 +03:00
chrome Bug 1645982 - Rename some service getters in Services.py to better match the types. r=froydnj 2020-06-16 23:32:21 +00:00
config Bug 1645464 - Use a shared ProfilingCategoryList.h r=gerald,froydnj 2020-06-15 13:59:55 +00:00
devtools Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp 2020-06-17 17:17:16 +00:00
docs Bug 1646256 - Make rust-analyzer and YouCompleteMe work with mozilla-central. r=sylvestre 2020-06-17 17:53:56 +00:00
docshell Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp 2020-06-17 17:17:16 +00:00
dom Bug 1645406 - Remove getContentBlockingAllowListPrincipalFromWindow from mozIThirdPartyUtil.idl r=timhuang,necko-reviewers 2020-06-17 15:34:21 +00:00
editor Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp 2020-06-17 17:17:16 +00:00
extensions Bug 1603712 - Remove intl.charset.detector.ng.enabled pref and resulting dead code. r=Gijs,fluent-reviewers,valentin,m_kato 2020-06-15 15:32:21 +00:00
gfx Bug 1646051 [Wayland] Use dmabuf video textures when vaapi is enabled, r=jhorak 2020-06-17 06:54:07 +00:00
gradle/wrapper
hal Bug 1637452: Part 2 - Fix JNI includes in hal/android; r=geckoview-reviewers,agi 2020-05-15 17:04:12 +00:00
image Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp 2020-06-17 17:17:16 +00:00
intl Bug 1642934: Automatically determine current CLDR version when updating langtags. r=jwalden 2020-06-12 11:19:50 +00:00
ipc Backed out 4 changesets (bug 1638925) for build bustages at ipc_channel_posix.cc. CLOSED TREE 2020-06-17 20:28:41 +03:00
js Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp 2020-06-17 17:17:16 +00:00
layout Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp 2020-06-17 17:17:16 +00:00
media Bug 1646150: removed unused libwebrtc sctp code. r=ng 2020-06-16 20:02:30 +00:00
memory Bug 1553717 - Use Randomization on all arenas in non-Content Processes. r=glandium 2020-05-13 08:31:04 +00:00
mfbt Backed out changeset 186d892dc218 (bug 1646391) for causing bustages in TestReverseIterator.cpp 2020-06-17 20:08:01 +03:00
mobile Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp 2020-06-17 17:17:16 +00:00
modules Bug 1642708 - Remove code guarded by JS_BUILD_BINAST r=arai 2020-06-17 14:26:09 +00:00
mozglue Bug 1645469 - Add profiler subcategories for SpiderMonkey JITs. r=jandem,gerald 2020-06-15 14:56:50 +00:00
netwerk Bug 1645406 - Remove getContentBlockingAllowListPrincipalFromWindow from mozIThirdPartyUtil.idl r=timhuang,necko-reviewers 2020-06-17 15:34:21 +00:00
nsprpub Bug 1640515 - Use NSPR 4.26 dev snapshot 540d11354ce93cb9024dfae5df3266214a8561ca. r=kjacobs 2020-06-02 22:06:00 +00:00
other-licenses Bug 1634535 - Move ply to third_party/python r=glandium 2020-05-05 16:02:02 +00:00
parser Bug 1603712 - Remove intl.charset.detector.ng.enabled pref and resulting dead code. r=Gijs,fluent-reviewers,valentin,m_kato 2020-06-15 15:32:21 +00:00
python Bug 1646431 - Fix type error in mach file-info bugzilla-component r=nalexander 2020-06-17 17:16:06 +00:00
remote Bug 1645541, use outerWindowId from the windowGlobal instead of using the Browser:Init message, Also makes the BrowserTab actor specific to the main browser, r=mconley,remote-protocol-reviewers,maja_zf 2020-06-17 15:01:28 +00:00
security Backed out changeset da7cbff78183 (bug 1639284) for causing failures in test_engine_selector_remote_settings.js 2020-06-17 20:51:02 +03:00
services Backed out changeset da7cbff78183 (bug 1639284) for causing failures in test_engine_selector_remote_settings.js 2020-06-17 20:51:02 +03:00
servo Bug 1636205 - Remove StyleFontSize enum from nsStyleConsts.h. r=emilio 2020-06-17 11:08:44 +00:00
startupcache Bug 1645982 - Rename some service getters in Services.py to better match the types. r=froydnj 2020-06-16 23:32:21 +00:00
storage Bug 1643491 - Check for cancellation in SQLITE_BUSY loop r=mak 2020-06-09 19:47:53 +00:00
taskcluster Bug 1642708 - Stop running BinAST tests in automation r=perftest-reviewers,Bebe,sfink 2020-06-17 13:57:04 +00:00
testing Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp 2020-06-17 17:17:16 +00:00
third_party Bug 1646299 - Update yamllint to 1.23 r=Callek 2020-06-17 13:31:01 +00:00
toolkit Backed out changeset da7cbff78183 (bug 1639284) for causing failures in test_engine_selector_remote_settings.js 2020-06-17 20:51:02 +03:00
tools Bug 1646299 - Display the yamllint version in verbose mode r=Callek 2020-06-17 13:32:47 +00:00
uriloader Backed out 2 changesets (bug 1603542) for causing assertion failures in Loader.cpp CLOSED TREE 2020-06-17 18:37:45 +03:00
view
widget Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp 2020-06-17 17:17:16 +00:00
xpcom Backed out 4 changesets (bug 1638925) for build bustages at ipc_channel_posix.cc. CLOSED TREE 2020-06-17 20:28:41 +03:00
xpfe/appshell Bug 1645339 - Use range-based for with nsTObserverArray in xpfe. r=smaug 2020-06-16 10:16:46 +00:00
.arcconfig
.babel-eslint.rc.js
.clang-format
.clang-format-ignore Bug 1642493: Apply clang-format to shim files r=mgaudet 2020-06-04 14:35:05 +00:00
.cron.yml Bug 1644993 - Add a non-standard prefix field to mozperftest data. r=mozperftest-reviewers,tarek 2020-06-11 14:38:53 +00:00
.eslintignore Bug 1596691 - Add a JSParser target to fuzz-tests. r=jandem 2020-06-02 13:50:23 +00:00
.eslintrc.js Bug 1596160: Re-enable eslint rules within layout and address eslint failures in testcases r=dholbert 2020-06-09 15:27:37 +00:00
.flake8 Bug 1642121 - Remove directory dependence of GDB init files. r=nalexander 2020-06-16 15:45:43 +00:00
.git-blame-ignore-revs Bug 1633969 - Refresh .git-blame-ignore-revs. r=sylvestre 2020-04-30 16:38:19 +00:00
.gitattributes
.gitignore Bug 1643098 - Ignore Emacs project sentinel .projectile files. r=froydnj 2020-06-03 19:46: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 1632710 - [puppeteer] vendor v3.1.0 r=remote-protocol-reviewers,whimboo,jgraham 2020-06-05 18:53:38 +00:00
.hgtags No bug - tagging 702ad0fa15860f6ea37effdcb45973cc63d3125b with FIREFOX_NIGHTLY_78_END a=release DONTBUILD CLOSED TREE 2020-06-01 10:15:48 +00:00
.lldbinit
.mailmap
.prettierignore
.prettierrc
.taskcluster.yml Bug 1628832: [KaiOS] Factor out trust-domain in .taskcluster.yml; r=Callek 2020-05-14 18:47:47 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py Bug 1646256 - Make rust-analyzer and YouCompleteMe work with mozilla-central. r=sylvestre 2020-06-17 17:53:56 +00:00
aclocal.m4 Bug 1635764 - Move --with-system-icu and --with-intl-api to python configure. r=firefox-build-system-reviewers,rstewart 2020-05-29 21:29:52 +00:00
AUTHORS
build.gradle Bug 1641983 - Update apilint to 0.3.0. r=snorp 2020-06-01 15:58:01 +00:00
Cargo.lock Bug 1642708 - Remove BinAST Rust modules r=arai,emilio 2020-06-17 13:57:07 +00:00
Cargo.toml Bug 1642708 - Remove BinAST Rust modules r=arai,emilio 2020-06-17 13:57:07 +00:00
client.mk Bug 1633016 - Remove a bunch of references to PYTHON(2) in Makefiles r=glandium 2020-05-05 19:53:22 +00:00
client.py Bug 1644665 - client.py: python3 migration r=egao 2020-06-11 15:23:10 +00:00
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2020-06-01 10:15:55 +00:00
configure.in Bug 1644887 - configure calls into $PYTHON3 rather than python3 directly r=glandium 2020-06-10 21:29:27 +00:00
configure.py Bug 1632874: |mach bootstrap| should write mozconfig file if it doesn't exist r=rstewart 2020-06-08 19:36:56 +00:00
GNUmakefile
gradle.properties
gradlew
gradlew.bat
LEGAL
LICENSE
mach Bug 1638985 - Convert 'mach static-analysis' to run with Python 3. r=rstewart 2020-06-11 15:54:29 +00:00
Makefile.in Backed out 4 changesets (bug 1641291) for build bustages and SM failures on a CLOSED TREE 2020-06-03 22:09:52 +03:00
moz.build Bug 1643811 - [ci] Add a SCHEDULES rule to exclusively run browser-chrome tests when '**/test/browser_*' files are modified, r=gbrown,Gijs 2020-06-09 17:14:09 +00:00
moz.configure Backed out 4 changesets (bug 1641291) for build bustages and SM failures on a CLOSED TREE 2020-06-03 22:09:52 +03:00
mozilla-config.h.in
old-configure.in Backed out 4 changesets (bug 1641291) for build bustages and SM failures on a CLOSED TREE 2020-06-03 22:09:52 +03:00
package-lock.json
package.json
README.txt
settings.gradle
substitute-local-geckoview.gradle
test.mozbuild

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.