1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-17 08:31:09 -08:00
Commit graph

1311 commits

Author SHA1 Message Date
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
Jim Blandy
85ed348516 * puresize.h [not HAVE_X_WINDOWS] (PURESIZE): Make this 185k,
not 196k.  We're actually using ~180k.
1993-05-22 23:44:10 +00:00
Jim Blandy
9711debac5 * Makefile.in (SUBMAKEFLAGS): Add CFLAGS to the list. 1993-05-22 23:43:29 +00:00
Richard M. Stallman
1613b7573b (display_text_line): Highlight in any frame's sel window.
(display_text_line): Highlight only in selected window.
1993-05-22 22:06:48 +00:00
Richard M. Stallman
bcb2db92ba (x_window_to_frame): Use XGCTYPE. 1993-05-22 22:04:07 +00:00
Jim Blandy
738429d120 * editfns.c: #include <sys/types.h>, to get time_t for Eggert's
changes.
1993-05-22 21:45:31 +00:00
Jim Blandy
c6c5df7f76 Updated copyright years. 1993-05-22 21:34:42 +00:00
Jim Blandy
5116f055a5 * xterm.c (x_scroll_bar_handle_click): Never grab the scroll bar;
that feature requires more support to work correctly.

	Update copyright years.
1993-05-22 20:57:31 +00:00
Richard M. Stallman
1dfdf9e28e (modifier_names): Update to match *_modifier in termhooks. 1993-05-22 18:27:07 +00:00
Jim Blandy
d205953bff (make_ctrl_char): New function.
(make_lispy_event): Call it.
1993-05-22 17:57:17 +00:00
Jim Blandy
929787e104 * xterm.c (x_scroll_bar_handle_click): Never grab the scroll bar;
that feature requires more support to work correctly.
1993-05-22 09:13:57 +00:00
Jim Blandy
a822d92fb3 *** empty log message *** 1993-05-22 08:30:16 +00:00
Jim Blandy
e18814622b *** empty log message *** 1993-05-22 08:16:25 +00:00
Jim Blandy
faf5e40769 * keyboard.c (make_ctrl_char): New function.
(read_char): Call it.
	(kbd_buffer_store_event): Call it to see if the new character is
	the quit character.
1993-05-22 07:51:26 +00:00
Jim Blandy
e959badab4 *** empty log message *** 1993-05-22 07:25:53 +00:00
Jim Blandy
39a21be6fc * process.c (Fopen_network_stream): Deal with older systems, which
only have the h_addr field in their struct hostent.
1993-05-22 00:12:17 +00:00
Jim Blandy
8243aa4e84 * systty.h [SYSV_PTYS]: #include <sys/types.h>. Francesco
Potorti` <pot@fly.CNUCE.CNR.IT> says it's necessary on his
	machine, and it should be harmless.
1993-05-21 23:47:10 +00:00
Richard M. Stallman
4c8975adc5 (wait_for_termination): Copy code from 18.59 (but sans BSD4_1 alternatives). 1993-05-21 23:42:36 +00:00
Jim Blandy
02a76f8aca *** empty log message *** 1993-05-21 23:39:17 +00:00
Jim Blandy
b49ef4553b * s/linux.h: Remove copyright notices by Michael K. Johnson and
Rik Faith.  They have both sent in papers now which make their
	changes public domain.
1993-05-21 22:52:55 +00:00
Jim Blandy
ffafc79306 * sysdep.c (sys_suspend): Set synch_process_alive, so that
wait_for_termination has something to wait for.
1993-05-21 22:33:45 +00:00
Richard M. Stallman
af01ef2643 (syms_of_xfns): Don't make Lisp vars
x-mode-pointer-shape and x-nontext-pointer-shape.
1993-05-21 20:22:10 +00:00
Jim Blandy
51413f847f *** empty log message *** 1993-05-21 03:22:46 +00:00
Jim Blandy
aec9f5f6dc * dispnew.c (preserve_other_columns): Remember to multiply the
size argument to bcopy by the size of a glyph.
1993-05-20 23:30:21 +00:00
Jim Blandy
8a9311d707 Fix the fix to scrollbar computaaFix the fix to the fix for scrollbar computation. 1993-05-20 23:15:17 +00:00
Roland McGrath
1e5ba5b5f6 Initial revision 1993-05-20 20:22:34 +00:00
Richard M. Stallman
258bf7465d (read_key_sequence): Reexamine this_command
after pre-command-hook runs.
1993-05-20 13:55:09 +00:00
Richard M. Stallman
148c4b70c2 (x_find_modifier_meanings): If some keys are meta and alt,
make them just meta, not alt.
1993-05-20 13:43:48 +00:00
Jim Blandy
b2aaf43a08 Some more changes from Michael K. Johnson for Linux.
* s/template.h: Mention that you should #define HAVE_TERMIO or
	HAVE_TERMIOS, but not both, and that HAVE_TERMIOS is preferred.
	* systty.h (EMACS_SET_TTY_PGRP): Don't assign the return value of
	tcsetpgrp to *pgid; it's just a status value.
	* config.h.in (HAVE_RANDOM): This shouldn't be defined on Linux
	systems using XFree386, and perhaps is inappropriate in general.
	* m/intel386.h: #undefine the integer size macros, since the Linux
	<values.h> file #defines them itself.
	* mem-limits.h (get_lim_data): Linux has the ulimit call; if it
	fails, fall back on ULIMIT_BREAK_VALUE.
	* process.c: Linux needs the WAITTYPE, etc. definitions.
	* unexec.c (hdr, ohdr): Linux has the ordinary `struct exec' type;
	no need to use SYSV names.
	* s/linux.h: New file.
1993-05-20 06:30:20 +00:00
Jim Blandy
e3120ab527 Some time-handling patches from Paul Eggert:
* editfns.c (Fcurrent_time_zone): Take an optional argument specifying
	what (absolute) time should be used to determine the current time zone.
	Yield just offset and name of time zone, including DST correction.
	Yield time zone offset in seconds, not minutes.
	(lisp_time_argument, difftm): New functions.
	(Fcurrent_time_string): Use lisp_time_argument.
	* systime.h (EMACS_CURRENT_TIME_ZONE, EMACS_GET_TZ_OFFSET,
	EMACS_GET_TZ_NAMES): Remove.
	* config.h.in: Add HAVE_TM_ZONE.
1993-05-20 06:29:45 +00:00
Jim Blandy
3e4439ab30 Get the types right, baby. 1993-05-20 02:15:28 +00:00
Jim Blandy
161aa2f8d8 Some more changes from Michael K. Johnson for Linux.
* s/template.h: Mention that you should #define HAVE_TERMIO or
	HAVE_TERMIOS, but not both, and that HAVE_TERMIOS is preferred.
	* systty.h (EMACS_SET_TTY_PGRP): Don't assign the return value of
	tcsetpgrp to *pgid; it's just a status value.
	* config.h.in (HAVE_RANDOM): This shouldn't be defined on Linux
	systems using XFree386, and perhaps is inappropriate in general.
	* m/intel386.h: #undefine the integer size macros, since the Linux
	<values.h> file #defines them itself.
	* mem-limits.h (get_lim_data): Linux has the ulimit call; if it
	fails, fall back on ULIMIT_BREAK_VALUE.
	* process.c: Linux needs the WAITTYPE, etc. definitions.
	* unexec.c (hdr, ohdr): Linux has the ordinary `struct exec' type;
	no need to use SYSV names.
	* s/linux.h: New file.
1993-05-20 02:14:56 +00:00