1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-02 10:11:05 -08:00
Commit graph

10633 commits

Author SHA1 Message Date
Jim Blandy
6f51e3df79 * s/sol2.h (C_SWITCH_X_SYSTEM): Deleted.
(LD_SWITCH_SYSTEM): Delete the -L option, leave just -R.
1993-05-27 03:02:21 +00:00
Jim Blandy
50b8cf6032 * systty.h (HAVE_LTCHARS, HAVE_TCHARS): New macros; define them if
we have those structures, but *don't* define them if we have
	TERMIOS, whose functions take care of those parameters; that
	screws up AIX.
	(struct emacs_tty): Test those symbols, instead of the ioctl
	commands.
	* sysdep.c (emacs_get_tty, emacs_set_tty, new_ltchars, new_tchars,
	init_sys_modes): Same.
1993-05-27 02:12:20 +00:00
Jim Blandy
7ad1552990 * s/aix3-2.h (C_SWITCH_SYSTEM): Don't define this to be "-ma" if
we're using GCC - that's an XLC switch.

	* s/aix3-2.h (LIBS_SYSTEM): Put -LIM -Liconv here.
1993-05-27 02:08:14 +00:00
Richard M. Stallman
51d18dc30e (HAVE_TCATTR): Defined. 1993-05-27 00:21:21 +00:00
Jim Blandy
8d117719df * config.h.in (HAVE_RENAME): Include an #undef for this, so
configure will have something to edit.
1993-05-26 23:53:41 +00:00
Richard M. Stallman
f8a8031332 [HAVE_SOCKETS]: Include socket.h, netdb.h.
(get_system_name) [HAVE_SOCKETS]: Use gethostbyname.
1993-05-26 23:14:00 +00:00
Jim Blandy
c12710e962 * s/hpux8.h (LIB_X11_LIB, C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM,
LD_SWITCH_SYSTEM, OLDXMENU_OPTIONS): Add X11R5 directories to the
	search paths in these lists; they shouldn't do any harm if they
	don't have X11R5.
1993-05-26 23:08:55 +00:00
Richard M. Stallman
44bbb3e05b (magic_searchpath_decoder): Fix typos. 1993-05-26 22:12:18 +00:00
Richard M. Stallman
9d04a87aad (Fx_rebind_key, Fx_rebind_keys): X10 definitions deleted.
(syms_of_xfns): Install them only if X11.
1993-05-26 21:51:07 +00:00
Richard M. Stallman
89ccd65a24 (r_alloc_sbrk): Declare already_available as long, not SIZE. 1993-05-26 20:38:52 +00:00
Richard M. Stallman
f7f794916d (x_wm_set_size_hint): Don't set hints for max size. 1993-05-26 20:34:20 +00:00
Richard M. Stallman
15ab234bf9 (x_set_cursor_type): If arg not recognized, use box cursor. 1993-05-26 20:33:32 +00:00
Richard M. Stallman
944cf49b35 (LD_SWITCH_SYSTEM) [__GNUC__]: Pass -a archive to ld. 1993-05-26 20:03:16 +00:00
Richard M. Stallman
b05867dcfa (rand, srand): Definitions deleted. 1993-05-26 18:38:33 +00:00
Richard M. Stallman
b231f8a7d6 (LD_SWITCH_SYSTEM) [__GNUC__]: Add -static.
(HAVE_RANDOM): Defined.
1993-05-26 18:38:11 +00:00
Richard M. Stallman
0a9b0670a4 (make_lispy_event): Fix off-by-1 error with hpos in menu bar. 1993-05-26 17:58:22 +00:00
Richard M. Stallman
bf673a7a13 (Fcurrent_input_mode): Fix the call to Flist. 1993-05-26 17:50:23 +00:00
Richard M. Stallman
7fed2f52f1 Initial revision 1993-05-26 17:41:48 +00:00
Richard M. Stallman
4208412303 (SIGNALS_VIA_CHARACTERS): Defined. 1993-05-26 07:52:24 +00:00
Richard M. Stallman
a8c0e5ea6b (POINTER): Always use char *. 1993-05-26 03:49:40 +00:00
Richard M. Stallman
bd0b85c32a (x_figure_window_size): Make the default frame coords (0,0). 1993-05-26 03:16:57 +00:00
Richard M. Stallman
8250185b1d (LIBS_MACHINE): Add -lIM and -liconv.
(HAVE_GETTIMEOFDAY): Deleted.
1993-05-26 03:13:32 +00:00
Richard M. Stallman
5f3461a550 (wait_for_termination) [LINUX]: Use the UNIPLUS alternative. 1993-05-25 23:23:53 +00:00
Richard M. Stallman
280073d7a6 (wait_for_termination): Don't use the BSD alternative for LINUX. 1993-05-25 23:22:08 +00:00
Richard M. Stallman
3a3b9632b1 (swallow_events): New function. 1993-05-25 23:19:45 +00:00
Richard M. Stallman
6e103bac2a (wait_reading_process_input): Call swallow_events. 1993-05-25 23:19:07 +00:00
Richard M. Stallman
1e12dd87cf (read_char): If kbd_buffer_get_event returns nil, redisplay and retry.
(kbd_buffer_get_event): If event is handled here, return nil.
1993-05-25 22:21:11 +00:00
Richard M. Stallman
f4531fd618 (C_ALLOCA, alloca): Definitions deleted.
[!NOT_C_CODE]: Include alloca.h.
(NEED_SIOCTL): #undef this.
1993-05-25 21:01:14 +00:00
Richard M. Stallman
e3971158d9 (C_SWITCH_X_SYSTEM, LD_SWITCH_SYSTEM): Put in #if 0. 1993-05-25 20:52:11 +00:00
Richard M. Stallman
aa5667408d (PTY_TTY_NAME_SPRINTF, PTY_NAME_SPRINTF): Use pty_name, not ptyname. 1993-05-25 20:48:15 +00:00
Richard M. Stallman
840f481ca4 (Fforward_comment): Arg is a Lisp_Object.
Convert it to an int.
1993-05-25 20:46:16 +00:00
Richard M. Stallman
bbc4efeba0 (logb): Don't declare if hpux. 1993-05-25 20:41:49 +00:00
Richard M. Stallman
f9150fd9ab (HAVE_GETTIMEOFDAY): Deleted. 1993-05-25 20:05:02 +00:00
Richard M. Stallman
be72084520 (Fforward_comment): Fix last change. 1993-05-25 18:49:54 +00:00
Richard M. Stallman
5d3bffd459 (Fforward_comment): Always set point. 1993-05-25 18:45:25 +00:00
Richard M. Stallman
6c703f4ab9 (Fx_open_connection): Set xrm_option correctly. 1993-05-25 15:36:47 +00:00
Jim Blandy
bf489d26fa * xterm.h: New section for declarations for xfaces.c.
(init_frame_faces, free_frame_faces, intern_face,
	face_name_id_number, same_size_fonts, recompute_basic_faces,
	compute_char_face, compute_glyph_face): Declare these here.
	* xfaces.c (same_size_fonts): We can now remove this extern
	declaration.
	* xfns.c (face_name_id_number): Likewise.
	* xterm.c (intern_face): Likewise.
1993-05-25 14:04:41 +00:00
Jim Blandy
b5cf7a0ea5 Arrange for font names to get fully resolved - no wildcards.
* xfns.c (x_set_frame_parameters): Store the value in the frame
	parameter alist before we call the setter function, so the setter
	function can touch up the value if it chooses.
	(x_set_foreground_color, x_set_background_color): Call
	recompute_basic_faces, so their GC's will reflect the changes.
	(x_new_font): Add extern declaration - this returns a Lisp_Object
	now, the fully resolved font name.
	(x_set_font): Accept the fully resolved name from x_new_font, and
	put it in the frame's parameter alist.  Call recompute_basic_faces.
	* xterm.c (x_new_font): Return the fully resolved font name, Qnil
	(if no match), or Qt (match, but unacceptable metrics).
	* xterm.c (x_new_font): Don't call init_frame_faces.

	* xterm.h: New section for declarations for xfaces.c.
	(init_frame_faces, free_frame_faces, intern_face,
	face_name_id_number, same_size_fonts, recompute_basic_faces,
	compute_char_face, compute_glyph_face): Declare these here.
	* xfaces.c (same_size_fonts): We can now remove this extern
	declaration.
	* xfns.c (face_name_id_number): Likewise.
	* xterm.c (intern_face): Likewise.

	* xterm.c (dumpglyphs): Remember that the default faces can have
	null fonts, too.
1993-05-25 14:04:12 +00:00
Jim Blandy
ea96210c35 * xfns.c: Clear out the old face stuff.
(x_face_table, n_faces, x_set_face, x_set_glyph, Fx_set_face_font,
	Fx_set_face, Fx_get_face): Removed.
	(syms_of_xfns): Remove defsubr for Fx_set_face.

	Arrange for font names to get fully resolved - no wildcards.
	* xfns.c (x_set_frame_parameters): Store the value in the frame
	parameter alist before we call the setter function, so the setter
	function can touch up the value if it chooses.
	(x_set_foreground_color, x_set_background_color): Call
	recompute_basic_faces, so their GC's will reflect the changes.
	(x_new_font): Add extern declaration - this returns a Lisp_Object
	now, the fully resolved font name.
	(x_set_font): Accept the fully resolved name from x_new_font, and
	put it in the frame's parameter alist.  Call recompute_basic_faces.
	* xterm.c (x_new_font): Return the fully resolved font name, Qnil
	(if no match), or Qt (match, but unacceptable metrics).
	* xterm.c (x_new_font): Don't call init_frame_faces.

	* xterm.h: New section for declarations for xfaces.c.
	(init_frame_faces, free_frame_faces, intern_face,
	face_name_id_number, same_size_fonts, recompute_basic_faces,
	compute_char_face, compute_glyph_face): Declare these here.
	* xfaces.c (same_size_fonts): We can now remove this extern
	declaration.
	* xfns.c (face_name_id_number): Likewise.
	* xterm.c (intern_face): Likewise.

	* xfns.c (Fx_list_fonts): Remember that FACE may not have a font
	specified.  Don't specify 30000 as the maximum limit on the number
	of fontns returned  - 2000 is more reasonable.

	Treat faces as structures specifying modifications to the frame's
	parameters, rather than things which need to specify a complete
	set of parameters by themselves.
	* xfaces.c (init_frame_faces): Don't set up the two frame display
	faces by querying the GC - just leave all their fields blank, and
	call recompute_basic_faces, letting build_face do the work of
	consulting the frame when necessary.
	(recompute_basic_faces): New function.
	(compute_base_faces): New function for obtaining the "identity"
	for compute_char_face and compute_glyph_face.
	(compute_char_face, compute_glyph_face): Call it, instead of copying
	FRAME_DEFAULT_FACE.
	* xfns.c (x_make_gc): No need to call init_frame_faces here.
1993-05-25 14:03:41 +00:00
Jim Blandy
660ed6694b * xterm.h: New section for declarations for xfaces.c.
(init_frame_faces, free_frame_faces, intern_face,
	face_name_id_number, same_size_fonts, recompute_basic_faces,
	compute_char_face, compute_glyph_face): Declare these here.
	* xfaces.c (same_size_fonts): We can now remove this extern
	declaration.
	* xfns.c (face_name_id_number): Likewise.
	* xterm.c (intern_face): Likewise.

	* xfaces.c (build_face, unload_font, free_frame_faces): Don't
	forget to block input while making X calls.

	Treat faces as structures specifying modifications to the frame's
	parameters, rather than things which need to specify a complete
	set of parameters by themselves.
	* xfaces.c (init_frame_faces): Don't set up the two frame display
	faces by querying the GC - just leave all their fields blank, and
	call recompute_basic_faces, letting build_face do the work of
	consulting the frame when necessary.
	(recompute_basic_faces): New function.
	(compute_base_faces): New function for obtaining the "identity"
	for compute_char_face and compute_glyph_face.
	(compute_char_face, compute_glyph_face): Call it, instead of copying
	FRAME_DEFAULT_FACE.
	* xfns.c (x_make_gc): No need to call init_frame_faces here.

	* xfaces.c (intern_frame_face): This can be static.

	* dispextern.h (struct face): New field - `copy', to help us with
	resource allocation.
	* xfaces.c (free_frame_faces): Do free the first two faces; don't
	free anything from a face that's a copy.
	(intern_frame_face): Mark every face we intern as a copy; its
	resources are actually a combination of the real faces.
	(Fset_face_attribute_internal): No need to check if we're trying
	to free one of the frame's GC's; they never enter into the
	picture.

	* xfns.c (Fx_list_fonts): New function.
	(face_name_id_number): Add extern declaration for this.
	* xfaces.c (face_name_id_number): Make this externally visible,
	and make the FRAME argument a FRAME_PTR, not a Lisp_Object.
	(compute_char_face): Call face_name_id_number properly.
1993-05-25 14:02:58 +00:00
Jim Blandy
e5c8436a17 * dispextern.h (struct face): New field - `copy', to help us with
resource allocation.
	* xfaces.c (free_frame_faces): Do free the first two faces; don't
	free anything from a face that's a copy.
	(intern_frame_face): Mark every face we intern as a copy; its
	resources are actually a combination of the real faces.
	(Fset_face_attribute_internal): No need to check if we're trying
	to free one of the frame's GC's; they never enter into the
	picture.
1993-05-25 14:01:54 +00:00
Jim Blandy
a1de6b4b57 * casetab.c: Fix formatting, so as not to confuse etags. 1993-05-25 13:03:47 +00:00
Jim Blandy
7b50ece767 Fix the fix. 1993-05-25 09:26:44 +00:00
Jim Blandy
f126bd6787 * xfaces.c (merge_faces): You can't tell if a font is a
character-cell font or not by testing whether or not it has a
	per_char table.  They all do.
	* xterm.c (x_new_font): Same deal.
1993-05-25 07:03:38 +00:00
Jim Blandy
1d9fd7feaa * xfns.c (Fx_list_fonts): New function.
(same_size_fonts): Function moved here from xfaces.c.
	(face_name_id_number): Add extern declaration for this.
	* xfaces.c (same_size_fonts): Moved to xfns.c.  Left an extern
	declaration behind.
	(face_name_id_number): Make this externally visible, and make the
	FRAME argument a FRAME_PTR, not a Lisp_Object.
	(compute_char_face): Call face_name_id_number properly.

	* xfaces.c (unload_color): Don't free the pixel for now.

	* xfaces.c (merge_faces): You can't tell if a font is a
	character-cell font or not by testing whether or not it has a
	per_char table.  They all do.
1993-05-25 06:59:12 +00:00
Jim Blandy
ed61592a79 * paths.h (PATH_INFO): New path, to edited by the configuration
process.
	* callproc.c (Vconfigure_info_directory): New variable, used
	internally by build process.
	(syms_of_callproc): DEFVAR it and initialize it.
1993-05-25 06:38:43 +00:00
Jim Blandy
7af17c1c21 * m/iris4d.h: Dyke out the section which specifies how to get the
load average.
1993-05-25 06:25:07 +00:00
Jim Blandy
3fa657a268 * keyboard.c (Fcurrent_input_mode): Use XFASTINT to build the last
element of the return value, not XSETINT.
1993-05-25 04:53:07 +00:00
Jim Blandy
c027d070eb Changes for OSF/1:
* mem-limits.h [__osf__ && (__mips || mips)]: #include
	<sys/time.h> and <sys/resource.h>.
	(get_lim_data): OSF wants a definition like BSD4_2's.
	* s/osf1.h: #include "bsd4-3.h", not "s-bsd4-3.h".
1993-05-25 03:05:38 +00:00
Richard M. Stallman
36ae397ead (lispy_function_keys): Add kp-numlock. Fix kp-backspace. 1993-05-25 02:53:28 +00:00