aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Checkpoint changes. Bug fixes, mostly.Paul D. Smith1998-10-031-1/+1
|
* (adjust_after_replace): Don't delete text properties here.Kenichi Handa1998-09-281-4/+0
|
* (check_composing_code): Fix previous change. Now itKenichi Handa1998-09-281-82/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | alwasy returns 0 or -1. (decode_coding_iso2022): Adjusted for the above change. (encode_coding_iso2022): When encoding the last block, flush out tailing garbage bytes. (setup_coding_system): Delete unnecessary code. (shrink_decoding_region): Check translation table. If ASCII should be translated, give up shrinking. (shrink_encoding_region): Likewise. (SHRINK_CONVERSION_REGION_THRESHHOLD): New macro. (SHRINK_CONVERSION_REGION): New macro. (code_convert_region): Call SHRINK_CONVERSION_REGION. Delete text properties here. (code_convert_region): In the case of encoding, always calulate correct character number. (code_convert_string): Call SHRINK_CONVERSION_REGION. (code_convert_region1): Don't delete text properties here. (check_composing_code): Fix previous change. Now it alwasy returns 0 or -1. (decode_coding_iso2022): Adjusted for the above change. (encode_coding_iso2022): When encoding the last block, flush out tailing garbage bytes. (setup_coding_system): Delete unnecessary code. (shrink_decoding_region): Check translation table. If ASCII should be translated, give up shrinking. (shrink_encoding_region): Likewise. (SHRINK_CONVERSION_REGION_THRESHHOLD): New macro. (SHRINK_CONVERSION_REGION): New macro. (code_convert_region): Call SHRINK_CONVERSION_REGION. Delete text properties here. (code_convert_region): In the case of encoding, always calulate correct character number. (code_convert_string): Call SHRINK_CONVERSION_REGION. (code_convert_region1): Don't delete text properties here.
* (encode_terminal_code): Handle raw 8-bit codes correctly.Kenichi Handa1998-09-281-6/+12
|
* Treat __GNU__ line NeXT: undefine BSD and FSCALE.Richard M. Stallman1998-09-271-2/+8
|
* (NLIST_STRUCT, KERNEL_FILE, LDAV_SYMBOL): Add #undefs.Richard M. Stallman1998-09-271-0/+3
|
* (sort_args): Fill extra space with NULL ptrs.Richard M. Stallman1998-09-271-0/+4
|
* (Fformat): Check format control characters.Kenichi Handa1998-09-261-0/+5
|
* (check_composing_code): If the current composingKenichi Handa1998-09-261-41/+82
| | | | | | | | | | sequence doesn't end properly, return -1. (DECODE_CHARACTER_ASCII): Update coding->composed_chars. (DECODE_CHARACTER_DIMENSION1): Likewise. (decode_coding_iso2022): Check validity of a composing sequence. (code_convert_string): If the length of text to be converted is shrunk to zero, don't perform code conversion. (shrink_decoding_region): Fix previous change.
* (struct coding_system): New member composed_chars.Kenichi Handa1998-09-261-0/+3
|
* (underlying_strftime):Paul Eggert1998-09-251-1/+2
| | | | | | | | | Set the buffer to a nonzero value before calling strftime, and check to see whether strftime has set the buffer to zero. This lets us distinguish between an empty buffer and an error. I'm installing this patch by hand now; it will be superseded whenever the glibc sources are propagated back to fsf.org.
* (decode_eol): While decoding DOS-like eol, handle aKenichi Handa1998-09-251-7/+23
| | | | | | single CR code correctly. (shrink_decoding_region) <CODING_CATEGORY_IDX_ISO_7 or CODING_CATEGORY_IDX_ISO_7_TIGHT>: Skip also 8-bit codes.
* (w32_color_map_lookup): New function.Geoff Voelker1998-09-241-13/+48
| | | | (x_to_w32_color): Approximate colors ending in numbers if necessary.
* (ccl_driver): Report correct CCL program counter on error.Kenichi Handa1998-09-221-1/+4
|
* (single_submenu) [! HAVE_MULTILINGUAL_MENU]: MakeKenichi Handa1998-09-221-1/+25
| | | | | strings unibyte. (xmenu_show) [! HAVE_MULTILINGUAL_MENU]: Likewise.
* (Fcall_interactively): Don't use input method whenKenichi Handa1998-09-221-2/+2
| | | | reading a character in the case of `c' code letter.
* (Fsave_restriction): Doc fix.Dave Love1998-09-211-0/+1
|
* (build_load_history): Do add to Vload_historyKarl Heuer1998-09-211-4/+0
| | | | even when dumping Emacs.
* (CCL_WRITE_CHAR): Don't use bcopy.Kenichi Handa1998-09-181-7/+13
| | | | | | | (ccl_driver): If BUFFER-MAGNIFICATION of the CCL program is 0, cause error if the program is going to output some bytes. When outputing a string to notify an error, check the case that DST_BYTES is zero.
* (ccl_coding_driver): If ccl_driver is interrupted by aKenichi Handa1998-09-181-0/+23
| | | | | | | user or the CCL program executed an invalid command, return CODING_FINISH_INTERRUPT. (code_convert_region): Pay attention to the converters return value CODING_FINISH_NORMAL and CODING_FINISH_INTERRUPT.
* (CODING_FINISH_INTERRUPT): New macro.Kenichi Handa1998-09-181-0/+1
|
* (adjust_markers_for_replace): Don't adjust a byteKenichi Handa1998-09-161-28/+59
| | | | | | | | | | | | | position if it is FROM. (adjust_markers_for_combining): New function. (combine_bytes): Call adjust_markers_for_combining instead of adjust_markers_for_replace. (adjust_after_replace): Record deletion of combining after bytes with the correct position. Don't add combining bytes to the args given to adjust_point. Handle correctly the case that there are both before and after combining bytes. (replace_range): Likewise. Record the actual deletion after recoding deletions of combining bytes.
* (code_convert_region): Update beg_unchanged andKenichi Handa1998-09-161-5/+5
| | | | end_unchanged after we delete the source text.
* (message_log_check_duplicate): Count byte length of theKenichi Handa1998-09-161-1/+1
| | | | latest message correctly.
* (Fmake_local_variable): Doc fix.Karl Heuer1998-09-131-1/+6
|
* (redisplay_internal): Use TEMP_SET_PT_BOTHKarl Heuer1998-09-131-9/+9
| | | | | instead of SET_PT_BOTH. (try_window_id, display_text_line): Likewise.
* (Fwith_output_to_temp_buffer): Doc fix.Dave Love1998-09-101-1/+4
|
* (TIOCSIGSEND): Add #undef.Karl Heuer1998-09-101-0/+8
| | | | (bcopy, bcmp, bzero): Add #undef.
* (main): Mention --display and --eval in help.Karl Heuer1998-09-101-3/+4
|
* (command_loop_1): When switching to selected window's bfr,Karl Heuer1998-09-101-2/+13
| | | | | first exit if selected frame is dead (no live frames remain). (read_key_sequence): Likewise.
* Add a comment to emacs_memftime, explaining why it needs to loop.Paul Eggert1998-09-091-0/+5
|
* (emacs_memftime): New function.Paul Eggert1998-09-081-3/+53
| | | | | (Fformat_time_string): Use it to handle null bytes in formats correctly.
* (adjust_after_replace): Don't add combining bytes toKenichi Handa1998-09-081-12/+17
| | | | | | the args given to adjust_point. Handle correctly the case that there are both before and after combining bytes. (replace_range): Likewise.
* (Fsubst_char_in_region): Call replace_range with theKenichi Handa1998-09-081-1/+1
| | | | arg MARKERS 1.
* (Ffind_charset_region): Optimization for unibyte buffer.Kenichi Handa1998-09-081-1/+8
| | | | (Ffind_charset_string): For unibyte string, return (ascii).
* (base64_decode_1, base64_encode_1): New functions.Karl Heuer1998-09-071-0/+376
| | | | | (Fbase64_decode_string, Fbase64_encode_string): New functions. (Fbase64_decode_region, Fbase64_encode_region): New functions.
* (Fwidget_put): Return VALUE instead of garbage.Karl Heuer1998-09-071-0/+1
|
* (error): After enlarging buffer, write to it, not to buf.Karl Heuer1998-09-071-2/+2
|
* (count_combining_after): Check also preceding bytes atKenichi Handa1998-09-071-2/+14
| | | | POS if all characters in STRING are not character head.
* (STRING_CHAR_AND_LENGTH): Return correct value inKenichi Handa1998-09-071-5/+3
| | | | | | ACTUAL_LEN even if LEN is too short to have a valid multibyte form. (STRING_CHAR_AND_CHAR_LENGTH): Likewise.
* (ccl_coding_driver): Always calculate correct mulibyteKenichi Handa1998-09-071-13/+6
| | | | | chars in produced byte sequence. (Ffind_operation_coding_system): Doc-string fixed.
* (Fformat_time_string, Fdecode_time, Fcurrent_time_zone):Paul Eggert1998-09-061-13/+15
| | | | Don't assume that localtime and gmtime return non-NULL.
* (Fformat): Detect incomplete format spec at string's end.Karl Heuer1998-09-061-1/+3
|
* (Fload): Handle case where openp finds a magic fileKarl Heuer1998-09-061-6/+17
| | | | | but it has no `load' handler or that handler calls `load'. If FOUND != FILE, find FOUND's handler even if inhibited for FILE.
* (enable-multibyte-characters): Doc fix.Dave Love1998-09-041-3/+3
|
* (allocate_heap): Define NTHEAP_PROBE_BASE by default.Geoff Voelker1998-09-021-1/+2
|
* (Ftranspose_regions): Use BYTE_POS_ADDR to get anKenichi Handa1998-09-021-10/+10
| | | | address in buffer from byte-position.
* (Vnext_selection_coding_system): New variable.Eli Zaretskii1998-09-011-6/+28
| | | | | | | | | | (syms_of_win16select): DEFVAR_LISP it. No need to staticpro Vselection_coding_system. (Fw16_set_clipboard_data): Always convert multibyte strings. Use Vnext_selection_coding_system if non-nil. (Fw16_get_clipboard_data): Always convert a string that includes non-ASCII characters. Use Vnext_selection_coding_system if non-nil.
* (x_load_font): If SIZE is 0, don't use a name x_list_font returns.Kenichi Handa1998-09-011-1/+1
|
* (w32_wnd_proc): Always zero button_state when releasingGeoff Voelker1998-09-011-1/+1
| | | | mouse capture.