elisp/flim.git
26 years ago* mel-ccl.el (mel-ccl-encode-q-generic): New compile-time
akr [Thu, 10 Sep 1998 15:29:44 +0000 (15:29 +0000)]
* mel-ccl.el (mel-ccl-encode-q-generic): New compile-time
function.
(mel-ccl-count-q-length): New compile-time function.
(mel-ccl-encode-uq): Use `mel-ccl-encode-q-generic'.
(mel-ccl-encode-cq): Use `mel-ccl-encode-q-generic'.
(mel-ccl-encode-pq): Use `mel-ccl-encode-q-generic'.
(mel-ccl-count-uq): New CCL program.
(mel-ccl-count-cq): Ditto.
(mel-ccl-count-pq): Ditto.
(mel-ccl-encode-base64-generic): New function.
(mel-ccl-encode-b): Use `mel-ccl-encode-base64-generic'.
(mel-ccl-encode-base64-crlf-crlf): Use
`mel-ccl-encode-base64-generic'.
(mel-ccl-encode-base64-crlf-lf): Use
`mel-ccl-encode-base64-generic'.
(base64-ccl-encode-string): Use `mel-ccl-base64-lf-rev' instead
of `mel-ccl-b-rev' for folding.
(base64-ccl-encode-region): Ditto.
(base64-ccl-decode-string): Remove useless `string-as-unibyte'
call.
(quoted-printable-ccl-insert-encoded-file): Remove unused
bindings.
(q-encoding-ccl-decode-string): Remove useless
`string-as-unibyte' call.
(q-encoding-ccl-encoded-length): New function.

* mel.el (q-encoding-ccl-encoded-length): New autoload.
(q-encoding-encoded-length): Use
`q-encoding-ccl-encoded-length' if defined.

26 years ago* mime-def.el (mime-library-version-string): bump up to doodle-1_9_3
akr [Thu, 10 Sep 1998 04:01:22 +0000 (04:01 +0000)]
* mime-def.el (mime-library-version-string): bump up to
FLAM-DOODLE 1.9.3.

26 years ago* FLIM-ELS (flim-modules): Delete `ew-ccl'.
akr [Thu, 10 Sep 1998 03:44:29 +0000 (03:44 +0000)]
* FLIM-ELS (flim-modules): Delete `ew-ccl'.

* ew-bq.el: Always use mel.

* ew-ccl.el: Abolished.

26 years ago* ew-dec.el (ew-decode-field): Call `ew-decode-field-no-cache'
akr [Wed, 9 Sep 1998 19:19:05 +0000 (19:19 +0000)]
* ew-dec.el (ew-decode-field): Call `ew-decode-field-no-cache'
before modifing cache.

26 years ago* mel-ccl.el (mel-ccl-28-table): New compile time constant.
akr [Wed, 9 Sep 1998 18:53:51 +0000 (18:53 +0000)]
* mel-ccl.el (mel-ccl-28-table): New compile time constant.
(mel-ccl-64-to-256-table): Ditto.
(mel-ccl-qp-table): Mark LF.
(mel-ccl-16-to-256-table): Convert integer from character.
(mel-ccl-u-raw): Ditto.
(mel-ccl-c-raw): Ditto.
(mel-ccl-p-raw): Ditto.
(mel-ccl-decode-q): Ditto.
(mel-ccl-encode-base64): Abolished.
(mel-ccl-encode-base64-crlf-crlf): Renamed from
`mel-ccl-encode-base64'.
(mel-ccl-encode-base64-crlf-lf): New CCL program.
(mel-ccl-encode-quoted-printable-generic): New compile-time
function.
(mel-ccl-decode-quoted-printable-generic): Ditto.
(mel-ccl-encode-quoted-printable): Abolished.
(mel-ccl-decode-quoted-printable): Ditto.
(mel-ccl-encode-quoted-printable-crlf-crlf): New CCL program.
(mel-ccl-encode-quoted-printable-crlf-lf): Ditto.
(mel-ccl-encode-quoted-printable-lf-crlf): Ditto.
(mel-ccl-encode-quoted-printable-lf-lf): Ditto.
(mel-ccl-decode-quoted-printable-crlf-crlf): Ditto.
(mel-ccl-decode-quoted-printable-crlf-lf): Ditto.
(mel-ccl-decode-quoted-printable-lf-crlf): Ditto.
(mel-ccl-decode-quoted-printable-lf-lf): Ditto.
(mel-ccl-uq): Abolished.
(mel-ccl-cq): Ditto.
(mel-ccl-pq): Ditto.
(mel-ccl-b): Ditto.
(mel-ccl-quoted-printable): Ditto.
(mel-ccl-base64): Ditto.
(mel-ccl-uq-rev): New coding-system.
(mel-ccl-cq-rev): Ditto.
(mel-ccl-pq-rev): Ditto.
(mel-ccl-quoted-printable-crlf-crlf-rev): Ditto.
(mel-ccl-quoted-printable-crlf-lf-rev): Ditto.
(mel-ccl-quoted-printable-lf-crlf-rev): Ditto.
(mel-ccl-quoted-printable-lf-lf-rev): Ditto.
(mel-ccl-base64-crlf): Ditto.
(mel-ccl-base64-lf): Ditto.
(base64-ccl-encode-string): Use `mel-ccl-b-rev'.
(base64-ccl-encode-region): Ditto.
(base64-ccl-insert-encoded-file): Ditto.
(base64-ccl-decode-string): Ditto.
(base64-ccl-decode-region): Ditto.
(quoted-printable-ccl-encode-string): Use
`mel-ccl-quoted-printable-lf-lf-rev'.
(quoted-printable-ccl-encode-region): Ditto.
(quoted-printable-ccl-insert-encoded-file): Ditto.
(quoted-printable-ccl-decode-string): Ditto.
(quoted-printable-ccl-decode-region): Ditto.
(quoted-printable-ccl-write-decoded-region): Ditto.
(q-encoding-ccl-encode-string): Use `mel-ccl-uq-rev',
`mel-ccl-cq-rev' and `mel-ccl-pq-rev'.
(q-encoding-ccl-decode-string): Use `mel-ccl-uq-rev'.

26 years ago* ew-dec.el (ew-decode-field-interest-option-order): New
akr [Wed, 2 Sep 1998 19:20:25 +0000 (19:20 +0000)]
* ew-dec.el (ew-decode-field-interest-option-order): New
function.
(ew-decode-field-test): Use
`ew-decode-field-interest-option-order'.

* ew-var.el (ew-option-list): New constant.
(ew-save-boolean-options): New function.
(ew-restore-boolean-options): New function.
(ew-dynamic-options): Use `ew-save-boolean-options'.

26 years ago* ew-data.el (ew-search-sticked-eword): New function.
akr [Wed, 2 Sep 1998 14:34:20 +0000 (14:34 +0000)]
* ew-data.el (ew-search-sticked-eword): New function.
(ew-separate-eword): Use `ew-search-sticked-eword' to
check `ew-permit-null-encoded-text', `ew-ignore-75bytes-limit',
`ew-permit-sticked-comment' and `ew-permit-sticked-special'.

26 years ago* ew-data.el (ew-separate-eword): Remove
akr [Wed, 2 Sep 1998 14:02:26 +0000 (14:02 +0000)]
* ew-data.el (ew-separate-eword): Remove
`ew-permit-null-encoded-text' checking.

* ew-quote.el (ew-quote-concat): Use `ew-encoded-word-regexp'
instead of `ew-encoded-word-regexp0'.
(ew-quote-sole): Ditto.

* ew-var.el (ew-encoded-text-regexp): Reverted.
(ew-encoded-text-regexp0): Abolished
(ew-encoded-text-regexp1): Abolished
(ew-encoded-word-regexp): Reverted.
(ew-encoded-word-regexp0): Abolished
(ew-encoded-word-regexp1): Abolished
(ew-anchored-encoded-word-regexp): Use `ew-encoded-word-regexp'.
(ew-type2-regexp): Use `ew-encoded-word-regexp'.

26 years ago* TESTPAT: Add a notice about null encoded-text.
akr [Tue, 1 Sep 1998 13:15:48 +0000 (13:15 +0000)]
* TESTPAT: Add a notice about null encoded-text.

* ew-dec.el (ew-decode-field-test): Reorder options.

26 years ago* TESTPAT: Add 16 tests.
akr [Tue, 1 Sep 1998 12:43:36 +0000 (12:43 +0000)]
* TESTPAT: Add 16 tests.

* ew-data.el (ew-separate-eword): Check
`ew-permit-null-encoded-text'.

* ew-quote.el (ew-quote-concat): Use `ew-encoded-word-regexp0'
instead of `ew-encoded-word-regexp'.
(ew-quote-sole): Ditto.

* ew-var.el (ew-encoded-text-regexp): Abolished.
(ew-encoded-text-regexp0): Renamed from `ew-encoded-text-regexp'.
(ew-encoded-text-regexp1): New constant.
(ew-encoded-word-regexp): Abolished.
(ew-encoded-word-regexp0): Renamed from `ew-encoded-word-regexp'.
(ew-encoded-word-regexp1): New constant.
(ew-anchored-encoded-word-regexp): Use `ew-encoded-word-regexp0'.
(ew-type2-regexp): Use `ew-encoded-word-regexp0'.

26 years ago* Sync up with flim-1_9_1. doodle-1_9_2
akr [Tue, 1 Sep 1998 04:05:29 +0000 (04:05 +0000)]
* Sync up with flim-1_9_1.

* mime-def.el (mime-library-version-string): bump up to
FLAM-DOODLE 1.9.2.

26 years ago* ew-dec.el (ew-decode-field-test): Change column.
akr [Fri, 28 Aug 1998 17:38:02 +0000 (17:38 +0000)]
* ew-dec.el (ew-decode-field-test): Change column.

* eword-encode.el (ew-decode-field-test): Sync up to 1.9 from
1.3.
(eword-encode-field): Add `In-Reply-To' to structured field.

* mel-b.el:
  - Move `base64-internal-encoding-limit',
  `base64-internal-decoding-limit', `base64-encode-region',
  `base64-decode-region', `base64-encode-string' and
  `base64-decode-string'
  to mel.el.
(base64-internal-encode-string): Renamed from
`base64-encode-string'.
(base64-external-write-decoded-region): Renamed from
`base64-write-decoded-region'.
(base64-internal-encoded-length): Renamed from
`base64-encoded-length'

* mel-dl.el:
  - Move `base64-encode-string' and `base64-decode-string' to
  mel.el.
(base64-dl-encode-string): New alias for `encode-base64-string'.
(base64-dl-decode-string): New alias for `decode-base64-string'.
(base64-dl-encode-region): Renamed from `base64-encode-region'.
(base64-dl-decode-region): Renamed from `base64-decode-region'.
(base64-external-encoder): Abolished.
(base64-external-decoder): Abolished.
(base64-external-decoder-option-to-specify-file): Abolished.
(base64-insert-encoded-file): Abolished.
(base64-write-decoded-region): Abolished.
(base64-base64-encoded-length): Abolished.

* mel-g.el:
  - Move `gzip64-encode-region' and `gzip64-decode-region' to
  mel.el.
(gzip64-external--insert-encoded-file): Renamed from
`gzip64-insert-encoded-file'.
(gzip64-external-write-decoded-region): Renamed from
`gzip64-write-decoded-region'.

*mel-q.el:
  - Move `quoted-printable-internal-encoding-limit',
  `quoted-printable-encode-region',
  `quoted-printable-internal-decoding-limit' and
  `quoted-printable-decode-region' to mel.el
(quoted-printable-encode-string): Abolished.
(quoted-printable-internal-encode-string): New function.
(quoted-printable-external-encode-string): New function.
(quoted-printable-external-insert-encoded-file): Renamed from
`quoted-printable-insert-encoded-file'.
(quoted-printable-decode-string): Abolished.
(quoted-printable-internal-decode-string): New function.
(quoted-printable-external-decode-string): New function.
(quoted-printable-external-write-decoded-region): Renamed from
`quoted-printable-write-decoded-region'.
(q-encoding-internal-encode-string): Renamed from
`q-encoding-encode-string'.
(q-encoding-internal-decode-string): Renamed from
`q-encoding-decode-string'.
(q-encoding-internal-encoded-length): Renamed from
`q-encoding-encoded-length'.

* mel-u.el:
  - Move `uuencode-encode-region', `uuencode-decode-region' to
  mel.el.
(uuencode-external-insert-encoded-file): Renamed from
`uuencode-insert-encoded-file'.
(uuencode-external-write-decoded-region): Renamed from
`uuencode-write-decoded-region'.

* mel.el: Autoloading Restructured.
(base64-internal-encoding-limit): Moved from mel-b.el.
(base64-internal-decoding-limit): Moved from mel-b.el.
(quoted-printable-internal-encoding-limit): Moved from mel-q.el.
(quoted-printable-internal-decoding-limit): Moved from mel-q.el.

26 years ago* ew-dec.el (ew-decode-field-test): Print sequence of fragments
akr [Fri, 28 Aug 1998 03:02:26 +0000 (03:02 +0000)]
* ew-dec.el (ew-decode-field-test): Print sequence of fragments
if prefix argument exists.

26 years ago* ew-dec.el (ew-decode-field-test): Support
akr [Thu, 27 Aug 1998 16:36:24 +0000 (16:36 +0000)]
* ew-dec.el (ew-decode-field-test): Support
`ew-permit-null-encoded-text'.

* ew-unit.el (ew-decode-eword): Check
`ew-permit-null-encoded-text'.

* ew-var.el (ew-encoded-text-regexp): Always permit null string
regardless of `ew-permit-null-encoded-text'.

26 years ago* ew-var.el (ew-decode-field-syntax-alist): Add few fields.
akr [Thu, 27 Aug 1998 16:11:29 +0000 (16:11 +0000)]
* ew-var.el (ew-decode-field-syntax-alist): Add few fields.

* eword-decode.el (eword-decode-header): Compare decoded result
to CRLF complemented version of field-body.

26 years ago* ew-dec.el (ew-decode-field-test): Search around current point
akr [Thu, 27 Aug 1998 11:53:03 +0000 (11:53 +0000)]
* ew-dec.el (ew-decode-field-test): Search around current point
as default argument when called interactive.

26 years agoupdated.
akr [Thu, 27 Aug 1998 11:07:52 +0000 (11:07 +0000)]
updated.

26 years ago* FLIM-ELS (flime-modules): Add ew-ccl.
akr [Thu, 27 Aug 1998 11:06:13 +0000 (11:06 +0000)]
* FLIM-ELS (flime-modules): Add ew-ccl.

* ew-bq.el: Now it is stub to ew-ccl and mel.

* ew-ccl: New file (renamed from ew-bq.el).

26 years ago* ew-dec.el (ew-decode-field-test): Now interactive.
akr [Thu, 27 Aug 1998 08:45:16 +0000 (08:45 +0000)]
* ew-dec.el (ew-decode-field-test): Now interactive.

* eword-decode.el (eword-decode-header): Put original field as
text properties.

* mmbuffer.el (insert-decoded-header): Put original field as
text properties.

26 years ago* DOODLE-TIPS: Add a notice about EVALARGS.
akr [Thu, 27 Aug 1998 06:08:36 +0000 (06:08 +0000)]
* DOODLE-TIPS: Add a notice about EVALARGS.

* Makefile: evaluate environment variable EVALARGS if it is not
empty.

* ew-bq.el:
  - Use CCL emulating stuff of APEL.
  - Delete useless `eval-when-compile' in body of
  `define-ccl-program'.

26 years ago* ew-scan-n.el: New file.
akr [Wed, 26 Aug 1998 08:15:04 +0000 (08:15 +0000)]
* ew-scan-n.el: New file.

26 years ago* FLIM-ELS (flim-modules): Add `ew-scan-n'.
akr [Wed, 26 Aug 1998 08:09:44 +0000 (08:09 +0000)]
* FLIM-ELS (flim-modules): Add `ew-scan-n'.

* ew-dec.el: Require 'ew-scan-n.

* ew-parse.scm: Add new token `n-body'.

* ew-var.el (ew-decode-field-syntax-alist): Add fields definition
`newsgroups', `path', `lines' and `xref'.

26 years ago* ew-dec.el (ew-decode-field-test): New function.
akr [Wed, 26 Aug 1998 06:23:40 +0000 (06:23 +0000)]
* ew-dec.el (ew-decode-field-test): New function.

26 years ago* DOODLE-TIPS (gnus-structured-field-decoder): Use
akr [Wed, 26 Aug 1998 05:24:56 +0000 (05:24 +0000)]
* DOODLE-TIPS (gnus-structured-field-decoder): Use
`eword-decode-and-unfold-structured-field'.
(gnus-unstructured-field-decoder): Use
`eword-decode-unstructured-field-body'.

26 years ago* ew-bq.el (ew-ccl-untrusted-eof-block): Check by coding system instead
akr [Wed, 26 Aug 1998 03:24:16 +0000 (03:24 +0000)]
* ew-bq.el (ew-ccl-untrusted-eof-block): Check by coding system instead
of CCL directly.

26 years ago* ew-bq.el (ew-ccl-decode-b): Eliminate `>8=' before `write'.
akr [Tue, 25 Aug 1998 17:54:13 +0000 (17:54 +0000)]
* ew-bq.el (ew-ccl-decode-b): Eliminate `>8=' before `write'.

26 years ago* ew-bq.el (ew-ccl-decode-b-0-table): Use `if' instead of `cond'
akr [Tue, 25 Aug 1998 16:20:16 +0000 (16:20 +0000)]
* ew-bq.el (ew-ccl-decode-b-0-table): Use `if' instead of `cond'
(ew-ccl-decode-b-1-table): Ditto.
(ew-ccl-decode-b-2-table): Ditto.
(ew-ccl-decode-b-3-table): Ditto.

* ew-quote.el:
  - Move `ew-quoting-char', `ew-quoting-chars-regexp' and
  `ew-type2-regexp' to ew-var.el.

* ew-unit.el:
  - Move `ew-anchored-encoded-word-regexp', `ew-b-regexp',
  `ew-q-regexp', `ew-byte-decoder-alist' and `ew-byte-checker-alist'
  to ew-var.el.

* ew-var.el (ew-permit-null-encoded-text): New variable.
(ew-encoded-text-regexp): Change positive closure to normal closure if
`ew-permit-null-encoded-text' is non-nil.
(ew-quoting-char): New variable (moved from ew-var.el).
(ew-quoting-chars-regexp): New variable (moved from ew-var.el).
(ew-type2-regexp): New variable (moved from ew-var.el).
(ew-anchored-encoded-word-regexp): New variable (moved from ew-unit.el).
(ew-b-regexp): New variable (moved from ew-unit.el).
(ew-q-regexp): New variable (moved from ew-unit.el).
(ew-byte-decoder-alist): New variable (moved from ew-unit.el).
(ew-byte-checker-alist): New variable (moved from ew-unit.el).
(ew-dynamic-options): Add `ew-permit-null-encoded-text'.

26 years ago* ew-bq.el (ew-ccl-decode-base64): Abolished.
akr [Tue, 25 Aug 1998 14:10:37 +0000 (14:10 +0000)]
* ew-bq.el (ew-ccl-decode-base64): Abolished.
(ew-ccl-decode-b-bit-ex): New compile time function.
(ew-ccl-decode-b-0-table): New compile time constant.
(ew-ccl-decode-b-1-table): Ditto.
(ew-ccl-decode-b-2-table): Ditto.
(ew-ccl-decode-b-3-table): Ditto.
(ew-ccl-decode-b): New CCL program.
(ew-ccl-b): Use `ew-ccl-decode-b'.
(ew-ccl-base64): Use `ew-ccl-decode-b'.

26 years ago* ew-bq.el (ew-ccl-untrusted-eof-block): Set boolean value.
akr [Tue, 25 Aug 1998 08:08:21 +0000 (08:08 +0000)]
* ew-bq.el (ew-ccl-untrusted-eof-block): Set boolean value.

26 years ago* ew-bq.el (ew-ccl-use-symbol): New variable.
akr [Tue, 25 Aug 1998 08:03:49 +0000 (08:03 +0000)]
* ew-bq.el (ew-ccl-use-symbol): New variable.
(ew-ccl-untrusted-eof-block): New variable.
(ew-make-ccl-coding-system): New function.
(ew-ccl-decode-base64): New ccl program renamed from `ew-ccl-decode-b'.
(ew-ccl-encode-b-is-broken): Abolished.
(ew-ccl-uq): Use `ew-make-ccl-coding-system' to define.
(ew-ccl-cq): Ditto.
(ew-ccl-pq): Ditto.
(ew-ccl-b): Ditto.
(ew-ccl-quoted-printable): Ditto.
(ew-ccl-base64): Ditto.

26 years ago* ew-bq.el (ew-ccl-quoted-printable): Change mnemonic B to Q.
akr [Mon, 24 Aug 1998 15:02:52 +0000 (15:02 +0000)]
* ew-bq.el (ew-ccl-quoted-printable): Change mnemonic B to Q.

26 years ago* ew-bq.el (ew-ccl-encode-quoted-printable): Complete behaviour at column 73 with...
akr [Mon, 24 Aug 1998 14:48:34 +0000 (14:48 +0000)]
* ew-bq.el (ew-ccl-encode-quoted-printable): Complete behaviour at column 73 with bare CR.

26 years ago* ew-bq.el (ew-ccl-decode-quoted-printable): New CCL program.
akr [Mon, 24 Aug 1998 13:26:10 +0000 (13:26 +0000)]
* ew-bq.el (ew-ccl-decode-quoted-printable): New CCL program.
(ew-ccl-quoted-printable): New coding-system.

26 years ago* DOODLE-TIPS: Add a notice about ew-ccl-b.
akr [Mon, 24 Aug 1998 10:16:05 +0000 (10:16 +0000)]
* 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.

26 years ago* ew-bq.el (ew-ccl-qp-table): New constant.
akr [Mon, 24 Aug 1998 07:48:13 +0000 (07:48 +0000)]
* ew-bq.el (ew-ccl-qp-table): New constant.
(ew-ccl-encode-quoted-printable): New CCL program.

26 years ago* ew-bq.el (ew-ccl-encode-uq): Change BUFFER_MAGNIFICATION to 3.
akr [Mon, 24 Aug 1998 02:06:34 +0000 (02:06 +0000)]
* 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.

26 years ago* ew-bq.el: Re-indented.
akr [Sun, 23 Aug 1998 19:14:35 +0000 (19:14 +0000)]
* ew-bq.el: Re-indented.

26 years ago* ew-bq.el: New file.
akr [Sun, 23 Aug 1998 18:36:36 +0000 (18:36 +0000)]
* ew-bq.el: New file.

* ew-unit.el: Use 'ew-bq instead of 'mel.

26 years ago* Makefile (clean): Delete rule for cleaning tl.
akr [Sun, 23 Aug 1998 08:03:45 +0000 (08:03 +0000)]
* Makefile (clean): Delete rule for cleaning tl.

* natset.el (natset-gen-ccl-branch256): New function.

26 years ago* Makefile (check): New rule.
akr [Sun, 23 Aug 1998 07:03:38 +0000 (07:03 +0000)]
* 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'.

26 years ago* lex.el (lex-gen-ccel-unibyte-automata-state): Jump start of loop
akr [Sun, 23 Aug 1998 01:37:38 +0000 (01:37 +0000)]
* lex.el (lex-gen-ccel-unibyte-automata-state): Jump start of loop
on end of states.

26 years ago* TESTPAT: Use `\t' instead of raw TAB character.
akr [Sat, 22 Aug 1998 18:49:06 +0000 (18:49 +0000)]
* 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.

26 years agoUpdate.
shuhei-k [Fri, 21 Aug 1998 20:29:37 +0000 (20:29 +0000)]
Update.

26 years agoSpecify coding-system.
shuhei-k [Fri, 21 Aug 1998 20:28:24 +0000 (20:28 +0000)]
Specify coding-system.

26 years ago*** empty log message ***
akr [Fri, 21 Aug 1998 19:17:23 +0000 (19:17 +0000)]
*** empty log message ***

26 years ago* ew-dec.el (ew-decode-us-ascii): New function.
akr [Fri, 21 Aug 1998 05:22:57 +0000 (05:22 +0000)]
* 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'.

26 years ago* ew-unit.el (ew-eword-p): Use aref instead of substring.
akr [Fri, 21 Aug 1998 02:22:08 +0000 (02:22 +0000)]
* ew-unit.el (ew-eword-p): Use aref instead of substring.
(ew-char-decoder): Refined.

* lalr-el.scm (gen-larl1): New function.

26 years ago* ew-var.el (ew-dynamic-options): The result is now integer instead
akr [Thu, 20 Aug 1998 11:22:56 +0000 (11:22 +0000)]
* ew-var.el (ew-dynamic-options): The result is now integer instead
of list of booleans.

26 years ago* Makefile: Output parse table to ew-parse.out instead of
akr [Thu, 20 Aug 1998 03:19:17 +0000 (03:19 +0000)]
* 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.

26 years ago* Makefile: Avoid an error about unexisting `scm'.
akr [Wed, 19 Aug 1998 21:21:25 +0000 (21:21 +0000)]
* Makefile: Avoid an error about unexisting `scm'.

26 years agoUpdate modified date.
akr [Wed, 19 Aug 1998 21:16:27 +0000 (21:16 +0000)]
Update modified date.

26 years ago* Makefile: Add a rule for making `ew-parse.el'.
akr [Wed, 19 Aug 1998 21:05:26 +0000 (21:05 +0000)]
* 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.

26 years ago* ew-parse.el: Use lookahead token.
akr [Wed, 19 Aug 1998 11:25:43 +0000 (11:25 +0000)]
* ew-parse.el: Use lookahead token.

* ew-data.el (ew-mark-phrase): Decode last token in phrase.

26 years ago* ew-parse.el: Remove token suffix "-tok".
akr [Wed, 19 Aug 1998 10:45:12 +0000 (10:45 +0000)]
* 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.

26 years ago* DOODLE-TIPS: Add desctiptions about byte-compile warnings.
akr [Wed, 19 Aug 1998 08:44:05 +0000 (08:44 +0000)]
* 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.

26 years ago* DOODLE-TIPS: Change `gnus-unstructured-field-decoder' and
akr [Tue, 18 Aug 1998 11:29:18 +0000 (11:29 +0000)]
* 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.

26 years ago* mime-def.el (mime-library-version-string): bump up to FLAM-DOODLE 1.9.1. doodle-1_9_1
akr [Tue, 18 Aug 1998 03:27:22 +0000 (03:27 +0000)]
* mime-def.el (mime-library-version-string): bump up to FLAM-DOODLE 1.9.1.

* 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.

26 years ago* ew-data.el:
akr [Tue, 18 Aug 1998 00:07:57 +0000 (00:07 +0000)]
* 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.

26 years ago* ew-data.el:
akr [Mon, 17 Aug 1998 13:25:13 +0000 (13:25 +0000)]
* 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:".

26 years ago* ew-dec.el: Require 'ew-var.
akr [Mon, 17 Aug 1998 11:43:34 +0000 (11:43 +0000)]
* 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.

26 years ago* FLIM-ELS (flim-modules): Add `ew-var' and reorder. doodle-1_9_0
akr [Mon, 17 Aug 1998 08:53:30 +0000 (08:53 +0000)]
* 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',

26 years ago* DOODLE-TIPS: Use `ew-decode-field' directly instead of
akr [Mon, 17 Aug 1998 04:13:05 +0000 (04:13 +0000)]
* 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.

26 years ago* DOODLE-TIPS: New file.
akr [Mon, 17 Aug 1998 01:01:01 +0000 (01:01 +0000)]
* 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'.

26 years ago* TESTPAT: Add a driver for `ew-decode-field'.
akr [Sun, 16 Aug 1998 12:35:10 +0000 (12:35 +0000)]
* TESTPAT: Add a driver for `ew-decode-field'.

26 years agoupdate.
akr [Sun, 16 Aug 1998 12:03:48 +0000 (12:03 +0000)]
update.

26 years ago* FLIM-ELS (flim-modules): Reorder.
akr [Sun, 16 Aug 1998 12:03:16 +0000 (12:03 +0000)]
* FLIM-ELS (flim-modules): Reorder.

26 years ago* ChangeLog: Fix typo.
akr [Sun, 16 Aug 1998 11:47:30 +0000 (11:47 +0000)]
* ChangeLog: Fix typo.

* ew-parse.el: New file.

26 years ago* FLIM-ELS (flim-modules): Add `closure', `natset', `digraph',
akr [Sun, 16 Aug 1998 11:40:53 +0000 (11:40 +0000)]
* 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'.

* 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.

* automata.el, closure.el, digraph.el, ew-data.el, ew-dec.el,
ew-line.el, parser, 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

26 years agoThis commit was manufactured by cvs2svn to create branch 'doodle'. flam-199811302358 flam-1_9_1 flam-last-snapshot-
tomo [Sun, 16 Aug 1998 08:43:43 +0000 (08:43 +0000)]
This commit was manufactured by cvs2svn to create branch 'doodle'.

26 years ago* mime-def.el (mime-library-version-string): bump up to 1.9.1. flam
akr [Sun, 16 Aug 1998 08:43:42 +0000 (08:43 +0000)]
* mime-def.el (mime-library-version-string): bump up to 1.9.1.

26 years ago* ChangeLog: Fix typo.
akr [Wed, 22 Jul 1998 17:02:02 +0000 (17:02 +0000)]
* ChangeLog: Fix typo.

26 years ago* TESTPAT: Add 25 tests.
akr [Wed, 22 Jul 1998 16:49:55 +0000 (16:49 +0000)]
* 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 argument actual `chars-must-be-quote'.
(eword-decode-comment): Add argument actual `chars-must-be-quote'.
(eword-decode-quoted-string): Add argument actual `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.

26 years ago* TESTPAT: add two tests.
akr [Tue, 21 Jul 1998 17:27:49 +0000 (17:27 +0000)]
* TESTPAT: add two tests.

* TESTPAT: quoted-encoded-word quoting character is changed from * to +.

26 years agoTESTPAT: add sixteen tests.
akr [Tue, 21 Jul 1998 01:49:23 +0000 (01:49 +0000)]
TESTPAT: add sixteen tests.

26 years agoTESTPAT: add three tests.
akr [Mon, 20 Jul 1998 18:15:18 +0000 (18:15 +0000)]
TESTPAT: add three tests.

26 years agoTESTPAT: add two tests.
akr [Mon, 20 Jul 1998 12:11:47 +0000 (12:11 +0000)]
TESTPAT: add two tests.

26 years agoTESTPAT: add test.
akr [Mon, 20 Jul 1998 11:14:19 +0000 (11:14 +0000)]
TESTPAT: add test.

26 years agofixed.
morioka [Mon, 20 Jul 1998 08:20:55 +0000 (08:20 +0000)]
fixed.

26 years agoupdate.
morioka [Mon, 20 Jul 1998 08:18:52 +0000 (08:18 +0000)]
update.

26 years ago(mime-library-version-string): Renamed from
morioka [Mon, 20 Jul 1998 08:17:33 +0000 (08:17 +0000)]
(mime-library-version-string): Renamed from
`mime-spadework-module-version-string' to sync with FLIM.

26 years agofixed.
morioka [Mon, 20 Jul 1998 08:09:08 +0000 (08:09 +0000)]
fixed.

26 years agoupdate.
morioka [Mon, 20 Jul 1998 08:06:43 +0000 (08:06 +0000)]
update.

26 years ago(quoted-printable-internal-decode-region): Fix sync-mistake.
morioka [Mon, 20 Jul 1998 08:04:48 +0000 (08:04 +0000)]
(quoted-printable-internal-decode-region): Fix sync-mistake.

26 years ago* (TESTPAT): add full automatic testing capability.
akr [Sun, 19 Jul 1998 17:01:08 +0000 (17:01 +0000)]
* (TESTPAT): add full automatic testing capability.

26 years ago* (TESTPAT): add quoted-encoded-word description and test.
akr [Sun, 19 Jul 1998 14:13:10 +0000 (14:13 +0000)]
* (TESTPAT): add quoted-encoded-word description and test.

26 years ago* (TESTPAT): add test result by FLIM-FLAM. flam-1_9_0
akr [Sat, 18 Jul 1998 23:22:33 +0000 (23:22 +0000)]
* (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'.

26 years ago* (TESTPAT): add test.
akr [Sat, 18 Jul 1998 20:34:12 +0000 (20:34 +0000)]
* (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.

26 years agoFix character code for ChangeLog.
akr [Sat, 18 Jul 1998 06:20:13 +0000 (06:20 +0000)]
Fix character code for ChangeLog.

26 years agoSync up with flim-1_8_1 to flim-1_9_0.
akr [Sat, 18 Jul 1998 06:10:32 +0000 (06:10 +0000)]
Sync up with flim-1_8_1 to flim-1_9_0.

26 years ago* (TESTPAT): add test driver for FLIM-FLAM.
akr [Sat, 18 Jul 1998 06:04:43 +0000 (06:04 +0000)]
* (TESTPAT): add test driver for FLIM-FLAM.

26 years agoupdate TESTPAT
akr [Thu, 16 Jul 1998 20:14:34 +0000 (20:14 +0000)]
update TESTPAT

26 years agoSync up with flim-1_3_0 to flim-1_8_1.
akr [Mon, 6 Jul 1998 14:32:04 +0000 (14:32 +0000)]
Sync up with flim-1_3_0 to flim-1_8_1.

26 years agoThis commit was manufactured by cvs2svn to create branch 'flam'.
tomo [Sat, 4 Jul 1998 12:07:26 +0000 (12:07 +0000)]
This commit was manufactured by cvs2svn to create branch 'flam'.

26 years agoupdate.
morioka [Sat, 4 Jul 1998 12:07:25 +0000 (12:07 +0000)]
update.

26 years ago(Entity Attributes): Add description about `default-encoding' of
morioka [Sat, 4 Jul 1998 12:03:26 +0000 (12:03 +0000)]
(Entity Attributes): Add description about `default-encoding' of
`mime-entity-encoding'.

26 years agoupdate.
morioka [Sat, 4 Jul 1998 11:55:40 +0000 (11:55 +0000)]
update.

26 years ago(Content-Transfer-Encoding parser): Rename title.
morioka [Sat, 4 Jul 1998 11:50:26 +0000 (11:50 +0000)]
(Content-Transfer-Encoding parser): Rename title.

26 years agoupdate.
morioka [Sat, 4 Jul 1998 11:48:37 +0000 (11:48 +0000)]
update.

26 years ago(Content-Type): Translate a little.
morioka [Sat, 4 Jul 1998 11:48:05 +0000 (11:48 +0000)]
(Content-Type): Translate a little.

26 years agoupdate.
morioka [Sat, 4 Jul 1998 11:41:50 +0000 (11:41 +0000)]
update.