1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 10:31:37 -08:00
Commit graph

4835 commits

Author SHA1 Message Date
YAMAMOTO Mitsuharu
4cdffedfae [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-08 03:25:26 +00:00
Chong Yidong
45b5f35d59 * xdisp.c (handle_invisible_prop): Don't update it->position with
a buffer position if we're in a display string.
2006-03-06 18:41:05 +00:00
YAMAMOTO Mitsuharu
48b60fa17c (MAC_AQUA_VERTICAL_SCROLL_BAR_WIDTH)
(MAC_AQUA_SMALL_VERTICAL_SCROLL_BAR_WIDTH): New defines.
2006-03-06 07:57:01 +00:00
Andreas Schwab
6f10509cf6 (x_catch_errors_unwind): Fix missing return value. 2006-03-05 10:46:41 +00:00
Kim F. Storm
f79bc642c1 *** empty log message *** 2006-03-02 22:34:39 +00:00
Luc Teirlinck
0bbe0c9ca4 *** empty log message *** 2006-03-01 23:48:14 +00:00
Chong Yidong
c525d842f8 * 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-28 14:52:46 +00:00
Chong Yidong
4545fa2085 * 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-27 03:35:31 +00:00
Luc Teirlinck
440cbd9ec5 *** empty log message *** 2006-02-27 01:44:20 +00:00
Luc Teirlinck
a5e25a4c49 *** empty log message *** 2006-02-26 18:18:01 +00:00
Stefan Monnier
a7af588620 (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-26 16:14:20 +00:00
Chong Yidong
e2bcf94d93 buffer.c: Revert last change. 2006-02-25 23:33:57 +00:00
Chong Yidong
7d63db9802 * buffer.c (Foverlay_put): Mark buffer as changed. 2006-02-25 23:32:19 +00:00
Chong Yidong
9ba8e10d99 * xterm.h (x_catch_errors) Return value changed to void.
(x_uncatch_errors): Unused count argument deleted.

	* 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 23:20:10 +00:00
Stefan Monnier
f523e0c3c5 (Fmake_network_process): Init the process's mark. 2006-02-25 16:49:00 +00:00
Kim F. Storm
a7a7e1d77c *** empty log message *** 2006-02-24 23:31:06 +00:00
Jan Djärv
a821c035f3 * 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 15:37:10 +00:00
Kenichi Handa
77343e1d1c (Finsert_file_contents): When a text is replaced
partially, be sure to set point before the inserted characters.
2006-02-24 06:46:54 +00:00
YAMAMOTO Mitsuharu
5b574e6957 (x_set_toolkit_scroll_bar_thumb): Don't set control
values if control is not visible or values are not changed.
2006-02-23 10:43:32 +00:00
Kenichi Handa
92fb551662 *** empty log message *** 2006-02-23 10:13:23 +00:00
YAMAMOTO Mitsuharu
7889775856 (update_text_area): Avoid needless redraw of rightmost
glyph whose face is extended to the text area end.
2006-02-23 09:07:23 +00:00
Stefan Monnier
acc6289a44 (Fwindow_list): Check `window' before doing XWINDOW.
The default `window' should not be "on a different frame".
2006-02-22 21:01:34 +00:00
Kim F. Storm
c4336e88cc *** empty log message *** 2006-02-22 20:29:24 +00:00
YAMAMOTO Mitsuharu
b6e3efe044 (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 08:00:12 +00:00
Kim F. Storm
6f62a45eec *** empty log message *** 2006-02-21 23:19:31 +00:00
Kim F. Storm
dd9959dab8 *** empty log message *** 2006-02-21 09:41:20 +00:00
Jan Djärv
a8f4bdc694 * xfns.c (Fx_file_dialog, Motif and GTK): DECODE_FILE before
returning it.
2006-02-21 08:37:33 +00:00
Juanma Barranquero
9866a438cc *** empty log message *** 2006-02-21 08:34:23 +00:00
YAMAMOTO Mitsuharu
9fb446e3f1 (mac_draw_string_common): Remove arg MODE. New arg
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
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_draw_image_string* functions.
(XLoadQueryFont) [MAC_OS8 && USE_ATSUI]: Don't adjust heights of
some fonts when srcCopy text transfer mode might be used.
(mac_begin_clip, mac_end_clip): Check if region is empty.
(mac_set_clip_rectangles): When resetting clip region, make it
empty instead of disposing of it.
2006-02-21 08:10:04 +00:00
Kim F. Storm
49af2995e0 *** empty log message *** 2006-02-20 22:31:16 +00:00
Chong Yidong
a073faa64c * regex.c: Revert 2006-02-19 change.
Redefine malloc -> xmalloc, realloc -> xrealloc as in Emacs case.
2006-02-20 16:44:09 +00:00
Chong Yidong
a77f947b23 * regex.c (xmalloc, xrealloc): Define these when not linked to
Emacs.
2006-02-20 16:25:21 +00:00
Luc Teirlinck
2f90d2bc9d *** empty log message *** 2006-02-20 03:53:56 +00:00
Richard M. Stallman
7b1d7d664b (regex_compile): Call xmalloc and xrealloc.
(regcomp): Use xmalloc.
2006-02-20 01:19:15 +00:00
Richard M. Stallman
5498b6af64 *** empty log message *** 2006-02-20 00:00:31 +00:00
YAMAMOTO Mitsuharu
4f2f32146a (update_menu_bar) [MAC_OS]: Don't set
w->update_mode_line if arg F is not the selected frame.
2006-02-19 07:33:40 +00:00
Chong Yidong
da7520dea4 * window.c (window_min_size_1): Ensure room for the scroll bar and
fringes.
2006-02-18 22:17:09 +00:00
Romain Francoise
a9c18b842e (BASE_PURESIZE): Increment to 1200000. 2006-02-17 19:58:17 +00:00
Stefan Monnier
537407f049 (Fmake_symbol): Comment-out left-over assert from before we added BLOCK_INPUTs. 2006-02-17 16:00:35 +00:00
Juanma Barranquero
5bf3610f7c *** empty log message *** 2006-02-17 15:12:43 +00:00
Kenichi Handa
ed0218e288 *** empty log message *** 2006-02-17 12:35:38 +00:00
Jan Djärv
d8d3d48ce8 Fix entry for 2006-02-14 2006-02-15 09:46:01 +00:00
YAMAMOTO Mitsuharu
f036d043ab (set_frame_menubar): Don't call DrawMenuBar. 2006-02-15 08:42:12 +00:00
Richard M. Stallman
9d8f542c7c *** empty log message *** 2006-02-15 01:05:41 +00:00
Richard M. Stallman
885f1975d5 *** empty log message *** 2006-02-14 15:32:55 +00:00
Jan Djärv
26ebccfd1d * gtkutil.c (xg_tool_bar_detach_callback): Set show-arrow to the
value of x-gtk-whole-detached-tool-bar.
 (xg_tool_bar_attach_callback): Set show-arrow to FALSE.

 * xfns.c (syms_of_xfns): New variable: x-gtk-whole-detached-tool-bar.
2006-02-14 11:35:19 +00:00
Jan Djärv
4d7637b85f Fix address. 2006-02-14 10:04:19 +00:00
Jan Djärv
58118de5e0 * xterm.c (x_x_to_emacs_modifiers): Make non-static.
* xterm.h: Declare x_x_to_emacs_modifiers.

 * gtkutil.c (xg_tool_bar_button_cb): New function.
 (xg_tool_bar_callback): Call x_x_to_emacs_modifiers to
 store modifiers in event.
 (update_frame_tool_bar): Connect button-release-event to
 xg_tool_bar_button_cb.
2006-02-14 10:02:23 +00:00
Richard M. Stallman
f8d775e1cd *** empty log message *** 2006-02-13 18:47:24 +00:00
Jan Djärv
0c0351b599 * xterm.c (note_mouse_movement): Check for NULL FRAME_X_OUTPUT (frame). 2006-02-13 11:34:20 +00:00