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

1020 Commits

Author SHA1 Message Date
Gerd Moellmann
d65b057138 (yylex): Accept string literals with newlines in them.
(process_pp_line): Handle case of string literal with newline
in it in replacement text, which counts as continuing the
replacement text in GNU C.
2000-07-10 20:36:58 +00:00
Gerd Moellmann
831a6cb01c *** empty log message *** 2000-07-03 07:51:52 +00:00
Gerd Moellmann
2faf048a41 (token_string): Add missing tokens.
(parm_list): Handle case of qualified pointers.
2000-07-03 07:50:42 +00:00
Dave Love
53245ee2d1 Move config.h before other includes (which may use feature tests). 2000-06-23 11:36:52 +00:00
Dave Love
a47bf6480c comment 2000-06-20 13:27:11 +00:00
Jim Meyering
dcbf2cd238 . 2000-06-14 07:10:26 +00:00
Jim Meyering
2ca8a58743 Fix typos in comments. Remove trailing blanks. 2000-06-14 07:09:42 +00:00
Jason Rumney
f1c7754a42 *** empty log message *** 2000-06-11 21:00:57 +00:00
Jason Rumney
d4bd593f07 Added targets for ebrowse. 2000-06-11 20:53:47 +00:00
Jason Rumney
945499122b [WINDOWS-NT]: Use stricmp rather than strcasecmp to compare filenames. 2000-06-11 20:35:07 +00:00
Gerd Moellmann
5f1aea9aa7 *** empty log message *** 2000-06-06 10:39:20 +00:00
Gerd Moellmann
9aa665aab5 (ymalloc): Renamed from xmalloc.
(yrealloc): Renamed from xrealloc.
2000-06-06 10:39:01 +00:00
Dave Love
5bf244f1c6 (ERROR_MAX): Increase to 160. 2000-05-21 11:07:47 +00:00
Dave Love
752fb47256 Include config.h, not ../src/config.h.
(Errmsg): Bump length.
2000-05-21 11:02:50 +00:00
Gerd Moellmann
056565f7fb *** empty log message *** 2000-05-05 13:22:19 +00:00
Gerd Moellmann
ec82fb2f40 *** empty log message *** 2000-05-04 21:52:38 +00:00
Gerd Moellmann
42eaac2125 (DEFAULT_OUTFILE): Set to `BROWSE'. 2000-05-04 21:48:52 +00:00
Eli Zaretskii
5c922ea7e8 *** empty log message *** 2000-05-02 11:57:06 +00:00
Eli Zaretskii
fd72561d60 (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]: Define
to semi-colon.
(FILENAME_EQ): New macro, for comparing file names.
(add_member_decl, add_global_decl, add_member_defn): Use
FILENAME_EQ.
(process_file): Don't assume that fread always reads as many bytes
as it was told to (DOS-style CR-LF text files fail this logic).
(open_file): Allocate enough space for path->path plus the file
name and the slash.
2000-05-02 11:01:29 +00:00
Dave Love
6142fdcb58 *** empty log message *** 2000-04-19 22:45:31 +00:00
Dave Love
97052c635f (Texinfo_functions): New function.
(lang_names): Install it.
(Texinfo_suffixes): New variable.
2000-04-19 21:51:46 +00:00
Gerd Moellmann
cb9215e4f3 *** empty log message *** 2000-04-19 14:37:02 +00:00
Gerd Moellmann
8bef35f23a (xmalloc, xrealloc): Rewritten.
(declaration): Remove parameter IS_EXTERN.
(class_definition): Remove unused variable.
2000-04-19 14:30:52 +00:00
Stefan Monnier
8d2259b9a2 Add `ebrowse'. 2000-04-16 20:13:23 +00:00
Gerd Moellmann
be0dbdab00 *** empty log message *** 2000-04-09 11:15:57 +00:00
Gerd Moellmann
adb0a8d333 (INSTALLABLES): Add ebrowse.
(ebrowse): New target.
2000-04-09 10:53:05 +00:00
Andreas Schwab
c5aa0fc289 . 2000-03-29 21:34:46 +00:00
Andreas Schwab
34e778a67d (scan_lisp_file): Also look for `defsubst'. 2000-03-29 21:32:12 +00:00
Gerd Moellmann
d054101fd8 *** empty log message *** 2000-03-02 09:49:52 +00:00
Gerd Moellmann
bc8d4d8c42 (lisp_suffixes) Add `LSP'. 2000-03-02 09:48:52 +00:00
Francesco Potortì
71cbb89543 2000-02-10 Francesco Potorti` <pot@gnu.org>
* etags.c (iswhite): Redefined not to consider '\0' as white
	space, and use it throughout in place of isspace, thus preventing a
	potential signed char to int conversion problem.
	(MSDOS): #undefine befere redefining

2000-02-04  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>

	* etags.c (many functions): Add prototypes.
2000-02-10 21:28:51 +00:00
Dave Love
97fa0cc812 *** empty log message *** 2000-02-10 20:28:26 +00:00
Dave Love
0dacfc4b8a (pfnote, new_pfnote, C_entries, prolog_pred, erlang_func): Add
`static' to definitions to keep pcc happy.
2000-02-10 20:00:05 +00:00
Andrew Innes
a75dfea0a5 * dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
around image definitions and prototypes.
(gamma_correct) [WINDOWSNT]: New prototype.

* w32term.c (x_make_frame_visible): Replace call to
input_poll_signal with poll_for_input.

* window.c [WINDOWSNT]: Include w32term.h.

* xdisp.c [WINDOWSNT]: Include w32term.h.

* makefile.nt: Add dependencies on w32gui.h.
(OBJ1): Include atimer.obj.
($(BLD)\atimer.obj): New dependency rule.

* w32.c (sigmask): New function (does nothing).
(sigunblock): Ditto.

* frame.c [WINDOWSNT]: Include w32term.h.

* w32gui.h (struct W32FontStruct): Add ascent and descent slots.

* lread.c (syms_of_lread): Fix literal newlines.

* emacs.c (USAGE): Split into USAGE1 and USAGE2, to work-around
the string constant limit (2048 bytes) in MSVC.
(main): Ditto.
2000-02-06 23:37:51 +00:00
Andrew Innes
3191b14267 (ETAGSOBJ): Remove reference to obsolete alloca.obj.
(CTAGSOBJ): Ditto.
($$(BLD)\alloca.obj): Delete obsolete dependency rule.
2000-02-06 23:36:06 +00:00
Francesco Potortì
19e262bd59 Typos corrected for etags 2000-02-03 13:20:50 +00:00
Francesco Potortì
e4100b7f37 etags 2000-02-03 12:00:56 +00:00
Francesco Potortì
944bdd7208 2000-01-31 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
* etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
	(get_compressor_from_suffix, process_file): Use MSDOS in if clause.
	(etags_strchr, etags_strrchr): Use const char * and int as arguments.
	(getenv, getcwd): Only declare them if necessary.
	(EMACS_NAME): New constant macro.
	(print_version): Use it.
	(P_) [__STDC__]: Macro for defining function prototypes.
	(all functions): Made them static.

2000-01-18  Fabrice Popineau  <Fabrice.Popineau@supelec.fr>

	* etags.c [WINDOWSNT]: #include <direct.h>

2000-01-18  Martin Buchholz  <martin@xemacs.org>

	* etags.c: Prototypes and static for all the functions.
2000-02-03 11:58:48 +00:00
Richard M. Stallman
4b265472d6 Fix previous change. 2000-01-29 23:53:44 +00:00
Richard M. Stallman
55e30d2abd (main): Improve error message if can't create lock file. 2000-01-29 23:52:29 +00:00
Gerd Moellmann
875c14394f *** empty log message *** 2000-01-28 15:02:45 +00:00
Gerd Moellmann
9f637eea61 (socket_status): New function.
(main): if $LOGNAME or $USER exist and differ from our euid, look
for a socket based on the UID associated with the name.
2000-01-28 15:02:20 +00:00
Gerd Moellmann
e4936aa97c *** empty log message *** 2000-01-12 14:16:29 +00:00
Gerd Moellmann
97e3214d1d Add option -a EDITOR and environment variable
ALTERNATE_EDITOR.  Exec this editor if we fail to contact Emacs.
2000-01-12 13:38:54 +00:00
Gerd Moellmann
791a90877b *** empty log message *** 1999-12-10 09:55:29 +00:00
Gerd Moellmann
476b279958 (popmail): Allow mailbox specifications of the
form `po:username:hostname'.
1999-12-10 09:53:01 +00:00
Francesco Potortì
c8b04710a0 1999-11-19 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
* etags.c (_GNU_SOURCE): Define only if undefined.
	(get_scheme): Declaration deleted.
	(main): error was called with an integer as second arg, instead of
	a char pointer.
	(canonicalize_filename): Bug removed.

1999-11-18  Dave Love  <d.love@dl.ac.uk>

	* etags.c (C_entries): Rename label `intoken', avoiding K&R
	lossage from name clash with macro.
1999-11-19 12:46:32 +00:00
Francesco Potortì
e208136267 etags bug fixes 1999-11-19 12:45:11 +00:00
Gerd Moellmann
b05d3bee50 *** empty log message *** 1999-11-13 23:42:59 +00:00
Gerd Moellmann
fa52fcb511 (b2m): Add dependency on GETOPTDEPS. 1999-11-13 22:47:19 +00:00
Francesco Potortì
ba65dba8bb Changed the mail addess of the maintainer. 1999-11-03 23:13:10 +00:00
Gerd Moellmann
cb3a6c483b *** empty log message *** 1999-11-03 13:47:00 +00:00
Gerd Moellmann
a5c7ef8bc4 * etags.c (print_help): Change email address to send bugs to. 1999-11-03 13:09:07 +00:00
Francesco Potortì
93b7ac65fc Checked in at last a lot of improvementes and bug fixes. The oldest dating
back to 1997-06-04.  Please look at Changelog for details.  Main changes
are:

- lots of code cleanups and optimizations
- --globals is used not only for C-like languages
- new option --ignore-case-regex
- understands "operator" in C++
- support DOS file names by handling e.g. foo.cgz as if it were foo.c.gz.
- Fortran: no tags for "procedure"
- new option --declarations
- regular expressions can be read from a file
- regular expressions can be bound to a given language
- Ada and Python languages added
- my and local variables recognised in Perl
- "(defstruct (foo", "(defun (operator" and similar Lisp constructs
- interface in Java
1999-11-01 02:48:57 +00:00
Francesco Potortì
1c4784614e *** empty log message *** 1999-11-01 02:47:08 +00:00
Paul Eggert
4ee9629e2b Add support for large files. Merge glibc 2.1.2.
* b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
movemail.c, pop.c:
Do not include <stdlib.h>, as <config.h> does this now.

* b2m.c, emacsserver.c, etags.c, profile.c:
Include <config.h> before any system include files.

* emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
test-distrib.c:
(read, write, open, close): Do not undef.

* getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
(const): Do not define if HAVE_CONFIG_H; that's config.h's job.

* getopt.h: Adopt glibc 2.1.2.
1999-10-19 07:17:20 +00:00
Dave Love
c4dcdc9ce6 # 1999-10-17 09:55:57 +00:00
Dave Love
93c8d183ee (pop.o): Depend on config.h. 1999-10-15 15:48:53 +00:00
Dave Love
9832d51d60 Avoid strneq. 1999-10-11 17:14:12 +00:00
Gerd Moellmann
b358f91c16 Use "pop3" as the POP service name on all platforms,
instead of using "pop" on Unix and "pop3" on Windows NT.  "pop3"
has been the standard service name since RFC 1340 was published in
July 1992, so I think it's safe to start using it by default.
1999-10-10 23:09:04 +00:00
Phillip Rulon
74e4cb59f4 *** empty log message *** 1999-10-08 02:46:19 +00:00
Gerd Moellmann
577d9e2f1d *** empty log message *** 1999-10-07 00:36:36 +00:00
Dave Love
362bc2da50 # 1999-10-03 20:46:34 +00:00
Dave Love
b8098ef87f # 1999-10-01 12:43:57 +00:00
Dave Love
7e6972e92c (scan_lisp_file): Fix typo causing infloop. 1999-09-27 11:34:27 +00:00
Phillip Rulon
66f54605e1 patched by pjr from diff by rms 1999-09-24 13:52:46 +00:00
Dave Love
b0f08a24a4 Fix comment about conventions for Lisp files. 1999-09-04 11:25:13 +00:00
Richard M. Stallman
433d333d70 Include config.h not ../src/config.h.
(main, fopen, chdir): Add #undef.
(read_c_string, scan_c_file, skip_white, read_lisp_symbol)
(scan_lisp_file): Handle \r like \n.
1999-09-03 23:12:27 +00:00
Andreas Schwab
eed63914b0 Include <stdlib.h> if available. 1999-08-30 15:08:30 +00:00
Andreas Schwab
1ee65e5c81 Include <stdlib.h> if available. Don't declare errno if it's a macro. 1999-08-30 15:07:30 +00:00
Andreas Schwab
9ee8cf9e1a Include <unistd.h> if available. 1999-08-30 15:05:17 +00:00
Richard M. Stallman
4852ed0e72 (print_help_and_exit): Mention --version. 1999-08-29 19:30:53 +00:00
Karl Heuer
b4e94f425f (decode_options): Update version output.
(print_help_and_exit): Update bug report address.
1999-08-25 16:19:01 +00:00
Karl Heuer
c5fee54517 (main): Move the dynamic allocation of
system_name outside of the SERVER_HOME_DIR conditional.
1999-08-14 04:08:25 +00:00
Gerd Moellmann
e511d7f44a (INSTALLABLE_SCRIPTS): Add grep-changelog. 1999-08-10 13:48:24 +00:00
Gerd Moellmann
6dde7e380c Initial revision 1999-08-10 13:33:49 +00:00
Paul D. Smith
55e3eb9371 * Add configure option to enable dmalloc library.
* Various code cleanups.
1999-07-21 05:53:29 +00:00
Richard M. Stallman
8598a0f1f4 (clean): remove fns*.el. 1999-06-30 16:49:37 +00:00
Dave Love
9788737a53 (erlang_attribute): Fix undefined variable usage (after Potorti). 1999-06-23 09:23:38 +00:00
Andrew Innes
3288d108f4 (main) [WINDOWSNT]: Call ftruncate, which is now mapped to _chsize. 1999-05-02 09:31:32 +00:00
Karl Heuer
0343a01795 (main, both versions): Use quote_file_name on cwd. 1999-04-29 20:26:46 +00:00
Dave Love
df0ffd251b (main): Split up tables. Modify the preamble
somewhat.
1999-03-30 19:08:55 +00:00
Geoff Voelker
47373a1fdb Remove common multiple file compilation commands. 1999-03-06 02:15:46 +00:00
Richard M. Stallman
fac8eeff55 Refer to epaths.h. 1999-02-26 11:37:05 +00:00
Richard M. Stallman
4c32bfb9bc (yow): Depend on epaths.h, not paths.h. 1999-02-26 11:36:54 +00:00
Karl Heuer
bbe73f056f (perror_1, fatal_error): Don't compile unless needed. 1999-02-22 20:51:02 +00:00
Andrew Innes
27d3ec7f87 Do make version comparison as strings. 1999-01-27 21:49:57 +00:00
Richard M. Stallman
5f32a7128b (xmalloc): Fix previous change. 1999-01-25 23:43:20 +00:00
Richard M. Stallman
5497dfdb4b (xmalloc): Declare to return long. 1999-01-25 01:34:34 +00:00
Geoff Voelker
7ebca6a618 (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
the case of the drive letter.
1999-01-22 19:38:51 +00:00
Richard M. Stallman
a2b3f2b55c (main): Eliminate arbitrary limit on length of system_name.
(xmalloc): Define unconditionally.
1999-01-16 21:45:10 +00:00
Richard M. Stallman
40beb971f4 (main): Eliminate arbitrary limit on 1999-01-16 21:44:56 +00:00
Karl Heuer
f6bf1c83d7 (relative_filename): Stop backward search at beginning
of string, since non-Unix systems can have absolute paths with no
initial slash.
1999-01-12 21:58:08 +00:00
Geoff Voelker
9c148db6a3 Do string comparision of _NMAKE_VER. 1998-12-08 23:56:14 +00:00
Geoff Voelker
c654fd9e7d Compile multiple source files when possible. 1998-11-04 01:28:57 +00:00
Richard M. Stallman
f616d119cd Replace tabs with spaces
when they might confuse some Make versions.
1998-10-13 15:13:28 +00:00
Richard M. Stallman
0169bb47b2 Whitespace change. 1998-10-10 21:20:48 +00:00
Richard M. Stallman
5fb29af43c (main): Null-terminate system_name. 1998-10-10 21:20:22 +00:00
Karl Heuer
9b956af264 (popmail, pop_retr) [MAIL_USE_POP]: When displaying
an error message from POP, mention that it's from POP, to
distinguish it from local error messages.
1998-09-21 17:36:14 +00:00
Karl Heuer
a2997b0f43 [MAIL_USE_POP]: Add the "-r" flag to reverse the
order of messages downloaded from a POP server (e.g., if the
server stores messages in mailboxes in reverse order).
1998-09-04 20:14:16 +00:00
Paul Eggert
f868e34cd0 Update bug report address and copyright. 1998-08-12 22:33:01 +00:00
Paul Eggert
a11a197bb9 Update copyright 1998-08-12 14:22:14 +00:00
Paul Eggert
c4c65c3395 (initialize_fullname): Prefer getent if available. 1998-08-11 22:11:08 +00:00
Richard M. Stallman
5126d3b7fe (REGEXPDEPS, regex.o):
Prepend $(srcdir)/ to rule dependencies outside this dir.
1998-08-02 00:24:15 +00:00
Richard M. Stallman
2e454bf23e (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows. 1998-06-10 20:57:59 +00:00
Richard M. Stallman
665eba9dc0 Properly terminate a comment. 1998-06-06 22:24:37 +00:00
Andrew Innes
65ae11d9d1 (LOCAL_FLAGS): Define HAVE_CONFIG_H. 1998-06-01 14:09:53 +00:00
Andrew Innes
4822b2e57f (sys_wait): Rename to wait. 1998-06-01 14:09:21 +00:00
Andrew Innes
14fa0be5e2 Undefine _WINSOCKAPI_. 1998-06-01 14:01:14 +00:00
Geoff Voelker
97e3c91bbd (getppid): Look for EM_PARENT_PROCESS_ID. 1998-05-30 23:37:12 +00:00
Richard M. Stallman
bbcac09c81 Undo previous change. 1998-05-25 20:11:54 +00:00
Richard M. Stallman
0d66b6f332 Undo this previous change:
[MAIL_USE_POP]: Add support for "-g" and "-k"
command-line flags to tell movemail to use GSS-API or Kerberos
authentication if they are supported.
1998-05-25 20:10:50 +00:00
Ulrich Drepper
152b9de41c automatically generated from GPLed version 1998-05-19 07:09:32 +00:00
Richard M. Stallman
677a7bcf90 [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
all file i/o to be in binary mode.  Include ntlib.h.
1998-05-02 06:43:03 +00:00
Ulrich Drepper
1823194b95 automatically generated from GPLed version 1998-04-27 23:48:59 +00:00
Andreas Schwab
a0613c61ed Include <unistd.h> for chdir. 1998-04-27 09:22:29 +00:00
Richard M. Stallman
929e120a17 (TEX_decode_env): Don't free the value getenv returns. 1998-04-26 03:57:04 +00:00
Geoff Voelker
5568885b9c (obj): Update with new files in src.
(clean): Delete patch scratch files, optimized compilation dir.
1998-04-17 05:02:55 +00:00
Ulrich Drepper
06bd27fdf5 automatically generated from GPLed version 1998-04-14 00:02:53 +00:00
Dave Love
79f13bba7d Move inclusion of unistd.h to top, else fails on
Irix6, at least.
1998-04-08 17:31:45 +00:00
Karl Heuer
0ea9573750 Integrate support for GSS-API
authentication, implemented by Kevin L. Mitchel <klmitch@mit.edu>.
1998-04-06 22:16:30 +00:00
Karl Heuer
a51623bcff [MAIL_USE_POP]: Add support for "-g" and "-k"
command-line flags to tell movemail to use GSS-API or Kerberos
authentication if they are supported.
1998-04-06 22:10:30 +00:00
Andreas Schwab
2e0a5ae090 Move cancelations up. Include <stdlib.h> if
available.
1998-04-06 10:17:33 +00:00
Andreas Schwab
cb58ebb0cb (_XOPEN_SOURCE): Define for declaration of cuserid.
(parse_header): Explicitly declare return type.
1998-04-06 10:15:16 +00:00
Andreas Schwab
4e7ef1d6c5 Include <unistd.h> if available.
(main, handle_signals, perror_1, fatal_error): Explicitly declare
return types.  Add forward declarations.
1998-04-06 10:14:26 +00:00
Andreas Schwab
7f3bff3e4c Include <stdlib.h> and <unistd.h> if available.
Don't declare geteuid.
(print_help_and_exit): Change return type to void.  Forward
declare it.
1998-04-06 10:13:46 +00:00
Andreas Schwab
1f8c2f557f Include <stdlib.h> if available.
(main): Explicitly declare return type.
1998-04-06 10:12:28 +00:00
Richard M. Stallman
fb220ea4ee (put_entries): Use %ld. 1998-04-04 02:22:08 +00:00
Richard M. Stallman
5c0b76c1be (fatal): Declare the arg. 1998-04-04 02:21:01 +00:00
Richard M. Stallman
60b0a3793f (pop_getline): Renamed from getline. 1998-03-26 22:52:21 +00:00
Richard M. Stallman
3e2c89815d (install): Use INSTALL_STRIP with INSTALL_PROGRAM for the utilities. 1998-03-06 01:12:57 +00:00
Richard M. Stallman
15d5b889f0 (getit, Cobol_paragraphs, Pascal_functions,
Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
Always make named tags.
(Fortran_functions): Grok BLOCK DATA.
1998-01-27 07:15:03 +00:00
Andreas Schwab
b1cb2966f4 (main): Fix interwoven brace and cpp conditional nesting. 1998-01-23 11:06:49 +00:00
Karl Heuer
d89d024397 Allow messages retrieved from the POP
server to contain embedded nulls.
1997-12-04 06:44:56 +00:00
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
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