(Finsert_char): Doc fix.
[bpt/emacs.git] / src / ChangeLog
index 9a263f5..31abeca 100644 (file)
@@ -1,3 +1,403 @@
+2007-01-23  Juanma Barranquero  <lekktu@gmail.com>
+
+       * editfns.c (Finsert_char): Doc fix.
+       (Fget_internal_run_time, Fdecode_time): Fix typos in docstrings.
+
+2007-01-22  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macselect.c [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Don't
+       pass keyboard modifiers to mac_store_drag_event, but put them as
+       kEventParamKeyModifiers Apple event parameter.
+
+2007-01-21  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xdisp.c (try_window): Revert previous change.
+
+       * dispnew.c (update_text_area): Revert 2006-09-17 change.
+       Always redraw non-mode-line rows with mouse-face.
+
+2007-01-20  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xdisp.c (try_window): Clear mouse-face highlights first.
+
+       * window.c (set_window_buffer): Revert 2006-11-22 change.
+
+2007-01-20  Eli Zaretskii  <eliz@gnu.org>
+
+       * .gdbinit (ppt, xtype, xmisctype, xint, xptr, xmarker, xframe)
+       (xbuffer, xcons, xcar, xcdr): Fix doc strings.
+
+2007-01-20  Chong Yidong  <cyd@stupidchicken.com>
+
+       * keyboard.c (read_key_sequence): Extract local map only if the
+       given position is in an accessible buffer region.
+
+2007-01-19  Nick Roberts  <nickrob@snap.net.nz>
+
+       * .gdbinit: Reformat documentation so that first sentence
+       displays properly with "help user-defined" (like apropos).
+
+2007-01-18  Bruno Haible  <bruno@clisp.org>  (tiny change)
+
+       * epaths.in: Move PATH_DOC from local/info to local/share/info.
+
+2007-01-15  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macmenu.c (create_and_show_dialog) [TARGET_API_MAC_CARBON]:
+       Create movable modal window instead of movable alert window.
+       (create_and_show_dialog) [!MAC_OSX]: Use DeactivateControl instead
+       of DisableControl.
+
+       * macselect.c (Fmac_resume_apple_event): Set error number when
+       descriptor type of reply is non-null.
+
+2007-01-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macmenu.c (create_and_show_dialog) [TARGET_API_MAC_CARBON]: Use
+       DisableControl for disabled items.  Set default button to first
+       enabled one.  Use icon of application in execution.
+
+2007-01-13  Eli Zaretskii  <eliz@gnu.org>
+
+       * process.c (Fdelete_process, Fprocess_id, sigchld_handler):
+       Copy PID into EMACS_INT to avoid GCC warnings.
+
+       * fns.c (maybe_resize_hash_table): Copy new size of hash table
+       into EMACS_INT to avoid GCC warnings.
+
+       * editfns.c (Fuser_uid, Fuser_real_uid): Copy values returned by
+       geteuid and getuid into EMACS_INT to avoid GCC warnings.
+
+       * dired.c (Ffile_attributes): Fix last change.
+
+2007-01-12  Eli Zaretskii  <eliz@gnu.org>
+
+       * dired.c (Ffile_attributes): Copy some members of `struct stat'
+       into int's to avoid GCC warnings about limited range of short in
+       arguments to FIXNUM_OVERFLOW_P.
+
+2007-01-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macmenu.c (HAVE_DIALOGS): Define if TARGET_API_MAC_CARBON.
+       (mac_handle_dialog_event, install_dialog_event_handler)
+       (create_and_show_dialog) [TARGET_API_MAC_CARBON]: New functions.
+       (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) [TARGET_API_MAC_CARBON]: New macros.
+       (mac_dialog) [TARGET_API_MAC_CARBON]: Remove function.
+       (mac_dialog_show) [TARGET_API_MAC_CARBON]: Use create_and_show_dialog.
+
+       * macterm.c (x_free_frame_resources) [USE_CG_DRAWING]: Call
+       mac_prepare_for_quickdraw.
+       (quit_char, make_ctrl_char) [TARGET_API_MAC_CARBON]: Move externs
+       outside #ifdef MAC_OSX.
+       (mac_quit_char_key_p) [TARGET_API_MAC_CARBON]: Move function
+       outside #ifdef MAC_OSX.
+       (mac_check_bundle) [MAC_OSX]: Remove unused function.
+
+       * macterm.h (mac_quit_char_key_p): Move extern outside #ifdef MAC_OSX.
+       (HOURGLASS_WIDTH, HOURGLASS_HEIGHT): Parenthesize definitions.
+
+2007-01-11  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * alloc.c (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Use pthread_equal,
+       block/unblock SIGIO.
+
+2007-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * editfns.c (Fformat): Allow integer-format to work with floats of size
+       larger than most-positive-fixnum (but still smaller than MAXINT).
+
+       * dired.c (Ffile_attributes): Use floats for large uids/gids.
+
+2007-01-09  Eli Zaretskii  <eliz@gnu.org>
+
+       * emacs.c (syms_of_emacs) <path-separator>: Doc fix.
+
+2007-01-09  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * callproc.c (Fcall_process_region) [HAVE_MKSTEMP]: Add BLOCK_INPUT
+       around mkstemp.
+
+       * image.c (XDrawLine) [MAC_OS]: Remove macro.
+       (XCreateGC_pixmap) [!HAVE_NTGUI]: Likewise.
+       (x_disable_image) [!HAVE_NTGUI]: Use XCreateGC instead of
+       XCreateGC_pixmap.
+
+       * macgui.h (Display): Typedef to opaque type.
+
+       * macmenu.c (mac_dialog_modal_filter) [MAC_OSX]: New function.
+       (Fx_popup_dialog) [MAC_OSX]: Use standard alert if called from
+       Fmessage_box, Fyes_or_no_p, or Fy_or_n_p.
+       [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030] (menu_quit_handler):
+       Use mac_quit_char_key_p.
+
+       * macterm.c (XDrawLine): Rename from mac_draw_line_to_pixmap.
+       (XCreateGC): Change type of 2nd argument to void *.
+       (XFreeGC) [USE_CG_DRAWING && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]:
+       Fix last change.
+       (mac_to_emacs_modifiers): Change return type to int.
+       [USE_CARBON_EVENTS] (mac_event_to_emacs_modifiers): Likewise.
+       (mac_mapped_modifiers): New function.
+       (XTread_socket): Use it.
+       [USE_TSM] (mac_handle_text_input_event): Likewise.
+       (do_window_update) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw.
+       (mac_quit_char_modifiers, mac_quit_char_keycode) [MAC_OSX]:
+       Remove variables.
+       (mac_determine_quit_char_modifiers, init_quit_char_handler)
+       [MAC_OSX]: Remove functions.
+       (make_ctrl_char) [MAC_OSX]: Add extern.
+       (mac_quit_char_key_p) [MAC_OSX]: New function.
+       (mac_initialize) [MAC_OSX]: Don't call init_quit_char_handler.
+
+       * macterm.h (FONT_MAX_WIDTH): Remove unused macro.
+       (XCreateGC): Change type in extern.
+       (XDrawLine): Rename from mac_draw_line_to_pixmap.
+       (mac_quit_char_key_p) [MAC_OSX]: Add extern.
+
+2007-01-08  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * keyboard.c (init_keyboard): Initialize interrupt_input_blocked and
+       interrupt_input_pending.
+
+       * xterm.h (x_display_info): New: net_supported_atoms,
+       nr_net_supported_atoms and net_supported_window.
+
+       * xterm.c (last_user_time): New variable.
+       (handle_one_xevent): Set last_user_time from events that have Time.
+       Set net_supported_window to 0 when reparented.
+       (wm_supports): New function.
+       (do_ewmh_fullscreen): Use wm_supports to check for _NET_WM_STATE.
+       (x_term_init): Initialize net_supported_atoms, nr_net_supported_atoms
+       and net_supported_window.
+
+2007-01-05  Kim F. Storm  <storm@cua.dk>
+
+       * indent.c (Fvertical_motion): Fix it overshoot check for overlay
+       strings without embedded newlines immediately followed by newline.
+
+2007-01-05  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * editfns.c (Fformat_time_string, Fdecode_time, Fencode_time)
+       (Fcurrent_time_string, Fcurrent_time_zone): Add BLOCK_INPUT around
+       gmtime/localtime/emacs_memftimeu/mktime.
+
+       * mac.c (Fmac_set_file_creator): Use MAC_EMACS_CREATOR_CODE
+       instead of 'EMAx'.
+       [!MAC_OSX] (sys_open, sys_creat, sys_fopen): Likewise.
+
+       * macgui.h (struct _XGC) [USE_CG_DRAWING
+       && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New members cg_fore_color
+       and cg_back_color.
+
+       * macmenu.c (Vshow_help_function) [TARGET_API_MAC_CARBON]: Add extern.
+       (restore_show_help_function, menu_target_item_handler)
+       [TARGET_API_MAC_CARBON]: New functions.
+       (install_menu_target_item_handler): New function.
+       (add_menu_item) [TARGET_API_MAC_CARBON]: Set help string as menu
+       item property.
+
+       * macterm.c (CG_SET_FILL_COLOR_MAYBE_WITH_CGCOLOR)
+       (CG_SET_FILL_COLOR_WITH_GC_FOREGROUND)
+       (CG_SET_FILL_COLOR_WITH_GC_BACKGROUND)
+       (CG_SET_STROKE_COLOR_MAYBE_WITH_CGCOLOR)
+       (CG_SET_STROKE_COLOR_WITH_GC_FOREGROUND): New macros.
+       (mac_cg_color_space_rgb) [USE_CG_DRAWING]: New variable.
+       (mac_cg_color_black) [USE_CG_DRAWING
+       && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New variable.
+       (init_cg_color) [USE_CG_DRAWING]: New function.
+       (mac_draw_line, mac_draw_rectangle) [USE_CG_DRAWING]: Use
+       CG_SET_STROKE_COLOR_WITH_GC_FOREGROUND instead of CG_SET_STROKE_COLOR.
+       (mac_erase_rectangle, mac_clear_window, mac_draw_cg_image)
+       (mac_fill_rectangle, mac_draw_image_string_cg) [USE_CG_DRAWING]:
+       Use CG_SET_FILL_COLOR_WITH_GC_FOREGROUND or
+       CG_SET_FILL_COLOR_WITH_GC_BACKGROUND instead of CG_SET_FILL_COLOR.
+       (mac_draw_string_common) [MAC_OSX && USE_ATSUI]: Likewise.
+       (XCreateGC, XFreeGC, XSetForeground, XSetBackground) [USE_CG_DRAWING
+       && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Use gc->cg_fore_color and/or
+       gc->cg_back_color.
+       (install_drag_handler, remove_drag_handler): Make extern.
+       (install_menu_target_item_handler): Add extern.
+       (install_window_handler): Call install_menu_target_item_handler.
+       [MAC_OS8] (main): Use MAC_EMACS_CREATOR_CODE instead of 'EMAx'.
+       (mac_initialize) [USE_CG_DRAWING]: Call init_cg_color.
+
+       * macterm.h (MAC_EMACS_CREATOR_CODE): New enumerator.
+
+2007-01-04  Juanma Barranquero  <lekktu@gmail.com>
+
+       * window.c (Fwindow_end): Fix use of >= operator.
+
+2007-01-03  Richard Stallman  <rms@gnu.org>
+
+       * window.c (Fwindow_end): Check BUF_OVERLAY_MODIFF like BUF_MODIFF.
+
+2007-01-02  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * gtkutil.h (xg_menu_item_cb_data_): Remove highlight_id and
+       unhighlight_id.
+
+       * gtkutil.c (menuitem_highlight_callback): Invoked widget is the
+       parent of the menu item.  Get menu item widget from event.
+       (xg_create_one_menuitem, xg_update_menu_item): highlight_id and
+       unhighlight_id has been removed.
+       (create_menus): Connect enter/leave-notify-event to the menu instead
+       of individual items.
+
+2006-12-31  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * gtkutil.c (update_frame_tool_bar): Connect create-menu-proxy with
+       xg_tool_bar_menu_proxy.
+       (xg_tool_bar_menu_proxy): New function.
+       (xg_tool_bar_proxy_callback): New function.
+
+2006-12-30  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * gtkutil.c (xg_tool_bar_button_cb): Save last modifier on widget.
+       (xg_tool_bar_callback): Remove check for button.
+       (update_frame_tool_bar): Put an event box in the tool bar and a button
+       in the event box.  Attach enter/leave-notify-event to the event box.
+
+2006-12-30  Richard Stallman  <rms@gnu.org>
+
+       * keymap.c (Fdefine_key): Doc fix.
+
+2006-12-29  Kim F. Storm  <storm@cua.dk>
+
+       * frame.h (struct frame): New member minimize_tool_bar_window_p.
+
+       * xdisp.c (auto_resize_tool_bars_p): Replace with ...
+       (Vauto_resize_tool_bars): ... this.
+       (syms_of_xdisp): DEFVAR_LISP and initialize it.  Update doc string
+       to describe new value `grow-only', and use of C-l.
+       (display_tool_bar_line): Only use default face for border below
+       toolbar if not grow-only (to get acceptable visual appearence).
+       Explicitly set visible_height for empty toolbar lines.
+       (redisplay_tool_bar): Handle `grow-only' setting.  Check and clear
+       minimize_tool_bar_window_p flag.
+
+       * window.c (Frecenter): Set minimize_tool_bar_window_p flag
+       when called without arg to redraw with minimum toolbar height.
+       Update doc string.
+
+2006-12-29  Jason Rumney  <jasonr@gnu.org>
+
+       * s/ms-w32.h (tzname): Do not define in msvc8.
+       (utime): Do not define in msvc8.
+
+       * regex.c (regerror): Change parameter name err_code.
+
+2006-12-26  Richard Stallman  <rms@gnu.org>
+
+       * search.c (Fsearch_forward): Doc fix.
+
+       * callint.c (Finteractive): Doc fix.
+
+2006-12-25  Kim F. Storm  <storm@cua.dk>
+
+       * s/ms-w32.h (BROKEN_DATAGRAM_SOCKETS): Define it.
+
+2006-12-23  Eli Zaretskii  <eliz@gnu.org>
+
+       * keyboard.c (some_mouse_moved): Fix last change.
+
+2006-12-22  Eli Zaretskii  <eliz@gnu.org>
+
+       * callproc.c (syms_of_callproc) <shell-file-name>: Doc fix.
+
+2006-12-22  Mark Davies  <mark@mcs.vuw.ac.nz>
+
+       * m/amdx86-64.h, m/hp800.h: Add support for NetBSD.
+       * m/sh3el.h: New file.
+
+2006-12-22  Eli Zaretskii  <eliz@gnu.org>
+
+       * makefile.w32-in (emacs, temacs): Depend on stamp_BLD instead of
+       $(BLD).
+       ($(OBJ0) $(OBJ1) $(WIN32OBJ)): New dependency on stamp_BLD.
+       (bootstrap-temacs): Pass $(XMFLAGS) to sub-make.
+       ($(OBJ0) $(OBJ1) $(WIN32OBJ)): Add lastfile.$(O) and firstfile.$(O).
+       (clean): Delete stamp_BLD.
+
+2006-12-22  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macfns.c (mac_update_title_bar) [TARGET_API_MAC_CARBON]:
+       Call mac_update_proxy_icon also when buffer modification flag changed.
+       [TARGET_API_MAC_CARBON] (mac_update_proxy_icon): Don't update alias,
+       but compare FSRef/FSSpec of resolved alias.
+
+2006-12-21  Kim F. Storm  <storm@cua.dk>
+
+       * w32.c (_sys_wait_accept): Fix handle leak.
+
+2006-12-20  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * sound.c: Include <alsa/asoundlib.h> if ALSA_SUBDIR_INCLUDE is
+       defined.
+
+2006-12-20  Kim F. Storm  <storm@cua.dk>
+
+       * s/ms-w32.h (BROKEN_NON_BLOCKING_CONNECT): Define it.
+
+2006-12-19  Juanma Barranquero  <lekktu@gmail.com>
+
+       * keyboard.c (syms_of_keyboard) <double-click-time>:
+       * mac.c (Fmac_code_convert_string):
+       * search.c (Fsearch_forward): Doc fixes.
+
+2006-12-19  Kim F. Storm  <storm@cua.dk>
+
+       Rework 2006-12-04 change.  A SIGUSR1 (SIGUSR2) signal now generates
+       a sigusr1 event instead of [signal usr1] sequence, and signal events
+       are now supposed to be handled via special-event-map.
+
+       * keyboard.c (kbd_buffer_store_event_hold): Undo 2006-12-04 change.
+       (make_lispy_event): Don't generate Qsignal prefix for code 0.
+       Abort if signal code is unknown.
+       (store_user_signal_events): Don't make Qsignal prefix (code 0).
+       (Qsignal): Move declaration back to process.c.
+       (syms_of_keyboard): Don't intern or staticpro it here.
+
+       * process.c (Qsignal): Declare here.
+       (syms_of_process): Intern or staticpro it.
+
+       * emacs.c (main): Rename user signals to sigusr1 and sigusr2.
+
+       * .gdbinit: Pass on SIGUSR1 and SIGUSR2 to Emacs.
+
+2006-12-19  Juanma Barranquero  <lekktu@gmail.com>
+
+       * buffer.c (syms_of_buffer) <buffer-display-table>
+       <scroll-up-aggressively, scroll-down-aggressively>: Doc fixes.
+
+2006-12-17  Richard Stallman  <rms@gnu.org>
+
+       * fileio.c (Fread_file_name_internal): Pass Vread_file_name_predicate
+       to Ffile_name_completion.
+
+       * dired.c (file_name_completion): New arg PREDICATE.  Some cleanup.
+       (Ffile_name_completion): New arg PREDICATE.
+
+2006-12-17  Juanma Barranquero  <lekktu@gmail.com>
+
+       * buffer.c (Fkill_buffer): Doc fix.
+       (syms_of_buffer) <kill-buffer-query-functions>: Doc fix.
+
+2006-12-16  Juanma Barranquero  <lekktu@gmail.com>
+
+       * minibuf.c (Ftry_completion): Check that obarray buckets are symbols.
+
+2006-12-16  Eli Zaretskii  <eliz@gnu.org>
+
+       * w32fns.c (w32-window-exists-p): New function.
+       (syms_of_w32fns): Defsubr it.
+
+       * prefix-args.c [STDC_HEADERS]: Include stdlib.h.
+
 2006-12-16  Juanma Barranquero  <lekktu@gmail.com>
 
        * minibuf.c (Ftry_completion): Use `check_obarray' if ALIST is a vector.
        (Fmac_atsu_font_face_attributes) [USE_ATSUI]: New function.
        (syms_of_macfns) [USE_ATSUI]: Defsubr it.
 
-       * macselect.c [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Use
-       mac_wakeup_from_rne instead of mac_post_mouse_moved_event.
+       * macselect.c [TARGET_API_MAC_CARBON] (mac_do_receive_drag):
+       Use mac_wakeup_from_rne instead of mac_post_mouse_moved_event.
 
        * macterm.c (mac_query_char_extents) [USE_ATSUI]: Don't call
        ATSUGetGlyphBounds if not necessary.
        (mac_load_query_font) [USE_ATSUI]: Use atsu_find_font_from_family_name.
        Don't get metrics for Latin-1 right half characters.
        (mac_load_query_font): Don't load font if space width is not positive.
-       [TARGET_API_MAC_CARBON] (mac_store_event_ref_as_apple_event): Use
-       mac_wakeup_from_rne instead of mac_post_mouse_moved_event.
+       [TARGET_API_MAC_CARBON] (mac_store_event_ref_as_apple_event):
+       Use mac_wakeup_from_rne instead of mac_post_mouse_moved_event.
        (XTread_socket): Call SelectWindow when unfocused frame is clicked.
 
        * macterm.h (mac_wakeup_from_rne) [TARGET_API_MAC_CARBON]: Add extern.
@@ -26788,7 +27188,7 @@ See ChangeLog.9 for earlier changes.
 ;; End:
 
     Copyright (C) 2001, 2002, 2003, 2004, 2005,
-       2006 Free Software Foundation, Inc.
+       2006, 2007 Free Software Foundation, Inc.
   Copying and distribution of this file, with or without modification,
   are permitted provided the copyright notice and this notice are preserved.