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

20764 commits

Author SHA1 Message Date
Luc Teirlinck
f372bd5b0f *** empty log message *** 2006-03-11 17:00:13 +00:00
Luc Teirlinck
66fe93d1c2 Rename preserve_y to window_scroll_pixel_based_preserve_y.
(window_scroll_pixel_based, syms_of_window): Adapt to above change.
2006-03-11 16:46:38 +00:00
Eli Zaretskii
2c1bd367aa *** empty log message *** 2006-03-11 16:32:09 +00:00
Eli Zaretskii
b48f927687 (w32_wnd_proc): Ignore middle and extra button events if a menu is already
active (the menubar_active flag is on).
2006-03-11 16:31:39 +00:00
Eli Zaretskii
f161146b7e *** empty log message *** 2006-03-11 16:26:31 +00:00
Eli Zaretskii
e6a0d3ebc8 (x_create_tip_frame): Preserve received parms by copying them. 2006-03-11 16:25:36 +00:00
Eli Zaretskii
db3c0e9c35 *** empty log message *** 2006-03-11 16:03:03 +00:00
Eli Zaretskii
16ca622636 Add x_fully_uncatch_errors and x_catching_errors to
the list of unused display error handling functions.
2006-03-11 16:02:38 +00:00
Eli Zaretskii
8887e8ecde *** empty log message *** 2006-03-11 16:01:21 +00:00
Eli Zaretskii
a2a103bbe1 (unwind_to_catch): Call x_fully_uncatch_errors only if HAVE_X_WINDOWS.
(internal_condition_case, internal_condition_case_1)
(internal_condition_case_2): Call x_catching_errors only if HAVE_X_WINDOWS.
2006-03-11 16:00:50 +00:00
Eli Zaretskii
9257b6273a *** empty log message *** 2006-03-11 15:46:24 +00:00
Eli Zaretskii
d0ade32543 [HAVE_GETRLIMIT]: Don't define unconditionally. Don't include sys/resource.h
unless HAVE_GETRLIMIT is defined.
2006-03-11 15:45:47 +00:00
Richard M. Stallman
5a893bff84 *** empty log message *** 2006-03-11 15:25:13 +00:00
Richard M. Stallman
7857982c9f (describe_map): Shorten string to indicate shadowed binding. 2006-03-11 15:25:03 +00:00
Richard M. Stallman
395d3972b1 (get_lim_data, lim_data, data_space_start): Moved from mem-limits.h.
(enum warnlevel): New data type.
(check_memory_limits): Rewrite the logic about warnings.
Use standard `struct rlimit'.  Check return values for nonsense.
(memory_warnings): Always clear lim_data.
2006-03-11 15:24:02 +00:00
Richard M. Stallman
02b370adb2 (get_lim_data, lim_data, data_space_start): Moved to vm-limit.c. 2006-03-11 15:21:13 +00:00
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