Commit Graph
53 Commits
Author SHA1 Message Date
Mark Banner ea82bec0f5 Bug 1916093 - Enable more documentation generation warnings as fatal. r=sylvestre,devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D220766
2024-09-03 18:48:46 +00:00
Gijs Kruitbosch 3f1cdc7803 Bug 1913427 - add documentation for XPCOMUtils into firefox-source-docs, r=xpcom-reviewers,frontend-codestyle-reviewers,nika,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D219320
2024-08-20 13:29:56 +00:00
Paul Adenot 147fd399f3 Bug 1906275 - Improve docs about logging, add the workaround for Windows. DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D215746
2024-07-08 13:39:28 +00:00
Sylvestre Ledru cbe5760c2a Bug 1901992 - doc: fix the link to uuid generation DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D215110
2024-06-27 16:14:20 +00:00
Andrew McCreight 7e5cd3bd2b Bug 1902344 - Remove outdated data structure references in "Using C++ in Mozilla code" and elsewhere. r=xpcom-reviewers,nika DONTBUILD
nsAutoTArray was renamed to AutoTArray.

nsDataHashtable and nsJSThingHashtable don't exist any more.

nsTHashMap and nsTHashSet now exist.

nsDeque is properly typed now.

Pair is now CompactPair.

Differential Revision: https://phabricator.services.mozilla.com/D213624
2024-06-13 22:41:51 +00:00
Julien Wajsberg aa8804f2f7 Bug 1894703 - Add some documentation about using logging.config.modules r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D210353
2024-05-23 08:14:17 +00:00
Emilio Cobos Álvarez 1d9fc24322 Bug 1898258 - Add and document mach gen-uuid. r=smaug
The website in our docs no longer works for $reasons, this is a direct
port to python.

Differential Revision: https://phabricator.services.mozilla.com/D211219
2024-05-22 14:52:20 +00:00
Tamas Szentpeteri 34353a7a45 Backed out 3 changesets (bug 1894703) for causing failures related to DOCSHELL logging. CLOSED TREE
Backed out changeset f9a8141501a7 (bug 1894703)
Backed out changeset e8eb7ab47374 (bug 1894703)
Backed out changeset a84074f814da (bug 1894703)
2024-05-16 21:12:06 +03:00
Julien Wajsberg 868c336565 Bug 1894703 - Add some documentation about using logging.config.modules r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D210353
2024-05-16 15:51:08 +00:00
Jens Stutte 70a46e3da4 Bug 1842136 - Add some lines about sorting to source docs. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D183257
2024-04-02 07:51:28 +00:00
Mike Hommey ee1a2f981d Bug 1843207 - Rename CopyCocoaStringToXPCOMString to CopyNSStringToXPCOMString. r=nika
Make it infallible and make nsCocoaUtils::GetStringForNSString rely on it.

Differential Revision: https://phabricator.services.mozilla.com/D204318
2024-03-13 20:54:19 +00:00
ogiorgis d916e7edbe Bug 1840493 - doc/rst: fix some languages declaration r=firefox-source-docs-reviewers,webdriver-reviewers,necko-reviewers,geckoview-reviewers,devtools-reviewers,profiler-reviewers,championshuttler,whimboo,nchevobbe,julienw,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D196268
2023-12-13 18:32:20 +00:00
Sylvestre Ledru 3608dc8457 Bug 1860157 - Fix typos found by codespell 2.2.6 r=webdriver-reviewers,zeid,search-reviewers,perftest-reviewers,devtools-reviewers,releng-reviewers,gbrown,sparky,jteow
Differential Revision: https://phabricator.services.mozilla.com/D191480
2023-10-19 20:52:10 +00:00
Greg Stoll 5f02f0fc0a no bug - fx doc: add a few more std::vector to nsTArray mappings r=mhowell DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D186349
2023-08-16 14:14:16 +00:00
Greg Stoll 22c963a216 no bug - fx doc: add std::vector to nsTArray mappings r=mhowell DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D186233
2023-08-15 16:23:03 +00:00
Nika Layzell 3220ec0d1c Bug 1843568 - Part 4: Document the rust_sync attribute, r=xpcom-reviewers,barret
Differential Revision: https://phabricator.services.mozilla.com/D183593
2023-07-20 17:39:04 +00:00
Noemi Erli 982505c6fc Backed out 5 changesets (bug 1843568) for causing xpc failures in test_extension_permissions_migration.js CLOSED TREE
Backed out changeset a4cb1e2b9e3d (bug 1843568)
Backed out changeset 26047645c009 (bug 1843568)
Backed out changeset 50d6b858ee6e (bug 1843568)
Backed out changeset 3597df96ba38 (bug 1843568)
Backed out changeset 8faeb75f1161 (bug 1843568)
2023-07-19 22:54:13 +03:00
Nika Layzell af1824838a Bug 1843568 - Part 4: Document the rust_sync attribute, r=xpcom-reviewers,barret
Differential Revision: https://phabricator.services.mozilla.com/D183593
2023-07-19 18:03:46 +00:00
Sylvestre Ledru 35c2a6572e no bug - doc: remove some old content r=padenot DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D183734
2023-07-17 11:38:33 +00:00
Paul Adenot 9280d99576 Bug 1842589 - Improve documentation for enabling MOZ_LOG on mobile. r=firefox-source-docs-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D183166
2023-07-11 10:52:57 +00:00
Andrew McCreight 28b70185d8 Bug 1809002 - Document cycle collector macros. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D166234
2023-01-25 00:43:46 +00:00
Sylvestre Ledru 72c32ab4cc Bug 1807901 - Fix typos in some documentation directories r=linter-reviewers,andi DONTBUILD
Fix some typos in new directories

Differential Revision: https://phabricator.services.mozilla.com/D165660
2023-01-02 16:07:49 +00:00
Paul Adenot 182ccd1bcf Bug 1802349 - Document about:logging. r=firefox-source-docs-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D163012
2022-12-15 14:11:07 +00:00
Sandor Molnar f566128d6e Backed out 9 changesets (bug 1796585, bug 1796152, bug 1797284, bug 1796554, bug 1800076, bug 1802349, bug 1797497) for causing mochitest failures in xpcom/base/nsTraceRefcnt.cpp. CLOSED TREE
Backed out changeset 6002e93434a2 (bug 1802349)
Backed out changeset 000cd664c157 (bug 1800076)
Backed out changeset e3534e639e2c (bug 1796554)
Backed out changeset 1d22428d764c (bug 1797497)
Backed out changeset b0dbe35d48be (bug 1797284)
Backed out changeset b415d4b85ab6 (bug 1796585)
Backed out changeset dc1c2ffbc38e (bug 1796554)
Backed out changeset c44bae1f03f5 (bug 1796152)
Backed out changeset 3eab5e71b1c7 (bug 1796152)
2022-12-13 01:52:06 +02:00
Paul Adenot 1939e78269 Bug 1802349 - Document about:logging. r=firefox-source-docs-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D163012
2022-12-12 17:32:15 +00:00
Noemi Erli d1ab402c41 Backed out 9 changesets (bug 1796585, bug 1797497, bug 1800076, bug 1796152, bug 1802349, bug 1797284, bug 1796554) for causing failures in browser_about_logging.js
Backed out changeset 5d578b36aea0 (bug 1802349)
Backed out changeset 749d5f1e7ccd (bug 1800076)
Backed out changeset 5963545fcfaf (bug 1796554)
Backed out changeset 1cc2eaf20d0b (bug 1797497)
Backed out changeset a308c6642faa (bug 1797284)
Backed out changeset 09d8640c34d7 (bug 1796585)
Backed out changeset e73defde7d21 (bug 1796554)
Backed out changeset 02da7a0c249c (bug 1796152)
Backed out changeset 83efe75fbac8 (bug 1796152)
2022-12-06 22:28:08 +02:00
Paul Adenot 26f38ce5b0 Bug 1802349 - Document about:logging. r=firefox-source-docs-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D163012
2022-12-06 15:46:42 +00:00
Sandor Molnar 0f7e2ad84d Backed out 9 changesets (bug 1802349, bug 1796585, bug 1796152, bug 1797284, bug 1800076, bug 1796554, bug 1797497) for causing bc failures in browser_about_logging CLOSED TREE
Backed out changeset 606868b3d7b0 (bug 1802349)
Backed out changeset 34978ba15643 (bug 1800076)
Backed out changeset aa2e24236a3c (bug 1796554)
Backed out changeset 07135b50717d (bug 1797497)
Backed out changeset 120ebd2d7def (bug 1797284)
Backed out changeset 97fc02919d57 (bug 1796585)
Backed out changeset 1e3b50d9b36c (bug 1796554)
Backed out changeset 206df9b05088 (bug 1796152)
Backed out changeset 5ffdf16c555d (bug 1796152)
2022-12-02 21:35:51 +02:00
Paul Adenot eca54b6e49 Bug 1802349 - Document about:logging. r=firefox-source-docs-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D163012
2022-12-02 17:04:18 +00:00
Marian-Vasile Laza 63f09547ac Backed out 9 changesets (bug 1796554, bug 1800076, bug 1796152, bug 1797497, bug 1802349, bug 1797284, bug 1796585) for causing build bustages. CLOSED TREE
Backed out changeset 19610692544c (bug 1802349)
Backed out changeset 23ad8b2fb3b9 (bug 1800076)
Backed out changeset cd729b6a5864 (bug 1796554)
Backed out changeset a9b8f5d7ee8c (bug 1797497)
Backed out changeset d4be9af4e5ae (bug 1797284)
Backed out changeset e6d7ca17b1d3 (bug 1796585)
Backed out changeset fad76f060c8f (bug 1796554)
Backed out changeset 9b970bad5500 (bug 1796152)
Backed out changeset cc9b0300a64b (bug 1796152)
2022-11-30 21:49:41 +02:00
Paul Adenot 9bf7daff58 Bug 1802349 - Document about:logging. r=firefox-source-docs-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D163012
2022-11-30 15:44:09 +00:00
Greg Stoll 757c579cea no bug - fx doc: fix a few links to old pages r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D162421
2022-11-18 21:20:18 +00:00
Andrew McCreight 110d612e81 Bug 1792920, part 4 - Add special handling for MozExternalRefCountType to XPIDL. r=nika
In XPIDL, the return type of AddRef and Release are nsrefcnt, which
is defined as unsigned long. The first problem is that nsrefcnt is
defined in XPIDL as unsigned long, but in C++ as uintptr_t. The second
problem is that the actual return type of these methods in C++ is
MozExternalRefCountType.

This patch fixes the return type of these methods in XPIDL. However,
due to MSCOM compatibility requirements this type is not expressible
in XPIDL, so I added it as a new builtin type to XPIDL. In C++, it
defers to the typedef and for Rust it uses u32 directly. I tried
using the new Rust typedef I defined in refptr.rs, but it seemed like
it was being used in places that didn't have refptr.rs available.

I also deleted the incorrect definition of nsrefcnt in XPIDL. It is
not used anywhere else in XPIDL files, and my previous patches removed
all uses of this type definition from Rust.

Note that this patch does not really change nsISupports.h,
because this part of the file is ignored via an #if 0. However, this
patch does clear the way for further work to start using the auto
generated nsISupports.h instead of nsISupportsBase.h.

Differential Revision: https://phabricator.services.mozilla.com/D159323
2022-10-17 16:09:21 +00:00
Simon Friedberger 4d45a5962c 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
Sylvestre Ledru 0e0b15fea2 Bug 1788137 - doc(xpcom): Improve the wording r=nrishel DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D157184
2022-09-14 06:16:23 +00:00
Fabrice Desré e29be44cb7 Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D152575
2022-08-03 16:39:41 +00:00
Andreea Pavel fc724b92fc Backed out changeset b9d2965591b9 (bug 1761040) for landing with wrong author CLOSED TREE DONTBUILD 2022-08-03 18:55:00 +03:00
Andreea Pavel eda47f3911 Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D152575
2022-08-03 15:27:43 +00:00
Andreea Pavel c2e97d2e06 Backed out changeset a907159a482f (bug 1761040) for causing build bustages on a CLOSED TREE 2022-08-02 04:59:08 +03:00
Fabrice Desré d2d02e8493 Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D152575
2022-08-02 00:49:41 +00:00
Andrew McCreight 734a304c41 Bug 1776103 - Clean up DMD docs. r=xpcom-reviewers,nika DONTBUILD
I went through the docs and fixed up a few things. I also removed the other
version that was imported under XPCOM, updated a few obsolete MDN links that
now have updated docs, and deleted some ancient Bonsai links.

Differential Revision: https://phabricator.services.mozilla.com/D150504
2022-06-29 21:41:04 +00:00
Greg Tatum 1745d3116e Bug 1758012 - Add a tutorial for writing an XPCOM Interface; r=xpcom-reviewers,kmag
I wrote this tutorial while documenting my process of adding a
component. I attempted to figure out the process rather than just cargo
culting from examples. The idea is that you can follow along with this
to get a new component going, and then reference the more detailed
documentation for implementation details.

Differential Revision: https://phabricator.services.mozilla.com/D140262
2022-04-29 18:26:54 +00:00
Mike Conley b273648e2f Bug 1758753 - Migrate XPCOM hashtable documentation from MDN to Firefox Source Docs. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D140671
2022-03-17 14:23:27 +00:00
Marian-Vasile Laza b353fbd7e9 Bug 1757863 - lint fix r=fix CLOSED TREE 2022-03-15 12:23:32 -07:00
Randell Jesup a3374cbf9e Bug 1757863: Add source docs for clang thread-safety analysis in gecko r=bholley DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D140158
2022-03-15 18:49:58 +00:00
Ray Kraesig 13f424e8c0 Bug 1754090 - update BulkWrite() documentation r=nika DONTBUILD
Following the fix for bug 1659674, `BulkWrite()` now takes three
parameters.

Differential Revision: https://phabricator.services.mozilla.com/D138080
2022-02-09 16:54:04 +00:00
Sylvestre Ledru aa55fd2be8 Bug 1753413 - fx doc: Remove whitespaces, trailing lines & windows CR r=andi,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D137741
2022-02-03 18:34:58 +00:00
Sylvestre Ledru bb153e4e07 Bug 1714788 - doc: Fix a Pygments warning r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Warning:
lexer name 'bz_comment_text' is not known

Depends on D131047

Differential Revision: https://phabricator.services.mozilla.com/D131095
2021-11-16 07:59:49 +00:00
Sylvestre Ledru fcd4d4559f Bug 1714788 - doc: Fix a warning 'Inline interpreted text' r=firefox-source-docs-reviewers,championshuttler DONTBUILD
WARNING: Inline interpreted text or phrase reference start-string without end-string.

Depends on D131090

Differential Revision: https://phabricator.services.mozilla.com/D131091
2021-11-16 07:59:47 +00:00
Sylvestre Ledru c76e9eac0f Bug 1733360 - doc: update the hunting leaks docs + fix links r=gerard-majax DONTBUILD
The link `GC and CC logs </performance/memory/gc_and_cc_logs.html>`_
is different because it is a markdown page and we cannot cross reference them
(I KNOW).
See: https://github.com/readthedocs/recommonmark/issues/8

Differential Revision: https://phabricator.services.mozilla.com/D127117
2021-09-30 14:05:14 +00:00