diff options
| author | Eli Zaretskii | 2010-09-23 10:32:38 -0400 |
|---|---|---|
| committer | Eli Zaretskii | 2010-09-23 10:32:38 -0400 |
| commit | 579c18d04a042e78bc85c1aef081e612acd6e757 (patch) | |
| tree | 4e164342527219189d0d515bf3895e4cc3c8cd1d /src/ChangeLog | |
| parent | 141624691330c7622d9a31d53ec919dee8e97473 (diff) | |
| download | emacs-579c18d04a042e78bc85c1aef081e612acd6e757.tar.gz emacs-579c18d04a042e78bc85c1aef081e612acd6e757.zip | |
Fix more uses of int instead of EMACS_INT.
xdisp.c (check_point_in_composition, reconsider_clip_changes):
Use EMACS_INT for buffer position variables and arguments.
composite.c (get_composition_id, find_composition)
(run_composition_function, compose_text)
(composition_gstring_width, autocmp_chars)
(composition_update_it, Ffind_composition_internal): Use EMACS_INT
for buffer positions and string length variables and arguments.
composite.h (get_composition_id, find_composition, compose_text)
(composition_gstring_width): Adjust prototypes.
editfns.c (Fformat): Use EMACS_INT for string size variables.
xdisp.c (store_mode_line_noprop, display_mode_element): Use
EMACS_INT for string positions.
intervals.c (get_property_and_range): Use EMACS_INT for buffer
position arguments.
intervals.h (get_property_and_range): Adjust prototype.
character.c (parse_str_as_multibyte, str_as_multibyte)
(parse_str_to_multibyte, str_to_multibyte, str_as_unibyte)
(string_count_byte8, string_escape_byte8, c_string_width)
(strwidth, lisp_string_width, multibyte_chars_in_text): Use
EMACS_INT for string length variables and arguments.
(string_escape_byte8): Protect against too long strings.
character.h (parse_str_as_multibyte, str_as_multibyte)
(parse_str_to_multibyte, str_to_multibyte, str_as_unibyte)
(c_string_width, strwidth, lisp_string_width): Adjust
prototypes.
lisp.h (check_point_in_composition): Adjust prototype.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 40 |
1 files changed, 34 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 04f35d36ecf..f532a6c19f4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,17 +1,44 @@ | |||
| 1 | 2010-09-23 Eli Zaretskii <eliz@gnu.org> | 1 | 2010-09-23 Eli Zaretskii <eliz@gnu.org> |
| 2 | 2 | ||
| 3 | * font.c (font_intern_prop): Use EMACS_INT for string length | 3 | * xdisp.c (check_point_in_composition, reconsider_clip_changes): |
| 4 | variables. | 4 | Use EMACS_INT for buffer position variables and arguments. |
| 5 | |||
| 6 | * composite.c (get_composition_id, find_composition) | ||
| 7 | (run_composition_function, compose_text) | ||
| 8 | (composition_gstring_width, autocmp_chars) | ||
| 9 | (composition_update_it, Ffind_composition_internal): Use EMACS_INT | ||
| 10 | for buffer positions and string length variables and arguments. | ||
| 11 | |||
| 12 | * composite.h (get_composition_id, find_composition, compose_text) | ||
| 13 | (composition_gstring_width): Adjust prototypes. | ||
| 14 | |||
| 15 | * editfns.c (Fformat): Use EMACS_INT for string size variables. | ||
| 16 | |||
| 17 | * xdisp.c (store_mode_line_noprop, display_mode_element): Use | ||
| 18 | EMACS_INT for string positions. | ||
| 19 | |||
| 20 | * intervals.c (get_property_and_range): Use EMACS_INT for buffer | ||
| 21 | position arguments. | ||
| 22 | |||
| 23 | * intervals.h (get_property_and_range): Adjust prototype. | ||
| 5 | 24 | ||
| 6 | * character.c (parse_str_as_multibyte, str_as_multibyte) | 25 | * character.c (parse_str_as_multibyte, str_as_multibyte) |
| 7 | (parse_str_to_multibyte, str_to_multibyte, str_as_unibyte) | 26 | (parse_str_to_multibyte, str_to_multibyte, str_as_unibyte) |
| 8 | (string_count_byte8, string_escape_byte8): Use EMACS_INT for | 27 | (string_count_byte8, string_escape_byte8, c_string_width) |
| 9 | string length arguments, variables, and return values. | 28 | (strwidth, lisp_string_width, multibyte_chars_in_text): Use |
| 29 | EMACS_INT for string length variables and arguments. | ||
| 10 | 30 | ||
| 11 | * character.h (parse_str_as_multibyte, str_as_multibyte) | 31 | * character.h (parse_str_as_multibyte, str_as_multibyte) |
| 12 | (parse_str_to_multibyte, str_to_multibyte, str_as_unibyte): Adjust | 32 | (parse_str_to_multibyte, str_to_multibyte, str_as_unibyte) |
| 33 | (c_string_width, strwidth, lisp_string_width): Adjust | ||
| 13 | prototypes. | 34 | prototypes. |
| 14 | 35 | ||
| 36 | * font.c (font_intern_prop): Use EMACS_INT for string length | ||
| 37 | variables. | ||
| 38 | |||
| 39 | * font.c (font_intern_prop): Use EMACS_INT for string length | ||
| 40 | variables. | ||
| 41 | |||
| 15 | * fns.c (Fstring_as_multibyte): Use EMACS_INT for string length | 42 | * fns.c (Fstring_as_multibyte): Use EMACS_INT for string length |
| 16 | variables. | 43 | variables. |
| 17 | 44 | ||
| @@ -33,7 +60,8 @@ | |||
| 33 | 60 | ||
| 34 | * lisp.h (make_string, make_unibyte_string, make_multibyte_string) | 61 | * lisp.h (make_string, make_unibyte_string, make_multibyte_string) |
| 35 | (make_string_from_bytes, make_specified_string_string) | 62 | (make_string_from_bytes, make_specified_string_string) |
| 36 | (make_pure_string, string_bytes): Adjust prototypes. | 63 | (make_pure_string, string_bytes, check_point_in_composition): |
| 64 | Adjust prototypes. | ||
| 37 | 65 | ||
| 38 | 2010-09-22 Eli Zaretskii <eliz@gnu.org> | 66 | 2010-09-22 Eli Zaretskii <eliz@gnu.org> |
| 39 | 67 | ||