mozilla

Revision 450641 of Travailler avec le code source de Mozilla

  • Raccourci de la révision : Developer_Guide/Source_Code
  • Titre de la révision : Working with Mozilla source code
  • ID de la révision : 450641
  • Créé :
  • Créateur : Delapouite
  • Version actuelle ? Non
  • Commentaire

Contenu de la révision

The articles below will help you get your hands on the Mozilla source code, learn to navigate the code, and how to get the changes you propose checked into the tree.

Documentation topics

Getting the code from the Mercurial repository
If you plan to contribute to the Mozilla project, the best way to get the code is to check it out from the version control repository.  Learn how to do that here.
Downloading the code using HTTP or FTP
If you want to fetch the code for a specific release of a particular Mozilla product, you may prefer to download a source code archive.
Viewing and searching Mozilla source code online
Learn how to use MXR, Mozilla's online search and browsing tool for accessing the source code.  This isn't a good way to download the code, but is a great way to search it.
Navigating the Mozilla source code
Learn about the various folders in the Mozilla source tree, and how to find what you're looking for.
Bugs for newcomers
If you are new to the project and want something to work on, look here.
Mozilla Coding Style Guide
The code style guide provides information about how you should format your source code to ensure that you don't get mocked by the reviewers.
Interface development guide
Guidelines and documentation for how to create and update XPCOM interfaces.
Try Servers
Mozilla products build on at least three platforms. If you don't have access to them all, you can use the try servers to test your patches and make sure the tests pass.
Creating a patch
Once you've made a change to the Mozilla code, the next step (after making sure it works) is to create a patch and submit it for review. This article needs to be updated fully for Mercurial.
Getting commit access to the source code
Feel ready to join the few, the proud, the committers?  Find out how to get check-in access to the Mozilla code.
Getting older Mozilla code from CVS
Older versions of the Mozilla source code, as well as the current versions of NSS and NSPR, are kept in a CVS repository.  Learn about that in this article.

{{ languages( { "de": "de/Entwicklerhandbuch/Quelltexte", "ja": "ja/Developer_Guide/Source_Code", "pt": "pt/Developer_Guide/Codigo_Fonte" } ) }}

Source de la révision

<p>The articles below will help you get your hands on the Mozilla source code, learn to navigate the code, and how to get the changes you propose checked into the tree.</p>
<table class="mainpage-table">
  <tbody>
    <tr>
      <td colspan="2">
        <h2 id="Documentation_topics">Documentation topics</h2>
      </td>
    </tr>
    <tr>
      <td width="50%">
        <dl>
          <dt>
            <a class="internal" href="/En/Developer_Guide/Source_Code/Mercurial" title="En/Mozilla Source Code (Mercurial)">Getting the code from the Mercurial repository</a></dt>
          <dd>
            If you plan to contribute to the Mozilla project, the best way to get the code is to check it out from the version control repository.&nbsp; Learn how to do that here.</dd>
          <dt>
            <a class="internal" href="/En/Developer_Guide/Source_Code/Downloading_Source_Archives" title="En/Mozilla Source Code (HTTP//FTP)">Downloading the code using HTTP or FTP</a></dt>
          <dd>
            If you want to fetch the code for a specific release of a particular Mozilla product, you may prefer to download a source code archive.</dd>
          <dt>
            <a class="internal" href="/en/Viewing_and_searching_Mozilla_source_code_online" title="En/Viewing and searching Mozilla source code online">Viewing and searching Mozilla source code online</a></dt>
          <dd>
            Learn how to use MXR, Mozilla's online search and browsing tool for accessing the source code.&nbsp; This isn't a good way to download the code, but is a great way to search it.</dd>
          <dt>
            <a class="internal" href="/en/Mozilla_Source_Code_Directory_Structure" title="en/Mozilla Source Code Directory Structure">Navigating the Mozilla source code</a></dt>
          <dd>
            Learn about the various folders in the Mozilla source tree, and how to find what you're looking for.</dd>
          <dt>
            <a class="external" href="/en/Introduction#Find_a_bug_we%27ve_identified_as_being_good_for_newcomers" title="/en/Introduction#Find_a_bug_we%27ve_identified_as_being_good_for_newcomers">Bugs for newcomers</a></dt>
          <dd>
            If you are new to the project and want something to work on, look here.</dd>
        </dl>
      </td>
      <td width="50%">
        <dl>
          <dt>
            <a class="internal" href="/En/Developer_Guide/Coding_Style" title="En/Mozilla Coding Style Guide">Mozilla Coding Style Guide</a></dt>
          <dd>
            The code style guide provides information about how you should format your source code to ensure that you don't get mocked by the reviewers.</dd>
          <dt>
            <a href="/En/Developer_Guide/Interface_development_guide" title="En/Developer Guide/Interface development guide">Interface development guide</a></dt>
          <dd>
            Guidelines and documentation for how to create and update XPCOM&nbsp;interfaces.</dd>
          <dt>
            <a class="link-https" href="https://wiki.mozilla.org/Build:TryServer" title="https://wiki.mozilla.org/Build:TryServer">Try Servers</a></dt>
          <dd>
            Mozilla products build on at least three platforms. If you don't have access to them all, you can use the try servers to test your patches and make sure the tests pass.</dd>
          <dt>
            <a class="internal" href="/en/Creating_a_patch" title="En/Creating a patch">Creating a patch</a></dt>
          <dd>
            Once you've made a change to the Mozilla code, the next step (after making sure it works) is to create a patch and submit it for review. <em>This article needs to be updated fully for Mercurial.</em></dd>
          <dt>
            <a class="external" href="http://www.mozilla.org/hacking/committer/" title="http://www.mozilla.org/hacking/committer/">Getting commit access to the source code</a></dt>
          <dd>
            Feel ready to join the few, the proud, the committers?&nbsp; Find out how to get check-in access to the Mozilla code.</dd>
          <dt>
            <a class="internal" href="/En/Developer_Guide/Source_Code/CVS" title="En/Mozilla Source Code (CVS)">Getting older Mozilla code from CVS</a></dt>
          <dd>
            Older versions of the Mozilla source code, as well as the current versions of NSS and NSPR, are kept in a CVS repository.&nbsp; Learn about that in this article.</dd>
        </dl>
      </td>
    </tr>
  </tbody>
</table>
<p>{{ languages( { "de": "de/Entwicklerhandbuch/Quelltexte", "ja": "ja/Developer_Guide/Source_Code", "pt": "pt/Developer_Guide/Codigo_Fonte" } ) }}</p>
Revenir à cette révision