1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-13 15:00:42 -08:00
Commit graph

20748 commits

Author SHA1 Message Date
Richard M. Stallman
e6feb692fb (x_fully_uncatch_errors, x_catching_errors): New functions. 2006-03-11 15:20:09 +00:00
Richard M. Stallman
88019a6328 (unwind_to_catch): Call x_fully_uncatch_errors.
(internal_condition_case_1, internal_condition_case_2):
Abort if within unclosed x_catch_errors.
2006-03-11 15:19:31 +00:00
Romain Francoise
635a349655 (Vprocess_adaptive_read_buffering): Doc fix. 2006-03-11 14:42:17 +00:00
Eli Zaretskii
306cea3aee *** empty log message *** 2006-03-11 12:33:37 +00:00
Eli Zaretskii
8890220d92 Remove duplicate prototypes. Make the prototype of getloadavg be conditioned
on HAVE_GETLOADAVG being undefined.
2006-03-11 12:33:03 +00:00
Eli Zaretskii
7325e71441 *** empty log message *** 2006-03-11 12:05:09 +00:00
Eli Zaretskii
005a80de11 (x_draw_hollow_cursor): Subtract 1 from the last argument of XDrawRectangle. 2006-03-11 12:04:41 +00:00
Eli Zaretskii
97b5ae784d (mac_draw_rectangle): Don't add 1 to width and height.
(x_draw_glyph_string_foreground)
(x_draw_composite_glyph_string_foreground)
(x_draw_image_foreground): Don't subtract 1 from width and height
arguments to mac_draw_rectangle.
(x_draw_hollow_cursor): Add 1 to w->phys_cursor_width.
2006-03-11 12:03:12 +00:00
Eli Zaretskii
8cb56728dd (get_phys_cursor_geometry): Don't decrease height by 1. 2006-03-11 12:02:05 +00:00
Kim F. Storm
b4181b015a (USE_POSIX_MEMALIGN): Fix last change. 2006-03-10 08:10:24 +00:00
Kim F. Storm
68f632a816 *** empty log message *** 2006-03-10 08:08:55 +00:00
Stefan Monnier
349a450079 (USE_POSIX_MEMALIGN): New macro.
(ABLOCKS_BASE, lisp_align_malloc, lisp_align_free): Use it.
2006-03-09 23:06:58 +00:00
Luc Teirlinck
f945af424d *** empty log message *** 2006-03-09 15:43:31 +00:00
Kenichi Handa
53a5eba91d *** empty log message *** 2006-03-09 12:43:08 +00:00
Kenichi Handa
71630f33d0 (DECODE_EMACS_MULE_COMPOSITION_CHAR): Fix decoding
ASCII component of a composition.
2006-03-09 12:20:57 +00:00
Luc Teirlinck
66d43aea54 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-09 03:43:23 +00:00
Luc Teirlinck
629f023d15 *** empty log message *** 2006-03-09 03:41:13 +00:00
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
YAMAMOTO Mitsuharu
a3510ffafb (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-06 07:56:29 +00:00
YAMAMOTO Mitsuharu
8950bc7363 (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.
2006-03-06 07:55:53 +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
Kim F. Storm
c07b35ec17 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-02 21:55:26 +00:00
Kim F. Storm
045cff16b9 (struct frame): New member n_tool_bar_rows. 2006-03-02 21:55:16 +00:00
Luc Teirlinck
66bc608238 (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-03-01 23:52:22 +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
c50a2aa682 (check_windows_init_file): Use Fget_load_suffixes instead of Vload_suffixes. 2006-02-27 02:07:37 +00:00
Luc Teirlinck
3ceb69d976 EXFUN Fget_load_suffixes. Extern Vload_file_rep_suffixes. 2006-02-27 02:06:01 +00:00
Luc Teirlinck
971a4293be 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'.
2006-02-27 02:04:35 +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
Luc Teirlinck
ab83782857 (specpdl_ptr): Remove volatile qualifier for consistency with lisp.h. 2006-02-26 18:08:02 +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
18700091b0 (modify_overlay): Force redisplay if we modify an
overlay at the end of the buffer.
2006-02-24 23:31:26 +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
78744fc370 (Fvertical_motion): Only try to move back if we can. 2006-02-22 20:29:41 +00:00