]> code.delx.au - gnu-emacs/blobdiff - src/ChangeLog
Merge from emacs--devo--0
[gnu-emacs] / src / ChangeLog
index 291cba8a2b8425f8f38e36e964f7edb563133018..3e523d28f8d34b7e19b6451d3091dc8b8523b61b 100644 (file)
@@ -1,3 +1,742 @@
+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.
+
+2006-05-20  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macterm.c (convert_fn_keycode): Fix last change.
+
+2006-05-19  Eli Zaretskii  <eliz@gnu.org>
+
+       * w32.c (init_environment): Perform the processing of environment
+       variables on a copy of default variables and their values, not on
+       the original.  Simplify code that calls ExpandEnvironmentStrings
+       and make buf1[] and buf2[] more visible for easier debugging.
+
+2006-05-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * frame.c (x_set_border_width): Remove #ifndef MAC_OS.
+
+       * image.c [MAC_OS] (gif_load): Allocate Lisp string first.
+
+       * macfns.c (Fx_focus_frame): Don't check dpyinfo->x_focus_frame.
+
+       * macterm.c (XTread_socket) [TARGET_API_MAC_CARBON && MAC_OSX]:
+       Forward keyUp events to toolbox_dispatcher.
+
+       * window.c (foreach_window): Check WINDOWP (FRAME_ROOT_WINDOW (f)).
+
+2006-05-18  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * config.in: Regenerated (HAVE_ALSA).
+
+       * sound.c (alsa_sound_perror, alsa_open, alsa_period_size)
+       (alsa_configure, alsa_close, alsa_choose_format, alsa_write)
+       (snd_error_quiet, alsa_init): New functions.
+       (vox_init): Return 0 if unable to open device.
+       (Fplay_sound_internal): Test for alsa first and use vox (oss) as
+       a fallback.
+       (struct sound_device): Add period_size.
+       (wav_play, au_play): Use period_size if set.
+
+       * Makefile.in (CFLAGS_SOUND): New flags for ALSA
+       (ALL_CFLAGS): Add CFLAGS_SOUND
+
+2006-05-18  Kenichi Handa  <handa@m17n.org>
+
+       * callproc.c (Fcall_process): Reject encoding arguments by
+       ascii-incompatible coding systems (e.g. utf-16).
+
+       * coding.c (Qascii_incompatible): New variable.
+       (syms_of_coding): Setup Qascii_incompatible.
+       (setup_coding_system): Be sure to initialize coding->common_flags.
+       Check `ascii-incompatible' property of the coding system.
+
+       * coding.h (CODING_ASCII_INCOMPATIBLE_MASK): New macro.
+
+2006-05-18  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (display_tool_bar_line): Restore entire tool-bar geometry when
+       backtracking in case last image doesn't fit on line.
+
+2006-05-18  MIYOSHI Masanori <miyoshi@meadowy.org>  (tiny change)
+
+       * xdisp.c (display_tool_bar_line): Don't adjust tool-bar height by more than
+       height of one frame default line.
+
+2006-05-17  Richard Stallman  <rms@gnu.org>
+
+       * 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>
+
+       * xterm.c (handle_one_xevent): Check that f is not NULL before
+       calling x_kill_gs_process.
+
+2006-05-14  Richard Stallman  <rms@gnu.org>
+
+       * textprop.c (Fnext_single_char_property_change)
+       (Fprevious_single_char_property_change): Don't allow returning
+       value beyond LIMIT in any cases.
+       (Fnext_char_property_change, Fprevious_char_property_change): Doc fix.
+
+       * intervals.c (get_local_map): Abort if POSITION outside BEGV, ZV.
+
+2006-05-14  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * xterm.c (handle_one_xevent): Check that f is not NULL before
+       calling _XEditResCheckMessages.
+
+2006-05-14  Kim F. Storm  <storm@cua.dk>
+
+       * xterm.c (handle_one_xevent): Fix crash in 2006-03-24 change.
+
+2006-05-13  Eli Zaretskii  <eliz@gnu.org>
+
+       * frame.c (x_set_border_width): Fix error message to say "frame",
+       not "window".
+
+       * Makefile.in (SOME_MACHINE_LISP): Add fringe.elc.
+
+2006-05-12  Chong Yidong  <cyd@stupidchicken.com>
+
+       * intervals.c (set_point_both): Fix mixup before before and after
+       in variable names.
+
+       * editfns.c (Fline_beginning_position): Inhibit point-motion hooks
+       while setting point temporarily.
+
+2006-05-11  Richard Stallman  <rms@gnu.org>
+
+       * lread.c (readevalloop): Abort if START non-nil for non-buffer input.
+
+2006-05-11  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (redisplay_tool_bar): Handle large tool-bar-border values.
+
+2006-05-11  Kenichi Handa  <handa@m17n.org>
+
+       * fileio.c (Finsert_file_contents): Fix for the case of IO error
+       while handling replace operation.
+
+2006-05-10  Kenichi Handa  <handa@m17n.org>
+
+       * xfaces.c (realize_default_face) [HAVE_X_WINDOWS]: If the font
+       chosen for the default face was different from the frame font,
+       adjust the frame font.
+
+2006-05-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * image.c (Qduration) [MAC_OS]: Undo previous change.
+       (syms_of_image) [MAC_OS]: Likewise.
+       [MAC_OS] (gif_load): Emulate Graphic Control Extension block.
+
+       * macfns.c (x_to_mac_color): Fix shift amount change.
+       (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
+       Vmac_services_selection.  All uses changed.
+       (mac_store_service_event): Rename from mac_store_services_event in
+       extern and calls.
+
+       * macterm.c (Qservice) [MAC_OSX]: Rename from Qservices.  All uses
+       changed.
+       [MAC_OSX] (mac_store_service_event): Rename from
+       mac_store_services_event.  All callers changed.
+       [USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection): Add args
+       FACE_ID and C.  All callers changed.
+       (x_free_frame_resources) [USE_MAC_FONT_PANEL]: Call
+       mac_set_font_info_for_selection when focus frame is destroyed.
+       (XTread_socket): Revert to FrontNonFloatingWindow/FrontWindow.
+
+       * macterm.h (mac_set_font_info_for_selection): Add 2nd and 3rd
+       args in extern.
+
+2006-05-09  Chong Yidong  <cyd@stupidchicken.com>
+
+       * keymap.c (describe_map): Avoid generating duplicate entries if
+       the shadowed binding has the same definition.
+
+2006-05-09  Kenichi Handa  <handa@m17n.org>
+
+       * keymap.c (push_key_description): Handle invalid character key.
+
+2006-05-08  Kenichi Handa  <handa@m17n.org>
+
+       * callproc.c (Fcall_process): Use system_eol_type for encoding
+       arguments if eol_type is not yet decided.
+
+       * coding.h (system_eol_type): Extern it.
+
+       * coding.c (setup_coding_system): For invalid coding-system, set
+       coding->eol_type to CODING_EOL_UNDECIDED.
+       (encode_coding): Cancel previous change.
+       (shrink_encoding_region): Likewise.
+       (code_convert_region1): Likewise.
+       (code_convert_string1): Likewise.
+       (code_convert_string_norecord): Likewise.
+
+       * fileio.c (choose_write_coding_system): Use system_eol_type for
+       encoding if eol_type is not yet decided.
+
+       * process.c (setup_process_coding_systems): Use system_eol_type
+       for encoding if eol_type is not yet decided.
+       (read_process_output): Likewise.
+       (send_process): Likewise.
+
+2006-05-07  Juanma Barranquero  <lekktu@gmail.com>
+
+       * minibuf.c (syms_of_minibuf) <history-length>: Fix typo in doc.
+
+2006-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * mac.c (Fmac_clear_font_name_table): Move defun to macfns.c.
+       (syms_of_mac): Likewise for defsubr.
+
+       * macfns.c (mac_set_font): New function.
+       (mac_frame_parm_handlers, syms_of_macfns): Replace x_set_font with it.
+       (mac_window) [TARGET_API_MAC_CARBON && MAC_OSX]: Specify
+       kWindowToolbarButtonAttribute when creating window.
+       (Fmac_clear_font_name_table): Move from macfns.c.
+       (syms_of_macfns): Likewise for defsubr.
+       [USE_MAC_FONT_PANEL] (Fmac_set_font_panel_visibility): New defun.
+       (syms_of_macfns) [USE_MAC_FONT_PANEL]: Defsubr it.
+
+       * macgui.h (USE_MAC_FONT_PANEL): Define to 1 if USE_ATSUI is set
+       and build is done on Mac OS X 10.2 and later.
+
+       * macselect.c (mac_do_receive_drag): Remove unused variable `index'.
+       (mac_store_services_event): Change return type in extern.
+
+       * macterm.c (XLoadQueryFont) [USE_ATSUI]: Set font->mac_fontnum to
+       FMFontFamily value.
+       [USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection): New function.
+       (x_new_focus_frame) [USE_MAC_FONT_PANEL]: Use it.
+       (QCfamily, QCweight, QCslant, Qnormal, Qbold, Qitalic): Add extern.
+       (QWindow) [MAC_OSX]: Likewise.
+       (Qfont) [USE_MAC_FONT_PANEL]: Likewise.
+       (Vmac_atsu_font_table) [USE_ATSUI]: New variable.
+       (syms_of_macterm) [USE_ATSUI]: Defvar it.
+       (Qtoolbar_switch_mode) [MAC_OSX]: New variable.
+       (Qpanel_closed, Qselection) [USE_MAC_FONT_PANEL]: Likewise.
+       (syms_of_macterm): Intern and staticpro them.
+       (init_font_name_table) [USE_ATSUI]: Add data to Vmac_atsu_font_table.
+       [TARGET_API_MAC_CARBON] (mac_store_event_ref_as_apple_event): New
+       function.
+       [USE_CARBON_EVENTS] (mac_handle_command_event): Use it.
+       [MAC_OSX] (mac_store_services_event): Likewise.
+       [USE_CARBON_EVENTS] (mac_handle_window_event) [MAC_OSX]: Handle
+       kEventWindowToolbarSwitchMode event.
+       (install_window_handler) [USE_CARBON_EVENTS && MAC_OSX]: Register it.
+       [MAC_OSX] (mac_store_services_event): Change return type to OSStatus.
+       [USE_MAC_FONT_PANEL] (mac_handle_font_event): New function.
+       (install_window_handler) [USE_MAC_FONT_PANEL]: Install it.
+       (XTread_socket): Select window on mouse click if x_focus_frame is NULL.
+
+       * macterm.h (mac_set_font_info_for_selection): Add extern.
+
 2006-05-06  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 
        * image.c (Qduration) [MAC_OS]: New variable.
 2006-05-06  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 
        * image.c (Qduration) [MAC_OS]: New variable.
 
        * puresize.h (BASE_PURESIZE): Increment to 1210000.
 
 
        * 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'.
 
        * 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'.
 
        * 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.
 
        * dispnew.c (init_display): Don't init X display if the user asked
        for a non-X display.
        * regex.c (re_error_msgid): Add an entry for REG_ERANGEX.
        (regex_compile): Return REG_ERANGEX if appropriate.
 
        * 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.
 
 2004-10-22  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
 
        * 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.
 
        * 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.
 
        * 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 (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.
 
        * 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.
 
        * 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.
 
        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.
 
        * coding.c (Fset_safe_terminal_coding_system_internal):
        Set suppress_error in safe_terminal_coding, not terminal_coding.
        (Fapropos_internal): Initialize them and clear them out.
        Don't GCPRO them.
 
        (Fapropos_internal): Initialize them and clear them out.
        Don't GCPRO them.
 
-       * buffer.c (syms_of_buffer) <scroll-up-aggressively, scroll-down-aggressively>:
-       Doc fixes.
+       * buffer.c (syms_of_buffer) <scroll-up|down-aggressively>: Doc fixes.
 
        * lisp.h: New misc type Lisp_Save_Value.
        (enum Lisp_Misc_Type): Add Lisp_Misc_Save_Value.
 
        * lisp.h: New misc type Lisp_Save_Value.
        (enum Lisp_Misc_Type): Add Lisp_Misc_Save_Value.