+2004-05-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * macfns.c: Don't include ccl.h.
+ [MAC_OSX]: Don't include QuickTime/QuickTime.h.
+ [!MAC_OSX]: Don't include alloca.h, Windows.h, Gestalt.h, or
+ TextUtils.h.
+ (Fx_create_frame): Sync with xfns.c. Initialize cursor
+ descriptors.
+ (Fx_display_mm_height, Fx_display_mm_width): Calculate length from
+ display height/width.
+ (compute_tip_xy, Vx_max_tooltip_size): Declare.
+ (unwind_create_tip_frame, compute_tip_xy): New functions.
+ (x_create_tip_frame, Fx_show_tip, Fx_hide_tip): Sync with xfns.c.
+ (syms_of_macfns): Initialize Qcancel_timer, Vx_max_tooltip_size,
+ and last_show_tip_args.
+
+ * macgui.h [!MAC_OSX]: Include Gestalt.h.
+ (Cursor, No_Cursor): New defines.
+ [!TARGET_API_MAC_CARBON] (SetPortWindowPort): New compatibility
+ macro.
+ [!TARGET_API_MAC_CARBON] (arrow_cursor): Declare.
+
+ * macmenu.c (mac_menu_show, mac_dialog): Use SetPortWindowPort.
+
+ * macterm.c: Don't include Gestalt.h.
+ (enum mouse_tracking_type, mouse_tracking_in_progress): Remove.
+ (XDrawLine, XClearArea, XClearWindow, mac_draw_bitmap)
+ (mac_set_clip_rectangle, mac_reset_clipping, XCreatePixmap)
+ (XFillRectangle, mac_draw_rectangle, mac_draw_string_common)
+ (mac_copy_area, mac_copy_area_with_mask, x_update_end)
+ (construct_mouse_click, XTmouse_position)
+ (x_scroll_bar_report_motion, x_calc_absolute_position)
+ (do_mouse_moved, do_zoom_window, mac_do_receive_drag)
+ (XTread_socket, make_mac_frame): Use SetPortWindowPort.
+ (note_mouse_movement): Clear the mouse face and reset the pointer
+ shape when the pointer goes outside the frame without grabbing.
+ (mac_front_window): New function.
+ (mac_window_to_frame): New macro.
+ (XTmouse_position, x_scroll_bar_report_motion, do_window_update)
+ (do_window_activate, do_window_deactivate, do_app_resume)
+ (do_app_suspend, do_mouse_moved, do_menu_choice, do_grow_window)
+ (do_zoom_window, mac_do_receive_drag, XTread_socket)
+ (mac_check_for_quit_char): Use mac_front_window and/or
+ mac_window_to_frame.
+ (x_scroll_bar_handle_click): Set `(PORTION . WHOLE)' part in a
+ scroll-bar click event.
+ (mac_define_frame_cursor): Change the pointer shape.
+ (x_free_frame_resources): Reset tip_window to NULL when it is
+ disposed.
+ [!TARGET_API_MAC_CARBON] (arrow_cursor): New variable.
+ [!TARGET_API_MAC_CARBON] (do_init_managers): Initialize
+ arrow_cursor.
+ (do_window_update): Don't do anything if the updated window is the
+ tooltip window.
+ (do_mouse_moved): Handle mouse movement events here (previously in
+ XTread_socket). Clear the mouse face if
+ dpyinfo->mouse_face_hidden is set.
+ (do_os_event, do_events): Remove (now in XTread_socket).
+ (XTread_socket): Immediately return if interrupt_input_blocked.
+ Loop until all the events in the queue are processed. Rearrange
+ codes for mouse grabbing. Add tooltip support. Include the
+ contents of do_os_event and do_events. Remove mouse movement
+ handling (now in do_mouse_moved). Add the case where
+ Vmouse_highlight has an integer value.
+ (NewMacWindow): Remove.
+ (make_mac_frame): Do what NewMacWindow previously did. Don't do
+ excess initializations.
+ (make_mac_terminal_frame): Previous initializations in
+ make_mac_frame are moved here.
+ (mac_initialize_display_info): Initialize
+ dpyinfo->mouse_face_overlay and dpyinfo->mouse_face_hidden.
+
+ * xdisp.c [MAC_OS] (No_Cursor): Remove variable.
+ (define_frame_cursor1): Don't treat HAVE_CARBON as a special case.
+
+2004-05-29 Richard M. Stallman <rms@gnu.org>
+
+ * lisp.h (truncate_undo_list): Update decl.
+
+ * alloc.c (undo_outer_limit): New variable.
+ (syms_of_alloc): Defvar it.
+ (Fgarbage_collect): Pass undo_outer_limit to truncate_undo_list.
+
+ * undo.c (truncate_undo_list): New arg LIMITSIZE.
+
+ * alloc.c (lisp_align_malloc): Check for base == 0
+ regardless of HAVE_POSIX_MEMALIGN.
+ Clean up HAVE_POSIX_MEMALIGN handling of `err'.
+
+2004-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * alloc.c: Undo Kim's recent changes and fix the same bug differently.
+ (marker_blocks_pending_free): Remove.
+ (Fgarbage_collect): Sweep after cleaning up undo-lists.
+ Mark the undo lists after claning them up.
+ Don't free block in marker_blocks_pending_free.
+ (mark_buffer): Don't mark undo_list.
+ (gc_sweep): Sweep hash-tables and strings first.
+ Do free marker blocks that are empty.
+
+2004-05-28 Jim Blandy <jimb@redhat.com>
+
+ * regex.c (print_partial_compiled_pattern): Add missing 'break'
+ after 'case wordend'. For symbeg and symend, print to stderr,
+ like the other cases.
+
+2004-05-28 Noah Friedman <friedman@splode.com>
+
+ * process.c (Fdelete_process): Do not call remove_process.
+
+2004-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * alloc.c (struct backtrace): Remove.
+ (Fgarbage_collect): Use the new mark_backtrace.
+
+ * eval.c (mark_backtrace): New function.
+
+ * minibuf.c (run_exit_minibuf_hook): New function.
+ (read_minibuf_unwind): Don't run exit-minibuffer-hook any more.
+ (read_minibuf): Use separate unwind handler to run exit-minibuf-hook.
+
+2004-05-27 Kim F. Storm <storm@cua.dk>
+
+ * xdisp.c (back_to_previous_visible_line_start): Skip backwards
+ over display properties, e.g. images, that replace buffer text.
+
+2004-05-25 Kim F. Storm <storm@cua.dk>
+
+ * alloc.c (marker_blocks_pending_free): New var.
+ (gc_sweep): Store free marker blocks on that list.
+ (Fgarbage_collect): Free them after undo-list cleanup.
+
+ * process.c (wait_reading_process_input): Check connect_wait_mask
+ before actually accepting connection in case it has already been
+ accepted due to recursion.
+
+2004-05-23 K\e,Ba\e(Broly L\e,Bu\e(Brentey <lorentey@elte.hu> (tiny change)
+
+ * coding.c (Fset_safe_terminal_coding_system_internal):
+ Set suppress_error in safe_terminal_coding, not terminal_coding.
+
+2004-05-22 Richard M. Stallman <rms@gnu.org>
+
+ * alloc.c (Fmake_string): Doc fix.
+
+ * buffer.c (clone_per_buffer_values): Copy the alist of local vars,
+ and the alist pairs too.
+
+ * casefiddle.c (casify_object): Return OBJ unchanged if not real char.
+
+ * emacs.c (main): Update copyright year.
+
+ * fileio.c (Fread_file_name): Expand DIR if not absolute.
+
+ * insdel.c (del_range_2, replace_range): Don't write an anchor
+ if the gap is empty.
+
+ * xdisp.c (try_scrolling): If scroll-up-aggressively or
+ scroll-down-aggressively is small but positive, put point
+ near the screen edge.
+
+2004-05-22 Juanma Barranquero <lektu@terra.es>
+
+ * keymap.c (Fdefine_key): Doc fix.
+
+2004-05-22 Kim F. Storm <storm@cua.dk>
+
+ * alloc.c (struct backtrace): Add debug_on_exit member.
+ (Fgarbage_collect): Clear out buffer undo_list markers after gc_sweep.
+ Identify those markers as Lisp_Misc_Free objects. Clear car and cdr of
+ the removed cons cells.
+ (mark_object): Undo previous change - disallow Lisp_Misc_Free objects.
+ (gc_sweep): Clear cons_blocks before sweeping strings, so we don't have
+ any cons cells pointing to unallocated stings.
+ Do not lisp_free any marker blocks, as there may still be pointers
+ to them from buffer undo lists at this stage of GC.
+
+ * keyboard.c (struct backtrace): Add debug_on_exit member.
+ (Fcommand_execute): Clear it.
+
+2004-05-20 Luc Teirlinck <teirllm@auburn.edu>
+
+ * intervals.c (lookup_char_property): Do not prematurely return nil.
+
+2004-05-19 Jim Blandy <jimb@redhat.com>
+
+ Add support for new '\_<' and '\_>' regexp operators, matching the
+ beginning and end of symbols.
+
+ * regex.c (enum syntaxcode): Add Ssymbol.
+ (init_syntax_once): Set the syntax for '_' to Ssymbol, not Sword.
+ (re_opcode_t): New opcodes `symbeg' and `symend'.
+ (print_partial_compiled_pattern): Print the new opcodes properly.
+ (regex_compile): Parse the new operators.
+ (analyse_first): Skip sym(beg|end) (they match only the empty string).
+ (mutually_exclusive_p): `symend' is mutually exclusive with \s_ and
+ \sw; `symbeg' is mutually exclusive with \S_ and \Sw.
+ (re_match_2_internal): Match symbeg and symend.
+
+ * search.c (trivial_regexp_p): \_ is no longer a trivial regexp.
+
+2004-05-19 Kim F. Storm <storm@cua.dk>
+
+ * .gdbinit (xsymbol): Fix last change.
+
+2004-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * .gdbinit (xprintstr): New fun.
+ (xstring, xprintsym): Use it.
+
+ * w32proc.c (create_child): Use INTMASK.
+
+ * alloc.c (Fgarbage_collect): Do all the marking before flushing
+ unmarked elements of the undo list.
+
+2004-05-18 David Ponce <david@dponce.com>
+
+ * print.c (print): Reset print_depth before to call print_object.
+
+2004-05-18 Jason Rumney <jasonr@gnu.org>
+
+ * w32console.c: Prefix RIF functions with w32con_ to avoid
+ namespace clash with functions in term.c and w32term.c.
+
+ * w32menu.c (add_menu_item, w32_menu_display_help)
+ [USE_LISP_UNION_TYPE]: Cast from Lisp_Object using i member.
+
+ * w32term.h (display_x_get_resource, vga_stdcolor_name): Add prototype.
+