("greek-babel"): Add accent/breathing/uppercase
[emacs.git] / lib-src / ChangeLog
blob4764871fa541086f9b1c8452993f18ccf2e06c4a
1 2004-07-17  Richard M. Stallman  <rms@gnu.org>
3         * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
5 2004-06-01  Juanma Barranquero  <lektu@terra.es>
7         * makefile.w32-in (obj): Add image.c.
9 2004-05-10  Thien-Thi Nguyen  <ttn@gnu.org>
11         * test-distrib.c (main): For failing cases, exit with
12         `EXIT_FAILURE'.
14 2004-05-08  Jason Rumney  <jasonr@gnu.org>
16         * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
17         command-lines.
19 2004-05-08  Thien-Thi Nguyen  <ttn@gnu.org>
21         * cvtmail.c: Throughout, replace 0 destined for `exit' arg
22         with `EXIT_SUCCESS'.  Likewise, replace 1 with `EXIT_FAILURE'.
23         (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
25         * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
26         * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
27         * test-distrib.c, update-game-score.c, yow.c: Likewise.
29 2004-05-08  Thien-Thi Nguyen  <ttn@gnu.org>
31         * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
33 2004-05-07  Thien-Thi Nguyen  <ttn@gnu.org>
35         * b2m.c (GOOD, BAD): Delete macros.  Throughout,
36         replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
37         (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
39         * etags.c: Likewise.
41 2004-05-03  Jason Rumney  <jasonr@gnu.org>
43         * makefile.nt: Remove.
45 2004-04-26  Eli Zaretskii  <eliz@gnu.org>
47         * make-docfile.c (IS_DIRECTORY_SEP): New macro.
48         (put_filename): Remove unused variable len.  Use IS_DIRECTORY_SEP
49         instead of a literal '/'.
51 2004-04-23  Juanma Barranquero  <lektu@terra.es>
53         * makefile.w32-in: Add "-*- makefile -*-" mode tag.
55 2004-04-17  Paul Eggert  <eggert@gnu.org>
57         * rcs2log (Help): Clarify wording of the usage message.
58         Problem reported by Alan Mackenzie in
59         <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
61 2004-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
63         * make-docfile.c (xmalloc): Fix return type.
64         (put_filename): New fun.
65         (scan_file): Use it.
67 2004-03-09  Juanma Barranquero  <lektu@terra.es>
69         * grep-changelog: Changes to support ChangeLog.10+.
70         (main): Tidy up usage string.  Fix "Use of uninitialized value"
71         warning.  Set version to 0.2.  Parse the directory listing to get
72         any ChangeLog.n file, not just 1..9.
73         (header_match_p, entry_match_p, print_log, parse_changelog):
74         Remove Perl prototypes (their purpose is to help the parser, which
75         isn't needed here, not declare arguments).
76         (parse_changelog): Make --reverse faster on big batches by not
77         modifying the entries list.
79 2004-03-01  Juanma Barranquero  <lektu@terra.es>
81         * makefile.w32-in (obj): Add fringe.c.
83 2004-02-14  Paul Eggert  <eggert@twinsun.com>
85         * rcs2log: Work correctly if CVSROOT specifies :fork: or
86         :local: methods, or omits the colon between the hostname
87         and the path.  Allow :/ in repository path, since CVS does.
88         Fix typo: "pository" should be set from $CVSROOT, not $repository.
89         This fixes a bug reported by Wolfgang Scherer in
90         <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
91         along with some related bugs I discovered by inspecting how
92         CVS itself parses $CVSROOT.
94 2004-02-04  J\e,bi\e(Br\e,bt\e(Bme Marant  <jmarant@nerim.net>  (tiny change)
96         * emacsclient.c (decode_options): Fix handling of alternate editor.
98 2004-01-27  Stefan Monnier  <monnier@iro.umontreal.ca>
100         * emacsclient.c (main): Don't use the hostname in the socket name.
101         Look for relative socket names in the /tmp dir rather than in cwd.
103 2004-01-24  Richard M. Stallman  <rms@gnu.org>
105         * emacsclient.c (main): Restore errno from saved_errno,
106         so the error message comes from socket_status.
108 2004-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
110         * emacsclient.c (main): Stop if socket name too long.
111         Only try su-fallback if the socket name was not explicit.
112         Check socket name length in su-fallback case as well.
114 2004-01-08  Andreas Schwab  <schwab@suse.de>
116         * emacsclient.c (main): Save errno from socket_status.
118 2004-01-04  Andreas Schwab  <schwab@suse.de>
120         * emacsclient.c (main): Fix socket name when using another user.
122 2003-12-27  Paul Eggert  <eggert@twinsun.com>
124         * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
125         a tag, and if the user has not specified an rlog option.
126         Adapted from a suggestion by Martin Stjernholm in
127         <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
128         (Copyright): Update to 2003.
130 2003-12-24  Thien-Thi Nguyen  <ttn@gnu.org>
132         * make-docfile.c (main): For return code, no longer special-case VMS.
133         Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
135 2003-09-28  Andreas B\e,A|\e(Bsching  <crunchy@tzi.de>  (tiny change)
137         * emacsclient.c (quote_file_name): Print the result instead of
138         returning it.  Fix the return type accordingly.
139         (main): With --eval, if no file name, read from stdin.
140         Quote file names.
142 2003-09-10  Richard M. Stallman  <rms@gnu.org>
144         * emacsclient.c (main): Use socket_name.
146 2003-09-10  Andreas B\e,A|\e(Bsching  <crunchy@tzi.de>  (tiny change)
148         * emacsclient.c (socket_name): New variable.
149         (longopts, decode_options, print_help_and_exit):
150         Handle --socket-name argument.
152 2003-08-25  Takaaki Ota  <Takaaki.Ota@am.sony.com>  (tiny change)
154         * etags.c (consider_token): Check C++ `operator' only when the
155         token len is long enough.
157 2003-08-20  Dave Love  <fx@gnu.org>
159         * Makefile.in: Remove obsolete references to alloca.
161 2003-07-29  Ken Brush  <ken@wirex.com>
163         * emacsclient.c (main)
164         * etags.c (suggest_asking_for_help)
165         * movemail.c (main): Fix having macros in a printf statement.
167 2003-05-31  Juanma Barranquero  <lektu@terra.es>
169         * makefile.w32-in (lisp): Fix references to byte-run.el,
170         float-sup.el and map-ynp.el, which are now in emacs-lisp.
172 2003-05-22  Dave Love  <fx@gnu.org>
174         * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
175         (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
177 2003-05-20  Dave Love  <fx@gnu.org>
179         * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
181         * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
183 2003-04-27  Oliver Scholz  <alkibiades@gmx.de>
185         * update-game-score.c (read_scores): Fix corruption of scores on
186         read.
188 2003-04-12  Stefan Monnier  <monnier@cs.yale.edu>
190         * emacsclient.c (main): Use new safe location for socket.
192 2003-03-12  Tom Tromey  <tromey@redhat.com>
194         * emacsclient.c (print_help_and_exit): Print to stdout.
195         Exit successfully.  Added some blank lines for readability.
196         (decode_options): Don't call print_help_and_exit in default case.
197         Print version information to stdout.
198         (main): Don't call print_help_and_exit.
200 2003-02-15  Richard M. Stallman  <rms@gnu.org>
202         * cvtmail.c: Cast result of malloc and realloc.
203         Don't include stdlib.h, becuase config.h does.
204         (malloc, realloc): Declarations deleted.
206         * yow.c (yow): Cast result of malloc and realloc.
207         (malloc, realloc): Declarations deleted.
209 2003-02-11  Juanma Barranquero  <lektu@terra.es>
211         * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
213 2003-02-08  Andreas Schwab  <schwab@suse.de>
215         * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
216         instead of the substitution.
218 2003-02-04  Richard M. Stallman  <rms@gnu.org>
220         * update-game-score.c (push_score, read_scores): Cast values
221         of malloc and realloc.
222         (main, lock_file): Avoid assignment inside if.
224 2003-01-31  Joe Buehler  <jhpb@draco.hekimian.com>
226         * Makefile.in: Use @EXEEXT@ for Cygwin.
228 2003-01-21  Dave Love  <fx@gnu.org>
230         * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
231         column-0 `('.
233         * yow.c: Don't include string.h.
235 2003-01-20  Richard M. Stallman  <rms@gnu.org>
237         * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
238         New targets.
240 2003-01-06  Kim F. Storm  <storm@cua.dk>
242         * pop.c (__P): Renamed from _P to avoid problems on Cygwin.
243         All uses changed.
245 2002-12-18  Andrew Innes  <andrewi@gnu.org>
247         * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
248         because GNU make doesn't append when using >> redirection.
250 2002-12-12  Jonathan Kamens  <jik@kamens.brookline.ma.us>
252         * b2m.pl: Make sure every message ends with a blank line, because
253         some mbox parsers require a blank line before "From " lines.
255 2002-12-08  Richard M. Stallman  <rms@gnu.org>
257         * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
258         (_): Test only HAVE_LIBINTL_H to decide what to do.
260 2002-12-05  Richard M. Stallman  <rms@gnu.org>
262         * getopt.c: Comment out include of libintl.h or gettext.h.
264 2002-12-04  Richard M. Stallman  <rms@gnu.org>
266         * Update getopt from gnulib version; changes described below.
268         * getopt1.c: Conditionally find getopt.h.
269         [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
271         * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
272         (libintl.h): Include this if _LIBC.  Otherwise include gettext.h.
273         (wchar.h): Include, maybe.
274         (attribute_hidden): Define if not defind.
275         (__getopt_initialized): Use attribute_hidden.
276         (__libc_argc, __libc_argv): Renamed from original_argc, etc.
277         (__getopt_nonoption_flags, nonoption_flags_max_len, nonoption_flags_len):
278         Conditional on USE_NONOPTION_FLAGS.
279         (SWAP_FLAGS): New definitions.
280         (exchange): Test USE_NONOPTION_FLAGS.
281         (_getopt_initialize): Test USE_NONOPTION_FLAGS.
282         (_getopt_internal): Error if argc < 1.  New local var print_errors.
283         Improve test for ambiguous long option.
284         Add LIBIO support for error message output.
285         (NONOPTION_P): Test USE_NONOPTION_FLAGS.
287         * getopt.h: Maybe include ctype.h.
288         Treat __cplusplus like __STDC__.
289         (decls): Use __ in arg names.
291 2002-12-02  Stephen Eglen  <stephen@gnu.org>
293         * emacsclient.c (main): Tell user how to start server within Emacs
294         if socket could not be found.
296 2002-12-02  Richard M. Stallman  <rms@gnu.org>
298         * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
300 2002-11-19  Ben Key  <bkey1@tampabay.rr.com>
302         * makefile.w32-in: Fixed a bug that caused the documentation for
303         the built in function play-sound-internal not to be included in
304         /etc/DOC.
306 2002-11-18  Dave Love  <fx@gnu.org>
308         * update-game-score.c: Include unistd.h, string.h, stdlib.h,
309         fcntl.h, stdarg.h conditionally.
310         (_GNU_SOURCE, __attribute__): Don't define.
311         (optarg, optind, opterr): Declare.
312         (lose, lose_syserr): Use NO_RETURN.
313         (get_user_id): Use P_.
315 2002-11-17  Richard M. Stallman  <rms@gnu.org>
317         * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
319 2002-11-14  Dave Love  <fx@gnu.org>
321         * movemail.c (pop_retr): Declare comment.
323         * make-docfile.c (read_c_string_or_comment): Declare msgno.
325         * Makefile.in (YACC): Deleted.
327 2002-10-19  Andreas Schwab  <schwab@suse.de>
329         * Makefile.in (${archlibdir}): Always create $(gamedir).
330         (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
332 2002-10-04  Juanma Barranquero  <lektu@terra.es>
334         * makefile.w32-in (lisp): Load devanagari.el, not .elc.
336 2002-09-30  Markus Rost  <rost@math.ohio-state.edu>
338         * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
339         completely.
341 2002-09-27  Stefan Monnier  <monnier@cs.yale.edu>
343         * emacsclient.c: Remove SYSV support.
344         (eval, display): New vars.
345         (longopts): Add --eval and --display.
346         (decode_options): Add -e and -d processing.
347         (print_help_and_exit): Update the usage string.
348         (main): Add support for --eval and --display.
349         (main): Always use /tmp and non-qualified hostname.
351 2002-09-25  Stefan Monnier  <monnier@cs.yale.edu>
353         * emacsserver.c: Remove.
355 2002-09-17  Stefan Monnier  <monnier@cs.yale.edu>
357         * emacsclient.c (quote_file_name): Quote \n.
358         (main): Print a final \n when needed.
360 2002-09-03  Francesco Potorti`  <pot@gnu.org>
362         * etags.c (regex_tag_multiline, readline): Never pass pfnote a
363         string that cannot be freed.
365 2002-08-30  Francesco Potorti`  <pot@gnu.org>
367         * etags.c (consider_token, C_entries): Switch to C++ parsing when
368         auto-detection is enabled and the `::' qualifier is met.
369         (consider_token, C_entries): Several bugs corrected that tagged
370         some declarations even though --declarations was not used.
371         (plainc): New macro.
372         (C_entries): Use it.
373         (C_entries): Several cosmetic changes.
374         (C_entries): Invalidate the token is some cases.
376 2002-08-29  Francesco Potorti`  <pot@gnu.org>
378         * etags.c (C_entries): Correct a problem with const C++ funcs.
379         (ignoreindent): Renamed from noindentypedefs.
380         (cjava, cplpl): They are now macros instead of local vars.
382 2002-08-28  Francesco Potorti`  <pot@gnu.org>
384         * etags.c (HTML_labels): Tag ID= also.
386 2002-08-27  Francesco Potorti`  <pot@gnu.org>
388         * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
390         * etags.c: (HTML_labels): New language HTML.
391         (etags_strcasecmp): Like BSD's, for compatibility.
392         (strcaseeq): Make it into a macro.
394         * etags.c (make_tag): Never generate null length tag names.
395         (linebuffer_init): Renamed from initbuffer.  All callers changed.
396         (pattern): Structure renamed to `regexp', member regex renamed to
397         pattern.
398         (node_st): Member pat renamed to regex.
399         (pattern); New member force_explicit_name, for future use.
400         Now always set to true, cannot be reset.
401         (add_regex, regex_tag_multiline, readline): Use it.
402         (main): Free some global structures.
403         (fdesc): New member `written'.
404         (readline, process_file): Initialise it.
405         (put_entries): Set it.
406         (main): Use it to create entries for files without tags.
407         (total_size_of_entries): Do not count invalid tags.
409 2002-08-19  Stefan Monnier  <monnier@cs.yale.edu>
411         * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
412         for the function name in the usage info.
414 2002-07-31  Colin Walters  <walters@gnu.org>
416         * update-game-score.c (P_): New macro.  Use it for all prototypes.
417         (lose): Don't use varargs.
418         (lose_syserr): New function.
420         * update-game-score.c: Change all functions to K&R style.
422 2002-07-30  Andreas Schwab  <schwab@suse.de>
424         * Makefile.in (localstatedir): New variable.
426 2002-07-29  Jonathan Kamens  <jik@kamens.brookline.ma.us>
428         * b2m.pl: Fix regexp for finding return address fields.
430 2002-07-15  Stefan Monnier  <monnier@cs.yale.edu>
432         * make-docfile.c (scan_c_file): Warn about missing `usage' info.
434 2002-07-05  Jonathan Kamens  <jik@kamens.brookline.ma.us>
436         * b2m.pl: Obey the rmail file and use the unpruned header properly.
438 2002-06-26  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
440         * b2m.pl: New file.
442 2002-06-21  Francesco Potorti`  <pot@gnu.org>
444         * etags.c: (F_getit, Fortran_functions, Ada_getit, Asm_labels)
445         (Python_functions, PHP_functions, PHP_functions, PHP_functions)
446         (PHP_functions, PHP_functions, Cobol_paragraphs)
447         (Makefile_targets, Postscript_functions, Texinfo_nodes)
448         (prolog_pr, erlang_func, erlang_attribute)
449         (Perl_functions, Perl_functions, Pascal_functions)
450         (TeX_commands, get_tag): Use make_tag instead of pfnote.
451         (get_tag): Prototype changed, all callers changed.
453 2002-06-20  Francesco Potorti`  <pot@gnu.org>
455         * etags.c: Implement implicit tag names, that is, unnamed tags
456         whose name is automatically deduced by etags.el.  The advantage is
457         that there is no explicit tag name in most tags, so the size of
458         the tags file is reduced, yet find-tag is able to do a match as
459         accurate as with named tags.  See the comment in make_tag for details.
460         (make_tag): New function (was the disabled function new_pfnote).
461         (make_C_tag): Use it.
463 2002-06-19  Francesco Potorti`  <pot@gnu.org>
465         * etags.c (add_regex): Invalid regexp modifiers are ignored.
466         (Makefile_targets): Tag variables unless --no-globals.
467         (LOOP_ON_INPUT_LINES): Serious bug corrected.
469 2002-06-13  Francesco Potorti`  <pot@gnu.org>
471         * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
472         (invalidate_nodes): Bug corrected.
473         (print_help): Better help for regexps.
475 2002-06-13  Juanma Barranquero  <lektu@terra.es>
477         * makefile.w32-in (lisp): Add international/ucs-tables.elc and
478         font-core.elc.
480 2002-06-12  Francesco Potorti`  <pot@gnu.org>
482         * etags.c: New multi-line regexp and new regexp syntax.
483         (arg_type): at_icregexp label removed (obsolete).
484         (pattern): New member multi_line for multi-line regexps.
485         (filebuf): A global buffer containing the whole file as a string
486         for multi-line regexp matching.
487         (need_filebuf): Global flag raised if multi-line regexps used.
488         (print_help): Document new regexp modifiers, remove references to
489         obsolete option --ignore-case-regexp.
490         (main): Do not set regexp syntax and translation table here.
491         (main): Treat -c option as a backward compatibility hack.
492         (main, find_entries): Init and free filebuf.
493         (find_entries): Call regex_tag_multiline after the regular parser.
494         (scan_separators): Check for untermintaed regexp and return NULL.
495         (analyse_regex, add_regex): Remove the ignore_case argument, which
496         is now a modifier to the regexp.  All callers changed.
497         (add_regex): Manage the regexp modifiers.
498         (regex_tag_multiline): New function.  Reads from filebuf.
499         (readline_internal): If necessary, copy the whole file into filebuf.
500         (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
502 2002-06-11  Francesco Potorti`  <pot@gnu.org>
504         * etags.c (add_regex): Better check for null regexps.
505         (readline): Check for regex matching null string.
506         (find_entries): Reorganisation.
508 2002-06-07  Francesco Potorti`  <pot@gnu.org>
510         * etags.c (scan_separators): Support all character escape
511         sequences supported by Gcc.
512         (find_entries): Rewind unconditionally.
513         (find_entries): Do not call language functions directly, now calls
514         itself.
515         (find_entries): Do general initialisations here.
516         (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
517         (Ada_getit, Pascal_functions, Pascal_functions)
518         (prolog_skip_comment): Do not do them here.
519         (readline_internal): Increment lineno here.
520         (readline): Conditionally undo readline_internal increment.
521         (readline): Do not return a value.
523 2002-06-06  Francesco Potorti`  <pot@gnu.org>
525         * etags.c: New option --parse-stdin=FILE.
526         (enum arg_type): New label at_stdin.
527         (STDIN): New constant.
528         (parsing_stdin): New flag.
529         (longopts): New option --parse-stdin=NAME.
530         (print_help): Document it.
531         (main): Handle it.
532         (process_file): Split into process_file and process_file_name.
533         (process_file_name): New function.
535         * etags.c: Improvements and bug squashing in TeX handling.
536         (TeX_commands): Skip comments.
537         (TEX_defenv): Now contains more contructs.
538         (TEX_cmt): Make it a static char and move it before TeX_commands.
539         (TeX_commands): Shorten the tag to the brace after the name.
540         (TeX_commands): Names now include the initial backslash.
541         (TeX_commands): Names do not include numeric args #n.
542         (TeX_commands): Correct line char number in tags.
543         (TEX_tabent, TEX_token): Deleted.
544         (TeX_commands, TEX_decode_env): Streamlined.
546 2002-06-05  Francesco Potorti`  <pot@gnu.org>
548         * etags.c (main): Avoid a buffer overrun with sprintf.
550 2002-05-30  Richard M. Stallman  <rms@gnu.org>
552         * Makefile.in (LIBS_MAIL): Renamed from LIB_MAIL.
553         (LIBS_MOVE): Renamed from MOVE_LIBS.
555 2002-05-26  Paul Eggert  <eggert@twinsun.com>
557         Reinstate the following change from 2002-03-22, which was
558         inadvertently lost on 2002-04-13.
560         * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
561         `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
562         the latter usage.
564 2002-05-17  Eli Zaretskii  <eliz@is.elta.co.il>
566         * pop.c (socket_connection): Move the code to resolve the POP
567         host right before trying to connect with it.
569 2002-04-28  Colin Walters  <walters@verbum.org>
571         * Makefile.in (${archlibdir}): Don't conditionalize on
572         HAVE_SHARED_GAME_DIR.  Instead, test at installation time whether
573         or not we have access to the specified game user.
575         * update-game-score.c (SCORE_FILE_PREFIX): Delete.
576         (main): New argument -d, for specifying directory.
577         (usage): Document.
578         (get_user_id): Compute.
579         (get_home_dir): Deleted.
580         (get_prefix): New function, taken from main.
581         (main): Check whether or not we are running setuid.  Move prefix
582         computation to get_prefix.  Don't call getpwent; we don't need to
583         any more.  Instead, move it to get_user_id().
585 2002-04-24  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
587         * ebrowse.c (skip_initializer): Return void.
589 2002-04-23  Colin Walters  <walters@verbum.org>
591         * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
592         space.
594 2002-04-22  Francesco Potorti`  <pot@gnu.org>
596         * etags.c: (last_node): Make it a global variable.
597         (process_file): Print the tags from the nodes as soon as
598         possible, and delete the nodes.  This brings down the memory
599         occupancy as etags to almost the same level as when the #line
600         directives were not parsed.
601         (free_fdesc): New function.
602         (find_entries): Use it.
603         (invalidate_nodes): In etags mode, do not just mark the nodes as
604         invalid, do delete them.
606 2002-04-21  Gerd Moellmann  <gerd@gnu.org>
608         * ebrowse.c (add_declarator): Test *CLS instead of CLS.
610 2002-04-16  Eli Zaretskii  <eliz@is.elta.co.il>
612         * update-game-score.c: Move config.h before the other headers, to
613         avoid compiler warnings.
615 2002-04-16  Francesco Potorti`  <pot@gnu.org>
617         * etags.c (find_entries): Bug fix in list management.
619 2002-04-15  Francesco Potorti`  <pot@gnu.org>
621         * etags.c (get_language_from_filename): Add one argument.
622         (strcaseeq): New function.
623         (get_language_from_filename): Use it to do a case insenstitive
624         comparison if called with appropriate args.
625         (find_entries): Try with case insensitive match.
626         (process_file): Bug fixed.
628 2002-04-13  Francesco Potorti`  <pot@gnu.org>
630         * etags.c (find_entries): Delete tags previously obtained from
631         file xxx.c's #line directives when parsing file xxx.y.  This is
632         generally done for automatically generated files containing
633         #line directives.  This handles the case when xxx.y is tagged
634         before xxx.c, and the entries of xxx.c pointing to xxx.y should
635         be discarded.
636         (language): Add the metasource member.  Initializers changed.
637         (invalidate_nodes): New function.
638         (readline): Discard lines after having found a #line
639         directive pointing to an already tagged file.  This handles the
640         case when xxx.y is tagged before xxx.c, and the entries of
641         xxx.c pointing to xxx.y should be discarded.
642         (fdesc): New structure for keeping track of input files.
643         (fdesc): Remove `file' member (a string) and use instead a pointer
644         to a file description structure.
645         (curfile, curfiledir, curtagfname, curlang, nocharno)
646         (forced_lang): Global variables removed in favor of fdhead and
647         curfdp, pointers to file description strucures.
648         (longopts, main, print_help): Use the CTAGS conditional to include
649         or exclude options that work on etags or ctags only.
650         (process_file, find_entries, pfnote, add_node, put_entries)
651         (readline): Use fdhead and curfdp.
652         (process_file, find_entries): Do not take an arg string, all
653         callers changed.
655         * etags.c (longopts, print_help, main): Test CTAGS to disallow
656         options that are not right for either etags or ctags.
658         * etags.c (number_len, total_size_of_entries): Define them also
659         in CTAGS mode, because gcc does not compile all refs away.
661 2002-04-14  Colin Walters  <walters@debian.org>
663         * update-game-score.c (lock_file): If the lock file is older than
664         an hour, delete it.  Reset attempts to zero if we have to break
665         the lock.
667 2002-04-14  Andreas Schwab  <schwab@suse.de>
669         * update-game-score.c (read_score): Fix type of second parameter
670         of getdelim to be of type size_t instead of int.  Use 0 instead of
671         ESUCCES.
673 2002-04-10  Colin Walters  <walters@verbum.org>
675         * update-game-score.c: (toplevel): Include stdarg.h.
676         (MAX_DATA_LEN, MAX_SCORES): New.
677         (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
678         default to ~/.emacs.d/games.
679         (get_user_id): Don't zero uid in the case where we can't get the
680         username.
681         (lose): New function.
682         (main): Actually use `max', and default it to MAX_SCORES.
683         Correctly handle new default for SCORE_FILE_PREFIX.  Use `lose'
684         function.
685         (read_score): Handle the case of reading unamelen characters, then
686         finishing.  Use mktemp if mkstemp isn't available.
687         (lock_file, unlock_file): Delete unused versions.
688         (lock_file): Always sleep, even if we unlinked the lock file.
690         * Makefile.in (gamedir, gameuser): New variables.
691         (toplevel, UTILITIES): Add update-game-score.
692         (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
694 2002-04-07  Colin Walters  <walters@verbum.org>
696         * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
697         (get_user_id): Take struct passwd as an argument.
698         (get_home_dir): New function.
699         (main): Read in user information here.  Discover home directory if
700         necessary.
701         (read_score): Trim newline only in `getline' case.
703 2002-04-05  Colin Walters  <walters@debian.org>
705         * update-game-score.c (toplevel): Include pwd.h.
706         (struct score_entry): Add username field.
707         (push_score): Use it.
708         (get_user_id): New function.
709         (main): Don't malloc excessively.
710         (main): Use username field.
711         (read_score): Read it.
712         (push_score): Handle it.
713         (write_scores) Write it.
714         (read_score): Handle arbitrary length data.
716 2002-03-30  Eli Zaretskii  <eliz@is.elta.co.il>
718         * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
720 2002-03-29  Gerd Moellmann  <gerd@gnu.org>
722         * ebrowse.c (add_declarator, skip_initializer): New functions.
723         (declaration): Use them.
725 2002-03-28  Jason Rumney  <jasonr@gnu.org>
727         * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
729 2002-03-27  Colin Walters  <walters@debian.org>
731         * update-game-score.c: New file.
733 2002-03-22  Paul Eggert  <eggert@twinsun.com>
735         * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
736         `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
737         the latter usage.
739 2002-03-12  Francesco Potorti`  <pot@gnu.org>
741         * etags.c (Python_functions): Skip spaces at beginning of lines.
742         (Python_functions, PHP_functions): Name tags, for ctags' sake.
743         (TeX_commands): Name tags.  Correction of old disabled code.
745         * etags.c (curfiledir, curtagfname): New global variables.
746         (process_file): Initialise them.
747         (readline): Canonicalize the name found in #line directive.
749 2002-03-06  Jason Rumney  <jasonr@gnu.org>
751         * etags.c (put_entries): Use #if !CTAGS, to fix link error on
752         compilers that don't optimize out dead code.
754 2002-03-05  Francesco Potorti`  <pot@gnu.org>
756         * etags.c: Honour #line directives.
757         (no_line_directive): New global var; set it for old behaviour.
758         (main): Remove some #ifdef in the getopt switch.
759         (add_node, put_entries): Code added to merge different chunks of
760         nodes referring to the same file.  Currently the tags are just
761         appended, without any check for duplicates.
762         (Perl_functions): Do not special case ctags.
763         (readline): Identify #line directives and do the right thing.
764         (nocharno, invalidcharno): New global vars.
765         (process_file): Reset nocharno.
766         (readline): Set nocharno.
767         (pfnote): Read nocharno and maybe put invalidcharno in node.
768         (total_size_of_entries, put_entries): Use invalidcharno.
770         * etags.c: Keep the whole tag table in memory, even in etags mode.
771         (main): Call put_entries here even in CTAGS mode.
772         (main, process_file): Check the return values of fclose and pclose.
773         (process_file): Do not call put_entries after parsing each file.
774         (process_file): Canonicalise file names even for ctags.
775         (process_file): Set curfile here...
776         (find_entries): ... not here any more.
777         (add_node): In etags mode, build a linked list of entries (on
778         right pointer) for each file, and link the first entry of each
779         file on left nodes.
780         (put_entries): Print here the name of the file.
781         (put_entries): Print the entries starting from the first file.
782         (number_len, total_size_of_entries): Define these only in etags
783         mode, make the second work only on the right nodes.
785         * etags.c: Make all global variables static.
787 2002-02-25  Juanma Barranquero  <lektu@terra.es>
789         * makefile.w32-in (lisp): Add missing backslash.
791 2002-02-24  Jason Rumney  <jasonr@gnu.org>
793         * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
794         using .elc files.
795         (lisp): Sync with list in src/Makefile.in
796         (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
798 2002-02-10  Paul Eggert  <eggert@twinsun.com>
800         * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
801         disallows the old syntax.
803 2002-02-03  Paul Eggert  <eggert@twinsun.com>
805         * rcs2log(Copyright): Update to 2002.
806         (AWK, TMPDIR): Work around portability problem in broken shells that
807         don't understand `: ${VAR=val}'.
808         (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
809         Prefer the new -k option to the traditional +M -N option.
811 2002-01-01  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
813         * b2m.c (main): Parenthesize assignment when used as truth value
814         to prevent gcc warnings.
816         * fakemail.c: Include <config.h>.
818 2001-12-29  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
820         * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
821         * yow.c: Include <config.h>.
823 2001-12-21  Francesco Potorti`  <pot@gnu.org>
825         * etags.c (Perl_functions): Tag packages and use them in sub tags.
826         (get_tag): Return a pointer to the tag that is found.
828         * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
829         (F_takeprec): Renamed from takeprec.  All callers changed.
830         (F_getit): Renamed from getit.  All callers changed.
831         (nocase_tail): Renamed from tail.  All callers changed.
832         (Ada_getit): Renamed from adagetit.  All callers changed.
833         (L_getit): Simplify by using get_tag.
834         (Perl_functions, Postscript_functions, erlang_attribute): Use the
835         modified LOOKING_AT.
836         (notinname): Removed '[' and added ')' to the recognised chars.
837         (LOOKING_AT, get_tag, PHP_functions): Use notinname.
838         (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
839         Clarified, using strneq or notinname.
840         (L_isdef, L_isquote): Removed.
841         (Lisp_functions, L_getit): Clarified.
843         * etags.c: (P_): Renamed to __P for consistency with config.h.
844         [HAVE_CONFIG_H]: Let config.h deal with __P.
845         [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
846         [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
847         gperf code needs it.
848         [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with Xemacs).
849         [HAVE_CONFIG_H] [!__P]: Define __P (for use with Xemacs).
850         (xmalloc, xrealloc): Use PTR instead of long *.
851         (bool): Make it a define, not a typedef, for C++ compilers.
852         (pattern): Members renamed to avoid name clash in some C++ compilers.
853         (get_language_from_langname): Use const argument.
855 2001-12-22  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
857         * makefile.nt, makefile.w32-in: Remove mocklisp files.
859 2001-12-19  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
861         * emacsserver.c: Conditionally include config.h.
863         * fakemail.c: Likewise.
865         * emacsclient.c: Include "config.h", not <../src/config.h>.
866         (main): Parenthesize assignment when used as truth value to
867         prevent gcc warnings.
869         * ebrowse.c: Include stdlib.h and string.h conditionally.
871 2001-12-18  Eli Zaretskii  <eliz@is.elta.co.il>
873         * yow.c (main): Use time_t, not long, to avoid a compiler warning.
875 2001-12-18  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
877         * test-distrib.c: Fix previous change.
879 2001-12-18  Dave Love  <fx@gnu.org>
881         * test-distrib.c: Conditionally include fcntl.h.
883         * fakemail.c: Include "config.h", not <../src/config.h>.
884         (_XOPEN_SOURCE): Define as 500.
886         * emacsserver.c: Include "config.h", not <../src/config.h>.
888         * cvtmail.c: Include config.h, stdlib.h.
889         (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
891         * yow.c: Conditionally include various headers.  Use "epaths.h",
892         not <../src/epaths.h>.
893         (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
895 2001-12-12  Francesco Potorti`  <pot@gnu.org>
897         * etags.c (PHP_functions): New function for parsing PHP.
898         (LOOKING_AT): New macro.
899         (Perl_functions, Python_functions, PHP_functions)
900         (Scheme_functions, Texinfo_nodes): Use it.
901         (Perl_functions): Use strneq.
902         (prolog_pred): Renamed to prolog_pr.
903         (prolog_pr): Recognise Prolog rules in addition to predicates.
904         [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
905         unmodified compile, as Cygwin's regex.h is incompatible with us.
906         [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
908 2001-12-11  Richard M. Stallman  <rms@gnu.org>
910         * Makefile.in (clean): Don't delete ../etc/DOC*.
912 2001-12-11  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
914         * COPYING: Moved back.
916 2001-11-30  Andrew Innes  <andrewi@gnu.org>
918         * makefile.w32-in (FACE_SUPPORT):
919         (MOUSE_SUPPORT):
920         (FLOAT_SUPPORT):
921         (WINNT_SUPPORT):
922         (lisp): Reference .el files instead of .elc files, to simplify
923         bootstrapping.
924         ($(DOC)): Change dependency to just `make-docfile'.
926 2001-11-29  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
928         * COPYING: Removed.
930 2001-11-28  Paul Eggert  <eggert@twinsun.com>
932         * rcs2log (Copyright): Add '(C)' as per coding guidelines.
934         The following changes are derived from suggestions by Bob Chapman
935         <rechapman@compuserve.com>.
937         * rcs2log (printlogline): Also allow tab and newline to separate
938         '(function):' from the rest of a comment.
939         (reformat the sorted log entries): Require date and author to
940         match the clumpname.
942 2001-11-16  Gerd Moellmann  <gerd@gnu.org>
944         * ebrowse.c (matching_regexp): Escape '\\'.
946 2001-11-15  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
948         * Makefile.in: Add support for --program-prefix, --program-suffix
949         and --program-transform-name options.
951 2001-11-03  Richard M. Stallman  <rms@gnu.org>
953         * cvtmail.c (xrealloc): Always pass two args to `fatal'.
955         * movemail.c (popmail): Always pass two args to `error'.
957 2001-10-24  Ken Raeburn  <raeburn@gnu.org>
959         * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
960         -lhesiod and maybe -lresolv.
961         (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
962         support if it's available.
964 2001-10-21  Miles Bader  <miles@gnu.org>
966         * make-docfile.c (struct rcsoc_state): New type.
967         (read_c_string_or_comment): Add SAW_USAGE
968         parameter, and implement scanning for a `usage:' keyword.
969         Use a variable of type `rcsoc_state' to hold most of our state.
970         (put_char): Add STATE parameter, and remove all other parameters
971         except CH.  Use STATE to get access to all needed state.
972         (scan_keyword_or_put_char): New function.
973         (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
974         Don't output a usage-string if there was one in the doc-string.
976 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
978         * (Version 21.1 released.)
980 2001-10-19  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
982         * b2m.c: Properly spell the name of Emacs.
984 2001-10-17  Miles Bader  <miles@gnu.org>
986         * make-docfile.c (put_char): New function.
987         (read_c_string_or_comment): Strip trailing spaces and newlines.
989 2001-10-16  Miles Bader  <miles@gnu.org>
991         * make-docfile.c (scan_c_file): Handle `new style' doc strings in
992         comments [with `doc:' keyword prefix].
994 2001-10-15  Gerd Moellmann  <gerd@gnu.org>
996         * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
997         in a C doc comment.
999 2001-10-13  Gerd Moellmann  <gerd@gnu.org>
1001         * make-docfile.c (read_c_string_or_comment): Renamed from
1002         read_c_string.  Add parameter COMMENT.  Read C-style comments.
1003         (scan_c_file): Handle doc strings in C comments.
1005 2001-10-12  Andrew Innes  <andrewi@gnu.org>
1007         * makefile.nt (ALL): Do not include fakemail.
1009         * makefile.w32-in (install): Do not copy fakemail.
1011 2001-10-10  Jason Rumney  <jasonr@gnu.org>
1013         * makefile.w32-in (ALL) Do not include fakemail.
1015         * makefile.nt (install) Ditto.
1017 2001-10-09  Gerd Moellmann  <gerd@gnu.org>
1019         * emacsserver.c (main): Cast geteuid in sprintf to int.
1021         * emacsclient.c (main): Cast isdigit argument to unsigned char.
1023 2001-10-07  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
1025         * profile.c: Include config.h, not ../src/config.h.
1026         Include systime.h, not ../src/systime.h.
1028 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
1030         * Branch for 21.1.
1032 2001-10-01  Alexander Zhuckov  <zuav@int.spb.ru>
1034         * ebrowse.c (struct alias): Add two new struct members: NAMESP and
1035         ALIASEE to help work with namespace aliases.
1036         (struct sym): Remove struct member NAMESP_ALIASES.
1037         (namespace_alias_table): New variable.
1038         (make_namespace): Add parameter CONTEXT.
1039         (check_namespace): New function.
1040         (find_namespace): Add parameter CONTEXT.
1041         (check_namespace_alias): New function.
1042         (register_namespace_alias): Change type of parameter OLD_NAME.
1043         Search for already defined alias in NAMESPACE_ALIAS_TABLE.
1044         (check_namespace): New function.
1045         (enter_namespace): Call find_namespace with CONTEXT parameter.
1046         (match_qualified_namespace_alias): New function.
1047         (parse_qualified_ident_or_type): Fix typo in comment.
1048         While parsing qualified ident or type update namespace context and
1049         restore it on exit.
1050         (parse_qualified_param_ident_or_type): Fix typo in comment.
1051         (globals): Change handling of namespace aliases.
1052         (version): Add year 2001.
1054 2001-09-15  Eli Zaretskii  <eliz@is.elta.co.il>
1056         * etags.c (analyse_regex): If regex_arg is NULL, return
1057         immediately after a call to free_patterns.
1059 2001-09-05  Paul Eggert  <eggert@twinsun.com>
1061         * rcs2log (Help, mainline code): Add new option -L FILE.
1062         (Copyright): Update year.
1063         (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
1064         (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
1065         C locale.
1066         (mainline code): Handle nonstandard -u option differently, by
1067         transforming it to standard form.  Check for "Working file: ", not
1068         "Working file:".  Allow file names with spaces.
1069         (SOH, rlogfile): New shell vars.
1070         (rlogout): Remove.  Its old functionality is mostly migrated to
1071         rlogfile.
1073         Append ';;' to the last arm of every case statement, for
1074         portability to ancient broken BSD shells.
1076         (logins): Fix bug; was not being computed at all, lowering performance.
1077         (pository): New var.  This fixes some bugs where repositories are
1078         remote, or have trailing slashes.
1079         (authors): $llogout is never an empty shell var, so don't worry
1080         about that possibility.
1081         (printlogline, mainline code): Fix bug with SOH's being put into
1082         the output.
1084 2001-09-01  Eli Zaretskii  <eliz@is.elta.co.il>
1086         * ebrowse.c (SEEK_END): #define if not defined by system headers.
1087         Suggested by Dave Love <d.love@dl.ac.uk>.
1089 2001-08-29  Eli Zaretskii  <eliz@is.elta.co.il>
1091         * makefile.nt (lisp): Synchronize with src/Makefile.in.
1092         * makefile.w32-in (lisp): Ditto.
1094 2001-07-25  Juanma Barranquero  <lektu@terra.es>
1096         * grep-changelog (parse_changelog): Remove unused local variable.
1098         * grep-changelog (main): Add new option --reverse.
1099         (print_log): Use it.
1100         (parse_changelog): Use it.
1102 2001-07-20  Gerd Moellmann  <gerd@gnu.org>
1104         * grep-changelog: Remove RCS Id keyword.
1106 2001-07-20  Juanma Barranquero  <lektu@terra.es>
1108         * grep-changelog (parse_changelog): Add tests for defined values
1109         to quiet warning from Perl 5.005 or above.
1110         (entry_match_p, header_match_p): Fix handling of null or empty
1111         argument to prevent duplicate headers.
1113         * grep-changelog (main, parse_changelog): Make "use strict"-clean.
1115 2001-07-17  Jan Nieuwenhuizen  <janneke@gnu.org>
1117         * emacsclient.c (print_help_and_exit): Fix help message for
1118         +LINE:COLUMN option.
1120 2000-07-17  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
1122         * emacsclient.c (main): Add support for +LINE:COLUMN command line
1123         argument.
1125 2001-07-16  Gerd Moellmann  <gerd@gnu.org>
1127         * ebrowse.c (main): Check that the output file exists and
1128         is non-empty if invoked with `--append'.
1130 2001-05-14  Francesco Potorti`  <pot@gnu.org>
1132         * etags.c (add_regex): Reset the whole newly allocated pattern
1133         buffer instead of the individual members.  It's safer and works
1134         with Xemacs.
1136         * etags.1: Markups corrected.
1138 2001-05-08  Gerd Moellmann  <gerd@gnu.org>
1140         * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
1142 2001-05-03  Gerd Moellmann  <gerd@gnu.org>
1144         * ebrowse.c (globals): Fix handling of namespace aliases.
1146 2001-04-27  Eli Zaretskii  <eliz@is.elta.co.il>
1148         * etags.c (print_help): Enclose the regexp in the help text
1149         example in quotes.
1151 2001-04-05  Dave Love  <fx@gnu.org>
1153         * emacsclient.c (fail): Don't return a value.
1154         (main): Cast uid values for sprintf.
1156 2001-04-03  Gerd Moellmann  <gerd@gnu.org>
1158         * emacsclient.c (fail, main): Don't use implicit int return type.
1160         * b2m.c (main): Always return a value.
1162 2001-03-02  Gerd Moellmann  <gerd@gnu.org>
1164         * ebrowse.c (parse_qualified_param_ident_or_type): Return a
1165         freshly allocated object in *LAST_ID.
1166         (read_line): Accept \r\n line endings.
1168 2001-02-24  Andrew Innes  <andrewi@gnu.org>
1170         * makefile.w32-in: Fix copyright notice.
1172 2001-02-23  Francesco Potorti`  <pot@gnu.org>
1174         * etags.c (enum sym_type): New label st_C_template.
1175         (gperf input): Use it for switching to C++ from C.
1176         (consider_token): Do it.
1177         (C_entries): Initialise typdefcblev to quiet compilers.
1178         [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
1180 2001-02-22  Andrew Innes  <andrewi@gnu.org>
1182         * makefile.nt ($(BLD)\movemail.obj): Remove reference to
1183         VMS header files.
1184         ($(BLD)\profile.obj): Ditto.
1186         * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
1187         VMS header files.
1188         ($(BLD)/profile.$(O)): Ditto.
1190 2001-02-05  Andrew Innes  <andrewi@gnu.org>
1192         * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
1193         invocation of make-docfile, to work with Windows 2000.
1195 2001-01-31  Dave Love  <fx@gnu.org>
1197         * etags.c (in_word_set): Use `static' in definition (for pcc).
1199 2001-01-31  Francesco Potorti`  <pot@gnu.org>
1201         * etags.c: [NDEBUG] #undef assert and #define it as ((void)0), for
1202         the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
1203         (C_entries): Tag token renamed to still_in_token because sunos4
1204         pcc wants to expand it as the token() macro even though it has no
1205         arguments.
1207 2001-01-30  Andrew Innes  <andrewi@gnu.org>
1209         * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
1210         bug in the Mingw32 assert.h header file.
1212 2001-01-30  Francesco Potorti`  <pot@gnu.org>
1214         * etags.c: [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
1215         #define it for the sake of Xemacs.
1216         [WINDOWSNT]: #undef HAVE_NTGUI even if built without
1217         HAVE_CONFIG_H.  This change only affects a standalone etags.
1218         [WINDOWSNT]: #undef DOS_NT and #define it even if built with
1219         HAVE_CONFIG_H.  This change does nothing in Emacs, as DOS_NT is
1220         always defined when HAVE_CONFIG_H and WINDOWS are both defined.
1221         [!HAVE_UNISTD_H]: use defined(WINDOWSNT) instead of the bare
1222         WINDOWSNT, as this is the correct way to use it.
1224 2001-01-28  Francesco Potorti`  <pot@gnu.org>
1226         * etags.c: Be capable to parse nested struct-like structures.
1227         (structdef, structtag): Struct state machine revisited.
1228         (struct tok): Revisited.
1229         (cstack, nestlev, instruct): New struct and macros.
1230         (pushclass_above, popclass_above, write_classname): New functions
1231         for dealing with nested class names.
1232         (consider_token, make_C_tag, C_entries): Many changes for dealing
1233         with arbitrarily nested structures.
1234         (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
1235         (C_entries): Consider templates in C++.
1236         (sym_type): New constant st_C_class for detecting "class" also in
1237         C mode.
1238         (C_AUTO): New macro for automatic detection of C++.
1239         (consider_token): Automatic set C++ mode.
1240         (C_entries): New security check for yacc.
1241         (print_language_names, print_help): Mention the autodetect
1242         feature, do not show help for the -C option, now mostly useless.
1243         (C_entries): Tag C++ forward declarations if --declarations.
1244         (C_entries): Don't be fooled by things like XDEFUN.
1245         (consider_token): Discard asm pseudo function.
1247 2001-01-27  Eli Zaretskii  <eliz@is.elta.co.il>
1249         * etags.c: Add a coding: tag.
1251 2001-01-26  Gerd Moellmann  <gerd@gnu.org>
1253         * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
1254         New variables.
1255         (matching_regexp): Use them instead of static variables in
1256         function scope.
1258 2001-01-25  Francesco Potorti`  <pot@gnu.org>
1260         * etags.c (struct tok): Renamed from struct token.
1261         (token): Renamed from tok.
1262         (structtype): Make it a local variable.
1263         [DEBUG]: Use assert.
1264         (xrnew): Change the synopsis.
1265         (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
1266         (grow_linebuffer): Don't call xrnew when not needed.
1267         (token): Buffer renamed to line.
1268         (C_entries): Three calls to inibuffer moved here from main.
1269         (C_entries): Remove all references to var methodlen, delete it.
1270         (linebuffer_setlen): Was grow_buffer, now also sets len.
1271         (consider_token, C_entries, Pascal_functions): Use it.
1272         (C_entries): Preventing problems relative to extern "C".
1273         (C_entries): Can tag more than one variable or func separated by
1274         comma when --declarations is used.
1275         (C_entries): More accurate tagging of members and declarations.
1276         (yacc_rules): Was global, made local to C_entries.
1277         (next_token_is_func): Removed.
1278         (fvdef): New constants fdefunkey, fdefunname.
1279         (consider_token, C_entries): Use them.
1280         (C_entries): Build proper lisp names for Emacs DEFUNs.
1282 2001-01-22  Gerd Moellmann  <gerd@gnu.org>
1284         * ebrowse.c (xfree): New function.
1285         (member, declaration, globals): Use xmalloc instead of alloca.
1287 2001-01-15  Francesco Potorti`  <pot@gnu.org>
1289         * etags.c (print_language_names): Print filenames in addition to
1290         suffixes.
1292 2001-01-14  Francesco Potorti`  <pot@gnu.org>
1294         * etags.c (get_language_from_langname): Renamed from
1295         get_language_from_name.
1296         (get_language_from_filename): Renamed from get_language_from_suffix.
1297         Now first looks for the complete file name.
1298         (language): New member char **filenames.
1299         (Makefile_filenames): List of possible filenames for makefiles.
1300         (lang_names): Add a NULL member for every entry, added an entry
1301         for makefiles.
1302         (Makefile_targets): New function.
1303         (Texinfo_nodes): Renamed from Texinfo_fuctions and made
1304         it conformant to the style of the rest of the code.
1306 2001-01-13  Gerd Moellmann  <gerd@gnu.org>
1308         * make-docfile.c (write_c_args): Print newlines as spaces.
1310 2001-01-06  Andrew Innes  <andrewi@gnu.org>
1312         * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
1313         of *.pdb.
1315 2001-01-03  Paul Eggert  <eggert@twinsun.com>
1317         * lib-src/rcs2log: Avoid security hole allowing attacker to
1318         cause user of rcs2log to overwrite arbitrary files, fixing
1319         a bug reported by Morten Welinder.
1321         Don't put "exit 1" at the end of the exit trap; it's
1322         ineffective in POSIX shells.
1324 2001-01-02  Gerd Moellmann  <gerd@gnu.org>
1326         * ebrowse.c (yyerror): Change to take two arguments.
1327         Add prototype.  Change callers.
1329 2001-01-02  Eli Zaretskii  <eliz@is.elta.co.il>
1331         * ebrowse.c (enter_namespace, main): Cast variables to shut up
1332         compiler warnings.
1333         (yyerror): Change parameter declarations to be of type long, so
1334         that they can take pointers on 64-bit platforms.
1336         * emacsclient.c (main): Remove unused local variable statbfr.
1337         (main) <homedir>: Make its declaration conditional on
1338         SERVER_HOME_DIR, to avoid compiler warnings.
1340         * emacsserver.c (main) <homedir>: Make its declaration conditional
1341         on SERVER_HOME_DIR, to avoid compiler warnings.
1343         * fakemail.c (readline): Cast buffer to "long *" to pacify
1344         over-zealous compilers.
1346 2000-12-16  Eli Zaretskii  <eliz@is.elta.co.il>
1348         * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
1350 2000-12-15  Gerd Moellmann  <gerd@gnu.org>
1352         * ebrowse.c (operator_name): Cast argument of isalpha to
1353         unsigned char.
1355         * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
1356         Use them throughout instead of ctype functions/macros.
1357         (lowcase): Cast to unsigned char.
1358         (UPCASE): New macro.
1359         (canonicalize_filename): Use UPCASE instead toupper.
1361         * fakemail.c (get_keyword): Make sure that isspace and
1362         similar aren't called with a negative argument.
1364 2000-12-13  Dave Love  <fx@gnu.org>
1366         * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
1368 2000-12-06  Andrew Innes  <andrewi@gnu.org>
1370         * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
1371         don't know the real version, and I can't seem to get the quoting
1372         right in all circumstances.
1374         * ebrowse.c (VERSION): Provide default definition, like etags.c
1375         does, because Windows build can't snarf this from version.el.
1377 2000-11-30  Andrew Innes  <andrewi@gnu.org>
1379         * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
1380         (install): Ditto.
1382 2000-11-23  Jason Rumney  <jasonr@gnu.org>
1384         * makefile.w32-in: Add targets for ebrowse.exe.
1385         (LOCAL_FLAGS): Add -DVERSION flag.
1387 2000-09-25  Dave Love  <fx@gnu.org>
1389         * sorted-doc.c: Include config.h.
1390         [!HAVE_STDLIB_H]: Declare malloc.
1392 2000-09-14  Andrew Innes  <andrewi@gnu.org>
1394         * makefile.w32-in: Revert to Unix line endings.
1396 2000-09-04  Dave Love  <fx@gnu.org>
1398         * movemail.c (index, rindex): Prototype conditionally.
1400 2000-09-03  Andrew Innes  <andrewi@gnu.org>
1402         * makefile.w32-in: Change to DOS line endings.
1404 2000-09-01  Eli Zaretskii  <eliz@is.elta.co.il>
1406         * movemail.c (toplevel): Remove redundant fcntl.h.
1407         [!F_OK]: Provide default definitions only after including both
1408         fcntl.h and unistd.h.
1410 2000-08-29  Dave Love  <fx@gnu.org>
1412         * movemail.c: Revert previous change.
1414 2000-08-29  Eli Zaretskii  <eliz@is.elta.co.il>
1416         * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
1418 2000-08-28  Dave Love  <fx@gnu.org>
1420         * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
1421         (toplevel) [HAVE_STRINGS_H]: Include strings.h.
1423 2000-08-22  Andrew Innes  <andrewi@gnu.org>
1425         * ntlib.h (WIN32): Remove unnecessary definition.
1426         (sleep): Make argument unsigned long.
1427         (_WINSOCK_H): Undefine so normal winsock definitions can be used.
1429         * ntlib.c (sleep): Make argument unsigned long.
1431         * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
1433         * makefile.w32-in: New file.
1435 2000-08-20  Eli Zaretskii  <eliz@is.elta.co.il>
1437         * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
1438         letter only if it is a drive letter.
1440 2000-07-14  Gerd Moellmann  <gerd@gnu.org>
1442         * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and ymalloc.
1444         * etags.c (xmalloc, xrealloc): Make externally visible, for use
1445         by alloca.o.
1447         * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
1449 2000-07-10  Gerd Moellmann  <gerd@gnu.org>
1451         * ebrowse.c (yylex): Accept string literals with newlines in them.
1452         (process_pp_line): Handle case of string literal with newline
1453         in it in replacement text, which counts as continuing the
1454         replacement text in GNU C.
1456 2000-07-02  Gerd Moellmann  <gerd@gnu.org>
1458         * ebrowse.c (token_string): Add missing tokens.
1459         (parm_list): Handle case of qualified pointers.
1461 2000-06-23  Dave Love  <fx@gnu.org>
1463         * ebrowse.c: Move config.h before other includes (which may use
1464         feature tests).
1466 2000-06-14  Jim Meyering  <meyering@lucent.com>
1468         * grep-changelog: Fix typos in comments.  Remove trailing blanks.
1470 2000-06-11  Jason Rumney  <jasonr@gnu.org>
1472         * makefile.nt: Add targets for ebrowse.
1474         * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
1475         compare filenames.
1477 2000-06-06  Gerd Moellmann  <gerd@gnu.org>
1479         * ebrowse.c (ymalloc): Renamed from xmalloc.
1480         (yrealloc): Renamed from xrealloc.
1482 2000-05-21  Dave Love  <fx@gnu.org>
1484         * movemail.c: Include config.h, not ../src/config.h.
1485         (Errmsg): Bump length.
1487         * pop.c (ERROR_MAX): Increase to 160.
1489 2000-05-04  Gerd Moellmann  <gerd@gnu.org>
1491         * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
1493 2000-05-02  Eli Zaretskii  <eliz@is.elta.co.il>
1495         * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
1496         Define to semi-colon.
1497         (FILENAME_EQ): New macro, for comparing file names.
1498         (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
1499         (process_file): Don't assume that fread always reads as many bytes
1500         as it was told to (DOS-style CR-LF text files fail this logic).
1501         (open_file): Allocate enough space for path->path plus the file
1502         name and the slash.
1504 2000-04-19  Dave Love  <fx@gnu.org>
1506         * etags.c (Texinfo_functions): New function.
1507         (lang_names): Install it.
1508         (Texinfo_suffixes): New variable.
1510 2000-04-19  Gerd Moellmann  <gerd@gnu.org>
1512         * ebrowse.c (xmalloc, xrealloc): Rewritten.
1513         (declaration): Remove parameter IS_EXTERN.
1514         (class_definition): Remove unused variable.
1516 2000-04-09  Gerd Moellmann  <gerd@gnu.org>
1518         * Makefile.in (INSTALLABLES): Add ebrowse.
1519         (ebrowse): New target.
1521         * ebrowse.c: New file.
1523 2000-03-29  Andreas Schwab  <schwab@suse.de>
1525         * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
1527 2000-03-02  Gerd Moellmann  <gerd@gnu.org>
1529         * etags.c (lisp_suffixes)  Add `LSP'.
1531 2000-02-10  Francesco Potorti`  <pot@gnu.org>
1533         * etags.c (iswhite): Redefine not to consider '\0' as white
1534         space, and use it throughout in place of isspace, thus preventing a
1535         potential signed char to int conversion problem.
1536         (MSDOS): #undefine befere redefining
1538 2000-02-04  Francesco Potorti`  <pot@gnu.org>
1540         * etags.c (many functions): Add prototypes.
1542 2000-02-10  Dave Love  <fx@gnu.org>
1544         * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
1545         (erlang_func): Add `static' to definitions to keep pcc happy.
1547 2000-01-31  Francesco Potorti`  <pot@gnu.org>
1549         * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
1550         (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
1551         (etags_strchr, etags_strrchr): Use const char * and int as arguments.
1552         (getenv, getcwd): Only declare them if necessary.
1553         (EMACS_NAME): New constant macro.
1554         (print_version): Use it.
1555         (P_) [__STDC__]: Macro for defining function prototypes.
1557 2000-01-18  Fabrice Popineau  <Fabrice.Popineau@supelec.fr>
1559         * etags.c [WINDOWSNT]: #include <direct.h>
1561 2000-01-18  Martin Buchholz  <martin@xemacs.org>
1563         * etags.c (all functions): Made them static.
1564         (all functions): Write prototypes.
1566 2000-01-29  Richard M. Stallman  <rms@caffeine.ai.mit.edu>
1568         * movemail.c (main): Improve error message if can't create lock file.
1570 2000-01-28  Eric Hanchrow  <offby1@blarg.net>
1572         * emacsclient.c (socket_status): New function.
1573         (main): If $LOGNAME or $USER exist and differ from our euid, look
1574         for a socket based on the UID associated with the name.
1576 2000-01-12  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
1578         * emacsclient.c: Add option -a EDITOR and environment variable
1579         ALTERNATE_EDITOR.  Exec this editor if we fail to contact Emacs.
1581 1999-12-10  Jonathan Kamens  <jik@kamens.brookline.ma.us>
1583         * movemail.c (popmail): Allow mailbox specifications of the
1584         form `po:username:hostname'.
1586 1999-11-19  Francesco Potorti`  <pot@gnu.org>
1588         * etags.c (_GNU_SOURCE): Define only if undefined.
1589         (get_scheme): Declaration deleted.
1590         (main): Error was called with an integer as second arg, instead of
1591         a char pointer.
1592         (canonicalize_filename): Bug removed.
1594 1999-11-18  Dave Love  <d.love@dl.ac.uk>
1596         * etags.c (C_entries): Rename label `intoken', avoiding K&R
1597         lossage from name clash with macro.
1599 1999-11-13  Gerd Moellmann  <gerd@gnu.org>
1601         * Makefile.in (b2m): Add dependency on GETOPTDEPS.
1603 1999-11-03  Gerd Moellmann  <gerd@gnu.org>
1605         * etags.c (print_help): Change email address to send bugs to.
1607 1999-11-01  Francesco Potorti`  <pot@gnu.org>>
1609         * etags.c: Add suffix psw for PSWrap.
1610         (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
1611         (Postscript_functions): Add code for PSWrap.
1612         (Scheme_functions): Use local pointer and new get_tag function.
1613         (get_tag): New name for old get_scheme.
1614         (process_file): Do not free NULL when file does not exist.
1615         (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
1616         (C_entries): Modifications that make --members tag even inside
1617         typedefs and C nested structs (one level only).
1618         (consider_token): Correct a bug which prevented tagging of enum
1619         constants.
1620         (C_stab_entry): Add if, for, while, switch, return as
1621         st_C_ignore.  This makes it simpler to work when cblev!=0.
1623         * etags.c (C_entries): Tag member function declarations when
1624         --declarations is used.
1626         * etags.c (C_entries, consider_token): C++ `operator' now is
1627         tagged in most cases.
1628         As before, :: is not recognised if surrounded by spaces.
1630         * etags.c (relative_filename): Account for DOS file names such
1631         that is impossible to make one relative to another.
1633         * etags.c (sym_type): New st_C_extern tag.
1634         (gperf input): Use it for spotting external declarations.
1635         (print_help): Document the new behaviour of --declarations.
1636         (fvextern): New global variable.
1637         (consider_token, C_entries): Use it.
1639         * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
1640         (etags_getcwd): Remove test for WINDOWSNT.
1642         * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
1643         foo.cgz, foo.cz, etc.
1645         * etags.c (declarations): New global switch.
1646         (longopts): Describe it.
1647         (print_help): Document it.
1648         (C_entries): Use it.
1649         (process_file): Don't process a file twice.
1651         * etags.c (Fortran_functions): No tags for "procedure".
1653 1999-11-01  Eli Zaretskii  <eliz@is.elta.co.il>
1655         * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
1656         non-zero, returns a pointer to where the extension begins; callers
1657         changed.
1658         [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
1659         were foo.c.gz.
1661 1999-11-01  Francesco Potorti`  <pot@gnu.org>
1663         * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
1664         (fvdev): New constant foperator.
1665         (consider_token): Use it to get "operator" in C++.
1666         (C_entries): Extend length of operator@ function name.
1667         (C_entries): Use foperator when necessary.
1669         * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
1671         * etags.c (compressor): New struct for compressed files.
1672         (get_compressor_from_suffix): New function.
1673         (get_language_from_suffix): Use it.  Also, semantics changed.
1674         (process_file): Consider compressed files, close file.
1675         (find_entries): Use different call arg for get_language_from_suffix,
1676         don't close file.
1678         * etags.c (main): Call free_tree.
1679         (find_entries): Do not free curfile.
1680         (pfnote): Cosmetic change: NULL and '\0' where appropriate.
1681         (prolog_pred, erlang_func, substitute): Cast strlen to int when
1682         comparing.
1683         (canonicalize_filename): Shut up compiler warning.
1684         (Perl_functions): Make tag significant.
1686 1999-11-01  Dave Love  <d.love@dl.ac.uk>
1688         * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
1689         (argument_type): New member at_icregexp.
1690         (lc_trans): New global.
1691         (main): Fill lc_trans.  Process -c args.
1692         (add_regex): New arg determining whether to use translation table.
1693         (analyse_regex): New arg.  Use it for add_regex.
1695 1999-11-01  Francesco Potorti`  <pot@gnu.org>
1697         * etags.c (init): Cosmetic change: NULL --> '\0'.
1698         (erlang_attribute): Bug corrected (uninitialized variable).
1699         (filename_is_absolute): New function replaces absolutefn macro and
1700         corrects a bug.  All callers changed.
1701         (canonicalize_filename): New function.
1702         (process_file, etags_getcwd, absolute_dirname): Use it.
1703         (relative_filename, absolute_filename): Removed var shadowing.
1704         (C_entries, Pascal_functions): Add fake initializations to keep
1705         compilers quiet.
1706         (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
1708         * etags.c (xrnew): New macro.  All callers of xrealloc changed.
1709         (language): New typedef (was struct lang_entry).
1710         (curlang): New global variable.
1711         (node): Typedef renamed from NODE.
1712         (linebuffer): New typedef (was struct linebuffer).
1713         (pattern): New typedef (was struct pattern).  Some members added.
1714         Now used as element of a linked list.
1715         (patterns, num_patterns): Global variables deleted.
1716         (p_head): New global variable.
1717         (forced_lang): New global variable (replaces lang_func).
1718         (get_language_from_name, get_language_from_interpreter)
1719         (get_language_from_suffix): Semantics changed.  All callers changed.
1720         (last_node): New global variable.
1721         (free_tree, add_node, put_entries, total_size_of_entries):
1722         Change name of local vars to avoid clashes with typedef node.
1723         (number_len): Rewritten for elegance.
1724         (token): New typedef replaces TOKEN.
1725         (analyse_regex, add_regex): Rewritten for new functionality.
1726         (free_patterns): New function called from main and add_regex.
1727         (initbuffer, readline_internal, readline, grow_linebuffer):
1728         Change name of local vars to avoid clashes with typedef linebuffer.
1729         (readline): Rewritten for new functionality.
1731         * etags.c: (Scheme_suffixes): New suffix ".ss".
1732         (print_help): --globals is now used for more than C-type languages.
1733         (Perl_functions): Tag global variables ("my" and "local").
1735         * etags.c (print_help): Some messages clarified.
1736         (LOOP_ON_INPUT_LINES): New macro.
1737         (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
1738         (Python_functions, Cobol_paragraphs, Pascal_functions)
1739         (Lisp_functions, Postscript_functions, Scheme_functions)
1740         (TeX_functions, Prolog_functions, Erlang_functions): Use it.
1741         (Cobol_paragraphs, Postscript_functions, TeX_functions)
1742         (Prolog_functions, Erlang_functions): Use a local variable instead
1743         of the global variable dbp.
1744         (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
1745         standard indentation.
1747         * etags.c (Python_suffixes, lang_names, Python_functions):
1748         Python support.
1749         (skip_spaces, skip_non_spaces): Utility functions.
1750         (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
1751         (Python_functions, L_getit, Lisp_functions, Scheme_functions)
1752         (prolog_pred, erlanf_func, erlang_attribute): Use them.
1753         (eat_white): Deleted.
1755         * etags.c (CHAR, init): Keep into account non US-ASCII
1756         characters and compilers with default signed chars.
1757         (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
1758         constructs.
1760         * (C_stab_entry): "interface" in Java behaves like "class".
1762         * etags.c: (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
1763         (main): Put interval syntax here.
1764         (add_regex): And remove it from here.
1766         * etags.c (suggest_asking_for_help): Provide a
1767         meaningful help message with and without LONG_OPTIONS.
1769         * etags.c: <io.h> [MSDOS]: Include it, don't include string.h.
1770         <stdlib.h, string.h>: Don't test MSDOS when including them.
1771         (white, nonam, endtk): Like elsewhere, use \r instead of \013.
1772         (put_entries): Correctly use %ld instead of %d in printf.
1774         * etags.c: <unistd.h> [HAVE_UNISTD_H]: Include conditionally, else
1775         declare getcwd if HAVE_GETCWD.
1776         (consider_token): Dead break instruction removed.
1778 1999-10-19  Paul Eggert  <eggert@twinsun.com>
1780         Add support for large files.  Merge glibc 2.1.2.
1782         * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
1783         movemail.c, pop.c:
1784         Do not include <stdlib.h>, as <config.h> does this now.
1786         * b2m.c, emacsserver.c, etags.c, profile.c:
1787         Include <config.h> before any system include files.
1789         * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
1790         test-distrib.c:
1791         (read, write, open, close): Do not undef.
1793         * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
1794         (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
1796         * getopt.h: Adopt glibc 2.1.2.
1798 1999-10-15  Dave Love  <fx@gnu.org>
1800         * Makefile.in (pop.o): Depend on config.h.
1802 1999-10-11  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
1804         * pop.c: Use "pop3" as the POP service name on all platforms,
1805         instead of using "pop" on Unix and "pop3" on Windows NT.  "pop3"
1806         has been the standard service name since RFC 1340 was published in
1807         July 1992, so I think it's safe to start using it by default.
1809 1999-09-27  Dave Love  <fx@gnu.org>
1811         * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
1813 1999-09-19  Richard M. Stallman  <rms@caffeine.ai.mit.edu>
1815         * make-docfile.c (scan_lisp_file): Fix previous changes;
1816         swallow CRLF like just CR or just LF.
1818 1999-09-03  Richard Stallman  <rms@gnu.org>
1820         * make-docfile.c: Include config.h not ../src/config.h.
1821         (main, fopen, chdir): Add #undef.
1822         (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
1823         (scan_lisp_file): Handle \r like \n.
1825 1999-08-30  Andreas Schwab  <schwab@gnu.org>
1827         * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
1829         * emacsserver.c: Include <stdlib.h> if available.  Don't declare
1830         errno if it's a macro.
1832         * test-distrib.c: Include <unistd.h> if available.
1834 1999-08-29  Richard Stallman  <rms@gnu.org>
1836         * emacsclient.c (print_help_and_exit): Mention --version.
1838 1999-08-25  Richard M. Stallman  <rms@gnu.org>
1840         * emacsclient.c (decode_options): Update version output.
1841         (print_help_and_exit): Update bug report address.
1843 1999-08-13  Richard M. Stallman  <rms@gnu.org>
1845         * emacsclient.c (main): Move the dynamic allocation of
1846         system_name outside of the SERVER_HOME_DIR conditional.
1847         * emacsserver.c (main): Likewise.
1849 1999-08-10  Gerd Moellmann  <gerd@gnu.org>
1851         * grep-changelog: New.
1852         * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
1854 1999-07-12  Richard Stallman  <rms@gnu.org>
1856         * Version 20.4 released.
1858 1999-06-30  Markus Rost  <markus.rost@mathematik.uni-regensburg.de>
1860         * Makefile.in (clean): Remove fns*.el.
1862 1999-06-23  Dave Love  <fx@gnu.org>
1864         * etags.c (erlang_attribute): Fix undefined variable usage (after
1865         Potorti).
1867 1999-05-2  Andrew Innes  <andrewi@gnu.org>
1869         * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
1870         mapped to _chsize.
1872 1999-04-29  Richard M. Stallman  <rms@gnu.org>
1874         * emacsclient.c (main, both versions): Use quote_file_name on cwd.
1876 1999-03-30  Dave Love  <fx@gnu.org>
1878         * sorted-doc.c (main): Split up tables.  Modify the preamble
1879         somewhat.
1881 1999-03-05  Geoff Voelker  <voelker@cs.washington.edu>
1883         * makefile.nt: Remove common multiple file compilation commands.
1885 1999-02-26  Richard Stallman  <rms@gnu.org>
1887         * Version 20.4 released.
1889         * Makefile.in (yow): Depend on epaths.h, not paths.h.
1891         * yow.c: Refer to epaths.h.
1893 1999-02-22  Simon Josefsson  <jas@pdc.kth.se>
1895         * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
1897 1999-01-27  Andrew Innes  <andrewi@gnu.org>
1899         * makefile.nt: Do make version comparison as strings.
1901 1999-01-25  Richard Stallman  <rms@gnu.org>
1903         * emacsclient.c (xmalloc): Fix previous change.
1905 1999-01-24  Richard M. Stallman  <rms@borg.ai.mit.edu>
1907         * emacsclient.c (xmalloc): Declare to return long.
1909 1999-01-22  Geoff Voelker  <voelker@cs.washington.edu>
1911         * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
1912         the case of the drive letter.
1914 1999-01-15  Richard Stallman  <rms@psilocin.ai.mit.edu>
1916         * emacsserver.c (main): Eliminate arbitrary limit on
1917         length of system_name.
1919         * emacsclient.c (main): Eliminate arbitrary limit on
1920         length of system_name.
1921         (xmalloc): Define unconditionally.
1923 1999-01-12  Darrin B. Jewell  <jewell@mit.edu>
1925         * etags.c (relative_filename): Stop backward search at beginning
1926         of string, since non-Unix systems can have absolute paths with no
1927         initial slash.
1929 1998-12-08  Geoff Voelker  <voelker@cs.washington.edu>
1931         * makefile.nt: Do string comparision of _NMAKE_VER.
1933 1998-11-03  Theodore Jump  <tjump@cais.com>
1935         * makefile.nt: Compile multiple source files when possible.
1937 1998-10-13  Richard Stallman  <rms@psilocin.ai.mit.edu>
1939         * Makefile.in: Replace tabs with spaces
1940         when they might confuse some Make versions.
1942 1998-10-10  Richard Stallman  <rms@psilocin.ai.mit.edu>
1944         * emacsclient.c (main): Null-terminate system_name.
1946         * emacsserver.c (main): Null-terminate system_name.
1948 1998-09-21  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
1950         * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
1951         an error message from POP, mention that it's from POP, to
1952         distinguish it from local error messages.
1954 1998-09-04  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
1956         * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
1957         order of messages downloaded from a POP server (e.g., if the
1958         server stores messages in mailboxes in reverse order).
1960 1998-08-19  Richard Stallman  <rms@psilocin.ai.mit.edu>
1962         * Version 20.3 released.
1964 1998-08-11  Paul Eggert  <eggert@twinsun.com>
1966         * rcs2log: Update copyright date and bug report address.
1967         (initialize_fullname): Prefer getent if available.
1969 1998-07-30  Paul Eggert  <eggert@twinsun.com>
1971         * lib-src/Makefile.in (REGEXPDEPS, regex.o):
1972         Prepend $(srcdir)/ to rule dependencies outside this dir.
1974 1998-06-09  Andrew Innes  <andrewi@harlequin.co.uk>
1976         * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
1978 1998-06-06  Richard Stallman  <rms@psilocin.ai.mit.edu>
1980         * Makefile.in: Properly terminate a comment.
1982 1998-06-01  Andrew Innes  <andrewi@mescaline.gnu.org>
1984         * movemail.c (sys_wait): Rename to wait.
1986         * ntlib.h: Undefine _WINSOCKAPI_.
1988         * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
1990 1998-05-30  Geoff Voelker  <voelker@cs.washington.edu>
1992         * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
1994 1998-05-01  Andrew Innes  <andrewi@harlequin.co.uk>
1996         * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS.  Force
1997         all file i/o to be in binary mode.  Include ntlib.h.
1999 1998-04-27  Andreas Schwab  <schwab@delysid.gnu.org>
2001         * make-docfile.c: Include <unistd.h> for chdir.
2003 1998-04-25  Richard Stallman  <rms@psilocin.gnu.org>
2005         * etags.c (TEX_decode_env): Don't free the value getenv returns.
2007 1998-04-17  Geoff Voelker  <voelker@cs.washington.edu>
2009         * makefile.nt (obj): Update with new files in src.
2010         (clean): Delete patch scratch files, optimized compilation dir.
2012 1998-04-08  Dave Love  <fx@gnu.org>
2014         * emacsclient.c: Move inclusion of unistd.h to top, else fails on
2015         Irix6, at least.
2017 1998-04-06  Andreas Schwab  <schwab@gnu.org>
2019         Silence -Wimplicit:
2020         * movemail.c: Move cancelations up.  Include <stdlib.h> if
2021         available.
2022         * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
2023         (parse_header): Explicitly declare return type.
2024         * emacsserver.c: Include <unistd.h> if available.
2025         (main, handle_signals, perror_1, fatal_error): Explicitly declare
2026         return types.  Add forward declarations.
2027         * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
2028         Don't declare geteuid.
2029         (print_help_and_exit): Change return type to void.  Forward
2030         declare it.
2031         * b2m.c: Include <stdlib.h> if available.
2032         (main): Explicitly declare return type.
2034 1998-04-03  Richard Stallman  <rms@delysid.gnu.org>
2036         * etags.c (put_entries): Use %ld.
2038         * b2m.c (fatal): Declare the arg.
2040 1998-04-03  Richard Stallman  <rms@psilocin.gnu.org>
2042         * etags.c (put_entries): Use %ld.
2044         * b2m.c (fatal): Declare the arg.
2046 1998-03-26  Richard Stallman  <rms@psilocin.gnu.org>
2048         * pop.c (pop_getline): Renamed from getline.
2050 1998-03-05  Richard Stallman  <rms@psilocin.gnu.org>
2052         * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
2053         for the utilities.
2055 1998-01-23  Dave Love  <d.love@dl.ac.uk>
2057         * etags.c (getit, Cobol_paragraphs, Pascal_functions,
2058         Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
2059         Always make named tags.
2060         (Fortran_functions): Grok BLOCK DATA.
2062 1998-01-23  Andreas Schwab  <schwab@gnu.org>
2064         * movemail.c (main): Fix interwoven brace and cpp conditional
2065         nesting.
2067 1997-12-04  Karl Heuer  <kwzh@delysid.gnu.org>
2069         * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
2070         server to contain embedded nulls.
2072 1997-12-03  Paul Eggert  <eggert@delysid.gnu.org>
2074         * movemail.c:
2075         (mbx_write) [MAIL_USE_POP]: Disable the code which quotes with a
2076         '>' any lines starting with "From " read from the POP server, but
2077         leave the code in place, wrapped in #ifdef
2078         MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
2079         because it turns out that something is depending on it.  Change
2080         suggested by Paul Eggert <eggert@twinsun.com>.
2081         Convert the character \037 (^_) at the beginning of a line into
2082         the character '^' followed by the character '_', because otherwise
2083         Emacs can't parse the resulting file as a valid BABYL file.
2084         Change suggested by Paul Eggert <eggert@twinsun.com>.
2086 1997-12-03  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
2088         * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
2089         server to contain embedded nulls.
2091 1997-12-02  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
2093         * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
2094         quotes with a '>' any lines starting with "From " read from the
2095         POP server, but leave the code in place, wrapped in #ifdef
2096         MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
2097         because it turns out that something is depending on it.  Change
2098         suggested by Paul Eggert <eggert@twinsun.com>.
2100         Convert the character \037 (^_) at the beginning of a line into
2101         the character '^' followed by the character '_', because otherwise
2102         Emacs can't parse the resulting file as a valid BABYL file.
2103         Change suggested by Paul Eggert <eggert@twinsun.com>.
2105 1997-11-22  Richard Stallman  <rms@gnu.org>
2107         * b2m.c: Include getopt.h.
2108         (main): Use getopt_long to handle --version and --help.
2110         * Makefile.in (b2m): Define VERSION.  Link with $(GETOPTOBJS).
2112 1997-10-31  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
2114         * pop.c (fullwrite): Get rid of an extra call to write.  Problem
2115         pointed out by Chiaki Ishikawa.
2117 1997-10-16  Dave Love  <d.love@dl.ac.uk>
2119         * etags.c (L_getit): Always make named tags so that Emacs
2120         completion on symbols containing `:' etc. works.
2121         (get_scheme): Likewise.
2123 1997-09-24  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
2125         * pop.c: Use system header files instead of declaring C-library
2126         functions explicitly.
2128 1997-09-19  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2130         * Version 20.2 released.
2132 1997-09-15  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2134         * Version 20.1 released.
2136 1997-09-02  Andrew Innes  <andrewi@harlequin.co.uk>
2138         * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
2140         * ntlib.c (getpid): Delete function.
2142 1997-08-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2144         * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
2146 1997-08-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2148         * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
2149         (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
2151 1997-08-14  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2153         * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
2155 1997-08-13  Kazushi (Jam) Marukawa  <jam@poboxes.com>
2157         * profile.c (get_time): Cast arg to fprintf.
2159         * hexl.c (main): Use %08lx instead of %08x in printf because the
2160         variable named addresses is long.
2162 1997-08-08  Geoff Voelker  <voelker@cs.washington.edu>
2164         * makefile.nt (lisp): Update paths to lisp files that have moved.
2166 1997-08-08  Andrew Innes  <andrewi@harlequin.co.uk>
2168         * makefile.nt (ctags.obj): New target.
2169         (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
2171         * ntlib.h: Add includes.
2172         Undo definitions of crt routines from config.h.
2174 1997-08-06  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2176         * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
2178 1997-07-22  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
2180         * pop.c: Support auto-configuration of both Kerberos V4 and
2181         Kerberos V5 for movemail, including detection of V4 and V5 header
2182         files and libraries.
2183         Include <string.h> when STDC_HEADERS is defined, to get
2184         declarations of string functions.
2185         [KERBEROS5] (socket_connection): Support the current MIT Kerberos
2186         V5 API rather than the old one.
2187         [KERBEROS] (socket_connection): Change a constant name from
2188         SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
2189         with a constant in a header file.
2191         * Makefile.in: Support auto-configuration of both Kerberos V4 and
2192         Kerberos V5 for movemail, including detection of V4 and V5 header
2193         files and libraries.
2195 1997-07-17  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2197         * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
2199         * etags.c [HAVE_UNISTD_H]: Include unistd.h.
2201 1997-07-09  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2203         * emacsclient.c [C_ALLOCA] (xmalloc): New function.
2205 1997-07-04  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2207         * movemail.c (rindex): Add declaration.
2209 Tue Jul  1 01:09:07 1997  Geoff Voelker  <voelker@cs.washington.edu>
2211         * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
2212         (movemail.exe): Depend upon and link with getopt files.
2213         (obj): Include new source files.
2214         (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
2215         (lisp): Include new and reorganized elisp files.
2217 1997-06-27  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2219         * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
2221 1997-06-25  Paul Eggert  <eggert@twinsun.com>
2223         * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
2225 1997-06-14  Karl Heuer  <kwzh@gnu.ai.mit.edu>
2227         * b2m.c (readline): Terminate buffer properly when EOF seen.
2228         Test for valid pointer before dereferencing it.
2230 1997-05-30  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
2232         * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
2233         defined inside etags.c if HAVE_CONFIG_H is defined.
2235 1997-05-29  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
2237         * etags.c: (logical): Type name changed to bool.
2238         (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
2239         (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
2240         (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
2241         (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
2242         (longopts): New long options without short counterpart are
2243         globals, members, no-globals, no-members.  Regexp options are now
2244         defined  conditionally to ETAGS_REGEXPS.
2245         (print_help): Updated.
2247 1997-05-22  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
2249         * etags.c (C_entries): Use "." instead of "::" for Java.
2250         (consider_token): is_func renamed to is_func_or_var.
2251         (C_entries): is_func renamed to funorvar.
2252         (C_entries): Initialise tok.named.
2253         (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
2254         get rid of "import", "package" and "friend".
2255         (fvdef): Renamed from funcdef.  Also some constants renamed.  All
2256         users changed.
2257         (C_entries): Make separate tags for variables separated by comma.
2258         (globals, members): New flags.
2259         (main, C_entries): Use them.
2260         (make_C_tag, C_entries): Make tok a global variable.
2262 1997-05-16  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
2264         * etags.c (funcdef): New vignore constant.
2265         (consider_token, C_entries): Use it to tag global variables.
2266         (print_help): Update for global variables.
2267         (consider_token, C_entries): Set the len member of token_name.
2268         (prolog_pred): Cleanup according to GNU coding standards.
2269         (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
2270         (prolog_white, erlang_white): Renamed to eat_white, callers changed.
2272 1997-05-15  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
2274         * etags.c (CHARS, CHAR): New constant and macro.
2275         (iswhite, begtoken, intoken, endtoken): Use them.
2276         (notinname, _nin, nonam): New macro, array, string.
2277         (init): Cleanup and init _nin.
2278         (new_pfnote): New function.
2279         (make_C_tag) [traditional_tag_style]: Use it.
2280         (traditional_tag_style): Costant set to TRUE for now.
2282 1997-05-14  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
2284         * etags.c (C_entries, Pascal_functions): Cleanup.
2285         (TeX_functions): NULL as a function arg needs a cast.
2286         (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
2288 1997-05-13  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
2290         * etags.c (TeX_functions): Cleaned up.
2291         (tex_getit): Removed.
2293 1997-05-13  Paul Eggert  <eggert@twinsun.com>
2295         * rcs2log (files): When computing arguments automatically, ignore
2296         non-files within the RCS subdirectory.
2298 1997-05-13  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
2300         * etags.c (C_JAVA): New #define.
2301         (Cjava_suffixes): .java is Java.
2302         (Cjava_entries): New function.
2303         (lang_names): Add Java.
2304         (sym_type): Add st_C_javastruct for Java.
2305         (C_stab_entry): Add `extends' and `implements' keywords.
2306         (consider_token, C_entries): Recognise Java structures.
2308 1997-05-12  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
2310         * etags.c: (Cplusplus_suffixes): .pdb is Postscript with C syntax.
2311         (Postscript_suffixes): .ps is Postscript.
2312         (lang_names): Add Postscript.
2313         (Postscript_functions): New function.
2314         (TEX_decode_env): Close minor memory leak.
2315         (just_read_file): Correct the char number of the tag.
2317 1997-05-11  Paul Eggert  <eggert@twinsun.com>
2319         * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
2320         Don't prepend $nl since this causes some shells to generate the
2321         empty string when IFS is $nl.
2322         (printlogline): Use SOH (octal code 1), not CR, since some
2323         PC-based shells mishandle CR.
2324         (initialize_fullname): Set NIS_PATH to the empty string before invoking
2325         nismatch, in case it's set to some nonstandard value.
2327 1997-05-06  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
2329         * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
2330         read in separate blocks.
2332 1997-04-30  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
2334         * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
2335         (struct linebuffer): New member `len' is the length of the string.
2336         (find_entries, Pascal_functions, TeX_functions, TEX_getit):
2337         Use it instead of strlen.
2338         (TEX_getit): Declare and define unconditionally as static.
2339         (TeX_functions): Use if instead of #if TeX_named_tokens.
2340         (add_regex): Set RE_INTERVALS flag for regex compilation.
2341         (substitute): Code cleanup.
2342         (readline_internal): Code cleanup, set new member `len'.
2343         (readline): Bug corrected.
2345 1997-04-23  Geoff Voelker  <voelker@cs.washington.edu>
2347         * makefile.nt: Change references of windowsnt.h to ms-w32.h.
2348         (obj): Change references of nt*.c files to w32*.c files.
2350 1997-04-15  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
2352         * etags.c (xnew): Add support for debugging with chkmalloc.
2353         (error): Use this instead of printf whenever possible.
2354         (main): Only call xnew after having initialised progname.
2355         (substitute): Bad memory corruption error corrected.
2357 1997-04-08  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
2359         * etags.c (add_regex): Undo previous change.
2360         (relative_filename): Small memory leak closed.
2361         (absolute_filename): Cleaned up the code, possibly closing a bug.
2362         (absolute_dirname): Always return a newly allocated string.
2364 1997-03-21  Paul Eggert  <eggert@twinsun.com>
2366         * rcs2log (files): Ignore files in RCS directory whose names are
2367         of the form ,*, or *_; they are probably RCS lock files.
2368         Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
2369         they are used by rcsfreeze.
2371 1997-03-14  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
2373         * etags.c (add_regex): reset *putbuf before using it.
2375 1997-02-23  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
2377         * movemail.c (popmail): Remove some unnecessary function
2378         declarations.
2379         (popmail, pop_retr): Since popmail always passes mbx_write and mbf
2380         into pop_retr, there's no reason to pass in mbx_write, and the
2381         file argument can be declared FILE * explicitly.  This fixes a
2382         compilation problem on systems with 64-bit pointers.
2384 1997-02-13  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>
2386         * movemail.c: Delete duplicate inclusion of fcntl.h
2387         and duplicate #undefs of open, read, write, close.
2389 1997-01-20  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
2391         * movemail.c (main): Do not display "[POP-password]" in the usage
2392         message when movemail is compiled without POP support.
2393         (main, popmail): Add the optional "-p" argument, which causes
2394         movemail to leave mail in the inbox after copying it into the
2395         output file.
2397         * Makefile.in (movemail): Link with getopt.
2399 1997-01-20  Paul Eggert  <eggert@twinsun.com>
2401         * rcs2log: (--help, --version): New options, per GNU coding standards.
2402         (Copyright, Help, Id): New variables, for above.
2403         (rlog): Use -q option with cvs log, to avoid useless chatter.
2405         Treat logs of "Initial revision" (RCS) or "file F was initially added
2406         on branch B." (CVS) as if they said "New file.", for consistency with
2407         change log entries.
2409 1997-01-01  Paul Eggert  <eggert@twinsun.com>
2411         * vcdiff (PATH): Add /usr/xpg4/bin,
2412         where XPG4 SCCS hangs out in Solaris 2.5.
2413         (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
2415 1996-12-19  Richard Stallman  <rms@ethanol.gnu.ai.mit.edu>
2417         * etags.c (streq, strneq): Use == NULL rather than !.
2419 1996-12-18  Jonathan I. Kamens  <jik@annex-1-slip-jik.cam.ov.com>
2421         * Makefile.in (LIBMAIL): New macro.  Conditionally includes -lmail.
2422         (movemail): Use LIBMAIL, to link against -lmail.
2424         * movemail.c: Include maillock.h (conditionally).
2425         Remove a redundant inclusion of <stdio.h>.
2426         (MAIL_USE_MAILLOCK): New macro, conditionally defined.
2427         (main): Add variable spool_name.
2428         Support the usage of maillock and mailunlock to
2429         lock and unlock mailboxes.
2430         (mail_spool_name): New function.
2432         * movemail.c: Fix an uninitialized variable which could cause
2433         movemail to exit with an error status incorrectly on systems which
2434         use lock files rather than a system locking function to lock
2435         mailboxes.
2437 1996-12-16  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2439         * pop.c (socket_connection): Free realhost after using it.
2441 1996-12-04  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
2443         * etags.c (C_entries): Test tok.valid.  This handles some
2444         particular cases involving function declarations that failed.
2446 1996-11-22  Charles Hannum  <mycroft@gnu.ai.mit.edu>
2448         * pop.c (socket_connection):
2449         gethostbyname may return a pointer to static data.
2450         krb_realmofhost can clobber it.  So copy it.
2452 1996-11-14  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
2454         * etags.c (pfnote, fatal, error): Callers using a NULL pointer
2455         must cast it to (char *) because we have no prototypes.
2456         (make_C_tag): Macro deleted, new function.
2457         (C_entries): Calls to make_C_tag macro changed to call function.
2459 1996-11-13  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
2461         * etags.c (grow_linebuffer): New function.
2462         (GROW_LINEBUFFER): Macro deleted.  All callers changed.
2463         (make_tag): Macro renamed to make_C_tag.  All callers changed.
2464         (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
2465         (Prolog_functions): prolog_skip_comment was called with wrong
2466         number of arguments.
2467         (xrealloc): fatal was called with wrong number of arguments
2469 1996-11-08  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
2471         * etags.c (relative_filename): Bug corrected.
2472         (etags_getcwd): Avoid warning of unused variable.
2473         (C_entries, consider_token): Added support for enum labels.
2475 1996-11-03  Paul Eggert  <eggert@twinsun.com>
2477         * rcs2log: When processing cvs log output, remove `Attic/' from
2478         repository file names.
2480 1996-10-22  Karl Heuer  <kwzh@gnu.ai.mit.edu>
2482         * emacsserver.c: Fix 1996-09-02 change.
2484 1996-10-12  Paul Eggert  <eggert@twinsun.com>
2486         * rcs2log (rlog_options): Look for ' option' rather than 'unknown
2487         option', since CVS says 'invalid option'.
2488         (datearg): Use the empty string, not '-d>1970-01-01', to extract all
2489         revisions, since some hosts reject 1970-01-01 when east of UTC.
2490         (date): Remove.
2492 1996-10-06  Richard Stallman  <rms@ethanol.gnu.ai.mit.edu>
2494         * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
2496 1996-10-02  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
2498         * etags.c (print_version): Print copyright info.
2500         * etags.c (print_help): Print the bug reporting address.
2501         (main): Use return as the last instruction, instead of exit.
2503         * etags.c (main): Don't open the tags file in cxref mode.
2505 1996-09-29  Dave Love  <d.love@dl.ac.uk>
2507         * rcs2log (date): Make default format acceptable to CVS post v1.8
2508         as well as earlier CVSs and RCS.
2510 1996-09-29  Richard Stallman  <rms@ethanol.gnu.ai.mit.edu>
2512         * movemail.c (main): If the lock call fails with EBUSY or
2513         EAGAIN, retry a few times.
2515 1996-09-25  Paul Eggert  <eggert@twinsun.com>
2517         * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
2518         whether to append -zLT.
2520 1996-09-16  Karl Heuer  <kwzh@gnu.ai.mit.edu>
2522         * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
2523         * emacsclient.c, movemail.c: Likewise.
2525 1996-09-09  Richard Stallman  <rms@ethanol.gnu.ai.mit.edu>
2527         * emacsclient.c (longopts): Change nowait to no-wait.
2528         (print_help_and_exit): Fix option name; upcase metavars.
2530 1996-09-06  Erik Naggum  <erik@naggum.no>
2532         * emacsserver.c (main): Declare `fromlen' as size_t.
2534 1996-09-02  Eli Zaretskii  <eliz@is.elta.co.il>
2536         * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
2538 1996-09-02  Richard Stallman  <rms@ethanol.gnu.ai.mit.edu>
2540         * emacsclient.c (quote_file_name): Quote with &, not \.
2541         Quote `-' only at start of file name.  Terminate the value string.
2543         * emacsserver.c: Include signal.h properly;
2544         delete the duplicate includes for it.
2546         * emacsserver.c: On fatal signal, delete socket-file:
2547         * emacsserver.c: Include signal.h.
2548         (xmalloc, fatal, error): New functions.
2549         (delete_socket, handle_signals): New functions.
2550         (progname, socket_name): New variables.
2551          [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
2553 1996-09-01  Richard Stallman  <rms@ethanol.gnu.ai.mit.edu>
2555         * emacsclient.c (quote_file_name): New function.
2556         (main, both versions): Use quote_file_name.
2557         (decode_options): Don't return a value.
2558         (main, both versions): Use optind.
2559         Don't check for -nowait here.
2561         * emacsclient.c (decode_options): New function.
2562         (main, both versions): Call decode_options.
2563         (print_help_and_exit): New function.
2564         (VERSION): New macro.
2566         * Makefile.in (emacsclient): Link with getopt.
2567         Add -DVERSION so emacsclient knows its version number.
2569 1996-08-31  Geoff Voelker  <voelker@cs.washington.edu>
2571         * makefile.nt (lisp): Include dos-nt.elc.
2573 1996-08-31  Richard Stallman  <rms@ethanol.gnu.ai.mit.edu>
2575         * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
2577 1996-08-28  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2579         * emacsclient.c (both versions): Handle -nowait and --nowait
2580         by sending data to the server.
2582 1996-08-26  Richard Stallman  <rms@ethanol.gnu.ai.mit.edu>
2584         * Makefile.in (INSTALL_STRIP): New variable.
2585         (${archlibdir}): Use INSTALL_STRIP.
2587         * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
2588         HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
2590         * pop.c: Reverse conditional in previous change.
2592 1996-08-24  Richard Stallman  <rms@ethanol.gnu.ai.mit.edu>
2594         * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
2596 1996-08-24  Paul Eggert  <eggert@twinsun.com>
2598         * rcs2log: Use ISO 8601 date format, with time zone appended
2599         if change-log-time-zone-rule is non-nil, instead of
2600         traditional Unix date format.
2602         (datearg): When computing default from ChangeLog, handle ISO format
2603         dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
2604         Don't worry about hh:mm:ss since the resolution is now by day.
2605         Use emtpy datearg, not empty rlog_options, to decide whether to pass
2606         "$datearg" option to $rlog.
2607         (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
2608         (month_data): Remove `mo'; no longer needed.
2609         (rlog_options): Use -zLT for localltime output, if `rlog' supports it.
2611         Match `revision' line of rlog output more accurately.
2613         Add -c, -v options.
2615 1996-08-23  Eli Zaretskii  <eliz@is.elta.co.il>
2617         * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
2619 1996-08-11  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2621         * Version 19.33 released.
2623 1996-07-31  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2625         * Version 19.32 released.
2627 1996-07-23  Andrew Innes  <andrewi@harlequin.co.uk>
2629         * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
2630         computing character positions in source files.
2632 1996-07-16  Andrew Innes  <andrewi@harlequin.co.uk>
2634         * makefile.nt (clean): Use OBJDIR macro.
2636 1996-07-16  Karl Heuer  <kwzh@gnu.ai.mit.edu>
2638         * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
2640 1996-07-15  David Mosberger-Tang  <davidm@AZStarNet.com>
2642         * cvtmail.c, sorted-doc.c, yow.c: [__GNU_LIBRARY__]: Use <string.h>.
2643         * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
2644         * etags.c, fakemail.c, profile.c: Declare main as int, not void.
2646 1996-07-15  Andrew Innes  <andrewi@harlequin.co.uk>
2648         * ntlib.h: Correct return type of getwd.
2649         * ntlib.c (getwd): Correct return type.
2651 1996-07-02  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>
2653         * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
2654         to infile.
2656 1996-07-01  Andrew Innes  <andrewi@harlequin.co.uk>
2658         * makefile.nt: Remove all references to wakeup.
2660 1996-06-28  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
2662         * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
2663         explicit, mutable, typename.
2665 1996-06-29  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2667         * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
2668         streams, one for sending and one for reading the reply.
2670 1996-06-21  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2672         * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
2673         (wakeup): Target deleted.
2674         (UTILITIES): Delete wakeup and timer.
2676         * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
2678 1996-06-11  Geoff Voelker  <voelker@cs.washington.edu>
2680         * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
2681         * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
2683 1996-06-06  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2685         * etags.c (main): Copy cwd when appending slash.
2687 1996-05-25  Karl Heuer  <kwzh@gnu.ai.mit.edu>
2689         * Version 19.31 released.
2691 1996-05-17  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
2693         * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
2694         (Pascal_functions): Increase linecharno by the correct number of
2695         chars, inline the GET_NEW_LINE macro and delete its definition.
2697 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
2699         * makefile.nt (OBJDIR, BLD): Remove macro definitions.
2701 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
2703         * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
2704         (movemail.exe, fakemail.exe): Now built under Win32.o
2706         * ntlib.c: Include ntlib.h.
2707         (nt_sleep): Rename to sleep.
2708         (getwd): Return directory.
2709         (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
2710         sys_ctime, sys_fopen): New functions.
2712         * ntlib.h: New file.
2714 1996-04-29  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>
2716         * pop.c (SEND, RECV): Renamed from send, recv.
2717         (pop_open, pop_trash): Make the trash_started code unconditional.
2718         (socket_connection): Delete casts to void.
2720 1996-04-28  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>
2722         * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
2723         copied from lisp.h.
2725 1996-04-22  Andrew Innes  <andrewi@harlequin.co.uk>
2727         * fakemail.c [WINDOWSNT]: Include ntlib.h.
2729         * hexl.c [DOSNT]: Include fcntl.h.
2730         [WINDOWSNT]: Include io.h.
2731         (main) [MSDOS]: Change conditional to DOS_NT.
2733         * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
2734         (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
2735         [WINDOWSNT]: Include locking.h.
2736         (main): Update usage message.  Use IS_DIRECTORY_SEP.
2737         (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
2738         (main) [WINDOWSNT]: Invoke locking instead of flock.
2739         (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
2740         (main) [MAIL_USE_POP]: Pass password to popmail if used.
2741         Include winsock.h; don't include unix inet headers.
2742         (popmail): Add password argument and pass it to pop_open.
2743         Open output file in binary mode.
2745         * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
2746         Macro SOCKET_ERROR undefined.
2747         Don't declare h_errno.
2748         [!WINDOWSNT]: Define macros recv and send.
2749         [!WINDOWSNT] (POP_SERVICE): Change to pop3.
2750         (pop_open) [WINDOWSNT]: Initialize trash_started.
2751         (have_winsock) [WINDOWSNT]: New variable.
2752         (socket_connection) [WINDOWSNT]: Initialize winsock.
2753         (socket_connection): Use closesocket instead of close.
2754         (getline): Use recv instead of read.
2755         (fullwrite): Use send instead of write.
2756         (pop_trash): Use closesocket instead of close.
2757         (pop_trash) [WINDOWSNT]: Cleanup winsock.
2758         Check if being called recursively by sendline.
2760         * pop.h (struct _popserver): New field trash_started.
2762         * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
2764 1996-04-14  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
2766         * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
2768 1996-04-10  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
2770         * etags.c [WINDOWSNT]: Include io.h.
2772 1996-04-10  Geoff Voelker  <voelker@cs.washington.edu>
2774         * makefile.nt (CTAGSOBJ): Compile with regexp support.
2776 1996-04-09  Eli Zaretskii  <eliz@is.elta.co.il>
2778         * hexl.c [DJGPP v2]: Include io.h.
2779         (main) [DJGPP v2]: Switch standard streams to binary with setmode.
2781         * b2m.c (main) [MSDOS]: Switch standard streams to binary under
2782         DJGPP v2.
2784 1996-04-02  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
2786         * etags.c (absolute_filename): Use absolutefn.
2788 1996-03-31  Eli Zaretskii  <eliz@is.elta.co.il>
2790         * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
2791         letter isn't an alphabetic character.
2792         (main) [DOS_NT]: Use binary mode on redirected `stdout'.
2793         (process_file) [DOS_NT]: Convert all slashes to forward style.
2794         (absolute_filename) [DOS_NT]: Emit error message for relative
2795         paths with a drive letter.
2796         (absolute_filename) [DOS_NT]: Handle absolute pathnames with
2797         DOS/NT drive letters which try to reference the parent of the root.
2798         (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
2800 1996-03-27  Geoff Voelker  <voelker@cs.washington.edu>
2802         * makefile.nt: Change uses of del to $(DEL).
2804 1996-03-22  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
2806         * etags.c (just_read_file): Reset lineno and charno on entry.
2808 1996-03-15  Anders Lindgren  <andersl@csd.uu.se>
2810         * etags.c: Prolog language totaly rewritten.
2811         (Prolog_functions): Rewritten from scratch.
2812         (skip_comment, prolog_getit): Removed.
2813         (prolog_skip_comment): New function, like old skip_comment.
2814         (prolog_pred, prolog_atom, prolog_white): New functions.
2815         (erlang_func, erlang_attributes): Forward declarations added.
2816         (erlang_atom): Check if backslash ends line inside quoted atom.
2818 1996-03-14  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
2820         * etags.c (absolutefn): DOS_NT version corrected.
2821         (main): Append "/" to the dir name only if not already there.
2822         (print_help): Explain the absolute/relative file name issue.
2824 1996-03-08  Anders Lindgren  <andersl@csd.uu.se>
2826         * etags.c: New Languange Erlang added.
2827         (Erlang_functions, erlang_func, erlang_attribute, erlang_atom,
2828         erlang_white): New functions.
2829         (Erlang_suffixes): New suffix list.
2830         (lang_names): Erlang entry added.
2831         (prolog_getit): Accepts headers spanning several lines.
2832         Always name tags.
2833         (Prolog_functions): Removed incorrect compensation for
2834         newline characters.
2835         (readline_internal): Zero-terminate last line.
2837 1996-03-20  Mike Long  <mike.long@analog.com>
2839         * b2m.c (main): Initialize progname variable before using it.
2840         Quote `username' in From_ header.
2842 1996-03-18  Geoff Voelker  <voelker@cs.washington.edu>
2844         * ntlib.c (getpid): New function.
2846 1996-02-21  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>
2848         * emacsclient.c (main, both definitions):
2849         Print a newline for normal termination.
2851 1996-02-21  Noah Friedman  <friedman@prep.ai.mit.edu>
2853         * tcp.c (main): Convert port to network byte order.
2855 1996-01-20  Karl Heuer  <kwzh@gnu.ai.mit.edu>
2857         * pop.c (pop_retrieve, getline): Avoid type clashes.
2859 1996-01-19  Karl Heuer  <kwzh@gnu.ai.mit.edu>
2861         * etags.c (enum sym_type, anonymous enum): Delete final comma.
2863 1996-01-15  Paul Eggert  <eggert@twinsun.com>
2865         * rcs2log (initialize_fullname): Add support for NIS+.
2866         (hostname): Fully qualify the default hostname with the domainname
2867         if the hostname lacks a `.'.
2869 1996-01-15  Paul Eggert  <eggert@twinsun.com>
2871         * rcs2log (initialize_fullname): Add support for NIS+.
2872         (hostname): Fully qualify the default hostname with the domainname
2873         if the hostname lacks a `.'.
2875 1996-01-10  Karl Heuer  <kwzh@gnu.ai.mit.edu>
2877         * etags.c (consider_token): Fix typo in expression.
2879 1996-01-04  Paul Eggert  <eggert@twinsun.com>
2881         * etags.c (substitute): Fix spelling in message.
2883 1996-01-03  George V. Reilly  <georger@microcrafts.com>
2885         * makefile.nt (etags, ctags): Compile with regexp support.
2886         (make-docfile, wakeup, etags, ctags, hexl): Ensure build
2887         subdirectory exists before compiling.
2889 1996-01-02  Karl Heuer  <kwzh@gnu.ai.mit.edu>
2891         * emacsserver.c (main): Do chmod based on existing permission.
2893 1995-12-27  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
2895         * Makefile.in (install): Turn on read/execute permission.
2897 1995-12-03  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>
2899         * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
2900         (LOADLIBES): Use LIB_STANDARD_LIBSRC.
2902 1995-12-01  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>
2904         * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
2906 1995-12-07  Francesco Potorti`  <pot@cnuce.cnr.it>
2908         * etags.c (pfnote): Don't make a tag for ctags if there is no name.
2909         (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
2910         get_scheme, prolog_getit): Name the tag in ctags mode.
2911         (pfnote): Truncate ctags lines to 50 chars, like it worked once.
2912         (Perl_interpreters): Accept "@PERL@" as an interpreter.
2913         (suggest_asking_for_help): New function.
2914         (main, get_language_from_name): Use suggest_asking_for_help.
2915         (main): Let get_language_from_name make language existence check.
2916         (streq, strneq): Check the arguments #if DEBUG.
2918 1995-12-06  Francesco Potorti`  <pot@cnuce.cnr.it>
2920         * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
2921         (gperf): Added keywords for Objective C and GNU macros.
2922         (sym_type): Added values to account for Objective C and GNU macros.
2923         (begtk): The '@' character can start a token.
2924         (objdef, methodlen, objtag): New variables for Objective C.
2925         (consider_token, C_entries): Added code for Objective C.
2926         (plain_C_suffixes): Add .m and .lm for Objective C.
2927         (Yacc_suffixes): Add .ym for Objective yacc.
2928         (GROW_LINEBUFFER): New macro.
2929         (consider_token, C_entries, Pascal_functions): Use the new macro.
2930         (consider_token): Take one more argument.  Caller changed.
2931         (consider_token): Use the hashing function to spot GNU macros.
2932         (C_entries): Consider // as a comment start even in plain C for
2933         the sake of Objective C parsing.
2935 1995-12-04  Francesco Potorti`  <pot@cnuce.cnr.it>
2937         * Makefile.in (ctags): depend on etags only for simplicity;
2938         compile with regexp support enabled.
2940 1995-11-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
2942         * Version 19.30 released.
2944 1995-11-22  Geoff Voelker  <voelker@cs.washington.edu>
2946         * makefile.nt (DOC, clean): Don't use switches to del not
2947         supported by Windows 95.
2949 1995-11-13  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
2951         * Makefile.in (regex.o): Depend on ../src/config.h.
2953 1995-11-12  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
2955         * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
2956         (LOADLIBES): Use LIB_STANDARD.
2958 1995-11-07  Kevin Gallo  <kgallo@microsoft.com>
2960         * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
2961         w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
2962         Windows 95 conditional.
2964 1995-11-06  Francesco Potorti`  (pot@cnuce.cnr.it)
2966         * etags.c (get_lang_from_name, get_lang_from_interpreter,
2967         get_lang_from_suffix): New functions.
2968         (get_language): Function deleted.
2969         (lang_entry): Two members added to struct.
2970         (lang_names): Reflect the new layout of lang_entry.
2971         (print_language_names, main, find_entries): Use the new functions.
2972         (find_entries): Look at the first line for #! if no language.
2973         (C_entries): Invalidate the token when funcdef is reset.
2974         (Perl_functions): New function.
2975         (lang_suffixes): .pl and .pm are Perl suffixes.
2977 1995-11-02  Francesco Potorti`  (pot@cnuce.cnr.it)
2979         * etags.c (lowcase): Use the standard tolower function.
2980         (substitute): Remove some wrong and some useless code related with
2981         escape '\' character in regexp replacement string.
2982         (TEX_defenv): Added part, appendix, entry, index.  Removed typeout.
2983         (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
2984         .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
2985         .prolog for prolog (.pl removed).
2986         (massage_name, etags_getcwd): Use lowcase instead of tolower.
2987         (C_entries, find_entries): Added comments about memory leakage.
2988         (add_node): Dead code removed.
2990 1995-10-29  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
2992         * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
2993         (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
2995 1995-08-30  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
2997         * test-distrib.c: Add #undef for open, close, read, write.
2999 1995-08-23  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
3001         * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
3002         [! O_RDONLY]: Define it to zero.
3003         (main): Use O_RDONLY instead of explicit zero.
3005 1995-08-17  Francesco Potorti`  (pot@cnuce.cnr.it)
3007         * etags.c (Pascal_functions): Close comment bug corrected.
3008         (add_node): Correctly compare node file names.
3009         (Pascal_functions): Correctly allocate and free memory for tline.
3010         (pfnote): Put the definition of fp in the innermost block.
3011         (NODE): `named' member removed.
3012         (pfnote, free_tree, put_entries, total_size_of_entries): Do not
3013         use the `named' member, check whether `name' is NULL instead.
3014         (pfnote): `named' argument removed, all callers changed.
3015         (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
3016         TeX_functions, TEX_getit, prolog_getit): Useless string allocation
3017         removed from pfnote call, some code cleanup.
3018         (relative_filename): Free temporary space allocated by concat.
3020 1995-08-16  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3022         * Makefile.in (getdate.c): New target.
3023         (getdate.o): Just compile getdate.c.
3025 1995-08-12  Karl Heuer  <kwzh@gnu.ai.mit.edu>
3027         * fakemail.c (xrealloc): Change cast to match return type.
3029 1995-08-10  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3031         * fakemail.c (xmalloc, xrealloc): Use return-type long *.
3033 1995-08-06  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3035         * movemail.c (main): Fix previous change.
3036         Add error check for empty OUTNAME.
3038 1995-08-05  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3040         * movemail.c (main): Mention lock file name in error message.
3042 1995-07-30  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3044         * profile.c (gettimeofday): New function, defined if necessary.
3046 1995-07-18  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3048         * Makefile.in: Renamed from Makefile.in.in.
3049         (distclean): Delete Makefile.c, not Makefile.in.
3051 1995-07-17  Michael Shields  <shields@tembel.org>
3053         * Makefile.in.in (tags): Synonym for `TAGS'.
3055 1995-07-16  Karl Heuer  <kwzh@gnu.ai.mit.edu>
3057         * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
3058         configure has already set $(INSTALL) to the proper relative path.
3060 1995-06-27  Francesco Potorti`  (pot@cnuce.cnr.it)
3062         * etags.c (plain_C_entries): new function.
3063         (lowcase): new macro.
3064         (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
3065         (lang_suffixes): new suffix ".pc" for Pro*C files.
3066         (consider_token): don't tag all tokens beginning with DEFUN & Co..
3067         (tail): look for the end of the token when comparing.
3068         (takeprec): since now tail behaves differently, use strneq.
3070 1995-07-08  Paul Eggert  <eggert@twinsun.com>
3072         * rcs2log (datearg): Separate date from time with comma, not space,
3073         to work around CVS 1.5 bug.
3074         (CVSROOT): Don't abort when unset if repository is absolute.
3076 1995-07-07  Paul Eggert  <eggert@twinsun.com>
3078         * rcs-checkin, rcs2log, vcdiff:
3079         Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
3080         that interpret `#! /' as a 4-byte magic number.
3082 1995-06-29  Jonathan I. Kamens  <jik@cam.ov.com>
3084         * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
3085         mailbox with "po:mailbox", the mailbox is everything after the
3086         "po:" prefix.
3088 1995-06-28  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3090         * emacsserver.c: Make all error messages start with `Error: '.
3091         (fatal_error, perror_1): New functions, use throughout.
3093 1995-06-28  Paul Eggert  <eggert@twinsun.com>
3095         * rcs2log (CVSROOT, repository):
3096         Allow remote repositories a la CVS 1.4.
3098 1995-06-27  Francesco Potorti`  (pot@cnuce.cnr.it)
3100         * etags.c (plain_C_entries): new function.
3101         (lowcase): new macro.
3102         (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
3103         (lang_suffixes): new suffix ".pc" for Pro*C files.
3104         (consider_token): don't tag all tokens beginning with DEFUN & Co..
3105         (tail): look for the end of the token when comparing.
3106         (takeprec): since now tail behaves differently, use strneq.
3108 1995-06-26  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3110         * movemail.c (main): Add newline in usage message.
3112 1995-06-21  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3114         * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
3116 1995-06-21  Francesco Potorti`  (pot@cnuce.cnr.it)
3118         * etags.c (find_entries): Rewind before rereading the input file.
3120 1995-06-20  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3122         * Version 19.29 released.
3124         * make-docfile.c (main) [MSDOS]: Do set _fmode.
3125         This undoes part of the previous change.
3127 1995-06-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3129         * make-docfile.c (main): On MSDOS, don't change stdout
3130         to binary, and insist on an -o option.
3132 1995-06-13  Geoff Voelker  <voelker@cs.washington.edu>
3134         * etags.c (process_file,absolute_filename): Handle filenames
3135         starting with a drive letter.
3137         * makefile.nt (install): Copy wakeup.exe properly.
3139 1995-06-08  Karl Heuer  <kwzh@gnu.ai.mit.edu>
3141         * make-docfile.c [MSDOS]: #undef chdir.
3143 1995-06-04  Paul Eggert  <eggert@twinsun.com>
3145         * rcs2log (output_authors): Allow ':' in time zone,
3146         as per ISO 8601 and RCS 5.6.8 beta.
3148 1995-05-29  Francesco Potorti`  (pot@cnuce.cnr.it)
3150         * etags.c (etags_getcwd): Undo the /bin/pwd change.  It may raise
3151         compatibility problems.
3153 1995-05-26  Richard Stallman  <rms@gnu.ai.mit.edu>
3155         * etags.c (etags_getcwd): Don't use #elif.
3156         Have just one function body.
3158 1995-05-25  Geoff Voelker  <voelker@cs.washington.edu>
3160         * makefile.nt (LIBS): Use BASE_LIBS.
3161         (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
3162         upon LIBS.
3163         (DOC): Use del instead of rm.
3164         (DOC) [WINDOWS95]: Use DOC.
3165         (clean): Handle MSVC aux files.
3166         (config.h,paths.h): Use $(CP) instead of cp.
3167         (config.h): Use $(CONFIG_H)
3168         (make-docfile.obj): Depend upon config.h.
3169         Clean up comments.
3171 1995-05-23  Francesco Potorti`  (pot@cnuce.cnr.it)
3173         * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
3174         former gives the true path even in the presence of simlinks.
3176 1995-05-07  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3178         * movemail.c (main): Increase lock timeout to five minutes.
3180 1995-05-06  Geoff Voelker  <voelker@cs.washington.edu>
3182         * makefile.nt (obj): Use .c files.
3184 1995-05-04  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3186         * make-docfile.c: Include config.h.
3187         (NO_SHORTNAMES): New definition.
3188         (xmalloc): Return long *.
3190         * etags.c (C_entries): Cast result of xrealloc.
3191         (xmalloc, xrealloc): Declare them to return long *.
3193         * b2m.c (xmalloc, xrealloc): Declare them long *.
3195         * movemail.c (xmalloc): Declare it to return long *.
3197 1995-04-30  Paul Eggert  <eggert@twinsun.com>
3199         * rcs2log (datearg): If rlog options are specified explicitly,
3200         omit the implicit '-d>DATE' option.
3201         (repository, rlog): Allow absolute paths to CVS repositories.
3202         Look only at the first line of CVS/Repository.
3204 1995-04-26  Karl Heuer  <kwzh@gnu.ai.mit.edu>
3206         * Makefile.in.in (extraclean): Depend on maintainer-clean, not
3207         realclean.
3209 1995-04-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3211         * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
3212         Alternative (empty) definitions.
3214 1995-04-18  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3216         * emacsclient.c (main): Add argv[0] to an error message.
3218 1995-04-13  Karl Heuer  <kwzh@gnu.ai.mit.edu>
3220         * emacsclient.c (main): Improve error handling.
3221         * cvtmail.c (main, skip_to_lf): Improve error handling.
3222         (sysfail): New function.
3224         * b2m.c (main): Check for trailing ", " before trying to delete it.
3226 1995-04-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3228         * Makefile.in.in (all): Build test-distrib and make-docfile.
3230         * make-docfile.c (scan_c_file): At end, restore file name last char
3231         to its original value.
3233 1995-04-10  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3235         * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
3237 1995-04-08  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3239         * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
3240         (alloca.o, regex.o): Use BASE_CFLAGS.
3242 1995-04-06  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3244         * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
3246 1995-04-04  Karl Heuer  <kwzh@gnu.ai.mit.edu>
3248         * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
3249         (SOURCES, distclean): Removed obsolete references to aixcc.
3251 1995-04-02  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3253         * aixcc.lex: File deleted--surely obsolete now.
3255 1995-03-23  Paul Eggert  <eggert@twinsun.com>
3257         * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
3258         portability to mawk and nawk.
3260 1995-03-21  Paul Eggert  <eggert@twinsun.com>
3262         * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
3263         -u "login<tab>fullname<tab>mailaddr".
3265 1995-03-21  Paul Eggert  <eggert@twinsun.com>
3267         * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
3268         replaces the (now obsolescent) -n login fullname mailaddr option.
3269         Add -R option for recursive rlog.
3270         (AWK): New environment variable (default `awk') for awk program name.
3271         (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
3272         Quote authors and fullnames correctly.
3273         Don't omit path from repository root when logging CVS files.
3275 1995-03-15  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3277         * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
3278         even if HAVE_SYSVIPC.
3279         * emacsclient.c (main): Use getcwd if not BSD.
3281 1995-03-13  Francesco Potorti`  (pot@cnuce.cnr.it)
3283         * etags.c (process_file): free (filename) after using it.
3284         (readline_internal): Do not access the char before start of line.
3286 1995-02-22  Francesco Potorti`  (pot@cnuce.cnr.it)
3288         * etags.c (C_entries): token_saved removed.  Initialise tok.valid and
3289         savetok.valid.  Mark token as valid when it is initialised.
3290         (make_tag): Make token only if token is valid and reset validity.
3291         (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
3292         (TOKEN): Added a new member: valid.
3294 1995-02-15  Francesco Potorti`  (pot@cnuce.cnr.it)
3296         * etags.c (C_entries): Bug corrected in xrealloc of token_str.
3297         (main): Do not read twice the last filename in the stdin file list.
3299 1995-02-14  Francesco Potorti`  (pot@cnuce.cnr.it)
3301         * etags.c (C_entries): Initialise the new members of TOKEN.
3302         (C_entries): Do not allocate a new space for each token found by
3303         consider_token.  Let make_tag do that instead.
3304         (make_tag): Since now TOKEN has memory of where it is taken from,
3305         this new macro substitutes both make_tag_from_new_lb and
3306         make_tag_from_oth_lb.  All callers changed.
3307         (TOKEN): Add linepos and buffer members.
3308         (main): Initialise token_str.
3309         (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
3310         (token_str): New global variable used by C_entries.
3312 1995-02-07  Richard Stallman  <rms@pogo.gnu.ai.mit.edu>
3314         * Makefile.in.in (maintainer-clean): Renamed from realclean.
3316 1995-02-01  Francesco Potorti`  (pot@cnuce.cnr.it)
3318         * etags.c (pfnote): Initialise been_warned in the node.
3319         (C_entries): Removed a speed hack for the sake of clarity.
3321 1995-01-18  Francesco Potorti`  (pot@cnuce.cnr.it)
3323         * etags.c (longopts, print_help, main): Use -I as abbreviation
3324         for the --ignore-indentation option.
3325         (main): Do not print an error message for unknown options.
3327 1995-01-12  Francesco Potorti`  (pot@cnuce.cnr.it)
3329         * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
3330         (append_to_tagfile, typedefs, typedefs_and_cplusplus,
3331          constantypedefs, update, vgrind_style, no_warnings,
3332          cxref_style, cplusplus, noindentypedefs): Were int, now logical.
3333         (permit_duplicates): Was a var, now a #define.
3334         (filename_lb): Was global, now local to main.
3335         (main): Open the tag file when in cxref mode.
3336         Use a BUFSIZ size buffer for making the shell commands.
3337         Look at the return value from the system routine.
3338         Exit when cannot open the tag file.
3339         (process_file): Open the file and pass the FILE* to find_entries.
3340         (find_entries): Now void, because does not open the file itself.
3341         (pfnote): Recovering from lack of memory does not work.  Removed.
3342         Use savenstr and simplify the code.
3343         (free_tree): Only free the name space if node is named.
3344         (structtag): Now a pointer, not a fixed length array of chars.
3345         (consider_token): Don't take a token as argument.  Use savenstr
3346         when saving a tag in structtag.  Callers changed.
3347         (TOKEN): Structure changed.  Now used only in C_entries.
3348         (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
3349         (C_entries): nameb and savenameb deleted.  Use dinamic allocation.
3350         (pfcnt): Deleted.  Users updated.
3351         (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
3352          TEX_getit, prolog_getit): Use dinamic allocation for storing
3353         the tag instead of a fixed size buffer.
3355 1995-01-10  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3357         * movemail.c (main): Skip past the colon in inname.
3359 1995-01-10  Francesco Potorti`  (pot@cnuce.cnr.it)
3361         * etags.c (pfatal): New function.
3362         (main, etags_getcwd): Use pfatal.
3363         (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
3365 1995-01-10  Francesco Potorti`  (pot@cnuce.cnr.it)
3367         * etags.c (Lang_function): Use void instead to declare the
3368         language functions, because many compilers are buggy.
3369         (etags_getcwd): Fix the previous fix on the #else branch.
3370         (readline_internal): Discard possible \r before \n here.
3371         (C_entries): Do not deal with \r here: undo previous fix.
3373 1995-01-09  Francesco Potorti`  (pot@fly)
3375         * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
3376         functions and a macro that allow the program to work on input
3377         lines of whatever length.  Copied from etags.c.
3378         (fatal): Print a fatal error message and exit.
3379         (main): Use the new functions.  Fixed a bug that made a \037 char
3380         appear at the end of the output.
3382 1995-01-06  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3384         * etags.c (C_entries): Ignore carriage return at end of line.
3386 1994-12-26  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3388         * fakemail.c (xmalloc, xrealloc): Add casts.
3389         (add_field): Handle <...> and "..." syntax.
3390         (setup_files, get_keyword): Clean up parens and line breaks.
3391         (args_size): Likewise.
3393 1994-12-21  David J. MacKenzie  <djm@geech.gnu.ai.mit.edu>
3395         * yow.c: Include program name in error messages.
3397 1994-12-21  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3399         * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
3400         (xmalloc, fatal, error): New functions.
3401         (progname): New variable.
3402         (main): Set progname.
3404 1994-12-05  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3406         * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
3407         (main): If socket/mqueue name is in home dir, add in the host name.
3408         Rename .emacs_server to .emacs-server....
3410 1994-12-04  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3412         * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
3414 1994-11-22  Francesco Potorti`  (pot@cnuce.cnr.it)
3416         * etags.c (print_help): print --regex usage for ctags also.
3417         (main): use -h in addition to -H as abbreviation for --help.
3419 1994-11-16  Francesco Potorti`  (pot@cnuce.cnr.it)
3421         * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
3422         is compiled if this is defined.  The new functions and variables
3423         added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
3424         [VMS]: All VMS specific code previously contained in
3425         etags-vmslib.c is now included here, modified for dealing with
3426         language and regex options intermixed with filenames.
3427         (header_file): Global variable deleted.
3428         (Lang_Function): New typedef.  All language parser functions
3429         changed to this new type.
3430         (string_numeric_p, substr, prestr): Functions deleted.
3431         (readline_internal): Does the job that readline did previously.
3432         (longopts): --language and --regex options added.
3433         (lang_names, lang_extensions, lang_func, print_language_names):
3434         New structures, variables and functions for choosing languages.
3435         (print_help): Help strings updated.  Calls print_language_names.
3436         (argument_type, ARGUMENT): Typedefs for dealing with language and
3437         regex options intermixed with filenames.
3438         (main): Changed the way of dealing with arguments on the command
3439         line to deal with language and regex options intermixed with
3440         filenames.
3441         (get_language, default_C_entries, Cplusplus_entries,
3442         Cstar_entries, Yacc_entries, just_read_file): New functions.
3443         (find_entries): Use the new method for choosing the language.
3444         (Pascal_functions): Allow intermixing of comment styles.
3445         (prolog_getit, skip_comment): Rewritten for speed.
3446         (readline): Rewritten to deal with regexps.
3448 1994-11-16  Francesco Potorti`  (pot@cnuce.cnr.it)
3450         * etags.c (<errno.h>): #include added.
3451         (etags_getcwd): Check return value from getcwd.
3453 1994-11-10  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3455         * profile.c (TV1, TV2): Use EMACS_TIME as type.
3456         (get_time): Use EMACS_SUB_TIME.
3458 1994-10-30  voelker  <voelker@cs.washington.edu>
3460         * ntlib.c: New file.
3461         * makefile.nt: New file.
3463         * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
3464         [WINDOWSNT]: Include the NT headers.
3465         (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
3467         * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
3468         [WINDOWSNT]: Include some NT headers.
3470 1994-10-24  Jonathan I. Kamens  (jik@cam.ov.com)
3472         * pop.c (getline): When a search of already-read input for CRLF
3473         fails, store the fact that we've searched it and don't search it
3474         again after reading more data.
3476         * pop.c (getline): When determining whether or not it's necessary
3477         to grow the input buffer, take into account the null that's stored
3478         at the end of already-read input in the buffer.
3480 1994-10-21  Francesco Potorti`  (pot@cnuce.cnr.it)
3482         * etags.c (prestr, substr): return a logical type.
3483         (consider_token): Comment out "EXFUN".  Use "DEFUN" instead of "DEF".
3484         (consider_token): set funcdef to fignore when a DEFUN is met.
3485         (C_entries): Now we can use Tom Hageman patch for extern "C".
3487 1994-10-20  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3489         * movemail.c: PopServer renamed to popserver throughout.
3491 1994-10-20  David J. MacKenzie  <djm@duality.gnu.ai.mit.edu>
3493         * etags.c: Don't declare malloc, since we include config.h.
3494         * fakemail.c: Likewise.
3496 1994-10-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3498         * movemail.c: Don't declare malloc.
3500 1994-10-19  David J. MacKenzie  <djm@duality.gnu.ai.mit.edu>
3502         * rcs-checkin: Use test -r instead of < to check readability, to
3503         avoid syntax error.
3505 1994-10-19  Jonathan I. Kamens  (jik@cam.ov.com)
3507         * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
3508         defined, and if HAVE_CONFIG_H isn't defined, define
3509         MAIL_USE_POP always (so that this file can be included in
3510         other programs besides emacs).
3512         * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
3513         HAVE_CONFIG_H isn't defined.
3515         * pop.c (find_crlf, getline): Instead of using strstr, use a
3516         custom function for finding CRLF.
3517         (my_strstr): Function deleted.
3519 1994-10-17  Jonathan I. Kamens  (jik@cam.ov.com)
3521         * pop.c (getline): Fix a segfault because of passing a
3522         non-null-terminated string into strstr().  Fix from
3523         djm@va.pubnix.com (David J. MacKenzie).
3525         * pop.c: Don't include <string.h> and <strings.h>.
3527         * pop.c: Include <des.h> before <krb.h>, rather than after.  They
3528         should be interchangeable, and indeed the inclusion is done in
3529         both orders in various files in the Kerberos 4 library sources,
3530         but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
3531         requires that <des.h> be included first, and I don't see any harm
3532         in changing the order.
3534         * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
3535         STDC_HEADERS, if they're defined.  Undef open, read, write and
3536         close after including it.
3538 1994-10-18  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3540         * pop.c: Fix mismatch in conditionals.
3542         * make-docfile.c (main): Don't process one input file twice.
3543         Never use exit code > 1.
3545         * pop.c (open, close, read, write): Add #undefs.
3547         * pop.c: Don't declare malloc, realloc, free.
3548         Include ../src/config.h.
3549         Don't include string.h or strings.h.
3550         Include des.h before krb.h.
3551         Do declare my_strstr.
3552         (getline): Really use my_strstr.
3553         Leave one empty place in server->buffer,
3554         and put a null at the end of the data in it.
3556 1994-10-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3558         * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well.  Don't
3559         call kill with pid 0.  Handle EINTR when receiving messages.
3561 1994-10-17  Karl Heuer  <kwzh@gnu.ai.mit.edu>
3563         * Makefile.in.in (regex.o): Use full path to find regex.c.
3565 1994-10-17  Francesco Potorti`  (pot@fly.cnuce.cnr.it)
3567         * Makefile.in.in (etags): add dependency on regex.o, link with it.
3568         (REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added.
3570 1994-10-12  David J. MacKenzie  (djm@duality.gnu.ai.mit.edu)
3572         * Makefile.in.in (DONT_INSTALL): Remove make-path.
3573         (${archlibdir}): Use mkinstalldirs instead.
3575         * movemail.c: Make functions that return nothing void, not
3576         implicitly int.
3577         (main): Improve usage message.
3578         (error): Write to stderr, not stdout.
3580         * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
3581         fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
3582         timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
3583         variables and implicitly declared functions.
3585 1994-10-11  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3587         * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
3588         (distclean): Not here.
3590         * Makefile.in.in (libexecdir): Renamed from libdir.
3592 1994-10-11  Francesco Potorti`  (pot@cnuce.cnr.it)
3594         * etags.c (C_entries): Name the #define's that are macros.
3596 1994-10-10  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
3598         * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
3599         fd_set arg is a pointer, descriptor arg comes first.
3601 1994-09-29  Francesco Potorti`  (pot@cnuce.cnr.it)
3603         * etags.c (C_entries): Recognise typedef of ANSI style functions.
3604         (C_entries): Recognise #define inside a struct.
3605         (C_entries): ANSI tells that preprocessor commands do not have to
3606         start on the first column.
3607         (print_help): Documentation corrected for -d and -D.
3608         (white, endtk): ANSI tells the vertical tab is a separator.
3610 1994-09-24  Jonathan I. Kamens  (jik@gza-client1.aktis.com)
3612         * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
3613         (pop.o, movemail.o): New targets.
3614         (movemail): Link in pop.o and movemail.o.  Use MOVE_LIBS, MOVE_FLAGS.
3616         * pop.c, pop.h: New files.
3618         * movemail.c: Improve POP code, move most of it into a separate file.
3619         (mbx_delimit_end, mbx_delimit_begin): Check for errors.
3620         (mbx_write): Check for errors and for From line.
3621         (pop_retr, popmail): Use subroutines in pop.c to do the real work.
3622         (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
3623         (pop_init): Functions deleted.
3625 1994-09-23  Richard Stallman  <rms@churchy.gnu.ai.mit.edu>
3627         * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
3628         Rename path to dirname.
3630 1994-09-23  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3632         * Makefile.in.in (UTILITIES):
3633         Remove test-distrib, make-docfile, make-path.
3634         (DONT_INSTALL): New variable--list those files here.
3635         (clean): Delete the files in DONT_INSTALL.
3637 1994-09-20  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3639         * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
3640         (main): Use fgets, not gets.
3642 1994-09-17  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3644         * timer.c: Don't declare malloc.
3646 1994-09-16  Karl Heuer  <kwzh@gnu.ai.mit.edu>
3648         * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
3649         defined, use simple 32-bit versions of these macros.
3650         (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
3652 1994-09-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3654         * etags.c (etags_getcwd): Use getcwd if available.
3656 1994-09-11  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3658         * Version 19.27 released.
3660 1994-09-07  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3662         * Version 19.26 released.
3664 1994-08-15  Paul Eggert  <eggert@twinsun.com>
3666         * rcs2log: Add support for CVS.
3667         Work with `rlog's that output ISO 8601 dates.
3669 1994-08-09  Lawrence R. Dodd  <dodd@roebling.poly.edu>
3671         * rcs2log: Use <> to delimit email address.
3673 1994-08-06  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3675         * emacsserver.c [SYSV_IPC] (main): Make a separate process
3676         so we can listen for multiple requests.
3678 1994-08-04  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3680         * movemail.c: Include config.h first thing.
3682 1994-08-01  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3684         * emacsserver.c (main): Add casts to avoid warnings.
3686 1994-07-29  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3688         * Makefile.in.in (${archlibdir}): Compare the proper dir
3689         before installing the scripts.
3691 1994-07-27  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3693         * emacsclient.c (main): New local var progname saves argv[0].
3695 1994-07-26  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3697         * emacsclient.c (main): Don't actually modify argv[0].
3698         Modify a copy instead.
3700 1994-07-25  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3702         * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
3703         (tzp): Var deleted.
3705         * Makefile.in.in: Add #undef alloca.
3707 1994-07-12  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
3709         * timer.c (xmalloc): New function.
3711 1994-07-11  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
3713         * Makefile.in.in (ALLOCA_CFLAGS): New variable.
3714         (alloca.o): New target.
3716 1994-07-08  Dave Love  (d.love@dl.ac.uk)
3718         * etags.c (takeprec): recognise `character*(*) function'
3720 1994-07-08  Francesco Potorti`  (pot@cnuce.cnr.it)
3722         * etags.c (main): Don't barf on obsolete -t and -T switches.
3723         (main): Print an explicative message when a switch is not known.
3725 1994-06-23  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
3727         * hexl.c: Don't declare exit or perror.
3729         * emacsserver.c (main): Don't declare geteuid.
3730         Don't declare getenv if convex.
3732 1994-06-07  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
3734         * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
3736 1994-06-03  Francesco Potorti`  (pot@fly.cnuce.cnr.it)
3738         * etags.c (absolute_filename): Remove infinite loop bug when
3739         accessing files in directories whose name begins with a dot.
3741 1994-06-03  Francesco Potorti`  (pot@fly.cnuce.cnr.it)
3743         * etags.c (etags_getcwd): Delete the trailing newline from cwd.
3745 1994-06-01  Morten Welinder  (terra@diku.dk)
3747         * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
3748         location of data directory.
3750 1994-05-30  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
3752         * Version 19.25 released.
3754 1994-05-28  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
3756         * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
3758 1994-05-27  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
3760         * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
3762 1994-05-23  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
3764         * Version 19.24 released.
3766 1994-05-19  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
3768         * make-docfile.c (write_c_args): Put `default' in upper case.
3770 1994-05-17  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
3772         * etags.c (etags_getcwd): Cast result of popen.
3773         (popen): Declaration deleted.
3775 1994-05-17  Karl Heuer  (kwzh@gnu.ai.mit.edu)
3777         * etags.c [!MSDOS]: Declare popen.
3779 1994-05-17  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
3781         * b2m.c (main): Avoid crash if argc is 1.
3783 1994-05-16  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
3785         * Version 19.23 released.
3787         * Makefile.in.in (blessmail): Specify directory for blessmail.el.
3789 1994-05-12  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
3791         * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
3793 1994-05-05  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
3795         * Makefile.in.in: Fix out of date comment.
3797 1994-05-05  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
3799         * Makefile.in.in: Put in a separator for where to start cpp procssing.
3800         Move all autoconf substitutions above that point.
3801         Above that point, use Make-style comments.
3802         This goes with changes in ../configure.in.
3804 1994-05-03  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
3806         * Makefile.in.in (maybe-blessmail): New target to print the blessmail
3807         warning message.
3808         (${archlibdir}): Don't do it here.  Don't depend on blessmail.
3810 1994-05-02  Karl Heuer  (kwzh@gnu.ai.mit.edu)
3812         * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
3814 1994-05-01  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
3816         * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
3817         print advice to run it, if it has anything significant to do.
3818         And only if MOVEMAIL_NEEDS_BLESSING.
3819         (blessmail): Use emacs, not temacs.
3820         (configuration): Renamed from configname.
3822 1994-04-30  Morten Welinder  (terra@diku.dk)
3824         * etags.c (find_entries): Treat `*.cpp' as C++ files.
3826 1994-04-30  Morten Welinder  (terra@diku.dk)
3828         * etags.c [MSDOS]: #include <sys/param.h> for the following.
3829         [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
3830         a shell.
3832 1994-04-29  Morten Welinder  (terra@diku.dk)
3834         * hexl.c [MSDOS]: Don't define proto type for exit.
3836 1994-04-28  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
3838         * b2m.c: Don't include string.h or strings.h.
3840 1994-04-27  Karl Heuer  (kwzh@gnu.ai.mit.edu)
3842         * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
3843         symbols, not make variables.
3845 1994-04-23  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
3847         * Makefile.in.in (etags, ctags): Make VERSION a string constant.
3848         * etags.c (print_version): Print VERSION as a string.
3850 1994-04-20  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
3852         * fakemail.c (readline): Fix updating of p when buffer grows.
3854 1994-04-20  Karl Heuer  (kwzh@gnu.ai.mit.edu)
3856         * Makefile.in.in (blessmail): New target.
3857         ${archlibdir}: Use blessmail when installing movemail.
3859 1994-04-18  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
3861         * fakemail.c (readline): When extending the buffer,
3862         calculate end afresh using the new size.
3864 1994-04-18  Francesco Potorti`  (pot@fly.cnuce.cnr.it)
3866         * etags.c (main, print_help): eliminate the -F option.
3868 1994-04-18  Francesco Potorti`  (pot@fly.cnuce.cnr.it)
3870         * etags.c (absolute_filename): compare against '\0' instead of NULL.
3872 1994-04-16  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
3874         * Makefile.in.in: Renamed from Makefile.in.
3875         Makefile.in is now generated from it, and then preprocessed.
3876         Change comments to C syntax.
3877         Include config.h.
3878         (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
3879         (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
3881 1994-04-13  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
3883         * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
3885 1994-04-12  Francesco Potorti`  (pot@fly.cnuce.cnr.it)
3887         * etags.c (etags_getcwd): Initialize bufsize.
3889 1994-04-11  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
3891         * profile.c (gettimeofday): If system doesn't have this, define it
3892         to give a fatal error.
3894 1994-04-11  Karl Heuer  (kwzh@gnu.ai.mit.edu)
3896         * movemail.c (main): Use setuid, not seteuid.
3898 1994-04-11  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
3900         * etags.c: #undef static.
3902 1994-04-08  Francesco Potorti`  (pot@fly.cnuce.cnr.it)
3904         * etags.c (outf, outfiledir): renamed to tagf, tagfiledir.
3905         (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs,
3906         Scheme_funcs, prolog_funcs): renamed to Fortran_functions,
3907         Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
3908         TeX_functions, Prolog_functions.
3909         (inf): no more a global variable.
3910         (C_entries): take 2nd parameter `inf' instead of using the global one.
3911         (find_entries): added the cp1 var for optimisation.
3912         (find_entries): added more suffixes for assembler files.
3913         (Asm_funcs): Now finds labels even without an ending colon.
3915 1994-03-30  Francesco Potorti`  (pot@fly.cnuce.cnr.it)
3917         * etags.c (main): use etags_getcwd for compatibility.
3918         (etags_getcwd): new function.
3920 1994-03-25  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
3922         * Makefile.in (etags, ctags): Pass -D for VERSION.
3924 1994-03-25  Francesco Potorti`  (pot@cnuce.cnr.it)
3926         * etags.c (emacs_tags_format, ETAGS): removed.  Use CTAGS instead.
3927         (main): don't allow the use of -t and -T in etags mode.
3928         (print_help): don't show options enabled by default.
3929         (print_version): show the emacs version number if VERSION is #defined.
3930         (find_entries): add "ss" as suffix for Chez Scheme.
3932 1994-03-23  Francesco Potorti`  (pot@cnuce.cnr.it)
3934         * etags.c (cwd, outfiledir): vars added.
3935         (relative_filename, absolute_filename, absolute_dirname):
3936         functions added to compute filenames in tags files.
3937         (process_file): filenames in tags file are relative to the
3938         directory where the tags file is (useful with the -o option).
3939         (main): initialise the outfiledir var.
3940         (TYPEDST): added the `tignore' value.
3941         (C_entries): corrected various small bugs.
3943 1994-03-19  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
3945         * Makefile.in (UTILITIES): `env' deleted.
3946         (env): Target deleted.
3947         * env.c: File deleted.
3949 1994-03-14  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
3951         * Makefile.in (install, ${archlibdir}): Switch back to ..
3952         before running INSTALL_PROGRAM.
3954 1994-03-14  Francesco Potorti`  (pot@cnuce.cnr.it)
3956         * etags.c (TYPEDST): added the `tignore' value.
3957         (C_entries): corrected various bugs, now correctly parses the
3958         `extern "C" {' construction (patch by Tom R.Hageman).
3960 1994-03-05  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
3962         * b2m.c: Use <...> to include config.h.
3963         Don't include stdlib.h.
3965 1994-03-03  Heiko Muenkel  (muenkel@tnt.uni-hannover.de)
3967         * b2m.c (main): Change delimiter from "^L" to "^_^L".
3968         Allow for text following "BABYL OPTIONS:".
3969         Add --help option.  Use argv[0] in error messages.
3971 1994-03-01  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
3973         * emacsclient.c (main) [HAVE_SYSVIPC]:
3974         Make msgp->mtext longer if necessary.
3975         On HPUX, error if it's more than 512 chars.
3977 1994-02-26  David J. MacKenzie  (djm@geech.gnu.ai.mit.edu)
3979         * etags-vmslib.c: Use GPL.
3980         * emacstool.c: Use GPL.
3981         * fakemail.c: Update GPL.
3983         * make-path.c (main): Return 1 on error, not -1.
3984         Update GPL.
3986         * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
3987         (xmalloc, xrealloc): Return char *, not int.
3988         (error): Write to stderr, not stdout.
3989         Update GPL.
3991 1994-02-23  Karl Heuer  (kwzh@gnu.ai.mit.edu)
3993         * profile.c (main, get_time): Don't crash on invalid input.
3995 1994-02-22  Karl Heuer  (kwzh@gnu.ai.mit.edu)
3997         * profile.c (get_time): Simplify; avoid calling index.
3998         (main): exit on EOF.
4000 1994-02-17  Francesco Potorti`  (pot@cnuce.cnr.it)
4002         * etags.c (--absolute-pathnames): Option removed.
4004 1994-02-16  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4006         * fakemail.c (put_line): Don't break the line if it all fits.
4008 1994-02-14  Francesco Potorti`  (pot@fly)
4010         * etags.c (absolute_pathnames, cwd): added global vars.
4011         (longopts, print_help, main, process_file): put absolute filenames
4012         in the tag file if the -A --absolute-pathnames option is used.
4013         (print_help): alfabetically order the options.
4014         (malloc, realloc, strcpy, strncpy, strcmp): remove extern declar.
4016 1994-02-09  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4018         * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
4019         (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
4021 1994-02-07  Christian Lynbech  (lynbech@avignon)
4023         * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
4025 1994-02-04  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4027         * Makefile.in (UTILITIES): Mention profile.
4028         (profile): New target.
4030         * profile.c: New file.
4032 1994-01-16  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
4034         * make-docfile.c: Make the argument list output look more like the
4035         Lisp docstrings do.
4036         (write_c_args): Take new arg FUNC.  Make output
4037         look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
4038         (scan_c_file): Pass BUF to write_c_args for FUNC arg.
4040 1994-01-14  Francesco Potorti`  (pot@cnuce.cnr.it)
4042         * etags.c (stab_entry, stab_create, stab_find, stab_search,
4043         stab_type, add_keyword, C_reate_stab, C_create_stabs): deleted.
4044         Use gperf generated hash table instead of linked list.
4045         (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): added.
4046         Mostly code generated by gperf.
4047         (consider_token): removed unused parameter `lp'.
4048         (PF_funcs, getit): allow subroutine and similar declarations
4049         to span multiple lines.
4050         (C_entries): check for newline if inchar to avoid bus errors.
4051         (process_file, find_entries): distinguish among nonexistent
4052         and not regular file.
4054 1994-01-14  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4056         * timer.c: Include errno.h; don't include fasync.h.
4057         (schedule): Don't return a value.
4058         (sigcatch): Reestablish the handler first.
4059         (getevent): Always call notify at the end.
4060         (notify): Defer alarms around the whole body of function.
4062 1994-01-12  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4064         * timer.c (main): Don't request SIGIO, and don't handle it.
4065         Loop calling getevent.
4066         (sigcatch): Delete code to handle SIGIO.
4067         if defer_alarms is set, don't call notify, just set alarm_deferred.
4068         (getevent): Use read, not getchar.  Handle EINTR and EAGAIN.
4069         Set defer_alarms around realloc and schedule.
4070         If alarm_deferred gets set, call notify.
4071         Likewise if this event is the only pending event.
4072         Make buf and buf_size global variables.
4073         Don't malloc buf if it is already non-zero.
4074         (schedule): Just exit if run out of memory.
4075         Return the number of events.
4076         (signal) [_CX_UX]: Add #undef.
4078 1994-01-11  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4080         * timer.c [USG] (SIGIO): Define as SIGPOLL.
4081         (main) [USG]: Do ioctl to enable SIGPOLL.
4083 1994-01-08  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
4085         * timer.c: Don't declare sys_errlist; declare strerror instead.
4086         (schedule, main): Call strerror instead of using sys_errlist.
4087         * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
4088         Call strerror instead of using sys_errlist.
4089         * env.c (main): Call strerror instead of using sys_errlist.
4090         * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
4091         (main): Call strerror instead of using sys_errlist.
4092         * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
4093         * env.c [! HAVE_STRERROR] (strerror): Likewise.
4094         * timer.c [! HAVE_STRERROR] (strerror): Likewise.
4095         * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
4097 1994-01-05  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4099         * hexl.c: Fix up whitespace.  Get rid of spurious casts to void.
4101         * movemail.c (malloc): Don't declare it.
4102         (xmalloc): Cast result of malloc.
4103         (strcpy): Don't declare it.
4105 1993-11-14  Morten Welinder  (terra@diku.dk)
4107         * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
4108         (main): Use fclose to close file opened by fopen.
4110         * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
4112         * movemail.c [MSDOS]: #undef `access'.
4114         * b2m.c (main) [MSDOS]: Open all files as binary.
4115         * etags.c (main) [MSDOS]: Open all files as binary.
4117         * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
4118         (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
4119         with.
4121 1994-01-02  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4123         * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
4124         Use ALL_CFLAGS in all the rules that compile and link with one cmd.
4125         (LINK_CFLAGS): New variable.
4126         (timer): Use LINK_CFLAGS.
4128 1993-12-30  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4130         * movemail.c: Include syswait.h.
4131         Fork a subprocess and use it to copy the mail file.
4133 1993-12-07  Richard Stallman  (rms@srarc2)
4135         * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
4137 1993-12-04  Richard Stallman  (rms@srarc2)
4139         * movemail.c (main): When making tempname, cast result of xmalloc.
4140         Include room for EXXXXXX in the size.
4141         Don't use result of strcpy.
4143 1993-12-03  Paul Eggert  (eggert@twinsun.com)
4145         * vcdiff: Add --brief option.
4147 1993-12-02  Richard Stallman  (rms@srarc2)
4149         * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
4150         for all executables and scripts.
4152 1993-11-27  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4154         * Version 19.22 released.
4156 1993-11-26  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4158         * Makefile.in (mostlyclean): Make it distinct from clean.
4160 1993-11-24  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4162         * Makefile.in (${archlibdir}): Don't do chown or chgrp.
4164 1993-11-16  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4166         * Version 19.21 released.
4168         * Makefile.in (install): Don't change mode or group when installing.
4170         * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
4172 1993-11-12  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4174         * make-docfile.c (read_c_string): For "", concatenate the two strings.
4176         * movemail.c (main): Fix error message text.
4178 1993-11-11  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4180         * Version 19.20 released.
4182 1993-11-08  Tom Hageman  (tom@basil.icce.rug.nl)
4184         * etags.c: (C_entries): Keep track of ()-parenthesis level so that
4185         functions returning a pointer to a function, a la `signal', can be
4186         parsed.  This also required new state `fstartlist' to `FUNCST'.
4187         (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
4188         (C_entries, CNL): use it to isolate preprocessor directive processing
4189         from the other state engines.
4190         (begtk): add '~', for C++ class destructors.
4192 1993-11-02  Francesco Potorti`  (pot@cnuce.cnr.it)
4194         * etags.c (consider_token): removed unused variable firsttok.
4195         (prolog_getit): call pfnote with the right number of arguments.
4197 1993-10-19  Paul Eggert  (eggert@twinsun.com)
4199         * rcs2log (printlogline): Don't generate lines containing only
4200         white space.
4202 1993-10-04  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
4204         * Makefile.in (${archlibdir}):
4205         Install ${SCRIPTS} from ${srcdir}, not cwd.
4207 1993-10-03  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
4209         * Makefile.in: Fixed typos or brainos of whoever thought `@' was
4210         the comment character.
4212 1993-10-01  Francesco Potorti`  (pot@cnuce.cnr.it)
4214         * etags.c (process_file): dead code removed.
4215         (S_ISREG): #define it using S_IFREG if not defined.
4216         (process_file): regular files have nothing to do with symlinks.
4218 1993-09-28  Brian Fox  (bfox@ai.mit.edu)
4220         * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
4221         from current directory.  Only chmod and chgrp files that we
4222         installed, which excludes ${INSTALLABLE_SCRIPTS}.  They go in
4223         ${bindir}.
4224         (INSTALLFLAGS): Deleted definition, since it is an unused variable
4225         now.
4227 1993-09-27  Brian Fox  (bfox@ai.mit.edu)
4229         * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
4230         configure figure out the correct values for these variables.
4232 1993-09-14  Brian Fox  (bfox@ai.mit.edu)
4234         * Makefile.in (archlibdir): Only install execuatables internally
4235         used by emacs; don't install bindir binaries here.
4237 1993-09-24  Paul Eggert  (eggert@twinsun.com)
4239         * rcs2log: Add -h, -n, -r options.
4240         By default, look for *,v files as well as RCS/*,v files.
4241         Use $TMPDIR (default /tmp) instead of /tmp.
4243 1993-09-20  Francesco Potorti`  (pot@fly)
4245         * etags.c (C_entries): is_func is initialised here instead of in
4246         consider_token for the sake of the yacc rules section.
4247         (C_entries): Now class, struct, enum, union and typedef produce
4248         named tags.
4250 1993-09-11  Roland McGrath  (roland@baalperazim.gnu.ai.mit.edu)
4252         * yow.c: Include <src/paths.h>, instead of "src/paths.h".
4254 1993-09-10  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
4256         * Makefile.in: Support configuring in a different directory when
4257         ${srcdir} has already been configured.
4258         (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
4259         -I${srcdir}/../src.
4260         (b2m, movemail, fakemail, env, emacsserver, emacsclient,
4261         getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
4262         is already in CPP_FLAGS.
4263         * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
4264         movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
4266 1993-08-25  Paul Eggert  (eggert@twinsun.com)
4268         * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
4269         otherwise, HP awk complains.
4271         * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
4272         are common hangouts for SCCS commands.
4274 1993-08-14  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4276         * Version 19.19 released.
4278 1993-08-12  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4280         * Makefile.in (make-path): Dep on config.h.
4282 1993-08-11  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4284         * b2m.c (TRUE, FALSE): Don't define if already defined.
4286 1993-08-09  Paul Eggert  (eggert@twinsun.com)
4288         * rcs2log (awkscript):
4289         Some sites put comma-separated junk after the fullname.
4290         Remove it, but leave "Bill Gates, Jr" alone.
4291         Remove the junk from fullnames like "0000-Admin(0000)".
4293 1993-08-08  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4295         * Version 19.18 released.
4297 1993-08-04  Francesco Potorti`  (pot@spiff.gnu.ai.mit.edu)
4299         * etags.c (L_isdef, L_isquote, L_getit): small optimisations.
4300         (L_funcs): the (foo::defmumble stuff now should work.
4301         (consider_token): function returned random value--corrected.
4302         (C_entries): corrected == versus = typo.
4304 1993-08-01  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
4306         * etags.c (put_entries): For NODE->rewritten, put pattern before
4307         \177 and name after, not vice versa.
4309 1993-08-01  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4311         * timer.c (main): Generate a SIGIO as soon as we've initialized.
4313 1993-07-30  Francesco Potorti`  (pot@cnuce.cnr.it)
4315         * etags.c (FINCST): added the fignore status. Means we are
4316         after the parameter list and before the open curly brace.
4317         Allows correct parsing of C++ constructors.
4318         (C_entries, consider_token): make use of fignore.
4319         (consider_token): reset funcdef when next_token_is_func: when in
4320         ctags mode makes DEFVAR and others work better.
4321         (L_isquote): function that recognises the "(quote" string.
4322         (L_getit): ignore quoting via "'" or "(quote".  Useful for defalias.
4324 1993-07-29  Paul Eggert  (eggert@twinsun.com)
4326         * rcs-checkin: Don't check whether a file is readable until we have
4327         decided not to ignore it.
4329 1993-07-20  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4331         * Makefile.in (etags): Depend on ../src/config.h.
4333         * emacsserver.c: Include types.h before file.h.
4335 1993-07-19  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4337         * Makefile.in (install): Use .n, not .new, for temporary filenames.
4339 1993-07-18  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4341         * Version 19.17 released.
4343 1993-07-15  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
4345         * etags.c (print_help): Break up the very long strings containing
4346         the help message into shorter strings, to placate chintzy C
4347         compilers which can't handle strings that long.
4349         * wakeup.c: Use CPP tangle from autoconf manual to #include the
4350         correct combination of <time.h> and <sys/time.h>.
4352 1993-07-08  Francesco Potorti`  (pot@cnuce.cnr.it)
4354         * etags.c (alloca): removed all references to it.
4355         (main): now calls xnew instead of alloca for portability.
4356         (../src/config.h): included only if HAVE_CONFIG_H.
4357         (const): void definition removed--config.h takes care of it.
4359 1993-07-08  Francesco Potorti`  (pot@cnuce.cnr.it)
4361         * etags.c (consider_token): was `==', now is `='.
4362         (consider_token): DEFUNs now treated like funcs in ctags mode.
4364         * etags.c (LEVEL_OK_FOR_FUNCDEF): removed.
4365         (C_entries): optimized the test that used LEVEL_OK_FOR_FUNCDEF.
4366         (C_entries): removed a piece of useless code.
4367         (C_entries): making typedef tags is delayed until a semicolon
4368         is met.  This handles "typedef int X, Y, Z;" correctly.
4370 1993-07-06  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
4372         * Version 19.16 released.
4374         * b2m.c: #include <sys/types.h>.
4375         (ltoday): Declare this to be time_t.
4377 1993-06-30  Paul Eggert  (eggert@twinsun.com)
4379         * vcdiff: Add -q option.
4381 1993-06-29  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
4383         * etags.c: #include "config.h" and the alloca CPP tangle before
4384         #including the system headers and getopt.h.  AIX requires the
4385         #pragma to come before any actual C code.
4387 1993-06-21  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
4389         * Makefile.in (ctags): Depend on etags, so that parallel makes
4390         don't write etags.o files on top of each other.
4392 1993-06-19  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
4394         * version 19.15 released.
4396 1993-06-19  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4398         * etags.c (add_node): Move var last_node to file scope.
4400 1993-06-17  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
4402         * Version 19.14 released.
4404 1993-06-16  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
4406         Bring mumbleclean targets into conformance with GNU coding standards.
4407         * Makefile.in (distclean): Call clean to do most of the work.
4408         Delete aixcc.c and TAGS.
4409         (realclean): Just call distclean.
4411         * Makefile.in: Remember, spaces are not tabs.
4413 1993-06-13  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4415         * Makefile.in (CPP_CFLAGS): New variable.
4416         Use it instead of ALL_CFLAGS when compiling a .c file.
4417         (getopt.o, getopt1.o): Add explicit compilation commands.
4419 1993-06-10  Mark D. Baushke  (mdb@cisco.com)
4421         * etags.c: Reinstate old -f option as an alias for -o for
4422         installed base uses.
4424 1993-06-09  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
4426         * emacsserver.c (main): When we're passing a `struct sockaddr_un'
4427         to bind or accept, cast the pointer, to avoid warnings on systems
4428         which declare prototypes for this.
4429         * emacsclient.c (main): Same.
4431         * Makefile.in (YACC): New variable, to be set by top-level Makefile.
4433 1993-06-08  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
4435         * Version 19.13 released.
4437         * wakeup.c: Include sys/types.h, too; I think that's where time_t
4438         comes from, not sys/time.h.
4440 1993-06-02  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4442         * wakeup.c: Include sys/time.h.
4444         * etags.c: #undef static.
4446         * Version 19.12 released.
4448         * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
4450 1993-06-01  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4452         * Version 19.11 released.
4454         * timer.c [LINUX]: #undef signal.
4455         * emacsserver.c: #undef signal.
4457 1993-05-30  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4459         * wakeup.c (main): Make when a time_t.
4461 1993-05-30  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
4463         * Makefile.in: (${archlibdir}): Use `(cd foo && pwd)' instead of
4464         `(cd foo ; pwd)' to get the canonical name of a directory; cd
4465         might fail, and have pwd print out the current directory.
4467         * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
4468         string-handling functions.
4470 1993-05-30  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4472         * Version 19.10 released.
4474 1993-05-29  Paul Eggert  (eggert@twinsun.com)
4476         * rcs2log: When given no file arguments, inspect RCS/.* as well
4477         as RCS/*.  Don't report an error if RCS is empty or nonexistent.
4479 1993-05-29  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4481         * Makefile.in (timer): Link with $(LOADLIBES).
4483 1993-05-28  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4485         * fakemail.c (put_line): Don't output \n\t unless more text follows.
4487 1993-05-28  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
4489         * etags.c: Replace the CPP tangle for alloca with the one from the
4490         autoconf documentation, since that's working elsewhere.
4492 1993-05-27  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
4494         * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
4495         description files can find their ancestors.
4497 1993-05-27  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4499         * Makefile.in (install): Get the scripts from ${srcdir},
4500         unlike the executables.
4501         (ALL_CFLAGS): Add -I../src
4503 1993-05-27  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
4505         * Version 19.9 released.
4507 1993-05-26  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
4509         * Makefile.in (install): Do install the programs listed in
4510         INSTALLABLE_SCRIPTS.  Make the renaming loop use INSTALLABLES and
4511         INSTALLABLE_SCRIPTS, instead of writing the programs out.
4513         * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
4514         (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
4516 1993-05-25  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4518         * etags.c: Include ../src/config.h.
4520         * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
4521         in first loop.  Delete files from bindir before installing new ones.
4522         (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
4524 1993-05-24  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
4526         * Version 19.8 released.
4528         * make-docfile.c: Doc fix.
4530 1993-05-24  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4532         * tcp.c: Fix comment syntax at top of file.
4533         (main): Don't call htons with the port number.
4535 1993-05-24  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
4537         * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
4538         appropriate.
4540         * Makefile.in (install): Refer to the variables INSTALLABLES and
4541         INSTALLABLE_SCRIPTS, instead of writing them out.
4543 1993-05-23  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4545         * make-path.c (main): Return 0.
4547 1993-05-22  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
4549         * Version 19.7 released.
4551 1993-05-22  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4553         * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
4555 1993-05-19  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4557         * tcp.c: New file.
4559 1993-05-18  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
4561         * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
4563 1993-05-15  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
4565         * timer.c (notify): Don't call sighold or sigrelse; they're USG
4566         only.  We should really fix this later, but let's just make it
4567         compile for now.
4569         Install patches from David J. Mackenzie to make the srcdir option
4570         work.
4571         * Makefile.in (srcdir, VPATH): Get this value from the top-level
4572         Makefile.
4573         (INSTALLABLES): Split this into two lists - INSTALLABLES and
4574         INSTALLABLE_SCRIPTS.
4575         (INSTALLABLE_SCRIPTS): New list.
4576         (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
4577         (${archlibdir}): The scripts to be installed live in the source
4578         tree, not in the object tree.
4579         (test-distrib): Note that the data file lives in the source tree,
4580         not the object tree.
4581         (GETOPTDEPS): Note that getopt.h lives in the source tree.
4582         (all other targets): Change references to source files to use
4583         ${srcdir}, except for config.h, which lives in the object dir.
4584         (timer.o): Note that this depends on ../src/config.h.
4585         * make-docfile.c (main): Add a -d option, to tell it where to find
4586         the source files.
4587         * test-distrib.c (main): Take the name of the distribution file to
4588         test from the command line.
4590         * timer.c: Fix mispellings of get_date function's name.
4592 1993-05-12  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
4594         * etags.c (main):
4595         Don't require that there be input files if -i switches were given.
4597 1993-05-09  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
4599         The GNU coding standards specify that CFLAGS should be left for
4600         users to set.
4601         * Makefile.in (CFLAGS): Put this in the "things configure might
4602         edit" section, and have it default to -g.
4603         (ALL_CFLAGS): New variable, set to all the flags which should be
4604         passed to compilations.  Replace all other uses of CFLAGS with
4605         ALL_CFLAGS.
4606         (.c.o): New rule, to pass ALL_CFLAGS to compilations.
4608         * Makefile.in (DEFS): Remove this; it's always just going to be
4609         "-DHAVE_CONFIG_H -Demacs".
4611 1993-05-03  Paul Eggert  (eggert@twinsun.com)
4613         * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
4614         /[/]/, so change it to /[\/]/.  This should work on all
4615         Posix-compliant awks.  It's slightly wrong with traditional awk,
4616         since it matches \ too, but that's a minor problem compared to awk
4617         syntax errors.
4619 1993-05-01  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
4621         * Makefile.in (ALLOCA): New variable, whose value we should
4622         inherit from the top-level makefile.
4623         (etags, ctags): Include ALLOCA in the list of object files that
4624         these executables depend on and link.
4626 1993-04-09  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
4628         * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
4630 1993-04-07  Jim Blandy  (jimb@churchy.gnu.ai.mit.edu)
4632         * make-docfile.c (write_c_args): Print an argument named "defalt"
4633         as "default".
4635 1993-03-24  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
4637         * Makefile.in (C_SWITCH_SYSTEM): New variable.
4638         (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
4639         compiler.
4641 1993-03-22  Francesco Potorti`  (pot@cnuce.cnr.it)
4643         * etags.c (YACC): flag added to c_ext.
4644         (c_ext): no more a synonim for c_ext&C_PLPL because of YACC.
4645         (find_entries): consistently use streq when reasonable.
4646         (find_entries): a .y file is a yacc file.
4647         (get_C_stab): c_ext becomes c_ext&C_PLPL.
4648         (C_entries): logical cplpl means c_ext&C_PLPL.
4649         (C_entries): logical yacc_rules means we are after the first %%.
4650         (C_entries): added logic for yacc files.
4652 1993-03-16  Francesco Potorti`  (pot@cnuce.cnr.it)
4654         * etags.c (C_entries): ':' case moved to the second switch.
4655         (C_entries): do not examine token if structdef==scolonseen.
4656         (consider_token): structtag set to null string for enum.
4658 1993-03-12  Francesco Potorti`  (pot@cnuce.cnr.it)
4660         * etags.c (GET_COOKIE): and related macros removed.
4661         (logical): is now int, no more a char.
4662         (reg): define deleted.
4663         (isgood, _gd, notgd): deleted.
4664         (gotone): deleted.
4665         (TOKEN): member linestart removed.
4666         (linepos, prev_linepos, lb1): deleted.
4667         (main): call initbuffer on lbs array instead of lb1.
4668         (init): removed the initialisation of the logical _gd array;
4669         (find_entries): a .sa suffix means assembler file.
4670         (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
4671         All C state machines rewritten.
4672         (C_entries): complete rewrite.
4673         (condider_token): complete rewrite.
4674         (getline): deleted.
4676 1993-03-01  Francesco Potorti`  (pot@fly.CNUCE.CNR.IT)
4678         * etags.c (C_entries): Added the quotednl logical variable.
4679         Used for parsing of #define's spanning multiple lines.
4681 1993-02-23  Francesco Potorti`  (pot@fly.CNUCE.CNR.IT)
4683         * etags.c (C_entries): Save the definedef status even when a
4684         newline is met inside a string.
4686 1993-03-19  Eric S. Raymond  (eric@geech.gnu.ai.mit.edu)
4688         * Makefile.in (EXECUTABLES): added rcs-checkin.
4690         * Makefile.in (unlock, relock): New productions.
4692 1993-03-16  Paul Eggert  (eggert@twinsun.com)
4694         * rcs2log: Some awks don't understand "\r".  Code around this.
4695         Unfortunately this requires putting a carriage return in the
4696         source code.  Don't assume that rlog will tolerate times like
4697         `10:10:60'; RCS 5.7 won't allow this.
4699 1993-03-10  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
4701         * timer.c (main): Set the ownership of the stdin file descriptor
4702         to the current process.  Print error messages if either of the
4703         fcntl's fails.
4705         * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
4706         ../src/config.h), not void.
4708 1993-03-06  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
4710         * b2m.c (main): Don't exit upon reading a blank line.
4712 1993-03-01  Francesco Potorti`  (pot@fly.CNUCE.CNR.IT)
4714         * etags.c (C_entries): New local variable quotednl.  Used for
4715         parsing of #define's spanning multiple lines.
4717         * etags.c (C_entries): Save the definedef status
4718         even when a newline is met inside a string.
4720 1993-02-26  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
4722         * timer.c (notify): Initialize waitfor properly.
4724 1993-02-22  Francesco Potorti`  (pot@CNUCE.CNR.IT)
4726         * etags.c (C_entries): Don't reset definedef when a newline inside a
4727         comment is met.
4729 1993-01-14  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4731         * etags.c (find_entries): If filename ends in .f or .for,
4732         don't try anything but Fortran.
4734 1993-01-08  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
4736         * timer.c (notify): Flush stdout after writing message to avoid lossage
4737         on terminals.
4739         (notify): Also, write a newline after the token.
4741 1992-12-12  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
4743         * Makefile.in (exec_prefix): New variable.
4744         (bindir, libdir): Use it instead of `prefix'.
4746         * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
4748         * Makefile.in (libdir): Default to ${prefix}/lib.
4749         (archlibdir): Adjusted to match.
4751         * Makefile.in (distclean): Don't delete backup or autosave files.
4752         (extraclean): Like realclean, but does delete backup and autosave
4753         files.
4755         * Makefile.in (realclean): Ignore errors from rm.
4757         * Makefile.in (distclean): Don't bother to delete ../arch-lib;
4758         that doesn't exist anymore.
4760 1992-12-11  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
4762         * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
4763         described in the top-level Makefile.
4764         (UTILITIES): Add make-path to the list of utility programs.
4765         (../arch-lib): Replaced by the ${archlibdir} target, which places
4766         the executables in their permanent home.
4767         (install, install.sysv, install.xenix): Consolidated into one
4768         target which should work under all circumstances, modulo a few
4769         ignored error messages.
4771         * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
4772         a different number of arguments than other DEFVARs, recognize it
4773         specially, and expect the right number of commas.
4775 1992-12-04  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
4777         * make-path.c: New program, to help with the installation process.
4778         * Makefile.in (make-path): New target.
4780         * make-path.c (touchy_mkdir): Remove debugging output.
4782 1992-11-05  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
4784         * Makefile.in (getdate.o): Added explicit target for this, so we
4785         can indicate that it depends on ../src/config.h.
4787 1992-11-04  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
4789         * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
4790         instead of CFLAGS.
4791         (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
4793 1992-09-30  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
4795         * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
4796         9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
4797         that system.
4799         * Makefile.in (arch-lib): Give rm the `-f' option.
4801 1992-09-28  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
4803         * make-docfile.c (write_c_args): Rewritten to correctly print
4804         &optionals before the first identifier, but after the first paren.
4805         This code used to just wait for commas or spaces; now it notices
4806         identifier boundaries.
4808 1992-09-26  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
4810         * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
4812 1992-09-23  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
4814         * make-docfile.c (write_c_args): Print the argument lists properly
4815         when the first argument is optional.
4817 1992-09-19  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4819         * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
4820         Redefine @item.  Set catcode of +.
4822 1992-08-22  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4824         * emacsclient.c (main): Set IPC_CREAT in msgget call.
4826 1992-08-20  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4828         * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
4829         (TEX_decode_env): Make `tab' one element longer.
4831 1992-08-20  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
4833         * etags.c (PF_funcs): Recognize the "entry" keyword.
4835 1992-08-18  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
4837         * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
4839 1992-08-14  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
4841         * timer.c (events): Rather than having slots marked as in use or
4842         out of use by the `token' field, keep all pending events at the
4843         beginning of the array.  When we delete an event in the middle of
4844         the array, we move the last event into its place.
4845         (num_events): New variable.
4846         (schedule): It is now cheaper to find a free event slot;
4847         events[num_events] is the first free slot.
4848         (notify): Scan events[0 .. num_events-1], instead of the whole
4849         array.  When an event fires, move the last event in the array into
4850         its spot.  Use num_events to determine whether or not there are
4851         any pending events, not wait_for.
4852         (getevent): Deleted unused variable `ep'.
4853         (sigcatch): It's now easier to find all the active events.
4854         (main): Initialize num_events.
4856         * etags.c: Rather than fret about which systems have index and
4857         which systems have strchr, and how to tell the difference between
4858         them, we just write out our own versions.  Big deal.
4859         (index, rindex): Extern declarations removed.
4860         (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
4861         (etags_index, etags_rindex): New declarations.
4862         (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
4863         TEX_getit, substr): Use the etags_*index functions, rather than
4864         the native *index functions.
4865         (rindex, index): Renamed to etags_rindex and tags_rindex, and
4866         made them unconditionally defined, rather than having them depend
4867         on NEED_*INDEX.
4869         * etags.c (savenstr): Add declaration for this at top of file.
4870         (TEX_decode_env): Don't declare it local to this function.
4872         * b2m.c: #include "../src/config.h", so we can test for the USG
4873         macro, and decide whether to include <string.h> or <strings.h>.
4874         * Makefile.in: Note that b2m.c depends on ../src/config.h.
4876 1992-08-13  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
4878         * timer.c: Reformatted according to the GNU coding standards.
4879         Removed arbitrary limits on the number of events queued and the
4880         length of the tokens used to identify them.
4881         Removed casts to (void).
4882         Removed debugging printfs; they clutter the code, and the need
4883         can be better filled using a real debugger.
4885 1992-08-07  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
4887         * timer.c: Installed new version from Eric Raymond; this is more
4888         portable, since it doesn't try to use SIGIO.
4890 1992-07-17  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
4892         * emacsclient.c (main): If we can't find the socket in this
4893         person's home directory, print a message which asks if they've
4894         started the server, instead of just printing the message from
4895         sys_errmsg; Cygnus finds that people are much less confused by
4896         this.
4898 1992-07-14  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
4900         * etags.c: Rather than defining "notdef" when "hpux" is #defined,
4901         so that index and rindex get defined, why don't we actually
4902         control index and rindex using symbols called "NEED_INDEX" and
4903         "NEED_RINDEX", and define them if hpux is defined?  Isn't that a
4904         little more readable than defining something whose name implies
4905         that it's not?
4907 1992-07-08  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
4909         * movemail.c: Merged changes from Jamie Zawinski's byte compiler
4910         distribution:
4911         Miscellaneous doc fixes.
4912         (skip_white, read_lisp_symbol): New functions.
4913         (scan_lisp_file): Instead of using long hairy strings of ifs, call
4914         read_lisp_symbol and then see what we got.  Call skip_white
4915         instead of writing out a loop to do its job.  Correctly extract
4916         docstrings from "defmacro" declarations.
4918 1992-06-25  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
4920         * movemail.c (strcpy): Declare this to return char *.
4922 1992-06-18  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
4924         * etags.c (C_entries): When we find a C++ comment, do actually
4925         skip to the end of the line; do a 'break' instead of a 'continue'.
4927 1992-06-11  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
4929         * etags.c (getit): Add missing parenthesis to expression which
4930         decides if this token is an identifier.
4932 1992-06-04  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
4934         * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
4936 1992-05-30  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4938         * etags.c (put_entries): Always put space between name and line num.
4940 1992-05-28  Ken Raeburn  (Raeburn@Cygnus.COM)
4942         * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
4943         warning.
4944         (LEVEL_OK_FOR_FUNCDEF): Ditto.
4946 1992-05-19  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
4948         * make-docfile.c (write_c_args): Pass both arguments to putc.
4950 1992-05-10  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
4952         * etags.c (C_entries): Fixed reading of "..." strings.
4953         (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
4954         the C library source.
4956         * etags.c (C_entries): When we see a backslash inside a quoted
4957         string, skip to the next character.  This allows us to correctly
4958         deal with strings containing quotes.
4960 1992-05-08  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
4962         * make-docfile.c (write_c_args): Print the C argument names as
4963         they would be written in Elisp; print '_' as '-'.
4965 1992-05-07  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4967         * movemail.c [POP]: Get user name via getpwuid.
4969 1992-05-04  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
4971         * Makefile.in: flags in CC invocations rearranged for no reason.
4973 1992-04-20  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
4975         * etags.c (print_help): Remember not to imbed raw newlines in
4976         strings - end the lines with `\n\'.
4978 1992-04-17  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
4980         * timer.c (getevent): Removed declaration of memcpy; since
4981         different systems have different return types, and we're not even
4982         using the return type anyway, it wasn't doing us any good.
4984 1992-04-16  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
4986         * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
4987         type of this function.
4989 1992-04-14  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
4991         * ChangeLog: Since the old etc contents have been split into etc
4992         and lib-src, the old etc's ChangeLog has been duplicated in the
4993         new etc and lib-src.  That means that each contains complete and
4994         coherent information, although each contains extraneous
4995         information.
4997 1992-04-08  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
4999         * lib-src/etags.c: "--no-warning" option renamed to "--no-warn",
5000         to be consistent with other GNU programs, like makeinfo.
5002         * lib-src/Makefile: Renamed to Makefile.in; the configure script
5003         will edit this to produce Makefile.
5005 1992-04-07  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
5007         * etags.c (print_help, print_version): New functions.
5008         (main): Options added to support them.
5010         * etags.c (longopts): New array of long names for the options.
5011         (main): Recognize them.
5013 1992-04-06  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
5015         * etags.c (C_entries): Removed comment saying that \" in a string
5016         isn't recognized as magic, because it is correctly handled.
5018         * getopt.c, getopt.h: New files, from GNU C library.
5019         * etags.c: Rewritten to use getopt.
5020         #include "getopt.h".
5021         (file_num): Variable deleted; its role is now played by getopt's
5022         optind.
5023         (main): Argument processing loop rewritten to call getopt to get
5024         next option.  Options which take parameters (-o and -i) rewritten
5025         to get parameter from optarg instead of argv[1].  Filename
5026         preprocessing loop and update command changed similarly.
5027         * Makefile (etags, ctags): Depend on and link with getopt.h,
5028         getopt.o, and getopt1.o.
5029         (getopt.o, getopt1.o): New targets for the GNU getopt routines.
5031         * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
5032         is non-zero.
5034         (main): In the argument processing loop, the 'goto next_arg'
5035         statements are breaking out of the switch statement in exactly the
5036         same way that a simple 'break' statement would; replace the gotos
5037         with breaks, and remove the label.
5039 1992-04-06  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
5041         * etags.c (C_entries): Clear tydef and next_token_is_func at start.
5042         (consider_token): Move next_token_is_func to global.
5044 1992-04-02  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
5046         * Makefile: Conform with GNU coding standards:
5047         (mostlyclean): New target, synonymous with clean.
5048         (TAGS, check): New targets.
5049         (INSTALL, INSTALLFLAGS): New variables.
5051 1992-03-31  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
5053         * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
5054         `config.emacs' to `configure'.
5056         * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
5057         * etc/MACHINES: Same.
5059 1992-03-30  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
5061         * movemail.c (main): Allow tempname to be as long as necessary,
5062         instead of limiting it to 39 characters.
5064         * movemail.c (main): Move declaration of buf from top of function
5065         to local block surrounding the copy loop.  This makes it less
5066         likely to be confused with the buf used by the code which checks the
5067         permissions on outname's directory.
5069 1992-03-20  Jim Kingdon  (kingdon@albert.gnu.ai.mit.edu)
5071         * SERVICE: Remove my entry.
5073 1992-03-09  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
5075         * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
5076         hardcoded -g.
5078         * movemail.c (xmalloc): Return char *, not int.
5079         (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
5080         that is off by default -- normally don't unlink the mail spool
5081         file, just empty it.  Pass creat mode 0600, not 0666.
5083 1992-02-07  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
5085         * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
5086         (all): Instead of here.
5087         (install): Don't use the -s option, since people need symbols to
5088         debug code.
5090 1992-01-19  Eric Youngdale  (youngdale@v6550c.nrl.navy.mil)
5092         * etags-vmslib.c (fn_exp): Add type cast.
5094 1992-01-18  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
5096         * movemail.c: Changes in comments.
5098 1992-01-13  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
5100         * Makefile: Make the distclean target erase the DOC files from
5101         ../share-lib and the executables from ../arch-lib.
5103 1992-01-09  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
5105         * emacsclient.c: #include <sys/stat.h>
5106         (main): Do declare statbfr.
5108 1991-12-21  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
5110         * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
5111         for the socket, depending on SERVER_HOME_DIR.
5112         If using /tmp, put host name in the socket name.
5114         * movemail.c (pfatal_and_delete): New function.
5115         (main, popmail): Use it.
5116         (popmail): Close output before deleting messages.
5117         Check for error on close and on fsync.
5118         Use `fatal' where appropriate.
5119         (main): Remove (void).
5121         * aixcc.lex: New file.  Not officially part of Emacs.
5122         * Makefile: Rules for that.
5124 1991-12-04  Jim Blandy  (jimb@pogo.gnu.ai.mit.edu)
5126         * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
5128         * etags.c (main): Properly cast call to alloca that initializes
5129         included_files.
5131 1991-08-17  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
5133         * etags.c (files_are_tag_tables): Remove global var.
5134         (process_file): Don't test it.  Also remove hack checking for a
5135         file named "TAGS".
5136         (main): -i now takes an arg which is the name of a file to include.
5137         Collect these names and emit include tags for them after processing
5138         all the argument files.
5140 1991-07-30  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
5142         * wakeup.c: Terminate if parent goes away.
5144 1991-07-18  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
5146         * etags.c (C_entries): Process token before handling end of line.
5147         When inner loops reach end of line, just back up.
5148         Let the real end of line processing happen in just one place.
5149         (consider_token): Likewise.
5151 1991-04-11  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
5153         * etags.c (TEX_mode): Skip comments while scanning the text to see
5154         which escape character this file uses.
5156 1991-03-29  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
5158         * emacsserver.c [USG]: Terminate if msgrcv fails.
5160 1991-03-03  Richard Stallman  (rms@mole.ai.mit.edu)
5162         * emacsserver.c [BSD]: Check for errors on stdin after scanf.
5164 1991-01-25  Jim Blandy  (jimb@churchy.ai.mit.edu)
5166         * make-docfile: Find the arguments to a C function correctly,
5167         by not ignoring the character that read_c_string returns.  Don't
5168         even try to find argument names for functions that take MANY
5169         or UNEVALLED arguments, since they're a figment of the docstring's
5170         imagination.
5172 1991-01-14  Jim Blandy  (jimb@churchy.ai.mit.edu)
5174         * make-docfile: Read the .elc files generated by the new byte
5175         compiler.
5177 1990-12-31  Richard Stallman  (rms@mole.ai.mit.edu)
5179         * refcard.tex: Use cm fonts, not am, in multi-column mode.
5181 1990-11-29  Richard Stallman  (rms@mole.ai.mit.edu)
5183         * movemail.c (mbx_delimit_begin): Put space before `unseen'.
5185 1990-11-27  Richard Stallman  (rms@mole.ai.mit.edu)
5187         * Makefile (install*): No need to install wakeup.
5189 1990-11-26  Richard Stallman  (rms@mole.ai.mit.edu)
5191         * Makefile (install*): Install emacsclient like etags.
5193 1990-11-13  Richard Stallman  (rms@mole.ai.mit.edu)
5195         * movemail.c (error): Handle 3 args.
5196         (main): Don't check input access if using pop.
5198 1990-10-16  Richard Stallman  (rms@mole.ai.mit.edu)
5200         * etags.c (find_entries): Check for numbers after Scheme suffix.
5202 1990-10-14  Richard Stallman  (rms@mole.ai.mit.edu)
5204         * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
5206 1990-10-09  Richard Stallman  (rms@mole.ai.mit.edu)
5208         * Makefile (nemacstool, xvetool): New targets.
5210 1990-09-26  Richard Stallman  (rms@mole.ai.mit.edu)
5212         * emacsclient.c: Include errno.h and define related variables.
5214 1990-09-23  Richard Stallman  (rms@mole.ai.mit.edu)
5216         * emacsclient.c: Change usage message.
5218 1990-08-30  David Lawrence  (tale@pogo.ai.mit.edu)
5220         * emacs.1:  Add break before -nw option.
5222 1990-08-19  David J. MacKenzie  (djm@apple-gunkies)
5224         * qsort.c: Replace with GNU version.
5226 1990-08-14  David J. MacKenzie  (djm@apple-gunkies)
5228         * wakeup.c: New program replacing loadst.c.
5230 1990-08-14  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5232         * emacsclient.c [USG]: Pass msgsnd only 4 args.
5234 1990-08-09  David J. MacKenzie  (djm@pogo.ai.mit.edu)
5236         * etags.c: Rename `flag' variables for what they do instead of
5237         which option character sets them.
5239 1990-05-28  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5241         * loadst.c (main): Conditional to get load average on Apollo.
5243 1990-05-22  Joseph Arceneaux  (jla@churchy.ai.mit.edu)
5245         * emacsserver.c: Set the permission on the socket to 0600.
5247 1990-03-27  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5249         * emacsclient.c [BSD]: Print clean message for failing getwd.
5251 1990-03-20  David Lawrence  (tale@pogo.ai.mit.edu)
5253         * getdate.y: Use the getdate.y from GNU tar for timer.
5255 1990-03-18  Jim Kingdon  (kingdon@pogo.ai.mit.edu)
5257         * emacsclient.c (main): Don't put brackets around "filename" in
5258         usage message.  It isn't optional.
5260 1990-03-14  Joseph Arceneaux  (jla@churchy.ai.mit.edu)
5262         * etags.c (getit): Recognize '$' as beginning identifiers.
5264 1990-02-22  David Lawrence  (tale@pogo.ai.mit.edu)
5266         * emacsserver.c: Renamed from server.c.
5267         * Makefile: Reference emacsserver rather than server.
5268         * MACHINES: Doc fix for new emacsserver name.
5270 1990-01-25  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5272         * emacsclient.c: Print program name in error messages.
5274 1990-01-19  David Lawrence  (tale@cocoa-puffs)
5276         * timer.c, getdate.y (new files) and Makefile:
5277           Sub-process support for run-at-time in timer.el.
5278           Doesn't yet work correctly for USG.
5280 1990-01-10  Jim Kingdon  (kingdon@pogo)
5282         * MACHINES: Add HP 300 running BSD.
5284 1990-01-02  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5286         * yow.c: Dynamically allocate buffer; skip header before random
5287         choice to avoid bias toward first item.
5289 1989-12-24  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5291         * etags.c (readline): Separate out init of `pend'.
5293 1989-12-17  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5295         * etags.c: Undo changes relating to isgoodhdr.
5297 1989-12-16  Mosur Mohan  (rms@sugar-bombs.ai.mit.edu)
5299         * etags.c (isgoodhdr): New macro.
5300         (_gdh, notgdh): New variable used by that.
5301         (init): Initialize _gdh.
5302         (find_entries): Set header_file.
5303         (consider_token): Use isgoodhdr if in header file.
5305         * etags.c (total_size_of_entries):
5306         Was miscalculating by 1 in rewritten case.
5308         * etags.c (PAS_funcs): One arg to pfnote was missing.
5310 1989-12-05  Joseph Arceneaux  (jla@spiff)
5312         * MACHINES: Change for the ULTRIX entry.
5314 1989-11-21  Joseph Arceneaux  (jla@spiff)
5316         * etags.c (process_file): If file is not regular, return.
5318 1989-11-06  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5320         * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
5322 1989-10-30  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5324         * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
5325         (main): If HAVE_GETLOADAVG, don't call `nlist'.
5327 1989-10-25  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5329         * etags.c (consider_token): Allow any number of typespec keywords
5330         after `typedef', before new type name.
5331         (enum sym_type): Add st_C_typespec.
5332         (C_create_stab): Put typespec kwds in table.
5334 1989-08-27  Richard Stallman  (rms@apple-gunkies.ai.mit.edu)
5336         * etags.c (main): Don't depend on name invoked by.
5337         If CTAGS is not defined, assume it is ETAGS.
5339 1989-07-31  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5341         * etags.c (L_funcs): Allow package name in define construct,
5342         as in (foo::defmumble name-defined ...).
5344 1989-07-30  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5346         * etags.c (find_entries): Stupid bug testing for C filename suffixes.
5348         * Makefile (yow): Depends on ../src/paths.h.
5350 1989-07-04  Richard Stallman  (rms@apple-gunkies.ai.mit.edu)
5352         * etags.c: Fix compilation by moving Pascal after Fortran.
5354 1989-06-15  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5356         * movemail.c [USG]: Define F_OK, etc., if not found in header.
5358 1989-05-27  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5360         * hexl.c: New file, supports hexl-mode.
5362 1989-05-14  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5364         * movemail.c: New compilation flag MAIL_USE_MMDF.
5366 1989-05-08  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5368         * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
5369         * server.c: Likewise.
5371         * make-docfile.c (scan_c_file): Output argument names at end of string.
5372         (write_c_args): New subroutine.
5374 1989-04-27  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5376         * movemail.c: Report failure of flock.
5378 1989-04-19  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5380         * etags.c (find_entries): Allow multi-letter extensions for fortran.
5382 1989-04-18  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5384         * loadst.c: on bsd4.3, use gettimeofday instead of CPUSTATES.
5386 1989-03-15  Jeff Peck  (rms@sugar-bombs.ai.mit.edu)
5388         * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
5390         * emacsstool.1: update to document environment variables.
5392 1989-02-21  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5394         * etags.c (PAS_funcs): New function by Mosur Mohan.
5396         * movemail.c: On sysv, include unistd.h.
5398 1989-02-18  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5400         * b2m.c: New file.
5402 1989-02-15  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5404         * etags.c: Prolog support from Sunichirou Sugou
5406 1989-02-03  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5408         * Makefile (clean): New target.
5410 1989-01-25  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5412         * fakemail.c (put_line): Break header lines at 79 cols.
5414 1989-01-19  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5416         * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
5417         multiple tags per line.
5419 1989-01-03  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5421         * movemail.c: Check access before doing real work.
5422         Check that outfile is in a writable directory.
5423         On fatal error, delete the lock file.
5425 1988-12-31  Richard Mlynarik  (mly@rice-chex.ai.mit.edu)
5427         * env.c:  Add decl for my-index
5428         * etags.c (file-entries): .oak => scheme
5430 1988-12-30  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5432         * movemail.c: Use `access' to check input and output files.
5434 1988-12-28  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5436         * emacsclient.c (main): Ignore all of CWD before first slash.
5438 1988-12-27  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5440         * etags.c (readline): Double linebuffer->size outside the xrealloc.
5442 1988-12-22  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5444         * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
5445         * server.c: chmod the socket to 0700.
5447 1988-12-09  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5449         * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
5450         (add_field): Delete comments and turn `<', `>' to spaces
5451         in header lines.
5452         (USE_FAKEMAIL): New customization macro says to make fakemail
5453         not be a no-op even on a BSD system.
5455 1988-12-01  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5457         * etags.c (consider_token): Skip comments just like whitespace.
5458         Notice `struct', etc. and set strtag for those tokens.
5459         Return 1 for the token following `struct' if an open-brace follows it.
5460         (C_entries): Special handling of token following `struct'
5461         needed because we have probably advanced to the following line
5462         to find the `{'.
5463         (main): New option `T' sets tflag and strflag.
5464         Set both of them by default if eflags.
5466 1988-11-30  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5468         * movemail.c: Do fsync before closing output.
5470 1988-11-29  Richard Mlynarik  (mly@pickled-brain.ai.mit.edu)
5472         * movemail.c:  Better error message when can't create tempname.
5473         This file needs a great deal of extra error-checking and lucid reporting...
5475 1988-11-16  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5477         * etags.c: Support assembler code for .s and .a files.
5478         (getit): Allow underscore in a tag.
5480 1988-11-15  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5482         * movemail.c: Close output and check errors before deleting input.
5484 1988-10-01  Richard Stallman  (rms@apple-gunkies.ai.mit.edu)
5486         * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
5487         whether to prefix it.  Handle line number args.
5489 1988-09-24  Richard Stallman  (rms@gluteus.ai.mit.edu)
5491         * etags.c (main): default setting of eflag was backwards.
5493 1988-09-23  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5495         * etags.c: New option -i.  -f renamed -o.
5496         `-' as input file means read input file names from stdin.
5497         -i spec'd or input file named TAGS means the input file is another
5498         tag table; output an "include" line for it.
5500 1988-09-19  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5502         * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
5503         New targets install, install.sysv, install.xenix.
5504         This makefile is now responsible for installing executables
5505         and documentation from this directory into system directories.
5507 1988-09-16  Richard Stallman  (rms@corn-chex.ai.mit.edu)
5509         * server.c, emacsclient.c (main): Compute socket name from euid.
5511 1988-08-04  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5513         * emacsclient.c: Args like +DIGITS are passed through unchanged.
5515 1988-07-12  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5517         * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
5518         * emacsclient.c: Likewise.
5519         In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
5521 1988-06-23  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5523         * etags.c: Handle `typedef struct foo {' (price@mcc.com).
5524         (istoken) New string-comparison macro.
5525         (consider_token): New arg `level'.  New state `tag_ok' in `tydef'.
5527 1988-06-14  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5529         * etags.c: Changes for VMS.
5530         Always define ETAGS on VMS.
5531         Define macros GOOD and BAD for success and failure exit codes.
5532         (begtk, intk): Allow `$' in identifiers
5533         (main): Don't support -B, -F or -u on VMS.
5534         Alternate loop for scanning filename arguments.
5535         (system): Delete definition of this function.
5537         * etags-vmslib.c (system): Undefine this; VMS now provides it.
5539 1988-06-08  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
5541         * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
5542         around include of param.h.  (Like fns.c.)
5544 1988-05-16  Richard Stallman  (rms@frosted-flakes.ai.mit.edu)
5546         * loadst.c (load_average): Move load-average code to this new fn.
5547         Add conditionals to compute load ave on UMAX.
5549 1988-05-14  Richard Stallman  (rms@lucky-charms.ai.mit.edu)
5551         * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
5552         with opposite sense.
5554 1988-05-13  Chris Hanson  (cph@kleph)
5556         * emacsclient.c: Delete references to unused variable `out'.  This
5557         caused a bus error when used under hp-ux.
5559 1988-05-06  Richard Stallman  (rms@frosted-flakes.ai.mit.edu)
5561         * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
5563 1988-05-04  Richard Stallman  (rms@rice-krispies.ai.mit.edu)
5565         * etags.c (find_entries): `.t' or `.sch' means scheme code.
5567 1988-04-29  Richard Stallman  (rms@frosted-flakes.ai.mit.edu)
5569         * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
5571 1988-04-28  Richard Stallman  (rms@frosted-flakes.ai.mit.edu)
5573         * movemail.c: #undef close, since config can #define it on V.3.
5574         * emacsclient.c, fakemail.c, loadst.c, server.c: likewise.
5576 1988-04-26  Richard Stallman  (rms@lucky-charms.ai.mit.edu)
5578         * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
5579         invalid escape sequences such as `\{'.
5581         * loadst.c: Add `sequent' conditional for file dk.h.
5583 1988-03-20  Richard M. Stallman  (rms@wilson)
5585         * server.c [not BSD and not HAVE_SYSVIPC]: fix error message.
5587         * loadst.c (main) [XENIX]: use /usr/spool/mail, not /usr/mail.
5589 ;; Local Variables:
5590 ;; coding: iso-2022-7bit
5591 ;; End:
5593     Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
5594         1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004
5595         Free Software Foundation, Inc.
5596   Copying and distribution of this file, with or without modification,
5597   are permitted provided the copyright notice and this notice are preserved.
5599 ;;; arch-tag: 2d979296-954c-448e-95c1-b46d134513dc