Thunderbird:Code Layout: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Add links to address book code structures)
(Moved mozilla/mailnews section to mailnews specific page.)
 
Line 3: Line 3:
Thunderbird leverages a lot of Gecko, but two directories in the main mozilla tree are where the bulk of Thunderbird's functionality is included.  There are two directories, one specific to Thunderbird, and one shared with SeaMonkey.
Thunderbird leverages a lot of Gecko, but two directories in the main mozilla tree are where the bulk of Thunderbird's functionality is included.  There are two directories, one specific to Thunderbird, and one shared with SeaMonkey.


==== mozilla/mail ====
== mozilla/mail ==


[http://mxr.mozilla.org/seamonkey/source/mail/ Link to mxr trunk source]
[http://mxr.mozilla.org/seamonkey/source/mail/ Link to mxr trunk source]
Line 28: Line 28:
* themes
* themes


==== mozilla/mailnews ====
== mozilla/mailnews ==


[http://mxr.mozilla.org/seamonkey/source/mailnews/ Link to mxr trunk source]
See [[MailNews:Code_Layout]]
 
Infrastructure shared by Thunderbird and SeaMonkey, and some SeaMonkey-specific code as well (the latter being migrated to suite/ over time).
 
* [[MailNews:Address Book Code Structure|addrbook: Address Book]]
* base: Core configuration
** base/build: Build directory for libmsgbase.so (shared mail builds)
** base/ispdata: ISP autoconfiguration files
** base/prefs: Public preferences UI (account manager, account wizard, what else?)
** base/public: IDL files and public files for common components, mostly account manager and DB view
** base/resources: Base mailnews UI, either SeaMonkey-specific or applicable to both
** base/search: Filter and search code
** base/src: The source files for base code; mostly account manager-related stuff and the C++ portions of the UI.
** base/test: Tests code for base (just base/src or all?)
** base/util: Utility code: generic bases of some interfaces and some classes used across multiple directories.
* build
* compose: email composition widget
* db: The mail file store code
* extensions
* imap
* import
* local
* mapi
* mime: MIME parsing and handling code; also known as libmime.
* movemail
* news: The NNTP (news) code of mailnews
* public


[[category:Thunderbird|*]]
[[category:Thunderbird|*]]

Latest revision as of 10:07, 15 July 2008

<< Back to Thunderbird:Dev

Thunderbird leverages a lot of Gecko, but two directories in the main mozilla tree are where the bulk of Thunderbird's functionality is included. There are two directories, one specific to Thunderbird, and one shared with SeaMonkey.

mozilla/mail

Link to mxr trunk source

Thunderbird specific directories:

  • app: icons and other requirements for app packaging
  • base: main XUL/JS files
  • components (many of these are Thunderbird-specific derivatives of similar files in the /mailnews directory)
    • addrbook
    • build
    • compose
    • migration: code to support migration of settings and data from Dogbert, Eudora, Netscape Mail, Outlook Express, Outlook, and SeaMonkey.
    • phishing
    • preferences
    • search: Spotlight integration
    • shell: integration with default mail handler on various operating systems (Mac, Windows, GNOME)
  • config (build configuration file)
  • extensions
    • newsblog: RSS reader
    • smime: S/MIME ???
  • installer
  • locales
  • themes

mozilla/mailnews

See MailNews:Code_Layout