* ew-bq.el (ew-ccl-decode-quoted-printable): New CCL program.
[elisp/flim.git] / ChangeLog
index 0fa40fb..fa624eb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+1998-08-24  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * ew-bq.el (ew-ccl-decode-quoted-printable): New CCL program.
+       (ew-ccl-quoted-printable): New coding-system.
+
+1998-08-24  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * DOODLE-TIPS: Add a notice about ew-ccl-b.
+
+       * ew-bq.el (ew-bq-use-mel): New variable.
+       (ew-decode-q): Use `q-encoding-decode-string' if `ew-bq-use-mel' is non-nil.
+       (ew-encode-b): Use `base64-encode-string' if `ew-bq-use-mel' is non-nil.
+       (ew-decode-b): Use `base64-decode-string' if `ew-bq-use-mel' is non-nil.
+
+1998-08-24  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * ew-bq.el (ew-ccl-qp-table): New constant.
+       (ew-ccl-encode-quoted-printable): New CCL program.
+
+1998-08-23  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * ew-bq.el (ew-ccl-encode-uq): Change BUFFER_MAGNIFICATION to 3.
+       (ew-ccl-encode-cq): Ditto.
+       (ew-ccl-encode-pq): Ditto.
+       (ew-ccl-encode-base64): New CCL program.
+       (ew-ccl-base64): New coding system.
+
+1998-08-23  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * ew-bq.el: Re-indented.
+
+1998-08-23  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * ew-bq.el: New file.
+
+       * ew-unit.el: Use 'ew-bq instead of 'mel.
+
+1998-08-23  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * Makefile (clean): Delete rule for cleaning tl.
+
+       * natset.el (natset-gen-ccl-branch256): New function.
+
+1998-08-23  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * Makefile (check): New rule.
+
+       * TESTPAT: Add batch testing facility.
+
+       * lex.el (lex-use-ccl): Abolished.
+       (lex-ccl-execute): New variable.
+       (lex-ccl-use-name): New variable.
+       (lex-gen-machine): Use `lex-ccl-execute' instead of `lex-use-ccl'.
+       (lex-gen-ccl-unibyte-automata): Use `lex-ccl-execute' and
+       `lex-ccl-use-name' for generating codes.
+       (lex-gen-ccl-unibyte-automata-program): Use `lex-ccl-execute'.
+
+1998-08-23  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * lex.el (lex-gen-ccel-unibyte-automata-state): Jump start of loop
+       on end of states.
+
+1998-08-22  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * TESTPAT: Use `\t' instead of raw TAB character.
+
+       * ew-line.el (ew-crlf-line-generic): Accept bare LF before first CR
+       occurence.
+
+       * ew-quote.el: Evaluate constants on byte-compile time.
+
+       * ew-unit.el: Ditto.
+
+       * ew-var.el: Ditto.
+
+       * lex.el: CCL support.
+       (lex-use-ccl): New variable.
+       (lex-gen-machine): Use `lex-gen-automata' and `lex-gen-action'.
+       (lex-gen-automata): New function.
+       (lex-gen-action): New function.
+       (lex-gen-ccl-unibyte-automata): New function.
+       (lex-gen-ccl-unibyte-automata-program): New function.
+       (lex-gen-ccl-unibyte-automata-state): New function.
+
+       * natset.el (natset-gen-ccl-branch): New function.
+       (natset-gen-ccl-branch-internal): New function.
+       (natset-assoc): New function.
+
+1998-08-21  Shuhei KOBAYASHI  <shuhei-k@jaist.ac.jp>
+
+       * TESTPAT: Specify coding-system.
+
+1998-08-21  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * TESTPAT: Change quoted-encoded-word to embedded-encoeded-word.
+
+       * closure.el (closure-make): Closure structure changed.
+       (closure-partial-call): New function.
+       (closure-call): Support new structure.
+
+       * ew-dec.el (ew-decode-field): Abolish argument `eword-filter'.
+       (ew-decode-none): Ditto.
+       (ew-decode-generic): Ditto.
+       (ew-decode-unstructured-ewords): Ditto.
+       (ew-decode-unstructured): Ditto.
+       (ew-decode-phrase-ewords): Ditto.
+       (ew-decode-phrase): Ditto.
+       (ew-decode-comment-ewords): Ditto.
+       (ew-decode-comment): Ditto.
+       (ew-analyze-field-to-decode): New function.
+       (ew-decode-analyzed-field): New function.
+       (ew-decode-field-no-cache): Use `ew-analyze-field-to-decode' and
+       `ew-decode-analyzed-field'.
+       (ew-decode-us-ascii): Now inlining function.
+       (ew-rotate): New macro.
+
+       * ew-quote.el (ew-encode-crlf): Support `ew-remove-bare-crlf' option.
+
+       * ew-unit.el (ew-eword-p): Now inlining function.
+       (ew-decode-eword): Abolish arguments `eword-filter1' and
+       `eword-filter2'.
+
+       * ew-var.el (ew-remove-bare-crlf): New variable.
+       (ew-dynamic-options): Add `ew-remove-bare-crlf'.
+
+       * eword-decode.el: Remove third argument for `ew-decode-field'.
+
+1998-08-21  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * ew-dec.el (ew-decode-us-ascii): New function.
+       (ew-decode-none): Use the function `ew-decode-us-ascii' instead of 
+       the variable `ew-decode-us-ascii'.
+       (ew-decode-generic): Ditto.
+       (ew-decode-generic-others): Ditto.
+
+       * ew-unit.el (ew-charset-aliases): Abolished.
+       (ew-char-decoder): Use `decode-mime-charset-string' with 'LF as lbt.
+
+       * ew-var.el (ew-decode-us-ascii): Abolished.
+       (ew-default-mime-charset): New variable.
+       (ew-dynamic-options): Add `ew-default-mime-charset'.
+
+1998-08-21  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * ew-unit.el (ew-eword-p): Use aref instead of substring.
+       (ew-char-decoder): Refined.
+
+       * lalr-el.scm (gen-larl1): New function.
+
+1998-08-20  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * ew-var.el (ew-dynamic-options): The result is now integer instead
+       of list of booleans.
+
+1998-08-20  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * Makefile: Output parse table to ew-parse.out instead of
+       states.output.
+
+       * ew-var.el (ew-decode-field-syntax-alist): Keys are now symbols
+       instead of strings.
+
+       * ew-dec.el (ew-decode-field-no-cache): Ditto.
+
+1998-08-19  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * Makefile: Avoid an error about unexisting `scm'.
+
+1998-08-19  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * Makefile: Add a rule for making `ew-parse.el'.
+
+       * ew-parse.scm: New file.
+
+       * lalr-el.scm: New file.
+
+       * lr-driver.el (lr-push): Now inlining.
+
+1998-08-19  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * ew-dec.el: Use 'decoded property instead of 'result for
+       decoded string.
+
+1998-08-19  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * ew-parse.el: Use lookahead token.
+
+       * ew-data.el (ew-mark-phrase): Decode last token in phrase.
+
+1998-08-19  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * ew-parse.el: Remove token suffix "-tok".
+
+       * ew-data.el: Ditto.
+
+       * ew-dec.el: Ditto.
+
+       * ew-scan-m.el: Ditto.
+
+       * ew-scan-s.el: Ditto.
+
+       * ew-scan-u.el: Ditto.
+
+       * ew-var.el: Ditto.
+
+1998-08-19  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * DOODLE-TIPS: Add desctiptions about byte-compile warnings.
+
+       * ew-data.el (ew-mark-phrase): Does not update right end of
+       fragments separation.
+
+       * ew-dec.el (ew-mark): Wait `ew-parse-error-sit-for-seconds'
+       seconds after parse error.
+
+       * ew-line.el (ew-tab-to-space): New function.
+       (ew-crlf-generic): New function.
+       (ew-crlf-line-generic): Rewrited.
+       (ew-lf-generic): New function.
+       (ew-lf-line-generic): Rewrited.
+       (ew-crlf-convert): New function.
+       (ew-crlf-line-convert): Rewrited.
+       (ew-lf-convert): New function.
+       (ew-lf-line-convert): Rewrited.
+       (ew-crlf-fold): New function.
+       (ew-lf-fold): New function.
+       (ew-crlf-refold): New function.
+       (ew-lf-refold): New function.
+
+       * ew-parse.el: Parser actions are now accesible to a lookahead
+       token.
+
+       * ew-var.el (ew-parse-error-sit-for-seconds): New variable.
+
+       * eword-decode.el: Enable debug code `rotate-memo'.
+       (eword-decode-header): Refold decoded field.
+       (eword-decode-and-fold-structured-field): Use `ew-crlf-refold'.
+
+       * lr-driver.el (lr-parse): Provides a lookahead token to parser
+       actions.
+
+       * mmbuffer.el (insert-decoded-header): Refold decoded field.
+
+1998-08-18  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * DOODLE-TIPS: Change `gnus-unstructured-field-decoder' and
+       `gnus-structured-field-decoder' usable by FLAM-DOODLE and FLIM.
+
+       * ew-data.el (ew-mark-phrase): Update both ends of fragments after
+       fragments separation.
+
+       * ew-unit.el (ew-charset-aliases): Add 'x-ctext.
+
+1998-08-18  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * mime-def.el (mime-library-version-string): bump up to
+       FLAM-DOODLE 1.9.1.
+
+1998-08-18  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * COLORS: New file.
+
+       * ew-data.el (ew-add-frag): Change defun to defsubst.
+
+       * ew-scan-m.el (ew-scan-mime): Refine to fit inlining `ew-add-frag'.
+
+       * ew-scan-s.el (ew-scan-std11): Ditto.
+
+       * ew-scan-u.el (ew-scan-unstructured): Ditto.
+
+1998-08-17  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * ew-data.el:
+         - Abolish prev-token, next-token, start and end
+         properties on fragment.
+         - Abolish function `ew-tokenize-frag', `ew-add-open',
+         `ew-add-close', `ew-add-token', `ew-add-close-token' and
+         `ew-token-list'.
+       (ew-make-anchor): Add type property.
+       (ew-token-last-frag-p): New function.
+
+       * ew-parse.el: Add new token `anchor'.
+
+       * ew-scan-m.el: Use `ew-add-frag' instead of abolished
+       functions.
+
+       * ew-scan-s.el: Ditto.
+
+1998-08-17  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * ew-data.el:
+         - Require 'ew-util.
+         - Change token prefix "ew:raw-" to "ew:".
+
+       * ew-dec.el: Change token prefix "ew:raw-" to "ew:".
+       (ew-mark): Shorten parse error message.
+
+       * ew-scan-m.el: Change token prefix "ew:raw-" to "ew:".
+       (ew-scan-mime): Change atom to token.
+
+       * ew-scan-s.el: Change token prefix "ew:raw-" to "ew:".
+
+       * ew-scan-u.el: Change token prefix "ew:raw-" to "ew:".
+
+       * ew-parse.el: Change token prefix "ew:raw-" to "ew:".
+
+1998-08-17  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * ew-dec.el: Require 'ew-var.
+       (ew-decode-field-cache-buf): New variable.
+       (ew-decode-field-cache-num): New variable.
+       (ew-decode-field-no-cache): Renamed from `ew-decode-field'.
+       (ew-decode-field): Call `ew-decode-field-no-cache' with caching.
+
+1998-08-17  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * FLIM-ELS (flim-modules): Add `ew-var' and reorder.
+
+       * ew-var.el: New file.
+
+       * ew-data.el: Require 'ew-var.
+       (ew-separate-eword): New function.
+       (ew-mark-phrase): Use `ew-separate-eword'.
+
+       * ew-dec.el: 
+         - Require 'ew-var.
+         - Move `ew-decode-quoted-encoded-word',
+         `ew-ignore-75bytes-limit', `ew-ignore-76bytes-limit',
+         `ew-permit-sticked-comment', `ew-permit-sticked-special',
+         `ew-decode-us-ascii', `ew-decode-field-syntax-alist' and
+         `ew-decode-field-default-syntax' to ew-var.el.
+       (ew-decode-field): Use `ew-separate-eword'.
+
+       * ew-quote.el: Require 'ew-var.
+         - Move `ew-token-regexp', `ew-encoded-text-regexp',
+         `ew-encoded-word-regexp', 
+
+1998-08-17  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * DOODLE-TIPS: Use `ew-decode-field' directly instead of
+       `eword-decode-unstructured-field-body' and
+       `eword-decode-and-unfold-structured-field'.
+
+       * FLAM-VERSION: New file (renamed from VERSION.FLAM).
+
+       * eword-decode.el (eword-decode-header): Convert CRLF to LF in
+       a result of `ew-decode-field'.
+       (eword-decode-structured-field-body) Ditto.
+       (eword-decode-unstructured-field-body) Ditto.
+
+       * mime.el (mime-read-field): Use `ew-decode-field' instead of
+       `eword-decode-unstructured-field-body'.
+
+       * mmbuffer.el (insert-decoded-header): Use `ew-decode-field'
+       directly.
+
+1998-08-17  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * DOODLE-TIPS: New file.
+
+       * TESTPAT: Separator of field-name and field-body is now not special.
+
+       * ew-data.el (ew-special-frag-p): Separator of field-name and
+       field-body is now not special.
+
+       * ew-line.el (ew-cut-generic): New function.
+       (ew-cut-cr-lf): Use `ew-cut-generic'.
+       (ew-cut-cr): New function.
+       (ew-cut-lf): New function.
+       (ew-crlf-line-generic): Renamed from `ew-line-generic'
+       (ew-crlf-line-convert): Renamed from `ew-line-convert'
+       (ew-lf-line-generic): New function.
+       (ew-lf-line-convert): New function.
+
+       * eword-decode.el (eword-decode-and-fold-structured-field): Use
+       `ew-decode-field'.
+       (eword-decode-and-unfold-structured-field): Use
+       `ew-decode-field'.
+
+1998-08-16  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * TESTPAT: Add a driver for `ew-decode-field'.
+
+1998-08-16  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * FLIM-ELS (flim-modules): Reorder.
+
+1998-08-16  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * ChangeLog: Fix typo.
+
+       * ew-parse.el: New file.
+
+1998-08-16  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * FLIM-ELS (flim-modules): Add `closure', `natset', `digraph',
+       `automata', `rx', `lex', `lr-driver', `ew-util', `ew-line',
+       `ew-quote', `ew-unit', `ew-data', `ew-parse', `ew-scan-s',
+       `ew-scan-m', `ew-scan-u' and `ew-dec'.
+
+       * automata.el, closure.el, digraph.el, ew-data.el, ew-dec.el,
+       ew-line.el, ew-quote.el, ew-scan-m.el, ew-scan-s.el,
+       ew-scan-u.el, ew-unit.el, ew-util.el, lex.el, lr-driver.el,
+       natset.el, rx.el: New files.
+
+       * eword-decode.el: Require 'ew-dec.
+       (eword-decode-header): Use `ew-decode-field'.
+       (eword-decode-and-unfold-structure): Ditto.
+       (eword-decode-structured-field-body): Ditto.
+       (eword-decode-unstructured-field-body): Ditto.
+
+1998-08-16  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * DOODLE: branched from flam-1_9_1
+
+1998-08-16  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * mime-def.el (mime-library-version-string): bump up to FLIM-FLAM 1.9.1.
+
+1998-07-22  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * ChangeLog: Fix typo.
+
+1998-07-22  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * TESTPAT: Add 25 tests.
+
+       * TESTPAT: Fix comment convention.
+
+       * eword-decode.el (decode-entire-string): Add formal argument
+       `chars-must-be-quote'.
+       (eword-decode-unstructured): Add actual argument `chars-must-be-quote'.
+       (eword-decode-comment): Add actual argument `chars-must-be-quote'.
+       (eword-decode-quoted-string): Add actual argument `chars-must-be-quote'.
+       (eword-analyze-quoted-string): Does not quote result of
+       `eword-decode-quoted-string' as quoted-string because the result is
+       now already quoted-string form.
+
+1998-07-21  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * TESTPAT: Add two tests.
+
+       * TESTPAT: quoted-encoded-word quoting character is changed from * to +.
+
+1998-07-21  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * TESTPAT: Add sixteen tests.
+
+1998-07-20  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * TESTPAT: Add three tests.
+
+1998-07-20  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * TESTPAT: Add two tests.
+
+1998-07-20  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * TESTPAT: Add test.
+
+1998-07-20  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mime-def.el (mime-library-version-string): Renamed from
+       `mime-spadework-module-version-string' to sync with flim-1_9_0.
+
+       * mel-q.el (quoted-printable-internal-decode-region): Fix
+       sync-mistake.
+
+1998-07-19  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * TESTPAT: Add full automatic testing capability.
+
+1998-07-19  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * TESTPAT: Add quoted-encoded-word description and test.
+
+1998-07-18  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * TESTPAT: Add test result by FLIM-FLAM.
+
+       * eword-decode.el (eword-lexical-analyze-internal): Restrict
+       calling `eword-analyze-encoded-word' after calling
+       `eword-analyze-spaces'.
+
+1998-07-18  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * TESTPAT: Add test.
+
+       * eword-decode.el (eword-analyze-quoted-string): Quote string as
+       quoted-string.
+       (eword-analyze-encoded-word): Quote non-atoms string as
+       quoted-string.
+
+1998-07-18  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * Fix character code for ChangeLog.
+
+1998-07-18  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * Sync up with flim-1_8_1 to flim-1_9_0.
+
+1998-07-18  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * TESTPAT: Add test driver for FLIM-FLAM.
+
+1998-07-16  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * TESTPAT: Change format to s-exp.
+
+1998-07-13  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * TESTPAT: Add one test.
+
+1998-07-06  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * Sync up with flim-1_3_0 to flim-1_8_1.
+
+1998-06-08  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * Sync up with flim-1_2_1 to flim-1_3_0.
+
+1998-05-27  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * eword-decode.el (eword-after-encoded-word-in-phrase-regexp):
+       Remove `(' to do not decode encoded word just before comment.
+
+1998-05-27  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * TESTPAT: New file.
+
+1998-05-22  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * eword-decode.el (eword-analyze-quoted-string): Check
+       `eword-decode-quoted-encoded-word'.
+
+1998-05-14  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * eword-decode.el (eword-analyze-comment): Call
+       `std11-unfold-string'.
+
+1998-05-13  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * mime-def.el: Fix typo.
+
+1998-05-13  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * Sync up with flim-1_2_0 to flim-1_2_1.
+
+1998-05-08  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * Sync up with flim-1_1_0 to flim-1_2_0.
+
+1998-05-06  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * Sync up with flim-1_0_1 to flim-1_1_0.
+
+1998-04-25  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * eword-decode.el (eword-decode-string): Fix arguments order to
+       calling `eword-decode-unstructured'.
+       (eword-decode-region): Fix arguments order to calling
+       `eword-decode-unstructured'.
+
+1998-04-25  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * eword-decode.el (eword-decode-first-encoded-words): Update
+       DOC-string.
+       (eword-decode-first-encoded-words): Update DOC-string.
+       (eword-decode-unstructured): Argument `code-conversion' is now
+       required.
+       (eword-decode-comment): Argument `code-conversion' is now
+       required.
+       (eword-decode-quoted-string): Argument `code-conversion' is now
+       required.
+       (eword-decode-string): Update DOC-string. Reorder arguments to
+       calling `eword-decode-unstructured'.
+       (eword-decode-region): Update DOC-string. Reorder arguments to
+       calling `eword-decode-unstructured'.
+       (eword-analyze-quoted-string): Add `default-mime-charset' argument
+       to calling eword-decode-quoted-string.
+       (eword-analyze-comment): Add `default-mime-charset' argument to
+       calling eword-decode-comment.
+
+1998-04-25  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * eword-decode.el (eword-decode-entire-string): Delete argument
+       `default-charset'. Add argument `code-conversion'.
+       (eword-decode-unstructured): Add argument `code-conversion'.
+       (eword-decode-comment): Add argument `code-conversion'.
+       (eword-decode-quoted-string): Add argument `code-conversion'.
+       (eword-decode-string): Propagate `code-conversion' to
+       `eword-decode-unstructured'.
+       (eword-decode-region): Propagate `code-conversion' to
+       `eword-decode-unstructured'.
+
+1998-04-23  Shuhei KOBAYASHI  <shuhei-k@jaist.ac.jp>
+
+       * eword-decode.el (eword-decode-ignored-field-list): Add
+       `received'.
+       
+       * mel.el (mime-temp-directory): Use TMPDIR, TMP, or TEMP
+       environment variables.
+
+1998-04-23  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * eword-decode.el (eword-encoded-word-prefix-regexp): New
+       constant.
+       (eword-encoded-word-suffix-regexp): New constant.
+       (eword-encoded-text-in-unstructured-regexp): New constant.
+       (eword-encoded-word-in-unstructured-regexp): New constant.
+       (eword-after-encoded-word-in-unstructured-regexp): New constant.
+       (eword-decode-entire-string): New function.
+       (eword-decode-unstructured): Use `eword-decode-entire-string'.
+       (eword-decode-comment): Use `eword-decode-entire-string'.
+       (eword-decode-quoted-string): Use `eword-decode-entire-string'.
+       (eword-decode-string): Add optional argument
+       `default-mime-charset'.
+       (eword-decode-region): Add optional argument
+       `default-mime-charset'.
+       (eword-decode-header): Refine `code-conversion' treatment.
+
+1998-04-21  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * eword-decode.el (eword-decode-header): code-conversion is now
+       effective again.
+
+1998-04-21  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * eword-decode.el (eword-decode-quoted-encoded-word): Use
+       'defcustom.
+
+1998-04-21  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * eword-decode.el (eword-decode-sticked-encoded-word): Use
+       'defcustom.
+
+1998-04-21  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * VERSION.FLAM: New file.
+
+1998-04-17  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * Sync up with flim-1_0_0 to flim-1_0_1.
+
+1998-04-13  Tanaka Akira      <akr@jaist.ac.jp>
+
+       * eword-decode.el: Copied from AKEMI branch of SEMI.
+
+\f
+1998-07-15  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * FLIM: Version 1.9.0 (Terada) was released.
+
+1998-07-10  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mime-parse.el (mime-parse-multipart): Set message/x-broken if
+       parsing is failed.
+
+1998-07-10  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mmbuffer.el (entity-children): Don't use
+       `mime-entity-children-internal'.
+
+       * mime-parse.el (mime-parse-multipart): Modify for
+       `mime-parse-message'; return children.
+       (mime-parse-encapsulated): Likewise.
+       (mime-parse-message): Change interface; delete DOC-string; don't
+       parse children instantly.
+       (mime-parse-buffer): Modify for `mime-parse-message'.
+
+       * mime-parse.el (mime-parse-message): Delete autoload cookie.
+
+       * mime.el: Delete autoload setting for `mime-parse-message'.
+
+       * mime-en.sgml, mime-ja.sgml (Entity creation): Delete description
+       of `mime-parse-message'; modify description of `mime-parse-buffer'
+       to add `representation-type'.
+
+\f
+1998-07-07  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * FLIM-Chao: Version 1.8.0 (Shij\e.D\eNr) was released.\e*B
+
+1998-07-07  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mmcooked.el: Abolish method `open'.
+
+       * mmbuffer.el (initialize-instance): New method; abolish `open'.
+       (entity-children): New method.
+
+       * mime.el (mime-open-entity): Send `initialize-instance' to
+       created message.
+       (mime-entity-children): New implementation.
+       (mime-entity-parent): New implementation.
+       (mime-root-entity-p): New implementation.
+
+       * mime-parse.el (mime-parse-multipart): Specify current entity as
+       parent.
+       (mime-parse-encapsulated): Likewise.
+       (mime-parse-message): Change interface to specify parent; modify
+       for `make-mime-entity-internal'.
+       (mime-parse-buffer): Modify for `mime-parse-message'.
+
+       * mime-def.el (make-mime-entity-internal): Change interface; add
+       format of `mime-entity' to add `parent'.
+
+1998-07-07  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mmbuffer.el (mime-visible-field-p): Renamed from
+       `eword-visible-field-p'.
+
+1998-07-07  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mime.el (mm-arglist-to-arguments): New function.
+       (mm-define-generic): New macro.
+       (mime-entity-cooked-p): Use `mm-define-generic'.
+       (mime-entity-point-min): Use `mm-define-generic'.
+       (mime-insert-decoded-header): Use `mm-define-generic'.
+       (mime-entity-content): Use `mm-define-generic'.
+       (mime-write-entity-content): Use `mm-define-generic'.
+       (mime-write-entity): Use `mm-define-generic'.
+       (mime-write-entity-body): Use `mm-define-generic'.
+
+1998-07-07  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mmbuffer.el (eword-visible-field-p): Moved from mime.el.
+
+       * mime.el: Move `eword-visible-field-p' to mmbuffer.el.
+       (mime-write-entity-body): Change message to `write-body'.
+
+1998-07-07  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mmcooked.el, mmbuffer.el (open): Renamed from `open-entity'.
+
+       * mime.el (mime-open-entity): Change message to `open'.
+
+       * mime-def.el (mm-define-backend): Must `copy-alist'.
+
+1998-07-07  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mmcooked.el, mmbuffer.el: Use `mm-define-backend' and
+       `mm-define-method'.
+
+       * mime.el: Move `mime-entity-implementation-alist' to mime-def.el.
+       (mime-find-function): New implementation.
+       (mime-entity-cooked-p): Use `mime-entity-send'.
+
+       * mime-def.el (mime-entity-implementation-alist): Moved from
+       mime.el.
+       (mm-define-backend): New macro.
+       (mm-define-method): New macro.
+
+\f
+1998-07-05  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * FLIM: Version 1.8.1 (Kutsukawa) was released.
+
+1998-07-04  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mime-en.sgml, mime-ja.sgml (Entity Attributes): Add description
+       about `default-encoding' of `mime-entity-encoding'.
+
+       * mime-en.texi, mime-en.sgml: New files.
+
+       * mime-ja.sgml (media-type): Fix typo.
+
+       * mime-ja.sgml (Glossary): Fix order.
+
+       * mime-ja.sgml (Entity Attributes): Use <code> tag for nil.
+
+       * mime-ja.sgml (Entity Attributes): Fix typo.
+
+1998-07-03  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mime.el (mime-entity-encoding): Add new optional argument
+       `default-encoding'; set default encoding if
+       Content-Transfer-Encoding field is not found.
+
+1998-07-03  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mmbuffer.el (mmbuffer-write-entity): Use
+       `mime-entity-buffer-internal', `mmbuffer-entity-point-min' and
+       `mmbuffer-entity-point-max'.
+       (mmbuffer-write-entity-body): Use `mime-entity-buffer-internal',
+       `mime-entity-body-start-internal' and
+       `mime-entity-body-end-internal'.
+       (mmbuffer-insert-decoded-header): Use
+       `mime-entity-buffer-internal', `mime-entity-header-start-internal'
+       and `mime-entity-header-end-internal'.
+
+\f
+1998-07-01  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * FLIM: Version 1.8.0 (\e.D\eNRkubo) was released.\e*B
+
+       * README.en: Delete `How to use'.
+
+1998-07-01  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mime-ja.sgml (Entity creation): Add reference for `mm-backend'
+       in description of `mime-open-entity'.
+
+       * mime-ja.sgml (mm-backend): New section.
+
+1998-07-01  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mime-ja.sgml (Entity-header): Modify description about
+       `mime-insert-decoded-header'.
+
+       * mmcooked.el (mmcooked-insert-decoded-header): New function.
+
+       * mmbuffer.el (mmbuffer-insert-decoded-header): New function.
+
+       * mime.el (mime-insert-decoded-header): Use implementation of
+       mm-backend; abolish optional argument `code-conversion'.
+
+1998-06-30  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * eword-decode.el (eword-decode-encoded-text): Use
+       `decode-mime-charset-string'.
+
+1998-06-30  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mmcooked.el (mmcooked-write-entity-body): New function.
+
+       * mmbuffer.el (mmbuffer-write-entity-body): New function.
+
+       * mime.el (mime-write-entity-body): Use implementation of
+       mm-backend.
+
+1998-06-30  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mmcooked.el (mmcooked-write-entity): New function.
+
+       * mmbuffer.el (mmbuffer-write-entity): New function.
+
+       * mime.el (mime-write-entity): Use implementation of mm-backend.
+
+1998-06-30  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mmcooked.el (mmcooked-entity-content): New alias for
+       `mmbuffer-entity-content'.
+       (mmcooked-write-entity-content): New function.
+
+       * mmbuffer.el (mmbuffer-entity-content): New function.
+       (mmbuffer-write-entity-content): New function.
+
+       * mime.el (mime-entity-send): New function.
+       (mime-entity-buffer): Use `mime-entity-send'.
+       (mime-entity-point-min): Likewise.
+       (mime-entity-point-max): Likewise.
+       (mime-entity-header-start): Likewise.
+       (mime-entity-header-end): Likewise.
+       (mime-entity-body-start): Likewise.
+       (mime-entity-body-end): Likewise.
+       (mime-fetch-field): Likewise.
+       (mime-entity-content): Use implementation of mm-backend.
+       (mime-write-entity-content): Likewise.
+
+\f
+1998-06-30  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * FLIM: Version 1.7.0 (Iseda) was released.
+
+       * mime-ja.sgml (Entity creation): Add description of
+       `mime-open-entity'.
+       (Entity Attributes): Add description of `mime-entity-cooked-p'.
+       (Entity-content): Add description of `mime-write-entity-content',
+       `mime-write-entity' and `mime-write-entity-body'.
+
+1998-06-29  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mime.el (mime-write-entity-content): New function.
+
+1998-06-28  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mime.el (mime-write-entity-body): New function.
+
+       * mime.el (mime-write-entity): New function.
+
+1998-06-28  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mime-parse.el (mime-parse-multipart): Change media-type of
+       entity to application/octet-stream if the first delimiter is not
+       found.
+
+1998-06-28  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * FLIM-ELS (flim-modules): Add `mmbuffer' and `mmcooked'.
+
+       * mmcooked.el: New file.
+
+       * mmbuffer.el: New file.
+
+       * mime.el (mime-entity-implementation-alist): New variable.
+       (mime-find-function): New function.
+       (mime-open-entity): New function.
+       (mime-entity-function): New function.
+       (mime-entity-cooked-p): New function.
+       (mime-entity-buffer): Use backend-module.
+       (mime-entity-point-min): Likewise.
+       (mime-entity-point-max): Likewise.
+       (mime-entity-header-start): Likewise.
+       (mime-entity-header-end): Likewise.
+       (mime-entity-body-start): Likewise.
+       (mime-entity-body-end): Likewise.
+       (mime-fetch-field): Likewise.
+
+       * mime-parse.el (mime-parse-message): New optional argument
+       `representation-type'.
+       (mime-parse-buffer): Likewise.
+
+       * mime-def.el: Change format of mime-entity-internal to add
+       `representation-type' and `location'.
+
+\f
+1998-06-28  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * FLIM-Chao: Version 1.7.0 (Goj\e.D\eNr) was released.\e*B
+
+1998-06-26  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mime-ja.sgml: Modify for FLIM 1.7.
+
+       * mime.el (mime-entity-number): Add DOC.
+
+1998-06-26  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mime.el (mime-entity-encoding): New implementation.
+
+       * mime-parse.el (mime-parse-message): Abolish argument `encoding'.
+
+       * mime-def.el (make-mime-entity-internal): Abolish argument
+       `encoding'.
+       (mime-entity-set-encoding-internal): New function.
+
+1998-06-26  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mime.el (mime-entity-content-disposition): New implementation.
+
+       * mime-parse.el (mime-parse-message): Don't parse
+       Content-Disposition.
+
+       * mime-def.el (make-mime-entity-internal): Delete argument
+       `content-disposition'.
+       (mime-entity-set-content-disposition-internal): New function.
+
+1998-06-25  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * eword-decode.el: Move function `eword-visible-field-p' and
+       `mime-insert-decoded-header' to mime.el.
+
+       * mime-parse.el: Use internal functions of mime-entity.
+
+       * mime.el (mime-entity-children): Moved from mime-def.el; use
+       `mime-entity-children-internal'.
+       (mime-entity-node-id): Moved from mime-def.el; use
+       `mime-entity-node-id-internal'.
+       (mime-entity-number): Moved from mime-def.el; use
+       `mime-entity-node-id-internal'.
+       (mime-entity-buffer): Moved from mime-def.el; use
+       `mime-entity-buffer-internal'.
+       (mime-entity-point-min): Moved from mime-def.el; use
+       `mime-entity-header-start-internal'.
+       (mime-entity-point-max): Moved from mime-def.el; use
+       `mime-entity-body-end-internal'.
+       (mime-entity-header-start): Moved from mime-def.el; use
+       `mime-entity-header-start-internal'.
+       (mime-entity-header-end): Moved from mime-def.el; use
+       `mime-entity-header-end-internal'.
+       (mime-entity-content-type): Moved from mime-def.el; use
+       `mime-entity-content-type-internal'.
+       (mime-entity-content-disposition): Moved from mime-def.el; use
+       `mime-entity-content-disposition-internal'.
+       (mime-entity-encoding): Moved from mime-def.el; use
+       `mime-entity-encoding-internal'.
+       (mime-fetch-field): Use `mime-entity-original-header-internal' and
+       `mime-entity-set-original-header-internal'.
+       (mime-read-field): Use `mime-entity-parsed-header-internal' and
+       `mime-entity-set-parsed-header-internal'.
+       (eword-visible-field-p): Moved from eword-decode.el.
+       (mime-insert-decoded-header): Moved from eword-decode.el.
+       (mime-entity-body-start): Moved from mime-def.el; use
+       `mime-entity-body-start-internal'.
+       (mime-entity-body-end): Moved from mime-def.el; use
+       `mime-entity-body-end-internal'.
+       (mime-entity-media-type): Moved from mime-def.el.
+       (mime-entity-media-subtype): Moved from mime-def.el.
+       (mime-entity-parameters): Moved from mime-def.el.
+       (mime-entity-type/subtype): Moved from mime-def.el.
+
+       * mime-def.el (make-mime-entity-internal): Renamed from
+       `make-mime-entity'.
+       (mime-entity-buffer-internal): New function.
+       (mime-entity-header-start-internal): New function.
+       (mime-entity-header-end-internal): New function.
+       (mime-entity-body-start-internal): New function.
+       (mime-entity-body-end-internal): New function.
+       (mime-entity-node-id-internal): New function.
+       (mime-entity-content-type-internal): New function.
+       (mime-entity-content-disposition-internal): New function.
+       (mime-entity-encoding-internal): New function.
+       (mime-entity-original-header-internal): New function.
+       (mime-entity-children-internal): New function.
+       (mime-entity-parsed-header-internal): New function.
+       (mime-entity-set-original-header-internal): Renamed from
+       `mime-entity-set-original-header'.
+       (mime-entity-set-children-internal): Renamed from
+       `mime-entity-set-children'.
+       (mime-entity-set-parsed-header-internal): Renamed from
+       `mime-entity-set-parsed-header'.  Move `mime-entity-SLOT'
+       functions to mime.el.
+
+1998-06-25  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mime-ja.sgml (CVS): Fix typo.
+
+1998-06-24  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mime-parse.el (mime-parse-encapsulated): New function.
+       (mime-parse-message): Use `mime-parse-encapsulated'.
+
+1998-06-24  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mime-def.el (mime-entity-set-children): New function.
+
+       * mime-parse.el (mime-parse-multipart): Change interface.
+       (mime-parse-message): Use `mime-entity-set-children'.
+
+1998-06-24  Shuhei KOBAYASHI  <shuhei-k@jaist.ac.jp>
+
+       * mime.el (mime-read-field): Fix typo.
+
+\f
+1998-06-24  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * FLIM: Version 1.6.0 (Ogura) was released.
+
+       * mime-ja.sgml (Entity Attributes): New section.
+
+       * mime-ja.sgml (Entity as node in message): Add description of
+       `mime-find-entity-from-number' and
+       `mime-find-entity-from-node-id'.
+
+       * mime.el (mime-find-entity-from-number): New function.
+       (mime-find-entity-from-node-id): New function.
+       (mime-entity-parent): New function (moved from SEMI MIME-View).
+       (mime-entity-uu-filename): New function (moved from SEMI
+       MIME-View).
+       (mime-entity-filename): New function (moved from SEMI MIME-View).
+
+       * mime-def.el (mime-uuencode-encoding-name-list): New variable.
+
+1998-06-24  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mime-ja.sgml: Modify for FLIM 1.6.
+
+       * mime.el (mime-fetch-field): New function; abolish
+       `mime-entity-fetch-field'.
+       (mime-read-field): New function; abolish `mime-entity-read-field'.
+
+1998-06-23  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mime-ja.sgml, mime-ja.texi: New files.
+
+1998-06-22  Shuhei KOBAYASHI  <shuhei-k@jaist.ac.jp>
+
+       * mime-parse.el (mime-parse-message): Would error if empty body.
+
+\f
+1998-06-22  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * FLIM: Version 1.5.0 (Mukaijima) was released.
+
+1998-06-21  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * README.en (What's FLIM): Modify for mime.el.
+
+       * FLIM-ELS (flim-modules): Add `mime'.
+
+       * mime-lib.el: Move every definitions to mime.el.
+
+       * mime.el: New module (renamed from mime-lib.el).
+
+1998-06-21  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mime-lib.el: Add autoload setting for eword-encode.el.
+
+       * mime-lib.el (mime-entity-content): New function.
+
+1998-06-20  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mel.el: Abolish constant `mel-version'.
+
+       * mel.el (mime-string-decoding-method-alist): New variable.
+       (mime-decode-string): New function.
+
+1998-06-20  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mel-b.el (base64-external-decode-string): New function.
+       (base64-decode-string): New function.
+
+1998-06-20  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mel-q.el (quoted-printable-decode-string): New implementation.
+
+1998-06-20  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mel-q.el (quoted-printable-internal-decode-region): New
+       implementation.
+
+1998-06-20  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mel-q.el (q-encoding-decode-string): Use
+       `quoted-printable-hex-char-to-num'.
+
+       * mel-q.el (quoted-printable-hex-char-to-num): New function.
+       (quoted-printable-decode-string): Use
+       `quoted-printable-hex-char-to-num'.
+
+1998-06-19  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mime-def.el, mime-parse.el: Move `mime-message-structure' from
+       mime-parse.el to mime-def.el.
+
+1998-06-19  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
+
+       * mime-lib.el, mime-parse.el: Move `mime-root-entity-p' from
+       mime-parse.el to mime-lib.el.
+
+       * mime-lib.el: Add autoload setting for mime-parse.el.
+
 1998-06-19  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
 
        * mime-parse.el, mime-def.el: Move `mime-entity-point-min',
 1998-06-19  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
 
        * mel-b.el (base64-internal-decode-string): Renamed from
-       `base64-internal-decode-string'.
+       `base64-decode-string'.
        (base64-decode-string): New alias for
        `base64-internal-decode-string'.
 
 \f
 1998-06-19  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
 
-       * FLIM: Version 1.4.1 (Momoyama-Gory\e-Dòmae)\e-A was released.
+       * FLIM: Version 1.4.1 (Momoyama-Gory\e.D\eNrmae) was released.\e*B
 
 1998-06-18  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
 
 \f
 1998-05-06  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
 
-       * FLIM: Version 1.2.0 (J\e-Dþjò)\e-A was released.
+       * FLIM: Version 1.2.0 (J\e.D\eN~j\eNr) was released.\e*B
 
        * README.en (What's FLIM): Delete description about
        std11-parse.el; add description about mailcap.el.
 \f
 1998-05-05  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
 
-       * FLIM: Version 1.1.0 (T\e-Dòji)\e-A was released.
+       * FLIM: Version 1.1.0 (T\e.D\eNrji) was released.\e*B
 
 1998-05-04  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
 
 \f
 1998-04-17  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
 
-       * FLIM: Version 1.0.1 (Ky\e-Dòto)\e-A was released.
+       * FLIM: Version 1.0.1 (Ky\e.D\eNrto) was released.\e*B
 
        * mime-def.el (mime-spadework-module-version-string): New
        constant.