summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* *** empty log message ***old-branches/emacs-unicodeKenichi Handa2003-09-08130-1915/+181018
|
* (decode_coding_sjis): Check bytes more rigidly.Kenichi Handa2003-07-091-1/+3
|
* *** empty log message ***Kenichi Handa2003-07-091-1/+5
|
* (choose_write_coding_system): Return a decided coding system.Kenichi Handa2003-06-262-8/+19
| | | | | (Fwrite_region): Set Vlast_coding_system_used to the return value of choose_write_coding_system.
* (utf-7-decode, utf-7-encode): Use utf-16be, not utf-16-be.Kenichi Handa2003-06-222-2/+13
|
* (utf-16-be): Make it an alias of utf-16be-with-signature.Kenichi Handa2003-06-221-9/+8
| | | | | | (utf-16-le): Make it an alias of utf-16be-with-signature. (utf-16-be-with-signature, utf-16-le-with-signature): Remove these coding system aliases.
* (coding-system-category): New function.Kenichi Handa2003-06-101-0/+4
|
* *** empty log message ***Kenichi Handa2003-06-062-2/+10
|
* (universal-coding-system-argument):Kenichi Handa2003-06-061-44/+47
| | | | | | | | Check the coding system type `undecided', not `t'. (sort-coding-systems): Fix for iso-2022 coding systems. (find-multibyte-characters): Fix for eight-bit chars. (set-language-environment): Set charset priorities according to the charsets supported by the coding systems of higher priorities.
* (Fset_charset_priority): Pay attention to dumplicated arguments.Kenichi Handa2003-06-061-3/+7
|
* *** empty log message ***Kenichi Handa2003-06-061-0/+3
|
* * coding.c (QCcategory): New variable.Kenichi Handa2003-06-062-0/+15
| | | | | | | | (syms_of_coding): Defsym it. Set all elements of Vcoding_category_table and their symbol values. (Fset_coding_system_priority): Doc fix. Update symbol qvalues of coding-category-XXX, and coding-category-list. (Fdefine_coding_system_internal): Add category in the plist.
* (Fset_coding_system_priority): Doc fix. Update valuesKenichi Handa2003-06-051-1/+20
| | | | | | of codng-category-XXX, and coding-category-list. (syms_of_coding): Set all elements of Vcoding_category_table and their symbol values.
* (set-coding-priority): Re-written.Kenichi Handa2003-06-052-59/+32
| | | | (make-translation-table): Re-written.
* (font-lock-match-c-style-declaration-item-and-skip-to-next):Kenichi Handa2003-06-051-1/+2
| | | | Check (match-end 2) before goto there.
* *** empty log message ***Kenichi Handa2003-06-052-0/+15
|
* (decode_coding_iso_2022): Fix handling of invalidKenichi Handa2003-06-051-6/+12
| | | | | | | | bytes. (raw_text_coding_system): Check NILP (coding_system). (coding_inherit_eol_type): Check NILP (coding_system) and NILP (parent). (consume_chars): Fix for the case of raw-text.
* (Fcall_process): Handle carryover correctly.Kenichi Handa2003-06-051-4/+3
|
* (read_process_output): Handle carryover correctly.Kenichi Handa2003-06-052-9/+17
|
* (re_search_2): Fix last change.Dave Love2003-06-022-1/+5
|
* *** empty log message ***Kenichi Handa2003-05-302-0/+62
|
* (GET_CHAR_BEFORE_2): Check multibyte, notKenichi Handa2003-05-301-263/+227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | target_multibyte. Even in a unibyte case, return a converted multibyte char. (GET_CHAR_AFTER): New macro. (PATFETCH): Translate via multibyte char. (HANDLE_UNIBYTE_RANGE): Delete this macro. (SETUP_MULTIBYTE_RANGE): New macro. (regex_compile): Setup compiled code so that its multibyteness matches that of a target. Fix the handling of "[X-YZ]" using SETUP_MULTIBYTE_RANGE. (analyse_first) <charset>: For filling fastmap for all multibyte characters, don't check by BASE_LEADING_CODE_P. (re_search_2): Don't check RE_TARGET_MULTIBYTE_P (bufp). It is the same as RE_MULTIBYTE_P (bufp) now. (mutually_exclusive_p): Check by (! multibyte || IS_REAL_ASCII (c)). (TARGET_CHAR_AND_LENGTH): Delete this macro. (TRANSLATE_VIA_MULTIBYTE): New macro. (re_match_2_internal): Don't check RE_TARGET_MULTIBYTE_P (bufp). It is the same as RE_MULTIBYTE_P (bufp) now. <exactn>: Translate via multibyte. <anychar>: Fetch a character by RE_STRING_CHAR_AND_LENGTH. Don't translate it. <charset, charset_not>: Fetch a character by RE_STRING_CHAR_AND_LENGTH. Translate via multibyte. <duplicate>: Call bcmp_translate with the last arg `multibyte'. <wordbound, notwordbound, wordbeg, wordend, syntaxspec, notsyntaxspec, categoryspec, notcategoryspec> Fetch a character by GET_CHAR_AFTER. (bcmp_translate): Likewise.
* (compile_pattern): Check the member target_multibyte,Kenichi Handa2003-05-301-2/+2
| | | | not the member multibyte of buf.
* (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.
* (ctext-non-standard-designations-alist):Kenichi Handa2003-05-301-54/+64
| | | | | | | Exclude entries for iso8859-1[03456]. Fix docstring. (ctext-pre-write-conversion): Make it work for the case that FROM is a string. Don't do unnecessary save-restriction and narrow-to-region.
* (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
|
* (ctext-non-standard-encodings-alist):Kenichi Handa2003-05-281-139/+106
| | | | | | | | | | Renamed from non-standard-icccm-encodings-alist. (ctext-non-standard-encodings-regexp): New variable (ctext-post-read-conversion): Full rewrite. (ctext-non-standard-designations-alist): Renamed from non-standard-designations-alist. (ctext-pre-write-conversion): Full rewrite. (define-coding-system): Doc fix (escape '"' by '\').
* (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
|
* (define-coding-system): Doc fix.Dave Love2003-05-232-3/+17
|
* (utf-16le, utf-16be-16be)Dave Love2003-05-231-5/+17
| | | | | | (utf-16le-with-signature, utf-16be-with-signature, utf-16): Define :mime-text-unsuitable. `utf-16{b,l}e...' renamed from `-16-{b,l}e-' and aliases defined for the old names.
* Fix previous change.Kenichi Handa2003-05-201-1/+3
|
* *** empty log message ***Kenichi Handa2003-05-204-116/+26
|
* Remade.Kenichi Handa2003-05-202-103/+198
|
* Fix previous change.Kenichi Handa2003-05-201-1/+1
|
* Make it work for the map file included int glibc.Kenichi Handa2003-05-202-99/+82
|
* (MAPS): Change gb18030.map to gb18030-2.mapKenichi Handa2003-05-201-5/+9
| | | | | | and gb18030-4.map. (gb18030.map): Delete this target. (gb18030-2.map, gb18030-4.map): New targets.
* (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 ***Dave Love2003-05-082-0/+149
|
* (utf-7): New.Dave Love2003-05-081-0/+11
|
* *** 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.