1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-25 10:47:00 +00:00
Commit Graph

674 Commits

Author SHA1 Message Date
Karl Heuer
c275f129ae [__GNU_LIBRARY__]: Use size_t for fromlen. 1996-07-15 21:26:39 +00:00
Karl Heuer
6ce375fa38 [__GNU_LIBRARY__]: Use <string.h>. 1996-07-15 21:25:56 +00:00
Karl Heuer
133319abf8 (getwd): Correct return type. 1996-07-15 19:57:23 +00:00
Karl Heuer
4eb8218d14 Correct return type of getwd. 1996-07-15 19:57:11 +00:00
Miles Bader
cbd1aee2b1 (main) [HAVE_SOCKETS]: Call rewind before writing to infile. 1996-07-03 02:05:29 +00:00
Miles Bader
9ee94849fa Remove all references to wakeup. 1996-07-02 16:24:29 +00:00
Francesco Potortì
901b219d7b * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
explicit, mutable, typename.
1996-07-01 15:17:24 +00:00
Richard M. Stallman
ebf9219e1c (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
(wakeup): Targets deleted.
(UTILITIES): Delete wakeup and timer.
1996-06-21 05:47:24 +00:00
Richard M. Stallman
73bff96eb4 (ETAGS_CFLAGS): Define HAVE_GETCWD macro. 1996-06-11 21:13:39 +00:00
Richard M. Stallman
90e0918af0 (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only. 1996-06-11 21:13:14 +00:00
Richard M. Stallman
f55aa55a81 (main): Copy cwd when appending slash. 1996-06-09 19:12:26 +00:00
Karl Heuer
b1d4be5f6e Hold previous change until after the release. 1996-05-18 20:15:02 +00:00
Karl Heuer
a868739706 (lisp): Include dos-win32.elc. 1996-05-17 22:39:11 +00:00
Francesco Potortì
cf347d3cca * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
(Pascal_functions): Increase linecharno by the correct number of
chars, inline the GET_NEW_LINE macro and delete its definition.
1996-05-17 16:48:02 +00:00
Geoff Voelker
d6cb678cd5 (OBJDIR, BLD): Remove macro definitions.
,
1996-05-03 19:09:36 +00:00
Geoff Voelker
c911543b1c Initial revision 1996-05-03 18:29:10 +00:00
Geoff Voelker
14f29224a0 Include ntlib.h.
(nt_sleep): Rename to sleep.
(getwd): Return directory.
(getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
sys_ctime, sys_fopen): New functions.
1996-05-03 18:28:37 +00:00
Geoff Voelker
c81ebaba0a (LOCAL_FLAGS): Include path to NT shadow includes.
(movemail.exe, fakemail.exe): Now built under Win32.
1996-05-03 18:28:18 +00:00
Richard M. Stallman
de5c39cffd (SEND, RECV): Renamed from send, recv.
(pop_open, pop_trash): Make the trash_started code unconditional.
(socket_connection): Delete casts to void.
1996-04-29 15:46:17 +00:00
Richard M. Stallman
61946d674c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions copied from lisp.h. 1996-04-28 23:37:04 +00:00
Richard M. Stallman
b98cf43f01 [HAVE_CONFIG_H]: Only include config.h when defined. 1996-04-28 19:09:03 +00:00
Richard M. Stallman
88800afc90 (struct _popserver): New field trash_started. 1996-04-28 19:08:48 +00:00
Richard M. Stallman
c2668a613f [WINDOWSNT]: Include winsock.h and ntlib.h.
Macro SOCKET_ERROR undefined.
Don't declare h_errno.
[!WINDOWSNT]: Define macros recv and send.
[!WINDOWSNT] (POP_SERVICE): Change to pop3.
(pop_open) [WINDOWSNT]: Initialize trash_started.
(have_winsock) [WINDOWSNT]: New variable.
(socket_connection) [WINDOWSNT]: Initialize winsock.
(socket_connection): Use closesocket instead of close.
(getline): Use recv instead of read.
(fullwrite): Use send instead of write.
(pop_trash): Use closesocket instead of close.
(pop_trash) [WINDOWSNT]: Cleanup winsock.
Check if being called recursively by sendline.
1996-04-28 19:08:33 +00:00
Richard M. Stallman
7f75d5c619 (access, unlink) [WINDOWSNT]: Macros undefined.
(fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
[WINDOWSNT]: Include locking.h.
(main): Update usage message.  Use IS_DIRECTORY_SEP.
(main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
(main) [WINDOWSNT]: Invoke locking instead of flock.
(main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
(main) [MAIL_USE_POP]: Pass password to popmail if used.
Include winsock.h; don't include unix inet headers.
(popmail): Add password argument and pass it to pop_open.
Open output file in binary mode.
1996-04-28 19:07:35 +00:00
Richard M. Stallman
eac1956a77 [DOSNT]: Include fcntl.h.
[WINDOWSNT]: Include io.h.
(main) [MSDOS]: Change conditional to DOS_NT.
1996-04-28 19:06:15 +00:00
Richard M. Stallman
7c54442039 [WINDOWSNT]: Include ntlib.h. 1996-04-28 19:06:01 +00:00
Richard M. Stallman
3f5b4e35cc (main) [DJGPP v2]: Don't change to binary for a tty. 1996-04-14 17:11:47 +00:00
Richard M. Stallman
659d3b439c [DJGPP v2]: Include io.h.
(main) [DJGPP v2]: Switch standard streams to binary with setmode.
1996-04-12 16:02:38 +00:00
Richard M. Stallman
a65c6351d6 [WINDOWSNT]: Include io.h. 1996-04-11 01:39:53 +00:00
Geoff Voelker
f1d5eaf90a (CTAGSOBJ): Compile with regexp support. 1996-04-10 22:38:26 +00:00
Richard M. Stallman
18198bb209 (main) [MSDOS]: Handle DJGPP version 2. 1996-04-10 01:00:12 +00:00
Richard M. Stallman
b4bcc0c4a8 (absolute_filename): Use absolutefn. 1996-04-02 15:39:19 +00:00
Richard M. Stallman
ce7f6d62bc (absolutefn) [DOS_NT]: Support Novell drives whose drive
letter isn't an alphabetic character.
(main) [DOS_NT]: Use binary mode on redirected `stdout'.
(process_file) [DOS_NT]: Convert all slashes to forward style.
(absolute_filename) [DOS_NT]: Emit error message for relative
paths with a drive letter.
(absolute_filename) [DOS_NT]: Handle absolute pathnames with
DOS/NT drive letters which try to reference the parent of the root.
(absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
info, and don't record undo info for the conversion.
1996-04-01 20:38:35 +00:00
Geoff Voelker
2e17c871e3 Change uses of del to $(DEL). 1996-03-28 04:39:51 +00:00
Francesco Potortì
8dc7496c3f * etags.c (just_read_file): Reset lineno and charno on entry.
* etags.c: Prolog language totaly rewritten.
        (Prolog_functions): Rewritten from scratch.
	(skip_comment, prolog_getit): Removed.
        (prolog_skip_comment): New function, like old skip_comment.
        (prolog_pred, prolog_atom, prolog_white): New functions.
        (erlang_func, erlang_attributes): Forward declarations added.
        (erlang_atom): Check if backslash ends line inside quoted atom.
	* etags.c (absolutefn): DOS_NT version corrected.
	(main): Append "/" to the dir name only if not already there.
	(print_help): Explain the absolute/relative file name issue.
	* etags.c: New Languange Erlang added.
	(Erlang_functions, erlang_func, erlang_attribute, erlang_atom,
	erlang_white): New functions.
	(Erlang_suffixes): New suffix list.
	(lang_names): Erlang entry added.
	(prolog_getit): Accepts headers spanning several lines.
	Always name tags.
	(Prolog_functions): Removed incorrect compensation for
	newline characters.
	(readline_internal): Zero-terminate last line.
1996-03-22 19:13:22 +00:00
Richard M. Stallman
d48430602f (main): Initialize progname variable before using it.
Quote `username' in From_ header.
1996-03-20 23:42:05 +00:00
Geoff Voelker
bcfe87c451 (getpid): New function. 1996-03-19 02:01:47 +00:00
Richard M. Stallman
88c40feb0e Comment change. 1996-02-22 22:37:14 +00:00
Karl Heuer
dc3c30fec0 (main, both definitions): Print a newline for normal termination. 1996-02-21 20:53:01 +00:00
Karl Heuer
9cc6060db7 (main): Convert port to network byte order. 1996-02-21 17:11:13 +00:00
Karl Heuer
f11c1c141c Comment fixes. 1996-02-17 02:23:13 +00:00
Karl Heuer
7d6659459e (pop_retrieve, getline): Avoid type clashes. 1996-01-20 20:51:31 +00:00
Karl Heuer
ba1fe3a85b (enum sym_type, anonymous enum): Delete final comma. 1996-01-19 22:54:17 +00:00
Erik Naggum
3b7ad313e0 Update FSF's address in the preamble. 1996-01-15 09:18:04 +00:00
Paul Eggert
e852d58d04 (initialize_fullname): Add support for NIS+.
(hostname): Fully qualify the default hostname with the domainname
if the hostname lacks a `.'.
1996-01-15 01:17:56 +00:00
Karl Heuer
9884ba1ffb (consider_token): Fix typo in expression. 1996-01-10 19:46:03 +00:00
Karl Heuer
8e6208c5d2 Comment fixes. 1996-01-05 10:03:17 +00:00
Karl Heuer
15294654d6 (substitute): Fix spelling in message. 1996-01-05 00:52:01 +00:00
Geoff Voelker
48717ed41d (etags, ctags): Compile with regexp support.
(make-docfile, wakeup, etags, ctags, hexl): Ensure build
subdirectory exists before compiling.
1996-01-04 03:05:24 +00:00
Karl Heuer
cbf5f47c32 (main): Do chmod based on existing permission. 1996-01-03 04:23:26 +00:00
Richard M. Stallman
c37a429438 (install): Turn on read/execute permission. 1995-12-27 14:10:19 +00:00
Karl Heuer
fcd4533c72 (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
(LOADLIBES): Use LIB_STANDARD_LIBSRC.
1995-12-21 16:45:29 +00:00
Francesco Potortì
d8913c1c1c * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
(gperf): Added keywords for Objective C and GNU macros.
	(sym_type): Added values to account for Objective C and GNU macros.
	(begtk): The '@' character can start a token.
	(objdef, methodlen, objtag): New variables for Objective C.
	(consider_token, C_entries): Added code for Objective C.
	(plain_C_suffixes): Add .m and .lm for Objective C.
	(Yacc_suffixes): Add .ym for Objective yacc.
	(GROW_LINEBUFFER): New macro.
	(consider_token, C_entries, Pascal_functions): Use the new macro.
	(consider_token): Take one more argument.  Caller changed.
	(consider_token): Use the hashing function to spot GNU macros.
	(C_entries): Consider // as a comment start even in plain C for
	the sake of Objective C parsing.
	(pfnote): Don't make a tag for ctags if there is no name.
	(getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
	get_scheme, prolog_getit): Name the tag in ctags mode.
	(pfnote): Truncate ctags lines to 50 chars, like it worked once.
	(Perl_interpreters): Accept "@PERL@" as an interpreter.
	(suggest_asking_for_help): New function.
	(main, get_language_from_name): Use suggest_asking_for_help.
	(main): Let get_language_from_name make language existence check.
	(streq, strneq): Check the arguments #if DEBUG.
1995-12-07 09:10:54 +00:00
Francesco Potortì
1ff164dd43 * Makefile.in (ctags): depend on etags only for simplicity;
compile with regexp support enabled.
1995-12-07 08:41:11 +00:00
Geoff Voelker
c02ab10709 (DOC, clean): Don't use switches to del not supported by Win95. 1995-11-22 19:02:17 +00:00
Richard M. Stallman
641acd26cd (regex.o): Depend on ../src/config.h. 1995-11-14 02:59:27 +00:00
Richard M. Stallman
5e70aa9c27 (LIB_STANDARD): Extract this as in src/Makefile.in.
(LOADLIBES): Use LIB_STANDARD.
1995-11-12 06:32:30 +00:00
Geoff Voelker
a3af214310 (DOC): Include strings from w32term.c, w32xfns.c,
w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
Win95 conditional.
1995-11-07 07:44:54 +00:00
Francesco Potortì
1f63824928 * etags.c (get_lang_from_name, get_lang_from_interpreter,
get_lang_from_suffix): New functions.
	(get_language): Function deleted.
	(lang_entry): Two members added to struct.
	(lang_names): Reflect the new layout of lang_entry.
	(print_language_names, main, find_entries): Use the new functions.
	(find_entries): Look at the first line for #! if no language.
	(C_entries): Invalidate the token when funcdef is reset.
	(Perl_functions): New function.
	(lang_suffixes): .pl and .pm are Perl suffixes.
1995-11-06 17:21:24 +00:00
Francesco Potortì
c5007f4672 * etags.c (lowcase): Use the standard tolower function.
(substitute): Remove some wrong and some useless code related with
	escape `\` character in regexp replacement string.
	(TEX_defenv): Added part, appendix, entry, index.  Removed typeout.
	(lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
	.bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
	.prolog for prolog (.pl removed).
	(massage_name, etags_getcwd): Use lowcase instead of tolower.
	(regex.h): Don't include it if REGEX_IN_LIBC is defined.
	(C_entries, find_entries): Added comments about memory leakage.
	(add_node): Dead code removed.
1995-11-02 16:30:14 +00:00
Richard M. Stallman
56bdb2f5f7 (getdate.o, movemail.o): Specify -Demacs.
(ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
1995-10-30 21:34:10 +00:00
Richard M. Stallman
05abbc425e Add #undef for open, close, read, write. 1995-08-31 02:37:12 +00:00
Roland McGrath
33b78bd601 [HAVE_CONFIG_H]: Include config.h.
[! O_RDONLY]: Define it to zero.
(main): Use O_RDONLY instead of explicit zero.
1995-08-23 17:42:20 +00:00
Richard M. Stallman
361b764007 (getdate.c): New target.
(getdate.o): Just compile getdate.c.
1995-08-18 16:23:23 +00:00
Francesco Potortì
108c932a05 * etags.c (Pascal_functions): Close comment bug corrected.
(add_node): Correctly compare node file names.
	(Pascal_functions): Correctly allocate and free memory for tline.
	(pfnote): Put the definition of fp in the innermost block.
	(NODE): `named' member removed.
	(pfnote, free_tree, put_entries, total_size_of_entries): Do not
	use the `named' member, check whether `name' is NULL instead.
	(pfnote): `named' argument removed, all callers changed.
	(getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
	TeX_functions, TEX_getit, prolog_getit): Useless string allocation
	removed from pfnote call, some code cleanup.
	(relative_filename): Free temporary space allocated by concat.
1995-08-17 18:39:11 +00:00
Karl Heuer
5391a863dc (xrealloc): Change cast to match return type. 1995-08-12 18:15:28 +00:00
Richard M. Stallman
65119039af (xmalloc, xrealloc): Use return-type long *. 1995-08-11 01:44:00 +00:00
Richard M. Stallman
af7bd34e27 (main): Fix previous change.
Add error check for empty OUTNAME.
1995-08-06 23:57:31 +00:00
Richard M. Stallman
d0776f5c89 (main): Mention lock file name in error message. 1995-08-05 20:19:40 +00:00
Richard M. Stallman
79dbff4772 (gettimeofday): New function, defined if necessary. 1995-07-30 07:07:39 +00:00
Richard M. Stallman
b2959c9d78 (distclean): Delete Makefile.c, not Makefile.in. 1995-07-18 06:04:43 +00:00
Richard M. Stallman
f7f8635da5 Comment change. 1995-07-18 00:05:14 +00:00
Karl Heuer
93548af1a3 (tags): Synonym for `TAGS'. 1995-07-17 21:55:53 +00:00
Karl Heuer
c61a529e29 (install, maybe-blessmail): Don't cd ..;
configure has already set $(INSTALL) to the proper relative path.
1995-07-16 18:30:30 +00:00
Paul Eggert
fdb3286ede (datearg): Separate date from time with comma, not space,
to avoid CVS 1.5 bug.
(CVSROOT): Don't abort if unset and if repository is an absolute pathname.
1995-07-08 18:44:04 +00:00
Paul Eggert
d5ad1373cc Replace #!/bin/sh' with #! /bin/sh', for benefit of systems
that interpret `#! /' as a 4-byte magic number.
1995-07-07 22:47:57 +00:00
Richard M. Stallman
b311219135 (main) [MAIL_USE_POP]: When a user specifies a
mailbox with "po:mailbox", the mailbox is everything after the "po:" prefix.
1995-06-30 01:10:20 +00:00
Richard M. Stallman
ccd318fb5b Make all error messages start with `Error: '.
(fatal_error, perror_1): New functions, use throughout.
1995-06-28 20:10:12 +00:00
Paul Eggert
c49b2b754c (CVSROOT, repository): Allow remote repositories a la CVS 1.4. 1995-06-28 01:47:55 +00:00
Francesco Potortì
79263656b0 * etags.c (plain_C_entries): new function.
(lowcase): new macro.
	(tail, Fortran_functions, Pascal_functions): use new macro lowcase.
	(lang_suffixes): new suffix ".pc" for Pro*C files.
	(consider_token): don't tag all tokens beginning with DEFUN & Co..
	(tail): look for the end of the token when comparing.
	(takeprec): since now tail behaves differently, use strneq.
1995-06-27 14:21:23 +00:00
Richard M. Stallman
837a3add98 (main): Add newline in usage message. 1995-06-26 20:28:33 +00:00
Richard M. Stallman
dc61cb9dd8 (scan_file): Make sure it never looks at filename[-1]. 1995-06-21 19:46:58 +00:00
Richard M. Stallman
5281dea442 (main) [MSDOS]: Do set _fmode.
This undoes part of the previous change.
1995-06-21 19:45:27 +00:00
Francesco Potortì
b2db879bf5 * etags.c (find_entries): rewind before rereading the input file. 1995-06-21 12:15:15 +00:00
Richard M. Stallman
4e043ed306 (main): On MSDOS, don't change stdout to binary, and insist on an -o option. 1995-06-20 02:52:38 +00:00
Richard M. Stallman
27fc16debc (process_file,absolute_filename): Handle filenames
starting with a drive letter.
1995-06-15 15:30:58 +00:00
Richard M. Stallman
68c723aa7c (install): Copy wakeup.exe properly. 1995-06-15 15:30:15 +00:00
Karl Heuer
2d1985a2e1 [MSDOS]: #undef chdir. 1995-06-08 20:13:45 +00:00
Paul Eggert
a8a818c00e (output_authors): Allow ':' in time zone, as per ISO 8601 and RCS 5.6.8 beta. 1995-06-04 01:34:39 +00:00
Francesco Potortì
0ff74d81c3 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
compatibility problems.
1995-05-29 16:49:24 +00:00
Francesco Potortì
915e30c809 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
compatibility problems.
1995-05-29 12:40:25 +00:00
Karl Heuer
153e4de000 (etags_getcwd): Don't use #elif.
Have just one function body.
1995-05-27 00:26:00 +00:00
Geoff Voelker
85212e6740 Use BASE_LIBS.
(make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend upon LIBS.
(DOC): Use del instead of rm.
(DOC) [WINDOWS95]: Use DOC.
(clean): Handle MSVC aux files.
(config.h,paths.h): Use $(CP) instead of cp.
(config.h): Use $(CONFIG_H)
(make-docfile.obj): Depend upon config.h.
Clean up comments.
1995-05-26 05:19:55 +00:00
Francesco Potortì
0f39406594 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
former gives the true path even in the presence of simlinks.
1995-05-23 15:40:31 +00:00
Richard M. Stallman
66a8ad0fd4 (main): Increase lock timeout to five minutes. 1995-05-07 22:36:27 +00:00
Richard M. Stallman
45fad0f1d7 (obj): Use .c files. 1995-05-07 20:17:48 +00:00
Richard M. Stallman
34b4ece5fe Include config.h.
(NO_SHORTNAMES): New definition.
(xmalloc): Return long *.
1995-05-04 21:57:30 +00:00
Richard M. Stallman
2583d6d741 (xmalloc): Declare it to return long *. 1995-05-04 06:46:51 +00:00
Richard M. Stallman
0404b62c85 (xmalloc, xrealloc): Declare them long *. 1995-05-04 06:46:37 +00:00
Richard M. Stallman
03cdafdfe5 (C_entries): Cast result of xrealloc.
(xmalloc, xrealloc): Declare them to return long *.
1995-05-04 06:46:14 +00:00
Paul Eggert
64736f55e1 (datearg): If rlog options are specified explicitly,
omit the implicit '-d>DATE' option.
(repository, rlog): Allow absolute paths to CVS repositories.
Look only at the first line of CVS/Repository.
1995-04-30 15:34:52 +00:00
Karl Heuer
a01c76d72b (extraclean): Depend on maintainer-clean, not
realclean.
1995-04-26 21:00:55 +00:00
Richard M. Stallman
e63ceebf0d [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
Alternative (empty) definitions.
1995-04-25 02:30:06 +00:00
Richard M. Stallman
26396b1bda (main): Add argv[0] to an error message. 1995-04-18 20:50:19 +00:00
Karl Heuer
18a2fa9174 (main): Improve error handling. 1995-04-14 02:10:52 +00:00
Karl Heuer
231c740a45 (main, skip_to_lf): Improve error handling.
(sysfail): New function.
1995-04-13 17:24:35 +00:00
Karl Heuer
7a804c76c4 (main): Check for trailing ", " before trying to delete it. 1995-04-13 17:06:05 +00:00
Richard M. Stallman
1feb8ae1f5 (scan_c_file): At end, restore file name last char to its original value. 1995-04-13 16:05:43 +00:00
Richard M. Stallman
0731825e49 (all): Build test-distrib and make-docfile. 1995-04-13 16:03:08 +00:00
Karl Heuer
ebd67b8e2d (obj, lisp): Update to expanded list of source files.
(DOC): Place DOC strings in DOC-X.
(config.h, paths.h): New source location.
(all): Use COMPAT_LIB in library list.
Use DEL_TREE instead of delnode.
(etags.exe): Use $(LINK) instead of link32.
1995-04-12 03:00:06 +00:00
Richard M. Stallman
1e523e3da8 Test NO_SOCKETS_IN_FILE_SYSTEM. 1995-04-11 01:44:46 +00:00
Richard M. Stallman
1d0b600d31 (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
(alloca.o, regex.o): Use BASE_CFLAGS.
1995-04-08 17:51:52 +00:00
Richard M. Stallman
7e1251a15e [Berkeley sockets version] (main): Declare getcwd. 1995-04-07 01:01:25 +00:00
Karl Heuer
f470f9bd66 Update copyright. 1995-04-07 00:16:13 +00:00
Karl Heuer
5c579a7529 (aixcc, aixcc.c): Targets deleted.
(SOURCES, distclean): Removed obsolete references to aixcc.
1995-04-04 21:11:29 +00:00
Richard M. Stallman
c76d4b428f Comment change. 1995-04-02 07:34:28 +00:00
Paul Eggert
4c952fd0fa (output_authors): Replace /[/]/ by /[\/]/, for portability to mawk and nawk. 1995-03-23 01:21:07 +00:00
Paul Eggert
0a4e59d934 Treat -u 'LOGIN:FULLNAME:MAILADDR' as if it were
-u 'LOGIN<tab>FULLNAME<tab>MAILADDR'.
1995-03-21 23:14:41 +00:00
Paul Eggert
44ef8c25be Add -u "login<tab>fullname<tab>mailaddr" option, which replaces the
(now obsolescent) -n login fullname mailaddr option.
Don't omit path from repository root when logging CVS files.
Add -R option for recursive rlog.
(AWK): New environment variable (default `awk') for name of awk program.
(output_authors, tab, loginFullnameMailaddrs, recursive): New variables.
Quote authors and fullnames correctly.
1995-03-21 05:37:42 +00:00
Richard M. Stallman
d1e203d20c Use BSD sockets whenever available, even if HAVE_SYSVIPC. 1995-03-15 23:32:19 +00:00
Richard M. Stallman
ee6a193c4c Use BSD sockets whenever available, even if HAVE_SYSVIPC.
(main): Use getcwd if not BSD.
1995-03-15 23:31:02 +00:00
Francesco Potortì
a8d9bd4b49 * etags.c (process_file): free (filename) after using it.
(readline_internal): Do not access the char before start of line.
1995-03-13 10:47:58 +00:00
Francesco Potortì
75bdbc6afd * etags.c (C_entries): token_saved removed. Initialise tok.valid and
savetok.valid.  Mark token as valid when it is initialised.
	(make_tag): Make token only if token is valid and reset validity.
	(CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
	(TOKEN): Added a new member: valid.
1995-02-22 15:06:49 +00:00
Francesco Potortì
9cb0aa73c3 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
(main): Do not read twice the last filename in the stdin file list.
1995-02-15 15:03:21 +00:00
Francesco Potortì
2bd88040e7 * etags.c (C_entries): Initialise the new members of TOKEN.
(C_entries): Do not allocate a new space for each token found by
	consider_token.  Let make_tag do that instead.
	(make_tag): Since now TOKEN has memory of where it is taken from,
	this new macro substitutes both make_tag_from_new_lb and
	make_tag_from_oth_lb.  All callers changed.
	(TOKEN): Add linepos and buffer members.
	(main): Initialise token_str.
	(lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
	(token_str): New global variable used by C_entries.
1995-02-14 17:31:55 +00:00
Richard M. Stallman
26873b7234 (maintainer-clean): Renamed from realclean. 1995-02-07 23:55:01 +00:00
Francesco Potortì
4b533b5be6 * etags.c (pfnote): Initialise been_warned in the node.
(C_entries): Removed a speed hack for the sake of clarity.
1995-02-01 11:08:17 +00:00
Francesco Potortì
201f9f2b7c * etags.c (longopts, print_help, main): Use -I as abbreviation
for the --ignore-indentation option.
	(main): Do not print an error message for unknown options.
1995-01-18 10:14:19 +00:00
Francesco Potortì
55597f9003 Global polishing, some bugs corrected, dynamic allocation used instead
of fixed length static buffers in many places.
	* etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
	(append_to_tagfile, typedefs, typedefs_and_cplusplus,
	 constantypedefs, update, vgrind_style, no_warnings,
	 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
	(permit_duplicates): Was a var, now a #define.
	(filename_lb): Was global, now local to main.
	(main): Open the tag file when in cxref mode.
	Use a BUFSIZ size buffer for making the shell commands.
	Look at the return value from the system routine.
	Exit when cannot open the tag file.
	(process_file): Open the file and pass the FILE* to find_entries.
	(find_entries): Now void, because does not open the file itself.
	(pfnote): Recovering from lack of memory does not work.  Removed.
	Use savenstr and simplify the code.
	(free_tree): Only free the name space if node is named.
	(structtag): Now a pointer, not a fixed length array of chars.
	(consider_token): Don't take a token as argument.  Use savenstr
	when saving a tag in structtag.  Callers changed.
	(TOKEN): Structure changed.  Now used only in C_entries.
	(TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
	(C_entries): nameb and savenameb deleted.  Use dinamic allocation.
	(pfcnt): Deleted.  Users updated.
	(getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
	 TEX_getit, prolog_getit): Use dinamic allocation for storing
	the tag instead of a fixed size buffer.
1995-01-12 17:05:37 +00:00
Richard M. Stallman
0c22b79bad (main): Skip past the colon in inname. 1995-01-11 03:36:30 +00:00
Francesco Potortì
cdc1f6a71f * etags.c (pfatal): New function.
(main, etags_getcwd): Use pfatal.
	(etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
1995-01-10 17:20:39 +00:00
Francesco Potortì
aab1fdaecc * etags.c (Lang_function): Use void instead to declare the
language functions, because many compilers are buggy.
	(etags_getcwd): Fix the previous fix on the #else branch.
	(readline_internal): Discard possible \r before \n here.
	(C_entries): Do not deal with \r here: undo previous fix.
1995-01-10 09:07:15 +00:00
Richard M. Stallman
e19bdc1471 (concat, xmalloc, xrealloc, readline, xnew): Four new
functions and a macro that allow the program to work on input
lines of whatever length.  Copied from etags.c.
(fatal): Print a fatal error message and exit.
(main): Use the new functions.  Fixed a bug that made a \037 char
appear at the end of the output.
1995-01-09 18:31:22 +00:00
Richard M. Stallman
dc26fc9f0f (C_entries): Ignore carriage return at end of line. 1995-01-06 22:30:26 +00:00
Richard M. Stallman
3d23b9853e (xmalloc, xrealloc): Add casts.
(add_field): Handle <...> and "..." syntax.
(setup_files, get_keyword): Clean up parens and line breaks.
(args_size): Likewise.
1994-12-26 23:48:27 +00:00
Richard M. Stallman
b5ff43cc2e (scan_lisp_file): Handle dynamic doc strings.
(xmalloc, fatal, error): New functions.
(progname): New variable.
(main): Set progname.
1994-12-21 16:16:45 +00:00
David J. MacKenzie
b3dcbddbfc Include program name in error messages. 1994-12-21 15:58:28 +00:00
Richard M. Stallman
b135a7cf0b [HAVE_SYSVIPC]: Include sys/utsname.h.
(main): If socket/mqueue name is in home dir, add in the host name.
Rename .emacs_server to .emacs-server-....

[!HAVE_SYSVIPC] (main): Fix error message diction.
1994-12-07 07:39:23 +00:00
Richard M. Stallman
021eac48bf [HAVE_SYSVIPC]: Include sys/utsname.h.
(main): If socket/mqueue name is in home dir, add in the host name.
Rename .emacs_server to .emacs-server-....
1994-12-07 07:38:00 +00:00
Richard M. Stallman
2d1db47cfd (get_time): Fix up whitespace. 1994-11-28 21:03:41 +00:00
Francesco Potortì
7537186d2b * etags.c (print_help): print --regex usage for ctags also.
(main): use -h in addition to -H as abbreviation for --help.
1994-11-22 18:17:23 +00:00
Francesco Potortì
b9755a1207 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
is compiled if this is defined.  The new functions and variables
	added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
	[VMS]: All VMS specific code previously contained in
	etags-vmslib.c is now included here, modified for dealing with
	language and regex options intermixed with filenames.
	(header_file): Global variable deleted.
	(Lang_Function): New typedef.  All language parser functions
	changed to this new type.
	(string_numeric_p, substr, prestr): Functions deleted.
	(readline_internal): Does the job that readline did previously.
	(longopts): --language and --regex options added.
	(lang_names, lang_extensions, lang_func, print_language_names):
	New structures, variables and functions for choosing languages.
	(print_help): Help strings updated.  Calls print_language_names.
	(argument_type, ARGUMENT): Typedefs for dealing with language and
	regex options intermixed with filenames.
	(main): Changed the way of dealing with arguments on the command
	line to deal with language and regex options intermixed with
	filenames.
	(get_language, default_C_entries, Cplusplus_entries,
	Cstar_entries, Yacc_entries, just_read_file): New functions.
	(find_entries): Use the new method for choosing the language.
	(Pascal_functions): Allow intermixing of comment styles.
	(prolog_getit, skip_comment): Rewritten for speed.
	(readline): Rewritten to deal with regexps.
1994-11-16 13:00:49 +00:00
Francesco Potortì
dcc89e637e * etags.c (<errno.h>): #include added.
(etags_getcwd): Check return value from getcwd.
1994-11-16 10:29:33 +00:00
Richard M. Stallman
db965a28af (TV1, TV2): Use EMACS_TIME as type.
(get_time): Use EMACS_SUB_TIME.
1994-11-10 22:26:57 +00:00
Karl Heuer
85cdd6afed Changed references of m\m-windowsnt.h to m\intel386.h and of s\s-windowsnt.h
to s\windowsnt.h.
1994-11-03 21:11:43 +00:00
Richard M. Stallman
95ed00257a Initial revision 1994-11-01 10:27:02 +00:00
Richard M. Stallman
c05b6df534 (main, etags_getcwd): Test DOS_NT instead of MSDOS.
[WINDOWSNT]: Include some NT headers.
1994-11-01 05:26:14 +00:00
Richard M. Stallman
86b0513a2c (main) [WINDOWSNT]: Now sets _fmode and stdout to O_BINARY.
[WINDOWSNT]: Include the NT headers.
(READ_TEXT, READ_BINARY): Test DOS_NT, not MS_DOS.
1994-11-01 05:23:42 +00:00
Richard M. Stallman
b6606ad821 (getline): When a search of already-read input for CRLF
fails, store the fact that we've searched it and don't search it
again after reading more data.

(getline): When determining whether or not it's necessary
to grow the input buffer, take into account the null that's stored
at the end of already-read input in the buffer.
1994-10-24 04:41:21 +00:00
Richard M. Stallman
a27897c9ac (main): Don't process one input file twice.
Never use exit code > 1.
1994-10-21 20:31:43 +00:00
Francesco Potortì
715b6f8c4e * etags.c (prestr, substr): return a logical type.
(consider_token): Comment out "EXFUN".  Use "DEFUN" instead of "DEF".
	(consider_token): set funcdef to fignore when a DEFUN is met.
	(C_entries): Now we can use Tom Hageman patch for extern "C".
1994-10-21 12:28:55 +00:00
Richard M. Stallman
b32701a7ff PopServer renamed to popserver throughout. 1994-10-20 20:35:57 +00:00
David J. MacKenzie
25b4690733 Don't declare malloc, since we include config.h. 1994-10-20 16:37:04 +00:00
Richard M. Stallman
8148baf912 Only include ../src/config.h if HAVE_CONFIG_H is
defined, and if HAVE_CONFIG_H isn't defined, define
MAIL_USE_POP always (so that this file can be included in
other programs besides emacs).

Only declare h_errno if HAVE_H_ERRNO isn't defined or
HAVE_CONFIG_H isn't defined.

(find_crlf, getline): Instead of using strstr, use a
custom function for finding CRLF.
(my_strstr): Function deleted.
1994-10-19 22:52:57 +00:00
Richard M. Stallman
1a9654a0c3 Don't declare malloc. 1994-10-19 22:49:37 +00:00
David J. MacKenzie
ca452d5f79 Use test -r instead of < to check readability, to avoid syntax error. 1994-10-19 21:27:58 +00:00
Richard M. Stallman
625ad89f2a Fix mismatch in conditionals. 1994-10-18 23:50:10 +00:00
Richard M. Stallman
6d68310438 (open, close, read, write): Add #undefs. 1994-10-18 19:09:07 +00:00
Richard M. Stallman
b8a0f2d8ab [SYSV_IPC] (main): Catch SIGHUP as well. Don't
call kill with pid 0.  Handle EINTR when receiving messages.
1994-10-18 11:23:18 +00:00
Richard M. Stallman
c9c3d8f648 Include ../src/config.h. 1994-10-18 07:36:39 +00:00
Richard M. Stallman
7a481e50f6 Don't declare malloc, realloc, free.
Don't include string.h or strings.h.
Include des.h before krb.h.
Do declare my_strstr.
(getline): Really use my_strstr.
Leave one empty place in server->buffer,
and put a null at the end of the data in it.
1994-10-18 07:34:59 +00:00
Karl Heuer
3412f30312 (regex.o): Use full path to find regex.c. 1994-10-17 20:56:18 +00:00
Karl Heuer
66ab94d9bb (etags): add dependency on regex.o, link with it.
(REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added.
1994-10-17 20:26:22 +00:00
David J. MacKenzie
2d521ee66b remove make-path 1994-10-12 23:28:43 +00:00
David J. MacKenzie
340ff9deae Eliminate some -Wall warnings. 1994-10-12 20:21:51 +00:00
David J. MacKenzie
e2f9d9afab Make functions that return nothing void, not implicitly int.
(main): Improve usage message.
(error): Write to stderr, not stdout.
1994-10-12 19:20:24 +00:00
Richard M. Stallman
424b6d2bf8 (libexecdir): Renamed from libdir. 1994-10-11 21:38:59 +00:00
Richard M. Stallman
1e8259bb0b (clean): rm DOC/* and *.tab.[ch].
(distclean): Not here.
1994-10-11 21:22:28 +00:00
Francesco Potortì
7e5c230dc5 * etags.c (C_entries): Name the #define's that are macros. 1994-10-11 13:04:30 +00:00
Roland McGrath
86af296ba1 [! SYSVIPC] (main): Fix uses of FD_* macros: fd_set arg is a pointer,
descriptor arg comes first.
1994-10-10 04:55:59 +00:00
Francesco Potortì
ee70dba589 * etags.c (C_entries): Recognise typedef of ANSI style functions.
(C_entries): Recognise #define inside a struct.
	(C_entries): ANSI tells that preprocessor commands do not have to
	start on the first column.
	(print_help): Documentation corrected for -d and -D.
	(white, endtk): ANSI tells the vertical tab is a separator.
1994-09-30 17:18:24 +00:00
Richard M. Stallman
9c0f2dac9b Initial revision 1994-09-27 19:49:25 +00:00
Richard M. Stallman
2e82e3c30a Improve POP code, move most of it into a separate file.
(mbx_delimit_end, mbx_delimit_begin): Check for errors.
(mbx_write): Check for errors and for From line.
(pop_retr, popmail): Use subroutines in pop.c to do the real work.
(get_errmsg, multiline, getline, putline, pop_stat, pop_command)
(pop_init): Functions deleted.
1994-09-27 19:45:00 +00:00
Richard M. Stallman
81f940520e (MOVE_FLAGS, MOVE_LIBS): New variables.
(pop.o, movemail.o): New targets.
(movemail): Link in pop.o and movemail.o.  Use MOVE_LIBS, MOVE_FLAGS.
1994-09-27 19:43:07 +00:00
Richard M. Stallman
cc162c5306 (touchy_mkdir): Make dir ugo+re even if it isn't new.
Rename path to dirname.
1994-09-24 01:48:04 +00:00
Richard M. Stallman
5aae660113 (UTILITIES): Remove test-distrib, make-docfile, make-path.
(DONT_INSTALL): New variable--list those files here.
(clean): Delete the files in DONT_INSTALL.
1994-09-23 05:42:40 +00:00
Richard M. Stallman
128ba46c13 (from, labels, data): Use MAX_DATA_LEN as length.
(main): Use fgets, not gets.
1994-09-21 03:23:32 +00:00
Richard M. Stallman
5afc7fb0ba Don't declare malloc. 1994-09-17 05:50:17 +00:00
Karl Heuer
b38bab94e5 (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already defined, use simple
32-bit versions of these macros.
(main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
1994-09-17 00:02:50 +00:00
Karl Heuer
5e9c82960a (etags_getcwd): Use getcwd if available. 1994-09-16 21:16:20 +00:00
Paul Eggert
7a833f0baf Add support for CVS.
Work with `rlog's that output ISO 8601 dates.
1994-08-15 22:44:10 +00:00
Richard M. Stallman
9fa6ed8fd4 Use <> to delimit email address. 1994-08-09 20:43:48 +00:00
Richard M. Stallman
2f3179987f [SYSV_IPC] (main): Make a separate process
so we can listen for multiple requests.
1994-08-08 07:08:17 +00:00
Richard M. Stallman
3b9ee81953 Include config.h first thing. 1994-08-04 23:15:35 +00:00
Richard M. Stallman
ae24c599eb (main): Add casts to avoid warnings. 1994-08-01 07:43:30 +00:00
Richard M. Stallman
ad600343fb (${archlibdir}): Compare the proper dir
before installing the scripts.
1994-07-29 20:33:17 +00:00
Richard M. Stallman
defb80d7ad (main): New local var progname saves argv[0]. 1994-07-27 17:59:03 +00:00
Richard M. Stallman
cd33a5a086 (main): Don't actually modify argv[0]. Modify a copy instead. 1994-07-26 19:56:03 +00:00
Richard M. Stallman
89b3f89419 Add #undef alloca. 1994-07-25 23:26:23 +00:00
Richard M. Stallman
72ddb82c49 (reset_watch, get_time): Use EMACS_GET_TIME.
(tzp): Var deleted.
1994-07-25 23:21:24 +00:00
Richard M. Stallman
20e15dfd12 (xmalloc): New function. 1994-07-13 19:10:27 +00:00
Richard M. Stallman
20cda85bbe (ALLOCA_CFLAGS): New variable.
(alloca.o): New target.
1994-07-12 01:18:53 +00:00
Francesco Potortì
0c1fd2e389 * etags.c (main): Don't barf on obsolete -t and -T switches.
(main): Print an explicative message when a switch is not known.
	(takeprec): recognise the `character*(*) function' syntax.
1994-07-08 10:31:16 +00:00
Richard M. Stallman
3dc64903b8 Don't declare exit or perror. 1994-06-23 19:27:56 +00:00
Richard M. Stallman
f662f9b05b (main): Don't declare geteuid.
Don't declare getenv if convex.
1994-06-23 19:26:02 +00:00
Richard M. Stallman
35ebc5cf90 (rootrelativepath) [MSDOS]: Define, expanding to dynamic
location of data directory.
1994-06-07 15:19:33 +00:00
Richard M. Stallman
c88a7f88e3 (test-distrib): Use ALL_CFLAGS. 1994-06-07 07:30:58 +00:00
Francesco Potortì
e9b2b94cd6 * etags.c (absolute_filename): Remove infinite loop bug when
accessing files in directories whose name begins with a dot.
1994-06-03 17:10:42 +00:00
Francesco Potortì
ddebf5f606 * etags.c (etags_getcwd): Delete the trailing newline from cwd. 1994-06-03 11:30:57 +00:00
Richard M. Stallman
348c8c1b75 (distclean): Delete Makefile, Makefile.in, blessmail. 1994-05-28 04:55:23 +00:00
Richard M. Stallman
f675ecb5d2 (blessmail): Don't depend on ../src/emacs. 1994-05-27 07:19:06 +00:00
Richard M. Stallman
4607ea99ad (write_c_args): Put `default' in upper case. 1994-05-19 21:05:08 +00:00
Richard M. Stallman
9fab67cb3e (etags_getcwd): Cast result of popen.
(popen): Declaration deleted.
1994-05-18 01:16:16 +00:00
Karl Heuer
f1812d0ae6 [!MSDOS]: Declare popen. 1994-05-17 23:43:15 +00:00
Richard M. Stallman
d410d33931 (main): Avoid crash if argc is 1. 1994-05-17 19:12:55 +00:00
Richard M. Stallman
2b243866ab (blessmail): Specify directory for blessmail.el. 1994-05-16 22:02:48 +00:00
Richard M. Stallman
fed76e7839 (maybe-blessmail): Mention bless-mail is in lib-src. 1994-05-12 10:52:49 +00:00
David J. MacKenzie
1858a20639 Fix out of date comment. 1994-05-05 19:06:48 +00:00
Richard M. Stallman
eb4252f765 Put in a separator for where to start cpp procssing.
Move all autoconf substitutions above that point.
Above that point, use Make-style comments.
This goes with changes in ../configure.in.
1994-05-05 04:11:17 +00:00
Richard M. Stallman
d19f95fe16 (maybe-blessmail): New target to print the blessmail warning message.
(${archlibdir}): Don't do it here.  Don't depend on blessmail.
1994-05-04 05:15:00 +00:00
Karl Heuer
3a22ee3595 Update copyright. 1994-05-04 02:41:09 +00:00
Karl Heuer
d38bb695cc (${archlibdir}): Be lenient about wc output format. 1994-05-02 20:56:25 +00:00
Richard M. Stallman
cf770692be (${archlibdir}): Don't run blessmail; instead
print advice to run it, if it has anything significant to do.
And only if MOVEMAIL_NEEDS_BLESSING.
(blessmail): Use emacs, not temacs.
(configuration): Renamed from configname.
1994-05-01 06:43:34 +00:00
Richard M. Stallman
024a380b5d (find_entries): Treat `*.cpp' as C++ files. 1994-04-30 20:30:48 +00:00
Richard M. Stallman
88f125fc73 [MSDOS]: #include <sys/param.h> for the following.
[MSDOS] (etags_getcwd): Define simple MSDOS version without spawning a shell.
1994-04-30 19:34:26 +00:00
Richard M. Stallman
d1a880cd30 [MSDOS]: Don't define proto type for exit. 1994-04-29 19:35:46 +00:00
Richard M. Stallman
1e7e7d6eca Don't include string.h or strings.h. 1994-04-28 04:44:54 +00:00
Karl Heuer
82a635f377 C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp symbols, not make variables. 1994-04-27 20:20:31 +00:00
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