Commit Graph

1342 Commits

Author SHA1 Message Date
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
Jim Blandy
f507095065 Some makes can't handle form feed characters in their makefiles.
* s/usg5-3.h: Remove form feed.
	* s/template.h, m/template.h: Remove form feeds.
1993-05-25 02:42:54 +00:00
Jim Blandy
a753b63755 s/ 1993-05-25 02:42:40 +00:00
Jim Blandy
f0614854a5 * xfns.c (select_visual): Include the screen number in the
template of things XGetVisualInfo must match.
* 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.
1993-05-25 02:18:33 +00:00
Richard M. Stallman
1f9ecc7b66 (NO_GET_LOAD_AVG): Test _M88KBCS_TARGET, not __GNUC__. 1993-05-25 01:05:04 +00:00
Richard M. Stallman
3bd330d47a (XTread_socket, ConfigureNotify case):
Convert from parent window, not Emacs window.
(XTread_socket): Handle ReparentNotify events.

(XTread_socket): For ConfigureNotify event,
translate coordinates if send_event field is false
provided the x-coord value is not large.
1993-05-25 01:00:21 +00:00
Richard M. Stallman
5b3bb7c63d *** empty log message *** 1993-05-25 00:43:37 +00:00
Richard M. Stallman
d1f504609f (modify_event_symbol): If a name_table elt is null,
generate a name to use.  Don't crash.
1993-05-24 22:58:54 +00:00
Richard M. Stallman
6291710025 Don't #undef NULL. 1993-05-24 22:35:11 +00:00
Richard M. Stallman
01d0071958 (C_SWITCH_MACHINE): Definition deleted. 1993-05-24 22:34:52 +00:00
Roland McGrath
7ee260fe39 *** empty log message *** 1993-05-24 21:41:18 +00:00
Richard M. Stallman
b320926ac6 (Fread_file_name): If input is empty, do return the default
even if !insert_default_directory.
1993-05-24 21:09:38 +00:00
Jim Blandy
883047b99c * buffer.c (Fmake_overlay): Put beg and end in the
right order.
	(Fmove_overlay): If beg and end are markers, make sure they're in
	the right buffer.
1993-05-24 20:57:32 +00:00
Richard M. Stallman
af395ec10e (XTread_socket): For ConfigureNotify event,
translate coordinates if send_event field is false
provided the x-coord value is not large.
1993-05-24 19:54:15 +00:00
Richard M. Stallman
c0f0a4a2c3 Fix typo in last change. 1993-05-24 17:45:04 +00:00
Richard M. Stallman
04f4386e0d (NO_MATHERR): Defined. 1993-05-24 17:44:37 +00:00
Richard M. Stallman
f89182a25c [NO_MATHERR]: Undef HAVE_MATHERR. 1993-05-24 17:44:10 +00:00
Richard M. Stallman
084fd64ac9 (create_process): Ignore retval from TIOCSTTY.
(sys_siglist) [LINUX]: Don't even declare it.
1993-05-24 17:13:24 +00:00
Jim Blandy
6a7a4c074e *** empty log message *** 1993-05-24 15:57:15 +00:00
Jim Blandy
e7c7295c91 * fileio.c (Ffile_writable_p): Pass XSTRING (foo)->data to
ro_fsys, not XSTRING (foo).
1993-05-24 15:22:47 +00:00
Jim Blandy
9696f58be7 * xterm.c (x_new_font): Reject fonts with varying spacing. We
don't support them yet.
	* xfns.c (x_set_font): Report the error message properly.
1993-05-24 15:04:07 +00:00
Jim Blandy
c7e1d890ae * xterm.c (x_new_font): Reject fonts with varying spacing. We
don't support them yet.
	* xfns.c (x_set_font): Report the error message properly.

	* xfns.c (Fx_parse_geometry): No need to call check_x here; it
	doesn't interact with the server at all, and we need it in order
	to create our first frame.
1993-05-24 15:03:32 +00:00
Jim Blandy
dad297617d * s/linux.h (HAVE_DUP2, HAVE_ALLOCA_H): Deleted.
* s/linux.h (HAVE_SETSID): Defined.
	(HAVE_SOCKETS): Defined.
1993-05-24 15:01:31 +00:00
Jim Blandy
2e903afbc7 * syssignal.h (sys_signal): Declare the second argument to have
type signal_handler_t.  We're told this is necessary for Linux.
1993-05-24 05:12:22 +00:00
Richard M. Stallman
6cb37d9791 (NO_GET_LOAD_AVG): Define, if __GNUC__. 1993-05-24 05:02:24 +00:00
Jim Blandy
2cb20a51b5 * s-hpux8.h (NO_SIOCTL_H): Defined. 1993-05-24 03:39:58 +00:00
Jim Blandy
cf026b25cc * syssignal.h: Don't #include <signal.h>
* alloc.c: #include <signal.h>, but before "config.h".
1993-05-24 02:32:33 +00:00
Richard M. Stallman
11ae94fe1a (check_x): New function.
Call it in almost every Lisp function in this file.
(x_set_menu_bar_lines_1): Pass both args in recursive call.
1993-05-24 00:04:18 +00:00
Richard M. Stallman
ebc64af3a0 (Fset_face_attribute_internal): Don't call unload_font
for the frame's own font.
1993-05-24 00:03:08 +00:00
Richard M. Stallman
00fc94d02f (Fcurrent_time_zone): Make `am' an int, not long. 1993-05-23 22:41:44 +00:00
Jim Blandy
94823a5eee Changes for SGI from Matthew J Brown <mjb@doc.ic.ac.uk>.
* m/iris4d.h, m/iris5d.h: Don't use the --cckr CC switch if we're
	using GCC.
	(NEED_SIOCTL): Move this to...
	* s/irix3-3.h (NEED_SIOCTL): ... here; apparently it's not
	necessary in irix4-0.h.
	* s/irix4-0.h: Remove declaration of getpty; apparently Irix 4.0
	already declares this elsewhere.
	(PTY_TTY_NAME_SPRINTF): #undef this before re-#defining it.
	* m/ibmps2-aix.h, m/pfa50.h, s/hpux.h, s/isc2-2.h, s/linux.h,
	s/sco4.h, s/usg5-4.h: Remove HAVE_RENAME; configure guesses that now.

	* m/iris4d.h, m/iris5d.h: Don't use the --cckr CC switch if we're
	using GCC.
1993-05-23 22:31:53 +00:00
Jim Blandy
00c582c721 Changes for SGI from Matthew J Brown <mjb@doc.ic.ac.uk>.
* m/iris4d.h, m/iris5d.h: Don't use the --cckr CC switch if we're
	using GCC.
	(NEED_SIOCTL): Move this to...
	* s/irix3-3.h (NEED_SIOCTL): ... here; apparently it's not
	necessary in irix4-0.h.
	* s/irix4-0.h: Remove declaration of getpty; apparently Irix 4.0
	already declares this elsewhere.
	(PTY_TTY_NAME_SPRINTF): #undef this before re-#defining it.
	* m/ibmps2-aix.h, m/pfa50.h, s/hpux.h, s/isc2-2.h, s/linux.h,
	s/sco4.h, s/usg5-4.h: Remove HAVE_RENAME; configure guesses that now.
1993-05-23 22:30:42 +00:00
Jim Blandy
fd826cfdce * m/iris4d.h (NEED_SIOCTL): Move this to...
* s/irix3-3.h (NEED_SIOCTL): ... here; apparently it's not
necessary in irix4-0.h.
1993-05-23 22:09:09 +00:00
Jim Blandy
bf2dbc3448 * m/iris4d.h (NEED_SIOCTL): Move this to...
* s/irix3-3.h (NEED_SIOCTL): ... here; apparently it's not
	necessary in irix4-0.h.
1993-05-23 22:08:57 +00:00
Jim Blandy
493744e5ae Remove HAVE_RENAME; configure guesses that now. 1993-05-23 22:03:39 +00:00
Jim Blandy
a27cbddea1 * config.h.in (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Change the
#defines to #undef's, so ../configure knows it should tweak them.
1993-05-23 21:35:48 +00:00
Jim Blandy
559cb2fbad * xterm.c (x_scroll_bar_report_motion): Set *TIME whether or not
the mouse is over a scroll bar.
1993-05-23 20:04:26 +00:00
Jim Blandy
173004a3a4 * xfaces.c (Fset_face_attribute_internal): Don't free the frame's
normal_gc or reverse_gc.
1993-05-23 20:01:34 +00:00
Jim Blandy
f76b81d67b * keyboard.c (make_lispy_movement): Deal properly with mouse
motion outside of all windows.
1993-05-23 19:52:07 +00:00
Jim Blandy
52b1821d1a * lisp.h (GLYPH_FACE): Remember that the face portion of a glyph
can be 24 bits, not just eight.
1993-05-23 19:23:38 +00:00
Richard M. Stallman
039440c43e Move signal.h and stdio.h before config.h. 1993-05-23 18:09:41 +00:00
Richard M. Stallman
2d88f74700 (Fcurrent_time_zone): Assign gmt, instead of init. 1993-05-23 18:04:25 +00:00