Mozile (xhtml editing in your browser) 
| resources: | Home Use FAQ Contribute Mailing List Plan Source Code Bugs |
|---|
Source Code
Mozile is an open source project. All of the code is freely available from the web site. It is stored using the Concurrent Versions System (CVS), which keeps track of all the past and present version of our files. You have several options for accessing the source code:
- You can download a packaged version of Mozile.
- Your file may be a "zip" or an "xpi" file. An "xpi" file is really a "zip" file with another name, so you can change the file extension to "zip" and then unzip it normally.
- Since Mozile is written in JavaScript you can view the code in any text editor.
- Some versions are marked "devel" and include additional resources for developers.
- The JavaScript code in some versions has been "compressed" and all the comments have been removed to reduce file size -- use a "devel" version instead to see all the code and comments.
- You can browse the current source code with your web browser via CVSWeb.
- You can access CVS directly using a CVS client program.
- Login as a guest (password "guest"):
cvs -d :pserver:guest@mozdev.org:/cvs login - Check out a copy of mozile using the commands:
cvs -d :pserver:guest@mozdev.org:/cvs checkout mozile
Instead of checking out the whole Mozile code base, you probably want to be more specific:
- To checkout just Mozile 0.8, use
cvs -d :pserver:guest@mozdev.org:/cvs checkout mozile/www/0.8/ - To checkout just Mozile 0.7, use
cvs -d :pserver:guest@mozdev.org:/cvs checkout mozile/www/0.7/ - To checkout just Mozile 0.6, use
cvs -d :pserver:guest@mozdev.org:/cvs checkout mozile/source/extension/mozile-0.6/
For older versions use
cvs -d :pserver:guest@mozdev.org:/cvs checkout -r DEVEL mozile/source/extension/mozile-0.6/ - To checkout just Mozile 0.5, use
cvs -d :pserver:guest@mozdev.org:/cvs checkout mozile/www/mozile/ - Recent releases of Mozile are tagged with their version numbers, e.g. "Mozile0-7-2" or "Mozile0-6-25". You can checkout the files in that version by using the
-r TagNameoption.
- Login as a guest (password "guest"):
CVS Organization
There are four different version of Mozile stored in CVS. Since it's a bit of a mess, here are some notes on finding them:
- Packaged copies of all Mozile versions can be found on the Mozdev.org mirrors and in the
downloadsdirectory of CVS. - Mozile 0.8 can be found in the
mozile/www/0.8/directory. - Mozile 0.7 can be found in the
mozile/www/0.7/directory. - Mozile 0.6 can be found in the
mozile/source/extension/mozile-0.6/directory. Note that much of the development of this version was done under theDEVELbranch. - Mozile 0.5 can be found in the
mozile/www/mozile/directory. It is no longer under development.
Read the contribution list to see how you can add to the project.
CVS Clients
Never used CVS before? It takes some getting used to, but there's lots of help out there for you.
- Introduction to CVS - A tutorial on using a CVS command line client.
- CVS Homepage - This will give you more of the technical information about CVS, if you want it.
- Tortoise CVS - CVS client for Windows, integrated with Windows Explorer.
- WinCVS - Command line and graphical CVS client for Windows.
- SmartCVS - Java based graphical client. Cross platform.
- MacCVSClient - Graphical client for Mac OS X.
- Mozilla CVS Introduction - Some notes on using CVS for accessing the Mozilla CVS repository. Includes general information on using CVS.
- Most Unix, Linux, and Mac OS X systems will have CVS installed, or readily available from their package management system or with their "developer" tools.