Mozile : 0.6 Series for Firefox 2.0
This document describes the Mozile code in the "content" directory.
The Mozile code is separated into several directories, and further separated into files
that contain functions on a single theme. Look in these directories for the source
code:
-
main : most of the Mozile JavaScript code
-
eDOM : JavaScript that extends the normal DOM to
allow inline editing
-
mes : Mozile Editing Schemes
-
saving : JavaScript code to save files to the local
file system, or via WebDAV or HTTP Post to a server
-
XUL : XUL files that describe Mozile's user
interface (UI).
The main directory contains most of the JavaScript files that
make Mozile work.
-
mozileCommands.js executes toolbar and menu
commands.
-
mozileConfiguration.js parses the RSD
configuration file and loads the eDOM files.
-
mozileCopyCutPaste.js deal with the
system clipboard,
-
mozileDetection.js detects when Mozile
should and should not be active,
-
mozileKeyboard.js listens for keystrokes and
(when it's supposed to) enters them into the document or calls commands,
-
mozileMain.js global variables and startup
functions.
-
mozileMouse.js listens for mouse clicks and
calls commands,
-
mozileParseMES.js parses the MES files,
-
mozileSourceEdit.js source editing
-
mozileSpecialChars.js defines extended
characters and parses additional character data from the MES.
-
mozileTags.js Tag View mode
-
mozileToolbar.js takes care of the Mozile
toolbar, deciding which context buttons and menus to show,
-
mozileUndoRedo.js takes care of the undo and
redo commands,
-
mozileUtilities.js contains functions that
are useful in several other files, shared in common,
-
mozileVersion.js extension version string
-
mozileWrappers.js access to some browser
specific functions
The eDOM directory contains the Editable DOM files.
The mes directory contains Mozile Editing Schemes.
The saving directory contains the files that facilitate Mozile
saving.
The XUL directory contains the files that define the Mozile UI.
-
about.xul describes the About dialog,
-
advanced.js controls the Edit dialog,
-
advanced.xul describes the layout of the Edit dialog.
-
debugging.js controls the debugging dialog,
-
debugging.xul describes the layout of the
debugging dialog.
-
info.js controls the Page Info dialog,
-
info.xul describes the Page Info dialog layout.
-
link.js controls the link dialog,
-
link.xul describes the link dialog layout.
-
mdialog.js controls the custom dialog,
-
mdialog.xul describes the layout of the
custom dialog.
-
mozile.js common javascript functions
-
mozileFirefox.xul describes the Mozile tool
bar overlay for Firefox,
-
options.js provides some JavaScript support for the
options dialog,
-
options.xul describes the options dialog,
-
save.js provides JavaScript for the Save dialog,
-
save.xul describes the Save dialog.
-
savemsg.js provides JavaScript for the savemsg
dialog,
-
savemsg.xul describes the savemsg dialog.
-
savepost.js provides JavaScript for the HTTP Post
dialog,
-
savepost.xul describes the HTTP Post dialog.
-
source.js provides JavaScript for save to display,
-
source.xul describes the save to display dialog.
-
sourcebox.xul describes the source edit layout.
-
special.js provides JavaScript for the special chars
dialog.
-
special.xul describes the special chars dialog.