Initial checkin of Timber, as generated by `skel'.


git-svn-id: svn://svn.tartarus.org/sgt@3598 cda61777-01e9-0310-a592-d414129be87e
Now interfaces to sqlite and begins to support the command
framework. Can `initialise' a database, but only by creating an
empty one without even a schema.


git-svn-id: svn://svn.tartarus.org/sgt@3599 cda61777-01e9-0310-a592-d414129be87e
Add MIT licence text. (Mostly this is urgent because I wanted the
clutter gone when I grep for FIXME in the code :-)


git-svn-id: svn://svn.tartarus.org/sgt@3600 cda61777-01e9-0310-a592-d414129be87e
Generalised updates. Begun adding actual code. In particular the
mbox mail store is partly implemented though untested, the database
schema is non-empty even if it doesn't contain anything real yet,
and I've filled in the TODO with some real _stuff_.


git-svn-id: svn://svn.tartarus.org/sgt@3603 cda61777-01e9-0310-a592-d414129be87e
We can now read a user-supplied mbox and import messages into our
mail store. Next step is to index them in the database, which will
first involve writing the message parser.


git-svn-id: svn://svn.tartarus.org/sgt@3604 cda61777-01e9-0310-a592-d414129be87e
Add libcharset, exactly as lifted from the PuTTY sources as of this
moment. Soon it will look rather different, though, since I'm about
to start adding evil CJK multibyte encodings of doom.


git-svn-id: svn://svn.tartarus.org/sgt@3612 cda61777-01e9-0310-a592-d414129be87e
Added support for a number of CJK base charsets, and built EUC-CN,
EUC-KR and EUC-JP on top of that. While I'm at it, also added
test.c, a simple application of libcharset which converts between
two arbitrary character sets.


git-svn-id: svn://svn.tartarus.org/sgt@3617 cda61777-01e9-0310-a592-d414129be87e
Reasonably general support for character sets which are subsets of
ISO 2022. So far the only one actually supported is ISO-2022-JP, but
this mechanism should support ISO-2022-KR without too much
additional effort, and I have high hopes that if we ever need
ISO-2022-CN{,-EXT} it'll manage those too.


git-svn-id: svn://svn.tartarus.org/sgt@3624 cda61777-01e9-0310-a592-d414129be87e
Many more multibyte encodings: ISO-2022-KR, Big5, Shift-JIS, HZ,
UTF-16 in several endiannesses. Only UTF-7 and the elusive KSC5601
to go, then I'm done for now.


git-svn-id: svn://svn.tartarus.org/sgt@3629 cda61777-01e9-0310-a592-d414129be87e
Support for UTF-7.


git-svn-id: svn://svn.tartarus.org/sgt@3630 cda61777-01e9-0310-a592-d414129be87e
Oops - don't forget to cite RFC numbers wherever possible.


git-svn-id: svn://svn.tartarus.org/sgt@3631 cda61777-01e9-0310-a592-d414129be87e
Forgot I could use `+-' to encode `+' when writing UTF-7! Do so
where appropriate.


git-svn-id: svn://svn.tartarus.org/sgt@3632 cda61777-01e9-0310-a592-d414129be87e
Added CP949 / KS_C_5601-1987; cleaned up various things; added some
missing MIME encoding names seen in the wild; added a README.


git-svn-id: svn://svn.tartarus.org/sgt@3633 cda61777-01e9-0310-a592-d414129be87e
Added KOI8-RU. I think my libcharset work is now finished for the
moment.


git-svn-id: svn://svn.tartarus.org/sgt@3634 cda61777-01e9-0310-a592-d414129be87e
Add some TODO items.


git-svn-id: svn://svn.tartarus.org/sgt@3635 cda61777-01e9-0310-a592-d414129be87e
Oops, no, there's one charset left to mention: US-ASCII itself!


git-svn-id: svn://svn.tartarus.org/sgt@3636 cda61777-01e9-0310-a592-d414129be87e
Ahem; small cut and paste error :-)


git-svn-id: svn://svn.tartarus.org/sgt@3637 cda61777-01e9-0310-a592-d414129be87e
Aha! I've found out where to get some more mapping tables. Update
README to store this information in case I ever need to use it.


git-svn-id: svn://svn.tartarus.org/sgt@3640 cda61777-01e9-0310-a592-d414129be87e
Silly bug which was causing reams of garbage data to be stored at
the end of any mail in which a `From ' line was escaped.


git-svn-id: svn://svn.tartarus.org/sgt@3670 cda61777-01e9-0310-a592-d414129be87e
Strip out CRs in mboxes we import from.


git-svn-id: svn://svn.tartarus.org/sgt@3671 cda61777-01e9-0310-a592-d414129be87e