(print_preprocess): Add sub-char-tables to the print-table,
[bpt/emacs.git] / src / ChangeLog
index 0dc18c8..a7b19f3 100644 (file)
+2008-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * print.c (print_preprocess): Add sub-char-tables to the print-table,
+       just like we do in print.c.
+
+2008-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuf.c (Ftry_completion): Remove code left over from when we used
+       scmp instead of Fcompare_strings.
+
+2008-05-04  Juanma Barranquero  <lekktu@gmail.com>
+
+       * w32fns.c (Fw32_battery_status): Fix computation of %t (h:min) format.
+
+2008-05-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * image.c [USE_MAC_IMAGE_IO] (image_load_image_io):
+       Create bitmap context in native byte order.
+
+       * macterm.c (XDrawLine)
+       (XCreatePixmapFromBitmapData) [USE_MAC_IMAGE_IO]: Create bitmap
+       context in native byte order.
+
+2008-05-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * config.in: Regenerate.
+
+       * image.c (PIX_MASK_DRAW, PIX_MASK_RETAIN) [USE_MAC_IMAGE_IO]:
+       New definitions for Image I/O support.
+       (XGetImage, XPutPixel, XGetPixel, XDestroyImage)
+       (mac_create_cg_image_from_image, x_create_x_image_and_pixmap)
+       [USE_MAC_IMAGE_IO]: Add implementations for Image I/O support.
+       (mac_data_provider_release_data, image_load_image_io)
+       [USE_MAC_IMAGE_IO]: New functions.
+       (CGImageCreateWithPNGDataProviderProcType) [MAC_OSX]: Remove typedef.
+       (MyCGImageCreateWithPNGDataProvider) [MAC_OSX]: Remove variable.
+       (init_image_func_pointer) [MAC_OSX]: Remove function.
+       (image_load_quartz2d) [MAC_OSX]: Check availability of
+       CGImageCreateWithPNGDataProvider at compile time.
+       Use lowercase `false' for boolean constant.
+       (png_load, jpeg_load, tiff_load, gif_load) [USE_MAC_IMAGE_IO]:
+       Use image_load_image_io.
+       (png_load) [!USE_MAC_IMAGE_IO && MAC_OSX]:
+       Don't check MyCGImageCreateWithPNGDataProvider.
+       (init_image) [MAC_OSX && TARGET_API_MAC_CARBON]:
+       Don't call init_image_func_pointer.
+
+       * macgui.h (Pixmap) [USE_MAC_IMAGE_IO]: New definition for Image I/O.
+
+       * macterm.c (mac_cg_color_space_rgb) [USE_CG_DRAWING]:
+       Make variable non-static.
+       (XDrawLine, XCreatePixmap, XCreatePixmapFromBitmapData, XFreePixmap)
+       [USE_MAC_IMAGE_IO]: Add implementations for Image I/O support.
+
+       * macterm.h (ARGB_TO_ULONG, ALPHA_FROM_ULONG): New macros.
+       (RED_FROM_ULONG): Mask off higher bits.
+       (mac_cg_color_space_rgb) [USE_MAC_IMAGE_IO]: New extern.
+
+       * s/darwin.h [HAVE_CARBON && HAVE_AVAILABILITYMACROS_H]:
+       Include AvailabilityMacros.h.
+       (USE_MAC_IMAGE_IO, LIBS_IMAGE) [HAVE_CARBON]: New defines.
+       (LIBS_CARBON) [HAVE_CARBON]: Use LIBS_IMAGE.
+
+2008-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * chartab.c (Fset_char_table_range): If range is t, really set all
+       chars to that value.
+
+2008-05-03  Eli Zaretskii  <eliz@gnu.org>
+
+       * dired.c (Ffile_attributes): Don't allow the device number become
+       negative.
+
+2008-05-02  Daiki Ueno  <ueno@unixuser.org>
+
+       * Makefile.in (lisp, shortlisp): Add epa-file-hook.elc.
+
+2008-05-02  Juri Linkov  <juri@jurta.org>
+
+       * minibuf.c (Fread_from_minibuffer, Fread_string, Fread_command)
+       (Fread_variable, Fread_buffer, Fcompleting_read): Document
+       the DEFAULT argument as a list of default values in docstrings.
+
+2008-05-01  Chong Yidong  <cyd@stupidchicken.com>
+
+       * puresize.h (BASE_PURESIZE): Increase to 1210000.
+
+2008-05-01  Martin Rudalics  <rudalics@gmx.at>
+
+       * dispnew.c (change_frame_size_1): Preserve small windows when
+       shrinking frames by calling set_window_height|width with third
+       arg 2.
+
+       * window.h (struct window): Replace field too_small_ok by field
+       resize_proportionally.
+
+       * window.c (make_window): Initialize resize_proportionally.
+       (enlarge_window): Temporarily set resize_proportionally to make
+       sure that shrink_windows does scale the window proportionally.
+       (shrink_windows): When window has resize_proportionally set try
+       to shrink it proportionally by stealing from other windows.
+       (struct saved_window, Fset_window_configuration)
+       (compare_window_configurations): Handle resize_proportionally.
+       (WINDOW_TOTAL_SIZE): New macro.
+       (window_min_size, shrink_windows, size_window): Use it.
+       (check_min_window_sizes): Remove.  Invalid values of
+       window-min-height|width are handled by window_min_size_2 now.
+       (size_window, Fsplit_window, enlarge_window)
+       (adjust_window_trailing_edge, grow_mini_window): Don't call
+       check_min_window_sizes.
+       (window_min_size_2, window_min_size_1, window_min_size):
+       New argument safe_p for retrieving "safe" minimum sizes.
+       (Fdisplay_buffer, Fsplit_window, enlarge_window):
+       (adjust_window_trailing_edge, grow_mini_window):
+       Adjust arguments of window_min_size... functions.
+       (shrink_windows): Argument min_size removed.  New argument
+       safe_p allows shrinking windows to their safe minimum sizes.
+       Calculate minimum size and decide whether a window shall be
+       deleted for each window individually.
+       (size_window): When nodelete_p equals 2, tell shrink_windows to
+       delete windows only if their new minimum size is no more safe.
+       (shrink_window_lowest_first): Call window_min_size_1 to make
+       sure to preserve modeline of bottom-most window when resizing
+       the minibuffer.
+       (Fset_window_configuration, Fcurrent_window_configuration)
+       (compare_window_configurations): Do not handle
+       window-min-height|width any more.
+       (syms_of_window): Clarify window-min-height|width doc-strings.
+
+2008-04-30  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * dired.c (file_name_completion): Fix up the encoding/decoding issue
+       some more.  Copy some of the code from Ftry_completions.
+       Remove special case code that dates back to initial revision when the
+       slash was only added when necessary and that can't trigger nowadays.
+
+2008-04-27  Kenichi Handa  <handa@m17n.org>
+
+       * font.c (font_prop_validate): Signal `error' instead of `font'.
+
+2008-04-29  Jason Rumney  <jasonr@gnu.org>
+
+       * w32fns.c (Fw32_battery_status): New defun.
+       (syms_of_w32fns): Defsubr it.
+
+2008-04-28  Andreas Schwab  <schwab@suse.de>
+
+       * dired.c (file_name_completion): Fix another mixing of encoded
+       and decoded names.
+
+2008-04-28  Juanma Barranquero  <lekktu@gmail.com>
+
+       * w32fns.c (Fw32_define_rgb_color): Fix typo in docstring.
+
+2008-04-27  Juanma Barranquero  <lekktu@gmail.com>
+
+       * fringe.c (Fdefine_fringe_bitmap): Doc fix.
+
+2008-04-27  Andreas Schwab  <schwab@suse.de>
+
+       * dired.c (file_name_completion): Fix inappropriate mixing of
+       encoded and decoded names.
+
+       * xterm.c (XTread_socket): Fix use of uninitialized variable.
+
+       * puresize.h (BASE_PURESIZE): Increase to 1200000.
+
+2008-04-26  Eli Zaretskii  <eliz@gnu.org>
+
+       * dired.c (Ffile_attributes) [WINDOWSNT]: Undo change from
+       2008-03-31, it's not needed anymore with `struct stat' definition
+       on nt/inc/sys/stat.h.  Undo changes from 2007-01-12 and 2007-01-13
+       for the same reasons.
+
+2008-04-25  Dennis Gilmore  <ausil@fedoraproject.org>  (tiny change)
+
+       * m/sparc.h: Additional redefinitions for GNU/Linux.
+
+2008-04-23  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macterm.c (Vmac_ts_active_input_buf) [USE_MAC_TSM]: New variable.
+       (syms_of_macterm) [USE_MAC_TSM]: Defvar it.
+       (Qmouse_drag_overlay) [MAC_OSX]: New variable.
+       (syms_of_macterm) [MAC_OSX]: Intern and staticpro it.
+       (mac_get_selected_range, mac_store_buffer_text_to_unicode_chars)
+       (mac_ax_selected_text_range) [MAC_OSX]: New functions.
+       (mac_ax_number_of_characters) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]:
+       Likewise.
+
+       * mactoolbox.c (Vmac_ts_active_input_buf) [USE_MAC_TSM]: Add extern.
+       (fast_find_position, x_y_to_hpos_vpos, mac_ax_selected_text_range):
+       (mac_ax_number_of_characters): Add externs.
+       (mac_get_selected_range, mac_store_buffer_text_to_unicode_chars)
+       [USE_MAC_TSM]: Likewise.
+       (mac_handle_text_input_event) [MAC_OSX]:
+       Handle kEventTextInputOffsetToPos for no active input area case.
+       Handle kEventTextInputPosToOffset and kEventTextInputGetSelectedText.
+       (mac_handle_document_access_event)
+       [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New function.
+       (install_application_handler) [MAC_OSX]: Register handlers for
+       kEventTextInputPosToOffset and kEventTextInputGetSelectedText.
+       (install_application_handler) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]:
+       Register mac_handle_document_access_event.
+
+       * xdisp.c (x_y_to_hpos_vpos, fast_find_position) [HAVE_CARBON]:
+       Make functions non-static.
+
+2008-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * fileio.c (Vread_file_name_function, Vread_file_name_predicate)
+       (read_file_name_completion_ignore_case, insert_default_directory)
+       (Qdefault_directory): Move to minibuffer.el.
+       (Fread_file_name): Call the new `read-file-name' instead.
+
+2008-04-23  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * mac.c (create_apple_event) [TARGET_API_MAC_CARBON]:
+       Make function non-static.
+       (create_apple_event_from_event_ref) [TARGET_API_MAC_CARBON]:
+       Remove function.
+       (create_apple_event_from_drag_ref) [TARGET_API_MAC_CARBON]:
+       Move to mactoolbox.c.
+       (mac_event_parameters_to_lisp) [TARGET_API_MAC_CARBON]: New function.
+
+       * macgui.h (CGFloat) [!CGFLOAT_DEFINED]: New typedef.
+       (mac_rect_make): New macro.
+
+       * macterm.c (mac_draw_image_string_atsui) [MAC_OSX]: Use CGFloat
+       instead of float.
+       (mac_draw_image_string_cg) [USE_CG_TEXT_DRAWING]: Likewise.
+       (init_cg_color, mac_draw_line, mac_draw_cg_image, XSetForeground)
+       (XSetBackground) [USE_CG_DRAWING]: Likewise.
+       (mac_draw_image_string_atsui) [MAC_OSX]: Use mac_rect_make instead of
+       CGRectMake.
+       (mac_draw_image_string_cg) [USE_CG_TEXT_DRAWING]: Likewise.
+       (mac_erase_rectangle, mac_draw_cg_image, mac_fill_rectangle)
+       (mac_set_clip_rectangles) [USE_CG_DRAWING]: Likewise.
+       (XCreatePixmap, XCreatePixmapFromBitmapData): Use Window
+       instead of WindowRef in argument type.
+       (XCreatePixmap) [!MAC_OS8]: Don't call SetPortWindowPort.
+       (mac_invert_rectangle): Use CGContextSetBlendMode if available.
+       (mac_set_clip_rectangles, mac_reset_clip_rectangles): Take argument F
+       instead of DISPLAY.  All uses changed.
+       (mac_handle_size_change): Don't call SET_FRAME_GARBAGED.
+       (x_calc_absolute_position): Simplify so as not to use
+       FRAME_PIXEL_WIDTH/FRAME_PIXEL_HEIGHT.
+
+       * macterm.h (XCreatePixmap, XCreatePixmapFromBitmapData): Use Window
+       instead of WindowRef in argument type.
+       (create_apple_event_from_event_ref, create_apple_event_from_drag_ref)
+       [TARGET_API_MAC_CARBON]: Remove externs.
+       (create_apple_event, mac_event_parameters_to_lisp)
+       [TARGET_API_MAC_CARBON]: Add externs.
+
+       * mactoolbox.c (Vmac_ts_script_language_on_focus)
+       (saved_ts_script_language_on_focus) [USE_MAC_TSM]: Remove externs.
+       (XTread_socket) [USE_MAC_TOOLBAR]: Select window if its structure part
+       is clicked.
+       (x_activate_menubar): Remove extern for saved_menu_event_location.
+       (create_apple_event_from_drag_ref) [TARGET_API_MAC_CARBON]:
+       Move from mac.c.
+
+2008-04-23  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * alloc.c [!SYSTEM_MALLOC && !SYNC_INPUT] (uninterrupt_malloc)
+       [HAVE_GTK_AND_PTHREAD && !DOUG_LEA_MALLOC]: Don't use recursive mutex.
+
+2008-04-23  Jason Rumney  <jasonr@gnu.org>
+
+       * w32.c (stat): When Vw32_get_true_file_attributes is Qlocal, get
+       attributes only for local files.
+
+       * w32proc.c (syms_of_ntproc): Change Vw32_get_true_file attributes
+       default to Qlocal.
+
+2008-04-22  Juri Linkov  <juri@jurta.org>
+
+       * buffer.c (Fswitch_to_buffer): Change interactive spec to call
+       read-buffer-to-switch instead of using the letter "B".
+
+2008-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * fileio.c (Qdefault_directory): New variable.
+       (Fread_file_name): Use it to pass `dir' to the completion functions.
+
+2008-04-20  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xdisp.c (pos_visible_p): Check if iterator stops on a display string.
+
+2008-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * keyboard.c (Vpre_help_message): Remove.
+       (show_help_echo): Remove default C code.
+
+       * dired.c (directory_files_internal, file_name_completion):
+       Only call ENCODE_FILE if the string is indeed decoded.
+
+2008-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * Makefile.in (TOOLKIT_DEFINES): Remove.
+       (LIBW): Use a bit less #if, remove left over OPEN_LOOK stuff.
+
+2008-04-18  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * Makefile.in (MAC_OBJ): Add mactoolbox.o.
+       (mactoolbox.o): New target.
+
+       * mac.c [MAC_OSX] (select_and_poll_event, sys_select):
+       Use mac_run_loop_run_once instead of CFRunLoopRunInMode.
+
+       * macfns.c (x_set_background_color, mac_window, x_create_tip_frame):
+       Use mac_set_frame_window_background instead of XSetWindowBackground.
+       (x_set_tool_bar_lines) [USE_MAC_TOOLBAR]:
+       Use mac_is_window_toolbar_visible instead of IsWindowToolbarVisible.
+       (x_set_name_internal) [TARGET_API_MAC_CARBON]: Use mac_set_window_title
+       instead of SetWindowTitleWithCFString.
+       (mac_update_proxy_icon) [TARGET_API_MAC_CARBON]: Remove BLOCK_INPUT.
+       Move function to mactoolbox.c.
+       (mac_update_title_bar) [TARGET_API_MAC_CARBON]:
+       Use mac_set_window_modified instead of SetWindowModified.
+       Add BLOCK_INPUT around mac_set_window_modified/mac_update_proxy_icon.
+       (mac_window, x_create_tip_frame): Use mac_create_frame_window.
+       (Fx_focus_frame): Use mac_front_non_floating_window instead of
+       FrontNonFloatingWindow.  Use mac_activate_window instead of
+       ActivateWindow.  Use mac_active_non_floating_window instead of
+       ActiveNonFloatingWindow.
+       (show_hourglass, hide_hourglass) [TARGET_API_MAC_CARBON]:
+       Use mac_show_hourglass and mac_hide_hourglass.
+       (compute_tip_xy) [TARGET_API_MAC_CARBON]: Use mac_get_global_mouse
+       instead of GetGlobalMouse.
+       (Fx_show_tip): Use mac_move_window/mac_size_window/mac_show_window
+       instead of MoveWindow/SizeWindow/ShowWindow, respectively.
+       Use mac_bring_window_to_front instead of BringToFront.
+       (Qfile_name_history) [TARGET_API_MAC_CARBON]: Move extern to
+       mactoolbox.c.
+       (Fx_file_dialog) [TARGET_API_MAC_CARBON]: Move function body to
+       mac_file_dialog in mactoolbox.c.  Use mac_file_dialog.
+       (mac_nav_event_callback) [TARGET_API_MAC_CARBON]: Move function to
+       mactoolbox.c.
+
+       * macgui.h [!HAVE_CARBON]: Include Quickdraw.h instead of QuickDraw.h.
+       (XtPointer): Move typedef from macmenu.c.
+       (enum button_type): Move enum from macmenu.c.
+       (widget_value): Move typedef from macmenu.c.
+       (M_APPLE, I_ABOUT, EXTRA_STACK_ALLOC, ARGV_STRING_LIST_ID)
+       (DIALOG_LEFT_MARGIN, DIALOG_TOP_MARGIN, DIALOG_RIGHT_MARGIN)
+       (DIALOG_BOTTOM_MARGIN, DIALOG_MIN_INNER_WIDTH, DIALOG_MAX_INNER_WIDTH)
+       (DIALOG_BUTTON_BUTTON_HORIZONTAL_SPACE)
+       (DIALOG_BUTTON_BUTTON_VERTICAL_SPACE, DIALOG_BUTTON_MIN_WIDTH)
+       (DIALOG_TEXT_MIN_HEIGHT, DIALOG_TEXT_BUTTONS_VERTICAL_SPACE)
+       (DIALOG_ICON_WIDTH, DIALOG_ICON_HEIGHT, DIALOG_ICON_LEFT_MARGIN)
+       (DIALOG_ICON_TOP_MARGIN): Move defines from macmenu.c.
+       (Selection): Move typedef from macselect.c.
+       (RAM_TOO_LARGE_ALERT_ID, ABOUT_ALERT_ID) [MAC_OS8]: Move defines from
+       macterm.c.
+       (mac_set_window_title, mac_set_window_modified, mac_is_window_visible)
+       (mac_is_window_collapsed, mac_bring_window_to_front)
+       (mac_send_window_behind, mac_hide_window, mac_show_window)
+       (mac_collapse_window, mac_front_non_floating_window)
+       (mac_active_non_floating_window, mac_activate_window)
+       (mac_move_window_structure, mac_move_window, mac_size_window)
+       (mac_get_global_mouse, mac_is_window_toolbar_visible): New defines.
+
+       * macmenu.c [!TARGET_API_MAC_CARBON]: Move includes to mactoolbox.c.
+       (enum mac_menu_kind): Move enum to mactoolbox.c.
+       (min_menu_id): Move variable to mactoolbox.c.
+       (quit_dialog_event_loop) [TARGET_API_MAC_CARBON]: Likewise.
+       (DIALOG_WINDOW_RESOURCE): Move define to mactoolbox.c.
+       (DIALOG_BUTTON_COMMAND_ID_OFFSET, DIALOG_BUTTON_COMMAND_ID_P)
+       (DIALOG_BUTTON_COMMAND_ID_VALUE, DIALOG_BUTTON_MAKE_COMMAND_ID)
+       [TARGET_API_MAC_CARBON]: Likewise.
+       (XtPointer): Move typedef to macgui.h.
+       (enum button_type): Move enum to macgui.h.
+       (widget_value): Move typedef to macgui.h.
+       (DIALOG_LEFT_MARGIN, DIALOG_TOP_MARGIN, DIALOG_RIGHT_MARGIN)
+       (DIALOG_BOTTOM_MARGIN, DIALOG_MIN_INNER_WIDTH, DIALOG_MAX_INNER_WIDTH)
+       (DIALOG_BUTTON_BUTTON_HORIZONTAL_SPACE)
+       (DIALOG_BUTTON_BUTTON_VERTICAL_SPACE, DIALOG_BUTTON_MIN_WIDTH)
+       (DIALOG_TEXT_MIN_HEIGHT, DIALOG_TEXT_BUTTONS_VERTICAL_SPACE)
+       (DIALOG_ICON_WIDTH, DIALOG_ICON_HEIGHT, DIALOG_ICON_LEFT_MARGIN)
+       (DIALOG_ICON_TOP_MARGIN): Move defines to macgui.h.
+       (popup_activated_flag): Make variable non-static.
+       (x_activate_menubar, install_menu_quit_handler, pop_down_menu)
+       (add_menu_item, fill_menu, dispose_menus):
+       Move functions to mactoolbox.c.
+       (restore_show_help_function, menu_target_item_handler)
+       (install_menu_target_item_handler, mac_handle_dialog_event)
+       (install_dialog_event_handler, pop_down_dialog, create_and_show_dialog)
+       [TARGET_API_MAC_CARBON]: Likewise.
+       (menu_quit_handler) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Likewise.
+       (mac_dialog) [!TARGET_API_MAC_CARBON]: Likewise.
+       (find_and_call_menu_selection, name_is_separator): Make function
+       non-static.
+       (Vshow_help_function, timer_check) [TARGET_API_MAC_CARBON]: Move extern
+       to mactoolbox.c.
+       (set_frame_menubar): Don't call install_menu_quit_handler.
+       (menu_item_selection): New variable.
+       (mac_menu_show): Use create_and_show_popup_menu.
+       (create_and_show_dialog) [TARGET_API_MAC_CARBON]: Don't return
+       selection but set variable menu_item_selection.  All uses changed.
+       (mac_fill_menubar): Rename from fill_menubar.  All uses changed.
+       Call install_menu_quit_handler.  Move to mactoolbox.c.
+
+       * macselect.c [!TARGET_API_MAC_CARBON]: Don't include Scrap.h.
+       (Selection): Move typedef to macgui.h.
+       (Vselection_converter_alist, Qmac_scrap_name, Qmac_ostype)
+       (Vmac_apple_event_map, Qmac_apple_event_class, Qmac_apple_event_id):
+       Make variables non-static.
+       (Vmac_dnd_known_types) [TARGET_API_MAC_CARBON]: Likewise.
+       (mac_handle_apple_event, cleanup_all_suspended_apple_events):
+       Make functions non-static.
+       (Vmac_service_selection) [MAC_OSX]: Likewise.
+       (mac_get_selection_from_symbol, get_flavor_type_from_symbol)
+       (mac_valid_selection_target_p, mac_clear_selection)
+       (mac_get_selection_ownership_info, mac_valid_selection_value_p)
+       (mac_put_selection_value, mac_selection_has_target_p)
+       (mac_get_selection_value, mac_get_selection_target_list)
+       (init_apple_event_handler, install_drag_handler, remove_drag_handler):
+       Move functions to mactoolbox.c.
+       (mac_do_track_drag, mac_do_receive_drag) [TARGET_API_MAC_CARBON]:
+       Likewise.
+       (copy_scrap_flavor_data, mac_handle_service_event)
+       (install_service_handler) [MAC_OSX]: Likewise.
+       (syms_of_macselect) <Vmac_dnd_known_types>:
+       Use mac_dnd_default_known_types.
+
+       * macterm.h (FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y):
+       Move to mactoolbox.c.
+       (HOURGLASS_WIDTH, HOURGLASS_HEIGHT): Change to 15.
+       (Fx_selection_owner_p): Add EXFUN.
+       (install_window_handler, remove_window_handler, XSetWindowBackground):
+       Remove externs.
+       (do_apple_menu) [!TARGET_API_MAC_CARBON]: Likewise.
+       (mac_prepare_for_quickdraw) [USE_CG_DRAWING]: Likewise.
+       (x_raise_frame, x_lower_frame, mac_alert_sound_play)
+       (install_application_handler, mac_get_frame_bounds, mac_get_frame_mouse)
+       (mac_convert_frame_point_to_global, mac_set_frame_window_background)
+       (mac_update_begin mac_update_end, mac_frame_up_to_date, x_flush)
+       (mac_create_frame_window, mac_dispose_frame_window, mac_begin_clip)
+       (mac_end_clip, mac_create_scroll_bar, mac_dispose_scroll_bar)
+       (mac_set_scroll_bar_bounds, mac_redraw_scroll_bar, mac_fill_menubar)
+       (create_and_show_popup_menu, mac_get_selection_from_symbol)
+       (mac_valid_selection_target_p, mac_clear_selection)
+       (mac_get_selection_ownership_info, mac_valid_selection_value_p)
+       (mac_put_selection_value, mac_selection_has_target_p)
+       (mac_get_selection_value, mac_get_selection_target_list): Add externs.
+       (mac_update_proxy_icon, mac_show_hourglass, mac_hide_hourglass)
+       (mac_reposition_hourglass, mac_file_dialog, create_and_show_dialog)
+       (mac_dnd_default_known_types) [TARGET_API_MAC_CARBON]: Likewise.
+       (mac_run_loop_run_once) [MAC_OSX]: Likewise.
+       (mac_dialog) [!TARGET_API_MAC_CARBON]: Likewise.
+       (mac_begin_cg_clip, mac_end_cg_clip) [USE_CG_DRAWING]: Likewise.
+       (x_set_toolkit_scroll_bar_thumb) [!USE_TOOLKIT_SCROLL_BARS]: Likewise.
+       (x_scroll_bar_set_handle) [!USE_TOOLKIT_SCROLL_BARS]: Likewise.
+
+       * mactoolbox.c: New file.
+
+2008-04-18  Jason Rumney  <jasonr@gnu.org>
+
+       * dired.c (Ffile_attributes) [WINDOWSNT]: Cast uid and gid to unsigned.
+
+2008-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * character.c (Fmultibyte_char_to_unibyte):
+       Return latin1 chars unchanged.
+
+       * fileio.c (Fexpand_file_name): Refine last fix so `nm' is only
+       relocated if it points to `name'.
+
+2008-04-17  Kenichi Handa  <handa@m17n.org>
+
+       * data.c (Faset): Allow setting a multibyte character in an
+       ASCII-only unibyte string.
+
+       * lisp.h (STRING_SET_MULTIBYTE): New macro.
+
+2008-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * Makefile.in: Don't use HAVE_GTK and don't -DUSE_GTK since it's now
+       done in config.h.
+
+2008-04-16  Juanma Barranquero  <lekktu@gmail.com>
+
+       * character.c (Fchar_bytes, Fchar_width, Fstring_width)
+       (Fchar_direction): Add usage in the docstring.
+
+2008-04-15  Chong Yidong  <cyd@stupidchicken.com>
+
+       * keyboard.c (read_key_sequence): Remove always-true checks.
+
+2008-04-14  Jason Rumney  <jasonr@gnu.org>
+
+       * w32font.c (w32font_open_internal): Set max_bounds.descent in
+       compatibility struct, for better underline positioning.
+
+2008-04-13  David Hansen  <david.hansen@gmx.net>
+
+       * dbusbind.c (dbus-get-unique-name): Remove extra copying of name
+       string.
+
+2008-04-12  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * m/hp800.h (XUINT, XSET): Remove.
+
+2008-04-12  Juanma Barranquero  <lekktu@gmail.com>
+
+       * fileio.c (Fexpand_file_name): Add declaration for `p' missing in
+       previous change.
+
+2008-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * fileio.c (Fexpand_file_name): Tighten the scope of `p' and `o' vars.
+       Relocate `nm' after calling DECODE_FILE, in case the GC was run.
+
+2008-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * keymap.h (map_keymap_canonical): Declare.
+       * xmenu.c (single_keymap_panes): Use it.
+
+2008-04-11  Glenn Morris  <rgm@gnu.org>
+
+       * eval.c (Fdefvaralias): If the alias is bound and the target is not,
+       set the target's value to that of the alias.
+
+2008-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * term.c (set_tty_color_mode): Left over typo.
+
+2008-04-10  Michael Albinus  <michael.albinus@gmx.de>
+
+       * fileio.c (Fmake_symbolic_link): Surround code by #ifdef S_IFLNK
+       only after check for file name handler functions.  Signal, when
+       native functionality is not supported.
+       (syms_of_fileio): Declare it unconditionally.
+
+2008-04-10  Jason Rumney  <jasonr@gnu.org>
+
+       * w32menu.c (is_simple_dialog, simple_dialog_show): New functions.
+       (Fx_popup_dialog): Handle simple yes/no questions as dialogs.
+
+       * w32.c (logon_network_drive): Also logon to remote drives that
+       are mapped to drive letters.
+
+2008-04-10  Glenn Morris  <rgm@gnu.org>
+
+       * xdisp.c (truncate-partial-width-windows): Doc fix.
+
+2008-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * fileio.c (read_file_name_cleanup, Fread_file_name_internal):
+       Move functions to minibuffer.el.
+       (syms_of_fileio): Don't declare them.
+
+2008-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuf.c (Vcompletion_auto_help): Move to minibuffer.el.
+       (syms_of_minibuf): Remove its initialization.
+
+       * minibuf.c (temp_echo_area_glyphs): Remove unused function.
+
+2008-04-09  Juanma Barranquero  <lekktu@gmail.com>
+
+       * editfns.c (Ffield_string_no_properties): Fix typo in docstring.
+
+2008-04-09  Jason Rumney  <jasonr@gnu.org>
+
+       * makefile.w32-in (distclean): Delete makefile too.
+       (maintainer-clean): New target.
+
+       * xdisp.c (redisplay_internal) [!WINDOWSNT]: Conditionalize last change.
+
+       * w32term.c (w32_compute_glyph_string_overhangs): Compute overhangs
+       for new font backend and composite cases.
+
+2008-04-09  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * atimer.c (alarm_signal_handler): Call run_timers if not SYNC_INPUT.
+       Most of the code moved to run_timers.
+       (do_pending_atimers): Call run_timers.
+       (run_timers): New function.
+
+       * sysdep.c (emacs_write): If SYNC_INPUT and pending_atimers,
+       run atimers.
+
+       * process.c (wait_reading_process_output): The same as above.
+
+2008-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuf.c (last_exact_completion): Remove variable.
+       (Fdelete_minibuffer_contents, do_completion, Fminibuffer_complete)
+       (complete_and_exit_1, complete_and_exit_2)
+       (Fminibuffer_complete_and_exit, Fminibuffer_complete_word)
+       (Fdisplay_completion_list, display_completion_list_1)
+       (Fminibuffer_completion_help, Fself_insert_and_exit)
+       (Fexit_minibuffer, Fminibuffer_message): Move functions to
+       minibuffer.el.
+       (syms_of_minibuf): Remove corresponding initializations.
+
+       * keyboard.c (Qdeactivate_mark): New var.
+       (command_loop_1): Use it to call `deactivate-mark'.
+       (syms_of_keyboard): Initialize it.
+
+       * xdisp.c (redisplay_internal): Reset tty's color_mode when switching
+       to another frame.
+       * frame.c (do_switch_frame): Refine the top_frame/async_visible code.
+       Don't call set_tty_color_mode.
+       (store_frame_param): Reset previous_frame rather than call
+       set_tty_color_mode.
+       * term.c (set_tty_color_mode): Rewrite.
+       * dispextern.h (set_tty_color_mode): New type.
+       * termchar.h (struct tty_display_info): Add `previous_color_mode'.
+
+2008-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * keymap.c (access_keymap): Remove the value 2 for t_ok which was used
+       for generic chars, which do not exist any more in emacs-unicode.
+
+2008-04-08  Michael Albinus  <michael.albinus@gmx.de>
+
+       * coding.c (detect_coding_emacs_mule)
+       (Ffind_operation_coding_system): Fix typo.
+
+2008-04-08  Jason Rumney  <jasonr@gnu.org>
+
+       * w32uniscribe.c (SNAME): Extract only symbol name.
+
+       * w32font.h (struct w32_metric_cache): New struct.
+       (w32font_info): Use it.
+       (W32METRIC_NO_ATTEMPT, W32METRIC_SUCCESS, W32METRIC_FAIL)
+       (CACHE_BLOCKSIZE): New constants.
+
+       * w32font.c (Qja, Qko, Qzh): New symbols.
+       (syms_of_w32font): Initialise them.
+       (font_matches_spec): Use them to filter by language.
+       (recompute_cached_metrics): Remove function.
+       (compute_metrics, clear_cached_metrics): New functions.
+       (w32font_encode_char): Use them to manage metric cache.
+       (w32font_text_extents): Cache metrics for all glyphs on demand.
+       Delay converting glyph indices to WORD until needed.
+       (w32font_open_internal): Initialize metric cache to empty.
+       (registry_to_w32_charset): Charset should always be a symbol.
+       (fill_in_logfont, list_all_matching_fonts): Family should
+       always be a symbol.
+
+2008-04-06  Jason Rumney  <jasonr@gnu.org>
+
+       * w32uniscribe.c (uniscribe_shape): Increase items buffer size.
+       Give up if glyph indices not supported.  Use uniscribe obtained
+       ABC widths for individual metrics.  Map glyph clusters back to
+       characters using fClusterStart flag.  Return number of glyphs
+       produced, not chars processed.
+       (uniscribe_shape): Map char at FROM to current glyph.
+
+2008-04-05  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macmenu.c (fill_menu) [TARGET_API_MAC_CARBON]:
+       Use SetMenuItemHierarchicalMenu.
+
+2008-04-05  Jason Rumney  <jasonr@gnu.org>
+
+       * image.c (pbm_load): Allow color values up to 65535.
+       Throw an error if max_color_idx is outside the supported range.
+       Report an error when image size is invalid.
+       Read two bytes at a time when raw images have max_color_idx above 255.
+
+2008-04-05  Eli Zaretskii  <eliz@gnu.org>
+
+       * w32.c (readdir): If FindFirstFile/FindNextFile return in
+       cFileName a file name that includes `?' characters, use the 8+3
+       alias in cAlternateFileName instead.
+
+2008-04-05  Kenichi Handa  <handa@ni.aist.go.jp>
+
+       * ccl.c (ccl_driver): If ccl->quit_silently is nonzero, don't
+       append "CCL: Quitted" when the CCL program is quitted.
+       (setup_ccl_program): Initialize ccl->quit_silently to zero.
+
+       * ccl.h (struct ccl_program): New member quit_silently.
+
+2008-04-05  Chong Yidong  <cyd@stupidchicken.com>
+
+       * search.c (compile_pattern_1): Treat non-nil and non-string of
+       search-spaces-regexp as nil.
+
+       * minibuf.c (Fassoc_string): Tweak docstring.
+
+2008-04-05  Eli Zaretskii  <eliz@gnu.org>
+
+       * dired.c (Ffile_attributes): Support inode numbers wider than 32
+       bits.  Remove ugly WINDOWSNT-specific kludge introduced on
+       2008-03-14 to force inode be positive.
+
+       * w32.c (sys_chown, stat, fstat): Use S_* constants instead of
+       _S_* ones, since we now use our own sys/stat.h.
+       (stat, fstat): Don't mangle the inode number.
+       (init_user_info): Don't restrict UID and GID to 0-60000 range.
+
+2008-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * frame.h (struct frame): Give one more bit to `visible' since we use
+       values larger than 1 to indicate obscured frames on ttys.
+
+       * keymap.c (Qkeymap_canonicalize): New var.
+       (Fmap_keymap_internal): New fun.
+       (describe_map): Use keymap-canonicalize.
+
+       * undo.c (last_boundary_buffer, last_boundary_position): New vars.
+       (Fundo_boundary): Set them.
+       (syms_of_undo): Initialize them.
+       (record_point): Use them instead of last_point_position*.
+       (last_undo_buffer): Change type.
+
+2008-04-04  Jason Rumney  <jasonr@gnu.org>
+
+       * w32font.c (w32font_text_extents): Use font's ascent and descent.
+       (recompute_cached_metrics): Don't set ascent and descent per char.
+
+       * w32uniscribe.c (uniscribe_check_otf): Fix last change.
+       (uniscribe_check_otf): Add GC protection before consing.
+       Rearrange loop for counting features.
+
+2008-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * insdel.c (insert_from_buffer_1): Don't compare bytes in destination
+       buffer with byte-size of source buffer.
+
+2008-04-03  Chong Yidong  <cyd@stupidchicken.com>
+
+       * callint.c (Fcall_interactively): Handle temporary region even
+       when shift-select-mode is off.
+
+2008-04-03  Jason Rumney  <jasonr@gnu.org>
+
+       * w32uniscribe.c (uniscribe_check_otf): Sanity check otf_spec.
+
+2008-04-03  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (CATEGORY_MASK_ANY): Add CATEGORY_MASK_UTF_16_AUTO.
+       (CATEGORY_MASK_UTF_16): Likewise.
+       (detect_coding_utf_16): Add heuristics to reject utf-16 for a
+       binary file.
+       (detect_coding): Add null-byte detection for a binary file.
+       (detect_coding_system): Likewise.
+
+2008-04-03  Jason Rumney  <jasonr@gnu.org>
+
+       * w32uniscribe.c: New file.
+
+       * font.h (uniscribe_font_driver) [WINDOWSNT]: Declare for w32fns.c.
+
+       * w32font.h (uniscribe_check_otf): Declare for w32font.c.
+
+       * w32font.c (Qbalinese, Qbuginese, Qbuhid, Qcuneiform, Qcypriot)
+       (Qdeseret, Qglagolitic, Qgothic, Qhanunoo, Qkharoshthi)
+       (Qlimbu, Qlinear_b, Qold_italic, Qold_persian, Qosmanya)
+       (Qphags_pa, Qphoenician, Qshavian, Qsyloti_nagri)
+       (Qtagalog, Qtagbanwa, Qtai_le, Qtifinagh, Qugaritic)
+       (Qphonetic): New symbols.
+       (syms_of_w32font): Initialize them.
+       (font_supported_scripts): Use them.
+       (w32font_list_family): List all charsets.
+       (w32font_text_extents, recompute_cached_metrics): Fix metric
+       calculations.
+       (w32_enumfont_pattern_entity): Make full_type a DWORD.
+       Give opentype fonts their own format.
+       (font_matches_spec): New arguments backend and logfont.
+       Handle :otf spec for uniscribe backend.
+       (add_font_entity_to_list): Match truetype fonts in uniscribe backend.
+       (fill_in_logfont): Use DEFAULT_CHARSET when charset not supplied.
+
+       * w32fns.c (Fx_create_frame): Conditionally register uniscribe
+       font backend.
+       (globals_of_w32fns): Initialize uniscribe font backend.
+
+       * makefile.w32-in (CONFIG_H): New variable.  Use it to clean up
+       dependencies.
+       (w32uniscribe.$(O)): New file to build.
+       (FONT_OBJ): Include w32uniscribe.$(O).
+       (LIBS): Add uniscribe libraries.
+
+       * ftfont.c (ftfont_get_open_type_spec): Check spec->script, not val.
+
+2008-04-02  Chong Yidong  <cyd@stupidchicken.com>
+
+       * callint.c (Vshift_select_mode): New var.
+       (Finteractive): Document new ^ spec.
+       (Fcall_interactively): Call handle-shift-selection if the ^ spec
+       is present.
+
+       * keyboard.c (Vthis_command_keys_shift_translated): New var.
+       (command_loop_1): Avoid running the direct display versions of
+       forward-char and backward-char if shift-selection may occur.
+       (read_key_sequence): Set Vthis_command_keys_shift_translated if
+       shift-translation takes place.
+
+       * buffer.c (Vtransient_mark_mode): Move docstring to simple.el to
+       avoid clobbering by define-minor-mode.
+
+       * cmds.c (Fforward_char, Fbackward_char, Fforward_line)
+       (Fbeginning_of_line, Fend_of_line): Add ^ interactive spec.
+
+       * syntax.c (Fforward_word): Add ^ interactive spec.
+
+       * window.c (Fscroll_up, Fscroll_down, Fscroll_left)
+       (Fscroll_right): Add ^ interactive spec.
+
+2008-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * xdisp.c (try_window_id): Don't forget to reset delta_bytes.
+
+       * casefiddle.c (casify_object): Fix up int/EMACS_INT mixup.
+
+       * charset.c (Funibyte_charset, Fset_unibyte_charset): Remove.
+
+2008-03-31  Juri Linkov  <juri@jurta.org>
+
+       * window.c (Fdisplay_buffer): Reinitialize `tem' to nil.
+
+2008-03-30  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * gtkutil.c (xg_set_geometry): Fix indentation.
+       (xg_resize_outer_widget): Remove.
+       (x_wm_size_hint_off): Fix indentation.
+       (xg_frame_set_char_size): Call flush_and_sync after
+       gtk_window_resize.
+       (x_wm_set_size_hint): Pass NULL as geometry window to
+       gtk_window_set_geometry_hints due to Gtk+ bug nr 68668.
+       Add menu bar and tool bar height to base height.
+       (xg_update_frame_menubar, free_frame_menubar)
+       (xg_tool_bar_detach_callback, xg_tool_bar_attach_callback)
+       (update_frame_tool_bar, free_frame_tool_bar):
+       Change xg_resize_outer_widget to xg_frame_set_char_size.
+
+2008-03-30  Michael Albinus  <michael.albinus@gmx.de>
+
+       * dbusbind.c (QCdbus_timeout): New D-Bus internal symbol.
+       (Fdbus_call_method): New parameter TIMEOUT.
+       (dbus-send-signal): Optimize UNGCPRO call.
+
+2008-03-29  Juri Linkov  <juri@jurta.org>
+
+       * window.c (Fdisplay_buffer): Move call to
+       Vsplit_window_preferred_function out of conditions that check
+       if window is eligible for vertical splitting.
+       When Vsplit_window_preferred_function is non-nil, call it and use
+       its non-nil return value as window.  Otherwise, continue doing
+       vertical splitting using Fsplit_window with arg horflag=nil.
+       (syms_of_window) <Vsplit_window_preferred_function>: Change the
+       default value from `split-window' to nil.
+
+2008-03-29  Juri Linkov  <juri@jurta.org>
+
+       * callint.c (Fcall_interactively): Revert 2008-03-16 change
+       for interactive code letters 'b' and 'B'.
+
+2008-03-29  Eli Zaretskii  <eliz@gnu.org>
+
+       * fileio.c (Fexpand_file_name): Convert the value of $HOME to a
+       multibyte string.
+
+2008-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * keyboard.c (pending_funcalls): New var.
+       (timer_check): Run it.
+       (syms_of_keyboard): Initialize it.
+       * terminal.c (Qrun_hook_with_args, Qdelete_terminal_functions)
+       (Vdelete_terminal_functions): New vars.
+       (syms_of_terminal): Initialize them.
+       (Fdelete_terminal): Run delete-terminal-functions.
+       * xdisp.c (safe_eval): Rewrite.
+       (safe_call2): New fun.
+       * frame.c (Qdelete_frame_functions): New var.
+       (syms_of_frame): Initialize it.
+       (Fdelete_frame): Use it and use safe_call2 and pending_funcalls.
+       * lisp.h (safe_call2, pending_funcalls): Declare.
+
+2008-03-28  Andreas Schwab  <schwab@suse.de>
+
+       * indent.c (Fmove_to_column): Move declaration before statements.
+
+2008-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * frame.h (enum fullscreen_type): Give it a name.  Move it before use.
+       (struct frame): Use bit fields for boolean vars.
+
+       * process.c (server_accept_connection): Simplify naming.
+       (emacs_get_tty_pgrp): Use SDATA.
+
+       * coding.c (decode_coding_object): Fix last change.
+
+2008-03-27  Jason Rumney  <jasonr@gnu.org>
+
+       * w32fns.c (start_hourglass): Suppress hourglass on tty frames.
+
+2008-03-27  Kenichi Handa  <handa@ni.aist.go.jp>
+
+       * charset.c (Fdefine_charset_internal): Change the way of
+       registering charsets in Vcharset_order_list.
+       (syms_of_charset): Make the charset `eight-bit' supplementary.
+
+2008-03-26  Alexandre Oliva  <aoliva@redhat.com>  (tiny change)
+
+       * regex.c (EXTEND_BUFFER): Change order of pointer addition
+       operations, to avoid having the difference between pointers
+       overflow.
+
+2008-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * indent.c (check_display_width): New fun.
+       (scan_for_column): Use it.
+
+       * data.c (syms_of_data): Mark most-positive-fixnum and
+       most-negative-fixnum as constants.
+
+       * xdisp.c (redisplay_internal): Reset selected_frame earlier.
+
+       * indent.c (scan_for_column): Extract from current_column_1.
+       Merge with the same code from Fmove_to_column.
+       (current_column_1, Fmove_to_column): Use it.
+
+2008-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * keymap.c (map_keymap_internal): New fun.
+       (map_keymap): Use it.
+       (Fmap_keymap_internal): New fun.
+       (Fmap_keymap): Remove left-out test from before make_save_value.
+
+       * keymap.c (Fmap_keymap): Use `map-keymap-sorted.
+
+       * frame.c (Fmodify_frame_parameters, x_set_frame_parameters):
+       Use XCAR/XCDR.
+
+       * process.h (struct Lisp_Process): Remove filter_multibyte.
+       * process.c (QCfilter_multibyte): Remove.
+       (setup_process_coding_systems): Don't use filter_multibyte.
+       (Fstart_process, Fmake_network_process): Don't set filter_multibyte.
+       (read_process_output): Don't adjust multibyteness to filter_multibyte.
+       (Fset_process_filter_multibyte): Change the coding-system to
+       approximate the previous behavior.
+       (Fprocess_filter_multibyte_p): Get the multibyteness straight from the
+       coding-system.
+
+       * coding.c (decode_coding_object): When not decoding into a buffer,
+       obey the coding system's preference of (uni|multi)byte.
+
+2008-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * casefiddle.c (casify_object): Avoid pathological N^2 worst case if
+       every char is changed and has a different byte-length.
+       (Fupcase_word, Fdowncase_word, Fcapitalize_word, operate_on_word):
+       Fix int -> EMACS_INT.
+
+2008-03-23  David Hansen  <david.hansen@gmx.net>
+
+       * dbusbind.c (xd_read_message): Remove extra copying of message
+       strings.  Check for NULL `interface' or `member'.
+
+2008-03-22  Eli Zaretskii  <eliz@gnu.org>
+
+       * w32.c (readdir): If FindFirstFile/FindNextFile return in
+       cFileName a file name that includes `?' characters, use the 8+3
+       alias in cAlternateFileName instead.
+
+2008-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * buffer.c (enlarge_buffer_text): Fix int -> EMACS_INT.
+
+2008-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * intervals.c (temp_set_point, temp_set_point_both): Use EMACS_INT.
+       (set_point, set_point_both): Use EMACS_INT.  Remove `buffer' arg,
+       work on current_buffer only instead (that was already the case
+       for some of the code anyway).
+       * buffer.h (set_point, set_point_both): Remove buffer arg, use long int.
+       (temp_set_point, temp_set_point_both): Use EMACS_INT.
+       (SET_PT, SET_PT_BOTH): Adjust.
+       * intervals.h (set_point, temp_set_point, set_point_both)
+       (temp_set_point_both): Remove redundant declarations.
+
+2008-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * fileio.c (Finsert_file_contents):
+       * lread.c (Feval_buffer): Use BUF_TEMP_SET_PT.
+       * buffer.h (BUF_SET_PT): Remove.  set_point_both doesn't work right
+       when buffer != current_buffer anyway.
+
+2008-03-20  Andreas Schwab  <schwab@suse.de>
+
+       * callint.c (Fcall_interactively) [case 'B']: Use other-buffer
+       as default.
+
+2008-03-19  Jason Rumney  <jasonr@gnu.org>
+
+       * w32fns.c (hourglass_timer, hourglass_hwnd): New variables.
+       (syms_of_w32fns): Initialize them.
+       (HOURGLASS_ID): New constant.
+       (x_window_to_frame): Don't check hourglass_window.
+       (w32_wnd_proc) <WM_TIMER>: Handle hourglass_timer.
+       (w32_wnd_proc) <WM_EXITMENULOOP>: Set pending hourglass cursor.
+       (w32_wnd_proc) <WM_SETCURSOR>: Set the hourglass or current cursor.
+       (w32_wnd_proc) <WM_EMACS_SETCURSOR>: Set frame's current_cursor.
+       Only change the cursor if hourglass is not active.
+       (Fx_create_frame): Initialize frame's current_cursor.
+       (hourglass_atimer): Remove.
+       (hourglass_started): New function.
+       (start_hourglass, cancel_hourglass, hide_hourglass): Adapt to w32.
+       (show_hourglass): Adapt to w32, changing argument to frame.
+
+       * w32term.h (struct w32_output): Remove hourglass_window.
+       Add current_cursor.
+
+       * eval.c (call_debugger, Fsignal):
+       * keyboard.c (recursive_edit_1, cmd_error, Ftop_level)
+       (command_loop_1, Fread_key_sequence, Fread_key_sequence_vector)
+       (Fexecute_extended_command, cancel_hourglass_unwind):
+       * minibuf.c (read_minibuf):
+       * fns.c (Fy_or_n_p): Enable hourglass when HAVE_WINDOW_SYSTEM.
+
 2008-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+       * window.c (run_funs): New fun.
+       (run_window_configuration_change_hook): Use it to run the buffer-local
+       and the global part of the hook.
+
        * xdisp.c (format_mode_line_unwind_data): Add window argument.
        (unwind_format_mode_line): Restore selected window.
        (x_consider_frame_title, Fformat_mode_line): Set selected window.
 
        * lisp.h (Fbuffer_list): Declare.
 
-2008-03-17  Jan Dj\e$(Q)Z\e(Brv  <jan.h.d@swipnet.se>
+2008-03-17  Jan Djärv  <jan.h.d@swipnet.se>
 
        * gtkutil.c (free_frame_tool_bar): Only call gtk_container_remove if
        handlebox_widget is != 0.
 
        * buffer.c (Fswitch_to_buffer): Fall back on pop-to-buffer.
 
-2008-03-11  Jan Dj\e$(Q)Z\e(Brv  <jan.h.d@swipnet.se>
+2008-03-11  Jan Djärv  <jan.h.d@swipnet.se>
 
        * xterm.c (x_connection_closed): For GTK: If this is the last
        terminal just exit without closing the display.
 
        * font.c (font_unparse_fcname): Increase len when style is a symbol.
 
-2008-03-01  Jan Dj\e$(Q)Z\e(Brv  <jan.h.d@swipnet.se>
+2008-03-01  Jan Djärv  <jan.h.d@swipnet.se>
 
        * xterm.c (handle_one_xevent): For Gtk+ and ConfigureNotify, call
        xg_frame_resized when the event is for the edit widget.
 
        * process.c (wait_reading_process_output): Check for window
        changes caused by timers.
-       Suggested by Johan Bockg\e,Ae\e(Brd.
+       Suggested by Johan Bockgård.
 
 2008-02-27  Glenn Morris  <rgm@gnu.org>
 
        * s/irix6-0.h:
        * s/riscos5.h:
        * s/mach-bsd4-3.h:
-       * m/mips4.h: Remove files for obsolete systems
+       * m/mips4.h: Remove files for obsolete systems.
 
        * Makefile.in:
        * filelock.c:
 
 2008-02-24  Jason Rumney  <jasonr@gnu.org>
 
-       * w32term.c: (x_draw_glyph_string_background): Clear the background
+       * w32term.c (x_draw_glyph_string_background): Clear the background
        manually when cleartype is in use.
        (x_draw_glyph_string_foreground): Draw text transparently when
        cleartype is in use.
 
        * font.c (font_unparse_xlfd): Don't ignore integer pixel size specs.
 
-2008-02-18  Jan Dj\e$(Q)Z\e(Brv  <jan.h.d@swipnet.se>
+2008-02-18  Jan Djärv  <jan.h.d@swipnet.se>
 
        * xfns.c (Fx_show_tip): Set string to " " if empty.
 
        * emacs.c (USAGE3): Add --parent-id
        (standard_args): Ditto.
 
-2008-02-07  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2008-02-07  Jan Djärv  <jan.h.d@swipnet.se>
 
        * coding.c (DECODE_EMACS_MULE_COMPOSITION_CHAR): Use "do...while (0)".
 
 
        * chartab.c (map_sub_char_table): Make it work for the top-level
        char-table.  Fix handling of parent char-table.
-       (map_char_table):  Adjust for the above change.
+       (map_char_table): Adjust for the above change.
 
 2008-02-01  Jason Rumney  <jasonr@gnu.org>
 
        * ftfont.c (ftfont_list): Fix typo.
        (ftfont_build_basic_charsets): Don't include letters with diacritics.
 
-2008-02-01  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2008-02-01  Jan Djärv  <jan.h.d@swipnet.se>
 
        * xfaces.c (realize_non_ascii_face): Set face->extra to NULL.
 
        * xftfont.c (xftfont_done_face): Call XftDrawDestroy only if
        xftface_info is non-NULL.
 
-2008-02-01  Kenichi Handa  <handa@m17n.org>
-
-       * ftfont.c (ftfont_list): Fix typo.
-       (ftfont_build_basic_charsets): Don't include letters with diactrics.
-
-2008-02-01  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2008-02-01  Jan Djärv  <jan.h.d@swipnet.se>
 
        * ftfont.c (ftfont_list): Move misplaced #endif.
 
        (font_put_extra): New function.
        (font_parse_xlfd): Fix handling of font size.  Add QCdpi property
        in FONT_EXTRA.
-       (font_parse_fcname): Handle enumenrated values (e.g. bold).  Fix
-       handling font size.  Add QCname property that contains only
+       (font_parse_fcname): Handle enumenrated values (e.g. bold).
+       Fix handling font size.  Add QCname property that contains only
        unknown properties.
        (font_score): Change argument.  Change caller.  Pay attention to
        FONT_PIXEL_SIZE_QUANTUM.
        * xftfont.c (xftfont_open): For generating a name, start from
        96-byte buffer.
 
-2008-02-01  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2008-02-01  Jan Djärv  <jan.h.d@swipnet.se>
 
        * frame.h (x_new_fontset2): Fix prototype.
 
 
        * macterm.c (mac_encode_char): Add charset argument and update
        to use encoding_type.
-       (x_new_font,x_new_fontset): Merge in changes from xterm.c;
+       (x_new_font, x_new_fontset): Merge in changes from xterm.c;
        switch to pure fontset.
        (decode_mac_font_name): Temporarily remove decoding.
        (x_font_name_to_mac_font_name): Temporarily remove encoding.
 
        * coding.c: Add many prototypes for static functions.
        (get_translation_table): Allow max_lookup to be NULL.
-       (decode_coding,Ffind_coding_systems_region_internal)
+       (decode_coding, Ffind_coding_systems_region_internal)
        (Funencodable_char_position, Fcheck_coding_systems_region): Call
        get_translation_table with max_lookup NULL.
 
        (emacs_mule_char): Change the second arg to `const'.
        (decode_coding): Fix of flushing out unprocessed data.
        (make_conversion_work_buffer): Fix making of a work buffer.
-       (decode_coding_object): Return coding->dst_object;
+       (decode_coding_object): Return coding->dst_object.
 
        * fontset.c (set_fontset_font): Fix args.
 
        (x_get_font_repertory): New function.  Warning: stub only!
        (x_new_font): Return quickly if font already set.
        (x_new_fontset): fontsetname parameter is Lisp_Object.
-       Use new fs_query_fontset.  Try new_fontset_from_font_name.  Use
-       fontset_name for return value.
+       Use new fs_query_fontset.  Try new_fontset_from_font_name.
+       Use fontset_name for return value.
 
        * w32term.h: Declare x_get_font_repertory.
 
        <wordbound, notwordbound, wordbeg, wordend, syntaxspec,
        notsyntaxspec, categoryspec, notcategoryspec> Fetch a character
        by GET_CHAR_AFTER.
-       (bcmp_translate):  Likewise.
+       (bcmp_translate): Likewise.
 
        * search.c (compile_pattern): Check the member target_multibyte,
        not the member multibyte of buf.
        The following changes are to make character composition happen
        automatically on displaying.
 
-       * Makefile.in (lisp, shortlisp): Add composite.elc
+       * Makefile.in (lisp, shortlisp): Add composite.elc.
 
        * composite.h (Qauto_composed, Vauto_composition_function)
        (Qauto_composition_function): Extern them.
        (regex_compile): Setup the compiled pattern for multibyte chars
        even if the given regex string is unibyte.  Use PATFETCH_RAW
        instead of PATFETCH in many places.  To handle `charset'
-       specification of unibyte, call HANDLE_UNIBYTE_RANGE.   Use bitmap
+       specification of unibyte, call HANDLE_UNIBYTE_RANGE.  Use bitmap
        only for ASCII chars.
        (analyse_first) <exactn>: Simplify because the compiled pattern
        is multibyte.
        it to decide the multibyteness of STR1 and STR2.  Use
        TARGET_CHAR_AND_LENGTH to fetch a character from D.
        <charset, charset_not>: If multibyte is nonzero, check fastmap
-       only for ASCII chars.   Call bcmp_translate with
+       only for ASCII chars.  Call bcmp_translate with
        target_multibyte, not with multibyte.
        <begline>: Declare the local variable C as `unsigned'.
        (bcmp_translate): Change the last arg name to target_multibyte.
 
        * category.c (Fmodify_category_entry): Doc fix.  Remove unused vars.
 
-2008-02-01  Yong Lu <lyongu@asia-infonet.com>
+2008-02-01  Yong Lu  <lyongu@asia-infonet.com>
 
        * charset.c (Fdefine_charset_internal): Fix argument to bzero.
 
        * fontset.c (free_realized_fontsets): Call Fclear_face_cache instead
        of calling free_realized_face.
 
-2008-02-01  Yong Lu <lyongu@asia-infonet.com>
+2008-02-01  Yong Lu  <lyongu@asia-infonet.com>
 
        * charset.c (read_hex): Don't treat SPC as a comment starter.
        (decode_char): If CODE_POINT_TO_INDEX retruns -1, always return -1.
 
        * coding.c (detect_coding_mask): Fix previous change.
 
-2008-01-10  Chong Yidong  <cyd@stupidchicken.com>
-
-       * process.c (wait_reading_process_output): Check for window
-       changes caused by timers.
-
 2008-01-09  Kenichi Handa  <handa@ni.aist.go.jp>
 
        * coding.c (detect_coding_iso2022): New arg
        Rewrite in order to manage registered functions by hash table
        Vdbus_registered_functions_table.
 
-2007-12-03  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-12-03  Jan Djärv  <jan.h.d@swipnet.se>
 
        * xterm.c: Update URL to Window Manager Specification in comment.
 
 2007-11-23  Markus Triska  <markus.triska@gmx.at>
 
        * emacs.c (main): Call init_editfns before init_process, since
-       init_process sets Vprocess_connection_type depending on OS release
+       init_process sets Vprocess_connection_type depending on OS release.
 
 2007-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * keymap.c (Fsingle_key_description): Likewise.
        * print.c (print_object): Likewise.
 
-2007-11-22  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-11-22  Jan Djärv  <jan.h.d@swipnet.se>
 
        * gtkutil.c (update_frame_tool_bar): Don't call x-gtk-map-stock if
        file for image is nil.
        * fns.c (Fmd5): Use find_symbol_value rather than SYMBOL_VALUE
        Since we do not want to see internal Lisp_*fwd objects here.
 
-2007-11-18  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-11-18  Jan Djärv  <jan.h.d@swipnet.se>
 
        * sysdep.c (init_system_name): Use getaddrinfo if available.
 
 
        * s/windows95.h: Remove.
 
-2007-11-06  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-11-06  Jan Djärv  <jan.h.d@swipnet.se>
 
        * gtkutil.c (xg_tool_bar_menu_proxy): Handle GTK_IMAGE_ICON_NAME and
        abort with a message on unhandled store_type values.
 
-2007-11-01  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-11-01  Jan Djärv  <jan.h.d@swipnet.se>
 
        * xterm.c, xfns.c, xselect.c, xterm.h, s/msdos.h, s/sco4.h, s/sco5.h:
        Remove HAVE_X11R5 and HAVE_X11R4.
 
        * Makefile.in: Remove references to sunfns.c and sunfns.o.
 
-2007-11-01  Johan Bockg\e,Ae\e(Brd  <bojohan@gnu.org>
+2007-11-01  Johan Bockgård  <bojohan@gnu.org>
 
        * macterm.c, w32term.c, xterm.c (x_draw_stretch_glyph_string):
        Don't set s->stippled_p here, since it has already been set by
 
 2007-11-01  Dan Nicolaescu  <dann@ics.uci.edu>
 
-       * sunfns.c: Remove file
+       * sunfns.c: Remove file.
 
        * m/sun386.h:
        * m/sun2.h:
        * s/ptx.h:
        * m/is386.h:
        * m/ibmps2-aix.h:
-       * Makefile.in: Remove all mentions of X10
+       * Makefile.in: Remove all mentions of X10.
 
        * dispnew.c (syms_of_display): Don't mention version 10.
 
 
        * lread.c (Fload): Fix typo in docstring.
 
-2007-10-01  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
+2007-10-01  Michaël Cadilhac  <michael@cadilhac.name>
 
        * floatfns.c (Fexpt): Manually check for overflows, so that a power
        of a non-zero value can't yield zero.
 
        * dispextern.h (w32_init_fringe, mac_init_fringe): Declare rif argument.
 
-2007-09-19  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
+2007-09-19  Michaël Cadilhac  <michael@cadilhac.name>
 
        * coding.c (detect_eol_type, detect_eol_type_in_2_octet_form):
        Fix a C warning regarding variable constness.
 
        * w32fns.c (Fx_focus_frame): Rename from Fw32_focus_frame.
 
-2007-09-17  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-09-17  Jan Djärv  <jan.h.d@swipnet.se>
 
        * gtkutil.c (gdpy_def): New variable.
        (xg_initialize): Initialize gdpy_def.
        (xg_display_close): If no other display exists, set gdpy_def to a
        new connection.
 
-2007-09-16  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-09-16  Jan Djärv  <jan.h.d@swipnet.se>
 
        * gtkutil.c (xg_get_image_for_pixmap): Always create a GdkPixbuf
        when we have no file name for the icon.
 
        * s/hpux.h: No longer define `static' as nothing.
 
-2007-09-13  Johan Bockg\e,Ae\e(Brd  <bojohan@gnu.org>
+2007-09-13  Johan Bockgård  <bojohan@gnu.org>
 
        * callint.c (Fcall_interactively): Remove unused var `fun'.
 
 
        * xterm.c (x_term_init): Give error if can't open DISPLAY_NAME.
 
-2007-09-10  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
+2007-09-10  Michaël Cadilhac  <michael@cadilhac.name>
 
        * lisp.h (struct Lisp_Subr): Rename `prompt' field to `intspec'.
        (DEFUN): Document `intspec', use it instead of `prompt'.
        and resume-tty-function to resume-tty-hook.
        (Fsuspend_tty, Fresume_tty): Use new names.
 
-2007-09-02  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-09-02  Jan Djärv  <jan.h.d@swipnet.se>
 
        * gtkutil.c (update_frame_tool_bar): Handle stock name as a named icon
        if it starts with "n:".
 
-2007-08-31  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-08-31  Jan Djärv  <jan.h.d@swipnet.se>
 
        * gtkutil.c (update_frame_tool_bar): Initialize wbutton to NULL.
 
 
        * term.c (tty_insert_glyphs): Add missing first parameter.
 
-2007-08-29  K\e,Aa\e(Broly L\e$,1 q\e(Brentey  <karoly@lorentey.hu>
+2007-08-29  Károly Lőrentey  <karoly@lorentey.hu>
 
        * buffer.c (Fbuffer_list, Fbury_buffer):
        Take frame->buried_buffer_list into account.
        (x_term_init) [!HAVE_GTK_MULTIDISPLAY]: Refuse to create secondary
        X connections.
 
-       * frame.c (Fframep): Deal with output_initial.
-       (Qbuffer_predicate, Qbuffer_list, Qburied_buffer_list, Qtty)
-       (Qtty_type, Qwindow_system, Qenvironment)
-       (Qterm_environment_variable, Qdisplay_environment_variable): New vars.
+       * frame.c: Include termchar.h.
+       (Qterminal, Qterminal_live_p, Qburied_buffer_list, Qtty, Qtty_type)
+       (Qwindow_system, Qenvironment, Qterm_environment_variable)
+       (Qdisplay_environment_variable): New vars.
+       (Fframep): Deal with output_initial.
+       (Fframe-live-p): Doc fix.
+       (Fwindow-system): New function.
        (x_set_screen_gamma, store_frame_param): Fix compilation errors.
        (make_terminal_frame): Don't create frames on a terminal that is
-       being deleted.
-       (make_terminal_frame): Use FRAME_BACKGROUND_PIXEL and
-       FRAME_FOREGROUND_PIXEL.
+       being deleted.  Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL.
        (store_frame_param): Check for found_for_frame before calling XFRAME.
        (Fmake_terminal_frame): Handle NULL tty names correctly.
        (syms_of_frame): Enhance doc string of `default-frame-alist'.
-       (Fdelete_frame): Remove unused variable `count'.
-       (Qenvironment): New variable.
-       (Fdelete_frame): Don't allow other frames to refer to a deleted
-       frame in their 'environment parameter.
+       (Fdelete_frame): Remove unused variable `count'.  Don't allow other
+       frames to refer to a deleted frame in their 'environment parameter.
        (Fframe_with_environment): New function.
        (syms_of_frame): Defsubr it.  Initialize and staticpro Qenvironment.
        (get_future_frame_param): New function.
        (tty_delete_glyphs, tty_ins_del_lines, turn_on_face): Update for
        renames.
 
-2007-08-28  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-08-28  Jan Djärv  <jan.h.d@swipnet.se>
 
        * keyboard.c: Qrtl is new.
        (parse_tool_bar_item): Handle :rtl keyword.
 
        * alloc.c (pure): Round PURESIZE up.
 
-2007-08-17  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-08-17  Jan Djärv  <jan.h.d@swipnet.se>
 
        * xterm.c (handle_one_xevent): Remove check that mouse click is in
        active frame.
        * term.c (tty_default_color_capabilities): Declare static
        variables in file scope, to avoid HPUX compiler problem.
 
-2007-08-13  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-08-13  Jan Djärv  <jan.h.d@swipnet.se>
 
        * gtkutil.c (update_frame_tool_bar): Use -1 as index
        to gtk_toolbar_insert.
        (Fx_selection_owner_p): Don't use get_scrap_private_timestamp.
        Detect ownership change with OWNERSHIP-INFO in Vselection_alist instead.
 
-2007-08-04  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-08-04  Jan Djärv  <jan.h.d@swipnet.se>
 
        * gtkutil.c (xg_tool_bar_callback): Generate two TOOL_BAR_EVENT:s,
        add comment explaining why.
 
        * lread.c (readevalloop, read1): Treat NBSP as whitespace.
 
-2007-07-29  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-07-29  Jan Djärv  <jan.h.d@swipnet.se>
 
        * gmalloc.c (__malloc_initialize): Remove pthread_once.  Not needed.
 
 
        * coding.c (Ffind_operation_coding_system):
        * eval.c (For, Fand): Doc fixes.
-       Reported by Johan Bockg\e,Ae\e(Brd.
+       Reported by Johan Bockgård.
 
-2007-07-18  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-07-18  Jan Djärv  <jan.h.d@swipnet.se>
 
        * xfns.c (Fx_focus_frame): Call x_ewmh_activate_frame.
 
        * image.c (uncache_image): New function.
        (Fimage_refresh): New function.
 
-2007-05-20  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-05-20  Jan Djärv  <jan.h.d@swipnet.se>
 
        * Makefile.in: Move GPM check outside HAVE_X_WINDOWS.
 
 
        * lread.c (read_escape): In a string, \s is always space.
 
-2007-04-27  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-04-27  Jan Djärv  <jan.h.d@swipnet.se>
 
        * xmenu.c (xdialog_show): Call Fredisplay before showing the dialog.
 
 See ChangeLog.10 for earlier changes.
 
 ;; Local Variables:
-;; coding: iso-2022-7bit
+;; coding: utf-8
 ;; add-log-time-zone-rule: t
 ;; End: