bpt/emacs.git
21 years ago(Fdefine_coding_system_internal): Fix category setting
Kenichi Handa [Thu, 8 Aug 2002 13:01:56 +0000 (13:01 +0000)]
(Fdefine_coding_system_internal): Fix category setting
for a coding system of type iso-2022.

21 years ago(next-word-boundary-han): Don't
Kenichi Handa [Thu, 8 Aug 2002 13:00:10 +0000 (13:00 +0000)]
(next-word-boundary-han): Don't
treat katakana following han characters as a part of a word.

21 years ago*** empty log message ***
Kenichi Handa [Thu, 8 Aug 2002 12:59:44 +0000 (12:59 +0000)]
*** empty log message ***

21 years ago(FS_LOAD_FONT): Call fs_load_font with the arg CHARSET -1.
Kenichi Handa [Thu, 1 Aug 2002 15:51:59 +0000 (15:51 +0000)]
(FS_LOAD_FONT): Call fs_load_font with the arg CHARSET -1.

21 years ago*** empty log message ***
Kenichi Handa [Thu, 1 Aug 2002 12:36:32 +0000 (12:36 +0000)]
*** empty log message ***

21 years agoCall map-charset-chars on big5
Kenichi Handa [Thu, 1 Aug 2002 12:36:17 +0000 (12:36 +0000)]
Call map-charset-chars on big5
(not chinese-big5-1/2) to set categories `c', `C', and `|'.
(next-word-boundary-han): New function.  Register it in
next-word-boundary-function-table.
(next-word-boundary-kana): Likewise.

21 years ago(Vnext_word_boundary_function_table): New variable.
Kenichi Handa [Thu, 1 Aug 2002 12:33:55 +0000 (12:33 +0000)]
(Vnext_word_boundary_function_table): New variable.
(syms_of_syntax): Declare it as a Lisp variable.
(scan_words): Call functions in Vnext_word_boundary_function_table
if any.

21 years ago(fs_load_font): If fontp->charset is not negative,
Kenichi Handa [Thu, 1 Aug 2002 05:44:09 +0000 (05:44 +0000)]
(fs_load_font): If fontp->charset is not negative,
return fontp without setting its members.

21 years ago(x_load_font): Initialize fontp->fontset to -1.
Kenichi Handa [Thu, 1 Aug 2002 05:42:48 +0000 (05:42 +0000)]
(x_load_font): Initialize fontp->fontset to -1.

21 years ago*** empty log message ***
Dave Love [Wed, 31 Jul 2002 22:59:53 +0000 (22:59 +0000)]
*** empty log message ***

21 years agoGenerated with autoheader.
Dave Love [Wed, 31 Jul 2002 22:41:56 +0000 (22:41 +0000)]
Generated with autoheader.

21 years agoChange logic (instead of fixing typo).
Dave Love [Wed, 31 Jul 2002 22:37:38 +0000 (22:37 +0000)]
Change logic (instead of fixing typo).

21 years agoDon't include strings.h.
Dave Love [Wed, 31 Jul 2002 22:32:39 +0000 (22:32 +0000)]
Don't include strings.h.
(bcopy, bzero, bcmp): Don't undef.

21 years ago(bcopy, bzero, bcmp): Don't undef.
Dave Love [Wed, 31 Jul 2002 22:32:15 +0000 (22:32 +0000)]
(bcopy, bzero, bcmp): Don't undef.

21 years ago(NO_SIOCTL_H): Don't define.
Dave Love [Wed, 31 Jul 2002 22:31:51 +0000 (22:31 +0000)]
(NO_SIOCTL_H): Don't define.
(TIOCSIGSEND): Don't test IRIX6.
(bcopy, bzero, bcmp): Define conditionally.

21 years ago(HAVE_ALLOCA): Delete.
Dave Love [Wed, 31 Jul 2002 22:30:08 +0000 (22:30 +0000)]
(HAVE_ALLOCA): Delete.

21 years ago(leim): Don't put PARALLEL in environment.
Dave Love [Wed, 31 Jul 2002 22:28:25 +0000 (22:28 +0000)]
(leim): Don't put PARALLEL in environment.
($(srcdir)/src/config.in, $(srcdir)/src/stamp-h.in): New.
(install-arch-indep, install-arch-indep): Merge changes from
trunk.

21 years agoRequire autoconf 2.53. Merge changes from trunk.
Dave Love [Wed, 31 Jul 2002 22:26:08 +0000 (22:26 +0000)]
Require autoconf 2.53.  Merge changes from trunk.
Test for sys/mman.h, sys/param.h
(AC_PROG_YACC): Deleted.
(AH_BOTTOM): Maybe include strings.h.

21 years ago(syms_of_charset): Fix previous change.
Kenichi Handa [Wed, 31 Jul 2002 07:58:30 +0000 (07:58 +0000)]
(syms_of_charset): Fix previous change.

21 years ago*** empty log message ***
Kenichi Handa [Wed, 31 Jul 2002 07:15:29 +0000 (07:15 +0000)]
*** empty log message ***

21 years ago(tar-file-name-coding-system): New variable. Make
Kenichi Handa [Wed, 31 Jul 2002 07:14:35 +0000 (07:14 +0000)]
(tar-file-name-coding-system): New variable.  Make
it permanent-local.p
(tar-header-block-tokenize): Decode filename and linkname by
tar-file-name-coding-system.
(tar-header-block-checksum): Call multibyte-char-to-unibyte to get
the byte value of eight-bit chars.
(tar-summarize-buffer): Call set-buffer-multibyte with METHOD
`to'.  Delete unnecessary call of position-bytes.
(tar-mode): Set tar-file-name-coding-system.  Delete unnecessary
call of position-bytes.
(tar-extract): Simplified by calling decode-coding-region with
DESTINATION argument.  Don't toggle multibyteness of tar buffer.
(tar-copy): Don't toggle multibyteness of tar buffer.
(tar-expunge): Likewise.
(tar-clear-modification-flags): Delete unnecessary call of
position-bytes.
(tar-rename-entry): Call tar-alter-one-field with encoded new
name.
(tar-alter-one-field): Don't toggle multibyteness of tar buffer.
Convert new-data-string by string-to-multibyte before inserting
it.
(tar-subfile-save-buffer): Don't toggle multibyteness of tar
buffer.  Simplified by calling encoding-coding-region with
DESTINATION argument.
(tar-mode-write-file): Delete unnecessary call of
byte-to-position.

21 years ago(archive-file-name-coding-system): New variable.
Kenichi Handa [Wed, 31 Jul 2002 07:14:13 +0000 (07:14 +0000)]
(archive-file-name-coding-system): New variable.
Make it permanent-local.
(byte-after, bref, insert-unibyte): New function.  Change most of
char-after, aref, insert to them respectively.
(archive-mode): Set archive-file-name-coding-system.
(archive-summarize): Don't change the buffer's multibyteness.
(archive-extract): Inherit archive-file-name-coding-system from
archive-superior-buffer.  Bind coding-system-for-write to
archive-file-name-coding-system.
(archive-*-write-file-member): Encode ENAME by
archive-file-name-coding-system.  Bind coding-system-for-write to
no-conversion.
(archive-rename-entry): Encode the filename by
archive-file-name-coding-system.
(archive-mode-revert): Don't change the buffer's multibyteness.
(archive-arc-summarize, archive-lzh-summarize,
archive-zoo-summarize): Don't change the buffer's multibyteness.
Decode filenames by archive-file-name-coding-system.
(archive-arc-rename-entry, archive-zip-chmod-entry): Don't change
the buffer's multibyteness.

21 years ago(Fstring_to_multibyte): New function.
Kenichi Handa [Wed, 31 Jul 2002 07:11:47 +0000 (07:11 +0000)]
(Fstring_to_multibyte): New function.
(syms_of_fns): Declare Fstring_to_multibyte as Lisp subroutine.

21 years ago(setup_echo_area_for_printing, set_message_1): Adjusted
Kenichi Handa [Wed, 31 Jul 2002 07:11:28 +0000 (07:11 +0000)]
(setup_echo_area_for_printing, set_message_1): Adjusted
for the change of Fset_buffer_multibyte.

21 years ago(Fset_buffer_multibyte): Prototype adjusted.
Kenichi Handa [Wed, 31 Jul 2002 07:10:36 +0000 (07:10 +0000)]
(Fset_buffer_multibyte): Prototype adjusted.

21 years ago* coding.c (make_conversion_work_buffer): Adjusted for the change
Kenichi Handa [Wed, 31 Jul 2002 07:09:00 +0000 (07:09 +0000)]
* coding.c (make_conversion_work_buffer): Adjusted for the change
of Fset_buffer_multibyte.
(encode_coding_raw_text): Increment p0 in the loop.

21 years ago(charset_8_bit): Extern it.
Kenichi Handa [Wed, 31 Jul 2002 07:08:15 +0000 (07:08 +0000)]
(charset_8_bit): Extern it.

21 years ago(charset_eight_bit, Qeight_bit_control): New
Kenichi Handa [Wed, 31 Jul 2002 07:07:59 +0000 (07:07 +0000)]
(charset_eight_bit, Qeight_bit_control): New
variables.
(charset_8_bit__control, charset_8_bit_graphic,
Qeight_bit_control, Qeight_bit_graphic): These variables deleted.
(define_charset_internal): New function.
(syms_of_charset): Call define_charset_internal for pre-defined
charsets.

21 years ago(Funibyte_char_to_multibyte): If C can't be decoded
Kenichi Handa [Wed, 31 Jul 2002 07:06:36 +0000 (07:06 +0000)]
(Funibyte_char_to_multibyte): If C can't be decoded
by the primary charset, make it eight-bit char.
(Fmultibyte_char_to_unibyte): Call CHAR_TO_BYTE8.

21 years ago(CHAR_TO_BYTE8): If C is not eight-bit char, call
Kenichi Handa [Wed, 31 Jul 2002 07:05:33 +0000 (07:05 +0000)]
(CHAR_TO_BYTE8): If C is not eight-bit char, call
multibyte_char_to_unibyte.

21 years ago(Fcall_process): Don't call insert_1_both directly if
Kenichi Handa [Wed, 31 Jul 2002 07:05:17 +0000 (07:05 +0000)]
(Fcall_process): Don't call insert_1_both directly if
we are inserting a process output into a multibyte buffer.

21 years ago(Qas, Qmake, Qto): New variables.
Kenichi Handa [Wed, 31 Jul 2002 07:04:55 +0000 (07:04 +0000)]
(Qas, Qmake, Qto): New variables.
(Fset_buffer_multibyte): New optional arg METHOD.  Caller changed.
(syms_of_buffer): Intern and staticpro Qas, Qmake, and Qto.

21 years ago*** empty log message ***
Dave Love [Tue, 30 Jul 2002 11:41:15 +0000 (11:41 +0000)]
*** empty log message ***

21 years ago("welsh"): Doc fix.
Dave Love [Tue, 30 Jul 2002 11:41:04 +0000 (11:41 +0000)]
("welsh"): Doc fix.

21 years agoReinstate some commented-out redundancies.
Dave Love [Tue, 30 Jul 2002 11:40:55 +0000 (11:40 +0000)]
Reinstate some commented-out redundancies.
("russian-typewriter"): Renamed from cyrillic-typewriter.  Make
cyrillic-jcuken effectively an alias for it.
("russian-computer"): New.
("bulgarian-phonetic"): Renamed from bulgarian-pho.
("bulgarian-bds"): Renamed from bulgarian-standard.

21 years ago(x_put_x_image): Declare args.
Dave Love [Tue, 30 Jul 2002 11:38:20 +0000 (11:38 +0000)]
(x_put_x_image): Declare args.

21 years ago(font_name_registry, choose_face_font): Delete unused
Dave Love [Tue, 30 Jul 2002 11:38:05 +0000 (11:38 +0000)]
(font_name_registry, choose_face_font): Delete unused
vars.
(try_font_list): Declare an arg.

21 years ago(message2_nolog, set_message): Declare an arg.
Dave Love [Tue, 30 Jul 2002 11:37:50 +0000 (11:37 +0000)]
(message2_nolog, set_message): Declare an arg.

21 years ago(tparam): Declare an arg. Use P_ to declare tparm.
Dave Love [Tue, 30 Jul 2002 11:37:36 +0000 (11:37 +0000)]
(tparam): Declare an arg.  Use P_ to declare tparm.

21 years agoComment fix
Dave Love [Tue, 30 Jul 2002 11:36:59 +0000 (11:36 +0000)]
Comment fix

21 years ago(scan_sexps_forward): Declare an arg.
Dave Love [Tue, 30 Jul 2002 11:36:10 +0000 (11:36 +0000)]
(scan_sexps_forward): Declare an arg.

21 years ago(calculate_scrolling, calculate_direct_scrolling):
Dave Love [Tue, 30 Jul 2002 11:36:03 +0000 (11:36 +0000)]
(calculate_scrolling, calculate_direct_scrolling):
Declare an arg.

21 years ago(Fnew_fontset): Declare.
Dave Love [Tue, 30 Jul 2002 11:35:53 +0000 (11:35 +0000)]
(Fnew_fontset): Declare.

21 years ago(push_key_description): Call CHARACTERP correctly.
Dave Love [Tue, 30 Jul 2002 11:35:28 +0000 (11:35 +0000)]
(push_key_description): Call CHARACTERP correctly.

21 years ago(fontset_add): Declare args. Call make_number
Dave Love [Tue, 30 Jul 2002 11:35:17 +0000 (11:35 +0000)]
(fontset_add): Declare args.  Call make_number
correctly.
(face_for_char): Delete unused vars.
(Fset_fontset_font): Doc fix.  Delete unused vars.

21 years ago(Fsubstitute_command_keys): Delete unused vars.
Dave Love [Tue, 30 Jul 2002 11:34:55 +0000 (11:34 +0000)]
(Fsubstitute_command_keys): Delete unused vars.

21 years ago(update_compositions): Declare arg.
Dave Love [Tue, 30 Jul 2002 11:34:40 +0000 (11:34 +0000)]
(update_compositions): Declare arg.

21 years ago(calccost, cmgoto): Declare args.
Dave Love [Tue, 30 Jul 2002 11:33:39 +0000 (11:33 +0000)]
(calccost, cmgoto): Declare args.

21 years agoRemove `emacs' conditional. Doc fixes.
Dave Love [Tue, 30 Jul 2002 11:33:15 +0000 (11:33 +0000)]
Remove `emacs' conditional.  Doc fixes.
(map_char_table_for_charset): Declare.

21 years ago(syms_of_character) <translation-table-vector>: Doc
Dave Love [Tue, 30 Jul 2002 11:32:52 +0000 (11:32 +0000)]
(syms_of_character) <translation-table-vector>: Doc
fix.

21 years agoRemove `emacs' conditional. Include hash table stuff
Dave Love [Tue, 30 Jul 2002 11:31:54 +0000 (11:31 +0000)]
Remove `emacs' conditional.  Include hash table stuff
from trunk.

21 years agoDon't redefine P_.
Dave Love [Tue, 30 Jul 2002 11:30:32 +0000 (11:30 +0000)]
Don't redefine P_.

21 years agoUpdates for current changes.
Dave Love [Tue, 30 Jul 2002 11:29:11 +0000 (11:29 +0000)]
Updates for current changes.

21 years ago(quail-cxterm-package-ext-info): Doc
Dave Love [Tue, 30 Jul 2002 11:27:03 +0000 (11:27 +0000)]
(quail-cxterm-package-ext-info): Doc
fix.

21 years agocomment
Dave Love [Tue, 30 Jul 2002 11:25:43 +0000 (11:25 +0000)]
comment

21 years ago(rfc2047-charset-encoding-alist): Use B for Hebrew.
Dave Love [Tue, 30 Jul 2002 11:24:33 +0000 (11:24 +0000)]
(rfc2047-charset-encoding-alist): Use B for Hebrew.
Doc fix.

21 years ago(gnus-read-newsrc-el-file): Don't bind
Dave Love [Tue, 30 Jul 2002 11:24:20 +0000 (11:24 +0000)]
(gnus-read-newsrc-el-file): Don't bind
coding-system-for-read.
(gnus-gnus-to-quick-newsrc-format): Insert coding cookie.

21 years agoCopyright up-date
Dave Love [Tue, 30 Jul 2002 11:24:02 +0000 (11:24 +0000)]
Copyright up-date

21 years ago(copyright-regexp): Remove redundancy.
Dave Love [Tue, 30 Jul 2002 11:23:12 +0000 (11:23 +0000)]
(copyright-regexp): Remove redundancy.

21 years ago(Vchar_script_table): Extern it.
Kenichi Handa [Fri, 26 Jul 2002 06:20:47 +0000 (06:20 +0000)]
(Vchar_script_table): Extern it.

21 years ago(Vscript_alist): This variable deleted.
Kenichi Handa [Fri, 26 Jul 2002 06:20:29 +0000 (06:20 +0000)]
(Vscript_alist): This variable deleted.
(Vchar_script_table, Qchar_script_table): New variable.
(syms_of_character): Declare Vchar_script_table as a lisp variable
and initialize it.

21 years ago*** empty log message ***
Kenichi Handa [Fri, 26 Jul 2002 06:18:44 +0000 (06:18 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Kenichi Handa [Fri, 26 Jul 2002 04:08:40 +0000 (04:08 +0000)]
*** empty log message ***

21 years ago(x_produce_glyphs): Use ASCII_CHAR_P, not
Kenichi Handa [Fri, 26 Jul 2002 04:08:30 +0000 (04:08 +0000)]
(x_produce_glyphs): Use ASCII_CHAR_P, not
SINGLE_BYTE_CHAR_P.  Fix the logic of handling non-ASCII char when
it->multibyte_p is zero.
(XTread_socket): Use ASCII_CHAR_P, not SINGLE_BYTE_CHAR_P.
(x_new_fontset): If FONTSETNAME doesn't match any existing
fontsets, create a new one.
(x_get_font_repertory): New function.

21 years ago(x_get_font_repertory): Extern it.
Kenichi Handa [Fri, 26 Jul 2002 04:08:13 +0000 (04:08 +0000)]
(x_get_font_repertory): Extern it.

21 years ago(x_set_font): Always call x_new_fontset and
Kenichi Handa [Fri, 26 Jul 2002 04:07:58 +0000 (04:07 +0000)]
(x_set_font): Always call x_new_fontset and
store_frame_parameter.
(Fx_create_frame): Call x_new_fontset, not x_new_font.
(syms_of_xfns): Set get_font_repertory_func to
x_get_font_repertory.

21 years agoInclude charset.h.
Kenichi Handa [Fri, 26 Jul 2002 04:07:39 +0000 (04:07 +0000)]
Include charset.h.
(load_face_font): Argument C deleted.  Caller changed.
(generate_ascii_font_name): Renamed from generate_ascii_font.
(font_name_registry): New function.
(cache_face): Store ascii faces before non-ascii faces in buckets.
(lookup_face): Arguments C and BASE_FACE deleted.  Caller changed.
Lookup only ascii faces.
(lookup_non_ascii_face): New function.
(lookup_named_face): Argument C deleted.  Caller changed.
(lookup_derived_face): Argument C deleted.  Caller changed.
(try_font_list): New arg PATTERN.  Caller changed.  If PATTERN is
a string, just call font_list with it.
(choose_face_font): Arguments FACE and C deleted.  New arg
FONT_SPEC.  Caller changed.
(realize_face): Arguments C and BASE_FACE deleted.  Caller
(realize_x_face): Likewise.
(realize_non_ascii_face): New function.
(realize_x_face): Call load_face_font here.
(realize_tty_face): Argument C deleted.  Caller changed.
(compute_char_face): If CH is not ascii, call FACE_FOR_CHAR to
get a face ID.
(dump_realized_face): Don't print charset of FACE.

21 years ago(message_dolog, set_message_1,
Kenichi Handa [Fri, 26 Jul 2002 04:07:18 +0000 (04:07 +0000)]
(message_dolog, set_message_1,
extend_face_to_end_of_line): Use ASCII_CHAR_P, not
SINGLE_BYTE_CHAR_P.
(highlight_trailing_whitespace): Adjusted for the change of
lookup_named_face.

21 years ago(XMenuActivate): Adjuted for the change of lookup_derived_face.
Kenichi Handa [Fri, 26 Jul 2002 04:07:00 +0000 (04:07 +0000)]
(XMenuActivate): Adjuted for the change of lookup_derived_face.

21 years ago(CHAR_TABLE_REF): Remove unnecessary check (IDX >= 0).
Kenichi Handa [Fri, 26 Jul 2002 04:06:43 +0000 (04:06 +0000)]
(CHAR_TABLE_REF): Remove unnecessary check (IDX >= 0).
(Fset_fotset_font): Fix arguments to 5.

21 years ago(Qprepend, Qappend): New variables.
Kenichi Handa [Fri, 26 Jul 2002 04:06:25 +0000 (04:06 +0000)]
(Qprepend, Qappend): New variables.
(FONTSET_CHARSET_ALIST, FONTSET_FACE_ALIST): These macros deleted.
(FONTSET_NOFONT_FACE, FONTSET_REPERTORY): New macros.
(FONTSET_REF): Optimize if FONTSET is Vdefault_fontset.
(FONTSET_REF_AND_RANGE, FONTSET_ADD): New macros.
(fontset_ref_and_range, fontset_add, reorder_font_vector)
(load_font_get_repertory): New functions.
(fontset_set): This function deleted.
(fontset_face): New arg FACE.  Return face ID, not face.
Completely re-written to handle new fontset structure.  Caller
changed.
(free_face_fontset): Use ASET istead of AREF (X) = Y.
(face_for_char): Don't call lookup_face.
(make_fontset_for_ascii_face): New arg FACE.
(fs_load_font): New arg CHARSET_ID.  Don't check
Vfont_encoding_alist here.
(find_font_encoding): New function.
(list_fontsets): Use STRINGP, not ! NILP.
(accumulate_script_ranges): New function.
(Fset_fontset_font, Fnew_fontset, Ffontset_info): Completely
re-written to handle new fontset structure.
(Ffontset_font): Return a copy of element.
(syms_of_fontset): Define symbols Qprepend and Qappend.  Fix
docstring of font-encoding-alist.

21 years ago(get_font_repertory_func): New prototype.
Kenichi Handa [Fri, 26 Jul 2002 04:06:05 +0000 (04:06 +0000)]
(get_font_repertory_func): New prototype.
(make_fontset_for_ascii_face, fs_load_font): Prototypes fixed.
(FS_LOAD_FONT): Call fs_load_font with the 3rd arg charset_ascii.

21 years ago(struct face): Member `charset' deleted.
Kenichi Handa [Fri, 26 Jul 2002 04:05:48 +0000 (04:05 +0000)]
(struct face): Member `charset' deleted.
(FACE_SUITABLE_FOR_CHAR_P): Use ASCII_CHAR_P, not
SINGLE_BYTE_CHAR_P.
(FACE_FOR_CHAR): Likewise.
(choose_face_font, lookup_non_ascii_face, font_name_registry): Add
prototypes
(lookup_face, lookup_named_face, lookup_derived_face): Prototype
fixed.
(generate_ascii_font_name): Renamed from generate_ascii_font.

21 years ago(Fmake_char_table): Doc fixed. If PURPOSE doesn't
Kenichi Handa [Fri, 26 Jul 2002 04:05:29 +0000 (04:05 +0000)]
(Fmake_char_table): Doc fixed.  If PURPOSE doesn't
have property char-table-extra-slots, make no extra slot.

21 years ago(Fccl_execute_on_string): Add `const' to local variables.
Kenichi Handa [Fri, 26 Jul 2002 04:05:16 +0000 (04:05 +0000)]
(Fccl_execute_on_string): Add `const' to local variables.

21 years ago(Fmake_string): Use ASCII_CHAR_P, not SINGLE_BYTE_CHAR_P.
Kenichi Handa [Fri, 26 Jul 2002 04:05:01 +0000 (04:05 +0000)]
(Fmake_string): Use ASCII_CHAR_P, not SINGLE_BYTE_CHAR_P.

21 years ago(abbrev.o): Depend on syntax.h.
Kenichi Handa [Fri, 26 Jul 2002 04:04:45 +0000 (04:04 +0000)]
(abbrev.o): Depend on syntax.h.
(xfaces.o): Depend on charset.h.

21 years agoDon't register ccl-encode-indian-glyph-font
Kenichi Handa [Fri, 26 Jul 2002 04:04:09 +0000 (04:04 +0000)]
Don't register ccl-encode-indian-glyph-font
and ccl-encode-unicode-font in font-ccl-encoder-alist.

21 years ago(print-fontset): Use describe-vector
Kenichi Handa [Fri, 26 Jul 2002 04:03:50 +0000 (04:03 +0000)]
(print-fontset): Use describe-vector
to handle a char table returned by fontset-info.

21 years agoUnify these charses: korean-ksc5601, ipa, tibetan, ethiopic,
Kenichi Handa [Fri, 26 Jul 2002 04:03:27 +0000 (04:03 +0000)]
Unify these charses: korean-ksc5601, ipa, tibetan, ethiopic,
japanese-jisx0208, japanese-jisx0212, japanese-jisx0213-1,
japanese-jisx0213-2.
(devanagari-glyph): New charset.

21 years agoSetup the default fontset by the new
Kenichi Handa [Fri, 26 Jul 2002 04:03:01 +0000 (04:03 +0000)]
Setup the default fontset by the new
script based way.
(x-complement-fontset-spec): Change the format of arg FONTLIST to
an alist of charsets vs font name lists.
(charset-script-alist): New variable.
(create-fontset-from-fontset-spec): Allow script name in
FONTSET-SPEC.  If charset is specified in FONTSET-SPEC, change it
to the corresponding script name.
(create-fontset-from-ascii-font): Slightly tuned.

21 years agoSetup char-script-table.
Kenichi Handa [Fri, 26 Jul 2002 04:02:41 +0000 (04:02 +0000)]
Setup char-script-table.

21 years ago*** empty log message ***
Kenichi Handa [Thu, 25 Jul 2002 11:12:30 +0000 (11:12 +0000)]
*** empty log message ***

21 years ago(Ffind_coding_systems_region_internal): Detect an
Kenichi Handa [Thu, 25 Jul 2002 02:01:39 +0000 (02:01 +0000)]
(Ffind_coding_systems_region_internal): Detect an
ASCII only string correctly.

21 years ago(Fload): Don't load with Qload_force_doc_strings t if
Kenichi Handa [Thu, 25 Jul 2002 01:30:27 +0000 (01:30 +0000)]
(Fload): Don't load with Qload_force_doc_strings t if
version is 0.

21 years ago*** empty log message ***
Kenichi Handa [Thu, 25 Jul 2002 01:29:57 +0000 (01:29 +0000)]
*** empty log message ***

21 years agoInclude "coding.h".
Kenichi Handa [Wed, 24 Jul 2002 10:51:15 +0000 (10:51 +0000)]
Include "coding.h".
(Qget_emacs_mule_file_char, Qload_force_doc_strings,
load_each_byte, unread_char): New variables.
(readchar_backlog): This variable deleted.
(readchar): Return a character unless load_each_byte is nonzero.
Handle the case that readcharfun is Qget_emacs_mule_file_char or a
cons.  If unread_char is not -1, simply return it.
(unreadchar): Handle the case that readcharfun is
Qget_emacs_mule_file_char or a cons.  Set unread_char if
necessary.
(read_multibyte): This function deleted.
(readbyte_for_lambda, readbyte_from_file, readbyte_from_string)
(read_emacs_mule_char): New functions.
(Fload): Even if the file doesn't have the extention ".elc", if
safe_to_load_p returns a positive version number, assume that the
file contains bytecompiled code.  If the version is less than 22,
load the file while decoding multibyte sequences by emacs-mule.
(readevalloop): Don't use readchar_backlog.
(Fread): Likewise.  Pay attention to the case that STREAM is a
cons.
(Fread_from_string): Pay attention to the case that STREAM is a
cons.
(read_escape): The arg BYTEREP deleted.
(read1): Set load_each_byte to 1 temporarily while handling
#@NUMBER.  Don't call read_multibyte.
(read_vector): Call Fread with a cons.  If readcharfun is
Qget_emacs_mule_file_char, decode the read string by emacs-mule.
(read_list): If doc_reference is 2, make the cdr part string as
unibyte.
(syms_of_lread): Intern and staticpro Qget_emacs_mule_file_char
and Qload_force_doc_strings.

21 years ago*** empty log message ***
Kenichi Handa [Wed, 24 Jul 2002 10:50:53 +0000 (10:50 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Dave Love [Tue, 23 Jul 2002 19:07:04 +0000 (19:07 +0000)]
*** empty log message ***

21 years ago(face_before_or_after_it_pos): Call
Kenichi Handa [Tue, 23 Jul 2002 02:58:07 +0000 (02:58 +0000)]
(face_before_or_after_it_pos): Call
FETCH_MULTIBYTE_CHAR with byte postion, not char position.

21 years ago*** empty log message ***
Kenichi Handa [Tue, 23 Jul 2002 02:57:49 +0000 (02:57 +0000)]
*** empty log message ***

21 years ago(Fmap_charset_chars): Fix handling of default value for FROM_CODE
Kenichi Handa [Mon, 22 Jul 2002 12:28:14 +0000 (12:28 +0000)]
(Fmap_charset_chars): Fix handling of default value for FROM_CODE
and TO_CODE.

21 years ago*** empty log message ***
Kenichi Handa [Mon, 22 Jul 2002 12:27:56 +0000 (12:27 +0000)]
*** empty log message ***

21 years ago(Vscript_alist): New variable.
Kenichi Handa [Mon, 22 Jul 2002 06:46:17 +0000 (06:46 +0000)]
(Vscript_alist): New variable.
(string_char_with_unification): Add `const' to local variables.
(str_as_unibyte): Likewise.
(string_escape_byte8): Likewise.
(syms_of_character): Declare script-alist as a Lisp variable.

21 years ago(LEADING_CODE_PRIVATE_11, LEADING_CODE_PRIVATE_12,
Kenichi Handa [Mon, 22 Jul 2002 06:40:36 +0000 (06:40 +0000)]
(LEADING_CODE_PRIVATE_11, LEADING_CODE_PRIVATE_12,
LEADING_CODE_PRIVATE_21, LEADING_CODE_PRIVATE_22): Macros
deleted.  Callers changes to use
EMACS_MULE_LEADING_CODE_PRIVATE_11, etc.
(decode_coding_ccl): Add `const' to local variables.
(consume_chars): Likewise.
(Ffind_coding_systems_region_internal): Likewise.
(Fcheck_coding_systems_region): Likewise.

21 years ago(Vcharset_ordered_list): Extern it.
Kenichi Handa [Mon, 22 Jul 2002 06:36:50 +0000 (06:36 +0000)]
(Vcharset_ordered_list): Extern it.
(charset_ordered_list_tick): Extern it.
(EMACS_MULE_LEADING_CODE_PRIVATE_11,
EMACS_MULE_LEADING_CODE_PRIVATE_12,
EMACS_MULE_LEADING_CODE_PRIVATE_21,
EMACS_MULE_LEADING_CODE_PRIVATE_22): New macros
(Funify_charset): Adjusted for the change of Funify_charset.

21 years ago(charset_ordered_list_tick): New variable.
Kenichi Handa [Mon, 22 Jul 2002 06:35:00 +0000 (06:35 +0000)]
(charset_ordered_list_tick): New variable.
(Fdefine_charset_internal): Increment charset_ordered_list_tick.
(Funify_charset): New optional arg DEUNIFY.  If it is non-nil,
deunify intead of unify a charset.
(string_xstring_p): Add `const' to local variables.
(find_charsets_in_text): Add `const' to arguemnts and local
variables.
(encode_char): Adjusted for the change of Funify_charset.  Fix
detecting of invalid code.
(Fset_charset_priority): Increment charset_ordered_list_tick.

21 years ago(TRAILING_CODE_P): New macro.
Kenichi Handa [Mon, 22 Jul 2002 06:30:30 +0000 (06:30 +0000)]
(TRAILING_CODE_P): New macro.
(MAYBE_UNIFY_CHAR): Adjusted for the change of Funify_charset.
(string_char_with_unification): Fix prototype.
(Vscript_alist): Extern it.

21 years ago(print_object): Use octal form for printing the
Kenichi Handa [Mon, 22 Jul 2002 06:27:09 +0000 (06:27 +0000)]
(print_object): Use octal form for printing the
contents of a bool vector.

21 years ago(Fload) <!load_dangerous_libraries>: Don't leak fd.
Dave Love [Thu, 18 Jul 2002 16:30:48 +0000 (16:30 +0000)]
(Fload) <!load_dangerous_libraries>: Don't leak fd.
<version == 20>: Refuse to load.