+2006-04-24 Kim F. Storm <storm@cua.dk>
+
+ * 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.
+
+ * frame.c (x_set_font): Clear f->n_tool_bar_rows and current frame
+ matrices to force recalculation of tool-bar height after font change.
+
+ * xdisp.c (tool_bar_lines_needed): New local `temp_row' for clarity.
+ Clear it when done, so we don't accidentally draw a second copy of
+ the tool-bar after resetting f->n_tool_bar_rows.
+ (redisplay_tool_bar): Update tool-bar-lines frame parameter whenever
+ we recalculate f->n_tool_bar_rows.
+
+2006-04-23 Lars Hansen <larsh@soem.dk>
+
+ * editfns.c (find_field): Fix comment.
+ (Ffield_beginning): Fix bug when POS is at field beginning.
+
+2006-04-22 Eli Zaretskii <eliz@gnu.org>
+
+ * puresize.h (BASE_PURESIZE): Increase to 1205000.
+
+2006-04-21 Kim F. Storm <storm@cua.dk>
+
+ * xdisp.c (redisplay_window): Fix last change. Don't recenter if
+ window start is at BEGV.
+
+ * dispextern.h (struct image): New member `corners'.
+ (TOP_CORNER, LEFT_CORNER, BOT_CORNER, RIGHT_CORNER): New macros.
+
+ * image.c (four_corners_best): New arg CORNERS specifies what pixels
+ to look at in case image has margin.
+ (x_create_bitmap_mask): Pass NULL for CORNERS to four_corners_best.
+ (image_background, image_background_transparent)
+ (x_build_heuristic_mask): Pass img->corners to four_corners_best.
+ (gif_load): Set img->corners according to image's margin spec.
+ Use img->corners values directly where applicable.
+ Save image extension data in img->data.lisp_val.
+ (gif_clear_image): New function to free img->data.lisp_val.
+ (gif_type): Use it instead of generic x_clear_image.
+ (Fimage_extension_data): New defun.
+ (syms_of_image): Defsubr it.
+
+2006-04-21 John Sullivan <john@wjsullivan.net> (tiny change)
+
+ * window.c (Fdisplay_buffer): Doc fix.
+
+2006-04-21 Eli Zaretskii <eliz@gnu.org>
+
+ * s/ms-w32.h (SYSTEM_PURESIZE_EXTRA): Increase to 25000.
+
+2006-04-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * image.c [MAC_OS] (xpm_load_image): Fill in background field
+ while we have ximg handy.
+
+ * macmenu.c (restore_menu_items, save_menu_items): New functions
+ from xmenu.c.
+ (set_frame_menubar, digest_single_submenu): Apply 2006-04-18
+ changes for xmenu.c.
+
+ * macterm.c (x_per_char_metric): Return NULL if glyph width is 0.
+ (add_mac_font_name): New function.
+ (init_font_name_table): Use it. Adopt the first found font from
+ those having the same family name.
+
+2006-04-21 Nick Roberts <nickrob@snap.net.nz>
+
+ * xdisp.c (note_mouse_highlight): Use build_string.
+
+2006-04-20 Lars Hansen <larsh@soem.dk>
+
+ * textprop.c (Fremove_list_of_text_properties): Ensure
+ modify_region is called only when buffer is modified and that
+ signal_after_change is allways called in that case.
+
+ * print.c (PRINTFINISH): Call signal_after_change.
+
+2006-04-20 Kim F. Storm <storm@cua.dk>
+
+ * xdisp.c (redisplay_window): Fix last change.
+
+ * 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-04-18 Richard Stallman <rms@gnu.org>
+
+ * xmenu.c (restore_menu_items, save_menu_items): New fns.
+ (set_frame_menubar): Use save_menu_items. Save updated vector in
+ the frame before unwinding it. Don't use unuse_menu_items. Don't
+ use discard_menu_items.
+ (digest_single_submenu): Abort if an item is not in a pane.
+ (init_menu_items): Put the error check at the top.
+
+ * keymap.c (describe_map): Make "shadowed" warning more verbose.
+
+ * window.c (adjust_window_trailing_edge): Correctly distinguish
+ series vs parallel cases, even when window has no parent.
+
+ * abbrev.c (record_symbol): New function.
+ (Finsert_abbrev_table_description): Sort the abbrevs alphabetically.
+
+2006-04-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * image.c (x_create_bitmap_from_data) [MAC_OS]: Don't check return
+ value of xmalloc.
+
+ * mac.c (mac_coerce_file_name_ptr, mac_coerce_file_name_desc)
+ (create_apple_event_from_event_ref, xrm_get_preference_database)
+ (cfstring_create_normalized): Don't check return value of xmalloc.
+
+ * macselect.c (get_scrap_target_type_list, defer_apple_events)
+ (copy_scrap_flavor_data, mac_handle_service_event): Don't check
+ return value of xmalloc/xrealloc.
+
+ * macterm.c (XCreateGC, x_per_char_metric, xlfdpat_create)
+ (init_font_name_table, init_font_name_table, mac_do_list_fonts)
+ (XLoadQueryFont, mac_store_apple_event): Don't check return value
+ of xmalloc.
+
+2006-04-17 Kim F. Storm <storm@cua.dk>
+
+ * window.c (coordinates_in_window): On the vertical border,
+ calculate the row number measured from the top of the window, not
+ the top of the frame.
+ (window_loop): Test w->dedicated with !NILP instead of EQ Qt.
+ (window_scroll_pixel_based): Fix off-by-one bug in 2002-12-23 change.
+
+2006-04-16 Eli Zaretskii <eliz@gnu.org>
+
+ * s/ms-w32.h (SYSTEM_PURESIZE_EXTRA): Reduce to 24000.
+
+2006-04-16 Romain Francoise <romain@orebokech.com>
+
+ * puresize.h (BASE_PURESIZE): Decrement back to 1200000.
+
+2006-04-16 Andreas Schwab <schwab@suse.de>
+
+ * puresize.h (PURESIZE_RATIO): Reduce to 10/6.
+
+2006-04-15 Romain Francoise <romain@orebokech.com>
+
+ * puresize.h (BASE_PURESIZE): Increment to 1210000.
+
+2006-04-13 Micha\e,Ak\e(Bl Cadilhac <michael.cadilhac@lrde.org> (tiny change)
+
+ * print.c (Fprin1_to_string): Mention in the `doc' that the
+ behavior is modified by `print-level' and `print-length'.
+
+2006-04-13 Kenichi Handa <handa@m17n.org>
+
+ * coding.c (setup_coding_system): If eol-type is not yet decided
+ and system_eol_type is not LF, set CODING_REQUIRE_ENCODING_MASK.
+ If coding_system is nil, return 0.
+ (code_convert_region1): Even if coding_system is nil, don't skip
+ conversion if system_eol_type is not LF.
+ (code_convert_string1): Likewise.
+ (code_convert_string_norecord): Likewise.
+
+2006-04-13 Kenichi Handa <handa@m17n.org>
+
+ * coding.c (setup_coding_system): Fix previous change.
+ (encode_coding): If eol_type is not yet decided, use
+ system_eol_type.
+ (shrink_encoding_region): If eol_type is not yet decided and
+ system_eol_type is not LF, don't shrink.
+
+2006-04-13 Nick Roberts <nickrob@snap.net.nz>
+
+ * xdisp.c (note_mouse_highlight): Add help echo for dragging vertical
+ line.
+
+2006-04-12 Richard Stallman <rms@gnu.org>
+
+ * keyboard.c (read_key_sequence): Explicitly avoid keybuf[-1].
+
+ * process.c (conv_lisp_to_sockaddr): If FAMILY unknown, just return.
+ (Fprocess_send_eof): Abort if fail to open null device.
+
+2006-04-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * fns.c [HAVE_MENUS && MAC_OS]: Include macterm.h.
+
+ * image.c [MAC_OS] (xpm_load_image): Add parentheses around
+ assignment used as truth value. Add explicit braces to avoid
+ ambiguous `else'.
+ [MAC_OS] (gif_load): Remove unused variable `gcpro1'.
+
+ * lisp.h (syms_of_fontset, Fset_fontset_font): Put extern and
+ EXFUN in #ifdef HAVE_WINDOW_SYSTEM.
+ (syms_of_xfns, syms_of_xsmfns, syms_of_xselect, syms_of_xterm):
+ Put externs in #ifdef HAVE_X_WINDOWS.
+ (syms_of_macfns, syms_of_macselect, syms_of_macterm)
+ (syms_of_macmenu, syms_of_mac) [MAC_OS]: Add externs.
+ (init_mac_osx_environment) [MAC_OSX]: Add extern.
+
+ * mac.c (init_process): Remove undef.
+ (select) [MAC_OSX]: Undefine before including sysselect.h.
+ (posix_pathname_to_fsspec, fsspec_to_posix_pathname) [MAC_OSX]:
+ Remove functions and prototypes.
+ (parse_value): Add parentheses around + inside shift.
+ (path_from_vol_dir_name): Make static.
+ (get_temp_dir_name): Remove unused variables `cpb' and `dir_name'.
+ [!MAC_OSX] (get_path_to_system_folder): Likewise.
+ (Fmac_get_file_creator, Fmac_get_file_type): Remove unused
+ variable `cCode'.
+ (Fmac_coerce_ae_data): Remove unused variables `fref' and `fs'.
+ (Fmac_get_preference): Add explicit braces to avoid ambiguous `else'.
+
+ * macfns.c (x_to_mac_color): Remove unused variable `tail'.
+ (x_set_mouse_color): Remove unused variable `dpy'.
+ (Fx_create_frame): Remove unused variable `x_frame_count'.
+ (Fx_server_version): Add explicit braces to avoid ambiguous `else'.
+ (x_sync): Move from macterm.c.
+ (Fx_file_dialog): Remove unused variable `default_filter_index'.
+
+ * macmenu.c (min_menu_id): Make element type explicit.
+
+ * macselect.c (get_flavor_type_from_symbol): Remove unused
+ variable `val'.
+ (get_scrap_private_timestamp, x_get_foreign_selection)
+ (copy_scrap_flavor_data): Add explicit braces to avoid ambiguous `else'.
+ (Fmac_process_deferred_apple_events): Remove unused variables
+ `keyword', `reply', `apple_event', `count', and `err'.
+
+ * macterm.c: Don't include gnu.h.
+ (x_io_error_quitter, x_draw_image_foreground_1): Remove prototypes.
+ (x_sync): Move to macfns.c.
+ [USE_CG_DRAWING] (mac_define_fringe_bitmap): Remove unused
+ variable `mask_bits'.
+ (mac_compute_glyph_string_overhangs): Avoid ambiguous `else'.
+ (x_draw_image_glyph_string): Remove unused variable `pixmap'.
+ (x_mac_to_emacs_modifiers): Remove function.
+ (XTset_vertical_scroll_bar, mac_handle_visibility_change)
+ (x_make_frame_visible, xlfdpat_create, mac_handle_command_event):
+ Add explicit braces to avoid ambiguous `else'.
+ (x_make_frame_visible): Remove unused variables `type',
+ `original_top', and `original_left'.
+ (mac_do_list_fonts, XTread_socket): Add parentheses around && within ||.
+ (x_load_font): Remove unused variables `full_name', and `value'.
+ (do_get_menus, do_init_managers, do_check_ram_size) [!MAC_OS8]:
+ Remove functions.
+ (do_zoom_window): Reorganize variables with respect to conditionals.
+ (init_command_handler): Remove unused variable `err'.
+ [MAC_OSX] (mac_check_bundle): Remove unused variable `child'.
+
+ * macterm.h (x_set_mouse_position, x_set_mouse_pixel_position)
+ (x_make_frame_invisible, x_iconify_frame, x_free_frame_resources)
+ (x_destroy_window, x_wm_set_size_hint, x_delete_display, XFreeGC)
+ (do_menu_choice, have_menus_p, x_real_positions)
+ (x_set_menu_bar_lines, x_pixel_width, x_pixel_height, x_char_width)
+ (x_char_height, x_sync, x_set_tool_bar_lines, x_activate_menubar)
+ (free_frame_menubar): Add externs.
+
+ * unexmacosx.c: Include config.h before using HAVE_MALLOC_MALLOC_H.
+ (malloc, realloc, free): Add undefs.
+ (read_load_commands): Remove unused variable `n' and `j'.
+ (copy_data_segment): Remove unused variable `r'.
+
+ * xdisp.c (get_glyph_string_clip_rects): Add parentheses around &&
+ within ||. Add explicit braces to avoid ambiguous `else'.
+ (dump_glyph_row): Remove label for `inverse_p' from legend.
+
+ * xfaces.c (Finternal_merge_in_global_face, try_font_list): Add
+ explicit braces to avoid ambiguous `else'.
+
+2006-04-11 Micha\e,Ak\e(Bl Cadilhac <michael.cadilhac@lrde.org> (tiny change)
+
+ * dispnew.c (init_display): Don't init X display if the user asked
+ for a non-X display.
+
+2006-04-12 Kenichi Handa <handa@m17n.org>
+
+ * coding.c (setup_coding_system): Use system_eol_type for default
+ coding->eol_type.
+
+2006-04-11 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * lisp.h (wrong_type_argument): Mark as NO_RETURN.
+
+ * data.c (wrong_type_argument): Try to avoid compiler warnings due
+ to the fact the function is now marked as NO_RETURN.
+
+2006-04-10 Eli Zaretskii <eliz@gnu.org>
+
+ * s/ms-w32.h (pid_t) [_MSC_VER]: New typedef.
+
+2006-04-10 Romain Francoise <romain@orebokech.com>
+
+ * xrdb.c (gethomedir): Use xstrdup.
+
+2006-04-10 Andreas Schwab <schwab@suse.de>
+
+ * xrdb.c (gethomedir): Make sure to always return a pointer that
+ can be passed to free.
+
+2006-04-09 Richard Stallman <rms@gnu.org>
+
+ * lisp.h (Fkill_emacs): Undo previous change.
+
+2006-04-08 Richard Stallman <rms@gnu.org>
+
+ * search.c (boyer_moore): Test ch >= 0400, not >.
+
+2006-04-09 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * puresize.h (pure_write_error): Mark as NO_RETURN.
+
+ * lisp.h (args_out_of_range, args_out_of_range_3)
+
+2006-04-08 Eli Zaretskii <eliz@gnu.org>
+
+ * w32fns.c (w32_wnd_proc) <WM_MOUSEMOVE>: Ignore mouse movements
+ if a menu is active on this frame.
+
+2006-04-08 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * lisp.h (report_file_error): Mark as NO_RETURN.
+
+2006-04-08 Eli Zaretskii <eliz@gnu.org>
+
+ * alloc.c [STDC_HEADERS]: Include stddef.h.
+
+ * lisp.h (PSEUDOVECSIZE): Fix last change.
+
+2006-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * process.h (struct Lisp_Process): Replace Lisp_Objects `pid',
+ `raw_status_high', and `raw_status_low' with plain integers, and move
+ them to the end of the structure.
+
+ * alloc.c (allocate_process): Use PSEUDOVECSIZE to initialize the
+ pseudovector's size field so only the Lisp_Object fields get GC'd.
+
+ * process.c (update_status, make_process, Fdelete_process)
+ (Fprocess_status, list_processes_1, start_process_unwind)
+ (create_process, Fmake_network_process, server_accept_connection)
+ (wait_reading_process_output, send_process, Fprocess_running_child_p)
+ (process_send_signal, proc_encode_coding_system, Fprocess_send_eof)
+ (sigchld_handler, status_notify): Adjust to new non-Lisp fields for
+ `pid' and `raw_status'.
+ (Fprocess_id, Fsignal_process): Same, and additionally use floats when
+ representing PIDs that are larger than most-positive-fixnum.
+
+ * keymap.c (describe_map): Only use XINT if we checked INTEGERP.
+
+ * lisp.h (OFFSETOF, PSEUDOVECSIZE): New macros.
+
+2006-04-08 Eli Zaretskii <eliz@gnu.org>
+
+ * w32fns.c (Fx_show_tip): Add 3 to the 5th arg of SetWindowPos.
+
+2006-04-03 Paul Eggert <eggert@cs.ucla.edu>
+
+ * editfns.c (TM_YEAR_IN_ASCTIME_RANGE): New macro, identical to
+ ../lib-src/b2m.c and ../lib-src/editfns.c.
+ (Fcurrent_time_string): Use it.
+ Document that the year might not consume 4 columns if it's outside
+ the range 1000-9999.
+ Check for asctime failure.
+ Don't assume that the output string length is always exactly 24.
+
+2006-04-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * macterm.c (XTread_socket): Initialize variable `f' before its use.
+
+2006-04-03 Kenichi Handa <handa@m17n.org>
+
+ * image.c: Include "charset.h" and "coding.h".
+ (x_find_image_file): Return an encoded file name.
+
+2006-04-01 Eli Zaretskii <eliz@gnu.org>
+
+ * configure: Regenerated.
+
+2006-03-31 Kenichi Handa <handa@m17n.org>
+
+ * xfns.c (xg_set_icon): Delete superfluous UNGCPRO.
+
+2006-03-30 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * xdisp.c (syms_of_xdisp): Fix variable name.
+
+2006-03-30 Kenichi Handa <handa@m17n.org>
+
+ * xterm.c (x_term_init): Delete superfluous UNGCPRO.
+
+2006-03-29 Juanma Barranquero <lekktu@gmail.com>
+
+ * keyboard.c (process_tool_bar_item): Reorder dummy args.
+
+2006-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * keyboard.c (tool_bar_items): Use map_keymap.
+ (process_tool_bar_item): Add dummy args to fit the required interface.
+
+2006-03-25 Eli Zaretskii <eliz@gnu.org>
+
+ * .gdbinit (pr, pp, pp1, pv, pv1): Force print_output_debug_flag
+ to zero before calling debug_print or safe_debug_print.
+
+ * print.c (print_output_debug_flag): New global variable.
+ (Fexternal_debugging_output) [WINDOWSNT]: Don't call
+ OutputDebugString if print_output_debug_flag is zero.
+
+2006-03-24 Paul Eggert <eggert@cs.ucla.edu>
+
+ * editfns.c (TM_YEAR_BASE): Move up, so the changes below can use it.
+ (Fdecode_time, Fencode_time): Use TM_YEAR_BASE instead of 1900.
+ (Fdecode_time): Cast tm_year to EMACS_INT.
+ (Fcurrent_time_string): Report an invalid time specification if
+ the argument is invalid. Also, check for out-of-range time stamps.
+
+2006-03-24 Kim F. Storm <storm@cua.dk>
+
+ * xterm.c (handle_one_xevent):
+ * w32term.c (w32_read_socket):
+ * macterm.c (XTread_socket): Don't let key-press clear mouse face
+ on in toolbar window if mouse-highlight is an integer.
+
+ * fns.c (sxhash_list): Include last non-nil CDR in hash.
+
+2006-03-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * macmenu.c (enum mac_menu_kind): New enum.
+ (min_menu_id): New variable.
+ (POPUP_SUBMENU_ID, MIN_POPUP_SUBMENU_ID, MIN_MENU_ID)
+ (MIN_SUBMENU_ID): Remove defines. All uses are replaced with
+ min_menu_id and enumerators in enum mac_menu_kind.
+ (fill_menu, dispose_menus, install_menu_quit_handler): New arg KIND.
+ All uses changed. Add range check for menu ID.
+ (fill_menubar): Add range check for menu ID.
+ [HAVE_CANCELMENUTRACKING] (menu_quit_handler): Check error code of
+ GetEventParameter.
+ (set_frame_menubar, mac_menu_show): Call install_menu_quit_handler
+ for each menu kind.
+
+2006-03-22 Kim F. Storm <storm@cua.dk>
+
+ * xdisp.c: Undo 2006-03-21 change.
+
+ * term.c: Define aliases for append_glyph and produce_stretch_glyph
+ when `static' is defined to avoid name clash with those in xdisp.c.
+
+ * process.c (Faccept_process_output): Fix to comply with lisp reference.
+ Change arg "timeout" to "seconds" and allow both integer and float value.
+ Change arg "timeout-msec" to "millisec" and interpret" as milliseconds
+ rather than microseconds. Fix doc string accordingly.
+
+2006-03-21 Ken Raeburn <raeburn@raeburn.org>
+
+ * xdisp.c (store_next_glyph): Rename from append_glyph.
+ (generate_stretch_glyph): Rename from produce_stretch_glyph.
+ All callers changed accordingly.
+
+2006-03-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * xterm.c: x_session_initialized new variable.
+ (x_term_init): Use x_session_initialized to check if
+ x_session_initialize should be called.
+ (x_initialize): Initialize x_session_initialized.
+
+2006-03-21 Kim F. Storm <storm@cua.dk>
+
+ * fringe.c (draw_fringe_bitmap): Don't calculate default overlay arrow
+ bitmap here, but ...
+ (update_window_fringes): ... here, so we can test if it has changed.
+
+2006-03-20 Andreas Schwab <schwab@suse.de>
+
+ * dispnew.c (init_display): Check DISPLAY here.
+
+ * emacs.c (main): Don't check here.
+
+ * xterm.c (x_display_ok): Don't use DISPLAY env var.
+
+2006-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * window.c (window_scroll_pixel_based): Yet another int/Lisp_Object
+ mixup (YAILOM).
+
+2006-03-20 Eli Zaretskii <eliz@gnu.org>
+
+ * emacs.c (main): Fix last change.
+
+2006-03-20 Kenichi Handa <handa@m17n.org>
+
+ * fileio.c (Fwrite_region): Set visit_file to Qnil before GCPRO it.
+
+ * keymap.c (map_keymap): Set tail to Qnil before GCPRO it.
+
+ * xfns.c (xg_set_icon): Remove unnecessary GCPRO.
+
+ * xterm.c (x_term_init): Remove unnecessary GCPRO.
+
+2006-03-19 Kim F. Storm <storm@cua.dk>
+
+ * 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.
+
+2006-03-18 Chong Yidong <cyd@stupidchicken.com>
+
+ * xterm.c (x_display_ok): Fix minor bug and compilation warnings.
+
+2006-03-18 Nozomu Ando <nand@mac.com>
+
+ * m/pmax.h (BROKEN_NOCOMBRELOC) [__NetBSD__]: Define.
+ (LIB_STANDARD, START_FILES) [__NetBSD__]: Don't define.
+ (START_FILES, RUN_TIME_REMAP, UNEXEC) [__NetBSD__, __OpenBSD__]:
+ Don't redefine.
+
+ * m/mips.h: Don't use unexmips on NetBSD.
+ (LIBS_MACHINE): Move definition lower, so it doesn't use
+ LD_SWITCH_MACHINE, START_FILES, LIB_STANDARD, LIBS_TERMCAP,
+ C_SWITCH_MACHINE, and C_DEBUG_SWITCH.
+
+ * unexelf.c [BROKEN_NOCOMBRELOC]: Include assert.h.
+ (unexec) [BROKEN_NOCOMBRELOC]: Handle platforms whose nocombreloc
+ option is broken (e.g., MIPS/NetBSD).
+
+2006-03-18 Craig McDaniel <craigmcd@gmail.com> (tiny change)
+
+ * sheap.c (STATIC_HEAP_SIZE): Enlarge STATIC_HEAP_SIZE to 12MB.
+ Remove the HAVE_X_WINDOWS conditional.
+
+2006-03-18 Vivek Dasmohapatra <vivek@etla.org> (tiny change)
+
+ * emacs.c (main): If user asks for a display that is unavailable,
+ simulate -nw.
+
+ * xterm.c (x_display_ok): New function.
+
+ * xterm.h: Add prototype for x_display_ok.
+
+2006-03-18 Eli Zaretskii <eliz@gnu.org>
+
+ * w32fns.c (Fw32_select_font): Doc fix.
+
+2006-03-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * image.c [MAC_OS] (XPutPixel, XGetPixel)
+ [!WORDS_BIG_ENDIAN && USE_CG_DRAWING]: Don't use specialized
+ version when depth is 32.
+ (mac_create_cg_image_from_image) [MAC_OS && USE_CG_DRAWING]:
+ New function.
+ (prepare_image_for_display) [MAC_OS && USE_CG_DRAWING]: Use it.
+ (x_clear_image_1) [MAC_OS && USE_CG_DRAWING]: Release CGImage.
+
+ * macterm.c (XCreatePixmap) [!WORDS_BIG_ENDIAN && USE_CG_DRAWING]:
+ Create GWorld in ARGB pixel format.
+ (mac_copy_area, mac_copy_area_with_mask) [USE_CG_DRAWING]:
+ Remove functions.
+ (x_draw_image_foreground) [USE_CG_DRAWING]: Use mac_draw_cg_image
+ instead of mac_copy_area/mac_copy_area_with_mask.
+
+2006-03-15 Kim F. Storm <storm@cua.dk>
+
+ * xdisp.c (extend_face_to_end_of_line): Always add space glyph to
+ empty row. Fixes memory corruption revealed by 2006-03-02 change.
+ (display_tool_bar_line): Skip empty tool-bar line if HEIGHT < 0.
+ (tool_bar_lines_needed): Fix tool-bar display in case the tool-bar
+ width is exactly the same as the window width. Don't count a final
+ empty tool-bar line (pass HEIGHT = -1 to display_tool_bar_line).
+
+2006-03-15 Juanma Barranquero <lekktu@gmail.com>
+
+ * fringe.c (w32_init_fringe, w32_reset_fringes): Revert to being
+ conditional on HAVE_NTGUI, not WINDOWS_NT.
+
+2006-03-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * dispextern.h (mac_init_fringe) [MAC_OS]: Add prototype.
+
+ * fringe.c (mac_init_fringe) [MAC_OS]: New function.
+
+ * macterm.c (mac_initialize) [USE_CG_DRAWING]: Call mac_init_fringe.
+ (max_fringe_bmp, fringe_bmp) [USE_CG_DRAWING]: New variables.
+ (mac_define_fringe_bitmap, mac_destroy_fringe_bitmap)
+ (mac_draw_cg_image) [USE_CG_DRAWING]: New functions.
+ (mac_draw_bitmap) [USE_CG_DRAWING]: Remove function.
+ (x_draw_fringe_bitmap) [USE_CG_DRAWING]: Use mac_draw_cg_image
+ instead of mac_draw_bitmap.
+ (x_redisplay_interface) [USE_CG_DRAWING]: Set handlers for
+ define_fringe_bitmap and destroy_fringe_bitmap.
+
+2006-03-14 Chong Yidong <cyd@stupidchicken.com>
+
+ * xterm.c (x_uncatch_errors): Block input for entire function.
+
+2006-03-12 Jason Rumney <jasonr@gnu.org>
+
+ * w32fns.c (Fx_create_frame): Remove call to
+ Qface_set_after_frame_default (from xfns.c 2003-05-26).
+
+ * w32menu.c (Fx_popup_menu): Call w32_free_menu_strings when
+ finished with the menu.
+
+ * w32term.c: Sync 2005-10-24 xterm.c changes.
+ (last_mouse_glyph_frame): New var.
+ (note_mouse_movement): Say mouse moved if current frame differs
+ from last_mouse_glyph_frame, and update last_mouse_glyph_frame.
+ (w32_mouse_position): Set last_mouse_glyph_frame.
+ Remove OLD_REDISPLAY_CODE block.
+
+2006-03-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * macgui.h [USE_ATSUI && MAC_OSX]: Define USE_CG_TEXT_DRAWING to 1.
+
+ * macterm.h (struct mac_output) [USE_CG_DRAWING]: New member cg_context.
+ (mac_prepare_for_quickdraw) [USE_CG_DRAWING]: Add prototype.
+
+ * mac.c (sys_select) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw.
+
+ * macfns.c (x_create_tip_frame): Apply 2006-03-11 change for xfns.c.
+
+ * macterm.c (mac_draw_rectangle, x_draw_glyph_string_foreground)
+ (x_draw_composite_glyph_string_foreground)
+ (x_draw_image_foreground): Undo previous changes.
+ (x_draw_hollow_cursor): Likewise. Subtract 1 from the last
+ argument of mac_draw_rectangle.
+ (CG_SET_FILL_COLOR, CG_SET_STROKE_COLOR): New macros.
+ (mac_draw_string_common, mac_draw_image_string_cg): Use them.
+ (FRAME_CG_CONTEXT) [USE_CG_DRAWING]: New macro.
+ (mac_begin_cg_clip, mac_end_cg_clip, mac_prepare_for_quickdraw)
+ [USE_CG_DRAWING]: New functions.
+ (mac_draw_line, mac_erase_rectangle, mac_clear_window)
+ (mac_fill_rectangle, mac_draw_rectangle, mac_draw_string_common)
+ (mac_draw_image_string_cg) [USE_CG_DRAWING]: Add Quartz 2D drawing part.
+ (mac_draw_bitmap, mac_invert_rectangle, mac_draw_string_common)
+ (mac_copy_area, mac_scroll_area, x_scroll_bar_create)
+ (x_scroll_bar_remove, XTset_vertical_scroll_bar, x_set_window_size)
+ (XTread_socket) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw.
+
+2006-03-12 L\e$,1 q\e(Brentey K\e,Aa\e(Broly <lorentey@elte.hu>
+
+ * xfns.c (x_icon): Disable redundant call to `x_wm_set_window_state'.
+
+2006-03-11 Jason Rumney <jasonr@gnu.org>
+
+ * w32fns.c (signal_user_input): New function.
+ (post_character_message): Use it for keyboard input.
+ (w32_msg_pump): Use it for mouse input.
+
+2006-03-11 Luc Teirlinck <teirllm@auburn.edu>
+
+ * window.c: Rename preserve_y to window_scroll_pixel_based_preserve_y.
+ (window_scroll_pixel_based, syms_of_window): Adapt to above change.
+