Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 422281c0da
Fetching contributors…

Cannot retrieve contributors at this time

4793 lines (3218 sloc) 156.145 kb
1988-08-31 Richard Stallman (rms@corn-chex.ai.mit.edu)
* Version 18.52 released.
* x11term.c (XT_GetDefaults): Replaced entire function.
* unexhp9k800.c: #endif was missing.
* crt0.c [hp9000s300]: New variable flag_68010.
1988-08-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* m-isi-ov.h (LOAD_AVE_{CVT,TYPE}): On 4.3, different definitions.
* m-iris4d.h: Define XSETMARKBIT.
1988-08-29 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* m-ibmrt.h (CANNOT_DUMP): Was defined by mistake in last change.
* m-amdahl.h (NSIG): If it's 19, make it 20.
Overrides Amdahl's mistake.
1988-08-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* x11fns.c, x11term.c (XXscreen): New variable, default screen number.
All calls to BlackPixel, WhitePixel, DisplayCells, DefaultColormap
pass this.
1988-08-26 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* data.c (init_data) [uts]: Handle SIGEMT.
* m-apollo.h (APOLLO_SR10): Define this if BSD4_3.
(BSTRING): If APOLLO_SR10, don't alter this.
* emacs.c [APOLLO]: If APOLLO_SR10, omit the acl code.
* filemode.c (ftypelet): If S_IFIFO==S_IFSOCK, avoid duplicate cases.
* m-alliant4.h: Add missing `*/'.
1988-08-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* x11term.c (writechars): Don't call updateline;
output just the chars that are specified; don't clear to end.
* m-ibmrt-aix.h: Define getwd. Define bcopy, etc. as macros.
Define LIBX10_MACHINE and change LIBS_MACHINE.
1988-08-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* xterm.c (XTread_socket): If HAVE_SELECT, call xfixscreen
before waiting.
* dispnew.c (update_line): Comments added.
* xterm.c (writechars): Output only the chars specified
even if in update; don't clear to end.
(XTread_socket): Check O_NDELAY only if it and F_GETFL are defined.
(x_term_init) [IBMRTAIX]: Do call gethostname.
() [IBMRTAIX]: Include sys/time, not time.
1988-08-23 Chris Hanson (cph@kleph)
* xterm.c (XTread_socket): Do not call `xfixscreen' if O_NDELAY is
set. On hpux, this causes an I/O error.
1988-08-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* m-news800.h: define HAVE_ALLOCA.
1988-08-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* keyboard.c (read_avail_input) [no FIONREAD]: Always set O_NDELAY.
1988-08-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* xterm.c, x11term.c (XTclear_end_of_line):
Arg was misinterpreted as place to *start* clearing.
(x_clear_end_of_line): New fn does what XTclear_end_of_line did.
All callers in this file changed.
* sysdep.c [USG] (getwd): Free the entire string retd by getcwd.
1988-08-20 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* m-ibmrt.h: Delete the USG conditionals.
* m-ibmrt-aix.h: New file.
* process.c (wait_reading_process_input) [IBMRTAIX]: Do `select'
as on HPUX.
* process.c [IBMRTAIX]: Use sys/time.h.
* dispnew.c (update_line): Handle case of !char_ins_del_ok.
* xterm.c (x_term_init): Use X keymap spec'd in user's xdefaults.
Also use macro X_DEFAULT_FONT to determine ultimate default font.
* sysdep.c (child_setup_tty) [IBMRTAIX]: Turn off extra tty features.
(init_sys_modes) [IBMRTAIX]: Turn off enhanced line editor.
Also, call hft_init.
(init_sys_modes) [TCXONC]: Make sure output isn't stopped.
(reset_sys_modes) [IBMRTAIX]: Call hft_reset.
(hft_init, hft_reset): New function.
(sys_siglist) [IBMRTAIX]: Alternate signal defs.
* unexec.c: Treat IBMRTAIX like IRIS.
* fileio.c (Fcopy_file): If USE_UTIME, use `utime' instead of `utimes'.
* emacs.c (main) [IBMRTAIX]: Handle additional fatal signals.
1988-08-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* search.c (Fstore_match_data): Failed to skip the 2nd nil in a pair.
* search.c (search_buffer) [C_ALLOCA]: Use auto space for BM_tab.
1988-08-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* keyboard.c: Declare errno.
1988-08-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* m-news800.h: Define COMPILER_REGISTER_BUG and LIBS_TERMCAP.
1988-08-12 Mike Haertel (mike@spiff.ai.mit.edu)
* m-7300.h: Made it understand how do undump a demand-paged
executable.
1988-08-11 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* unexec.c (adjust_lnnoptrs): auxent is a union, not a struct.
1988-08-10 Chris Hanson (cph@kleph)
* keyboard.c (read_avail_input): Do not set O_NDELAY if
`read_socket_hook' is in use. This causes Xlib to get an IO error
under X10, and could potentially do the same for X11.
* s-hpux.h (ADJUST_EXEC_HEADER): Undefine this. Demand loaded
exec format doesn't work correctly in hpux.
(HAVE_SOCKETS): hpux has BSD-style sockets.
* xfns.c, xterm.c, x11term.c, x11fns.c: Conditionalize "time.h"
inclusion on USG instead of HPUX.
* xterm.c, x11term.c (XTread_socket): Conditionalize call to
`XPeekEvent' on `HAVE_SELECT'.
* xterm.c: Supply missing definition of `handler'.
1988-08-09 Chris Hanson (cph@kleph)
* indent.c (current-column): fix typo.
* keyboard.c, undo.c: add explicit storage class to several
variable declarations so that GCC does not generate warning
message.
1988-08-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* eval.c: doc fix.
1988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* fileio.c: Doc fix.
* keymap.c (Fwhere_is_internal): Call get_keyelt.
1988-08-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* unexec.c [sun386]: control header files, like STRIDE, etc.
* s-sunos4.h: Define LD_SWITCH_SYSTEM, not LD_SWITCH_MACHINE.
* m-sun386.h: Vice versa.
(O_NDELAY): Delete definition; duplicates s-sunos4.h.
(LD_SWITCH_SYSTEM): Undefine this, since the s-sunos4.h defn
is wrong for the 386.
1988-07-31 Richard Stallman (rms@juicy-juice.lcs.mit.edu)
* sysdep.c (select_alarm): If read_alarm_should_throw, throw back
to read_input_waiting.
(read_input_waiting): Call setjmp, so that can be done.
* xterm.c (XTread_socket) [no SIGIO]:
If O_NDELAY not set, wait for an event.
Set read_alarm_should_throw while waiting.
* x11term.c (internal_socket_read): Similar change.
* x11fns.c (Fx_set_mouse_color): Don't free save_color; can be literal.
* x11term.c (x_term_init): Clear reversevideo if fg or bg color specd.
1988-07-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* print.c (Fwith_output_to_temp_buffer): Detect error for non-strings.
1988-07-22 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* s-usg5-3.h: Define LIBX{10,11}_SYSTEM.
* ymakefile: New variables LIBX{10,11}_SYSTEM to be set in s- file.
* xterm.c (XExitGracefully): Declare the args, for debugging.
(x_io_error): New function now used as handler for X I/O errors.
* xfns.c [not HAVE_TIMEVAL]: Don't include any time.h.
* sysdep.c (sys_suspend) [VMS]: Ignore SIGINT while suspended.
* undo.c (Fundo_more): Better err msg.
1988-07-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* indent.c (current_column, Fmove_to_column): ignore invisible lines.
* keyboard.c (command_loop_1): No direct output if selective display.
1988-07-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* ymakefile (LD_TEXT_START_FLAGS): -e should be __start, not address.
* m-orion105.h: New file.
1988-07-15 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* alloca.s (pyramid): Define _setjmp, _longjmp only if PYRAMID_OLD.
1988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* s-rtu.h (fsync): Define this as no-op.
* process.c, sysdep.c: Rename MASSCOMP flag to RTU.
1988-07-10 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* term.c (write_chars): Compensate for wasted_chars when comparing curX
1988-07-05 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* lread.c (openp): Don't call strncat if lsuffix is 0.
1988-06-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* callint.c (Fcall_interactively): On VMS, treat 'f' like 'F'.
1988-06-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* emacs.c (Fkill_emacs): Run kill-emacs-hook.
1988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* ymakefile: Add missing dependencies.
* cmds.c (Fself_insert_command): Pass correct 2nd arg to SelfInsert.
* ymakefile: Avoid newline after cpp in commands for alloca.s.
1988-06-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* ymakefile: #undef register, in case m- or s- defines it.
1988-06-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* unexhp9k800.c: Complete replacement.
* x11fns.c (x_set_cursor_colors): Send current colors to X server.
(Fx_set_mouse_color): Use that function.
* x11term.c (XFlipColor, XInitWindow): Use that function.
Variable `mous' deleted; handle reverse video for `mous_color'
by checking it with `strcmp'.
* x11term.c (x_term_init): `sizeof' was used for strings, in mallocing.
Delete unused vars `cursor_fore' and `cursor_back'.
* x11term.c (CursorToggle): Make solid cursor proper color
when no text char is there.
* x11term.c (XT_Set_Size_Hints): New arg PR.
At startup, it's the value from XGeometry, else 0.
Use it when setting the flags (which dims are user-specified).
* x11term.c (XT_Set_Size_Hints): Conditional for XICCC.
* x11term.c (internal_socket_read): Don't call change_window_size
with arguments too small for it to handle.
* dispnew.c (window_change_signal, {un,}hold_window_change):
If a signal happens during update_screen, just set flag;
resignal when update_screen finishes.
* xdisp.c (DoDsp, message, message1): Call {un,}hold_window_change.
* dispnew.c (Vwindow_system_version): New variable.
(syms_of_dispnew, init_display): Set this variable.
* callint.c (Fcall_interactively): For `N', convert prefix to number.
1988-06-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* termcap.c (tgetst1): Tolerate missing colon at end of entry.
1988-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* data.c (Fkill_local_variable): Used to clobber other buffer's value.
1988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* x11fns.c, x11term.c: "Mouse queue" was a stack; make it a queue.
New vars XXm_queue_in, XXm_queue_out.
(Fx_{proc,get}_mouse_event): Use XXm_queue_out as fetch index.
(internal_socket_read): Use XXm_queue_in as store index.
(x_term_init): Init the new vars.
1988-06-10 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* window.c (Fset_window_configuration): Handle change in screen size.
* s-hpux.h: Delete -lBSD from LIBS_SYSTEM.
* m-hp9000s300.h: Define string fns as macros even in version 6.
1988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* buffer.c (SetBfp): Initialize `swb'. This matters when SetBfp
is called during initialization, on Masscomp.
1988-06-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* sysdep.c (kbd_input_ast, end_kbd_input): Eliminate `ast_active'.
(end_kbd_input): Use LIB$AST_IN_PROG.
* lread.c (init_read): Don't be confused by Qnil in normal_path.
* data.c (Fsymbol_value): Check nullness of per-buffer sym's buffer.
* callint.c (Fcall_interactively): Don't put non-strings into visargs.
1988-06-02 Richard Stallman (rms@rice-krispies.ai.mit.edu)
* keyboard.c (read_avail_input, input_available_signal):
Make `buf' as long as kbd_buffer.
1988-06-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* xdisp.c (decode_mode_spec): Output `%%' as a `%'.
* sysdep.c (kbd_input_ast): Save and restore errno.
* keyboard.c (input_available_signal, interrupt_signal): Likewise.
* dispnew.c (window_change_signal): Likewise.
* process.c (child_sig): Likewise.
1988-05-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* x11fns.c (Fx_proc_mouse_event): When looking up a meta-click,
look for the meta-prefix-char first.
* xmenu.c (Fx_popup_menu): Typo calling BLOCK_INPUT_DECLARE.
1988-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* s-iris3-5.h, s-iris3-6.h: Undo Jan 11 change.
1988-05-23 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* minibuf.c (read_minibuf): If PROMPT's not a string, make it one.
1988-05-22 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* m-alliant.h: Typo made m-alliant1.h lose.
* m-alliant4.h: New file.
* fns.c (Freverse): Rename `vector' to `vec'.
On alliant, `vector' is a typedef in param.h.
1988-05-20 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* process.c (kill_buffer_processes): Send SIGHUP, not SIGKILL.
1988-05-19 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* m-mips.h, m-iris4d.h (XUNMARK): Cast unsigned before shifting.
* m-sequent.h: No need for DKSTAT_HEADER_FILE.
1988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* x11term.c: First include system headers, then config.h, then maybe
undef FIONREAD and SIGIO, then read x11term.h which depends on them.
1988-05-15 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* keyboard.c (get_input_pending): Hold SIGIO around read_avail_input.
1988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
* keyboard.c (init_keyboard): Call keyboard_init_hook if nonzero.
* x11term.c (x_init_1): Move all keyboard-related inits here.
(x_term_init): Don't call x_init_1; put it in keyboard_init_hook.
* m-sun3.h, s-sunos4.h, s-bsd4-3.h: Delete DK_HEADER_FILE.
* m-sequent.h: Change it to DKSTAT_HEADER_FILE.
1988-05-13 Richard Stallman (rms@lucky-charms.ai.mit.edu)
* xdisp.c (DoDsp): if pause, and window is partial-width,
next redisplay must do all windows since preserve_other_columns
may lack the data to work right if we just did scrolling.
1988-05-13 Chris Hanson (cph@kleph)
* m-hp9000s300.h: Conditionalize a couple of things on `__GNUC__'.
1988-05-12 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* xdisp.c (mark_window_display_accurate): Don't use XBUFFER on nil.
* keyboard.c (keys_of_keyboard): Change ndefkey to defkey.
* keymap.c (keys_of_keymap): Change ndefkey to defkey.
1988-05-10 Richard Stallman (rms@corn-chex.ai.mit.edu)
* sysdep.c: Define sigmask.
1988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* Version 18.51 released.
* process.c (Fdelete_process): Change status of proc to `signaled'.
Then call change_msgs to run the sentinel.
* m-sequent.h, m-sun3.h, s-sunos4.h, s-bsd4-3.h: Define DK_HEADER_FILE.
* m-7300.h: Take out the Feb 11 change; umix!sendai!rich@rutgers.edu
says it doesn't work.
1988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* xdisp.c (DoDsp): Set clip_changed if Voverlay_... has changed.
1988-04-28 Chris Hanson (cph@kleph)
* s-hpux.h: Define HAVE_PTYS. HP-UX has them and they work fine
almost all of the time. The one case where they would fail
regularly (inferior Scheme) has been bypassed by using pipes.
1988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* keyboard.c (Fsuspend_emacs): Do init_sys_modes via unwind protect.
* fileio.c [VMS] (Fdefine_logical_name): Empty string value
means delete the name.
1988-04-27 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* sysdep.c [VMS]: RAB's never a macro; let RAB$C_BID control rab.h.
* sysdep.c [VMS] (sys_getenv): Only if value of lib$sys_trnlog
is exactly 1 does it mean it found something.
* sysdep.c (creat_copy_attrs): Downcase remaining SYS$OPEN, SYS$CLOSE.
1988-04-25 Richard Stallman (rms@lucky-charms.ai.mit.edu)
* fileio.c (Fdo_auto_save): Ignore shrinkage if not visiting file.
Wait only 1 second after shrinkage message.
(Fset_buffer_auto_saved): Update the buffer's save_length.
(auto_save_error): Mention buffer name in message.
* buffer.c (Fswitch_buffer): Error if in minibuffer window.
1988-04-24 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* sysdep.c (sys_close): Define this only if INTERRUPTABLE_CLOSE.
* s-usg5-3.h: Define INTERRUPTABLE_CLOSE.
1988-04-22 Richard Stallman (rms@rice-krispies.ai.mit.edu)
* sysdep.c (init_sys_modes) [VMS]: Undef _IOFBF so don't use setvbuf.
1988-04-20 Richard Stallman (rms@rice-krispies.ai.mit.edu)
* m-sun386.h: New file, for Roadrunner.
1988-04-19 Chris Hanson (cph@kleph)
* x11term.h, x11term.c, x11fns.c: Again (for the third time)
abstract input blocking so these files compile on systems without
SIGIO.
* x11term.c (x_term_init): Comment out fatal error which prevents
X11 interface from being used if interrupt_input is false. This
is unnecessary and untrue -- the interface works, but
suboptimally.
1988-04-19 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* sysdep.c (sys_access) [VMS]: If arg is dirname, cvt to name as file.
(sys_getenv): If arg is TERM, also look for TERM as logical name.
* unexconvex.c: New file.
1988-04-18 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* emacs.c (main) [APOLLO]: Eliminate call to set_sbrk_size.
* search.c (match_limit): Return nil for a paren-pair with no match.
1988-04-17 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* vmsfns.c (Fvms_system_info, Fshrink_to_icon): New functions.
Former comes with many subroutines.
1988-04-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* x11term.c (updateline, write_chars): Restore sigmask at every return.
(stufflines): Restore signal mask only once, at the end.
* sysdep.c ({un,}request_sigio): SIGWINCH mask actions were backwards.
Never change any other mask bit.
* x11term.c (internal_socket_read): Initialize COUNT.
* ymakefile (LIBX): /usr/X11/lib/oldX/liboldX.a becomes -loldX.
1988-04-14 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* fileio.c (auto_save_error): Print msg that there was an error.
(Fdo_auto_save): If don't save a bfr because it has shrunk, print msg.
1988-04-13 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* s-umax.h: Define MAIL_USE_FLOCK (LaLiberte says so).
1988-04-10 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* fileio.c (Fdefine_dcl_symbol): Deleted.
(Fdefine_logical_name): New function created.
* sysdep.c (define_dcl_symbol): Deleted.
(define_logical_name, delete_logical_name): New fns to make
job-wide logical names. "This is more useful for communicating with
other processes, since when Emacs is run in a subprocess (as it
usually is), the others see job-wide logical names, not DCL symbols)."
1988-04-09 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* ymakefile: If UNEXEC is defined, it specifies object file for unexec.
* unexmips.c: New file contains MIPS unexec code, moved from unexec.c.
* m-mips.h, m-iris4d.h: Define UNEXEC as unexmips.o.
No longer need to define COFF.
* unexenix.c, s-xenix.h: Likewise.
* unexhp9ks800.h: New file; m-hp9000s800.h says to use.
* unexec.c: Delete MIPS and Xenix code.
* dired.c (file_name_completion) [VMS]: specbind completion-ignore-case
to non-nil.
* m-sequent.h: Define PTY_ITERATION, etc., for Dynix 3.0 pty names.
1988-04-08 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* unexec.c (EXEC_HDR_TYPE): New macro overrides `struct exec' if def.
* unexec.c (DEFAULT_ENTRY_ADDRESS): Allow config to define this.
* m-iris4d.h: Define it here, instead of IRIS4D conditional in unexec.
* m-tek4300.h: New file.
* fileio.c: doc fix.
1988-03-29 Richard M. Stallman (rms@wilson)
* ymakefile: Default LIBX10_MACHINE and LIBX11_MACHINE to null.
Use them when defining LIBX.
* xterm.c: On all USG, include sys/time.h.
* xterm.c (XtFlash, flashback): Bodies conditional on ITIMER_REAL.
* xterm.c (x_term_init): Call gethostname only if BSD or HPUX.
* xterm.c (x_init_1): Don't mess with SIGIO if USG.
* sysdep.c: Fix typo, USG_SYSTEM_DIR => SYSV_SYSTEM_DIR.
Externally define sys_errlist, except on VMS.
Don't include rab.h if RAB is already defined.
* sysdep.c ({request,unrequest}_sigio) BSD4.2 version:
Also block and unblock SIGWINCH if that's defined.
* m-mips.h (XSETMARKBIT): New, test 2nd arg for only zero or nonzero.
* s-usg5-3.h: #define close sys_close (like open, read, write).
* sysdep.c: Undef `close', like `open'.
* sysdep.c (sys_close): New function.
All refs to close in sysdep.c renamed to sys_close.
* sysdep.c (read_input_waiting): Call `read_socket_hook'.
Define BUFFER_SIZE_FACTOR as in keyboard.c.
* sysdep.c (dup2): Alternate defn #ifdef F_DUPFD.
1988-03-27 Richard M. Stallman (rms@wilson)
* process.c [CYDRIX]: Include sys/tiuser.h; don't include pty.h.
* process.c (pty): Don't do ioctl FIONBIO if not defined.
New macros PTY_ITERATION, PTY_NAME_SPRINTF and
PTY_TTY_NAME_SPRINTF customize how to test all pty names.
* unexec.c (make_hdr): DATA_SECTION_ALIGNMENT, new, acts like
SECTION_ALIGMENT, but for data section only.
* callproc.c (init_callproc): Cvt dirname to filename for `access'.
* lread.c (init_read): Likewise. These used to lose on VMS.
* dired.c (file_name_completion) [VMS]: READFUNC is a ptr, not a fcn.
1988-03-24 Richard M. Stallman (rms@wilson)
* sink.h, sinkmask.h: Don't declare the array static.
* xfns.c: Make sink_bits and sink_mask_bits extern;
don't include sink.h and sinkmask.h here.
Define macros sign_width, etc.
* xterm.c (writechars, dumprectangle): Flush `if (PhysScreen)', etc.,
since an array is always nonzero as a pointer.
* filelock.c: Include config.h after sys/stat.h so can undef S_IFLNK.
* sysdep.c (sys_suspend): Use BSD, not SIGTSTP, as cond. for killpg.
* dispnew.c (init_display): Set Vwindow_system to `x' for X11.
* xterm.c, x11term.c (x_term_init): Set `window-system-version'
to 10 or 11.
* dispnew.c (update_screen): If cursor_in_echo_area is negative,
put cursor at left margin in echo area.
* fns.c (Fy_or_n_p): Make cursor_in_echo_area -1 when echoing response.
Don't alter cursX.
1988-03-23 Richard M. Stallman (rms@wilson)
* x11term.h: Use X11/ not X/ for dir of include files.
* xmenu.c: Likewise, in the X11 case.
* m-7300.h: Fix unterminated comment near end.
* s-xenix.h: Define n_zeroes so usage of struct nlist in fns.c works.
* term.c (fatal): Do fflush(stderr).
* sink11.h, sink11msk.h: New files.
* x11term.h: Define CLASS here.
Don't define X11 since this is included only if X11.
* x11term.c: Use sink11.h and sink11msk.h, not sink.h and sinkmask.h.
Don't define CLASS. Delete everything about BIGDEBUG.
Delete everything pertaining to read_events_block.
(XXidentity): now global.
(CursorOutline): New var; nonzero means cursor is hollow.
(XXicon_usebitmap): New var; nonzero means use bitmap icon.
(XTset_terminal_modes, ClearCursor): Set CursorOutline.
(XTflash, flashback): Combine into one function; use `select' to wait.
(CursorToggle): Handle CursorOutline.
(internal_socket_read): Delete 3rd arg, and code that handles it.
Handle MappingNotify events.
Handle EnterNotify and LeaveNotify (change solid to outline cursor).
(XT_GetDefaults): If asked for .BodyFont, look for .Font also.
(x_term_init): Init XXicon_usebitmap; strip dirs from `progname'.
Handle -i switch. Handle -geometry like -w.
(XT_Set_WM_Hints): Obey XXicon_usebitmap.
(XInitWindow): Use `fatal' for fatal error messages.
Init CursorOutline. Ask for EnterNotify and LeaveNotify events.
* x11fns.c (Fx_get_default): Use XXidentity. Clean up docstring.
* sysdep.c [VMS] (input_wait_timeout, wait_for_kbd_input):
Use detect_input_pending, not get_input_pending.
* process.c (wait_reading_process_input):
Use only detect_input_pending to check for pending kbd input.
(That `select' saw something on channel 0 doesn't mean it is
kbd input; it could be an expose event.)
* keyboard.c (read_avail_input) [FIONREAD]: Now static.
New arg specifies value of NREAD;
if it is nonzero, don't call get_input_pending to get it.
Use kbd_buffer_store_char to put chars into kbd_buffer.
Always abort if kbd_count is nonzero at start.
Don't call {set,clear}_waiting_for_input.
(get_input_pending): Now static.
Return immediately if kbd_count > 0 or if Vquit_flag is non-nil.
If FIONREAD and not interrupt_input and read_socket_hook,
call read_avail_input to see how much pending input is really
kbd characters; don't say we have some if an expose event is pending.
* dispnew.c (init_display): Check result of egetenv for emptiness
as well as nullness.
1988-03-21 Richard M. Stallman (rms@wilson)
* alloca.s [WICAT]: Don't clobber a2. Return value in a0 and in d0.
1988-03-20 Richard M. Stallman (rms@wilson)
* crt0.c (errno): Don't initialize it -- put it in bss space.
[M68K]: Define splevel% with `comm' -- put it in bss space.
* sysdep.c [MISSING_UTIMES]: Define `utimes' as a no-op.
* s-hpux.h: Define MISSING_UTIMES.
* buffer.c (Fbuffer_local_variables): The buffer's alist can be out
of date for a non-current buffer, so call Fsymbol_value to make
the alist up to date.
* sysdep.c [VMS] (end_kbd_input): If ast_active, don't clobber
any global variables.
* ymakefile (alloca.o): Copy sed output to a .s file and use cc
to run the assembler. I hear Xenix can't run it directly.
* sysdep.c [XENIX]: Undefine TIOCGETC.
* s-xenix.h: Undefine NLIST_STRUCT. Put `_' in defn of LDAV_SYMBOL.
Define HAVE_SYSVIPC.
* m-intel386.h [XENIX] (LIB_STANDARD): Add /lib/386/Slibcfp.a.
[XENIX] (FSCALE): Define it.
[XENIX] (C_ALLOCA): Undefine it.
* alloca.s: Define alloca for Xenix.
1988-03-19 Richard M. Stallman (rms@wilson)
* keyboard.c (read_avail_input): If `read' gives EAGAIN,
kbd_count should be 0. Can happen on V.3.
* x11fns.c (Vxterm1): Delete this variable, and lisp var `xterm'.
(syms_of_xfns): If CANNOT_DUMP and not `noninteractive',
init_display has already set up Vxterm, so don't init it here.
* display.c (syms_of_display): Likewise for Vwindow_system.
(init_display): Always set Vwindow_system.
1988-03-18 Chris Hanson (cph@kleph)
* m-hp9000s300.h: Add a definition for C_SWITCH_MACHINE which is
needed to compile the X11 interface files.
* s-hpux.h, m-hp9000s300.h, m-hp9000s800.h: Version 6.01 of HP-UX
(on 300 machines only) implements symbolic links and supplies BSD
procedures like `bcopy' and `index' as part of the BSD library.
Move definitions which depend on these features from the s- file
to the m- files, and conditionalize the features based on a flag.
1988-03-18 Richard M. Stallman (rms@wilson)
* scroll.c (calculate_scrolling): Abort if ->insertcount
is out of range.
* sysdep.c (getwd for USG): Don't define it if HAVE_GETWD.
* m-stride.h: Define HAVE_GETWD.
* buffer.c (init_buffer): If `getwd' fails, it's a fatal error.
* ymakefile (MAKE_PARALLEL): New name for PARALLEL, and now
a cpp macro, not a Make variable. Defaults to empty.
* m-sequent.h: Define MAKE_PARALLEL.
* xdisp.c (display_text_line): Handle the overlay arrow last of all,
and update line->length for the space it uses.
* xmenu.c: Conditionals for X11, using new macro X11ONLY.
Currently named x11menu.c until someone tests it.
* ymakefile: Handle HAVE_X_MENU and use xmenu.o, even if X11.
* x11term.h: Define BLOCK_INPUT, UNBLOCK_INPUT, BLOCK_INPUT_DECLARE.
* Makefile: Set $(MAKE), since some Make versions don't have it.
(xmakefile): Delete lines that are just one OR MORE whitespace
chars. Use \t to represent the tab in the `sed' command.
* fileio.c (Finsert_file_contents) [APOLLO]: Do another `stat'
after closing the file. Gets around kernel bug (in `fstat'?).
* fileio.c (Fwrite_region) [ALLIANT]: Don't do `fsync'; kernel bug.
* sysdep.c (sys_suspend): If forking shell, call close_process_descs.
1988-02-13 Richard Stallman (rms@sugar-smacks.ai.mit.edu)
* Version 18.50 released.
* sysdep.c [VMS]: Remove VMS4_6 conditional on execvp & rename
since s-vms.h is set to make us use our own definitions of these.
Make execvp call `error' instead of `croak'.
* s-vms.h: PURESIZE 132000.
* m-sun2.h: Likewise (for HAVE_SUN_WINDOWS).
1988-02-11 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* callproc.c (child_setup): Call close_process_descs
if can have subprocesses. Close the argument-descriptors
after copying them to 0, 1 and 2.
* callproc.c (Fcall_process): After fork, in subprocess,
explicitly close Emacs's end of the pipe. Don't bother calling
set_exclusive_use.
* process.c (close_process_descs): Close all descriptors
that are talking to subprocesses. Called from a new subprocess.
* process.c (create_process): Don't bother calling set_exclusive_use
since close_process_descs now closes Emacs's side of a pipe or pty.
* x11term.c, x11fns.c, x11term.h: New files from rfrench@athena.mit.edu
In x11term.c, the function `read_events_block' has been `if 0'd
and so have all calls to it. A call in wait_reading_process_output
was not added, and a call to internal_read_socket in
get_input_pending was not added.
* emacs.c (main) [HAVE_X_WINDOWS]: Set xargv, xargc for xterm.c.
* dispnew.c (init_display) [X11]: Set Vwindow_system to `x11'.
* s-hupx.h: Define HAVE_SYSVIPC.
Should s-usg*.h define this too?
* dir.h: Some union types were missing levels of struct inside them.
* alloc.c (Fpurecopy): If not purifying, do nothing.
* editfns.c (init_editfns): Record system name even if dumping.
* eval.c (Fcondition_case): Inverted endtest in handler validate loop.
* m-7300.h: Define SEGMENT_MASK, SECTION_ALIGNMENT
and pass the -z switch to ld. kenobi!ford@bass.nosc.mil says so.
1988-02-09 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* unexec.c: Merge gb's code for Xenix.
* m-intel386.h: Add conditionals for Xenix.
* s-xenix.h: New file.
* cm.h: Make the bit-fields unsigned.
1988-02-08 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* sysdep.c (init_sys_modes) [USG]: Set C-g for VQUIT as well as VINTR.
This was formerly done only on HPUX, and worked there.
It appears that all sysV is like HPUX in that CDEL does not
really turn off the signal--it makes Meta-DEL cause the signal!
* process.c (wait_reading_process_output): Change the test on
read_kbd to avoid losing on 80386 Xenix.
1988-02-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* xdisp.c (Voverlay_arrow_string, Voverlay_arrow_position):
New variables specifying a string to overlay on the buffer text
and a place to put it.
* xdisp.c (display_text_line, redisplay_window, DoDsp):
Handle these variables.
1988-02-04 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* insdel.c (prepare_to_modify_buffer):
If CLASH_DETECTION is disabled, verify the modtime here
since it won't be done via lock_file.
1988-01-31 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* fileio.c (Fcopy_file): Report error in `write'.
1988-01-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* eval.c (unbind_to): Recompute loop end-test from `count' each time
since an unwind-protect function can use realloc to grow the specpdl.
1988-01-26 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* sysdep.c (vms_truncate) [VMS]: New fn to truncate a file.
* fileio.c (Fwrite_region) [VMS]: If writing auto-save file,
truncate any existing file.
* s-vms.h: Rename `rename', `execvp' and `system' so we don't
use the VMS-library versions of it.
1988-01-22 Richard Stallman (rms@frosted-flakes)
* m-ibmrt.h: Add some AIX conditionals; output on BSD should
be unchanged. Perhaps will now run on AIX.
1988-01-21 Richard Stallman (rms@frosted-flakes)
* keyboard.c (command_loop): Exit here for noninteractive eof.
* keyboard.c (kbd_buffer_get_char): Don't exit here.
1988-01-20 Richard Stallman (rms@frosted-flakes)
* lread.c (openp): Reject directories even if !exec_only.
* window.c (Fset_window_configuration): When keeping window's
old buffer, make sure its start and pointm are valid.
1988-01-19 Richard Stallman (rms@frosted-flakes)
* sysdep.c (sys_suspend) [SIGTSTP]: Use killpg and getpgrp to stop
all processes in same pgrp with Emacs.
* syntax.c (Fparse_partial_sexp): Add 7th elt to STATE arg and value,
describing minimum depth encountered during the scan.
1988-01-18 Richard Stallman (rms@frosted-flakes)
* alloca.s: Change some as-style comments to C-style comments
so cccp won't be confused by stray singlequotes.
* s-iris3-5.h, s-iris3-6.h: Move the #defines of long-named functions
into m-irist.h.
* lread.c (init_read): Warn if dirs in PATH_LOADSEARCH don't exist.
* callproc.c (init_callproc): Warn if Vexec_directory doesn't exist.
* emacs.c (main): Call init_callproc before changing terminal modes.
* xdisp.c (try_window_id): When computing ep, watch out for
invisible lines that follow the newline after the last change.
* window.c (Fset_window_point): Now works ok on selected window.
1988-01-17 Richard Stallman (rms@frosted-flakes)
* eval.c (Fdefconst, Fdefvar) doc fix.
* keymap.c (Fcopy_keymap): Several stupid errors.
* dired.c (file_name_completion): Wasn't calling readdir
for Unix; was doing so (instead of readfunc) on VMS.
* dired.c (Fdirectory_files): Don't call NAMLEN if dp is 0.
1988-01-16 Richard Stallman (rms@frosted-flakes)
* alloc.c (syms_of_alloc): Eliminate vars data-bytes-{free,used}.
They lose because values are over 24 bits.
* lread.c (read_list): delete `register' for val and tail.
* buffer.c (Fkill_buffer): delete `register' for buf and bufname.
* fns.c (Fy_or_n_p): delete `register' for xprompt.
* keymap.c (Fcopy_keymap): missing paren.
1988-01-15 Richard Stallman (rms@frosted-flakes)
* m-iris4d.h: Changes to support dumping.
* m-*.h: Doc fix for VIRT_ADDR_VARIES.
* unexec.c: Minor changes to mips code for IRIS_4D.
1988-01-11 Richard Stallman (rms@frosted-flakes)
* s-iris3-5.h, s-iris3-6.h: Don't #undef SIGIO. BROKEN_FIONREAD makes it unnec.
* process.c [IRIS]: Find sysmacros.h in sys/.
1988-01-09 Richard Stallman (rms@frosted-flakes)
* doprnt.c: New arg NARGS says how many args there are in ARGS.
Give an error if the string tries to use more than that many.
* callint.c (Fcall_interactively): Pass new arg to `doprnt'
* editfns.c (Fformat, format1):
* xdisp.c (message):
1988-01-07 Richard Stallman (rms@frosted-flakes)
* lread.c (init_obarray): Split the stmt `hash =' to avoid
a VACX bug.
* alloca.s [pyramid]: Keep sp a multiple of 32.
This preserves cache-block alignment.
1988-01-06 Richard Stallman (rms@frosted-flakes)
* s-hpux.h: Don't define nomultiplejobs, LDAV_SYMBOL, LIBS_DEBUG
or BROKEN_FIONREAD.
* m-hp9000s300.h: Define those four.
* s-hpux.h: Define BSTRING, and define bcopy, etc., as macros.
* sysdep.c [NEED_BSDTTY]: Include bsdtty.h.
(Flag is defined in m-hp9000s800.h)
* m-hp9000s800.h: New file.
* m-hp9000s300.h: New name for m-hp9000.h.
* sysdep.c: Split TIOCGLTC conditional into two, one on TIOCGETC.
* search.c (search_buffer): Avoid & of array static_BM_tab.
* alloca.s, crt0.c: Change hp9000 conditionals to hp9000s300.
1987-12-22 Richard Stallman (rms@frosted-flakes)
* alloca.s [WICAT]: Keep sp pointing at lowest word in use.
1987-12-17 Richard Stallman (rms@lucky-charms)
* unexec.c (make_hdr): Don't add A_TEXT_OFFSET to a_text
in the NO_REMAP case (when a_text comes from the old header).
* filelock.c: If no symlinks, use `stat' instead of `lstat'.
1987-12-14 Richard Stallman (rms@frosted-flakes)
* fileio.c (Fsubstitute_in_file_name): Allow underscore
in an env var name.
1987-12-09 Richard Stallman (rms@frosted-flakes)
* indent.c (Findent-to): Interactive code `N' instead of `n'.
* sysdep.c (execvp, rename): Omit these fns if VMS4_6.
* lread.c (oblookup): Split a statement to avoid VMS compiler bug.
1987-12-04 Richard Stallman (rms@frosted-flakes)
* data.c (sign_extend_temp): Moved from sysdep.c.
* data.c (sign_extend_lisp_int): Function to do sign-extend;
needed on some machines.
* keymap.c (Fcopy_keymap): Copy subkeymaps recursively.
* fileio.c (Fread_file_name): Don't crash if no env var HOME.
1987-12-03 Richard Stallman (rms@frosted-flakes)
* m-convex.h: New file.
1987-12-02 Richard Stallman (rms@frosted-flakes)
* process.c (wait_reading_process_input):
Don't set time_limit to -2; leave it as -1.
* s-usg5-3.h, m-intel386.h: New files.
1987-12-01 Richard Stallman (rms@frosted-flakes)
* process.c: Support for SYSV_PTYS.
* dired.c: New macros DIRENTRY and NAMLEN; support for sysV.3.
* sysdep.c: `closedir' function for sysV.3.
* crt0.c: Add code for Sun 4.
* m-sparc.h: New file.
* lread.c (read_list): Fix error message for ] in a list.
* fileio.c (Ffile_symlink_p): Call Fexpand_file_name.
1987-11-21 Richard Stallman (rms@frosted-flakes)
* print.c: Clean up doc string syntax and fix doc error for `print'.
1987-10-31 Richard Stallman (rms@sugar-smacks)
* editfns.c (Fformat): Realize doprint %-specs can contain - and space.
1987-10-30 Richard Stallman (rms@sugar-smacks)
* fns.c (Fy_or_n_p): Don't try to DOWNCASE -1.
1987-10-29 Richard Stallman (rms@frosted-flakes)
* fns.c (Fy_or_n_p): Protect `prompt' and `xprompt' from gc.
* fns.c (Fyes_or_no_p): Protect `prompt' from gc.
* lread.c (read_list): Protect `val' and `tail' from gc.
* buffer.c (Fkill_buffer): Protect `buf' and `bufname' from gc.
* fileio.c (barf_or_query_if_file_exists): Protect `absname'.
1987-09-17 Richard M. Stallman (rms@prep)
* Version 18.49 released.
* window.c (set_window_width):
Set windows_or_buffers_changed.
* scroll.c (calculate_scrolling): Initialize insertcount
of top edge cells to zero.
* dired.c (file_name_completion): Rearrange VMS conditionals
so that `readfunc' exists only on VMS. Apollo compiler
couldn't deal with it.
1987-09-16 Richard M. Stallman (rms@prep)
* m-sun2.h, m-sun3.h: Doc fix.
* sysdep.c (reset_sys_modes): Don't output anything
if have a read_socket_hook (i.e. under X).
1987-09-10 Richard M. Stallman (rms@prep)
* buffer.c (Fget_buffer_create): Test of mode-class property
of buffer's major mode was backwards.
1987-09-07 Richard Mlynarik (mly@prep)
* dired.c (file_name_completion):
Only filter `leaves' of filesystem structure with
completion_ignored_extensions -- don't eliminate directories.
If Vcompletion_ignored_extensions isn't a proper list, don't
eliminate all filenames.
* xterm.h (UNBLOCK_INPUT_RESIGNAL):
RESIGNAL_INPUT, not INPUT_RESIGNAL
1987-08-30 Richard M. Stallman (rms@prep)
* Version 18.48 released.
* xmenu.c (XEmacsMenu): Rename `sel' to `selidx'.
* unexec.c: Remove the CANNOT_UNEXEC code.
* m-apollo.h: Switch back to CANNOT_DUMP.
* emacs.c (Fdump_emacs): Don't call malloc_init if SYSTEM_MALLOC.
* emacs.c (main): ditto.
1987-08-20 Richard M. Stallman (rms@prep)
* fileio.c (Fwrite_region) [VMS]: Move gap to the closest place
(first newline after old gap).
1987-08-15 Richard M. Stallman (rms@prep)
* editfns.c (init_editfns): Handle getpwuid returning 0.
1987-08-14 Richard M. Stallman (rms@prep)
* casefiddle.c (casify_region): Use prepare_to_modify_buffer.
Don't call modify_region until the end.
* sysdep.c (reset_sys_modes): Output a bare CR
so kernel can track the cursor hpos.
1987-07-30 Richard M. Stallman (rms@prep)
* vmsfns.c (Fsetprv): Correct spelling SS$NORMAL => SS$_NORMAL.
Include <ssdef.h>.
1987-07-29 Richard Mlynarik (mly@prep)
* lread.c (init_read): Initialise load_in_progress.
1987-07-28 Richard M. Stallman (rms@prep)
* vmsfns.c (Fsetprv): Detect error from sys$setprv properly.
Add some privileges missing from the table.
1987-07-27 Richard M. Stallman (rms@prep)
* sysdep.c (creat_copy_attrs): Flush duplicate `else'.
1987-07-25 Richard M. Stallman (rms@prep)
* dispnew.c (update_screen): Use PENDING_OUTPUT_COUNT
in all appropriate places.
Fix a comment delimiter typo.
1987-07-24 Richard M. Stallman (rms@prep)
* keyboard.c (command_loop_1): Don't do direct output
if DoDsp is needed to erase a minibuffer message.
* keymap.c (describe_alist, describe_vector):
1. Output only one blank line in a row if multiple empty keymaps.
2. Chase through indirect keymap elements.
* keymap.c (describe_map_tree): Handle Flookup_key returning int
so C-x 4 bindings appear in the output.
* sysdep.c (sys_creat for VMS): Get all args via varargs,
no named args, to avoid incompatible change in VMS C.
1987-07-18 Richard M. Stallman (rms@prep)
* unexec.c (make-hdr): Split the stmts that use ADDR_CORRECT
into two stmts. Some compilers mysteriously barf on them.
* m-7300.h: Remove ADD_CORRECT (s-usg5-2.h does it).
Add LD_SWITCH_MACHINE and SWITCH_ENUM_BUG.
* m-amdahl.h: define STACK_DIRECTION.
* sysdep.c (random for VMS): subtract 1<<30, not 1<<14.
* fns.c (Fvconcat): Doc fix.
* window.c (Fcurrent_window_configuration): Doc fix.
* sysdep.c [VMS]: include file.h.
* sysdep.c (creat_copy_attrs) [VMS]: Minor fixes to prevent
invalid acL if there was no old version.
* dispnew.c (PENDING_OUTPUT_COUNT): New macro to get # chars
buffered in a stdio output stream.
* dispnew.c (update_screen): Use that macro.
Remove #ifndef VMS around the sleep when buffer is full.
* s-vms.h: Define nonstandard PENDING_OUTPUT_COUNT for VMS use.
* fileio.c (file_name_as_directory) [VMS]: Fix 3rd arg to strncmp.
1987-07-17 Paul Rubin (phr@prep)
* m-sun2.h: Add comment explaining that filename refers to
the OS version, not the CPU model number. People running
SunOS 3.2 on Sun 2 computers have been erroneously trying to
use this file, and losing.
1987-07-10 Chris Hanson (cph@prep)
* xterm.h: Define macros to abstract control of input signals.
Alternate set of macros for hp-ux does no signalling.
* xterm.c:
* xfns.c:
* xmenu.c:
Rewrite to use new input signal macros. Add conditionalizations
for hp-ux, mostly to eliminate references to `ButtonReleased' (I
don't know why, this is from wizards at HP Labs). Change
"xmenu.c" to eliminate unused include files, and reorder the
include files so that it compiles under hp-ux.
1987-06-29 Richard M. Stallman (rms@prep)
* fileio.c (Fwrite_region) [VMS]: Use creat_copy_attrs.
* sysdep.c (creat_copy_attrs) [VMS]: New function: open a file
for writing, copying attributes from another file.
* fileio.c (Ffile_writable_p): Exchange with Ffile_symlink_p.
Avoids mysterious cpp lossage on RT/PC.
* syntax.c: Disguise doc string of non-existent Lisp variable
`standard-syntax-table'.
1987-06-25 Richard M. Stallman (rms@prep)
* callproc.c (Fcall_process): On VMS, use NLA0: instead of /dev/null.
* term.c (term-init):
Don't use "nl" cap on VMS if it's a linefeed.
1987-06-23 Richard M. Stallman (rms@prep)
* sysdep.c (sys_creat) [VMS]: Use va_start, not va_start_1.
* sysdep.c (rename) [VMS]: Use SYS$RENAME not LIB$RENAME_FILE.
1987-06-18 Richard M. Stallman (rms@prep)
* sysdep.c (readdirver) [VMS]: Don't return bogus version number.
Don't lose stepping off end of directory entry.
Eliminate superfluous loop.
* fileio.c (file-name-as-directory) [VMS]:
Never append a slash. Fix erroneous return-with-no-value.
* dired.c (file_name_completion): For VMS, upcase the input.
* fns.c (Frandom): Doc fix.
* sysdep.c (random) [USG]: Subtract 1<<14 from value of rand()
so value range is centered on zero.
* sysdep.c (random) [VMS]: Likewise, and remove the code to
initialize the seed. Higher levels call srandom if seed should be set.
1987-06-15 Richard M. Stallman (rms@prep)
* fileio.c (Fwrite_region) [VMS]: Use `creat' to create
an auto-save file.
* Version 18.47 released.
* fileio.c (Fwrite_region): Check result from fsync.
1987-06-12 Chris Hanson (cph@prep)
* terminfo.c (tparam): Handle the outstring == 0 case by
allocating a result of the correct size.
1987-06-12 Richard M. Stallman (rms@prep)
* terminfo.c (tparam): Kludge the outstring == 0 case.
Accept (and ignore) the buffer-length argument.
* s-iris3-5.h: Remove defines of IRIS35 and PURESIZE.
* fileio.c (Fwrite_region) [VMS]:
Write under temp name and rename, to avoid auto-deletion
if writing fails. When moving gap to avoid extra newline,
move it only to the next newline.
1987-06-10 Richard M. Stallman (rms@prep)
* minibuf.c (Ftry_completion, Fall_completions):
GCPRO some strings when calling predicate.
* fileio.c (file_name_as_directory) [VMS]:
Recognize .dir in uc or lc and followed by either .1 or ;1.
* fileio.c (directory_file_name) [VMS]:
Append .DIR.1 in upper case.
* fileio.c: Delete calls to lower_case.
* fileio.c: #ifndef VMS around decls or errno, sys_errlist, etc.
* sysdep.c (getwd for VMS): Upcase the filename.
* sysdep.c (lower_case): Delete this function and all calls.
* dired.c (file_name_completion): Obey completion-ignore-case
by using scmp instead of bcmp.
1987-06-09 Richard M. Stallman (rms@prep)
* syntax.c: (scan_lists): Clear mathexit on 2nd math-char in a pair.
1987-06-08 Richard M. Stallman (rms@prep)
* Version 18.46 released.
* m-apollo.h: Define CANNOT_UNEXEC instead of CANNOT_DUMP.
* keyboard.c (get_char): Delete DEBUG-conditional code.
* process.c: Delete the IRIS ignore-SIGIOT kludge.
* sysdep.c: Declare sign_extend_temp regardless of machine type.
* sysdep.c (sys_access) [VMS pre 4.4]: Don't zero uic.
* sysdep.c (sys_access_reinit): New fn, called from
init_sys_modes, to clear uic.
* eval.c (grow_specpdl): Don't subtract old specpdl address
from new one; they are in different arrays.
Use correct args to Fsignal when reporting overflow.
* process.c (Fopen_network_stream): Don't create process object
until opens, etc. have succeeded.
1987-06-08 Chris Hanson (cph@prep)
* keyboard.c (read_avail_input): use `read_socket_hook' if it has
a value. This is required in hp-ux if `HAVE_X_WINDOWS' is
defined.
* process.c (wait_reading_process_input): conditionalize `select'
call for hp-ux.
1987-06-08 Richard M. Stallman (rms@prep)
* m-isi-ov.h: Cut SEGMENT_MAST in half. crl@purdue says so.
1987-06-06 Richard M. Stallman (rms@prep)
* tparam.c: Ifdef emacs, include config.h.
1987-06-05 Richard M. Stallman (rms@prep)
* m-apollo.h: Add #undef BSTRING.
* dispnew.c, keyboard.c: On VMS, don't include sys/ioctl.h.
* process.c (create_process): On IRIS, set forkin, forkout to -1
instead of opening them. Then don't use them later if they are -1.
* process.c (Fopen_network_stream): Allow integer as 4th arg
to specify foreign port number.
1987-06-03 Richard M. Stallman (rms@prep)
* m-amdahl.h: Add definitions of LD_SWITCH_MACHINE, EXEC_MAGIC,
SEGSIZ and SEGMENT_MASK. Turn on C_ALLOCA. From Jishnu Mukeji.
* eval.c (Fapply): Add missing parens in args to alloca;
args were too small. From Jishnu Mukeji.
1987-06-01 Richard M. Stallman (rms@prep)
* version 18.45.
* fileio.c (Finsert_file_contents): Always initialize fd.
1987-05-31 Richard M. Stallman (rms@prep)
* fileio.c: Move declarations of errno and friends to top of file.
* filelock.c: Likewise.
1987-05-29 Richard M. Stallman (rms@prep)
* process.c: #end => #endif.
1987-05-27 Richard M. Stallman (rms@prep)
* fileio.c (Fexpand_file_name) [VMS]:
Upcase all file names, not just absolute ones. Use Fupcase.
1987-05-26 Richard M. Stallman (rms@prep)
* fileio.c (Fdirectory_file_name) [VMS]:
Fix to expansion of VMS logical names.
* crt0.c [ISI68K]: Define asm sym isi68020.
* xdisp.c (display_string): Use current buffer's tab_width.
(display_text_line): Simplify XBUFFER (w->buffer) to bf_cur.
1987-05-23 Richard M. Stallman (rms@prep)
* alloc.c (init_alloc-once): Don't set Vpurify_flag.
* lread.c (init_obarray): Do it here, now that Qt is valid.
1987-05-22 Richard M. Stallman (rms@prep)
* m-targon31.h: Undefine VIRT_ADDR_VARIES.
* vmspaths.h: Convert to VMS syntax and upper case.
* lread.c (absolute_filename_p) [VMS]: '[' and '<' don't
make a pathname absolute.
1987-05-21 Richard M. Stallman (rms@prep)
* xterm.c (x_term_init): Don't set Vxterm and Vxterm1.
* xfns.c (syms_of_xfns): Don't set Vxterm and Vxterm1.
Delete Lisp variable `xterm'.
* dispnew.c (init_display): Initialize Vxterm to t or nil.
* keyboard.c (interrupt_signal): Check Vwindow_system
instead of Vxterm.
* sysdep.c (sys_access for VMS pre 4.4):
Turn on call to vmserrstr.
* sysdep.c (vmserrstr) [VMS]: Define this function.
* process.c (create_process) [IRIS]: Don't open the pty's tty
in the parent process. Open only once, in the child.
* xdisp.c (redisplay_window): If window-start points nowhere,
recenter the window to avoid a crash.
* fileio.c (Fwrite_region): Check for error from the close.
NFS reportedly can report out-of-space there.
1987-05-18 Richard M. Stallman (rms@prep)
* fileio.c (Fwrite_region): Always stat after the close.
* term.c (term_init): Spurious ' in error msg.
* cmds.c (SelfInsert): For newline, must auto-fill
before inserting it.
* keyboard.c (BROKEN_FIONREAD): config.h can #define this
to cause FIONREAD to be #undef'd.
* s-iris3-5.h, s-hpux.h: Define BROKEN_FIONREAD.
* indent.c (compute_motion): Typo in defn of HPOS.
1987-05-17 Richard M. Stallman (rms@prep)
* term.c: Pass 0 for buffer and length to tparam,
record the value returned as buffer to use, and free it later.
Each caller was changed.
* tparam.c (tparam): Take buffer length additional arg.
Malloc a buffer if that buffer is too small.
Return address of buffer actually used.
Add * and / as arithmetic operators.
* xdisp.c (message): Handle NO_ARG_ARRAY for call to doprnt.
1987-05-16 Richard M. Stallman (rms@prep)
* m-isi-ov.h: Define LIB_STANDARD to avoid bad interaction with
crt0 in ISI system 3.07.
* fileio.c (Ffile_name_as_directory) [VMS]: Special handling
for foo:[000000] where foo is a logical name.
1987-05-13 Richard M. Stallman (rms@prep)
* fileio.c (Fread_file_name) [VMS]: Bind completion-ignore-case to t.
* fileio.c (Fexpand_file_name) [VMS]: Upcase letters in filenames.
* sysdep.c (sys_access for VMS < 4.4):
Always get `uic' from the system.
* sysdep.c: New macro SETOSPEED to set the ospeed value
in a terminal-info structure. Definitions for USG and BSD.
Used in init_baud_rate.
1987-05-12 Richard M. Stallman (rms@prep)
* search.c (skip_chars, Fstring_match, scan_buffer):
Set immediate_quit over the scanning loops.
* vmspaths.h: Remove the comma from the load path.
Search only the standard directory.
* sysdep.c (sys_suspend): Delete spurious `*' from
declaration of `sigio'.
1987-05-12 Chris Hanson (cph@prep)
* regex.c (re_compile_fastmap):
Fix typo where `notsyntaxspec' neglected to look at its argument
byte, comparing with randomness.
1987-05-12 Richard M. Stallman (rms@prep)
* sysdep.c (sys_access for VMS pre 4.4):
Fix typo of `file' where `filename' was meant.
Avoid using `vmserrstr' since it's not defined.
* fileio.c (Finsert_file_contents):
On VMS, st.st_size > num_chars_read.
Use num_chars_read for the return value.
* cmds.c (SelfInsert): New 2nd arg, nonzero says don't
do auto fill.
* cmds.c (Fself_insert_command, Fnewline):
Pass nonzero to SelfInsert if have prefix arg.
* minibuf.c (Fself_insert_and_exit): 0 as 2nd arg to SelfInsert.
* keyboard.c (command_loop_1): likewise.
1987-05-11 Richard M. Stallman (rms@prep)
* keyboard.c, s-hpux.h, s-iris3-5.h:
Eliminate the hpux/iris conditional from keyboard.c.
Now the s- files do #undef FIONREAD.
* buffer.c (Fkill_buffer): Do nothing rather than kill
the sole remaining buffer. Prevent quits during actual killing.
1987-05-05 Richard Mlynarik (mly@prep)
* m-irist.h: New version from raible@orville.arpa
* s-iris3-5.h: New file. (s-usg5-2 with additions)
* keyboard.c:
IRIS, like HPUX, #defines but does not implement FIONREAD.
* window.c, keyboard.c, sysdep.c:
Remove some unused local variables.
1987-05-04 Richard M. Stallman (rms@prep)
* dired.c (Ffile_attributes): Doc fix.
* term.c (term_init): Mention `unsetenv TERMCAP' in
error message for invalid TERM variable.
1987-04-27 Richard Mlynarik (mly@prep)
* fileio.c (APOLLO from lnz):
(Fcopy_file, Fset_file_modes): Don't use un*x modes if
env var USE_DOMAIN_ACLS is set.
(Fset_file_modes): utimes fix.
(Finsert_file_contents): Must do fstat after open for Apollo.
* emacs.c (main): (APOLLO from lnz):
Don't use un*x modes if env var USE_DOMAIN_ACLS set.
1987-04-25 Richard Mlynarik (mly@prep)
* unexec.c:
CANNOT_UNEXEC Code from lnz (from rps@apollo).
Similar to vmsmap.c.
* sysdep.c: (APOLLO from lnz)
init_baud_rate: Make sure ospeed is initialized even if ioctl fails.
wait_for_termination: can sigpause.
init_sys_modes: moved static structures out.
1987-04-23 Richard Mlynarik (mly@prep)
* malloc.c, vmsmap.c: (VMS)
Define and use our own `sbrk' since malloc and the RTL sbrk don't
interact very well.
(sasaki@harvard.harvard.edu <8704220244.AA02324@prep>)
1987-04-15 Richard Mlynarik (mly@prep)
* dispnew.c: (VMS) Flush TIOCOUTQ stuff (meaningless on VMS)
* fileio.c, sysdep.c: (VMS)
Rename "define-logical-name" => "define-dcl-symbol"
* m-irist.h:
New file from raible@orville.arpa for iris machine
(`3.5 turbo'). (<8704150216.AA21012@orville.arpa>)
* unexec.c: iris code (is USG, but has struct exec)
* sysdep.c: iris utimes emulation. (HAVE_TIMEVAL)
* process.c: (IRIS)
#include <sysmacros.h>
pty: Unusual iris pty-finding code.
IRIS_ignore_SIGIOT_kludge, init_process:
Iris pty's have some unknown bug which seems to cause spurious
SIGIOTs. Can somebody please delve into the reasons behind
this lossage?
1987-04-15 Paul Rubin (phr@prep)
* version 18.44 released.
1987-04-14 Paul Rubin (phr@prep)
* config.h:
Increase PURESIZE to 115800 from 115600.
1987-04-14 Richard Mlynarik (mly@prep)
* termcap.c (tgetent) (VMS):
File is in emacs_library:[etc]termcap.dat
(TUNG@WAIF.MIT.EDU <8704130324.AA10879@prep.ai.mit.edu>)
1987-04-10 Richard Mlynarik (mly@prep)
* window.c (Fset_window_configuration):
Don't unchain markers -- this window configuration may be used
again. Let normal GC unchain them.
1987-04-08 Richard Mlynarik (mly@prep)
* m-vax.h: (USG 5.2)
define NO_REMAP to kludgily bypass unexec bug.
(We don't have such a machine here, so -we- can't find the bug!)
(Karl.Kleinpaste <205@cbstr1.att.com>)
1987-04-07 Richard Mlynarik (mly@prep)
* indent.c (compute_motion):
Use special code for HPOS if SHORT_CAST_BUG.
* m-celerity.h, m-att3b.h, m-ibmrt.h, m-sequent.h:
Define SHORT_CAST_BUG.
1987-04-06 Richard Mlynarik (mly@prep)
* malloc.c (morecore):
Don't assume sbrk clears memory to 0's.
* indent.c (compute_motion): Special-case HPOS for sequent.
(iglesias@ICS.UCI.EDU <8704061703.AA26816@prep.ai.mit.edu>)
* regex.c:
Fix bug in which "t\(.*\) .*\1" didn't match
"tom hates tomatoes" from Tom May @ Washington.
(<8703241000.AA21146@beaver.cs.washington.edu>)
* sysdep.c (getwd): (USG)
Change first arg (0) to getcwd to (char *) 0
Also, call `free' on value returned (after we save it)
1987-03-22 Richard M. Stallman (rms@prep)
* Version 18.41 released.
* emacs.c (main): Call syms_of_xmenu only if HAVE_X_MENU.
* ymakefile: Use new switch HAVE_X_MENU to decide whether
to include xmenu.c
* config.h-dist: Tell people about this flag.
1987-03-20 Richard Mlynarik (mly@prep)
* filemode.c: Hacks for set-uid/gid but not executable.
1987-03-20 Richard M. Stallman (rms@prep)
* sysdep.c [VMS]: include window.h.
* sysdep.c (wait_for_kbd_input) [VMS]:
Also detect and handle input from subprocesses.
* fileio.c (Fread_file_name_internal) [VMS]: At end, check
length of NAME, not STRING.
* emacs.c (main) [VMS]: If SHAREABLE_LIB_BUG, declare `environ'
noshare and initialize it from `envp'.
1987-03-20 Chris Hanson (cph@prep)
* process.c (pty): On hp-ux, do not enable TIOCREMOTE. See the
code for a comment explaining why.
1987-03-19 Richard M. Stallman (rms@prep)
* sysdep.c: Omit start_of_{data,text} if CANNOT_DUMP and SYSTEM_MALLOC.
* m-apollo.h: Define START_FILES.
* sunfns.c (syms_of_sunfns): Syntax error in comment.
* sysdep.c (getwd) [USG]:
Copy the value of getcwd into pathname.
Supposedly needed on Altos 3068.
1987-03-18 Richard M. Stallman (rms@prep)
* Version 18.40 released.
* fileio.c (Finsert_file_contents): On VMS, # bytes read
may be less than st.st_size. Use actual # read for recording undo.
* fileio.c, termcap.c: Change funny VMS-format #includes
to standard Unix format.
1987-03-17 Richard M. Stallman (rms@prep)
* unexec.c (copy_text_and_data): A_TEXT_SEEK if defined controls
where in the file to start writing the text segment.
* m-isi-ov.h: Define A_TEXT_SEEK and A_TEXT_OFFSET.
* s-umax.h: Define C_SWITCH_ASM so as to make `asm' work.
* ymakefile: Provide C_SWITCH_ASM when compiling crt0.c.
* unexec.c [UMAX]: Don't include filehdr.h, etc.
* bytecode.c (Fbytecode):
Another SWITCH_ENUM_BUG problem.
* sysdep.c: If not HAVE_TERMIO, override any definition of TCSETAW.
Ultrix 2.0 has a TCSETAW but it requires a struct termio.
Since HAVE_TERMIO is not set, sysdep uses struct sgttyb,
and the real TCSETAW does not work with this.
* sysdep.c (getwd): Discard everything before first slash.
* termcap.c (tgetent): Delete VMS code to delete / from filename.
* termcap.c (legal_filename_p): Use symbolic constant.
* sysdep.c (sys_abort) [VMS]: New function; calls debugger.
* sysdep.c (sys_access) [VMS]: Completely rewritten.
Now two versions, one for VMS 4.4 and one for older VMS.
* sysdep.c (sys_errlist) [VMS]: Insert missing elt for error code 0.
* sysdep.c (get_system_name) [VMS]: Remove :: from end of node name.
* sysdep.c (end_kbd_input) [VMS]: Don't wait if within ast rtn.
* sysdep.c (kbd_input_ast) [VMS]: Set ast_active to 1 while in
this fn.
* sysdep.c: Add missing ; after use of BAUD_CONVERT.
* term.c (term_init): Don't use Down on VMS if it's a ^J.
Fix C syntax errors in fatal error message.
Distinguish failure to open termcap file from undefined term type.
* s-vms.h: Increase DATA_START by 512. #define abort sys_abort.
Flush LIBS_DEBUG defn since ymakefile not used.
Delete mention of GET_RIGHTS.
* m-vax.h [VMS]: Define LOAD_AVE_TYPE and C_ALLOCA.
* keyboard.c: Undefine SIGIO only if it's defined.
* keyboard.c (interrupt_signal) [VMS]:
Try suspending in case it works.
* fns.c (Fload_average): Make eunice code work on native VMS also.
Put the no-load-average case first for simplicity.
* fileio.c (directory_file_name [VMS]: Use SYS$PARSE
for [--] and other such constructs.
* fileio.c (Fexpand_file_name) [VMS]: Handle negative version #s.
* doc.c: Don't include paths.h
* callproc.c (init_callproc): Make Vexec_directory
using Ffile_name_as_directory.
* alloc.c: Remove defns of `sdata' and `edata'.
1987-03-16 Richard M. Stallman (rms@prep)
* fns.c (Fy_or_n_p): Restore cursor_in_echo_area to previous value.
* m-ibmrt.h: Define SKTPAIR only if BSD.
* Makefile: Default is now `all', which tells
xmakefile to make `all'.
* ymakefile: Make emacstool by way of etc/Makefile.
* emacs.c (main): Don't mention SIGEMT if it's not defined.
1987-03-14 Richard M. Stallman (rms@prep)
* Version 18.39 released.
* s-umax.h: Add definition of SEGMENT_MASK.
Delete definition of LIBS_SYSTEM.
* align.umax: File deleted.
* emacs.c (main): Don't mention syms_of_vmsfns explicitly.
* s-vms.h: Use SYMS_SYSTEM to call syms_of_vmsfns.
* config.h-dist: Remove VMS conditional for PURESIZE.
* s-vms.h: Define PURESIZE.
* m-sun2.h: Define PURESIZE, if HAVE_SUN_WINDOWS.
1987-03-13 Richard M. Stallman (rms@prep)
* sysdep.c: Don't redefine TCSETAW if already defined.
(Cancelled by change on March 17).
* sunfns.c: New file containing interface to Sun windows.
This is enabled by the switch HAVE_SUN_WINDOWS.
* m-sun2.h: If HAVE_SUN_WINDOWS, include sunfns.c
via OBJECTS_MACHINE and SYMS_MACHINE.
* emacs.c (main): Allow SYMS_SYSTEM and SYMS_MACHINE
to control calling of extra syms_of_... functions.
* ymakefile (OBJECTS_MACHINE, OBJECTS_SYSTEM):
Provide for m- and s- files to specify additional object
files to link into temacs.
1987-03-12 Richard M. Stallman (rms@prep)
* fileio.c (Fsysnetunam): Make this function conditional on
HPUX_NET, not on HPUX.
* s-hpux.h: Make use of -ln switch depend on HPUX_NET.
Define HPUX_NET in config.h if you have that version of HPUX.
* unexec.c (adjust_lnnoptrs) [amdahl_uts]:
Alternative names for struct symentry and struct auxentry.
* sysdep.c [amdahl_uts]: Define sign_extend_temp as on ATT3B.
* m-amdahl.h: New file.
1987-03-12 Richard Mlynarik (mly@prep)
* sysdep.c (child_setup_tty):
HPUX: Set baud-rate to 9600 (not 38400)
For some reason the former is reported to work faster(!?)
1987-03-10 Richard M. Stallman (rms@prep)
* dispnew.c (init_display): Declare alternate_display only if X.
1987-03-09 Richard M. Stallman (rms@prep)
* m-alliant.h, crt0.c (for alliant):
Must save _curbrk when dumping (from ADJUST_EXEC_HEADER)
and restore it in crt0, because _curbrk itself isn't dumped.
* unexec.c: Add a separate unexec routine for mips machines.
No code is shared with normal unexec.
1987-03-08 Richard M. Stallman (rms@prep)
* sysdep.c (baud_convert): Use new macro BAUD_CONVERT
to override the standard conversion table.
Use standard table if macro's not defined.
* s-vms.h, s-hpux.h: Definitions of BAUD_CONVERT.
* editfns.c (Fsubst_char_in_region):
Call modify_buffer before changing it, and pass entire region.