diff options
| author | Kenichi Handa | 2010-09-27 14:42:43 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2010-09-27 14:42:43 +0900 |
| commit | b3253cd4b4bcbe1ab4ad1fdc98b30c33af70332c (patch) | |
| tree | 4d55005558f96dfb44bfcd746098ed0882aff2d0 /src/ChangeLog | |
| parent | 4be9765d4bad14d68cdfee2a2c6afe1001d9516a (diff) | |
| parent | e5fa38990bca723fc3ef1d0ede792e8ff84b84f7 (diff) | |
| download | emacs-b3253cd4b4bcbe1ab4ad1fdc98b30c33af70332c.tar.gz emacs-b3253cd4b4bcbe1ab4ad1fdc98b30c33af70332c.zip | |
merge trunk
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 514 |
1 files changed, 512 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 7f35c67039c..84730fede8a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -24,6 +24,516 @@ | |||
| 24 | (append_glyph, produce_image_glyph, append_stretch_glyph) | 24 | (append_glyph, produce_image_glyph, append_stretch_glyph) |
| 25 | (note_mouse_highlight): Likewise. | 25 | (note_mouse_highlight): Likewise. |
| 26 | 26 | ||
| 27 | 2010-09-26 Jan Djärv <jan.h.d@swipnet.se> | ||
| 28 | |||
| 29 | * process.c (add_keyboard_wait_descriptor) | ||
| 30 | (delete_keyboard_wait_descriptor): Reinstate ifdef subprocesses. | ||
| 31 | (wait_reading_process_output): Don't pass write_mask to select | ||
| 32 | if SELECT_CANT_DO_WRITE_MASK is defined. | ||
| 33 | (SELECT_CANT_DO_WRITE_MASK): Define if SELECT_CANT_DO_WRITE_MASK. | ||
| 34 | |||
| 35 | * process.h (add_read_fd, delete_read_fd, add_write_fd) | ||
| 36 | (delete_write_fd): Declare. | ||
| 37 | |||
| 38 | * process.c (gpm_wait_mask, max_gpm_desc): Remove. | ||
| 39 | (write_mask): New variable. | ||
| 40 | (max_input_desc): Renamed from max_keyboard_desc. | ||
| 41 | (fd_callback_info): New variable. | ||
| 42 | (add_read_fd, delete_read_fd, add_write_fd, delete_write_fd): New | ||
| 43 | functions. | ||
| 44 | (Fmake_network_process): FD_SET write_mask. | ||
| 45 | (deactivate_process): FD_CLR write_mask. | ||
| 46 | (wait_reading_process_output): Connecting renamed to Writeok. | ||
| 47 | check_connect removed. check_write is new. Remove references to | ||
| 48 | gpm. Use Writeok/check_write unconditionally (i.e. no #ifdef | ||
| 49 | NON_BLOCKING_CONNECT) instead of Connecting. | ||
| 50 | Loop over file descriptors and call callbacks in fd_callback_info | ||
| 51 | if file descriptor is ready for I/O. | ||
| 52 | (add_gpm_wait_descriptor): Just call add_keyboard_wait_descriptor. | ||
| 53 | (delete_gpm_wait_descriptor): Just call delete_keyboard_wait_descriptor. | ||
| 54 | (keyboard_bit_set): Use max_input_desc. | ||
| 55 | (add_keyboard_wait_descriptor, delete_keyboard_wait_descriptor): Remove | ||
| 56 | #ifdef subprocesses. Use max_input_desc. | ||
| 57 | (init_process): Initialize write_mask and fd_callback_info. | ||
| 58 | |||
| 59 | * keyboard.c (readable_events, gobble_input): Remove DBUS code. | ||
| 60 | |||
| 61 | * dbusbind.c: Include process.h. | ||
| 62 | (dbus_fd_cb, xd_find_watch_fd, xd_toggle_watch) | ||
| 63 | (xd_read_message_1): New functions. | ||
| 64 | (xd_add_watch, xd_remove_watch): Call xd_find_watch_fd. Handle | ||
| 65 | watch for both read and write. | ||
| 66 | (Fdbus_init_bus): Also register xd_toggle_watch. | ||
| 67 | (Fdbus_call_method_asynchronously, Fdbus_method_return_internal) | ||
| 68 | (Fdbus_method_error_internal, Fdbus_send_signal): Remove call | ||
| 69 | to dbus_connection_flush. | ||
| 70 | (xd_read_message): Move most of the code to xd_read_message_1. | ||
| 71 | Call xd_read_message_1 until status is COMPLETE. | ||
| 72 | |||
| 73 | 2010-09-26 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 74 | |||
| 75 | * term.c: Do not include sys/ioctl.h, not needed. | ||
| 76 | (init_tty): Reorder code to reduce the number of #ifdefs. No code | ||
| 77 | changes. | ||
| 78 | |||
| 79 | 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com> | ||
| 80 | |||
| 81 | * process.h: Set up GnuTLS support. | ||
| 82 | |||
| 83 | * process.c (make_process, Fstart_process) | ||
| 84 | (read_process_output, send_process): Set up GnuTLS support for | ||
| 85 | process input/output file descriptors. | ||
| 86 | |||
| 87 | * gnutls.h: The GnuTLS glue for Emacs, macros and enums. | ||
| 88 | |||
| 89 | * gnutls.c: The source code for GnuTLS support in Emacs. | ||
| 90 | |||
| 91 | * emacs.c: Set up GnuTLS support and call syms_of_gnutls. | ||
| 92 | |||
| 93 | * config.in: Set up GnuTLS support. | ||
| 94 | |||
| 95 | * Makefile.in (LIBGNUTLS_LIBS, LIBGNUTLS_CFLAGS, ALL_CFLAGS) | ||
| 96 | (obj, LIBES): Set up GnuTLS support. | ||
| 97 | |||
| 98 | 2010-09-26 Juanma Barranquero <lekktu@gmail.com> | ||
| 99 | |||
| 100 | * w32.c (get_emacs_configuration_options): Fix previous change. | ||
| 101 | |||
| 102 | 2010-09-25 Chong Yidong <cyd@stupidchicken.com> | ||
| 103 | |||
| 104 | * insdel.c (prepare_to_modify_buffer): Ensure the mark marker is | ||
| 105 | alive before using it (Bug#6977). | ||
| 106 | |||
| 107 | 2010-09-25 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 108 | |||
| 109 | * xdisp.c (face_before_or_after_it_pos): EMACS_INT/int fixup. | ||
| 110 | |||
| 111 | * dispextern.h: EMACS_INT/int fixup. | ||
| 112 | |||
| 113 | * xdisp.c (string_pos_nchars_ahead, init_iterator): EMACS_INT/int | ||
| 114 | fixup. | ||
| 115 | |||
| 116 | * xrdb.c (magic_file_p): EMACS_INT/int fixup. | ||
| 117 | |||
| 118 | 2010-09-25 Eli Zaretskii <eliz@gnu.org> | ||
| 119 | |||
| 120 | * window.c (Fpos_visible_in_window_p, Fdelete_other_windows) | ||
| 121 | (Fselect_window, window_scroll_pixel_based) | ||
| 122 | (window_scroll_line_based, Frecenter, Fset_window_configuration): | ||
| 123 | Use EMACS_INT for buffer positions. | ||
| 124 | |||
| 125 | * textprop.c (validate_interval_range, interval_of) | ||
| 126 | (property_change_between_p, Fadd_text_properties) | ||
| 127 | (set_text_properties_1, Fremove_text_properties) | ||
| 128 | (Fremove_list_of_text_properties, Ftext_property_any) | ||
| 129 | (Ftext_property_not_all, copy_text_properties) | ||
| 130 | (text_property_list, extend_property_ranges) | ||
| 131 | (verify_interval_modification): Use EMACS_INT for buffer | ||
| 132 | positions. | ||
| 133 | |||
| 134 | * term.c (fast_find_position, term_mouse_highlight): Use EMACS_INT | ||
| 135 | for buffer positions. | ||
| 136 | |||
| 137 | * process.c (read_process_output, send_process) | ||
| 138 | (Fprocess_send_region, status_notify): Use EMACS_INT for buffer | ||
| 139 | and string positions and size. | ||
| 140 | |||
| 141 | * print.c (print_object, print_string, strout): Use EMACS_INT for | ||
| 142 | string indices. | ||
| 143 | |||
| 144 | * minibuf.c (string_to_object): Use EMACS_INT for string position | ||
| 145 | and size. | ||
| 146 | |||
| 147 | * marker.c (verify_bytepos): Use EMACS_INT for buffer positions. | ||
| 148 | |||
| 149 | * lread.c <read_from_string_index, read_from_string_index_byte> | ||
| 150 | <read_from_string_limit, readchar_count>: Define EMACS_INT. | ||
| 151 | (readchar, unreadchar, read_internal_start): Use EMACS_INT for | ||
| 152 | buffer positions and string length. | ||
| 153 | |||
| 154 | * keyboard.c <last_point_position, last_non_minibuf_size>: Declare | ||
| 155 | EMACS_INT. | ||
| 156 | (echo_truncate, adjust_point_for_property, read_char) | ||
| 157 | (gen_help_event, make_lispy_event, modify_event_symbol) | ||
| 158 | (Fexecute_extended_command, stuff_buffered_input): Use EMACS_INT | ||
| 159 | for buffer positions and string length. | ||
| 160 | |||
| 161 | * keyboard.h (gen_help_event): Adjust prototype. | ||
| 162 | |||
| 163 | * termhooks.h <struct input_event>: Make `code' member EMACS_INT. | ||
| 164 | |||
| 165 | * commands.h <last_point_position>: Declare EMACS_INT. | ||
| 166 | |||
| 167 | * xdisp.c <help_echo_pos>: Define as EMACS_INT. | ||
| 168 | (truncate_echo_area): Accept EMACS_INT argument. | ||
| 169 | |||
| 170 | * dispextern.h <help_echo_pos>: Declare EMACS_INT. | ||
| 171 | |||
| 172 | * lisp.h (truncate_echo_area): Adjust prototype. | ||
| 173 | |||
| 174 | * composite.c (composition_adjust_point): Return EMACS_INT. | ||
| 175 | |||
| 176 | * composite.h (composition_adjust_point): Adjust prototype. | ||
| 177 | |||
| 178 | 2010-09-25 Juanma Barranquero <lekktu@gmail.com> | ||
| 179 | |||
| 180 | * process.c (Fmake_network_process): When arg :host is 'local, | ||
| 181 | use address 127.0.0.1, not name "localhost". (Bug#6781) | ||
| 182 | |||
| 183 | 2010-09-24 Eli Zaretskii <eliz@gnu.org> | ||
| 184 | |||
| 185 | * indent.c (Fcurrent_indentation, indented_beyond_p) | ||
| 186 | (compute_motion): Use EMACS_INT for buffer position variables. | ||
| 187 | |||
| 188 | * lisp.h (indented_beyond_p): Adjust prototype. | ||
| 189 | |||
| 190 | * buffer.c (overlay_strings): Return EMACS_INT. | ||
| 191 | |||
| 192 | * buffer.h (overlay_strings): Adjust prototype. | ||
| 193 | |||
| 194 | * region-cache.c (pp_cache): Adjust format to arguments. | ||
| 195 | |||
| 196 | * eval.c <specpdl_size, lisp_eval_depth>: Declare EMACS_INT. | ||
| 197 | (call_debugger): Use EMACS_INT for specpdl_size related variables. | ||
| 198 | (verror): Use EMACS_INT for size of allocated buffer. | ||
| 199 | |||
| 200 | * keyboard.c (make_lispy_position): Use EMACS_INT for buffer | ||
| 201 | positions. | ||
| 202 | |||
| 203 | * xdisp.c (redisplay_internal, try_window_id) | ||
| 204 | (set_cursor_from_row, find_first_unchanged_at_end_row): Use | ||
| 205 | EMACS_INT for buffer positions. | ||
| 206 | |||
| 207 | * dispextern.h (set_cursor_from_row): Adjust prototype. | ||
| 208 | |||
| 209 | * dispnew.c (increment_matrix_positions) | ||
| 210 | (increment_row_positions, copy_glyph_row_contents) | ||
| 211 | (mode_line_string, marginal_area_string): Use EMACS_INT for buffer | ||
| 212 | positions. | ||
| 213 | |||
| 214 | * dispextern.h (mode_line_string, marginal_area_string) | ||
| 215 | (increment_matrix_positions, increment_row_positions): Adjust | ||
| 216 | prototypes. | ||
| 217 | |||
| 218 | * data.c (Faref, Faset): Use EMACS_INT for string length and | ||
| 219 | positions. | ||
| 220 | |||
| 221 | * cmds.c (internal_self_insert): Use EMACS_INT for the count of | ||
| 222 | characters to insert. | ||
| 223 | |||
| 224 | * ccl.c (Fccl_execute_on_string): Use EMACS_INT for string | ||
| 225 | position and size. | ||
| 226 | |||
| 227 | * syntax.c (scan_words, update_syntax_table) | ||
| 228 | (prev_char_comend_first, back_comment, skip_chars) | ||
| 229 | (skip_syntaxes, Fforward_comment, Fbackward_prefix_chars): Use | ||
| 230 | EMACS_INT for buffer and string positions. | ||
| 231 | |||
| 232 | * syntax.h (scan_words, update_syntax_table): Adjust prototypes. | ||
| 233 | |||
| 234 | * casefiddle.c (operate_on_word): Use EMACS_INT for buffer | ||
| 235 | positions. | ||
| 236 | |||
| 237 | 2010-09-24 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 238 | |||
| 239 | * scroll.c (calculate_scrolling, line_ins_del) | ||
| 240 | (calculate_direct_scrolling, scroll_cost): Fix EMACS_INT/int | ||
| 241 | conversion. | ||
| 242 | |||
| 243 | * region-cache.c (move_cache_gap, set_cache_region, pp_cache) | ||
| 244 | (region_cache_backward, region_cache_forward) | ||
| 245 | (revalidate_region_cache, set_cache_region): FIX EMACS_INT/int | ||
| 246 | conversion. | ||
| 247 | |||
| 248 | * xdisp.c (message_dolog): Fix EMACS_INT/int conversion. | ||
| 249 | |||
| 250 | * eval.c (verror): Fix EMACS_INT/int conversion. | ||
| 251 | |||
| 252 | * print.c (PRINTDECLARE, PRINTPREPARE, strout, print_string) | ||
| 253 | (print_preprocess, print_check_string_charset_prop) | ||
| 254 | (print_object): Fix EMACS_INT/int conversion. | ||
| 255 | |||
| 256 | * xdisp.c (message_dolog): Fix EMACS_INT/int conversion. | ||
| 257 | |||
| 258 | 2010-09-24 Eli Zaretskii <eliz@gnu.org> | ||
| 259 | |||
| 260 | * callproc.c (Fcall_process): Use EMACS_INT for count of | ||
| 261 | characters read from the subprocess. | ||
| 262 | |||
| 263 | * bidi.c (struct bidi_paragraph_info): Use EMACS_INT for buffer | ||
| 264 | positions. | ||
| 265 | (bidi_cache_search, bidi_cache_find): Use EMACS_INT for buffer | ||
| 266 | positions. | ||
| 267 | |||
| 268 | * buffer.c (struct sortvec): Use EMACS_INT for buffer positions. | ||
| 269 | (struct sortstrlist, overlay_str_len): Use EMACS_INT for string | ||
| 270 | length. | ||
| 271 | (advance_to_char_boundary, Fset_buffer_multibyte) | ||
| 272 | (overlays_at, overlays_in, mouse_face_overlay_overlaps) | ||
| 273 | (overlay_touches_p, record_overlay_string, overlay_strings) | ||
| 274 | (recenter_overlay_lists, fix_start_end_in_overlays) | ||
| 275 | (modify_overlay, Fmove_overlay, report_overlay_modification) | ||
| 276 | (evaporate_overlays): Use EMACS_INT for buffer positions. | ||
| 277 | |||
| 278 | * lisp.h (fix_start_end_in_overlays, overlay_touches_p): Adjust | ||
| 279 | prototypes. | ||
| 280 | |||
| 281 | * dispextern.h (struct bidi_saved_info): Use EMACS_INT for buffer | ||
| 282 | positions. | ||
| 283 | |||
| 284 | * fns.c (Fcompare_strings, Fstring_lessp, concat) | ||
| 285 | (string_make_unibyte, Fstring_as_unibyte, Fsubstring) | ||
| 286 | (Fsubstring_no_properties, substring_both, Ffillarray) | ||
| 287 | (Fclear_string, mapcar1, Fmapconcat, Fmapcar, Fmapc) | ||
| 288 | (Fbase64_encode_region, Fbase64_encode_string, base64_encode_1) | ||
| 289 | (Fbase64_decode_region, Fbase64_decode_string, base64_decode_1) | ||
| 290 | (Fmd5): Use EMACS_INT for buffer and string positions and length | ||
| 291 | variables and arguments. | ||
| 292 | |||
| 293 | * lisp.h (substring_both): Adjust prototype. | ||
| 294 | |||
| 295 | 2010-09-24 Juanma Barranquero <lekktu@gmail.com> | ||
| 296 | |||
| 297 | Remove W32 API function pointer unused since 2005-02-15 (revno 2005-02-15T23:19:26Z!jasonr@gnu.org). | ||
| 298 | * w32fns.c (clipboard_sequence_fn): Don't declare. | ||
| 299 | (globals_of_w32fns): Don't initialize it. | ||
| 300 | |||
| 301 | 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 302 | |||
| 303 | * syntax.c (back_comment): Detect the case where a 1-char comment | ||
| 304 | starter is also the 2nd char of a 2-char comment ender. | ||
| 305 | |||
| 306 | 2010-09-23 Jan Djärv <jan.h.d@swipnet.se> | ||
| 307 | |||
| 308 | * gtkutil.c (xg_tool_bar_menu_proxy): Set gtk-menu-items to TRUE. | ||
| 309 | |||
| 310 | 2010-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 311 | |||
| 312 | * eval.c (verror): EMACS_INT/int cleanup. | ||
| 313 | |||
| 314 | * lisp.h (SPECPDL_INDEX): Cast to int, since we're not going to | ||
| 315 | unwind_protect more than 2GB worth of functions. | ||
| 316 | |||
| 317 | * editfns.c (Finsert_char): EMACS_INT/int cleanup. | ||
| 318 | |||
| 319 | * lisp.h: Have oblookup take EMACS_INT to allow interning big | ||
| 320 | string and avoid compiler warnings. | ||
| 321 | (USE_SAFE_ALLOCA): Cast to int to avoid compilation warnings in | ||
| 322 | all users. | ||
| 323 | |||
| 324 | * lread.c (oblookup): EMACS_INT/int cleanup. | ||
| 325 | |||
| 326 | * cmds.c (Fforward_line, Fdelete_char): EMACS_INT/int cleanup. | ||
| 327 | |||
| 328 | 2010-09-23 Eli Zaretskii <eliz@gnu.org> | ||
| 329 | |||
| 330 | * editfns.c (clip_to_bounds): Return an EMACS_INT value. | ||
| 331 | |||
| 332 | * lisp.h (clip_to_bounds): Adjust prototype. | ||
| 333 | |||
| 334 | * intervals.c (adjust_for_invis_intang): Return EMACS_INT value. | ||
| 335 | |||
| 336 | 2010-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 337 | |||
| 338 | * lisp.h: doprnt.c EMACS_INT/int cleanup. | ||
| 339 | |||
| 340 | * doprnt.c (doprnt): EMACS_INT/int cleanup. | ||
| 341 | |||
| 342 | * doc.c (Fsnarf_documentation, get_doc_string): EMACS_INT/int | ||
| 343 | cleanup. | ||
| 344 | |||
| 345 | * lisp.h: Change the definition of all marker.c functions that | ||
| 346 | take and return buffer stuff to be EMACS_INT instead of int. | ||
| 347 | |||
| 348 | * marker.c (buf_charpos_to_bytepos, CONSIDER, set_marker_both) | ||
| 349 | (buf_charpos_to_bytepos, bytepos_to_charpos) | ||
| 350 | (buf_bytepos_to_charpos, Fbuffer_has_markers_at) | ||
| 351 | (set_marker_restricted, set_marker_both): Convert int to EMACS_INT | ||
| 352 | for all buffer positions. | ||
| 353 | |||
| 354 | 2010-09-23 Chong Yidong <cyd@stupidchicken.com> | ||
| 355 | |||
| 356 | * intervals.c (traverse_intervals, rotate_right, rotate_left) | ||
| 357 | (split_interval_right, find_interval, next_interval) | ||
| 358 | (delete_node, delete_interval, interval_deletion_adjustment) | ||
| 359 | (adjust_intervals_for_deletion, merge_interval_right) | ||
| 360 | (merge_interval_left, graft_intervals_into_buffer) | ||
| 361 | (copy_intervals): Convert EMACS_UINTs to EMACS_INT. | ||
| 362 | |||
| 363 | * intervals.h (traverse_intervals): Update prototype. | ||
| 364 | |||
| 365 | 2010-09-23 Eli Zaretskii <eliz@gnu.org> | ||
| 366 | |||
| 367 | * indent.c (compute_motion): Use EMACS_INT for arguments to | ||
| 368 | region_cache_forward. | ||
| 369 | |||
| 370 | * region-cache.c (struct boundary, struct region_cache): Use | ||
| 371 | EMACS_INT for positions. | ||
| 372 | (find_cache_boundary, move_cache_gap, insert_cache_boundary) | ||
| 373 | (delete_cache_boundaries, set_cache_region) | ||
| 374 | (invalidate_region_cache, know_region_cache) | ||
| 375 | (region_cache_forward, region_cache_backward, pp_cache): Use | ||
| 376 | EMACS_INT for buffer positions. | ||
| 377 | |||
| 378 | * region-cache.h (know_region_cache, invalidate_region_cache) | ||
| 379 | (region_cache_forward, region_cache_backward): Adjust prototypes. | ||
| 380 | |||
| 381 | * search.c (string_match_1, fast_c_string_match_ignore_case) | ||
| 382 | (looking_at_1, scan_buffer, scan_newline) | ||
| 383 | (find_next_newline_no_quit, find_before_next_newline) | ||
| 384 | (search_command, trivial_regexp_p, search_buffer, simple_search) | ||
| 385 | (boyer_moore, wordify, Freplace_match): Use EMACS_INT for buffer | ||
| 386 | and string positions and length. | ||
| 387 | |||
| 388 | * lisp.h (scan_buffer, scan_newline, find_next_newline_no_quit) | ||
| 389 | (find_before_next_newline): Adjust prototypes. | ||
| 390 | |||
| 391 | * editfns.c (transpose_markers, update_buffer_properties) | ||
| 392 | (buildmark, clip_to_bounds, Fgoto_char, overlays_around) | ||
| 393 | (get_pos_property, Fconstrain_to_field) | ||
| 394 | (Fline_beginning_position, Fline_end_position, Fprevious_char) | ||
| 395 | (Fchar_after, Fchar_before, Finsert_char) | ||
| 396 | (Finsert_buffer_substring, Fcompare_buffer_substrings) | ||
| 397 | (Fsubst_char_in_region, Fformat, Ftranspose_regions): Use | ||
| 398 | EMACS_INT for buffer and string position variables. | ||
| 399 | (Finsert_char): Protect against too large insertions. | ||
| 400 | |||
| 401 | * lisp.h (clip_to_bounds): Adjust prototype. | ||
| 402 | |||
| 403 | * intervals.c (traverse_intervals, rotate_right, rotate_left) | ||
| 404 | (balance_an_interval, split_interval_right, split_interval_left) | ||
| 405 | (find_interval, next_interval, update_interval) | ||
| 406 | (adjust_intervals_for_insertion, delete_node, delete_interval) | ||
| 407 | (interval_deletion_adjustment, adjust_intervals_for_deletion) | ||
| 408 | (offset_intervals, merge_interval_right, merge_interval_left) | ||
| 409 | (graft_intervals_into_buffer, adjust_for_invis_intang) | ||
| 410 | (move_if_not_intangible, get_local_map, copy_intervals) | ||
| 411 | (copy_intervals_to_string, compare_string_intervals) | ||
| 412 | (set_intervals_multibyte_1): Use EMACS_INT for buffer positions | ||
| 413 | and for interval tree size. | ||
| 414 | |||
| 415 | * intervals.h (traverse_intervals, split_interval_right) | ||
| 416 | (split_interval_left, find_interval, offset_intervals) | ||
| 417 | (graft_intervals_into_buffer, copy_intervals) | ||
| 418 | (copy_intervals_to_string, move_if_not_intangible, get_local_map) | ||
| 419 | (update_interval): Adjust prototypes. | ||
| 420 | |||
| 421 | * xdisp.c (check_point_in_composition, reconsider_clip_changes): | ||
| 422 | Use EMACS_INT for buffer position variables and arguments. | ||
| 423 | |||
| 424 | * composite.c (get_composition_id, find_composition) | ||
| 425 | (run_composition_function, compose_text) | ||
| 426 | (composition_gstring_width, autocmp_chars) | ||
| 427 | (composition_update_it, Ffind_composition_internal): Use EMACS_INT | ||
| 428 | for buffer positions and string length variables and arguments. | ||
| 429 | |||
| 430 | * composite.h (get_composition_id, find_composition, compose_text) | ||
| 431 | (composition_gstring_width): Adjust prototypes. | ||
| 432 | |||
| 433 | * editfns.c (Fformat): Use EMACS_INT for string size variables. | ||
| 434 | |||
| 435 | * xdisp.c (store_mode_line_noprop, display_mode_element): Use | ||
| 436 | EMACS_INT for string positions. | ||
| 437 | |||
| 438 | * intervals.c (get_property_and_range): Use EMACS_INT for buffer | ||
| 439 | position arguments. | ||
| 440 | |||
| 441 | * intervals.h (get_property_and_range): Adjust prototype. | ||
| 442 | |||
| 443 | * character.c (parse_str_as_multibyte, str_as_multibyte) | ||
| 444 | (parse_str_to_multibyte, str_to_multibyte, str_as_unibyte) | ||
| 445 | (string_count_byte8, string_escape_byte8, c_string_width) | ||
| 446 | (strwidth, lisp_string_width, multibyte_chars_in_text): Use | ||
| 447 | EMACS_INT for string length variables and arguments. | ||
| 448 | |||
| 449 | * character.h (parse_str_as_multibyte, str_as_multibyte) | ||
| 450 | (parse_str_to_multibyte, str_to_multibyte, str_as_unibyte) | ||
| 451 | (c_string_width, strwidth, lisp_string_width): Adjust | ||
| 452 | prototypes. | ||
| 453 | |||
| 454 | * font.c (font_intern_prop): Use EMACS_INT for string length | ||
| 455 | variables. | ||
| 456 | |||
| 457 | * font.c (font_intern_prop): Use EMACS_INT for string length | ||
| 458 | variables. | ||
| 459 | |||
| 460 | * fns.c (Fstring_as_multibyte): Use EMACS_INT for string length | ||
| 461 | variables. | ||
| 462 | |||
| 463 | * alloc.c <total_string_size>: Declare as EMACS_INT, not int. | ||
| 464 | (Fmake_string): Protect against too large strings. | ||
| 465 | (live_string_p, live_cons_p, live_symbol_p, live_float_p) | ||
| 466 | (live_misc_p): Use ptrdiff_t instead of int for pointer | ||
| 467 | differences. | ||
| 468 | (string_bytes, check_sblock, check_string_free_list) | ||
| 469 | (allocate_string_data, compact_small_strings, Fmake_string) | ||
| 470 | (Fmake_bool_vector, make_string, make_unibyte_string) | ||
| 471 | (make_multibyte_string, make_string_from_bytes) | ||
| 472 | (make_specified_string_string, Fmake_list, Fmake_vector): Use | ||
| 473 | EMACS_INT for string length variables and arguments. | ||
| 474 | (find_string_data_in_pure, make_pure_string, make_pure_c_string) | ||
| 475 | (Fpurecopy): Use EMACS_INT for string size. | ||
| 476 | (mark_vectorlike, mark_char_table, mark_object): Use EMACS_UINT | ||
| 477 | for vector size. | ||
| 478 | |||
| 479 | * lisp.h (make_string, make_unibyte_string, make_multibyte_string) | ||
| 480 | (make_string_from_bytes, make_specified_string_string) | ||
| 481 | (make_pure_string, string_bytes, check_point_in_composition): | ||
| 482 | Adjust prototypes. | ||
| 483 | |||
| 484 | 2010-09-22 Eli Zaretskii <eliz@gnu.org> | ||
| 485 | |||
| 486 | * editfns.c (Fsubst_char_in_region, Ftranslate_region_internal) | ||
| 487 | (check_translation): Use EMACS_INT for buffer positions and | ||
| 488 | length. | ||
| 489 | |||
| 490 | * undo.c (record_marker_adjustment, record_delete) | ||
| 491 | (record_change, record_point, record_insert) | ||
| 492 | (record_property_change, Fprimitive_undo): Use EMACS_INT for | ||
| 493 | buffer positions. | ||
| 494 | |||
| 495 | * lisp.h (record_marker_adjustment, record_delete) | ||
| 496 | (record_change, record_point, record_insert) | ||
| 497 | (record_property_change, Fprimitive_undo): Adjust prototypes. | ||
| 498 | |||
| 499 | 2010-09-22 Juanma Barranquero <lekktu@gmail.com> | ||
| 500 | Eli Zaretskii <eliz@gnu.org> | ||
| 501 | |||
| 502 | * w32.c (get_emacs_configuration_options): Fix buffer overrun. | ||
| 503 | |||
| 504 | 2010-09-22 Eli Zaretskii <eliz@gnu.org> | ||
| 505 | |||
| 506 | * minibuf.c (Fminibuffer_contents) | ||
| 507 | (Fminibuffer_contents_no_properties) | ||
| 508 | (Fminibuffer_completion_contents): Use EMACS_INT for minibuffer | ||
| 509 | positions. | ||
| 510 | |||
| 511 | * keyboard.c (command_loop_1): Use EMACS_INT to compare point with | ||
| 512 | mark. | ||
| 513 | |||
| 514 | * alloc.c (make_uninit_string, make_uninit_multibyte_string) | ||
| 515 | (allocate_string_data): Accept EMACS_INT for string length. | ||
| 516 | |||
| 517 | * editfns.c (Ffield_string, Ffield_string_no_properties) | ||
| 518 | (make_buffer_string, make_buffer_string_both, Fbuffer_substring) | ||
| 519 | (Fbuffer_substring_no_properties, find_field, Fdelete_field) | ||
| 520 | (Ffield_string, Ffield_string_no_properties, Ffield_beginning) | ||
| 521 | (Ffield_end): Use EMACS_INT for buffer positions. | ||
| 522 | |||
| 523 | * insdel.c (prepare_to_modify_buffer): Use EMACS_INT to compare | ||
| 524 | point with mark. | ||
| 525 | |||
| 526 | * lisp.h (allocate_string_data, make_uninit_string) | ||
| 527 | (make_uninit_multibyte_string, make_buffer_string) | ||
| 528 | (make_buffer_string_both): Adjust prototypes. | ||
| 529 | |||
| 530 | 2010-09-22 Chong Yidong <cyd@stupidchicken.com> | ||
| 531 | |||
| 532 | * xml.c: Switch to GNU indentation. | ||
| 533 | (make_dom): Change parse tree format to match xml.el. | ||
| 534 | (Fxml_parse_html_string_internal): Rename from html-parse-string. | ||
| 535 | (Fxml_parse_string_internal): Rename from xml-parse-string. | ||
| 536 | |||
| 27 | 2010-09-22 Kenichi Handa <handa@m17n.org> | 537 | 2010-09-22 Kenichi Handa <handa@m17n.org> |
| 28 | 538 | ||
| 29 | * xdisp.c (compute_stop_pos): Call composition_compute_stop_pos | 539 | * xdisp.c (compute_stop_pos): Call composition_compute_stop_pos |
| @@ -18809,7 +19319,7 @@ | |||
| 18809 | (Ffont_shape_text): New function. | 19319 | (Ffont_shape_text): New function. |
| 18810 | (Fopen_font): If the font size is not given, use 12-pixel. | 19320 | (Fopen_font): If the font size is not given, use 12-pixel. |
| 18811 | (Ffont_at): New arg STRING. | 19321 | (Ffont_at): New arg STRING. |
| 18812 | (syms_of_font): Initalize font_charset_alist. | 19322 | (syms_of_font): Initialize font_charset_alist. |
| 18813 | Declare Ffont_shape_text as a Lisp function. Call syms_of_XXfont | 19323 | Declare Ffont_shape_text as a Lisp function. Call syms_of_XXfont |
| 18814 | conditionally. | 19324 | conditionally. |
| 18815 | 19325 | ||
| @@ -19806,7 +20316,7 @@ | |||
| 19806 | 20316 | ||
| 19807 | * font.c (font_unparse_fcname): Fix typo (swidth->width). | 20317 | * font.c (font_unparse_fcname): Fix typo (swidth->width). |
| 19808 | (font_list_entities): Check driver_list->on. | 20318 | (font_list_entities): Check driver_list->on. |
| 19809 | (register_font_driver): Initalize `on' member to 0. | 20319 | (register_font_driver): Initialize `on' member to 0. |
| 19810 | (font_update_drivers): New function. | 20320 | (font_update_drivers): New function. |
| 19811 | (Fclear_font_cache): Check driver_list->on. | 20321 | (Fclear_font_cache): Check driver_list->on. |
| 19812 | 20322 | ||