diff options
| author | Kenichi Handa | 2000-08-16 01:36:13 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2000-08-16 01:36:13 +0000 |
| commit | 290602fd0af3deaf34ac60d9b4f3165d01381f7f (patch) | |
| tree | 65c2c6f5af1bcfc76d223277bad1bd4a5a5418e1 /src/ChangeLog | |
| parent | dc28878c8b1ae9244f1bba63d84b815ac668db14 (diff) | |
| download | emacs-290602fd0af3deaf34ac60d9b4f3165d01381f7f.tar.gz emacs-290602fd0af3deaf34ac60d9b4f3165d01381f7f.zip | |
*** empty log message ***
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d471dc885f9..ced62995245 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,49 @@ | |||
| 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 |