1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00
Commit Graph

256 Commits

Author SHA1 Message Date
Richard M. Stallman
9076a6fce1 (etags, ctags): Make VERSION a string constant. 1994-04-23 07:19:07 +00:00
Richard M. Stallman
cc58274337 (print_version): Print VERSION as a string. 1994-04-23 07:08:49 +00:00
Richard M. Stallman
f3309b68f7 (readline): Fix updating of p when buffer grows. 1994-04-20 20:04:20 +00:00
Karl Heuer
c6207d0d29 (blessmail): New target.
${archlibdir}: Use blessmail when installing movemail.
1994-04-20 05:32:33 +00:00
Richard M. Stallman
1ddb69784b (readline): When extending the buffer,
calculate end afresh using the new size.
1994-04-19 00:17:46 +00:00
Francesco Potortì
3ad2882cd3 * etags.c (main, print_help): eliminate the -F option. 1994-04-18 17:07:19 +00:00
Francesco Potortì
1875d99443 * etags.c (absolute_filename): compare against '\0' instead of NULL. 1994-04-18 10:54:42 +00:00
Richard M. Stallman
29ed054212 Renamed from Makefile.in.
Makefile.in is now generated from it, and then preprocessed.
Change comments to C syntax.
Include config.h.
(LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
(LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
1994-04-16 04:46:43 +00:00
Richard M. Stallman
c01fd07719 (gettimeofday): If system doesn't have this, define it to give a fatal error. 1994-04-14 12:01:31 +00:00
Richard M. Stallman
29beb080a9 [HAVE_UNISTD_H]: Include unistd.h. 1994-04-13 22:23:24 +00:00
Richard M. Stallman
1ddff51c65 #undef static.
(etags_getcwd): Initialize bufsize.
1994-04-12 15:21:25 +00:00
Karl Heuer
d5216c2003 (main): Use setuid, not seteuid. 1994-04-12 01:28:10 +00:00
Francesco Potortì
6dd5561c8a * etags.c (outf, outfiledir): renamed to tagf, tagfiledir.
(PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs,
	Scheme_funcs, prolog_funcs): renamed to Fortran_functions,
	Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
	TeX_functions, Prolog_functions.
	(inf): no more a global variable.
	(C_entries): take 2nd parameter `inf' instead of using the global one.
	(find_entries): added the cp1 var for optimisation.
	(find_entries): added more suffixes for assembler files.
	(Asm_funcs): Now finds labels even without an ending colon.
1994-04-08 14:36:25 +00:00
Richard M. Stallman
63cf923df4 (main): Fix up MAIL_USE_MMDF conditional where
the indesc open was moved inside a fork.
Handle MAIL_USE_LOCKF.
(MAIL_USE_SYSTEM_LOCK): New conditional macro.
Define it if either MAIL_USE_FLOCK or MAIL_USE_LOCKF.
1994-04-05 23:04:36 +00:00
Francesco Potortì
b02c5fea90 * etags.c (main): use etags_getcwd for compatibility.
(etags_getcwd): new function.
1994-03-30 12:04:41 +00:00
Richard M. Stallman
6f5e9c436c (etags, ctags): Pass -D for VERSION. 1994-03-25 18:34:05 +00:00
Francesco Potortì
32daa21619 * etags.c (emacs_tags_format, ETAGS): removed. Use CTAGS instead.
(main): don't allow the use of -t and -T in etags mode.
	(print_help): don't show options enabled by default.
	(print_version): show the emacs version number if VERSION is #defined.
	(find_entries): add "ss" as suffix for Chez Scheme.
1994-03-25 14:31:24 +00:00
Francesco Potortì
46c145db6c * etags.c (cwd, outfiledir): vars added.
(relative_filename, absolute_filename, absolute_dirname):
	functions added to compute filenames in tags files.
	(process_file): filenames in tags file are relative to the
	directory where the tags file is (useful with the -o option).
	(main): initialise the outfiledir var.
	(TYPEDST): added the `tignore' value.
	(C_entries): corrected various small bugs.
1994-03-23 18:27:19 +00:00
Richard M. Stallman
62039e5ab3 (UTILITIES): `env' deleted.
(env): Target deleted.
1994-03-20 02:05:29 +00:00
Richard M. Stallman
4ef7b41316 (install, ${archlibdir}): Switch back to .. before running INSTALL_PROGRAM. 1994-03-14 22:10:04 +00:00
Richard M. Stallman
e3515d10e7 Clean up indentation and whitespace. 1994-03-05 21:53:42 +00:00
Richard M. Stallman
902a54b2c7 (main): Change delimiter from "^L" to "^_^L".
Allow for text following "BABYL OPTIONS:".
Add --help option.  Use argv[0] in error messages.
1994-03-05 21:49:26 +00:00
Richard M. Stallman
1518a9eb45 (main) [HAVE_SYSVIPC]: Make msgp->mtext longer if necessary.
On HPUX, error if it's more than 512 chars.
1994-03-05 21:42:57 +00:00
Karl Heuer
88d00c7e26 (main): Change delimiter from "^L" to "^_^L".
Allow for text following "BABYL OPTIONS:".
Add --help option.  Use argv[0] in error messages.
1994-03-03 18:11:32 +00:00
David J. MacKenzie
aceb65a6b9 Use GPL. 1994-02-27 03:53:03 +00:00
David J. MacKenzie
3b48c1f4b7 *** empty log message *** 1994-02-27 03:51:02 +00:00
David J. MacKenzie
91264a4aa5 Use GPL. 1994-02-27 03:49:57 +00:00
David J. MacKenzie
2b24132f97 Initial revision 1994-02-27 03:45:52 +00:00
David J. MacKenzie
530715fea1 Update GPL. 1994-02-27 03:39:25 +00:00
David J. MacKenzie
566c662e1c * make-path.c (main): Return 1 on error, not -1. Update GPL. 1994-02-27 03:38:56 +00:00
David J. MacKenzie
0034580904 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc.
(xmalloc, xrealloc): Return char *, not int.
	(error): Write to stderr, not stdout.
1994-02-27 03:35:26 +00:00
Karl Heuer
1c1fce3feb (main, get_time): Don't crash on invalid input. 1994-02-23 17:43:05 +00:00
Karl Heuer
bae98299b4 (get_time): Simplify; avoid calling index.
(main): exit on EOF.
1994-02-22 19:22:11 +00:00
Francesco Potortì
14c90d01c5 * etags.c (--absolute-pathnames): this option removed. 1994-02-17 18:01:38 +00:00
Richard M. Stallman
fbffe7d987 (put_line): Don't break the line if it all fits. 1994-02-16 20:53:00 +00:00
Francesco Potortì
1a0d8c8069 * etags.c (absolute_pathnames, cwd): added global vars.
(longopts, print_help, main, process_file): put absolute filenames
	in the tag file if the -A --absolute-pathnames option is used.
	(print_help): alfabetically order the options.
	(malloc, realloc, strcpy, strncpy, strcmp): remove extern declar.
1994-02-14 14:28:22 +00:00
Richard M. Stallman
07ff9ea94b (C_SWITCH_MACHINE): Get this from autoconf.
(ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
1994-02-09 09:13:05 +00:00
Richard M. Stallman
9e3891de7c (main) [HAVE_SYSVIPC]: Reverse test of fork value. 1994-02-08 23:57:30 +00:00
Richard M. Stallman
f9356baa5d Initial revision 1994-02-07 01:05:54 +00:00
Richard M. Stallman
379fb9c8bb (profile): New target.
(UTILITIES): Mention profile.
1994-02-05 04:58:38 +00:00
Richard M. Stallman
f8998fa90c Include errno.h; don't include fasync.h.
(schedule): Don't return a value.
(sigcatch): Reestablish the handler first.
(getevent): Always call notify at the end.
(notify): Defer alarms around the whole body of function.

(main): Don't request SIGIO, and don't handle it.
Loop calling getevent.
(sigcatch): Delete code to handle SIGIO.
If defer_alarms is set, don't call notify, just set alarm_deferred.
(getevent): Use read, not getchar.  Handle EINTR and EAGAIN.
Set defer_alarms around realloc and schedule.
If alarm_deferred gets set, call notify.
Likewise if this event is the only pending event.
Make buf and buf_size global variables.
Don't malloc buf if it is already non-zero.
(schedule): Just exit if run out of memory.
Return the number of events.
(signal) [_CX_UX]: Add #undef.
1994-01-19 15:12:34 +00:00
Roland McGrath
069ad9ead4 Make the argument list output look more like the Lisp docstrings do.
(write_c_args): Take new arg FUNC.  Make output look like lisp call
prototypes: (function ARG1 ARG2), upcasing arg names.
(scan_c_file): Pass BUF to write_c_args for FUNC arg.
1994-01-16 08:35:01 +00:00
Francesco Potortì
42680d3c7c * etags.c (stab_entry, stab_create, stab_find, stab_search,
stab_type, add_keyword, C_reate_stab, C_create_stabs): deleted.
	Use gperf generated hash table instead of linked list.
	(C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): added.
	Mostly code generated by gperf.
	(consider_token): removed unused parameter `lp'.
	(PF_funcs, getit): allow subroutine and similar declarations
	to span multiple lines.
	(C_entries): check for newline if inchar to avoid bus errors.
	(process_file, find_entries): distinguish among nonexistent
	and not regular file.
1994-01-14 17:02:11 +00:00
Richard M. Stallman
817b371ce0 [USG] (SIGIO): Define as SIGPOLL.
(main) [USG]: Do ioctl to enable SIGPOLL.
1994-01-12 04:48:56 +00:00
Roland McGrath
e5f7ea6858 [! HAVE_STRERROR] (strerror): Define the function. 1994-01-09 01:00:04 +00:00
Roland McGrath
03c71d897f Declare strerror. 1994-01-08 22:28:39 +00:00
Roland McGrath
2771160004 [! HAVE_STRERROR] (strerror): Define the function. 1994-01-08 22:27:30 +00:00
Roland McGrath
dbc52c10f4 Don't declare sys_errlist; declare strerror instead.
(schedule, main): Call strerror instead of using sys_errlist.
1994-01-08 21:52:28 +00:00
Roland McGrath
3935665143 (get_errmsg, pfatal_with_name, pfatal_and_delete): Call strerror instead of
using sys_errlist.
1994-01-08 21:50:14 +00:00
Roland McGrath
be06db9a3e (main): Call strerror instead of using sys_errlist. 1994-01-08 21:47:36 +00:00