Commit Graph

560 Commits

Author SHA1 Message Date
Simon Friedberger
81ebfde770 Bug 1788671 - Document how to add Services to eslint. r=Standard8 DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D158753
2022-10-07 18:11:17 +00:00
Mike Hommey
46e4b776b5 Bug 1793550 - Make the homebrew python 3.10 problem immediately visible. r=firefox-build-system-reviewers,andi
The problem only happens with homebrew (python.org's build doesn't have
the problem). Many people are hitting it, and we might as well avoid
them the trouble to have to find the documentation and just fail
directly.

Differential Revision: https://phabricator.services.mozilla.com/D158546
2022-10-04 06:50:17 +00:00
Mathew Hodson
929b2a7154 Bug 1776578 - Make no-addtask-setup eslint rule check for init tasks. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D150333
2022-09-26 13:58:49 +00:00
Alexandre Poirot
848e2b334e Bug 1791828 - [devtools] Remove eslint support for DevTools's lazyImporter. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D158004
2022-09-26 10:48:05 +00:00
Mike Hommey
f9a559f1ed Bug 1789507 - Update builders to rustc 1.64. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D157896
2022-09-22 20:51:26 +00:00
Andrew Creskey
e8306f0cbe Bug 1791837 - Add documentation for PerfStats r=jesup DONTBUILD
Initial documentation for new users.

Differential Revision: https://phabricator.services.mozilla.com/D157854
2022-09-21 18:24:42 +00:00
Ted Campbell
95740f9c4c Bug 1791056 - Cleanup peer_emeritus list for JavaScript module. r=jandem,zeid
With great appreciation for their contributions, we move JavaScript peers who
are no longer active on the project to the emeritus list, including: caroline,
luke, sunfish, fitzgen, djvj, waldo. Also sort the peer lists alphabetically
since we never were very consistent about the order we added people.

Differential Revision: https://phabricator.services.mozilla.com/D157504
2022-09-19 12:49:02 +00:00
Ted Campbell
17065996c5 Bug 1791056 - Update module owner metadata for sfink. r=sfink,zeid
Use the correct Bugzilla ID that is tied to phabricator.

Depends on D157502

Differential Revision: https://phabricator.services.mozilla.com/D157503
2022-09-19 12:49:02 +00:00
Ted Campbell
985c168a7d Bug 1791056 - Add owners emeritus data to JavaScript module. r=jandem,zeid
Recognize the previous stewards of SpiderMonkey in the module owners data.

Depends on D157501

Differential Revision: https://phabricator.services.mozilla.com/D157502
2022-09-19 12:49:01 +00:00
Ted Campbell
f8f2557524 Bug 1791056 - Update JavaScript module owner metadata. r=jandem,zeid
Update URL and remove mailing list. Also add missing Bugzilla components
associated with the module.

Differential Revision: https://phabricator.services.mozilla.com/D157501
2022-09-19 12:49:01 +00:00
Nika Layzell
2d7346701a Bug 1789902 - Part 1: Support accessing XPCOM static components from Rust, r=xpcom-reviewers,barret
This will allow us to replace some of the uses of Services.py with the
non-deprecated static components getters.

Differential Revision: https://phabricator.services.mozilla.com/D156890
2022-09-13 13:47:13 +00:00
Mark Banner
186d63f202 Bug 1479515 - Add an ESLint rule to check for valid property accesses on Services. r=Gijs
This is manually run and requires a full build. MOZ_OBJDIR needs to be set to point to the object directory.

Differential Revision: https://phabricator.services.mozilla.com/D156426
2022-09-12 16:38:44 +00:00
Mark Banner
274f8662e6 Bug 1479515 - Extend the ESLint rule for checking Ci properties to check for unknown interfaces as well. r=Gijs,application-update-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D156425
2022-09-12 16:38:44 +00:00
Mark Banner
fd892006be Bug 1479515 - Add an ESLint rule to check for unknown property accesses on Ci. r=Gijs
This is manually run and requires a full build. MOZ_OBJDIR needs to be set to point to the object directory.

Differential Revision: https://phabricator.services.mozilla.com/D156424
2022-09-12 16:38:43 +00:00
Sylvestre Ledru
213c96564a Bug 1787590 - Doc: Remove a 404 link r=jandem DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D157112
2022-09-12 12:37:43 +00:00
Jeff Muizelaar
96a1f531fb Bug 1790069 - Add a section on multiprocess debugging. r=cmartin
Differential Revision: https://phabricator.services.mozilla.com/D156966
2022-09-09 21:26:28 +00:00
Ryan VanderMeulen
bc060567f9 Bug 1788559 - Add scheduled dot release to milestones table. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D156726
2022-09-07 20:37:50 +00:00
Tom Ritter
a992c2e955 Bug 1788046: Fix a dead link in the security documentation r=dveditz DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D155969
2022-09-07 15:22:52 +00:00
Sylvestre Ledru
bab32ef66a Bug 1789204 - Import "avoiding intermittent oranges" from mdn r=marco DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D156408
2022-09-05 12:49:51 +00:00
Sylvestre Ledru
d30cce2512 no bug - Update of the pocket guide r=pascalc DONTBUILD
Depends on D156409

Differential Revision: https://phabricator.services.mozilla.com/D156410
2022-09-05 09:38:51 +00:00
Ryan VanderMeulen
9f92798eb4 Bug 1788559 - Update the Pocket Guide to include mention of planned dot releases. r=sylvestre DONTBUILD
Also do some other miscellaneous clean-ups along the way.

Differential Revision: https://phabricator.services.mozilla.com/D156149
2022-09-02 07:11:32 +00:00
Sylvestre Ledru
d25798f6e6 Bug 1785147 - fix a typo in the doc r=julienw DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D156075
2022-08-31 13:51:30 +00:00
Andrew Halberstadt
8cc7cd659e Bug 1788120 - Add new 'Core: Firefox Source Documentation' module, r=zeid
Differential Revision: https://phabricator.services.mozilla.com/D156008
2022-08-30 20:45:00 +00:00
Kagami Sascha Rosylight
102bd338be Bug 1695435 - Part 2: Add more words to the chrome script heuristic in use-isInstance r=preferences-reviewers,Gijs,webdriver-reviewers,whimboo,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D110932
2022-08-24 22:47:42 +00:00
Zeid
e76495fa20 Bug 1780356: list toplevel at the top of the list r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D154545
2022-08-23 14:16:58 +00:00
Zeid
6775468e9f Bug 1780354: update mots.yaml with better template r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D154544
2022-08-23 14:16:58 +00:00
Marian-Vasile Laza
e9caca8307 Bug 1785311 - lint fix r=fix CLOSED TREE 2022-08-23 03:15:08 +03:00
Chris Martin
454fbbd0c0 Bug 1786419 - Fix macOS X build doc to workaround bad versions of tools r=ahochheiden DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D155291
2022-08-22 22:53:07 +00:00
Kagami Sascha Rosylight
a41415cb68 Bug 1695435 - Part 1: Use isInstance in XUL files r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D154841
2022-08-22 18:34:44 +00:00
Nika Layzell
4011409c5d Bug 1783282 - Use a custom attribute instead of derive for implementing xpcom interfaces in rust, r=xpcom-reviewers,necko-reviewers,dragana,barret
Differential Revision: https://phabricator.services.mozilla.com/D153801
2022-08-18 13:57:35 +00:00
Sylvestre Ledru
128c74caac Bug 1785451 - Ride along: Fix some typos r=linter-reviewers,fluent-reviewers,geckoview-reviewers,extension-reviewers,keeler,rpl,calu,ahal,flod DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D154946
2022-08-18 07:29:08 +00:00
Mike Hommey
555c3cf18f Bug 1695828 - Update the Rust Update Policy to reflect the current practices. r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D154709
2022-08-16 19:54:06 +00:00
Mike Hommey
656eca9622 Bug 1783985 - Bump MSRV to 1.61.0. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D154340
2022-08-16 00:56:23 +00:00
Sylvestre Ledru
6b782ad093 no bug - mots doc: update to use https by default r=zeid DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D154295
2022-08-12 07:28:24 +00:00
André Bargull
60863b7187 Bug 1783404: Support --fix option when eslint-plugin-spidermonkey-js is used. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D153843
2022-08-12 06:10:55 +00:00
Mike Hommey
d7b5eb99c2 Bug 1783782 - Update builders to rustc 1.63.0. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D154177
2022-08-11 19:47:57 +00:00
Max Smolens
8596bc0440 Bug 1617103 - Add documentation for yamllint. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D154108
2022-08-09 19:13:45 +00:00
André Bargull
96daf134a0 Bug 1782491 - Part 1: Add self-hosted code environment plugin. r=tcampbell
Adds a simple ESLint plugin for custom environments.

The plugin has a single exported value named `globals`, which is an object with
keys for all globally available self-hosted identifiers. All self-hosted values
are read-only, so we set all properties of `globals` to `"readonly"`.

BytecodeEmitter special identifiers are added to the `.eslintrc.js` file,
because that keeps them closer to the SpiderMonkey source tree when compared
to "tools/lint/eslint/eslint-plugin-spidermonkey-js".

Also see:
- tools/lint/eslint/eslint-plugin-mozilla/lib/environments/
- https://eslint.org/docs/latest/user-guide/configuring/language-options

Differential Revision: https://phabricator.services.mozilla.com/D153337
2022-08-05 09:58:58 +00:00
Ben Dean-Kawamura
f4102dd546 Bug 1766045 - Document generating JS bindings with UniFFI r=teshaq,markh
Differential Revision: https://phabricator.services.mozilla.com/D144470
2022-08-03 18:59:37 +00:00
Butkovits Atila
a8ad39a288 Backed out 6 changesets (bug 1766045) for causing build bustages. CLOSED TREE
Backed out changeset 113593df6272 (bug 1766045)
Backed out changeset f137315bb6af (bug 1766045)
Backed out changeset d86ad195a9a0 (bug 1766045)
Backed out changeset e8bc2ec40cff (bug 1766045)
Backed out changeset 2d33e41ac507 (bug 1766045)
Backed out changeset 4d5874e16302 (bug 1766045)
2022-08-03 17:40:30 +03:00
Ben Dean-Kawamura
4fb87acec7 Bug 1766045 - Document generating JS bindings with UniFFI r=teshaq,markh
Differential Revision: https://phabricator.services.mozilla.com/D144470
2022-08-03 13:48:29 +00:00
Mark Banner
4ed899ee38 Bug 1782008 - Add existing test directories to the ESLint test path definition file. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D152735
2022-08-03 11:16:19 +00:00
Mathew Hodson
3d04063622 Bug 1782855 - Add MSVC to required list for Windows build docs. r=glandium DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D153545
2022-08-03 09:43:32 +00:00
Dan Robertson
6d3555163e Bug 1782274 - mots: add hiro and dlrobertson to APZ peers. r=zeid
Differential Revision: https://phabricator.services.mozilla.com/D153234
2022-07-29 19:13:57 +00:00
Tooru Fujisawa
de340512f3 Bug 1779988 - Part 2: Add ESLint rule that rejects multiple ChromeUtils.defineESModuleGetters call on the same object. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D152880
2022-07-28 00:54:20 +00:00
Nika Layzell
c1e984d0c6 Bug 1779326 - Handle a few more native types in rust-xpidl, r=xpcom-reviewers,kmag
This makes the logic for the rust type line up a bit more with the C++
logic for existing types, and adds support for 'char' and 'char16_t'
native types (for 'charPtr').

This specifically enables `nsIInputStream::Read` to be used from Rust.

Differential Revision: https://phabricator.services.mozilla.com/D152715
2022-07-27 14:09:52 +00:00
Butkovits Atila
99f074b50f Backed out changeset d4dae48f386a (bug 1779326) for causing build bustages. CLOSED TREE 2022-07-27 02:28:37 +03:00
Nika Layzell
155b049ad5 Bug 1779326 - Handle a few more native types in rust-xpidl, r=xpcom-reviewers,kmag
This makes the logic for the rust type line up a bit more with the C++
logic for existing types, and adds support for 'char' and 'char16_t'
native types (for 'charPtr').

This specifically enables `nsIInputStream::Read` to be used from Rust.

Differential Revision: https://phabricator.services.mozilla.com/D152715
2022-07-26 23:12:58 +00:00
Francesco Lodolo (:flod)
2d85581b2c Bug 1781010: Fluent linter, add checks for hard-coded brand names,r=gregtatum,linter-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D152718
2022-07-26 19:48:08 +00:00
Tooru Fujisawa
5cda6987cf Bug 1780543 - Part 11: Update document for environment. r=Standard8
Depends on D152648

Differential Revision: https://phabricator.services.mozilla.com/D152649
2022-07-26 02:46:32 +00:00