Pay attetion to the buffer relocation on encoding (Bug#9318).
[bpt/emacs.git] / src / ChangeLog
index 3b1fd5e..8c4a0ff 100644 (file)
@@ -1,3 +1,30 @@
+2011-12-05  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (encode_designation_at_bol): New args charbuf_end and
+       dst.  Return the number of produced bytes.  Callers changed.
+
+2011-12-05  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
+
+       * coding.c (CODING_CHAR_CHARSET_P): New macro.
+       (encode_coding_emacs_mule, encode_coding_iso_2022): Use the above
+       macro (Bug#9318).
+
+2011-12-05  Andreas Schwab  <schwab@linux-m68k.org>
+
+       The following changes are to fix Bug#9318.
+
+       * coding.c (CODING_DECODE_CHAR): Adjusted for the new interface of
+       coding_set_source.
+       (CODING_ENCODE_CHAR, CODING_CHAR_CHARSET): New macros.
+       (coding_set_source): Return how many bytes coding->source was
+       relocated.
+       (coding_set_destination): Return how many bytes
+       coding->destination was relocated.
+       (encode_coding_emacs_mule, ENCODE_ISO_CHARACTER)
+       (encode_coding_iso_2022, encode_coding_sjis)
+       (encode_coding_big5, encode_coding_charset): Use macros
+       CODING_ENCODE_CHAR, CODING_CHAR_CHARSET.
+
 2011-11-29  Jan Djärv  <jan.h.d@swipnet.se>
 
        * xterm.h (struct x_output): net_wm_state_hidden_seen is new.