diff options
| author | Paul Eggert | 2012-08-27 09:19:34 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-08-27 09:19:34 -0700 |
| commit | f10fe38f772c29031a23ef7aa92d2de1b3675461 (patch) | |
| tree | 5e45fef267903dafb4d2a92bd464ff851b3e3835 /src/ChangeLog | |
| parent | 5474c384641da64d402e4d135dbf4697a60a70d3 (diff) | |
| download | emacs-f10fe38f772c29031a23ef7aa92d2de1b3675461.tar.gz emacs-f10fe38f772c29031a23ef7aa92d2de1b3675461.zip | |
* cmds.c, coding.c: Use bool for booleans.
* cmds.c (move_point, Fself_insert_command):
* coding.h (struct composition status, struct coding_system):
* coding.c (detect_coding_utf_8, encode_coding_utf_8)
(detect_coding_utf_16, encode_coding_utf_16, detect_coding_emacs_mule)
(emacs_mule_char, decode_coding_emacs_mule)
(encode_coding_emacs_mule, detect_coding_iso_2022)
(decode_coding_iso_2022, encode_invocation_designation)
(encode_designation_at_bol, encode_coding_iso_2022)
(detect_coding_sjis, detect_coding_big5, decode_coding_sjis)
(decode_coding_big5, encode_coding_sjis, encode_coding_big5)
(detect_coding_ccl, encode_coding_ccl, decode_coding_raw_text)
(encode_coding_raw_text, detect_coding_charset)
(decode_coding_charset, encode_coding_charset, detect_eol)
(detect_coding, get_translation_table, produce_chars)
(consume_chars, reused_workbuf_in_use)
(make_conversion_work_buffer, code_conversion_save)
(decode_coding_object, encode_coding_object)
(detect_coding_system, char_encodable_p)
(Funencodable_char_position, code_convert_region)
(code_convert_string, code_convert_string_norecord)
(Fset_coding_system_priority):
* fileio.c (Finsert_file_contents):
Use bool for booleans.
* coding.h, lisp.h: Reflect above API changes.
* coding.c: Remove unnecessary static function decls.
(detect_coding): Use unsigned, not signed, to copy an unsigned field.
(decode_coding, encode_coding, decode_coding_gap): Return 'void',
not a boolean 'int', since callers never look at the return value.
(ALLOC_CONVERSION_WORK_AREA): Assume caller returns 'void', not 'int'.
* coding.h (decoding_buffer_size, encoding_buffer_size)
(emacs_mule_string_char): Remove unused extern decls.
(struct iso_2022_spec, struct coding_system):
Use 'unsigned int : 1' for boolean fields, since there's more than one.
(struct emacs_mule_spec): Remove unused field 'full_support'.
All initializations removed.
* cmds.c (internal_self_insert): Don't assume EMACS_INT fits in 'int'.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 42 |
1 files changed, 41 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 2a5afcaa310..7be88c568e2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,6 +1,46 @@ | |||
| 1 | 2012-08-27 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * cmds.c, coding.c: Use bool for booleans. | ||
| 4 | * cmds.c (move_point, Fself_insert_command): | ||
| 5 | * coding.h (struct composition status, struct coding_system): | ||
| 6 | * coding.c (detect_coding_utf_8, encode_coding_utf_8) | ||
| 7 | (detect_coding_utf_16, encode_coding_utf_16, detect_coding_emacs_mule) | ||
| 8 | (emacs_mule_char, decode_coding_emacs_mule) | ||
| 9 | (encode_coding_emacs_mule, detect_coding_iso_2022) | ||
| 10 | (decode_coding_iso_2022, encode_invocation_designation) | ||
| 11 | (encode_designation_at_bol, encode_coding_iso_2022) | ||
| 12 | (detect_coding_sjis, detect_coding_big5, decode_coding_sjis) | ||
| 13 | (decode_coding_big5, encode_coding_sjis, encode_coding_big5) | ||
| 14 | (detect_coding_ccl, encode_coding_ccl, decode_coding_raw_text) | ||
| 15 | (encode_coding_raw_text, detect_coding_charset) | ||
| 16 | (decode_coding_charset, encode_coding_charset, detect_eol) | ||
| 17 | (detect_coding, get_translation_table, produce_chars) | ||
| 18 | (consume_chars, reused_workbuf_in_use) | ||
| 19 | (make_conversion_work_buffer, code_conversion_save) | ||
| 20 | (decode_coding_object, encode_coding_object) | ||
| 21 | (detect_coding_system, char_encodable_p) | ||
| 22 | (Funencodable_char_position, code_convert_region) | ||
| 23 | (code_convert_string, code_convert_string_norecord) | ||
| 24 | (Fset_coding_system_priority): | ||
| 25 | * fileio.c (Finsert_file_contents): | ||
| 26 | Use bool for booleans. | ||
| 27 | * coding.h, lisp.h: Reflect above API changes. | ||
| 28 | * coding.c: Remove unnecessary static function decls. | ||
| 29 | (detect_coding): Use unsigned, not signed, to copy an unsigned field. | ||
| 30 | (decode_coding, encode_coding, decode_coding_gap): Return 'void', | ||
| 31 | not a boolean 'int', since callers never look at the return value. | ||
| 32 | (ALLOC_CONVERSION_WORK_AREA): Assume caller returns 'void', not 'int'. | ||
| 33 | * coding.h (decoding_buffer_size, encoding_buffer_size) | ||
| 34 | (emacs_mule_string_char): Remove unused extern decls. | ||
| 35 | (struct iso_2022_spec, struct coding_system): | ||
| 36 | Use 'unsigned int : 1' for boolean fields, since there's more than one. | ||
| 37 | (struct emacs_mule_spec): Remove unused field 'full_support'. | ||
| 38 | All initializations removed. | ||
| 39 | * cmds.c (internal_self_insert): Don't assume EMACS_INT fits in 'int'. | ||
| 40 | |||
| 1 | 2012-08-27 Dmitry Antipov <dmantipov@yandex.ru> | 41 | 2012-08-27 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 42 | ||
| 3 | Fix spare memory change. | 43 | Fix spare memory change (Bug#12286). |
| 4 | * alloc.c (mark_maybe_pointer): Handle MEM_TYPE_SPARE. | 44 | * alloc.c (mark_maybe_pointer): Handle MEM_TYPE_SPARE. |
| 5 | (valid_lisp_object_p): Likewise. | 45 | (valid_lisp_object_p): Likewise. |
| 6 | 46 | ||