(Fset_window_buffer): Doc fix.
[bpt/emacs.git] / src / ChangeLog
index 144e489..5242693 100644 (file)
@@ -1,4 +1,583 @@
-2004-06-28  Steven Tamm  <tamm@Steven-Tamms-Computer.local>
+2004-09-08  Richard M. Stallman  <rms@gnu.org>
+
+       * window.c (Fset_window_buffer): Doc fix.
+
+       * xdisp.c (Fformat_mode_line): New arg BUFFER says which buffer to use.
+
+2004-09-08  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * minibuf.c (history_delete_duplicates): New variable.
+       (read_minibuf): Use it.
+       (syms_of_minibuf): Create the corresponding lisp variable.
+
+2004-09-08  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (set_cursor_from_row): Also look at 'cursor' property in
+       overlay just before point.
+
+2004-09-07  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * buffer.h (struct buffer): Add auto_save_file_format field.
+       * buffer.c (reset_buffer, init_buffer_once): Handle
+       auto_save_file_format field.
+       (syms_of_buffer): Add DEFVAR_PER_BUFFER for
+       `buffer-auto-save-file-format'.
+       * fileio.c: Delete declaration for removed Vauto_save_file_format.
+       (build_annotations): Adapt to replacement of
+       `auto-save-file-format' with the new buffer-local variable
+       `buffer-auto-save-file-format'.
+       (syms_of_fileio): Delete DEFVAR_LISP for auto-save-file-format.
+
+2004-09-07  Jason Rumney  <jasonr@gnu.org>
+
+       * w32term.h (AppendMenuW_Proc): Move declaration from w32menu.c.
+
+       * w32fns.c (w32_wnd_proc) [WM_MEASUREITEM, WM_DRAWITEM]: Handle
+       Unicode menu titles.
+
+2004-09-07  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (set_cursor_from_row): Fix last change.  Only use 'cursor'
+       property from text property or overlay strings at point.
+
+2004-09-07  Stefan  <monnier@iro.umontreal.ca>
+
+       * xmenu.c (update_submenu_strings): YAILOM.
+       (set_frame_menubar): Make sure last_i is initialized.
+
+2004-09-03  Jason Rumney  <jasonr@gnu.org>
+
+       * w32menu.c (_widget_value): Add lname and lkey.
+       (digest_single_submenu): Set lname and lkey in widget_value
+       instead of name and key.
+       (update_submenu_strings): New function.
+       (set_frame_menubar): Remove call to inhibit_garbage_collection,
+       call update_submenu_strings.
+
+       * w32menu.c (globals_of_w32menu): Check for Unicode API.
+       (digest_single_submenu, w32_menu_show): Encode menu strings as
+       UTF-8 if Unicode API is available.
+       (utf8to16): New function.
+       (add_menu_item): Use it when calling Unicode API.
+
+2004-09-03  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (set_cursor_from_row): Look for non-nil `cursor' property
+       in overlay or text-property strings; set cursor on corresponding
+       glyph rather than at end of the string.
+
+2004-09-02  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macfns.c (x_real_positions): Save the current window port and
+       set a new one before obtaining the global coordinate.
+       Use FRAME_MAC_WINDOW.
+       (x_set_name, x_set_title): Encode title to UTF8.
+       Use SetWindowTitleWithCFString.
+       (Fx_server_version): Get correct OS version.
+
+       * macmenu.c (add_menu_item): Remove unused variable `i'.
+       Don't let separator items destroy refence constants of other menu items.
+
+       * macterm.c (x_update_end): Move SetPortWindowPort to inside
+       BLOCK_INPUT.
+       (x_set_offset): Use FRAME_MAC_WINDOW.
+
+       * xdisp.c (note_mouse_highlight): Set the mouse pointer shape to
+       nontext_cursor if it is on a scroll bar.
+
+       * s/darwin.h (LIBS_CARBON): New define to specify libraries for
+       Carbon support.
+       (LD_SWITCH_SYSTEM_TEMACS): Don't link with unused libstdc++.
+       Use LIBS_CARBON.
+
+2004-09-02  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * xfns.c (x_set_name_internal): New function.  Check if we shall call
+       xfree before ENCODE_UTF_8.
+       (x_set_name, x_set_title): Call x_set_name_internal.
+
+2004-08-31  NAKAMURA Toshikazu  <nr-tkz@nifty.com>  (tiny change)
+
+       * w32fns.c (w32_load_font): If a BDF font is already loaded, do not
+       reload it.
+
+2004-08-30  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * macmenu.c (_widget_value): Add lname and lkey.
+       (single_submenu): Set lname and lkey in widget_value
+       instead of name and key.
+       (update_submenu_strings): New function.
+       (set_frame_menubar): Remove call to inhibit_garbage_collection,
+       call update_submenu_strings.
+
+       * xmenu.c (digest_single_submenu): Set lname and lkey in widget_value
+       instead of name and key.
+       (update_submenu_strings): New function.
+       (set_frame_menubar): Remove call to inhibit_garbage_collection,
+       call update_submenu_strings.
+
+       * gtkutil.h (_widget_value): Added lname and lkey.
+
+2004-08-30  Steven Tamm  <steventamm@mac.com>
+
+       * macmenu.c (mac_menu_show): Remove shadowing of menu variable
+       by using different names for inner loop variables.
+
+2004-08-27  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * xmenu.c (set_frame_menubar): Reintroduce inhibit_garbage_collection
+       from 2002-07-15T00:01:34Z!raeburn@raeburn.org so that strings from ENCODE_UTF_8 isn't GC:ed before used.
+
+       * gtkutil.c (xg_create_frame_widgets): Compensate for tool bar when
+       tool bar items is 0.
+
+2004-08-26  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macmenu.c (ENCODE_MENU_STRING): Added to handle multibyte
+       strings in menu items.
+       (single_submenu): Use ENCODE_MENU_STRING
+       (mac_menu_show): Use ENCODE_MENU_STRING.  Reset grabbed because
+       button release isn't passed to event loop
+       (add_menu_item): Use SetMenuItemWithCFString
+
+2004-08-26  Steven Tamm  <steventamm@mac.com>
+
+       * fileio.c (Fread_file_name): Call x_file_dialog on carbon on
+       tool-bar/menu click
+       * macfns.c (Fx_file_dialog): Implemented using NavServices
+
+2004-08-24  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * xterm.c (x_catch_errors_unwind): Do not XSync if display has closed.
+
+       * xfns.c (x_window_to_frame, x_any_window_to_frame)
+       (x_non_menubar_window_to_frame, x_menubar_window_to_frame)
+       (x_top_window_to_frame): Return 0 if wdesc is None.
+
+2004-08-22  Richard M. Stallman  <rms@gnu.org>
+
+       * process.c (process_send_signal) [SIGNALS_VIA_CHARACTERS,
+       HAVE_TERMIOS]: If there's no char for this signal, drop through
+       and use system calls.
+
+       * bytecode.c (Fbyte_code) <unwind-protect>: Cannot GC.
+
+2004-08-20  Kim F. Storm  <storm@cua.dk>
+
+       * process.c (wait_reading_process_output): Rename from
+       wait_reading_process_input.  All uses changed.
+       (wait_reading_process_output_1): Rename from
+       wait_reading_process_input_1.  All uses changed.
+
+       * dispnew.c (Fsleep_for): Remove obsolete code.
+
+2004-08-20  Kenichi Handa  <handa@m17n.org>
+
+       * syntax.c (skip_chars): Fix for unibyte case.
+
+2004-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * syntax.c (char_quoted): Mixup byte/char pos.
+       (back_comment): Fixup globals in all cases.
+
+2004-08-19  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * xfns.c (x_set_name, x_set_title): Encode title to UTF8 before
+       passing it to gtk_window_set_title.
+
+2004-08-19  Kim F. Storm  <storm@cua.dk>
+
+       * process.c (wait_reading_process_input): Clean up.
+       Add wait_for_cell, wait_proc, and just_wait_proc args
+       to avoid overloading `read_kbd' and `do_display' args.
+       Change read_kbd arg to int.  All callers changed.
+
+       * process.c (process_send_signal): Use CDISABLE.
+
+       * sysdep.c (child_setup_tty, init_sys_modes): Use CDISABLE.
+
+2004-08-18  Kim F. Storm  <storm@cua.dk>
+
+       * process.c (Faccept_process_output): Add arg JUST-THIS-ONE;
+       forward to wait_reading_process_input via DO_DISPLAY arg.
+       (wait_reading_process_input): If DO_DISPLAY < 0 for a process
+       object, only process output from that process; also inhibit
+       running timers if DO_DISPLAY==-2.
+
+2004-08-17  Kim F. Storm  <storm@cua.dk>
+
+       * process.c (process_send_signal): Fix last change--use
+       _POSIX_VDISABLE instead of CVDISABLE when available.
+
+2004-08-16  Richard M. Stallman  <rms@gnu.org>
+
+       * sysdep.c (child_setup_tty) [SIGNALS_VIA_CHARACTERS]:
+       Set VQUIT and VINTR chars to the standard ones if they are unset.
+       [AIX]: Don't do that here.  And don't force VINTR to standard
+       when SIGNALS_VIA_CHARACTERS.
+
+       * process.c (process_send_signal)
+       [SIGNALS_VIA_CHARACTERS, HAVE_TERMIOS]: Clean up.
+       Do nothing if the character is CVDISABLE.
+
+       * xfaces.c (merge_face_ref): Specifying `unspecified' is a no-op.
+
+       * intervals.c (move_if_not_intangible):
+       Force POSITION to be between BEGV and ZV.
+
+2004-08-14  John Paul Wallington  <jpw@gnu.org>
+
+       * buffer.c (Frestore_buffer_modified_p): Doc fix.
+
+       * fileio.c (Fread_file_name): Doc fix.
+
+       * minibuf.c (syms_of_minibuf) <completion-ignore-case>: Doc fix.
+
+2004-08-09  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * keymap.c (Fmake_keymap, Fmap_keymap, Fwhere_is_internal): Doc fixes.
+
+2004-08-08  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * keyboard.c: Declare Qdisabled_command_function instead of
+       Qdisabled_command_hook.
+       (Fcommand_execute): Use Qdisabled_command_function instead of
+       Qdisabled_command_hook.
+       (syms_of_keyboard): Ditto.
+
+2004-08-07  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * keymap.c (Flocal_key_binding, Fglobal_key_binding)
+       (syms_of_keymap) <key-translation-map>: Doc fixes.
+
+2004-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * window.c (window_list_1): YAILOM.
+
+       * fileio.c (make_temp_name): Handle multibyte prefixes.
+
+2004-08-06  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * keyboard.c (syms_of_keyboard) <overriding-terminal-local-map>:
+       Doc fix.
+
+2004-08-03  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (decode_coding_string): Adjust coding->consumed, and
+       etc. with shrinked_bytes.
+
+2004-08-03  Kim F. Storm  <storm@cua.dk>
+
+       * indent.c (compute_motion): Fix check for full width window
+       in non-window case.  Do not count left truncation glyph on
+       window systems.
+
+2004-08-02  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * data.c (Finteractive_form): Doc fix.
+
+2004-08-02  Kim F. Storm  <storm@cua.dk>
+
+       * indent.c (compute_motion): Use actual window width if WIDTH is -1,
+       properly accounting for continuation glyph on non-window systems.
+       (Fcompute_motion): Use actual window width if WIDTH is nil, and
+       actual window width/height if TOPOS is nil, properly accounting for
+       continuation glyphs on non-window systems, and optional header lines.
+       (vmotion): Let compute_motion calculate actual window width.
+
+       * window.c (window_scroll_line_based): Let compute_motion
+       calculate actual window width.
+
+2004-08-02  Kim F. Storm  <storm@cua.dk>
+
+       * process.c (read_process_output): Use whole read buffer.
+       Don't trigger adaptive read buffering on errors.
+
+2004-07-31  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * keymap.c (Fset_keymap_parent, Fdefine_prefix_command): Doc fixes.
+
+       * keyboard.c (syms_of_keyboard) <disable-point-adjustment>:  Doc fix.
+
+       * callint.c (Fcall_interactively): Doc fix.
+
+2004-07-30  Richard M. Stallman  <rms@gnu.org>
+
+       * abbrev.c (Fexpand_abbrev): Undo previous change.
+
+2004-07-30  Kim F. Storm  <storm@cua.dk>
+
+       * editfns.c (Fformat): Allocate extra (dummy) element in info.
+
+2004-07-28  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * eval.c (Fdefvar, Fdefconst): Doc fixes.
+
+2004-07-27  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (move_it_in_display_line_to): Check BUFFER_POS_REACHED_P after
+       we have ensured that the glyph fits on the current line (or returned
+       MOVE_LINE_CONTINUED otherwise).
+
+2004-07-26  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (move_it_in_display_line_to): If overflow-newline-into-fringe
+       is enabled, return MOVE_LINE_CONTINUED rather than MOVE_POS_MATCH_OR_ZV
+       if target position is at end of display line but char is not a newline.
+
+2004-07-25  Richard M. Stallman  <rms@gnu.org>
+
+       * window.c (coordinates_in_window): Return ON_SCROLL_BAR
+       instead of ON_VERTICAL_BORDER, when on scroll bar.
+       (Fcoordinates_in_window_p): Handle ON_SCROLL_BAR--return nil.
+
+       * dispextern.h (enum window_part): Add ON_SCROLL_BAR.
+
+       * window.c (Fcoordinates_in_window_p):
+       Take account of FRAME_INTERNAL_BORDER_WIDTH.
+
+       * alloc.c (check_cons_list): New function (contents commented out).
+
+2004-07-24  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * xfaces.c (Fcolor_supported_p): Doc fix.
+
+       * frame.c (Fselect_frame, Fset_frame_selected_window)
+       (Fframe_visible_p, Fraise_frame): Doc fixes.
+
+2004-07-24  Richard M. Stallman  <rms@gnu.org>
+
+       * keyboard.h (not_single_kboard_state): Declared.
+
+       * fileio.c (Fwrite_region): Doc fix.
+
+       * window.c (Fwindow_at): Take account of FRAME_INTERNAL_BORDER_WIDTH.
+
+       * abbrev.c (Fexpand_abbrev): Run Qpre_abbrev_expand_hook
+       only when a real abbrev is present.
+
+       * xfns.c (x_icon_verify): New function.
+       (Fx_create_frame): Use it.
+
+2004-07-22  Barry Fishman <barry_fishman@att.net>  (tiny change)
+
+       * s/gnu-linux.h: Use GC_MARK_STACK if __amd64__ is defined.
+
+2004-07-21  Kim F. Storm  <storm@cua.dk>
+
+       * window.h (struct glyph_matrix): New members nrows_scale_factor
+       and ncols_scale_factor.
+
+       * window.c (make_window): Initialize nrows_scale_factor and
+       ncols_scale_factor members.
+
+       * dispnew.c (margin_glyphs_to_reserve): Apply ncols_scale_factor.
+       (allocate_matrices_for_frame_redisplay): Fix left/right margin mix-up.
+       (required_matrix_height): Apply nrows_scale_factor.
+       (required_matrix_width): Apply ncols_scale_factor.
+
+       * xdisp.c (display_line): Increment nrows_scale_factor and set
+       fonts_changed_p if past last allocated row.
+       (append_glyph, append_composite_glyph, produce_image_glyph)
+       (append_stretch_glyph): Increment ncols_scale_factor and set
+       fonts_changed_p if current area is full.
+
+2004-07-21  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * widget.c (EmacsFrameDestroy): Don't abort if normal_gc is 0.
+
+2004-07-19  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * window.c (Fpos_visible_in_window_p, Fset_window_hscroll)
+       (Fwindow_inside_pixel_edges, Fwindow_end, Fset_window_point)
+       (Fset_window_start, Fscroll_up, Fscroll_down)
+       (Fother_window_for_scrolling, Fscroll_other_window)
+       (Fsave_window_excursion, Fset_window_vscroll)
+       (syms_of_window) <window-size-fixed>: Doc fixes.
+
+2004-07-19  KOBAYASHI Yasuhiro  <kobayays@otsukakj.co.jp>  (tiny change)
+
+       * w32fns.c (Fx_file_dialog): Use ENCODE_FILE instead of
+       ENCODE_SYSTEM for filenames.
+
+2004-07-18  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * mac.c (sys_select): Block input around call to
+       ReceiveNextEvent to prevent breakage.  Correctly handle
+       blocking on event queue only by calling ReceiveNextEvent
+       instead of select (since GUI events aren't on an fd).
+       (sys_read): Remove function
+       * sysdep.c: Remove redefine of read to sys_read if HAVE_CARBON
+
+2004-07-18  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * mac.c (sys_select): Redo sys_select to use alarm-based
+       polling instead of 1 sec timeouts (like solaris).
+
+       * macterm.c (x_make_frame_visible): Comment in polling on
+       frame creation.
+
+       * keyboard.c: Undef SIGIO on Carbon
+
+       * atimer.c (alarm_signal_handler): Call alarm handlers after
+       scheduling.
+
+       * eval.c (Feval): Remove quit_char test
+
+       * process.c (wait_reading_process_input): Remove clearing
+       stdin for select call on process input.
+
+2004-07-18  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * xdisp.c (syms_of_xdisp) <window-scroll-functions>: Correct
+       capitalization error in docstring.
+
+2004-07-17  Juanma Barranquero  <lektu@terra.es>
+
+       * keyboard.c (not_single_kboard_state): Do nothing unless
+       MULTI_KBOARD is defined.
+
+2004-07-17  Richard M. Stallman  <rms@gnu.org>
+
+       * window.c (coordinates_in_window): Inside the window but outside
+       its box to the L or R, return ON_VERTICAL_BORDER.
+       (window_list_1): Rotate the list to start with WINDOW.
+
+       * print.c (print_preprocess): Test for print_depth at limit
+       before entering in being_printed.
+
+       * keyboard.c (not_single_kboard_state): New function.
+       (stuff_buffered_input): Now no-op only if no SIGTSTP.
+
+       * frame.c (Fdelete_frame): If we're in single_bboard_state on
+       this kboard, and we delete its last frame, go to any_kboard_state.
+
+       * buffer.c (syms_of_buffer) <transient-mark-mode>: Doc fix.
+
+2004-07-15  KOBAYASHI Yasuhiro  <kobayays@otsukakj.co.jp>  (tiny change)
+
+       * w32fns.c (Fx_file_dialog): Encode strings in system coding
+       system before passing them to OS functions for display.
+
+2004-07-15  David Kastrup  <dak@gnu.org>
+
+       * search.c (syms_of_search): Staticpro `saved_last_thing_searched'.
+       Apparently fixes an abort condition.
+
+2004-07-14  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * fileio.c (Fvisited_file_modtime): Return a list of two integers,
+       instead of a cons.
+
+2004-07-14  K\e,Ba\e(Broly L\e,Bu\e(Brentey  <lorentey@elte.hu>
+
+       * keyboard.c (echo_dash): Do nothing if there already is a dash
+       at the end of the echo string.
+
+2004-07-12  Kim F. Storm  <storm@cua.dk>
+
+       * alloc.c (mark_object): Only look at Lisp_Misc_Save_Value
+       if GC_MARK_STACK.
+
+2004-07-10  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * buffer.c (Fswitch_to_buffer, Fpop_to_buffer): Doc fixes.
+
+       * window.c (Fwindow_buffer, Fother_window,  Fget_lru_window)
+       (Fget_largest_window, Fget_buffer_window, Fdelete_windows_on)
+       (Freplace_buffer_in_windows, Fset_window_buffer)
+       (Fselect-window, Fdisplay-buffer, Fsplit_window): Doc fixes.
+       (syms_of_window): Expand docstring of `display-buffer-function'.
+
+2004-07-09  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * editfns.c (Ffloat_time, Fformat_time_string, Fdecode_time)
+       (Fcurrent_time_string, Fcurrent_time_zone): Mention in docstrings
+       that time values of the type (HIGH . LOW) are considered obsolete.
+
+2004-07-06  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * keyboard.c (syms_of_keyboard): Fix `keyboard-translate-table'
+       docstring.
+
+       * fns.c (Fclear_string): Declare `len' before call to CHECK_STRING.
+
+2004-07-06  John Paul Wallington  <jpw@gnu.org>
+
+       * eval.c (Fdefmacro): Signal an error if NAME is not a symbol.
+
+       * fns.c (Fclear_string): Signal an error if STRING is not a string.
+
+2004-07-05  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * macterm.c (mac_initialize_display_info): Use CGGetActiveDisplayList
+       instead of CGMainDisplayID (only in OSX 10.2 and later).
+
+2004-07-04  John Paul Wallington  <jpw@gnu.org>
+
+       * fileio.c (read_file_name_completion_ignore_case): New variable.
+       (syms_of_fileio): Declare and initialise it.
+       (Fread_file_name): Bind `completion-ignore-case' to respect it.
+
+2004-07-03  Eli Zaretskii  <eliz@gnu.org>
+
+       * msdos.c (dos_rawgetc): Use make_number to produce Lisp objects
+       for event.x and event.y.
+
+2004-07-01  Kenichi Handa  <handa@m17n.org>
+
+       * w32select.c (Fw32_set_clipboard_data): Update `nbytes' correctly
+       after getting a new string by pre-write-conversion.
+
+2004-06-30  Stefan  <monnier@iro.umontreal.ca>
+
+       * xterm.c (x_detect_focus_change): Remove unused var `nr_events'.
+       (x_calc_absolute_position): Remove unused var `child'.
+
+       * xfaces.c (x_supports_face_attributes_p)
+       (Fdisplay_supports_face_attributes_p): YAILOM.
+       (tty_supports_face_attributes_p): Remove unused var `i'.
+
+       * syntax.c (skip_chars): Remove unused labels fwd_unibyte_ok and
+       back_unibyte_ok.
+
+       * search.c (match_limit, Fmatch_data, Fset_match_data): YAILOM.
+
+       * fontset.c (Fset_fontset_font): Remove unused vars `family' and `registry'.
+
+       * Makefile.in (${etc}DOC): Fix file name of make-docfile.
+
+2004-06-30  Andreas Schwab  <schwab@suse.de>
+
+       * image.c (CHECK_LIB_AVAILABLE): Add third parameter LIBRARIES.
+       (Finit_image_library): Pass LIBRARIES through to
+       CHECK_LIB_AVAILABLE.  Declare parameters.  Doc fix.
+       (lookup_image_type): Pass Qnil as second argument to
+       Finit_image_library.
+
+       * lisp.h: Declare Finit_image_library.
+
+2004-06-29  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macterm.c (do_window_activate, do_window_deactivate): Remove.
+       (XTread_socket): Send mouse button events to the toolbox
+       dispatcher even when the mouse is grabbed.  Don't process window
+       activate events for non-Emacs windows.  Replace function calls to
+       do_window_activate and do_window_deactivate with their contents.
+       Reset mouse grabbing status when a window is deactivated.
+
+2004-06-29  Steven Tamm  <steventamm@mac.com>
+
+       * macterm.c (mac_get_emulated_btn)
+       (mac_event_to_emacs_modifiers): Fix emulated mouse button
+       support to correctly mask out modifiers.
+
+2004-06-29  David Kastrup  <dak@gnu.org>
+
+       * search.c (Fset_match_data): Allow buffer before end of list
+       which can happen if set-match-data is using a pre-consed list.
+
+2004-06-28  Steven Tamm  <steventamm@mac.com>
 
        * macterm.c (XTread_socket): Correctly set the frame position
        after the window is moved.
        a buffer, add the buffer as last element to the match data.
        (Fset_match_data): If an additional element of the match-data is a
        buffer, restore it to last_thing_searched.
-       (save_search_regs): Save last_thing_searched as part of the match
-       data.
+       (save_search_regs): Save last_thing_searched as part of the match data.
        (restore_match_data): Restore it again.
 
 2004-06-23  Luc Teirlinck  <teirllm@auburn.edu>
 2004-06-14  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
 
        * gtkutil.c (xg_get_image_for_pixmap): New function.
-       (xg_get_gdk_pixmap_and_mask): Removed.
+       (xg_get_gdk_pixmap_and_mask): Remove.
        (update_frame_tool_bar): Call xg_get_image_for_pixmap instead of
        xg_get_gdk_pixmap_and_mask.
 
        list of possible filenames.
        (init_xpm_functions, init_png_functions, init_jpeg_functions)
        (init_tiff_functions, init_gif_functions): Use `w32_delayed_load'.
-       (CHECK_LIB_AVAILABLE): Call `define_image_library' with new
-       argument.
+       (CHECK_LIB_AVAILABLE): Call `define_image_library' with new argument.
        (Finit_image_library): New function, extracted from `init_image'.
        Try to initialize an image library on demand and cache whether we
        were successful or not.
        (merge_face_ref, face_at_buffer_position, face_at_string_position):
        Use `merge_named_face'.
        (merge_face_inheritance): Function removed.
-       (merge_face_ref): Renamed from `merge_face_vector_with_property'.
+       (merge_face_ref): Rename from `merge_face_vector_with_property'.
        Add new `err_msgs' and `named_merge_points' args.  Return error
        status.  Only print error messages if ERR_MSGS is true.  Don't try to
        do :inherit attribute validation.
 
        * xfaces.c (x_supports_face_attributes_p): Make this function
        conditional on HAVE_WINDOW_SYSTEM.
-       (Fdisplay_supports_face_attributes_p) [HAVE_WINDOW_SYSTEM]: Don't
-       call x_supports_face_attributes_p if it was not compiled in.
+       (Fdisplay_supports_face_attributes_p) [HAVE_WINDOW_SYSTEM]:
+       Don't call x_supports_face_attributes_p if it was not compiled in.
 
 2004-06-04  Miles Bader  <miles@gnu.org>
 
 
 2004-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+       * eval.c (Fcondition_case): Fix usage.  Simplify.
+
        * mem-limits.h (EXCEEDS_LISP_PTR) [USE_LSB_TAG]: Never true.
 
 2004-05-29  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
        [MAC_OSX]: Don't include QuickTime/QuickTime.h.
        [!MAC_OSX]: Don't include alloca.h, Windows.h, Gestalt.h, or
        TextUtils.h.
-       (Fx_create_frame): Sync with xfns.c.  Initialize cursor
-       descriptors.
+       (Fx_create_frame): Sync with xfns.c.  Initialize cursor descriptors.
        (Fx_display_mm_height, Fx_display_mm_width): Calculate length from
        display height/width.
        (compute_tip_xy, Vx_max_tooltip_size): Declare.
 
        * macgui.h [!MAC_OSX]: Include Gestalt.h.
        (Cursor, No_Cursor): New defines.
-       [!TARGET_API_MAC_CARBON] (SetPortWindowPort): New compatibility
-       macro.
+       [!TARGET_API_MAC_CARBON] (SetPortWindowPort): New compatibility macro.
        [!TARGET_API_MAC_CARBON] (arrow_cursor): Declare.
 
        * macmenu.c (mac_menu_show, mac_dialog): Use SetPortWindowPort.
        (x_scroll_bar_handle_click): Set `(PORTION . WHOLE)' part in a
        scroll-bar click event.
        (mac_define_frame_cursor): Change the pointer shape.
-       (x_free_frame_resources): Reset tip_window to NULL when it is
-       disposed.
+       (x_free_frame_resources): Reset tip_window to NULL when it is disposed.
        [!TARGET_API_MAC_CARBON] (arrow_cursor): New variable.
-       [!TARGET_API_MAC_CARBON] (do_init_managers): Initialize
-       arrow_cursor.
+       [!TARGET_API_MAC_CARBON] (do_init_managers): Initialize arrow_cursor.
        (do_window_update): Don't do anything if the updated window is the
        tooltip window.
        (do_mouse_moved): Handle mouse movement events here (previously in
        dpyinfo->mouse_face_hidden is set.
        (do_os_event, do_events): Remove (now in XTread_socket).
        (XTread_socket): Immediately return if interrupt_input_blocked.
-       Loop until all the events in the queue are processed.  Rearrange
-       codes for mouse grabbing.  Add tooltip support.  Include the
+       Loop until all the events in the queue are processed.
+       Rearrange codes for mouse grabbing.  Add tooltip support.  Include the
        contents of do_os_event and do_events.  Remove mouse movement
        handling (now in do_mouse_moved).  Add the case where
        Vmouse_highlight has an integer value.
        excess initializations.
        (make_mac_terminal_frame): Previous initializations in
        make_mac_frame are moved here.
-       (mac_initialize_display_info): Initialize
-       dpyinfo->mouse_face_overlay and dpyinfo->mouse_face_hidden.
+       (mac_initialize_display_info):
+       Initialize dpyinfo->mouse_face_overlay and dpyinfo->mouse_face_hidden.
 
        * xdisp.c [MAC_OS] (No_Cursor): Remove variable.
        (define_frame_cursor1): Don't treat HAVE_CARBON as a special case.