Mercurial > emacs
comparison src/ChangeLog @ 30830:8395ff348b8e
*** empty log message ***
| author | Kenichi Handa <handa@m17n.org> |
|---|---|
| date | Wed, 16 Aug 2000 01:36:13 +0000 |
| parents | 7087bbfb6e30 |
| children | 3e3ae9ba5169 |
comparison
equal
deleted
inserted
replaced
| 30829:a83791be7166 | 30830:8395ff348b8e |
|---|---|
| 1 2000-08-16 Kenichi Handa <handa@etl.go.jp> | |
| 2 | |
| 3 The following changes are mainly to fix bugs of | |
| 4 encode/decode-coding-string failing if encoding/decoding return | |
| 5 CODING_FINISH_INSUFFICIENT_DST. In addition, delete the global | |
| 6 variable conversion_buffer. | |
| 7 | |
| 8 * ccl.c (CCL_WRITE_CHAR): If CH is eight-bit-control char, | |
| 9 decrement dst_end to avoid buffer overflow in the later call of | |
| 10 string_as_multibyte | |
| 11 | |
| 12 * coding.h (conversion_buffer_size, conversion_buffer) | |
| 13 (get_conversion_buffer): Extern deleted. | |
| 14 | |
| 15 * coding.c (MINIMUM_CONVERSION_BUFFER_SIZE): Macro deleted. | |
| 16 (conversion_buffer, conversion_buffer_size): Variables deleted. | |
| 17 (get_conversion_buffer): Function deleted. | |
| 18 (struct conversion_buffer): New structure. | |
| 19 (MAX_ALLOCA): New macro. | |
| 20 (allocate_conversion_buffer): New macro. | |
| 21 (extend_conversion_buffer, free_conversion_buffer): New functions. | |
| 22 (ccl_coding_driver): Set coding->result. | |
| 23 (decode_coding): Set coding->result to CODING_FINISH_NORMAL if | |
| 24 this is the last block of source. | |
| 25 (encode_coding): Likewise. Handle the source block as the last | |
| 26 one only when the whole source text is consumed. | |
| 27 (decode_coding_string): Handle the case that the output buffer is | |
| 28 too small to decode the whole source text. Use | |
| 29 allocate_conversion_buffer, extend_conversion_buffer and | |
| 30 free_conversion_buffer, not get_conversion_buffer. | |
| 31 (encode_coding_string): Likewise. | |
| 32 (init_coding): Function deleted. | |
| 33 (init_coding_once): Delete code to initialize | |
| 34 conversion_buffer_size. | |
| 35 | |
| 36 * emacs.c (main): Don't call init_coding. | |
| 37 | |
| 38 * msdos.c (IT_write_glyphs): Use a locally declared | |
| 39 conversion_buffer. | |
| 40 | |
| 41 * term.c (write_glyphs): Use a locally declared conversion_buffer. | |
| 42 (insert_glyphs): Likewise. | |
| 43 | |
| 44 * w32console.c (write_glyphs): Use a locally declared | |
| 45 conversion_buffer. | |
| 46 | |
| 1 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il> | 47 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il> |
| 2 | 48 |
| 3 * msdos.c (IT_update_begin): Don't crash if mouse_face_mouse_frame | 49 * msdos.c (IT_update_begin): Don't crash if mouse_face_mouse_frame |
| 4 member of display_info is NULL. | 50 member of display_info is NULL. |
| 5 | 51 |
