haiku/build/jam
Clemens Zeidler 1af4fa4ba6 Major restructuring of the mail server:
Accounts are now stored in a separate file. Previously they where somehow magically assembled from the chain ids. Now its possible to remove a account temporary by removing the account file form the account folder.

Each account could have an inbound protocol, an outbound protocol and some filters.

Mails are now associated with an account and not with a chain. This required to replace the chain id attribute by an account attribute.

Replace BMailFilter and BMailChain by a less general approach. Basically the chain had a list of filters and call the ProcessMailMessage for each filter. This made it sometime difficult to understand what is going on, e.g. sometimes a filter used information gathered by another filters. The new MailProtocol and MailFilter classes are calling more dedicated hook functions, e.g. HeaderFetched or MessageReadyToSend.

As before all MailProtocol's (plus their filters) are running in their own thread.

Cleaned up the error and status window a bit. Abstracted the interface to these windows. Should be easy to write a BNotification api back-end now.

Parsing of mail headers is much faster now. Fetching the headers of a large mailbox takes ~min and not ~hour now! Initial checkout time is in the same order like Opera. The problem was the massive use of fgets in parse_header (mail_util.cpp) now the complete header is read in one go. Furthermore, only interesting fields are extracted.

Remove some unused files, BeOS relicts... Feel free to translate the mail server and remove the own language system (headers/private/mail/MDRLanguage.h).

Sorry for the remaining old (and new) coding style issues, sometime just ignore them, to many :(



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 01:49:01 +00:00
..
board Patch by "notzed" (ticket #5368) (modified): Add bootloader support for BeagleBoard. 2010-06-30 17:24:11 +00:00
AlternativeGCCArchive Introduced a sanity check for building hybrids. This will cause jam to error 2010-10-11 17:51:44 +00:00
AnybootImage Create "anyboot-image" and define build profile rules to utilize it. 2010-03-15 23:51:45 +00:00
BeOSRules * broke out locale-related jam rules into their own file, LocaleRules 2010-07-23 19:56:24 +00:00
BuildSetup * WIP-commit of the first parts of the package kit and the pkgman 2011-01-21 22:18:58 +00:00
CDBootImage Rules and targets to build a boot CD iso... use: 2008-03-02 04:38:29 +00:00
CDBootPPCImage Add COFF loader to ppc ISO. 2008-11-11 19:22:16 +00:00
CDRules Unified build_haiku_[cd|image] scripts. Fixes #5490. 2010-04-10 23:14:42 +00:00
CommandLineArguments There's no "disk" default build profile, since picking a random partition 2010-05-05 18:20:43 +00:00
ConfigRules * Added JAMFILE to the config variables. 2008-03-30 15:34:30 +00:00
DocumentationRules Replace spaces with tabs. 2008-04-08 15:18:19 +00:00
FileRules Patch by Andreas Färber: 2010-03-21 17:02:14 +00:00
FloppyBootImage * Prefixed the INCLUDE_GPL_ADDONS variable by "HAIKU_". configure needs to 2009-12-20 13:55:45 +00:00
FreetypeRules updated freetype to 2.2.1, tested ok, please forgive me for possible left issues :) 2006-06-27 11:34:35 +00:00
HaikuCD Enhance InstallOptionalHaikuImagePackage to accept a new parameter, which 2010-04-24 19:52:36 +00:00
HaikuImage Major restructuring of the mail server: 2011-02-09 01:49:01 +00:00
HeadersRules * reintegrated gsoc-locale-kit branch into trunk - there's more 2009-09-18 22:23:34 +00:00
HelperRules * Remove now unneeded (hopefully) timezone data 2010-07-27 09:48:36 +00:00
ImageRules Revert mistaken committed change. 2010-11-19 17:17:45 +00:00
KernelRules Added rule SetVersionScript to set the version script for a target and adjusted 2009-05-22 14:51:16 +00:00
LocaleRules Renamed the variables for the catalogs and re-introduced the target 'catkeys', 2010-10-24 16:55:33 +00:00
MainBuildRules * reverted the part of r35362 that introduced support for minor ABI versioning - my evil twin made 2010-01-31 23:41:44 +00:00
MathRules Added rules for performing basic integer arithmetics (+, -, *). The rules 2007-04-06 02:37:12 +00:00
MiscRules * Added Ingo's explanations as comments to the MakeLocate variants. 2011-01-08 17:26:08 +00:00
NetBootArchive Fixed the haiku-netboot-archive, as ipv4_datagram was removed in r37794. 2010-07-28 20:12:49 +00:00
OptionalBuildFeatures Updated openssl to 1.0.0c 2010-12-24 19:21:12 +00:00
OptionalLibPackages Added build of vorbis-tools for gcc4, previous one was missing. 2010-12-31 02:22:43 +00:00
OptionalPackageDependencies Added more gcc4 libs, removed duplicate libmng. 2010-11-01 05:49:49 +00:00
OptionalPackages Updated tar, bison and gettext packages to fix links in the .OptionalPackageDescription files. 2011-02-07 07:01:44 +00:00
OptionalTestPackages Removed PosixTestSuite optional package. 2010-04-05 13:06:17 +00:00
OverriddenJamRules Added rule SetVersionScript to set the version script for a target and adjusted 2009-05-22 14:51:16 +00:00
PackageRules The Copy rule respects an already set SEARCH path now. 2006-02-06 23:04:01 +00:00
ReleaseBuildProfiles Removed Clockwerk from ReleaseBuildProfiles. This brings alpha-* in line 2010-10-23 14:01:22 +00:00
TestsRules * We don't do R5 testing anymore. 2011-01-08 17:26:26 +00:00
UserBuildConfig.ReadMe Allow to suppress individual Optional Packages 2010-08-14 16:43:55 +00:00
UserBuildConfig.sample * Remove references to the timezone files in userbuildconfig jamfiles. We would need another AddSymlinkToHaikuImage 2010-07-27 10:46:02 +00:00