(read_filtered_event): Remove `register' qualifier because it
[bpt/emacs.git] / src / ChangeLog
index c670f75..f7c171e 100644 (file)
@@ -1,3 +1,656 @@
+2006-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * lread.c (read_filtered_event): Remove `register' qualifier because it
+       causes compilation problem with gcc-4.0.2-20051125 on amd64.
+
+2006-07-07  Eli Zaretskii  <eliz@gnu.org>
+
+       * keyboard.c (Fexecute_extended_command): Mention the argument
+       PREFIXARG in the doc string.
+
+2006-07-07  Kim F. Storm  <storm@cua.dk>
+
+       * fringe.c (Fdefine_fringe_bitmap): Doc fix.
+
+2006-07-05  Chong Yidong  <cyd@stupidchicken.com>
+
+       * insdel.c (prepare_to_modify_buffer): For an indirect buffer, do
+       clash detection using the base buffer.
+
+       * puresize.h (BASE_PURESIZE): Increment to 1210500.
+
+2006-07-04  Kim F. Storm  <storm@cua.dk>
+
+       * xterm.c (x_delete_display): Don't free or derefence NULL pointers.
+
+2006-07-04  Kenichi Handa  <handa@m17n.org>
+
+       * fontset.c (Fset_overriding_fontspec_internal): Check if we need
+       to update Voverriding_fontspec_alist.
+
+2006-07-03  Richard Stallman  <rms@gnu.org>
+
+       * xfns.c (Fx_create_frame): Move unwind_create_frame setup down.
+
+       * xfaces.c (Fface_attribute_relative_p): Doc fix.
+
+       * textprop.c (Fget_char_property_and_overlay): Doc fix.
+
+       * eval.c (Fdefvaralias): Doc fix.
+
+2006-07-03  Kim F. Storm  <storm@cua.dk>
+
+       * dispnew.c (sit_for): Fix preempt condition.
+
+2006-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * lread.c (read_filtered_event): Treat select-window just like
+       switch-frame.
+
+2006-07-02  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (display_tool_bar_line): Skip glyphs which are too big
+       to ever fit the tool-bar,
+       (MAX_FRAME_TOOL_BAR_HEIGHT): New macro.
+       (tool_bar_lines_needed): Use unused mode-line row as temp_row.
+       (redisplay_tool_bar): Only clear desired matrix if we actually
+       change the tool-bar window height.  Only try to make the tool-bar
+       window bigger if there is actually room for it.
+
+2006-06-30  Ralf Angeli  <angeli@caeruleus.net>
+
+       * w32term.c (x_make_frame_visible): Use SystemParametersInfo with
+       SPI_GETWORKAREA to find the dimensions of the screen work area,
+       and adjust vertical position of the frame in order to avoid being
+       covered by the task bar.
+
+       * w32fns.c (w32_createwindow): Use CW_USEDEFAULT instead of
+       f->left_pos and SH_SHOW instead of f->top_pos in the call to
+       CreateWindow.  Record the actual position in f->left_pos and
+       f->top_pos.
+
+2006-06-30  John Paul Wallington  <jpw@pobox.com>
+
+       * w32console.c (syms_of_ntterm) <w32-use-full-screen-buffer>:
+       Doc fix - default value has changed.
+
+2006-06-28  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * mac.c [!TARGET_API_MAC_CARBON]: Don't include FixMath.h or Scrap.h.
+
+       * macfns.c (Fx_create_frame): Apply 2006-06-24 change for xfns.c.
+
+       * macgui.h (USE_MAC_TSM) [TARGET_API_MAC_CARBON]: Set default to 1.
+
+       * macterm.c (Qeql): Add extern.
+       (x_set_mouse_pixel_position) [MAC_OSX]: Use CGWarpMouseCursorPosition.
+       (fm_style_face_attributes_alist) [USE_ATSUI]: New variable.
+       (syms_of_macterm) [USE_ATSUI]: Initialize and staticpro it.
+       Change keys of Vmac_atsu_font_table from strings to numbers.
+       (fm_style_to_face_attributes) [USE_ATSUI]: New function.
+       (init_font_name_table) [USE_ATSUI]: Use it.
+       (saved_ts_script_language_on_focus) [USE_MAC_TSM]: New variable.
+       (syms_of_macterm) [USE_MAC_TSM]: Initialize and staticpro it.
+       [USE_MAC_TSM] (mac_tsm_resume): Restore script and language codes
+       only when saved_ts_script_language_on_focus coincides with
+       Vmac_ts_script_language_on_focus.
+       [USE_MAC_TSM] (mac_tsm_suspend): Save value of
+       Vmac_ts_script_language_on_focus to saved_ts_script_language_on_focus.
+       (XTread_socket) [USE_MAC_TSM]: Add Mac OS Classic support.
+       [USE_MAC_TSM] (mac_handle_text_input_event, init_tsm): Likewise.
+
+2006-06-27  Chong Yidong  <cyd@stupidchicken.com>
+
+       * editfns.c (Fdelete_field, Ffield_string, Ffield_beginning)
+       (Ffield_string_no_properties, Ffield_end): Mention
+       args-out-of-range error condition in docstring.
+
+2006-06-27  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (handle_composition_prop): Set stop_charpos before push_it.
+
+2006-06-25  Kim F. Storm  <storm@cua.dk>
+
+       * s/gnu-linux.h (SIGNALS_VIA_CHARACTERS): Define for Linux kernel
+       version 2.4 and later.
+
+2006-06-24  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xfns.c (Fx_create_frame): Set font parameter directly instead of
+       using x_default_parameter, since x_get_args clears the parm alist.
+
+2006-06-24  Eli Zaretskii  <eliz@gnu.org>
+
+       * dired.c (directory_files_internal) [WINDOWSNT]: Find files
+       case-insensitively.
+
+2006-06-24  Aidan Kehoe  <kehoea@parhasard.net>
+
+       * lread.c (read_escape): When an unknown Unicode code point is
+       encountered as a string or character escape, signal an error.
+
+2006-06-23  Kim F. Storm  <storm@cua.dk>
+
+       * .gdbinit (pitx): Dump iterator stack.
+
+       * xdisp.c (handle_composition_prop): Push iterator on stack.
+       (set_iterator_to_next): Pop iterator at end of composition.
+
+2006-06-23  Martin Rudalics  <rudalics@gmx.at>
+
+       * fileio.c (Frename_file) [DOS_NT]: Don't try to move directory to
+       itself on DOS_NT platforms, if the old and new names are identical
+       but for the letter-case.
+
+2006-06-21  Kim F. Storm  <storm@cua.dk>
+
+       * dispextern.h (struct it): Add `position' member to iterator stack.
+       Rename `pos' member to `current'.  Rearrange and add comments.
+
+       * xdisp.c (handle_stop): Set it->ignore_overlay_strings_at_pos_p
+       if  we get any overlays.
+       (set_cursor_from_row): Don't clobber `end' if we rescan from
+       start_string.
+       (push_it, pop_it): Save it->position.
+
+2006-06-19  Richard Stallman  <rms@gnu.org>
+
+       * window.c (size_window): New arg FIRST_ONLY.  All callers changed.
+       (adjust_window_trailing_edge): Specially compute FIRST_PARALLEL
+       for the case of a top-level window and the following minibuffer.
+       Don't exit because of no `next' when there is a parent.
+       Use the FIRST_ONLY feature when resizing following windows.
+
+       * syntax.c (init_syntax_once): Give most control chars' syntax Spunct.
+
+2006-06-17  Kim F. Storm  <storm@cua.dk>
+
+       * dispnew.c (update_frame): Check for input pending on entry.
+       (update_window, update_frame_1): Break loop if input is detected.
+
+2006-06-16  Francis Litterio  <flitterio@gmail.com>
+
+       * xterm.c (x_check_expected_move, handle_one_xevent)
+       (x_set_offset, x_check_fullscreen): Extensive changes to make
+       frame positioning deterministic under X.
+
+       * xterm.h (x_output): Added members left_before_move and
+       top_before_move.  Removed members expected_left and expected_top.
+
+2006-06-16  Kim F. Storm  <storm@cua.dk>
+
+       * dispextern.h (struct it): Add union to iterator stack to save
+       image, composition, and stretch specific paramters.
+
+       * xdisp.c (next_overlay_string): Fix assert.
+       (push_it, pop_it): Handle composition and stretch specific values.
+       Only handle it->slice in image (for now).
+       (back_to_previous_visible_line_start): Continue search if newline is
+       part of a compisition.  Simplify.
+       (reseat_1): Set it->object to buffer.
+       (set_iterator_to_next): Set it->object to string or buffer, when
+       setting it->method to GET_FROM_STRING or GET_FROM_BUFFER.
+       (next_element_from_composition): Set it->object to buffer if not
+       from string.
+       (set_cursor_from_row): Only save start of string if not already
+       done to handle multiple strings in a row.
+
+       * .gdbinit (pitx): Show composition parameters.
+       (pgx, pg): New commands to print a glyph structure.
+       (pgi, pgn): New commands to print specific/next glyph.
+       (pgrowx, pgrow): New commands to print all glyphs in a row.
+
+2006-06-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macfns.c (Fx_display_mm_height, Fx_display_mm_width)
+       [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Use CGDisplayScreenSize.
+
+       * macterm.c (do_app_resume, do_app_suspend): Remove functions.
+       (mac_tsm_resume, mac_tsm_suspend) [USE_MAC_TSM]: New functions.
+       (mac_handle_window_event, XTread_socket) [USE_MAC_TSM]: Use them.
+       (Vmac_ts_script_language_on_focus) [USE_MAC_TSM]: New variable.
+       (syms_of_macterm) [USE_MAC_TSM]: Defvar it.
+       (saved_ts_language, saved_ts_component) [USE_MAC_TSM]: New variables.
+       (mac_initialize_display_info) [MAC_OSX]: Use Quartz Display
+       Services functions to get size of main display in pixels.
+
+2006-06-14  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xdisp.c (back_to_previous_visible_line_start): Reset
+       it->continuation_lines_width.
+
+2006-06-14  Richard Stallman  <rms@gnu.org>
+
+       * eval.c (Fdefconst): Mark variable as risky.
+
+       * callproc.c (Fcall_process): Doc fix.
+
+       * window.c (adjust_window_trailing_edge): Don't break out of the loop
+       because there's no next window, if there are parallel windows.
+       Do break out when WINDOW is nil.
+
+2006-06-14  Kim F. Storm  <storm@cua.dk>
+
+       * dispextern.h (IT_STACK_SIZE): New macro specifying size of
+       iterator stack (instead of hardcoded number).  Increase from 2 to
+       4 to make room for propertized overlay strings before and after a
+       display string, image or composition.
+       (struct it): Add image_id and method members to iterator stack.
+
+       * xdisp.c (init_from_display_pos): Don't set it->method and
+       overlay_string_index after pop_it.  Add asserts.
+       (handle_stop): Look for overlay strings around a display string,
+       image, or composition.  Handle properties on those strings.
+       (next_overlay_string): Don't set string, pos or method after pop_it.
+       (get_overlay_strings_1): Split from get_overlay_strings; don't
+       modify it if no overlay strings are found.
+       (get_overlay_strings): Use get_overlay_strings_1.  Always set
+       it->string and it->method.
+       (push_it): Push it->image_id and it->method.  Push it->object
+       instead of it->string if method is GET_FROM_IMAGE.
+       (pop_it): Pop it->image_id and it->method.  Ppo it->object
+       instead of it->string if method is GET_FROM_IMAGE.
+       Reset it->current.string_pos if popped it->string is nil.
+       (reseat_1): Remove comment dated 19 May 2003.  It expressed doubt
+       whether a given change was correct; but the change is correct.
+       Clear it->string_from_display_prop_p.
+       (set_iterator_to_next): Rely on it->method and it->image_id from
+       iterator stack, instead of setting them explicitly after pop_it.
+
+       * dispnew.c (sit_for): Undo 2006-06-01 change.  Instead, a
+       negative time forces redisplay even when input is available.
+       (Fsit_for): Doc fix.
+
+2006-06-13  Kim F. Storm  <storm@cua.dk>
+
+       * dispnew.c: Modify preemptive redisplay to be based on periodic
+       checks for input.
+       (PERIODIC_PREEMPTION_CHECKING): Define to 1 iff EMACS_HAS_USECS.
+       (Vredisplay_preemption_period): New variable.
+       (syms_of_display): DEFVAR_LISP and initialize it.
+       (preemption_period, preemption_next_check): New variables.
+       (update_frame, update_single_window): Initialize them based on
+       Vredisplay_preemption_period if !force_p.
+       (update_window, update_frame_1): Use them to determine when to
+       check for input.
+
+2006-06-03  Aidan Kehoe  <kehoea@parhasard.net>
+
+       * lread.c (read_escape): Provide a Unicode character escape
+       syntax; \u followed by exactly four or \U followed by exactly
+       eight hex digits in a comment or string is read as a Unicode
+       character with that code point.
+
+2006-06-09  Eli Zaretskii  <eliz@gnu.org>
+
+       * window.c (window_scroll_pixel_based): Signal "Beginning of
+       buffer" when scroll-down at the beginning of an empty buffer.
+
+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.
+
+2006-06-05  Jason Rumney  <jasonr@gnu.org>
+
+       * w32term.c (w32_set_scroll_bar_thumb, x_scroll_bar_create)
+       (w32_set_vertical_scroll_bar, w32_scroll_bar_handle_click)
+       (x_scroll_bar_report_motion): Remove workarounds for
+       versions of Windows NT < 3.51.
+       [!SIF_ALL]: Remove.
+       (pfnSetScrollInfo, pfnGetScrollInfo): Remove.
+       (w32_initialize): Don't dynamically load Get/SetScrollInfo.
+
+2006-06-04  David Kastrup  <dak@gnu.org>
+
+       * dispnew.c: Mention `redisplay-dont-pause' in doc string of
+       `sit-for'.
+
+2006-06-03  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macfns.c (x_set_icon_name): Apply 2006-06-02 change for xfns.c.
+
+       * macgui.h (USE_MAC_TSM): Set default to 1 on Mac OS X.
+
+       * macterm.c (tsm_document_id) [USE_MAC_TSM]: New variable.
+       (Qtext_input, Qupdate_active_input_area, Qunicode_for_key_event)
+       [USE_MAC_TSM]: Likewise.
+       (syms_of_macterm) [USE_MAC_TSM]: Intern and staticpro them.
+       (Qbefore_string) [USE_MAC_TSM]: Add extern.
+       (do_app_resume, do_app_suspend) [USE_MAC_TSM]: Call
+       ActivateTSMDocument/DeactivateTSMDocument.
+       (mac_store_event_ref_as_apple_event): Call mac_post_mouse_moved_event.
+       (mac_handle_window_event) [USE_MAC_TSM]: Handle
+       kEventWindowFocusAcquired/kEventWindowFocusRelinquish.
+       (mac_handle_text_input_event) [USE_MAC_TSM]: New function.
+       (install_window_handler) [USE_MAC_TSM]: Install it.  Register
+       kEventWindowFocusAcquired/kEventWindowFocusRelinquish.
+       (keycode_to_xkeysym_table): Add entry for f16.
+       (XTread_socket) [USE_MAC_TSM]: Set/reset read_socket_inev
+       before/after passing keystroke event to toolbox dispatcher.
+       (init_tsm) [USE_MAC_TSM]: New function.
+       (mac_initialize) [USE_MAC_TSM]: Call it.
+       (Vmac_ts_active_input_overlay) [USE_MAC_TSM]: New defvar.
+
+       * macterm.h (EVENT_PARAM_TEXT_INPUT_SEQUENCE_NUMBER): New enumerator.
+
+2006-06-02  John Paul Wallington  <jpw@gnu.org>
+
+       * xfns.c (x_set_name_internal): Set icon to `text', derived from
+       name, when frame's icon_name isn't a string rather than only when
+       it is nil.
+
+2006-06-03  Eli Zaretskii  <eliz@gnu.org>
+
+       * w32fns.c (x_set_icon_name): Don't use arg if it's not a string
+       and not nil.
+
+2006-06-02  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xfns.c (x_set_icon_name): No-op if arg is non-nil and not a
+       string.
+
+2006-06-02  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * xdisp.c (next_element_from_composition): Set it->object to
+       it->string if composition is coming from string.
+       (set_cursor_from_row): Don't return 0 unless row displays a
+       continued line.
+       (dump_glyph): Dump composite glyph.
+
+2006-06-02  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * gtkutil.c (menu_nav_ended): Check that menubar_widget is not NULL.
+
+2006-06-01  Richard Stallman  <rms@gnu.org>
+
+       * window.c (Fsplit_window): Doc fix.
+
+2006-06-01  Micha\e,Ak\e(Bl Cadilhac  <michael.cadilhac@lrde.org>
+
+       * process.c (deleted_pid_list): New variable to store the pids
+       of deleted processes.  Declare it only if SIGCHLD is defined.
+       (init_process): Initialize it.
+       (syms_of_process): Staticpro it.
+       (Fdelete_process): Add pid of the deleted process to it.  Check after
+       the addition and before the kill if the process is already stopped,
+       in which case it is deleted from the list and not killed.
+       (sigchld_handler): Define it only if SIGCHLD is.  Search the process
+       that signaled Emacs in `deleted_pid_list' before `Vprocess_alist'.
+       Original idea by Stefan Monnier.
+
+2006-06-01  Kim F. Storm  <storm@cua.dk>
+
+       * dispnew.c (sit_for): Perform redisplay even if input is pending
+       when redisplay-dont-pause is non-nil.
+
+2006-06-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macterm.c (mac_handle_visibility_change): Set buf.arg to Qnil.
+       (XTread_socket): Remove obsolete comment.
+
+2006-06-01  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * xmenu.c (syms_of_xmenu): Make accelerate-menu an alias for
+       menu-bar-open.
+
+2006-06-01  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * xmenu.c (Fmenu_bar_open, syms_of_xmenu): Change menu-bar-start to
+       menu-bar-open.
+
+       * gtkutil.c (menu_nav_ended): Change x-menu-bar-start to menu-bar-open.
+
+2006-05-31  Juri Linkov  <juri@jurta.org>
+
+       * minibuf.c (Vhistory_add_new_input): New variable.
+       (read_minibuf): Use it.
+       (syms_of_minibuf) <history-add-new-input>: New Lisp variable.
+       (syms_of_minibuf) <history-delete-duplicates>: Doc fix.
+
+2006-05-31  Kim F. Storm  <storm@cua.dk>
+
+       * process.c (select_wrapper): Add wrapper around select to work around
+       "incomplete backtrace" bug in gdb 5.3, when emacs is stopped inside
+       select called from wait_reading_process_output.
+
+2006-05-30  Andreas Schwab  <schwab@suse.de>
+
+       * xmenu.c (Fmenu_bar_start): Return a value.
+
+2006-05-30  Richard Stallman  <rms@gnu.org>
+
+       * coding.c (Ffind_operation_coding_system): Doc fix.
+
+2006-05-30  Eli Zaretskii  <eliz@gnu.org>
+
+       * w32term.c (x_draw_hollow_cursor): Fix last change.
+
+2006-05-29  Kim F. Storm  <storm@cua.dk>
+
+       * w32term.c (x_draw_stretch_glyph_string): Fix last change.
+
+2006-05-29  Eli Zaretskii  <eliz@gnu.org>
+
+       * coding.c (Ffind_operation_coding_system): Doc fix.
+
+2006-05-29  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macfns.c [USE_MAC_FONT_PANEL] (Fmac_set_font_panel_visibility):
+       Call mac_set_font_info_for_selection if font panel is made visible.
+
+       * macterm.c (font_panel_shown_p) [USE_MAC_FONT_PANEL]: New variable.
+       (mac_font_panel_visible_p, mac_show_hide_font_panel)
+       [USE_MAC_FONT_PANEL]: New functions.
+       [USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection): Return
+       immediately if font panel is not visible.
+
+       * macterm.h (mac_font_panel_visible_p, mac_show_hide_font_panel):
+       Add externs.
+
+2006-05-29  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * search.c (matcher_overflow): Mark as NO_RETURN.
+
+       * xterm.c (x_connection_closed): Likewise.
+
+       * sysdep.c (croak): Likewise.
+
+       * sound.c (sound_perror, alsa_sound_perror): Likewise.
+
+       * lisp.h (die, nsberror): Likewise.
+
+2006-05-29  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * sound.c (alsa_open, alsa_configure, alsa_write): Move
+       assignment to err out of if-statement.
+
+       * gtkutil.c (menu_nav_ended): New function.
+       (create_menus): Connect menu_nav_ended to "selection-done" to fix
+       grabs.
+
+       * xmenu.c (Fmenu_bar_start): New function for USE_GTK and USE_X_TOOLKIT.
+
+2006-05-28  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * charset.h (invalid_character): Mark as NO_RETURN.
+
+2006-05-29  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (Ffind_operation_coding_system): Call a function by
+       safe_call1 instead of call1.
+
+2006-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * window.c (struct saved_window): Add `dedicated'.
+       (Fset_window_configuration, save_window_save): Save/restore the
+       `dedicated' flag.
+
+2006-05-28  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (set_cursor_from_row): If cursor cannot be set in row,
+       don't update w->cursor and return 0.  Return 1 on success.
+       (try_cursor_movement): Repeat set_cursor_from_row on successive rows
+       until it succeeds.
+
+       * dispextern.h (set_cursor_from_row): Update prototype.
+
+2006-05-28  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (get_phys_cursor_geometry): Return computed x and y through
+       parameters.  Adjust x and width in case cursor in on a partially
+       visible stretch glyph on the left edge.
+       (erase_phys_cursor): Don't erase into left fringe/margin in case
+       previous cursor glyph is a partially visible stretch glyph on left.
+
+       * dispextern.h (get_phys_cursor_geometry): Update prototype.
+
+       * xterm.c (x_draw_stretch_glyph_string): Fix problems with invisible
+       cursor and erasing cursor on partially visible stretch glyph on left.
+       (x_draw_hollow_cursor): Compute x via get_phys_cursor_geometry.
+
+       * macterm.c: Likewise.
+
+       * w32term.c: Likewise.
+
+2006-05-27  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macselect.c (mac_handle_apple_event):
+       Return errAEEventNotHandled if key binding is not found.
+
+2006-05-26  Eli Zaretskii  <eliz@gnu.org>
+
+       * emacs.c (main) [PROFILING]: Enable also for __MINGW32__.
+       [__MINGW32__]: MinGW-specific declaration of `etext'.
+
+       * w32heap.c (etext, edata): Remove unused definitions.
+
+2006-05-26  Chong Yidong  <cyd@stupidchicken.com>
+
+       * fileio.c (Fcopy_file): Delete argument MUSTBENEW.
+       Incorporate the exclusive file-opening functionality into the behavior
+       when OK-IF-ALREADY-EXISTS is nil.
+       (Frename_file): Call Fcopy_file without MUSTBENEW argument.
+
+2006-05-26  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * sound.c (alsa_configure): Move get period/buffer_size after
+       setting hwparams.
+
+2006-05-26  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (Ffind_operation_coding_system): Allow (FILENAME
+       . BUFFER) in TARGET.
+
+2006-05-25  Chong Yidong  <cyd@stupidchicken.com>
+
+       * image.c (png_load): Don't call fclose on NULL.
+
+2006-05-25  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * fns.c (Fyes_or_no_p):
+       * callint.c (Fcall_interactively): Fread_from_minibuffer now takes
+       only seven args.
+
+2006-05-25  Juri Linkov  <juri@jurta.org>
+
+       * lisp.h (Fread_from_minibuffer): Decrement number of args.
+
+       * minibuf.c (read_minibuf): Remove arg KEEP_ALL.  Callers changed.
+       (Fread_from_minibuffer): Remove arg KEEP_ALL.  Callers changed.
+
+       * buffer.c (mode-line-format): Fix docstring.
+
+2006-05-25  Richard Stallman  <rms@gnu.org>
+
+       * emacs.c (main, Fdump_emacs): Don't test __linux or __linux__.
+
+2006-05-24  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * puresize.h (BASE_PURESIZE): Increase to 1210000.
+
+2006-05-24  Alan Mackenzie  <acm@muc.de>
+
+       * lread.c (Vload_history): Enhance doc-string to say that the file
+       is the absolute truename of the loaded file.
+
+       * lread.c (Vafter_load_alist): doc-string: state that an element
+       now has a regexp to match file names, not a file name as such.
+
+       * lread.c (readevalloop): Call file-truename on the name for
+       load-history, except at preloading time.
+
+       * lread.c (Fload): At preloading time, preserve the extension of
+       the filename which goes into load-history.  New var hist_file_name.
+
+       * lread.c (Fload): Do eval-after-load stuff by calling the lisp
+       function do-after-load-evaluation.
+
+2006-05-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * mac.c (ae_attr_table): New variable.
+       (syms_of_mac): Intern and staticpro its elements.
+       (mac_aelist_to_lisp): Also convert Apple event attributes.
+       (mac_ae_put_lisp): New function.
+       (create_apple_event_from_event_ref) [MAC_OSX]: Use typeUTF8Text.
+
+       * macfns.c (Fx_server_version): Use gestaltSystemVersionMajor etc.
+
+       * macselect.c (Qemacs_suspension_id): New variable.
+       (syms_of_macselect): Intern and staticpro it.
+       (struct suspended_ae_info): New struct.
+       (deferred_apple_events, defer_apple_events)
+       (Fmac_process_deferred_apple_events): Use it.
+       (suspended_apple_events): New variable.
+       (mac_handle_apple_event_1): New function.
+       (mac_handle_apple_event): Use it.  Don't process previously
+       suspended events.
+       (cleanup_suspended_apple_events, get_suspension_id)
+       (cleanup_all_suspended_apple_events): New functions.
+       (init_apple_event_handler): Call cleanup_all_suspended_apple_events
+       at exit.
+       (Fmac_cleanup_expired_apple_events, Fmac_ae_set_reply_parameter)
+       (Fmac_resume_apple_event): New defuns.
+       (syms_of_macselect): Defsubr them.
+
+       * macterm.c (fn_keycode_to_keycode_table, XTread_socket) [MAC_OSX]:
+       Fix last change.  Don't map `fn' modifier if pressed with F1 ... F12.
+
+       * macterm.h (TYPE_FILE_NAME): Change from macro to enumerator.
+       (KEY_EMACS_SUSPENSION_ID_ATTR): New enumerator.
+       (keyReplyRequestedAttr) [MAC_OS_X_VERSION_MAX_ALLOWED < 1030]: Likewise.
+       (gestaltSystemVersionMajor, gestaltSystemVersionMinor)
+       (gestaltSystemVersionBugFix) [MAC_OS_X_VERSION_MAX_ALLOWED < 1040]:
+       Likewise.
+       (typeUTF8Text, kEventParamWindowMouseLocation)
+       [MAC_OSX && MAC_OS_X_VERSION_MAX_ALLOWED < 1020]: Likewise.
+       (x_get_focus_frame, mac_ae_put_lisp): Add externs.
+
+2006-05-23  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macterm.c (fn_keycode_to_xkeysym_table, convert_fn_keycode): Remove.
+       (fn_keycode_to_keycode_table) [MAC_OSX]: New variable.
+       (mac_set_unicode_keystroke_event) [TARGET_API_MAC_CARBON]: New function.
+       (XTread_socket) [TARGET_API_MAC_CARBON]: Use it.
+       (XTread_socket) [MAC_OSX]: Try 'uchr' Unicode keyboard-layout
+       resource to backtranslate key with modifiers.
+       (XTread_socket): Don't set read_socket_inev around AEProcessAppleEvent.
+
+2006-05-23  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * xterm.c: Remove declarations already in xterm.h
+
+       * xterm.h: Add extern declarations for x_clear_errors,
+       x_fully_uncatch_errors, x_catching_errors and
+       x_alloc_lighter_color_for_widget.  Remove duplicated declarations.
+
+2006-05-21  Richard Stallman  <rms@gnu.org>
+
+       * xfaces.c (best_matching_font): Abort for best == NULL
+       before we start to use it.
+
+       * buffer.c (syms_of_buffer, Fmake_overlay): Doc fixes.
+
 2006-05-20  Kim F. Storm  <storm@cua.dk>
 
        * xfaces.c (best_matching_font): Fix crash in 2006-05-17 change.
 
        * xfaces.c (better_font_p): Any font beats no font.
        (best_matching_font): Simplify based on above change.
-       
+
        * buffer.c (Fprevious_overlay_change, Fnext_overlay_change): Doc fixes.
 
 2006-05-16  Kim F. Storm  <storm@cua.dk>
        [MAC_OS] (gif_load): Emulate Graphic Control Extension block.
 
        * macfns.c (x_to_mac_color): Fix shift amount change.
-       [USE_MAC_FONT_PANEL] (mac_set_font): Use x_get_focus_frame.
+       (mac_set_font) [USE_MAC_FONT_PANEL]: Use x_get_focus_frame.
        [USE_MAC_FONT_PANEL] (Fmac_set_font_panel_visibility): Doc fix.
 
        * macselect.c (Vmac_service_selection) [MAC_OSX]: Rename from
 
        * puresize.h (BASE_PURESIZE): Increment to 1210000.
 
-2006-04-13  Micha\e,Ak\e(Bl Cadilhac  <michael.cadilhac@lrde.org>  (tiny change)
+2006-04-13  Micha\e,Ak\e(Bl Cadilhac  <michael.cadilhac@lrde.org>
 
        * print.c (Fprin1_to_string): Mention in the `doc' that the
        behavior is modified by `print-level' and `print-length'.
        * xfaces.c (Finternal_merge_in_global_face, try_font_list):
        Add explicit braces to avoid ambiguous `else'.
 
-2006-04-11  Micha\e,Ak\e(Bl Cadilhac  <michael.cadilhac@lrde.org>  (tiny change)
+2006-04-11  Micha\e,Ak\e(Bl Cadilhac  <michael.cadilhac@lrde.org>
 
        * dispnew.c (init_display): Don't init X display if the user asked
        for a non-X display.
 
        * xfns.c (xic_create_xfontset): Initialize missing_list to NULL.
 
-2004-10-21  K\e,Ba\e(Broly L\e,Bu\e(Brentey  <lorentey@elte.hu>
+2004-10-21  K\e,Aa\e(Broly L\e$,1 q\e(Brentey  <lorentey@elte.hu>
 
        * xterm.h (x_output): New member `xic_base_fontname'.
        (FRAME_XIC_BASE_FONTNAME): New macro.
        * 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>
+2004-07-14  K\e,Aa\e(Broly L\e$,1 q\e(Brentey  <lorentey@elte.hu>
 
        * keyboard.c (echo_dash): Do nothing if there already is a dash
        at the end of the echo string.
        * keyboard.c (cmd_error): Don't call any_kboard_state
        if inside a recursive edit level.
 
-2004-06-13  K\e,Ba\e(Broly L\e,Bu\e(Brentey  <lorentey@elte.hu>
+2004-06-13  K\e,Aa\e(Broly L\e$,1 q\e(Brentey  <lorentey@elte.hu>
 
        * keyboard.c (command_loop): Call any_kboard_state before
        command_loop_2 when at top level.
        before actually accepting connection in case it has already been
        accepted due to recursion.
 
-2004-05-23  K\e,Ba\e(Broly L\e,Bu\e(Brentey  <lorentey@elte.hu>
+2004-05-23  K\e,Aa\e(Broly L\e$,1 q\e(Brentey  <lorentey@elte.hu>
 
        * coding.c (Fset_safe_terminal_coding_system_internal):
        Set suppress_error in safe_terminal_coding, not terminal_coding.