bpt/emacs.git
22 years agoAvoid decode-char in top-level code
Dave Love [Thu, 23 May 2002 18:17:21 +0000 (18:17 +0000)]
Avoid decode-char in top-level code
for self-inserting multibyte chars.
(cp437, cp737, cp775, cp851, cp852, cp855, cp857, cp855, cp857)
(cp860, cp861, cp862, cp863, cp864, cp865, cp869, cp874):  New
charsets.

22 years agoVarious simplifications and
Dave Love [Thu, 23 May 2002 18:16:52 +0000 (18:16 +0000)]
Various simplifications and
additions.

22 years agoAdd
Dave Love [Thu, 23 May 2002 18:15:02 +0000 (18:15 +0000)]
Add
character-p.

22 years agoAdd coding tag.
Dave Love [Thu, 23 May 2002 17:40:18 +0000 (17:40 +0000)]
Add coding tag.

22 years ago(Fdefine_charset_internal): Fix argument to bzero.
Kenichi Handa [Thu, 23 May 2002 10:57:15 +0000 (10:57 +0000)]
(Fdefine_charset_internal): Fix argument to bzero.

22 years ago(Fdefine_coding_system_internal): Fix previous change.
Kenichi Handa [Thu, 23 May 2002 10:56:58 +0000 (10:56 +0000)]
(Fdefine_coding_system_internal): Fix previous change.
(decode_coding_charset): Workaround for the bug of GCC 2.96.

22 years ago(lisp): Change cyrillic.elc to cyrillic.el,
Kenichi Handa [Thu, 23 May 2002 01:02:36 +0000 (01:02 +0000)]
(lisp): Change cyrillic.elc to cyrillic.el,
vietnamese.elc to vietnamese.el.  They are not bytecompiled now.
(shortlisp): Likewise.

22 years ago*** empty log message ***
Kenichi Handa [Thu, 23 May 2002 01:02:14 +0000 (01:02 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Kenichi Handa [Wed, 22 May 2002 13:30:07 +0000 (13:30 +0000)]
*** empty log message ***

22 years ago(RUN-EMACS): Add LC_ALL=C.
Kenichi Handa [Wed, 22 May 2002 13:29:52 +0000 (13:29 +0000)]
(RUN-EMACS): Add LC_ALL=C.

22 years agoCancel the 2002-05-17 change of mine.
Kenichi Handa [Wed, 22 May 2002 13:27:48 +0000 (13:27 +0000)]
Cancel the 2002-05-17 change of mine.

22 years ago*** empty log message ***
Dave Love [Wed, 22 May 2002 13:15:27 +0000 (13:15 +0000)]
*** empty log message ***

22 years ago(code-pages): Provide for
Dave Love [Wed, 22 May 2002 13:12:55 +0000 (13:12 +0000)]
(code-pages): Provide for
compatibility.

22 years ago*** empty log message ***
Dave Love [Wed, 22 May 2002 13:06:01 +0000 (13:06 +0000)]
*** empty log message ***

22 years ago(decode_coding_charset): Fix previous change.
Kenichi Handa [Wed, 22 May 2002 11:30:00 +0000 (11:30 +0000)]
(decode_coding_charset): Fix previous change.

22 years ago(decode_coding_charset): Adjusted for the change of
Kenichi Handa [Wed, 22 May 2002 11:14:45 +0000 (11:14 +0000)]
(decode_coding_charset): Adjusted for the change of
Fdefine_coding_system_internal.
(Fdefine_coding_system_internal): For a coding system of
`charset' type, store a list of charset IDs in
`charset_attr_charset_valids' element of coding attributes.

22 years ago*** empty log message ***
Kenichi Handa [Wed, 22 May 2002 11:14:25 +0000 (11:14 +0000)]
*** empty log message ***

22 years agoAdd setting for unicode font at the end of the default fontset.
Kenichi Handa [Wed, 22 May 2002 05:56:05 +0000 (05:56 +0000)]
Add setting for unicode font at the end of the default fontset.

22 years ago*** empty log message ***
Kenichi Handa [Wed, 22 May 2002 05:55:49 +0000 (05:55 +0000)]
*** empty log message ***

22 years ago(Fmake_char): Fix previous change.
Kenichi Handa [Wed, 22 May 2002 03:50:34 +0000 (03:50 +0000)]
(Fmake_char): Fix previous change.

22 years ago(adobe-standard-encoding, symbol):
Dave Love [Tue, 21 May 2002 16:08:00 +0000 (16:08 +0000)]
(adobe-standard-encoding, symbol):
Adjust :code-space.
(ibm850): Add :ascii-compatible-p.

22 years agoIf CODE1 is nil, use the minimum code of the charset.
Kenichi Handa [Tue, 21 May 2002 05:39:08 +0000 (05:39 +0000)]
If CODE1 is nil, use the minimum code of the charset.

22 years ago*** empty log message ***
Kenichi Handa [Tue, 21 May 2002 05:38:48 +0000 (05:38 +0000)]
*** empty log message ***

22 years ago(vietnamese-viscii-lower, vietnamese-viscii-upper): Supply them
Kenichi Handa [Tue, 21 May 2002 05:38:23 +0000 (05:38 +0000)]
(vietnamese-viscii-lower, vietnamese-viscii-upper): Supply them
:code-offset, then unify by mapping table.

22 years ago(emacs_mule_char): Fix previous change.
Kenichi Handa [Tue, 21 May 2002 05:09:20 +0000 (05:09 +0000)]
(emacs_mule_char): Fix previous change.

22 years ago(ONE_MORE_BYTE_NO_CHECK): Increment consumed_chars.
Kenichi Handa [Tue, 21 May 2002 04:23:15 +0000 (04:23 +0000)]
(ONE_MORE_BYTE_NO_CHECK): Increment consumed_chars.
(emacs_mule_char): New arg src.  Delete arg `composition'.  Caller
changed.  Handle 2-byte and 3-byte charsets correctly.
(DECODE_EMACS_MULE_COMPOSITION_RULE_20): Renamed from
DECODE_EMACS_MULE_COMPOSITION_RULE.  Caller changed.
(DECODE_EMACS_MULE_COMPOSITION_RULE_21): New macro.
(DECODE_EMACS_MULE_21_COMPOSITION): Call
DECODE_EMACS_MULE_COMPOSITION_RULE_21.  Produce correct annotation
sequence.
(decode_coding_emacs_mule): Handle composition correctly.  Rewind
`src' and `consumed_chars' correctly before calling
emacs_mule_char.
(DECODE_COMPOSITION_START): Correctly handle the case of altchar
and alt&rule composition.
(decode_coding_iso_2022): Handle composition correctly.
(init_coding_once): Setup emacs_mule_bytes for private charsets.

22 years ago(Fdefine_charset_internal): Fix bug for the case of re-defining a
Kenichi Handa [Tue, 21 May 2002 04:22:33 +0000 (04:22 +0000)]
(Fdefine_charset_internal): Fix bug for the case of re-defining a
charset.  If the charset has :emacs-mule-id, setup emacs_mule_bytes.

22 years ago(iso-latin-10): Fix typo.
Dave Love [Mon, 20 May 2002 19:10:41 +0000 (19:10 +0000)]
(iso-latin-10): Fix typo.

22 years ago(adobe-standard-encoding): Fix typo.
Dave Love [Mon, 20 May 2002 19:10:17 +0000 (19:10 +0000)]
(adobe-standard-encoding): Fix typo.

22 years ago*** empty log message ***
Dave Love [Mon, 20 May 2002 15:54:02 +0000 (15:54 +0000)]
*** empty log message ***

22 years agoNew file.
Dave Love [Mon, 20 May 2002 15:53:48 +0000 (15:53 +0000)]
New file.

22 years ago(font-encoding-alist): Add
Dave Love [Mon, 20 May 2002 15:41:00 +0000 (15:41 +0000)]
(font-encoding-alist): Add
adobe-symbol.

22 years ago(iso-latin-10): Add :mime-charset.
Dave Love [Mon, 20 May 2002 15:39:23 +0000 (15:39 +0000)]
(iso-latin-10): Add :mime-charset.
("Romanian"): Add doc.

22 years ago(iso-latin-6, iso-8859-10, latin-6)
Dave Love [Mon, 20 May 2002 15:38:40 +0000 (15:38 +0000)]
(iso-latin-6, iso-8859-10, latin-6)
(iso-latin-7, iso-8859-13, latin-7, hp-roman8, roman8)
(adobe-standard-encoding, cp850, ibm850): New coding systems.
("Latin-6", "Latin-7"): New language environments.

22 years ago(format-alist): Remove ibm, mac, hp entries (available
Dave Love [Mon, 20 May 2002 15:16:47 +0000 (15:16 +0000)]
(format-alist): Remove ibm, mac, hp entries (available
natively).

22 years ago(iso-8859-10, symbol)
Dave Love [Mon, 20 May 2002 15:15:05 +0000 (15:15 +0000)]
(iso-8859-10, symbol)
(adobe-standard-encoding, ibm850): New charsets.
(iso-8859-13): Fix IR number, final char.
(file-coding-system-alist): Add .xml.

22 years agoAdd charset-map-directory.
Dave Love [Mon, 20 May 2002 15:04:44 +0000 (15:04 +0000)]
Add charset-map-directory.

22 years ago(encode_coding_iso_2022): If coding requires safe
Kenichi Handa [Mon, 20 May 2002 12:10:04 +0000 (12:10 +0000)]
(encode_coding_iso_2022): If coding requires safe
encoding, produce a character specified by
CODING_INHIBIT_CHARACTER_SUBSTITUTION.
(encode_coding_sjis): Likewise.
(encode_coding_big5): Likewise.
(encode_coding_charset): Likewise.

22 years ago*** empty log message ***
Kenichi Handa [Mon, 20 May 2002 12:08:00 +0000 (12:08 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Dave Love [Sun, 19 May 2002 18:02:58 +0000 (18:02 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Dave Love [Sun, 19 May 2002 11:29:08 +0000 (11:29 +0000)]
*** empty log message ***

22 years agoElide ASCII part.
Dave Love [Sun, 19 May 2002 11:24:48 +0000 (11:24 +0000)]
Elide ASCII part.

22 years ago(DONTCOMPILE): Remove ucs-tables, utf-8,
Dave Love [Sun, 19 May 2002 11:21:26 +0000 (11:21 +0000)]
(DONTCOMPILE): Remove ucs-tables, utf-8,
utf-8-subst; add vietnamese, cyrillic, czech.

22 years ago(iso-latin-10): New coding system.
Dave Love [Sun, 19 May 2002 11:18:44 +0000 (11:18 +0000)]
(iso-latin-10): New coding system.

22 years ago(describe-coding-system): Avoid error
Dave Love [Sun, 19 May 2002 11:16:59 +0000 (11:16 +0000)]
(describe-coding-system): Avoid error
for iso-2022, emacs-mule.

22 years ago(emacs-mule): Set :charset-list,
Dave Love [Sun, 19 May 2002 11:16:32 +0000 (11:16 +0000)]
(emacs-mule): Set :charset-list,
consistent with coding-system-charset-list doc.
(iso-8859-16): New charset.

22 years ago*** empty log message ***
Dave Love [Fri, 17 May 2002 20:26:59 +0000 (20:26 +0000)]
*** empty log message ***

22 years agoMost of code removed or commented
Dave Love [Fri, 17 May 2002 20:19:20 +0000 (20:19 +0000)]
Most of code removed or commented
out.
(codepage-setup): Re-written as trivial, obsolete function.

22 years agoDoc fixes.
Dave Love [Fri, 17 May 2002 20:17:04 +0000 (20:17 +0000)]
Doc fixes.
(charset-list, generic-char-p, set-coding-priority): Make
obsolete.
(coding-system-get): Try to convert old-style symbol to keyword.
(define-charset): Purecopy strings in property list.
(define-coding-system): Purecopy docstring.

22 years ago(windows-1254, cp1254, windows-1257)
Dave Love [Fri, 17 May 2002 20:16:14 +0000 (20:16 +0000)]
(windows-1254, cp1254, windows-1257)
(cp1257, next, iso-latin-7, iso-8859-13, latin-7): New coding
systems.
("Latin-7", "Lithuanian", "Latvian"): Don't require code-pages.
(iso-latin-7):

22 years ago("UTF-8"): Use utf-8, not mule-utf-8.
Dave Love [Fri, 17 May 2002 20:15:51 +0000 (20:15 +0000)]
("UTF-8"): Use utf-8, not mule-utf-8.
Remove setup function.

22 years ago(windows-1258, cp1258): New coding
Dave Love [Fri, 17 May 2002 20:14:36 +0000 (20:14 +0000)]
(windows-1258, cp1258): New coding
systems.
(font-ccl-encoder-alist): Remove viscii, vscii.

22 years ago(windows-1255, cp1255): New coding systems.
Dave Love [Fri, 17 May 2002 20:14:02 +0000 (20:14 +0000)]
(windows-1255, cp1255): New coding systems.

22 years ago(windows-1253, cp1253): New coding systems.
Dave Love [Fri, 17 May 2002 20:13:50 +0000 (20:13 +0000)]
(windows-1253, cp1253): New coding systems.

22 years ago(ebcdic-us, ebcdic-uk): New coding systems.
Dave Love [Fri, 17 May 2002 20:13:29 +0000 (20:13 +0000)]
(ebcdic-us, ebcdic-uk): New coding systems.

22 years ago(ebcdic-us, ebcdic-uk): Change map
Dave Love [Fri, 17 May 2002 20:11:06 +0000 (20:11 +0000)]
(ebcdic-us, ebcdic-uk): Change map
file name.
(windows-1253, windows-1254, windows-1255, windows-1256)
(windows-1257, windows-1258, next): New charsets.

22 years ago*** empty log message ***
Dave Love [Fri, 17 May 2002 17:10:07 +0000 (17:10 +0000)]
*** empty log message ***

22 years ago#
Dave Love [Fri, 17 May 2002 17:00:15 +0000 (17:00 +0000)]
#

22 years agoRename to .map
Dave Love [Fri, 17 May 2002 16:59:22 +0000 (16:59 +0000)]
Rename to .map

22 years agoDoc fixes.
Dave Love [Fri, 17 May 2002 16:51:14 +0000 (16:51 +0000)]
Doc fixes.
(charset-list, generic-char-p, set-coding-priority): Make
obsolete.
(coding-system-get): Try to convert old-style symbol to keyword.

22 years ago(XSetIMValues): Declare.
Dave Love [Fri, 17 May 2002 16:43:06 +0000 (16:43 +0000)]
(XSetIMValues): Declare.

22 years ago(print_object): Fix print format for 64-bit
Dave Love [Fri, 17 May 2002 16:37:56 +0000 (16:37 +0000)]
(print_object): Fix print format for 64-bit
systems.

22 years ago(modify_event_symbol): Fix print format for 64-bit
Dave Love [Fri, 17 May 2002 16:36:03 +0000 (16:36 +0000)]
(modify_event_symbol): Fix print format for 64-bit
systems.

22 years ago(emacs_strerror): Declare.
Dave Love [Fri, 17 May 2002 16:33:41 +0000 (16:33 +0000)]
(emacs_strerror): Declare.
(MMAP_ALLOCATED_P, mmap_enlarge, syms_of_buffer): Import changes
from trunk.

22 years ago(Fclear_face_cache): Declare.
Dave Love [Fri, 17 May 2002 16:29:46 +0000 (16:29 +0000)]
(Fclear_face_cache): Declare.
(accumulate_font_info): Commented-out (unused).
(face_for_char, Fset_fontset_font, Ffontset_info): Remove unused
variables.

22 years ago(string_escape_byte8): Declare.
Dave Love [Fri, 17 May 2002 16:26:29 +0000 (16:26 +0000)]
(string_escape_byte8): Declare.

22 years ago(Vchar_coding_system_table, Qchar_coding_system):
Dave Love [Fri, 17 May 2002 16:25:23 +0000 (16:25 +0000)]
(Vchar_coding_system_table, Qchar_coding_system):
Removed.
(Fset_coding_system_priority, Fset_coding_system_priority)
(Fdefine_coding_system_internal): Doc fix.

22 years ago(load_charset_map, load_charset_map_from_file): Remove
Dave Love [Fri, 17 May 2002 16:24:57 +0000 (16:24 +0000)]
(load_charset_map, load_charset_map_from_file): Remove
unused vars.
(Fdefine_charset_internal, Fsplit_char, syms_of_charset)
(Fmap_charset_chars): Doc fix.

22 years ago(list-character-sets): Doc fix.
Dave Love [Fri, 17 May 2002 16:09:58 +0000 (16:09 +0000)]
(list-character-sets): Doc fix.
(list-block-of-chars): Trap invalid args of make-char.

22 years ago(list-character-sets-2): Avoid
Dave Love [Fri, 17 May 2002 10:05:04 +0000 (10:05 +0000)]
(list-character-sets-2): Avoid
charset-bytes.
(list-iso-charset-chars, list-non-iso-charset-chars): Deleted.
(list-block-of-chars): Re-written.
(describe-character-set): Show more properties.
(describe-char-after): Correct codepoint display.
(print-coding-system): Use symbolic types.

22 years agoBe sure also to run emacs with LANG=C.
Kenichi Handa [Fri, 17 May 2002 05:33:36 +0000 (05:33 +0000)]
Be sure also to run emacs with LANG=C.

22 years ago*** empty log message ***
Kenichi Handa [Fri, 17 May 2002 05:33:02 +0000 (05:33 +0000)]
*** empty log message ***

22 years ago(list-character-sets-1): Fix last change.
Dave Love [Thu, 16 May 2002 19:51:14 +0000 (19:51 +0000)]
(list-character-sets-1): Fix last change.
(describe-character-set): Re-written.

22 years ago*** empty log message ***
Dave Love [Thu, 16 May 2002 19:31:47 +0000 (19:31 +0000)]
*** empty log message ***

22 years ago(C_SWITCH_SYSTEM) [!__GNUC__]: Remove -nointrinsics.
Dave Love [Thu, 16 May 2002 19:31:12 +0000 (19:31 +0000)]
(C_SWITCH_SYSTEM) [!__GNUC__]: Remove -nointrinsics.

22 years agoDoc fixes.
Dave Love [Thu, 16 May 2002 19:23:55 +0000 (19:23 +0000)]
Doc fixes.
(sort-charset-list, charset-multibyte-form-string): Removed.
(list-character-sets, list-character-sets-1)
(list-character-sets-2): Re-written.
(non-iso-charset-alist): Set to nil and made obsolete.
(decode-codepage-char): Re-written and made obsolete.
(read-charset, describe-character-set): Don't use
non-iso-charset-alist.
(describe-coding-system): Use keyword properties.

22 years ago(koi8-u, koi8-t, georgian-ps)
Dave Love [Thu, 16 May 2002 19:12:52 +0000 (19:12 +0000)]
(koi8-u, koi8-t, georgian-ps)
(windows-1250, windows-1251, windows-1252, cp1125, ebcdic-us)
(ebcdic-uk): New charsets.

22 years ago(windows-1252): New coding system.
Dave Love [Thu, 16 May 2002 19:11:24 +0000 (19:11 +0000)]
(windows-1252): New coding system.

22 years ago(koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love [Thu, 16 May 2002 19:11:09 +0000 (19:11 +0000)]
(koi8-u, koi8-t, windows-1251, cp1125): New
coding systems.

22 years agoNew file.
Dave Love [Thu, 16 May 2002 19:04:32 +0000 (19:04 +0000)]
New file.

22 years ago*** empty log message ***
Kenichi Handa [Thu, 16 May 2002 12:24:32 +0000 (12:24 +0000)]
*** empty log message ***

22 years agoBy sure to run emacs with LC_ALL=C.
Kenichi Handa [Thu, 16 May 2002 12:24:12 +0000 (12:24 +0000)]
By sure to run emacs with LC_ALL=C.

22 years agoBy sure to run emacs with LANG=C.
Kenichi Handa [Thu, 16 May 2002 12:22:51 +0000 (12:22 +0000)]
By sure to run emacs with LANG=C.

22 years ago(string_escape_byte8): Make multibyte string with correct size.
Kenichi Handa [Thu, 16 May 2002 11:25:20 +0000 (11:25 +0000)]
(string_escape_byte8): Make multibyte string with correct size.

22 years ago(encoded-kbd-handle-8bit): Call
Kenichi Handa [Thu, 16 May 2002 01:17:14 +0000 (01:17 +0000)]
(encoded-kbd-handle-8bit): Call
encoded-kbd-self-insert-iso2022-8bit with argument 1.
(encoded-kbd-self-insert-charset): New function.
(encoded-kbd-setup-keymap): Handle a coding-system of type
charset.
(encoded-kbd-mode): Likewise.

22 years ago(Fmake_char): Delete unnecessary code.
Kenichi Handa [Wed, 15 May 2002 23:34:17 +0000 (23:34 +0000)]
(Fmake_char): Delete unnecessary code.

22 years ago*** empty log message ***
Kenichi Handa [Wed, 15 May 2002 23:33:49 +0000 (23:33 +0000)]
*** empty log message ***

22 years ago(set-locale-environment): Comment out
Dave Love [Wed, 15 May 2002 18:22:43 +0000 (18:22 +0000)]
(set-locale-environment): Comment out
set-keyboard-coding-system stuff.

22 years ago*** empty log message ***
Kenichi Handa [Tue, 14 May 2002 23:28:34 +0000 (23:28 +0000)]
*** empty log message ***

22 years agoSet syntax/category for japanese-jisx0208.
Kenichi Handa [Tue, 14 May 2002 23:15:58 +0000 (23:15 +0000)]
Set syntax/category for japanese-jisx0208.

22 years ago(skkdic-jisx0208-hiragana-block):
Kenichi Handa [Tue, 14 May 2002 23:15:29 +0000 (23:15 +0000)]
(skkdic-jisx0208-hiragana-block):
Fix the initial value to specify character range of
japanese-jisx0208, not unicode.

22 years ago*** empty log message ***
Kenichi Handa [Tue, 14 May 2002 23:14:59 +0000 (23:14 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Dave Love [Tue, 14 May 2002 15:39:08 +0000 (15:39 +0000)]
*** empty log message ***

22 years ago(mm-mime-mule-charset-alist)
Dave Love [Tue, 14 May 2002 15:38:31 +0000 (15:38 +0000)]
(mm-mime-mule-charset-alist)
(mm-mule-charset-to-mime-charset, mm-charset-to-coding-system)
(mm-mime-charset, mm-find-mime-charset-region): Look for
`:mime-charset' property of coding systems before `mime-charset'.

22 years ago(sendmail-send-it): Use :mime-charset, not
Dave Love [Tue, 14 May 2002 15:38:09 +0000 (15:38 +0000)]
(sendmail-send-it): Use :mime-charset, not
mime-charset.

22 years agoFix :mime-charset properties.
Dave Love [Tue, 14 May 2002 15:37:13 +0000 (15:37 +0000)]
Fix :mime-charset properties.

22 years ago(cyrillic-iso-8bit, cyrillic-koi8)
Dave Love [Tue, 14 May 2002 15:36:38 +0000 (15:36 +0000)]
(cyrillic-iso-8bit, cyrillic-koi8)
(cyrillic-alternativnyj): Fix :mime-charset.
(cp878, cp866): New alias.

22 years ago(encode_coding_object): Give correct arguments ot
Kenichi Handa [Tue, 14 May 2002 13:03:45 +0000 (13:03 +0000)]
(encode_coding_object): Give correct arguments ot
pre-write-conversion.  Ignore the return value of
pre-write-conversion function.  Pay attention for the case that
pre-write-conversion change the current buffer.  If dst_object is
Qt, even if coding->src_bytes is zero, allocate at least one byte
to coding->destination.

22 years ago(x_encode_text): Allocate coding.destination here, and
Kenichi Handa [Tue, 14 May 2002 13:02:54 +0000 (13:02 +0000)]
(x_encode_text): Allocate coding.destination here, and
call encode_coding_object with dst_object Qnil.

22 years ago(Fset_buffer_multibyte): Convert 8-bit bytes to
Kenichi Handa [Tue, 14 May 2002 11:51:08 +0000 (11:51 +0000)]
(Fset_buffer_multibyte): Convert 8-bit bytes to
multibyte form correctly.