1 2000-05-04 Gerd Moellmann <gerd@gnu.org>
3 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
5 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
7 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]: Define
9 (FILENAME_EQ): New macro, for comparing file names.
10 (add_member_decl, add_global_decl, add_member_defn): Use
12 (process_file): Don't assume that fread always reads as many bytes
13 as it was told to (DOS-style CR-LF text files fail this logic).
14 (open_file): Allocate enough space for path->path plus the file
17 2000-04-19 Dave Love <fx@gnu.org>
19 * etags.c (Texinfo_functions): New function.
20 (lang_names): Install it.
21 (Texinfo_suffixes): New variable.
24 2000-04-19 Gerd Moellmann <gerd@gnu.org>
26 * ebrowse.c (xmalloc, xrealloc): Rewritten.
27 (declaration): Remove parameter IS_EXTERN.
28 (class_definition): Remove unused variable.
30 2000-04-09 Gerd Moellmann <gerd@gnu.org>
32 * Makefile.in (INSTALLABLES): Add ebrowse.
33 (ebrowse): New target.
35 * ebrowse.c: New file.
37 2000-03-29 Andreas Schwab <schwab@suse.de>
39 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
41 2000-03-02 Gerd Moellmann <gerd@gnu.org>
43 * etags.c (lisp_suffixes) Add `LSP'.
45 2000-02-10 Francesco Potorti` <pot@gnu.org>
47 * etags.c (iswhite): Redefined not to consider '\0' as white
48 space, and use it throughout in place of isspace, thus preventing a
49 potential signed char to int conversion problem.
50 (MSDOS): #undefine befere redefining
52 2000-02-04 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
54 * etags.c (many functions): Add prototypes.
56 2000-02-10 Dave Love <fx@gnu.org>
58 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
59 (erlang_func): Add `static' to definitions to keep pcc happy.
61 2000-01-31 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
63 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
64 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
65 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
66 (getenv, getcwd): Only declare them if necessary.
67 (EMACS_NAME): New constant macro.
68 (print_version): Use it.
69 (P_) [__STDC__]: Macro for defining function prototypes.
71 2000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
73 * etags.c [WINDOWSNT]: #include <direct.h>
75 2000-01-18 Martin Buchholz <martin@xemacs.org>
77 * etags.c (all functions): Made them static.
78 (all functions): Write prototypes.
80 2000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
82 * movemail.c (main): Improve error message if can't create lock file.
84 2000-01-28 Eric Hanchrow <offby1@blarg.net>
86 * emacsclient.c (socket_status): New function.
87 (main): if $LOGNAME or $USER exist and differ from our euid, look
88 for a socket based on the UID associated with the name.
90 2000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
92 * emacsclient.c: Add option -a EDITOR and environment variable
93 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
95 1999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us>
97 * movemail.c (popmail): Allow mailbox specifications of the
98 form `po:username:hostname'.
100 1999-11-19 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
102 * etags.c (_GNU_SOURCE): Define only if undefined.
103 (get_scheme): Declaration deleted.
104 (main): error was called with an integer as second arg, instead of
106 (canonicalize_filename): Bug removed.
108 1999-11-18 Dave Love <d.love@dl.ac.uk>
110 * etags.c (C_entries): Rename label `intoken', avoiding K&R
111 lossage from name clash with macro.
113 1999-11-13 Gerd Moellmann <gerd@gnu.org>
115 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
117 1999-11-03 Gerd Moellmann <gerd@gnu.org>
119 * etags.c (print_help): Change email address to send bugs to.
121 1999-11-01 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
123 * etags.c: Add suffix psw for PSWrap.
124 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
125 (Postscript_functions): Add code for PSWrap.
126 (Scheme_functions): Use local pointer and new get_tag function.
127 (get_tag): New name for old get_scheme.
128 (process_file): Do not free NULL when file does not exist.
129 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
130 (C_entries): Modifications that make --members tag even inside
131 typedefs and C nested structs (one level only).
132 (consider_token): Corrected a bug which prevented tagging of enum
134 (C_stab_entry): Added if, for, while, switch, return as
135 st_C_ignore. This makes it simpler to work when cblev!=0.
137 * etags.c (C_entries): tag member function declarations when
138 --declarations is used.
140 * etags.c (C_entries, consider_token): C++ `operator' now is
141 tagged in most cases.
142 As before, :: is not recognised if surrounded by spaces.
144 * etags.c (relative_filename): Account for DOS file names such
145 that is impossible to make one relative to another.
147 * etags.c (sym_type): New st_C_extern tag.
148 (gperf input): Use it for spotting external declarations.
149 (print_help): Document the new behaviour of --declarations.
150 (fvextern): New global variable.
151 (consider_token, C_entries): Use it.
153 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
154 (etags_getcwd): Remove test for WINDOWSNT.
156 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
157 foo.cgz, foo.cz, etc.
159 * etags.c (declarations): New global switch.
160 (longopts): Describe it.
161 (print_help): Document it.
163 (process_file): Don't process a file twice.
165 * etags.c (Fortran_functions): No tags for "procedure".
167 1999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
169 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
170 non-zero, returns a pointer to where the extension begins; callers
172 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
175 1999-11-01 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
177 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
178 (fvdev): New constant foperator.
179 (consider_token): Use it to get "operator" in C++.
180 (C_entries): Extend length of operator@ function name.
181 (C_entries): Use foperator when necessary.
183 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
185 * etags.c (compressor): New struct for compressed files.
186 (get_compressor_from_suffix): New function.
187 (get_language_from_suffix): Use it. Also, semantics changed.
188 (process_file): Consider compressed files, close file.
189 (find_entries): Use different call arg for get_language_from_suffix,
192 * etags.c (main): Call free_tree.
193 (find_entries): Do not free curfile.
194 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
195 (prolog_pred, erlang_func, substitute): Cast strlen to int when
197 (canonicalize_filename): Shut up compiler warning.
198 (Perl_functions): Make tag significant.
200 1999-11-01 Dave Love <d.love@dl.ac.uk>
202 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
203 (argument_type): New member at_icregexp.
204 (lc_trans): New global.
205 (main): Fill lc_trans. Process -c args.
206 (add_regex): New arg determining whether to use translation table.
207 (analyse_regex): New arg. Use it for add_regex.
209 1999-11-01 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
211 * etags.c (init): Cosmetic change: NULL --> '\0'.
212 (erlang_attribute): Bug corrected (uninitialized variable).
213 (filename_is_absolute): New function replaces absolutefn macro and
214 corrects a bug. All callers changed.
215 (canonicalize_filename): New function.
216 (process_file, etags_getcwd, absolute_dirname): Use it.
217 (relative_filename, absolute_filename): Removed var shadowing.
218 (C_entries, Pascal_functions): Add fake initializations to keep
220 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
222 * etags.c (xrnew): New macro. All callers of xrealloc changed.
223 (language): New typedef (was struct lang_entry).
224 (curlang): New global variable.
225 (node): typedef renamed from NODE.
226 (linebuffer): New typedef (was struct linebuffer).
227 (pattern): New typedef (was struct pattern). Some members added.
228 Now used as element of a linked list.
229 (patterns, num_patterns): Global variables deleted.
230 (p_head): New global variable.
231 (forced_lang): New global variable (replaces lang_func).
232 (get_language_from_name, get_language_from_interpreter,
233 get_language_from_suffix): Semantics changed. All callers changed.
234 (last_node): New global variable.
235 (free_tree, add_node, put_entries, total_size_of_entries): Change
236 name of local vars to avoid clashes with typedef node.
237 (number_len): Rewritten for elegance.
238 (token): New typedef replaces TOKEN.
239 (analyse_regex, add_regex): Rewritten for new functionality.
240 (free_patterns): New function called from main and add_regex.
241 (initbuffer, readline_internal, readline, grow_linebuffer):
242 Change name of local vars to avoid clashes with typedef
244 (readline): Rewritten for new functionality.
246 * etags.c: (Scheme_suffixes): New suffix ".ss".
247 (print_help): --globals is now used for more than C-type languages.
248 (Perl_functions): Tag global variables ("my" and "local").
250 * etags.c (print_help): Some messages clarified.
251 (LOOP_ON_INPUT_LINES): New macro.
252 (just_read_file, Fortran_functions, Asm_labels, Perl_functions,
253 Python_functions, Cobol_paragraphs, Pascal_functions,
254 Lisp_functions, Postscript_functions, Scheme_functions,
255 TeX_functions, Prolog_functions, Erlang_functions): Use it.
256 (Cobol_paragraphs, Postscript_functions, TeX_functions,
257 Prolog_functions, Erlang_functions): Use a local variable instead
258 of the global variable dbp.
259 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
260 standard indentation.
262 * etags.c (Python_suffixes, lang_names, Python_functions): Python
264 (skip_spaces, skip_non_spaces): Utility functions.
265 (find_entries, takeprec, getit, Fortran_functions, Perl_functions,
266 Python_functions, L_getit, Lisp_functions, Scheme_functions,
267 prolog_pred, erlanf_func, erlang_attribute): Use them.
268 (eat_white): Deleted.
270 * etags.c (CHAR, init): Keep into account non US-ASCII
271 characters and compilers with default signed chars.
272 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
275 * (C_stab_entry): "interface" in Java behaves like "class".
277 * etags.c: (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
278 (main): Put interval syntax here.
279 (add_regex): And remove it from here.
281 * etags.c (suggest_asking_for_help): Provide a
282 meaningful help message with and without LONG_OPTIONS.
284 * etags.c: <io.h> [MSDOS]: Include it, don't include string.h.
285 <stdlib.h, string.h>: Don't test MSDOS when including them.
286 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
287 (put_entries): Correctly use %ld instead of %d in printf.
289 * etags.c: <unistd.h> [HAVE_UNISTD_H]: Include conditionally, else
290 declare getcwd if HAVE_GETCWD.
291 (consider_token): Dead break instruction removed.
293 1999-10-19 Paul Eggert <eggert@twinsun.com>
295 Add support for large files. Merge glibc 2.1.2.
297 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
299 Do not include <stdlib.h>, as <config.h> does this now.
301 * b2m.c, emacsserver.c, etags.c, profile.c:
302 Include <config.h> before any system include files.
304 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
306 (read, write, open, close): Do not undef.
308 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
309 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
311 * getopt.h: Adopt glibc 2.1.2.
313 1999-10-15 Dave Love <fx@gnu.org>
315 * Makefile.in (pop.o): Depend on config.h.
317 1999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
319 * pop.c: Use "pop3" as the POP service name on all platforms,
320 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
321 has been the standard service name since RFC 1340 was published in
322 July 1992, so I think it's safe to start using it by default.
324 1999-09-27 Dave Love <fx@gnu.org>
326 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
328 1999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
330 * make-docfile.c (scan_lisp_file): Fix previous changes;
331 swallow CRLF like just CR or just LF.
333 1999-09-03 Richard Stallman <rms@gnu.org>
335 * make-docfile.c: Include config.h not ../src/config.h.
336 (main, fopen, chdir): Add #undef.
337 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
338 (scan_lisp_file): Handle \r like \n.
340 1999-08-30 Andreas Schwab <schwab@gnu.org>
342 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
344 * emacsserver.c: Include <stdlib.h> if available. Don't declare
345 errno if it's a macro.
347 * test-distrib.c: Include <unistd.h> if available.
349 1999-08-29 Richard Stallman <rms@gnu.org>
351 * emacsclient.c (print_help_and_exit): Mention --version.
353 1999-08-25 Richard M. Stallman <rms@gnu.org>
355 * emacsclient.c (decode_options): Update version output.
356 (print_help_and_exit): Update bug report address.
358 1999-08-13 Richard M. Stallman <rms@gnu.org>
360 * emacsclient.c (main): Move the dynamic allocation of
361 system_name outside of the SERVER_HOME_DIR conditional.
362 * emacsserver.c (main): Likewise.
364 1999-08-10 Gerd Moellmann <gerd@gnu.org>
366 * grep-changelog: New.
367 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
369 1999-07-12 Richard Stallman <rms@gnu.org>
371 * Version 20.4 released.
373 1999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
375 * Makefile.in (clean): Remove fns*.el.
377 1999-06-23 Dave Love <fx@gnu.org>
379 * etags.c (erlang_attribute): Fix undefined variable usage (after
382 1999-05-2 Andrew Innes <andrewi@gnu.org>
384 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
387 1999-04-29 Richard M. Stallman <rms@gnu.org>
389 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
391 1999-03-30 Dave Love <fx@gnu.org>
393 * sorted-doc.c (main): Split up tables. Modify the preamble
396 1999-03-05 Geoff Voelker <voelker@cs.washington.edu>
398 * makefile.nt: Remove common multiple file compilation commands.
400 1999-02-26 Richard Stallman <rms@gnu.org>
402 * Version 20.4 released.
404 * Makefile.in (yow): Depend on epaths.h, not paths.h.
406 * yow.c: Refer to epaths.h.
408 1999-02-22 Simon Josefsson <jas@pdc.kth.se>
410 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
412 1999-01-27 Andrew Innes <andrewi@gnu.org>
414 * makefile.nt: Do make version comparison as strings.
416 1999-01-25 Richard Stallman <rms@gnu.org>
418 * emacsclient.c (xmalloc): Fix previous change.
420 1999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
422 * emacsclient.c (xmalloc): Declare to return long.
424 1999-01-22 Geoff Voelker <voelker@cs.washington.edu>
426 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
427 the case of the drive letter.
429 1999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
431 * emacsserver.c (main): Eliminate arbitrary limit on
432 length of system_name.
434 * emacsclient.c (main): Eliminate arbitrary limit on
435 length of system_name.
436 (xmalloc): Define unconditionally.
438 1999-01-12 Darrin B. Jewell <jewell@mit.edu>
440 * etags.c (relative_filename): Stop backward search at beginning
441 of string, since non-Unix systems can have absolute paths with no
444 1998-12-08 Geoff Voelker <voelker@cs.washington.edu>
446 * makefile.nt: Do string comparision of _NMAKE_VER.
448 1998-11-03 Theodore Jump <tjump@cais.com>
450 * makefile.nt: Compile multiple source files when possible.
452 1998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
454 * Makefile.in: Replace tabs with spaces
455 when they might confuse some Make versions.
457 1998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
459 * emacsclient.c (main): Null-terminate system_name.
461 * emacsserver.c (main): Null-terminate system_name.
463 1998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
465 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
466 an error message from POP, mention that it's from POP, to
467 distinguish it from local error messages.
469 1998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
471 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
472 order of messages downloaded from a POP server (e.g., if the
473 server stores messages in mailboxes in reverse order).
475 1998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
477 * Version 20.3 released.
479 1998-08-11 Paul Eggert <eggert@twinsun.com>
481 * rcs2log: Update copyright date and bug report address.
482 (initialize_fullname): Prefer getent if available.
484 1998-07-30 Paul Eggert <eggert@twinsun.com>
486 * lib-src/Makefile.in (REGEXPDEPS, regex.o):
487 Prepend $(srcdir)/ to rule dependencies outside this dir.
489 1998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
491 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
493 1998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
495 * Makefile.in: Properly terminate a comment.
497 1998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
499 * movemail.c (sys_wait): Rename to wait.
501 * ntlib.h: Undefine _WINSOCKAPI_.
503 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
505 1998-05-30 Geoff Voelker <voelker@cs.washington.edu>
507 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
509 1998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
511 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
512 all file i/o to be in binary mode. Include ntlib.h.
514 1998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
516 * make-docfile.c: Include <unistd.h> for chdir.
518 1998-04-25 Richard Stallman <rms@psilocin.gnu.org>
520 * etags.c (TEX_decode_env): Don't free the value getenv returns.
522 1998-04-17 Geoff Voelker <voelker@cs.washington.edu>
524 * makefile.nt (obj): Update with new files in src.
525 (clean): Delete patch scratch files, optimized compilation dir.
527 1998-04-08 Dave Love <fx@gnu.org>
529 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
532 1998-04-06 Andreas Schwab <schwab@gnu.org>
535 * movemail.c: Move cancelations up. Include <stdlib.h> if
537 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
538 (parse_header): Explicitly declare return type.
539 * emacsserver.c: Include <unistd.h> if available.
540 (main, handle_signals, perror_1, fatal_error): Explicitly declare
541 return types. Add forward declarations.
542 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
543 Don't declare geteuid.
544 (print_help_and_exit): Change return type to void. Forward
546 * b2m.c: Include <stdlib.h> if available.
547 (main): Explicitly declare return type.
549 1998-04-03 Richard Stallman <rms@delysid.gnu.org>
551 * etags.c (put_entries): Use %ld.
553 * b2m.c (fatal): Declare the arg.
555 1998-04-03 Richard Stallman <rms@psilocin.gnu.org>
557 * etags.c (put_entries): Use %ld.
559 * b2m.c (fatal): Declare the arg.
561 1998-03-26 Richard Stallman <rms@psilocin.gnu.org>
563 * pop.c (pop_getline): Renamed from getline.
565 1998-03-05 Richard Stallman <rms@psilocin.gnu.org>
567 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
570 1998-01-23 Dave Love <d.love@dl.ac.uk>
572 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
573 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
574 Always make named tags.
575 (Fortran_functions): Grok BLOCK DATA.
577 1998-01-23 Andreas Schwab <schwab@gnu.org>
579 * movemail.c (main): Fix interwoven brace and cpp conditional
582 1997-12-04 Karl Heuer <kwzh@delysid.gnu.org>
584 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
585 server to contain embedded nulls.
587 1997-12-03 Paul Eggert <eggert@delysid.gnu.org>
590 (mbx_write) [MAIL_USE_POP]: Disable the code which quotes with a
591 '>' any lines starting with "From " read from the POP server, but
592 leave the code in place, wrapped in #ifdef
593 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
594 because it turns out that something is depending on it. Change
595 suggested by Paul Eggert <eggert@twinsun.com>.
596 Convert the character \037 (^_) at the beginning of a line into
597 the character '^' followed by the character '_', because otherwise
598 Emacs can't parse the resulting file as a valid BABYL file.
599 Change suggested by Paul Eggert <eggert@twinsun.com>.
601 1997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
603 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
604 server to contain embedded nulls.
606 1997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
608 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
609 quotes with a '>' any lines starting with "From " read from the
610 POP server, but leave the code in place, wrapped in #ifdef
611 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
612 because it turns out that something is depending on it. Change
613 suggested by Paul Eggert <eggert@twinsun.com>.
615 Convert the character \037 (^_) at the beginning of a line into
616 the character '^' followed by the character '_', because otherwise
617 Emacs can't parse the resulting file as a valid BABYL file.
618 Change suggested by Paul Eggert <eggert@twinsun.com>.
620 1997-11-22 Richard Stallman <rms@gnu.org>
622 * b2m.c: Include getopt.h.
623 (main): Use getopt_long to handle --version and --help.
625 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
627 1997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
629 * pop.c (fullwrite): Get rid of an extra call to write. Problem
630 pointed out by Chiaki Ishikawa.
632 1997-10-16 Dave Love <d.love@dl.ac.uk>
634 * etags.c (L_getit): Always make named tags so that Emacs
635 completion on symbols containing `:' etc. works.
636 (get_scheme): Likewise.
638 1997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
640 * pop.c: Use system header files instead of declaring C-library
641 functions explicitly.
643 1997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
645 * Version 20.2 released.
647 1997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
649 * Version 20.1 released.
651 1997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
653 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
655 * ntlib.c (getpid): Delete function.
657 1997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
659 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
661 1997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
663 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
664 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
666 1997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
668 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
670 1997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
672 * profile.c (get_time): Cast arg to fprintf.
674 * hexl.c (main): Use %08lx instead of %08x in printf because the
675 variable named addresses is long.
677 1997-08-08 Geoff Voelker <voelker@cs.washington.edu>
679 * makefile.nt (lisp): Update paths to lisp files that have moved.
681 1997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
683 * makefile.nt (ctags.obj): New target.
684 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
686 * ntlib.h: Add includes.
687 Undo definitions of crt routines from config.h.
689 1997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
691 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
693 1997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
695 * pop.c: Support auto-configuration of both Kerberos V4 and
696 Kerberos V5 for movemail, including detection of V4 and V5 header
698 Include <string.h> when STDC_HEADERS is defined, to get
699 declarations of string functions.
700 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
701 V5 API rather than the old one.
702 [KERBEROS] (socket_connection): Change a constant name from
703 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
704 with a constant in a header file.
706 * Makefile.in: Support auto-configuration of both Kerberos V4 and
707 Kerberos V5 for movemail, including detection of V4 and V5 header
710 1997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
712 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
714 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
716 1997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
718 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
720 1997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
722 * movemail.c (rindex): Add declaration.
724 Tue Jul 1 01:09:07 1997 Geoff Voelker <voelker@cs.washington.edu>
726 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
727 (movemail.exe): Depend upon and link with getopt files.
728 (obj): Include new source files.
729 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
730 (lisp): Include new and reorganized elisp files.
732 1997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
734 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
736 1997-06-25 Paul Eggert <eggert@twinsun.com>
738 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
740 1997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
742 * b2m.c (readline): Terminate buffer properly when EOF seen.
743 Test for valid pointer before dereferencing it.
745 1997-05-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
747 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
748 defined inside etags.c if HAVE_CONFIG_H is defined.
750 1997-05-29 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
752 * etags.c: (logical): Type name changed to bool.
753 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
754 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
755 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
756 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
757 (longopts): New long options without short counterpart are
758 globals, members, no-globals, no-members. Regexp options are now
759 defined conditionally to ETAGS_REGEXPS.
760 (print_help): Updated.
762 1997-05-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
764 * etags.c (C_entries): Use "." instead of "::" for Java.
765 (consider_token): is_func renamed to is_func_or_var.
766 (C_entries): is_func renamed to funorvar.
767 (C_entries): Initialise tok.named.
768 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
769 get rid of "import", "package" and "friend".
770 (fvdef): Renamed from funcdef. Also some constants renamed. All
772 (C_entries): Make separate tags for variables separated by comma.
773 (globals, members): New flags.
774 (main, C_entries): Use them.
775 (make_C_tag, C_entries): Make tok a global variable.
777 1997-05-16 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
779 * etags.c (funcdef): New vignore constant.
780 (consider_token, C_entries): Use it to tag global variables.
781 (print_help): Update for global variables.
782 (consider_token, C_entries): Set the len member of token_name.
783 (prolog_pred): Cleanup according to GNU coding standards.
784 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
785 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
787 1997-05-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
789 * etags.c (CHARS, CHAR): New constant and macro.
790 (iswhite, begtoken, intoken, endtoken): Use them.
791 (notinname, _nin, nonam): New macro, array, string.
792 (init): Cleanup and init _nin.
793 (new_pfnote): New function.
794 (make_C_tag) [traditional_tag_style]: Use it.
795 (traditional_tag_style): Costant set to TRUE for now.
797 1997-05-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
799 * etags.c (C_entries, Pascal_functions): Cleanup.
800 (TeX_functions): NULL as a function arg needs a cast.
801 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
803 1997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
805 * etags.c (TeX_functions): Cleaned up.
806 (tex_getit): Removed.
808 1997-05-13 Paul Eggert <eggert@twinsun.com>
810 * rcs2log (files): When computing arguments automatically, ignore
811 non-files within the RCS subdirectory.
813 1997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
815 * etags.c (C_JAVA): New #define.
816 (Cjava_suffixes): .java is Java.
817 (Cjava_entries): New function.
818 (lang_names): Add Java.
819 (sym_type): Add st_C_javastruct for Java.
820 (C_stab_entry): Add `extends' and `implements' keywords.
821 (consider_token, C_entries): Recognise Java structures.
823 1997-05-12 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
825 * etags.c: (Cplusplus_suffixes): .pdb is Postscript with C syntax.
826 (Postscript_suffixes): .ps is Postscript.
827 (lang_names): Add Postscript.
828 (Postscript_functions): New function.
829 (TEX_decode_env): Close minor memory leak.
830 (just_read_file): Correct the char number of the tag.
832 1997-05-11 Paul Eggert <eggert@twinsun.com>
834 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
835 Don't prepend $nl since this causes some shells to generate the
836 empty string when IFS is $nl.
837 (printlogline): Use SOH (octal code 1), not CR, since some
838 PC-based shells mishandle CR.
839 (initialize_fullname): Set NIS_PATH to the empty string before invoking
840 nismatch, in case it's set to some nonstandard value.
842 1997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
844 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
845 read in separate blocks.
847 1997-04-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
849 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
850 (struct linebuffer): New member `len' is the length of the string.
851 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
852 Use it instead of strlen.
853 (TEX_getit): Declare and define unconditionally as static.
854 (TeX_functions): Use if instead of #if TeX_named_tokens.
855 (add_regex): Set RE_INTERVALS flag for regex compilation.
856 (substitute): Code cleanup.
857 (readline_internal): Code cleanup, set new member `len'.
858 (readline): Bug corrected.
860 1997-04-23 Geoff Voelker <voelker@cs.washington.edu>
862 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
863 (obj): Change references of nt*.c files to w32*.c files.
865 1997-04-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
867 * etags.c (xnew): Add support for debugging with chkmalloc.
868 (error): Use this instead of printf whenever possible.
869 (main): Only call xnew after having initialised progname.
870 (substitute): Bad memory corruption error corrected.
872 1997-04-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
874 * etags.c (add_regex): Undo previous change.
875 (relative_filename): Small memory leak closed.
876 (absolute_filename): Cleaned up the code, possibly closing a bug.
877 (absolute_dirname): Always return a newly allocated string.
879 1997-03-21 Paul Eggert <eggert@twinsun.com>
881 * rcs2log (files): Ignore files in RCS directory whose names are
882 of the form ,*, or *_; they are probably RCS lock files.
883 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
884 they are used by rcsfreeze.
886 1997-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
888 * etags.c (add_regex): reset *putbuf before using it.
890 1997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
892 * movemail.c (popmail): Remove some unnecessary function
894 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
895 into pop_retr, there's no reason to pass in mbx_write, and the
896 file argument can be declared FILE * explicitly. This fixes a
897 compilation problem on systems with 64-bit pointers.
899 1997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
901 * movemail.c: Delete duplicate inclusion of fcntl.h
902 and duplicate #undefs of open, read, write, close.
904 1997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
906 * movemail.c (main): Do not display "[POP-password]" in the usage
907 message when movemail is compiled without POP support.
908 (main, popmail): Add the optional "-p" argument, which causes
909 movemail to leave mail in the inbox after copying it into the
912 * Makefile.in (movemail): Link with getopt.
914 1997-01-20 Paul Eggert <eggert@twinsun.com>
916 * rcs2log: (--help, --version): New options, per GNU coding standards.
917 (Copyright, Help, Id): New variables, for above.
918 (rlog): Use -q option with cvs log, to avoid useless chatter.
920 Treat logs of "Initial revision" (RCS) or "file F was initially added
921 on branch B." (CVS) as if they said "New file.", for consistency with
924 1997-01-01 Paul Eggert <eggert@twinsun.com>
926 * vcdiff (PATH): Add /usr/xpg4/bin,
927 where XPG4 SCCS hangs out in Solaris 2.5.
928 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
930 1996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
932 * etags.c (streq, strneq): Use == NULL rather than !.
934 1996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
936 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
937 (movemail): Use LIBMAIL, to link against -lmail.
939 * movemail.c: Include maillock.h (conditionally).
940 Remove a redundant inclusion of <stdio.h>.
941 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
942 (main): Add variable spool_name.
943 Support the usage of maillock and mailunlock to
944 lock and unlock mailboxes.
945 (mail_spool_name): New function.
947 * movemail.c: Fix an uninitialized variable which could cause
948 movemail to exit with an error status incorrectly on systems which
949 use lock files rather than a system locking function to lock
952 1996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
954 * pop.c (socket_connection): Free realhost after using it.
956 1996-12-04 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
958 * etags.c (C_entries): Test tok.valid. This handles some
959 particular cases involving function declarations that failed.
961 1996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
963 * pop.c (socket_connection):
964 gethostbyname may return a pointer to static data.
965 krb_realmofhost can clobber it. So copy it.
967 1996-11-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
969 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
970 must cast it to (char *) because we have no prototypes.
971 (make_C_tag): Macro deleted, new function.
972 (C_entries): Calls to make_C_tag macro changed to call function.
974 1996-11-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
976 * etags.c (grow_linebuffer): New function.
977 (GROW_LINEBUFFER): Macro deleted. All callers changed.
978 (make_tag): Macro renamed to make_C_tag. All callers changed.
979 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
980 (Prolog_functions): prolog_skip_comment was called with wrong
982 (xrealloc): fatal was called with wrong number of arguments
984 1996-11-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
986 * etags.c (relative_filename): Bug corrected.
987 (etags_getcwd): Avoid warning of unused variable.
988 (C_entries, consider_token): Added support for enum labels.
990 1996-11-03 Paul Eggert <eggert@twinsun.com>
992 * rcs2log: When processing cvs log output, remove `Attic/' from
993 repository file names.
995 1996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
997 * emacsserver.c: Fix 1996-09-02 change.
999 1996-10-12 Paul Eggert <eggert@twinsun.com>
1001 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
1002 option', since CVS says 'invalid option'.
1003 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
1004 revisions, since some hosts reject 1970-01-01 when east of UTC.
1007 1996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1009 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
1011 1996-10-02 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1013 * etags.c (print_version): Print copyright info.
1015 * etags.c (print_help): Print the bug reporting address.
1016 (main): Use return as the last instruction, instead of exit.
1018 * etags.c (main): Don't open the tags file in cxref mode.
1020 1996-09-29 Dave Love <d.love@dl.ac.uk>
1022 * rcs2log (date): Make default format acceptable to CVS post v1.8
1023 as well as earlier CVSs and RCS.
1025 1996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1027 * movemail.c (main): If the lock call fails with EBUSY or
1028 EAGAIN, retry a few times.
1030 1996-09-25 Paul Eggert <eggert@twinsun.com>
1032 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
1033 whether to append -zLT.
1035 1996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
1037 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
1038 * emacsclient.c, movemail.c: Likewise.
1040 1996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1042 * emacsclient.c (longopts): Change nowait to no-wait.
1043 (print_help_and_exit): Fix option name; upcase metavars.
1045 1996-09-06 Erik Naggum <erik@naggum.no>
1047 * emacsserver.c (main): Declare `fromlen' as size_t.
1049 1996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
1051 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
1053 1996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1055 * emacsclient.c (quote_file_name): Quote with &, not \.
1056 Quote `-' only at start of file name. Terminate the value string.
1058 * emacsserver.c: Include signal.h properly;
1059 delete the duplicate includes for it.
1061 * emacsserver.c: On fatal signal, delete socket-file:
1062 * emacsserver.c: Include signal.h.
1063 (xmalloc, fatal, error): New functions.
1064 (delete_socket, handle_signals): New functions.
1065 (progname, socket_name): New variables.
1066 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
1068 1996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1070 * emacsclient.c (quote_file_name): New function.
1071 (main, both versions): Use quote_file_name.
1072 (decode_options): Don't return a value.
1073 (main, both versions): Use optind.
1074 Don't check for -nowait here.
1076 * emacsclient.c (decode_options): New function.
1077 (main, both versions): Call decode_options.
1078 (print_help_and_exit): New function.
1079 (VERSION): New macro.
1081 * Makefile.in (emacsclient): Link with getopt.
1082 Add -DVERSION so emacsclient knows its version number.
1084 1996-08-31 Geoff Voelker <voelker@cs.washington.edu>
1086 * makefile.nt (lisp): Include dos-nt.elc.
1088 1996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1090 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
1092 1996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1094 * emacsclient.c (both versions): Handle -nowait and --nowait
1095 by sending data to the server.
1097 1996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1099 * Makefile.in (INSTALL_STRIP): New variable.
1100 (${archlibdir}): Use INSTALL_STRIP.
1102 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
1103 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
1105 * pop.c: Reverse conditional in previous change.
1107 1996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1109 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
1111 1996-08-24 Paul Eggert <eggert@twinsun.com>
1113 * rcs2log: Use ISO 8601 date format, with time zone appended
1114 if change-log-time-zone-rule is non-nil, instead of
1115 traditional Unix date format.
1117 (datearg): When computing default from ChangeLog, handle ISO format
1118 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
1119 Don't worry about hh:mm:ss since the resolution is now by day.
1120 Use emtpy datearg, not empty rlog_options, to decide whether to pass
1121 "$datearg" option to $rlog.
1122 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
1123 (month_data): Remove `mo'; no longer needed.
1124 (rlog_options): Use -zLT for localltime output, if `rlog' supports it.
1126 Match `revision' line of rlog output more accurately.
1130 1996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
1132 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
1134 1996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1136 * Version 19.33 released.
1138 1996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1140 * Version 19.32 released.
1142 1996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
1144 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
1145 computing character positions in source files.
1147 1996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
1149 * makefile.nt (clean): Use OBJDIR macro.
1151 1996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
1153 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
1155 1996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
1157 * cvtmail.c, sorted-doc.c, yow.c: [__GNU_LIBRARY__]: Use <string.h>.
1158 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
1159 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
1161 1996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
1163 * ntlib.h: Correct return type of getwd.
1164 * ntlib.c (getwd): Correct return type.
1166 1996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1168 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
1171 1996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
1173 * makefile.nt: Remove all references to wakeup.
1175 1996-06-28 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1177 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
1178 explicit, mutable, typename.
1180 1996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1182 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
1183 streams, one for sending and one for reading the reply.
1185 1996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1187 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
1188 (wakeup): Target deleted.
1189 (UTILITIES): Delete wakeup and timer.
1191 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
1193 1996-06-11 Geoff Voelker <voelker@cs.washington.edu>
1195 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
1196 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
1198 1996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1200 * etags.c (main): Copy cwd when appending slash.
1202 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
1204 * Version 19.31 released.
1206 1996-05-17 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1208 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
1209 (Pascal_functions): Increase linecharno by the correct number of
1210 chars, inline the GET_NEW_LINE macro and delete its definition.
1212 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
1214 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
1216 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
1218 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
1219 (movemail.exe, fakemail.exe): Now built under Win32.o
1221 * ntlib.c: Include ntlib.h.
1222 (nt_sleep): Rename to sleep.
1223 (getwd): Return directory.
1224 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
1225 sys_ctime, sys_fopen): New functions.
1227 * ntlib.h: New file.
1229 1996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
1231 * pop.c (SEND, RECV): Renamed from send, recv.
1232 (pop_open, pop_trash): Make the trash_started code unconditional.
1233 (socket_connection): Delete casts to void.
1235 1996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
1237 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
1240 1996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
1242 * fakemail.c [WINDOWSNT]: Include ntlib.h.
1244 * hexl.c [DOSNT]: Include fcntl.h.
1245 [WINDOWSNT]: Include io.h.
1246 (main) [MSDOS]: Change conditional to DOS_NT.
1248 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
1249 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
1250 [WINDOWSNT]: Include locking.h.
1251 (main): Update usage message. Use IS_DIRECTORY_SEP.
1252 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
1253 (main) [WINDOWSNT]: Invoke locking instead of flock.
1254 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
1255 (main) [MAIL_USE_POP]: Pass password to popmail if used.
1256 Include winsock.h; don't include unix inet headers.
1257 (popmail): Add password argument and pass it to pop_open.
1258 Open output file in binary mode.
1260 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1261 Macro SOCKET_ERROR undefined.
1262 Don't declare h_errno.
1263 [!WINDOWSNT]: Define macros recv and send.
1264 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
1265 (pop_open) [WINDOWSNT]: Initialize trash_started.
1266 (have_winsock) [WINDOWSNT]: New variable.
1267 (socket_connection) [WINDOWSNT]: Initialize winsock.
1268 (socket_connection): Use closesocket instead of close.
1269 (getline): Use recv instead of read.
1270 (fullwrite): Use send instead of write.
1271 (pop_trash): Use closesocket instead of close.
1272 (pop_trash) [WINDOWSNT]: Cleanup winsock.
1273 Check if being called recursively by sendline.
1275 * pop.h (struct _popserver): New field trash_started.
1277 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
1279 1996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1281 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
1283 1996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1285 * etags.c [WINDOWSNT]: Include io.h.
1287 1996-04-10 Geoff Voelker <voelker@cs.washington.edu>
1289 * makefile.nt (CTAGSOBJ): Compile with regexp support.
1291 1996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
1293 * hexl.c [DJGPP v2]: Include io.h.
1294 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
1296 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
1299 1996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1301 * etags.c (absolute_filename): Use absolutefn.
1303 1996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
1305 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
1306 letter isn't an alphabetic character.
1307 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
1308 (process_file) [DOS_NT]: Convert all slashes to forward style.
1309 (absolute_filename) [DOS_NT]: Emit error message for relative
1310 paths with a drive letter.
1311 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
1312 DOS/NT drive letters which try to reference the parent of the root.
1313 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
1315 1996-03-27 Geoff Voelker <voelker@cs.washington.edu>
1317 * makefile.nt: Change uses of del to $(DEL).
1319 1996-03-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1321 * etags.c (just_read_file): Reset lineno and charno on entry.
1323 1996-03-15 Anders Lindgren <andersl@csd.uu.se>
1325 * etags.c: Prolog language totaly rewritten.
1326 (Prolog_functions): Rewritten from scratch.
1327 (skip_comment, prolog_getit): Removed.
1328 (prolog_skip_comment): New function, like old skip_comment.
1329 (prolog_pred, prolog_atom, prolog_white): New functions.
1330 (erlang_func, erlang_attributes): Forward declarations added.
1331 (erlang_atom): Check if backslash ends line inside quoted atom.
1333 1996-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1335 * etags.c (absolutefn): DOS_NT version corrected.
1336 (main): Append "/" to the dir name only if not already there.
1337 (print_help): Explain the absolute/relative file name issue.
1339 1996-03-08 Anders Lindgren <andersl@csd.uu.se>
1341 * etags.c: New Languange Erlang added.
1342 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom,
1343 erlang_white): New functions.
1344 (Erlang_suffixes): New suffix list.
1345 (lang_names): Erlang entry added.
1346 (prolog_getit): Accepts headers spanning several lines.
1348 (Prolog_functions): Removed incorrect compensation for
1350 (readline_internal): Zero-terminate last line.
1352 1996-03-20 Mike Long <mike.long@analog.com>
1354 * b2m.c (main): Initialize progname variable before using it.
1355 Quote `username' in From_ header.
1357 1996-03-18 Geoff Voelker <voelker@cs.washington.edu>
1359 * ntlib.c (getpid): New function.
1361 1996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1363 * emacsclient.c (main, both definitions):
1364 Print a newline for normal termination.
1366 1996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
1368 * tcp.c (main): Convert port to network byte order.
1370 1996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
1372 * pop.c (pop_retrieve, getline): Avoid type clashes.
1374 1996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
1376 * etags.c (enum sym_type, anonymous enum): Delete final comma.
1378 1996-01-15 Paul Eggert <eggert@twinsun.com>
1380 * rcs2log (initialize_fullname): Add support for NIS+.
1381 (hostname): Fully qualify the default hostname with the domainname
1382 if the hostname lacks a `.'.
1384 1996-01-15 Paul Eggert <eggert@twinsun.com>
1386 * rcs2log (initialize_fullname): Add support for NIS+.
1387 (hostname): Fully qualify the default hostname with the domainname
1388 if the hostname lacks a `.'.
1390 1996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
1392 * etags.c (consider_token): Fix typo in expression.
1394 1996-01-04 Paul Eggert <eggert@twinsun.com>
1396 * etags.c (substitute): Fix spelling in message.
1398 1996-01-03 George V. Reilly <georger@microcrafts.com>
1400 * makefile.nt (etags, ctags): Compile with regexp support.
1401 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
1402 subdirectory exists before compiling.
1404 1996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
1406 * emacsserver.c (main): Do chmod based on existing permission.
1408 1995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1410 * Makefile.in (install): Turn on read/execute permission.
1412 1995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1414 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
1415 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
1417 1995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1419 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
1421 1995-12-07 Francesco Potorti` <pot@cnuce.cnr.it>
1423 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
1424 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
1425 get_scheme, prolog_getit): Name the tag in ctags mode.
1426 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
1427 (Perl_interpreters): Accept "@PERL@" as an interpreter.
1428 (suggest_asking_for_help): New function.
1429 (main, get_language_from_name): Use suggest_asking_for_help.
1430 (main): Let get_language_from_name make language existence check.
1431 (streq, strneq): Check the arguments #if DEBUG.
1433 1995-12-06 Francesco Potorti` <pot@cnuce.cnr.it>
1435 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
1436 (gperf): Added keywords for Objective C and GNU macros.
1437 (sym_type): Added values to account for Objective C and GNU macros.
1438 (begtk): The '@' character can start a token.
1439 (objdef, methodlen, objtag): New variables for Objective C.
1440 (consider_token, C_entries): Added code for Objective C.
1441 (plain_C_suffixes): Add .m and .lm for Objective C.
1442 (Yacc_suffixes): Add .ym for Objective yacc.
1443 (GROW_LINEBUFFER): New macro.
1444 (consider_token, C_entries, Pascal_functions): Use the new macro.
1445 (consider_token): Take one more argument. Caller changed.
1446 (consider_token): Use the hashing function to spot GNU macros.
1447 (C_entries): Consider // as a comment start even in plain C for
1448 the sake of Objective C parsing.
1450 1995-12-04 Francesco Potorti` <pot@cnuce.cnr.it>
1452 * Makefile.in (ctags): depend on etags only for simplicity;
1453 compile with regexp support enabled.
1455 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1457 * Version 19.30 released.
1459 1995-11-22 Geoff Voelker <voelker@cs.washington.edu>
1461 * makefile.nt (DOC, clean): Don't use switches to del not
1462 supported by Windows 95.
1464 1995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1466 * Makefile.in (regex.o): Depend on ../src/config.h.
1468 1995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1470 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
1471 (LOADLIBES): Use LIB_STANDARD.
1473 1995-11-07 Kevin Gallo <kgallo@microsoft.com>
1475 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
1476 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
1477 Windows 95 conditional.
1479 1995-11-06 Francesco Potorti` (pot@cnuce.cnr.it)
1481 * etags.c (get_lang_from_name, get_lang_from_interpreter,
1482 get_lang_from_suffix): New functions.
1483 (get_language): Function deleted.
1484 (lang_entry): Two members added to struct.
1485 (lang_names): Reflect the new layout of lang_entry.
1486 (print_language_names, main, find_entries): Use the new functions.
1487 (find_entries): Look at the first line for #! if no language.
1488 (C_entries): Invalidate the token when funcdef is reset.
1489 (Perl_functions): New function.
1490 (lang_suffixes): .pl and .pm are Perl suffixes.
1492 1995-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
1494 * etags.c (lowcase): Use the standard tolower function.
1495 (substitute): Remove some wrong and some useless code related with
1496 escape `\` character in regexp replacement string.
1497 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
1498 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
1499 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
1500 .prolog for prolog (.pl removed).
1501 (massage_name, etags_getcwd): Use lowcase instead of tolower.
1502 (C_entries, find_entries): Added comments about memory leakage.
1503 (add_node): Dead code removed.
1505 1995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1507 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
1508 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
1510 1995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1512 * test-distrib.c: Add #undef for open, close, read, write.
1514 1995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1516 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
1517 [! O_RDONLY]: Define it to zero.
1518 (main): Use O_RDONLY instead of explicit zero.
1520 1995-08-17 Francesco Potorti` (pot@cnuce.cnr.it)
1522 * etags.c (Pascal_functions): Close comment bug corrected.
1523 (add_node): Correctly compare node file names.
1524 (Pascal_functions): Correctly allocate and free memory for tline.
1525 (pfnote): Put the definition of fp in the innermost block.
1526 (NODE): `named' member removed.
1527 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1528 use the `named' member, check whether `name' is NULL instead.
1529 (pfnote): `named' argument removed, all callers changed.
1530 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
1531 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1532 removed from pfnote call, some code cleanup.
1533 (relative_filename): Free temporary space allocated by concat.
1535 1995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1537 * Makefile.in (getdate.c): New target.
1538 (getdate.o): Just compile getdate.c.
1540 1995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
1542 * fakemail.c (xrealloc): Change cast to match return type.
1544 1995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1546 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
1548 1995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1550 * movemail.c (main): Fix previous change.
1551 Add error check for empty OUTNAME.
1553 1995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1555 * movemail.c (main): Mention lock file name in error message.
1557 1995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1559 * profile.c (gettimeofday): New function, defined if necessary.
1561 1995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1563 * Makefile.in: Renamed from Makefile.in.in.
1564 (distclean): Delete Makefile.c, not Makefile.in.
1566 1995-07-17 Michael Shields <shields@tembel.org>
1568 * Makefile.in.in (tags): Synonym for `TAGS'.
1570 1995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
1572 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
1573 configure has already set $(INSTALL) to the proper relative path.
1575 1995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
1577 * etags.c (plain_C_entries): new function.
1578 (lowcase): new macro.
1579 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
1580 (lang_suffixes): new suffix ".pc" for Pro*C files.
1581 (consider_token): don't tag all tokens beginning with DEFUN & Co..
1582 (tail): look for the end of the token when comparing.
1583 (takeprec): since now tail behaves differently, use strneq.
1585 1995-07-08 Paul Eggert <eggert@twinsun.com>
1587 * rcs2log (datearg): Separate date from time with comma, not space,
1588 to work around CVS 1.5 bug.
1589 (CVSROOT): Don't abort when unset if repository is absolute.
1591 1995-07-07 Paul Eggert <eggert@twinsun.com>
1593 * rcs-checkin, rcs2log, vcdiff:
1594 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
1595 that interpret `#! /' as a 4-byte magic number.
1597 1995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
1599 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
1600 mailbox with "po:mailbox", the mailbox is everything after the
1603 1995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1605 * emacsserver.c: Make all error messages start with `Error: '.
1606 (fatal_error, perror_1): New functions, use throughout.
1608 1995-06-28 Paul Eggert <eggert@twinsun.com>
1610 * rcs2log (CVSROOT, repository):
1611 Allow remote repositories a la CVS 1.4.
1613 1995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
1615 * etags.c (plain_C_entries): new function.
1616 (lowcase): new macro.
1617 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
1618 (lang_suffixes): new suffix ".pc" for Pro*C files.
1619 (consider_token): don't tag all tokens beginning with DEFUN & Co..
1620 (tail): look for the end of the token when comparing.
1621 (takeprec): since now tail behaves differently, use strneq.
1623 1995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1625 * movemail.c (main): Add newline in usage message.
1627 1995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1629 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
1631 1995-06-21 Francesco Potorti` (pot@cnuce.cnr.it)
1633 * etags.c (find_entries): Rewind before rereading the input file.
1635 1995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1637 * Version 19.29 released.
1639 * make-docfile.c (main) [MSDOS]: Do set _fmode.
1640 This undoes part of the previous change.
1642 1995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1644 * make-docfile.c (main): On MSDOS, don't change stdout
1645 to binary, and insist on an -o option.
1647 1995-06-13 Geoff Voelker <voelker@cs.washington.edu>
1649 * etags.c (process_file,absolute_filename): Handle filenames
1650 starting with a drive letter.
1652 * makefile.nt (install): Copy wakeup.exe properly.
1654 1995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
1656 * make-docfile.c [MSDOS]: #undef chdir.
1658 1995-06-04 Paul Eggert <eggert@twinsun.com>
1660 * rcs2log (output_authors): Allow ':' in time zone,
1661 as per ISO 8601 and RCS 5.6.8 beta.
1663 1995-05-29 Francesco Potorti` (pot@cnuce.cnr.it)
1665 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
1666 compatibility problems.
1668 1995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
1670 * etags.c (etags_getcwd): Don't use #elif.
1671 Have just one function body.
1673 1995-05-25 Geoff Voelker <voelker@cs.washington.edu>
1675 * makefile.nt (LIBS): Use BASE_LIBS.
1676 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
1678 (DOC): Use del instead of rm.
1679 (DOC) [WINDOWS95]: Use DOC.
1680 (clean): Handle MSVC aux files.
1681 (config.h,paths.h): Use $(CP) instead of cp.
1682 (config.h): Use $(CONFIG_H)
1683 (make-docfile.obj): Depend upon config.h.
1686 1995-05-23 Francesco Potorti` (pot@cnuce.cnr.it)
1688 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
1689 former gives the true path even in the presence of simlinks.
1691 1995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1693 * movemail.c (main): Increase lock timeout to five minutes.
1695 1995-05-06 Geoff Voelker <voelker@cs.washington.edu>
1697 * makefile.nt (obj): Use .c files.
1699 1995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1701 * make-docfile.c: Include config.h.
1702 (NO_SHORTNAMES): New definition.
1703 (xmalloc): Return long *.
1705 * etags.c (C_entries): Cast result of xrealloc.
1706 (xmalloc, xrealloc): Declare them to return long *.
1708 * b2m.c (xmalloc, xrealloc): Declare them long *.
1710 * movemail.c (xmalloc): Declare it to return long *.
1712 1995-04-30 Paul Eggert <eggert@twinsun.com>
1714 * rcs2log (datearg): If rlog options are specified explicitly,
1715 omit the implicit '-d>DATE' option.
1716 (repository, rlog): Allow absolute paths to CVS repositories.
1717 Look only at the first line of CVS/Repository.
1719 1995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
1721 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
1724 1995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1726 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
1727 Alternative (empty) definitions.
1729 1995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1731 * emacsclient.c (main): Add argv[0] to an error message.
1733 1995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
1735 * emacsclient.c (main): Improve error handling.
1736 * cvtmail.c (main, skip_to_lf): Improve error handling.
1737 (sysfail): New function.
1739 * b2m.c (main): Check for trailing ", " before trying to delete it.
1741 1995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1743 * Makefile.in.in (all): Build test-distrib and make-docfile.
1745 * make-docfile.c (scan_c_file): At end, restore file name last char
1746 to its original value.
1748 1995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1750 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
1752 1995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1754 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
1755 (alloca.o, regex.o): Use BASE_CFLAGS.
1757 1995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1759 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
1761 1995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
1763 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
1764 (SOURCES, distclean): Removed obsolete references to aixcc.
1766 1995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1768 * aixcc.lex: File deleted--surely obsolete now.
1770 1995-03-23 Paul Eggert <eggert@twinsun.com>
1772 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
1773 portability to mawk and nawk.
1775 1995-03-21 Paul Eggert <eggert@twinsun.com>
1777 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
1778 -u "login<tab>fullname<tab>mailaddr".
1780 1995-03-21 Paul Eggert <eggert@twinsun.com>
1782 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
1783 replaces the (now obsolescent) -n login fullname mailaddr option.
1784 Add -R option for recursive rlog.
1785 (AWK): New environment variable (default `awk') for awk program name.
1786 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
1787 Quote authors and fullnames correctly.
1788 Don't omit path from repository root when logging CVS files.
1790 1995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1792 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
1793 even if HAVE_SYSVIPC.
1794 * emacsclient.c (main): Use getcwd if not BSD.
1796 1995-03-13 Francesco Potorti` (pot@cnuce.cnr.it)
1798 * etags.c (process_file): free (filename) after using it.
1799 (readline_internal): Do not access the char before start of line.
1801 1995-02-22 Francesco Potorti` (pot@cnuce.cnr.it)
1803 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
1804 savetok.valid. Mark token as valid when it is initialised.
1805 (make_tag): Make token only if token is valid and reset validity.
1806 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
1807 (TOKEN): Added a new member: valid.
1809 1995-02-15 Francesco Potorti` (pot@cnuce.cnr.it)
1811 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
1812 (main): Do not read twice the last filename in the stdin file list.
1814 1995-02-14 Francesco Potorti` (pot@cnuce.cnr.it)
1816 * etags.c (C_entries): Initialise the new members of TOKEN.
1817 (C_entries): Do not allocate a new space for each token found by
1818 consider_token. Let make_tag do that instead.
1819 (make_tag): Since now TOKEN has memory of where it is taken from,
1820 this new macro substitutes both make_tag_from_new_lb and
1821 make_tag_from_oth_lb. All callers changed.
1822 (TOKEN): Add linepos and buffer members.
1823 (main): Initialise token_str.
1824 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
1825 (token_str): New global variable used by C_entries.
1827 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
1829 * Makefile.in.in (maintainer-clean): Renamed from realclean.
1831 1995-02-01 Francesco Potorti` (pot@cnuce.cnr.it)
1833 * etags.c (pfnote): Initialise been_warned in the node.
1834 (C_entries): Removed a speed hack for the sake of clarity.
1836 1995-01-18 Francesco Potorti` (pot@cnuce.cnr.it)
1838 * etags.c (longopts, print_help, main): Use -I as abbreviation
1839 for the --ignore-indentation option.
1840 (main): Do not print an error message for unknown options.
1842 1995-01-12 Francesco Potorti` (pot@cnuce.cnr.it)
1844 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
1845 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
1846 constantypedefs, update, vgrind_style, no_warnings,
1847 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
1848 (permit_duplicates): Was a var, now a #define.
1849 (filename_lb): Was global, now local to main.
1850 (main): Open the tag file when in cxref mode.
1851 Use a BUFSIZ size buffer for making the shell commands.
1852 Look at the return value from the system routine.
1853 Exit when cannot open the tag file.
1854 (process_file): Open the file and pass the FILE* to find_entries.
1855 (find_entries): Now void, because does not open the file itself.
1856 (pfnote): Recovering from lack of memory does not work. Removed.
1857 Use savenstr and simplify the code.
1858 (free_tree): Only free the name space if node is named.
1859 (structtag): Now a pointer, not a fixed length array of chars.
1860 (consider_token): Don't take a token as argument. Use savenstr
1861 when saving a tag in structtag. Callers changed.
1862 (TOKEN): Structure changed. Now used only in C_entries.
1863 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
1864 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
1865 (pfcnt): Deleted. Users updated.
1866 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
1867 TEX_getit, prolog_getit): Use dinamic allocation for storing
1868 the tag instead of a fixed size buffer.
1870 1995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1872 * movemail.c (main): Skip past the colon in inname.
1874 1995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
1876 * etags.c (pfatal): New function.
1877 (main, etags_getcwd): Use pfatal.
1878 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
1880 1995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
1882 * etags.c (Lang_function): Use void instead to declare the
1883 language functions, because many compilers are buggy.
1884 (etags_getcwd): Fix the previous fix on the #else branch.
1885 (readline_internal): Discard possible \r before \n here.
1886 (C_entries): Do not deal with \r here: undo previous fix.
1888 1995-01-09 Francesco Potorti` (pot at fly)
1890 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
1891 functions and a macro that allow the program to work on input
1892 lines of whatever length. Copied from etags.c.
1893 (fatal): Print a fatal error message and exit.
1894 (main): Use the new functions. Fixed a bug that made a \037 char
1895 appear at the end of the output.
1897 1995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1899 * etags.c (C_entries): Ignore carriage return at end of line.
1901 1994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1903 * fakemail.c (xmalloc, xrealloc): Add casts.
1904 (add_field): Handle <...> and "..." syntax.
1905 (setup_files, get_keyword): Clean up parens and line breaks.
1906 (args_size): Likewise.
1908 1994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
1910 * yow.c: Include program name in error messages.
1912 1994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1914 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
1915 (xmalloc, fatal, error): New functions.
1916 (progname): New variable.
1917 (main): Set progname.
1919 1994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1921 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
1922 (main): If socket/mqueue name is in home dir, add in the host name.
1923 Rename .emacs_server to .emacs-server....
1925 1994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1927 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
1929 1994-11-22 Francesco Potorti` (pot@cnuce.cnr.it)
1931 * etags.c (print_help): print --regex usage for ctags also.
1932 (main): use -h in addition to -H as abbreviation for --help.
1934 1994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
1936 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
1937 is compiled if this is defined. The new functions and variables
1938 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
1939 [VMS]: All VMS specific code previously contained in
1940 etags-vmslib.c is now included here, modified for dealing with
1941 language and regex options intermixed with filenames.
1942 (header_file): Global variable deleted.
1943 (Lang_Function): New typedef. All language parser functions
1944 changed to this new type.
1945 (string_numeric_p, substr, prestr): Functions deleted.
1946 (readline_internal): Does the job that readline did previously.
1947 (longopts): --language and --regex options added.
1948 (lang_names, lang_extensions, lang_func, print_language_names):
1949 New structures, variables and functions for choosing languages.
1950 (print_help): Help strings updated. Calls print_language_names.
1951 (argument_type, ARGUMENT): Typedefs for dealing with language and
1952 regex options intermixed with filenames.
1953 (main): Changed the way of dealing with arguments on the command
1954 line to deal with language and regex options intermixed with
1956 (get_language, default_C_entries, Cplusplus_entries,
1957 Cstar_entries, Yacc_entries, just_read_file): New functions.
1958 (find_entries): Use the new method for choosing the language.
1959 (Pascal_functions): Allow intermixing of comment styles.
1960 (prolog_getit, skip_comment): Rewritten for speed.
1961 (readline): Rewritten to deal with regexps.
1963 1994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
1965 * etags.c (<errno.h>): #include added.
1966 (etags_getcwd): Check return value from getcwd.
1968 1994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1970 * profile.c (TV1, TV2): Use EMACS_TIME as type.
1971 (get_time): Use EMACS_SUB_TIME.
1973 1994-10-30 voelker <voelker@cs.washington.edu>
1975 * ntlib.c: New file.
1976 * makefile.nt: New file.
1978 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
1979 [WINDOWSNT]: Include the NT headers.
1980 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
1982 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
1983 [WINDOWSNT]: Include some NT headers.
1985 1994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
1987 * pop.c (getline): When a search of already-read input for CRLF
1988 fails, store the fact that we've searched it and don't search it
1989 again after reading more data.
1991 * pop.c (getline): When determining whether or not it's necessary
1992 to grow the input buffer, take into account the null that's stored
1993 at the end of already-read input in the buffer.
1995 1994-10-21 Francesco Potorti` (pot@cnuce.cnr.it)
1997 * etags.c (prestr, substr): return a logical type.
1998 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
1999 (consider_token): set funcdef to fignore when a DEFUN is met.
2000 (C_entries): Now we can use Tom Hageman patch for extern "C".
2002 1994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2004 * movemail.c: PopServer renamed to popserver throughout.
2006 1994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
2008 * etags.c: Don't declare malloc, since we include config.h.
2009 * fakemail.c: Likewise.
2011 1994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2013 * movemail.c: Don't declare malloc.
2015 1994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
2017 * rcs-checkin: Use test -r instead of < to check readability, to
2020 1994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
2022 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
2023 defined, and if HAVE_CONFIG_H isn't defined, define
2024 MAIL_USE_POP always (so that this file can be included in
2025 other programs besides emacs).
2027 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
2028 HAVE_CONFIG_H isn't defined.
2030 * pop.c (find_crlf, getline): Instead of using strstr, use a
2031 custom function for finding CRLF.
2032 (my_strstr): Function deleted.
2034 1994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
2036 * pop.c (getline): Fix a segfault because of passing a
2037 non-null-terminated string into strstr(). Fix from
2038 djm@va.pubnix.com (David J. MacKenzie).
2040 * pop.c: Don't include <string.h> and <strings.h>.
2042 * pop.c: Include <des.h> before <krb.h>, rather than after. They
2043 should be interchangeable, and indeed the inclusion is done in
2044 both orders in various files in the Kerberos 4 library sources,
2045 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
2046 requires that <des.h> be included first, and I don't see any harm
2047 in changing the order.
2049 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
2050 STDC_HEADERS, if they're defined. Undef open, read, write and
2051 close after including it.
2053 1994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2055 * pop.c: Fix mismatch in conditionals.
2057 * make-docfile.c (main): Don't process one input file twice.
2058 Never use exit code > 1.
2060 * pop.c (open, close, read, write): Add #undefs.
2062 * pop.c: Don't declare malloc, realloc, free.
2063 Include ../src/config.h.
2064 Don't include string.h or strings.h.
2065 Include des.h before krb.h.
2066 Do declare my_strstr.
2067 (getline): Really use my_strstr.
2068 Leave one empty place in server->buffer,
2069 and put a null at the end of the data in it.
2071 1994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2073 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
2074 call kill with pid 0. Handle EINTR when receiving messages.
2076 1994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
2078 * Makefile.in.in (regex.o): Use full path to find regex.c.
2080 1994-10-17 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2082 * Makefile.in.in (etags): add dependency on regex.o, link with it.
2083 (REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added.
2085 1994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
2087 * Makefile.in.in (DONT_INSTALL): Remove make-path.
2088 (${archlibdir}): Use mkinstalldirs instead.
2090 * movemail.c: Make functions that return nothing void, not
2092 (main): Improve usage message.
2093 (error): Write to stderr, not stdout.
2095 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
2096 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
2097 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
2098 variables and implicitly declared functions.
2100 1994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2102 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
2103 (distclean): Not here.
2105 * Makefile.in.in (libexecdir): Renamed from libdir.
2107 1994-10-11 Francesco Potorti` (pot@cnuce.cnr.it)
2109 * etags.c (C_entries): Name the #define's that are macros.
2111 1994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2113 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
2114 fd_set arg is a pointer, descriptor arg comes first.
2116 1994-09-29 Francesco Potorti` (pot@cnuce.cnr.it)
2118 * etags.c (C_entries): Recognise typedef of ANSI style functions.
2119 (C_entries): Recognise #define inside a struct.
2120 (C_entries): ANSI tells that preprocessor commands do not have to
2121 start on the first column.
2122 (print_help): Documentation corrected for -d and -D.
2123 (white, endtk): ANSI tells the vertical tab is a separator.
2125 1994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
2127 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
2128 (pop.o, movemail.o): New targets.
2129 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
2131 * pop.c, pop.h: New files.
2133 * movemail.c: Improve POP code, move most of it into a separate file.
2134 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
2135 (mbx_write): Check for errors and for From line.
2136 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
2137 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
2138 (pop_init): Functions deleted.
2140 1994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
2142 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
2143 Rename path to dirname.
2145 1994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2147 * Makefile.in.in (UTILITIES):
2148 Remove test-distrib, make-docfile, make-path.
2149 (DONT_INSTALL): New variable--list those files here.
2150 (clean): Delete the files in DONT_INSTALL.
2152 1994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2154 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
2155 (main): Use fgets, not gets.
2157 1994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2159 * timer.c: Don't declare malloc.
2161 1994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2163 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
2164 defined, use simple 32-bit versions of these macros.
2165 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
2167 1994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2169 * etags.c (etags_getcwd): Use getcwd if available.
2171 1994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2173 * Version 19.27 released.
2175 1994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2177 * Version 19.26 released.
2179 1994-08-15 Paul Eggert <eggert@twinsun.com>
2181 * rcs2log: Add support for CVS.
2182 Work with `rlog's that output ISO 8601 dates.
2184 1994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
2186 * rcs2log: Use <> to delimit email address.
2188 1994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2190 * emacsserver.c [SYSV_IPC] (main): Make a separate process
2191 so we can listen for multiple requests.
2193 1994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2195 * movemail.c: Include config.h first thing.
2197 1994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2199 * emacsserver.c (main): Add casts to avoid warnings.
2201 1994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2203 * Makefile.in.in (${archlibdir}): Compare the proper dir
2204 before installing the scripts.
2206 1994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2208 * emacsclient.c (main): New local var progname saves argv[0].
2210 1994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2212 * emacsclient.c (main): Don't actually modify argv[0].
2213 Modify a copy instead.
2215 1994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2217 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
2220 * Makefile.in.in: Add #undef alloca.
2222 1994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2224 * timer.c (xmalloc): New function.
2226 1994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2228 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
2229 (alloca.o): New target.
2231 1994-07-08 Dave Love (d.love@dl.ac.uk)
2233 * etags.c (takeprec): recognise `character*(*) function'
2235 1994-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
2237 * etags.c (main): Don't barf on obsolete -t and -T switches.
2238 (main): Print an explicative message when a switch is not known.
2240 1994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2242 * hexl.c: Don't declare exit or perror.
2244 * emacsserver.c (main): Don't declare geteuid.
2245 Don't declare getenv if convex.
2247 1994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2249 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
2251 1994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2253 * etags.c (absolute_filename): Remove infinite loop bug when
2254 accessing files in directories whose name begins with a dot.
2256 1994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2258 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
2260 1994-06-01 Morten Welinder (terra@diku.dk)
2262 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
2263 location of data directory.
2265 1994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2267 * Version 19.25 released.
2269 1994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2271 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
2273 1994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2275 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
2277 1994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2279 * Version 19.24 released.
2281 1994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2283 * make-docfile.c (write_c_args): Put `default' in upper case.
2285 1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2287 * etags.c (etags_getcwd): Cast result of popen.
2288 (popen): Declaration deleted.
2290 1994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
2292 * etags.c [!MSDOS]: Declare popen.
2294 1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2296 * b2m.c (main): Avoid crash if argc is 1.
2298 1994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2300 * Version 19.23 released.
2302 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
2304 1994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2306 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
2308 1994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
2310 * Makefile.in.in: Fix out of date comment.
2312 1994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2314 * Makefile.in.in: Put in a separator for where to start cpp procssing.
2315 Move all autoconf substitutions above that point.
2316 Above that point, use Make-style comments.
2317 This goes with changes in ../configure.in.
2319 1994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2321 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
2323 (${archlibdir}): Don't do it here. Don't depend on blessmail.
2325 1994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
2327 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
2329 1994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2331 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
2332 print advice to run it, if it has anything significant to do.
2333 And only if MOVEMAIL_NEEDS_BLESSING.
2334 (blessmail): Use emacs, not temacs.
2335 (configuration): Renamed from configname.
2337 1994-04-30 Morten Welinder (terra@diku.dk)
2339 * etags.c (find_entries): Treat `*.cpp' as C++ files.
2341 1994-04-30 Morten Welinder (terra@diku.dk)
2343 * etags.c [MSDOS]: #include <sys/param.h> for the following.
2344 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
2347 1994-04-29 Morten Welinder (terra@diku.dk)
2349 * hexl.c [MSDOS]: Don't define proto type for exit.
2351 1994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2353 * b2m.c: Don't include string.h or strings.h.
2355 1994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
2357 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
2358 symbols, not make variables.
2360 1994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2362 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
2363 * etags.c (print_version): Print VERSION as a string.
2365 1994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2367 * fakemail.c (readline): Fix updating of p when buffer grows.
2369 1994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
2371 * Makefile.in.in (blessmail): New target.
2372 ${archlibdir}: Use blessmail when installing movemail.
2374 1994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2376 * fakemail.c (readline): When extending the buffer,
2377 calculate end afresh using the new size.
2379 1994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2381 * etags.c (main, print_help): eliminate the -F option.
2383 1994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2385 * etags.c (absolute_filename): compare against '\0' instead of NULL.
2387 1994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2389 * Makefile.in.in: Renamed from Makefile.in.
2390 Makefile.in is now generated from it, and then preprocessed.
2391 Change comments to C syntax.
2393 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
2394 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
2396 1994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2398 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
2400 1994-04-12 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2402 * etags.c (etags_getcwd): Initialize bufsize.
2404 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2406 * profile.c (gettimeofday): If system doesn't have this, define it
2407 to give a fatal error.
2409 1994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
2411 * movemail.c (main): Use setuid, not seteuid.
2413 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2415 * etags.c: #undef static.
2417 1994-04-08 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2419 * etags.c (outf, outfiledir): renamed to tagf, tagfiledir.
2420 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs,
2421 Scheme_funcs, prolog_funcs): renamed to Fortran_functions,
2422 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
2423 TeX_functions, Prolog_functions.
2424 (inf): no more a global variable.
2425 (C_entries): take 2nd parameter `inf' instead of using the global one.
2426 (find_entries): added the cp1 var for optimisation.
2427 (find_entries): added more suffixes for assembler files.
2428 (Asm_funcs): Now finds labels even without an ending colon.
2430 1994-03-30 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2432 * etags.c (main): use etags_getcwd for compatibility.
2433 (etags_getcwd): new function.
2435 1994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2437 * Makefile.in (etags, ctags): Pass -D for VERSION.
2439 1994-03-25 Francesco Potorti` (pot@cnuce.cnr.it)
2441 * etags.c (emacs_tags_format, ETAGS): removed. Use CTAGS instead.
2442 (main): don't allow the use of -t and -T in etags mode.
2443 (print_help): don't show options enabled by default.
2444 (print_version): show the emacs version number if VERSION is #defined.
2445 (find_entries): add "ss" as suffix for Chez Scheme.
2447 1994-03-23 Francesco Potorti` (pot@cnuce.cnr.it)
2449 * etags.c (cwd, outfiledir): vars added.
2450 (relative_filename, absolute_filename, absolute_dirname):
2451 functions added to compute filenames in tags files.
2452 (process_file): filenames in tags file are relative to the
2453 directory where the tags file is (useful with the -o option).
2454 (main): initialise the outfiledir var.
2455 (TYPEDST): added the `tignore' value.
2456 (C_entries): corrected various small bugs.
2458 1994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2460 * Makefile.in (UTILITIES): `env' deleted.
2461 (env): Target deleted.
2462 * env.c: File deleted.
2464 1994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2466 * Makefile.in (install, ${archlibdir}): Switch back to ..
2467 before running INSTALL_PROGRAM.
2469 1994-03-14 Francesco Potorti` (pot@cnuce.cnr.it)
2471 * etags.c (TYPEDST): added the `tignore' value.
2472 (C_entries): corrected various bugs, now correctly parses the
2473 `extern "C" {' construction (patch by Tom R.Hageman).
2475 1994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2477 * b2m.c: Use <...> to include config.h.
2478 Don't include stdlib.h.
2480 1994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
2482 * b2m.c (main): Change delimiter from "^L" to "^_^L".
2483 Allow for text following "BABYL OPTIONS:".
2484 Add --help option. Use argv[0] in error messages.
2486 1994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2488 * emacsclient.c (main) [HAVE_SYSVIPC]:
2489 Make msgp->mtext longer if necessary.
2490 On HPUX, error if it's more than 512 chars.
2492 1994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
2494 * etags-vmslib.c: Use GPL.
2495 * emacstool.c: Use GPL.
2496 * fakemail.c: Update GPL.
2498 * make-path.c (main): Return 1 on error, not -1.
2501 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
2502 (xmalloc, xrealloc): Return char *, not int.
2503 (error): Write to stderr, not stdout.
2506 1994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
2508 * profile.c (main, get_time): Don't crash on invalid input.
2510 1994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
2512 * profile.c (get_time): Simplify; avoid calling index.
2513 (main): exit on EOF.
2515 1994-02-17 Francesco Potorti` (pot@cnuce.cnr.it)
2517 * etags.c (--absolute-pathnames): option removed.
2519 1994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2521 * fakemail.c (put_line): Don't break the line if it all fits.
2523 1994-02-14 Francesco Potorti` (pot at fly)
2525 * etags.c (absolute_pathnames, cwd): added global vars.
2526 (longopts, print_help, main, process_file): put absolute filenames
2527 in the tag file if the -A --absolute-pathnames option is used.
2528 (print_help): alfabetically order the options.
2529 (malloc, realloc, strcpy, strncpy, strcmp): remove extern declar.
2531 1994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2533 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
2534 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
2536 1994-02-07 Christian Lynbech (lynbech@avignon)
2538 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
2540 1994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2542 * Makefile.in (UTILITIES): Mention profile.
2543 (profile): New target.
2545 * profile.c: New file.
2547 1994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2549 * Make the argument list output look more like the Lisp docstrings do.
2550 make-docfile.c (write_c_args): Take new arg FUNC. Make output
2551 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
2552 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
2554 1994-01-14 Francesco Potorti` (pot@cnuce.cnr.it)
2556 * etags.c (stab_entry, stab_create, stab_find, stab_search,
2557 stab_type, add_keyword, C_reate_stab, C_create_stabs): deleted.
2558 Use gperf generated hash table instead of linked list.
2559 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): added.
2560 Mostly code generated by gperf.
2561 (consider_token): removed unused parameter `lp'.
2562 (PF_funcs, getit): allow subroutine and similar declarations
2563 to span multiple lines.
2564 (C_entries): check for newline if inchar to avoid bus errors.
2565 (process_file, find_entries): distinguish among nonexistent
2566 and not regular file.
2568 1994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2570 * timer.c: Include errno.h; don't include fasync.h.
2571 (schedule): Don't return a value.
2572 (sigcatch): Reestablish the handler first.
2573 (getevent): Always call notify at the end.
2574 (notify): Defer alarms around the whole body of function.
2576 1994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2578 * timer.c (main): Don't request SIGIO, and don't handle it.
2579 Loop calling getevent.
2580 (sigcatch): Delete code to handle SIGIO.
2581 if defer_alarms is set, don't call notify, just set alarm_deferred.
2582 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
2583 Set defer_alarms around realloc and schedule.
2584 If alarm_deferred gets set, call notify.
2585 Likewise if this event is the only pending event.
2586 Make buf and buf_size global variables.
2587 Don't malloc buf if it is already non-zero.
2588 (schedule): Just exit if run out of memory.
2589 Return the number of events.
2590 (signal) [_CX_UX]: Add #undef.
2592 1994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2594 * timer.c [USG] (SIGIO): Define as SIGPOLL.
2595 (main) [USG]: Do ioctl to enable SIGPOLL.
2597 1994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2599 * timer.c: Don't declare sys_errlist; declare strerror instead.
2600 (schedule, main): Call strerror instead of using sys_errlist.
2601 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
2602 Call strerror instead of using sys_errlist.
2603 * env.c (main): Call strerror instead of using sys_errlist.
2604 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
2605 (main): Call strerror instead of using sys_errlist.
2606 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
2607 * env.c [! HAVE_STRERROR] (strerror): Likewise.
2608 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
2609 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
2611 1994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2613 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
2615 * movemail.c (malloc): Don't declare it.
2616 (xmalloc): Cast result of malloc.
2617 (strcpy): Don't declare it.
2619 1993-11-14 Morten Welinder (terra@diku.dk)
2621 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
2622 (main): Use fclose to close file opened by fopen.
2624 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
2626 * movemail.c [MSDOS]: #undef `access'.
2628 * b2m.c (main) [MSDOS]: Open all files as binary.
2629 * etags.c (main) [MSDOS]: Open all files as binary.
2631 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
2632 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
2635 1994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2637 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
2638 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
2639 (LINK_CFLAGS): New variable.
2640 (timer): Use LINK_CFLAGS.
2642 1993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2644 * movemail.c: Include syswait.h.
2645 Fork a subprocess and use it to copy the mail file.
2647 1993-12-07 Richard Stallman (rms@srarc2)
2649 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
2651 1993-12-04 Richard Stallman (rms@srarc2)
2653 * movemail.c (main): When making tempname, cast result of xmalloc.
2654 Include room for EXXXXXX in the size.
2655 Don't use result of strcpy.
2657 1993-12-03 Paul Eggert (eggert@twinsun.com)
2659 * vcdiff: Add --brief option.
2661 1993-12-02 Richard Stallman (rms@srarc2)
2663 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
2664 for all executables and scripts.
2666 1993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2668 * Version 19.22 released.
2670 1993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2672 * Makefile.in (mostlyclean): Make it distinct from clean.
2674 1993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2676 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
2678 1993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2680 * Version 19.21 released.
2682 * Makefile.in (install): Don't change mode or group when installing.
2684 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
2686 1993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2688 * make-docfile.c (read_c_string): For "", concatenate the two strings.
2690 * movemail.c (main): Fix error message text.
2692 1993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2694 * Version 19.20 released.
2696 1993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
2698 * etags.c: (C_entries): Keep track of ()-parenthesis level so that
2699 functions returning a pointer to a function, a la `signal', can be
2700 parsed. This also required new state `fstartlist' to `FUNCST'.
2701 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
2702 (C_entries, CNL): use it to isolate preprocessor directive processing
2703 from the other state engines.
2704 (begtk): add '~', for C++ class destructors.
2706 1993-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
2708 * etags.c (consider_token): removed unused variable firsttok.
2709 (prolog_getit): call pfnote with the right number of arguments.
2711 1993-10-19 Paul Eggert (eggert@twinsun.com)
2713 * rcs2log (printlogline): Don't generate lines containing only
2716 1993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2718 * Makefile.in (${archlibdir}):
2719 Install ${SCRIPTS} from ${srcdir}, not cwd.
2721 1993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2723 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
2724 the comment character.
2726 1993-10-01 Francesco Potorti` (pot@cnuce.cnr.it)
2728 * etags.c (process_file): dead code removed.
2729 (S_ISREG): #define it using S_IFREG if not defined.
2730 (process_file): regular files have nothing to do with symlinks.
2732 1993-09-28 Brian Fox (bfox@ai.mit.edu)
2734 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
2735 from current directory. Only chmod and chgrp files that we
2736 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
2738 (INSTALLFLAGS): Deleted definition, since it is an unused variable
2741 1993-09-27 Brian Fox (bfox@ai.mit.edu)
2743 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
2744 configure figure out the correct values for these variables.
2746 1993-09-14 Brian Fox (bfox@ai.mit.edu)
2748 * Makefile.in (archlibdir): Only install execuatables internally
2749 used by emacs; don't install bindir binaries here.
2751 1993-09-24 Paul Eggert (eggert@twinsun.com)
2753 * rcs2log: Add -h, -n, -r options.
2754 By default, look for *,v files as well as RCS/*,v files.
2755 Use $TMPDIR (default /tmp) instead of /tmp.
2757 1993-09-20 Francesco Potorti` (pot at fly)
2759 * etags.c (C_entries): is_func is initialised here instead of in
2760 consider_token for the sake of the yacc rules section.
2761 (C_entries): Now class, struct, enum, union and typedef produce
2764 1993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
2766 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
2768 1993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2770 * Support configuring in a different directory when ${srcdir} has
2771 already been configured.
2772 * Makefile.in (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before
2773 -I${srcdir} -I${srcdir}/../src.
2774 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
2775 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
2776 is already in CPP_FLAGS.
2777 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
2778 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
2780 1993-08-25 Paul Eggert (eggert@twinsun.com)
2782 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
2783 otherwise, HP awk complains.
2785 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
2786 are common hangouts for SCCS commands.
2788 1993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2790 * Version 19.19 released.
2792 1993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2794 * Makefile.in (make-path): Dep on config.h.
2796 1993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2798 * b2m.c (TRUE, FALSE): Don't define if already defined.
2800 1993-08-09 Paul Eggert (eggert@twinsun.com)
2802 * rcs2log (awkscript):
2803 Some sites put comma-separated junk after the fullname.
2804 Remove it, but leave "Bill Gates, Jr" alone.
2805 Remove the junk from fullnames like "0000-Admin(0000)".
2807 1993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2809 * Version 19.18 released.
2811 1993-08-04 Francesco Potorti` (pot@spiff.gnu.ai.mit.edu)
2813 * etags.c (L_isdef, L_isquote, L_getit): small optimisations.
2814 (L_funcs): the (foo::defmumble stuff now should work.
2815 (consider_token): function returned random value--corrected.
2816 (C_entries): corrected == versus = typo.
2818 1993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2820 * etags.c (put_entries): For NODE->rewritten, put pattern before
2821 \177 and name after, not vice versa.
2823 1993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2825 * timer.c (main): Generate a SIGIO as soon as we've initialized.
2827 1993-07-30 Francesco Potorti` (pot@cnuce.cnr.it)
2829 * etags.c (FINCST): added the fignore status. Means we are
2830 after the parameter list and before the open curly brace.
2831 Allows correct parsing of C++ constructors.
2832 (C_entries, consider_token): make use of fignore.
2833 (consider_token): reset funcdef when next_token_is_func: when in
2834 ctags mode makes DEFVAR and others work better.
2835 (L_isquote): function that recognises the "(quote" string.
2836 (L_getit): ignore quoting via "'" or "(quote". Useful for defalias.
2838 1993-07-29 Paul Eggert (eggert@twinsun.com)
2840 * rcs-checkin: Don't check whether a file is readable until we have
2841 decided not to ignore it.
2843 1993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2845 * Makefile.in (etags): Depend on ../src/config.h.
2847 * emacsserver.c: Include types.h before file.h.
2849 1993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2851 * Makefile.in (install): Use .n, not .new, for temporary filenames.
2853 1993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2855 * Version 19.17 released.
2857 1993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
2859 * etags.c (print_help): Break up the very long strings containing
2860 the help message into shorter strings, to placate chintzy C
2861 compilers which can't handle strings that long.
2863 * wakeup.c: Use CPP tangle from autoconf manual to #include the
2864 correct combination of <time.h> and <sys/time.h>.
2866 1993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
2868 * etags.c (alloca): removed all references to it.
2869 (main): now calls xnew instead of alloca for portability.
2870 (../src/config.h): included only if HAVE_CONFIG_H.
2871 (const): void definition removed--config.h takes care of it.
2873 1993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
2875 * etags.c (consider_token): was `==', now is `='.
2876 (consider_token): DEFUNs now treated like funcs in ctags mode.
2878 * etags.c (LEVEL_OK_FOR_FUNCDEF): removed.
2879 (C_entries): optimized the test that used LEVEL_OK_FOR_FUNCDEF.
2880 (C_entries): removed a piece of useless code.
2881 (C_entries): making typedef tags is delayed until a semicolon
2882 is met. This handles "typedef int X, Y, Z;" correctly.
2884 1993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
2886 * Version 19.16 released.
2888 * b2m.c: #include <sys/types.h>.
2889 (ltoday): Declare this to be time_t.
2891 1993-06-30 Paul Eggert (eggert@twinsun.com)
2893 * vcdiff: Add -q option.
2895 1993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2897 * etags.c: #include "config.h" and the alloca CPP tangle before
2898 #including the system headers and getopt.h. AIX requires the
2899 #pragma to come before any actual C code.
2901 1993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2903 * Makefile.in (ctags): Depend on etags, so that parallel makes
2904 don't write etags.o files on top of each other.
2906 1993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2908 * version 19.15 released.
2910 1993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2912 * etags.c (add_node): Move var last_node to file scope.
2914 1993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2916 * Version 19.14 released.
2918 1993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2920 Bring mumbleclean targets into conformance with GNU coding standards.
2921 * Makefile.in (distclean): Call clean to do most of the work.
2922 Delete aixcc.c and TAGS.
2923 (realclean): Just call distclean.
2925 * Makefile.in: Remember, spaces are not tabs.
2927 1993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2929 * Makefile.in (CPP_CFLAGS): New variable.
2930 Use it instead of ALL_CFLAGS when compiling a .c file.
2931 (getopt.o, getopt1.o): Add explicit compilation commands.
2933 1993-06-10 Mark D. Baushke (mdb@cisco.com)
2935 * etags.c: Reinstate old -f option as an alias for -o for
2936 installed base uses.
2938 1993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2940 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
2941 to bind or accept, cast the pointer, to avoid warnings on systems
2942 which declare prototypes for this.
2943 * emacsclient.c (main): Same.
2945 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
2947 1993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2949 * Version 19.13 released.
2951 * wakeup.c: Include sys/types.h, too; I think that's where time_t
2952 comes from, not sys/time.h.
2954 1993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2956 * wakeup.c: Include sys/time.h.
2958 * etags.c: #undef static.
2960 * Version 19.12 released.
2962 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
2964 1993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2966 * Version 19.11 released.
2968 * timer.c [LINUX]: #undef signal.
2969 * emacsserver.c: #undef signal.
2971 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2973 * wakeup.c (main): Make when a time_t.
2975 1993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2977 * Makefile.in: (${archlibdir}): Use `(cd foo && pwd)` instead of
2978 `(cd foo ; pwd)` to get the canonical name of a directory; cd
2979 might fail, and have pwd print out the current directory.
2981 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
2982 string-handling functions.
2984 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2986 * Version 19.10 released.
2988 1993-05-29 Paul Eggert (eggert@twinsun.com)
2990 * rcs2log: When given no file arguments, inspect RCS/.* as well
2991 as RCS/*. Don't report an error if RCS is empty or nonexistent.
2993 1993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2995 * Makefile.in (timer): Link with $(LOADLIBES).
2997 1993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2999 * fakemail.c (put_line): Don't output \n\t unless more text follows.
3001 1993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3003 * etags.c: Replace the CPP tangle for alloca with the one from the
3004 autoconf documentation, since that's working elsewhere.
3006 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3008 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
3009 description files can find their ancestors.
3011 1993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3013 * Makefile.in (install): Get the scripts from ${srcdir},
3014 unlike the executables.
3015 (ALL_CFLAGS): Add -I../src
3017 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3019 * Version 19.9 released.
3021 1993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3023 * Makefile.in (install): Do install the programs listed in
3024 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
3025 INSTALLABLE_SCRIPTS, instead of writing the programs out.
3027 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
3028 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
3030 1993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3032 * etags.c: Include ../src/config.h.
3034 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
3035 in first loop. Delete files from bindir before installing new ones.
3036 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
3038 1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3040 * Version 19.8 released.
3042 * make-docfile.c: Doc fix.
3044 1993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3046 * tcp.c: Fix comment syntax at top of file.
3047 (main): Don't call htons with the port number.
3049 1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3051 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
3054 * Makefile.in (install): Refer to the variables INSTALLABLES and
3055 INSTALLABLE_SCRIPTS, instead of writing them out.
3057 1993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3059 * make-path.c (main): Return 0.
3061 1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3063 * Version 19.7 released.
3065 1993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3067 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
3069 1993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3073 1993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3075 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
3077 1993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3079 * timer.c (notify): Don't call sighold or sigrelse; they're USG
3080 only. We should really fix this later, but let's just make it
3083 Install patches from David J. Mackenzie to make the srcdir option
3085 * Makefile.in (srcdir, VPATH): Get this value from the top-level
3087 (INSTALLABLES): Split this into two lists - INSTALLABLES and
3088 INSTALLABLE_SCRIPTS.
3089 (INSTALLABLE_SCRIPTS): New list.
3090 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
3091 (${archlibdir}): The scripts to be installed live in the source
3092 tree, not in the object tree.
3093 (test-distrib): Note that the data file lives in the source tree,
3094 not the object tree.
3095 (GETOPTDEPS): Note that getopt.h lives in the source tree.
3096 (all other targets): Change references to source files to use
3097 ${srcdir}, except for config.h, which lives in the object dir.
3098 (timer.o): Note that this depends on ../src/config.h.
3099 * make-docfile.c (main): Add a -d option, to tell it where to find
3101 * test-distrib.c (main): Take the name of the distribution file to
3102 test from the command line.
3104 * timer.c: Fix mispellings of get_date function's name.
3106 1993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
3109 Don't require that there be input files if -i switches were given.
3111 1993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3113 The GNU coding standards specify that CFLAGS should be left for
3115 * Makefile.in (CFLAGS): Put this in the "things configure might
3116 edit" section, and have it default to -g.
3117 (ALL_CFLAGS): New variable, set to all the flags which should be
3118 passed to compilations. Replace all other uses of CFLAGS with
3120 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
3122 * Makefile.in (DEFS): Remove this; it's always just going to be
3123 "-DHAVE_CONFIG_H -Demacs".
3125 1993-05-03 Paul Eggert (eggert@twinsun.com)
3127 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
3128 /[/]/, so change it to /[\/]/. This should work on all
3129 Posix-compliant awks. It's slightly wrong with traditional awk,
3130 since it matches \ too, but that's a minor problem compared to awk
3133 1993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3135 * Makefile.in (ALLOCA): New variable, whose value we should
3136 inherit from the top-level makefile.
3137 (etags, ctags): Include ALLOCA in the list of object files that
3138 these executables depend on and link.
3140 1993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3142 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
3144 1993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
3146 * make-docfile.c (write_c_args): Print an argument named "defalt"
3149 1993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3151 * Makefile.in (C_SWITCH_SYSTEM): New variable.
3152 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
3155 1993-03-22 Francesco Potorti` (pot@cnuce.cnr.it)
3157 * etags.c (YACC): flag added to c_ext.
3158 (c_ext): no more a synonim for c_ext&C_PLPL because of YACC.
3159 (find_entries): consistently use streq when reasonable.
3160 (find_entries): a .y file is a yacc file.
3161 (get_C_stab): c_ext becomes c_ext&C_PLPL.
3162 (C_entries): logical cplpl means c_ext&C_PLPL.
3163 (C_entries): logical yacc_rules means we are after the first %%.
3164 (C_entries): added logic for yacc files.
3166 1993-03-16 Francesco Potorti` (pot@cnuce.cnr.it)
3168 * etags.c (C_entries): ':' case moved to the second switch.
3169 (C_entries): do not examine token if structdef==scolonseen.
3170 (consider_token): structtag set to null string for enum.
3172 1993-03-12 Francesco Potorti` (pot@cnuce.cnr.it)
3174 * etags.c (GET_COOKIE): and related macros removed.
3175 (logical): is now int, no more a char.
3176 (reg): define deleted.
3177 (isgood, _gd, notgd): deleted.
3179 (TOKEN): member linestart removed.
3180 (linepos, prev_linepos, lb1): deleted.
3181 (main): call initbuffer on lbs array instead of lb1.
3182 (init): removed the initialisation of the logical _gd array;
3183 (find_entries): a .sa suffix means assembler file.
3184 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
3185 All C state machines rewritten.
3186 (C_entries): complete rewrite.
3187 (condider_token): complete rewrite.
3190 1993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
3192 * etags.c (C_entries): Added the quotednl logical variable.
3193 Used for parsing of #define's spanning multiple lines.
3195 1993-02-23 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
3197 * etags.c (C_entries): Save the definedef status even when a
3198 newline is met inside a string.
3200 1993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
3202 * Makefile.in (EXECUTABLES): added rcs-checkin.
3204 * Makefile.in (unlock, relock): New productions.
3206 1993-03-16 Paul Eggert (eggert@twinsun.com)
3208 * rcs2log: Some awks don't understand "\r". Code around this.
3209 Unfortunately this requires putting a carriage return in the
3210 source code. Don't assume that rlog will tolerate times like
3211 `10:10:60'; RCS 5.7 won't allow this.
3213 1993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3215 * timer.c (main): Set the ownership of the stdin file descriptor
3216 to the current process. Print error messages if either of the
3219 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
3220 ../src/config.h), not void.
3222 1993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3224 * b2m.c (main): Don't exit upon reading a blank line.
3226 1993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
3228 * etags.c (C_entries): New local variable quotednl. Used for
3229 parsing of #define's spanning multiple lines.
3231 * etags.c (C_entries): Save the definedef status
3232 even when a newline is met inside a string.
3234 1993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3236 * timer.c (notify): Initialize waitfor properly.
3238 1993-02-22 Francesco Potorti` (pot@CNUCE.CNR.IT)
3240 * etags.c (C_entries): Don't reset definedef when a newline inside a
3243 1993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3245 * etags.c (find_entries): If filename ends in .f or .for,
3246 don't try anything but Fortran.
3248 1993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
3250 * timer.c (notify): Flush stdout after writing message to avoid lossage
3253 (notify): Also, write a newline after the token.
3255 1992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3257 * Makefile.in (exec_prefix): New variable.
3258 (bindir, libdir): Use it instead of `prefix'.
3260 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
3262 * Makefile.in (libdir): Default to ${prefix}/lib.
3263 (archlibdir): Adjusted to match.
3265 * Makefile.in (distclean): Don't delete backup or autosave files.
3266 (extraclean): Like realclean, but does delete backup and autosave
3269 * Makefile.in (realclean): Ignore errors from rm.
3271 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
3272 that doesn't exist anymore.
3274 1992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3276 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
3277 described in the top-level Makefile.
3278 (UTILITIES): Add make-path to the list of utility programs.
3279 (../arch-lib): Replaced by the ${archlibdir} target, which places
3280 the executables in their permanent home.
3281 (install, install.sysv, install.xenix): Consolidated into one
3282 target which should work under all circumstances, modulo a few
3283 ignored error messages.
3285 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
3286 a different number of arguments than other DEFVARs, recognize it
3287 specially, and expect the right number of commas.
3289 1992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3291 * make-path.c: New program, to help with the installation process.
3292 * Makefile.in (make-path): New target.
3294 * make-path.c (touchy_mkdir): Remove debugging output.
3296 1992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3298 * Makefile.in (getdate.o): Added explicit target for this, so we
3299 can indicate that it depends on ../src/config.h.
3301 1992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3303 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
3305 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
3307 1992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3309 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
3310 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
3313 * Makefile.in (arch-lib): Give rm the `-f' option.
3315 1992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3317 * make-docfile.c (write_c_args): Rewritten to correctly print
3318 &optionals before the first identifier, but after the first paren.
3319 This code used to just wait for commas or spaces; now it notices
3320 identifier boundaries.
3322 1992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3324 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
3326 1992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3328 * make-docfile.c (write_c_args): Print the argument lists properly
3329 when the first argument is optional.
3331 1992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3333 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
3334 Redefine @item. Set catcode of +.
3336 1992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3338 * emacsclient.c (main): Set IPC_CREAT in msgget call.
3340 1992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3342 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
3343 (TEX_decode_env): Make `tab' one element longer.
3345 1992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3347 * etags.c (PF_funcs): Recognize the "entry" keyword.
3349 1992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3351 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
3353 1992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3355 * timer.c (events): Rather than having slots marked as in use or
3356 out of use by the `token' field, keep all pending events at the
3357 beginning of the array. When we delete an event in the middle of
3358 the array, we move the last event into its place.
3359 (num_events): New variable.
3360 (schedule): It is now cheaper to find a free event slot;
3361 events[num_events] is the first free slot.
3362 (notify): Scan events[0 .. num_events-1], instead of the whole
3363 array. When an event fires, move the last event in the array into
3364 its spot. Use num_events to determine whether or not there are
3365 any pending events, not wait_for.
3366 (getevent): Deleted unused variable `ep'.
3367 (sigcatch): It's now easier to find all the active events.
3368 (main): Initialize num_events.
3370 * etags.c: Rather than fret about which systems have index and
3371 which systems have strchr, and how to tell the difference between
3372 them, we just write out our own versions. Big deal.
3373 (index, rindex): Extern declarations removed.
3374 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
3375 (etags_index, etags_rindex): New declarations.
3376 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
3377 TEX_getit, substr): Use the etags_*index functions, rather than
3378 the native *index functions.
3379 (rindex, index): Renamed to etags_rindex and tags_rindex, and
3380 made them unconditionally defined, rather than having them depend
3383 * etags.c (savenstr): Add declaration for this at top of file.
3384 (TEX_decode_env): Don't declare it local to this function.
3386 * b2m.c: #include "../src/config.h", so we can test for the USG
3387 macro, and decide whether to include <string.h> or <strings.h>.
3388 * Makefile.in: Note that b2m.c depends on ../src/config.h.
3390 1992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3392 * timer.c: Reformatted according to the GNU coding standards.
3393 Removed arbitrary limits on the number of events queued and the
3394 length of the tokens used to identify them.
3395 Removed casts to (void).
3396 Removed debugging printfs; they clutter the code, and the need
3397 can be better filled using a real debugger.
3399 1992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3401 * timer.c: Installed new version from Eric Raymond; this is more
3402 portable, since it doesn't try to use SIGIO.
3404 1992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3406 * emacsclient.c (main): If we can't find the socket in this
3407 person's home directory, print a message which asks if they've
3408 started the server, instead of just printing the message from
3409 sys_errmsg; Cygnus finds that people are much less confused by
3412 1992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3414 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
3415 so that index and rindex get defined, why don't we actually
3416 control index and rindex using symbols called "NEED_INDEX" and
3417 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
3418 little more readable than defining something whose name implies
3421 1992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3423 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
3425 Miscellaneous doc fixes.
3426 (skip_white, read_lisp_symbol): New functions.
3427 (scan_lisp_file): Instead of using long hairy strings of ifs, call
3428 read_lisp_symbol and then see what we got. Call skip_white
3429 instead of writing out a loop to do its job. Correctly extract
3430 docstrings from "defmacro" declarations.
3432 1992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3434 * movemail.c (strcpy): Declare this to return char *.
3436 1992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3438 * etags.c (C_entries): When we find a C++ comment, do actually
3439 skip to the end of the line; do a 'break' instead of a 'continue'.
3441 1992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3443 * etags.c (getit): Add missing parenthesis to expression which
3444 decides if this token is an identifier.
3446 1992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
3448 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
3450 1992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3452 * etags.c (put_entries): Always put space between name and line num.
3454 1992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
3456 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
3458 (LEVEL_OK_FOR_FUNCDEF): Ditto.
3460 1992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3462 * make-docfile.c (write_c_args): Pass both arguments to putc.
3464 1992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
3466 * etags.c (C_entries): Fixed reading of "..." strings.
3467 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
3468 the C library source.
3470 * etags.c (C_entries): When we see a backslash inside a quoted
3471 string, skip to the next character. This allows us to correctly
3472 deal with strings containing quotes.
3474 1992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3476 * make-docfile.c (write_c_args): Print the C argument names as
3477 they would be written in Elisp; print '_' as '-'.
3479 1992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3481 * movemail.c [POP]: Get user name via getpwuid.
3483 1992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3485 * Makefile.in: flags in CC invocations rearranged for no reason.
3487 1992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3489 * etags.c (print_help): Remember not to imbed raw newlines in
3490 strings - end the lines with `\n\'.
3492 1992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3494 * timer.c (getevent): Removed declaration of memcpy; since
3495 different systems have different return types, and we're not even
3496 using the return type anyway, it wasn't doing us any good.
3498 1992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3500 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
3501 type of this function.
3503 1992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3505 * ChangeLog: Since the old etc contents have been split into etc
3506 and lib-src, the old etc's ChangeLog has been duplicated in the
3507 new etc and lib-src. That means that each contains complete and
3508 coherent information, although each contains extraneous
3511 1992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3513 * lib-src/etags.c: "--no-warning" option renamed to "--no-warn",
3514 to be consistent with other GNU programs, like makeinfo.
3516 * lib-src/Makefile: Renamed to Makefile.in; the configure script
3517 will edit this to produce Makefile.
3519 1992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3521 * etags.c (print_help, print_version): New functions.
3522 (main): Options added to support them.
3524 * etags.c (longopts): New array of long names for the options.
3525 (main): Recognize them.
3527 1992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3529 * etags.c (C_entries): Removed comment saying that \" in a string
3530 isn't recognized as magic, because it is correctly handled.
3532 * getopt.c, getopt.h: New files, from GNU C library.
3533 * etags.c: Rewritten to use getopt.
3534 #include "getopt.h".
3535 (file_num): Variable deleted; its role is now played by getopt's
3537 (main): Argument processing loop rewritten to call getopt to get
3538 next option. Options which take parameters (-o and -i) rewritten
3539 to get parameter from optarg instead of argv[1]. Filename
3540 preprocessing loop and update command changed similarly.
3541 * Makefile (etags, ctags): Depend on and link with getopt.h,
3542 getopt.o, and getopt1.o.
3543 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
3545 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
3548 (main): In the argument processing loop, the 'goto next_arg'
3549 statements are breaking out of the switch statement in exactly the
3550 same way that a simple 'break' statement would; replace the gotos
3551 with breaks, and remove the label.
3553 1992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3555 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
3556 (consider_token): Move next_token_is_func to global.
3558 1992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3560 * Makefile: Conform with GNU coding standards:
3561 (mostlyclean): New target, synonymous with clean.
3562 (TAGS, check): New targets.
3563 (INSTALL, INSTALLFLAGS): New variables.
3565 1992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3567 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
3568 `config.emacs' to `configure'.
3570 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
3571 * etc/MACHINES: Same.
3573 1992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3575 * movemail.c (main): Allow tempname to be as long as necessary,
3576 instead of limiting it to 39 characters.
3578 * movemail.c (main): Move declaration of buf from top of function
3579 to local block surrounding the copy loop. This makes it less
3580 likely to be confused with the buf used by the code which checks the
3581 permissions on outname's directory.
3583 1992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
3585 * SERVICE: Remove my entry.
3587 1992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
3589 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
3592 * movemail.c (xmalloc): Return char *, not int.
3593 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
3594 that is off by default -- normally don't unlink the mail spool
3595 file, just empty it. Pass creat mode 0600, not 0666.
3597 1992-02-07 Jim Blandy (jimb at pogo.cs.oberlin.edu)
3599 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
3600 (all): Instead of here.
3601 (install): Don't use the -s option, since people need symbols to
3604 1992-01-19 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil)
3606 * etags-vmslib.c (fn_exp): Add type cast.
3608 1992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3610 * movemail.c: Changes in comments.
3612 1992-01-13 Jim Blandy (jimb at pogo.cs.oberlin.edu)
3614 * Makefile: Make the distclean target erase the DOC files from
3615 ../share-lib and the executables from ../arch-lib.
3617 1992-01-09 Jim Blandy (jimb at pogo.cs.oberlin.edu)
3619 * emacsclient.c: #include <sys/stat.h>
3620 (main): Do declare statbfr.
3622 1991-12-21 Richard Stallman (rms at mole.gnu.ai.mit.edu)
3624 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
3625 for the socket, depending on SERVER_HOME_DIR.
3626 If using /tmp, put host name in the socket name.
3628 * movemail.c (pfatal_and_delete): New function.
3629 (main, popmail): Use it.
3630 (popmail): Close output before deleting messages.
3631 Check for error on close and on fsync.
3632 Use `fatal' where appropriate.
3633 (main): Remove (void).
3635 * aixcc.lex: New file. Not officially part of Emacs.
3636 * Makefile: Rules for that.
3638 1991-12-04 Jim Blandy (jimb at pogo.gnu.ai.mit.edu)
3640 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
3642 * etags.c (main): Properly cast call to alloca that initializes
3645 1991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
3647 * etags.c (files_are_tag_tables): Remove global var.
3648 (process_file): Don't test it. Also remove hack checking for a
3650 (main): -i now takes an arg which is the name of a file to include.
3651 Collect these names and emit include tags for them after processing
3652 all the argument files.
3654 1991-07-30 Richard Stallman (rms at mole.gnu.ai.mit.edu)
3656 * wakeup.c: Terminate if parent goes away.
3658 1991-07-18 Richard Stallman (rms at mole.gnu.ai.mit.edu)
3660 * etags.c (C_entries): Process token before handling end of line.
3661 When inner loops reach end of line, just back up.
3662 Let the real end of line processing happen in just one place.
3663 (consider_token): Likewise.
3665 1991-04-11 Jim Blandy (jimb at geech.gnu.ai.mit.edu)
3667 * etags.c (TEX_mode): Skip comments while scanning the text to see
3668 which escape character this file uses.
3670 1991-03-29 Richard Stallman (rms at mole.gnu.ai.mit.edu)
3672 * emacsserver.c [USG]: Terminate if msgrcv fails.
3674 1991-03-03 Richard Stallman (rms at mole.ai.mit.edu)
3676 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
3678 1991-01-25 Jim Blandy (jimb at churchy.ai.mit.edu)
3680 * make-docfile: Find the arguments to a C function correctly,
3681 by not ignoring the character that read_c_string returns. Don't
3682 even try to find argument names for functions that take MANY
3683 or UNEVALLED arguments, since they're a figment of the docstring's
3686 1991-01-14 Jim Blandy (jimb at churchy.ai.mit.edu)
3688 * make-docfile: Read the .elc files generated by the new byte
3691 1990-12-31 Richard Stallman (rms at mole.ai.mit.edu)
3693 * refcard.tex: Use cm fonts, not am, in multi-column mode.
3695 1990-11-29 Richard Stallman (rms at mole.ai.mit.edu)
3697 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
3699 1990-11-27 Richard Stallman (rms at mole.ai.mit.edu)
3701 * Makefile (install*): No need to install wakeup.
3703 1990-11-26 Richard Stallman (rms at mole.ai.mit.edu)
3705 * Makefile (install*): Install emacsclient like etags.
3707 1990-11-13 Richard Stallman (rms at mole.ai.mit.edu)
3709 * movemail.c (error): Handle 3 args.
3710 (main): Don't check input access if using pop.
3712 1990-10-16 Richard Stallman (rms at mole.ai.mit.edu)
3714 * etags.c (find_entries): Check for numbers after Scheme suffix.
3716 1990-10-14 Richard Stallman (rms at mole.ai.mit.edu)
3718 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
3720 1990-10-09 Richard Stallman (rms at mole.ai.mit.edu)
3722 * Makefile (nemacstool, xvetool): New targets.
3724 1990-09-26 Richard Stallman (rms at mole.ai.mit.edu)
3726 * emacsclient.c: Include errno.h and define related variables.
3728 1990-09-23 Richard Stallman (rms at mole.ai.mit.edu)
3730 * emacsclient.c: Change usage message.
3732 1990-08-30 David Lawrence (tale at pogo.ai.mit.edu)
3734 * emacs.1: Add break before -nw option.
3736 1990-08-19 David J. MacKenzie (djm at apple-gunkies)
3738 * qsort.c: Replace with GNU version.
3740 1990-08-14 David J. MacKenzie (djm at apple-gunkies)
3742 * wakeup.c: New program replacing loadst.c.
3744 1990-08-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3746 * emacsclient.c [USG]: Pass msgsnd only 4 args.
3748 1990-08-09 David J. MacKenzie (djm at pogo.ai.mit.edu)
3750 * etags.c: Rename `flag' variables for what they do instead of
3751 which option character sets them.
3753 1990-05-28 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3755 * loadst.c (main): Conditional to get load average on Apollo.
3757 1990-05-22 Joseph Arceneaux (jla at churchy.ai.mit.edu)
3759 * emacsserver.c: Set the permission on the socket to 0600.
3761 1990-03-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3763 * emacsclient.c [BSD]: Print clean message for failing getwd.
3765 1990-03-20 David Lawrence (tale at pogo.ai.mit.edu)
3767 * getdate.y: Use the getdate.y from GNU tar for timer.
3769 1990-03-18 Jim Kingdon (kingdon at pogo.ai.mit.edu)
3771 * emacsclient.c (main): Don't put brackets around "filename" in
3772 usage message. It isn't optional.
3774 1990-03-14 Joseph Arceneaux (jla at churchy.ai.mit.edu)
3776 * etags.c (getit): Recognize '$' as beginning identifiers.
3778 1990-02-22 David Lawrence (tale at pogo.ai.mit.edu)
3780 * emacsserver.c: Renamed from server.c.
3781 * Makefile: Reference emacsserver rather than server.
3782 * MACHINES: Doc fix for new emacsserver name.
3784 1990-01-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3786 * emacsclient.c: Print program name in error messages.
3788 1990-01-19 David Lawrence (tale at cocoa-puffs)
3790 * timer.c, getdate.y (new files) and Makefile:
3791 Sub-process support for run-at-time in timer.el.
3792 Doesn't yet work correctly for USG.
3794 1990-01-10 Jim Kingdon (kingdon at pogo)
3796 * MACHINES: Add HP 300 running BSD.
3798 1990-01-02 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3800 * yow.c: Dynamically allocate buffer; skip header before random
3801 choice to avoid bias toward first item.
3803 1989-12-24 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3805 * etags.c (readline): Separate out init of `pend'.
3807 1989-12-17 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3809 * etags.c: Undo changes relating to isgoodhdr.
3811 1989-12-16 Mosur Mohan (rms at sugar-bombs.ai.mit.edu)
3813 * etags.c (isgoodhdr): New macro.
3814 (_gdh, notgdh): New variable used by that.
3815 (init): Initialize _gdh.
3816 (find_entries): Set header_file.
3817 (consider_token): Use isgoodhdr if in header file.
3819 * etags.c (total_size_of_entries):
3820 Was miscalculating by 1 in rewritten case.
3822 * etags.c (PAS_funcs): One arg to pfnote was missing.
3824 1989-12-05 Joseph Arceneaux (jla at spiff)
3826 * MACHINES: Change for the ULTRIX entry.
3828 1989-11-21 Joseph Arceneaux (jla at spiff)
3830 * etags.c (process_file): If file is not regular, return.
3832 1989-11-06 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3834 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
3836 1989-10-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3838 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
3839 (main): If HAVE_GETLOADAVG, don't call `nlist'.
3841 1989-10-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3843 * etags.c (consider_token): Allow any number of typespec keywords
3844 after `typedef', before new type name.
3845 (enum sym_type): Add st_C_typespec.
3846 (C_create_stab): Put typespec kwds in table.
3848 1989-08-27 Richard Stallman (rms at apple-gunkies.ai.mit.edu)
3850 * etags.c (main): Don't depend on name invoked by.
3851 If CTAGS is not defined, assume it is ETAGS.
3853 1989-07-31 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3855 * etags.c (L_funcs): Allow package name in define construct,
3856 as in (foo::defmumble name-defined ...).
3858 1989-07-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3860 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
3862 * Makefile (yow): Depends on ../src/paths.h.
3864 1989-07-04 Richard Stallman (rms at apple-gunkies.ai.mit.edu)
3866 * etags.c: Fix compilation by moving Pascal after Fortran.
3868 1989-06-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3870 * movemail.c [USG]: Define F_OK, etc., if not found in header.
3872 1989-05-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3874 * hexl.c: New file, supports hexl-mode.
3876 1989-05-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3878 * movemail.c: New compilation flag MAIL_USE_MMDF.
3880 1989-05-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3882 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
3883 * server.c: Likewise.
3885 * make-docfile.c (scan_c_file): Output argument names at end of string.
3886 (write_c_args): New subroutine.
3888 1989-04-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3890 * movemail.c: Report failure of flock.
3892 1989-04-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3894 * etags.c (find_entries): Allow multi-letter extensions for fortran.
3896 1989-04-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3898 * loadst.c: on bsd4.3, use gettimeofday instead of CPUSTATES.
3900 1989-03-15 Jeff Peck (rms at sugar-bombs.ai.mit.edu)
3902 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
3904 * emacsstool.1: update to document environment variables.
3906 1989-02-21 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3908 * etags.c (PAS_funcs): New function by Mosur Mohan.
3910 * movemail.c: On sysv, include unistd.h.
3912 1989-02-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3916 1989-02-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3918 * etags.c: Prolog support from Sunichirou Sugou
3920 1989-02-03 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3922 * Makefile (clean): New target.
3924 1989-01-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3926 * fakemail.c (put_line): Break header lines at 79 cols.
3928 1989-01-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3930 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
3931 multiple tags per line.
3933 1989-01-03 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3935 * movemail.c: Check access before doing real work.
3936 Check that outfile is in a writable directory.
3937 On fatal error, delete the lock file.
3939 1988-12-31 Richard Mlynarik (mly at rice-chex.ai.mit.edu)
3941 * env.c: Add decl for my-index
3942 * etags.c (file-entries): .oak => scheme
3944 1988-12-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3946 * movemail.c: Use `access' to check input and output files.
3948 1988-12-28 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3950 * emacsclient.c (main): Ignore all of CWD before first slash.
3952 1988-12-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3954 * etags.c (readline): Double linebuffer->size outside the xrealloc.
3956 1988-12-22 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3958 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
3959 * server.c: chmod the socket to 0700.
3961 1988-12-09 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3963 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
3964 (add_field): Delete comments and turn `<', `>' to spaces
3966 (USE_FAKEMAIL): New customization macro says to make fakemail
3967 not be a no-op even on a BSD system.
3969 1988-12-01 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3971 * etags.c (consider_token): Skip comments just like whitespace.
3972 Notice `struct', etc. and set strtag for those tokens.
3973 Return 1 for the token following `struct' if an open-brace follows it.
3974 (C_entries): Special handling of token following `struct'
3975 needed because we have probably advanced to the following line
3977 (main): New option `T' sets tflag and strflag.
3978 Set both of them by default if eflags.
3980 1988-11-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3982 * movemail.c: Do fsync before closing output.
3984 1988-11-29 Richard Mlynarik (mly at pickled-brain.ai.mit.edu)
3986 * movemail.c: Better error message when can't create tempname.
3987 This file needs a great deal of extra error-checking and lucid reporting...
3989 1988-11-16 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3991 * etags.c: Support assembler code for .s and .a files.
3992 (getit): Allow underscore in a tag.
3994 1988-11-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3996 * movemail.c: Close output and check errors before deleting input.
3998 1988-10-01 Richard Stallman (rms at apple-gunkies.ai.mit.edu)
4000 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
4001 whether to prefix it. Handle line number args.
4003 1988-09-24 Richard Stallman (rms at gluteus.ai.mit.edu)
4005 * etags.c (main): default setting of eflag was backwards.
4007 1988-09-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4009 * etags.c: New option -i. -f renamed -o.
4010 `-' as input file means read input file names from stdin.
4011 -i spec'd or input file named TAGS means the input file is another
4012 tag table; output an "include" line for it.
4014 1988-09-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4016 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
4017 New targets install, install.sysv, install.xenix.
4018 This makefile is now responsible for installing executables
4019 and documentation from this directory into system directories.
4021 1988-09-16 Richard Stallman (rms at corn-chex.ai.mit.edu)
4023 * server.c, emacsclient.c (main): Compute socket name from euid.
4025 1988-08-04 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4027 * emacsclient.c: Args like +DIGITS are passed through unchanged.
4029 1988-07-12 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4031 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
4032 * emacsclient.c: Likewise.
4033 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
4035 1988-06-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4037 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
4038 (istoken) New string-comparison macro.
4039 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
4041 1988-06-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4043 * etags.c: Changes for VMS.
4044 Always define ETAGS on VMS.
4045 Define macros GOOD and BAD for success and failure exit codes.
4046 (begtk, intk): Allow `$' in identifiers
4047 (main): Don't support -B, -F or -u on VMS.
4048 Alternate loop for scanning filename arguments.
4049 (system): Delete definition of this function.
4051 * etags-vmslib.c (system): Undefine this; VMS now provides it.
4053 1988-06-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4055 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
4056 around include of param.h. (Like fns.c.)
4058 1988-05-16 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
4060 * loadst.c (load_average): Move load-average code to this new fn.
4061 Add conditionals to compute load ave on UMAX.
4063 1988-05-14 Richard Stallman (rms at lucky-charms.ai.mit.edu)
4065 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
4066 with opposite sense.
4068 1988-05-13 Chris Hanson (cph at kleph)
4070 * emacsclient.c: Delete references to unused variable `out'. This
4071 caused a bus error when used under hp-ux.
4073 1988-05-06 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
4075 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
4077 1988-05-04 Richard Stallman (rms at rice-krispies.ai.mit.edu)
4079 * etags.c (find_entries): `.t' or `.sch' means scheme code.
4081 1988-04-29 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
4083 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
4085 1988-04-28 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
4087 * movemail.c: #undef close, since config can #define it on V.3.
4088 * emacsclient.c, fakemail.c, loadst.c, server.c: likewise.
4090 1988-04-26 Richard Stallman (rms at lucky-charms.ai.mit.edu)
4092 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
4093 invalid escape sequences such as `\{'.
4095 * loadst.c: Add `sequent' conditional for file dk.h.
4097 1988-03-20 Richard M. Stallman (rms at wilson)
4099 * server.c [not BSD and not HAVE_SYSVIPC]: fix error message.
4101 * loadst.c (main) [XENIX]: use /usr/spool/mail, not /usr/mail.