1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-24 05:22:04 -08:00
Commit graph

30 commits

Author SHA1 Message Date
Thien-Thi Nguyen
0b5538bd85 Update years in copyright notice; nfc. 2005-08-07 12:33:19 +00:00
Lute Kamstra
4fc5845fe8 Update FSF's address. 2005-07-04 16:49:24 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Kim F. Storm
fdbf2e9bc7 (struct x_output): Remove members left_pos, top_pos,
and line_height, and use corresponding new members in struct
frame.  All uses changed.
(FRAME_LINE_HEIGHT, FRAME_INTERNAL_BORDER_WIDTH): Remove macros;
superseeded by corresponding macros in frame.h.
2003-05-24 22:03:10 +00:00
Kim F. Storm
e080d3ebbf * xdisp.c (pixel_to_glyph_coords, glyph_to_pixel_coords):
Add generic versions here.  Remove system specific versions
defined elsewhere.
2003-03-21 22:56:52 +00:00
Kim F. Storm
36632fc128 (Display_Info): Add generic typedef. 2003-03-21 13:50:50 +00:00
Kim F. Storm
11690c8e1b (struct display_info): Add mouse_face_hidden. 2002-02-16 23:56:41 +00:00
Eli Zaretskii
cacbb9e907 (FRAME_LINE_HEIGHT): Define (it's used by xmenu.c). 2001-10-30 15:34:01 +00:00
Gerd Moellmann
231c4d5cf0 (struct x_output): Rename busy_window to
hourglass_window, busy_p to hourglass_p.
2001-02-21 13:56:00 +00:00
Eli Zaretskii
f5c322fcb1 (XMenuActivate): Update prototype. 2000-07-20 11:04:07 +00:00
Eli Zaretskii
102f33d0f3 (EMACS_MSDOS_H): Renamed from MSDOS_H_. 2000-06-13 11:06:12 +00:00
Eli Zaretskii
ff96b5f449 Don't use _MSDOS_H_ as a symbol, use MSDOS_H_ instead. 2000-06-11 12:21:13 +00:00
Eli Zaretskii
2f9502922e (FRAME_INTERNAL_BORDER_WIDTH): Define to zero. 2000-03-02 12:27:37 +00:00
Eli Zaretskii
9863d8ff5c Change prototypes of XMenuAddSelection and XMenuActivate. 2000-01-27 17:08:40 +00:00
Eli Zaretskii
adb9900f35 (struct display_info): New.
(struct x_output): Add the display_info member.
(FRAME_X_DISPLAY_INFO): New macro.
1999-12-28 15:56:29 +00:00
Eli Zaretskii
2d764c783d Changes for automatic remapping of X colors on terminal frames:
* xfaces.c (XColor) [!HAVE_X_WINDOWS]: Provide a typedef for non-X
	frames.
	(Vface_tty_color_alist): Remove.
	(tty_defined_color): New function.
	(defined_color): Rewrite to support any type of frame.
	(tty_color_name): New function.
	(face_color_supported_p, Fface_color_gray_p,
	Fface_color_supported_p): Support non-X frames.
	(load_color): Enclose the color name in quotes, in the log
	messages.  Remove DOS-specific version of load_color.
	(realize_tty_face): Take the supported colors from
	tty-color-alist.  Support translation of X colors to the closest
	tty color, for both MSDOS and tty frames.
	[MSDOS]: Don't invert face colors if they were taken from the
	frame colors.
	(Fface_register_tty_color, Fface_clear_tty_colors): Remove.

	* frame.h (struct x_output) [!MSDOS, !WINDOWSNT, !HAVE_X_WINDOWS]:
	Define a mostly empty surrogate.
	(tty_display): Declare.

	* frame.c (make_terminal_frame) [!macintosh]: Don't use
	tty_display.
	(Fframe_parameters): Don't invert colors of non-FRAME_WINDOW_P
	frames when the frame's param_alist includes 'reverse.
	(tty_display): Define.
	(make_terminal_frame) [!MSDOS]: Assign &tty_display to the
	output_data.x member.
	(Fframe_parameters): Return foreground and background color names
	on tty frames as well, in addition to MSDOS frames.

	* msdos.h (DisplayWidth, DisplayHeight): Changes for Lisp_Object
	selected_frame.
	(struct x_output): Remove unused members; document who uses each
	member.
	(FRAME_PARAM_FACES, FRAME_N_PARAM_FACES, FRAME_DEFAULT_PARAM_FACE,
	FRAME_MODE_LINE_PARAM_FACE, FRAME_COMPUTED_FACES,
	FRAME_N_COMPUTED_FACES, FRAME_SIZE_COMPUTED_FACES,
	FRAME_DEFAULT_FACE, FRAME_MODE_LINE_FACE, unload_color): Remove
	unused macro definintions.

	* msdos.c (IT_set_frame_parameters): Don't call
	recompute_basic_faces, the next redisplay will, anyway.
	(x_current_display): Remove unused variable.
	Many functions: changes for Lisp_object selected_frame.
	(IT_set_face): If the tty_reverse_p flag is set for the face,
	reverse the foreground and background colors.
	(Fmsdos_remember_default_colors): New function.
	(syms_of_msdos): Defsubr it.
	(IT_set_frame_parameters): Use initial_screen_colors[] when
	creating a new frame.  If the frame parameters include 'reverse,
	swap the foreground and background colors.
	(internal_terminal_init): Initialize initial_screen_colors to -1.
	(syms_of_msdos): Add DEFVAR_BOOL for x-stretch-cursor, to shut up
	cus-start.el.

	* Makefile.in (lisp, shortlisp): Add lisp/term/tty-colors.elc.

	* xfns.c (x_defined_color): Rename from defined_color.  All
	callers changed.
	(Fxw_color_defined_p): Renamed from Fx_color_defined_p;
	all callers changed.
	(Fxw_color_values): Renamed from Fx_color_values; all callers
	changed.
	(Fxw_display_color_p): Renamed from Fx_display_color_p; all
	callers changed.
	(x_window_to_frame, x_any_window_to_frame,
	x_non_menubar_window_to_frame, x_menubar_window_to_frame,
	x_top_window_to_frame): Use !FRAME_X_P instead of
	f->output_data.nothing.
	* xterm.h (x_defined_color): Rename from defined_color.

	* w32fns.c (x_window_to_frame): Use FRAME_W32_P instead of
	f->output_data.nothing.
	(Fxw_color_defined_p): Renamed from Fx_color_defined_p;
	all callers changed.
	(Fxw_color_values): Renamed from Fx_color_values; all callers
	changed.
	(Fxw_display_color_p): Renamed from Fx_display_color_p; all
	callers changed.

	* dispextern.h (tty_color_name): Add prototype.

	* xmenu.c (menubar_id_to_frame): Use FRAME_WINDOW_P instead of
	f->output_data.nothing.
	* w32menu.c (menubar_id_to_frame): Likewise.
	* w32term.h (w32_output): Declare.

	* dosfns.c (Qmsdos_color_translate): Remove.
	(msdos_stdcolor_name): Now returns a Lisp_Object.
	* dosfns.h (Qmsdos_color_translate): Remove.

	* s/msdos.h (INTERNAL_TERMINAL): Add entries for color support.
1999-12-06 16:54:09 +00:00
Eli Zaretskii
236027c963 Remove redundant declarations (most of them are now in
dispextern.h).
1999-07-30 08:08:43 +00:00
Eli Zaretskii
bd5197a45b [!HAVE_X_WINDOWS]: Add a dummy typedef for XRectangle
and prototypes for external functions.
1998-04-27 14:15:07 +00:00
Richard M. Stallman
964efc3363 (check_x): Macro definition deleted.
(DisplayWidth): Use `selected_frame'.
(DisplayHeight): Use `selected_frame'.
(x_mouse_leave): Remove; it's not used.
1996-06-10 21:02:00 +00:00
Karl Heuer
9a4a6c037a (dos_set_window_size): Prototype for a new function. 1996-01-24 22:33:33 +00:00
Erik Naggum
3b7ad313e0 Update FSF's address in the preamble. 1996-01-15 09:18:04 +00:00
Karl Heuer
265228419a (struct x_output): Rename from struct x_display.
(the_only_x_display): Type is now struct x_output.
1995-11-04 00:12:52 +00:00
Kim F. Storm
8a7b170025 (internal_flush): Removed
(mouse_init1, mouse_check_moved, mouse_pressed, mouse_released): Removed.
(dos_get_saved_screen, dos_set_keyboard): New functions.
1995-10-11 15:00:58 +00:00
Richard M. Stallman
dbc9b92ccb (init_gettimeofday): Remove declaration. 1995-09-10 04:38:13 +00:00
Richard M. Stallman
39238ce758 (sleep_or_kbd_init): Delete declaration. 1995-09-02 16:23:03 +00:00
Richard M. Stallman
cbc07d0a1d (x_mouse_leave): Add neutralizing define.
(XMenuCreate, XMenuAddPane, XMenuAddSelection, XMenuLocate,
XMenuActivate, XMenuDestroy): Add prototype.
1995-01-20 23:38:46 +00:00
Morten Welinder
87485d6fc9 *** empty log message *** 1994-10-17 08:42:36 +00:00
Richard M. Stallman
af1b066bd6 Add template for rootrelativepath. 1994-06-07 15:25:21 +00:00
Richard M. Stallman
59135ed1f9 Add template for init_gettimeofday. 1994-05-21 07:28:23 +00:00
Richard M. Stallman
1b94449f31 Initial revision 1994-01-08 09:22:50 +00:00