1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00
Commit Graph

686 Commits

Author SHA1 Message Date
Ulrich Drepper
0db2ec7752 automatically generated from GPLed version 1997-12-04 01:16:52 +00:00
Paul Eggert
d04f50310a (mbx_write) [MAIL_USE_POP]: Disable the code which quotes with a
'>' any lines starting with "From " read from the POP server, but
leave the code in place, wrapped in #ifdef
MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
because it turns out that something is depending on it.  Change
suggested by Paul Eggert <eggert@twinsun.com>.
Convert the character \037 (^_) at the beginning of a line into
the character '^' followed by the character '_', because otherwise
Emacs can't parse the resulting file as a valid BABYL file.
Change suggested by Paul Eggert <eggert@twinsun.com>.
1997-12-03 07:11:43 +00:00
Karl Heuer
1817145f6d (b2m): Define VERSION. Link with $(GETOPTOBJS). 1997-11-23 02:17:48 +00:00
Karl Heuer
e4b34a85e5 Include getopt.h.
(main): Use getopt_long to handle --version and --help.
1997-11-23 02:17:36 +00:00
Ulrich Drepper
4e941b8ea8 automatically generated from GPLed version 1997-11-06 00:44:44 +00:00
Karl Heuer
9d3f4cee9d (fullwrite): Get rid of an extra call to write. Problem
pointed out by Chiaki Ishikawa.
1997-10-31 23:09:43 +00:00
Karl Heuer
a6351b4860 (L_getit): Always make named tags so that Emacs
completion on symbols containing `:' etc. works.
(get_scheme): Likewise.
1997-10-16 18:17:52 +00:00
Karl Heuer
020d301566 Use system header files instead of declaring C-library
functions explicitly.
1997-09-25 00:44:53 +00:00
Paul Eggert
89752145b5 automatically generated from GPLed version 1997-09-11 18:22:03 +00:00
Ulrich Drepper
b93ad5e24b automatically generated from GPLed version 1997-09-11 18:13:19 +00:00
Paul Eggert
b970b3af41 automatically generated from GPLed version 1997-09-11 18:13:19 +00:00
Ulrich Drepper
c9364bbf20 automatically generated from GPLed version 1997-09-11 18:13:19 +00:00
Paul D. Smith
84760de2b5 Changes for GNU make 3.75.93. 1997-09-05 21:01:56 +00:00
Geoff Voelker
16f49a88c2 (getpid): Delete function. 1997-09-03 00:19:25 +00:00
Geoff Voelker
90eef3d95b (movemail.exe): Link wsock32.lib before LIBS. 1997-09-03 00:19:12 +00:00
Richard M. Stallman
3fe77f98b1 (scan_lisp_file): Handle custom-declare-variable. 1997-08-31 17:05:53 +00:00
Richard M. Stallman
bd25266244 [HAVE_SYSVIPC]: Include errno.h, as in the other case.
(main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
1997-08-27 20:08:59 +00:00
Richard M. Stallman
57b1f7206f (main): use SOCKLEN_TYPE for fromlen, if it is defined. 1997-08-14 04:16:00 +00:00
Miles Bader
bd873746d3 automatically generated from GPLed version 1997-08-14 02:25:35 +00:00
Paul Eggert
3d620bbb7d automatically generated from GPLed version 1997-08-14 02:16:15 +00:00
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
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