1 2002-11-04 Dave Love <fx@gnu.org>
3 * Makefile.in (YACC): Deleted.
5 2002-10-19 Andreas Schwab <schwab@suse.de>
7 * Makefile.in (${archlibdir}): Always create $(gamedir).
8 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
10 2002-10-04 Juanma Barranquero <lektu@terra.es>
12 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
14 2002-09-30 Markus Rost <rost@math.ohio-state.edu>
16 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
19 2002-09-27 Stefan Monnier <monnier@cs.yale.edu>
21 * emacsclient.c: Remove SYSV support.
22 (eval, display): New vars.
23 (longopts): Add --eval and --display.
24 (decode_options): Add -e and -d processing.
25 (print_help_and_exit): Update the usage string.
26 (main): Add support for --eval and --display.
27 (main): Always use /tmp and non-qualified hostname.
29 2002-09-25 Stefan Monnier <monnier@cs.yale.edu>
31 * emacsserver.c: Remove.
33 2002-09-17 Stefan Monnier <monnier@cs.yale.edu>
35 * emacsclient.c (quote_file_name): Quote \n.
36 (main): Print a final \n when needed.
38 2002-09-03 Francesco Potorti` <pot@gnu.org>
40 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
41 string that cannot be freed.
43 2002-08-30 Francesco Potorti` <pot@gnu.org>
45 * etags.c (consider_token, C_entries): Switch to C++ parsing when
46 auto-detection is enabled and the `::' qualifier is met.
47 (consider_token, C_entries): Several bugs corrected that tagged
48 some declarations even though --declarations was not used.
51 (C_entries): Several cosmetic changes.
52 (C_entries): Invalidate the token is some cases.
54 2002-08-29 Francesco Potorti` <pot@gnu.org>
56 * etags.c (C_entries): Corrected a problem with const C++ funcs.
57 (ignoreindent): Renamed from noindentypedefs.
58 (cjava, cplpl): They are now macros instead of local vars.
60 2002-08-28 Francesco Potorti` <pot@gnu.org>
62 * etags.c (HTML_labels): Tag ID= also.
64 2002-08-27 Francesco Potorti` <pot@gnu.org>
66 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
68 * etags.c: (HTML_labels): New language HTML.
69 (etags_strcasecmp): Like BSD's, for compatibility.
70 (strcaseeq): Make it into a macro.
72 * etags.c (make_tag): Never generate null length tag names.
73 (linebuffer_init): Renamed from initbuffer. All callers changed.
74 (pattern): Structure renamed to `regexp', member regex renamed to
76 (node_st): Member pat renamed to regex.
77 (pattern); New member force_explicit_name, for future use. Now
78 always set to true, cannot be reset.
79 (add_regex, regex_tag_multiline, readline): Use it.
80 (main): Free some global structures.
81 (fdesc): New member `written'.
82 (readline, process_file): Initialise it.
83 (put_entries): Set it.
84 (main): Use it to create entries for files without tags.
85 (total_size_of_entries): Do not count invalid tags.
87 2002-08-19 Stefan Monnier <monnier@cs.yale.edu>
89 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
90 for the function name in the usage info.
92 2002-07-31 Colin Walters <walters@gnu.org>
94 * update-game-score.c (P_): New macro. Use it for all prototypes.
95 (lose): Don't use varargs.
96 (lose_syserr): New function.
98 * update-game-score.c: Change all functions to K&R style.
100 2002-07-30 Andreas Schwab <schwab@suse.de>
102 * Makefile.in (localstatedir): New variable.
104 2002-07-29 Jonathan Kamens <jik@kamens.brookline.ma.us>
106 * b2m.pl: Fix regexp for finding return address fields.
108 2002-07-15 Stefan Monnier <monnier@cs.yale.edu>
110 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
112 2002-07-05 Jonathan Kamens <jik@kamens.brookline.ma.us>
114 * b2m.pl: Obey the rmail file and use the unpruned header properly.
116 2002-06-26 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
120 2002-06-21 Francesco Potorti` <pot@gnu.org>
122 * etags.c: (F_getit, Fortran_functions, Ada_getit, Asm_labels)
123 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
124 (PHP_functions, PHP_functions, Cobol_paragraphs)
125 (Makefile_targets, Postscript_functions, Texinfo_nodes)
126 (prolog_pr, erlang_func, erlang_attribute)
127 (Perl_functions, Perl_functions, Pascal_functions)
128 (TeX_commands, get_tag): Use make_tag instead of pfnote.
129 (get_tag): Prototype changed, all callers changed.
131 2002-06-20 Francesco Potorti` <pot@gnu.org>
133 * etags.c: Implement implicit tag names, that is, unnamed tags
134 whose name is automatically deduced by etags.el. The advantage is
135 that there is no explicit tag name in most tags, so the size of
136 the tags file is reduced, yet find-tag is able to do a match as
137 accurate as with named tags. See the comment in make_tag for
139 (make_tag): New function (was the disabled function new_pfnote).
140 (make_C_tag): Use it.
142 2002-06-19 Francesco Potorti` <pot@gnu.org>
144 * etags.c (add_regex): Invalid regexp modifiers are ignored.
145 (Makefile_targets): Tag variables unless --no-globals.
146 (LOOP_ON_INPUT_LINES): Serious bug corrected.
148 2002-06-13 Francesco Potorti` <pot@gnu.org>
150 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
151 (invalidate_nodes): Bug corrected.
152 (print_help): Better help for regexps.
154 2002-06-13 Juanma Barranquero <lektu@terra.es>
156 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
159 2002-06-12 Francesco Potorti` <pot@gnu.org>
161 * etags.c: New multi-line regexp and new regexp syntax.
162 (arg_type): at_icregexp label removed (obsolete).
163 (pattern): New member multi_line for multi-line regexps.
164 (filebuf): A global buffer containing the whole file as a string
165 for multi-line regexp matching.
166 (need_filebuf): Global flag raised if multi-line regexps used.
167 (print_help): Document new regexp modifiers, remove references to
168 obsolete option --ignore-case-regexp.
169 (main): Do not set regexp syntax and translation table here.
170 (main): Treat -c option as a backward compatibility hack.
171 (main, find_entries): Init and free filebuf.
172 (find_entries): Call regex_tag_multiline after the regular parser.
173 (scan_separators): Check for untermintaed regexp and return NULL.
174 (analyse_regex, add_regex): Remove the ignore_case argument, which
175 is now a modifier to the regexp. All callers changed.
176 (add_regex): Manage the regexp modifiers.
177 (regex_tag_multiline): New function. Reads from filebuf.
178 (readline_internal): If necessary, copy the whole file into filebuf.
179 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
181 2002-06-11 Francesco Potorti` <pot@gnu.org>
183 * etags.c (add_regex): Better check for null regexps.
184 (readline): Check for regex matching null string.
185 (find_entries): Reorganisation.
187 2002-06-07 Francesco Potorti` <pot@gnu.org>
189 * etags.c (scan_separators): Support all character escape
190 sequences supported by Gcc.
191 (find_entries): Rewind unconditionally.
192 (find_entries): Do not call language functions directly, now calls
194 (find_entries): Do general initialisations here.
195 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
196 (Ada_getit, Pascal_functions, Pascal_functions)
197 (prolog_skip_comment): Do not do them here.
198 (readline_internal): Increment lineno here.
199 (readline): Conditionally undo readline_internal increment.
200 (readline): Do not return a value.
202 2002-06-06 Francesco Potorti` <pot@gnu.org>
204 * etags.c New option --parse-stdin=FILE.
205 (enum arg_type): New label at_stdin.
206 (STDIN): New constant.
207 (parsing_stdin): New flag.
208 (longopts): New option --parse-stdin=NAME.
209 (print_help): Document it.
211 (process_file): Split into process_file and process_file_name.
212 (process_file_name): New function.
214 * etags.c Improvements and bug squashing in TeX handling.
215 (TeX_commands): Skip comments.
216 (TEX_defenv): Now contains more contructs.
217 (TEX_cmt): Make it a static char and move it before TeX_commands.
218 (TeX_commands): Shorten the tag to the brace after the name.
219 (TeX_commands): Names now include the initial backslash.
220 (TeX_commands): Names do not include numeric args #n.
221 (TeX_commands): Correct line char number in tags.
222 (TEX_tabent, TEX_token): Deleted.
223 (TeX_commands, TEX_decode_env): Streamlined.
225 2002-06-05 Francesco Potorti` <pot@gnu.org>
227 * etags.c (main): Avoid a buffer overrun with sprintf.
229 2002-05-30 Richard M. Stallman <rms@gnu.org>
231 * Makefile.in (LIBS_MAIL): Renamed from LIB_MAIL.
232 (LIBS_MOVE): Renamed from MOVE_LIBS.
234 2002-05-26 Paul Eggert <eggert@twinsun.com>
236 Reinstate the following change from 2002-03-22, which was
237 inadvertently lost on 2002-04-13.
239 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
240 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
243 2002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
245 * pop.c (socket_connection): Move the code to resolve the POP
246 host right before trying to connect with it.
248 2002-04-28 Colin Walters <walters@verbum.org>
250 * Makefile.in (${archlibdir}): Don't conditionalize on
251 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
252 or not we have access to the specified game user.
254 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
255 (main): New argument -d, for specifying directory.
257 (get_user_id): Compute.
258 (get_home_dir): Deleted.
259 (get_prefix): New function, taken from main.
260 (main): Check whether or not we are running setuid. Move prefix
261 computation to get_prefix. Don't call getpwent; we don't need to
262 any more. Instead, move it to get_user_id().
264 2002-04-24 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
266 * ebrowse.c (skip_initializer): Return void.
268 2002-04-23 Colin Walters <walters@verbum.org>
270 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
273 2002-04-22 Francesco Potorti` <pot@gnu.org>
275 * etags.c: (last_node): Make it a global variable.
276 (process_file): Print the tags from the nodes as soon as
277 possible, and delete the nodes. This brings down the memory
278 occupancy as etags to almost the same level as when the #line
279 directives were not parsed.
280 (free_fdesc): New function.
281 (find_entries): Use it.
282 (invalidate_nodes): In etags mode, do not just mark the nodes as
283 invalid, do delete them.
285 2002-04-21 Gerd Moellmann <gerd@gnu.org>
287 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
289 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
291 * update-game-score.c: Move config.h before the other headers, to
292 avoid compiler warnings.
294 2002-04-16 Francesco Potorti` <pot@gnu.org>
296 * etags.c (find_entries): Bug fix in list management.
298 2002-04-15 Francesco Potorti` <pot@gnu.org>
300 * etags.c (get_language_from_filename): Add one argument.
301 (strcaseeq): New function.
302 (get_language_from_filename): Use it to do a case insenstitive
303 comparison if called with appropriate args.
304 (find_entries): Try with case insensitive match.
305 (process_file): Bug fixed.
307 2002-04-13 Francesco Potorti` <pot@gnu.org>
309 * etags.c (find_entries): Delete tags previously obtained from
310 file xxx.c's #line directives when parsing file xxx.y. This is
311 generally done for automatically generated files containing
312 #line directives. This handles the case when xxx.y is tagged
313 before xxx.c, and the entries of xxx.c pointing to xxx.y should
315 (language): Added the metasource member. Initializers changed.
316 (invalidate_nodes): New function.
317 (readline): Discard lines after having found a #line
318 directive pointing to an already tagged file. This handles the
319 case when xxx.y is tagged before xxx.c, and the entries of
320 xxx.c pointing to xxx.y should be discarded.
321 (fdesc): New structure for keeping track of input files.
322 (fdesc): Remove `file' member (a string) and use instead a pointer
323 to a file description structure.
324 (curfile, curfiledir, curtagfname, curlang, nocharno)
325 (forced_lang): Global variables removed in favor of fdhead and
326 curfdp, pointers to file description strucures.
327 (longopts, main, print_help): Use the CTAGS conditional to include
328 or exclude options that work on etags or ctags only.
329 (process_file, find_entries, pfnote, add_node, put_entries)
330 (readline): Use fdhead and curfdp.
331 (process_file, find_entries): Do not take an arg string, all
334 * etags.c (longopts, print_help, main): Test CTAGS to disallow
335 options that are not right for either etags or ctags.
337 * etags.c (number_len, total_size_of_entries): Define them also
338 in CTAGS mode, because gcc does not compile all refs away.
340 2002-04-14 Colin Walters <walters@debian.org>
342 * update-game-score.c (lock_file): If the lock file is older than
343 an hour, delete it. Reset attempts to zero if we have to break
346 2002-04-14 Andreas Schwab <schwab@suse.de>
348 * update-game-score.c (read_score): Fix type of second parameter
349 of getdelim to be of type size_t instead of int. Use 0 instead of
352 2002-04-10 Colin Walters <walters@verbum.org>
354 * update-game-score.c: (toplevel): Include stdarg.h.
355 (MAX_DATA_LEN, MAX_SCORES): New.
356 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
357 default to ~/.emacs.d/games.
358 (get_user_id): Don't zero uid in the case where we can't get the
360 (lose): New function.
361 (main): Actually use `max', and default it to MAX_SCORES.
362 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
364 (read_score): Handle the case of reading unamelen characters, then
365 finishing. Use mktemp if mkstemp isn't available.
366 (lock_file, unlock_file): Delete unused versions.
367 (lock_file): Always sleep, even if we unlinked the lock file.
369 * Makefile.in (gamedir, gameuser): New variables.
370 (toplevel, UTILITIES): Add update-game-score.
371 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
373 2002-04-07 Colin Walters <walters@verbum.org>
375 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
376 (get_user_id): Take struct passwd as an argument.
377 (get_home_dir): New function.
378 (main): Read in user information here. Discover home directory if
380 (read_score): Trim newline only in `getline' case.
382 2002-04-05 Colin Walters <walters@debian.org>
384 * update-game-score.c (toplevel): Include pwd.h.
385 (struct score_entry): Add username field.
386 (push_score): Use it.
387 (get_user_id): New function.
388 (main): Don't malloc excessively.
389 (main): Use username field.
390 (read_score): Read it.
391 (push_score): Handle it.
392 (write_scores) Write it.
393 (read_score): Handle arbitrary length data.
395 2002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
397 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
399 2002-03-29 Gerd Moellmann <gerd@gnu.org>
401 * ebrowse.c (add_declarator, skip_initializer): New functions.
402 (declaration): Use them.
404 2002-03-28 Jason Rumney <jasonr@gnu.org>
406 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
408 2002-03-27 Colin Walters <walters@debian.org>
410 * update-game-score.c: New file.
412 2002-03-22 Paul Eggert <eggert@twinsun.com>
414 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
415 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
418 2002-03-12 Francesco Potorti` <pot@gnu.org>
420 * etags.c (Python_functions): Skip spaces at beginning of lines.
421 (Python_functions, PHP_functions): Name tags, for ctags' sake.
422 (TeX_commands): Name tags. Correction of old disabled code.
424 * etags.c (curfiledir, curtagfname): New global variables.
425 (process_file): Initialise them.
426 (readline): Canonicalize the name found in #line directive.
428 2002-03-06 Jason Rumney <jasonr@gnu.org>
430 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
431 compilers that don't optimize out dead code.
433 2002-03-05 Francesco Potorti` <pot@gnu.org>
435 * etags.c: Honour #line directives.
436 (no_line_directive): New global var; set it for old behaviour.
437 (main): Remove some #ifdef in the getopt switch.
438 (add_node, put_entries): Code added to merge different chunks of
439 nodes referring to the same file. Currently the tags are just
440 appended, without any check for duplicates.
441 (Perl_functions): Do not special case ctags.
442 (readline): Identify #line directives and do the right thing.
443 (nocharno, invalidcharno): New global vars.
444 (process_file): Reset nocharno.
445 (readline): Set nocharno.
446 (pfnote): Read nocharno and maybe put invalidcharno in node.
447 (total_size_of_entries, put_entries): Use invalidcharno.
449 * etags.c: Keep the whole tag table in memory, even in etags mode.
450 (main): Call put_entries here even in CTAGS mode.
451 (main, process_file): Check the return values of fclose and pclose.
452 (process_file): Do not call put_entries after parsing each file.
453 (process_file): Canonicalise file names even for ctags.
454 (process_file): Set curfile here...
455 (find_entries): ... not here any more.
456 (add_node): In etags mode, build a linked list of entries (on
457 right pointer) for each file, and link the first entry of each
459 (put_entries): Print here the name of the file.
460 (put_entries): Print the entries starting from the first file.
461 (number_len, total_size_of_entries): Define these only in etags
462 mode, make the second work only on the right nodes.
464 * etags.c: Make all global variables static.
466 2002-02-25 Juanma Barranquero <lektu@terra.es>
468 * makefile.w32-in (lisp): Add missing backslash.
470 2002-02-24 Jason Rumney <jasonr@gnu.org>
472 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
474 (lisp): Sync with list in src/Makefile.in
475 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
477 2002-02-10 Paul Eggert <eggert@twinsun.com>
479 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
480 disallows the old syntax.
482 2002-02-03 Paul Eggert <eggert@twinsun.com>
484 * rcs2log(Copyright): Update to 2002.
485 (AWK, TMPDIR): Work around portability problem in broken shells that
486 don't understand `: ${VAR=val}'.
487 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
488 Prefer the new -k option to the traditional +M -N option.
490 2002-01-01 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
492 * b2m.c (main): Parenthesize assignment when used as truth value
493 to prevent gcc warnings.
495 * fakemail.c: Include <config.h>.
497 2001-12-29 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
499 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
500 * yow.c: Include <config.h>.
502 2001-12-21 Francesco Potorti` <pot@gnu.org>
504 * etags.c (Perl_functions): Tag packages and use them in sub tags.
505 (get_tag): Return a pointer to the tag that is found.
507 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
508 (F_takeprec): Renamed from takeprec. All callers changed.
509 (F_getit): Renamed from getit. All callers changed.
510 (nocase_tail): Renamed from tail. All callers changed.
511 (Ada_getit): Renamed from adagetit. All callers changed.
512 (L_getit): Simplified by using get_tag.
513 (Perl_functions, Postscript_functions, erlang_attribute): Use the
515 (notinname): Removed '[' and added ')' to the recognised chars.
516 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
517 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
518 Clarified, using strneq or notinname.
519 (L_isdef, L_isquote): Removed.
520 (Lisp_functions, L_getit): Clarified.
522 * etags.c: (P_): Renamed to __P for consistency with config.h.
523 [HAVE_CONFIG_H]: Let config.h deal with __P.
524 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
525 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
527 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with Xemacs).
528 [HAVE_CONFIG_H] [!__P]: Define __P (for use with Xemacs).
529 (xmalloc, xrealloc): Use PTR instead of long *.
530 (bool): Make it a define, not a typedef, for C++ compilers.
531 (pattern): Members renamed to avoid name clash in some C++ compilers.
532 (get_language_from_langname): Use const argument.
534 2001-12-22 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
536 * makefile.nt, makefile.w32-in: Remove mocklisp files.
538 2001-12-19 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
540 * emacsserver.c: Conditionally include config.h.
542 * fakemail.c: Likewise.
544 * emacsclient.c: Include "config.h", not <../src/config.h>.
545 (main): Parenthesize assignment when used as truth value to
546 prevent gcc warnings.
548 * ebrowse.c: Include stdlib.h and string.h conditionally.
550 2001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
552 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
554 2001-12-18 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
556 * test-distrib.c: Fix previous change.
558 2001-12-18 Dave Love <fx@gnu.org>
560 * test-distrib.c: Conditionally include fcntl.h.
562 * fakemail.c: Include "config.h", not <../src/config.h>.
563 (_XOPEN_SOURCE): Define as 500.
565 * emacsserver.c: Include "config.h", not <../src/config.h>.
567 * cvtmail.c: Include config.h, stdlib.h.
568 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
570 * yow.c: Conditionally include various headers. Use "epaths.h",
571 not <../src/epaths.h>.
572 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
574 2001-12-12 Francesco Potorti` <pot@gnu.org>
576 * etags.c (PHP_functions): New function for parsing PHP.
577 (LOOKING_AT): New macro.
578 (Perl_functions, Python_functions, PHP_functions)
579 (Scheme_functions, Texinfo_nodes): Use it.
580 (Perl_functions): Use strneq.
581 (prolog_pred): Renamed to prolog_pr.
582 (prolog_pr): Recognise Prolog rules in addition to predicates.
583 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
584 unmodified compile, as Cygwin's regex.h is incompatible with us.
585 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
587 2001-12-11 Richard M. Stallman <rms@gnu.org>
589 * Makefile.in (clean): Don't delete ../etc/DOC*.
591 2001-12-11 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
593 * COPYING: Moved back.
595 2001-11-30 Andrew Innes <andrewi@gnu.org>
597 * makefile.w32-in (FACE_SUPPORT):
601 (lisp): Reference .el files instead of .elc files, to simplify
603 ($(DOC)): Change dependency to just `make-docfile'.
605 2001-11-29 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
609 2001-11-28 Paul Eggert <eggert@twinsun.com>
611 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
613 The following changes are derived from suggestions by Bob Chapman
614 <rechapman@compuserve.com>.
616 * rcs2log (printlogline): Also allow tab and newline to separate
617 '(function):' from the rest of a comment.
618 (reformat the sorted log entries): Require date and author to
621 2001-11-16 Gerd Moellmann <gerd@gnu.org>
623 * ebrowse.c (matching_regexp): Escape '\\'.
625 2001-11-15 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
627 * Makefile.in: Add support for --program-prefix, --program-suffix
628 and --program-transform-name options.
630 2001-11-03 Richard M. Stallman <rms@gnu.org>
632 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
634 * movemail.c (popmail): Always pass two args to `error'.
636 2001-10-24 Ken Raeburn <raeburn@gnu.org>
638 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
639 -lhesiod and maybe -lresolv.
640 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
641 support if it's available.
643 2001-10-21 Miles Bader <miles@gnu.org>
645 * make-docfile.c (struct rcsoc_state): New type.
646 (read_c_string_or_comment): Add SAW_USAGE
647 parameter, and implement scanning for a `usage:' keyword.
648 Use a variable of type `rcsoc_state' to hold most of our state.
649 (put_char): Add STATE parameter, and remove all other parameters
650 except CH. Use STATE to get access to all needed state.
651 (scan_keyword_or_put_char): New function.
652 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
653 Don't output a usage-string if there was one in the doc-string.
655 2001-10-20 Gerd Moellmann <gerd@gnu.org>
657 * (Version 21.1 released.)
659 2001-10-19 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
661 * b2m.c: Properly spell the name of Emacs.
663 2001-10-17 Miles Bader <miles@gnu.org>
665 * make-docfile.c (put_char): New function.
666 (read_c_string_or_comment): Strip trailing spaces and newlines.
668 2001-10-16 Miles Bader <miles@gnu.org>
670 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
671 comments [with `doc:' keyword prefix].
673 2001-10-15 Gerd Moellmann <gerd@gnu.org>
675 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
678 2001-10-13 Gerd Moellmann <gerd@gnu.org>
680 * make-docfile.c (read_c_string_or_comment): Renamed from
681 read_c_string. Add parameter COMMENT. Read C-style comments.
682 (scan_c_file): Handle doc strings in C comments.
684 2001-10-12 Andrew Innes <andrewi@gnu.org>
686 * makefile.nt (ALL): Do not include fakemail.
688 * makefile.w32-in (install): Do not copy fakemail.
690 2001-10-10 Jason Rumney <jasonr@gnu.org>
692 * makefile.w32-in (ALL) Do not include fakemail.
694 * makefile.nt (install) Ditto.
696 2001-10-09 Gerd Moellmann <gerd@gnu.org>
698 * emacsserver.c (main): Cast geteuid in sprintf to int.
700 * emacsclient.c (main): Cast isdigit argument to unsigned char.
702 2001-10-07 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
704 * profile.c: Include config.h, not ../src/config.h.
705 Include systime.h, not ../src/systime.h.
707 2001-10-05 Gerd Moellmann <gerd@gnu.org>
711 2001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
713 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
714 ALIASEE to help work with namespace aliases.
715 (struct sym): Remove struct member NAMESP_ALIASES.
716 (namespace_alias_table): New variable.
717 (make_namespace): Add parameter CONTEXT.
718 (check_namespace): New function.
719 (find_namespace): Add parameter CONTEXT.
720 (check_namespace_alias): New function.
721 (register_namespace_alias): Change type of parameter OLD_NAME.
722 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
723 (check_namespace): New function.
724 (enter_namespace): Call find_namespace with CONTEXT parameter.
725 (match_qualified_namespace_alias): New function.
726 (parse_qualified_ident_or_type): Fixed typo in comment.
727 While parsing qualified ident or type update namespace context and
729 (parse_qualified_param_ident_or_type): Fixed typo in comment.
730 (globals): Changed handling of namespace aliases.
731 (version): Added year 2001.
733 2001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
735 * etags.c (analyse_regex): If regex_arg is NULL, return
736 immediately after a call to free_patterns.
738 2001-09-05 Paul Eggert <eggert@twinsun.com>
740 * rcs2log (Help, mainline code): Add new option -L FILE.
741 (Copyright): Update year.
742 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
743 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
745 (mainline code): Handle nonstandard -u option differently, by
746 transforming it to standard form. Check for "Working file: ", not
747 "Working file:". Allow file names with spaces.
748 (SOH, rlogfile): New shell vars.
749 (rlogout): Remove. Its old functionality is mostly migrated to
752 Append ';;' to the last arm of every case statement, for
753 portability to ancient broken BSD shells.
755 (logins): Fix bug; was not being computed at all, lowering performance.
756 (pository): New var. This fixes some bugs where repositories are
757 remote, or have trailing slashes.
758 (authors): $llogout is never an empty shell var, so don't worry
759 about that possibility.
760 (printlogline, mainline code): Fix bug with SOH's being put into
763 2001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
765 * ebrowse.c (SEEK_END): #define if not defined by system headers.
766 Suggested by Dave Love <d.love@dl.ac.uk>.
768 2001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
770 * makefile.nt (lisp): Synchronize with src/Makefile.in.
771 * makefile.w32-in (lisp): Ditto.
773 2001-07-25 Juanma Barranquero <lektu@terra.es>
775 * grep-changelog (parse_changelog): Remove unused local variable.
777 * grep-changelog (main): Add new option --reverse.
779 (parse_changelog): Use it.
781 2001-07-20 Gerd Moellmann <gerd@gnu.org>
783 * grep-changelog: Remove RCS Id keyword.
785 2001-07-20 Juanma Barranquero <lektu@terra.es>
787 * grep-changelog (parse_changelog): Add tests for defined values
788 to quiet warning from Perl 5.005 or above.
789 (entry_match_p, header_match_p): Fix handling of null or empty
790 argument to prevent duplicate headers.
792 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
794 2001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
796 * emacsclient.c (print_help_and_exit): Fix help message for
799 2000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
801 * emacsclient.c (main): Add support for +LINE:COLUMN command line
804 2001-07-16 Gerd Moellmann <gerd@gnu.org>
806 * ebrowse.c (main): Check that the output file exists and
807 is non-empty if invoked with `--append'.
809 2001-05-14 Francesco Potorti` <pot@gnu.org>
811 * etags.c (add_regex): Reset the whole newly allocated pattern
812 buffer instead of the individual members. It's safer and works
815 * etags.1: Markups corrected.
817 2001-05-08 Gerd Moellmann <gerd@gnu.org>
819 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
821 2001-05-03 Gerd Moellmann <gerd@gnu.org>
823 * ebrowse.c (globals): Fix handling of namespace aliases.
825 2001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
827 * etags.c (print_help): Enclose the regexp in the help text
830 2001-04-05 Dave Love <fx@gnu.org>
832 * emacsclient.c (fail): Don't return a value.
833 (main): Cast uid values for sprintf.
835 2001-04-03 Gerd Moellmann <gerd@gnu.org>
837 * emacsclient.c (fail, main): Don't use implicit int return type.
839 * b2m.c (main): Always return a value.
841 2001-03-02 Gerd Moellmann <gerd@gnu.org>
843 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
844 freshly allocated object in *LAST_ID.
845 (read_line): Accept \r\n line endings.
847 2001-02-24 Andrew Innes <andrewi@gnu.org>
849 * makefile.w32-in: Fix copyright notice.
851 2001-02-23 Francesco Potorti` <pot@gnu.org>
853 * etags.c (enum sym_type): New label st_C_template.
854 (gperf input): Use it for switching to C++ from C.
855 (consider_token): Do it.
856 (C_entries): Initialise typdefcblev to quiet compilers.
857 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
859 2001-02-22 Andrew Innes <andrewi@gnu.org>
861 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
863 ($(BLD)\profile.obj): Ditto.
865 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
867 ($(BLD)/profile.$(O)): Ditto.
869 2001-02-05 Andrew Innes <andrewi@gnu.org>
871 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
872 invocation of make-docfile, to work with Windows 2000.
874 2001-01-31 Dave Love <fx@gnu.org>
876 * etags.c (in_word_set): Use `static' in definition (for pcc).
878 2001-01-31 Francesco Potorti` <pot@gnu.org>
880 * etags.c: [NDEBUG] #undef assert and #define it as ((void)0), for
881 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
882 (C_entries): Tag token renamed to still_in_token because sunos4
883 pcc wants to expand it as the token() macro even though it has no
886 2001-01-30 Andrew Innes <andrewi@gnu.org>
888 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
889 bug in the Mingw32 assert.h header file.
891 2001-01-30 Francesco Potorti` <pot@gnu.org>
893 * etags.c: [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
894 #define it for the sake of Xemacs.
895 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
896 HAVE_CONFIG_H. This change only affects a standalone etags.
897 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
898 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
899 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
900 [!HAVE_UNISTD_H]: use defined(WINDOWSNT) instead of the bare
901 WINDOWSNT, as this is the correct way to use it.
903 2001-01-28 Francesco Potorti` <pot@gnu.org>
905 * etags.c: Be capable to parse nested struct-like structures.
906 (structdef, structtag): Struct state machine revisited.
907 (struct tok): Revisited.
908 (cstack, nestlev, instruct): New struct and macros.
909 (pushclass_above, popclass_above, write_classname): New functions
910 for dealing with nested class names.
911 (consider_token, make_C_tag, C_entries): Many changes for dealing
912 with arbitrarily nested structures.
913 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
914 (C_entries): Consider templates in C++.
915 (sym_type): New constant st_C_class for detecting "class" also in
917 (C_AUTO): New macro for automatic detection of C++.
918 (consider_token): Automatic set C++ mode.
919 (C_entries): New security check for yacc.
920 (print_language_names, print_help): Mention the autodetect
921 feature, do not show help for the -C option, now mostly useless.
922 (C_entries): Tag C++ forward declarations if --declarations.
923 (C_entries): Don't be fooled by things like XDEFUN.
924 (consider_token): Discard asm pseudo function.
926 2001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
928 * etags.c: Add a coding: tag.
930 2001-01-26 Gerd Moellmann <gerd@gnu.org>
932 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
934 (matching_regexp): Use them instead of static variables in
937 2001-01-25 Francesco Potorti` <pot@gnu.org>
939 * etags.c (struct tok): Renamed from struct token.
940 (token): Renamed from tok.
941 (structtype): Make it a local variable.
943 (xrnew): Change the synopsis.
944 (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
945 (grow_linebuffer): Don't call xrnew when not needed.
946 (token): Buffer renamed to line.
947 (C_entries): Three calls to inibuffer moved here from main.
948 (C_entries): Removed all references to var methodlen, delete it.
949 (linebuffer_setlen): Was grow_buffer, now also sets len.
950 (consider_token, C_entries, Pascal_functions): Use it.
951 (C_entries): Preventing problems relative to extern "C".
952 (C_entries): Can tag more than one variable or func separated by
953 comma when --declarations is used.
954 (C_entries): More accurate tagging of members and declarations.
955 (yacc_rules): Was global, made local to C_entries.
956 (next_token_is_func): Removed.
957 (fvdef): New constants fdefunkey, fdefunname.
958 (consider_token, C_entries): Use them.
959 (C_entries): Build proper lisp names for Emacs DEFUNs.
961 2001-01-22 Gerd Moellmann <gerd@gnu.org>
963 * ebrowse.c (xfree): New function.
964 (member, declaration, globals): Use xmalloc instead of alloca.
966 2001-01-15 Francesco Potorti` <pot@gnu.org>
968 * etags.c (print_language_names): Print filenames in addition to
971 2001-01-14 Francesco Potorti` <pot@gnu.org>
973 * etags.c (get_language_from_langname): Renamed from
974 get_language_from_name.
975 (get_language_from_filename): Renamed from
976 get_language_from_suffix. Now first looks for the complete file name.
977 (language): New member char **filenames.
978 (Makefile_filenames): List of possible filenames for makefiles.
979 (lang_names): Added a NULL member for every entry, added an entry
981 (Makefile_targets): New function.
982 (Texinfo_nodes): Renamed from Texinfo_fuctions and made
983 it conformant to the style of the rest of the code.
985 2001-01-13 Gerd Moellmann <gerd@gnu.org>
987 * make-docfile.c (write_c_args): Print newlines as spaces.
989 2001-01-06 Andrew Innes <andrewi@gnu.org>
991 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
994 2001-01-03 Paul Eggert <eggert@twinsun.com>
996 * lib-src/rcs2log: Avoid security hole allowing attacker to
997 cause user of rcs2log to overwrite arbitrary files, fixing
998 a bug reported by Morten Welinder.
1000 Don't put "exit 1" at the end of the exit trap; it's
1001 ineffective in POSIX shells.
1003 2001-01-02 Gerd Moellmann <gerd@gnu.org>
1005 * ebrowse.c (yyerror): Changed to take two arguments.
1006 Prototype added. Callers changed.
1008 2001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
1010 * ebrowse.c (enter_namespace, main): Cast variables to shut up
1012 (yyerror): Change parameter declarations to be of type long, so
1013 that they can take pointers on 64-bit platforms.
1015 * emacsclient.c (main): Remove unused local variable statbfr.
1016 (main) <homedir>: Make its declaration conditional on
1017 SERVER_HOME_DIR, to avoid compiler warnings.
1019 * emacsserver.c (main) <homedir>: Make its declaration conditional
1020 on SERVER_HOME_DIR, to avoid compiler warnings.
1022 * fakemail.c (readline): Cast buffer to "long *" to pacify
1023 over-zealous compilers.
1025 2000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
1027 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
1029 2000-12-15 Gerd Moellmann <gerd@gnu.org>
1031 * ebrowse.c (operator_name): Cast argument of isalpha to
1034 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
1035 Use them throughout instead of ctype functions/macros.
1036 (lowcase): Cast to unsigned char.
1037 (UPCASE): New macro.
1038 (canonicalize_filename): Use UPCASE instead toupper.
1040 * fakemail.c (get_keyword): Make sure that isspace and
1041 similar aren't called with a negative argument.
1043 2000-12-13 Dave Love <fx@gnu.org>
1045 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
1047 2000-12-06 Andrew Innes <andrewi@gnu.org>
1049 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
1050 don't know the real version, and I can't seem to get the quoting
1051 right in all circumstances.
1053 * ebrowse.c (VERSION): Provide default definition, like etags.c
1054 does, because Windows build can't snarf this from version.el.
1056 2000-11-30 Andrew Innes <andrewi@gnu.org>
1058 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
1061 2000-11-23 Jason Rumney <jasonr@gnu.org>
1063 * makefile.w32-in: Add targets for ebrowse.exe.
1064 (LOCAL_FLAGS): Add -DVERSION flag.
1066 2000-09-25 Dave Love <fx@gnu.org>
1068 * sorted-doc.c: Include config.h.
1069 [!HAVE_STDLIB_H]: Declare malloc.
1071 2000-09-14 Andrew Innes <andrewi@gnu.org>
1073 * makefile.w32-in: Revert to Unix line endings.
1075 2000-09-04 Dave Love <fx@gnu.org>
1077 * movemail.c (index, rindex): Prototype conditionally.
1079 2000-09-03 Andrew Innes <andrewi@gnu.org>
1081 * makefile.w32-in: Change to DOS line endings.
1083 2000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
1085 * movemail.c (toplevel): Remove redundant fcntl.h.
1086 [!F_OK]: Provide default definitions only after including both
1087 fcntl.h and unistd.h.
1089 2000-08-29 Dave Love <fx@gnu.org>
1091 * movemail.c: Revert previous change.
1093 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
1095 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
1097 2000-08-28 Dave Love <fx@gnu.org>
1099 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
1100 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
1102 2000-08-22 Andrew Innes <andrewi@gnu.org>
1104 * ntlib.h (WIN32): Remove unnecessary definition.
1105 (sleep): Make argument unsigned long.
1106 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
1108 * ntlib.c (sleep): Make argument unsigned long.
1110 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
1112 * makefile.w32-in: New file.
1114 2000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
1116 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
1117 letter only if it is a drive letter.
1119 2000-07-14 Gerd Moellmann <gerd@gnu.org>
1121 * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and ymalloc.
1123 * etags.c (xmalloc, xrealloc): Make externally visible, for use
1126 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
1128 2000-07-10 Gerd Moellmann <gerd@gnu.org>
1130 * ebrowse.c (yylex): Accept string literals with newlines in them.
1131 (process_pp_line): Handle case of string literal with newline
1132 in it in replacement text, which counts as continuing the
1133 replacement text in GNU C.
1135 2000-07-02 Gerd Moellmann <gerd@gnu.org>
1137 * ebrowse.c (token_string): Add missing tokens.
1138 (parm_list): Handle case of qualified pointers.
1140 2000-06-23 Dave Love <fx@gnu.org>
1142 * ebrowse.c: Move config.h before other includes (which may use
1145 2000-06-14 Jim Meyering <meyering@lucent.com>
1147 * grep-changelog: Fix typos in comments. Remove trailing blanks.
1149 2000-06-11 Jason Rumney <jasonr@gnu.org>
1151 * makefile.nt: Add targets for ebrowse.
1153 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
1156 2000-06-06 Gerd Moellmann <gerd@gnu.org>
1158 * ebrowse.c (ymalloc): Renamed from xmalloc.
1159 (yrealloc): Renamed from xrealloc.
1161 2000-05-21 Dave Love <fx@gnu.org>
1163 * movemail.c: Include config.h, not ../src/config.h.
1164 (Errmsg): Bump length.
1166 * pop.c (ERROR_MAX): Increase to 160.
1168 2000-05-04 Gerd Moellmann <gerd@gnu.org>
1170 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
1172 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
1174 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
1175 Define to semi-colon.
1176 (FILENAME_EQ): New macro, for comparing file names.
1177 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
1178 (process_file): Don't assume that fread always reads as many bytes
1179 as it was told to (DOS-style CR-LF text files fail this logic).
1180 (open_file): Allocate enough space for path->path plus the file
1183 2000-04-19 Dave Love <fx@gnu.org>
1185 * etags.c (Texinfo_functions): New function.
1186 (lang_names): Install it.
1187 (Texinfo_suffixes): New variable.
1189 2000-04-19 Gerd Moellmann <gerd@gnu.org>
1191 * ebrowse.c (xmalloc, xrealloc): Rewritten.
1192 (declaration): Remove parameter IS_EXTERN.
1193 (class_definition): Remove unused variable.
1195 2000-04-09 Gerd Moellmann <gerd@gnu.org>
1197 * Makefile.in (INSTALLABLES): Add ebrowse.
1198 (ebrowse): New target.
1200 * ebrowse.c: New file.
1202 2000-03-29 Andreas Schwab <schwab@suse.de>
1204 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
1206 2000-03-02 Gerd Moellmann <gerd@gnu.org>
1208 * etags.c (lisp_suffixes) Add `LSP'.
1210 2000-02-10 Francesco Potorti` <pot@gnu.org>
1212 * etags.c (iswhite): Redefined not to consider '\0' as white
1213 space, and use it throughout in place of isspace, thus preventing a
1214 potential signed char to int conversion problem.
1215 (MSDOS): #undefine befere redefining
1217 2000-02-04 Francesco Potorti` <pot@gnu.org>
1219 * etags.c (many functions): Add prototypes.
1221 2000-02-10 Dave Love <fx@gnu.org>
1223 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
1224 (erlang_func): Add `static' to definitions to keep pcc happy.
1226 2000-01-31 Francesco Potorti` <pot@gnu.org>
1228 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
1229 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
1230 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
1231 (getenv, getcwd): Only declare them if necessary.
1232 (EMACS_NAME): New constant macro.
1233 (print_version): Use it.
1234 (P_) [__STDC__]: Macro for defining function prototypes.
1236 2000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
1238 * etags.c [WINDOWSNT]: #include <direct.h>
1240 2000-01-18 Martin Buchholz <martin@xemacs.org>
1242 * etags.c (all functions): Made them static.
1243 (all functions): Write prototypes.
1245 2000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
1247 * movemail.c (main): Improve error message if can't create lock file.
1249 2000-01-28 Eric Hanchrow <offby1@blarg.net>
1251 * emacsclient.c (socket_status): New function.
1252 (main): If $LOGNAME or $USER exist and differ from our euid, look
1253 for a socket based on the UID associated with the name.
1255 2000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
1257 * emacsclient.c: Add option -a EDITOR and environment variable
1258 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
1260 1999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us>
1262 * movemail.c (popmail): Allow mailbox specifications of the
1263 form `po:username:hostname'.
1265 1999-11-19 Francesco Potorti` <pot@gnu.org>
1267 * etags.c (_GNU_SOURCE): Define only if undefined.
1268 (get_scheme): Declaration deleted.
1269 (main): Error was called with an integer as second arg, instead of
1271 (canonicalize_filename): Bug removed.
1273 1999-11-18 Dave Love <d.love@dl.ac.uk>
1275 * etags.c (C_entries): Rename label `intoken', avoiding K&R
1276 lossage from name clash with macro.
1278 1999-11-13 Gerd Moellmann <gerd@gnu.org>
1280 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
1282 1999-11-03 Gerd Moellmann <gerd@gnu.org>
1284 * etags.c (print_help): Change email address to send bugs to.
1286 1999-11-01 Francesco Potorti` <pot@gnu.org>>
1288 * etags.c: Add suffix psw for PSWrap.
1289 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
1290 (Postscript_functions): Add code for PSWrap.
1291 (Scheme_functions): Use local pointer and new get_tag function.
1292 (get_tag): New name for old get_scheme.
1293 (process_file): Do not free NULL when file does not exist.
1294 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
1295 (C_entries): Modifications that make --members tag even inside
1296 typedefs and C nested structs (one level only).
1297 (consider_token): Corrected a bug which prevented tagging of enum
1299 (C_stab_entry): Added if, for, while, switch, return as
1300 st_C_ignore. This makes it simpler to work when cblev!=0.
1302 * etags.c (C_entries): Tag member function declarations when
1303 --declarations is used.
1305 * etags.c (C_entries, consider_token): C++ `operator' now is
1306 tagged in most cases.
1307 As before, :: is not recognised if surrounded by spaces.
1309 * etags.c (relative_filename): Account for DOS file names such
1310 that is impossible to make one relative to another.
1312 * etags.c (sym_type): New st_C_extern tag.
1313 (gperf input): Use it for spotting external declarations.
1314 (print_help): Document the new behaviour of --declarations.
1315 (fvextern): New global variable.
1316 (consider_token, C_entries): Use it.
1318 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
1319 (etags_getcwd): Remove test for WINDOWSNT.
1321 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
1322 foo.cgz, foo.cz, etc.
1324 * etags.c (declarations): New global switch.
1325 (longopts): Describe it.
1326 (print_help): Document it.
1327 (C_entries): Use it.
1328 (process_file): Don't process a file twice.
1330 * etags.c (Fortran_functions): No tags for "procedure".
1332 1999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
1334 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
1335 non-zero, returns a pointer to where the extension begins; callers
1337 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
1340 1999-11-01 Francesco Potorti` <pot@gnu.org>
1342 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
1343 (fvdev): New constant foperator.
1344 (consider_token): Use it to get "operator" in C++.
1345 (C_entries): Extend length of operator@ function name.
1346 (C_entries): Use foperator when necessary.
1348 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
1350 * etags.c (compressor): New struct for compressed files.
1351 (get_compressor_from_suffix): New function.
1352 (get_language_from_suffix): Use it. Also, semantics changed.
1353 (process_file): Consider compressed files, close file.
1354 (find_entries): Use different call arg for get_language_from_suffix,
1357 * etags.c (main): Call free_tree.
1358 (find_entries): Do not free curfile.
1359 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
1360 (prolog_pred, erlang_func, substitute): Cast strlen to int when
1362 (canonicalize_filename): Shut up compiler warning.
1363 (Perl_functions): Make tag significant.
1365 1999-11-01 Dave Love <d.love@dl.ac.uk>
1367 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
1368 (argument_type): New member at_icregexp.
1369 (lc_trans): New global.
1370 (main): Fill lc_trans. Process -c args.
1371 (add_regex): New arg determining whether to use translation table.
1372 (analyse_regex): New arg. Use it for add_regex.
1374 1999-11-01 Francesco Potorti` <pot@gnu.org>
1376 * etags.c (init): Cosmetic change: NULL --> '\0'.
1377 (erlang_attribute): Bug corrected (uninitialized variable).
1378 (filename_is_absolute): New function replaces absolutefn macro and
1379 corrects a bug. All callers changed.
1380 (canonicalize_filename): New function.
1381 (process_file, etags_getcwd, absolute_dirname): Use it.
1382 (relative_filename, absolute_filename): Removed var shadowing.
1383 (C_entries, Pascal_functions): Add fake initializations to keep
1385 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
1387 * etags.c (xrnew): New macro. All callers of xrealloc changed.
1388 (language): New typedef (was struct lang_entry).
1389 (curlang): New global variable.
1390 (node): Typedef renamed from NODE.
1391 (linebuffer): New typedef (was struct linebuffer).
1392 (pattern): New typedef (was struct pattern). Some members added.
1393 Now used as element of a linked list.
1394 (patterns, num_patterns): Global variables deleted.
1395 (p_head): New global variable.
1396 (forced_lang): New global variable (replaces lang_func).
1397 (get_language_from_name, get_language_from_interpreter)
1398 (get_language_from_suffix): Semantics changed. All callers changed.
1399 (last_node): New global variable.
1400 (free_tree, add_node, put_entries, total_size_of_entries):
1401 Change name of local vars to avoid clashes with typedef node.
1402 (number_len): Rewritten for elegance.
1403 (token): New typedef replaces TOKEN.
1404 (analyse_regex, add_regex): Rewritten for new functionality.
1405 (free_patterns): New function called from main and add_regex.
1406 (initbuffer, readline_internal, readline, grow_linebuffer):
1407 Change name of local vars to avoid clashes with typedef linebuffer.
1408 (readline): Rewritten for new functionality.
1410 * etags.c: (Scheme_suffixes): New suffix ".ss".
1411 (print_help): --globals is now used for more than C-type languages.
1412 (Perl_functions): Tag global variables ("my" and "local").
1414 * etags.c (print_help): Some messages clarified.
1415 (LOOP_ON_INPUT_LINES): New macro.
1416 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
1417 (Python_functions, Cobol_paragraphs, Pascal_functions)
1418 (Lisp_functions, Postscript_functions, Scheme_functions)
1419 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
1420 (Cobol_paragraphs, Postscript_functions, TeX_functions)
1421 (Prolog_functions, Erlang_functions): Use a local variable instead
1422 of the global variable dbp.
1423 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
1424 standard indentation.
1426 * etags.c (Python_suffixes, lang_names, Python_functions):
1428 (skip_spaces, skip_non_spaces): Utility functions.
1429 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
1430 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
1431 (prolog_pred, erlanf_func, erlang_attribute): Use them.
1432 (eat_white): Deleted.
1434 * etags.c (CHAR, init): Keep into account non US-ASCII
1435 characters and compilers with default signed chars.
1436 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
1439 * (C_stab_entry): "interface" in Java behaves like "class".
1441 * etags.c: (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
1442 (main): Put interval syntax here.
1443 (add_regex): And remove it from here.
1445 * etags.c (suggest_asking_for_help): Provide a
1446 meaningful help message with and without LONG_OPTIONS.
1448 * etags.c: <io.h> [MSDOS]: Include it, don't include string.h.
1449 <stdlib.h, string.h>: Don't test MSDOS when including them.
1450 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
1451 (put_entries): Correctly use %ld instead of %d in printf.
1453 * etags.c: <unistd.h> [HAVE_UNISTD_H]: Include conditionally, else
1454 declare getcwd if HAVE_GETCWD.
1455 (consider_token): Dead break instruction removed.
1457 1999-10-19 Paul Eggert <eggert@twinsun.com>
1459 Add support for large files. Merge glibc 2.1.2.
1461 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
1463 Do not include <stdlib.h>, as <config.h> does this now.
1465 * b2m.c, emacsserver.c, etags.c, profile.c:
1466 Include <config.h> before any system include files.
1468 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
1470 (read, write, open, close): Do not undef.
1472 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
1473 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
1475 * getopt.h: Adopt glibc 2.1.2.
1477 1999-10-15 Dave Love <fx@gnu.org>
1479 * Makefile.in (pop.o): Depend on config.h.
1481 1999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1483 * pop.c: Use "pop3" as the POP service name on all platforms,
1484 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
1485 has been the standard service name since RFC 1340 was published in
1486 July 1992, so I think it's safe to start using it by default.
1488 1999-09-27 Dave Love <fx@gnu.org>
1490 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
1492 1999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
1494 * make-docfile.c (scan_lisp_file): Fix previous changes;
1495 swallow CRLF like just CR or just LF.
1497 1999-09-03 Richard Stallman <rms@gnu.org>
1499 * make-docfile.c: Include config.h not ../src/config.h.
1500 (main, fopen, chdir): Add #undef.
1501 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
1502 (scan_lisp_file): Handle \r like \n.
1504 1999-08-30 Andreas Schwab <schwab@gnu.org>
1506 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
1508 * emacsserver.c: Include <stdlib.h> if available. Don't declare
1509 errno if it's a macro.
1511 * test-distrib.c: Include <unistd.h> if available.
1513 1999-08-29 Richard Stallman <rms@gnu.org>
1515 * emacsclient.c (print_help_and_exit): Mention --version.
1517 1999-08-25 Richard M. Stallman <rms@gnu.org>
1519 * emacsclient.c (decode_options): Update version output.
1520 (print_help_and_exit): Update bug report address.
1522 1999-08-13 Richard M. Stallman <rms@gnu.org>
1524 * emacsclient.c (main): Move the dynamic allocation of
1525 system_name outside of the SERVER_HOME_DIR conditional.
1526 * emacsserver.c (main): Likewise.
1528 1999-08-10 Gerd Moellmann <gerd@gnu.org>
1530 * grep-changelog: New.
1531 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
1533 1999-07-12 Richard Stallman <rms@gnu.org>
1535 * Version 20.4 released.
1537 1999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
1539 * Makefile.in (clean): Remove fns*.el.
1541 1999-06-23 Dave Love <fx@gnu.org>
1543 * etags.c (erlang_attribute): Fix undefined variable usage (after
1546 1999-05-2 Andrew Innes <andrewi@gnu.org>
1548 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
1551 1999-04-29 Richard M. Stallman <rms@gnu.org>
1553 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
1555 1999-03-30 Dave Love <fx@gnu.org>
1557 * sorted-doc.c (main): Split up tables. Modify the preamble
1560 1999-03-05 Geoff Voelker <voelker@cs.washington.edu>
1562 * makefile.nt: Remove common multiple file compilation commands.
1564 1999-02-26 Richard Stallman <rms@gnu.org>
1566 * Version 20.4 released.
1568 * Makefile.in (yow): Depend on epaths.h, not paths.h.
1570 * yow.c: Refer to epaths.h.
1572 1999-02-22 Simon Josefsson <jas@pdc.kth.se>
1574 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
1576 1999-01-27 Andrew Innes <andrewi@gnu.org>
1578 * makefile.nt: Do make version comparison as strings.
1580 1999-01-25 Richard Stallman <rms@gnu.org>
1582 * emacsclient.c (xmalloc): Fix previous change.
1584 1999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
1586 * emacsclient.c (xmalloc): Declare to return long.
1588 1999-01-22 Geoff Voelker <voelker@cs.washington.edu>
1590 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
1591 the case of the drive letter.
1593 1999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
1595 * emacsserver.c (main): Eliminate arbitrary limit on
1596 length of system_name.
1598 * emacsclient.c (main): Eliminate arbitrary limit on
1599 length of system_name.
1600 (xmalloc): Define unconditionally.
1602 1999-01-12 Darrin B. Jewell <jewell@mit.edu>
1604 * etags.c (relative_filename): Stop backward search at beginning
1605 of string, since non-Unix systems can have absolute paths with no
1608 1998-12-08 Geoff Voelker <voelker@cs.washington.edu>
1610 * makefile.nt: Do string comparision of _NMAKE_VER.
1612 1998-11-03 Theodore Jump <tjump@cais.com>
1614 * makefile.nt: Compile multiple source files when possible.
1616 1998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
1618 * Makefile.in: Replace tabs with spaces
1619 when they might confuse some Make versions.
1621 1998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
1623 * emacsclient.c (main): Null-terminate system_name.
1625 * emacsserver.c (main): Null-terminate system_name.
1627 1998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1629 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
1630 an error message from POP, mention that it's from POP, to
1631 distinguish it from local error messages.
1633 1998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1635 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
1636 order of messages downloaded from a POP server (e.g., if the
1637 server stores messages in mailboxes in reverse order).
1639 1998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
1641 * Version 20.3 released.
1643 1998-08-11 Paul Eggert <eggert@twinsun.com>
1645 * rcs2log: Update copyright date and bug report address.
1646 (initialize_fullname): Prefer getent if available.
1648 1998-07-30 Paul Eggert <eggert@twinsun.com>
1650 * lib-src/Makefile.in (REGEXPDEPS, regex.o):
1651 Prepend $(srcdir)/ to rule dependencies outside this dir.
1653 1998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
1655 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
1657 1998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
1659 * Makefile.in: Properly terminate a comment.
1661 1998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
1663 * movemail.c (sys_wait): Rename to wait.
1665 * ntlib.h: Undefine _WINSOCKAPI_.
1667 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
1669 1998-05-30 Geoff Voelker <voelker@cs.washington.edu>
1671 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
1673 1998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
1675 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
1676 all file i/o to be in binary mode. Include ntlib.h.
1678 1998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
1680 * make-docfile.c: Include <unistd.h> for chdir.
1682 1998-04-25 Richard Stallman <rms@psilocin.gnu.org>
1684 * etags.c (TEX_decode_env): Don't free the value getenv returns.
1686 1998-04-17 Geoff Voelker <voelker@cs.washington.edu>
1688 * makefile.nt (obj): Update with new files in src.
1689 (clean): Delete patch scratch files, optimized compilation dir.
1691 1998-04-08 Dave Love <fx@gnu.org>
1693 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
1696 1998-04-06 Andreas Schwab <schwab@gnu.org>
1699 * movemail.c: Move cancelations up. Include <stdlib.h> if
1701 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
1702 (parse_header): Explicitly declare return type.
1703 * emacsserver.c: Include <unistd.h> if available.
1704 (main, handle_signals, perror_1, fatal_error): Explicitly declare
1705 return types. Add forward declarations.
1706 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
1707 Don't declare geteuid.
1708 (print_help_and_exit): Change return type to void. Forward
1710 * b2m.c: Include <stdlib.h> if available.
1711 (main): Explicitly declare return type.
1713 1998-04-03 Richard Stallman <rms@delysid.gnu.org>
1715 * etags.c (put_entries): Use %ld.
1717 * b2m.c (fatal): Declare the arg.
1719 1998-04-03 Richard Stallman <rms@psilocin.gnu.org>
1721 * etags.c (put_entries): Use %ld.
1723 * b2m.c (fatal): Declare the arg.
1725 1998-03-26 Richard Stallman <rms@psilocin.gnu.org>
1727 * pop.c (pop_getline): Renamed from getline.
1729 1998-03-05 Richard Stallman <rms@psilocin.gnu.org>
1731 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
1734 1998-01-23 Dave Love <d.love@dl.ac.uk>
1736 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
1737 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
1738 Always make named tags.
1739 (Fortran_functions): Grok BLOCK DATA.
1741 1998-01-23 Andreas Schwab <schwab@gnu.org>
1743 * movemail.c (main): Fix interwoven brace and cpp conditional
1746 1997-12-04 Karl Heuer <kwzh@delysid.gnu.org>
1748 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
1749 server to contain embedded nulls.
1751 1997-12-03 Paul Eggert <eggert@delysid.gnu.org>
1754 (mbx_write) [MAIL_USE_POP]: Disable the code which quotes with a
1755 '>' any lines starting with "From " read from the POP server, but
1756 leave the code in place, wrapped in #ifdef
1757 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
1758 because it turns out that something is depending on it. Change
1759 suggested by Paul Eggert <eggert@twinsun.com>.
1760 Convert the character \037 (^_) at the beginning of a line into
1761 the character '^' followed by the character '_', because otherwise
1762 Emacs can't parse the resulting file as a valid BABYL file.
1763 Change suggested by Paul Eggert <eggert@twinsun.com>.
1765 1997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1767 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
1768 server to contain embedded nulls.
1770 1997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1772 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
1773 quotes with a '>' any lines starting with "From " read from the
1774 POP server, but leave the code in place, wrapped in #ifdef
1775 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
1776 because it turns out that something is depending on it. Change
1777 suggested by Paul Eggert <eggert@twinsun.com>.
1779 Convert the character \037 (^_) at the beginning of a line into
1780 the character '^' followed by the character '_', because otherwise
1781 Emacs can't parse the resulting file as a valid BABYL file.
1782 Change suggested by Paul Eggert <eggert@twinsun.com>.
1784 1997-11-22 Richard Stallman <rms@gnu.org>
1786 * b2m.c: Include getopt.h.
1787 (main): Use getopt_long to handle --version and --help.
1789 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
1791 1997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1793 * pop.c (fullwrite): Get rid of an extra call to write. Problem
1794 pointed out by Chiaki Ishikawa.
1796 1997-10-16 Dave Love <d.love@dl.ac.uk>
1798 * etags.c (L_getit): Always make named tags so that Emacs
1799 completion on symbols containing `:' etc. works.
1800 (get_scheme): Likewise.
1802 1997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1804 * pop.c: Use system header files instead of declaring C-library
1805 functions explicitly.
1807 1997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1809 * Version 20.2 released.
1811 1997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1813 * Version 20.1 released.
1815 1997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
1817 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
1819 * ntlib.c (getpid): Delete function.
1821 1997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1823 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
1825 1997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1827 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
1828 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
1830 1997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1832 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
1834 1997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
1836 * profile.c (get_time): Cast arg to fprintf.
1838 * hexl.c (main): Use %08lx instead of %08x in printf because the
1839 variable named addresses is long.
1841 1997-08-08 Geoff Voelker <voelker@cs.washington.edu>
1843 * makefile.nt (lisp): Update paths to lisp files that have moved.
1845 1997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
1847 * makefile.nt (ctags.obj): New target.
1848 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
1850 * ntlib.h: Add includes.
1851 Undo definitions of crt routines from config.h.
1853 1997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1855 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
1857 1997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1859 * pop.c: Support auto-configuration of both Kerberos V4 and
1860 Kerberos V5 for movemail, including detection of V4 and V5 header
1861 files and libraries.
1862 Include <string.h> when STDC_HEADERS is defined, to get
1863 declarations of string functions.
1864 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
1865 V5 API rather than the old one.
1866 [KERBEROS] (socket_connection): Change a constant name from
1867 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
1868 with a constant in a header file.
1870 * Makefile.in: Support auto-configuration of both Kerberos V4 and
1871 Kerberos V5 for movemail, including detection of V4 and V5 header
1872 files and libraries.
1874 1997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1876 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
1878 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1880 1997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1882 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
1884 1997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1886 * movemail.c (rindex): Add declaration.
1888 Tue Jul 1 01:09:07 1997 Geoff Voelker <voelker@cs.washington.edu>
1890 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
1891 (movemail.exe): Depend upon and link with getopt files.
1892 (obj): Include new source files.
1893 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
1894 (lisp): Include new and reorganized elisp files.
1896 1997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1898 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
1900 1997-06-25 Paul Eggert <eggert@twinsun.com>
1902 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
1904 1997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
1906 * b2m.c (readline): Terminate buffer properly when EOF seen.
1907 Test for valid pointer before dereferencing it.
1909 1997-05-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1911 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
1912 defined inside etags.c if HAVE_CONFIG_H is defined.
1914 1997-05-29 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1916 * etags.c: (logical): Type name changed to bool.
1917 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
1918 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
1919 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
1920 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
1921 (longopts): New long options without short counterpart are
1922 globals, members, no-globals, no-members. Regexp options are now
1923 defined conditionally to ETAGS_REGEXPS.
1924 (print_help): Updated.
1926 1997-05-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1928 * etags.c (C_entries): Use "." instead of "::" for Java.
1929 (consider_token): is_func renamed to is_func_or_var.
1930 (C_entries): is_func renamed to funorvar.
1931 (C_entries): Initialise tok.named.
1932 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
1933 get rid of "import", "package" and "friend".
1934 (fvdef): Renamed from funcdef. Also some constants renamed. All
1936 (C_entries): Make separate tags for variables separated by comma.
1937 (globals, members): New flags.
1938 (main, C_entries): Use them.
1939 (make_C_tag, C_entries): Make tok a global variable.
1941 1997-05-16 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1943 * etags.c (funcdef): New vignore constant.
1944 (consider_token, C_entries): Use it to tag global variables.
1945 (print_help): Update for global variables.
1946 (consider_token, C_entries): Set the len member of token_name.
1947 (prolog_pred): Cleanup according to GNU coding standards.
1948 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
1949 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
1951 1997-05-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1953 * etags.c (CHARS, CHAR): New constant and macro.
1954 (iswhite, begtoken, intoken, endtoken): Use them.
1955 (notinname, _nin, nonam): New macro, array, string.
1956 (init): Cleanup and init _nin.
1957 (new_pfnote): New function.
1958 (make_C_tag) [traditional_tag_style]: Use it.
1959 (traditional_tag_style): Costant set to TRUE for now.
1961 1997-05-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1963 * etags.c (C_entries, Pascal_functions): Cleanup.
1964 (TeX_functions): NULL as a function arg needs a cast.
1965 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
1967 1997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1969 * etags.c (TeX_functions): Cleaned up.
1970 (tex_getit): Removed.
1972 1997-05-13 Paul Eggert <eggert@twinsun.com>
1974 * rcs2log (files): When computing arguments automatically, ignore
1975 non-files within the RCS subdirectory.
1977 1997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1979 * etags.c (C_JAVA): New #define.
1980 (Cjava_suffixes): .java is Java.
1981 (Cjava_entries): New function.
1982 (lang_names): Add Java.
1983 (sym_type): Add st_C_javastruct for Java.
1984 (C_stab_entry): Add `extends' and `implements' keywords.
1985 (consider_token, C_entries): Recognise Java structures.
1987 1997-05-12 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1989 * etags.c: (Cplusplus_suffixes): .pdb is Postscript with C syntax.
1990 (Postscript_suffixes): .ps is Postscript.
1991 (lang_names): Add Postscript.
1992 (Postscript_functions): New function.
1993 (TEX_decode_env): Close minor memory leak.
1994 (just_read_file): Correct the char number of the tag.
1996 1997-05-11 Paul Eggert <eggert@twinsun.com>
1998 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
1999 Don't prepend $nl since this causes some shells to generate the
2000 empty string when IFS is $nl.
2001 (printlogline): Use SOH (octal code 1), not CR, since some
2002 PC-based shells mishandle CR.
2003 (initialize_fullname): Set NIS_PATH to the empty string before invoking
2004 nismatch, in case it's set to some nonstandard value.
2006 1997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2008 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
2009 read in separate blocks.
2011 1997-04-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2013 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
2014 (struct linebuffer): New member `len' is the length of the string.
2015 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
2016 Use it instead of strlen.
2017 (TEX_getit): Declare and define unconditionally as static.
2018 (TeX_functions): Use if instead of #if TeX_named_tokens.
2019 (add_regex): Set RE_INTERVALS flag for regex compilation.
2020 (substitute): Code cleanup.
2021 (readline_internal): Code cleanup, set new member `len'.
2022 (readline): Bug corrected.
2024 1997-04-23 Geoff Voelker <voelker@cs.washington.edu>
2026 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
2027 (obj): Change references of nt*.c files to w32*.c files.
2029 1997-04-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2031 * etags.c (xnew): Add support for debugging with chkmalloc.
2032 (error): Use this instead of printf whenever possible.
2033 (main): Only call xnew after having initialised progname.
2034 (substitute): Bad memory corruption error corrected.
2036 1997-04-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2038 * etags.c (add_regex): Undo previous change.
2039 (relative_filename): Small memory leak closed.
2040 (absolute_filename): Cleaned up the code, possibly closing a bug.
2041 (absolute_dirname): Always return a newly allocated string.
2043 1997-03-21 Paul Eggert <eggert@twinsun.com>
2045 * rcs2log (files): Ignore files in RCS directory whose names are
2046 of the form ,*, or *_; they are probably RCS lock files.
2047 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
2048 they are used by rcsfreeze.
2050 1997-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2052 * etags.c (add_regex): reset *putbuf before using it.
2054 1997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2056 * movemail.c (popmail): Remove some unnecessary function
2058 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
2059 into pop_retr, there's no reason to pass in mbx_write, and the
2060 file argument can be declared FILE * explicitly. This fixes a
2061 compilation problem on systems with 64-bit pointers.
2063 1997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2065 * movemail.c: Delete duplicate inclusion of fcntl.h
2066 and duplicate #undefs of open, read, write, close.
2068 1997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2070 * movemail.c (main): Do not display "[POP-password]" in the usage
2071 message when movemail is compiled without POP support.
2072 (main, popmail): Add the optional "-p" argument, which causes
2073 movemail to leave mail in the inbox after copying it into the
2076 * Makefile.in (movemail): Link with getopt.
2078 1997-01-20 Paul Eggert <eggert@twinsun.com>
2080 * rcs2log: (--help, --version): New options, per GNU coding standards.
2081 (Copyright, Help, Id): New variables, for above.
2082 (rlog): Use -q option with cvs log, to avoid useless chatter.
2084 Treat logs of "Initial revision" (RCS) or "file F was initially added
2085 on branch B." (CVS) as if they said "New file.", for consistency with
2088 1997-01-01 Paul Eggert <eggert@twinsun.com>
2090 * vcdiff (PATH): Add /usr/xpg4/bin,
2091 where XPG4 SCCS hangs out in Solaris 2.5.
2092 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
2094 1996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2096 * etags.c (streq, strneq): Use == NULL rather than !.
2098 1996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
2100 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
2101 (movemail): Use LIBMAIL, to link against -lmail.
2103 * movemail.c: Include maillock.h (conditionally).
2104 Remove a redundant inclusion of <stdio.h>.
2105 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
2106 (main): Add variable spool_name.
2107 Support the usage of maillock and mailunlock to
2108 lock and unlock mailboxes.
2109 (mail_spool_name): New function.
2111 * movemail.c: Fix an uninitialized variable which could cause
2112 movemail to exit with an error status incorrectly on systems which
2113 use lock files rather than a system locking function to lock
2116 1996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2118 * pop.c (socket_connection): Free realhost after using it.
2120 1996-12-04 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2122 * etags.c (C_entries): Test tok.valid. This handles some
2123 particular cases involving function declarations that failed.
2125 1996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
2127 * pop.c (socket_connection):
2128 gethostbyname may return a pointer to static data.
2129 krb_realmofhost can clobber it. So copy it.
2131 1996-11-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2133 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
2134 must cast it to (char *) because we have no prototypes.
2135 (make_C_tag): Macro deleted, new function.
2136 (C_entries): Calls to make_C_tag macro changed to call function.
2138 1996-11-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2140 * etags.c (grow_linebuffer): New function.
2141 (GROW_LINEBUFFER): Macro deleted. All callers changed.
2142 (make_tag): Macro renamed to make_C_tag. All callers changed.
2143 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
2144 (Prolog_functions): prolog_skip_comment was called with wrong
2145 number of arguments.
2146 (xrealloc): fatal was called with wrong number of arguments
2148 1996-11-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2150 * etags.c (relative_filename): Bug corrected.
2151 (etags_getcwd): Avoid warning of unused variable.
2152 (C_entries, consider_token): Added support for enum labels.
2154 1996-11-03 Paul Eggert <eggert@twinsun.com>
2156 * rcs2log: When processing cvs log output, remove `Attic/' from
2157 repository file names.
2159 1996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
2161 * emacsserver.c: Fix 1996-09-02 change.
2163 1996-10-12 Paul Eggert <eggert@twinsun.com>
2165 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
2166 option', since CVS says 'invalid option'.
2167 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
2168 revisions, since some hosts reject 1970-01-01 when east of UTC.
2171 1996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2173 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
2175 1996-10-02 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2177 * etags.c (print_version): Print copyright info.
2179 * etags.c (print_help): Print the bug reporting address.
2180 (main): Use return as the last instruction, instead of exit.
2182 * etags.c (main): Don't open the tags file in cxref mode.
2184 1996-09-29 Dave Love <d.love@dl.ac.uk>
2186 * rcs2log (date): Make default format acceptable to CVS post v1.8
2187 as well as earlier CVSs and RCS.
2189 1996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2191 * movemail.c (main): If the lock call fails with EBUSY or
2192 EAGAIN, retry a few times.
2194 1996-09-25 Paul Eggert <eggert@twinsun.com>
2196 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
2197 whether to append -zLT.
2199 1996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2201 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
2202 * emacsclient.c, movemail.c: Likewise.
2204 1996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2206 * emacsclient.c (longopts): Change nowait to no-wait.
2207 (print_help_and_exit): Fix option name; upcase metavars.
2209 1996-09-06 Erik Naggum <erik@naggum.no>
2211 * emacsserver.c (main): Declare `fromlen' as size_t.
2213 1996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
2215 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
2217 1996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2219 * emacsclient.c (quote_file_name): Quote with &, not \.
2220 Quote `-' only at start of file name. Terminate the value string.
2222 * emacsserver.c: Include signal.h properly;
2223 delete the duplicate includes for it.
2225 * emacsserver.c: On fatal signal, delete socket-file:
2226 * emacsserver.c: Include signal.h.
2227 (xmalloc, fatal, error): New functions.
2228 (delete_socket, handle_signals): New functions.
2229 (progname, socket_name): New variables.
2230 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
2232 1996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2234 * emacsclient.c (quote_file_name): New function.
2235 (main, both versions): Use quote_file_name.
2236 (decode_options): Don't return a value.
2237 (main, both versions): Use optind.
2238 Don't check for -nowait here.
2240 * emacsclient.c (decode_options): New function.
2241 (main, both versions): Call decode_options.
2242 (print_help_and_exit): New function.
2243 (VERSION): New macro.
2245 * Makefile.in (emacsclient): Link with getopt.
2246 Add -DVERSION so emacsclient knows its version number.
2248 1996-08-31 Geoff Voelker <voelker@cs.washington.edu>
2250 * makefile.nt (lisp): Include dos-nt.elc.
2252 1996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2254 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
2256 1996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2258 * emacsclient.c (both versions): Handle -nowait and --nowait
2259 by sending data to the server.
2261 1996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2263 * Makefile.in (INSTALL_STRIP): New variable.
2264 (${archlibdir}): Use INSTALL_STRIP.
2266 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
2267 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
2269 * pop.c: Reverse conditional in previous change.
2271 1996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2273 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
2275 1996-08-24 Paul Eggert <eggert@twinsun.com>
2277 * rcs2log: Use ISO 8601 date format, with time zone appended
2278 if change-log-time-zone-rule is non-nil, instead of
2279 traditional Unix date format.
2281 (datearg): When computing default from ChangeLog, handle ISO format
2282 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
2283 Don't worry about hh:mm:ss since the resolution is now by day.
2284 Use emtpy datearg, not empty rlog_options, to decide whether to pass
2285 "$datearg" option to $rlog.
2286 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
2287 (month_data): Remove `mo'; no longer needed.
2288 (rlog_options): Use -zLT for localltime output, if `rlog' supports it.
2290 Match `revision' line of rlog output more accurately.
2294 1996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
2296 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
2298 1996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2300 * Version 19.33 released.
2302 1996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2304 * Version 19.32 released.
2306 1996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
2308 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
2309 computing character positions in source files.
2311 1996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
2313 * makefile.nt (clean): Use OBJDIR macro.
2315 1996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2317 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
2319 1996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
2321 * cvtmail.c, sorted-doc.c, yow.c: [__GNU_LIBRARY__]: Use <string.h>.
2322 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
2323 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
2325 1996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
2327 * ntlib.h: Correct return type of getwd.
2328 * ntlib.c (getwd): Correct return type.
2330 1996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2332 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
2335 1996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
2337 * makefile.nt: Remove all references to wakeup.
2339 1996-06-28 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2341 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
2342 explicit, mutable, typename.
2344 1996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2346 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
2347 streams, one for sending and one for reading the reply.
2349 1996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2351 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
2352 (wakeup): Target deleted.
2353 (UTILITIES): Delete wakeup and timer.
2355 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
2357 1996-06-11 Geoff Voelker <voelker@cs.washington.edu>
2359 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
2360 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
2362 1996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2364 * etags.c (main): Copy cwd when appending slash.
2366 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
2368 * Version 19.31 released.
2370 1996-05-17 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2372 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
2373 (Pascal_functions): Increase linecharno by the correct number of
2374 chars, inline the GET_NEW_LINE macro and delete its definition.
2376 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
2378 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
2380 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
2382 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
2383 (movemail.exe, fakemail.exe): Now built under Win32.o
2385 * ntlib.c: Include ntlib.h.
2386 (nt_sleep): Rename to sleep.
2387 (getwd): Return directory.
2388 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
2389 sys_ctime, sys_fopen): New functions.
2391 * ntlib.h: New file.
2393 1996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
2395 * pop.c (SEND, RECV): Renamed from send, recv.
2396 (pop_open, pop_trash): Make the trash_started code unconditional.
2397 (socket_connection): Delete casts to void.
2399 1996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
2401 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
2404 1996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
2406 * fakemail.c [WINDOWSNT]: Include ntlib.h.
2408 * hexl.c [DOSNT]: Include fcntl.h.
2409 [WINDOWSNT]: Include io.h.
2410 (main) [MSDOS]: Change conditional to DOS_NT.
2412 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
2413 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
2414 [WINDOWSNT]: Include locking.h.
2415 (main): Update usage message. Use IS_DIRECTORY_SEP.
2416 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
2417 (main) [WINDOWSNT]: Invoke locking instead of flock.
2418 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
2419 (main) [MAIL_USE_POP]: Pass password to popmail if used.
2420 Include winsock.h; don't include unix inet headers.
2421 (popmail): Add password argument and pass it to pop_open.
2422 Open output file in binary mode.
2424 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
2425 Macro SOCKET_ERROR undefined.
2426 Don't declare h_errno.
2427 [!WINDOWSNT]: Define macros recv and send.
2428 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
2429 (pop_open) [WINDOWSNT]: Initialize trash_started.
2430 (have_winsock) [WINDOWSNT]: New variable.
2431 (socket_connection) [WINDOWSNT]: Initialize winsock.
2432 (socket_connection): Use closesocket instead of close.
2433 (getline): Use recv instead of read.
2434 (fullwrite): Use send instead of write.
2435 (pop_trash): Use closesocket instead of close.
2436 (pop_trash) [WINDOWSNT]: Cleanup winsock.
2437 Check if being called recursively by sendline.
2439 * pop.h (struct _popserver): New field trash_started.
2441 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
2443 1996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2445 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
2447 1996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2449 * etags.c [WINDOWSNT]: Include io.h.
2451 1996-04-10 Geoff Voelker <voelker@cs.washington.edu>
2453 * makefile.nt (CTAGSOBJ): Compile with regexp support.
2455 1996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
2457 * hexl.c [DJGPP v2]: Include io.h.
2458 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
2460 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
2463 1996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2465 * etags.c (absolute_filename): Use absolutefn.
2467 1996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
2469 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
2470 letter isn't an alphabetic character.
2471 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
2472 (process_file) [DOS_NT]: Convert all slashes to forward style.
2473 (absolute_filename) [DOS_NT]: Emit error message for relative
2474 paths with a drive letter.
2475 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
2476 DOS/NT drive letters which try to reference the parent of the root.
2477 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
2479 1996-03-27 Geoff Voelker <voelker@cs.washington.edu>
2481 * makefile.nt: Change uses of del to $(DEL).
2483 1996-03-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2485 * etags.c (just_read_file): Reset lineno and charno on entry.
2487 1996-03-15 Anders Lindgren <andersl@csd.uu.se>
2489 * etags.c: Prolog language totaly rewritten.
2490 (Prolog_functions): Rewritten from scratch.
2491 (skip_comment, prolog_getit): Removed.
2492 (prolog_skip_comment): New function, like old skip_comment.
2493 (prolog_pred, prolog_atom, prolog_white): New functions.
2494 (erlang_func, erlang_attributes): Forward declarations added.
2495 (erlang_atom): Check if backslash ends line inside quoted atom.
2497 1996-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2499 * etags.c (absolutefn): DOS_NT version corrected.
2500 (main): Append "/" to the dir name only if not already there.
2501 (print_help): Explain the absolute/relative file name issue.
2503 1996-03-08 Anders Lindgren <andersl@csd.uu.se>
2505 * etags.c: New Languange Erlang added.
2506 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom,
2507 erlang_white): New functions.
2508 (Erlang_suffixes): New suffix list.
2509 (lang_names): Erlang entry added.
2510 (prolog_getit): Accepts headers spanning several lines.
2512 (Prolog_functions): Removed incorrect compensation for
2514 (readline_internal): Zero-terminate last line.
2516 1996-03-20 Mike Long <mike.long@analog.com>
2518 * b2m.c (main): Initialize progname variable before using it.
2519 Quote `username' in From_ header.
2521 1996-03-18 Geoff Voelker <voelker@cs.washington.edu>
2523 * ntlib.c (getpid): New function.
2525 1996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2527 * emacsclient.c (main, both definitions):
2528 Print a newline for normal termination.
2530 1996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
2532 * tcp.c (main): Convert port to network byte order.
2534 1996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
2536 * pop.c (pop_retrieve, getline): Avoid type clashes.
2538 1996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
2540 * etags.c (enum sym_type, anonymous enum): Delete final comma.
2542 1996-01-15 Paul Eggert <eggert@twinsun.com>
2544 * rcs2log (initialize_fullname): Add support for NIS+.
2545 (hostname): Fully qualify the default hostname with the domainname
2546 if the hostname lacks a `.'.
2548 1996-01-15 Paul Eggert <eggert@twinsun.com>
2550 * rcs2log (initialize_fullname): Add support for NIS+.
2551 (hostname): Fully qualify the default hostname with the domainname
2552 if the hostname lacks a `.'.
2554 1996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
2556 * etags.c (consider_token): Fix typo in expression.
2558 1996-01-04 Paul Eggert <eggert@twinsun.com>
2560 * etags.c (substitute): Fix spelling in message.
2562 1996-01-03 George V. Reilly <georger@microcrafts.com>
2564 * makefile.nt (etags, ctags): Compile with regexp support.
2565 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
2566 subdirectory exists before compiling.
2568 1996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
2570 * emacsserver.c (main): Do chmod based on existing permission.
2572 1995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2574 * Makefile.in (install): Turn on read/execute permission.
2576 1995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2578 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
2579 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
2581 1995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2583 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
2585 1995-12-07 Francesco Potorti` <pot@cnuce.cnr.it>
2587 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
2588 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
2589 get_scheme, prolog_getit): Name the tag in ctags mode.
2590 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
2591 (Perl_interpreters): Accept "@PERL@" as an interpreter.
2592 (suggest_asking_for_help): New function.
2593 (main, get_language_from_name): Use suggest_asking_for_help.
2594 (main): Let get_language_from_name make language existence check.
2595 (streq, strneq): Check the arguments #if DEBUG.
2597 1995-12-06 Francesco Potorti` <pot@cnuce.cnr.it>
2599 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
2600 (gperf): Added keywords for Objective C and GNU macros.
2601 (sym_type): Added values to account for Objective C and GNU macros.
2602 (begtk): The '@' character can start a token.
2603 (objdef, methodlen, objtag): New variables for Objective C.
2604 (consider_token, C_entries): Added code for Objective C.
2605 (plain_C_suffixes): Add .m and .lm for Objective C.
2606 (Yacc_suffixes): Add .ym for Objective yacc.
2607 (GROW_LINEBUFFER): New macro.
2608 (consider_token, C_entries, Pascal_functions): Use the new macro.
2609 (consider_token): Take one more argument. Caller changed.
2610 (consider_token): Use the hashing function to spot GNU macros.
2611 (C_entries): Consider // as a comment start even in plain C for
2612 the sake of Objective C parsing.
2614 1995-12-04 Francesco Potorti` <pot@cnuce.cnr.it>
2616 * Makefile.in (ctags): depend on etags only for simplicity;
2617 compile with regexp support enabled.
2619 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2621 * Version 19.30 released.
2623 1995-11-22 Geoff Voelker <voelker@cs.washington.edu>
2625 * makefile.nt (DOC, clean): Don't use switches to del not
2626 supported by Windows 95.
2628 1995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2630 * Makefile.in (regex.o): Depend on ../src/config.h.
2632 1995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2634 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
2635 (LOADLIBES): Use LIB_STANDARD.
2637 1995-11-07 Kevin Gallo <kgallo@microsoft.com>
2639 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
2640 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
2641 Windows 95 conditional.
2643 1995-11-06 Francesco Potorti` (pot@cnuce.cnr.it)
2645 * etags.c (get_lang_from_name, get_lang_from_interpreter,
2646 get_lang_from_suffix): New functions.
2647 (get_language): Function deleted.
2648 (lang_entry): Two members added to struct.
2649 (lang_names): Reflect the new layout of lang_entry.
2650 (print_language_names, main, find_entries): Use the new functions.
2651 (find_entries): Look at the first line for #! if no language.
2652 (C_entries): Invalidate the token when funcdef is reset.
2653 (Perl_functions): New function.
2654 (lang_suffixes): .pl and .pm are Perl suffixes.
2656 1995-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
2658 * etags.c (lowcase): Use the standard tolower function.
2659 (substitute): Remove some wrong and some useless code related with
2660 escape `\` character in regexp replacement string.
2661 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
2662 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
2663 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
2664 .prolog for prolog (.pl removed).
2665 (massage_name, etags_getcwd): Use lowcase instead of tolower.
2666 (C_entries, find_entries): Added comments about memory leakage.
2667 (add_node): Dead code removed.
2669 1995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2671 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
2672 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
2674 1995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2676 * test-distrib.c: Add #undef for open, close, read, write.
2678 1995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2680 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
2681 [! O_RDONLY]: Define it to zero.
2682 (main): Use O_RDONLY instead of explicit zero.
2684 1995-08-17 Francesco Potorti` (pot@cnuce.cnr.it)
2686 * etags.c (Pascal_functions): Close comment bug corrected.
2687 (add_node): Correctly compare node file names.
2688 (Pascal_functions): Correctly allocate and free memory for tline.
2689 (pfnote): Put the definition of fp in the innermost block.
2690 (NODE): `named' member removed.
2691 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
2692 use the `named' member, check whether `name' is NULL instead.
2693 (pfnote): `named' argument removed, all callers changed.
2694 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
2695 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
2696 removed from pfnote call, some code cleanup.
2697 (relative_filename): Free temporary space allocated by concat.
2699 1995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2701 * Makefile.in (getdate.c): New target.
2702 (getdate.o): Just compile getdate.c.
2704 1995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
2706 * fakemail.c (xrealloc): Change cast to match return type.
2708 1995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2710 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
2712 1995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2714 * movemail.c (main): Fix previous change.
2715 Add error check for empty OUTNAME.
2717 1995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2719 * movemail.c (main): Mention lock file name in error message.
2721 1995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2723 * profile.c (gettimeofday): New function, defined if necessary.
2725 1995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2727 * Makefile.in: Renamed from Makefile.in.in.
2728 (distclean): Delete Makefile.c, not Makefile.in.
2730 1995-07-17 Michael Shields <shields@tembel.org>
2732 * Makefile.in.in (tags): Synonym for `TAGS'.
2734 1995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2736 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
2737 configure has already set $(INSTALL) to the proper relative path.
2739 1995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
2741 * etags.c (plain_C_entries): new function.
2742 (lowcase): new macro.
2743 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
2744 (lang_suffixes): new suffix ".pc" for Pro*C files.
2745 (consider_token): don't tag all tokens beginning with DEFUN & Co..
2746 (tail): look for the end of the token when comparing.
2747 (takeprec): since now tail behaves differently, use strneq.
2749 1995-07-08 Paul Eggert <eggert@twinsun.com>
2751 * rcs2log (datearg): Separate date from time with comma, not space,
2752 to work around CVS 1.5 bug.
2753 (CVSROOT): Don't abort when unset if repository is absolute.
2755 1995-07-07 Paul Eggert <eggert@twinsun.com>
2757 * rcs-checkin, rcs2log, vcdiff:
2758 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
2759 that interpret `#! /' as a 4-byte magic number.
2761 1995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
2763 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
2764 mailbox with "po:mailbox", the mailbox is everything after the
2767 1995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2769 * emacsserver.c: Make all error messages start with `Error: '.
2770 (fatal_error, perror_1): New functions, use throughout.
2772 1995-06-28 Paul Eggert <eggert@twinsun.com>
2774 * rcs2log (CVSROOT, repository):
2775 Allow remote repositories a la CVS 1.4.
2777 1995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
2779 * etags.c (plain_C_entries): new function.
2780 (lowcase): new macro.
2781 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
2782 (lang_suffixes): new suffix ".pc" for Pro*C files.
2783 (consider_token): don't tag all tokens beginning with DEFUN & Co..
2784 (tail): look for the end of the token when comparing.
2785 (takeprec): since now tail behaves differently, use strneq.
2787 1995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2789 * movemail.c (main): Add newline in usage message.
2791 1995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2793 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
2795 1995-06-21 Francesco Potorti` (pot@cnuce.cnr.it)
2797 * etags.c (find_entries): Rewind before rereading the input file.
2799 1995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2801 * Version 19.29 released.
2803 * make-docfile.c (main) [MSDOS]: Do set _fmode.
2804 This undoes part of the previous change.
2806 1995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2808 * make-docfile.c (main): On MSDOS, don't change stdout
2809 to binary, and insist on an -o option.
2811 1995-06-13 Geoff Voelker <voelker@cs.washington.edu>
2813 * etags.c (process_file,absolute_filename): Handle filenames
2814 starting with a drive letter.
2816 * makefile.nt (install): Copy wakeup.exe properly.
2818 1995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
2820 * make-docfile.c [MSDOS]: #undef chdir.
2822 1995-06-04 Paul Eggert <eggert@twinsun.com>
2824 * rcs2log (output_authors): Allow ':' in time zone,
2825 as per ISO 8601 and RCS 5.6.8 beta.
2827 1995-05-29 Francesco Potorti` (pot@cnuce.cnr.it)
2829 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
2830 compatibility problems.
2832 1995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
2834 * etags.c (etags_getcwd): Don't use #elif.
2835 Have just one function body.
2837 1995-05-25 Geoff Voelker <voelker@cs.washington.edu>
2839 * makefile.nt (LIBS): Use BASE_LIBS.
2840 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
2842 (DOC): Use del instead of rm.
2843 (DOC) [WINDOWS95]: Use DOC.
2844 (clean): Handle MSVC aux files.
2845 (config.h,paths.h): Use $(CP) instead of cp.
2846 (config.h): Use $(CONFIG_H)
2847 (make-docfile.obj): Depend upon config.h.
2850 1995-05-23 Francesco Potorti` (pot@cnuce.cnr.it)
2852 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
2853 former gives the true path even in the presence of simlinks.
2855 1995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2857 * movemail.c (main): Increase lock timeout to five minutes.
2859 1995-05-06 Geoff Voelker <voelker@cs.washington.edu>
2861 * makefile.nt (obj): Use .c files.
2863 1995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2865 * make-docfile.c: Include config.h.
2866 (NO_SHORTNAMES): New definition.
2867 (xmalloc): Return long *.
2869 * etags.c (C_entries): Cast result of xrealloc.
2870 (xmalloc, xrealloc): Declare them to return long *.
2872 * b2m.c (xmalloc, xrealloc): Declare them long *.
2874 * movemail.c (xmalloc): Declare it to return long *.
2876 1995-04-30 Paul Eggert <eggert@twinsun.com>
2878 * rcs2log (datearg): If rlog options are specified explicitly,
2879 omit the implicit '-d>DATE' option.
2880 (repository, rlog): Allow absolute paths to CVS repositories.
2881 Look only at the first line of CVS/Repository.
2883 1995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
2885 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
2888 1995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2890 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
2891 Alternative (empty) definitions.
2893 1995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2895 * emacsclient.c (main): Add argv[0] to an error message.
2897 1995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
2899 * emacsclient.c (main): Improve error handling.
2900 * cvtmail.c (main, skip_to_lf): Improve error handling.
2901 (sysfail): New function.
2903 * b2m.c (main): Check for trailing ", " before trying to delete it.
2905 1995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2907 * Makefile.in.in (all): Build test-distrib and make-docfile.
2909 * make-docfile.c (scan_c_file): At end, restore file name last char
2910 to its original value.
2912 1995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2914 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
2916 1995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2918 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
2919 (alloca.o, regex.o): Use BASE_CFLAGS.
2921 1995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2923 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
2925 1995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
2927 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
2928 (SOURCES, distclean): Removed obsolete references to aixcc.
2930 1995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2932 * aixcc.lex: File deleted--surely obsolete now.
2934 1995-03-23 Paul Eggert <eggert@twinsun.com>
2936 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
2937 portability to mawk and nawk.
2939 1995-03-21 Paul Eggert <eggert@twinsun.com>
2941 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
2942 -u "login<tab>fullname<tab>mailaddr".
2944 1995-03-21 Paul Eggert <eggert@twinsun.com>
2946 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
2947 replaces the (now obsolescent) -n login fullname mailaddr option.
2948 Add -R option for recursive rlog.
2949 (AWK): New environment variable (default `awk') for awk program name.
2950 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
2951 Quote authors and fullnames correctly.
2952 Don't omit path from repository root when logging CVS files.
2954 1995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2956 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
2957 even if HAVE_SYSVIPC.
2958 * emacsclient.c (main): Use getcwd if not BSD.
2960 1995-03-13 Francesco Potorti` (pot@cnuce.cnr.it)
2962 * etags.c (process_file): free (filename) after using it.
2963 (readline_internal): Do not access the char before start of line.
2965 1995-02-22 Francesco Potorti` (pot@cnuce.cnr.it)
2967 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
2968 savetok.valid. Mark token as valid when it is initialised.
2969 (make_tag): Make token only if token is valid and reset validity.
2970 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
2971 (TOKEN): Added a new member: valid.
2973 1995-02-15 Francesco Potorti` (pot@cnuce.cnr.it)
2975 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
2976 (main): Do not read twice the last filename in the stdin file list.
2978 1995-02-14 Francesco Potorti` (pot@cnuce.cnr.it)
2980 * etags.c (C_entries): Initialise the new members of TOKEN.
2981 (C_entries): Do not allocate a new space for each token found by
2982 consider_token. Let make_tag do that instead.
2983 (make_tag): Since now TOKEN has memory of where it is taken from,
2984 this new macro substitutes both make_tag_from_new_lb and
2985 make_tag_from_oth_lb. All callers changed.
2986 (TOKEN): Add linepos and buffer members.
2987 (main): Initialise token_str.
2988 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
2989 (token_str): New global variable used by C_entries.
2991 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
2993 * Makefile.in.in (maintainer-clean): Renamed from realclean.
2995 1995-02-01 Francesco Potorti` (pot@cnuce.cnr.it)
2997 * etags.c (pfnote): Initialise been_warned in the node.
2998 (C_entries): Removed a speed hack for the sake of clarity.
3000 1995-01-18 Francesco Potorti` (pot@cnuce.cnr.it)
3002 * etags.c (longopts, print_help, main): Use -I as abbreviation
3003 for the --ignore-indentation option.
3004 (main): Do not print an error message for unknown options.
3006 1995-01-12 Francesco Potorti` (pot@cnuce.cnr.it)
3008 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
3009 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
3010 constantypedefs, update, vgrind_style, no_warnings,
3011 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
3012 (permit_duplicates): Was a var, now a #define.
3013 (filename_lb): Was global, now local to main.
3014 (main): Open the tag file when in cxref mode.
3015 Use a BUFSIZ size buffer for making the shell commands.
3016 Look at the return value from the system routine.
3017 Exit when cannot open the tag file.
3018 (process_file): Open the file and pass the FILE* to find_entries.
3019 (find_entries): Now void, because does not open the file itself.
3020 (pfnote): Recovering from lack of memory does not work. Removed.
3021 Use savenstr and simplify the code.
3022 (free_tree): Only free the name space if node is named.
3023 (structtag): Now a pointer, not a fixed length array of chars.
3024 (consider_token): Don't take a token as argument. Use savenstr
3025 when saving a tag in structtag. Callers changed.
3026 (TOKEN): Structure changed. Now used only in C_entries.
3027 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
3028 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
3029 (pfcnt): Deleted. Users updated.
3030 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
3031 TEX_getit, prolog_getit): Use dinamic allocation for storing
3032 the tag instead of a fixed size buffer.
3034 1995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3036 * movemail.c (main): Skip past the colon in inname.
3038 1995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
3040 * etags.c (pfatal): New function.
3041 (main, etags_getcwd): Use pfatal.
3042 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
3044 1995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
3046 * etags.c (Lang_function): Use void instead to declare the
3047 language functions, because many compilers are buggy.
3048 (etags_getcwd): Fix the previous fix on the #else branch.
3049 (readline_internal): Discard possible \r before \n here.
3050 (C_entries): Do not deal with \r here: undo previous fix.
3052 1995-01-09 Francesco Potorti` (pot@fly)
3054 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
3055 functions and a macro that allow the program to work on input
3056 lines of whatever length. Copied from etags.c.
3057 (fatal): Print a fatal error message and exit.
3058 (main): Use the new functions. Fixed a bug that made a \037 char
3059 appear at the end of the output.
3061 1995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3063 * etags.c (C_entries): Ignore carriage return at end of line.
3065 1994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3067 * fakemail.c (xmalloc, xrealloc): Add casts.
3068 (add_field): Handle <...> and "..." syntax.
3069 (setup_files, get_keyword): Clean up parens and line breaks.
3070 (args_size): Likewise.
3072 1994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
3074 * yow.c: Include program name in error messages.
3076 1994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3078 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
3079 (xmalloc, fatal, error): New functions.
3080 (progname): New variable.
3081 (main): Set progname.
3083 1994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3085 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
3086 (main): If socket/mqueue name is in home dir, add in the host name.
3087 Rename .emacs_server to .emacs-server....
3089 1994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3091 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
3093 1994-11-22 Francesco Potorti` (pot@cnuce.cnr.it)
3095 * etags.c (print_help): print --regex usage for ctags also.
3096 (main): use -h in addition to -H as abbreviation for --help.
3098 1994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
3100 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
3101 is compiled if this is defined. The new functions and variables
3102 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
3103 [VMS]: All VMS specific code previously contained in
3104 etags-vmslib.c is now included here, modified for dealing with
3105 language and regex options intermixed with filenames.
3106 (header_file): Global variable deleted.
3107 (Lang_Function): New typedef. All language parser functions
3108 changed to this new type.
3109 (string_numeric_p, substr, prestr): Functions deleted.
3110 (readline_internal): Does the job that readline did previously.
3111 (longopts): --language and --regex options added.
3112 (lang_names, lang_extensions, lang_func, print_language_names):
3113 New structures, variables and functions for choosing languages.
3114 (print_help): Help strings updated. Calls print_language_names.
3115 (argument_type, ARGUMENT): Typedefs for dealing with language and
3116 regex options intermixed with filenames.
3117 (main): Changed the way of dealing with arguments on the command
3118 line to deal with language and regex options intermixed with
3120 (get_language, default_C_entries, Cplusplus_entries,
3121 Cstar_entries, Yacc_entries, just_read_file): New functions.
3122 (find_entries): Use the new method for choosing the language.
3123 (Pascal_functions): Allow intermixing of comment styles.
3124 (prolog_getit, skip_comment): Rewritten for speed.
3125 (readline): Rewritten to deal with regexps.
3127 1994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
3129 * etags.c (<errno.h>): #include added.
3130 (etags_getcwd): Check return value from getcwd.
3132 1994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3134 * profile.c (TV1, TV2): Use EMACS_TIME as type.
3135 (get_time): Use EMACS_SUB_TIME.
3137 1994-10-30 voelker <voelker@cs.washington.edu>
3139 * ntlib.c: New file.
3140 * makefile.nt: New file.
3142 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
3143 [WINDOWSNT]: Include the NT headers.
3144 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
3146 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
3147 [WINDOWSNT]: Include some NT headers.
3149 1994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
3151 * pop.c (getline): When a search of already-read input for CRLF
3152 fails, store the fact that we've searched it and don't search it
3153 again after reading more data.
3155 * pop.c (getline): When determining whether or not it's necessary
3156 to grow the input buffer, take into account the null that's stored
3157 at the end of already-read input in the buffer.
3159 1994-10-21 Francesco Potorti` (pot@cnuce.cnr.it)
3161 * etags.c (prestr, substr): return a logical type.
3162 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
3163 (consider_token): set funcdef to fignore when a DEFUN is met.
3164 (C_entries): Now we can use Tom Hageman patch for extern "C".
3166 1994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3168 * movemail.c: PopServer renamed to popserver throughout.
3170 1994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
3172 * etags.c: Don't declare malloc, since we include config.h.
3173 * fakemail.c: Likewise.
3175 1994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3177 * movemail.c: Don't declare malloc.
3179 1994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
3181 * rcs-checkin: Use test -r instead of < to check readability, to
3184 1994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
3186 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
3187 defined, and if HAVE_CONFIG_H isn't defined, define
3188 MAIL_USE_POP always (so that this file can be included in
3189 other programs besides emacs).
3191 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
3192 HAVE_CONFIG_H isn't defined.
3194 * pop.c (find_crlf, getline): Instead of using strstr, use a
3195 custom function for finding CRLF.
3196 (my_strstr): Function deleted.
3198 1994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
3200 * pop.c (getline): Fix a segfault because of passing a
3201 non-null-terminated string into strstr(). Fix from
3202 djm@va.pubnix.com (David J. MacKenzie).
3204 * pop.c: Don't include <string.h> and <strings.h>.
3206 * pop.c: Include <des.h> before <krb.h>, rather than after. They
3207 should be interchangeable, and indeed the inclusion is done in
3208 both orders in various files in the Kerberos 4 library sources,
3209 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
3210 requires that <des.h> be included first, and I don't see any harm
3211 in changing the order.
3213 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
3214 STDC_HEADERS, if they're defined. Undef open, read, write and
3215 close after including it.
3217 1994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3219 * pop.c: Fix mismatch in conditionals.
3221 * make-docfile.c (main): Don't process one input file twice.
3222 Never use exit code > 1.
3224 * pop.c (open, close, read, write): Add #undefs.
3226 * pop.c: Don't declare malloc, realloc, free.
3227 Include ../src/config.h.
3228 Don't include string.h or strings.h.
3229 Include des.h before krb.h.
3230 Do declare my_strstr.
3231 (getline): Really use my_strstr.
3232 Leave one empty place in server->buffer,
3233 and put a null at the end of the data in it.
3235 1994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3237 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
3238 call kill with pid 0. Handle EINTR when receiving messages.
3240 1994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
3242 * Makefile.in.in (regex.o): Use full path to find regex.c.
3244 1994-10-17 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3246 * Makefile.in.in (etags): add dependency on regex.o, link with it.
3247 (REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added.
3249 1994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
3251 * Makefile.in.in (DONT_INSTALL): Remove make-path.
3252 (${archlibdir}): Use mkinstalldirs instead.
3254 * movemail.c: Make functions that return nothing void, not
3256 (main): Improve usage message.
3257 (error): Write to stderr, not stdout.
3259 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
3260 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
3261 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
3262 variables and implicitly declared functions.
3264 1994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3266 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
3267 (distclean): Not here.
3269 * Makefile.in.in (libexecdir): Renamed from libdir.
3271 1994-10-11 Francesco Potorti` (pot@cnuce.cnr.it)
3273 * etags.c (C_entries): Name the #define's that are macros.
3275 1994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3277 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
3278 fd_set arg is a pointer, descriptor arg comes first.
3280 1994-09-29 Francesco Potorti` (pot@cnuce.cnr.it)
3282 * etags.c (C_entries): Recognise typedef of ANSI style functions.
3283 (C_entries): Recognise #define inside a struct.
3284 (C_entries): ANSI tells that preprocessor commands do not have to
3285 start on the first column.
3286 (print_help): Documentation corrected for -d and -D.
3287 (white, endtk): ANSI tells the vertical tab is a separator.
3289 1994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
3291 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
3292 (pop.o, movemail.o): New targets.
3293 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
3295 * pop.c, pop.h: New files.
3297 * movemail.c: Improve POP code, move most of it into a separate file.
3298 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
3299 (mbx_write): Check for errors and for From line.
3300 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
3301 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
3302 (pop_init): Functions deleted.
3304 1994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
3306 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
3307 Rename path to dirname.
3309 1994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3311 * Makefile.in.in (UTILITIES):
3312 Remove test-distrib, make-docfile, make-path.
3313 (DONT_INSTALL): New variable--list those files here.
3314 (clean): Delete the files in DONT_INSTALL.
3316 1994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3318 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
3319 (main): Use fgets, not gets.
3321 1994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3323 * timer.c: Don't declare malloc.
3325 1994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3327 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
3328 defined, use simple 32-bit versions of these macros.
3329 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
3331 1994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3333 * etags.c (etags_getcwd): Use getcwd if available.
3335 1994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3337 * Version 19.27 released.
3339 1994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3341 * Version 19.26 released.
3343 1994-08-15 Paul Eggert <eggert@twinsun.com>
3345 * rcs2log: Add support for CVS.
3346 Work with `rlog's that output ISO 8601 dates.
3348 1994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
3350 * rcs2log: Use <> to delimit email address.
3352 1994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3354 * emacsserver.c [SYSV_IPC] (main): Make a separate process
3355 so we can listen for multiple requests.
3357 1994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3359 * movemail.c: Include config.h first thing.
3361 1994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3363 * emacsserver.c (main): Add casts to avoid warnings.
3365 1994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3367 * Makefile.in.in (${archlibdir}): Compare the proper dir
3368 before installing the scripts.
3370 1994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3372 * emacsclient.c (main): New local var progname saves argv[0].
3374 1994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3376 * emacsclient.c (main): Don't actually modify argv[0].
3377 Modify a copy instead.
3379 1994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3381 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
3384 * Makefile.in.in: Add #undef alloca.
3386 1994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3388 * timer.c (xmalloc): New function.
3390 1994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3392 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
3393 (alloca.o): New target.
3395 1994-07-08 Dave Love (d.love@dl.ac.uk)
3397 * etags.c (takeprec): recognise `character*(*) function'
3399 1994-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
3401 * etags.c (main): Don't barf on obsolete -t and -T switches.
3402 (main): Print an explicative message when a switch is not known.
3404 1994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3406 * hexl.c: Don't declare exit or perror.
3408 * emacsserver.c (main): Don't declare geteuid.
3409 Don't declare getenv if convex.
3411 1994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3413 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
3415 1994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3417 * etags.c (absolute_filename): Remove infinite loop bug when
3418 accessing files in directories whose name begins with a dot.
3420 1994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3422 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
3424 1994-06-01 Morten Welinder (terra@diku.dk)
3426 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
3427 location of data directory.
3429 1994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3431 * Version 19.25 released.
3433 1994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3435 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
3437 1994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3439 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
3441 1994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3443 * Version 19.24 released.
3445 1994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3447 * make-docfile.c (write_c_args): Put `default' in upper case.
3449 1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3451 * etags.c (etags_getcwd): Cast result of popen.
3452 (popen): Declaration deleted.
3454 1994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
3456 * etags.c [!MSDOS]: Declare popen.
3458 1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3460 * b2m.c (main): Avoid crash if argc is 1.
3462 1994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3464 * Version 19.23 released.
3466 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
3468 1994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3470 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
3472 1994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
3474 * Makefile.in.in: Fix out of date comment.
3476 1994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3478 * Makefile.in.in: Put in a separator for where to start cpp procssing.
3479 Move all autoconf substitutions above that point.
3480 Above that point, use Make-style comments.
3481 This goes with changes in ../configure.in.
3483 1994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3485 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
3487 (${archlibdir}): Don't do it here. Don't depend on blessmail.
3489 1994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
3491 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
3493 1994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3495 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
3496 print advice to run it, if it has anything significant to do.
3497 And only if MOVEMAIL_NEEDS_BLESSING.
3498 (blessmail): Use emacs, not temacs.
3499 (configuration): Renamed from configname.
3501 1994-04-30 Morten Welinder (terra@diku.dk)
3503 * etags.c (find_entries): Treat `*.cpp' as C++ files.
3505 1994-04-30 Morten Welinder (terra@diku.dk)
3507 * etags.c [MSDOS]: #include <sys/param.h> for the following.
3508 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
3511 1994-04-29 Morten Welinder (terra@diku.dk)
3513 * hexl.c [MSDOS]: Don't define proto type for exit.
3515 1994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3517 * b2m.c: Don't include string.h or strings.h.
3519 1994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
3521 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
3522 symbols, not make variables.
3524 1994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3526 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
3527 * etags.c (print_version): Print VERSION as a string.
3529 1994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3531 * fakemail.c (readline): Fix updating of p when buffer grows.
3533 1994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
3535 * Makefile.in.in (blessmail): New target.
3536 ${archlibdir}: Use blessmail when installing movemail.
3538 1994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3540 * fakemail.c (readline): When extending the buffer,
3541 calculate end afresh using the new size.
3543 1994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3545 * etags.c (main, print_help): eliminate the -F option.
3547 1994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3549 * etags.c (absolute_filename): compare against '\0' instead of NULL.
3551 1994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3553 * Makefile.in.in: Renamed from Makefile.in.
3554 Makefile.in is now generated from it, and then preprocessed.
3555 Change comments to C syntax.
3557 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
3558 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
3560 1994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3562 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
3564 1994-04-12 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3566 * etags.c (etags_getcwd): Initialize bufsize.
3568 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3570 * profile.c (gettimeofday): If system doesn't have this, define it
3571 to give a fatal error.
3573 1994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
3575 * movemail.c (main): Use setuid, not seteuid.
3577 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3579 * etags.c: #undef static.
3581 1994-04-08 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3583 * etags.c (outf, outfiledir): renamed to tagf, tagfiledir.
3584 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs,
3585 Scheme_funcs, prolog_funcs): renamed to Fortran_functions,
3586 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
3587 TeX_functions, Prolog_functions.
3588 (inf): no more a global variable.
3589 (C_entries): take 2nd parameter `inf' instead of using the global one.
3590 (find_entries): added the cp1 var for optimisation.
3591 (find_entries): added more suffixes for assembler files.
3592 (Asm_funcs): Now finds labels even without an ending colon.
3594 1994-03-30 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3596 * etags.c (main): use etags_getcwd for compatibility.
3597 (etags_getcwd): new function.
3599 1994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3601 * Makefile.in (etags, ctags): Pass -D for VERSION.
3603 1994-03-25 Francesco Potorti` (pot@cnuce.cnr.it)
3605 * etags.c (emacs_tags_format, ETAGS): removed. Use CTAGS instead.
3606 (main): don't allow the use of -t and -T in etags mode.
3607 (print_help): don't show options enabled by default.
3608 (print_version): show the emacs version number if VERSION is #defined.
3609 (find_entries): add "ss" as suffix for Chez Scheme.
3611 1994-03-23 Francesco Potorti` (pot@cnuce.cnr.it)
3613 * etags.c (cwd, outfiledir): vars added.
3614 (relative_filename, absolute_filename, absolute_dirname):
3615 functions added to compute filenames in tags files.
3616 (process_file): filenames in tags file are relative to the
3617 directory where the tags file is (useful with the -o option).
3618 (main): initialise the outfiledir var.
3619 (TYPEDST): added the `tignore' value.
3620 (C_entries): corrected various small bugs.
3622 1994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3624 * Makefile.in (UTILITIES): `env' deleted.
3625 (env): Target deleted.
3626 * env.c: File deleted.
3628 1994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3630 * Makefile.in (install, ${archlibdir}): Switch back to ..
3631 before running INSTALL_PROGRAM.
3633 1994-03-14 Francesco Potorti` (pot@cnuce.cnr.it)
3635 * etags.c (TYPEDST): added the `tignore' value.
3636 (C_entries): corrected various bugs, now correctly parses the
3637 `extern "C" {' construction (patch by Tom R.Hageman).
3639 1994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3641 * b2m.c: Use <...> to include config.h.
3642 Don't include stdlib.h.
3644 1994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
3646 * b2m.c (main): Change delimiter from "^L" to "^_^L".
3647 Allow for text following "BABYL OPTIONS:".
3648 Add --help option. Use argv[0] in error messages.
3650 1994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3652 * emacsclient.c (main) [HAVE_SYSVIPC]:
3653 Make msgp->mtext longer if necessary.
3654 On HPUX, error if it's more than 512 chars.
3656 1994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
3658 * etags-vmslib.c: Use GPL.
3659 * emacstool.c: Use GPL.
3660 * fakemail.c: Update GPL.
3662 * make-path.c (main): Return 1 on error, not -1.
3665 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
3666 (xmalloc, xrealloc): Return char *, not int.
3667 (error): Write to stderr, not stdout.
3670 1994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
3672 * profile.c (main, get_time): Don't crash on invalid input.
3674 1994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
3676 * profile.c (get_time): Simplify; avoid calling index.
3677 (main): exit on EOF.
3679 1994-02-17 Francesco Potorti` (pot@cnuce.cnr.it)
3681 * etags.c (--absolute-pathnames): option removed.
3683 1994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3685 * fakemail.c (put_line): Don't break the line if it all fits.
3687 1994-02-14 Francesco Potorti` (pot@fly)
3689 * etags.c (absolute_pathnames, cwd): added global vars.
3690 (longopts, print_help, main, process_file): put absolute filenames
3691 in the tag file if the -A --absolute-pathnames option is used.
3692 (print_help): alfabetically order the options.
3693 (malloc, realloc, strcpy, strncpy, strcmp): remove extern declar.
3695 1994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3697 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
3698 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
3700 1994-02-07 Christian Lynbech (lynbech@avignon)
3702 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
3704 1994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3706 * Makefile.in (UTILITIES): Mention profile.
3707 (profile): New target.
3709 * profile.c: New file.
3711 1994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3713 * Make the argument list output look more like the Lisp docstrings do.
3714 make-docfile.c (write_c_args): Take new arg FUNC. Make output
3715 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
3716 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
3718 1994-01-14 Francesco Potorti` (pot@cnuce.cnr.it)
3720 * etags.c (stab_entry, stab_create, stab_find, stab_search,
3721 stab_type, add_keyword, C_reate_stab, C_create_stabs): deleted.
3722 Use gperf generated hash table instead of linked list.
3723 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): added.
3724 Mostly code generated by gperf.
3725 (consider_token): removed unused parameter `lp'.
3726 (PF_funcs, getit): allow subroutine and similar declarations
3727 to span multiple lines.
3728 (C_entries): check for newline if inchar to avoid bus errors.
3729 (process_file, find_entries): distinguish among nonexistent
3730 and not regular file.
3732 1994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3734 * timer.c: Include errno.h; don't include fasync.h.
3735 (schedule): Don't return a value.
3736 (sigcatch): Reestablish the handler first.
3737 (getevent): Always call notify at the end.
3738 (notify): Defer alarms around the whole body of function.
3740 1994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3742 * timer.c (main): Don't request SIGIO, and don't handle it.
3743 Loop calling getevent.
3744 (sigcatch): Delete code to handle SIGIO.
3745 if defer_alarms is set, don't call notify, just set alarm_deferred.
3746 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
3747 Set defer_alarms around realloc and schedule.
3748 If alarm_deferred gets set, call notify.
3749 Likewise if this event is the only pending event.
3750 Make buf and buf_size global variables.
3751 Don't malloc buf if it is already non-zero.
3752 (schedule): Just exit if run out of memory.
3753 Return the number of events.
3754 (signal) [_CX_UX]: Add #undef.
3756 1994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3758 * timer.c [USG] (SIGIO): Define as SIGPOLL.
3759 (main) [USG]: Do ioctl to enable SIGPOLL.
3761 1994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3763 * timer.c: Don't declare sys_errlist; declare strerror instead.
3764 (schedule, main): Call strerror instead of using sys_errlist.
3765 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
3766 Call strerror instead of using sys_errlist.
3767 * env.c (main): Call strerror instead of using sys_errlist.
3768 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
3769 (main): Call strerror instead of using sys_errlist.
3770 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
3771 * env.c [! HAVE_STRERROR] (strerror): Likewise.
3772 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
3773 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
3775 1994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3777 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
3779 * movemail.c (malloc): Don't declare it.
3780 (xmalloc): Cast result of malloc.
3781 (strcpy): Don't declare it.
3783 1993-11-14 Morten Welinder (terra@diku.dk)
3785 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
3786 (main): Use fclose to close file opened by fopen.
3788 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
3790 * movemail.c [MSDOS]: #undef `access'.
3792 * b2m.c (main) [MSDOS]: Open all files as binary.
3793 * etags.c (main) [MSDOS]: Open all files as binary.
3795 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
3796 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
3799 1994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3801 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
3802 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
3803 (LINK_CFLAGS): New variable.
3804 (timer): Use LINK_CFLAGS.
3806 1993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3808 * movemail.c: Include syswait.h.
3809 Fork a subprocess and use it to copy the mail file.
3811 1993-12-07 Richard Stallman (rms@srarc2)
3813 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
3815 1993-12-04 Richard Stallman (rms@srarc2)
3817 * movemail.c (main): When making tempname, cast result of xmalloc.
3818 Include room for EXXXXXX in the size.
3819 Don't use result of strcpy.
3821 1993-12-03 Paul Eggert (eggert@twinsun.com)
3823 * vcdiff: Add --brief option.
3825 1993-12-02 Richard Stallman (rms@srarc2)
3827 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
3828 for all executables and scripts.
3830 1993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3832 * Version 19.22 released.
3834 1993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3836 * Makefile.in (mostlyclean): Make it distinct from clean.
3838 1993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3840 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
3842 1993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3844 * Version 19.21 released.
3846 * Makefile.in (install): Don't change mode or group when installing.
3848 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
3850 1993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3852 * make-docfile.c (read_c_string): For "", concatenate the two strings.
3854 * movemail.c (main): Fix error message text.
3856 1993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3858 * Version 19.20 released.
3860 1993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
3862 * etags.c: (C_entries): Keep track of ()-parenthesis level so that
3863 functions returning a pointer to a function, a la `signal', can be
3864 parsed. This also required new state `fstartlist' to `FUNCST'.
3865 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
3866 (C_entries, CNL): use it to isolate preprocessor directive processing
3867 from the other state engines.
3868 (begtk): add '~', for C++ class destructors.
3870 1993-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
3872 * etags.c (consider_token): removed unused variable firsttok.
3873 (prolog_getit): call pfnote with the right number of arguments.
3875 1993-10-19 Paul Eggert (eggert@twinsun.com)
3877 * rcs2log (printlogline): Don't generate lines containing only
3880 1993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3882 * Makefile.in (${archlibdir}):
3883 Install ${SCRIPTS} from ${srcdir}, not cwd.
3885 1993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3887 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
3888 the comment character.
3890 1993-10-01 Francesco Potorti` (pot@cnuce.cnr.it)
3892 * etags.c (process_file): dead code removed.
3893 (S_ISREG): #define it using S_IFREG if not defined.
3894 (process_file): regular files have nothing to do with symlinks.
3896 1993-09-28 Brian Fox (bfox@ai.mit.edu)
3898 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
3899 from current directory. Only chmod and chgrp files that we
3900 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
3902 (INSTALLFLAGS): Deleted definition, since it is an unused variable
3905 1993-09-27 Brian Fox (bfox@ai.mit.edu)
3907 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
3908 configure figure out the correct values for these variables.
3910 1993-09-14 Brian Fox (bfox@ai.mit.edu)
3912 * Makefile.in (archlibdir): Only install execuatables internally
3913 used by emacs; don't install bindir binaries here.
3915 1993-09-24 Paul Eggert (eggert@twinsun.com)
3917 * rcs2log: Add -h, -n, -r options.
3918 By default, look for *,v files as well as RCS/*,v files.
3919 Use $TMPDIR (default /tmp) instead of /tmp.
3921 1993-09-20 Francesco Potorti` (pot@fly)
3923 * etags.c (C_entries): is_func is initialised here instead of in
3924 consider_token for the sake of the yacc rules section.
3925 (C_entries): Now class, struct, enum, union and typedef produce
3928 1993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
3930 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
3932 1993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3934 * Support configuring in a different directory when ${srcdir} has
3935 already been configured.
3936 * Makefile.in (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before
3937 -I${srcdir} -I${srcdir}/../src.
3938 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
3939 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
3940 is already in CPP_FLAGS.
3941 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
3942 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
3944 1993-08-25 Paul Eggert (eggert@twinsun.com)
3946 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
3947 otherwise, HP awk complains.
3949 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
3950 are common hangouts for SCCS commands.
3952 1993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3954 * Version 19.19 released.
3956 1993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3958 * Makefile.in (make-path): Dep on config.h.
3960 1993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3962 * b2m.c (TRUE, FALSE): Don't define if already defined.
3964 1993-08-09 Paul Eggert (eggert@twinsun.com)
3966 * rcs2log (awkscript):
3967 Some sites put comma-separated junk after the fullname.
3968 Remove it, but leave "Bill Gates, Jr" alone.
3969 Remove the junk from fullnames like "0000-Admin(0000)".
3971 1993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3973 * Version 19.18 released.
3975 1993-08-04 Francesco Potorti` (pot@spiff.gnu.ai.mit.edu)
3977 * etags.c (L_isdef, L_isquote, L_getit): small optimisations.
3978 (L_funcs): the (foo::defmumble stuff now should work.
3979 (consider_token): function returned random value--corrected.
3980 (C_entries): corrected == versus = typo.
3982 1993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3984 * etags.c (put_entries): For NODE->rewritten, put pattern before
3985 \177 and name after, not vice versa.
3987 1993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3989 * timer.c (main): Generate a SIGIO as soon as we've initialized.
3991 1993-07-30 Francesco Potorti` (pot@cnuce.cnr.it)
3993 * etags.c (FINCST): added the fignore status. Means we are
3994 after the parameter list and before the open curly brace.
3995 Allows correct parsing of C++ constructors.
3996 (C_entries, consider_token): make use of fignore.
3997 (consider_token): reset funcdef when next_token_is_func: when in
3998 ctags mode makes DEFVAR and others work better.
3999 (L_isquote): function that recognises the "(quote" string.
4000 (L_getit): ignore quoting via "'" or "(quote". Useful for defalias.
4002 1993-07-29 Paul Eggert (eggert@twinsun.com)
4004 * rcs-checkin: Don't check whether a file is readable until we have
4005 decided not to ignore it.
4007 1993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4009 * Makefile.in (etags): Depend on ../src/config.h.
4011 * emacsserver.c: Include types.h before file.h.
4013 1993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4015 * Makefile.in (install): Use .n, not .new, for temporary filenames.
4017 1993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4019 * Version 19.17 released.
4021 1993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4023 * etags.c (print_help): Break up the very long strings containing
4024 the help message into shorter strings, to placate chintzy C
4025 compilers which can't handle strings that long.
4027 * wakeup.c: Use CPP tangle from autoconf manual to #include the
4028 correct combination of <time.h> and <sys/time.h>.
4030 1993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
4032 * etags.c (alloca): removed all references to it.
4033 (main): now calls xnew instead of alloca for portability.
4034 (../src/config.h): included only if HAVE_CONFIG_H.
4035 (const): void definition removed--config.h takes care of it.
4037 1993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
4039 * etags.c (consider_token): was `==', now is `='.
4040 (consider_token): DEFUNs now treated like funcs in ctags mode.
4042 * etags.c (LEVEL_OK_FOR_FUNCDEF): removed.
4043 (C_entries): optimized the test that used LEVEL_OK_FOR_FUNCDEF.
4044 (C_entries): removed a piece of useless code.
4045 (C_entries): making typedef tags is delayed until a semicolon
4046 is met. This handles "typedef int X, Y, Z;" correctly.
4048 1993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4050 * Version 19.16 released.
4052 * b2m.c: #include <sys/types.h>.
4053 (ltoday): Declare this to be time_t.
4055 1993-06-30 Paul Eggert (eggert@twinsun.com)
4057 * vcdiff: Add -q option.
4059 1993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4061 * etags.c: #include "config.h" and the alloca CPP tangle before
4062 #including the system headers and getopt.h. AIX requires the
4063 #pragma to come before any actual C code.
4065 1993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4067 * Makefile.in (ctags): Depend on etags, so that parallel makes
4068 don't write etags.o files on top of each other.
4070 1993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4072 * version 19.15 released.
4074 1993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4076 * etags.c (add_node): Move var last_node to file scope.
4078 1993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4080 * Version 19.14 released.
4082 1993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4084 Bring mumbleclean targets into conformance with GNU coding standards.
4085 * Makefile.in (distclean): Call clean to do most of the work.
4086 Delete aixcc.c and TAGS.
4087 (realclean): Just call distclean.
4089 * Makefile.in: Remember, spaces are not tabs.
4091 1993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4093 * Makefile.in (CPP_CFLAGS): New variable.
4094 Use it instead of ALL_CFLAGS when compiling a .c file.
4095 (getopt.o, getopt1.o): Add explicit compilation commands.
4097 1993-06-10 Mark D. Baushke (mdb@cisco.com)
4099 * etags.c: Reinstate old -f option as an alias for -o for
4100 installed base uses.
4102 1993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4104 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
4105 to bind or accept, cast the pointer, to avoid warnings on systems
4106 which declare prototypes for this.
4107 * emacsclient.c (main): Same.
4109 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
4111 1993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4113 * Version 19.13 released.
4115 * wakeup.c: Include sys/types.h, too; I think that's where time_t
4116 comes from, not sys/time.h.
4118 1993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4120 * wakeup.c: Include sys/time.h.
4122 * etags.c: #undef static.
4124 * Version 19.12 released.
4126 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
4128 1993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4130 * Version 19.11 released.
4132 * timer.c [LINUX]: #undef signal.
4133 * emacsserver.c: #undef signal.
4135 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4137 * wakeup.c (main): Make when a time_t.
4139 1993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4141 * Makefile.in: (${archlibdir}): Use `(cd foo && pwd)` instead of
4142 `(cd foo ; pwd)` to get the canonical name of a directory; cd
4143 might fail, and have pwd print out the current directory.
4145 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
4146 string-handling functions.
4148 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4150 * Version 19.10 released.
4152 1993-05-29 Paul Eggert (eggert@twinsun.com)
4154 * rcs2log: When given no file arguments, inspect RCS/.* as well
4155 as RCS/*. Don't report an error if RCS is empty or nonexistent.
4157 1993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4159 * Makefile.in (timer): Link with $(LOADLIBES).
4161 1993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4163 * fakemail.c (put_line): Don't output \n\t unless more text follows.
4165 1993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4167 * etags.c: Replace the CPP tangle for alloca with the one from the
4168 autoconf documentation, since that's working elsewhere.
4170 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4172 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
4173 description files can find their ancestors.
4175 1993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4177 * Makefile.in (install): Get the scripts from ${srcdir},
4178 unlike the executables.
4179 (ALL_CFLAGS): Add -I../src
4181 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4183 * Version 19.9 released.
4185 1993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4187 * Makefile.in (install): Do install the programs listed in
4188 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
4189 INSTALLABLE_SCRIPTS, instead of writing the programs out.
4191 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
4192 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
4194 1993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4196 * etags.c: Include ../src/config.h.
4198 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
4199 in first loop. Delete files from bindir before installing new ones.
4200 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
4202 1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4204 * Version 19.8 released.
4206 * make-docfile.c: Doc fix.
4208 1993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4210 * tcp.c: Fix comment syntax at top of file.
4211 (main): Don't call htons with the port number.
4213 1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4215 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
4218 * Makefile.in (install): Refer to the variables INSTALLABLES and
4219 INSTALLABLE_SCRIPTS, instead of writing them out.
4221 1993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4223 * make-path.c (main): Return 0.
4225 1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4227 * Version 19.7 released.
4229 1993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4231 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
4233 1993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4237 1993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4239 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
4241 1993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4243 * timer.c (notify): Don't call sighold or sigrelse; they're USG
4244 only. We should really fix this later, but let's just make it
4247 Install patches from David J. Mackenzie to make the srcdir option
4249 * Makefile.in (srcdir, VPATH): Get this value from the top-level
4251 (INSTALLABLES): Split this into two lists - INSTALLABLES and
4252 INSTALLABLE_SCRIPTS.
4253 (INSTALLABLE_SCRIPTS): New list.
4254 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
4255 (${archlibdir}): The scripts to be installed live in the source
4256 tree, not in the object tree.
4257 (test-distrib): Note that the data file lives in the source tree,
4258 not the object tree.
4259 (GETOPTDEPS): Note that getopt.h lives in the source tree.
4260 (all other targets): Change references to source files to use
4261 ${srcdir}, except for config.h, which lives in the object dir.
4262 (timer.o): Note that this depends on ../src/config.h.
4263 * make-docfile.c (main): Add a -d option, to tell it where to find
4265 * test-distrib.c (main): Take the name of the distribution file to
4266 test from the command line.
4268 * timer.c: Fix mispellings of get_date function's name.
4270 1993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
4273 Don't require that there be input files if -i switches were given.
4275 1993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4277 The GNU coding standards specify that CFLAGS should be left for
4279 * Makefile.in (CFLAGS): Put this in the "things configure might
4280 edit" section, and have it default to -g.
4281 (ALL_CFLAGS): New variable, set to all the flags which should be
4282 passed to compilations. Replace all other uses of CFLAGS with
4284 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
4286 * Makefile.in (DEFS): Remove this; it's always just going to be
4287 "-DHAVE_CONFIG_H -Demacs".
4289 1993-05-03 Paul Eggert (eggert@twinsun.com)
4291 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
4292 /[/]/, so change it to /[\/]/. This should work on all
4293 Posix-compliant awks. It's slightly wrong with traditional awk,
4294 since it matches \ too, but that's a minor problem compared to awk
4297 1993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4299 * Makefile.in (ALLOCA): New variable, whose value we should
4300 inherit from the top-level makefile.
4301 (etags, ctags): Include ALLOCA in the list of object files that
4302 these executables depend on and link.
4304 1993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4306 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
4308 1993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
4310 * make-docfile.c (write_c_args): Print an argument named "defalt"
4313 1993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4315 * Makefile.in (C_SWITCH_SYSTEM): New variable.
4316 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
4319 1993-03-22 Francesco Potorti` (pot@cnuce.cnr.it)
4321 * etags.c (YACC): flag added to c_ext.
4322 (c_ext): no more a synonim for c_ext&C_PLPL because of YACC.
4323 (find_entries): consistently use streq when reasonable.
4324 (find_entries): a .y file is a yacc file.
4325 (get_C_stab): c_ext becomes c_ext&C_PLPL.
4326 (C_entries): logical cplpl means c_ext&C_PLPL.
4327 (C_entries): logical yacc_rules means we are after the first %%.
4328 (C_entries): added logic for yacc files.
4330 1993-03-16 Francesco Potorti` (pot@cnuce.cnr.it)
4332 * etags.c (C_entries): ':' case moved to the second switch.
4333 (C_entries): do not examine token if structdef==scolonseen.
4334 (consider_token): structtag set to null string for enum.
4336 1993-03-12 Francesco Potorti` (pot@cnuce.cnr.it)
4338 * etags.c (GET_COOKIE): and related macros removed.
4339 (logical): is now int, no more a char.
4340 (reg): define deleted.
4341 (isgood, _gd, notgd): deleted.
4343 (TOKEN): member linestart removed.
4344 (linepos, prev_linepos, lb1): deleted.
4345 (main): call initbuffer on lbs array instead of lb1.
4346 (init): removed the initialisation of the logical _gd array;
4347 (find_entries): a .sa suffix means assembler file.
4348 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
4349 All C state machines rewritten.
4350 (C_entries): complete rewrite.
4351 (condider_token): complete rewrite.
4354 1993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
4356 * etags.c (C_entries): Added the quotednl logical variable.
4357 Used for parsing of #define's spanning multiple lines.
4359 1993-02-23 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
4361 * etags.c (C_entries): Save the definedef status even when a
4362 newline is met inside a string.
4364 1993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
4366 * Makefile.in (EXECUTABLES): added rcs-checkin.
4368 * Makefile.in (unlock, relock): New productions.
4370 1993-03-16 Paul Eggert (eggert@twinsun.com)
4372 * rcs2log: Some awks don't understand "\r". Code around this.
4373 Unfortunately this requires putting a carriage return in the
4374 source code. Don't assume that rlog will tolerate times like
4375 `10:10:60'; RCS 5.7 won't allow this.
4377 1993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4379 * timer.c (main): Set the ownership of the stdin file descriptor
4380 to the current process. Print error messages if either of the
4383 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
4384 ../src/config.h), not void.
4386 1993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4388 * b2m.c (main): Don't exit upon reading a blank line.
4390 1993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
4392 * etags.c (C_entries): New local variable quotednl. Used for
4393 parsing of #define's spanning multiple lines.
4395 * etags.c (C_entries): Save the definedef status
4396 even when a newline is met inside a string.
4398 1993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4400 * timer.c (notify): Initialize waitfor properly.
4402 1993-02-22 Francesco Potorti` (pot@CNUCE.CNR.IT)
4404 * etags.c (C_entries): Don't reset definedef when a newline inside a
4407 1993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4409 * etags.c (find_entries): If filename ends in .f or .for,
4410 don't try anything but Fortran.
4412 1993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
4414 * timer.c (notify): Flush stdout after writing message to avoid lossage
4417 (notify): Also, write a newline after the token.
4419 1992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4421 * Makefile.in (exec_prefix): New variable.
4422 (bindir, libdir): Use it instead of `prefix'.
4424 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
4426 * Makefile.in (libdir): Default to ${prefix}/lib.
4427 (archlibdir): Adjusted to match.
4429 * Makefile.in (distclean): Don't delete backup or autosave files.
4430 (extraclean): Like realclean, but does delete backup and autosave
4433 * Makefile.in (realclean): Ignore errors from rm.
4435 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
4436 that doesn't exist anymore.
4438 1992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4440 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
4441 described in the top-level Makefile.
4442 (UTILITIES): Add make-path to the list of utility programs.
4443 (../arch-lib): Replaced by the ${archlibdir} target, which places
4444 the executables in their permanent home.
4445 (install, install.sysv, install.xenix): Consolidated into one
4446 target which should work under all circumstances, modulo a few
4447 ignored error messages.
4449 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
4450 a different number of arguments than other DEFVARs, recognize it
4451 specially, and expect the right number of commas.
4453 1992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4455 * make-path.c: New program, to help with the installation process.
4456 * Makefile.in (make-path): New target.
4458 * make-path.c (touchy_mkdir): Remove debugging output.
4460 1992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4462 * Makefile.in (getdate.o): Added explicit target for this, so we
4463 can indicate that it depends on ../src/config.h.
4465 1992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4467 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
4469 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
4471 1992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4473 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
4474 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
4477 * Makefile.in (arch-lib): Give rm the `-f' option.
4479 1992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4481 * make-docfile.c (write_c_args): Rewritten to correctly print
4482 &optionals before the first identifier, but after the first paren.
4483 This code used to just wait for commas or spaces; now it notices
4484 identifier boundaries.
4486 1992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4488 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
4490 1992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4492 * make-docfile.c (write_c_args): Print the argument lists properly
4493 when the first argument is optional.
4495 1992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4497 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
4498 Redefine @item. Set catcode of +.
4500 1992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4502 * emacsclient.c (main): Set IPC_CREAT in msgget call.
4504 1992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4506 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
4507 (TEX_decode_env): Make `tab' one element longer.
4509 1992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4511 * etags.c (PF_funcs): Recognize the "entry" keyword.
4513 1992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4515 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
4517 1992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4519 * timer.c (events): Rather than having slots marked as in use or
4520 out of use by the `token' field, keep all pending events at the
4521 beginning of the array. When we delete an event in the middle of
4522 the array, we move the last event into its place.
4523 (num_events): New variable.
4524 (schedule): It is now cheaper to find a free event slot;
4525 events[num_events] is the first free slot.
4526 (notify): Scan events[0 .. num_events-1], instead of the whole
4527 array. When an event fires, move the last event in the array into
4528 its spot. Use num_events to determine whether or not there are
4529 any pending events, not wait_for.
4530 (getevent): Deleted unused variable `ep'.
4531 (sigcatch): It's now easier to find all the active events.
4532 (main): Initialize num_events.
4534 * etags.c: Rather than fret about which systems have index and
4535 which systems have strchr, and how to tell the difference between
4536 them, we just write out our own versions. Big deal.
4537 (index, rindex): Extern declarations removed.
4538 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
4539 (etags_index, etags_rindex): New declarations.
4540 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
4541 TEX_getit, substr): Use the etags_*index functions, rather than
4542 the native *index functions.
4543 (rindex, index): Renamed to etags_rindex and tags_rindex, and
4544 made them unconditionally defined, rather than having them depend
4547 * etags.c (savenstr): Add declaration for this at top of file.
4548 (TEX_decode_env): Don't declare it local to this function.
4550 * b2m.c: #include "../src/config.h", so we can test for the USG
4551 macro, and decide whether to include <string.h> or <strings.h>.
4552 * Makefile.in: Note that b2m.c depends on ../src/config.h.
4554 1992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4556 * timer.c: Reformatted according to the GNU coding standards.
4557 Removed arbitrary limits on the number of events queued and the
4558 length of the tokens used to identify them.
4559 Removed casts to (void).
4560 Removed debugging printfs; they clutter the code, and the need
4561 can be better filled using a real debugger.
4563 1992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4565 * timer.c: Installed new version from Eric Raymond; this is more
4566 portable, since it doesn't try to use SIGIO.
4568 1992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4570 * emacsclient.c (main): If we can't find the socket in this
4571 person's home directory, print a message which asks if they've
4572 started the server, instead of just printing the message from
4573 sys_errmsg; Cygnus finds that people are much less confused by
4576 1992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4578 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
4579 so that index and rindex get defined, why don't we actually
4580 control index and rindex using symbols called "NEED_INDEX" and
4581 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
4582 little more readable than defining something whose name implies
4585 1992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4587 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
4589 Miscellaneous doc fixes.
4590 (skip_white, read_lisp_symbol): New functions.
4591 (scan_lisp_file): Instead of using long hairy strings of ifs, call
4592 read_lisp_symbol and then see what we got. Call skip_white
4593 instead of writing out a loop to do its job. Correctly extract
4594 docstrings from "defmacro" declarations.
4596 1992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4598 * movemail.c (strcpy): Declare this to return char *.
4600 1992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4602 * etags.c (C_entries): When we find a C++ comment, do actually
4603 skip to the end of the line; do a 'break' instead of a 'continue'.
4605 1992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4607 * etags.c (getit): Add missing parenthesis to expression which
4608 decides if this token is an identifier.
4610 1992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
4612 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
4614 1992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4616 * etags.c (put_entries): Always put space between name and line num.
4618 1992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
4620 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
4622 (LEVEL_OK_FOR_FUNCDEF): Ditto.
4624 1992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4626 * make-docfile.c (write_c_args): Pass both arguments to putc.
4628 1992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
4630 * etags.c (C_entries): Fixed reading of "..." strings.
4631 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
4632 the C library source.
4634 * etags.c (C_entries): When we see a backslash inside a quoted
4635 string, skip to the next character. This allows us to correctly
4636 deal with strings containing quotes.
4638 1992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4640 * make-docfile.c (write_c_args): Print the C argument names as
4641 they would be written in Elisp; print '_' as '-'.
4643 1992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4645 * movemail.c [POP]: Get user name via getpwuid.
4647 1992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4649 * Makefile.in: flags in CC invocations rearranged for no reason.
4651 1992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4653 * etags.c (print_help): Remember not to imbed raw newlines in
4654 strings - end the lines with `\n\'.
4656 1992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4658 * timer.c (getevent): Removed declaration of memcpy; since
4659 different systems have different return types, and we're not even
4660 using the return type anyway, it wasn't doing us any good.
4662 1992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4664 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
4665 type of this function.
4667 1992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4669 * ChangeLog: Since the old etc contents have been split into etc
4670 and lib-src, the old etc's ChangeLog has been duplicated in the
4671 new etc and lib-src. That means that each contains complete and
4672 coherent information, although each contains extraneous
4675 1992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4677 * lib-src/etags.c: "--no-warning" option renamed to "--no-warn",
4678 to be consistent with other GNU programs, like makeinfo.
4680 * lib-src/Makefile: Renamed to Makefile.in; the configure script
4681 will edit this to produce Makefile.
4683 1992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4685 * etags.c (print_help, print_version): New functions.
4686 (main): Options added to support them.
4688 * etags.c (longopts): New array of long names for the options.
4689 (main): Recognize them.
4691 1992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4693 * etags.c (C_entries): Removed comment saying that \" in a string
4694 isn't recognized as magic, because it is correctly handled.
4696 * getopt.c, getopt.h: New files, from GNU C library.
4697 * etags.c: Rewritten to use getopt.
4698 #include "getopt.h".
4699 (file_num): Variable deleted; its role is now played by getopt's
4701 (main): Argument processing loop rewritten to call getopt to get
4702 next option. Options which take parameters (-o and -i) rewritten
4703 to get parameter from optarg instead of argv[1]. Filename
4704 preprocessing loop and update command changed similarly.
4705 * Makefile (etags, ctags): Depend on and link with getopt.h,
4706 getopt.o, and getopt1.o.
4707 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
4709 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
4712 (main): In the argument processing loop, the 'goto next_arg'
4713 statements are breaking out of the switch statement in exactly the
4714 same way that a simple 'break' statement would; replace the gotos
4715 with breaks, and remove the label.
4717 1992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4719 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
4720 (consider_token): Move next_token_is_func to global.
4722 1992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4724 * Makefile: Conform with GNU coding standards:
4725 (mostlyclean): New target, synonymous with clean.
4726 (TAGS, check): New targets.
4727 (INSTALL, INSTALLFLAGS): New variables.
4729 1992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4731 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
4732 `config.emacs' to `configure'.
4734 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
4735 * etc/MACHINES: Same.
4737 1992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4739 * movemail.c (main): Allow tempname to be as long as necessary,
4740 instead of limiting it to 39 characters.
4742 * movemail.c (main): Move declaration of buf from top of function
4743 to local block surrounding the copy loop. This makes it less
4744 likely to be confused with the buf used by the code which checks the
4745 permissions on outname's directory.
4747 1992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
4749 * SERVICE: Remove my entry.
4751 1992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
4753 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
4756 * movemail.c (xmalloc): Return char *, not int.
4757 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
4758 that is off by default -- normally don't unlink the mail spool
4759 file, just empty it. Pass creat mode 0600, not 0666.
4761 1992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4763 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
4764 (all): Instead of here.
4765 (install): Don't use the -s option, since people need symbols to
4768 1992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
4770 * etags-vmslib.c (fn_exp): Add type cast.
4772 1992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4774 * movemail.c: Changes in comments.
4776 1992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4778 * Makefile: Make the distclean target erase the DOC files from
4779 ../share-lib and the executables from ../arch-lib.
4781 1992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4783 * emacsclient.c: #include <sys/stat.h>
4784 (main): Do declare statbfr.
4786 1991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4788 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
4789 for the socket, depending on SERVER_HOME_DIR.
4790 If using /tmp, put host name in the socket name.
4792 * movemail.c (pfatal_and_delete): New function.
4793 (main, popmail): Use it.
4794 (popmail): Close output before deleting messages.
4795 Check for error on close and on fsync.
4796 Use `fatal' where appropriate.
4797 (main): Remove (void).
4799 * aixcc.lex: New file. Not officially part of Emacs.
4800 * Makefile: Rules for that.
4802 1991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
4804 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
4806 * etags.c (main): Properly cast call to alloca that initializes
4809 1991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
4811 * etags.c (files_are_tag_tables): Remove global var.
4812 (process_file): Don't test it. Also remove hack checking for a
4814 (main): -i now takes an arg which is the name of a file to include.
4815 Collect these names and emit include tags for them after processing
4816 all the argument files.
4818 1991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4820 * wakeup.c: Terminate if parent goes away.
4822 1991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4824 * etags.c (C_entries): Process token before handling end of line.
4825 When inner loops reach end of line, just back up.
4826 Let the real end of line processing happen in just one place.
4827 (consider_token): Likewise.
4829 1991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4831 * etags.c (TEX_mode): Skip comments while scanning the text to see
4832 which escape character this file uses.
4834 1991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4836 * emacsserver.c [USG]: Terminate if msgrcv fails.
4838 1991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
4840 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
4842 1991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
4844 * make-docfile: Find the arguments to a C function correctly,
4845 by not ignoring the character that read_c_string returns. Don't
4846 even try to find argument names for functions that take MANY
4847 or UNEVALLED arguments, since they're a figment of the docstring's
4850 1991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
4852 * make-docfile: Read the .elc files generated by the new byte
4855 1990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
4857 * refcard.tex: Use cm fonts, not am, in multi-column mode.
4859 1990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
4861 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
4863 1990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
4865 * Makefile (install*): No need to install wakeup.
4867 1990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
4869 * Makefile (install*): Install emacsclient like etags.
4871 1990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
4873 * movemail.c (error): Handle 3 args.
4874 (main): Don't check input access if using pop.
4876 1990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
4878 * etags.c (find_entries): Check for numbers after Scheme suffix.
4880 1990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
4882 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
4884 1990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
4886 * Makefile (nemacstool, xvetool): New targets.
4888 1990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
4890 * emacsclient.c: Include errno.h and define related variables.
4892 1990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
4894 * emacsclient.c: Change usage message.
4896 1990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
4898 * emacs.1: Add break before -nw option.
4900 1990-08-19 David J. MacKenzie (djm@apple-gunkies)
4902 * qsort.c: Replace with GNU version.
4904 1990-08-14 David J. MacKenzie (djm@apple-gunkies)
4906 * wakeup.c: New program replacing loadst.c.
4908 1990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4910 * emacsclient.c [USG]: Pass msgsnd only 4 args.
4912 1990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
4914 * etags.c: Rename `flag' variables for what they do instead of
4915 which option character sets them.
4917 1990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4919 * loadst.c (main): Conditional to get load average on Apollo.
4921 1990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
4923 * emacsserver.c: Set the permission on the socket to 0600.
4925 1990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4927 * emacsclient.c [BSD]: Print clean message for failing getwd.
4929 1990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
4931 * getdate.y: Use the getdate.y from GNU tar for timer.
4933 1990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
4935 * emacsclient.c (main): Don't put brackets around "filename" in
4936 usage message. It isn't optional.
4938 1990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
4940 * etags.c (getit): Recognize '$' as beginning identifiers.
4942 1990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
4944 * emacsserver.c: Renamed from server.c.
4945 * Makefile: Reference emacsserver rather than server.
4946 * MACHINES: Doc fix for new emacsserver name.
4948 1990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4950 * emacsclient.c: Print program name in error messages.
4952 1990-01-19 David Lawrence (tale@cocoa-puffs)
4954 * timer.c, getdate.y (new files) and Makefile:
4955 Sub-process support for run-at-time in timer.el.
4956 Doesn't yet work correctly for USG.
4958 1990-01-10 Jim Kingdon (kingdon@pogo)
4960 * MACHINES: Add HP 300 running BSD.
4962 1990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4964 * yow.c: Dynamically allocate buffer; skip header before random
4965 choice to avoid bias toward first item.
4967 1989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4969 * etags.c (readline): Separate out init of `pend'.
4971 1989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4973 * etags.c: Undo changes relating to isgoodhdr.
4975 1989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
4977 * etags.c (isgoodhdr): New macro.
4978 (_gdh, notgdh): New variable used by that.
4979 (init): Initialize _gdh.
4980 (find_entries): Set header_file.
4981 (consider_token): Use isgoodhdr if in header file.
4983 * etags.c (total_size_of_entries):
4984 Was miscalculating by 1 in rewritten case.
4986 * etags.c (PAS_funcs): One arg to pfnote was missing.
4988 1989-12-05 Joseph Arceneaux (jla@spiff)
4990 * MACHINES: Change for the ULTRIX entry.
4992 1989-11-21 Joseph Arceneaux (jla@spiff)
4994 * etags.c (process_file): If file is not regular, return.
4996 1989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4998 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
5000 1989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5002 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
5003 (main): If HAVE_GETLOADAVG, don't call `nlist'.
5005 1989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5007 * etags.c (consider_token): Allow any number of typespec keywords
5008 after `typedef', before new type name.
5009 (enum sym_type): Add st_C_typespec.
5010 (C_create_stab): Put typespec kwds in table.
5012 1989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
5014 * etags.c (main): Don't depend on name invoked by.
5015 If CTAGS is not defined, assume it is ETAGS.
5017 1989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5019 * etags.c (L_funcs): Allow package name in define construct,
5020 as in (foo::defmumble name-defined ...).
5022 1989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5024 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
5026 * Makefile (yow): Depends on ../src/paths.h.
5028 1989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
5030 * etags.c: Fix compilation by moving Pascal after Fortran.
5032 1989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5034 * movemail.c [USG]: Define F_OK, etc., if not found in header.
5036 1989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5038 * hexl.c: New file, supports hexl-mode.
5040 1989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5042 * movemail.c: New compilation flag MAIL_USE_MMDF.
5044 1989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5046 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
5047 * server.c: Likewise.
5049 * make-docfile.c (scan_c_file): Output argument names at end of string.
5050 (write_c_args): New subroutine.
5052 1989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5054 * movemail.c: Report failure of flock.
5056 1989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5058 * etags.c (find_entries): Allow multi-letter extensions for fortran.
5060 1989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5062 * loadst.c: on bsd4.3, use gettimeofday instead of CPUSTATES.
5064 1989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
5066 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
5068 * emacsstool.1: update to document environment variables.
5070 1989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5072 * etags.c (PAS_funcs): New function by Mosur Mohan.
5074 * movemail.c: On sysv, include unistd.h.
5076 1989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5080 1989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5082 * etags.c: Prolog support from Sunichirou Sugou
5084 1989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5086 * Makefile (clean): New target.
5088 1989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5090 * fakemail.c (put_line): Break header lines at 79 cols.
5092 1989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5094 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
5095 multiple tags per line.
5097 1989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5099 * movemail.c: Check access before doing real work.
5100 Check that outfile is in a writable directory.
5101 On fatal error, delete the lock file.
5103 1988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
5105 * env.c: Add decl for my-index
5106 * etags.c (file-entries): .oak => scheme
5108 1988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5110 * movemail.c: Use `access' to check input and output files.
5112 1988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5114 * emacsclient.c (main): Ignore all of CWD before first slash.
5116 1988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5118 * etags.c (readline): Double linebuffer->size outside the xrealloc.
5120 1988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5122 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
5123 * server.c: chmod the socket to 0700.
5125 1988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5127 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
5128 (add_field): Delete comments and turn `<', `>' to spaces
5130 (USE_FAKEMAIL): New customization macro says to make fakemail
5131 not be a no-op even on a BSD system.
5133 1988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5135 * etags.c (consider_token): Skip comments just like whitespace.
5136 Notice `struct', etc. and set strtag for those tokens.
5137 Return 1 for the token following `struct' if an open-brace follows it.
5138 (C_entries): Special handling of token following `struct'
5139 needed because we have probably advanced to the following line
5141 (main): New option `T' sets tflag and strflag.
5142 Set both of them by default if eflags.
5144 1988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5146 * movemail.c: Do fsync before closing output.
5148 1988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
5150 * movemail.c: Better error message when can't create tempname.
5151 This file needs a great deal of extra error-checking and lucid reporting...
5153 1988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5155 * etags.c: Support assembler code for .s and .a files.
5156 (getit): Allow underscore in a tag.
5158 1988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5160 * movemail.c: Close output and check errors before deleting input.
5162 1988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
5164 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
5165 whether to prefix it. Handle line number args.
5167 1988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
5169 * etags.c (main): default setting of eflag was backwards.
5171 1988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5173 * etags.c: New option -i. -f renamed -o.
5174 `-' as input file means read input file names from stdin.
5175 -i spec'd or input file named TAGS means the input file is another
5176 tag table; output an "include" line for it.
5178 1988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5180 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
5181 New targets install, install.sysv, install.xenix.
5182 This makefile is now responsible for installing executables
5183 and documentation from this directory into system directories.
5185 1988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
5187 * server.c, emacsclient.c (main): Compute socket name from euid.
5189 1988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5191 * emacsclient.c: Args like +DIGITS are passed through unchanged.
5193 1988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5195 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
5196 * emacsclient.c: Likewise.
5197 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
5199 1988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5201 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
5202 (istoken) New string-comparison macro.
5203 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
5205 1988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5207 * etags.c: Changes for VMS.
5208 Always define ETAGS on VMS.
5209 Define macros GOOD and BAD for success and failure exit codes.
5210 (begtk, intk): Allow `$' in identifiers
5211 (main): Don't support -B, -F or -u on VMS.
5212 Alternate loop for scanning filename arguments.
5213 (system): Delete definition of this function.
5215 * etags-vmslib.c (system): Undefine this; VMS now provides it.
5217 1988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5219 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
5220 around include of param.h. (Like fns.c.)
5222 1988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
5224 * loadst.c (load_average): Move load-average code to this new fn.
5225 Add conditionals to compute load ave on UMAX.
5227 1988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
5229 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
5230 with opposite sense.
5232 1988-05-13 Chris Hanson (cph@kleph)
5234 * emacsclient.c: Delete references to unused variable `out'. This
5235 caused a bus error when used under hp-ux.
5237 1988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
5239 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
5241 1988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
5243 * etags.c (find_entries): `.t' or `.sch' means scheme code.
5245 1988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
5247 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
5249 1988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
5251 * movemail.c: #undef close, since config can #define it on V.3.
5252 * emacsclient.c, fakemail.c, loadst.c, server.c: likewise.
5254 1988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
5256 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
5257 invalid escape sequences such as `\{'.
5259 * loadst.c: Add `sequent' conditional for file dk.h.
5261 1988-03-20 Richard M. Stallman (rms@wilson)
5263 * server.c [not BSD and not HAVE_SYSVIPC]: fix error message.
5265 * loadst.c (main) [XENIX]: use /usr/spool/mail, not /usr/mail.
5268 ;; coding: iso-2022-7bit
5271 Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002
5272 Free Software Foundation, Inc.
5273 Copying and distribution of this file, with or without modification,
5274 are permitted provided the copyright notice and this notice are preserved.