1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-23 04:53:12 -08:00
Commit graph

41022 commits

Author SHA1 Message Date
Dave Love
64165ae2a8 Remove `emacs' conditional. Doc fixes.
(map_char_table_for_charset): Declare.
2002-07-30 11:33:15 +00:00
Dave Love
68978cf02e (syms_of_character) <translation-table-vector>: Doc
fix.
2002-07-30 11:32:52 +00:00
Dave Love
d325055a00 Remove `emacs' conditional. Include hash table stuff
from trunk.
2002-07-30 11:31:54 +00:00
Dave Love
d7e78a446a Don't redefine P_. 2002-07-30 11:30:32 +00:00
Dave Love
a032b9bd7a Updates for current changes. 2002-07-30 11:29:11 +00:00
Dave Love
0c7d8ed979 (quail-cxterm-package-ext-info): Doc
fix.
2002-07-30 11:27:03 +00:00
Dave Love
4dee6f7a2e comment 2002-07-30 11:25:43 +00:00
Dave Love
a23daf4349 (rfc2047-charset-encoding-alist): Use B for Hebrew.
Doc fix.
2002-07-30 11:24:33 +00:00
Dave Love
eb75e087ad (gnus-read-newsrc-el-file): Don't bind
coding-system-for-read.
(gnus-gnus-to-quick-newsrc-format): Insert coding cookie.
2002-07-30 11:24:20 +00:00
Dave Love
c1da08325f Copyright up-date 2002-07-30 11:24:02 +00:00
Dave Love
d260b2183f (copyright-regexp): Remove redundancy. 2002-07-30 11:23:12 +00:00
Kenichi Handa
e18ef64ac6 (Vchar_script_table): Extern it. 2002-07-26 06:20:47 +00:00
Kenichi Handa
c57f3328cd (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.
2002-07-26 06:20:29 +00:00
Kenichi Handa
56f86f3ae9 *** empty log message *** 2002-07-26 06:18:44 +00:00
Kenichi Handa
002fc10757 *** empty log message *** 2002-07-26 04:08:40 +00:00
Kenichi Handa
8093092d28 (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.
2002-07-26 04:08:30 +00:00
Kenichi Handa
40cbb819fa (x_get_font_repertory): Extern it. 2002-07-26 04:08:13 +00:00
Kenichi Handa
5f652afc46 (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.
2002-07-26 04:07:58 +00:00
Kenichi Handa
af53b43ce3 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.
2002-07-26 04:07:39 +00:00
Kenichi Handa
522b161cd5 (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.
2002-07-26 04:07:18 +00:00
Kenichi Handa
f6218dab9d (XMenuActivate): Adjuted for the change of lookup_derived_face. 2002-07-26 04:07:00 +00:00
Kenichi Handa
957e7394d7 (CHAR_TABLE_REF): Remove unnecessary check (IDX >= 0).
(Fset_fotset_font): Fix arguments to 5.
2002-07-26 04:06:43 +00:00
Kenichi Handa
1d5d720059 (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.
2002-07-26 04:06:25 +00:00
Kenichi Handa
153b4d7b75 (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.
2002-07-26 04:06:05 +00:00
Kenichi Handa
da78062bf9 (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.
2002-07-26 04:05:48 +00:00
Kenichi Handa
eaa3b0e07a (Fmake_char_table): Doc fixed. If PURPOSE doesn't
have property char-table-extra-slots, make no extra slot.
2002-07-26 04:05:29 +00:00
Kenichi Handa
093ff45304 (Fccl_execute_on_string): Add `const' to local variables. 2002-07-26 04:05:16 +00:00
Kenichi Handa
830ff83b50 (Fmake_string): Use ASCII_CHAR_P, not SINGLE_BYTE_CHAR_P. 2002-07-26 04:05:01 +00:00
Kenichi Handa
6fd49f24bf (abbrev.o): Depend on syntax.h.
(xfaces.o): Depend on charset.h.
2002-07-26 04:04:45 +00:00
Kenichi Handa
4e20903029 Don't register ccl-encode-indian-glyph-font
and ccl-encode-unicode-font in font-ccl-encoder-alist.
2002-07-26 04:04:09 +00:00
Kenichi Handa
b827d57197 (print-fontset): Use describe-vector
to handle a char table returned by fontset-info.
2002-07-26 04:03:50 +00:00
Kenichi Handa
c538b063e7 Unify these charses: korean-ksc5601, ipa, tibetan, ethiopic,
japanese-jisx0208, japanese-jisx0212, japanese-jisx0213-1,
japanese-jisx0213-2.
(devanagari-glyph): New charset.
2002-07-26 04:03:27 +00:00
Kenichi Handa
37a94e2f80 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.
2002-07-26 04:03:01 +00:00
Kenichi Handa
9ce5de1c3e Setup char-script-table. 2002-07-26 04:02:41 +00:00
Kenichi Handa
97a0441301 *** empty log message *** 2002-07-25 11:12:30 +00:00
Kenichi Handa
48468dac87 (Ffind_coding_systems_region_internal): Detect an
ASCII only string correctly.
2002-07-25 02:01:39 +00:00
Kenichi Handa
ab2a47e1cc (Fload): Don't load with Qload_force_doc_strings t if
version is 0.
2002-07-25 01:30:27 +00:00
Kenichi Handa
2503aa19cb *** empty log message *** 2002-07-25 01:29:57 +00:00
Kenichi Handa
8792be6679 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.
2002-07-24 10:51:15 +00:00
Kenichi Handa
571407d6e0 *** empty log message *** 2002-07-24 10:50:53 +00:00
Dave Love
8cfdb48d4a *** empty log message *** 2002-07-23 19:07:04 +00:00
Kenichi Handa
c688e5b7a4 (face_before_or_after_it_pos): Call
FETCH_MULTIBYTE_CHAR with byte postion, not char position.
2002-07-23 02:58:07 +00:00
Kenichi Handa
0007299296 *** empty log message *** 2002-07-23 02:57:49 +00:00
Kenichi Handa
970b7474fd (Fmap_charset_chars): Fix handling of default value for FROM_CODE
and TO_CODE.
2002-07-22 12:28:14 +00:00
Kenichi Handa
95d6ca4046 *** empty log message *** 2002-07-22 12:27:56 +00:00
Kenichi Handa
15843e6fa9 (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.
2002-07-22 06:46:17 +00:00
Kenichi Handa
7c78e5423a (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.
2002-07-22 06:40:36 +00:00
Kenichi Handa
39d992af9b (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.
2002-07-22 06:36:50 +00:00
Kenichi Handa
dbbb237db8 (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.
2002-07-22 06:35:00 +00:00
Kenichi Handa
b5c7dbe655 (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.
2002-07-22 06:30:30 +00:00