1 2002-04-13 Francesco Potorti` <pot@gnu.org>
3 * etags.c (find_entries): Delete tags previously obtained from
4 file xxx.c's #line directives when parsing file xxx.y. This is
5 generally done for automatically generated files containing
6 #line directives. This handles the case when xxx.y is tagged
7 before xxx.c, and the entries of xxx.c pointing to xxx.y should
9 (language): Added the metasource member. Initializers changed.
10 (invalidate_nodes): New function.
11 (readline): Discard lines after having found a #line
12 directive pointing to an already tagged file. This handles the
13 case when xxx.y is tagged before xxx.c, and the entries of
14 xxx.c pointing to xxx.y should be discarded.
15 (fdesc): New structure for keeping track of input files.
16 (fdesc): Remove `file' member (a string) and use instead a pointer
17 to a file description structure.
18 (curfile, curfiledir, curtagfname, curlang, nocharno,
19 forced_lang): Global variables removed in favor of fdhead and
20 curfdp, pointers to file description strucures.
21 (longopts, main, print_help): Use the CTAGS conditional to include
22 or exclude options that work on etags or ctags only.
23 (process_file, find_entries, pfnote, add_node, put_entries,
24 readline): Use fdhead and curfdp.
25 (process_file, find_entries): Do not take an arg string, all
28 * etags.c (longopts, print_help, main): Test CTAGS to disallow
29 options that are not right for either etags or ctags.
31 * etags.c (number_len, total_size_of_entries): Define them also
32 in CTAGS mode, because gcc does not compile all refs away.
34 2002-04-14 Colin Walters <walters@debian.org>
36 * update-game-score.c (lock_file): If the lock file is older than
37 an hour, delete it. Reset attempts to zero if we have to break
40 2002-04-14 Andreas Schwab <schwab@suse.de>
42 * update-game-score.c (read_score): Fix type of second parameter
43 of getdelim to be of type size_t instead of int. Use 0 instead of
46 2002-04-10 Colin Walters <walters@verbum.org>
48 * update-game-score.c: (toplevel): Include stdarg.h.
49 (MAX_DATA_LEN, MAX_SCORES): New.
50 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
51 default to ~/.emacs.d/games.
52 (get_user_id): Don't zero uid in the case where we can't get the
55 (main): Actually use `max', and default it to MAX_SCORES.
56 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
58 (read_score): Handle the case of reading unamelen characters, then
59 finishing. Use mktemp if mkstemp isn't available.
60 (lock_file, unlock_file): Delete unused versions.
61 (lock_file): Always sleep, even if we unlinked the lock file.
63 * Makefile.in (gamedir, gameuser): New variables.
64 (toplevel, UTILITIES): Add update-game-score.
65 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
67 2002-04-07 Colin Walters <walters@verbum.org>
69 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
70 (get_user_id): Take struct passwd as an argument.
71 (get_home_dir): New function.
72 (main): Read in user information here. Discover home directory if
74 (read_score): Trim newline only in `getline' case.
76 2002-04-05 Colin Walters <walters@debian.org>
78 * update-game-score.c (toplevel): Include pwd.h.
79 (struct score_entry): Add username field.
81 (get_user_id): New function.
82 (main): Don't malloc excessively.
83 (main): Use username field.
84 (read_score): Read it.
85 (push_score): Handle it.
86 (write_scores) Write it.
87 (read_score): Handle arbitrary length data.
89 2002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
91 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
93 2002-03-29 Gerd Moellmann <gerd@gnu.org>
95 * ebrowse.c (add_declarator, skip_initializer): New functions.
96 (declaration): Use them.
98 2002-03-28 Jason Rumney <jasonr@gnu.org>
100 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
102 2002-03-27 Colin Walters <walters@debian.org>
104 * update-game-score.c: New file.
106 2002-03-22 Paul Eggert <eggert@twinsun.com>
108 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
109 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
112 2002-03-12 Francesco Potorti` <pot@gnu.org>
114 * etags.c (Python_functions): Skip spaces at beginning of lines.
115 (Python_functions, PHP_functions): Name tags, for ctags' sake.
116 (TeX_commands): Name tags. Correction of old disabled code.
118 * etags.c (curfiledir, curtagfname): New global variables.
119 (process_file): Initialise them.
120 (readline): Canonicalize the name found in #line directive.
122 2002-03-06 Jason Rumney <jasonr@gnu.org>
124 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
125 compilers that don't optimize out dead code.
127 2002-03-05 Francesco Potorti` <pot@gnu.org>
129 * etags.c: Honour #line directives.
130 (no_line_directive): New global var; set it for old behaviour.
131 (main): Remove some #ifdef in the getopt switch.
132 (add_node, put_entries): Code added to merge different chunks of
133 nodes referring to the same file. Currently the tags are just
134 appended, without any check for duplicates.
135 (Perl_functions): Do not special case ctags.
136 (readline): Identify #line directives and do the right thing.
137 (nocharno, invalidcharno): New global vars.
138 (process_file): Reset nocharno.
139 (readline): Set nocharno.
140 (pfnote): Read nocharno and maybe put invalidcharno in node.
141 (total_size_of_entries, put_entries): Use invalidcharno.
143 * etags.c: Keep the whole tag table in memory, even in etags mode.
144 (main): Call put_entries here even in CTAGS mode.
145 (main, process_file): Check the return values of fclose and pclose.
146 (process_file): Do not call put_entries after parsing each file.
147 (process_file): Canonicalise file names even for ctags.
148 (process_file): Set curfile here...
149 (find_entries): ... not here any more.
150 (add_node): In etags mode, build a linked list of entries (on
151 right pointer) for each file, and link the first entry of each
153 (put_entries): Print here the name of the file.
154 (put_entries): Print the entries starting from the first file.
155 (number_len, total_size_of_entries): Define these only in etags
156 mode, make the second work only on the right nodes.
158 * etags.c: Make all global variables static.
160 2002-02-25 Juanma Barranquero <lektu@terra.es>
162 * makefile.w32-in (lisp): Add missing backslash.
164 2002-02-24 Jason Rumney <jasonr@gnu.org>
166 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
168 (lisp): Sync with list in src/Makefile.in
169 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
171 2002-02-10 Paul Eggert <eggert@twinsun.com>
173 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
174 disallows the old syntax.
176 2002-02-03 Paul Eggert <eggert@twinsun.com>
178 * rcs2log(Copyright): Update to 2002.
179 (AWK, TMPDIR): Work around portability problem in broken shells that
180 don't understand `: ${VAR=val}'.
181 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
182 Prefer the new -k option to the traditional +M -N option.
184 2002-01-01 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
186 * b2m.c (main): Parenthesize assignment when used as truth value
187 to prevent gcc warnings.
189 * fakemail.c: Include <config.h>.
191 2001-12-29 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
193 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
194 * yow.c: Include <config.h>.
196 2001-12-21 Francesco Potorti` <pot@gnu.org>
198 * etags.c (Perl_functions): Tag packages and use them in sub tags.
199 (get_tag): Return a pointer to the tag that is found.
201 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
202 (F_takeprec): Renamed from takeprec. All callers changed.
203 (F_getit): Renamed from getit. All callers changed.
204 (nocase_tail): Renamed from tail. All callers changed.
205 (Ada_getit): Renamed from adagetit. All callers changed.
206 (L_getit): Simplified by using get_tag.
207 (Perl_functions, Postscript_functions, erlang_attribute): Use the
209 (notinname): Removed '[' and added ')' to the recognised chars.
210 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
211 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
212 Clarified, using strneq or notinname.
213 (L_isdef, L_isquote): Removed.
214 (Lisp_functions, L_getit): Clarified.
216 * etags.c: (P_): Renamed to __P for consistency with config.h.
217 [HAVE_CONFIG_H]: Let config.h deal with __P.
218 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
219 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
221 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with Xemacs).
222 [HAVE_CONFIG_H] [!__P]: Define __P (for use with Xemacs).
223 (xmalloc, xrealloc): Use PTR instead of long *.
224 (bool): Make it a define, not a typedef, for C++ compilers.
225 (pattern): Members renamed to avoid name clash in some C++ compilers.
226 (get_language_from_langname): Use const argument.
228 2001-12-22 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
230 * makefile.nt, makefile.w32-in: Remove mocklisp files.
232 2001-12-19 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
234 * emacsserver.c: Conditionally include config.h.
236 * fakemail.c: Likewise.
238 * emacsclient.c: Include "config.h", not <../src/config.h>.
239 (main): Parenthesize assignment when used as truth value to
240 prevent gcc warnings.
242 * ebrowse.c: Include stdlib.h and string.h conditionally.
244 2001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
246 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
248 2001-12-18 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
250 * test-distrib.c: Fix previous change.
252 2001-12-18 Dave Love <fx@gnu.org>
254 * test-distrib.c: Conditionally include fcntl.h.
256 * fakemail.c: Include "config.h", not <../src/config.h>.
257 (_XOPEN_SOURCE): Define as 500.
259 * emacsserver.c: Include "config.h", not <../src/config.h>.
261 * cvtmail.c: Include config.h, stdlib.h.
262 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
264 * yow.c: Conditionally include various headers. Use "epaths.h",
265 not <../src/epaths.h>.
266 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
268 2001-12-12 Francesco Potorti` <pot@gnu.org>
270 * etags.c (PHP_functions): New function for parsing PHP.
271 (LOOKING_AT): New macro.
272 (Perl_functions, Python_functions, PHP_functions)
273 (Scheme_functions, Texinfo_nodes): Use it.
274 (Perl_functions): Use strneq.
275 (prolog_pred): Renamed to prolog_pr.
276 (prolog_pr): Recognise Prolog rules in addition to predicates.
277 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
278 unmodified compile, as Cygwin's regex.h is incompatible with us.
279 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
281 2001-12-11 Richard M. Stallman <rms@gnu.org>
283 * Makefile.in (clean): Don't delete ../etc/DOC*.
285 2001-12-11 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
287 * COPYING: Moved back.
289 2001-11-30 Andrew Innes <andrewi@gnu.org>
291 * makefile.w32-in (FACE_SUPPORT):
295 (lisp): Reference .el files instead of .elc files, to simplify
297 ($(DOC)): Change dependency to just `make-docfile'.
299 2001-11-29 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
303 2001-11-28 Paul Eggert <eggert@twinsun.com>
305 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
307 The following changes are derived from suggestions by Bob Chapman
308 <rechapman@compuserve.com>.
310 * rcs2log (printlogline): Also allow tab and newline to separate
311 '(function):' from the rest of a comment.
312 (reformat the sorted log entries): Require date and author to
315 2001-11-16 Gerd Moellmann <gerd@gnu.org>
317 * ebrowse.c (matching_regexp): Escape '\\'.
319 2001-11-15 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
321 * Makefile.in: Add support for --program-prefix, --program-suffix
322 and --program-transform-name options.
324 2001-11-03 Richard M. Stallman <rms@gnu.org>
326 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
328 * movemail.c (popmail): Always pass two args to `error'.
330 2001-10-24 Ken Raeburn <raeburn@gnu.org>
332 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
333 -lhesiod and maybe -lresolv.
334 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
335 support if it's available.
337 2001-10-21 Miles Bader <miles@gnu.org>
339 * make-docfile.c (struct rcsoc_state): New type.
340 (read_c_string_or_comment): Add SAW_USAGE
341 parameter, and implement scanning for a `usage:' keyword.
342 Use a variable of type `rcsoc_state' to hold most of our state.
343 (put_char): Add STATE parameter, and remove all other parameters
344 except CH. Use STATE to get access to all needed state.
345 (scan_keyword_or_put_char): New function.
346 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
347 Don't output a usage-string if there was one in the doc-string.
349 2001-10-20 Gerd Moellmann <gerd@gnu.org>
351 * (Version 21.1 released.)
353 2001-10-19 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
355 * b2m.c: Properly spell the name of Emacs.
357 2001-10-17 Miles Bader <miles@gnu.org>
359 * make-docfile.c (put_char): New function.
360 (read_c_string_or_comment): Strip trailing spaces and newlines.
362 2001-10-16 Miles Bader <miles@gnu.org>
364 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
365 comments [with `doc:' keyword prefix].
367 2001-10-15 Gerd Moellmann <gerd@gnu.org>
369 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
372 2001-10-13 Gerd Moellmann <gerd@gnu.org>
374 * make-docfile.c (read_c_string_or_comment): Renamed from
375 read_c_string. Add parameter COMMENT. Read C-style comments.
376 (scan_c_file): Handle doc strings in C comments.
378 2001-10-12 Andrew Innes <andrewi@gnu.org>
380 * makefile.nt (ALL): Do not include fakemail.
382 * makefile.w32-in (install): Do not copy fakemail.
384 2001-10-10 Jason Rumney <jasonr@gnu.org>
386 * makefile.w32-in (ALL) Do not include fakemail.
388 * makefile.nt (install) Ditto.
390 2001-10-09 Gerd Moellmann <gerd@gnu.org>
392 * emacsserver.c (main): Cast geteuid in sprintf to int.
394 * emacsclient.c (main): Cast isdigit argument to unsigned char.
396 2001-10-07 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
398 * profile.c: Include config.h, not ../src/config.h.
399 Include systime.h, not ../src/systime.h.
401 2001-10-05 Gerd Moellmann <gerd@gnu.org>
405 2001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
407 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
408 ALIASEE to help work with namespace aliases.
409 (struct sym): Remove struct member NAMESP_ALIASES.
410 (namespace_alias_table): New variable.
411 (make_namespace): Add parameter CONTEXT.
412 (check_namespace): New function.
413 (find_namespace): Add parameter CONTEXT.
414 (check_namespace_alias): New function.
415 (register_namespace_alias): Change type of parameter
416 OLD_NAME. Search for already defined alias in
417 NAMESPACE_ALIAS_TABLE.
418 (check_namespace): New function.
419 (enter_namespace): Call find_namespace with CONTEXT parameter.
420 (match_qualified_namespace_alias): New function.
421 (parse_qualified_ident_or_type): Fixed typo in comment. While
422 parsing qualified ident or type update namespace context and
424 (parse_qualified_param_ident_or_type): Fixed typo in comment.
425 (globals): Changed handling of namespace aliases.
426 (version): Added year 2001.
428 2001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
430 * etags.c (analyse_regex): If regex_arg is NULL, return
431 immediately after a call to free_patterns.
433 2001-09-05 Paul Eggert <eggert@twinsun.com>
435 * rcs2log (Help, mainline code): Add new option -L FILE.
436 (Copyright): Update year.
437 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES,
438 LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
440 (mainline code): Handle nonstandard -u option differently, by
441 transforming it to standard form. Check for "Working file: ", not
442 "Working file:". Allow file names with spaces.
443 (SOH, rlogfile): New shell vars.
444 (rlogout): Remove. Its old functionality is mostly migrated to
447 Append ';;' to the last arm of every case statement, for
448 portability to ancient broken BSD shells.
450 (logins): Fix bug; was not being computed at all, lowering
452 (pository): New var. This fixes some bugs where repositories are
453 remote, or have trailing slashes.
454 (authors): $llogout is never an empty shell var, so don't worry
455 about that possibility.
456 (printlogline, mainline code): Fix bug with SOH's being put into
459 2001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
461 * ebrowse.c (SEEK_END): #define if not defined by system headers.
462 Suggested by Dave Love <d.love@dl.ac.uk>.
464 2001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
466 * makefile.nt (lisp): Synchronize with src/Makefile.in.
467 * makefile.w32-in (lisp): Ditto.
469 2001-07-25 Juanma Barranquero <lektu@terra.es>
471 * grep-changelog (parse_changelog): Remove unused local variable.
473 * grep-changelog (main): Add new option --reverse.
475 (parse_changelog): Use it.
477 2001-07-20 Gerd Moellmann <gerd@gnu.org>
479 * grep-changelog: Remove RCS Id keyword.
481 2001-07-20 Juanma Barranquero <lektu@terra.es>
483 * grep-changelog (parse_changelog): Add tests for defined values
484 to quiet warning from Perl 5.005 or above.
485 (entry_match_p, header_match_p): Fix handling of null or empty
486 argument to prevent duplicate headers.
488 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
490 2001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
492 * emacsclient.c (print_help_and_exit): Fix help message for
495 2000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
497 * emacsclient.c (main): Add support for +LINE:COLUMN command line
500 2001-07-16 Gerd Moellmann <gerd@gnu.org>
502 * ebrowse.c (main): Check that the output file exists and
503 is non-empty if invoked with `--append'.
505 2001-05-14 Francesco Potorti` <pot@gnu.org>
507 * etags.c (add_regex): Reset the whole newly allocated pattern
508 buffer instead of the individual members. It's safer and works
511 * etags.1: Markups corrected.
513 2001-05-08 Gerd Moellmann <gerd@gnu.org>
515 * ebrowse.c (enter_namespace): Fix reallocation of
518 2001-05-03 Gerd Moellmann <gerd@gnu.org>
520 * ebrowse.c (globals): Fix handling of namespace aliases.
522 2001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
524 * etags.c (print_help): Enclose the regexp in the help text
527 2001-04-05 Dave Love <fx@gnu.org>
529 * emacsclient.c (fail): Don't return a value.
530 (main): Cast uid values for sprintf.
532 2001-04-03 Gerd Moellmann <gerd@gnu.org>
534 * emacsclient.c (fail, main): Don't use implicit int return type.
536 * b2m.c (main): Always return a value.
538 2001-03-02 Gerd Moellmann <gerd@gnu.org>
540 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
541 freshly allocated object in *LAST_ID.
542 (read_line): Accept \r\n line endings.
544 2001-02-24 Andrew Innes <andrewi@gnu.org>
546 * makefile.w32-in: Fix copyright notice.
548 2001-02-23 Francesco Potorti` <pot@gnu.org>
550 * etags.c (enum sym_type): New label st_C_template.
551 (gperf input): Use it for switching to C++ from C.
552 (consider_token): Do it.
553 (C_entries): Initialise typdefcblev to quiet compilers.
554 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
556 2001-02-22 Andrew Innes <andrewi@gnu.org>
558 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
560 ($(BLD)\profile.obj): Ditto.
562 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
564 ($(BLD)/profile.$(O)): Ditto.
566 2001-02-05 Andrew Innes <andrewi@gnu.org>
568 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
569 invocation of make-docfile, to work with Windows 2000.
571 2001-01-31 Dave Love <fx@gnu.org>
573 * etags.c (in_word_set): Use `static' in definition (for pcc).
575 2001-01-31 Francesco Potorti` <pot@gnu.org>
577 * etags.c: [NDEBUG] #undef assert and #define it as ((void)0), for
578 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
579 (C_entries): Tag token renamed to still_in_token because sunos4
580 pcc wants to expand it as the token() macro even though it has no
583 2001-01-30 Andrew Innes <andrewi@gnu.org>
585 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
586 bug in the Mingw32 assert.h header file.
588 2001-01-30 Francesco Potorti` <pot@gnu.org>
590 * etags.c: [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
591 #define it for the sake of Xemacs.
592 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
593 HAVE_CONFIG_H. This change only affects a standalone etags.
594 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
595 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
596 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
597 [!HAVE_UNISTD_H]: use defined(WINDOWSNT) instead of the bare
598 WINDOWSNT, as this is the correct way to use it.
600 2001-01-28 Francesco Potorti` <pot@gnu.org>
602 * etags.c: Be capable to parse nested struct-like structures.
603 (structdef, structtag): Struct state machine revisited.
604 (struct tok): Revisited.
605 (cstack, nestlev, instruct): New struct and macros.
606 (pushclass_above, popclass_above, write_classname): New functions
607 for dealing with nested class names.
608 (consider_token, make_C_tag, C_entries): Many changes for dealing
609 with arbitrarily nested structures.
610 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
611 (C_entries): Consider templates in C++.
612 (sym_type): New constant st_C_class for detecting "class" also in
614 (C_AUTO): New macro for automatic detection of C++.
615 (consider_token): Automatic set C++ mode.
616 (C_entries): New security check for yacc.
617 (print_language_names, print_help): Mention the autodetect
618 feature, do not show help for the -C option, now mostly useless.
619 (C_entries): Tag C++ forward declarations if --declarations.
620 (C_entries): Don't be fooled by things like XDEFUN.
621 (consider_token): Discard asm pseudo function.
623 2001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
625 * etags.c: Add a coding: tag.
627 2001-01-26 Gerd Moellmann <gerd@gnu.org>
629 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
631 (matching_regexp): Use them instead of static variables in
634 2001-01-25 Francesco Potorti` <pot@gnu.org>
636 * etags.c (struct tok): Renamed from struct token.
637 (token): Renamed from tok.
638 (structtype): Make it a local variable.
640 (xrnew): Change the synopsis.
641 (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
642 (grow_linebuffer): Don't call xrnew when not needed.
643 (token): buffer renamed to line.
644 (C_entries): Three calls to inibuffer moved here from main.
645 (C_entries): Removed all references to var methodlen, delete it.
646 (linebuffer_setlen): Was grow_buffer, now also sets len.
647 (consider_token, C_entries, Pascal_functions): Use it.
648 (C_entries): Preventing problems relative to extern "C".
649 (C_entries): Can tag more than one variable or func separated by
650 comma when --declarations is used.
651 (C_entries): More accurate tagging of members and declarations.
652 (yacc_rules): Was global, made local to C_entries.
653 (next_token_is_func): Removed.
654 (fvdef): New constants fdefunkey, fdefunname.
655 (consider_token, C_entries): Use them.
656 (C_entries): Build proper lisp names for Emacs DEFUNs.
658 2001-01-22 Gerd Moellmann <gerd@gnu.org>
660 * ebrowse.c (xfree): New function.
661 (member, declaration, globals): Use xmalloc instead of alloca.
663 2001-01-15 Francesco Potorti` <pot@gnu.org>
665 * etags.c (print_language_names): Print filenames in addition to
668 2001-01-14 Francesco Potorti` <pot@gnu.org>
670 * etags.c (get_language_from_langname): Renamed from
671 get_language_from_name.
672 (get_language_from_filename): Renamed from
673 get_language_from_suffix. Now first looks for the complete file
675 (language): New member char **filenames.
676 (Makefile_filenames): List of possible filenames for makefiles.
677 (lang_names): Added a NULL member for every entry, added an entry
679 (Makefile_targets): New function.
680 (Texinfo_nodes): Renamed from Texinfo_fuctions and made
681 it conformant to the style of the rest of the code.
683 2001-01-13 Gerd Moellmann <gerd@gnu.org>
685 * make-docfile.c (write_c_args): Print newlines as spaces.
687 2001-01-06 Andrew Innes <andrewi@gnu.org>
689 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
692 2001-01-03 Paul Eggert <eggert@twinsun.com>
694 * lib-src/rcs2log: Avoid security hole allowing attacker to
695 cause user of rcs2log to overwrite arbitrary files, fixing
696 a bug reported by Morten Welinder.
698 Don't put "exit 1" at the end of the exit trap; it's
699 ineffective in POSIX shells.
701 2001-01-02 Gerd Moellmann <gerd@gnu.org>
703 * ebrowse.c (yyerror): Changed to take two arguments. Prototype
704 added. Callers changed.
706 2001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
708 * ebrowse.c (enter_namespace, main): Cast variables to shut up
710 (yyerror): Change parameter declarations to be of type long, so
711 that they can take pointers on 64-bit platforms.
713 * emacsclient.c (main): Remove unused local variable statbfr.
714 (main) <homedir>: Make its declaration conditional on
715 SERVER_HOME_DIR, to avoid compiler warnings.
717 * emacsserver.c (main) <homedir>: Make its declaration conditional
718 on SERVER_HOME_DIR, to avoid compiler warnings.
720 * fakemail.c (readline): Cast buffer to "long *" to pacify
721 over-zealous compilers.
723 2000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
725 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
727 2000-12-15 Gerd Moellmann <gerd@gnu.org>
729 * ebrowse.c (operator_name): Cast argument of isalpha to
732 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
733 Use them throughout instead of ctype functions/macros.
734 (lowcase): Cast to unsigned char.
736 (canonicalize_filename): Use UPCASE instead toupper.
738 * fakemail.c (get_keyword): Make sure that isspace and
739 similar aren't called with a negative argument.
741 2000-12-13 Dave Love <fx@gnu.org>
743 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
745 2000-12-06 Andrew Innes <andrewi@gnu.org>
747 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
748 don't know the real version, and I can't seem to get the quoting
749 right in all circumstances.
751 * ebrowse.c (VERSION): Provide default definition, like etags.c
752 does, because Windows build can't snarf this from version.el.
754 2000-11-30 Andrew Innes <andrewi@gnu.org>
756 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
759 2000-11-23 Jason Rumney <jasonr@gnu.org>
761 * makefile.w32-in: Add targets for ebrowse.exe.
762 (LOCAL_FLAGS): Add -DVERSION flag.
764 2000-09-25 Dave Love <fx@gnu.org>
766 * sorted-doc.c: Include config.h.
767 [!HAVE_STDLIB_H]: Declare malloc.
769 2000-09-14 Andrew Innes <andrewi@gnu.org>
771 * makefile.w32-in: Revert to Unix line endings.
773 2000-09-04 Dave Love <fx@gnu.org>
775 * movemail.c (index, rindex): Prototype conditionally.
777 2000-09-03 Andrew Innes <andrewi@gnu.org>
779 * makefile.w32-in: Change to DOS line endings.
781 2000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
783 * movemail.c (toplevel): Remove redundant fcntl.h.
784 [!F_OK]: Provide default definitions only after including both
785 fcntl.h and unistd.h.
787 2000-08-29 Dave Love <fx@gnu.org>
789 * movemail.c: Revert previous change.
791 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
793 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
795 2000-08-28 Dave Love <fx@gnu.org>
797 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
798 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
800 2000-08-22 Andrew Innes <andrewi@gnu.org>
802 * ntlib.h (WIN32): Remove unnecessary definition.
803 (sleep): Make argument unsigned long.
804 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
806 * ntlib.c (sleep): Make argument unsigned long.
808 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
810 * makefile.w32-in: New file.
812 2000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
814 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
815 letter only if it is a drive letter.
817 2000-07-14 Gerd Moellmann <gerd@gnu.org>
819 * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and
822 * etags.c (xmalloc, xrealloc): Make externally visible, for use
825 * Makefile.in (alloca.o): Add -Demacs so that alloca will use
828 2000-07-10 Gerd Moellmann <gerd@gnu.org>
830 * ebrowse.c (yylex): Accept string literals with newlines in them.
831 (process_pp_line): Handle case of string literal with newline
832 in it in replacement text, which counts as continuing the
833 replacement text in GNU C.
835 2000-07-02 Gerd Moellmann <gerd@gnu.org>
837 * ebrowse.c (token_string): Add missing tokens.
838 (parm_list): Handle case of qualified pointers.
840 2000-06-23 Dave Love <fx@gnu.org>
842 * ebrowse.c: Move config.h before other includes (which may use
845 2000-06-14 Jim Meyering <meyering@lucent.com>
847 * grep-changelog: Fix typos in comments. Remove trailing blanks.
849 2000-06-11 Jason Rumney <jasonr@gnu.org>
851 * makefile.nt: Add targets for ebrowse.
853 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
856 2000-06-06 Gerd Moellmann <gerd@gnu.org>
858 * ebrowse.c (ymalloc): Renamed from xmalloc.
859 (yrealloc): Renamed from xrealloc.
861 2000-05-21 Dave Love <fx@gnu.org>
863 * movemail.c: Include config.h, not ../src/config.h.
864 (Errmsg): Bump length.
866 * pop.c (ERROR_MAX): Increase to 160.
868 2000-05-04 Gerd Moellmann <gerd@gnu.org>
870 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
872 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
874 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]: Define
876 (FILENAME_EQ): New macro, for comparing file names.
877 (add_member_decl, add_global_decl, add_member_defn): Use
879 (process_file): Don't assume that fread always reads as many bytes
880 as it was told to (DOS-style CR-LF text files fail this logic).
881 (open_file): Allocate enough space for path->path plus the file
884 2000-04-19 Dave Love <fx@gnu.org>
886 * etags.c (Texinfo_functions): New function.
887 (lang_names): Install it.
888 (Texinfo_suffixes): New variable.
890 2000-04-19 Gerd Moellmann <gerd@gnu.org>
892 * ebrowse.c (xmalloc, xrealloc): Rewritten.
893 (declaration): Remove parameter IS_EXTERN.
894 (class_definition): Remove unused variable.
896 2000-04-09 Gerd Moellmann <gerd@gnu.org>
898 * Makefile.in (INSTALLABLES): Add ebrowse.
899 (ebrowse): New target.
901 * ebrowse.c: New file.
903 2000-03-29 Andreas Schwab <schwab@suse.de>
905 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
907 2000-03-02 Gerd Moellmann <gerd@gnu.org>
909 * etags.c (lisp_suffixes) Add `LSP'.
911 2000-02-10 Francesco Potorti` <pot@gnu.org>
913 * etags.c (iswhite): Redefined not to consider '\0' as white
914 space, and use it throughout in place of isspace, thus preventing a
915 potential signed char to int conversion problem.
916 (MSDOS): #undefine befere redefining
918 2000-02-04 Francesco Potorti` <pot@gnu.org>
920 * etags.c (many functions): Add prototypes.
922 2000-02-10 Dave Love <fx@gnu.org>
924 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
925 (erlang_func): Add `static' to definitions to keep pcc happy.
927 2000-01-31 Francesco Potorti` <pot@gnu.org>
929 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
930 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
931 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
932 (getenv, getcwd): Only declare them if necessary.
933 (EMACS_NAME): New constant macro.
934 (print_version): Use it.
935 (P_) [__STDC__]: Macro for defining function prototypes.
937 2000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
939 * etags.c [WINDOWSNT]: #include <direct.h>
941 2000-01-18 Martin Buchholz <martin@xemacs.org>
943 * etags.c (all functions): Made them static.
944 (all functions): Write prototypes.
946 2000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
948 * movemail.c (main): Improve error message if can't create lock file.
950 2000-01-28 Eric Hanchrow <offby1@blarg.net>
952 * emacsclient.c (socket_status): New function.
953 (main): if $LOGNAME or $USER exist and differ from our euid, look
954 for a socket based on the UID associated with the name.
956 2000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
958 * emacsclient.c: Add option -a EDITOR and environment variable
959 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
961 1999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us>
963 * movemail.c (popmail): Allow mailbox specifications of the
964 form `po:username:hostname'.
966 1999-11-19 Francesco Potorti` <pot@gnu.org>
968 * etags.c (_GNU_SOURCE): Define only if undefined.
969 (get_scheme): Declaration deleted.
970 (main): error was called with an integer as second arg, instead of
972 (canonicalize_filename): Bug removed.
974 1999-11-18 Dave Love <d.love@dl.ac.uk>
976 * etags.c (C_entries): Rename label `intoken', avoiding K&R
977 lossage from name clash with macro.
979 1999-11-13 Gerd Moellmann <gerd@gnu.org>
981 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
983 1999-11-03 Gerd Moellmann <gerd@gnu.org>
985 * etags.c (print_help): Change email address to send bugs to.
987 1999-11-01 Francesco Potorti` <pot@gnu.org>>
989 * etags.c: Add suffix psw for PSWrap.
990 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
991 (Postscript_functions): Add code for PSWrap.
992 (Scheme_functions): Use local pointer and new get_tag function.
993 (get_tag): New name for old get_scheme.
994 (process_file): Do not free NULL when file does not exist.
995 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
996 (C_entries): Modifications that make --members tag even inside
997 typedefs and C nested structs (one level only).
998 (consider_token): Corrected a bug which prevented tagging of enum
1000 (C_stab_entry): Added if, for, while, switch, return as
1001 st_C_ignore. This makes it simpler to work when cblev!=0.
1003 * etags.c (C_entries): tag member function declarations when
1004 --declarations is used.
1006 * etags.c (C_entries, consider_token): C++ `operator' now is
1007 tagged in most cases.
1008 As before, :: is not recognised if surrounded by spaces.
1010 * etags.c (relative_filename): Account for DOS file names such
1011 that is impossible to make one relative to another.
1013 * etags.c (sym_type): New st_C_extern tag.
1014 (gperf input): Use it for spotting external declarations.
1015 (print_help): Document the new behaviour of --declarations.
1016 (fvextern): New global variable.
1017 (consider_token, C_entries): Use it.
1019 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
1020 (etags_getcwd): Remove test for WINDOWSNT.
1022 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
1023 foo.cgz, foo.cz, etc.
1025 * etags.c (declarations): New global switch.
1026 (longopts): Describe it.
1027 (print_help): Document it.
1028 (C_entries): Use it.
1029 (process_file): Don't process a file twice.
1031 * etags.c (Fortran_functions): No tags for "procedure".
1033 1999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
1035 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
1036 non-zero, returns a pointer to where the extension begins; callers
1038 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
1041 1999-11-01 Francesco Potorti` <pot@gnu.org>
1043 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
1044 (fvdev): New constant foperator.
1045 (consider_token): Use it to get "operator" in C++.
1046 (C_entries): Extend length of operator@ function name.
1047 (C_entries): Use foperator when necessary.
1049 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
1051 * etags.c (compressor): New struct for compressed files.
1052 (get_compressor_from_suffix): New function.
1053 (get_language_from_suffix): Use it. Also, semantics changed.
1054 (process_file): Consider compressed files, close file.
1055 (find_entries): Use different call arg for get_language_from_suffix,
1058 * etags.c (main): Call free_tree.
1059 (find_entries): Do not free curfile.
1060 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
1061 (prolog_pred, erlang_func, substitute): Cast strlen to int when
1063 (canonicalize_filename): Shut up compiler warning.
1064 (Perl_functions): Make tag significant.
1066 1999-11-01 Dave Love <d.love@dl.ac.uk>
1068 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
1069 (argument_type): New member at_icregexp.
1070 (lc_trans): New global.
1071 (main): Fill lc_trans. Process -c args.
1072 (add_regex): New arg determining whether to use translation table.
1073 (analyse_regex): New arg. Use it for add_regex.
1075 1999-11-01 Francesco Potorti` <pot@gnu.org>
1077 * etags.c (init): Cosmetic change: NULL --> '\0'.
1078 (erlang_attribute): Bug corrected (uninitialized variable).
1079 (filename_is_absolute): New function replaces absolutefn macro and
1080 corrects a bug. All callers changed.
1081 (canonicalize_filename): New function.
1082 (process_file, etags_getcwd, absolute_dirname): Use it.
1083 (relative_filename, absolute_filename): Removed var shadowing.
1084 (C_entries, Pascal_functions): Add fake initializations to keep
1086 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
1088 * etags.c (xrnew): New macro. All callers of xrealloc changed.
1089 (language): New typedef (was struct lang_entry).
1090 (curlang): New global variable.
1091 (node): typedef renamed from NODE.
1092 (linebuffer): New typedef (was struct linebuffer).
1093 (pattern): New typedef (was struct pattern). Some members added.
1094 Now used as element of a linked list.
1095 (patterns, num_patterns): Global variables deleted.
1096 (p_head): New global variable.
1097 (forced_lang): New global variable (replaces lang_func).
1098 (get_language_from_name, get_language_from_interpreter,
1099 get_language_from_suffix): Semantics changed. All callers changed.
1100 (last_node): New global variable.
1101 (free_tree, add_node, put_entries, total_size_of_entries): Change
1102 name of local vars to avoid clashes with typedef node.
1103 (number_len): Rewritten for elegance.
1104 (token): New typedef replaces TOKEN.
1105 (analyse_regex, add_regex): Rewritten for new functionality.
1106 (free_patterns): New function called from main and add_regex.
1107 (initbuffer, readline_internal, readline, grow_linebuffer):
1108 Change name of local vars to avoid clashes with typedef
1110 (readline): Rewritten for new functionality.
1112 * etags.c: (Scheme_suffixes): New suffix ".ss".
1113 (print_help): --globals is now used for more than C-type languages.
1114 (Perl_functions): Tag global variables ("my" and "local").
1116 * etags.c (print_help): Some messages clarified.
1117 (LOOP_ON_INPUT_LINES): New macro.
1118 (just_read_file, Fortran_functions, Asm_labels, Perl_functions,
1119 Python_functions, Cobol_paragraphs, Pascal_functions,
1120 Lisp_functions, Postscript_functions, Scheme_functions,
1121 TeX_functions, Prolog_functions, Erlang_functions): Use it.
1122 (Cobol_paragraphs, Postscript_functions, TeX_functions,
1123 Prolog_functions, Erlang_functions): Use a local variable instead
1124 of the global variable dbp.
1125 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
1126 standard indentation.
1128 * etags.c (Python_suffixes, lang_names, Python_functions): Python
1130 (skip_spaces, skip_non_spaces): Utility functions.
1131 (find_entries, takeprec, getit, Fortran_functions, Perl_functions,
1132 Python_functions, L_getit, Lisp_functions, Scheme_functions,
1133 prolog_pred, erlanf_func, erlang_attribute): Use them.
1134 (eat_white): Deleted.
1136 * etags.c (CHAR, init): Keep into account non US-ASCII
1137 characters and compilers with default signed chars.
1138 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
1141 * (C_stab_entry): "interface" in Java behaves like "class".
1143 * etags.c: (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
1144 (main): Put interval syntax here.
1145 (add_regex): And remove it from here.
1147 * etags.c (suggest_asking_for_help): Provide a
1148 meaningful help message with and without LONG_OPTIONS.
1150 * etags.c: <io.h> [MSDOS]: Include it, don't include string.h.
1151 <stdlib.h, string.h>: Don't test MSDOS when including them.
1152 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
1153 (put_entries): Correctly use %ld instead of %d in printf.
1155 * etags.c: <unistd.h> [HAVE_UNISTD_H]: Include conditionally, else
1156 declare getcwd if HAVE_GETCWD.
1157 (consider_token): Dead break instruction removed.
1159 1999-10-19 Paul Eggert <eggert@twinsun.com>
1161 Add support for large files. Merge glibc 2.1.2.
1163 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
1165 Do not include <stdlib.h>, as <config.h> does this now.
1167 * b2m.c, emacsserver.c, etags.c, profile.c:
1168 Include <config.h> before any system include files.
1170 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
1172 (read, write, open, close): Do not undef.
1174 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
1175 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
1177 * getopt.h: Adopt glibc 2.1.2.
1179 1999-10-15 Dave Love <fx@gnu.org>
1181 * Makefile.in (pop.o): Depend on config.h.
1183 1999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1185 * pop.c: Use "pop3" as the POP service name on all platforms,
1186 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
1187 has been the standard service name since RFC 1340 was published in
1188 July 1992, so I think it's safe to start using it by default.
1190 1999-09-27 Dave Love <fx@gnu.org>
1192 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
1194 1999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
1196 * make-docfile.c (scan_lisp_file): Fix previous changes;
1197 swallow CRLF like just CR or just LF.
1199 1999-09-03 Richard Stallman <rms@gnu.org>
1201 * make-docfile.c: Include config.h not ../src/config.h.
1202 (main, fopen, chdir): Add #undef.
1203 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
1204 (scan_lisp_file): Handle \r like \n.
1206 1999-08-30 Andreas Schwab <schwab@gnu.org>
1208 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
1210 * emacsserver.c: Include <stdlib.h> if available. Don't declare
1211 errno if it's a macro.
1213 * test-distrib.c: Include <unistd.h> if available.
1215 1999-08-29 Richard Stallman <rms@gnu.org>
1217 * emacsclient.c (print_help_and_exit): Mention --version.
1219 1999-08-25 Richard M. Stallman <rms@gnu.org>
1221 * emacsclient.c (decode_options): Update version output.
1222 (print_help_and_exit): Update bug report address.
1224 1999-08-13 Richard M. Stallman <rms@gnu.org>
1226 * emacsclient.c (main): Move the dynamic allocation of
1227 system_name outside of the SERVER_HOME_DIR conditional.
1228 * emacsserver.c (main): Likewise.
1230 1999-08-10 Gerd Moellmann <gerd@gnu.org>
1232 * grep-changelog: New.
1233 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
1235 1999-07-12 Richard Stallman <rms@gnu.org>
1237 * Version 20.4 released.
1239 1999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
1241 * Makefile.in (clean): Remove fns*.el.
1243 1999-06-23 Dave Love <fx@gnu.org>
1245 * etags.c (erlang_attribute): Fix undefined variable usage (after
1248 1999-05-2 Andrew Innes <andrewi@gnu.org>
1250 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
1253 1999-04-29 Richard M. Stallman <rms@gnu.org>
1255 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
1257 1999-03-30 Dave Love <fx@gnu.org>
1259 * sorted-doc.c (main): Split up tables. Modify the preamble
1262 1999-03-05 Geoff Voelker <voelker@cs.washington.edu>
1264 * makefile.nt: Remove common multiple file compilation commands.
1266 1999-02-26 Richard Stallman <rms@gnu.org>
1268 * Version 20.4 released.
1270 * Makefile.in (yow): Depend on epaths.h, not paths.h.
1272 * yow.c: Refer to epaths.h.
1274 1999-02-22 Simon Josefsson <jas@pdc.kth.se>
1276 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
1278 1999-01-27 Andrew Innes <andrewi@gnu.org>
1280 * makefile.nt: Do make version comparison as strings.
1282 1999-01-25 Richard Stallman <rms@gnu.org>
1284 * emacsclient.c (xmalloc): Fix previous change.
1286 1999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
1288 * emacsclient.c (xmalloc): Declare to return long.
1290 1999-01-22 Geoff Voelker <voelker@cs.washington.edu>
1292 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
1293 the case of the drive letter.
1295 1999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
1297 * emacsserver.c (main): Eliminate arbitrary limit on
1298 length of system_name.
1300 * emacsclient.c (main): Eliminate arbitrary limit on
1301 length of system_name.
1302 (xmalloc): Define unconditionally.
1304 1999-01-12 Darrin B. Jewell <jewell@mit.edu>
1306 * etags.c (relative_filename): Stop backward search at beginning
1307 of string, since non-Unix systems can have absolute paths with no
1310 1998-12-08 Geoff Voelker <voelker@cs.washington.edu>
1312 * makefile.nt: Do string comparision of _NMAKE_VER.
1314 1998-11-03 Theodore Jump <tjump@cais.com>
1316 * makefile.nt: Compile multiple source files when possible.
1318 1998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
1320 * Makefile.in: Replace tabs with spaces
1321 when they might confuse some Make versions.
1323 1998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
1325 * emacsclient.c (main): Null-terminate system_name.
1327 * emacsserver.c (main): Null-terminate system_name.
1329 1998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1331 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
1332 an error message from POP, mention that it's from POP, to
1333 distinguish it from local error messages.
1335 1998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1337 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
1338 order of messages downloaded from a POP server (e.g., if the
1339 server stores messages in mailboxes in reverse order).
1341 1998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
1343 * Version 20.3 released.
1345 1998-08-11 Paul Eggert <eggert@twinsun.com>
1347 * rcs2log: Update copyright date and bug report address.
1348 (initialize_fullname): Prefer getent if available.
1350 1998-07-30 Paul Eggert <eggert@twinsun.com>
1352 * lib-src/Makefile.in (REGEXPDEPS, regex.o):
1353 Prepend $(srcdir)/ to rule dependencies outside this dir.
1355 1998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
1357 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
1359 1998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
1361 * Makefile.in: Properly terminate a comment.
1363 1998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
1365 * movemail.c (sys_wait): Rename to wait.
1367 * ntlib.h: Undefine _WINSOCKAPI_.
1369 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
1371 1998-05-30 Geoff Voelker <voelker@cs.washington.edu>
1373 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
1375 1998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
1377 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
1378 all file i/o to be in binary mode. Include ntlib.h.
1380 1998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
1382 * make-docfile.c: Include <unistd.h> for chdir.
1384 1998-04-25 Richard Stallman <rms@psilocin.gnu.org>
1386 * etags.c (TEX_decode_env): Don't free the value getenv returns.
1388 1998-04-17 Geoff Voelker <voelker@cs.washington.edu>
1390 * makefile.nt (obj): Update with new files in src.
1391 (clean): Delete patch scratch files, optimized compilation dir.
1393 1998-04-08 Dave Love <fx@gnu.org>
1395 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
1398 1998-04-06 Andreas Schwab <schwab@gnu.org>
1401 * movemail.c: Move cancelations up. Include <stdlib.h> if
1403 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
1404 (parse_header): Explicitly declare return type.
1405 * emacsserver.c: Include <unistd.h> if available.
1406 (main, handle_signals, perror_1, fatal_error): Explicitly declare
1407 return types. Add forward declarations.
1408 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
1409 Don't declare geteuid.
1410 (print_help_and_exit): Change return type to void. Forward
1412 * b2m.c: Include <stdlib.h> if available.
1413 (main): Explicitly declare return type.
1415 1998-04-03 Richard Stallman <rms@delysid.gnu.org>
1417 * etags.c (put_entries): Use %ld.
1419 * b2m.c (fatal): Declare the arg.
1421 1998-04-03 Richard Stallman <rms@psilocin.gnu.org>
1423 * etags.c (put_entries): Use %ld.
1425 * b2m.c (fatal): Declare the arg.
1427 1998-03-26 Richard Stallman <rms@psilocin.gnu.org>
1429 * pop.c (pop_getline): Renamed from getline.
1431 1998-03-05 Richard Stallman <rms@psilocin.gnu.org>
1433 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
1436 1998-01-23 Dave Love <d.love@dl.ac.uk>
1438 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
1439 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
1440 Always make named tags.
1441 (Fortran_functions): Grok BLOCK DATA.
1443 1998-01-23 Andreas Schwab <schwab@gnu.org>
1445 * movemail.c (main): Fix interwoven brace and cpp conditional
1448 1997-12-04 Karl Heuer <kwzh@delysid.gnu.org>
1450 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
1451 server to contain embedded nulls.
1453 1997-12-03 Paul Eggert <eggert@delysid.gnu.org>
1456 (mbx_write) [MAIL_USE_POP]: Disable the code which quotes with a
1457 '>' any lines starting with "From " read from the POP server, but
1458 leave the code in place, wrapped in #ifdef
1459 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
1460 because it turns out that something is depending on it. Change
1461 suggested by Paul Eggert <eggert@twinsun.com>.
1462 Convert the character \037 (^_) at the beginning of a line into
1463 the character '^' followed by the character '_', because otherwise
1464 Emacs can't parse the resulting file as a valid BABYL file.
1465 Change suggested by Paul Eggert <eggert@twinsun.com>.
1467 1997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1469 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
1470 server to contain embedded nulls.
1472 1997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1474 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
1475 quotes with a '>' any lines starting with "From " read from the
1476 POP server, but leave the code in place, wrapped in #ifdef
1477 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
1478 because it turns out that something is depending on it. Change
1479 suggested by Paul Eggert <eggert@twinsun.com>.
1481 Convert the character \037 (^_) at the beginning of a line into
1482 the character '^' followed by the character '_', because otherwise
1483 Emacs can't parse the resulting file as a valid BABYL file.
1484 Change suggested by Paul Eggert <eggert@twinsun.com>.
1486 1997-11-22 Richard Stallman <rms@gnu.org>
1488 * b2m.c: Include getopt.h.
1489 (main): Use getopt_long to handle --version and --help.
1491 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
1493 1997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1495 * pop.c (fullwrite): Get rid of an extra call to write. Problem
1496 pointed out by Chiaki Ishikawa.
1498 1997-10-16 Dave Love <d.love@dl.ac.uk>
1500 * etags.c (L_getit): Always make named tags so that Emacs
1501 completion on symbols containing `:' etc. works.
1502 (get_scheme): Likewise.
1504 1997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1506 * pop.c: Use system header files instead of declaring C-library
1507 functions explicitly.
1509 1997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1511 * Version 20.2 released.
1513 1997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1515 * Version 20.1 released.
1517 1997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
1519 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
1521 * ntlib.c (getpid): Delete function.
1523 1997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1525 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
1527 1997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1529 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
1530 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
1532 1997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1534 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
1536 1997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
1538 * profile.c (get_time): Cast arg to fprintf.
1540 * hexl.c (main): Use %08lx instead of %08x in printf because the
1541 variable named addresses is long.
1543 1997-08-08 Geoff Voelker <voelker@cs.washington.edu>
1545 * makefile.nt (lisp): Update paths to lisp files that have moved.
1547 1997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
1549 * makefile.nt (ctags.obj): New target.
1550 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
1552 * ntlib.h: Add includes.
1553 Undo definitions of crt routines from config.h.
1555 1997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1557 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
1559 1997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1561 * pop.c: Support auto-configuration of both Kerberos V4 and
1562 Kerberos V5 for movemail, including detection of V4 and V5 header
1563 files and libraries.
1564 Include <string.h> when STDC_HEADERS is defined, to get
1565 declarations of string functions.
1566 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
1567 V5 API rather than the old one.
1568 [KERBEROS] (socket_connection): Change a constant name from
1569 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
1570 with a constant in a header file.
1572 * Makefile.in: Support auto-configuration of both Kerberos V4 and
1573 Kerberos V5 for movemail, including detection of V4 and V5 header
1574 files and libraries.
1576 1997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1578 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
1580 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1582 1997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1584 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
1586 1997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1588 * movemail.c (rindex): Add declaration.
1590 Tue Jul 1 01:09:07 1997 Geoff Voelker <voelker@cs.washington.edu>
1592 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
1593 (movemail.exe): Depend upon and link with getopt files.
1594 (obj): Include new source files.
1595 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
1596 (lisp): Include new and reorganized elisp files.
1598 1997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1600 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
1602 1997-06-25 Paul Eggert <eggert@twinsun.com>
1604 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
1606 1997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
1608 * b2m.c (readline): Terminate buffer properly when EOF seen.
1609 Test for valid pointer before dereferencing it.
1611 1997-05-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1613 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
1614 defined inside etags.c if HAVE_CONFIG_H is defined.
1616 1997-05-29 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1618 * etags.c: (logical): Type name changed to bool.
1619 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
1620 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
1621 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
1622 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
1623 (longopts): New long options without short counterpart are
1624 globals, members, no-globals, no-members. Regexp options are now
1625 defined conditionally to ETAGS_REGEXPS.
1626 (print_help): Updated.
1628 1997-05-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1630 * etags.c (C_entries): Use "." instead of "::" for Java.
1631 (consider_token): is_func renamed to is_func_or_var.
1632 (C_entries): is_func renamed to funorvar.
1633 (C_entries): Initialise tok.named.
1634 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
1635 get rid of "import", "package" and "friend".
1636 (fvdef): Renamed from funcdef. Also some constants renamed. All
1638 (C_entries): Make separate tags for variables separated by comma.
1639 (globals, members): New flags.
1640 (main, C_entries): Use them.
1641 (make_C_tag, C_entries): Make tok a global variable.
1643 1997-05-16 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1645 * etags.c (funcdef): New vignore constant.
1646 (consider_token, C_entries): Use it to tag global variables.
1647 (print_help): Update for global variables.
1648 (consider_token, C_entries): Set the len member of token_name.
1649 (prolog_pred): Cleanup according to GNU coding standards.
1650 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
1651 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
1653 1997-05-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1655 * etags.c (CHARS, CHAR): New constant and macro.
1656 (iswhite, begtoken, intoken, endtoken): Use them.
1657 (notinname, _nin, nonam): New macro, array, string.
1658 (init): Cleanup and init _nin.
1659 (new_pfnote): New function.
1660 (make_C_tag) [traditional_tag_style]: Use it.
1661 (traditional_tag_style): Costant set to TRUE for now.
1663 1997-05-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1665 * etags.c (C_entries, Pascal_functions): Cleanup.
1666 (TeX_functions): NULL as a function arg needs a cast.
1667 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
1669 1997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1671 * etags.c (TeX_functions): Cleaned up.
1672 (tex_getit): Removed.
1674 1997-05-13 Paul Eggert <eggert@twinsun.com>
1676 * rcs2log (files): When computing arguments automatically, ignore
1677 non-files within the RCS subdirectory.
1679 1997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1681 * etags.c (C_JAVA): New #define.
1682 (Cjava_suffixes): .java is Java.
1683 (Cjava_entries): New function.
1684 (lang_names): Add Java.
1685 (sym_type): Add st_C_javastruct for Java.
1686 (C_stab_entry): Add `extends' and `implements' keywords.
1687 (consider_token, C_entries): Recognise Java structures.
1689 1997-05-12 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1691 * etags.c: (Cplusplus_suffixes): .pdb is Postscript with C syntax.
1692 (Postscript_suffixes): .ps is Postscript.
1693 (lang_names): Add Postscript.
1694 (Postscript_functions): New function.
1695 (TEX_decode_env): Close minor memory leak.
1696 (just_read_file): Correct the char number of the tag.
1698 1997-05-11 Paul Eggert <eggert@twinsun.com>
1700 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
1701 Don't prepend $nl since this causes some shells to generate the
1702 empty string when IFS is $nl.
1703 (printlogline): Use SOH (octal code 1), not CR, since some
1704 PC-based shells mishandle CR.
1705 (initialize_fullname): Set NIS_PATH to the empty string before invoking
1706 nismatch, in case it's set to some nonstandard value.
1708 1997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1710 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
1711 read in separate blocks.
1713 1997-04-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1715 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
1716 (struct linebuffer): New member `len' is the length of the string.
1717 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
1718 Use it instead of strlen.
1719 (TEX_getit): Declare and define unconditionally as static.
1720 (TeX_functions): Use if instead of #if TeX_named_tokens.
1721 (add_regex): Set RE_INTERVALS flag for regex compilation.
1722 (substitute): Code cleanup.
1723 (readline_internal): Code cleanup, set new member `len'.
1724 (readline): Bug corrected.
1726 1997-04-23 Geoff Voelker <voelker@cs.washington.edu>
1728 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
1729 (obj): Change references of nt*.c files to w32*.c files.
1731 1997-04-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1733 * etags.c (xnew): Add support for debugging with chkmalloc.
1734 (error): Use this instead of printf whenever possible.
1735 (main): Only call xnew after having initialised progname.
1736 (substitute): Bad memory corruption error corrected.
1738 1997-04-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1740 * etags.c (add_regex): Undo previous change.
1741 (relative_filename): Small memory leak closed.
1742 (absolute_filename): Cleaned up the code, possibly closing a bug.
1743 (absolute_dirname): Always return a newly allocated string.
1745 1997-03-21 Paul Eggert <eggert@twinsun.com>
1747 * rcs2log (files): Ignore files in RCS directory whose names are
1748 of the form ,*, or *_; they are probably RCS lock files.
1749 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
1750 they are used by rcsfreeze.
1752 1997-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1754 * etags.c (add_regex): reset *putbuf before using it.
1756 1997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1758 * movemail.c (popmail): Remove some unnecessary function
1760 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
1761 into pop_retr, there's no reason to pass in mbx_write, and the
1762 file argument can be declared FILE * explicitly. This fixes a
1763 compilation problem on systems with 64-bit pointers.
1765 1997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1767 * movemail.c: Delete duplicate inclusion of fcntl.h
1768 and duplicate #undefs of open, read, write, close.
1770 1997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1772 * movemail.c (main): Do not display "[POP-password]" in the usage
1773 message when movemail is compiled without POP support.
1774 (main, popmail): Add the optional "-p" argument, which causes
1775 movemail to leave mail in the inbox after copying it into the
1778 * Makefile.in (movemail): Link with getopt.
1780 1997-01-20 Paul Eggert <eggert@twinsun.com>
1782 * rcs2log: (--help, --version): New options, per GNU coding standards.
1783 (Copyright, Help, Id): New variables, for above.
1784 (rlog): Use -q option with cvs log, to avoid useless chatter.
1786 Treat logs of "Initial revision" (RCS) or "file F was initially added
1787 on branch B." (CVS) as if they said "New file.", for consistency with
1790 1997-01-01 Paul Eggert <eggert@twinsun.com>
1792 * vcdiff (PATH): Add /usr/xpg4/bin,
1793 where XPG4 SCCS hangs out in Solaris 2.5.
1794 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
1796 1996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1798 * etags.c (streq, strneq): Use == NULL rather than !.
1800 1996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
1802 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
1803 (movemail): Use LIBMAIL, to link against -lmail.
1805 * movemail.c: Include maillock.h (conditionally).
1806 Remove a redundant inclusion of <stdio.h>.
1807 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
1808 (main): Add variable spool_name.
1809 Support the usage of maillock and mailunlock to
1810 lock and unlock mailboxes.
1811 (mail_spool_name): New function.
1813 * movemail.c: Fix an uninitialized variable which could cause
1814 movemail to exit with an error status incorrectly on systems which
1815 use lock files rather than a system locking function to lock
1818 1996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1820 * pop.c (socket_connection): Free realhost after using it.
1822 1996-12-04 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1824 * etags.c (C_entries): Test tok.valid. This handles some
1825 particular cases involving function declarations that failed.
1827 1996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1829 * pop.c (socket_connection):
1830 gethostbyname may return a pointer to static data.
1831 krb_realmofhost can clobber it. So copy it.
1833 1996-11-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1835 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
1836 must cast it to (char *) because we have no prototypes.
1837 (make_C_tag): Macro deleted, new function.
1838 (C_entries): Calls to make_C_tag macro changed to call function.
1840 1996-11-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1842 * etags.c (grow_linebuffer): New function.
1843 (GROW_LINEBUFFER): Macro deleted. All callers changed.
1844 (make_tag): Macro renamed to make_C_tag. All callers changed.
1845 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
1846 (Prolog_functions): prolog_skip_comment was called with wrong
1847 number of arguments.
1848 (xrealloc): fatal was called with wrong number of arguments
1850 1996-11-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1852 * etags.c (relative_filename): Bug corrected.
1853 (etags_getcwd): Avoid warning of unused variable.
1854 (C_entries, consider_token): Added support for enum labels.
1856 1996-11-03 Paul Eggert <eggert@twinsun.com>
1858 * rcs2log: When processing cvs log output, remove `Attic/' from
1859 repository file names.
1861 1996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
1863 * emacsserver.c: Fix 1996-09-02 change.
1865 1996-10-12 Paul Eggert <eggert@twinsun.com>
1867 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
1868 option', since CVS says 'invalid option'.
1869 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
1870 revisions, since some hosts reject 1970-01-01 when east of UTC.
1873 1996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1875 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
1877 1996-10-02 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1879 * etags.c (print_version): Print copyright info.
1881 * etags.c (print_help): Print the bug reporting address.
1882 (main): Use return as the last instruction, instead of exit.
1884 * etags.c (main): Don't open the tags file in cxref mode.
1886 1996-09-29 Dave Love <d.love@dl.ac.uk>
1888 * rcs2log (date): Make default format acceptable to CVS post v1.8
1889 as well as earlier CVSs and RCS.
1891 1996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1893 * movemail.c (main): If the lock call fails with EBUSY or
1894 EAGAIN, retry a few times.
1896 1996-09-25 Paul Eggert <eggert@twinsun.com>
1898 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
1899 whether to append -zLT.
1901 1996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
1903 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
1904 * emacsclient.c, movemail.c: Likewise.
1906 1996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1908 * emacsclient.c (longopts): Change nowait to no-wait.
1909 (print_help_and_exit): Fix option name; upcase metavars.
1911 1996-09-06 Erik Naggum <erik@naggum.no>
1913 * emacsserver.c (main): Declare `fromlen' as size_t.
1915 1996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
1917 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
1919 1996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1921 * emacsclient.c (quote_file_name): Quote with &, not \.
1922 Quote `-' only at start of file name. Terminate the value string.
1924 * emacsserver.c: Include signal.h properly;
1925 delete the duplicate includes for it.
1927 * emacsserver.c: On fatal signal, delete socket-file:
1928 * emacsserver.c: Include signal.h.
1929 (xmalloc, fatal, error): New functions.
1930 (delete_socket, handle_signals): New functions.
1931 (progname, socket_name): New variables.
1932 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
1934 1996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1936 * emacsclient.c (quote_file_name): New function.
1937 (main, both versions): Use quote_file_name.
1938 (decode_options): Don't return a value.
1939 (main, both versions): Use optind.
1940 Don't check for -nowait here.
1942 * emacsclient.c (decode_options): New function.
1943 (main, both versions): Call decode_options.
1944 (print_help_and_exit): New function.
1945 (VERSION): New macro.
1947 * Makefile.in (emacsclient): Link with getopt.
1948 Add -DVERSION so emacsclient knows its version number.
1950 1996-08-31 Geoff Voelker <voelker@cs.washington.edu>
1952 * makefile.nt (lisp): Include dos-nt.elc.
1954 1996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1956 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
1958 1996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1960 * emacsclient.c (both versions): Handle -nowait and --nowait
1961 by sending data to the server.
1963 1996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1965 * Makefile.in (INSTALL_STRIP): New variable.
1966 (${archlibdir}): Use INSTALL_STRIP.
1968 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
1969 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
1971 * pop.c: Reverse conditional in previous change.
1973 1996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1975 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
1977 1996-08-24 Paul Eggert <eggert@twinsun.com>
1979 * rcs2log: Use ISO 8601 date format, with time zone appended
1980 if change-log-time-zone-rule is non-nil, instead of
1981 traditional Unix date format.
1983 (datearg): When computing default from ChangeLog, handle ISO format
1984 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
1985 Don't worry about hh:mm:ss since the resolution is now by day.
1986 Use emtpy datearg, not empty rlog_options, to decide whether to pass
1987 "$datearg" option to $rlog.
1988 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
1989 (month_data): Remove `mo'; no longer needed.
1990 (rlog_options): Use -zLT for localltime output, if `rlog' supports it.
1992 Match `revision' line of rlog output more accurately.
1996 1996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
1998 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
2000 1996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2002 * Version 19.33 released.
2004 1996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2006 * Version 19.32 released.
2008 1996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
2010 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
2011 computing character positions in source files.
2013 1996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
2015 * makefile.nt (clean): Use OBJDIR macro.
2017 1996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2019 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
2021 1996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
2023 * cvtmail.c, sorted-doc.c, yow.c: [__GNU_LIBRARY__]: Use <string.h>.
2024 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
2025 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
2027 1996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
2029 * ntlib.h: Correct return type of getwd.
2030 * ntlib.c (getwd): Correct return type.
2032 1996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2034 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
2037 1996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
2039 * makefile.nt: Remove all references to wakeup.
2041 1996-06-28 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2043 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
2044 explicit, mutable, typename.
2046 1996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2048 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
2049 streams, one for sending and one for reading the reply.
2051 1996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2053 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
2054 (wakeup): Target deleted.
2055 (UTILITIES): Delete wakeup and timer.
2057 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
2059 1996-06-11 Geoff Voelker <voelker@cs.washington.edu>
2061 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
2062 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
2064 1996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2066 * etags.c (main): Copy cwd when appending slash.
2068 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
2070 * Version 19.31 released.
2072 1996-05-17 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2074 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
2075 (Pascal_functions): Increase linecharno by the correct number of
2076 chars, inline the GET_NEW_LINE macro and delete its definition.
2078 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
2080 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
2082 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
2084 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
2085 (movemail.exe, fakemail.exe): Now built under Win32.o
2087 * ntlib.c: Include ntlib.h.
2088 (nt_sleep): Rename to sleep.
2089 (getwd): Return directory.
2090 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
2091 sys_ctime, sys_fopen): New functions.
2093 * ntlib.h: New file.
2095 1996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
2097 * pop.c (SEND, RECV): Renamed from send, recv.
2098 (pop_open, pop_trash): Make the trash_started code unconditional.
2099 (socket_connection): Delete casts to void.
2101 1996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
2103 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
2106 1996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
2108 * fakemail.c [WINDOWSNT]: Include ntlib.h.
2110 * hexl.c [DOSNT]: Include fcntl.h.
2111 [WINDOWSNT]: Include io.h.
2112 (main) [MSDOS]: Change conditional to DOS_NT.
2114 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
2115 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
2116 [WINDOWSNT]: Include locking.h.
2117 (main): Update usage message. Use IS_DIRECTORY_SEP.
2118 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
2119 (main) [WINDOWSNT]: Invoke locking instead of flock.
2120 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
2121 (main) [MAIL_USE_POP]: Pass password to popmail if used.
2122 Include winsock.h; don't include unix inet headers.
2123 (popmail): Add password argument and pass it to pop_open.
2124 Open output file in binary mode.
2126 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
2127 Macro SOCKET_ERROR undefined.
2128 Don't declare h_errno.
2129 [!WINDOWSNT]: Define macros recv and send.
2130 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
2131 (pop_open) [WINDOWSNT]: Initialize trash_started.
2132 (have_winsock) [WINDOWSNT]: New variable.
2133 (socket_connection) [WINDOWSNT]: Initialize winsock.
2134 (socket_connection): Use closesocket instead of close.
2135 (getline): Use recv instead of read.
2136 (fullwrite): Use send instead of write.
2137 (pop_trash): Use closesocket instead of close.
2138 (pop_trash) [WINDOWSNT]: Cleanup winsock.
2139 Check if being called recursively by sendline.
2141 * pop.h (struct _popserver): New field trash_started.
2143 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
2145 1996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2147 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
2149 1996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2151 * etags.c [WINDOWSNT]: Include io.h.
2153 1996-04-10 Geoff Voelker <voelker@cs.washington.edu>
2155 * makefile.nt (CTAGSOBJ): Compile with regexp support.
2157 1996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
2159 * hexl.c [DJGPP v2]: Include io.h.
2160 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
2162 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
2165 1996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2167 * etags.c (absolute_filename): Use absolutefn.
2169 1996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
2171 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
2172 letter isn't an alphabetic character.
2173 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
2174 (process_file) [DOS_NT]: Convert all slashes to forward style.
2175 (absolute_filename) [DOS_NT]: Emit error message for relative
2176 paths with a drive letter.
2177 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
2178 DOS/NT drive letters which try to reference the parent of the root.
2179 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
2181 1996-03-27 Geoff Voelker <voelker@cs.washington.edu>
2183 * makefile.nt: Change uses of del to $(DEL).
2185 1996-03-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2187 * etags.c (just_read_file): Reset lineno and charno on entry.
2189 1996-03-15 Anders Lindgren <andersl@csd.uu.se>
2191 * etags.c: Prolog language totaly rewritten.
2192 (Prolog_functions): Rewritten from scratch.
2193 (skip_comment, prolog_getit): Removed.
2194 (prolog_skip_comment): New function, like old skip_comment.
2195 (prolog_pred, prolog_atom, prolog_white): New functions.
2196 (erlang_func, erlang_attributes): Forward declarations added.
2197 (erlang_atom): Check if backslash ends line inside quoted atom.
2199 1996-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2201 * etags.c (absolutefn): DOS_NT version corrected.
2202 (main): Append "/" to the dir name only if not already there.
2203 (print_help): Explain the absolute/relative file name issue.
2205 1996-03-08 Anders Lindgren <andersl@csd.uu.se>
2207 * etags.c: New Languange Erlang added.
2208 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom,
2209 erlang_white): New functions.
2210 (Erlang_suffixes): New suffix list.
2211 (lang_names): Erlang entry added.
2212 (prolog_getit): Accepts headers spanning several lines.
2214 (Prolog_functions): Removed incorrect compensation for
2216 (readline_internal): Zero-terminate last line.
2218 1996-03-20 Mike Long <mike.long@analog.com>
2220 * b2m.c (main): Initialize progname variable before using it.
2221 Quote `username' in From_ header.
2223 1996-03-18 Geoff Voelker <voelker@cs.washington.edu>
2225 * ntlib.c (getpid): New function.
2227 1996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2229 * emacsclient.c (main, both definitions):
2230 Print a newline for normal termination.
2232 1996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
2234 * tcp.c (main): Convert port to network byte order.
2236 1996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
2238 * pop.c (pop_retrieve, getline): Avoid type clashes.
2240 1996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
2242 * etags.c (enum sym_type, anonymous enum): Delete final comma.
2244 1996-01-15 Paul Eggert <eggert@twinsun.com>
2246 * rcs2log (initialize_fullname): Add support for NIS+.
2247 (hostname): Fully qualify the default hostname with the domainname
2248 if the hostname lacks a `.'.
2250 1996-01-15 Paul Eggert <eggert@twinsun.com>
2252 * rcs2log (initialize_fullname): Add support for NIS+.
2253 (hostname): Fully qualify the default hostname with the domainname
2254 if the hostname lacks a `.'.
2256 1996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
2258 * etags.c (consider_token): Fix typo in expression.
2260 1996-01-04 Paul Eggert <eggert@twinsun.com>
2262 * etags.c (substitute): Fix spelling in message.
2264 1996-01-03 George V. Reilly <georger@microcrafts.com>
2266 * makefile.nt (etags, ctags): Compile with regexp support.
2267 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
2268 subdirectory exists before compiling.
2270 1996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
2272 * emacsserver.c (main): Do chmod based on existing permission.
2274 1995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2276 * Makefile.in (install): Turn on read/execute permission.
2278 1995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2280 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
2281 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
2283 1995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2285 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
2287 1995-12-07 Francesco Potorti` <pot@cnuce.cnr.it>
2289 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
2290 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
2291 get_scheme, prolog_getit): Name the tag in ctags mode.
2292 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
2293 (Perl_interpreters): Accept "@PERL@" as an interpreter.
2294 (suggest_asking_for_help): New function.
2295 (main, get_language_from_name): Use suggest_asking_for_help.
2296 (main): Let get_language_from_name make language existence check.
2297 (streq, strneq): Check the arguments #if DEBUG.
2299 1995-12-06 Francesco Potorti` <pot@cnuce.cnr.it>
2301 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
2302 (gperf): Added keywords for Objective C and GNU macros.
2303 (sym_type): Added values to account for Objective C and GNU macros.
2304 (begtk): The '@' character can start a token.
2305 (objdef, methodlen, objtag): New variables for Objective C.
2306 (consider_token, C_entries): Added code for Objective C.
2307 (plain_C_suffixes): Add .m and .lm for Objective C.
2308 (Yacc_suffixes): Add .ym for Objective yacc.
2309 (GROW_LINEBUFFER): New macro.
2310 (consider_token, C_entries, Pascal_functions): Use the new macro.
2311 (consider_token): Take one more argument. Caller changed.
2312 (consider_token): Use the hashing function to spot GNU macros.
2313 (C_entries): Consider // as a comment start even in plain C for
2314 the sake of Objective C parsing.
2316 1995-12-04 Francesco Potorti` <pot@cnuce.cnr.it>
2318 * Makefile.in (ctags): depend on etags only for simplicity;
2319 compile with regexp support enabled.
2321 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2323 * Version 19.30 released.
2325 1995-11-22 Geoff Voelker <voelker@cs.washington.edu>
2327 * makefile.nt (DOC, clean): Don't use switches to del not
2328 supported by Windows 95.
2330 1995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2332 * Makefile.in (regex.o): Depend on ../src/config.h.
2334 1995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2336 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
2337 (LOADLIBES): Use LIB_STANDARD.
2339 1995-11-07 Kevin Gallo <kgallo@microsoft.com>
2341 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
2342 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
2343 Windows 95 conditional.
2345 1995-11-06 Francesco Potorti` (pot@cnuce.cnr.it)
2347 * etags.c (get_lang_from_name, get_lang_from_interpreter,
2348 get_lang_from_suffix): New functions.
2349 (get_language): Function deleted.
2350 (lang_entry): Two members added to struct.
2351 (lang_names): Reflect the new layout of lang_entry.
2352 (print_language_names, main, find_entries): Use the new functions.
2353 (find_entries): Look at the first line for #! if no language.
2354 (C_entries): Invalidate the token when funcdef is reset.
2355 (Perl_functions): New function.
2356 (lang_suffixes): .pl and .pm are Perl suffixes.
2358 1995-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
2360 * etags.c (lowcase): Use the standard tolower function.
2361 (substitute): Remove some wrong and some useless code related with
2362 escape `\` character in regexp replacement string.
2363 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
2364 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
2365 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
2366 .prolog for prolog (.pl removed).
2367 (massage_name, etags_getcwd): Use lowcase instead of tolower.
2368 (C_entries, find_entries): Added comments about memory leakage.
2369 (add_node): Dead code removed.
2371 1995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2373 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
2374 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
2376 1995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2378 * test-distrib.c: Add #undef for open, close, read, write.
2380 1995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2382 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
2383 [! O_RDONLY]: Define it to zero.
2384 (main): Use O_RDONLY instead of explicit zero.
2386 1995-08-17 Francesco Potorti` (pot@cnuce.cnr.it)
2388 * etags.c (Pascal_functions): Close comment bug corrected.
2389 (add_node): Correctly compare node file names.
2390 (Pascal_functions): Correctly allocate and free memory for tline.
2391 (pfnote): Put the definition of fp in the innermost block.
2392 (NODE): `named' member removed.
2393 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
2394 use the `named' member, check whether `name' is NULL instead.
2395 (pfnote): `named' argument removed, all callers changed.
2396 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
2397 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
2398 removed from pfnote call, some code cleanup.
2399 (relative_filename): Free temporary space allocated by concat.
2401 1995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2403 * Makefile.in (getdate.c): New target.
2404 (getdate.o): Just compile getdate.c.
2406 1995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
2408 * fakemail.c (xrealloc): Change cast to match return type.
2410 1995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2412 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
2414 1995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2416 * movemail.c (main): Fix previous change.
2417 Add error check for empty OUTNAME.
2419 1995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2421 * movemail.c (main): Mention lock file name in error message.
2423 1995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2425 * profile.c (gettimeofday): New function, defined if necessary.
2427 1995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2429 * Makefile.in: Renamed from Makefile.in.in.
2430 (distclean): Delete Makefile.c, not Makefile.in.
2432 1995-07-17 Michael Shields <shields@tembel.org>
2434 * Makefile.in.in (tags): Synonym for `TAGS'.
2436 1995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2438 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
2439 configure has already set $(INSTALL) to the proper relative path.
2441 1995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
2443 * etags.c (plain_C_entries): new function.
2444 (lowcase): new macro.
2445 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
2446 (lang_suffixes): new suffix ".pc" for Pro*C files.
2447 (consider_token): don't tag all tokens beginning with DEFUN & Co..
2448 (tail): look for the end of the token when comparing.
2449 (takeprec): since now tail behaves differently, use strneq.
2451 1995-07-08 Paul Eggert <eggert@twinsun.com>
2453 * rcs2log (datearg): Separate date from time with comma, not space,
2454 to work around CVS 1.5 bug.
2455 (CVSROOT): Don't abort when unset if repository is absolute.
2457 1995-07-07 Paul Eggert <eggert@twinsun.com>
2459 * rcs-checkin, rcs2log, vcdiff:
2460 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
2461 that interpret `#! /' as a 4-byte magic number.
2463 1995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
2465 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
2466 mailbox with "po:mailbox", the mailbox is everything after the
2469 1995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2471 * emacsserver.c: Make all error messages start with `Error: '.
2472 (fatal_error, perror_1): New functions, use throughout.
2474 1995-06-28 Paul Eggert <eggert@twinsun.com>
2476 * rcs2log (CVSROOT, repository):
2477 Allow remote repositories a la CVS 1.4.
2479 1995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
2481 * etags.c (plain_C_entries): new function.
2482 (lowcase): new macro.
2483 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
2484 (lang_suffixes): new suffix ".pc" for Pro*C files.
2485 (consider_token): don't tag all tokens beginning with DEFUN & Co..
2486 (tail): look for the end of the token when comparing.
2487 (takeprec): since now tail behaves differently, use strneq.
2489 1995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2491 * movemail.c (main): Add newline in usage message.
2493 1995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2495 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
2497 1995-06-21 Francesco Potorti` (pot@cnuce.cnr.it)
2499 * etags.c (find_entries): Rewind before rereading the input file.
2501 1995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2503 * Version 19.29 released.
2505 * make-docfile.c (main) [MSDOS]: Do set _fmode.
2506 This undoes part of the previous change.
2508 1995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2510 * make-docfile.c (main): On MSDOS, don't change stdout
2511 to binary, and insist on an -o option.
2513 1995-06-13 Geoff Voelker <voelker@cs.washington.edu>
2515 * etags.c (process_file,absolute_filename): Handle filenames
2516 starting with a drive letter.
2518 * makefile.nt (install): Copy wakeup.exe properly.
2520 1995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
2522 * make-docfile.c [MSDOS]: #undef chdir.
2524 1995-06-04 Paul Eggert <eggert@twinsun.com>
2526 * rcs2log (output_authors): Allow ':' in time zone,
2527 as per ISO 8601 and RCS 5.6.8 beta.
2529 1995-05-29 Francesco Potorti` (pot@cnuce.cnr.it)
2531 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
2532 compatibility problems.
2534 1995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
2536 * etags.c (etags_getcwd): Don't use #elif.
2537 Have just one function body.
2539 1995-05-25 Geoff Voelker <voelker@cs.washington.edu>
2541 * makefile.nt (LIBS): Use BASE_LIBS.
2542 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
2544 (DOC): Use del instead of rm.
2545 (DOC) [WINDOWS95]: Use DOC.
2546 (clean): Handle MSVC aux files.
2547 (config.h,paths.h): Use $(CP) instead of cp.
2548 (config.h): Use $(CONFIG_H)
2549 (make-docfile.obj): Depend upon config.h.
2552 1995-05-23 Francesco Potorti` (pot@cnuce.cnr.it)
2554 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
2555 former gives the true path even in the presence of simlinks.
2557 1995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2559 * movemail.c (main): Increase lock timeout to five minutes.
2561 1995-05-06 Geoff Voelker <voelker@cs.washington.edu>
2563 * makefile.nt (obj): Use .c files.
2565 1995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2567 * make-docfile.c: Include config.h.
2568 (NO_SHORTNAMES): New definition.
2569 (xmalloc): Return long *.
2571 * etags.c (C_entries): Cast result of xrealloc.
2572 (xmalloc, xrealloc): Declare them to return long *.
2574 * b2m.c (xmalloc, xrealloc): Declare them long *.
2576 * movemail.c (xmalloc): Declare it to return long *.
2578 1995-04-30 Paul Eggert <eggert@twinsun.com>
2580 * rcs2log (datearg): If rlog options are specified explicitly,
2581 omit the implicit '-d>DATE' option.
2582 (repository, rlog): Allow absolute paths to CVS repositories.
2583 Look only at the first line of CVS/Repository.
2585 1995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
2587 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
2590 1995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2592 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
2593 Alternative (empty) definitions.
2595 1995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2597 * emacsclient.c (main): Add argv[0] to an error message.
2599 1995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
2601 * emacsclient.c (main): Improve error handling.
2602 * cvtmail.c (main, skip_to_lf): Improve error handling.
2603 (sysfail): New function.
2605 * b2m.c (main): Check for trailing ", " before trying to delete it.
2607 1995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2609 * Makefile.in.in (all): Build test-distrib and make-docfile.
2611 * make-docfile.c (scan_c_file): At end, restore file name last char
2612 to its original value.
2614 1995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2616 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
2618 1995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2620 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
2621 (alloca.o, regex.o): Use BASE_CFLAGS.
2623 1995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2625 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
2627 1995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
2629 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
2630 (SOURCES, distclean): Removed obsolete references to aixcc.
2632 1995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2634 * aixcc.lex: File deleted--surely obsolete now.
2636 1995-03-23 Paul Eggert <eggert@twinsun.com>
2638 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
2639 portability to mawk and nawk.
2641 1995-03-21 Paul Eggert <eggert@twinsun.com>
2643 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
2644 -u "login<tab>fullname<tab>mailaddr".
2646 1995-03-21 Paul Eggert <eggert@twinsun.com>
2648 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
2649 replaces the (now obsolescent) -n login fullname mailaddr option.
2650 Add -R option for recursive rlog.
2651 (AWK): New environment variable (default `awk') for awk program name.
2652 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
2653 Quote authors and fullnames correctly.
2654 Don't omit path from repository root when logging CVS files.
2656 1995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2658 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
2659 even if HAVE_SYSVIPC.
2660 * emacsclient.c (main): Use getcwd if not BSD.
2662 1995-03-13 Francesco Potorti` (pot@cnuce.cnr.it)
2664 * etags.c (process_file): free (filename) after using it.
2665 (readline_internal): Do not access the char before start of line.
2667 1995-02-22 Francesco Potorti` (pot@cnuce.cnr.it)
2669 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
2670 savetok.valid. Mark token as valid when it is initialised.
2671 (make_tag): Make token only if token is valid and reset validity.
2672 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
2673 (TOKEN): Added a new member: valid.
2675 1995-02-15 Francesco Potorti` (pot@cnuce.cnr.it)
2677 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
2678 (main): Do not read twice the last filename in the stdin file list.
2680 1995-02-14 Francesco Potorti` (pot@cnuce.cnr.it)
2682 * etags.c (C_entries): Initialise the new members of TOKEN.
2683 (C_entries): Do not allocate a new space for each token found by
2684 consider_token. Let make_tag do that instead.
2685 (make_tag): Since now TOKEN has memory of where it is taken from,
2686 this new macro substitutes both make_tag_from_new_lb and
2687 make_tag_from_oth_lb. All callers changed.
2688 (TOKEN): Add linepos and buffer members.
2689 (main): Initialise token_str.
2690 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
2691 (token_str): New global variable used by C_entries.
2693 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
2695 * Makefile.in.in (maintainer-clean): Renamed from realclean.
2697 1995-02-01 Francesco Potorti` (pot@cnuce.cnr.it)
2699 * etags.c (pfnote): Initialise been_warned in the node.
2700 (C_entries): Removed a speed hack for the sake of clarity.
2702 1995-01-18 Francesco Potorti` (pot@cnuce.cnr.it)
2704 * etags.c (longopts, print_help, main): Use -I as abbreviation
2705 for the --ignore-indentation option.
2706 (main): Do not print an error message for unknown options.
2708 1995-01-12 Francesco Potorti` (pot@cnuce.cnr.it)
2710 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
2711 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
2712 constantypedefs, update, vgrind_style, no_warnings,
2713 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
2714 (permit_duplicates): Was a var, now a #define.
2715 (filename_lb): Was global, now local to main.
2716 (main): Open the tag file when in cxref mode.
2717 Use a BUFSIZ size buffer for making the shell commands.
2718 Look at the return value from the system routine.
2719 Exit when cannot open the tag file.
2720 (process_file): Open the file and pass the FILE* to find_entries.
2721 (find_entries): Now void, because does not open the file itself.
2722 (pfnote): Recovering from lack of memory does not work. Removed.
2723 Use savenstr and simplify the code.
2724 (free_tree): Only free the name space if node is named.
2725 (structtag): Now a pointer, not a fixed length array of chars.
2726 (consider_token): Don't take a token as argument. Use savenstr
2727 when saving a tag in structtag. Callers changed.
2728 (TOKEN): Structure changed. Now used only in C_entries.
2729 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
2730 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
2731 (pfcnt): Deleted. Users updated.
2732 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
2733 TEX_getit, prolog_getit): Use dinamic allocation for storing
2734 the tag instead of a fixed size buffer.
2736 1995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2738 * movemail.c (main): Skip past the colon in inname.
2740 1995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
2742 * etags.c (pfatal): New function.
2743 (main, etags_getcwd): Use pfatal.
2744 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
2746 1995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
2748 * etags.c (Lang_function): Use void instead to declare the
2749 language functions, because many compilers are buggy.
2750 (etags_getcwd): Fix the previous fix on the #else branch.
2751 (readline_internal): Discard possible \r before \n here.
2752 (C_entries): Do not deal with \r here: undo previous fix.
2754 1995-01-09 Francesco Potorti` (pot@fly)
2756 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
2757 functions and a macro that allow the program to work on input
2758 lines of whatever length. Copied from etags.c.
2759 (fatal): Print a fatal error message and exit.
2760 (main): Use the new functions. Fixed a bug that made a \037 char
2761 appear at the end of the output.
2763 1995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2765 * etags.c (C_entries): Ignore carriage return at end of line.
2767 1994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2769 * fakemail.c (xmalloc, xrealloc): Add casts.
2770 (add_field): Handle <...> and "..." syntax.
2771 (setup_files, get_keyword): Clean up parens and line breaks.
2772 (args_size): Likewise.
2774 1994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
2776 * yow.c: Include program name in error messages.
2778 1994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2780 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
2781 (xmalloc, fatal, error): New functions.
2782 (progname): New variable.
2783 (main): Set progname.
2785 1994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2787 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
2788 (main): If socket/mqueue name is in home dir, add in the host name.
2789 Rename .emacs_server to .emacs-server....
2791 1994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2793 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
2795 1994-11-22 Francesco Potorti` (pot@cnuce.cnr.it)
2797 * etags.c (print_help): print --regex usage for ctags also.
2798 (main): use -h in addition to -H as abbreviation for --help.
2800 1994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
2802 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
2803 is compiled if this is defined. The new functions and variables
2804 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
2805 [VMS]: All VMS specific code previously contained in
2806 etags-vmslib.c is now included here, modified for dealing with
2807 language and regex options intermixed with filenames.
2808 (header_file): Global variable deleted.
2809 (Lang_Function): New typedef. All language parser functions
2810 changed to this new type.
2811 (string_numeric_p, substr, prestr): Functions deleted.
2812 (readline_internal): Does the job that readline did previously.
2813 (longopts): --language and --regex options added.
2814 (lang_names, lang_extensions, lang_func, print_language_names):
2815 New structures, variables and functions for choosing languages.
2816 (print_help): Help strings updated. Calls print_language_names.
2817 (argument_type, ARGUMENT): Typedefs for dealing with language and
2818 regex options intermixed with filenames.
2819 (main): Changed the way of dealing with arguments on the command
2820 line to deal with language and regex options intermixed with
2822 (get_language, default_C_entries, Cplusplus_entries,
2823 Cstar_entries, Yacc_entries, just_read_file): New functions.
2824 (find_entries): Use the new method for choosing the language.
2825 (Pascal_functions): Allow intermixing of comment styles.
2826 (prolog_getit, skip_comment): Rewritten for speed.
2827 (readline): Rewritten to deal with regexps.
2829 1994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
2831 * etags.c (<errno.h>): #include added.
2832 (etags_getcwd): Check return value from getcwd.
2834 1994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2836 * profile.c (TV1, TV2): Use EMACS_TIME as type.
2837 (get_time): Use EMACS_SUB_TIME.
2839 1994-10-30 voelker <voelker@cs.washington.edu>
2841 * ntlib.c: New file.
2842 * makefile.nt: New file.
2844 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
2845 [WINDOWSNT]: Include the NT headers.
2846 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
2848 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
2849 [WINDOWSNT]: Include some NT headers.
2851 1994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
2853 * pop.c (getline): When a search of already-read input for CRLF
2854 fails, store the fact that we've searched it and don't search it
2855 again after reading more data.
2857 * pop.c (getline): When determining whether or not it's necessary
2858 to grow the input buffer, take into account the null that's stored
2859 at the end of already-read input in the buffer.
2861 1994-10-21 Francesco Potorti` (pot@cnuce.cnr.it)
2863 * etags.c (prestr, substr): return a logical type.
2864 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
2865 (consider_token): set funcdef to fignore when a DEFUN is met.
2866 (C_entries): Now we can use Tom Hageman patch for extern "C".
2868 1994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2870 * movemail.c: PopServer renamed to popserver throughout.
2872 1994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
2874 * etags.c: Don't declare malloc, since we include config.h.
2875 * fakemail.c: Likewise.
2877 1994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2879 * movemail.c: Don't declare malloc.
2881 1994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
2883 * rcs-checkin: Use test -r instead of < to check readability, to
2886 1994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
2888 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
2889 defined, and if HAVE_CONFIG_H isn't defined, define
2890 MAIL_USE_POP always (so that this file can be included in
2891 other programs besides emacs).
2893 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
2894 HAVE_CONFIG_H isn't defined.
2896 * pop.c (find_crlf, getline): Instead of using strstr, use a
2897 custom function for finding CRLF.
2898 (my_strstr): Function deleted.
2900 1994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
2902 * pop.c (getline): Fix a segfault because of passing a
2903 non-null-terminated string into strstr(). Fix from
2904 djm@va.pubnix.com (David J. MacKenzie).
2906 * pop.c: Don't include <string.h> and <strings.h>.
2908 * pop.c: Include <des.h> before <krb.h>, rather than after. They
2909 should be interchangeable, and indeed the inclusion is done in
2910 both orders in various files in the Kerberos 4 library sources,
2911 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
2912 requires that <des.h> be included first, and I don't see any harm
2913 in changing the order.
2915 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
2916 STDC_HEADERS, if they're defined. Undef open, read, write and
2917 close after including it.
2919 1994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2921 * pop.c: Fix mismatch in conditionals.
2923 * make-docfile.c (main): Don't process one input file twice.
2924 Never use exit code > 1.
2926 * pop.c (open, close, read, write): Add #undefs.
2928 * pop.c: Don't declare malloc, realloc, free.
2929 Include ../src/config.h.
2930 Don't include string.h or strings.h.
2931 Include des.h before krb.h.
2932 Do declare my_strstr.
2933 (getline): Really use my_strstr.
2934 Leave one empty place in server->buffer,
2935 and put a null at the end of the data in it.
2937 1994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2939 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
2940 call kill with pid 0. Handle EINTR when receiving messages.
2942 1994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
2944 * Makefile.in.in (regex.o): Use full path to find regex.c.
2946 1994-10-17 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2948 * Makefile.in.in (etags): add dependency on regex.o, link with it.
2949 (REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added.
2951 1994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
2953 * Makefile.in.in (DONT_INSTALL): Remove make-path.
2954 (${archlibdir}): Use mkinstalldirs instead.
2956 * movemail.c: Make functions that return nothing void, not
2958 (main): Improve usage message.
2959 (error): Write to stderr, not stdout.
2961 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
2962 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
2963 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
2964 variables and implicitly declared functions.
2966 1994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2968 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
2969 (distclean): Not here.
2971 * Makefile.in.in (libexecdir): Renamed from libdir.
2973 1994-10-11 Francesco Potorti` (pot@cnuce.cnr.it)
2975 * etags.c (C_entries): Name the #define's that are macros.
2977 1994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2979 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
2980 fd_set arg is a pointer, descriptor arg comes first.
2982 1994-09-29 Francesco Potorti` (pot@cnuce.cnr.it)
2984 * etags.c (C_entries): Recognise typedef of ANSI style functions.
2985 (C_entries): Recognise #define inside a struct.
2986 (C_entries): ANSI tells that preprocessor commands do not have to
2987 start on the first column.
2988 (print_help): Documentation corrected for -d and -D.
2989 (white, endtk): ANSI tells the vertical tab is a separator.
2991 1994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
2993 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
2994 (pop.o, movemail.o): New targets.
2995 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
2997 * pop.c, pop.h: New files.
2999 * movemail.c: Improve POP code, move most of it into a separate file.
3000 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
3001 (mbx_write): Check for errors and for From line.
3002 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
3003 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
3004 (pop_init): Functions deleted.
3006 1994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
3008 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
3009 Rename path to dirname.
3011 1994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3013 * Makefile.in.in (UTILITIES):
3014 Remove test-distrib, make-docfile, make-path.
3015 (DONT_INSTALL): New variable--list those files here.
3016 (clean): Delete the files in DONT_INSTALL.
3018 1994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3020 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
3021 (main): Use fgets, not gets.
3023 1994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3025 * timer.c: Don't declare malloc.
3027 1994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3029 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
3030 defined, use simple 32-bit versions of these macros.
3031 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
3033 1994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3035 * etags.c (etags_getcwd): Use getcwd if available.
3037 1994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3039 * Version 19.27 released.
3041 1994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3043 * Version 19.26 released.
3045 1994-08-15 Paul Eggert <eggert@twinsun.com>
3047 * rcs2log: Add support for CVS.
3048 Work with `rlog's that output ISO 8601 dates.
3050 1994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
3052 * rcs2log: Use <> to delimit email address.
3054 1994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3056 * emacsserver.c [SYSV_IPC] (main): Make a separate process
3057 so we can listen for multiple requests.
3059 1994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3061 * movemail.c: Include config.h first thing.
3063 1994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3065 * emacsserver.c (main): Add casts to avoid warnings.
3067 1994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3069 * Makefile.in.in (${archlibdir}): Compare the proper dir
3070 before installing the scripts.
3072 1994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3074 * emacsclient.c (main): New local var progname saves argv[0].
3076 1994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3078 * emacsclient.c (main): Don't actually modify argv[0].
3079 Modify a copy instead.
3081 1994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3083 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
3086 * Makefile.in.in: Add #undef alloca.
3088 1994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3090 * timer.c (xmalloc): New function.
3092 1994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3094 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
3095 (alloca.o): New target.
3097 1994-07-08 Dave Love (d.love@dl.ac.uk)
3099 * etags.c (takeprec): recognise `character*(*) function'
3101 1994-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
3103 * etags.c (main): Don't barf on obsolete -t and -T switches.
3104 (main): Print an explicative message when a switch is not known.
3106 1994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3108 * hexl.c: Don't declare exit or perror.
3110 * emacsserver.c (main): Don't declare geteuid.
3111 Don't declare getenv if convex.
3113 1994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3115 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
3117 1994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3119 * etags.c (absolute_filename): Remove infinite loop bug when
3120 accessing files in directories whose name begins with a dot.
3122 1994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3124 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
3126 1994-06-01 Morten Welinder (terra@diku.dk)
3128 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
3129 location of data directory.
3131 1994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3133 * Version 19.25 released.
3135 1994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3137 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
3139 1994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3141 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
3143 1994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3145 * Version 19.24 released.
3147 1994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3149 * make-docfile.c (write_c_args): Put `default' in upper case.
3151 1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3153 * etags.c (etags_getcwd): Cast result of popen.
3154 (popen): Declaration deleted.
3156 1994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
3158 * etags.c [!MSDOS]: Declare popen.
3160 1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3162 * b2m.c (main): Avoid crash if argc is 1.
3164 1994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3166 * Version 19.23 released.
3168 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
3170 1994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3172 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
3174 1994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
3176 * Makefile.in.in: Fix out of date comment.
3178 1994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3180 * Makefile.in.in: Put in a separator for where to start cpp procssing.
3181 Move all autoconf substitutions above that point.
3182 Above that point, use Make-style comments.
3183 This goes with changes in ../configure.in.
3185 1994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3187 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
3189 (${archlibdir}): Don't do it here. Don't depend on blessmail.
3191 1994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
3193 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
3195 1994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3197 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
3198 print advice to run it, if it has anything significant to do.
3199 And only if MOVEMAIL_NEEDS_BLESSING.
3200 (blessmail): Use emacs, not temacs.
3201 (configuration): Renamed from configname.
3203 1994-04-30 Morten Welinder (terra@diku.dk)
3205 * etags.c (find_entries): Treat `*.cpp' as C++ files.
3207 1994-04-30 Morten Welinder (terra@diku.dk)
3209 * etags.c [MSDOS]: #include <sys/param.h> for the following.
3210 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
3213 1994-04-29 Morten Welinder (terra@diku.dk)
3215 * hexl.c [MSDOS]: Don't define proto type for exit.
3217 1994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3219 * b2m.c: Don't include string.h or strings.h.
3221 1994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
3223 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
3224 symbols, not make variables.
3226 1994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3228 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
3229 * etags.c (print_version): Print VERSION as a string.
3231 1994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3233 * fakemail.c (readline): Fix updating of p when buffer grows.
3235 1994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
3237 * Makefile.in.in (blessmail): New target.
3238 ${archlibdir}: Use blessmail when installing movemail.
3240 1994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3242 * fakemail.c (readline): When extending the buffer,
3243 calculate end afresh using the new size.
3245 1994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3247 * etags.c (main, print_help): eliminate the -F option.
3249 1994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3251 * etags.c (absolute_filename): compare against '\0' instead of NULL.
3253 1994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3255 * Makefile.in.in: Renamed from Makefile.in.
3256 Makefile.in is now generated from it, and then preprocessed.
3257 Change comments to C syntax.
3259 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
3260 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
3262 1994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3264 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
3266 1994-04-12 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3268 * etags.c (etags_getcwd): Initialize bufsize.
3270 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3272 * profile.c (gettimeofday): If system doesn't have this, define it
3273 to give a fatal error.
3275 1994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
3277 * movemail.c (main): Use setuid, not seteuid.
3279 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3281 * etags.c: #undef static.
3283 1994-04-08 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3285 * etags.c (outf, outfiledir): renamed to tagf, tagfiledir.
3286 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs,
3287 Scheme_funcs, prolog_funcs): renamed to Fortran_functions,
3288 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
3289 TeX_functions, Prolog_functions.
3290 (inf): no more a global variable.
3291 (C_entries): take 2nd parameter `inf' instead of using the global one.
3292 (find_entries): added the cp1 var for optimisation.
3293 (find_entries): added more suffixes for assembler files.
3294 (Asm_funcs): Now finds labels even without an ending colon.
3296 1994-03-30 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3298 * etags.c (main): use etags_getcwd for compatibility.
3299 (etags_getcwd): new function.
3301 1994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3303 * Makefile.in (etags, ctags): Pass -D for VERSION.
3305 1994-03-25 Francesco Potorti` (pot@cnuce.cnr.it)
3307 * etags.c (emacs_tags_format, ETAGS): removed. Use CTAGS instead.
3308 (main): don't allow the use of -t and -T in etags mode.
3309 (print_help): don't show options enabled by default.
3310 (print_version): show the emacs version number if VERSION is #defined.
3311 (find_entries): add "ss" as suffix for Chez Scheme.
3313 1994-03-23 Francesco Potorti` (pot@cnuce.cnr.it)
3315 * etags.c (cwd, outfiledir): vars added.
3316 (relative_filename, absolute_filename, absolute_dirname):
3317 functions added to compute filenames in tags files.
3318 (process_file): filenames in tags file are relative to the
3319 directory where the tags file is (useful with the -o option).
3320 (main): initialise the outfiledir var.
3321 (TYPEDST): added the `tignore' value.
3322 (C_entries): corrected various small bugs.
3324 1994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3326 * Makefile.in (UTILITIES): `env' deleted.
3327 (env): Target deleted.
3328 * env.c: File deleted.
3330 1994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3332 * Makefile.in (install, ${archlibdir}): Switch back to ..
3333 before running INSTALL_PROGRAM.
3335 1994-03-14 Francesco Potorti` (pot@cnuce.cnr.it)
3337 * etags.c (TYPEDST): added the `tignore' value.
3338 (C_entries): corrected various bugs, now correctly parses the
3339 `extern "C" {' construction (patch by Tom R.Hageman).
3341 1994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3343 * b2m.c: Use <...> to include config.h.
3344 Don't include stdlib.h.
3346 1994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
3348 * b2m.c (main): Change delimiter from "^L" to "^_^L".
3349 Allow for text following "BABYL OPTIONS:".
3350 Add --help option. Use argv[0] in error messages.
3352 1994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3354 * emacsclient.c (main) [HAVE_SYSVIPC]:
3355 Make msgp->mtext longer if necessary.
3356 On HPUX, error if it's more than 512 chars.
3358 1994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
3360 * etags-vmslib.c: Use GPL.
3361 * emacstool.c: Use GPL.
3362 * fakemail.c: Update GPL.
3364 * make-path.c (main): Return 1 on error, not -1.
3367 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
3368 (xmalloc, xrealloc): Return char *, not int.
3369 (error): Write to stderr, not stdout.
3372 1994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
3374 * profile.c (main, get_time): Don't crash on invalid input.
3376 1994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
3378 * profile.c (get_time): Simplify; avoid calling index.
3379 (main): exit on EOF.
3381 1994-02-17 Francesco Potorti` (pot@cnuce.cnr.it)
3383 * etags.c (--absolute-pathnames): option removed.
3385 1994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3387 * fakemail.c (put_line): Don't break the line if it all fits.
3389 1994-02-14 Francesco Potorti` (pot@fly)
3391 * etags.c (absolute_pathnames, cwd): added global vars.
3392 (longopts, print_help, main, process_file): put absolute filenames
3393 in the tag file if the -A --absolute-pathnames option is used.
3394 (print_help): alfabetically order the options.
3395 (malloc, realloc, strcpy, strncpy, strcmp): remove extern declar.
3397 1994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3399 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
3400 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
3402 1994-02-07 Christian Lynbech (lynbech@avignon)
3404 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
3406 1994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3408 * Makefile.in (UTILITIES): Mention profile.
3409 (profile): New target.
3411 * profile.c: New file.
3413 1994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3415 * Make the argument list output look more like the Lisp docstrings do.
3416 make-docfile.c (write_c_args): Take new arg FUNC. Make output
3417 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
3418 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
3420 1994-01-14 Francesco Potorti` (pot@cnuce.cnr.it)
3422 * etags.c (stab_entry, stab_create, stab_find, stab_search,
3423 stab_type, add_keyword, C_reate_stab, C_create_stabs): deleted.
3424 Use gperf generated hash table instead of linked list.
3425 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): added.
3426 Mostly code generated by gperf.
3427 (consider_token): removed unused parameter `lp'.
3428 (PF_funcs, getit): allow subroutine and similar declarations
3429 to span multiple lines.
3430 (C_entries): check for newline if inchar to avoid bus errors.
3431 (process_file, find_entries): distinguish among nonexistent
3432 and not regular file.
3434 1994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3436 * timer.c: Include errno.h; don't include fasync.h.
3437 (schedule): Don't return a value.
3438 (sigcatch): Reestablish the handler first.
3439 (getevent): Always call notify at the end.
3440 (notify): Defer alarms around the whole body of function.
3442 1994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3444 * timer.c (main): Don't request SIGIO, and don't handle it.
3445 Loop calling getevent.
3446 (sigcatch): Delete code to handle SIGIO.
3447 if defer_alarms is set, don't call notify, just set alarm_deferred.
3448 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
3449 Set defer_alarms around realloc and schedule.
3450 If alarm_deferred gets set, call notify.
3451 Likewise if this event is the only pending event.
3452 Make buf and buf_size global variables.
3453 Don't malloc buf if it is already non-zero.
3454 (schedule): Just exit if run out of memory.
3455 Return the number of events.
3456 (signal) [_CX_UX]: Add #undef.
3458 1994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3460 * timer.c [USG] (SIGIO): Define as SIGPOLL.
3461 (main) [USG]: Do ioctl to enable SIGPOLL.
3463 1994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3465 * timer.c: Don't declare sys_errlist; declare strerror instead.
3466 (schedule, main): Call strerror instead of using sys_errlist.
3467 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
3468 Call strerror instead of using sys_errlist.
3469 * env.c (main): Call strerror instead of using sys_errlist.
3470 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
3471 (main): Call strerror instead of using sys_errlist.
3472 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
3473 * env.c [! HAVE_STRERROR] (strerror): Likewise.
3474 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
3475 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
3477 1994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3479 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
3481 * movemail.c (malloc): Don't declare it.
3482 (xmalloc): Cast result of malloc.
3483 (strcpy): Don't declare it.
3485 1993-11-14 Morten Welinder (terra@diku.dk)
3487 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
3488 (main): Use fclose to close file opened by fopen.
3490 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
3492 * movemail.c [MSDOS]: #undef `access'.
3494 * b2m.c (main) [MSDOS]: Open all files as binary.
3495 * etags.c (main) [MSDOS]: Open all files as binary.
3497 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
3498 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
3501 1994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3503 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
3504 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
3505 (LINK_CFLAGS): New variable.
3506 (timer): Use LINK_CFLAGS.
3508 1993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3510 * movemail.c: Include syswait.h.
3511 Fork a subprocess and use it to copy the mail file.
3513 1993-12-07 Richard Stallman (rms@srarc2)
3515 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
3517 1993-12-04 Richard Stallman (rms@srarc2)
3519 * movemail.c (main): When making tempname, cast result of xmalloc.
3520 Include room for EXXXXXX in the size.
3521 Don't use result of strcpy.
3523 1993-12-03 Paul Eggert (eggert@twinsun.com)
3525 * vcdiff: Add --brief option.
3527 1993-12-02 Richard Stallman (rms@srarc2)
3529 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
3530 for all executables and scripts.
3532 1993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3534 * Version 19.22 released.
3536 1993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3538 * Makefile.in (mostlyclean): Make it distinct from clean.
3540 1993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3542 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
3544 1993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3546 * Version 19.21 released.
3548 * Makefile.in (install): Don't change mode or group when installing.
3550 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
3552 1993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3554 * make-docfile.c (read_c_string): For "", concatenate the two strings.
3556 * movemail.c (main): Fix error message text.
3558 1993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3560 * Version 19.20 released.
3562 1993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
3564 * etags.c: (C_entries): Keep track of ()-parenthesis level so that
3565 functions returning a pointer to a function, a la `signal', can be
3566 parsed. This also required new state `fstartlist' to `FUNCST'.
3567 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
3568 (C_entries, CNL): use it to isolate preprocessor directive processing
3569 from the other state engines.
3570 (begtk): add '~', for C++ class destructors.
3572 1993-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
3574 * etags.c (consider_token): removed unused variable firsttok.
3575 (prolog_getit): call pfnote with the right number of arguments.
3577 1993-10-19 Paul Eggert (eggert@twinsun.com)
3579 * rcs2log (printlogline): Don't generate lines containing only
3582 1993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3584 * Makefile.in (${archlibdir}):
3585 Install ${SCRIPTS} from ${srcdir}, not cwd.
3587 1993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3589 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
3590 the comment character.
3592 1993-10-01 Francesco Potorti` (pot@cnuce.cnr.it)
3594 * etags.c (process_file): dead code removed.
3595 (S_ISREG): #define it using S_IFREG if not defined.
3596 (process_file): regular files have nothing to do with symlinks.
3598 1993-09-28 Brian Fox (bfox@ai.mit.edu)
3600 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
3601 from current directory. Only chmod and chgrp files that we
3602 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
3604 (INSTALLFLAGS): Deleted definition, since it is an unused variable
3607 1993-09-27 Brian Fox (bfox@ai.mit.edu)
3609 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
3610 configure figure out the correct values for these variables.
3612 1993-09-14 Brian Fox (bfox@ai.mit.edu)
3614 * Makefile.in (archlibdir): Only install execuatables internally
3615 used by emacs; don't install bindir binaries here.
3617 1993-09-24 Paul Eggert (eggert@twinsun.com)
3619 * rcs2log: Add -h, -n, -r options.
3620 By default, look for *,v files as well as RCS/*,v files.
3621 Use $TMPDIR (default /tmp) instead of /tmp.
3623 1993-09-20 Francesco Potorti` (pot@fly)
3625 * etags.c (C_entries): is_func is initialised here instead of in
3626 consider_token for the sake of the yacc rules section.
3627 (C_entries): Now class, struct, enum, union and typedef produce
3630 1993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
3632 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
3634 1993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3636 * Support configuring in a different directory when ${srcdir} has
3637 already been configured.
3638 * Makefile.in (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before
3639 -I${srcdir} -I${srcdir}/../src.
3640 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
3641 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
3642 is already in CPP_FLAGS.
3643 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
3644 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
3646 1993-08-25 Paul Eggert (eggert@twinsun.com)
3648 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
3649 otherwise, HP awk complains.
3651 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
3652 are common hangouts for SCCS commands.
3654 1993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3656 * Version 19.19 released.
3658 1993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3660 * Makefile.in (make-path): Dep on config.h.
3662 1993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3664 * b2m.c (TRUE, FALSE): Don't define if already defined.
3666 1993-08-09 Paul Eggert (eggert@twinsun.com)
3668 * rcs2log (awkscript):
3669 Some sites put comma-separated junk after the fullname.
3670 Remove it, but leave "Bill Gates, Jr" alone.
3671 Remove the junk from fullnames like "0000-Admin(0000)".
3673 1993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3675 * Version 19.18 released.
3677 1993-08-04 Francesco Potorti` (pot@spiff.gnu.ai.mit.edu)
3679 * etags.c (L_isdef, L_isquote, L_getit): small optimisations.
3680 (L_funcs): the (foo::defmumble stuff now should work.
3681 (consider_token): function returned random value--corrected.
3682 (C_entries): corrected == versus = typo.
3684 1993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3686 * etags.c (put_entries): For NODE->rewritten, put pattern before
3687 \177 and name after, not vice versa.
3689 1993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3691 * timer.c (main): Generate a SIGIO as soon as we've initialized.
3693 1993-07-30 Francesco Potorti` (pot@cnuce.cnr.it)
3695 * etags.c (FINCST): added the fignore status. Means we are
3696 after the parameter list and before the open curly brace.
3697 Allows correct parsing of C++ constructors.
3698 (C_entries, consider_token): make use of fignore.
3699 (consider_token): reset funcdef when next_token_is_func: when in
3700 ctags mode makes DEFVAR and others work better.
3701 (L_isquote): function that recognises the "(quote" string.
3702 (L_getit): ignore quoting via "'" or "(quote". Useful for defalias.
3704 1993-07-29 Paul Eggert (eggert@twinsun.com)
3706 * rcs-checkin: Don't check whether a file is readable until we have
3707 decided not to ignore it.
3709 1993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3711 * Makefile.in (etags): Depend on ../src/config.h.
3713 * emacsserver.c: Include types.h before file.h.
3715 1993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3717 * Makefile.in (install): Use .n, not .new, for temporary filenames.
3719 1993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3721 * Version 19.17 released.
3723 1993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3725 * etags.c (print_help): Break up the very long strings containing
3726 the help message into shorter strings, to placate chintzy C
3727 compilers which can't handle strings that long.
3729 * wakeup.c: Use CPP tangle from autoconf manual to #include the
3730 correct combination of <time.h> and <sys/time.h>.
3732 1993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
3734 * etags.c (alloca): removed all references to it.
3735 (main): now calls xnew instead of alloca for portability.
3736 (../src/config.h): included only if HAVE_CONFIG_H.
3737 (const): void definition removed--config.h takes care of it.
3739 1993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
3741 * etags.c (consider_token): was `==', now is `='.
3742 (consider_token): DEFUNs now treated like funcs in ctags mode.
3744 * etags.c (LEVEL_OK_FOR_FUNCDEF): removed.
3745 (C_entries): optimized the test that used LEVEL_OK_FOR_FUNCDEF.
3746 (C_entries): removed a piece of useless code.
3747 (C_entries): making typedef tags is delayed until a semicolon
3748 is met. This handles "typedef int X, Y, Z;" correctly.
3750 1993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3752 * Version 19.16 released.
3754 * b2m.c: #include <sys/types.h>.
3755 (ltoday): Declare this to be time_t.
3757 1993-06-30 Paul Eggert (eggert@twinsun.com)
3759 * vcdiff: Add -q option.
3761 1993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3763 * etags.c: #include "config.h" and the alloca CPP tangle before
3764 #including the system headers and getopt.h. AIX requires the
3765 #pragma to come before any actual C code.
3767 1993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3769 * Makefile.in (ctags): Depend on etags, so that parallel makes
3770 don't write etags.o files on top of each other.
3772 1993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3774 * version 19.15 released.
3776 1993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3778 * etags.c (add_node): Move var last_node to file scope.
3780 1993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3782 * Version 19.14 released.
3784 1993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3786 Bring mumbleclean targets into conformance with GNU coding standards.
3787 * Makefile.in (distclean): Call clean to do most of the work.
3788 Delete aixcc.c and TAGS.
3789 (realclean): Just call distclean.
3791 * Makefile.in: Remember, spaces are not tabs.
3793 1993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3795 * Makefile.in (CPP_CFLAGS): New variable.
3796 Use it instead of ALL_CFLAGS when compiling a .c file.
3797 (getopt.o, getopt1.o): Add explicit compilation commands.
3799 1993-06-10 Mark D. Baushke (mdb@cisco.com)
3801 * etags.c: Reinstate old -f option as an alias for -o for
3802 installed base uses.
3804 1993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3806 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
3807 to bind or accept, cast the pointer, to avoid warnings on systems
3808 which declare prototypes for this.
3809 * emacsclient.c (main): Same.
3811 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
3813 1993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3815 * Version 19.13 released.
3817 * wakeup.c: Include sys/types.h, too; I think that's where time_t
3818 comes from, not sys/time.h.
3820 1993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3822 * wakeup.c: Include sys/time.h.
3824 * etags.c: #undef static.
3826 * Version 19.12 released.
3828 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
3830 1993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3832 * Version 19.11 released.
3834 * timer.c [LINUX]: #undef signal.
3835 * emacsserver.c: #undef signal.
3837 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3839 * wakeup.c (main): Make when a time_t.
3841 1993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3843 * Makefile.in: (${archlibdir}): Use `(cd foo && pwd)` instead of
3844 `(cd foo ; pwd)` to get the canonical name of a directory; cd
3845 might fail, and have pwd print out the current directory.
3847 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
3848 string-handling functions.
3850 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3852 * Version 19.10 released.
3854 1993-05-29 Paul Eggert (eggert@twinsun.com)
3856 * rcs2log: When given no file arguments, inspect RCS/.* as well
3857 as RCS/*. Don't report an error if RCS is empty or nonexistent.
3859 1993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3861 * Makefile.in (timer): Link with $(LOADLIBES).
3863 1993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3865 * fakemail.c (put_line): Don't output \n\t unless more text follows.
3867 1993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3869 * etags.c: Replace the CPP tangle for alloca with the one from the
3870 autoconf documentation, since that's working elsewhere.
3872 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3874 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
3875 description files can find their ancestors.
3877 1993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3879 * Makefile.in (install): Get the scripts from ${srcdir},
3880 unlike the executables.
3881 (ALL_CFLAGS): Add -I../src
3883 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3885 * Version 19.9 released.
3887 1993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3889 * Makefile.in (install): Do install the programs listed in
3890 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
3891 INSTALLABLE_SCRIPTS, instead of writing the programs out.
3893 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
3894 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
3896 1993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3898 * etags.c: Include ../src/config.h.
3900 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
3901 in first loop. Delete files from bindir before installing new ones.
3902 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
3904 1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3906 * Version 19.8 released.
3908 * make-docfile.c: Doc fix.
3910 1993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3912 * tcp.c: Fix comment syntax at top of file.
3913 (main): Don't call htons with the port number.
3915 1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3917 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
3920 * Makefile.in (install): Refer to the variables INSTALLABLES and
3921 INSTALLABLE_SCRIPTS, instead of writing them out.
3923 1993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3925 * make-path.c (main): Return 0.
3927 1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3929 * Version 19.7 released.
3931 1993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3933 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
3935 1993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3939 1993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3941 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
3943 1993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3945 * timer.c (notify): Don't call sighold or sigrelse; they're USG
3946 only. We should really fix this later, but let's just make it
3949 Install patches from David J. Mackenzie to make the srcdir option
3951 * Makefile.in (srcdir, VPATH): Get this value from the top-level
3953 (INSTALLABLES): Split this into two lists - INSTALLABLES and
3954 INSTALLABLE_SCRIPTS.
3955 (INSTALLABLE_SCRIPTS): New list.
3956 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
3957 (${archlibdir}): The scripts to be installed live in the source
3958 tree, not in the object tree.
3959 (test-distrib): Note that the data file lives in the source tree,
3960 not the object tree.
3961 (GETOPTDEPS): Note that getopt.h lives in the source tree.
3962 (all other targets): Change references to source files to use
3963 ${srcdir}, except for config.h, which lives in the object dir.
3964 (timer.o): Note that this depends on ../src/config.h.
3965 * make-docfile.c (main): Add a -d option, to tell it where to find
3967 * test-distrib.c (main): Take the name of the distribution file to
3968 test from the command line.
3970 * timer.c: Fix mispellings of get_date function's name.
3972 1993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
3975 Don't require that there be input files if -i switches were given.
3977 1993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3979 The GNU coding standards specify that CFLAGS should be left for
3981 * Makefile.in (CFLAGS): Put this in the "things configure might
3982 edit" section, and have it default to -g.
3983 (ALL_CFLAGS): New variable, set to all the flags which should be
3984 passed to compilations. Replace all other uses of CFLAGS with
3986 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
3988 * Makefile.in (DEFS): Remove this; it's always just going to be
3989 "-DHAVE_CONFIG_H -Demacs".
3991 1993-05-03 Paul Eggert (eggert@twinsun.com)
3993 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
3994 /[/]/, so change it to /[\/]/. This should work on all
3995 Posix-compliant awks. It's slightly wrong with traditional awk,
3996 since it matches \ too, but that's a minor problem compared to awk
3999 1993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4001 * Makefile.in (ALLOCA): New variable, whose value we should
4002 inherit from the top-level makefile.
4003 (etags, ctags): Include ALLOCA in the list of object files that
4004 these executables depend on and link.
4006 1993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4008 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
4010 1993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
4012 * make-docfile.c (write_c_args): Print an argument named "defalt"
4015 1993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4017 * Makefile.in (C_SWITCH_SYSTEM): New variable.
4018 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
4021 1993-03-22 Francesco Potorti` (pot@cnuce.cnr.it)
4023 * etags.c (YACC): flag added to c_ext.
4024 (c_ext): no more a synonim for c_ext&C_PLPL because of YACC.
4025 (find_entries): consistently use streq when reasonable.
4026 (find_entries): a .y file is a yacc file.
4027 (get_C_stab): c_ext becomes c_ext&C_PLPL.
4028 (C_entries): logical cplpl means c_ext&C_PLPL.
4029 (C_entries): logical yacc_rules means we are after the first %%.
4030 (C_entries): added logic for yacc files.
4032 1993-03-16 Francesco Potorti` (pot@cnuce.cnr.it)
4034 * etags.c (C_entries): ':' case moved to the second switch.
4035 (C_entries): do not examine token if structdef==scolonseen.
4036 (consider_token): structtag set to null string for enum.
4038 1993-03-12 Francesco Potorti` (pot@cnuce.cnr.it)
4040 * etags.c (GET_COOKIE): and related macros removed.
4041 (logical): is now int, no more a char.
4042 (reg): define deleted.
4043 (isgood, _gd, notgd): deleted.
4045 (TOKEN): member linestart removed.
4046 (linepos, prev_linepos, lb1): deleted.
4047 (main): call initbuffer on lbs array instead of lb1.
4048 (init): removed the initialisation of the logical _gd array;
4049 (find_entries): a .sa suffix means assembler file.
4050 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
4051 All C state machines rewritten.
4052 (C_entries): complete rewrite.
4053 (condider_token): complete rewrite.
4056 1993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
4058 * etags.c (C_entries): Added the quotednl logical variable.
4059 Used for parsing of #define's spanning multiple lines.
4061 1993-02-23 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
4063 * etags.c (C_entries): Save the definedef status even when a
4064 newline is met inside a string.
4066 1993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
4068 * Makefile.in (EXECUTABLES): added rcs-checkin.
4070 * Makefile.in (unlock, relock): New productions.
4072 1993-03-16 Paul Eggert (eggert@twinsun.com)
4074 * rcs2log: Some awks don't understand "\r". Code around this.
4075 Unfortunately this requires putting a carriage return in the
4076 source code. Don't assume that rlog will tolerate times like
4077 `10:10:60'; RCS 5.7 won't allow this.
4079 1993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4081 * timer.c (main): Set the ownership of the stdin file descriptor
4082 to the current process. Print error messages if either of the
4085 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
4086 ../src/config.h), not void.
4088 1993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4090 * b2m.c (main): Don't exit upon reading a blank line.
4092 1993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
4094 * etags.c (C_entries): New local variable quotednl. Used for
4095 parsing of #define's spanning multiple lines.
4097 * etags.c (C_entries): Save the definedef status
4098 even when a newline is met inside a string.
4100 1993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4102 * timer.c (notify): Initialize waitfor properly.
4104 1993-02-22 Francesco Potorti` (pot@CNUCE.CNR.IT)
4106 * etags.c (C_entries): Don't reset definedef when a newline inside a
4109 1993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4111 * etags.c (find_entries): If filename ends in .f or .for,
4112 don't try anything but Fortran.
4114 1993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
4116 * timer.c (notify): Flush stdout after writing message to avoid lossage
4119 (notify): Also, write a newline after the token.
4121 1992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4123 * Makefile.in (exec_prefix): New variable.
4124 (bindir, libdir): Use it instead of `prefix'.
4126 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
4128 * Makefile.in (libdir): Default to ${prefix}/lib.
4129 (archlibdir): Adjusted to match.
4131 * Makefile.in (distclean): Don't delete backup or autosave files.
4132 (extraclean): Like realclean, but does delete backup and autosave
4135 * Makefile.in (realclean): Ignore errors from rm.
4137 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
4138 that doesn't exist anymore.
4140 1992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4142 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
4143 described in the top-level Makefile.
4144 (UTILITIES): Add make-path to the list of utility programs.
4145 (../arch-lib): Replaced by the ${archlibdir} target, which places
4146 the executables in their permanent home.
4147 (install, install.sysv, install.xenix): Consolidated into one
4148 target which should work under all circumstances, modulo a few
4149 ignored error messages.
4151 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
4152 a different number of arguments than other DEFVARs, recognize it
4153 specially, and expect the right number of commas.
4155 1992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4157 * make-path.c: New program, to help with the installation process.
4158 * Makefile.in (make-path): New target.
4160 * make-path.c (touchy_mkdir): Remove debugging output.
4162 1992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4164 * Makefile.in (getdate.o): Added explicit target for this, so we
4165 can indicate that it depends on ../src/config.h.
4167 1992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4169 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
4171 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
4173 1992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4175 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
4176 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
4179 * Makefile.in (arch-lib): Give rm the `-f' option.
4181 1992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4183 * make-docfile.c (write_c_args): Rewritten to correctly print
4184 &optionals before the first identifier, but after the first paren.
4185 This code used to just wait for commas or spaces; now it notices
4186 identifier boundaries.
4188 1992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4190 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
4192 1992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4194 * make-docfile.c (write_c_args): Print the argument lists properly
4195 when the first argument is optional.
4197 1992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4199 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
4200 Redefine @item. Set catcode of +.
4202 1992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4204 * emacsclient.c (main): Set IPC_CREAT in msgget call.
4206 1992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4208 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
4209 (TEX_decode_env): Make `tab' one element longer.
4211 1992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4213 * etags.c (PF_funcs): Recognize the "entry" keyword.
4215 1992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4217 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
4219 1992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4221 * timer.c (events): Rather than having slots marked as in use or
4222 out of use by the `token' field, keep all pending events at the
4223 beginning of the array. When we delete an event in the middle of
4224 the array, we move the last event into its place.
4225 (num_events): New variable.
4226 (schedule): It is now cheaper to find a free event slot;
4227 events[num_events] is the first free slot.
4228 (notify): Scan events[0 .. num_events-1], instead of the whole
4229 array. When an event fires, move the last event in the array into
4230 its spot. Use num_events to determine whether or not there are
4231 any pending events, not wait_for.
4232 (getevent): Deleted unused variable `ep'.
4233 (sigcatch): It's now easier to find all the active events.
4234 (main): Initialize num_events.
4236 * etags.c: Rather than fret about which systems have index and
4237 which systems have strchr, and how to tell the difference between
4238 them, we just write out our own versions. Big deal.
4239 (index, rindex): Extern declarations removed.
4240 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
4241 (etags_index, etags_rindex): New declarations.
4242 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
4243 TEX_getit, substr): Use the etags_*index functions, rather than
4244 the native *index functions.
4245 (rindex, index): Renamed to etags_rindex and tags_rindex, and
4246 made them unconditionally defined, rather than having them depend
4249 * etags.c (savenstr): Add declaration for this at top of file.
4250 (TEX_decode_env): Don't declare it local to this function.
4252 * b2m.c: #include "../src/config.h", so we can test for the USG
4253 macro, and decide whether to include <string.h> or <strings.h>.
4254 * Makefile.in: Note that b2m.c depends on ../src/config.h.
4256 1992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4258 * timer.c: Reformatted according to the GNU coding standards.
4259 Removed arbitrary limits on the number of events queued and the
4260 length of the tokens used to identify them.
4261 Removed casts to (void).
4262 Removed debugging printfs; they clutter the code, and the need
4263 can be better filled using a real debugger.
4265 1992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4267 * timer.c: Installed new version from Eric Raymond; this is more
4268 portable, since it doesn't try to use SIGIO.
4270 1992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4272 * emacsclient.c (main): If we can't find the socket in this
4273 person's home directory, print a message which asks if they've
4274 started the server, instead of just printing the message from
4275 sys_errmsg; Cygnus finds that people are much less confused by
4278 1992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4280 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
4281 so that index and rindex get defined, why don't we actually
4282 control index and rindex using symbols called "NEED_INDEX" and
4283 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
4284 little more readable than defining something whose name implies
4287 1992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4289 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
4291 Miscellaneous doc fixes.
4292 (skip_white, read_lisp_symbol): New functions.
4293 (scan_lisp_file): Instead of using long hairy strings of ifs, call
4294 read_lisp_symbol and then see what we got. Call skip_white
4295 instead of writing out a loop to do its job. Correctly extract
4296 docstrings from "defmacro" declarations.
4298 1992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4300 * movemail.c (strcpy): Declare this to return char *.
4302 1992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4304 * etags.c (C_entries): When we find a C++ comment, do actually
4305 skip to the end of the line; do a 'break' instead of a 'continue'.
4307 1992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4309 * etags.c (getit): Add missing parenthesis to expression which
4310 decides if this token is an identifier.
4312 1992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
4314 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
4316 1992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4318 * etags.c (put_entries): Always put space between name and line num.
4320 1992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
4322 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
4324 (LEVEL_OK_FOR_FUNCDEF): Ditto.
4326 1992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4328 * make-docfile.c (write_c_args): Pass both arguments to putc.
4330 1992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
4332 * etags.c (C_entries): Fixed reading of "..." strings.
4333 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
4334 the C library source.
4336 * etags.c (C_entries): When we see a backslash inside a quoted
4337 string, skip to the next character. This allows us to correctly
4338 deal with strings containing quotes.
4340 1992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4342 * make-docfile.c (write_c_args): Print the C argument names as
4343 they would be written in Elisp; print '_' as '-'.
4345 1992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4347 * movemail.c [POP]: Get user name via getpwuid.
4349 1992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4351 * Makefile.in: flags in CC invocations rearranged for no reason.
4353 1992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4355 * etags.c (print_help): Remember not to imbed raw newlines in
4356 strings - end the lines with `\n\'.
4358 1992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4360 * timer.c (getevent): Removed declaration of memcpy; since
4361 different systems have different return types, and we're not even
4362 using the return type anyway, it wasn't doing us any good.
4364 1992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4366 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
4367 type of this function.
4369 1992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4371 * ChangeLog: Since the old etc contents have been split into etc
4372 and lib-src, the old etc's ChangeLog has been duplicated in the
4373 new etc and lib-src. That means that each contains complete and
4374 coherent information, although each contains extraneous
4377 1992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4379 * lib-src/etags.c: "--no-warning" option renamed to "--no-warn",
4380 to be consistent with other GNU programs, like makeinfo.
4382 * lib-src/Makefile: Renamed to Makefile.in; the configure script
4383 will edit this to produce Makefile.
4385 1992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4387 * etags.c (print_help, print_version): New functions.
4388 (main): Options added to support them.
4390 * etags.c (longopts): New array of long names for the options.
4391 (main): Recognize them.
4393 1992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4395 * etags.c (C_entries): Removed comment saying that \" in a string
4396 isn't recognized as magic, because it is correctly handled.
4398 * getopt.c, getopt.h: New files, from GNU C library.
4399 * etags.c: Rewritten to use getopt.
4400 #include "getopt.h".
4401 (file_num): Variable deleted; its role is now played by getopt's
4403 (main): Argument processing loop rewritten to call getopt to get
4404 next option. Options which take parameters (-o and -i) rewritten
4405 to get parameter from optarg instead of argv[1]. Filename
4406 preprocessing loop and update command changed similarly.
4407 * Makefile (etags, ctags): Depend on and link with getopt.h,
4408 getopt.o, and getopt1.o.
4409 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
4411 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
4414 (main): In the argument processing loop, the 'goto next_arg'
4415 statements are breaking out of the switch statement in exactly the
4416 same way that a simple 'break' statement would; replace the gotos
4417 with breaks, and remove the label.
4419 1992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4421 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
4422 (consider_token): Move next_token_is_func to global.
4424 1992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4426 * Makefile: Conform with GNU coding standards:
4427 (mostlyclean): New target, synonymous with clean.
4428 (TAGS, check): New targets.
4429 (INSTALL, INSTALLFLAGS): New variables.
4431 1992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4433 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
4434 `config.emacs' to `configure'.
4436 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
4437 * etc/MACHINES: Same.
4439 1992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4441 * movemail.c (main): Allow tempname to be as long as necessary,
4442 instead of limiting it to 39 characters.
4444 * movemail.c (main): Move declaration of buf from top of function
4445 to local block surrounding the copy loop. This makes it less
4446 likely to be confused with the buf used by the code which checks the
4447 permissions on outname's directory.
4449 1992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
4451 * SERVICE: Remove my entry.
4453 1992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
4455 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
4458 * movemail.c (xmalloc): Return char *, not int.
4459 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
4460 that is off by default -- normally don't unlink the mail spool
4461 file, just empty it. Pass creat mode 0600, not 0666.
4463 1992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4465 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
4466 (all): Instead of here.
4467 (install): Don't use the -s option, since people need symbols to
4470 1992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
4472 * etags-vmslib.c (fn_exp): Add type cast.
4474 1992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4476 * movemail.c: Changes in comments.
4478 1992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4480 * Makefile: Make the distclean target erase the DOC files from
4481 ../share-lib and the executables from ../arch-lib.
4483 1992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4485 * emacsclient.c: #include <sys/stat.h>
4486 (main): Do declare statbfr.
4488 1991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4490 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
4491 for the socket, depending on SERVER_HOME_DIR.
4492 If using /tmp, put host name in the socket name.
4494 * movemail.c (pfatal_and_delete): New function.
4495 (main, popmail): Use it.
4496 (popmail): Close output before deleting messages.
4497 Check for error on close and on fsync.
4498 Use `fatal' where appropriate.
4499 (main): Remove (void).
4501 * aixcc.lex: New file. Not officially part of Emacs.
4502 * Makefile: Rules for that.
4504 1991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
4506 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
4508 * etags.c (main): Properly cast call to alloca that initializes
4511 1991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
4513 * etags.c (files_are_tag_tables): Remove global var.
4514 (process_file): Don't test it. Also remove hack checking for a
4516 (main): -i now takes an arg which is the name of a file to include.
4517 Collect these names and emit include tags for them after processing
4518 all the argument files.
4520 1991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4522 * wakeup.c: Terminate if parent goes away.
4524 1991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4526 * etags.c (C_entries): Process token before handling end of line.
4527 When inner loops reach end of line, just back up.
4528 Let the real end of line processing happen in just one place.
4529 (consider_token): Likewise.
4531 1991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4533 * etags.c (TEX_mode): Skip comments while scanning the text to see
4534 which escape character this file uses.
4536 1991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4538 * emacsserver.c [USG]: Terminate if msgrcv fails.
4540 1991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
4542 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
4544 1991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
4546 * make-docfile: Find the arguments to a C function correctly,
4547 by not ignoring the character that read_c_string returns. Don't
4548 even try to find argument names for functions that take MANY
4549 or UNEVALLED arguments, since they're a figment of the docstring's
4552 1991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
4554 * make-docfile: Read the .elc files generated by the new byte
4557 1990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
4559 * refcard.tex: Use cm fonts, not am, in multi-column mode.
4561 1990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
4563 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
4565 1990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
4567 * Makefile (install*): No need to install wakeup.
4569 1990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
4571 * Makefile (install*): Install emacsclient like etags.
4573 1990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
4575 * movemail.c (error): Handle 3 args.
4576 (main): Don't check input access if using pop.
4578 1990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
4580 * etags.c (find_entries): Check for numbers after Scheme suffix.
4582 1990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
4584 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
4586 1990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
4588 * Makefile (nemacstool, xvetool): New targets.
4590 1990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
4592 * emacsclient.c: Include errno.h and define related variables.
4594 1990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
4596 * emacsclient.c: Change usage message.
4598 1990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
4600 * emacs.1: Add break before -nw option.
4602 1990-08-19 David J. MacKenzie (djm@apple-gunkies)
4604 * qsort.c: Replace with GNU version.
4606 1990-08-14 David J. MacKenzie (djm@apple-gunkies)
4608 * wakeup.c: New program replacing loadst.c.
4610 1990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4612 * emacsclient.c [USG]: Pass msgsnd only 4 args.
4614 1990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
4616 * etags.c: Rename `flag' variables for what they do instead of
4617 which option character sets them.
4619 1990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4621 * loadst.c (main): Conditional to get load average on Apollo.
4623 1990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
4625 * emacsserver.c: Set the permission on the socket to 0600.
4627 1990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4629 * emacsclient.c [BSD]: Print clean message for failing getwd.
4631 1990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
4633 * getdate.y: Use the getdate.y from GNU tar for timer.
4635 1990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
4637 * emacsclient.c (main): Don't put brackets around "filename" in
4638 usage message. It isn't optional.
4640 1990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
4642 * etags.c (getit): Recognize '$' as beginning identifiers.
4644 1990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
4646 * emacsserver.c: Renamed from server.c.
4647 * Makefile: Reference emacsserver rather than server.
4648 * MACHINES: Doc fix for new emacsserver name.
4650 1990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4652 * emacsclient.c: Print program name in error messages.
4654 1990-01-19 David Lawrence (tale@cocoa-puffs)
4656 * timer.c, getdate.y (new files) and Makefile:
4657 Sub-process support for run-at-time in timer.el.
4658 Doesn't yet work correctly for USG.
4660 1990-01-10 Jim Kingdon (kingdon@pogo)
4662 * MACHINES: Add HP 300 running BSD.
4664 1990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4666 * yow.c: Dynamically allocate buffer; skip header before random
4667 choice to avoid bias toward first item.
4669 1989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4671 * etags.c (readline): Separate out init of `pend'.
4673 1989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4675 * etags.c: Undo changes relating to isgoodhdr.
4677 1989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
4679 * etags.c (isgoodhdr): New macro.
4680 (_gdh, notgdh): New variable used by that.
4681 (init): Initialize _gdh.
4682 (find_entries): Set header_file.
4683 (consider_token): Use isgoodhdr if in header file.
4685 * etags.c (total_size_of_entries):
4686 Was miscalculating by 1 in rewritten case.
4688 * etags.c (PAS_funcs): One arg to pfnote was missing.
4690 1989-12-05 Joseph Arceneaux (jla@spiff)
4692 * MACHINES: Change for the ULTRIX entry.
4694 1989-11-21 Joseph Arceneaux (jla@spiff)
4696 * etags.c (process_file): If file is not regular, return.
4698 1989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4700 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
4702 1989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4704 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
4705 (main): If HAVE_GETLOADAVG, don't call `nlist'.
4707 1989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4709 * etags.c (consider_token): Allow any number of typespec keywords
4710 after `typedef', before new type name.
4711 (enum sym_type): Add st_C_typespec.
4712 (C_create_stab): Put typespec kwds in table.
4714 1989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
4716 * etags.c (main): Don't depend on name invoked by.
4717 If CTAGS is not defined, assume it is ETAGS.
4719 1989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4721 * etags.c (L_funcs): Allow package name in define construct,
4722 as in (foo::defmumble name-defined ...).
4724 1989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4726 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
4728 * Makefile (yow): Depends on ../src/paths.h.
4730 1989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
4732 * etags.c: Fix compilation by moving Pascal after Fortran.
4734 1989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4736 * movemail.c [USG]: Define F_OK, etc., if not found in header.
4738 1989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4740 * hexl.c: New file, supports hexl-mode.
4742 1989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4744 * movemail.c: New compilation flag MAIL_USE_MMDF.
4746 1989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4748 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
4749 * server.c: Likewise.
4751 * make-docfile.c (scan_c_file): Output argument names at end of string.
4752 (write_c_args): New subroutine.
4754 1989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4756 * movemail.c: Report failure of flock.
4758 1989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4760 * etags.c (find_entries): Allow multi-letter extensions for fortran.
4762 1989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4764 * loadst.c: on bsd4.3, use gettimeofday instead of CPUSTATES.
4766 1989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
4768 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
4770 * emacsstool.1: update to document environment variables.
4772 1989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4774 * etags.c (PAS_funcs): New function by Mosur Mohan.
4776 * movemail.c: On sysv, include unistd.h.
4778 1989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4782 1989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4784 * etags.c: Prolog support from Sunichirou Sugou
4786 1989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4788 * Makefile (clean): New target.
4790 1989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4792 * fakemail.c (put_line): Break header lines at 79 cols.
4794 1989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4796 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
4797 multiple tags per line.
4799 1989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4801 * movemail.c: Check access before doing real work.
4802 Check that outfile is in a writable directory.
4803 On fatal error, delete the lock file.
4805 1988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
4807 * env.c: Add decl for my-index
4808 * etags.c (file-entries): .oak => scheme
4810 1988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4812 * movemail.c: Use `access' to check input and output files.
4814 1988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4816 * emacsclient.c (main): Ignore all of CWD before first slash.
4818 1988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4820 * etags.c (readline): Double linebuffer->size outside the xrealloc.
4822 1988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4824 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
4825 * server.c: chmod the socket to 0700.
4827 1988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4829 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
4830 (add_field): Delete comments and turn `<', `>' to spaces
4832 (USE_FAKEMAIL): New customization macro says to make fakemail
4833 not be a no-op even on a BSD system.
4835 1988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4837 * etags.c (consider_token): Skip comments just like whitespace.
4838 Notice `struct', etc. and set strtag for those tokens.
4839 Return 1 for the token following `struct' if an open-brace follows it.
4840 (C_entries): Special handling of token following `struct'
4841 needed because we have probably advanced to the following line
4843 (main): New option `T' sets tflag and strflag.
4844 Set both of them by default if eflags.
4846 1988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4848 * movemail.c: Do fsync before closing output.
4850 1988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
4852 * movemail.c: Better error message when can't create tempname.
4853 This file needs a great deal of extra error-checking and lucid reporting...
4855 1988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4857 * etags.c: Support assembler code for .s and .a files.
4858 (getit): Allow underscore in a tag.
4860 1988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4862 * movemail.c: Close output and check errors before deleting input.
4864 1988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
4866 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
4867 whether to prefix it. Handle line number args.
4869 1988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
4871 * etags.c (main): default setting of eflag was backwards.
4873 1988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4875 * etags.c: New option -i. -f renamed -o.
4876 `-' as input file means read input file names from stdin.
4877 -i spec'd or input file named TAGS means the input file is another
4878 tag table; output an "include" line for it.
4880 1988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4882 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
4883 New targets install, install.sysv, install.xenix.
4884 This makefile is now responsible for installing executables
4885 and documentation from this directory into system directories.
4887 1988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
4889 * server.c, emacsclient.c (main): Compute socket name from euid.
4891 1988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4893 * emacsclient.c: Args like +DIGITS are passed through unchanged.
4895 1988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4897 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
4898 * emacsclient.c: Likewise.
4899 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
4901 1988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4903 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
4904 (istoken) New string-comparison macro.
4905 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
4907 1988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4909 * etags.c: Changes for VMS.
4910 Always define ETAGS on VMS.
4911 Define macros GOOD and BAD for success and failure exit codes.
4912 (begtk, intk): Allow `$' in identifiers
4913 (main): Don't support -B, -F or -u on VMS.
4914 Alternate loop for scanning filename arguments.
4915 (system): Delete definition of this function.
4917 * etags-vmslib.c (system): Undefine this; VMS now provides it.
4919 1988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4921 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
4922 around include of param.h. (Like fns.c.)
4924 1988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
4926 * loadst.c (load_average): Move load-average code to this new fn.
4927 Add conditionals to compute load ave on UMAX.
4929 1988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
4931 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
4932 with opposite sense.
4934 1988-05-13 Chris Hanson (cph@kleph)
4936 * emacsclient.c: Delete references to unused variable `out'. This
4937 caused a bus error when used under hp-ux.
4939 1988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
4941 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
4943 1988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
4945 * etags.c (find_entries): `.t' or `.sch' means scheme code.
4947 1988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
4949 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
4951 1988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
4953 * movemail.c: #undef close, since config can #define it on V.3.
4954 * emacsclient.c, fakemail.c, loadst.c, server.c: likewise.
4956 1988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
4958 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
4959 invalid escape sequences such as `\{'.
4961 * loadst.c: Add `sequent' conditional for file dk.h.
4963 1988-03-20 Richard M. Stallman (rms@wilson)
4965 * server.c [not BSD and not HAVE_SYSVIPC]: fix error message.
4967 * loadst.c (main) [XENIX]: use /usr/spool/mail, not /usr/mail.
4970 ;; coding: iso-2022-7bit
4973 Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002
4974 Free Software Foundation, Inc.
4975 Copying and distribution of this file, with or without modification,
4976 are permitted provided the copyright notice and this notice are preserved.