Viewing and searching Mozilla source code online

  • Revision slug: Viewing_and_searching_Mozilla_source_code_online
  • Revision title: Viewing and searching Mozilla source code online
  • Revision id: 125629
  • Created:
  • Creator: Philip Chee
  • Is current revision? No
  • Comment 43 words added, 4 words removed

Revision Content

 

Source code for all Mozilla projects hosted in the Mercurial and CVS repositories can be searched and viewed online using MXR. It's a hacked variant of the original Linux Cross Reference tool.

Do not download the source code by crawling MXR; download a tarball or; use either Mercurial or CVS instead.

MXR indexes multiple CVS branches and modules; the most interesting MXR root for a Mozilla contributor is comm-central, which contains the latest source code for most Mozilla products (including Firefox, Thunderbird, SeaMonkey, Sunbird/Lightning, Chatzilla, DOM Inspector, and Venkman Javascript debugger) and is updated frequently.

Some other MXR roots of interest are:

  • "mozilla-central" contains current Firefox and Gecko development. Releases branch off of this repository. Also known as "Trunk" .
  • "comm-central" contains current Thunderbird, SeaMonkey and Calendar development. Also contains a mirror of mozilla-central. Releases branch off of this repository.
  • "mozilla-1.9.1" contains Branch development on Firefox 3.5 and Gecko 1.9.1.
  • "comm-1.9.1" contains Branch development for Thunderbird 3, SeaMonkey 2 and Sunbird 1 with Gecko 1.9.1. Also contains a mirror of mozilla-1.9.1.
  • "mozilla" root contains the 1.9 branch code, like "seamonkey", but indexes a bigger part of the repository and is updated less often.
  • Mozilla 1.8 root contains Firefox, Thunderbird 2.0.0.x, and SeaMonkey 1.1.x
  • Mozilla 1.8.0 root contains Firefox, Thunderbird 1.5.0.x, SeaMonkey 1.0.x
  • Aviary 1.0.1 root Firefox and Thunderbird 1.0.0.x
  • Mozilla 1.7 root contains Mozilla Suite 1.7.x

Mozilla Source Code Directory Structure has a short description of the code living in each source directory of the tree.

Resources

CVS Tags

Revision Source

<p> </p>
<p>Source code for all Mozilla projects hosted in the Mercurial and CVS repositories can be searched and viewed online using <a class="external" href="http://mxr.mozilla.org">MXR</a>. It's a hacked variant of the original Linux Cross Reference tool.</p>
<p>Do not download the source code by crawling MXR; download a <a href="/En/Developer_Guide/Source_Code/Downloading_Source_Archives" title="En/Developer_Guide/Source_Code/Downloading_Source_Archives">tarball</a> or; use either <a href="/En/Developer_Guide/Source_Code/Mercurial" title="En/Developer_Guide/Source_Code/Mercurial">Mercurial</a> or <a href="/En/Developer_Guide/Source_Code/CVS" title="En/Developer_Guide/Source_Code/CVS">CVS</a> instead.</p>
<p>MXR indexes multiple CVS branches and modules; the most interesting MXR root for a Mozilla contributor is <a class=" external" href="http://mxr.mozilla.org/comm-central/">comm-central</a>, which contains the latest source code for most Mozilla products (including Firefox, Thunderbird, SeaMonkey, Sunbird/Lightning, Chatzilla, DOM Inspector, and Venkman Javascript debugger) and is updated frequently.</p>
<p>Some other MXR roots of interest are:</p>
<ul> <li><a class="link-https" href="https://hg.mozilla.org/mozilla-central/">"mozilla-central"</a> contains current Firefox and Gecko development. Releases branch off of this repository. Also known as "Trunk"	.</li> <li><a class="external" href="http://mxr.mozilla.org/comm-central/">"comm-central"</a> contains current Thunderbird, SeaMonkey and Calendar development. Also contains a mirror of mozilla-central. Releases branch off of this repository.</li> <li><a class="link-https" href="https://hg.mozilla.org/releases/mozilla-1.9.1/">"mozilla-1.9.1"</a> contains Branch development on Firefox 3.5 and Gecko 1.9.1.</li> <li><a class="link-https" href="https://hg.mozilla.org/releases/comm-1.9.1/">"comm-1.9.1"</a> contains Branch development for Thunderbird 3, SeaMonkey 2 and Sunbird 1 with Gecko 1.9.1. Also contains a mirror of mozilla-1.9.1.</li> <li><a class="external" href="http://mxr.mozilla.org/seamonkey/">"mozilla" root</a> contains the 1.9 branch code, like "seamonkey", but indexes a bigger part of the repository and is updated less often.</li> <li><a class="external" href="http://mxr.mozilla.org/mozilla1.8/">Mozilla 1.8 root</a> contains Firefox, Thunderbird 2.0.0.x, and SeaMonkey 1.1.x</li> <li><a class="external" href="http://mxr.mozilla.org/mozilla1.8.0/">Mozilla 1.8.0 root</a> contains Firefox, Thunderbird 1.5.0.x, SeaMonkey 1.0.x</li> <li><a class="external" href="http://mxr.mozilla.org/aviary101branch/">Aviary 1.0.1 root</a> Firefox and Thunderbird 1.0.0.x</li> <li><a class="external" href="http://mxr.mozilla.org/mozilla1.7/">Mozilla 1.7 root</a> contains Mozilla Suite 1.7.x</li>
</ul>
<p><a href="/en/Mozilla_Source_Code_Directory_Structure" title="en/Mozilla_Source_Code_Directory_Structure">Mozilla Source Code Directory Structure</a> has a short description of the code living in each source directory of the tree.</p>
<h3 name="Resources">Resources</h3>
<p><a href="/en/CVS_Tags" title="en/CVS_Tags">CVS Tags</a></p>
Revert to this revision