1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 07:41:28 -08:00
Commit graph

18215 commits

Author SHA1 Message Date
Kenichi Handa
5d6b87e1cc *** empty log message *** 2004-01-25 08:13:15 +00:00
Kenichi Handa
2b917a06a6 (Fdefine_coding_system_internal): Fix previous change. 2004-01-25 07:50:35 +00:00
Kenichi Handa
6e07c25f90 (Fdefine_coding_system_internal): Fix previous change. 2004-01-25 07:44:22 +00:00
Kenichi Handa
404202e746 (enum coding_attr_index): New member coding_attr_trans_tbl.
(CODING_ATTR_TRANS_TBL): New macro.
2004-01-25 07:31:27 +00:00
Kenichi Handa
7d64c6ad61 (get_translation_table): New function.
(translate_chars): Fix the bug of skipping annotation data.
(decode_coding): Utilze get_translation_table.
(encode_coding): Likewise.
(char_encodable_p): Translate char if necessary.
(Funencodable_char_position): Likewise.
(Ffind_coding_systems_region_internal): Setup translation table
for encode in a coding system attribute vector in advance.
(Fcheck_coding_systems_region): Likewise.
(Fdefine_coding_system_internal): Allow a symbol as translation
table.  For shift-jis type coding system, allow 4th charset.
2004-01-25 07:30:47 +00:00
Kenichi Handa
fb68722303 *** empty log message *** 2004-01-24 09:13:35 +00:00
Kenichi Handa
8e921c4b65 (decode_coding_sjis): Check the first byte rigidly. 2004-01-24 09:13:19 +00:00
Kenichi Handa
abf8189e01 *** empty log message *** 2004-01-24 05:01:45 +00:00
Kenichi Handa
069315b7a1 (get_next_display_element): Pass -1 as POS to
FACE_FOR_CHAR if displaying a C-string.
2004-01-24 05:00:26 +00:00
Kenichi Handa
f9756f18fb *** empty log message *** 2004-01-23 08:53:03 +00:00
Kenichi Handa
464f8566d3 (get_composition_id): Handle xoff and yoff in a
composition rule.
2004-01-23 08:49:11 +00:00
Kenichi Handa
28d0edc75d (COMPOSITION_DECODE_RULE): New arg xoff and yoff.
(struct composition): New member lbearing and rbearing.
2004-01-23 08:48:19 +00:00
Kenichi Handa
993651d1a0 (move_it_to): Optimize for the case (op & MOVE_TO_Y).
(x_get_glyph_overhangs): Handle a composition glyph.
(x_produce_glyphs): Setup lbearing and rbreaing for a composition
glyph.
2004-01-23 08:47:18 +00:00
Kenichi Handa
980a8c09cc (x_compute_glyph_string_overhangs): Handle also a
composition glyph.
2004-01-23 08:44:57 +00:00
Kenichi Handa
c80bcdbc47 (print_check_string_charset_prop): Fix previous change. 2004-01-18 23:45:31 +00:00
Kenichi Handa
dedbd91c48 *** empty log message *** 2004-01-18 23:30:38 +00:00
Kenichi Handa
71ea13cb98 Include charset.h.
(Vprint_charset_text_property): New variable.
(Qdefault): Extern it.
(PRINT_STRING_NON_CHARSET_FOUND)
(PRINT_STRING_UNSAFE_CHARSET_FOUND): New macros.
(print_check_string_result): New variable.
(print_check_string_charset_prop): New function.
(print_prune_charset_plist): New variable.
(print_prune_string_charset): New function.
(print_object): Call print_prune_string_charset if
Vprint_charset_text_property is not t.
(print_interval): Print nothing if itnerval->plist is nil.
(syms_of_print): Declare Vprint_charset_text_property as a lisp
variable.  Init and staticpro print_prune_charset_plist.
2004-01-18 23:27:07 +00:00
Kenichi Handa
ec782be397 *** empty log message *** 2004-01-15 12:10:35 +00:00
Kenichi Handa
2ec7fd700a (new_fontset_from_font_name): Use the specified font
for all characters in the new fontset.
2004-01-15 12:10:04 +00:00
Kenichi Handa
1a85d48230 *** empty log message *** 2004-01-15 06:58:31 +00:00
Kenichi Handa
fda2f91bac (x_set_mouse_face_gc): Call FACE_FOR_CHAR with POS and
OBJECT args.
2004-01-15 06:58:07 +00:00
Kenichi Handa
14ee5d4c21 (x_set_mouse_face_gc): Call FACE_FOR_CHAR with POS and OBJECT args. 2004-01-15 06:57:45 +00:00
Kenichi Handa
032ed8010d (x_produce_glyphs): Call FACE_FOR_CHAR with POS and
OBJECT args for composition too.
2004-01-15 06:57:02 +00:00
Kenichi Handa
dc47eccc14 (syms_of_composite): Fix comment. 2004-01-15 02:43:15 +00:00
Kenichi Handa
e852aed25e *** empty log message *** 2004-01-13 01:44:46 +00:00
Kenichi Handa
e3c7c6a56d (x_set_mouse_face_gc): Call FACE_FOR_CHAR with POS and OBJECT args. 2004-01-13 01:43:38 +00:00
Kenichi Handa
779c6fb661 (compute_char_face): Call FACE_FOR_CHAR with POS and OBJECT args. 2004-01-13 01:43:00 +00:00
Kenichi Handa
f46a4dc1a5 (face_before_or_after_it_pos): Call FACE_FOR_CHAR with
POS and OBJECT args.
(get_next_display_element): Likewise.
(append_space): Likewise.
(extend_face_to_end_of_line): Likewise.
(get_char_face_and_encoding): Likewise.
(BUILD_COMPOSITE_GLYPH_STRING): Likewise.
(x_produce_glyphs): Likewise.
2004-01-13 01:40:47 +00:00
Kenichi Handa
6bad800726 (reorder_font_vector): Adjusted for the change of
FONT_DEF format.
(fontset_face): New arg id.  Caller changed.
(face_for_char): New args pos and object.
(make_fontset_for_ascii_face): Adjusted for the change of FONT_DEF
format.n
(fs_query_fontset): Check NAME by Fassoc too.
(Fset_fontset_font): Allow non-XLFD font name.
(Ffontset_info): Adjusted for the change of FONT_DEF format.
2004-01-13 01:38:53 +00:00
Kenichi Handa
695871dbe7 (face_for_char): Prototype adjusted. 2004-01-13 01:35:47 +00:00
Kenichi Handa
83a90904ea (FACE_FOR_CHAR): New args POS and OBJECT. 2004-01-13 01:34:56 +00:00
Jason Rumney
add3da7bcb *** empty log message *** 2004-01-03 17:38:03 +00:00
Kenichi Handa
142077aa79 *** empty log message *** 2003-12-30 01:00:13 +00:00
Kenichi Handa
c43e85a985 *** empty log message *** 2003-12-29 07:57:38 +00:00
Kenichi Handa
3b0fab0e78 (handle_auto_composed_prop): Fix setting of limit. 2003-12-29 07:57:00 +00:00
Kenichi Handa
e410666744 *** empty log message *** 2003-12-29 07:53:55 +00:00
Kenichi Handa
e08bbb8433 (send_process): Be sure to set coding->src_multibyte. 2003-12-29 07:53:43 +00:00
Kenichi Handa
13ac3ac9f9 (CHARACTERBITS): Define as 22. 2003-12-29 07:53:29 +00:00
Kenichi Handa
4ab09de26b (set_fontset_font): Fix args. 2003-12-29 07:53:13 +00:00
Kenichi Handa
065e359516 (Qinsufficient_source, Qinconsistent_eol)
(Qinvalid_source, Qinterrupted, Qinsufficient_memory): New
variables.
(Vlast_code_conversion_error): New variables.
(syms_of_coding): DEFSYM or DEFVAR_LISP them.
(ONE_MORE_BYTE): Record error if any instead of signaling an
error.  If non-ASCII multibyte char is found, return the negative
value of the code.  All callers changed to check it.
(ONE_MORE_BYTE_NO_CHECK): Likewise.
(record_conversion_result): New function.  All codes setting
coding->result are changed to call this function.
(detect_coding_utf_8): Don't use the local variable incomplete.
(decode_coding_utf_8): Likewise.
(emacs_mule_char): Change the second arg to `const'.
(detect_coding_emacs_mule): Don't use the local variable
incomplete.
(detect_coding_sjis): Likewise.
(detect_coding_big5): Likewise.
(decode_coding): Fix of flushing out unprocessed data.
(make_conversion_work_buffer): Fix making of a work buffer.
(decode_coding_object): Return coding->dst_object;
2003-12-29 07:52:49 +00:00
Kenichi Handa
63e1147869 (enum coding_result_code): Delete
CODING_RESULT_INSUFFICIENT_CMP, add CODING_RESULT_INVALID_SRC.
2003-12-29 07:52:30 +00:00
Kenichi Handa
bc85ac782e (map_sub_char_table_for_charset): Fix args to c_function with. 2003-12-29 07:52:13 +00:00
Kenichi Handa
5af5dd920e (charset_table_used): Make it static.
(map_charset_chars): Fix args to c_function with.
2003-12-29 07:51:57 +00:00
Kenichi Handa
0321663c42 (charset_table_used): Delete extern. 2003-12-29 07:51:39 +00:00
Kenichi Handa
99e293b5b2 (Fccl_execute_on_string): Fix the condition of loop. 2003-12-29 07:51:22 +00:00
Kenichi Handa
7453364c3a *** empty log message *** 2003-12-02 06:57:35 +00:00
Kenichi Handa
d8c9fb8826 (detect_coding): Fix previous change.
(detect_coding_system): Likewise.
2003-12-02 06:57:17 +00:00
Kenichi Handa
b19bff0c0d *** empty log message *** 2003-12-02 05:04:08 +00:00
Kenichi Handa
c0c99152f4 (handle_auto_composed_prop): Give limit to
Fnext_single_char_property_change.
2003-12-02 04:40:49 +00:00
Kenichi Handa
9541b9ed1a *** empty log message *** 2003-12-02 01:55:21 +00:00