+2005-10-24 Kim F. Storm <storm@cua.dk>
+
+ * xterm.c: Undo 2005-10-23 change.
+ (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.
+ (XTmouse_position): Set last_mouse_glyph_frame.
+ (handle_one_xevent): Clear last_mouse_glyph_frame [instead of
+ last_mouse_glyph] on mouse up/down event.
+
+ * editfns.c (Fcompare_buffer_substrings): Fix last change.
+
+2005-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * editfns.c (Fcompare_buffer_substrings): Handle multibyte chars.
+
+2005-10-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * xterm.c (note_mouse_movement): Always call note_mouse_highlight
+ so tool tips don't interfere with press on tool bar button.
+
+2005-10-23 Richard M. Stallman <rms@gnu.org>
+
+ * casetab.c (Fset_case_table): Doc fix.
+
+ * lread.c (build_load_history): Replace STREAM arg with ENTIRE.
+ (readevalloop): Compute ENTIRE properly.
+ (syms_of_lread) <load-history>: Doc fix.
+
+2005-10-21 Richard M. Stallman <rms@gnu.org>
+
+ * lread.c (Fload): Simplify gcpro structure.
+ Gcpro FOUND as well as FILE, but not EFOUND.
+ Unless preloading, record FOUND instead of FILE in Vload_history.
+ Rename repeat local FILE to MSG_FILE.
+ (syms_of_lread) <load-history>: Doc fix.
+
+2005-10-21 Kenichi Handa <handa@m17n.org>
+
+ * search.c (boyer_moore): Add parens to fix and/or precedence bug.
+
+2005-10-20 Kim F. Storm <storm@cua.dk>
+
+ * buffer.c (clone_per_buffer_values): Remove unused var tem.
+ (init_buffer): Remove unused vars dotstat, pwdstat.
+
+ * ccl.c (check_ccl_update): Remove unused var vp.
+
+ * fileio.c (auto_save_error): Call SAFE_FREE.
+
+ * fns.c (Fchar_table_range): Remove unused var i.
+
+ * minibuf.c (display_completion_list_1): New wrapper function
+ for Fdisplay_completion_list.
+ (Fminibuffer_completion_help): Use it.
+
+ * term.c (encode_terminal_code): Remove unused var src_start.
+
+ * window.c (Fwindow_tree): Remove unused var alist.
+
+ * xterm.c (x_calc_absolute_position): Remove unused vars win_x, win_y.
+
+2005-10-20 Aubrey Jaffer <agj@alum.mit.edu> (tiny change)
+
+ * unexelf.c (unexec): Fix calls to `fatal' with less than 3
+ arguments.
+
+2005-10-20 Olli Savia <ops@iki.fi> (tiny change)
+
+ * syssignal.h [__Lynx__]: Undef SIGPOLL along with SIGIO.
+
+2005-10-20 Andreas Schwab <schwab@suse.de>
+
+ * minibuf.c (Fdisplay_completion_list): Doc fix.
+
+2005-10-19 Kim F. Storm <storm@cua.dk>
+
+ * image.c (check_image_size): Handle integer Vmax_image_size value
+ directly as max pixel value. Use default frame size for null frame.
+ (syms_of_image) <max-image-size>: Describe integer value.
+
+2005-10-19 Romain Francoise <romain@orebokech.com>
+
+ * emacs.c (main): Update copyright year.
+
+2005-10-18 Chong Yidong <cyd@stupidchicken.com>
+
+ * image.c (Vmax_image_size): New variable.
+ (check_image_size): New function.
+ (xbm_read_bitmap_data, pbm_load, png_load, jpeg_load, tiff_load)
+ (gif_load, gs_load): Use it.
+ (lookup_image): Try loading again if previous load failed.
+ (xbm_read_bitmap_data): Add a new argument, a pointer to the frame
+ to display in, NULL if none.
+ (xbm_load_image, xbm_file_p): Pass xbm_read_bitmap_data the new
+ argument.
+
+2005-10-18 Richard M. Stallman <rms@gnu.org>
+
+ * search.c (Fstring_match): Doc fix.
+
+2005-10-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * macterm.c (note_mouse_movement): Use PtInRect.
+ (XTread_socket): Also ignore mouse motion just before a button
+ release event. Don't process button release event when mouse is
+ not grabbed.
+
+2005-10-16 Masatake YAMATO <jet@gyve.org>
+
+ * minibuf.c (Fdisplay_completion_list): Add new optional
+ argument COMMON_SUBSTRING. Bind `completion-common-substring'
+ to the optional argument during running `completion-setup-hook'.
+
+2005-10-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * mac.c [TARGET_API_MAC_CARBON] (get_cfstring_encoding_from_lisp):
+ Allow nil as argument.
+ [TARGET_API_MAC_CARBON] (Fmac_code_convert_string): Regard nil
+ for encoding arguments as UTF-16 in native byte order, no BOM.
+
+ * macfns.c (Fx_create_frame): Add debugging code.
+ (Fx_show_tip): Set frame pixel width and height.
+
+ * macterm.c (MAC_WINDOW_NORMAL_GC): Remove macro.
+ (FRAME_NORMAL_GC): New macro.
+ (mac_draw_line, mac_clear_area, mac_clear_window)
+ (mac_fill_rectangle, mac_draw_string, mac_draw_string_16)
+ (mac_draw_image_string, mac_draw_image_string_16): Rename from
+ XDrawLine, XClearArea, XClearWindow, XFillRectangle, XDrawString,
+ XDrawString16, XDrawImageString, and XDrawImageString16, respectively.
+ All uses changed.
+ (mac_draw_line, mac_erase_rectangle, mac_clear_area)
+ (mac_clear_window, mac_draw_bitmap, mac_draw_rectangle)
+ (mac_invert_rectangle, mac_draw_string_common, mac_draw_string)
+ (mac_draw_string_16, mac_draw_image_string)
+ (mac_draw_image_string_16, mac_copy_area, mac_copy_area_with_mask)
+ (mac_scroll_area): Drawing functions now take frame as destination.
+ All uses changed.
+ (mac_draw_string_common): Get port height with FRAME_PIXEL_HEIGHT.
+ (x_draw_fringe_bitmap): Set clipping area in face->gc.
+
+ * macterm.h (mac_clear_area): Add extern.
+
+2005-10-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * macterm.c (note_mouse_movement, XTread_socket): Apply 2005-10-14
+ changes for xterm.c.
+
+ * w32term.c (note_mouse_movement, w32_read_socket): Likewise.
+
+2005-10-14 Kenichi Handa <handa@m17n.org>
+
+ * search.c (search_buffer): Give up BM search on case-fold-search
+ if one of a target character has a case-equivalence of different
+ charset even if that target charcter is an ASCII.
+
+ * casefiddle.c (casify_object): Fix for the case that case
+ conversion change the byte length.
+
+2005-10-14 Kim F. Storm <storm@cua.dk>
+
+ * xterm.c (note_mouse_movement): Return 1 if mouse moved; 0 otherwise.
+ (handle_one_xevent): Only clear help_echo_string; restore it if
+ note_mouse_movement didn't record any mouse movement.
+
+ * xdisp.c (pos_visible_p): Convert w->hscroll to pixels before use.
+ (remember_mouse_glyph): Clear RECT if mouse is over an image glyph.
+
+ * keyboard.c (make_lispy_position): Adjust wx for left margin if ON_TEXT.
+ (Fposn_at_x_y): Fix calculation of x coordinate.
+ (Fposn_at_point): Return nil if point is hscrolled out of view.
+
+2005-10-13 Andreas Schwab <schwab@suse.de>
+
+ * sysdep.c (request_sigio, unrequest_sigio): Do nothing in
+ non-interactive mode.
+
+2005-10-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * xterm.c, w32term.c, macterm.c (note_mouse_movement): Undo last change.
+
+2005-10-12 Kim F. Storm <storm@cua.dk>
+
+ * xterm.c (handle_one_xevent): Clear last_mouse_glyph on mouse up/down.
+
+2005-10-12 Romain Francoise <romain@orebokech.com>
+
+ * buffer.c (init_buffer): Rename `rc' to `len' for clarity.
+
+2005-10-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * xdisp.c (remember_mouse_glyph): Use MATRIX_BOTTOM_TEXT_ROW to
+ get end of text rows. Obtain header-line/mode-line rows directly.
+
+ * xterm.c, w32term.c, macterm.c (note_mouse_movement): Restore
+ help_echo_string if mouse is moved inside last_mouse_glyph.
+
+2005-10-12 Kim F. Storm <storm@cua.dk>
+
+ * xdisp.c (remember_mouse_glyph): New generic version based on
+ glyph_rect and remember_mouse_glyph from xterm.c enhanced to
+ properly handle all different window areas.
+
+ * dispextern.h (remember_mouse_glyph): Add prototype.
+
+ * xterm.c (glyph_rect, remember_mouse_glyph): Remove X versions.
+ (note_mouse_movement, XTmouse_position): Use generic
+ remember_mouse_glyph, add last_mouse_glyph arg.
+
+ * w32term.c (note_mouse_movement): Fix last_mouse_glyph check.
+ (glyph_rect, remember_mouse_glyph): Remove w32 specific versions.
+ (note_mouse_movement, w32_mouse_position): Use generic
+ remember_mouse_glyph, add last_mouse_glyph arg.
+
+ * macterm.c (note_mouse_movement): Add call to remember_mouse_glyph.
+ (glyph_rect, remember_mouse_glyph): Remove mac specific versions.
+ (XTmouse_position): Adapt to use generic remember_mouse_glyph
+ instead of pixel_to_glyph_coords.
+
+ * window.c (coordinates_in_window): Fix x position for ON_RIGHT_MARGIN.
+ Fix x position for ON_TEXT when left margin width > 0.
+
+2005-10-11 Kim F. Storm <storm@cua.dk>
+
+ * window.c (coordinates_in_window): Fix y position for ON_SCROLL_BAR.
+
+ * keyboard.c (make_lispy_position): Fix buffer calculations for
+ mouse click or movement in right fringe and the margins.
+
+2005-10-11 Juanma Barranquero <lekktu@gmail.com>
+
+ * image.c (fn_jpeg_stdio_src): Don't define it.
+ (init_jpeg_functions): Don't initialize `fn_jpeg_stdio_src'.
+ (our_common_init_source): Rename from `our_init_source'.
+ (our_common_term_source): Rename from `our_term_source'.
+ (our_memory_fill_input_buffer): Rename from
+ `our_fill_input_buffer'.
+ (our_memory_skip_input_data): Rename from `our_skip_input_data'.
+ (jpeg_memory_src): Use the new names.
+ (struct jpeg_stdio_mgr): New struct.
+ (JPEG_STDIO_BUFFER_SIZE): New constant.
+ (our_stdio_fill_input_buffer, our_stdio_skip_input_data)
+ (jpeg_file_src): New functions.
+ (jpeg_load): Use `jpeg_file_src' instead of `fn_jpeg_stdio_src'.
+
+2005-10-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * macterm.c (PER_CHAR_METRIC): Remove unused macro.
+ (fm_font_family_alist): New variable.
+ (syms_of_macterm): Initialize and staticpro it.
+ (decode_mac_font_name): Replace '-' in family name with '_' if it
+ occurs just once. Lower family name.
+ (parse_x_font_name): Rename from x_font_name_to_mac_font_name.
+ All uses changed. Remove argument MF and code conversion for it.
+ Add argument SIZE. Rename argument MF_DECODED to FAMILY, and CS
+ to CHARSET. Parse font size. Lower family name. Return integer
+ value for status of parsing.
+ (init_font_name_table) [USE_ATSUI]: Use decode_mac_font_name.
+ Don't use Fdowncase because family name is already lowered by
+ decode_mac_font_name.
+ (init_font_name_table): Always call decode_mac_font_name. Add
+ pair of family name and its reference to fm_font_family_alist.
+ (mac_clear_font_name_table): Clear fm_font_family_alist.
+ (XLoadQueryFont): Move font size parsing part to parse_x_font_name.
+ Lookup fm_font_family_alist to get font family reference.
+ (XLoadQueryFont) [USE_ATSUI]: Don't use Fdowncase because family
+ name is already lowered by parse_x_font_name.
+
+2005-10-11 Kim F. Storm <storm@cua.dk>
+
+ * xterm.c (glyph_rect): Return 0 if position is outside text area.
+
+ * keyboard.c (make_lispy_position): Fix buffer position calculation for
+ mouse click or movement in fringe.
+
+2005-10-10 Jason Rumney <jasonr@gnu.org>
+
+ * xterm.c (remember_mouse_glyph): New function.
+ (note_mouse_movement): Use it to remember the current glyph if changed.
+ (XTmouse_position): Fix calculation of fake glyph under mouse.
+ Move code to calculate glyph under mouse into remember_mouse_glyph.
+
+2005-10-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * emacs.c (USAGE3, standard_args): -nb => -nbi.
+
+2005-10-10 Juanma Barranquero <lekktu@gmail.com>
+
+ * frame.c (Fredirect_frame_focus): Fix typos in docstring.
+ (next_frame, prev_frame, set_term_frame_name): Make static.
+
+ * window.c (Fwindow_tree): Fix spelling.
+
+2005-10-09 Romain Francoise <romain@orebokech.com>
+
+ * window.c (Fwindow_end): Don't try to redisplay if non-interactive.
+
+2005-10-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * emacs.c (standard_args): Remove options -i, -itype, --icon-type.
+ Add options -nb, --no-bitmap-icon.
+
+ * xfns.c (Fx_create_frame): Make bitmapIcon have default on.
+
+2005-10-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * macgui.h (MAX_CLIP_RECTS): New define.
+ (struct _XGC): New member clip_region.
+ (struct _XGC) [MAC_OSX && USE_ATSUI]: New members n_clip_rects and
+ clip_rects.
+
+ * macterm.c (GC_CLIP_REGION): New macro.
+ (saved_port_clip_region): New variable.
+ (mac_begin_clip, mac_end_clip): New functions.
+ (XDrawLine, mac_erase_rectangle, mac_draw_bitmap, XFillRectangle)
+ (mac_draw_rectangle, mac_draw_string_common, mac_copy_area)
+ (mac_copy_area_with_mask, mac_scroll_area): Use them.
+ (mac_set_clip_rectangle, mac_reset_clipping): Remove functions.
+ [USE_ATSUI] (atsu_get_text_layout_with_text_ptr)
+ [MAC_OS_X_VERSION_MAX_ALLOWED < 1020]: Specify kATSLineFractDisable.
+ (mac_draw_string_common) [MAC_OSX && USE_ATSUI]: Clip to clipping
+ rectangles stored in gc.
+ (XFreeGC): Dispose of clipping region.
+ (mac_set_clip_rectangles, mac_reset_clip_rectangles): New functions.
+ (x_draw_fringe_bitmap, x_set_glyph_string_clipping)
+ (x_draw_relief_rect, x_draw_box_rect, x_draw_stretch_glyph_string)
+ (x_draw_glyph_string, x_clip_to_row, x_draw_hollow_cursor)
+ (x_draw_bar_cursor): Use them.
+ (x_set_glyph_string_clipping): Use get_glyph_string_clip_rects to
+ get multiple clipping rectangles.
+
+ * macterm.h (mac_term_init): Add types to extern.
+ (struct mac_output): Remove members mWP and pending_menu_activation.
+ Put members scroll_bar_foreground_pixel and
+ scroll_bar_background_pixel in #if 0.
+ (FRAME_MAC_WINDOW, FRAME_X_WINDOW): Use window_desc.
+
+ * xfaces.c (x_create_gc, x_free_gc) [MAC_OS]: Add BLOCK_INPUT.
+ Add debugging code.
+
+2005-10-08 Kim F. Storm <storm@cua.dk>
+
+ * window.c (window_tree, Fwindow_tree): Rename fns added 2005-10-04.
+
+2005-10-07 Kim F. Storm <storm@cua.dk>
+
+ * dispnew.c (redraw_overlapped_rows, redraw_overlapping_rows)
+ [!HAVE_WINDOW_SYSTEM]: Don't declare them...
+ (update_window) [!HAVE_WINDOW_SYSTEM]: ...and don't call them.
+
+2005-10-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * dispextern.h (struct glyph_string): Rename member for_overlaps_p
+ to for_overlaps. Now occupy 3 bits.
+ (OVERLAPS_PRED, OVERLAPS_SUCC, OVERLAPS_BOTH)
+ (OVERLAPS_ERASED_CURSOR): New defines.
+ (struct redisplay_interface): Add new OVERLAPS arg to member
+ fix_overlapping_area.
+ (x_fix_overlapping_area): Add new OVERLAPS arg.
+ (get_glyph_string_clip_rects): Add extern.
+
+ * dispnew.c (redraw_overlapping_rows): Call
+ rif->fix_overlapping_area with new OVERLAPS arg as redrawn part.
+
+ * xdisp.c: Rename member for_overlaps_p in struct glyph_string to
+ for_overlaps.
+ (get_glyph_string_clip_rects): New function created from
+ get_glyph_string_clip_rect. Set clipping rectangles according to the
+ value of for_overlaps. Enable to store multiple clipping rectangles.
+ (get_glyph_string_clip_rect): Use get_glyph_string_clip_rects.
+ (fill_composite_glyph_string, fill_glyph_string, draw_glyphs):
+ Rename argument OVERLAPS_P to OVERLAPS. All uses in macros changed.
+ (x_fix_overlapping_area): Add OVERLAPS arg. Pass it to draw_glyphs.
+ (draw_phys_cursor_glyph): Set width of erased cursor to use it for
+ calculating clipping rectangles later. Call x_fix_overlapping_area
+ with new OVERLAPS arg to draw only erased cursor area.
+ (expose_overlaps): Call x_fix_overlapping_area with new OVERLAPS arg
+ to draw overlaps in both preceding and succeeding rows.
+
+ * xterm.c, w32term.c, macterm.c: Rename member for_overlaps_p in
+ struct glyph_string to for_overlaps.
+
+2005-10-04 Richard M. Stallman <rms@gnu.org>
+
+ * alloc.c (refill_memory_reserve): Conditionalize the body,
+ not the function's existence.
+
+2005-10-04 Kim F. Storm <storm@cua.dk>
+
+ * window.c (window_split_tree): New function.
+ (Fwindow_split_tree): New defun.
+ (syms_of_window): Defsubr it.
+
+2005-10-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * macterm.c (mac_invert_rectangle): New function.
+ (XTflash): Use it.
+
+2005-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * regex.h (re_char): Don't expose it in the interface.
+ (re_set_whitespace_regexp): Adjust the arg's type to not use it.
+
+ * regex.c (re_char): Move it back here.
+ (re_set_whitespace_regexp): Change the arg's type to not use it.
+
+ * keyboard.c (make_lispy_event): If point has moved between down and up
+ event, make it a drag, not a click, to mirror what
+ mouse-drag-region expects.
+
+2005-10-02 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * lisp.h (fatal): Undo previous change.
+ * term.c (fatal): Undo previous change.
+
+2005-10-01 Richard M. Stallman <rms@gnu.org>
+
+ * xfaces.c (face_color_gray_p): Colors close to black count as gray.
+
+2005-10-01 Kim F. Storm <storm@cua.dk>
+
+ * xdisp.c (try_window): Skip scroll-margin check if ZV is visible.
+
+2005-10-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * keyboard.c (init_keyboard) [MAC_OSX]: Don't install SIGINT handler.
+
+ * macfns.c (start_hourglass): Apply 2005-05-07 change for xfns.c.
+ (x_create_tip_frame) [GLYPH_DEBUG]: Uncomment debugging code.
+ (Fx_create_frame, x_create_tip_frame) [USE_ATSUI]:
+ Try ATSUI-compatible 12pt Monaco font first.
+
+ * macgui.h (struct _XCharStruct): New member valid_p.
+ (STORE_XCHARSTRUCT): Set valid_p.
+ (struct MacFontStruct) [USE_ATSUI]: New member mac_style.
+
+ * macterm.c (mac_draw_string_common, x_per_char_metric)
+ (mac_compute_glyph_string_overhangs, init_font_name_table)
+ (XLoadQueryFont, mac_unload_font) [USE_ATSUI]: Add ATSUI support.
+ (atsu_get_text_layout_with_text_ptr) [USE_ATSUI]: New function.
+ (x_draw_glyph_string_background)
+ (x_draw_glyph_string_foreground) [MAC_OS8 && USE_ATSUI]: Don't use
+ XDrawImageString. Always draw background and foreground separately.
+ (x_draw_glyph_string_foreground) [USE_ATSUI]: Don't use 8-bit
+ functions for one-byte chars when using ATSUI-compatible fonts.
+ (atsu_font_id_hash) [USE_ATSUI]: New variable.
+ (syms_of_macterm) [USE_ATSUI]: Initialize and staticpro it.
+ (XLoadQueryFont): Set min_byte1, max_byte1, min_char_or_byte2, and
+ max_char_or_byte2 more in detail.
+ (quit_char_comp, mac_check_for_quit_char) [MAC_OSX]: Remove functions.
+
+2005-09-30 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * image.c (slurp_file, xbm_read_bitmap_data): Cast to the correct type.
+ * xterm.c (handle_one_xevent, handle_one_xevent): Likewise.
+
+ * unexelf.c (fatal): Fix prototype.
+
+ * term.c (fatal): Implement using varargs.
+
+ * regex.c (re_char): Move typedef ...
+ * regex.h (re_char): ... here.
+ (re_iswctype, re_wctype, re_set_whitespace_regexp): New prototypes.
+
+ * emacs.c (malloc_set_state): Fix return type.
+ (endif): Fix type.
+
+ * lisp.h (fatal): Add argument types.
+
+ * dispextern.h (fatal): Delete prototype.
+
+ * systime.h: (make_time): Prototype moved from ...
+ * editfns.c (make_time): ... here.
+
+ * editfns.c: Move systime.h include after lisp.h.
+ * dired.c:
+ * xsmfns.c:
+ * process.c: Likewise.
+
+ * alloc.c (old_malloc_hook, old_realloc_hook, old_realloc_hook):
+ Add parameter types.
+ (__malloc_hook, __realloc_hook, __free_hook): Fix prototypes.
+ (emacs_blocked_free): Change definition to match __free_hook.
+ (emacs_blocked_malloc): Change definition to match __malloc_hook.
+ (emacs_blocked_realloc): Change definition to match __realloc_hook.
+
+2005-09-30 Romain Francoise <romain@orebokech.com>
+
+ * minibuf.c (Fread_buffer): Follow convention for reading from the
+ minibuffer with a default value. Doc fix.
+
+2005-09-29 Juri Linkov <juri@jurta.org>
+
+ * editfns.c (Fmessage, Fmessage_box, Fmessage_or_box):
+ Rename argument name `string' to `format-string'.
+ (Fformat): Doc fix.
+
+2005-09-28 Kim F. Storm <storm@cua.dk>
+
+ * image.c (gif_load): Fix size of allocated image buffer
+ for images where a sub-image may be larger than the image's
+ total height/width specifications.
+
+2005-09-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * macgui.h (struct _XCharStruct): Each member now takes short value.
+
+2005-09-27 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * xfaces.c (lookup_derived_face): Add parameter type.
+
+ * xdisp.c (cursor_row_fully_visible_p): Add parameter type.
+
+ * marker.c (verify_bytepos): Add parameter type.
+
+ * process.c (get_operating_system_release): Move prototype ...
+
+ * systime.h (get_operating_system_release): ... here.
+
+ * xterm.c (handle_one_xevent): Refer to union field to match the
+ type required by the function definition.
+ (set_vertical_scroll_bar): Move prototype ...
+
+ * xterm.h: ... here.
+
+ * fns.c (internal_equal, seed_random): Fix prototypes.
+ (internal_equal): Add missing parameter.
+
+2005-09-25 Richard M. Stallman <rms@gnu.org>
+
+ * keyboard.c (update_menu_bindings): Variable deleted.
+ (syms_of_keyboard): Don't defvar it.
+ (parse_menu_item): Don't test it.
+
+2005-09-23 Richard M. Stallman <rms@gnu.org>
+
+ * editfns.c (Fformat): Explicitly test for end of format string
+ and don't use `index'.
+
+2005-09-23 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME):
+ Define BROKEN_GET_CURRENT_DIR_NAME.
+
+ * sysdep.c (get_current_dir_name): Also define if
+ BROKEN_GET_CURRENT_DIR_NAME.
+
+ * m/ibmrs6000.h: Test for USG5, not USG5_4.
+
+2005-09-22 Kim F. Storm <storm@cua.dk>
+
+ * xdisp.c (message_dolog): Add warning about GC and Lisp strings.
+ (message2): Fix commentary. Ok to use alloca'ed memory.
+ Still not ok to use Lisp string data (because of GC).
+ (set_message): Add comment why GC cannot happen.
+
+2005-09-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * macterm.c (xlfdpat_block_match_1): Fix assertion.
+ (init_font_name_table) [TARGET_API_MAC_CARBON]: Don't add style
+ variants for a scalable font multiple times.
+
+2005-09-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * process.c (create_process) [RTU || UNIPLUS || DONT_REOPEN_PTY]:
+ Setup slave tty options before forking.
+
+2005-09-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * gtkutil.c (xg_set_geometry): Do a gtk_window_move if program
+ positions have been set for the frame (as is done for frames in
+ special-display-buffer-names).
+
+2005-09-19 Kim F. Storm <storm@cua.dk>
+
+ * editfns.c (Fformat): Don't scan past end of format string that
+ ends in %. Reported by: Johan Bockg\e,Ae\e(Brd.
+
+2005-09-18 Andreas Schwab <schwab@suse.de>
+
+ * window.h (struct window): Remove height_fixed_p, no longer set.
+
+ * window.c (make_window): Don't initialize height_fixed_p.
+ (window_fixed_size_p): Don't use it.
+
+2005-09-18 John Paul Wallington <jpw@pobox.com>
+
+ * data.c (Fdefalias): Signal an error if SYMBOL is not a symbol.
+
+2005-09-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * Makefile.in (SOME_MACHINE_OBJECTS): Undo previous change.
+
+ * macfns.c (image_cache_refcount, dpyinfo_refcount) [GLYPH_DEBUG]:
+ New variables.
+ [TARGET_API_MAC_CARBON] (Fx_file_dialog): Don't allow multiple
+ file selection.
+
+ * sysdep.c [MAC_OS8]: Don't include stdlib.h. Include sys/param.h.
+
+2005-09-17 Eli Zaretskii <eliz@gnu.org>
+
+ * Makefile.in (XMENU_OBJ) [!HAVE_CARBON]: Reinstate variable.
+ (obj): Use XMENU_OBJ, not a literal xmenu.o.
+
+2005-09-16 Romain Francoise <romain@orebokech.com>
+
+ * fileio.c (syms_of_fileio) <write-region-inhibit-fsync>: Doc fix.
+
+2005-09-15 Richard M. Stallman <rms@gnu.org>
+
+ * xdisp.c (overlay_arrow_at_row): Add HAVE_WINDOW_SYSTEM conditional.
+ (display_mode_element): Instead of `lisp_string' and `this',
+ record `offset' and increment that.
+ `last_offset' replaces `last'.
+
+ * Makefile.in (XMENU_OBJ): Variable deleted.
+ (obj): Use xmenu.o unconditionally.
+ (SOME_MACHINE_OBJECTS): Delete xmenu.o.
+
+ * emacs.c (main): Don't conditionalize syms_of_xmenu on HAVE_XMENU.
+
+2005-09-15 Kim F. Storm <storm@cua.dk>
+
+ * xdisp.c (move_it_vertically): Don't try to fetch byte BEGV-1.
+ (reseat_at_next_visible_line_start): Likewise (in xassert).
+
+2005-09-14 Romain Francoise <romain@orebokech.com>
+
+ * fileio.c (write_region_inhibit_fsync): New variable.
+ (Fwrite_region): Use it to skip call to fsync.
+ (syms_of_fileio): Initialize it.
+
2005-09-14 Kenichi Handa <handa@m17n.org>
+ * coding.c (code_convert_region_unwind): Argument format changed.
+ (run_pre_post_conversion_on_str): If pre-write-conversion function
+ changed the current buffer, delete the new buffer.
+ (run_pre_write_conversin_on_c_str): Likewise.
+
* fileio.c (Fexpand_file_name): Check multibyteness of
default_directory.
2005-06-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
* macmenu.c (cleanup_popup_menu): New function.
- (Fx_popup_menu): unwind protect cleanup_popup_menu in case
+ (Fx_popup_menu): Unwind protect cleanup_popup_menu in case
mac_menu_show Quit:s.
(mac_menu_show): Quit on cancel if not popped up on click (i.e.
a dialog).
[TARGET_API_MAC_CARBON] (Fx_file_dialog): Use MAXPATHLEN for size
of filename string. Set event callback function when creating
dialog boxes. Add code conversions for filenames. Don't dispose
- apple event descriptor record if failed to create it.
+ of apple event descriptor record if failed to create it.
* macterm.c: Include sys/param.h.
[USE_CARBON_EVENTS] (mac_handle_window_event): Add handler for
(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.
+ (x_free_frame_resources): Reset tip_window to NULL when it is
+ disposed of.
[!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
* w32.c (sys_getpeername, fcntl): New functions.
(_sys_read_ahead): Temporarily block on non-blocking sockets.
- * w32proc.c: include sys/file.h.
+ * w32proc.c: Include sys/file.h.
2002-05-03 Colin Walters <walters@verbum.org>