+2006-03-09 Kenichi Handa <handa@m17n.org>
+
+ * coding.c (DECODE_EMACS_MULE_COMPOSITION_CHAR): Fix decoding
+ ASCII component of a composition.
+
+2006-03-08 Luc Teirlinck <teirllm@auburn.edu>
+
+ * window.c: Declare preserve_y as a static global variable.
+ (window_scroll_pixel_based): No longer declare preserve_y;
+ it is global now.
+ (syms_of_window): Set preserve_y to -1.
+
+2006-03-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * image.c [MAC_OS] (XPutPixel): Set alpha channel bits if pixmap
+ depth is 32.
+ [MAC_OS] (XGetPixel): Strip off alpha channel bits if pixmap
+ depth is 32.
+
+2006-03-06 Chong Yidong <cyd@stupidchicken.com>
+
+ * xdisp.c (handle_invisible_prop): Don't update it->position with
+ a buffer position if we're in a display string.
+
+2006-03-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * macterm.h (MAC_AQUA_VERTICAL_SCROLL_BAR_WIDTH)
+ (MAC_AQUA_SMALL_VERTICAL_SCROLL_BAR_WIDTH): New defines.
+
+ * macfns.c (x_default_scroll_bar_color_parameter)
+ (x_set_scroll_bar_foreground, x_set_scroll_bar_background): Remove
+ unnecessary prototypes.
+ (x_set_scroll_bar_default_width): Use
+ MAC_AQUA_VERTICAL_SCROLL_BAR_WIDTH.
+ (mac_set_scroll_bar_width): New function.
+ (mac_frame_parm_handlers): Set it as handler for scroll-bar-width.
+
+ * macterm.c (get_control_part_bounds): Fix type of return value.
+ (x_set_toolkit_scroll_bar_thumb, x_scroll_bar_create)
+ (XTset_vertical_scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: Don't show
+ scroll bar if it is not tall enough to display scroll bar thumb.
+ [USE_CARBON_EVENTS] (mac_convert_event_ref)
+ (mac_handle_command_event, mac_handle_window_event)
+ (mac_handle_mouse_event): Check error code of GetEventParameter.
+ (convert_fn_keycode) [MAC_OSX]: Likewise.
+
+2006-03-05 Andreas Schwab <schwab@suse.de>
+
+ * xselect.c (x_catch_errors_unwind): Fix missing return value.
+
+2006-03-02 Kim F. Storm <storm@cua.dk>
+
+ * frame.h (struct frame): New member n_tool_bar_rows.
+
+ * xdisp.c: Minimize the unpleasent visual impact of the requirement
+ that non-toolkit tool-bars must occupy an integral number of screen
+ lines, by distributing the rows evenly over the tool-bar screen area.
+ (Vtool_bar_border): New variable.
+ (syms_of_xdisp): DEFVAR_LISP it.
+ (display_tool_bar_line): Add HEIGHT arg for desired row height. Make
+ tool-bar row the desired height. Use default face for border below
+ tool-bar.
+ (tool_bar_lines_needed): Add N_ROWS arg. Use it to return number of
+ actual tool-bar rows.
+ (redisplay_tool_bar): Calculate f->n_tool_bar_rows initially.
+ Adjust the height of the tool-bar rows to fill tool-bar screen area.
+ (redisplay_tool_bar): Calculate f->n_tool_bar_rows when tool-bar area
+ is resized.
+
+2006-03-01 Luc Teirlinck <teirllm@auburn.edu>
+
+ * search.c (Fregexp_quote): Do not precede a literal `]' with two
+ backslashes to try to make clear that it has a literal meaning; it
+ does not do that. (It could close a character alternative
+ containing a backslash.)
+
+2006-02-28 Chong Yidong <cyd@stupidchicken.com>
+
+ * xselect.c (x_catch_errors_unwind): New function.
+ (x_reply_selection_request): Put x_uncatch_errors in an unwind.
+ (Fx_get_atom_name): Call x_uncatch_errors earlier.
+
+ * window.c (Qscroll_up, Qscroll_down): New syms.
+ (window_scroll_pixel_based): Make preserve_y static to avoid
+ getting point stuck when scrolling 1 line.
+
+2006-02-26 Chong Yidong <cyd@stupidchicken.com>
+
+ * xterm.h, xterm.c (x_uncatch_errors): Delete unneccessary
+ argument.
+
+ * xterm.c: (x_load_font, x_term_init, XTmouse_position)
+ (handle_one_xevent, x_connection_closed, x_list_fonts): No arg for
+ x_uncatch_errors.
+
+ * xselect.c (x_own_selection, x_decline_selection_request)
+ (x_reply_selection_request, x_get_foreign_selection)
+ (Fx_get_atom_name, Fx_send_client_event): Likewise.
+
+ * xfns.c (x_real_positions, x_set_mouse_color, Fx_focus_frame):
+ Likewise.
+
+2006-02-26 Luc Teirlinck <teirllm@auburn.edu>
+
+ * lread.c: Declare Vload_file_rep_suffixes instead of
+ deleted variable default_suffixes.
+ (Fget_load_suffixes): New function.
+ (Fload): Use Fget_load_suffixes and Vload_file_rep_suffixes.
+ No longer use deleted variable default_suffixes. Update docstring.
+ (syms_of_lread): defsubr Sget_load_suffixes.
+ Expand `load-suffixes' docstring.
+ Delete default_suffixes and DEFVAR_LISP the new variable
+ `load-file-rep-suffixes'.
+
+ * w32.c (check_windows_init_file): Use Fget_load_suffixes instead
+ of Vload_suffixes.
+
+ * lisp.h: EXFUN Fget_load_suffixes.
+ Extern Vload_file_rep_suffixes.
+
+ * eval.c (specpdl_ptr): Remove volatile qualifier for consistency
+ with lisp.h.
+
+2006-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * lisp.h (struct specbinding, specpdl_ptr): Remove the volatile
+ qualifier which was trying to avoid the bug that was fixed by
+ yesterday's changes to xterm.c.
+
+2006-02-25 Chong Yidong <cyd@stupidchicken.com>
+
+ * xterm.h (x_catch_errors) Return value changed to void.
+ (x_uncatch_errors): Delete unused count argument.
+
+ * xterm.c (x_catch_errors): Don't use record_unwind_protect, since
+ it can be called in a signal handler.
+ (x_catch_errors_unwind): Function deleted.
+ (x_uncatch_errors): Deallocate last x_error_message_stack struct.
+ (x_check_errors): Call x_uncatch_errors before signalling error.
+
+ (x_load_font, x_term_init, XTmouse_position, handle_one_xevent)
+ (x_connection_closed, x_list_fonts): Use new versions of
+ x_catch_errors and x_uncatch_errors.
+
+ * xselect.c (x_own_selection, x_decline_selection_request)
+ (x_reply_selection_request, x_get_foreign_selection)
+ (Fx_get_atom_name, Fx_send_client_event): Likewise.
+
+ * xfns.c (x_real_positions, x_set_mouse_color, Fx_focus_frame):
+ Likewise.
+
+ * eval.c (record_unwind_protect): Add an assertion.
+
+2006-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * process.c (Fmake_network_process): Init the process's mark.
+
+2006-02-25 Kim F. Storm <storm@cua.dk>
+
+ * buffer.c (modify_overlay): Force redisplay if we modify an
+ overlay at the end of the buffer.
+
+2006-02-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * gtkutil.c (xg_get_image_for_pixmap): If x_find_image_file returns
+ nil the image file has been removed, in that case use the (cached)
+ pixmap.
+
+2006-02-24 Kenichi Handa <handa@m17n.org>
+
+ * fileio.c (Finsert_file_contents): When a text is replaced
+ partially, be sure to set point before the inserted characters.
+
+2006-02-23 Zhang Wei <id.brep@gmail.com> (tiny change)
+
+ * xfns.c (Fx_file_dialog): Return a decoded file name.
+
+2006-02-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * dispnew.c (update_text_area): Avoid needless redraw of rightmost
+ glyph whose face is extended to the text area end.
+
+ * macterm.c (x_set_toolkit_scroll_bar_thumb): Don't set control
+ values if control is not visible or values are not changed.
+
+2006-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * window.c (Fwindow_list): Check `window' before doing XWINDOW.
+ The default `window' should not be "on a different frame".
+
+2006-02-22 Kim F. Storm <storm@cua.dk>
+
+ * indent.c (Fvertical_motion): Only try to move back if we can.
+
+2006-02-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * macgui.h (struct _XGC) [!MAC_OSX || !USE_ATSUI]: New member
+ n_clip_rects.
+
+ * macmenu.c (digest_single_submenu): Apply 2006-02-19 change for
+ xmenu.c.
+
+ * macterm.c (GC_CLIP_REGION): Remove macro.
+ (mac_begin_clip, mac_end_clip): Take arg GC instead of REGION.
+ All uses changed. Don't do clipping if n_clip_rects is zero.
+ (mac_set_clip_rectangles): Use xassert instead of abort.
+ Set n_clip_rects. Don't make clip_region empty when number of
+ clipping rectangles is zero.
+ (mac_reset_clip_rectangles): Set n_clip_rects directly instead of
+ calling mac_set_clip_rectangles.
+ (x_set_toolkit_scroll_bar_thumb): Temporarily hide scroll bar to
+ avoid multiple redraws.
+
+2006-02-22 Kim F. Storm <storm@cua.dk>
+
+ * fringe.c (draw_fringe_bitmap): Fix overlay-arrow display.
+
2006-02-21 Kim F. Storm <storm@cua.dk>
* fringe.c (syms_of_fringe) <fringe-bitmaps>: Doc fix.
BG_WIDTH. All uses changed. Draw background if BG_WIDTH is not zero.
(mac_draw_image_string, mac_draw_image_string_16): New arg BG_WIDTH.
[USE_CG_TEXT_DRAWING] (mac_draw_image_string_cg): Rename from
- mac_draw_string_cg. New arg BG_WIDTH. All uses changed. Draw
- background if BG_WIDTH is not zero. Use float constants as
+ mac_draw_string_cg. New arg BG_WIDTH. All uses changed.
+ Draw background if BG_WIDTH is not zero. Use float constants as
divisors instead of double. Use alloca instead of xmalloc/xfree.
(x_draw_glyph_string_background, x_draw_glyph_string_foreground)
[!MAC_OS8 || USE_ATSUI]: Background may be drawn using
(mac_set_clip_rectangles): When resetting clip region, make it
empty instead of disposing of it.
+2006-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * keymap.c (store_in_keymap): Change `def' arg to not be `register'.
+ Seems to trigger a bug in gcc-amd64 4.0.2 20051125 (Red Hat 4.0.2-8).
+
2006-02-20 Kim F. Storm <storm@cua.dk>
* Makefile.in: Add fringe.elc to WINDOW_SUPPORT.
(left_curly_arrow_bits): Rename from continuation_bits.
(right_curly_arrow_bits): Rename from continued_bits.
(left_triangle_bits): Rename from ov_bits.
- (right_triangle_bits): Added.
+ (right_triangle_bits): Add.
(filled_rectangle_bits): Rename from filled_box_cursor_bits.
(hollow_rectangle_bits): Rename from hollow_box_cursor_bits.
- (filled_square_bits): Added.
+ (filled_square_bits): Add.
(vertical_bar_bits): Rename from bar_cursor_bits.
(horizontal_bar_bits): Rename from hbar_cursor_bits.
(empty_line_bits): Rename from zv_bits.