aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (Fmake_char): Make it more backward compatible.Kenichi Handa2002-05-142-29/+67
|
* *** empty log message ***Dave Love2002-05-131-1/+7
|
* Doc fixes.Dave Love2002-05-131-13/+14
| | | | | (Fdefine_coding_system_alias): Use names, not symbols, in coding-system-alist.
* *** empty log message ***Kenichi Handa2002-05-131-0/+5
|
* (free_realized_fontsets): Call Fclear_face_cache insteadKenichi Handa2002-05-131-0/+8
| | | | of calling free_reazlied_face.
* (coding_set_source): Delete the local variable beg_byte.Kenichi Handa2002-05-102-6/+34
| | | | | | | (encode_coding_charset): Delete the local variable charset. (Fdefine_coding_system_internal): Likewise. (Fdefine_coding_system_internal): Setup attrs[coding_attr_charset_valids] correctly.
* (struct charset): New member `code_space_mask'.Kenichi Handa2002-05-101-1/+12
|
* (load_charset_map): Fix previous change.Kenichi Handa2002-05-101-21/+48
| | | | | | | | | | | | (read_hex): Don't treat SPC as a comment starter. (decode_char): If CODE_POINT_TO_INDEX retruns -1, always return -1. (Fdecode_char): Fix typo. (CODE_POINT_TO_INDEX): Utilize `code_space_mask' member to check if CODE is valid or not. (Fdefine_charset_internal): Initialize `code_space_mask' member. (encode_char): Before calling CODE_POINT_TO_INDEX, check if CODE is within the range of charset->min_code and carset->max_code.
* (coding_inherit_eol_type)Dave Love2002-05-092-1/+15
| | | | | (Fset_terminal_coding_system_internal) (Fset_safe_terminal_coding_system_internal): Fix arg declarations.
* (generate_ascii_font): Fix return type.Dave Love2002-05-091-1/+1
|
* (syntax_temp) [!__GNUC__]: Declare.Dave Love2002-05-091-1/+2
|
* (generate_ascii_font): Fix arg declaration.Dave Love2002-05-091-2/+2
|
* (decode_coding_charset, encode_coding_charset): HandleKenichi Handa2002-05-081-14/+48
| | | | multiple charsets correctly.
* *** empty log message ***Kenichi Handa2002-05-081-0/+5
|
* (boyer_moore): Fix handling of mulitbyte character translation.Kenichi Handa2002-05-071-4/+5
|
* *** empty log message ***Kenichi Handa2002-05-071-69/+72
|
* *** empty log message ***Kenichi Handa2002-05-071-0/+6
|
* (display_mode_element): When the variable `elt' isKenichi Handa2002-05-071-0/+2
| | | | changed, update `this' and `lisp_string'.
* (try_font_list): Give higher priority to fontset'sKenichi Handa2002-05-072-4/+49
| | | | family than face's family.
* (Finsert_file_contents): Set coding_system instead ofKenichi Handa2002-05-071-2/+3
| | | | | val. If the current buffer is multibyte, always call decode_coding_gap.
* (coding_alloc_by_making_gap): Check the case that theKenichi Handa2002-05-071-53/+68
| | | | | | | | | | | | source and destination are the same correctly. (decode_coding_raw_text): Set coding->consumed_char and coding->consumed to 0. (produce_chars): If coding->chars_at_source is nonzero, update coding->consumed_char and coding->consumed before calling alloc_destination. (Fdefine_coding_system_alias): Register ALIAS in Vcoding_system_alist. (syms_of_coding): Define `no-convesion' coding system at the tail.
* (struct charset_map_entries): New struct.Kenichi Handa2002-05-071-91/+185
| | | | | | | | | | | | (load_charset_map): Renamed from parse_charset_map. New args entries and n_entries. Caller changed. (load_charset_map_from_file): Renamed from load_charset_map. Caller changed. New arg control_flag. Call load_charset_map at the tail. (load_charset_map_from_vector): New function. (Fdefine_charset_internal): Setup charset.compact_codes_p. (encode_char): If the charset is compact, change a character index to a code point.
* (Fcall_process): Be sure to give the current bufferKenichi Handa2002-05-071-1/+6
| | | | | to decode_coding_c_string. Update PT and PT_BYTE after the insertion.
* (Fset_buffer_multibyte): Fix 8-bit char handling.Kenichi Handa2002-05-071-1/+2
|
* (display_mode_element): Fix calculation of `bytepos'.Kenichi Handa2002-04-091-1/+1
|
* (Finsert_file_contents): Fix calculation of `inserted'.Kenichi Handa2002-04-091-6/+12
| | | | Fix arguments to insert_from_buffer.
* *** empty log message ***Kenichi Handa2002-04-091-0/+7
|
* (produce_chars): Set the variable `multibytep' correctly.Kenichi Handa2002-03-111-1/+3
| | | | (decode_coding_gap): Set coding->dst_multibyte correctly.
* *** empty log message ***Kenichi Handa2002-03-111-0/+7
|
* *** empty log message ***Kenichi Handa2002-03-081-4/+2
|
* (insert_from_gap): Call record_insert.Kenichi Handa2002-03-081-0/+1
|
* (encode_coding_utf_8): Initialize produced_chars to 0.Kenichi Handa2002-03-081-52/+59
| | | | | | | | | | | (decode_coding_utf_16): Fix converting high and low bytes to code-point. (encode_coding_utf_16): Substitute coding->default_char for non-Unicode characters. (decode_coding): Don't call record_insert here. (setup_coding_system): Initialize `surrogate' of coding->spec.utf_16 to 0. (EMIT_ONE_BYTE): Fix for multibyte case.
* *** empty log message ***Kenichi Handa2002-03-081-0/+16
|
* *** empty log message ***Kenichi Handa2002-03-052-6/+37
|
* (parse_charset_map): Remove an unused variable.Kenichi Handa2002-03-051-2/+6
|
* (SET_RAW_SYNTAX_ENTRY): Don't call make_number.Kenichi Handa2002-03-051-1/+1
|
* (Finsert_file_contents): Set coding_system to QnilKenichi Handa2002-03-051-5/+7
| | | | | earlier. If inserted is zero and the coding system doesn't require flushing, don't call decode_coding_gap.
* * coding.c: Delete unused variables.Kenichi Handa2002-03-051-11/+5
|
* (sub_char_table_set_range): Optimized for the caseKenichi Handa2002-03-051-5/+5
| | | | DEPTH == 3. Add workaround code for a GCC optimization bug.
* (CHAR_VALID_P): Don't call CHARACTERP.Kenichi Handa2002-03-051-54/+59
| | | | | | (CHAR_STRING): Adjusted for the change of char_string_with_unification. (CHAR_STRING_ADVANCE): Make it do-while statement.
* (c_string_width): Add return type `int'.Kenichi Handa2002-03-051-21/+19
| | | | (char_string_with_unification): Arg ADVANCED deleted.
* (casify_region): Fix multibyte case.Kenichi Handa2002-03-051-1/+2
|
* Don't include "charset.h".Kenichi Handa2002-03-011-21/+13
| | | | | (selection_data_to_lisp_data): Adjusted for the new code covnersion API.
* *** empty log message ***Kenichi Handa2002-03-011-0/+4
|
* Include "character.h".Kenichi Handa2002-03-012-64/+67
| | | | | | | | | | | | (x_encode_char): New argument CHARSET. Caller changed. (x_get_char_face_and_encoding): Call ENCODE_CHAR instead of SPLIT_CHAR. (x_get_glyph_face_and_encoding): Likewise. (x_produce_glyphs): Don't check Vnonascii_translation_table Call CHAR_WIDTH instead of CHARSET_WIDTH. (XTread_socket): Adjusted for the new code-conversion API. (x_new_font): Adjusted for the change of FS_LOAD_FONT. (x_load_font): Adjusted for the change of struct font.
* Mostly re-written.Kenichi Handa2002-03-011-564/+421
|
* Include "character.h".Kenichi Handa2002-03-011-30/+12
| | | | (x_encode_text): Adjusted for the new code-conversion API.
* Include "character.h" instead of "charset.h".Kenichi Handa2002-03-011-31/+107
| | | | | | | | | | | | | | | (load_face_font): Adjusted for the change of choose_face_font and FS_LOAD_FONT. (generate_ascii_font): New function. (set_lface_from_font_name): Adjusted for the change of FS_LOAD_FONT. (set_font_frame_param): Adjusted for the change of choose_face_font. (free_realized_face): Make it public. (free_realized_faces_for_fontset): Renamed from free_realized_multibyte_face. Free also faces realized for ASCII. (choose_face_font): Argments changed. Adjusted for the change of fontset_font_pattern and FS_LOAD_FONT.
* Include "character.h".Kenichi Handa2002-03-011-53/+51
| | | | | | | | (get_next_display_element): Adjusted for the new multibyte form. (disp_char_vector): Adjusted for the new char table structure. (decode_mode_spec_coding): Adjusted for the new structure of coding system. (decode_mode_spec): Adjusted for the new code-conversion API.
* (x_new_font): Adjusted for the change of FS_LOAD_FONT.Kenichi Handa2002-03-011-1/+1
|