(mem_insert): Set min_heap_address and max_heap_address
[bpt/emacs.git] / src / ChangeLog
index 785ba43..999f610 100644 (file)
+2007-04-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * alloc.c (mem_insert): Set min_heap_address and max_heap_address
+       if they are not yet initialized.
+
+2007-04-15  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xdisp.c (redisplay_window): When deciding whether or not to
+       recenter, don't use the reset values of BEG_UNCHANGED and
+       END_UNCHANGED.
+
+2007-04-13  Kim F. Storm  <storm@cua.dk>
+
+       * buffer.c (Fkill_buffer): gcpro BUF during kill_buffer_processes
+       and check that buffer is still alive upon return.
+
+2007-04-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macterm.c [!TARGET_API_MAC_CARBON]: Include Displays.h.
+       (mac_screen_config_changed): New variable.
+       (mac_handle_dm_notification, init_dm_notification_handler)
+       (mac_get_screen_info): New functions.
+       [MAC_OS8] (main): Call init_dm_notification_handler.
+       (mac_initialize) [MAC_OSX]: Likewise.
+       (XTread_socket): Call mac_get_screen_info if screen config changed.
+       (mac_initialized): Make static.
+       (mac_initialize_display_info): Remove function.
+       (mac_term_init): Call mac_get_screen_info.  Add partial contents of
+       mac_initialize_display_info.
+
+2007-04-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * mac.c (xrm_get_preference_database, Fmac_get_preference)
+       [TARGET_API_MAC_CARBON]: Use CFPreferencesAppSynchronize.
+
+       * macterm.c [TARGET_API_MAC_CARBON] (mac_post_mouse_moved_event):
+       Use GetGlobalMouse instead of GetMouse and LocalToGlobal.
+       (mac_initialize_display_info) [MAC_OSX]: Use CGRectZero.
+       (mac_initialize_display_info) [!MAC_OSX]: dpyinfo->height and
+       dpyinfo->width are those of whole screen.
+
+2007-04-10  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xdisp.c (note_mode_line_or_margin_highlight): Don't decrement
+       glyph pointer before start of glyph row.
+
+2007-04-09  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * s/darwin.h (__restrict, struct kboard): Remove outdated workarounds.
+       (C_SWITCH_SYSTEM): Remove `-I../mac/src'.
+
+2007-04-09  Martin Rudalics  <rudalics@gmx.at>
+
+       * indent.c (Fmove_to_column): Set next_boundary with correct start pt.
+
+2007-04-08  Richard Stallman  <rms@gnu.org>
+
+       * xdisp.c (syms_of_xdisp) <message-log-max>: Default 100.
+
+2007-04-07  Chong Yidong  <cyd@stupidchicken.com>
+
+       * editfns.c (Ftranspose_regions): Validate interval before setting
+       text properties.
+
+2007-04-03  Eli Zaretskii  <eliz@gnu.org>
+
+       * emacs.c (main): Fix instructions for building Emacs for profiling.
+
+2007-04-03  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * gtkutil.c (xg_update_menubar): Call g_list_next after moving
+       menu bar item.
+
+2007-04-02  Juanma Barranquero  <lekktu@gmail.com>
+
+       * print.c (Fprin1_to_string): Use macro SPECPDL_INDEX.
+
+2007-04-01  Chong Yidong  <cyd@stupidchicken.com>
+
+       * keymap.c (Fcommand_remapping): New optional argument.
+       (where_is_internal): Use new keymaps argument.
+       (Fkey_binding): Caller changed.
+
+       * keyboard.c (command_loop_1): Caller changed.
+
+2007-03-31  Eli Zaretskii  <eliz@gnu.org>
+
+       * window.c (Fget_lru_window): Doc fix.
+
+2007-03-30  Chong Yidong  <cyd@stupidchicken.com>
+
+       * undo.c (Fprimitive_undo): Give clearer error message when trying
+       to change text properties outside accessible part of buffer.
+
+2007-03-29  Kim F. Storm  <storm@cua.dk>
+
+       * process.c (wait_reading_process_output) [HAVE_PTYS]:
+       When EIO happens, clear channel from descriptor masks before raising
+       SIGCHLD signal to avoid busy loop between read and sigchld_handler.
+       (sigchld_handler): Remove sleep (2007-03-11 & 2007-03-26 changes).
+
+2007-03-29  Juanma Barranquero  <lekktu@gmail.com>
+
+       * buffer.c (Fset_buffer_major_mode): Check that BUFFER is valid.
+
+       * process.c (Fformat_network_address): Return nil when the
+       argument vector contains invalid values.
+
+2007-03-28  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * gmalloc.c [HAVE_GTK_AND_PTHREAD]: Define USE_PTHREAD.
+       [USE_PTHREAD]: Include pthread.h.
+       (malloc_init_once_control, _malloc_mutex) [USE_PTHREAD]: New variables.
+       (malloc_initialize_1): New function created from __malloc_initialize.
+       (__malloc_initialize): Use it.
+       (LOCK, UNLOCK): New macros to make malloc etc. thread safe.
+       (_malloc_internal, _free_internal, _realloc_internal): Use them.
+
+       * lread.c (readchar): Extend BLOCK_INPUT block to ferror/clearerr.
+
+2007-03-27  Juanma Barranquero  <lekktu@gmail.com>
+
+       * process.c (Fformat_network_address): Make args array big enough
+       to format IPv6 addresses.
+
+2007-03-27  Glenn Morris  <rgm@gnu.org>
+
+       * m/hp800.h: Restore HP-UX support (removed 2007-01-29).
+
+2007-03-26  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macfns.c (Fx_display_mm_height, Fx_display_mm_width): Scale whole
+       screen size in pixels by millimeters per pixel of main display.
+
+       * macselect.c (get_scrap_target_type_list, x_own_selection):
+       Move assignments outside predicate macros.
+       (Vselection_converter_alist): Doc fix.
+
+       * macterm.c (create_text_encoding_info_alist): Move assignments
+       outside predicate macros.
+       (mac_initialize_display_info) [MAC_OSX]: dpyinfo->height and
+       dpyinfo->width are those of whole screen.
+
+2007-03-26  Sam Steingold  <sds@gnu.org>
+
+       * process.c (sigchld_handler): Delay by 1ms instead of 1s to
+       alleviate sluggishness (the original problem is still fixed).
+
+2007-03-25  Kim F. Storm  <storm@cua.dk>
+
+       * intervals.c (merge_properties): Use explicit loop instead of
+       Fplist_member to avoid QUIT.  Don't use Fcdr.
+       (intervals_equal): Likewise.  Rewrite loop to perform length check
+       on the fly rather than calling Flength.  Don't use Fcar.
+
+2007-03-24  Eli Zaretskii  <eliz@gnu.org>
+
+       * editfns.c (Fgoto_char): Doc fix.
+
+       * indent.c (Findent_to): Doc fix.
+
+2007-03-24  Chong Yidong  <cyd@stupidchicken.com>
+
+       * editfns.c (Ftranspose_regions): Use set_text_properties_1
+       instead of Fset_text_properties to avoid GC.  Signal after change.
+
+2007-03-24  Eli Zaretskii  <eliz@gnu.org>
+
+       * xfns.c (Fx_show_tip): Doc fix.
+
+       * macfns.c (Fx_show_tip): Doc fix.
+
+       * w32fns.c (Fx_show_tip): Doc fix.
+
+2007-03-23  Kim F. Storm  <storm@cua.dk>
+
+       * intervals.c (merge_properties, intervals_equal):
+       Use Fplist_member instead of Fmemq to find properties.
+
+2007-03-23  Glenn Morris  <rgm@gnu.org>
+
+       * unexhp9k800.c: Restore file with clarified legal status.
+       * m/sr2k.h: Restore since dependency unexhp9k800.c is restored.
+
+2007-03-22  Chong Yidong  <cyd@stupidchicken.com>
+
+       * widget.c (EmacsFrameSetCharSize): Catch X errors.
+
+2007-03-22  Kenichi Handa  <handa@m17n.org>
+
+       * fileio.c (Fcopy_file): Call barf_or_query_if_file_exists with
+       non-encoded file name.
+       (Frename_file): Likewise.
+       (Fadd_name_to_file): Likewise.
+       (Fmake_symbolic_link): Likewise.
+
+2007-03-20  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * Makefile.in (alloca.o, gtkutil.o): Depend on systime.h.
+       (dired.o, editfns.o, fileio.o, msdos.o): Depend on atimer.h.
+       (dosfns.o, window.o, fns.o, macselect.o): Depend on atimer.h and
+       systime.h.
+       (term.o, print.o, lread.o): Depend on blockinput.h, atimer.h, and
+       systime.h.
+       (macfns.o): Remove duplicate dependency on systime.h.
+
+       * dispnew.c (Fopen_termscript): Add BLOCK_INPUT around fclose.
+       (Fsend_string_to_terminal): Add BLOCK_INPUT around fwrite.
+
+       * fileio.c (do_auto_save_unwind): Add BLOCK_INPUT around fclose.
+       (Fdo_auto_save): Add BLOCK_INPUT around fwrite.
+
+       * keyboard.c (record_char): Add BLOCK_INPUT around fwrite.
+       (Fopen_dribble_file): Add BLOCK_INPUT around fclose.
+
+       * lread.c: Include blockinput.h.
+       (readchar, Fget_file_char): Add BLOCK_INPUT around getc.
+       (unreadchar): Add BLOCK_INPUT around ungetc.
+       (load_unwind): Add BLOCK_INPUT around fclose.
+
+       * print.c: Include blockinput.h.
+       (Fredirect_debugging_output): Add BLOCK_INPUT around fclose.
+
+       * process.c (Fmake_network_process) [HAVE_GETADDRINFO]:
+       Clear immediate_quit before calling freeaddrinfo.
+       Add BLOCK_INPUT around freeaddrinfo.
+
+       * term.c: Include blockinput.h.
+       (write_glyphs, insert_glyphs): Add BLOCK_INPUT around fwrite.
+
+2007-03-19  Richard Stallman  <rms@gnu.org>
+
+       * keyboard.c (NUM_RECENT_KEYS): Bump up to 300.
+
+       * buffer.c (syms_of_buffer): Doc fix.
+
+2007-03-18  Chong Yidong  <cyd@stupidchicken.com>
+
+       * image.c (pbm_load): Signal error for invalid image size.
+
+2007-03-18  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macterm.c (note_mouse_movement): Don't return immediately for
+       LeaveNotify case.
+
+       * macmenu.c (popup_activated_flag): New variable.
+       (x_activate_menubar, mac_menu_show): Set it during menu tracking.
+       (popup_activated): New function.
+
+       * xdisp.c (redisplay_internal, note_mouse_highlight):
+       Check popup_activated for MAC_OS.
+
+2007-03-17  Juanma Barranquero  <lekktu@gmail.com>
+
+       * buffer.c (syms_of_buffer) <buffer-display-table>: Doc fix.
+       Reported by Nikolaj Schumacher <n_schumacher@web.de>.
+
+2007-03-17  Richard Stallman  <rms@gnu.org>
+
+       * dired.c (file_name_completion): gcpro NAME.
+
+2007-03-17  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xdisp.c (try_window_id): Increment matrix positions if the
+       buffer's byte count has increased, but not the character count.
+
+2007-03-12  Andreas Schwab  <schwab@suse.de>
+
+       * lisp.h: Declare check_obarray.
+
+       * process.c (Fdelete_process): Properly handle deletion of first
+       element of deleted_pid_list.
+       (create_process): Declare pid as pid_t.
+
+2007-03-12  Kim F. Storm  <storm@cua.dk>
+
+       * process.c (sigchld_handler): Change type of pid to pid_t.
+       Scan deleted_pid_list explicitly to avoid using Fmember which don't
+       know about mark bits and make_fixnum_or_float which may malloc.
+       Reported by Andreas Schwab.
+
+       * keyboard.c (read_key_sequence): Store original event into keybuf
+       when replaying sequence with local keymap(s) from string.
+
+2007-03-12  Glenn Morris  <rgm@gnu.org>
+
+       * editfns.c (Fdecode_time, Fencode_time): Doc fix ("daylight
+       savings" to "daylight saving").
+
+2007-03-11  Sam Steingold  <sds@gnu.org>
+
+       * process.c (sigchld_handler): Sleep before wait3 to avoid a busyloop.
+
+2007-03-11  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macfns.c (Fx_server_vendor): Change vendor string to "Apple Inc.".
+
+2007-03-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macterm.c [USE_CARBON_EVENTS] (mac_handle_mouse_event):
+       Ignore mouse wheel movement on title bar or tool bar.
+
+2007-03-10  Chong Yidong  <cyd@stupidchicken.com>
+
+       * keyboard.c (help_form_saved_window_configs): New var.
+       (read_char_help_form_unwind): New function.
+       (read_char): Don't restore window configuration if a mouse click
+       arrives while the help form is being displayed.
+
+2007-03-10  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (redisplay_window): Don't automatically select a new window
+       start for a contination line during mouse-click.
+
+2007-03-09  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * xterm.c (handle_one_xevent): Ignore buttons > 3 for the tool bar.
+
+2007-03-09  Juanma Barranquero  <lekktu@gmail.com>
+
+       * keymap.c (Fdescribe_buffer_bindings): Check that BUFFER is valid.
+
+2007-03-08  Richard Stallman  <rms@gnu.org>
+
+       * keyboard.c (syms_of_keyboard): Doc fix.
+
+2007-03-08  Chong Yidong  <cyd@stupidchicken.com>
+
+       * minibuf.c (Ftry_completion): Don't short circuit if
+       completion-ignore-case is non-nil.
+
+2007-03-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macfns.c (mac_set_scroll_bar_width, mac_frame_parm_handlers):
+       Undo 2006-03-06 changes.
+
+       * macterm.c (XTset_vertical_scroll_bar) [MAC_OSX]: Don't show scroll
+       bar if its width is smaller than that of Aqua small scroll bar.
+
+2007-03-07  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuf.c (read_minibuf): Bind inhibit-read-only a bit longer so as
+       to handle correctly prompts with read-only property.
+
+2007-03-06  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * sound.c (wav_play): Check header->data_length to see how much we
+       shall read.
+       (alsa_period_size): Convert ALSA period size in frames to bytes.
+       (alsa_write): Return if frames is zero.
+
+2007-03-06  Kenichi Handa  <handa@m17n.org>
+
+       * xselect.c (Vselection_coding_system): Documentation improved.
+
+2007-03-05  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macterm.c (x_scroll_bar_create, XTread_socket): Replace #if
+       USE_TOOLKIT_SCROLL_BARS with #ifdef USE_TOOLKIT_SCROLL_BARS.
+       (x_set_window_size): Call SET_FRAME_GARBAGED.  Clear window if
+       internal border width has changed.
+
+       * macterm.h (struct mac_output): New member `internal_border_width'.
+
+2007-03-04  Richard Stallman  <rms@gnu.org>
+
+       * window.c (Fdisplay_buffer): Doc fix.
+
+2007-03-03  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in: Don't clear out LIB_X11_LIB, since XFT_LIBS does
+       not include -lX11 on Solaris.
+
+2007-03-02  Stuart D. Herring  <herring@lanl.gov>
+
+       * keymap.c (Fkey_binding): Don't consider one-element lists as events.
+
+2007-03-01  Kenichi Handa  <handa@m17n.org>
+
+       * process.c (send_process_object): Check the process status and
+       signal an error if something is wrong.
+
+2007-02-28  Chong Yidong  <cyd@stupidchicken.com>
+
+       * insdel.c (Fcombine_after_change_execute): Return nil if
+       combine_after_change_buffer has been invalidated.
+
+2007-02-25  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * m/xtensa.h: New file.
+
+2007-02-24  Nick Roberts  <nickrob@snap.net.nz>
+
+       * .gdbinit (xprintstr): Ensure GDB (> 6.6) prints symbol name
+       as strings and not character arrays.
+
+2007-02-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macterm.c [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_drag)
+       (x_set_toolkit_scroll_bar_thumb): Add bar->min_handle as margin to
+       scroll bar handle size in order to avoid `scroll backward' problem.
+       (x_scroll_bar_create, XTset_vertical_scroll_bar)
+       [USE_TOOLKIT_SCROLL_BARS]: Initialize bar->min_handle.
+
+       * macterm.h (struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS]:
+       New member `min_handle'.
+
+2007-02-23  Kim F. Storm  <storm@cua.dk>
+
+       * print.c (print): Reset print_number_index if Vprint_number_table
+       is nil.
+
+2007-02-23  Eli Zaretskii  <eliz@gnu.org>
+
+       * w32.c (stat, get_long_basename, is_unc_volume): Use _mbspbrk
+       instead of strpbrk.
+
+2007-02-23  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macmenu.c (mac_menu_show): Call unbind_to early.  Use variable
+       `menu_item_selection' as in W32 version.
+       [TARGET_API_MAC_CARBON] (mac_handle_dialog_event): Add explicit
+       braces to avoid ambiguous `else'.
+
+       * macterm.c (mac_display_info_for_display): Remove function.
+       (mac_flush_display_optional) [USE_CG_DRAWING]: New function.
+       (x_redisplay_interface) [USE_CG_DRAWING]: Set it as handler for
+       flush_display_optional.
+       [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_press):
+       New argument MOUSE_POS.  All uses changed.  Set bar->dragging to
+       negative integer if scroll bar handle is pressed.
+       [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_release):
+       Negative bar->dragging means scroll bar handle is not dragged.
+       [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_drag): Get initial
+       offset of scroll bar handle from negative bar->dragging.
+       (XTread_socket) [USE_TOOLKIT_SCROLL_BARS]: Modifiers for scroll
+       bar click is compared against mapped one.  Set down/up_modifier
+       for scroll bar click event with control key.
+
+       * macterm.h (x_display_info_for_display): Remove extern.
+       (SCROLL_BAR_UNPACK, SET_SCROLL_BAR_CONTROL_HANDLE): Don't limit
+       value to be unpacked to 32-bit on LP64 model.
+
+2007-02-23  Kenichi Handa  <handa@m17n.org>
+
+       * process.c (send_process_object_unwind): New function.
+       (send_process_object): New function.
+       (Fprocess_send_region): Call send_process_object.
+       (Fprocess_send_string): Likewise.
+
+2007-02-22  Jason Rumney  <jasonr@gnu.org>
+
+       * w32menu.c (w32_menu_show): Mark the frame's menu as inactive
+       when popup menu finishes.
+
+       * w32fns.c (menubar_in_use): New flag.
+       (w32_wnd_proc) [WM_INITMENU, WM_EXITMENULOOP, WM_TIMER, WM_COMMAND]:
+       Use it.
+
+       * w32menu.c (Fx_popup_menu): Don't free menu strings here.
+       (w32_menu_show): Do it here instead.
+
+       * w32fns.c (w32_wnd_proc) [WM_INITMENU]: Set menubar_active frame
+       parameter.
+
+       * w32menu.c (current_popup_menu): Make available globally.
+       (menubar_selection_callback): Free menu strings before pushing the
+       menu event into the keyboard buffer.  Remove menu_command_in_progress.
+
+       * w32fns.c (current_popup_menu): Use from w32menu.c.
+       (w32_wnd_proc) [WM_EXITMENULOOP, WM_TIMER]: Use menubar_active
+       and current_popup_menu to determine whether a menubar menu has
+       been cancelled.
+
+       * w32term.h (w32_output): Remove menu_command_in_progress.
+
+2007-02-22  Kim F. Storm  <storm@cua.dk>
+
+       * dispnew.c (update_frame, update_single_window): Set force_p here if
+       redisplay_dont_pause is set or Vredisplay_preemption_period is nil...
+       (update_window, update_frame_1): ... instead of here.
+       (update_text_area): Clear mouse face on header lines.
+
+2007-02-21  Kim F. Storm  <storm@cua.dk>
+
+       * minibuf.c (Fassoc_string): Doc fix.  Allow symbol for KEY too.
+
+2007-02-21  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macterm.c (WINDOW_RESOURCE, TERM_WINDOW_RESOURCE): Remove macros.
+       [USE_MAC_TSM] (mac_handle_text_input_event): Remove unused variable
+       `mapped_modifiers'.
+       (XTread_socket) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1020]: Use Keyboard
+       Layout Services routines to get current Unicode keyboard layout.
+
+2007-02-20  Chong Yidong  <cyd@stupidchicken.com>
+
+       * frame.c (x_set_screen_gamma): Apply gamma value to the frame's
+       bgcolor.
+
+2007-02-19  Kim F. Storm  <storm@cua.dk>
+
+       * minibuf.c (Fassoc_string): Allow symbols as keys.
+
+       * w32term.c (w32_set_scroll_bar_thumb): Don't resize scroll-bar
+       handle while dragging, except when we get close to eob.
+       Fix position and size calculations so we don't scroll backwards
+       just by clicking on the handle.
+
+2007-02-17  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * Makefile.in (${emacsapp}Contents/Resources/Emacs.rsrc)
+       [HAVE_CARBON]: Remove target.
+       (macosx-app) [HAVE_CARBON]: Don't depend on it.
+
+2007-02-17  Juanma Barranquero  <lekktu@gmail.com>
+
+       * callproc.c (syms_of_callproc) <doc-directory>:
+       <configure-info-directory>:
+       (Fgetenv_internal): Fix typos in docstrings.
+
+       * doc.c (Fsubstitute_command_keys): Fix typo in docstring.
+
+2007-02-16  Andreas Schwab  <schwab@suse.de>
+
+       * frame.c (Fmodify_frame_parameters): Return a value.
+
+       * editfns.c (Fformat): Add support for '+' flag.
+       * doprnt.c (doprnt1): Likewise.  Fix overflow checking.
+
+2007-02-14  Chong Yidong  <cyd@stupidchicken.com>
+
+       * s/umips.h: Unused file removed.
+
+2007-02-14  Juanma Barranquero  <lekktu@gmail.com>
+
+       * xfaces.c (Fcolor_distance): Don't continue checking a color for
+       errors after it has been correctly parsed as an RGB list.
+
+2007-02-14  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * xterm.c (do_ewmh_fullscreen): Also check for _NET_WM_STATE_FULLSCREEN.
+
+2007-02-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macfns.c (Fx_focus_frame): Move current process to foreground if
+       it is not.
+       [TARGET_API_MAC_CARBON] (Fx_file_dialog): Replace #if MAC_OSX with
+       #ifdef MAC_OSX.
+       (Fmac_set_font_panel_visible_p) [USE_MAC_FONT_PANEL]: Rename from
+       Fmac_set_font_panel_visibility.  All uses changed.  Rename argument
+       VISIBLE to FLAG.
+
+       * macterm.c (MakeMeTheFrontProcess) [MAC_OSX]: Remove function.
+       (mac_initialize) [MAC_OSX]: Call SetFrontProcess instead of
+       MakeMeTheFrontProcess.
+
+2007-02-12  Chong Yidong  <cyd@stupidchicken.com>
+
+       * frame.c (x_set_screen_gamma): Clear face cache.
+
+2007-02-11  Juanma Barranquero  <lekktu@gmail.com>
+
+       * buffer.c (Fgenerate_new_buffer_name, Fbuffer_modified_tick):
+       Reflow docstrings.
+
+2007-02-10  Eli Zaretskii  <eliz@gnu.org>
+
+       * window.c (Fwindow_height, Fwindow_hscroll)
+       (Fwindow_redisplay_end_trigger, Fwindow_point, Fwindow_start)
+       (Fwindow_end, Fwindow_display_table, Fwindow_text_height):
+       Document the effect of WINDOW arg being nil.
+
+2007-02-08  Kim F. Storm  <storm@cua.dk>
+
+       * minibuf.c (read_minibuf): Fix 2007-01-30 change.
+       Use Qlambda as interim value of Vminibuffer_completing_file_name.
+       (Fcompleting_read): Use non-filename maps if value is Qlambda (or Qnil).
+       (syms_of_minibuf) <minibuffer-completing-file-name>: Document lambda.
+
+2007-02-07  Juanma Barranquero  <lekktu@gmail.com>
+
+       * makefile.w32-in ($(TRES)): Use literal "../nt/emacs.rc" instead
+       of $(ALL_DEPS).
+
+2007-02-07  Eli Zaretskii  <eliz@gnu.org>
+
+       * makefile.w32-in ($(TRES)): Depend on stamp_BLD, since $(TRES) is
+       put into $(BLD).
+
+2007-02-06  Chong Yidong  <cyd@stupidchicken.com>
+
+       * frame.c (Fmodify_frame_parameters): Don't bind
+       Qinhibit_default_face_x_resources, which has no effect.
+       (Qinhibit_default_face_x_resources): Symbol deleted.
+
+2007-02-03  Eli Zaretskii  <eliz@gnu.org>
+
+       * indent.c (Fmove_to_column): Document that the argument COLUMN is
+       taken from prefix numeric argument.
+
+2007-02-03  Juanma Barranquero  <lekktu@gmail.com>
+
+       * lread.c (syms_of_lread) <load-history>: Doc fix.
+
+2007-01-29  Andreas Seltenreich  <uwi7@rz.uni-karlsruhe.de>  (tiny change)
+
+       * xterm.c [!USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_expose):
+       Use the foreground color of the scroll-bar face when drawing
+       the scroll-bar's border.
+
+2007-02-02  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * xterm.c (do_ewmh_fullscreen): Check that what != NULL before
+       calling wm_supports.
+
+2007-02-01  Juanma Barranquero  <lekktu@gmail.com>
+
+       * lread.c (syms_of_lread) <user-init-file>: Doc fix.
+       Wording by Eli Zaretskii.
+
+2007-01-31  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * gtkutil.c (update_frame_tool_bar): Initialize h/vmargin to 0.
+
+2007-01-30  Richard Stallman  <rms@gnu.org>
+
+       * minibuf.c (read_minibuf):
+       Save and clear Vminibuffer_completing_file_name.
+       (read_minibuf_unwind): Restore it.
+       (Vminibuffer_completion_table, Qminibuffer_completion_table)
+       (Vminibuffer_completion_predicate, Qminibuffer_completion_predicate)
+       (Vminibuffer_completion_confirm, Qminibuffer_completion_confirm)
+       (Vminibuffer_completing_file_name): Definitions moved up.
+
+2007-01-29  Chong Yidong  <cyd@stupidchicken.com>
+
+       * m/hp800.h: Restore, removing HP-UX support.
+
+2007-01-29  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * Makefile.in: Use a variable, XFT_LIBS, instead #define LIB_X11_LIB.
+
+2007-01-28  Richard Stallman  <rms@gnu.org>
+
+       * minibuf.c (Ftry_completion, Fall_completions)
+       (Fcompleting_read, Ftest_completion):
+       Rename arg ALIST or TABLE to COLLECTION.
+
+2007-01-27  Chong Yidong  <cyd@stupidchicken.com>
+
+       * unexhp9k800.c: Remove due to lack of legal papers.
+
+       * m/sr2k.h, m/hp800.h: Remove due to dependence on above.
+
+2007-01-27  Eli Zaretskii  <eliz@gnu.org>
+
+       * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector): Doc fix.
+
+       * minibuf.c (Fcompleting_read): Doc fix.
+
+2007-01-26  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * gtkutil.c (xg_initialize): Call XftInit if HAVE_XFT.
+
+       * Makefile.in: Use XFT_LIBS if defined.
+
+2007-01-26  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * alloc.c (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Use
+       BLOCK_INPUT/UNBLOCK_INPUT.
+
+       * blockinput.h (interrupt_input_blocked): Declare volatile.
+
+       * keyboard.c (interrupt_input_blocked): Declare volatile.
+
+       * syssignal.h (SIGNAL_THREAD_CHECK): Use pthread_equal.
+
+2007-01-24  Kim F. Storm  <storm@cua.dk>
+
+       * keymap.c (describe_map): Don't consider prefix keys to be shadowed.
+
+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.
+
 2006-12-15  Eli Zaretskii  <eliz@gnu.org>
 
        * emacs.c (USAGE3): Clarify documentation of --color.
 
 2006-12-15  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 
-       * mac.c (wakeup_from_rne_enabled_p) [TARGET_API_MAC_CARBON]: New
-       variable.
+       * mac.c (wakeup_from_rne_enabled_p) [TARGET_API_MAC_CARBON]:
+       New variable.
        (ENABLE_WAKEUP_FROM_RNE, DISABLE_WAKEUP_FROM_RNE): New macros.
        [!MAC_OSX] (select): Use them.
        [MAC_OSX] (select_and_poll_event, sys_select): Likewise.
        (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.
-       (Vmac_atsu_font_table) [USE_ATSUI]: Remove Variable.
+       (Vmac_atsu_font_table) [USE_ATSUI]: Remove variable.
        (syms_of_macterm) [USE_ATSUI]: Don't defvar it.
        (fm_get_style_from_font, atsu_find_font_from_family_name)
        (atsu_find_font_family_name, mac_atsu_font_face_attributes)
        (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.
 
        * strftime.c (HAVE_SYS__MBSTATE_T_H): Fix typo.
 
-2006-11-02  Alfred M. Szmidt  <ams@gnu.org>  (tiny change)
+2006-11-22  Alfred M. Szmidt  <ams@gnu.org>  (tiny change)
 
        * s/openbsd.h (LD_SWITCH_SYSTEM): Remove /usr/pkg/lib and
        /usr/pkg/lib from the library search path.
 2006-10-31  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 
        * image.c [MAC_OS] (image_load_qt_1, xpm_scan, xpm_make_color_table_v)
-       (xpm_put_color_table_v, xpm_get_color_table_v, xpm_make_color_table_h)
+       (xpm_put_color_table_v, xpm_get_color_table_v, xpm_make_color_table_h)
        (xpm_put_color_table_h, xpm_get_color_table_h, xpm_str_to_color_key)
        (xpm_load_image): Add const qualifier to arguments.
        [MAC_OS] (xpm_color_key_strings): Make static const.
 
 2006-08-28  Kenichi Handa  <handa@m17n.org>
 
-       * coding.c (Fdetect_coding_region, Fdetect_coding_string): Fix
-       docstring about ISO-2022 control characters.
+       * coding.c (Fdetect_coding_region, Fdetect_coding_string):
+       Fix docstring about ISO-2022 control characters.
 
 2006-08-28  Kim F. Storm  <storm@cua.dk>
 
        * macterm.c (x_draw_stretch_glyph_string):
        * w32term.c (x_draw_stretch_glyph_string):
        * xterm.c (x_draw_stretch_glyph_string): It is ok to draw a
-       stretch glyph in left marginal areas on header and mode lines.
+       stretch glyph in left marginal areas on header and mode lines.
 
 2006-08-21  Kenichi Handa  <handa@m17n.org>
 
 2006-08-09  Kenichi Handa  <handa@m17n.org>
 
        * coding.c (syms_of_coding): Improve the docstring
-       file-coding-system-alist.
+       of file-coding-system-alist.
 
 2006-08-07  Andreas Schwab  <schwab@suse.de>
 
 
 2006-07-20  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 
-       * alloc.c (pure_bytes_used_lisp, pure_bytes_used_non_lisp): New vars.
+       * alloc.c (pure_bytes_used_lisp, pure_bytes_used_non_lisp): New vars.
        (init_alloc_once): Initialize them.
        (pure_alloc): Allocate non-Lisp objects from the end of pure storage
        without alignment.
        * macterm.c (font_panel_shown_p) [USE_MAC_FONT_PANEL]: New variable.
        (mac_font_panel_visible_p, mac_show_hide_font_panel)
        [USE_MAC_FONT_PANEL]: New functions.
-       [USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection): Return
-       immediately if font panel is not visible.
+       [USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection):
+       Return immediately if font panel is not visible.
 
        * macterm.h (mac_font_panel_visible_p, mac_show_hide_font_panel):
        Add externs.
 
 2006-05-29  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
 
-       * sound.c (alsa_open, alsa_configure, alsa_write): Move
-       assignment to err out of if-statement.
+       * sound.c (alsa_open, alsa_configure, alsa_write):
+       Move assignment to err out of if-statement.
 
        * gtkutil.c (menu_nav_ended): New function.
        (create_menus): Connect menu_nav_ended to "selection-done" to fix
        (Qpanel_closed, Qselection) [USE_MAC_FONT_PANEL]: Likewise.
        (syms_of_macterm): Intern and staticpro them.
        (init_font_name_table) [USE_ATSUI]: Add data to Vmac_atsu_font_table.
-       [TARGET_API_MAC_CARBON] (mac_store_event_ref_as_apple_event): New
-       function.
+       [TARGET_API_MAC_CARBON] (mac_store_event_ref_as_apple_event):
+       New function.
        [USE_CARBON_EVENTS] (mac_handle_command_event): Use it.
        [MAC_OSX] (mac_store_services_event): Likewise.
        [USE_CARBON_EVENTS] (mac_handle_window_event) [MAC_OSX]: Handle
        [TARGET_API_MAC_CARBON] (create_apple_event): New function.
        [TARGET_API_MAC_CARBON] (create_apple_event_from_event_ref): Use it.
        Use xrealloc instead of repeated xmalloc/xfree.
-       [TARGET_API_MAC_CARBON] (create_apple_event_from_drag_ref): New
-       function.
+       [TARGET_API_MAC_CARBON] (create_apple_event_from_drag_ref):
+       New function.
 
        * macmenu.c (restore_menu_items, cleanup_popup_menu): Return a value.
 
        * xdisp.c (fill_stretch_glyph_string): Set s->nchars = 1 for code which
        does last_glyph=s->first_glyph+s->nchars-1, e.g. if stretch has relief.
        (produce_stretch_glyph): Assume that face box height and width is
-       already included in stretch glyph size so caller doesn't have to
+       already included in stretch glyph size so caller doesn't have to
        consider the extra space otherwise added (fixes problem in ses.el).
 
        * frame.c (x_set_font): Clear f->n_tool_bar_rows and current frame
 
        * xdisp.c (redisplay_window): Fix last change.
 
-       * xdisp.c (redisplay_window): If current window start is not at the
+       * xdisp.c (redisplay_window): If current window start is not at the
        beginning of a line, select a new window start if buffer is modified
        and window start is in the modified region, but the first change is
        before window start.
 
 2006-03-19  Kim F. Storm  <storm@cua.dk>
 
-       * xdisp.c (set_cursor_from_row): Fix cursor property on overlay string,
+       * xdisp.c (set_cursor_from_row): Fix cursor property on overlay string,
        so it doesn't associate overlay string with following glyph by default.
        Allow integer property value to specify explicit number of buffer
        positions associate with overlay string.
        objects until we are done with the parsing.
        (parse_single_submenu, digest_single_submenu): New functions.
        (single_submenu): Function deleted, replaced by those two.
-       (install_menu_quit_handler) [HAVE_CANCELMENUTRACKING]: Don't
-       create or dispose of EventHandlerUPP.  Install hander to all submenus.
+       (install_menu_quit_handler) [HAVE_CANCELMENUTRACKING]: Don't create
+       or dispose of EventHandlerUPP.  Install hander to all submenus.
        (mac_menu_show) [!HAVE_MULTILINGUAL_MENU]: Use ENCODE_MENU_STRING
        instead of ENCODE_SYSTEM.
        (free_frame_menubar, fill_submenu, fill_menu): Don't use NULL for
 
        * search.c (Fmatch_data): Add optional RESEAT arg.  Unchain markers
        in REUSE list if non-nil; free them if equal to evaporate.
-       (Fset_match_data): Add optional RESEAT arg.  Unchain markers in LIST
+       (Fset_match_data): Add optional RESEAT arg.  Unchain markers in LIST
        if non-nil; free them if equal to evaporate.  Use XCAR/XCDR.
        (restore_search_regs): Rename from restore_match_data.  Uses changed.
        (unwind_set_match_data): New function.
 
        * macterm.c (mac_keyboard_text_encoding)
        (current_mac_keyboard_text_encoding): Remove variables.
-       (XTread_socket): Store language-change event if keyboard script change
+       (XTread_socket): Store language-change event if keyboard script change
        is detected.  Don't convert input to `mac_keyboard_text_encoding'.
        (syms_of_macterm): Delete DEFVAR_INT for mac-keyboard-text-encoding.
 
        (merge_into_realized_face): Add prototype.
 
        * xfaces.c (merge_into_realized_face): New function.  Used to
-       merge escape-glyph face or face from display table into current face.
+       merge escape-glyph face or face from display table into current face.
 
        * xdisp.c (Vshow_nonbreak_escape): New lisp var.
        (syms_of_xdisp): DEFVAR_LISP it.
        Lookup table instead.
        (mac_do_font_lists): Simplify calculation of the longest
        nonspecial string.
-       (init_mac_drag_n_drop): Remove function and declaration.
+       (init_mac_drag_n_drop): Remove function and declaration.
        (mac_initialize) [TARGET_API_MAC_CARBON]: Don't call
        init_mac_drag_n_drop.
        (mac_do_track_drag): New function and declaration.
        when SIGNALS_VIA_CHARACTERS.
 
        * process.c (process_send_signal)
-       [SIGNALS_VIA_CHARACTERS, HAVE_TERMIOS]: Clean up.
+       [SIGNALS_VIA_CHARACTERS, HAVE_TERMIOS]: Clean up.
        Do nothing if the character is CVDISABLE.
 
        * xfaces.c (merge_face_ref): Specifying `unspecified' is a no-op.
        * macterm.c (do_window_activate, do_window_deactivate): Remove.
        (XTread_socket): Send mouse button events to the toolbox
        dispatcher even when the mouse is grabbed.  Don't process window
-       activate events for non-Emacs windows.  Replace function calls to
+       activate events for non-Emacs windows.  Replace function calls to
        do_window_activate and do_window_deactivate with their contents.
        Reset mouse grabbing status when a window is deactivated.
 
 
 2004-04-06  Kim F. Storm  <storm@cua.dk>
 
-       * msdos.c (clear_mouse_face): Only clear mouse highlight if not hidden.
+       * msdos.c (clear_mouse_face): Only clear mouse highlight if not hidden.
        (dos_rawgetc): Set mouse_face_hidden after clearing highlight.
 
        * w32term.c (w32_read_socket): Set mouse_face_hidden after
        able to know when cursor is on an image; always substitute
        hollow-box cursor for filled-box cursor on images, to avoid
        negative images and flicker when blinking the cursor.
-       (display_and_set_cursor): Pass glyph to get_window_cursor_type.
+       (display_and_set_cursor): Pass glyph to get_window_cursor_type.
        (note_mode_line_or_margin_highlight): Use non-text cursor rather
        than vertical scroll-bar cursor in display margins.
        (note_mouse_highlight): Use non-text cursor rather than text
        is received.
        (handle_one_xevent): Rename x_check_expected_move from
        x_check_fullscreen_move.
-       (x_set_offset): Only add WM decoration sizes to modified_top/left
+       (x_set_offset): Only add WM decoration sizes to modified_top/left
        for X_WMTYPE_A.  Set check_expected_move when WM type is unknown.
        (x_check_expected_move): Rename from x_check_fullscreen_move.
        Removed fullscreen specific code.  Use check_expected_move,
        3) Consistently use FRAME_FONT and FRAME_FONTSET macros.
 
        4) Use FRAME_COLUMN_WIDTH (f) consistently throughout the code
-       rather than FRAME_WIDTH (FRAME_FONT (f)).
+       rather than FRAME_WIDTH (FRAME_FONT (f)).
 
        5) Introduce a consistent naming of variables, members and macros
        depending on whether their value is measured in pixels or in
        fringe, and scroll-bar settings; then call Fset_window_buffer with
        KEEP_MARGINS non-nil.  This fixes a bug which caused a split
        window to only preserve the display margins in one of the windows.
-       When splitting horizontally, call adjust_window_margins on both
+       When splitting horizontally, call adjust_window_margins on both
        windows to ensure that the text area of the new windows is non too
        narrow.  This fixes a bug which could cause Emacs to trap if the
        width of the split window was less than the width of the display
 
        * gtkutil.c (xg_tool_bar_expose_callback): New function.
        (xg_create_tool_bar): Force style of tool bar to be horizontal with
-       icons.  Set name of tool bar to emacs-toolbar.
+       icons.  Set name of tool bar to emacs-toolbar.
        (update_frame_tool_bar): Connect expose event to
        xg_tool_bar_expose_callback.
 
 
        * w32term.c (x_check_fullscreen, x_check_fullscreen_move)
        (x_fullscreen_adjust): New functions.
-       (w32_read_socket) <WM_WINDOWPOSCHANGED>: Don't  resize to
+       (w32_read_socket) <WM_WINDOWPOSCHANGED>: Don't resize to
        fullscreen.  Call x_check_fullscreen_move, and set the
        want_fullscreen member of output_data.w32
        <WM_ACTIVATE, WM_ACTIVATEAPP>: Call x_check_fullscreen.
 
        * xterm.c (disable_mouse_highlight): Removed variable.
        (note_mouse_highlight): Don't highlight if Vmouse_highlight is nil.
-       (show_mouse_face): Don't show highlight if mouse_face_hidden is set.
+       (show_mouse_face): Don't show highlight if mouse_face_hidden is set.
        (XTread_socket): Turn mouse_face_hidden off after mouse movement,
        and on after keyboard input.
        (x_term_init): Initialize mouse_face_hidden.
        * msdos.h (struct display_info): Add mouse_face_hidden.
 
        * msdos.c (disable_mouse_highlight): Removed variable.
-       (show_mouse_face): Don't show highlight if mouse_face_hidden is set.
+       (show_mouse_face): Don't show highlight if mouse_face_hidden is set.
        (IT_note_mouse_highlight): Don't highlight if Vmouse_highlight is nil.
        (internal_terminal_init): Initialize mouse_face_hidden.
        (dos_rawgetc): Turn mouse_face_hidden off after mouse movement,
 
        * w32term.c (disable_mouse_highlight): Removed variable.
        (note_mouse_highlight): Disable highlight if Vmouse_highlight is nil.
-       (show_mouse_face): Don't show highlight if mouse_face_hidden is set.
+       (show_mouse_face): Don't show highlight if mouse_face_hidden is set.
        (w32_read_socket): Turn mouse_face_hidden off after mouse movement,
        and on after keyboard input.
        (w32_initialize_display_info): Initialize mouse_face_hidden.
 2002-01-07  Jason Rumney  <jasonr@gnu.org>
 
        * xmenu.c (set_frame_menubar, xmenu_show):
-       (xdialog_show): Initialize wv->help to Qnil.
+       (xdialog_show): Initialize wv->help to Qnil.
 
        * w32menu.c (single_submenu, set_frame_menubar, w32_menu_show):
        (w32_dialog_show): Initialize wv->help to Qnil.
@@ -26784,8 +27870,23 @@ See ChangeLog.9 for earlier changes.
 ;; End:
 
     Copyright (C) 2001, 2002, 2003, 2004, 2005,
-       2006 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.
+       2006, 2007 Free Software Foundation, Inc.
+
+  This file is part of GNU Emacs.
+
+  GNU Emacs is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation; either version 2, or (at your option)
+  any later version.
+
+  GNU Emacs is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+  You should have received a copy of the GNU General Public License
+  along with GNU Emacs; see the file COPYING.  If not, write to the
+  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+  Boston, MA 02110-1301, USA.
 
 ;;; arch-tag: 5dcc435f-4038-4141-b3bf-5be51cd76bd4