aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (read1): While reading a string, set force_singlebyteKenichi Handa2003-05-301-0/+4
| | | | and force_multibyte correctly.
* (Fset_unibyte_charset): Fix setting up ofKenichi Handa2003-05-301-2/+4
| | | | | unibyte_to_multibyte_table. (init_charset_once): Likewise.
* (Finsert_file_contents): Even if we read into aKenichi Handa2003-05-292-2/+4
| | | | unibyte buffer, check if we must decode the result or not.
* (setup_coding_system): If coding hasKenichi Handa2003-05-291-1/+23
| | | | | | | post-read-conversion or pre-write-conversion, set CODING_REQUIRE_DECODING_MASK and CODING_REQUIRE_ENCODING_MASK respectively. (decode_coding_gap): Run post-read-conversion if any.
* *** empty log message ***Kenichi Handa2003-05-291-0/+8
|
* (make_conversion_work_buffer): Change the work bufferKenichi Handa2003-05-291-3/+3
| | | | name to the same one as that of Emacs 21.
* *** empty log message ***Kenichi Handa2003-05-291-0/+5
|
* (detected_mask): Delete unused variable.Kenichi Handa2003-05-282-77/+223
| | | | | | | | | | | | | | | | | | | (decode_coding_iso_2022): Pay attention to the byte sequence of CTEXT extended segment, and retain those bytes as is. (decode_coding_ccl): Delete unused variable `valids'. (setup_coding_system): Delete unused variable `category'. (consume_chars): Delete unused variable `category'. Make it work for non-multibyte case. (make_conversion_work_buffer): Argument changed. (saved_coding): Delete unused variable. (code_conversion_restore): Don't check saved_coding->destination. (code_conversion_save): New function. (decode_coding_gap, encode_coding_gap): Call code_conversion_save instead of record_unwind_protect. (decode_coding_object, encode_coding_object): Likewise. Recover PT. (detect_coding_system): Delete unused variable `mask'. (Fdefine_coding_system_internal): Delete unsed vaiable id;
* (make_conversion_work_buffer): Prototype adjusted.Kenichi Handa2003-05-281-2/+1
| | | | (code_conversion_restore): Don't extern it.
* (kill_workbuf_unwind): New function.Kenichi Handa2003-05-281-3/+15
| | | | | | (Finsert_file_contents): On replacing, call make_conversion_work_buffer with correct args, and call record_unwind_protect with the first arg kill_workbuf_unwind.
* (Fgenerate_new_buffer_name): EXFUN it.Kenichi Handa2003-05-281-0/+1
|
* *** empty log message ***Kenichi Handa2003-05-201-0/+12
|
* (Fdefine_coding_system_internal): Fix for the case thatKenichi Handa2003-05-201-1/+16
| | | | coding_type is Qcharset.
* (BASE_FONTSET_P): Check FONTSET_BASE, notKenichi Handa2003-05-201-4/+30
| | | | | | | | FONTSET_NAME. (fontset_add): Fix for the case that TO is less than TO1. (Ffontset_info): Don't use fallback fontset on checking the default fontset. (dump_fontset): New function for debugging.
* *** empty log message ***Kenichi Handa2003-05-062-1/+7
|
* (map_sub_char_table): New argument DEFAULT_VAL.Kenichi Handa2003-05-061-32/+56
| | | | | (map_char_table): Don't inherit the value from the parent on initializing VAL. Adjusted for the above change.
* *** empty log message ***Kenichi Handa2003-05-061-0/+19
|
* (Qsignature, Qendian): Delete these variables.Kenichi Handa2003-05-061-35/+51
| | | | | | | | | | | | | | | | | | (syms_of_coding): Don't initialize them. (CATEGORY_MASK_UTF_16_AUTO): New macro. (detect_coding_utf_16): Add CATEGORY_MASK_UTF_16_AUTO in detect_info->found. (decode_coding_utf_16): Don't detect BOM here. (encode_coding_utf_16): Produce BOM if CODING_UTF_16_BOM (coding) is NOT utf_16_without_bom. (setup_coding_system): For a coding system of type utf-16, check if the attribute :endian is Qbig or not (not nil or not), and set CODING_REQUIRE_DETECTION_MASK if BOM detection is required. (detect_coding): If coding type is utf-16 and BOM detection is required, detect it. (Fdefine_coding_system_internal): For a coding system of type utf-16, check if the attribute :endian is Qbig or not (not nil or not).
* *** empty log message ***Kenichi Handa2003-05-061-2/+9
|
* (coding_set_source): Fix for the case that the currentKenichi Handa2003-05-061-13/+8
| | | | | | buffer is different from coding->src_object. (decode_coding_object): Don't use the conversion work buffer if DST_OBJECT is a buffer.
* Fix last change.Dave Love2003-05-041-1/+1
|
* *** empty log message ***Dave Love2003-05-041-0/+14
|
* (read_emacs_mule_char) [len==2]: IndexDave Love2003-05-041-1/+1
| | | | emacs_mule_charset correctly.
* (Vface_font_rescale_alist): Renamed fromKenichi Handa2003-04-092-37/+61
| | | | | | | | | | | | Vface_resizing_fonts. (struct font_name): Rename member resizing_ratio to rescale_ratio. (font_rescale_ratio): Renamed from font_resizing_ratio. (split_font_name): Set font->rescale_ratio. (better_font_p): Pay attention to font->rescale_ratio. (build_scalable_font_name): Likewise. Change RESX, and RESY fields. (syms_of_xfaces): Declare Vface_font_rescale_alist as a Lisp variable.
* (Qutf_16_be_nosig, Qutf_16_be, Qutf_16_le_nosig)Kenichi Handa2003-03-281-10/+5
| | | | | | | (Qutf_16_le): Remove these variables. (syms_of_coding): Don't DEFSYM them. (decode_coding_utf_16): Fix handling of BOM. (encode_coding_utf_16): Fix handling of BOM.
* *** empty log message ***Kenichi Handa2003-03-141-0/+6
|
* (Finsert_file_contents): On replacing, before decoding the file intoKenichi Handa2003-03-141-1/+5
| | | | the work buffer, set point of the work buffer to the end.
* *** empty log message ***Dave Love2003-02-131-0/+4
|
* (Fcheck_coding_systems_region): Fix type errors.Dave Love2003-02-131-13/+13
|
* *** empty log message ***Dave Love2003-02-041-0/+5
|
* (XTread_socket): Check Lisp types for Vx_keysym_tableDave Love2003-02-041-5/+6
| | | | and fix C types.
* (SKIP_GLYPHS): New macro.Kenichi Handa2003-01-312-3/+96
| | | | (set_cursor_from_row): Pay attention to string display properties.
* (copy_category_entry): Fix for the case that RANGE is an integer.Kenichi Handa2003-01-311-2/+6
|
* (x_encode_char): Call ccl_driver with the last arg Qnil.Kenichi Handa2003-01-311-1/+1
|
* (w32_encode_char): Call ccl_driver with the last arg Qnil.Kenichi Handa2003-01-311-1/+1
|
* *** empty log message ***Kenichi Handa2003-01-301-0/+3
|
* (Fcharset_id_internal): New function.Kenichi Handa2003-01-301-0/+15
| | | | (syms_of_charset): Defsubr it.
* (decode_coding_ccl, encode_coding_ccl): Call ccl_driverKenichi Handa2003-01-302-7/+40
| | | | | | with the last arg charset_list acquired from coding. (Fdefine_coding_system_internal): For ccl-based coding system, fix the attribute coding_attr_ccl_valids.
* (enum define_coding_ccl_arg_index): Set the firstKenichi Handa2003-01-301-1/+1
| | | | member coding_arg_ccl_decoder to coding_arg_max.
* (ccl_driver): Prototype adjusted.Kenichi Handa2003-01-301-1/+2
|
* (CCL_DECODE_CHAR, CCL_ENCODE_CHAR): New macros.Kenichi Handa2003-01-301-22/+42
| | | | | | | (ccl_driver): New arg CHARSET_LIST. Use the above macros instead of DECODE_CAHR, ENCODE_CHAR, CHAR_CHARSET. (Fccl_execute): Call ccl_driver with the last arg Qnil. (Fccl_execute_on_string): Likewise.
* (ENCODE_CHAR): If the method is SUBSET or SUPERSET, call encode_char.Kenichi Handa2003-01-112-1/+9
|
* (encode_char): Fix handling of methods SUBSET and SUPERSET.Kenichi Handa2003-01-111-4/+4
|
* *** empty log message ***Kenichi Handa2003-01-111-0/+4
|
* (x_new_fontset): Fix previous change.Kenichi Handa2003-01-111-1/+0
|
* (syms_of_composite): Make composition_hash_tableDave Love2003-01-102-11/+16
| | | | weak.
* *** empty log message ***Kenichi Handa2003-01-101-0/+52
|
* (x_new_fontset): Prototype adjusted.Kenichi Handa2003-01-101-1/+1
|
* (x_new_fontset): Change the arg FONTSETNAME to LispKenichi Handa2003-01-101-14/+5
| | | | | string. Use new_fontset_from_font_name to create a fontset from a font name.
* (x_set_font, x_create_tip_frame): Adjusted to the changeKenichi Handa2003-01-101-26/+37
| | | | | | of x_new_fontset. (Fx_create_frame): Don't call x_new_fontset here. Just use x_list_fonts to check the existence of fonts.