(sit_for): Vexecuting_macro -> Vexecuting_kbd_macro.
[bpt/emacs.git] / src / ChangeLog
index b8ebd3f..b0a2f34 100644 (file)
@@ -1,3 +1,345 @@
+2005-05-01  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * dispnew.c (sit_for): Vexecuting_macro -> Vexecuting_kbd_macro.
+
+2005-05-01  Richard M. Stallman  <rms@gnu.org>
+
+       * xmenu.c [not HAVE_X_TOOLKIT] (xmenu_show):
+       If user cancels the menu, quit unless FOR_CLICK.
+
+       * macros.c (Vexecuting_kbd_macro): Renamed from Vexecuting_macro.
+       All uses changed.
+       (syms_of_macros): Define only executing-kbd-macro, not executing-macro.
+       * keyboard.c: Change Vexecuting_macro to Vexecuting_kbd_macro.
+       * macros.h (Vexecuting_kbd_macro): Declare instead of Vexecuting_macro.
+       * commands.h (Vexecuting_kbd_macro): Likewise.
+
+2005-05-01  Thien-Thi Nguyen  <ttn@gnu.org>
+
+       * sysdep.c (get_frame_size) [VMS]: Use a fresh i/o channel.
+
+2005-04-30  Richard M. Stallman  <rms@gnu.org>
+
+       * fileio.c (Ffind_file_name_handler): Handle the `operations'
+       property of the file name handler.
+       (Qoperations): New variable.
+       (syms_of_fileio): Initialize and staticpro it.
+
+       * xdisp.c (set_message_1): Delete xassert.
+
+2005-04-29  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * mac.c: Don't include time.h.  Include sysselect.h after
+       systime.h.
+
+       * macfns.c (Fx_server_version): Add BLOCK_INPUT around Gestalt.
+
+       * macgui.h [HAVE_CARBON && MAC_OSX]: Don't undefine/define mktime
+       before/after including Carbon.h if there is a working mktime.
+
+2005-04-28  Kim F. Storm  <storm@cua.dk>
+
+       * xfaces.c (resolve_face_name): Add arg SIGNAL_P.  Calls changed.
+       Fix cyclic alias check.  If alias loop is detected, signal
+       circular-list error if SIGNAL_P, and return Qdefault if !SIGNAL_P.
+
+2005-04-28  Lute Kamstra  <lute@gnu.org>
+
+       * eval.c (do_autoload): Record only autoloads in the autoload
+       property of symbols.
+
+2005-04-28  Nick Roberts  <nickrob@snap.net.nz>
+
+       * emacs.c (USAGE1): Add --basic-display and --quick options.
+
+2005-04-27  Kim F. Storm  <storm@cua.dk>
+
+       * data.c (syms_of_data) Staticpro Qcyclic_variable_indirection.
+
+2005-04-26  Richard M. Stallman  <rms@gnu.org>
+
+       * window.c (Fsame_window_p, Fspecial_display_p): Doc fixes.
+       (syms_of_window): Doc fixes.
+
+       * indent.c (Fvertical_motion): Undo previous change.
+
+2005-04-26  Kenichi Handa  <handa@m17n.org>
+
+       * fns.c (char_table_range): New function.
+       (Fchar_table_range): Signal an error if characters in the range
+       have inconsistent values.  Don't check the parent.
+
+2005-04-25  Kenichi Handa  <handa@m17n.org>
+
+       * fontset.c (fontset_set): Fix previous change.
+
+2005-04-24  Richard M. Stallman  <rms@gnu.org>
+
+       * indent.c (Fvertical_motion): Bind fontification-functions to nil.
+
+2005-04-24  Eli Zaretskii  <eliz@gnu.org>
+
+       * regex.c (re_search_2, re_match_2_internal): Convert second arg
+       of RE_TRANSLATE to int, to shut up GCC warnings.
+
+       * fileio.c (Fcopy_file): Doc fix.
+       [MSDOS]: Fix call to emacs_open: buffer_file_type not defined and
+       not needed.
+
+2005-04-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * Makefile.in [HAVE_CARBON] (MAC_OBJ): Add macselect.o.
+       (SOME_MACHINE_OBJECTS): Likewise.
+       (mac.o): Depend on ccl.h.
+       (macselect.o): New target.
+
+       * emacs.c (main) [MAC_OS8 || MAC_OSX && HAVE_CARBON]: Call
+       syms_of_macselect.
+
+       * frame.c (Fdelete_frame) [MAC_OS]: Call x_clear_frame_selections.
+
+       * mac.c [!TARGET_API_MAC_CARBON]: Don't include charset.h or
+       coding.h.
+       (QCLIPBOARD): Remove variable.
+       (syms_of_mac): Don't initialize it.
+       (Fmac_paste_function, Fmac_cut_function, Fx_selection_exists_p):
+       Remove functions.
+       (syms_of_mac): Don't defsubr them.
+       [TARGET_API_MAC_CARBON] (Qmime_charset, QNFD, QNFKD, QNFC, QNFKC)
+       (QHFS_plus_D, QHFS_plus_C): New variables.
+       (syms_of_mac) [TARGET_API_MAC_CARBON]: Initialize them.
+       [TARGET_API_MAC_CARBON] (get_cfstring_encoding_from_lisp)
+       (cfstring_create_normalized): New functions.
+       [TARGET_API_MAC_CARBON] (Fmac_code_convert_string): Likewise.
+       (syms_of_mac) [TARGET_API_MAC_CARBON]: Defsubr it.
+
+       * macterm.c (handling_window_update, terminate_flag): Remove
+       variables.
+       (do_window_update, do_ae_quit_application, XTread_socket): Don't
+       use them.
+       (WNE_SLEEP_AT_SUSPEND, WNE_SLEEP_AT_RESUME): Don't define.
+       [USE_CARBON_EVENTS && MAC_OSX] (mac_handle_service_event)
+       (init_service_handler): Move to macselect.c.  Remove declarations.
+       [USE_CARBON_EVENTS && MAC_OSX] (init_service_handler): Add extern.
+       (Qapplication, Qabout): New variables.
+       (syms_of_mac): Initialize them.
+       [USE_CARBON_EVENTS && MAC_OSX] (Qpreferences, Qservices, Qpaste)
+       (Qperform): New variables.
+       (syms_of_mac) [USE_CARBON_EVENTS && MAC_OSX]: Initialize them.
+       (do_get_menus) [TARGET_API_MAC_CARBON]: Don't call AppendResMenu.
+       (do_menu_choice): Unhighlight menu bar also when menu_id is 0.
+       (mac_store_application_menu_event, init_menu_bar): New functions.
+       [USE_CARBON_EVENTS] (mac_handle_command_event)
+       (init_command_handler): New functions.
+       (mac_handle_window_event): Return noErr on window update event.
+       (do_ae_quit_application): Call mac_store_application_menu_event.
+       (mac_initialize) [USE_CARBON_EVENTS]: Call init_command_handler
+       and init_menu_bar.
+
+       * macterm.h (x_clear_frame_selections): Add extern.
+
+       * macselect.c: New file for selection processing on Mac OS.
+
+2005-04-23  Richard M. Stallman  <rms@gnu.org>
+
+       * fileio.c (Fcopy_file): New arg MUSTBENEW.
+       (Frename_file): Pass new arg to Fcopy_file.
+
+       * window.c (window_size_fixed): Variable deleted.
+       (syms_of_window): Initialize window-size-fixed to nil.
+       But don't DEFVAR window_size_fixed.
+
+2005-04-23  Andreas Schwab  <schwab@suse.de>
+
+       * m/macppc.h (LD_SWITCH_MACHINE) [LINUX]: Don't define.
+       (START_FILES, LIB_STANDARD) [LINUX && _ARCH_PPC64]: Override to
+       use lib64 instead of lib.
+       (_LP64) [_ARCH_PPC64]: Define if not defined.
+
+2005-04-23  David Hunter  <hunterd42@comcast.net>  (tiny change)
+
+       * s/ms-w32.h (HAVE_PWD_H): Define.
+
+2005-04-22  Kenichi Handa  <handa@m17n.org>
+
+       * fns.c (copy_sub_char_table): Explicitly copy the default value
+       of the sub-chartable.
+
+       * fontset.c (fontset_set): When a sub-chartable is created,
+       explicitly sets the defalt value.
+
+2005-04-22  Kim F. Storm  <storm@cua.dk>
+
+       * fns.c (Fplist_get): Replace by Fsafe_plist_get.
+       (Fsafe_plist_get): Rename to Fplist_get.
+       (Fsafe_get): Remove, as Fget now uses safe Fplist_get.
+       (defsubr): Remove defsubr for Fsafe_plist_get and Fsafe_get.
+
+       * lisp.h (Fsafe_plist_get, Fsafe_get): Remove EXFUN.
+
+       * xdisp.c (store_mode_line_string, produce_stretch_glyph)
+       (note_mode_line_or_margin_highlight, note_mouse_highlight):
+       Use Fplist_get instead of Fsafe_plist_get.
+
+       * xfaces.c (resolve_face_name): Use Fget instead of Fsafe_get.
+
+2005-04-21  Miles Bader  <miles@gnu.org>
+
+       * xdisp.c (dump_glyph_row): Don't display overlay_arrow_p field.
+
+2005-04-20  Thien-Thi Nguyen  <ttn@gnu.org>
+
+       * sysdep.c: Remove reference to defunct vms-pwd.h.
+       * dired.c: Likewise.  Also, for pwd.h, use HAVE_PWD_H, not !VMS.
+       * editfns.c, fileio.c, filelock.c, sysdep.c, xrdb.c: Likewise.
+
+       * config.in: Regenerate.
+
+2005-04-20  Kenichi Handa  <handa@m17n.org>
+
+       * lisp.h (CHAR_TABLE_DEFAULT_SLOT_ASCII): New macro.
+       (CHAR_TABLE_DEFAULT_SLOT_8_BIT_CONTROL): New macro.
+       (CHAR_TABLE_DEFAULT_SLOT_8_BIT_GRAPHIC): New macro.
+
+       * alloc.c (make_sub_char_table): Argument changed to initial
+       value of the slots.
+
+       * data.c (Faref): Handle special slots used as default values of
+       ascii, eight-bit-control, eight-bit-control.  Don't ignore a
+       default value set for a group of characters.
+       (Faset): Signal an error if IDXVAL is not a valid character code.
+       Make a sub-chartable with correct initial value.
+
+       * fns.c (Fset_char_table_range): Don't set slots used as default
+       values for ascii, eight-bit-control, eight-bit-graphic.  Don't
+       call Faref with charset-id.
+       (Fset_char_table_default): Document how to treat normal character
+       argument.  Handle special slots used as default values of ascii,
+       eight-bit-control, eight-bit-control.  Make a sub chartable if
+       necessary.
+
+2005-04-20  Kenichi Handa  <handa@m17n.org>
+
+       * search.c (boyer_moore): Fix previous change.
+
+2005-04-19  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (setup_for_ellipsis): Reset saved_face_id to use default
+       face unless last visible char and first invisible char have the
+       same face.  Also use default face if saved_face_id is undefined.
+
+2005-04-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macgui.h (MacFontStruct): Remove member `fontname'.  Add member
+       `full_name'.
+       [TARGET_API_MAC_CARBON] (MacFontStruct): Use type int for
+       mac_scriptcode member.
+
+       * macterm.c (Qbig5, Qcn_gb, Qsjis, Qeuc_kr): Remove variables.
+       (syms_of_mac): Don't initialize them.
+       (Vmac_charset_info_alist): New variable.
+       (syms_of_mac): Defvar it.
+       (create_text_encoding_info_alist): New function.
+       (decode_mac_font_name, mac_to_x_fontname)
+       (x_font_name_to_mac_font_name, init_font_name_table): Don't hard
+       code the correspondence among XLFD charsets, Mac script codes, and
+       Emacs coding systems.  Use Vmac_charset_info_alist and result of
+       create_text_encoding_info_alist instead.
+       (init_font_name_table) [TARGET_API_MAC_CARBON]: Use Font Manager
+       routines also on Mac OS Classic.
+       (init_font_name_table) [!TARGET_API_MAC_CARBON]: Use
+       add_font_name_table_entry.
+       (mac_do_list_fonts): Regard 0 in XLFD scaleble fields as
+       specified.  Derive unspecified scalable fields from specified one.
+       (x_list_fonts): Consider Valternate_fontname_alist.
+       (kDefaultFontSize): Change value from 9 to 12.
+       (XLoadQueryFont): Get decoded font family, font face, and charset
+       from x_font_name_to_mac_font_name.  Set full name of loaded font.
+       (mac_unload_font): Free `full_name' member.
+       (x_load_font): Don't try XLoadQueryFont if x_list_fonts returns
+       NULL.  Copy full_name member of struct MacFontStruct to that of
+       struct font_info.
+
+2005-04-19  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (handle_stop): Set saved_face_id to current face if
+       selective_display_ellipsis_p so ellipsis will be shown in same
+       face as preceding text.
+       (setup_for_ellipsis): Don't set saved_face_id here.
+       (next_element_from_display_vector): Default to saved_face_id.
+
+       * fns.c (Fsafe_get): New function.
+       (syms_of_fns): Defsubr it.
+
+       * lisp.h (Fsafe_get): EXFUN it.
+
+       * xfaces.c (resolve_face_name): Use Fsafe_get to avoid redisplay
+       loops in case of bad face property lists.  Limit number of face
+       alias lookups to 10 (in case of face alias loops).
+
+2005-04-18  Kim F. Storm  <storm@cua.dk>
+
+       * dispextern.h (struct glyph_row): New member overlay_arrow_bitmap.
+       It replaces the corresponding member from struct window, as a
+       window may now show multiple overlay arrows.
+       Remove member overlay_arrow_p, superseeded by overlay_arrow_bitmap.
+
+       * dispnew.c (row_equal_p, update_window_line, scrolling_window):
+       Compare overlay_arrow_bitmap than overlay_arrow_p members.
+
+       * fringe.c (draw_fringe_bitmap): Use overlay_arrow_bitmap from row
+       rather than from window.
+       (update_window_fringes): Compare overlay_arrow_bitmap rather than
+       overlay_arrow_p members.
+       (Ffringe_bitmaps_at_pos): Return fringe overlay_arrow_bitmap name
+       if not default.
+
+       * window.h (struct window): Remove member overlay_arrow_bitmap.
+
+       * window.c (make_window): Don't initialize overlay_arrow_bitmap.
+
+       * xdisp.c (overlay_arrow_string_or_property): Remove PBITMAP arg.
+       Calls changed.  Don't check for overlay-arrow-bitmap property here.
+       (overlay_arrow_at_row): Remove PBITMAP arg.  Instead, if left
+       fringe is present, return Lisp integer for bitmap (or -1 for default).
+       Fix value of overlay-arrow-bitmap property to be a symbol, use
+       lookup_fringe_bitmap to parse it.
+       (display_line): Change call to overlay_arrow_at_row.  Store integer
+       return value as overlay bitmap in row rather than window.
+       Only show overlay arrow if row displays text, or if no other overlay
+       arrow is seen in window (if overlay marker is at point-max).
+
+2005-04-18  Thien-Thi Nguyen  <ttn@gnu.org>
+
+       * xfaces.c (realize_x_face) [!HAVE_WINDOW_SYSTEM]: Return NULL.
+
+2005-04-18  Lute Kamstra  <lute@gnu.org>
+
+       * lread.c (Vloads_in_progress): Static.
+       * fns.c (Vloads_in_progress): Remove extern.
+       (load_in_progress): Add extern.
+       (Frequire): Use load_in_progress instead of Vloads_in_progress.
+
+2005-04-18  Thien-Thi Nguyen  <ttn@gnu.org>
+
+       * xmenu.c (Fx_popup_menu): Initialize error_name to NULL.
+
+2005-04-18  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macterm.c (XTread_socket): Don't beep on keyboard input even if
+       no frame is visible.
+
+2005-04-16  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * term.c (struct keys): Add support for shifted keys.
+
+2005-04-16  Richard M. Stallman  <rms@gnu.org>
+
+       * xdisp.c (with_echo_area_buffer): Delete WHICH < 0 case.
+       (set_message): Call with_echo_area_buffer with WHICH = 0.
+       (set_message_1): Erase the echo area buffer first thing.
+       (echo_area_display): Don't clear echo_message_buffer.
+
 2005-04-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 
        * Makefile.in (mac.o): Depend on charset.h and coding.h.
        into "(any string)".
 
        * lread.c (Vloads_in_progress): Not static.
-
        * fns.c (Vloads_in_progress): Add extern.
        (Frequire): Don't do LOADHIST_ATTACH if Vloads_in_progress is nil.
 
 
        * doc.c: New variable Vbuild_files.
        (Fsnarf_documentation): If Vbuild_files is nil, populate it with
-       file names from buildobh.lst.  Only attach docstrings from files
+       file names from buildobj.lst.  Only attach docstrings from files
        that are in Vbuild_files.
        (syms_of_doc): Defvar Vbuild_files.