1,885
edits
Changes
FAQ
,no edit summary
This FAQ is meant to provide a place for you to capture knowledge as you begin working on Mozilla developmentwith Open Source. When someone answers a question for you, consider adding it below, and feel free to update previous entries. Create new topic headings as necessary.
==Building Firefox==
# '''Where can I get information on building Firefox or other Mozilla products?'''
#: Start with the documentation on [http://developer.mozilla.org MDC]: http://developer.mozilla.org/en/docs/Build_Documentation.
#: In terminal 2:
#: cvs -d :pserver:anonymous:anonymous@localhost:/cvsroot co mozilla/client.mk
# '''What's the best way to run a build so it doesn't mess-up my default install/profile?'''
#: Use the '''-no-remote''' and '''-profile''' command line switches. The '''-no-remote''' switch will allow multiple versions of the browser to run at the same time (i.e., otherwise it will open another window for your currently running instance). The '''-profile''' switch allows you to specify a path to a profile (e.g., a directory). This profile directory doesn't need to exist--it will create it if it is not there:<br/><br/><code>$ mozilla/''objdir''/dist/bin/firefox.exe -no-remote -profile some/path/testing</code>
# '''When I run my new build on Windows, I get a lot of assertion pop-ups. How can I stop this?'''
#: Before you run your build at the command line, do this (which will send the assertion messages to the console instead):<br/><br/><code>$ export XPCOM_DEBUG_BREAK=warn</code>
# '''What are some ways I can make my build go faster?'''
#: See [[Improving Build Times]]
== Mozilla Build System ==
1. '''How do a see what macros are being expanded in order to understand my compiler error (a.k.a., how do I create a preprocessed version of a C/C++ file)?
$ cd $OBJDIR/some/directory
$ make nsMyFilename.i
2. '''How do I generate Doxygen documentation for Mozilla?'''
$ cd $OBJDIR
$ make documentation
3. '''Hw do I see the final value of a makefile variable?'''
$ cd $OBJDIR/some/directory
$ make echo-variable-EXTRA_DSO_LDOPTS
== IRC ==
# '''Where can I get general info about using IRC?'''
#: See the [[Irc|IRC]] page on this wiki.
# '''Where can I find a comprehensive list of IRC clients?'''
#: Visit http://en.wikipedia.org/wiki/List_of_IRC_clients for a list of IRC clients on various platforms. Two popular choices are [http://www.hacksrus.com/~ginda/chatzilla/ Chatzilla] and [http://www.irssi.org/ irssi].
# '''What do all these acronyms stand for?'''
#: Look them up on the [http://www.valinor.sorcery.net/glossary/ Glossary of IRC terminology]
# '''I can't seem to join #seneca, how do I register my nick?'''
#: Take a look at [http://freenode.net/faq.shtml#registering this] discussion of IRC nick registration for a list of instructions.
==SVN==
<pre> svn diff [-r from[:to]] [filename|directory] > mypatch.patch</pre>
==TerminologyCommon Abbreviations/Acronyms== # '''What does MDC or devmo refer to?'''#: Mozilla Developer Center - http://developer.mozilla.org.# '''What does MoCo stand for?'''#: Mozilla Corporation - http://www.mozilla.com/.Listed alphabetically
*'''AMO'''
*: [https://addons.mozilla.org/ addons.mozilla.org]
*'''MDC or devmo'''
*: [http://developer.mozilla.org Mozilla Developer Center]
*'''MoCo'''
*: [http://www.mozilla.com/ Mozilla Corporation]
*'''NSPR'''
*: [http://www.mozilla.org/projects/nspr/ Netscape Portable Runtime] <br>Additional Resources : [[NSPR| DPS909]]
*'''NSS'''
*: [http://www.mozilla.org/projects/security/pki/nss/ Network Security Services]
*'''RDF'''
*: [http://www.mozilla.org/rdf/doc/ Resource Description Framework] <br> Additional Resources : [[XUL| DPS909]] [http://www.w3.org/RDF/ W3C]
*'''XPCOM'''
*: [http://www.mozilla.org/projects/xpcom/ Cross Platform Component Object Model] <br> Additional Resources : [[XPCOM| DPS909]]
*'''XUL'''
*: [http://www.mozilla.org/projects/xul/ XML User interface Language] <br> Additional Resources : [[XUL| DPS909]]
==VMWare==
# '''How do I find out who owns what module in the Mozilla Tree?'''
#: Visit: [http://www.mozilla.org/owners.html http://www.mozilla.org/owners.html]
[[Category:Mozilla for beginners]]