+2006-09-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * macterm.c (install_window_handler, mac_handle_window_event)
+ [USE_CARBON_EVENTS]: Handle kEventWindowClose.
+ [USE_MAC_TSM] (mac_handle_text_input_event): Set modifiers for
+ ASCII keystroke event.
+
+2006-09-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * gtkutil.c (xg_get_file_with_chooser): Don't mention specific keys in
+ the file chooser message. Only call gtk_file_chooser_set_current_name
+ when action is SAVE.
+
+2006-09-04 Andreas Schwab <schwab@suse.de>
+
+ * Makefile.in: Double all single and back quotes in C-style
+ comments to help fontifier.
+
+2006-09-03 Jason Rumney <jasonr@gnu.org>
+
+ * w32.c (shutdown_handler): New function to exit cleanly on shutdown.
+ (globals_of_w32): Register it as a signal handler.
+
+2006-09-02 Juri Linkov <juri@jurta.org>
+
+ * marker.c (Fmarker_position): Doc fix.
+
+2006-09-03 Eli Zaretskii <eliz@gnu.org>
+
+ * window.c (syms_of_window) <split-height-threshold>:
+ <window-min-height, window-min-width>: Doc fix.
+
+2006-09-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * gtkutil.c (xg_get_file_with_chooser): Change file chooser message
+ for writing files. Call gtk_file_chooser_set_current_name to keep
+ default filename.
+
+ * minibuf.c (Finternal_complete_buffer): Move after DEFUN:s it calls
+
+2006-09-02 Jindrich Makovicka <makovick@gmail.com> (tiny change)
+
+ * fns.c (concat) [__GNUC__]: Declare with
+ `__attribute__((noinline))'.
+
+ * eval.c (apply1, call2) [__GNUC__]: Declare with
+ `__attribute__((noinline))'.
+
+2006-09-02 Stuart D. Herring <herring@lanl.gov>
+
+ * minibuf.c (Finternal_complete_buffer): New function.
+ (syms_of_minibuf): Defsubr it.
+ (Fread_buffer): Use it, instead of Vbuffer_alist.
+
+2006-09-01 Martin Rudalics <rudalics@gmx.at>
+
+ * buffer.h (struct buffer_text): New field chars_modiff.
+ (CHARS_MODIFF, BUF_CHARS_MODIFF): New macros.
+ * buffer.c (Fbuffer_chars_modified_tick): New function returning
+ value of BUF_CHARS_MODIFF.
+ (syms_of_buffer): Defsubr it.
+ (Fget_buffer_create): Initialize BUF_CHARS_MODIFF.
+ * insdel.c (modify_region): New argument preserve_chars_modiff.
+ Set CHARS_MODIFF to MODIFF provided preserve_chars_modiff is zero.
+ (insert_1_both, insert_from_string_1, insert_from_buffer_1)
+ (adjust_after_replace, adjust_after_replace_noundo)
+ (replace_range, replace_range_2, del_range_2): Reset CHARS_MODIFF.
+ * lisp.h (modify_region): Add fourth argument in extern.
+ * casefiddle.c (casify_region): Call modify_region with fourth
+ argument zero to assert that CHARS_MODIFF is updated.
+ * editfns.c (Fsubst_char_in_region, Ftranslate_region_internal)
+ (Ftranspose_regions): Likewise.
+ * textprop.c (Fadd_text_properties, Fset_text_properties)
+ (Fremove_text_properties, Fremove_list_of_text_properties):
+ Call modify_region with fourth argument 1 to avoid that
+ CHARS_MODIFF is updated.
+
+2006-08-31 Richard Stallman <rms@gnu.org>
+
+ * editfns.c (Fformat): Don't sign-extend for %o or %x.
+
+2006-08-29 Chong Yidong <cyd@stupidchicken.com>
+
+ * indent.c (Fvertical_motion): Don't move back if we were
+ displaying a Lisp string, either.
+
+2006-08-28 Kim F. Storm <storm@cua.dk>
+
+ * xdisp.c (get_window_cursor_type) [!HAVE_WINDOW_SYSTEM]:
+ Don't attempt to replace cursor on image glyphs.
+
+2006-08-28 Kenichi Handa <handa@m17n.org>
+
+ * coding.c (Fdetect_coding_region, Fdetect_coding_string): Fix
+ docstring about ISO-2022 control characters.
+
+2006-08-28 Kim F. Storm <storm@cua.dk>
+
+ * xdisp.c (get_window_cursor_type): Replace BOX cursor on images
+ with a hollow box cursor if image is larger than 32x32 (or the default
+ frame font if that is bigger). Replace any other cursor on images
+ with hollow box cursor, as redisplay doesn't support bar and hbar
+ cursors on images.
+
+2006-08-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * alloc.c (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Undo previous
+ change. Move mutex lock/unlock operations inside BLOCK_INPUT.
+
+ * dired.c (directory_files_internal_unwind, directory_files_internal)
+ (file_name_completion): Add BLOCK_INPUT around opendir/closedir.
+
+ * image.c [MAC_OS] (image_load_qt_1): Use ComponentResult instead
+ of OSErr.
+
+ * keyboard.c (in_sighandler): Remove variable.
+ (Fcurrent_idle_time): Add missing `doc:'.
+ (input_available_signal, init_keyboard): Undo previous change.
+
+ * keyboard.h (in_sighandler): Remove extern.
+
+ * mac.c (create_apple_event_from_event_ref, select)
+ (Fmac_get_file_creator, Fmac_get_file_type, Fmac_set_file_creator)
+ (Fmac_set_file_type, cfstring_create_normalized)
+ (mac_get_system_locale, select_and_poll_event, sys_select): Use
+ OSStatus instead of OSErr.
+
+ * macfns.c [TARGET_API_MAC_CARBON] (mac_update_proxy_icon): Don't
+ use FRAME_FILE_NAME. Use (FS)UpdateAlias.
+ (Fx_create_frame): Apply 2006-07-03 for xfns.c.
+
+ * macselect.c (get_scrap_from_symbol, clear_scrap, put_scrap_string)
+ (put_scrap_private_timestamp, scrap_has_target_type, get_scrap_string)
+ (get_scrap_private_timestamp, get_scrap_target_type_list)
+ (x_own_selection, x_get_foreign_selection)
+ (Fx_disown_selection_internal, Fx_selection_owner_p)
+ (Fx_selection_exists_p): Use OSStatus instead of OSErr.
+
+ * macterm.c (mac_draw_string_common, mac_query_char_extents)
+ (x_iconify_frame, XLoadQueryFont, install_window_handler)
+ (mac_handle_command_event, init_command_handler, init_menu_bar):
+ Use OSStatus instead of OSErr.
+ (x_free_frame_resources) [TARGET_API_MAC_CARBON]: Don't use
+ FRAME_FILE_NAME.
+ (x_query_font): Apply 2006-08-04 change for xterm.c.
+ (Qhi_command): Rename from Qhicommand. All uses changed.
+
+ * macterm.h (struct mac_output) [TARGET_API_MAC_CARBON]: Remove member
+ file_name.
+ (FRAME_FILE_NAME): Remove macro.
+ (install_window_handler, create_apple_event_from_event_ref):
+ Return OSStatus instead of OSErr.
+
+2006-08-26 Kim F. Storm <storm@cua.dk>
+
+ * buffer.c (Fset_buffer_multibyte):
+ * editfns.c (Fcurrent_time, Fget_internal_run_time):
+ * macfns.c (Fxw_color_values):
+ * w32fns.c (Fxw_color_values):
+ * xfns.c (Fxw_color_values): Simplify; use list3.
+
+ * fileio.c (Fmake_directory_internal, Fdelete_directory)
+ (Fdelete_file): Simplify; use list1.
+ (Frename_file, Fadd_name_to_file, Fmake_symbolic_link):
+ Simplify; remove NO_ARG_ARRAY stuff, use list2.
+
+2006-08-25 Richard Stallman <rms@gnu.org>
+
+ * buffer.c (Fswitch_to_buffer): Fix previous change.
+
+2006-08-25 Kim F. Storm <storm@cua.dk>
+
+ * keyboard.c (Fcurrent_idle_time): Simplify.
+
+2006-08-25 Richard Stallman <rms@gnu.org>
+
+ * fns.c (sxhash_string): Rotate properly; don't lose bits.
+
+2006-08-24 Francesc Rocher <francesc.rocher@gmail.com>
+
+ * xdisp.c (overline_margin): New variable.
+ (x_produce_glyphs): Use it.
+ (syms_of_xdisp): DEFVAR_INT it.
+
+ * xterm.c (x_underline_at_descent_line): New variable.
+ (syms_of_xterm): DEFVAR_BOOL it.
+ (x_draw_glyph_string): Use it.
+ Draw underline and overline up to the end of line if the face
+ extends to the end of line.
+
+ * macterm.c: Likewise.
+
+ * w32term.c: Likewise.
+
+2006-08-24 Nick Roberts <nickrob@snap.net.nz>
+
+ * buffer.c (Fswitch_to_buffer): Move buffer to front of
+ buffer-alist if necessary.
+
+2006-08-22 Kim F. Storm <storm@cua.dk>
+
+ * xdisp.c (update_tool_bar): Redisplay toolbar also when only
+ number of items changes.
+
+2006-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * buffer.c (Fset_buffer_multibyte): Record proper undo entry.
+
+2006-08-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * keyboard.c: Clarify difference between in_sighandler and
+ handling_signal.
+
+2006-08-21 Kim F. Storm <storm@cua.dk>
+
+ * macterm.c (x_draw_stretch_glyph_string):
+ * w32term.c (x_draw_stretch_glyph_string):
+ * xterm.c (x_draw_stretch_glyph_string): It is ok to draw a
+ stretch glyph in left marginal areas on header and mode lines.
+
+2006-08-21 Kenichi Handa <handa@m17n.org>
+
+ * keyboard.c (syms_of_keyboard): Docstring of
+ Vunread_post_input_method_events and Vunread_input_method_events
+ fixed.
+
+2006-08-20 Chong Yidong <cyd@stupidchicken.com>
+
+ * keyboard.c (show_help_echo): Preserve mouse movement flag if
+ tracking mouse.
+
+2006-08-20 Richard Stallman <rms@gnu.org>
+
+ * xfaces.c (load_pixmap): Add quotes in error message.
+
+ * keyboard.c (Fcurrent_idle_time): New function.
+ (syms_of_keyboard): defsubr it.
+
+2006-08-18 Nick Roberts <nickrob@snap.net.nz>
+
+ * window.c (Fset_window_fringes): Do nothing on a tty.
+ (Fwindow_fringes): Put ? operator after the line break.
+
+2006-08-16 Andreas Schwab <schwab@suse.de>
+
+ * print.c (debug_output_compilation_hack): Fix return type.
+
+2006-08-16 Richard Stallman <rms@gnu.org>
+
+ * print.c (debug_output_compilation_hack): New function.
+
+2006-08-16 Kenichi Handa <handa@m17n.org>
+
+ * fileio.c (choose_write_coding_system): Use LF for end-of-line
+ in auto-saving.
+
+2006-08-15 Chong Yidong <cyd@stupidchicken.com>
+
+ * keyboard.c (read_char): Don't change idle timer state at all if
+ end_time is supplied.
+
+2006-08-15 Kenichi Handa <handa@m17n.org>
+
+ * coding.c (ONE_MORE_BYTE_CHECK_MULTIBYTE): New arg RET. If SRC
+ is exhausted, return with RET.
+ (detect_coding_emacs_mule, detect_coding_iso2022)
+ (detect_coding_sjis, detect_coding_big5, detect_coding_utf_8)
+ (detect_coding_utf_16, detect_coding_ccl): Adjusted for the above
+ change.
+
+2006-08-14 Chong Yidong <cyd@stupidchicken.com>
+
+ * keyboard.c (read_char): Don't reset idle timers if a time limit
+ is supplied.
+
+2006-08-14 Kim F. Storm <storm@cua.dk>
+
+ * .gdbinit (pitx): Print iterator position.
+ Limit stack dump in case iterator is not initialized.
+
+2006-08-12 Eli Zaretskii <eliz@gnu.org>
+
+ * frame.c (Fmouse_position, Fmouse_pixel_position)
+ (Fset_mouse_position, Fset_mouse_pixel_position): Doc fix.
+
+2006-08-11 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * xselect.c (Fx_register_dnd_atom): New function.
+ (syms_of_xselect): Defsubr it.
+ (x_handle_dnd_message): Check that message_type is in
+ dpyinfo->x_dnd_atoms before generating lisp event.
+
+ * xterm.h (struct x_display_info): Add x_dnd_atoms* to keep track
+ of drag and drop Atoms.
+
+ * xterm.c (x_term_init): Initialize dpyinfo->x_dnd_atoms*
+
+
+2006-08-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * keyboard.c: Define in_sighandler.
+ (input_available_signal): Set in_sighandler.
+ (init_keyboard): Initialize in_sighandler.
+
+ * keyboard.h: Declare in_sighandler.
+
+ * alloc.c (UNBLOCK_INPUT_ALLOC, BLOCK_INPUT_ALLOC): Use in_sighandler
+ to check if mutex should be locked or not.
+
+2006-08-09 Richard Stallman <rms@gnu.org>
+
+ * keyboard.c (keyremap_step): No-op if fkey->parent = nil.
+ (read_key_sequence): Always start fkey.start and fkey.end at 0,
+ and likewise for keytran.
+
+2006-08-09 Kenichi Handa <handa@m17n.org>
+
+ * coding.c (syms_of_coding): Improve the docstring
+ file-coding-system-alist.
+
+2006-08-07 Andreas Schwab <schwab@suse.de>
+
+ * puresize.h (BASE_PURESIZE): Increase to 1120000.
+
+2006-08-06 Chong Yidong <cyd@stupidchicken.com>
+
+ * buffer.c (Vchange_major_mode_hook, Qchange_major_mode_hook): New vars.
+ (Fkill_all_local_variables): Use it.
+ (syms_of_buffer): Defvar it.
+
+2006-08-05 Eli Zaretskii <eliz@gnu.org>
+
+ * w32.c (w32_valid_pointer_p): New function.
+
+ * w32.h: Add prototype for w32_valid_pointer_p.
+
+ * alloc.c: Include w32.h.
+ (valid_lisp_object_p) [WINDOWSNT]: Call w32_valid_pointer_p to do
+ the job.
+
+ * keyboard.c (kbd_buffer_get_event): Return Qnil when current time
+ is exactly equal to end_time, not only when it is past that.
+
+2006-08-04 Chong Yidong <cyd@stupidchicken.com>
+
+ * keyboard.c (read_char): Rebalance specpdl after receiving jump.
+
+ * process.c: Reapply 2006-08-01 change.
+
+2006-08-04 Eli Zaretskii <eliz@gnu.org>
+
+ * w32fns.c (w32_query_font): Fix last change: use stricmp.
+
+2006-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * editfns.c (Fsubst_char_in_region): Redo the setup work after running
+ the before-change-functions since they may have altered the buffer.
+
+2006-08-04 Ralf Angeli <angeli@caeruleus.net>
+
+ * w32fns.c (w32_createwindow): Handle -geometry command line option
+ and the geometry settings in the Registry.
+
+2006-08-04 Kenichi Handa <handa@m17n.org>
+
+ * w32fns.c (w32_query_font): Compare names by ignoring case.
+
+ * xterm.c (x_query_font): Compare names by ignoring case.
+
+2006-08-03 Jason Rumney <jasonr@gnu.org>
+
+ * w32menu.c (w32_menu_show, w32_dialog_show): Call Fsignal to quit
+ when no option selected.
+
+2006-08-03 Chong Yidong <cyd@stupidchicken.com>
+
+ * process.c: Revert last change.
+
+2006-08-01 Kim F. Storm <storm@cua.dk>
+
+ * process.c (wait_reading_process_output_unwind): New function.
+ Restores waiting_for_user_input_p to saved value.
+ (wait_reading_process_output): Unwind protect waiting_for_user_input_p
+ instead of save/restore old value on stack.
+
+2006-07-30 Thien-Thi Nguyen <ttn@gnu.org>
+
+ * editfns.c: Undo 2006-06-27 change.
+
+2006-07-29 Eli Zaretskii <eliz@gnu.org>
+
+ * coding.c (Ffind_operation_coding_system): Revert the change from
+ 2006-05-29.
+
+ * alloc.c [WINDOWSNT]: Include fcntl.h, to fix last change.
+
+2006-07-28 Richard Stallman <rms@gnu.org>
+
+ * xfaces.c (lookup_named_face, Fdisplay_supports_face_attributes_p):
+ Add conditional aborts for clarity.
+
+ * xdisp.c (update_menu_bar): New arg HOOKS_RUN. Callers changed.
+ Used to avoid running the hooks over and over for each frame.
+ (prepare_menu_bars): Pass value from update_menu_bar
+ as HOOKS_RUN of next call.
+
+ * keyboard.c (safe_run_hooks_1): Don't crash if Vrun_hooks is nil.
+
+2006-07-28 Kim F. Storm <storm@cua.dk>
+
+ * alloc.c (valid_pointer_p): New function (from valid_lisp_object_p).
+ (valid_lisp_object_p): Use it to check for valid SUBRP obj.
+
+2006-07-26 Chong Yidong <cyd@stupidchicken.com>
+
+ * keyboard.c (read_char): New arg END_TIME specifying timeout.
+ All callers changed. Turn off echoing if END_TIME is non-NULL.
+ (kbd_buffer_get_event): New arg END_TIME.
+
+ * lread.c (read_filtered_event): New arg SECONDS to wait until.
+ (Fread_char, Fread_event, Fread_char_exclusive): New arg SECONDS.
+
+ * lisp.h: Update read-char, read-event, and read_filtered_event
+ prototypes.
+
+ * keyboard.h: Include systime.h. Update read_char prototype.
+
+2006-07-25 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * alloc.c (find_string_data_in_pure): New function.
+ (make_pure_string): Use it to reuse existing string data if possible.
+
+ * puresize.h (BASE_PURESIZE): Decrease to 1102000.
+
+2006-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * keymap.c (Fdefine_key): If the key binding definition looks like an
+ XEmacs-style key sequence, convert it to Emacs's format.
+
+2006-07-22 Ralf Angeli <angeli@caeruleus.net>
+
+ * w32fns.c (w32_createwindow): If `left' and/or `top' frame
+ parameters are bound to some values, use that instead of
+ CW_USEDEFAULT.
+
+2006-07-21 Eli Zaretskii <eliz@gnu.org>
+
+ * w32.c (convert_time): Use explicit long double constants to
+ ensure long double arithmetics is used throughout.
+
+2006-07-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * alloc.c (pure_bytes_used_lisp, pure_bytes_used_non_lisp): New vars.
+ (init_alloc_once): Initialize them.
+ (pure_alloc): Allocate non-Lisp objects from the end of pure storage
+ without alignment.
+
+ * puresize.h (BASE_PURESIZE): Decrease to 1141000.
+
+2006-07-18 Francis Litterio <franl@world.std.com>
+
+ * w32term.c (x_calc_absolute_position): Fix frame positioning
+ with negative X/Y coordinates.
+
+2006-07-18 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * xterm.c (x_connection_closed, x_error_quitter): Mark as NO_RETURN.
+
+ * textprop.c (text_read_only): Likewise.
+
+ * lread.c (end_of_file_error): Likewise.
+
+ * lisp.h (circular_list_error, memory_full, buffer_memory_full):
+ Likewise.
+
+ * eval.c (unwind_to_catch): Likewise.
+
+ * buffer.h (buffer_slot_type_mismatch): Likewise.
+
+2006-07-18 Kim F. Storm <storm@cua.dk>
+
+ Cleanup Fsignal calls that never returns; now only use it for Qquit.
+
+ * eval.c (xsignal): New func. Like Fsignal, but marked no-return.
+ (xsignal0, xsignal1, xsignal2, xsignal3): New no-return functions.
+ (signal_error): New no-return function (from xfaces.c).
+ (Fthrow): Use xsignal2 instead of Fsignal + abort.
+ (error): Use xsignal1 instead of Fsignal + abort.
+ (FletX, Flet, grow_specpdl): Use signal_error.
+ (Feval, Ffuncall, funcall_lambda): Use xsignal1, xsignal2.
+
+ * alloc.c (buffer_memory_full, memory_full): Use xsignal. Remove loop.
+ (list1): New function.
+
+ * lisp.h (list1): Add EXFUN.
+ (xsignal, xsignal0, xsignal1, xsignal2, xsignal3, signal_error):
+ Add prototypes. Mark them as no-return.
+
+ * buffer.c (Fbuffer_local_value, Fbarf_if_buffer_read_only):
+ Use xsignal1.
+
+ * callint.c (check_mark): Use xsignal0.
+
+ * casefiddle.c (casify_object): wrong_type_argument is no-return.
+
+ * cmds.c (Fforward_char, Fdelete_char): Use xsignal0.
+
+ * coding.c (Fcheck_coding_system): Use xsignal1. Remove loop.
+ (Fdefine_coding_system_internal): Use xsignal1.
+
+ * data.c (circular_list_error): Use xsignal.
+ (wrong_type_argument): Use xsignal2. Don't care about return value.
+ (args_out_of_range, args_out_of_range_3): Use xsignal2, xsignal3.
+ Remove loop around Fsignal.
+ (indirect_variable, Fsymbol_value, set_internal, Fdefault_value)
+ (indirect_function, Findirect_function, Fstring_to_number)
+ (Fmakunbound, Ffmakunbound, Fsymbol_function, Ffset): Use xsignal1.
+ (arith_driver, float_arith_driver, Frem, Fmod, arith_error):
+ Use xsignal0.
+
+ * doc.c (Fdocumentation): Use xsignal1.
+
+ * editfns.c (region_limit, Fget_internal_run_time): Use xsignal0.
+
+ * fileio.c (report_file_error): Use xsignal.
+ (barf_or_query_if_file_exists, Fcopy_file, Fdelete_file)
+ (Finsert_file_contents): Use xsignal2.
+ (syms_of_fileio): Use list2, list3.
+
+ * floatfns.c (arith_error, range_error, domain_error): Use xsignal2.
+ (range_error2, domain_error2): Use xsignal3.
+ (rounding_driver, fmod_float): Use xsignal0.
+ (float_error): Use xsignal1.
+ (matherr): Use xsignal.
+
+ * fns.c (Flength): wrong_type_argument is no-return.
+ (hashfn_user_defined, Fmake_hash_table): Use signal_error.
+ (Fmd5): Use xsignal1.
+
+ * frame.c (x_set_line_spacing, x_set_screen_gamma): Use signal_error.
+
+ * keyboard.c (recursive_edit_1): Use xsignal1.
+
+ * keymap.c (Fmap_keymap): Use xsignal1.
+
+ * lread.c (Fload): Use xsignal2, signal_error.
+ (end_of_file_error): Use xsignal0, xsignal1.
+ (read0): Use xsignal1.
+ (invalid_syntax): New error function marked no-return.
+ (read_integer, read1, read_list): Use it.
+
+ * macselect.c (x_get_local_selection): Use signal_error.
+
+ * msdos.c (Fmsdos_set_mouse_buttons): Use xsignal2.
+
+ * search.c (compile_pattern_1): Use xsignal1.
+ (signal_failure): Remove (was only called once).
+ (search_command): Use xsignal1 instead of signal_failure.
+
+ * syntax.c (scan_lists): Use xsignal3.
+
+ * textprop.c (text_read_only): Use xsignal0, xsignal1.
+
+ * unexsol.c (unexec): Use xsignal.
+
+ * window.c (window_scroll_pixel_based, window_scroll_line_based):
+ Use xsignal0.
+
+ * xfaces.c (signal_error): Move to eval.c.
+ (resolve_face_name): Use xsignal1.
+
+ * xfns.c (x_decode_color): Use signal_error.
+
+ * xselect.c (x_get_local_selection, copy_multiple_data)
+ (x_get_window_property_as_lisp_data)
+ (lisp_data_to_selection_data, CHECK_CUT_BUFFER)
+ (Fx_get_cut_buffer_internal): Use signal_error.
+
+2006-07-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * macterm.c (XTread_socket): Undo previous change.
+
+2006-07-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * macterm.c (keycode_to_xkeysym): Remove function. All uses now
+ directly lookup keycode_to_xkeysym_table.
+ [USE_MAC_TSM] (mac_handle_text_input_event): Don't construct
+ ASCII_KEYSTROKE_EVENT for non-zero keycode_to_xkeysym_table entries.
+ (XTread_socket): Use character codes to construct keypad key events.
+ (mac_initialize_display_info) [MAC_OSX]: Use CGDisplaySamplesPerPixel.
+ (x_delete_display): Apply 2006-07-04 change for xterm.c.
+
+2006-07-17 Richard Stallman <rms@gnu.org>
+
+ * keyboard.c (Vcommand_error_function): New variable.
+ (syms_of_keyboard): Defvar it.
+ (cmd_error_internal): Simplify, and handle Vcommand_error_function.
+
+ * dispnew.c (init_display): Mention DISPLAY as well as TERM in err msg.
+
+2006-07-17 Kim F. Storm <storm@cua.dk>
+
+ * xdisp.c (handle_single_display_spec): Ensure the right value of
+ it->position is saved by push_it.
+ (pop_it): Restore it->object for GET_FROM_BUFFER and GET_FROM_STRING.
+ (reseat_1): Don't setup it->object twice.
+ (set_iterator_to_next): No need to set it->object after pop_it.
+ (move_it_to): Explicitly check to see if last move reached to_charpos.
+
+2006-07-17 Thien-Thi Nguyen <ttn@gnu.org>
+
+ * xdisp.c (display_mode_line): Preserve match data.
+
+2006-07-14 Kim F. Storm <storm@cua.dk>
+
+ * w32.c (pfn_WSACreateEvent, pfn_WSACloseEvent): New func ptrs.
+ (init_winsock): Load them. Use ws2_32.dll.
+ (sys_listen): Undo last change. Just set FILE_LISTEN flag.
+ (sys_accept): Undo last change. Instead, set child status to
+ STATUS_READ_ACKNOWLEDGED and reset char_avail event so next
+ sys_select will wakeup the reader thread.
+ (_sys_wait_accept): New function used by reader thread to wait for
+ an incoming connection on a server socket.
+
+ * w32.h (_sys_read_ahead, _sys_wait_accept): Add prototypes.
+
+ * w32proc.c (reader_thread): Use _sys_wait_accept to wait on a
+ server socket (FILE_LISTEN flag).
+
+2006-07-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * sound.c (alsa_init): Call snd_pcm_close after successful snd_pcm_open.
+
+2006-07-14 Kim F. Storm <storm@cua.dk>
+
+ * w32.c: Fix high cpu load for server sockets.
+ (pfn_WSAEventSelect): New function ptr.
+ (init_winsock): Load it.
+ (sys_listen): Set FILE_LISTEN flag. Set event mask for socket's
+ char_avail event object to FD_ACCEPT.
+ (sys_accept): Check FILE_LISTEN flag. Set event mask on new
+ socket's char_avail event object to FD_READ|FD_CLOSE.
+
+ * w32.h (FILE_LISTEN): New filedesc flag value.
+
+2006-07-13 Kim F. Storm <storm@cua.dk>
+
+ * bytecode.c (Fbyte_code): Use CAR, CDR for Bcar, Bcdr.
+ Use CAR_SAFE, CDR_SAFE for Bcar_safe, Bcdr_safe.
+ Simplify loops and use CAR for Bnth and Belt.
+
+ * data.c (Findirect_function): Optimize for no indirection.
+
+ * eval.c (Fthrow): Remove loop around Fsignal.
+ (Feval, Fapply, Ffuncall): Optimize for no function indirection.
+ Use original function name in all signaled errors.
+ Simplify Fsignal calls (no return).
+ (funcall_lambda): Simplify Fsignal calls (no return).
+
+2006-07-13 Andreas Schwab <schwab@suse.de>
+
+ * syntax.c (scan_sexps_forward): Use EMACS_INT for out_bytepos and
+ out_charpos.
+
+2006-07-13 Kenichi Handa <handa@m17n.org>
+
+ * editfns.c (Fformat): Fix calculation of text property positions
+ of format string.
+
+2006-07-12 Kim F. Storm <storm@cua.dk>
+
+ * lisp.h (CHECK_TYPE): New macro for generic type checking.
+ (CAR_SAFE, CDR_SAFE): New macros.
+ (ARRAYP, CHECK_ARRAY): New macros.
+ (CHECK_VECTOR_OR_STRING, CHECK_SUBR): New macros.
+ (CHECK_WINDOW_CONFIGURATION): New macro.
+ (CHECK_LIST_CONS, CHECK_LIST_END): New checks for list traversal.
+ (CHECK_STRING_OR_BUFFER, CHECK_HASH_TABLE, CHECK_LIST)
+ (CHECK_STRING, CHECK_STRING_CAR, CHECK_CONS, CHECK_SYMBOL)
+ (CHECK_CHAR_TABLE, CHECK_VECTOR, CHECK_VECTOR_OR_CHAR_TABLE)
+ (CHECK_BUFFER, CHECK_WINDOW, CHECK_LIVE_WINDOW, CHECK_PROCESS)
+ (CHECK_NUMBER, CHECK_NATNUM, CHECK_MARKER, CHECK_OVERLAY)
+ (CHECK_NUMBER_COERCE_MARKER, CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT)
+ (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER): Use CHECK_TYPE.
+
+ * category.h (CHECK_CATEGORY, CHECK_CATEGORY_SET):
+ * frame.h (CHECK_FRAME, CHECK_LIVE_FRAME): Use CHECK_TYPE.
+
+ * callint.c (Fcall_interactively):
+ * casefiddle.c (casify_object):
+ * editfns.c (general_insert_function):
+ * fns.c (Flength, Felt, Ffillarray):
+ * data.c (Fcar, Fcdr): Remove loop around wrong_type_argument.
+
+ * data.c (wrong_type_argument): Remove loop around Fsignal.
+ (Farrayp, Fsequencep): Use ARRAYP.
+ (Fcar): Use CAR.
+ (Fcar_safe): Use CAR_SAFE.
+ (Fcdr): Use CDR.
+ (Fcdr_safe): Use CDR_SAFE.
+ (Fsetcar, Fsetcdr): Use CHECK_CONS.
+ (Fsubr_arity, Fsubr_name): Use CHECK_SUBR.
+ (Faset): Use CHECK_ARRAY.
+
+ * fns.c (Felt): Use CHECK_ARRAY.
+ (concat): Use CHECK_NUMBER.
+ (Fsubstring, substring_both): Use CHECK_VECTOR_OR_STRING.
+ (Fmemq): Use CHECK_LIST.
+ (Fassq, Fassoc, Frassq, Frassoc): Use CAR.
+ (assq_no_quit): Use CAR_SAFE.
+ (Fnthcdr, Fmember, Fdelq, Fdelete, Fnreverse, Fnconc):
+ Use CHECK_LIST_CONS.
+ (Freverse, Fplist_get, Flax_plist_get): Use CHECK_LIST_END.
+
+ * bytecode.c (Fbyte_code): Use CHECK_VECTOR.
+
+ * casetab.c (check_case_table):
+ * category.c (check_category_table):
+ * marker.c (Fcopy_marker):
+ * syntax.c (check_syntax_table):
+ * xfaces.c (load_pixmap): Use CHECK_TYPE.
+
+ * fns.c (Fcopy_sequence, concat):
+ * fringe.c (Fdefine_fringe_bitmap):
+ * lread.c (check_obarray): Cleanup wrong_type_argument use.
+
+ * keyboard.c (access_keymap_keyremap): Use ARRAYP.
+
+ * keymap.c (Fdefine_key, Flookup_key):
+ * macros.c (Fstart_kbd_macro): Use CHECK_VECTOR_OR_STRING.
+
+ * mac.c (Fmac_get_preference): Use CHECK_LIST_END.
+
+ * search.c (Fset_match_data): Use CHECK_LIST.
+
+ * sunfns.c (sun_item_create): Use CHECK_LIST_CONS.
+
+ * window.c (Fwindow_configuration_frame, Fset_window_configuration):
+ (compare_window_configurations): Use CHECK_WINDOW_CONFIGURATION.
+
2006-07-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* Makefile.in (dired.o, editfns.o, fileio.o): Depend on blockinput.h.
2006-07-11 Kim F. Storm <storm@cua.dk>
- * dispnew.c (Fredisplay): Add FORCE argument to force redisplay when
+ * dispnew.c (Fredisplay): Add FORCE argument to force redisplay when
input is available. Fix test for redisplay_dont_pause non-nil.
Specbind redisplay-dont-pause to t if FORCE non-nil.
2006-06-14 Chong Yidong <cyd@stupidchicken.com>
- * xdisp.c (back_to_previous_visible_line_start): Reset
- it->continuation_lines_width.
+ * xdisp.c (back_to_previous_visible_line_start):
+ Reset it->continuation_lines_width.
2006-06-14 Richard Stallman <rms@gnu.org>
2006-06-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
- * macterm.c [USE_MAC_TSM] (mac_handle_text_input_event): Exclude
- 0x7f from ASCII range.
+ * macterm.c [USE_MAC_TSM] (mac_handle_text_input_event):
+ Exclude 0x7f from ASCII range.
2006-06-05 Jason Rumney <jasonr@gnu.org>
* regex.c (re_error_msgid): Add an entry for REG_ERANGEX.
(regex_compile): Return REG_ERANGEX if appropriate.
-2004-10-22 Kenichi Handa <handa@m17n.org>
-
- * editfns.c (Ftranslate_region_internal): New function.
- (syms_of_editfns): Defsubr it.
-
2004-10-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
* xfns.c (xic_create_xfontset): Initialize missing_list to NULL.