+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.
+