1. 24 Nov, 1993 1 commit
  2. 10 Nov, 1993 1 commit
  3. 10 Sep, 1993 1 commit
  4. 14 Aug, 1993 2 commits
  5. 12 Aug, 1993 1 commit
  6. 10 Aug, 1993 1 commit
  7. 08 Aug, 1993 1 commit
    • Richard M. Stallman's avatar
      (Vinvocation_directory): New var. · ace40a69
      Richard M. Stallman authored
      (init_cmdargs): Set up its value.
      (Finvocation_directory): New function.
      (main): Call init_buffer, init_callproc and init_cmdargs
      before init_lread.
      (syms_of_emacs): Install the function, and protect the variable.
      ace40a69
  8. 27 Jul, 1993 1 commit
  9. 30 Jun, 1993 1 commit
  10. 19 Jun, 1993 1 commit
  11. 18 Jun, 1993 1 commit
    • Jim Blandy's avatar
      Changes for Irix 4.0, tested this time: · 5a570e37
      Jim Blandy authored
      	* s/irix4-0.h: Get rid of our fake definitions for setpgrp and
      	getpgrp.
      	* callproc.c (Fcall_process): Go ahead and use the USG calling
      	convention for setpgrp.
      	* ymakefile (pre-crt0.o): Add rule for this.  Perhaps it will help
      	separate-source-directory compilation.
      	* emacs.c (shut_down_emacs): Some USG systems #define
      	EMACS_HAVE_TTY_PGRP; call getpgrp as appropriate for such systems.
      	* sysdep.c (sys_suspend): Call getpgrp as appropriate for USG and
      	non-USG.
      	* process.c [IRIX] (create_process): Don't put child in process
      	group zero before opening the tty; Irix is like USG in this
      	regard.
      5a570e37
  12. 17 Jun, 1993 1 commit
    • Jim Blandy's avatar
      Changes for correct pgrp behavior; approach suggested by Bob · 856a73b3
      Jim Blandy authored
      	Glickstein <bobg@zindigo.z-code.com>:
      	* m/iris4d.h (LIB_STANDARD): Do list -lbsd here.
      	* s/irix4-0.h (getpgrp, setpgrp): #define these to call BSDgetpgrp
      	and BSDsetpgrp.
      	(GETPGRP_NO_ARG): Don't #define this.
      	* emacs.c (main): Don't test GETPGRP_NO_ARG.
      	* sysdep.c (sys_suspend): Don't test GETPGRP_NO_ARG.
      856a73b3
  13. 13 Jun, 1993 1 commit
  14. 11 Jun, 1993 1 commit
    • Jim Blandy's avatar
      Interact properly with shells lacking job control (sh, rc, es...) · 9ae8f997
      Jim Blandy authored
      	* sysdep.c [BSD] (inherited_pgroup): New variable.
      	(narrow_foreground_group, widen_foreground_group): New functions.
      	(init_sys_modes): Call narrow_foreground_group.
      	(reset_sys_modes): Call widen_foreground_group.
      	* emacs.c [BSD] (inherited_pgroup): Add extern declaration.
      	[BSD] (main): Set inherited_pgroup, and put ourselves in our own
      	pgroup.
      9ae8f997
  15. 03 Jun, 1993 1 commit
  16. 02 Jun, 1993 1 commit
  17. 30 May, 1993 1 commit
  18. 29 May, 1993 1 commit
  19. 28 May, 1993 1 commit
  20. 22 May, 1993 1 commit
  21. 19 May, 1993 1 commit
    • Jim Blandy's avatar
      Some changes from Michael K. Johnson for Linux. · 00eaaa32
      Jim Blandy authored
      	* sysdep.c (sys_siglist): Don't define this if HAVE_SYS_SIGLIST is
      	#defined.  That lets the system provide it, if it has it.
      	* syssignal.h (sigmask): Only define this if <signal.h> hasn't
      	given us a definition already.
      	* syssignal.h (sys_sigpause): Fix argument in prototype.
      	* sysdep.c (init_signals): The masks are called empty_mask and
      	full_mask, not signal_empty_mask and signal_full_mask.
      	(signal_handler_t): Moved ....
      	* syssignal.h: ... to here.
      	* systty.h (EMACS_SET_TTY_PGRP): Call tcsetpgrp with the correct
      	arguments.
      	* emacs.c (main): Don't try to establish signal handlers for
      	SIGBUS and SIGSYS unless they're actually #defined.
      00eaaa32
  22. 06 May, 1993 1 commit
  23. 04 May, 1993 1 commit
    • Jim Blandy's avatar
      * emacs.c (SEPCHAR): Instead of defining this to be ',' on VMS and · 4b163808
      Jim Blandy authored
      	':' elsewhere, just have it default to ':' if not #defined, and
      	#define it to be ',' in s/vms.h; OS/2 will need it to be ';'.
      	* s/vms.h (SEPCHAR): #define this to be ','.
      	* s/template.h (SEPCHAR): Mention this.
      
      	Changes for Emacs 19 from Thorsten Ohl <ohl@chico.harvard.edu>:
      	* s/mach2.h: copied from the Emacs 18.59 distribution.
      	Don't define NO_REMAP, define START_FILES as
      	`pre-crt0.o' instead.  Define LIB_MATH as `-lm', to override the
      	default `-lm -lc' (there is no libc on the NeXT).
      	* ymakefile (STARTFILES): Allow config.h to set this value even if
      	ORDINARY_LINK is defined.
      	* unexnext.c: Fix subdirectories for the machine dependent include
      	files for NeXTStep 3.0; #include <mach/mach.h> and
      	<mach-o/loader.h> instead of <mach.h> and <sys/loader.h>.
      	(getsectbyname): Remove prototype for this; the system #include
      	files take care of that.
      	(malloc_cookie): New variable.
      	(unexec_doit): Set malloc_cookie to the result returned by
      	malloc_freezedry.
      	* emacs.c (main): Declare malloc_cookie to be extern, so that we can
      	get the value set when we dumped and pass it to malloc_jumpstart.
      	* systime.h: The NeXT has a timezone function.
      4b163808
  24. 31 Mar, 1993 1 commit
    • Jim Blandy's avatar
      Put interrupt input blocking in a separate file from xterm.h. · 9ac0d9e0
      Jim Blandy authored
      	This isn't specific to X, and it allows us to avoid #including
      	xterm.h in files that don't really have anything to do with X.
      	* blockinput.h: New file.
      	* xterm.h (BLOCK_INPUT, UNBLOCK_INPUT, TOTALLY_UNBLOCK_INPUT,
      	UNBLOCK_INPUT_RESIGNAL): These are now in blockinput.h.
      	(x_input_blocked, x_pending_input): Deleted; there are analogs
      	in blockinput.h called interrupt_input_blocked and
      	interrupt_input_pending.
      	* keyboard.c (interrupt_input_blocked, interrupt_input_pending):
      	New variables, used by the macros in blockinput.h.
      	* xterm.c: #include blockinput.h.
      	(x_input_blocked, x_pending_input): Deleted.
      	(XTread_socket): Test and set interrupt_input_blocked and
      	interrupt_input_pending instead of the old variables.
      	* alloc.c, xfaces.c, xfns.c, xmenu.c, xselect.c, keymap.c:
      	#include blockinput.h.
      	* eval.c: #include blockinput.h instead of xterm.h.
      	* keyboard.c: #include blockinput.h.
      	(input_poll_signal): Just test
      	interrupt_input_blocked, instead of testing HAVE_X_WINDOWS and
      	x_input_blocked.
      
      	Block the processing of interrupt input while we're manipulating the
      	malloc heap.
      	* alloc.c: (xfree): New function, to make it easy to free things
      	safely.
      	(xmalloc, xrealloc): Block X input while doing the deed.
      	(VALIDATE_LISP_STORAGE, gc_sweep, compact_strings): Use xfree
      	instead of free.
      	(uninterrupt_malloc): New function, to install input-blocking
      	hooks into the GNU malloc routines.
      	* emacs.c [not SYSTEM_MALLOC] (main): Call uninterrupt_malloc
      	on startup.
      	* alloc.c: (make_interval, make_float, Fcons, Fmake_vector,
      	Fmake_symbol, Fmake_marker, make_uninit_string, Fgarbage_collect):
      	Use xmalloc instead of malloc; don't bother to check if out of
      	memory here.
      	(Fgarbage_collect): Call xrealloc instead of realloc.
      	* buffer.c: Use xmalloc and xfree instead of malloc and free;
      	don't bother to check if out of memory here.
      	(Fget_buffer_create): Put BLOCK_INPUT/UNBLOCK_INPUT pair around
      	calls to ralloc routines.
      	* insdel.c: Same.
      	* lisp.h (xfree): New extern declaration.
      	* xfaces.c (xfree): Don't #define this to be free; use the
      	definition in alloc.c.
      	* dispnew.c, doc.c, doprnt.c, fileio.c, lread.c, term.c, xfns.c,
      	xmenu.c, xterm.c: Use xfree instead of free.
      	* hftctl.c: Use xfree and xmalloc instead of free and malloc.
      	* keymap.c (current_minor_maps): BLOCK_INPUT while calling realloc
      	and malloc.
      	* search.c: Since the regexp routines can malloc, BLOCK_INPUT
      	while runing them.  #include blockinput.h.
      	* sysdep.c: #include blockinput.h.  Call xfree and xmalloc instead
      	of free and malloc.  BLOCK_INPUT around routines which we know
      	will call malloc.
      
      	ymakefile (keyboard.o, keymap.o, search.o, sysdep.o, xfaces.o,
      	xfns.o, xmenu.o, xterm.o, xselect.o, alloc.o, eval.o): Note that
      	these depend on blockinput.h.
      9ac0d9e0
  25. 28 Mar, 1993 1 commit
  26. 22 Mar, 1993 1 commit
  27. 20 Mar, 1993 1 commit
    • Jim Blandy's avatar
      * emacs.c (Finvocation_name): New function. · 59653951
      Jim Blandy authored
      	(Vinvocation_name): New variable.
      	(init_cmdargs): Set it.
      	(syms_of_emacs): defsubr Finvocation_name, staticpro and
      	initialize Vinvocation_name.
      	* lisp.h (Vinvocation_name): New extern declaration.
      	* xterm.c (invocation_name): Variable deleted; use
      	Vinvocation_name now.
      	(x_text_icon, x_term_init): Use Vinvocation_name now instead of
      	invocation_name.
      	(x_term_init): Don't initialize invocation_name.
      	(syms_of_xterm): Don't initialize or staticpro invocation_name.
      	* xfns.c (invocation_name): Remove extern declaration for this.
      	[HAVE_X11] (Fx_get_resource): Use Vinvocation_name now instead of
      	invocation_name.
      	[not HAVE_X11] (Fx_get_default): Same.
      59653951
  28. 11 Mar, 1993 1 commit
    • Jim Blandy's avatar
      * emacs.c (__do_global_ctors, __do_global_ctors_aux, · a90538cb
      Jim Blandy authored
      	__do_global_dtors, __CTOR_LIST__, __DTOR_LIST__, __main): Don't
      	define these if ORDINARY_LINK is #defined; in that case, the
      	standard linking procedure will find definitions for these.
      
      	* emacs.c (main): SIGIOT isn't defined on all systems; don't set
      	its signal handler unless it is.
      a90538cb
  29. 23 Feb, 1993 1 commit
  30. 22 Feb, 1993 1 commit
  31. 26 Jan, 1993 1 commit
  32. 14 Jan, 1993 1 commit
    • Jim Blandy's avatar
      * emacs.c (shut_down_emacs): New function. · 40be253a
      Jim Blandy authored
      	(fatal_error_signal, Fkill_emacs): Call it, instead of writing it out.
      	* xterm.c (x_connection_closed): Call shut_down_emacs instead of
      	Fkill_emacs; the latter will try to perform operations on the X
      	server and die a horrible death.
      	* lisp.h (shut_down_emacs): Add extern declaration for it.
      40be253a
  33. 23 Oct, 1992 1 commit
  34. 11 Oct, 1992 2 commits
  35. 06 Oct, 1992 1 commit
  36. 01 Oct, 1992 1 commit
  37. 23 Sep, 1992 1 commit
  38. 14 Sep, 1992 1 commit