Commit graph

616 commits

Author SHA1 Message Date
Richard M. Stallman
2f939ddd09 Add copyright and permission notices. 1997-08-13 15:37:10 +00:00
Richard M. Stallman
345a935c8d (main): Use %08lx instead of %08x in printf because the
variable named addresses is long.
1997-08-13 15:35:01 +00:00
Richard M. Stallman
9ae177785f (get_time): Cast arg to fprintf. 1997-08-13 15:34:05 +00:00
Geoff Voelker
6bf87eac50 Add includes.
Undo definitions of crt routines from config.h.
1997-08-09 01:46:03 +00:00
Geoff Voelker
44874bcb32 (lisp): Update paths to lisp files that have moved.
(ctags.obj): New target.
(etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
Add includes.
1997-08-09 01:45:19 +00:00
Richard M. Stallman
829a5736b9 (Yacc_suffixes, Asm_suffixes): Add some alternatives. 1997-08-06 07:11:59 +00:00
Richard M. Stallman
a27738b67a Support auto-configuration of both Kerberos V4 and
Kerberos V5 for movemail, including detection of V4 and V5 header
files and libraries.
Include <string.h> when STDC_HEADERS is defined, to get
declarations of string functions.
[KERBEROS5] (socket_connection): Support the current MIT Kerberos
V5 API rather than the old one.
[KERBEROS] (socket_connection): Change a constant name from
SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
with a constant in a header file.
1997-07-28 05:52:35 +00:00
Richard M. Stallman
93de505d85 Support auto-configuration of both Kerberos V4 and
Kerberos V5 for movemail, including detection of V4 and V5 header
files and libraries.
1997-07-28 05:51:59 +00:00
Richard M. Stallman
5fe16cc40f [HAVE_UNISTD_H]: Include unistd.h. 1997-07-20 17:37:56 +00:00
Richard M. Stallman
7543028ea0 [HAVE_UNISTD_H]: Include unistd.h. 1997-07-17 23:49:47 +00:00
Richard M. Stallman
0c76956f83 [C_ALLOCA] (xmalloc): New function. 1997-07-09 19:20:34 +00:00
Richard M. Stallman
c4009c1f3d (rindex): Add declaration. 1997-07-05 03:19:16 +00:00
Geoff Voelker
896d5821b8 (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
(movemail.exe): Depend upon and link with getopt files.
(obj): Include new source files.
(FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
(lisp): Include new and reorganized elisp files.
1997-07-01 05:08:34 +00:00
Richard M. Stallman
828524de84 (blessmail): Find blessmail.el in mail subdirectory. 1997-06-27 17:57:10 +00:00
Paul Eggert
7e46d45938 Don't assign to $0 in awk; some awks don't allow this. 1997-06-26 01:00:03 +00:00
Ulrich Drepper
7baf84a2e1 automatically generated from GPLed version 1997-06-21 04:31:18 +00:00
Paul Eggert
b167b98965 automatically generated from GPLed version 1997-06-21 04:31:18 +00:00
Ulrich Drepper
ec228c0155 automatically generated from GPLed version 1997-06-21 04:31:18 +00:00
Paul Eggert
145b0359ae automatically generated from GPLed version 1997-06-21 04:31:18 +00:00
Miles Bader
94ef1e4e29 automatically generated from GPLed version 1997-06-21 04:31:18 +00:00
Paul Eggert
b6850c5651 automatically generated from GPLed version 1997-06-21 03:24:49 +00:00
Karl Heuer
5326c1d687 (readline): Terminate buffer properly when EOF seen.
Test for valid pointer before dereferencing it.
1997-06-14 04:36:44 +00:00
Francesco Potortì
59aacecbf2 Also remove -DETAGS_REGEXPS from the target ctags: 1997-06-02 09:02:13 +00:00
Francesco Potortì
0b532ca2ca * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
defined inside etags.c if HAVE_CONFIG_H is defined.
1997-05-30 16:07:16 +00:00
Francesco Potortì
309032468c Various cleanups on TeX, Erlang, Prolog, C.
New function new_pfnote will be used for "optimised tags", but
  it depends on a constant that disables it for now.
New possibility of tagging global variables in C/C++/ObjC/Java
  is enabled by default.  Tags of member variables is disabled
  by default.  Options --(no-)members and --(no-)globals control them.
New symbol table entries for "import", "package" and "friend".
1997-05-30 14:53:42 +00:00
Paul Eggert
098401cfa2 automatically generated from GPLed version 1997-05-27 03:15:29 +00:00
Paul Eggert
b8ffe57028 (files): When computing arguments automatically, ignore non-files
within the RCS subdirectory.
1997-05-13 22:44:08 +00:00
Francesco Potortì
b7e22e9442 Added support for the Java language. 1997-05-13 09:38:23 +00:00
Francesco Potortì
cec68fcb05 * etags.c: (Cplusplus_suffixes): .pdb is Postscript with C syntax.
(Postscript_suffixes): .ps is Postscript.
	(lang_names): Add Postscript.
	(Postscript_functions): New function.
	(TEX_decode_env): Close minor memory leak.
	(just_read_file): Correct the char number of the tag.
1997-05-12 16:10:08 +00:00
Paul Eggert
d74a9f24b3 (loginFullnameMailaddrs, logins, rlog_options, files): Don't prepend $nl
since this causes some shells to generate the empty string when IFS is $nl.
(printlogline): Use SOH (octal code 1), not CR, since some PC-based shells
mishandle CR.
1997-05-11 20:02:32 +00:00
Paul Eggert
8726160d7e Doc fix: CR is \015, not \013. 1997-05-11 18:43:55 +00:00
Richard M. Stallman
a8f44d07f9 (getline): Don't miss CRLF pairs when the CR and LF are
read in separate blocks.
1997-05-06 19:30:49 +00:00
Francesco Potortì
e0903a92ea * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
(struct linebuffer): New member `len' is the length of the string.
	(find_entries, Pascal_functions, TeX_functions, TEX_getit):
	Use it instead of strlen.
	(TEX_getit): Declare and define unconditionally as static.
	(TeX_functions): Use if instead of #if TeX_named_tokens.
	(add_regex): Set RE_INTERVALS flag for regex compilation.
	(substitute): Code cleanup.
	(readline_internal): Code cleanup, set new member `len'.
	(readline): Bug corrected.
1997-04-30 14:57:39 +00:00
Geoff Voelker
26d937566b Change references of windowsnt.h to ms-w32.h.
(obj): Change references of nt*.c files to w32*.c files.
1997-04-23 22:23:44 +00:00
Paul Eggert
49fb579912 automatically generated from GPLed version 1997-04-18 00:48:01 +00:00
Francesco Potortì
2f608d34a6 Tue Apr 15 16:09:15 1997 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
* etags.c (xnew): Add support for debugging with chkmalloc.
	(error): Use this instead of printf whenever possible.
	(main): Only call xnew after having initialised progname.
	(substitute): Bad memory corruption error corrected.
	* etags.c (add_regex): Undo previous change.
	(relative_filename): Small memory leak closed.
	(absolute_filename): Cleaned up the code, possibly closing a bug.
	(absolute_dirname): Always return a newly allocated string.
1997-04-15 14:50:46 +00:00
Paul Eggert
6ef88a0a80 (initialize_fullname): Set NIS_PATH to the empty string before invoking
nismatch, in case it's set to some nonstandard value.
1997-03-23 18:46:03 +00:00
Paul Eggert
8fd927907b (files): Ignore files in RCS directory whose names are of the form ,*,
or *_; they are probably RCS lock files.  Also, ignore files named
.rcsfreeze.log or .rcsfreeze.ver; they are used by rcsfreeze.
1997-03-21 22:12:24 +00:00
Francesco Potortì
85e77a3fcf * etags.c (add_regex): reset *putbuf before using it. 1997-03-17 10:25:53 +00:00
Karl Heuer
ff804ff548 (popmail): Remove some unnecessary function
declarations.
(popmail, pop_retr): Since popmail always passes mbx_write and mbf
into pop_retr, there's no reason to pass in mbx_write, and the
file argument can be declared FILE * explicitly.  This fixes a
compilation problem on systems with 64-bit pointers.
1997-02-23 08:47:57 +00:00
Karl Heuer
b89d503573 Delete duplicate inclusion of fcntl.h
and duplicate #undefs of open, read, write, close.
1997-02-14 00:07:22 +00:00
Paul Eggert
8896e42c9c automatically generated from GPLed version 1997-01-23 04:23:12 +00:00
Paul Eggert
bae473ad6c automatically generated from GPLed version 1997-01-22 05:25:31 +00:00
Richard M. Stallman
7c1b57782a (movemail)): Link with getopt. 1997-01-21 01:55:08 +00:00
Richard M. Stallman
fea4325c82 (main): Do not display "[POP-password]" in the usage
message when movemail is compiled without POP support.
(main, popmail): Add the optional "-p" argument, which causes
movemail to leave mail in the inbox after copying it into the
output file.
1997-01-21 01:54:39 +00:00
Paul Eggert
77851e9c30 --help, --version: New options, for conformance to GNU coding standards.
(Copyright, Help, Id): New variables, for above.
(rlog): Use -q option with cvs log, to avoid useless chatter.

Treat logs of "Initial revision" (RCS) or "file F was initially added
on branch B." (CVS) as if they said "New file.", for consistency with
change log entries.
1997-01-20 09:03:05 +00:00
Richard M. Stallman
a4deff3cac Include maillock.h (conditionally).
Remove a redundant inclusion of <stdio.h>.
(MAIL_USE_MAILLOCK): New macro, conditionally defined.
(main): Add variable spool_name.
Support the usage of maillock and mailunlock to
lock and unlock mailboxes.
(mail_spool_name): New function.
1997-01-20 07:30:40 +00:00
Paul Eggert
7509d39795 (PATH): Add /usr/xpg4/bin,
where XPG4 SCCS hangs out in Solaris 2.5.
(sid1): Don't use bare -r, since XPG4 `get' does not allow it.
1997-01-01 05:33:42 +00:00
Richard M. Stallman
370e3d9d64 (streq, strneq): Use == NULL rather than !. 1996-12-19 22:02:55 +00:00
Richard M. Stallman
6e3dda29a4 (LIBMAIL): New macro. Conditionally includes -lmail.
(movemail): Use LIBMAIL, to link against -lmail.
1996-12-18 18:15:30 +00:00
Richard M. Stallman
6a7eabe0c6 (socket_connection): Free realhost after using it. 1996-12-16 06:01:18 +00:00
Francesco Potortì
086eac130a * etags.c (C_entries): Test tok.valid. This handles some
particular cases involving function declarations that failed.
	* etags.c (pfnote, fatal, error): Callers using a NULL pointer
	must cast it to (char *) because we have no prototypes.
	(make_C_tag): Macro deleted, new function.
	(C_entries): Calls to make_C_tag macro changed to call function.
1996-12-04 10:57:01 +00:00
Charles Hannum
51a66525e8 gethostbyname() may return a pointer to static data, which is
overwritten deep inside krb_realmofhost().  Copy the host name to
avoid conflicts.
1996-11-21 20:47:59 +00:00
Francesco Potortì
3f1c8fcdfc Wed Nov 13 17:51:29 1996 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
* etags.c (grow_linebuffer): New function.
	(GROW_LINEBUFFER): Macro deleted.  All callers changed.
	(make_tag): Macro renamed to make_C_tag.  All callers changed.
	(<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
	(Prolog_functions): prolog_skip_comment was called with wrong
	number of arguments.
	(xrealloc): fatal was called with wrong number of arguments
1996-11-13 17:02:40 +00:00
Francesco Potortì
3ca80e28b6 * etags.c (relative_filename): Bug corrected.
(etags_getcwd): Avoid warning of unused variable.
	(C_entries, consider_token): Added support for enum labels.
1996-11-08 13:30:38 +00:00
Paul Eggert
7e02c4ddef When processing cvs log output, remove `Attic/' from repository file names. 1996-11-03 17:09:27 +00:00
Karl Heuer
3bd8b59d60 Fix 1996-09-02 change. 1996-10-22 17:34:26 +00:00
Paul Eggert
6fbe22d865 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
revisions, since some hosts reject 1970-01-01 when east of UTC.
(date): Remove.
1996-10-13 05:59:42 +00:00
Paul Eggert
30fc6c655c (rlog_options): Look for ' option' rather than 'unknown option',
since CVS says 'invalid option'.
1996-10-12 17:24:45 +00:00
Richard M. Stallman
ae178a12ea (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes. 1996-10-06 19:50:49 +00:00
Francesco Potortì
b6b4884680 * etags.c (print_version): Print copyright info.
* etags.c (print_help): Print the bug reporting address.
	(main): Use return as the last instruction, instead of exit.
	* etags.c (main): Don't open the tags file in cxref mode.
1996-10-02 14:01:24 +00:00
Paul Eggert
aa7c3349af (date): Make default format acceptable to CVS post v1.8
as well as earlier CVSs and RCS.
1996-09-30 22:15:13 +00:00
Richard M. Stallman
2502581572 (main): If the lock call fails with EBUSY or
EAGAIN, retry a few times.
1996-09-29 22:45:55 +00:00
Paul Eggert
f41c4842c0 (rlog_options): Use $rlog, not rlog, when deciding whether to append -zLT. 1996-09-25 09:53:56 +00:00
Karl Heuer
e397a0172f Replaced all BSD with BSD_SYSTEM. 1996-09-17 02:37:17 +00:00
Richard M. Stallman
749ae7700e (longopts): Change nowait to no-wait.
(print_help_and_exit): Fix option name; upcase metavars.
1996-09-10 02:00:27 +00:00
Erik Naggum
4893a43797 (main): Declare `fromlen' as size_t, undo previous change. 1996-09-07 01:06:09 +00:00
Richard M. Stallman
37de9e5d47 (main): Declare `fromunix' as size_t. 1996-09-04 15:20:19 +00:00
Richard M. Stallman
0d1841a634 Whitespace fix. 1996-09-04 15:17:16 +00:00
Richard M. Stallman
6469b6d26b (etags_getcwd): Use getcwd if available even if MSDOS. 1996-09-03 18:36:55 +00:00
Richard M. Stallman
f1db6a73ef (quote_file_name): Quote with &, not \.
Quote `-' only at start of file name.  Terminate the value string.
1996-09-02 17:43:32 +00:00
Richard M. Stallman
8fb25e2680 Include signal.h properly;
delete the duplicate includes for it.
1996-09-02 05:45:58 +00:00
Richard M. Stallman
d8888efa0f On fatal signal, delete socket-file:
Include signal.h.
(xmalloc, fatal, error): New functions.
(delete_socket, handle_signals): New functions.
(progname, socket_name): New variables.
[HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
1996-09-02 05:39:36 +00:00
Richard M. Stallman
5212210c8f (quote_file_name): New function.
(main, both versions): Use quote_file_name.
(decode_options): Don't return a value.
(main, both versions): Use optind.
Don't check for -nowait here.
1996-09-02 00:05:56 +00:00
Richard M. Stallman
deec6f9958 (emacsclient): Link with getopt.
Add -DVERSION so emacsclient knows its version number.
1996-09-01 18:25:38 +00:00
Richard M. Stallman
8f9aaa0a81 (decode_options): New function.
(main, both versions): Call decode_options.
(print_help_and_exit): New function.
(VERSION): New macro
1996-09-01 18:25:21 +00:00
Richard M. Stallman
3a5a5199c7 (lisp): Include dos-nt.elc. 1996-09-01 06:49:07 +00:00
Richard M. Stallman
11c626be44 (blessmail): Use $srcdir to find blessmail.el. 1996-08-31 23:47:10 +00:00
Richard M. Stallman
292d74a338 (both versions): Handle -nowait and --nowait by sending data to the server. 1996-08-31 16:25:21 +00:00
Richard M. Stallman
ae6ed0acbb (INSTALL_STRIP): New variable.
(${archlibdir}): Use INSTALL_STRIP.

(MOVE_LIBS): Use conditionals on KERBEROS,
HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
1996-08-28 15:52:48 +00:00
Richard M. Stallman
6fd14a091c (MOVE_LIBS): Use conditionals on
KERBEROS, HAVE_LIBKRB and HAVE_LIBDES to set it up.
1996-08-26 21:33:49 +00:00
Paul Eggert
942bbf2b2b Change GNU Emacs' to this program' in the comment referring the reader
to the file COPYING, since rcs2log is distributed as part of programs
other than GNU Emacs.
1996-08-26 21:20:48 +00:00
Richard M. Stallman
41f2130007 Reverse conditional in previous change. 1996-08-26 16:10:43 +00:00
Richard M. Stallman
40f2809942 Include des.h krb.h with no dir name if SOLARIS2. 1996-08-25 02:27:24 +00:00
Erik Naggum
7b8b6c7ad9 Use ISO 8601 date format, with time zone appended if
change-log-time-zone-rule is non-nil, instead of traditional Unix date
format.

(datearg): When computing default from ChangeLog, handle ISO format dates
in addition to old-fashioned dates from Emacs 19.31 and earlier.  Don't
worry about hh:mm:ss since the resolution is now by day.  Use emtpy
datearg, not empty rlog_options, to decide whether to pass "$datearg"
option to $rlog.
(logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
(month_data): Remove `mo'; no longer needed.
(rlog_options): Use -zLT for localltime output, if `rlog' supports it.
(extractTZ): Use UTC if the zone is t.

Match `revision' line of rlog output more accurately.

Add -c, -v options.
1996-08-24 21:11:14 +00:00
Richard M. Stallman
0072414b40 Include <config.h>, so DOS_NT is defined on MSDOS. 1996-08-23 08:16:06 +00:00
Richard M. Stallman
70611080d2 (readline_internal) [DOS_NT]: Don't include CRs when
computing character positions in source files.
1996-07-23 16:32:24 +00:00
Richard M. Stallman
23a7488dea (main) [HAVE_SOCKETS]: Use two separate stdio
streams, one for sending and one for reading the reply.
1996-07-23 14:18:34 +00:00
Karl Heuer
1fb87c7784 Fix FSF address in comment. 1996-07-20 18:10:35 +00:00
Karl Heuer
d1e349d25c (clean): Use OBJDIR macro. 1996-07-16 23:23:09 +00:00
Karl Heuer
d283640e03 Undo previous change. 1996-07-16 22:39:31 +00:00
Karl Heuer
d0dff6e505 Declare main as int, not void. 1996-07-15 21:27:49 +00:00
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