1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-30 00:51:50 -08:00
Commit graph

18201 commits

Author SHA1 Message Date
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
Kenichi Handa
6a83ee8a4a (syms_of_composite): Don't make the compostion hash table week. 2003-12-02 01:55:06 +00:00
Kenichi Handa
e6baeb7650 *** empty log message *** 2003-12-02 01:47:37 +00:00
Kenichi Handa
95318a38d5 (Fset_fontset_font): Fix docstring. 2003-12-02 01:47:02 +00:00
Kenichi Handa
bedadd048e (detect_coding_system): Adjust prototype. 2003-12-02 01:45:59 +00:00
Kenichi Handa
5b359650ab (kill_workbuf_unwind): Delete this function.
(Finsert_file_contents): Adjust the call of detect_coding_system.
Get conversion_buffer by code_conversion_save.  Use the macor
CODING_MAY_REQUIRE_DECODING.  After decoding, update
coding_system.
2003-12-02 01:45:13 +00:00
Kenichi Handa
16869d7e2e (make_conversion_work_buffer): Delete extern.
(code_conversion_save): Extern it.
2003-12-02 01:42:47 +00:00
Kenichi Handa
24a73b0a86 (enum iso_code_class_type): Delete ISO_carriage_return.
(CODING_GET_INFO): Delete argument eol_type.  Callers changed.
(decode_coding_utf_8): Don't do eol converion.
(detect_coding_utf_16): Check coding->src_chars, not
coding->src_bytes.  Add heuristics for those that have no
signature.
(decode_coding_emacs_mule): Don't do eol converion.
(decode_coding_iso_2022): Likewise.
(decode_coding_sjis): Likewise.
(decode_coding_big5): Likewise.
(decode_coding_charset): Likewise.
(adjust_coding_eol_type): Return a new coding system.
(detect_coding): Don't detect eol.  Fix for utf-16 detection.
(decode_eol): In case of CRLF->LF conversion, use del_range_2 on
each change.
(decode_coding): Pay attention to undo_list.  Do eol convesion for
all types of coding-systems (if necessary).
(Vcode_conversion_work_buf_list): Delete it.
(Vcode_conversion_reused_workbuf): Renamed from
Vcode_conversion_reused_work_buf.
(Vcode_conversion_workbuf_name): New variable.
(reused_workbuf_in_use): New variable.
(make_conversion_work_buffer): Delete the arg DEPTH.
(code_conversion_restore): Argument changed to cons.
(code_conversion_save): Delete the argument BUFFER.  Callers
changed.
(detect_coding_system): New argument src_chars.  Callers changed.
Fix for utf-16 detection.
(init_coding_once): Don't use ISO_carriage_return.
(syms_of_coding): Initialized Vcode_conversion_workbuf_name and
reused_workbuf_in_use.
2003-12-02 01:40:27 +00:00
Kenichi Handa
7ad96d50fc *** empty log message *** 2003-11-24 02:46:35 +00:00
Kenichi Handa
afc9166aa3 (store_in_keymap): Pay attention to the case that idx is a cons
specifying a character range.
2003-11-24 02:46:11 +00:00
Kenichi Handa
9ecf9e75e0 *** empty log message *** 2003-11-24 02:22:09 +00:00
Kenichi Handa
5c99c2e685 (Fdefine_coding_system_internal): Fix previous change. 2003-11-24 02:21:55 +00:00
Kenichi Handa
a36634571d *** empty log message *** 2003-11-23 07:34:14 +00:00
Kenichi Handa
394c6e0e94 (handle_auto_composed_prop): Fix the case of returning
HANDLED_RECOMPUTE_PROPS.
2003-11-23 07:32:11 +00:00
Kenichi Handa
e536eeedde *** empty log message *** 2003-11-23 02:17:43 +00:00