1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-03 22:20:52 -08:00
Commit graph

280 commits

Author SHA1 Message Date
Glenn Morris
684d6f5bcc Switch license to GPLv3 or later. 2007-07-25 05:19:07 +00:00
Chong Yidong
923721f425 (init_system_name): Don't accept localhost.localdomain. 2007-04-20 21:36:46 +00:00
Glenn Morris
4e6835dbc4 Add 2007 to copyright years. 2007-01-21 04:57:37 +00:00
Juanma Barranquero
db9cd97ad4 Space/tab mixup. 2006-11-24 10:31:26 +00:00
Richard M. Stallman
fac390dc0a (init_sys_modes): Delete DEFVAR_LISP in the wrong place. 2006-10-14 10:09:32 +00:00
Dan Nicolaescu
01d0930532 * search.c (matcher_overflow): Mark as NO_RETURN.
* xterm.c (x_connection_closed): Likewise.

* sysdep.c (croak): Likewise.

* sound.c (sound_perror, alsa_sound_perror): Likewise.

* lisp.h (die, nsberror): Likewise.
2006-05-29 08:06:15 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Andreas Schwab
6e5b238580 (request_sigio, unrequest_sigio): Do nothing in
non-interactive mode.
2005-10-13 09:29:18 +00:00
Dan Nicolaescu
3480d92bb0 * s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): Define
BROKEN_GET_CURRENT_DIR_NAME.

* sysdep.c (get_current_dir_name): Also define if
BROKEN_GET_CURRENT_DIR_NAME.

* m/ibmrs6000.h: Test for USG5, not USG5_4.
2005-09-23 17:06:03 +00:00
YAMAMOTO Mitsuharu
e194b7b9f2 [MAC_OS8]: Don't include stdlib.h. Include sys/param.h. 2005-09-18 05:42:49 +00:00
Eli Zaretskii
b04a31209b Don't #undef NULL after including blockinput.h. 2005-09-10 14:32:20 +00:00
Eli Zaretskii
2412f58675 Fix last change. 2005-09-10 14:12:35 +00:00
Eli Zaretskii
b6682dd96f [WINDOWSNT]: Add prototype for getwd. 2005-09-10 12:19:14 +00:00
Eli Zaretskii
f78f1a83df (get_current_dir_name) [!HAVE_CURRENT_DIR_NAME]: New function. 2005-09-10 11:29:15 +00:00
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
Thien-Thi Nguyen
a72c2d97a8 (get_frame_size) [VMS]: Use a fresh i/o channel. 2005-05-01 11:34:54 +00:00
Thien-Thi Nguyen
c164a7e6ec Remove reference to defunct vms-pwd.h. 2005-04-20 15:11:02 +00:00
Andreas Schwab
e120ea40ca (sys_subshell): Properly terminate execlp argument list. 2005-02-05 19:40:23 +00:00
Jan Djärv
333f1b6f78 * syssignal.h: Declare main_thread.
(SIGNAL_THREAD_CHECK): New macro.

* keyboard.c (input_available_signal): Move thread checking code
to macro SIGNAL_THREAD_CHECK and call that macro.
(interrupt_signal): Call SIGNAL_THREAD_CHECK.

* alloc.c (uninterrupt_malloc): Move main_thread to emacs.c.

* emacs.c: Define main_thread.
(main): Initialize main_thread.
(handle_USR1_signal, handle_USR2_signal, fatal_error_signal)
(memory_warning_signal): Call SIGNAL_THREAD_CHECK.

* floatfns.c (float_error): Call SIGNAL_THREAD_CHECK.

* dispnew.c (window_change_signal): Call SIGNAL_THREAD_CHECK.

* sysdep.c (select_alarm): Call SIGNAL_THREAD_CHECK.

* process.c (send_process_trap, sigchld_handler): Call
SIGNAL_THREAD_CHECK.

* data.c (arith_error): Call SIGNAL_THREAD_CHECK.

* atimer.c (alarm_signal_handler): Call SIGNAL_THREAD_CHECK.
2004-12-15 21:40:41 +00:00
Stefan Monnier
77220eeb1e (emacs_write): Don't use QUIT. 2004-11-29 14:39:09 +00:00
Stefan Monnier
275464e7a5 (sys_signal): Don't use SA_RESTART if SYNC_INPUT is set.
(emacs_open, emacs_read, emacs_write): Check QUIT when interrupted.
2004-11-25 20:01:39 +00:00
Kim F. Storm
fa51fa32b7 (child_setup_tty, init_sys_modes): Use CDISABLE. 2004-08-19 10:08:15 +00:00
Richard M. Stallman
dfe598b54e (child_setup_tty) [SIGNALS_VIA_CHARACTERS]:
Set VQUIT and VINTR chars to the standard ones if they are unset.
[AIX]: Don't do that here.  And don't force VINTR to standard
when SIGNALS_VIA_CHARACTERS.
2004-08-16 23:02:19 +00:00
Steven Tamm
bfcf660801 mac.c (sys_select): Block input around call to
ReceiveNextEvent to prevent breakage.  Correctly handle
blocking on event queue only by calling ReceiveNextEvent
instead of select (since GUI events aren't on an fd).
(sys_read): Remove function
sysdep.c: Remove redefine of read to sys_read if HAVE_CARBON
2004-07-19 06:38:14 +00:00
Kim F. Storm
9f893fc68f (BUFFER_SIZE_FACTOR): Remove.
(read_input_waiting): Adapt to new read_socket_hook interface.
Remove allocation and initialization of local input_event buffer,
as read_socket_hook stores events directly in fifo.  Allocate and
initialize local hold_quit event to handle postponed quit event
(and store it if set by kbd_buffer_store_event_hold).
2004-02-27 23:47:48 +00:00
Jan Djärv
5890e9f7ac Move include stdio.h to same place as in other files. 2004-02-09 15:39:49 +00:00
Jan Djärv
6b0824c950 (mkdir, rmdir): Also check synch_process_termsig. 2004-01-26 23:40:08 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Stefan Monnier
50acda85ee (kbd_input_ast, read_input_waiting): Don't pass uninitialized
data to kbd_buffer_store_event.
2003-06-15 21:04:16 +00:00
Dave Love
b80263be1b Remove redundant include of unistd.h, stdlib.h. Use
HAVE_DECL_SYS_SIGLIST, not SYS_SIGLIST_DECLARED.
2003-06-12 22:14:31 +00:00
Kim F. Storm
90022f5a3e Make (few) trivial substitutions for renamed and
new macros in dispextern.h, frame.h and window.h.
2003-05-24 22:07:03 +00:00
Juanma Barranquero
177c0ea743 Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
Steven Tamm
3605200c46 Have emacs_read use sys_read on carbon/Mac OS X 2002-12-08 06:00:10 +00:00
Richard M. Stallman
612221ab83 (fcntl.h): Test only HAVE_FCNTL_H. 2002-12-04 11:44:34 +00:00
Dave Love
0c2338d819 (stuff_char) [PROTOTYPES]: Provide ISO C arglist. 2002-11-22 12:22:43 +00:00
Eli Zaretskii
feb67dfe47 [MSDOS]: Don't define request_sigio and
unrequest_sigio, they are defined on msdos.c.
2002-08-19 18:19:42 +00:00
Richard M. Stallman
7ce1c4de0e [!VMS]: Include sys/files.h. 2002-08-17 04:56:13 +00:00
Ken Raeburn
be3abfa2c3 (start_of_data): Don't define the function if a macro
form has been defined.
2002-07-24 02:07:41 +00:00
Ken Raeburn
5646864937 (end_of_text, end_of_data): Unused functions deleted. 2002-07-21 14:17:24 +00:00
Ken Raeburn
7b1cc11936 (emacs_write): Buffer pointer now const. 2002-07-19 14:37:13 +00:00
Ken Raeburn
8c2ba7decc (emacs_open, set_file_times): String pointer args now
point to const.
2002-07-16 19:49:00 +00:00
Ken Raeburn
d5db40779d Most uses of XSTRING combined with STRING_BYTES or indirection changed to
SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references
left unchanged for now.
2002-07-15 00:01:34 +00:00
Richard M. Stallman
55fafcf080 (sys_signal): Test BROKEN_SA_RESTART. 2002-07-11 17:29:56 +00:00
Pavel Janík
e43bd4f5b2 *** empty log message *** 2002-06-13 15:00:02 +00:00
Andrew Choi
e0f712ba55 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
lisp/ChangeLog, and src/ChangeLog for list of changes.
2002-04-26 23:39:06 +00:00
Stefan Monnier
0fdcb86754 (wait_for_termination): Use sigsuspend rather than sigpause. 2002-03-22 22:53:13 +00:00
Stefan Monnier
31ade731e6 Change defvar_int def and vars to use EMACS_INT instead of just int. 2002-03-04 23:41:00 +00:00
Eli Zaretskii
48178f9aaf (sys_subshell): Fix last change. 2002-03-04 20:15:56 +00:00
Eli Zaretskii
c0917202cf (sys_subshell) [MSDOS]: If PWD is set in the
environment, pass it down with corrected value.
2002-03-04 20:08:37 +00:00