1 2001-10-19 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
3 * b2m.c: Properly spell the name of Emacs.
5 2001-10-17 Miles Bader <miles@gnu.org>
7 * make-docfile.c (put_char): New function.
8 (read_c_string_or_comment): Strip trailing spaces and newlines.
10 2001-10-16 Miles Bader <miles@gnu.org>
12 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
13 comments [with `doc:' keyword prefix].
15 2001-10-15 Gerd Moellmann <gerd@gnu.org>
17 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
20 2001-10-13 Gerd Moellmann <gerd@gnu.org>
22 * make-docfile.c (read_c_string_or_comment): Renamed from
23 read_c_string. Add parameter COMMENT. Read C-style comments.
24 (scan_c_file): Handle doc strings in C comments.
26 2001-10-12 Andrew Innes <andrewi@gnu.org>
28 * makefile.nt (ALL): Do not include fakemail.
30 * makefile.w32-in (install): Do not copy fakemail.
32 2001-10-10 Jason Rumney <jasonr@gnu.org>
34 * makefile.w32-in (ALL) Do not include fakemail.
36 * makefile.nt (install) Ditto.
38 2001-10-09 Gerd Moellmann <gerd@gnu.org>
40 * emacsserver.c (main): Cast geteuid in sprintf to int.
41 From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
43 * emacsclient.c (main): Cast isdigit() argument to unsigned char.
44 From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
46 2001-10-07 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
48 * profile.c: Include config.h, not ../src/config.h.
49 Include systime.h, not ../src/systime.h.
51 2001-10-05 Gerd Moellmann <gerd@gnu.org>
55 2001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
57 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
58 ALIASEE to help work with namespace aliases.
59 (struct sym): Remove struct member NAMESP_ALIASES.
60 (namespace_alias_table): New variable.
61 (make_namespace): Add parameter CONTEXT.
62 (check_namespace): New function.
63 (find_namespace): Add parameter CONTEXT.
64 (check_namespace_alias): New function.
65 (register_namespace_alias): Change type of parameter
66 OLD_NAME. Search for already defined alias in
67 NAMESPACE_ALIAS_TABLE.
68 (check_namespace): New function.
69 (enter_namespace): Call find_namespace with CONTEXT parameter.
70 (match_qualified_namespace_alias): New function.
71 (parse_qualified_ident_or_type): Fixed typo in comment. While
72 parsing qualified ident or type update namespace context and
74 (parse_qualified_param_ident_or_type): Fixed typo in comment.
75 (globals): Changed handling of namespace aliases.
76 (version): Added year 2001.
78 2001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
80 * etags.c (analyse_regex): If regex_arg is NULL, return
81 immediately after a call to free_patterns.
83 2001-09-05 Paul Eggert <eggert@twinsun.com>
85 * rcs2log (Help, mainline code): Add new option -L FILE.
86 (Copyright): Update year.
87 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES,
88 LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
90 (mainline code): Handle nonstandard -u option differently, by
91 transforming it to standard form. Check for "Working file: ", not
92 "Working file:". Allow file names with spaces.
93 (SOH, rlogfile): New shell vars.
94 (rlogout): Remove. Its old functionality is mostly migrated to
97 Append ';;' to the last arm of every case statement, for
98 portability to ancient broken BSD shells.
100 (logins): Fix bug; was not being computed at all, lowering
102 (pository): New var. This fixes some bugs where repositories are
103 remote, or have trailing slashes.
104 (authors): $llogout is never an empty shell var, so don't worry
105 about that possibility.
106 (printlogline, mainline code): Fix bug with SOH's being put into
109 2001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
111 * ebrowse.c (SEEK_END): #define if not defined by system headers.
112 Suggested by Dave Love <d.love@dl.ac.uk>.
114 2001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
116 * makefile.nt (lisp): Synchronize with src/Makefile.in.
117 * makefile.w32-in (lisp): Ditto.
119 2001-07-25 Juanma Barranquero <lektu@terra.es>
121 * grep-changelog (parse_changelog): Remove unused local variable.
123 * grep-changelog (main): Add new option --reverse.
125 (parse_changelog): Use it.
127 2001-07-20 Gerd Moellmann <gerd@gnu.org>
129 * grep-changelog: Remove RCS Id keyword.
131 2001-07-20 Juanma Barranquero <lektu@terra.es>
133 * grep-changelog (parse_changelog): Add tests for defined values
134 to quiet warning from Perl 5.005 or above.
135 (entry_match_p, header_match_p): Fix handling of null or empty
136 argument to prevent duplicate headers.
138 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
140 2001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
142 * emacsclient.c (print_help_and_exit): Fix help message for
145 2000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
147 * emacsclient.c (main): Add support for +LINE:COLUMN command line
150 2001-07-16 Gerd Moellmann <gerd@gnu.org>
152 * ebrowse.c (main): Check that the output file exists and
153 is non-empty if invoked with `--append'.
155 2001-05-14 Francesco Potorti` <pot@gnu.org>
157 * etags.c (add_regex): Reset the whole newly allocated pattern
158 buffer instead of the individual members. It's safer and works
161 * etags.1: Markups corrected.
163 2001-05-08 Gerd Moellmann <gerd@gnu.org>
165 * ebrowse.c (enter_namespace): Fix reallocation of
168 2001-05-03 Gerd Moellmann <gerd@gnu.org>
170 * ebrowse.c (globals): Fix handling of namespace aliases.
172 2001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
174 * etags.c (print_help): Enclose the regexp in the help text
177 2001-04-05 Dave Love <fx@gnu.org>
179 * emacsclient.c (fail): Don't return a value.
180 (main): Cast uid values for sprintf.
182 2001-04-03 Gerd Moellmann <gerd@gnu.org>
184 * emacsclient.c (fail, main): Don't use implicit int return type.
186 * b2m.c (main): Always return a value.
188 2001-03-02 Gerd Moellmann <gerd@gnu.org>
190 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
191 freshly allocated object in *LAST_ID.
192 (read_line): Accept \r\n line endings.
194 2001-02-24 Andrew Innes <andrewi@gnu.org>
196 * makefile.w32-in: Fix copyright notice.
198 2001-02-23 Francesco Potorti` <pot@gnu.org>
200 * etags.c (enum sym_type): New label st_C_template.
201 (gperf input): Use it for switching to C++ from C.
202 (consider_token): Do it.
203 (C_entries): Initialise typdefcblev to quiet compilers.
204 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
206 2001-02-22 Andrew Innes <andrewi@gnu.org>
208 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
210 ($(BLD)\profile.obj): Ditto.
212 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
214 ($(BLD)/profile.$(O)): Ditto.
216 2001-02-05 Andrew Innes <andrewi@gnu.org>
218 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
219 invocation of make-docfile, to work with Windows 2000.
221 2001-01-31 Dave Love <fx@gnu.org>
223 * etags.c (in_word_set): Use `static' in definition (for pcc).
225 2001-01-31 Francesco Potorti` <pot@gnu.org>
227 * etags.c: [NDEBUG] #undef assert and #define it as ((void)0), for
228 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
229 (C_entries): Tag token renamed to still_in_token because sunos4
230 pcc wants to expand it as the token() macro even though it has no
233 2001-01-30 Andrew Innes <andrewi@gnu.org>
235 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
236 bug in the Mingw32 assert.h header file.
238 2001-01-30 Francesco Potorti` <pot@gnu.org>
240 * etags.c: [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
241 #define it for the sake of Xemacs.
242 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
243 HAVE_CONFIG_H. This change only affects a standalone etags.
244 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
245 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
246 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
247 [!HAVE_UNISTD_H]: use defined(WINDOWSNT) instead of the bare
248 WINDOWSNT, as this is the correct way to use it.
250 2001-01-28 Francesco Potorti` <pot@gnu.org>
252 * etags.c: Be capable to parse nested struct-like structures.
253 (structdef, structtag): Struct state machine revisited.
254 (struct tok): Revisited.
255 (cstack, nestlev, instruct): New struct and macros.
256 (pushclass_above, popclass_above, write_classname): New functions
257 for dealing with nested class names, inspired by Mykola Dzyuba.
258 (consider_token, make_C_tag, C_entries): Many changes for dealing
259 with arbitrarily nested structures.
260 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
261 (C_entries): Consider templates in C++.
262 (sym_type): New constant st_C_class for detecting "class" also in
264 (C_AUTO): New macro for automatic detection of C++.
265 (consider_token): Automatic set C++ mode.
266 (C_entries): New security check for yacc.
267 (print_language_names, print_help): Mention the autodetect
268 feature, do not show help for the -C option, now mostly useless.
269 (C_entries): Tag C++ forward declarations if --declarations.
270 (C_entries): Don't be fooled by things like XDEFUN.
271 (consider_token): Discard asm pseudo function.
273 2001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
275 * etags.c: Add a coding: tag.
277 2001-01-26 Gerd Moellmann <gerd@gnu.org>
279 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
281 (matching_regexp): Use them instead of static variables in
284 2001-01-25 Francesco Potorti` <pot@gnu.org>
286 * etags.c (struct tok): Renamed from struct token.
287 (token): Renamed from tok.
288 (structtype): Make it a local variable.
290 (xrnew): Change the synopsis.
291 (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
292 (grow_linebuffer): Don't call xrnew when not needed.
293 (token): buffer renamed to line.
294 (C_entries): Three calls to inibuffer moved here from main.
295 (C_entries): Removed all references to var methodlen, delete it.
296 (linebuffer_setlen): Was grow_buffer, now also sets len.
297 (consider_token, C_entries, Pascal_functions): Use it.
298 (C_entries): Preventing problems relative to extern "C".
299 (C_entries): Can tag more than one variable or func separated by
300 comma when --declarations is used.
301 (C_entries): More accurate tagging of members and declarations.
302 (yacc_rules): Was global, made local to C_entries.
303 (next_token_is_func): Removed.
304 (fvdef): New constants fdefunkey, fdefunname.
305 (consider_token, C_entries): Use them.
306 (C_entries): Build proper lisp names for Emacs DEFUNs.
308 2001-01-22 Gerd Moellmann <gerd@gnu.org>
310 * ebrowse.c (xfree): New function.
311 (member, declaration, globals): Use xmalloc instead of alloca.
313 2001-01-15 Francesco Potorti` <pot@gnu.org>
315 * etags.c (print_language_names): Print filenames in addition to
318 2001-01-14 Francesco Potorti` <pot@gnu.org>
320 * etags.c (get_language_from_langname): Renamed from
321 get_language_from_name.
322 (get_language_from_filename): Renamed from
323 get_language_from_suffix. Now first looks for the complete file
325 (language): New member char **filenames.
326 (Makefile_filenames): List of possible filenames for makefiles.
327 (lang_names): Added a NULL member for every entry, added an entry
329 (Makefile_targets): New function, inspired by Assar Westerlund
331 (Texinfo_nodes): Renamed from Texinfo_fuctions and made
332 it conformant to the style of the rest of the code.
334 2001-01-13 Gerd Moellmann <gerd@gnu.org>
336 * make-docfile.c (write_c_args): Print newlines as spaces.
338 2001-01-06 Andrew Innes <andrewi@gnu.org>
340 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
343 2001-01-03 Paul Eggert <eggert@twinsun.com>
345 * lib-src/rcs2log: Avoid security hole allowing attacker to
346 cause user of rcs2log to overwrite arbitrary files, fixing
347 a bug reported by Morten Welinder.
349 Don't put "exit 1" at the end of the exit trap; it's
350 ineffective in POSIX shells.
352 2001-01-02 Gerd Moellmann <gerd@gnu.org>
354 * ebrowse.c (yyerror): Changed to take two arguments. Prototype
355 added. Callers changed.
357 2001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
359 * ebrowse.c (enter_namespace, main): Cast variables to shut up
361 (yyerror): Change parameter declarations to be of type long, so
362 that they can take pointers on 64-bit platforms.
364 * emacsclient.c (main): Remove unused local variable statbfr.
365 (main) <homedir>: Make its declaration conditional on
366 SERVER_HOME_DIR, to avoid compiler warnings.
368 * emacsserver.c (main) <homedir>: Make its declaration conditional
369 on SERVER_HOME_DIR, to avoid compiler warnings.
371 * fakemail.c (readline): Cast buffer to "long *" to pacify
372 over-zealous compilers.
374 2000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
376 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
378 2000-12-15 Gerd Moellmann <gerd@gnu.org>
380 * ebrowse.c (operator_name): Cast argument of isalpha to
383 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
384 Use them throughout instead of ctype functions/macros.
385 (lowcase): Cast to unsigned char.
387 (canonicalize_filename): Use UPCASE instead toupper.
389 * fakemail.c (get_keyword): Make sure that isspace and
390 similar aren't called with a negative argument.
392 2000-12-13 Dave Love <fx@gnu.org>
394 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
396 2000-12-06 Andrew Innes <andrewi@gnu.org>
398 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
399 don't know the real version, and I can't seem to get the quoting
400 right in all circumstances.
402 * ebrowse.c (VERSION): Provide default definition, like etags.c
403 does, because Windows build can't snarf this from version.el.
405 2000-11-30 Andrew Innes <andrewi@gnu.org>
407 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
410 2000-11-23 Jason Rumney <jasonr@gnu.org>
412 * makefile.w32-in: Add targets for ebrowse.exe.
413 (LOCAL_FLAGS): Add -DVERSION flag.
415 2000-09-25 Dave Love <fx@gnu.org>
417 * sorted-doc.c: Include config.h.
418 [!HAVE_STDLIB_H]: Declare malloc.
420 2000-09-14 Andrew Innes <andrewi@gnu.org>
422 * makefile.w32-in: Revert to Unix line endings.
424 2000-09-04 Dave Love <fx@gnu.org>
426 * movemail.c (index, rindex): Prototype conditionally.
428 2000-09-03 Andrew Innes <andrewi@gnu.org>
430 * makefile.w32-in: Change to DOS line endings.
432 2000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
434 * movemail.c (toplevel): Remove redundant fcntl.h.
435 [!F_OK]: Provide default definitions only after including both
436 fcntl.h and unistd.h.
438 2000-08-29 Dave Love <fx@gnu.org>
440 * movemail.c: Revert previous change.
442 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
444 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
446 2000-08-28 Dave Love <fx@gnu.org>
448 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
449 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
451 2000-08-22 Andrew Innes <andrewi@gnu.org>
453 * ntlib.h (WIN32): Remove unnecessary definition.
454 (sleep): Make argument unsigned long.
455 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
457 * ntlib.c (sleep): Make argument unsigned long.
459 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
461 * makefile.w32-in: New file.
463 2000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
465 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
466 letter only if it is a drive letter.
468 2000-07-14 Gerd Moellmann <gerd@gnu.org>
470 * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and
473 * etags.c (xmalloc, xrealloc): Make externally visible, for use
476 * Makefile.in (alloca.o): Add -Demacs so that alloca will use
479 2000-07-10 Gerd Moellmann <gerd@gnu.org>
481 * ebrowse.c (yylex): Accept string literals with newlines in them.
482 (process_pp_line): Handle case of string literal with newline
483 in it in replacement text, which counts as continuing the
484 replacement text in GNU C.
486 2000-07-02 Gerd Moellmann <gerd@gnu.org>
488 * ebrowse.c (token_string): Add missing tokens.
489 (parm_list): Handle case of qualified pointers.
491 2000-06-23 Dave Love <fx@gnu.org>
493 * ebrowse.c: Move config.h before other includes (which may use
496 2000-06-14 Jim Meyering <meyering@lucent.com>
498 * grep-changelog: Fix typos in comments. Remove trailing blanks.
500 2000-06-11 Jason Rumney <jasonr@gnu.org>
502 * makefile.nt: Add targets for ebrowse.
504 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
507 2000-06-06 Gerd Moellmann <gerd@gnu.org>
509 * ebrowse.c (ymalloc): Renamed from xmalloc.
510 (yrealloc): Renamed from xrealloc.
512 2000-05-21 Dave Love <fx@gnu.org>
514 * movemail.c: Include config.h, not ../src/config.h.
515 (Errmsg): Bump length.
517 * pop.c (ERROR_MAX): Increase to 160.
519 2000-05-04 Gerd Moellmann <gerd@gnu.org>
521 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
523 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
525 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]: Define
527 (FILENAME_EQ): New macro, for comparing file names.
528 (add_member_decl, add_global_decl, add_member_defn): Use
530 (process_file): Don't assume that fread always reads as many bytes
531 as it was told to (DOS-style CR-LF text files fail this logic).
532 (open_file): Allocate enough space for path->path plus the file
535 2000-04-19 Dave Love <fx@gnu.org>
537 * etags.c (Texinfo_functions): New function.
538 (lang_names): Install it.
539 (Texinfo_suffixes): New variable.
541 2000-04-19 Gerd Moellmann <gerd@gnu.org>
543 * ebrowse.c (xmalloc, xrealloc): Rewritten.
544 (declaration): Remove parameter IS_EXTERN.
545 (class_definition): Remove unused variable.
547 2000-04-09 Gerd Moellmann <gerd@gnu.org>
549 * Makefile.in (INSTALLABLES): Add ebrowse.
550 (ebrowse): New target.
552 * ebrowse.c: New file.
554 2000-03-29 Andreas Schwab <schwab@suse.de>
556 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
558 2000-03-02 Gerd Moellmann <gerd@gnu.org>
560 * etags.c (lisp_suffixes) Add `LSP'.
562 2000-02-10 Francesco Potorti` <pot@gnu.org>
564 * etags.c (iswhite): Redefined not to consider '\0' as white
565 space, and use it throughout in place of isspace, thus preventing a
566 potential signed char to int conversion problem.
567 (MSDOS): #undefine befere redefining
569 2000-02-04 Francesco Potorti` <pot@gnu.org>
571 * etags.c (many functions): Add prototypes.
573 2000-02-10 Dave Love <fx@gnu.org>
575 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
576 (erlang_func): Add `static' to definitions to keep pcc happy.
578 2000-01-31 Francesco Potorti` <pot@gnu.org>
580 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
581 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
582 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
583 (getenv, getcwd): Only declare them if necessary.
584 (EMACS_NAME): New constant macro.
585 (print_version): Use it.
586 (P_) [__STDC__]: Macro for defining function prototypes.
588 2000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
590 * etags.c [WINDOWSNT]: #include <direct.h>
592 2000-01-18 Martin Buchholz <martin@xemacs.org>
594 * etags.c (all functions): Made them static.
595 (all functions): Write prototypes.
597 2000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
599 * movemail.c (main): Improve error message if can't create lock file.
601 2000-01-28 Eric Hanchrow <offby1@blarg.net>
603 * emacsclient.c (socket_status): New function.
604 (main): if $LOGNAME or $USER exist and differ from our euid, look
605 for a socket based on the UID associated with the name.
607 2000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
609 * emacsclient.c: Add option -a EDITOR and environment variable
610 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
612 1999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us>
614 * movemail.c (popmail): Allow mailbox specifications of the
615 form `po:username:hostname'.
617 1999-11-19 Francesco Potorti` <pot@gnu.org>
619 * etags.c (_GNU_SOURCE): Define only if undefined.
620 (get_scheme): Declaration deleted.
621 (main): error was called with an integer as second arg, instead of
623 (canonicalize_filename): Bug removed.
625 1999-11-18 Dave Love <d.love@dl.ac.uk>
627 * etags.c (C_entries): Rename label `intoken', avoiding K&R
628 lossage from name clash with macro.
630 1999-11-13 Gerd Moellmann <gerd@gnu.org>
632 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
634 1999-11-03 Gerd Moellmann <gerd@gnu.org>
636 * etags.c (print_help): Change email address to send bugs to.
638 1999-11-01 Francesco Potorti` <pot@gnu.org>>
640 * etags.c: Add suffix psw for PSWrap.
641 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
642 (Postscript_functions): Add code for PSWrap.
643 (Scheme_functions): Use local pointer and new get_tag function.
644 (get_tag): New name for old get_scheme.
645 (process_file): Do not free NULL when file does not exist.
646 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
647 (C_entries): Modifications that make --members tag even inside
648 typedefs and C nested structs (one level only).
649 (consider_token): Corrected a bug which prevented tagging of enum
651 (C_stab_entry): Added if, for, while, switch, return as
652 st_C_ignore. This makes it simpler to work when cblev!=0.
654 * etags.c (C_entries): tag member function declarations when
655 --declarations is used.
657 * etags.c (C_entries, consider_token): C++ `operator' now is
658 tagged in most cases.
659 As before, :: is not recognised if surrounded by spaces.
661 * etags.c (relative_filename): Account for DOS file names such
662 that is impossible to make one relative to another.
664 * etags.c (sym_type): New st_C_extern tag.
665 (gperf input): Use it for spotting external declarations.
666 (print_help): Document the new behaviour of --declarations.
667 (fvextern): New global variable.
668 (consider_token, C_entries): Use it.
670 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
671 (etags_getcwd): Remove test for WINDOWSNT.
673 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
674 foo.cgz, foo.cz, etc.
676 * etags.c (declarations): New global switch.
677 (longopts): Describe it.
678 (print_help): Document it.
680 (process_file): Don't process a file twice.
682 * etags.c (Fortran_functions): No tags for "procedure".
684 1999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
686 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
687 non-zero, returns a pointer to where the extension begins; callers
689 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
692 1999-11-01 Francesco Potorti` <pot@gnu.org>
694 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
695 (fvdev): New constant foperator.
696 (consider_token): Use it to get "operator" in C++.
697 (C_entries): Extend length of operator@ function name.
698 (C_entries): Use foperator when necessary.
700 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
702 * etags.c (compressor): New struct for compressed files.
703 (get_compressor_from_suffix): New function.
704 (get_language_from_suffix): Use it. Also, semantics changed.
705 (process_file): Consider compressed files, close file.
706 (find_entries): Use different call arg for get_language_from_suffix,
709 * etags.c (main): Call free_tree.
710 (find_entries): Do not free curfile.
711 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
712 (prolog_pred, erlang_func, substitute): Cast strlen to int when
714 (canonicalize_filename): Shut up compiler warning.
715 (Perl_functions): Make tag significant.
717 1999-11-01 Dave Love <d.love@dl.ac.uk>
719 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
720 (argument_type): New member at_icregexp.
721 (lc_trans): New global.
722 (main): Fill lc_trans. Process -c args.
723 (add_regex): New arg determining whether to use translation table.
724 (analyse_regex): New arg. Use it for add_regex.
726 1999-11-01 Francesco Potorti` <pot@gnu.org>
728 * etags.c (init): Cosmetic change: NULL --> '\0'.
729 (erlang_attribute): Bug corrected (uninitialized variable).
730 (filename_is_absolute): New function replaces absolutefn macro and
731 corrects a bug. All callers changed.
732 (canonicalize_filename): New function.
733 (process_file, etags_getcwd, absolute_dirname): Use it.
734 (relative_filename, absolute_filename): Removed var shadowing.
735 (C_entries, Pascal_functions): Add fake initializations to keep
737 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
739 * etags.c (xrnew): New macro. All callers of xrealloc changed.
740 (language): New typedef (was struct lang_entry).
741 (curlang): New global variable.
742 (node): typedef renamed from NODE.
743 (linebuffer): New typedef (was struct linebuffer).
744 (pattern): New typedef (was struct pattern). Some members added.
745 Now used as element of a linked list.
746 (patterns, num_patterns): Global variables deleted.
747 (p_head): New global variable.
748 (forced_lang): New global variable (replaces lang_func).
749 (get_language_from_name, get_language_from_interpreter,
750 get_language_from_suffix): Semantics changed. All callers changed.
751 (last_node): New global variable.
752 (free_tree, add_node, put_entries, total_size_of_entries): Change
753 name of local vars to avoid clashes with typedef node.
754 (number_len): Rewritten for elegance.
755 (token): New typedef replaces TOKEN.
756 (analyse_regex, add_regex): Rewritten for new functionality.
757 (free_patterns): New function called from main and add_regex.
758 (initbuffer, readline_internal, readline, grow_linebuffer):
759 Change name of local vars to avoid clashes with typedef
761 (readline): Rewritten for new functionality.
763 * etags.c: (Scheme_suffixes): New suffix ".ss".
764 (print_help): --globals is now used for more than C-type languages.
765 (Perl_functions): Tag global variables ("my" and "local").
767 * etags.c (print_help): Some messages clarified.
768 (LOOP_ON_INPUT_LINES): New macro.
769 (just_read_file, Fortran_functions, Asm_labels, Perl_functions,
770 Python_functions, Cobol_paragraphs, Pascal_functions,
771 Lisp_functions, Postscript_functions, Scheme_functions,
772 TeX_functions, Prolog_functions, Erlang_functions): Use it.
773 (Cobol_paragraphs, Postscript_functions, TeX_functions,
774 Prolog_functions, Erlang_functions): Use a local variable instead
775 of the global variable dbp.
776 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
777 standard indentation.
779 * etags.c (Python_suffixes, lang_names, Python_functions): Python
781 (skip_spaces, skip_non_spaces): Utility functions.
782 (find_entries, takeprec, getit, Fortran_functions, Perl_functions,
783 Python_functions, L_getit, Lisp_functions, Scheme_functions,
784 prolog_pred, erlanf_func, erlang_attribute): Use them.
785 (eat_white): Deleted.
787 * etags.c (CHAR, init): Keep into account non US-ASCII
788 characters and compilers with default signed chars.
789 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
792 * (C_stab_entry): "interface" in Java behaves like "class".
794 * etags.c: (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
795 (main): Put interval syntax here.
796 (add_regex): And remove it from here.
798 * etags.c (suggest_asking_for_help): Provide a
799 meaningful help message with and without LONG_OPTIONS.
801 * etags.c: <io.h> [MSDOS]: Include it, don't include string.h.
802 <stdlib.h, string.h>: Don't test MSDOS when including them.
803 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
804 (put_entries): Correctly use %ld instead of %d in printf.
806 * etags.c: <unistd.h> [HAVE_UNISTD_H]: Include conditionally, else
807 declare getcwd if HAVE_GETCWD.
808 (consider_token): Dead break instruction removed.
810 1999-10-19 Paul Eggert <eggert@twinsun.com>
812 Add support for large files. Merge glibc 2.1.2.
814 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
816 Do not include <stdlib.h>, as <config.h> does this now.
818 * b2m.c, emacsserver.c, etags.c, profile.c:
819 Include <config.h> before any system include files.
821 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
823 (read, write, open, close): Do not undef.
825 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
826 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
828 * getopt.h: Adopt glibc 2.1.2.
830 1999-10-15 Dave Love <fx@gnu.org>
832 * Makefile.in (pop.o): Depend on config.h.
834 1999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
836 * pop.c: Use "pop3" as the POP service name on all platforms,
837 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
838 has been the standard service name since RFC 1340 was published in
839 July 1992, so I think it's safe to start using it by default.
841 1999-09-27 Dave Love <fx@gnu.org>
843 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
845 1999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
847 * make-docfile.c (scan_lisp_file): Fix previous changes;
848 swallow CRLF like just CR or just LF.
850 1999-09-03 Richard Stallman <rms@gnu.org>
852 * make-docfile.c: Include config.h not ../src/config.h.
853 (main, fopen, chdir): Add #undef.
854 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
855 (scan_lisp_file): Handle \r like \n.
857 1999-08-30 Andreas Schwab <schwab@gnu.org>
859 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
861 * emacsserver.c: Include <stdlib.h> if available. Don't declare
862 errno if it's a macro.
864 * test-distrib.c: Include <unistd.h> if available.
866 1999-08-29 Richard Stallman <rms@gnu.org>
868 * emacsclient.c (print_help_and_exit): Mention --version.
870 1999-08-25 Richard M. Stallman <rms@gnu.org>
872 * emacsclient.c (decode_options): Update version output.
873 (print_help_and_exit): Update bug report address.
875 1999-08-13 Richard M. Stallman <rms@gnu.org>
877 * emacsclient.c (main): Move the dynamic allocation of
878 system_name outside of the SERVER_HOME_DIR conditional.
879 * emacsserver.c (main): Likewise.
881 1999-08-10 Gerd Moellmann <gerd@gnu.org>
883 * grep-changelog: New.
884 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
886 1999-07-12 Richard Stallman <rms@gnu.org>
888 * Version 20.4 released.
890 1999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
892 * Makefile.in (clean): Remove fns*.el.
894 1999-06-23 Dave Love <fx@gnu.org>
896 * etags.c (erlang_attribute): Fix undefined variable usage (after
899 1999-05-2 Andrew Innes <andrewi@gnu.org>
901 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
904 1999-04-29 Richard M. Stallman <rms@gnu.org>
906 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
908 1999-03-30 Dave Love <fx@gnu.org>
910 * sorted-doc.c (main): Split up tables. Modify the preamble
913 1999-03-05 Geoff Voelker <voelker@cs.washington.edu>
915 * makefile.nt: Remove common multiple file compilation commands.
917 1999-02-26 Richard Stallman <rms@gnu.org>
919 * Version 20.4 released.
921 * Makefile.in (yow): Depend on epaths.h, not paths.h.
923 * yow.c: Refer to epaths.h.
925 1999-02-22 Simon Josefsson <jas@pdc.kth.se>
927 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
929 1999-01-27 Andrew Innes <andrewi@gnu.org>
931 * makefile.nt: Do make version comparison as strings.
933 1999-01-25 Richard Stallman <rms@gnu.org>
935 * emacsclient.c (xmalloc): Fix previous change.
937 1999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
939 * emacsclient.c (xmalloc): Declare to return long.
941 1999-01-22 Geoff Voelker <voelker@cs.washington.edu>
943 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
944 the case of the drive letter.
946 1999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
948 * emacsserver.c (main): Eliminate arbitrary limit on
949 length of system_name.
951 * emacsclient.c (main): Eliminate arbitrary limit on
952 length of system_name.
953 (xmalloc): Define unconditionally.
955 1999-01-12 Darrin B. Jewell <jewell@mit.edu>
957 * etags.c (relative_filename): Stop backward search at beginning
958 of string, since non-Unix systems can have absolute paths with no
961 1998-12-08 Geoff Voelker <voelker@cs.washington.edu>
963 * makefile.nt: Do string comparision of _NMAKE_VER.
965 1998-11-03 Theodore Jump <tjump@cais.com>
967 * makefile.nt: Compile multiple source files when possible.
969 1998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
971 * Makefile.in: Replace tabs with spaces
972 when they might confuse some Make versions.
974 1998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
976 * emacsclient.c (main): Null-terminate system_name.
978 * emacsserver.c (main): Null-terminate system_name.
980 1998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
982 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
983 an error message from POP, mention that it's from POP, to
984 distinguish it from local error messages.
986 1998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
988 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
989 order of messages downloaded from a POP server (e.g., if the
990 server stores messages in mailboxes in reverse order).
992 1998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
994 * Version 20.3 released.
996 1998-08-11 Paul Eggert <eggert@twinsun.com>
998 * rcs2log: Update copyright date and bug report address.
999 (initialize_fullname): Prefer getent if available.
1001 1998-07-30 Paul Eggert <eggert@twinsun.com>
1003 * lib-src/Makefile.in (REGEXPDEPS, regex.o):
1004 Prepend $(srcdir)/ to rule dependencies outside this dir.
1006 1998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
1008 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
1010 1998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
1012 * Makefile.in: Properly terminate a comment.
1014 1998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
1016 * movemail.c (sys_wait): Rename to wait.
1018 * ntlib.h: Undefine _WINSOCKAPI_.
1020 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
1022 1998-05-30 Geoff Voelker <voelker@cs.washington.edu>
1024 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
1026 1998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
1028 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
1029 all file i/o to be in binary mode. Include ntlib.h.
1031 1998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
1033 * make-docfile.c: Include <unistd.h> for chdir.
1035 1998-04-25 Richard Stallman <rms@psilocin.gnu.org>
1037 * etags.c (TEX_decode_env): Don't free the value getenv returns.
1039 1998-04-17 Geoff Voelker <voelker@cs.washington.edu>
1041 * makefile.nt (obj): Update with new files in src.
1042 (clean): Delete patch scratch files, optimized compilation dir.
1044 1998-04-08 Dave Love <fx@gnu.org>
1046 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
1049 1998-04-06 Andreas Schwab <schwab@gnu.org>
1052 * movemail.c: Move cancelations up. Include <stdlib.h> if
1054 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
1055 (parse_header): Explicitly declare return type.
1056 * emacsserver.c: Include <unistd.h> if available.
1057 (main, handle_signals, perror_1, fatal_error): Explicitly declare
1058 return types. Add forward declarations.
1059 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
1060 Don't declare geteuid.
1061 (print_help_and_exit): Change return type to void. Forward
1063 * b2m.c: Include <stdlib.h> if available.
1064 (main): Explicitly declare return type.
1066 1998-04-03 Richard Stallman <rms@delysid.gnu.org>
1068 * etags.c (put_entries): Use %ld.
1070 * b2m.c (fatal): Declare the arg.
1072 1998-04-03 Richard Stallman <rms@psilocin.gnu.org>
1074 * etags.c (put_entries): Use %ld.
1076 * b2m.c (fatal): Declare the arg.
1078 1998-03-26 Richard Stallman <rms@psilocin.gnu.org>
1080 * pop.c (pop_getline): Renamed from getline.
1082 1998-03-05 Richard Stallman <rms@psilocin.gnu.org>
1084 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
1087 1998-01-23 Dave Love <d.love@dl.ac.uk>
1089 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
1090 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
1091 Always make named tags.
1092 (Fortran_functions): Grok BLOCK DATA.
1094 1998-01-23 Andreas Schwab <schwab@gnu.org>
1096 * movemail.c (main): Fix interwoven brace and cpp conditional
1099 1997-12-04 Karl Heuer <kwzh@delysid.gnu.org>
1101 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
1102 server to contain embedded nulls.
1104 1997-12-03 Paul Eggert <eggert@delysid.gnu.org>
1107 (mbx_write) [MAIL_USE_POP]: Disable the code which quotes with a
1108 '>' any lines starting with "From " read from the POP server, but
1109 leave the code in place, wrapped in #ifdef
1110 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
1111 because it turns out that something is depending on it. Change
1112 suggested by Paul Eggert <eggert@twinsun.com>.
1113 Convert the character \037 (^_) at the beginning of a line into
1114 the character '^' followed by the character '_', because otherwise
1115 Emacs can't parse the resulting file as a valid BABYL file.
1116 Change suggested by Paul Eggert <eggert@twinsun.com>.
1118 1997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1120 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
1121 server to contain embedded nulls.
1123 1997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1125 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
1126 quotes with a '>' any lines starting with "From " read from the
1127 POP server, but leave the code in place, wrapped in #ifdef
1128 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
1129 because it turns out that something is depending on it. Change
1130 suggested by Paul Eggert <eggert@twinsun.com>.
1132 Convert the character \037 (^_) at the beginning of a line into
1133 the character '^' followed by the character '_', because otherwise
1134 Emacs can't parse the resulting file as a valid BABYL file.
1135 Change suggested by Paul Eggert <eggert@twinsun.com>.
1137 1997-11-22 Richard Stallman <rms@gnu.org>
1139 * b2m.c: Include getopt.h.
1140 (main): Use getopt_long to handle --version and --help.
1142 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
1144 1997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1146 * pop.c (fullwrite): Get rid of an extra call to write. Problem
1147 pointed out by Chiaki Ishikawa.
1149 1997-10-16 Dave Love <d.love@dl.ac.uk>
1151 * etags.c (L_getit): Always make named tags so that Emacs
1152 completion on symbols containing `:' etc. works.
1153 (get_scheme): Likewise.
1155 1997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1157 * pop.c: Use system header files instead of declaring C-library
1158 functions explicitly.
1160 1997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1162 * Version 20.2 released.
1164 1997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1166 * Version 20.1 released.
1168 1997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
1170 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
1172 * ntlib.c (getpid): Delete function.
1174 1997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1176 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
1178 1997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1180 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
1181 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
1183 1997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1185 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
1187 1997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
1189 * profile.c (get_time): Cast arg to fprintf.
1191 * hexl.c (main): Use %08lx instead of %08x in printf because the
1192 variable named addresses is long.
1194 1997-08-08 Geoff Voelker <voelker@cs.washington.edu>
1196 * makefile.nt (lisp): Update paths to lisp files that have moved.
1198 1997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
1200 * makefile.nt (ctags.obj): New target.
1201 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
1203 * ntlib.h: Add includes.
1204 Undo definitions of crt routines from config.h.
1206 1997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1208 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
1210 1997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1212 * pop.c: Support auto-configuration of both Kerberos V4 and
1213 Kerberos V5 for movemail, including detection of V4 and V5 header
1214 files and libraries.
1215 Include <string.h> when STDC_HEADERS is defined, to get
1216 declarations of string functions.
1217 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
1218 V5 API rather than the old one.
1219 [KERBEROS] (socket_connection): Change a constant name from
1220 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
1221 with a constant in a header file.
1223 * Makefile.in: Support auto-configuration of both Kerberos V4 and
1224 Kerberos V5 for movemail, including detection of V4 and V5 header
1225 files and libraries.
1227 1997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1229 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
1231 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1233 1997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1235 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
1237 1997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1239 * movemail.c (rindex): Add declaration.
1241 Tue Jul 1 01:09:07 1997 Geoff Voelker <voelker@cs.washington.edu>
1243 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
1244 (movemail.exe): Depend upon and link with getopt files.
1245 (obj): Include new source files.
1246 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
1247 (lisp): Include new and reorganized elisp files.
1249 1997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1251 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
1253 1997-06-25 Paul Eggert <eggert@twinsun.com>
1255 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
1257 1997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
1259 * b2m.c (readline): Terminate buffer properly when EOF seen.
1260 Test for valid pointer before dereferencing it.
1262 1997-05-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1264 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
1265 defined inside etags.c if HAVE_CONFIG_H is defined.
1267 1997-05-29 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1269 * etags.c: (logical): Type name changed to bool.
1270 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
1271 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
1272 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
1273 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
1274 (longopts): New long options without short counterpart are
1275 globals, members, no-globals, no-members. Regexp options are now
1276 defined conditionally to ETAGS_REGEXPS.
1277 (print_help): Updated.
1279 1997-05-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1281 * etags.c (C_entries): Use "." instead of "::" for Java.
1282 (consider_token): is_func renamed to is_func_or_var.
1283 (C_entries): is_func renamed to funorvar.
1284 (C_entries): Initialise tok.named.
1285 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
1286 get rid of "import", "package" and "friend".
1287 (fvdef): Renamed from funcdef. Also some constants renamed. All
1289 (C_entries): Make separate tags for variables separated by comma.
1290 (globals, members): New flags.
1291 (main, C_entries): Use them.
1292 (make_C_tag, C_entries): Make tok a global variable.
1294 1997-05-16 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1296 * etags.c (funcdef): New vignore constant.
1297 (consider_token, C_entries): Use it to tag global variables.
1298 (print_help): Update for global variables.
1299 (consider_token, C_entries): Set the len member of token_name.
1300 (prolog_pred): Cleanup according to GNU coding standards.
1301 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
1302 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
1304 1997-05-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1306 * etags.c (CHARS, CHAR): New constant and macro.
1307 (iswhite, begtoken, intoken, endtoken): Use them.
1308 (notinname, _nin, nonam): New macro, array, string.
1309 (init): Cleanup and init _nin.
1310 (new_pfnote): New function.
1311 (make_C_tag) [traditional_tag_style]: Use it.
1312 (traditional_tag_style): Costant set to TRUE for now.
1314 1997-05-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1316 * etags.c (C_entries, Pascal_functions): Cleanup.
1317 (TeX_functions): NULL as a function arg needs a cast.
1318 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
1320 1997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1322 * etags.c (TeX_functions): Cleaned up.
1323 (tex_getit): Removed.
1325 1997-05-13 Paul Eggert <eggert@twinsun.com>
1327 * rcs2log (files): When computing arguments automatically, ignore
1328 non-files within the RCS subdirectory.
1330 1997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1332 * etags.c (C_JAVA): New #define.
1333 (Cjava_suffixes): .java is Java.
1334 (Cjava_entries): New function.
1335 (lang_names): Add Java.
1336 (sym_type): Add st_C_javastruct for Java.
1337 (C_stab_entry): Add `extends' and `implements' keywords.
1338 (consider_token, C_entries): Recognise Java structures.
1340 1997-05-12 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1342 * etags.c: (Cplusplus_suffixes): .pdb is Postscript with C syntax.
1343 (Postscript_suffixes): .ps is Postscript.
1344 (lang_names): Add Postscript.
1345 (Postscript_functions): New function.
1346 (TEX_decode_env): Close minor memory leak.
1347 (just_read_file): Correct the char number of the tag.
1349 1997-05-11 Paul Eggert <eggert@twinsun.com>
1351 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
1352 Don't prepend $nl since this causes some shells to generate the
1353 empty string when IFS is $nl.
1354 (printlogline): Use SOH (octal code 1), not CR, since some
1355 PC-based shells mishandle CR.
1356 (initialize_fullname): Set NIS_PATH to the empty string before invoking
1357 nismatch, in case it's set to some nonstandard value.
1359 1997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1361 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
1362 read in separate blocks.
1364 1997-04-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1366 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
1367 (struct linebuffer): New member `len' is the length of the string.
1368 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
1369 Use it instead of strlen.
1370 (TEX_getit): Declare and define unconditionally as static.
1371 (TeX_functions): Use if instead of #if TeX_named_tokens.
1372 (add_regex): Set RE_INTERVALS flag for regex compilation.
1373 (substitute): Code cleanup.
1374 (readline_internal): Code cleanup, set new member `len'.
1375 (readline): Bug corrected.
1377 1997-04-23 Geoff Voelker <voelker@cs.washington.edu>
1379 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
1380 (obj): Change references of nt*.c files to w32*.c files.
1382 1997-04-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1384 * etags.c (xnew): Add support for debugging with chkmalloc.
1385 (error): Use this instead of printf whenever possible.
1386 (main): Only call xnew after having initialised progname.
1387 (substitute): Bad memory corruption error corrected.
1389 1997-04-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1391 * etags.c (add_regex): Undo previous change.
1392 (relative_filename): Small memory leak closed.
1393 (absolute_filename): Cleaned up the code, possibly closing a bug.
1394 (absolute_dirname): Always return a newly allocated string.
1396 1997-03-21 Paul Eggert <eggert@twinsun.com>
1398 * rcs2log (files): Ignore files in RCS directory whose names are
1399 of the form ,*, or *_; they are probably RCS lock files.
1400 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
1401 they are used by rcsfreeze.
1403 1997-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1405 * etags.c (add_regex): reset *putbuf before using it.
1407 1997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1409 * movemail.c (popmail): Remove some unnecessary function
1411 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
1412 into pop_retr, there's no reason to pass in mbx_write, and the
1413 file argument can be declared FILE * explicitly. This fixes a
1414 compilation problem on systems with 64-bit pointers.
1416 1997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1418 * movemail.c: Delete duplicate inclusion of fcntl.h
1419 and duplicate #undefs of open, read, write, close.
1421 1997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1423 * movemail.c (main): Do not display "[POP-password]" in the usage
1424 message when movemail is compiled without POP support.
1425 (main, popmail): Add the optional "-p" argument, which causes
1426 movemail to leave mail in the inbox after copying it into the
1429 * Makefile.in (movemail): Link with getopt.
1431 1997-01-20 Paul Eggert <eggert@twinsun.com>
1433 * rcs2log: (--help, --version): New options, per GNU coding standards.
1434 (Copyright, Help, Id): New variables, for above.
1435 (rlog): Use -q option with cvs log, to avoid useless chatter.
1437 Treat logs of "Initial revision" (RCS) or "file F was initially added
1438 on branch B." (CVS) as if they said "New file.", for consistency with
1441 1997-01-01 Paul Eggert <eggert@twinsun.com>
1443 * vcdiff (PATH): Add /usr/xpg4/bin,
1444 where XPG4 SCCS hangs out in Solaris 2.5.
1445 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
1447 1996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1449 * etags.c (streq, strneq): Use == NULL rather than !.
1451 1996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
1453 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
1454 (movemail): Use LIBMAIL, to link against -lmail.
1456 * movemail.c: Include maillock.h (conditionally).
1457 Remove a redundant inclusion of <stdio.h>.
1458 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
1459 (main): Add variable spool_name.
1460 Support the usage of maillock and mailunlock to
1461 lock and unlock mailboxes.
1462 (mail_spool_name): New function.
1464 * movemail.c: Fix an uninitialized variable which could cause
1465 movemail to exit with an error status incorrectly on systems which
1466 use lock files rather than a system locking function to lock
1469 1996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1471 * pop.c (socket_connection): Free realhost after using it.
1473 1996-12-04 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1475 * etags.c (C_entries): Test tok.valid. This handles some
1476 particular cases involving function declarations that failed.
1478 1996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1480 * pop.c (socket_connection):
1481 gethostbyname may return a pointer to static data.
1482 krb_realmofhost can clobber it. So copy it.
1484 1996-11-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1486 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
1487 must cast it to (char *) because we have no prototypes.
1488 (make_C_tag): Macro deleted, new function.
1489 (C_entries): Calls to make_C_tag macro changed to call function.
1491 1996-11-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1493 * etags.c (grow_linebuffer): New function.
1494 (GROW_LINEBUFFER): Macro deleted. All callers changed.
1495 (make_tag): Macro renamed to make_C_tag. All callers changed.
1496 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
1497 (Prolog_functions): prolog_skip_comment was called with wrong
1498 number of arguments.
1499 (xrealloc): fatal was called with wrong number of arguments
1501 1996-11-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1503 * etags.c (relative_filename): Bug corrected.
1504 (etags_getcwd): Avoid warning of unused variable.
1505 (C_entries, consider_token): Added support for enum labels.
1507 1996-11-03 Paul Eggert <eggert@twinsun.com>
1509 * rcs2log: When processing cvs log output, remove `Attic/' from
1510 repository file names.
1512 1996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
1514 * emacsserver.c: Fix 1996-09-02 change.
1516 1996-10-12 Paul Eggert <eggert@twinsun.com>
1518 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
1519 option', since CVS says 'invalid option'.
1520 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
1521 revisions, since some hosts reject 1970-01-01 when east of UTC.
1524 1996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1526 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
1528 1996-10-02 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1530 * etags.c (print_version): Print copyright info.
1532 * etags.c (print_help): Print the bug reporting address.
1533 (main): Use return as the last instruction, instead of exit.
1535 * etags.c (main): Don't open the tags file in cxref mode.
1537 1996-09-29 Dave Love <d.love@dl.ac.uk>
1539 * rcs2log (date): Make default format acceptable to CVS post v1.8
1540 as well as earlier CVSs and RCS.
1542 1996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1544 * movemail.c (main): If the lock call fails with EBUSY or
1545 EAGAIN, retry a few times.
1547 1996-09-25 Paul Eggert <eggert@twinsun.com>
1549 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
1550 whether to append -zLT.
1552 1996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
1554 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
1555 * emacsclient.c, movemail.c: Likewise.
1557 1996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1559 * emacsclient.c (longopts): Change nowait to no-wait.
1560 (print_help_and_exit): Fix option name; upcase metavars.
1562 1996-09-06 Erik Naggum <erik@naggum.no>
1564 * emacsserver.c (main): Declare `fromlen' as size_t.
1566 1996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
1568 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
1570 1996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1572 * emacsclient.c (quote_file_name): Quote with &, not \.
1573 Quote `-' only at start of file name. Terminate the value string.
1575 * emacsserver.c: Include signal.h properly;
1576 delete the duplicate includes for it.
1578 * emacsserver.c: On fatal signal, delete socket-file:
1579 * emacsserver.c: Include signal.h.
1580 (xmalloc, fatal, error): New functions.
1581 (delete_socket, handle_signals): New functions.
1582 (progname, socket_name): New variables.
1583 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
1585 1996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1587 * emacsclient.c (quote_file_name): New function.
1588 (main, both versions): Use quote_file_name.
1589 (decode_options): Don't return a value.
1590 (main, both versions): Use optind.
1591 Don't check for -nowait here.
1593 * emacsclient.c (decode_options): New function.
1594 (main, both versions): Call decode_options.
1595 (print_help_and_exit): New function.
1596 (VERSION): New macro.
1598 * Makefile.in (emacsclient): Link with getopt.
1599 Add -DVERSION so emacsclient knows its version number.
1601 1996-08-31 Geoff Voelker <voelker@cs.washington.edu>
1603 * makefile.nt (lisp): Include dos-nt.elc.
1605 1996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1607 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
1609 1996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1611 * emacsclient.c (both versions): Handle -nowait and --nowait
1612 by sending data to the server.
1614 1996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1616 * Makefile.in (INSTALL_STRIP): New variable.
1617 (${archlibdir}): Use INSTALL_STRIP.
1619 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
1620 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
1622 * pop.c: Reverse conditional in previous change.
1624 1996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1626 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
1628 1996-08-24 Paul Eggert <eggert@twinsun.com>
1630 * rcs2log: Use ISO 8601 date format, with time zone appended
1631 if change-log-time-zone-rule is non-nil, instead of
1632 traditional Unix date format.
1634 (datearg): When computing default from ChangeLog, handle ISO format
1635 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
1636 Don't worry about hh:mm:ss since the resolution is now by day.
1637 Use emtpy datearg, not empty rlog_options, to decide whether to pass
1638 "$datearg" option to $rlog.
1639 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
1640 (month_data): Remove `mo'; no longer needed.
1641 (rlog_options): Use -zLT for localltime output, if `rlog' supports it.
1643 Match `revision' line of rlog output more accurately.
1647 1996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
1649 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
1651 1996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1653 * Version 19.33 released.
1655 1996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1657 * Version 19.32 released.
1659 1996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
1661 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
1662 computing character positions in source files.
1664 1996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
1666 * makefile.nt (clean): Use OBJDIR macro.
1668 1996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
1670 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
1672 1996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
1674 * cvtmail.c, sorted-doc.c, yow.c: [__GNU_LIBRARY__]: Use <string.h>.
1675 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
1676 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
1678 1996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
1680 * ntlib.h: Correct return type of getwd.
1681 * ntlib.c (getwd): Correct return type.
1683 1996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1685 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
1688 1996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
1690 * makefile.nt: Remove all references to wakeup.
1692 1996-06-28 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1694 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
1695 explicit, mutable, typename.
1697 1996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1699 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
1700 streams, one for sending and one for reading the reply.
1702 1996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1704 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
1705 (wakeup): Target deleted.
1706 (UTILITIES): Delete wakeup and timer.
1708 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
1710 1996-06-11 Geoff Voelker <voelker@cs.washington.edu>
1712 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
1713 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
1715 1996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1717 * etags.c (main): Copy cwd when appending slash.
1719 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
1721 * Version 19.31 released.
1723 1996-05-17 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1725 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
1726 (Pascal_functions): Increase linecharno by the correct number of
1727 chars, inline the GET_NEW_LINE macro and delete its definition.
1729 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
1731 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
1733 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
1735 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
1736 (movemail.exe, fakemail.exe): Now built under Win32.o
1738 * ntlib.c: Include ntlib.h.
1739 (nt_sleep): Rename to sleep.
1740 (getwd): Return directory.
1741 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
1742 sys_ctime, sys_fopen): New functions.
1744 * ntlib.h: New file.
1746 1996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
1748 * pop.c (SEND, RECV): Renamed from send, recv.
1749 (pop_open, pop_trash): Make the trash_started code unconditional.
1750 (socket_connection): Delete casts to void.
1752 1996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
1754 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
1757 1996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
1759 * fakemail.c [WINDOWSNT]: Include ntlib.h.
1761 * hexl.c [DOSNT]: Include fcntl.h.
1762 [WINDOWSNT]: Include io.h.
1763 (main) [MSDOS]: Change conditional to DOS_NT.
1765 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
1766 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
1767 [WINDOWSNT]: Include locking.h.
1768 (main): Update usage message. Use IS_DIRECTORY_SEP.
1769 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
1770 (main) [WINDOWSNT]: Invoke locking instead of flock.
1771 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
1772 (main) [MAIL_USE_POP]: Pass password to popmail if used.
1773 Include winsock.h; don't include unix inet headers.
1774 (popmail): Add password argument and pass it to pop_open.
1775 Open output file in binary mode.
1777 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1778 Macro SOCKET_ERROR undefined.
1779 Don't declare h_errno.
1780 [!WINDOWSNT]: Define macros recv and send.
1781 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
1782 (pop_open) [WINDOWSNT]: Initialize trash_started.
1783 (have_winsock) [WINDOWSNT]: New variable.
1784 (socket_connection) [WINDOWSNT]: Initialize winsock.
1785 (socket_connection): Use closesocket instead of close.
1786 (getline): Use recv instead of read.
1787 (fullwrite): Use send instead of write.
1788 (pop_trash): Use closesocket instead of close.
1789 (pop_trash) [WINDOWSNT]: Cleanup winsock.
1790 Check if being called recursively by sendline.
1792 * pop.h (struct _popserver): New field trash_started.
1794 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
1796 1996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1798 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
1800 1996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1802 * etags.c [WINDOWSNT]: Include io.h.
1804 1996-04-10 Geoff Voelker <voelker@cs.washington.edu>
1806 * makefile.nt (CTAGSOBJ): Compile with regexp support.
1808 1996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
1810 * hexl.c [DJGPP v2]: Include io.h.
1811 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
1813 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
1816 1996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1818 * etags.c (absolute_filename): Use absolutefn.
1820 1996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
1822 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
1823 letter isn't an alphabetic character.
1824 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
1825 (process_file) [DOS_NT]: Convert all slashes to forward style.
1826 (absolute_filename) [DOS_NT]: Emit error message for relative
1827 paths with a drive letter.
1828 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
1829 DOS/NT drive letters which try to reference the parent of the root.
1830 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
1832 1996-03-27 Geoff Voelker <voelker@cs.washington.edu>
1834 * makefile.nt: Change uses of del to $(DEL).
1836 1996-03-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1838 * etags.c (just_read_file): Reset lineno and charno on entry.
1840 1996-03-15 Anders Lindgren <andersl@csd.uu.se>
1842 * etags.c: Prolog language totaly rewritten.
1843 (Prolog_functions): Rewritten from scratch.
1844 (skip_comment, prolog_getit): Removed.
1845 (prolog_skip_comment): New function, like old skip_comment.
1846 (prolog_pred, prolog_atom, prolog_white): New functions.
1847 (erlang_func, erlang_attributes): Forward declarations added.
1848 (erlang_atom): Check if backslash ends line inside quoted atom.
1850 1996-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1852 * etags.c (absolutefn): DOS_NT version corrected.
1853 (main): Append "/" to the dir name only if not already there.
1854 (print_help): Explain the absolute/relative file name issue.
1856 1996-03-08 Anders Lindgren <andersl@csd.uu.se>
1858 * etags.c: New Languange Erlang added.
1859 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom,
1860 erlang_white): New functions.
1861 (Erlang_suffixes): New suffix list.
1862 (lang_names): Erlang entry added.
1863 (prolog_getit): Accepts headers spanning several lines.
1865 (Prolog_functions): Removed incorrect compensation for
1867 (readline_internal): Zero-terminate last line.
1869 1996-03-20 Mike Long <mike.long@analog.com>
1871 * b2m.c (main): Initialize progname variable before using it.
1872 Quote `username' in From_ header.
1874 1996-03-18 Geoff Voelker <voelker@cs.washington.edu>
1876 * ntlib.c (getpid): New function.
1878 1996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1880 * emacsclient.c (main, both definitions):
1881 Print a newline for normal termination.
1883 1996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
1885 * tcp.c (main): Convert port to network byte order.
1887 1996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
1889 * pop.c (pop_retrieve, getline): Avoid type clashes.
1891 1996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
1893 * etags.c (enum sym_type, anonymous enum): Delete final comma.
1895 1996-01-15 Paul Eggert <eggert@twinsun.com>
1897 * rcs2log (initialize_fullname): Add support for NIS+.
1898 (hostname): Fully qualify the default hostname with the domainname
1899 if the hostname lacks a `.'.
1901 1996-01-15 Paul Eggert <eggert@twinsun.com>
1903 * rcs2log (initialize_fullname): Add support for NIS+.
1904 (hostname): Fully qualify the default hostname with the domainname
1905 if the hostname lacks a `.'.
1907 1996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
1909 * etags.c (consider_token): Fix typo in expression.
1911 1996-01-04 Paul Eggert <eggert@twinsun.com>
1913 * etags.c (substitute): Fix spelling in message.
1915 1996-01-03 George V. Reilly <georger@microcrafts.com>
1917 * makefile.nt (etags, ctags): Compile with regexp support.
1918 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
1919 subdirectory exists before compiling.
1921 1996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
1923 * emacsserver.c (main): Do chmod based on existing permission.
1925 1995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1927 * Makefile.in (install): Turn on read/execute permission.
1929 1995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1931 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
1932 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
1934 1995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1936 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
1938 1995-12-07 Francesco Potorti` <pot@cnuce.cnr.it>
1940 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
1941 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
1942 get_scheme, prolog_getit): Name the tag in ctags mode.
1943 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
1944 (Perl_interpreters): Accept "@PERL@" as an interpreter.
1945 (suggest_asking_for_help): New function.
1946 (main, get_language_from_name): Use suggest_asking_for_help.
1947 (main): Let get_language_from_name make language existence check.
1948 (streq, strneq): Check the arguments #if DEBUG.
1950 1995-12-06 Francesco Potorti` <pot@cnuce.cnr.it>
1952 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
1953 (gperf): Added keywords for Objective C and GNU macros.
1954 (sym_type): Added values to account for Objective C and GNU macros.
1955 (begtk): The '@' character can start a token.
1956 (objdef, methodlen, objtag): New variables for Objective C.
1957 (consider_token, C_entries): Added code for Objective C.
1958 (plain_C_suffixes): Add .m and .lm for Objective C.
1959 (Yacc_suffixes): Add .ym for Objective yacc.
1960 (GROW_LINEBUFFER): New macro.
1961 (consider_token, C_entries, Pascal_functions): Use the new macro.
1962 (consider_token): Take one more argument. Caller changed.
1963 (consider_token): Use the hashing function to spot GNU macros.
1964 (C_entries): Consider // as a comment start even in plain C for
1965 the sake of Objective C parsing.
1967 1995-12-04 Francesco Potorti` <pot@cnuce.cnr.it>
1969 * Makefile.in (ctags): depend on etags only for simplicity;
1970 compile with regexp support enabled.
1972 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1974 * Version 19.30 released.
1976 1995-11-22 Geoff Voelker <voelker@cs.washington.edu>
1978 * makefile.nt (DOC, clean): Don't use switches to del not
1979 supported by Windows 95.
1981 1995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1983 * Makefile.in (regex.o): Depend on ../src/config.h.
1985 1995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1987 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
1988 (LOADLIBES): Use LIB_STANDARD.
1990 1995-11-07 Kevin Gallo <kgallo@microsoft.com>
1992 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
1993 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
1994 Windows 95 conditional.
1996 1995-11-06 Francesco Potorti` (pot@cnuce.cnr.it)
1998 * etags.c (get_lang_from_name, get_lang_from_interpreter,
1999 get_lang_from_suffix): New functions.
2000 (get_language): Function deleted.
2001 (lang_entry): Two members added to struct.
2002 (lang_names): Reflect the new layout of lang_entry.
2003 (print_language_names, main, find_entries): Use the new functions.
2004 (find_entries): Look at the first line for #! if no language.
2005 (C_entries): Invalidate the token when funcdef is reset.
2006 (Perl_functions): New function.
2007 (lang_suffixes): .pl and .pm are Perl suffixes.
2009 1995-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
2011 * etags.c (lowcase): Use the standard tolower function.
2012 (substitute): Remove some wrong and some useless code related with
2013 escape `\` character in regexp replacement string.
2014 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
2015 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
2016 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
2017 .prolog for prolog (.pl removed).
2018 (massage_name, etags_getcwd): Use lowcase instead of tolower.
2019 (C_entries, find_entries): Added comments about memory leakage.
2020 (add_node): Dead code removed.
2022 1995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2024 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
2025 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
2027 1995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2029 * test-distrib.c: Add #undef for open, close, read, write.
2031 1995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2033 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
2034 [! O_RDONLY]: Define it to zero.
2035 (main): Use O_RDONLY instead of explicit zero.
2037 1995-08-17 Francesco Potorti` (pot@cnuce.cnr.it)
2039 * etags.c (Pascal_functions): Close comment bug corrected.
2040 (add_node): Correctly compare node file names.
2041 (Pascal_functions): Correctly allocate and free memory for tline.
2042 (pfnote): Put the definition of fp in the innermost block.
2043 (NODE): `named' member removed.
2044 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
2045 use the `named' member, check whether `name' is NULL instead.
2046 (pfnote): `named' argument removed, all callers changed.
2047 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
2048 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
2049 removed from pfnote call, some code cleanup.
2050 (relative_filename): Free temporary space allocated by concat.
2052 1995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2054 * Makefile.in (getdate.c): New target.
2055 (getdate.o): Just compile getdate.c.
2057 1995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
2059 * fakemail.c (xrealloc): Change cast to match return type.
2061 1995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2063 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
2065 1995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2067 * movemail.c (main): Fix previous change.
2068 Add error check for empty OUTNAME.
2070 1995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2072 * movemail.c (main): Mention lock file name in error message.
2074 1995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2076 * profile.c (gettimeofday): New function, defined if necessary.
2078 1995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2080 * Makefile.in: Renamed from Makefile.in.in.
2081 (distclean): Delete Makefile.c, not Makefile.in.
2083 1995-07-17 Michael Shields <shields@tembel.org>
2085 * Makefile.in.in (tags): Synonym for `TAGS'.
2087 1995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2089 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
2090 configure has already set $(INSTALL) to the proper relative path.
2092 1995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
2094 * etags.c (plain_C_entries): new function.
2095 (lowcase): new macro.
2096 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
2097 (lang_suffixes): new suffix ".pc" for Pro*C files.
2098 (consider_token): don't tag all tokens beginning with DEFUN & Co..
2099 (tail): look for the end of the token when comparing.
2100 (takeprec): since now tail behaves differently, use strneq.
2102 1995-07-08 Paul Eggert <eggert@twinsun.com>
2104 * rcs2log (datearg): Separate date from time with comma, not space,
2105 to work around CVS 1.5 bug.
2106 (CVSROOT): Don't abort when unset if repository is absolute.
2108 1995-07-07 Paul Eggert <eggert@twinsun.com>
2110 * rcs-checkin, rcs2log, vcdiff:
2111 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
2112 that interpret `#! /' as a 4-byte magic number.
2114 1995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
2116 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
2117 mailbox with "po:mailbox", the mailbox is everything after the
2120 1995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2122 * emacsserver.c: Make all error messages start with `Error: '.
2123 (fatal_error, perror_1): New functions, use throughout.
2125 1995-06-28 Paul Eggert <eggert@twinsun.com>
2127 * rcs2log (CVSROOT, repository):
2128 Allow remote repositories a la CVS 1.4.
2130 1995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
2132 * etags.c (plain_C_entries): new function.
2133 (lowcase): new macro.
2134 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
2135 (lang_suffixes): new suffix ".pc" for Pro*C files.
2136 (consider_token): don't tag all tokens beginning with DEFUN & Co..
2137 (tail): look for the end of the token when comparing.
2138 (takeprec): since now tail behaves differently, use strneq.
2140 1995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2142 * movemail.c (main): Add newline in usage message.
2144 1995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2146 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
2148 1995-06-21 Francesco Potorti` (pot@cnuce.cnr.it)
2150 * etags.c (find_entries): Rewind before rereading the input file.
2152 1995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2154 * Version 19.29 released.
2156 * make-docfile.c (main) [MSDOS]: Do set _fmode.
2157 This undoes part of the previous change.
2159 1995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2161 * make-docfile.c (main): On MSDOS, don't change stdout
2162 to binary, and insist on an -o option.
2164 1995-06-13 Geoff Voelker <voelker@cs.washington.edu>
2166 * etags.c (process_file,absolute_filename): Handle filenames
2167 starting with a drive letter.
2169 * makefile.nt (install): Copy wakeup.exe properly.
2171 1995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
2173 * make-docfile.c [MSDOS]: #undef chdir.
2175 1995-06-04 Paul Eggert <eggert@twinsun.com>
2177 * rcs2log (output_authors): Allow ':' in time zone,
2178 as per ISO 8601 and RCS 5.6.8 beta.
2180 1995-05-29 Francesco Potorti` (pot@cnuce.cnr.it)
2182 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
2183 compatibility problems.
2185 1995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
2187 * etags.c (etags_getcwd): Don't use #elif.
2188 Have just one function body.
2190 1995-05-25 Geoff Voelker <voelker@cs.washington.edu>
2192 * makefile.nt (LIBS): Use BASE_LIBS.
2193 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
2195 (DOC): Use del instead of rm.
2196 (DOC) [WINDOWS95]: Use DOC.
2197 (clean): Handle MSVC aux files.
2198 (config.h,paths.h): Use $(CP) instead of cp.
2199 (config.h): Use $(CONFIG_H)
2200 (make-docfile.obj): Depend upon config.h.
2203 1995-05-23 Francesco Potorti` (pot@cnuce.cnr.it)
2205 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
2206 former gives the true path even in the presence of simlinks.
2208 1995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2210 * movemail.c (main): Increase lock timeout to five minutes.
2212 1995-05-06 Geoff Voelker <voelker@cs.washington.edu>
2214 * makefile.nt (obj): Use .c files.
2216 1995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2218 * make-docfile.c: Include config.h.
2219 (NO_SHORTNAMES): New definition.
2220 (xmalloc): Return long *.
2222 * etags.c (C_entries): Cast result of xrealloc.
2223 (xmalloc, xrealloc): Declare them to return long *.
2225 * b2m.c (xmalloc, xrealloc): Declare them long *.
2227 * movemail.c (xmalloc): Declare it to return long *.
2229 1995-04-30 Paul Eggert <eggert@twinsun.com>
2231 * rcs2log (datearg): If rlog options are specified explicitly,
2232 omit the implicit '-d>DATE' option.
2233 (repository, rlog): Allow absolute paths to CVS repositories.
2234 Look only at the first line of CVS/Repository.
2236 1995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
2238 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
2241 1995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2243 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
2244 Alternative (empty) definitions.
2246 1995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2248 * emacsclient.c (main): Add argv[0] to an error message.
2250 1995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
2252 * emacsclient.c (main): Improve error handling.
2253 * cvtmail.c (main, skip_to_lf): Improve error handling.
2254 (sysfail): New function.
2256 * b2m.c (main): Check for trailing ", " before trying to delete it.
2258 1995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2260 * Makefile.in.in (all): Build test-distrib and make-docfile.
2262 * make-docfile.c (scan_c_file): At end, restore file name last char
2263 to its original value.
2265 1995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2267 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
2269 1995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2271 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
2272 (alloca.o, regex.o): Use BASE_CFLAGS.
2274 1995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2276 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
2278 1995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
2280 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
2281 (SOURCES, distclean): Removed obsolete references to aixcc.
2283 1995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2285 * aixcc.lex: File deleted--surely obsolete now.
2287 1995-03-23 Paul Eggert <eggert@twinsun.com>
2289 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
2290 portability to mawk and nawk.
2292 1995-03-21 Paul Eggert <eggert@twinsun.com>
2294 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
2295 -u "login<tab>fullname<tab>mailaddr".
2297 1995-03-21 Paul Eggert <eggert@twinsun.com>
2299 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
2300 replaces the (now obsolescent) -n login fullname mailaddr option.
2301 Add -R option for recursive rlog.
2302 (AWK): New environment variable (default `awk') for awk program name.
2303 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
2304 Quote authors and fullnames correctly.
2305 Don't omit path from repository root when logging CVS files.
2307 1995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2309 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
2310 even if HAVE_SYSVIPC.
2311 * emacsclient.c (main): Use getcwd if not BSD.
2313 1995-03-13 Francesco Potorti` (pot@cnuce.cnr.it)
2315 * etags.c (process_file): free (filename) after using it.
2316 (readline_internal): Do not access the char before start of line.
2318 1995-02-22 Francesco Potorti` (pot@cnuce.cnr.it)
2320 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
2321 savetok.valid. Mark token as valid when it is initialised.
2322 (make_tag): Make token only if token is valid and reset validity.
2323 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
2324 (TOKEN): Added a new member: valid.
2326 1995-02-15 Francesco Potorti` (pot@cnuce.cnr.it)
2328 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
2329 (main): Do not read twice the last filename in the stdin file list.
2331 1995-02-14 Francesco Potorti` (pot@cnuce.cnr.it)
2333 * etags.c (C_entries): Initialise the new members of TOKEN.
2334 (C_entries): Do not allocate a new space for each token found by
2335 consider_token. Let make_tag do that instead.
2336 (make_tag): Since now TOKEN has memory of where it is taken from,
2337 this new macro substitutes both make_tag_from_new_lb and
2338 make_tag_from_oth_lb. All callers changed.
2339 (TOKEN): Add linepos and buffer members.
2340 (main): Initialise token_str.
2341 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
2342 (token_str): New global variable used by C_entries.
2344 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
2346 * Makefile.in.in (maintainer-clean): Renamed from realclean.
2348 1995-02-01 Francesco Potorti` (pot@cnuce.cnr.it)
2350 * etags.c (pfnote): Initialise been_warned in the node.
2351 (C_entries): Removed a speed hack for the sake of clarity.
2353 1995-01-18 Francesco Potorti` (pot@cnuce.cnr.it)
2355 * etags.c (longopts, print_help, main): Use -I as abbreviation
2356 for the --ignore-indentation option.
2357 (main): Do not print an error message for unknown options.
2359 1995-01-12 Francesco Potorti` (pot@cnuce.cnr.it)
2361 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
2362 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
2363 constantypedefs, update, vgrind_style, no_warnings,
2364 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
2365 (permit_duplicates): Was a var, now a #define.
2366 (filename_lb): Was global, now local to main.
2367 (main): Open the tag file when in cxref mode.
2368 Use a BUFSIZ size buffer for making the shell commands.
2369 Look at the return value from the system routine.
2370 Exit when cannot open the tag file.
2371 (process_file): Open the file and pass the FILE* to find_entries.
2372 (find_entries): Now void, because does not open the file itself.
2373 (pfnote): Recovering from lack of memory does not work. Removed.
2374 Use savenstr and simplify the code.
2375 (free_tree): Only free the name space if node is named.
2376 (structtag): Now a pointer, not a fixed length array of chars.
2377 (consider_token): Don't take a token as argument. Use savenstr
2378 when saving a tag in structtag. Callers changed.
2379 (TOKEN): Structure changed. Now used only in C_entries.
2380 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
2381 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
2382 (pfcnt): Deleted. Users updated.
2383 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
2384 TEX_getit, prolog_getit): Use dinamic allocation for storing
2385 the tag instead of a fixed size buffer.
2387 1995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2389 * movemail.c (main): Skip past the colon in inname.
2391 1995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
2393 * etags.c (pfatal): New function.
2394 (main, etags_getcwd): Use pfatal.
2395 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
2397 1995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
2399 * etags.c (Lang_function): Use void instead to declare the
2400 language functions, because many compilers are buggy.
2401 (etags_getcwd): Fix the previous fix on the #else branch.
2402 (readline_internal): Discard possible \r before \n here.
2403 (C_entries): Do not deal with \r here: undo previous fix.
2405 1995-01-09 Francesco Potorti` (pot at fly)
2407 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
2408 functions and a macro that allow the program to work on input
2409 lines of whatever length. Copied from etags.c.
2410 (fatal): Print a fatal error message and exit.
2411 (main): Use the new functions. Fixed a bug that made a \037 char
2412 appear at the end of the output.
2414 1995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2416 * etags.c (C_entries): Ignore carriage return at end of line.
2418 1994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2420 * fakemail.c (xmalloc, xrealloc): Add casts.
2421 (add_field): Handle <...> and "..." syntax.
2422 (setup_files, get_keyword): Clean up parens and line breaks.
2423 (args_size): Likewise.
2425 1994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
2427 * yow.c: Include program name in error messages.
2429 1994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2431 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
2432 (xmalloc, fatal, error): New functions.
2433 (progname): New variable.
2434 (main): Set progname.
2436 1994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2438 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
2439 (main): If socket/mqueue name is in home dir, add in the host name.
2440 Rename .emacs_server to .emacs-server....
2442 1994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2444 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
2446 1994-11-22 Francesco Potorti` (pot@cnuce.cnr.it)
2448 * etags.c (print_help): print --regex usage for ctags also.
2449 (main): use -h in addition to -H as abbreviation for --help.
2451 1994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
2453 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
2454 is compiled if this is defined. The new functions and variables
2455 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
2456 [VMS]: All VMS specific code previously contained in
2457 etags-vmslib.c is now included here, modified for dealing with
2458 language and regex options intermixed with filenames.
2459 (header_file): Global variable deleted.
2460 (Lang_Function): New typedef. All language parser functions
2461 changed to this new type.
2462 (string_numeric_p, substr, prestr): Functions deleted.
2463 (readline_internal): Does the job that readline did previously.
2464 (longopts): --language and --regex options added.
2465 (lang_names, lang_extensions, lang_func, print_language_names):
2466 New structures, variables and functions for choosing languages.
2467 (print_help): Help strings updated. Calls print_language_names.
2468 (argument_type, ARGUMENT): Typedefs for dealing with language and
2469 regex options intermixed with filenames.
2470 (main): Changed the way of dealing with arguments on the command
2471 line to deal with language and regex options intermixed with
2473 (get_language, default_C_entries, Cplusplus_entries,
2474 Cstar_entries, Yacc_entries, just_read_file): New functions.
2475 (find_entries): Use the new method for choosing the language.
2476 (Pascal_functions): Allow intermixing of comment styles.
2477 (prolog_getit, skip_comment): Rewritten for speed.
2478 (readline): Rewritten to deal with regexps.
2480 1994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
2482 * etags.c (<errno.h>): #include added.
2483 (etags_getcwd): Check return value from getcwd.
2485 1994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2487 * profile.c (TV1, TV2): Use EMACS_TIME as type.
2488 (get_time): Use EMACS_SUB_TIME.
2490 1994-10-30 voelker <voelker@cs.washington.edu>
2492 * ntlib.c: New file.
2493 * makefile.nt: New file.
2495 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
2496 [WINDOWSNT]: Include the NT headers.
2497 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
2499 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
2500 [WINDOWSNT]: Include some NT headers.
2502 1994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
2504 * pop.c (getline): When a search of already-read input for CRLF
2505 fails, store the fact that we've searched it and don't search it
2506 again after reading more data.
2508 * pop.c (getline): When determining whether or not it's necessary
2509 to grow the input buffer, take into account the null that's stored
2510 at the end of already-read input in the buffer.
2512 1994-10-21 Francesco Potorti` (pot@cnuce.cnr.it)
2514 * etags.c (prestr, substr): return a logical type.
2515 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
2516 (consider_token): set funcdef to fignore when a DEFUN is met.
2517 (C_entries): Now we can use Tom Hageman patch for extern "C".
2519 1994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2521 * movemail.c: PopServer renamed to popserver throughout.
2523 1994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
2525 * etags.c: Don't declare malloc, since we include config.h.
2526 * fakemail.c: Likewise.
2528 1994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2530 * movemail.c: Don't declare malloc.
2532 1994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
2534 * rcs-checkin: Use test -r instead of < to check readability, to
2537 1994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
2539 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
2540 defined, and if HAVE_CONFIG_H isn't defined, define
2541 MAIL_USE_POP always (so that this file can be included in
2542 other programs besides emacs).
2544 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
2545 HAVE_CONFIG_H isn't defined.
2547 * pop.c (find_crlf, getline): Instead of using strstr, use a
2548 custom function for finding CRLF.
2549 (my_strstr): Function deleted.
2551 1994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
2553 * pop.c (getline): Fix a segfault because of passing a
2554 non-null-terminated string into strstr(). Fix from
2555 djm@va.pubnix.com (David J. MacKenzie).
2557 * pop.c: Don't include <string.h> and <strings.h>.
2559 * pop.c: Include <des.h> before <krb.h>, rather than after. They
2560 should be interchangeable, and indeed the inclusion is done in
2561 both orders in various files in the Kerberos 4 library sources,
2562 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
2563 requires that <des.h> be included first, and I don't see any harm
2564 in changing the order.
2566 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
2567 STDC_HEADERS, if they're defined. Undef open, read, write and
2568 close after including it.
2570 1994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2572 * pop.c: Fix mismatch in conditionals.
2574 * make-docfile.c (main): Don't process one input file twice.
2575 Never use exit code > 1.
2577 * pop.c (open, close, read, write): Add #undefs.
2579 * pop.c: Don't declare malloc, realloc, free.
2580 Include ../src/config.h.
2581 Don't include string.h or strings.h.
2582 Include des.h before krb.h.
2583 Do declare my_strstr.
2584 (getline): Really use my_strstr.
2585 Leave one empty place in server->buffer,
2586 and put a null at the end of the data in it.
2588 1994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2590 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
2591 call kill with pid 0. Handle EINTR when receiving messages.
2593 1994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
2595 * Makefile.in.in (regex.o): Use full path to find regex.c.
2597 1994-10-17 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2599 * Makefile.in.in (etags): add dependency on regex.o, link with it.
2600 (REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added.
2602 1994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
2604 * Makefile.in.in (DONT_INSTALL): Remove make-path.
2605 (${archlibdir}): Use mkinstalldirs instead.
2607 * movemail.c: Make functions that return nothing void, not
2609 (main): Improve usage message.
2610 (error): Write to stderr, not stdout.
2612 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
2613 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
2614 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
2615 variables and implicitly declared functions.
2617 1994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2619 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
2620 (distclean): Not here.
2622 * Makefile.in.in (libexecdir): Renamed from libdir.
2624 1994-10-11 Francesco Potorti` (pot@cnuce.cnr.it)
2626 * etags.c (C_entries): Name the #define's that are macros.
2628 1994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2630 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
2631 fd_set arg is a pointer, descriptor arg comes first.
2633 1994-09-29 Francesco Potorti` (pot@cnuce.cnr.it)
2635 * etags.c (C_entries): Recognise typedef of ANSI style functions.
2636 (C_entries): Recognise #define inside a struct.
2637 (C_entries): ANSI tells that preprocessor commands do not have to
2638 start on the first column.
2639 (print_help): Documentation corrected for -d and -D.
2640 (white, endtk): ANSI tells the vertical tab is a separator.
2642 1994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
2644 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
2645 (pop.o, movemail.o): New targets.
2646 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
2648 * pop.c, pop.h: New files.
2650 * movemail.c: Improve POP code, move most of it into a separate file.
2651 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
2652 (mbx_write): Check for errors and for From line.
2653 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
2654 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
2655 (pop_init): Functions deleted.
2657 1994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
2659 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
2660 Rename path to dirname.
2662 1994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2664 * Makefile.in.in (UTILITIES):
2665 Remove test-distrib, make-docfile, make-path.
2666 (DONT_INSTALL): New variable--list those files here.
2667 (clean): Delete the files in DONT_INSTALL.
2669 1994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2671 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
2672 (main): Use fgets, not gets.
2674 1994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2676 * timer.c: Don't declare malloc.
2678 1994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2680 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
2681 defined, use simple 32-bit versions of these macros.
2682 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
2684 1994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2686 * etags.c (etags_getcwd): Use getcwd if available.
2688 1994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2690 * Version 19.27 released.
2692 1994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2694 * Version 19.26 released.
2696 1994-08-15 Paul Eggert <eggert@twinsun.com>
2698 * rcs2log: Add support for CVS.
2699 Work with `rlog's that output ISO 8601 dates.
2701 1994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
2703 * rcs2log: Use <> to delimit email address.
2705 1994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2707 * emacsserver.c [SYSV_IPC] (main): Make a separate process
2708 so we can listen for multiple requests.
2710 1994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2712 * movemail.c: Include config.h first thing.
2714 1994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2716 * emacsserver.c (main): Add casts to avoid warnings.
2718 1994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2720 * Makefile.in.in (${archlibdir}): Compare the proper dir
2721 before installing the scripts.
2723 1994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2725 * emacsclient.c (main): New local var progname saves argv[0].
2727 1994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2729 * emacsclient.c (main): Don't actually modify argv[0].
2730 Modify a copy instead.
2732 1994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2734 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
2737 * Makefile.in.in: Add #undef alloca.
2739 1994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2741 * timer.c (xmalloc): New function.
2743 1994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2745 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
2746 (alloca.o): New target.
2748 1994-07-08 Dave Love (d.love@dl.ac.uk)
2750 * etags.c (takeprec): recognise `character*(*) function'
2752 1994-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
2754 * etags.c (main): Don't barf on obsolete -t and -T switches.
2755 (main): Print an explicative message when a switch is not known.
2757 1994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2759 * hexl.c: Don't declare exit or perror.
2761 * emacsserver.c (main): Don't declare geteuid.
2762 Don't declare getenv if convex.
2764 1994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2766 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
2768 1994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2770 * etags.c (absolute_filename): Remove infinite loop bug when
2771 accessing files in directories whose name begins with a dot.
2773 1994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2775 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
2777 1994-06-01 Morten Welinder (terra@diku.dk)
2779 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
2780 location of data directory.
2782 1994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2784 * Version 19.25 released.
2786 1994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2788 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
2790 1994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2792 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
2794 1994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2796 * Version 19.24 released.
2798 1994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2800 * make-docfile.c (write_c_args): Put `default' in upper case.
2802 1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2804 * etags.c (etags_getcwd): Cast result of popen.
2805 (popen): Declaration deleted.
2807 1994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
2809 * etags.c [!MSDOS]: Declare popen.
2811 1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2813 * b2m.c (main): Avoid crash if argc is 1.
2815 1994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2817 * Version 19.23 released.
2819 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
2821 1994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2823 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
2825 1994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
2827 * Makefile.in.in: Fix out of date comment.
2829 1994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2831 * Makefile.in.in: Put in a separator for where to start cpp procssing.
2832 Move all autoconf substitutions above that point.
2833 Above that point, use Make-style comments.
2834 This goes with changes in ../configure.in.
2836 1994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2838 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
2840 (${archlibdir}): Don't do it here. Don't depend on blessmail.
2842 1994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
2844 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
2846 1994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2848 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
2849 print advice to run it, if it has anything significant to do.
2850 And only if MOVEMAIL_NEEDS_BLESSING.
2851 (blessmail): Use emacs, not temacs.
2852 (configuration): Renamed from configname.
2854 1994-04-30 Morten Welinder (terra@diku.dk)
2856 * etags.c (find_entries): Treat `*.cpp' as C++ files.
2858 1994-04-30 Morten Welinder (terra@diku.dk)
2860 * etags.c [MSDOS]: #include <sys/param.h> for the following.
2861 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
2864 1994-04-29 Morten Welinder (terra@diku.dk)
2866 * hexl.c [MSDOS]: Don't define proto type for exit.
2868 1994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2870 * b2m.c: Don't include string.h or strings.h.
2872 1994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
2874 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
2875 symbols, not make variables.
2877 1994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2879 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
2880 * etags.c (print_version): Print VERSION as a string.
2882 1994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2884 * fakemail.c (readline): Fix updating of p when buffer grows.
2886 1994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
2888 * Makefile.in.in (blessmail): New target.
2889 ${archlibdir}: Use blessmail when installing movemail.
2891 1994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2893 * fakemail.c (readline): When extending the buffer,
2894 calculate end afresh using the new size.
2896 1994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2898 * etags.c (main, print_help): eliminate the -F option.
2900 1994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2902 * etags.c (absolute_filename): compare against '\0' instead of NULL.
2904 1994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2906 * Makefile.in.in: Renamed from Makefile.in.
2907 Makefile.in is now generated from it, and then preprocessed.
2908 Change comments to C syntax.
2910 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
2911 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
2913 1994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2915 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
2917 1994-04-12 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2919 * etags.c (etags_getcwd): Initialize bufsize.
2921 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2923 * profile.c (gettimeofday): If system doesn't have this, define it
2924 to give a fatal error.
2926 1994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
2928 * movemail.c (main): Use setuid, not seteuid.
2930 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2932 * etags.c: #undef static.
2934 1994-04-08 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2936 * etags.c (outf, outfiledir): renamed to tagf, tagfiledir.
2937 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs,
2938 Scheme_funcs, prolog_funcs): renamed to Fortran_functions,
2939 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
2940 TeX_functions, Prolog_functions.
2941 (inf): no more a global variable.
2942 (C_entries): take 2nd parameter `inf' instead of using the global one.
2943 (find_entries): added the cp1 var for optimisation.
2944 (find_entries): added more suffixes for assembler files.
2945 (Asm_funcs): Now finds labels even without an ending colon.
2947 1994-03-30 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2949 * etags.c (main): use etags_getcwd for compatibility.
2950 (etags_getcwd): new function.
2952 1994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2954 * Makefile.in (etags, ctags): Pass -D for VERSION.
2956 1994-03-25 Francesco Potorti` (pot@cnuce.cnr.it)
2958 * etags.c (emacs_tags_format, ETAGS): removed. Use CTAGS instead.
2959 (main): don't allow the use of -t and -T in etags mode.
2960 (print_help): don't show options enabled by default.
2961 (print_version): show the emacs version number if VERSION is #defined.
2962 (find_entries): add "ss" as suffix for Chez Scheme.
2964 1994-03-23 Francesco Potorti` (pot@cnuce.cnr.it)
2966 * etags.c (cwd, outfiledir): vars added.
2967 (relative_filename, absolute_filename, absolute_dirname):
2968 functions added to compute filenames in tags files.
2969 (process_file): filenames in tags file are relative to the
2970 directory where the tags file is (useful with the -o option).
2971 (main): initialise the outfiledir var.
2972 (TYPEDST): added the `tignore' value.
2973 (C_entries): corrected various small bugs.
2975 1994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2977 * Makefile.in (UTILITIES): `env' deleted.
2978 (env): Target deleted.
2979 * env.c: File deleted.
2981 1994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2983 * Makefile.in (install, ${archlibdir}): Switch back to ..
2984 before running INSTALL_PROGRAM.
2986 1994-03-14 Francesco Potorti` (pot@cnuce.cnr.it)
2988 * etags.c (TYPEDST): added the `tignore' value.
2989 (C_entries): corrected various bugs, now correctly parses the
2990 `extern "C" {' construction (patch by Tom R.Hageman).
2992 1994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2994 * b2m.c: Use <...> to include config.h.
2995 Don't include stdlib.h.
2997 1994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
2999 * b2m.c (main): Change delimiter from "^L" to "^_^L".
3000 Allow for text following "BABYL OPTIONS:".
3001 Add --help option. Use argv[0] in error messages.
3003 1994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3005 * emacsclient.c (main) [HAVE_SYSVIPC]:
3006 Make msgp->mtext longer if necessary.
3007 On HPUX, error if it's more than 512 chars.
3009 1994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
3011 * etags-vmslib.c: Use GPL.
3012 * emacstool.c: Use GPL.
3013 * fakemail.c: Update GPL.
3015 * make-path.c (main): Return 1 on error, not -1.
3018 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
3019 (xmalloc, xrealloc): Return char *, not int.
3020 (error): Write to stderr, not stdout.
3023 1994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
3025 * profile.c (main, get_time): Don't crash on invalid input.
3027 1994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
3029 * profile.c (get_time): Simplify; avoid calling index.
3030 (main): exit on EOF.
3032 1994-02-17 Francesco Potorti` (pot@cnuce.cnr.it)
3034 * etags.c (--absolute-pathnames): option removed.
3036 1994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3038 * fakemail.c (put_line): Don't break the line if it all fits.
3040 1994-02-14 Francesco Potorti` (pot at fly)
3042 * etags.c (absolute_pathnames, cwd): added global vars.
3043 (longopts, print_help, main, process_file): put absolute filenames
3044 in the tag file if the -A --absolute-pathnames option is used.
3045 (print_help): alfabetically order the options.
3046 (malloc, realloc, strcpy, strncpy, strcmp): remove extern declar.
3048 1994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3050 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
3051 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
3053 1994-02-07 Christian Lynbech (lynbech@avignon)
3055 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
3057 1994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3059 * Makefile.in (UTILITIES): Mention profile.
3060 (profile): New target.
3062 * profile.c: New file.
3064 1994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3066 * Make the argument list output look more like the Lisp docstrings do.
3067 make-docfile.c (write_c_args): Take new arg FUNC. Make output
3068 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
3069 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
3071 1994-01-14 Francesco Potorti` (pot@cnuce.cnr.it)
3073 * etags.c (stab_entry, stab_create, stab_find, stab_search,
3074 stab_type, add_keyword, C_reate_stab, C_create_stabs): deleted.
3075 Use gperf generated hash table instead of linked list.
3076 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): added.
3077 Mostly code generated by gperf.
3078 (consider_token): removed unused parameter `lp'.
3079 (PF_funcs, getit): allow subroutine and similar declarations
3080 to span multiple lines.
3081 (C_entries): check for newline if inchar to avoid bus errors.
3082 (process_file, find_entries): distinguish among nonexistent
3083 and not regular file.
3085 1994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3087 * timer.c: Include errno.h; don't include fasync.h.
3088 (schedule): Don't return a value.
3089 (sigcatch): Reestablish the handler first.
3090 (getevent): Always call notify at the end.
3091 (notify): Defer alarms around the whole body of function.
3093 1994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3095 * timer.c (main): Don't request SIGIO, and don't handle it.
3096 Loop calling getevent.
3097 (sigcatch): Delete code to handle SIGIO.
3098 if defer_alarms is set, don't call notify, just set alarm_deferred.
3099 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
3100 Set defer_alarms around realloc and schedule.
3101 If alarm_deferred gets set, call notify.
3102 Likewise if this event is the only pending event.
3103 Make buf and buf_size global variables.
3104 Don't malloc buf if it is already non-zero.
3105 (schedule): Just exit if run out of memory.
3106 Return the number of events.
3107 (signal) [_CX_UX]: Add #undef.
3109 1994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3111 * timer.c [USG] (SIGIO): Define as SIGPOLL.
3112 (main) [USG]: Do ioctl to enable SIGPOLL.
3114 1994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3116 * timer.c: Don't declare sys_errlist; declare strerror instead.
3117 (schedule, main): Call strerror instead of using sys_errlist.
3118 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
3119 Call strerror instead of using sys_errlist.
3120 * env.c (main): Call strerror instead of using sys_errlist.
3121 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
3122 (main): Call strerror instead of using sys_errlist.
3123 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
3124 * env.c [! HAVE_STRERROR] (strerror): Likewise.
3125 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
3126 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
3128 1994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3130 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
3132 * movemail.c (malloc): Don't declare it.
3133 (xmalloc): Cast result of malloc.
3134 (strcpy): Don't declare it.
3136 1993-11-14 Morten Welinder (terra@diku.dk)
3138 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
3139 (main): Use fclose to close file opened by fopen.
3141 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
3143 * movemail.c [MSDOS]: #undef `access'.
3145 * b2m.c (main) [MSDOS]: Open all files as binary.
3146 * etags.c (main) [MSDOS]: Open all files as binary.
3148 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
3149 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
3152 1994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3154 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
3155 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
3156 (LINK_CFLAGS): New variable.
3157 (timer): Use LINK_CFLAGS.
3159 1993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3161 * movemail.c: Include syswait.h.
3162 Fork a subprocess and use it to copy the mail file.
3164 1993-12-07 Richard Stallman (rms@srarc2)
3166 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
3168 1993-12-04 Richard Stallman (rms@srarc2)
3170 * movemail.c (main): When making tempname, cast result of xmalloc.
3171 Include room for EXXXXXX in the size.
3172 Don't use result of strcpy.
3174 1993-12-03 Paul Eggert (eggert@twinsun.com)
3176 * vcdiff: Add --brief option.
3178 1993-12-02 Richard Stallman (rms@srarc2)
3180 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
3181 for all executables and scripts.
3183 1993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3185 * Version 19.22 released.
3187 1993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3189 * Makefile.in (mostlyclean): Make it distinct from clean.
3191 1993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3193 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
3195 1993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3197 * Version 19.21 released.
3199 * Makefile.in (install): Don't change mode or group when installing.
3201 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
3203 1993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3205 * make-docfile.c (read_c_string): For "", concatenate the two strings.
3207 * movemail.c (main): Fix error message text.
3209 1993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3211 * Version 19.20 released.
3213 1993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
3215 * etags.c: (C_entries): Keep track of ()-parenthesis level so that
3216 functions returning a pointer to a function, a la `signal', can be
3217 parsed. This also required new state `fstartlist' to `FUNCST'.
3218 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
3219 (C_entries, CNL): use it to isolate preprocessor directive processing
3220 from the other state engines.
3221 (begtk): add '~', for C++ class destructors.
3223 1993-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
3225 * etags.c (consider_token): removed unused variable firsttok.
3226 (prolog_getit): call pfnote with the right number of arguments.
3228 1993-10-19 Paul Eggert (eggert@twinsun.com)
3230 * rcs2log (printlogline): Don't generate lines containing only
3233 1993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3235 * Makefile.in (${archlibdir}):
3236 Install ${SCRIPTS} from ${srcdir}, not cwd.
3238 1993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3240 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
3241 the comment character.
3243 1993-10-01 Francesco Potorti` (pot@cnuce.cnr.it)
3245 * etags.c (process_file): dead code removed.
3246 (S_ISREG): #define it using S_IFREG if not defined.
3247 (process_file): regular files have nothing to do with symlinks.
3249 1993-09-28 Brian Fox (bfox@ai.mit.edu)
3251 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
3252 from current directory. Only chmod and chgrp files that we
3253 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
3255 (INSTALLFLAGS): Deleted definition, since it is an unused variable
3258 1993-09-27 Brian Fox (bfox@ai.mit.edu)
3260 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
3261 configure figure out the correct values for these variables.
3263 1993-09-14 Brian Fox (bfox@ai.mit.edu)
3265 * Makefile.in (archlibdir): Only install execuatables internally
3266 used by emacs; don't install bindir binaries here.
3268 1993-09-24 Paul Eggert (eggert@twinsun.com)
3270 * rcs2log: Add -h, -n, -r options.
3271 By default, look for *,v files as well as RCS/*,v files.
3272 Use $TMPDIR (default /tmp) instead of /tmp.
3274 1993-09-20 Francesco Potorti` (pot at fly)
3276 * etags.c (C_entries): is_func is initialised here instead of in
3277 consider_token for the sake of the yacc rules section.
3278 (C_entries): Now class, struct, enum, union and typedef produce
3281 1993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
3283 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
3285 1993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3287 * Support configuring in a different directory when ${srcdir} has
3288 already been configured.
3289 * Makefile.in (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before
3290 -I${srcdir} -I${srcdir}/../src.
3291 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
3292 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
3293 is already in CPP_FLAGS.
3294 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
3295 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
3297 1993-08-25 Paul Eggert (eggert@twinsun.com)
3299 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
3300 otherwise, HP awk complains.
3302 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
3303 are common hangouts for SCCS commands.
3305 1993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3307 * Version 19.19 released.
3309 1993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3311 * Makefile.in (make-path): Dep on config.h.
3313 1993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3315 * b2m.c (TRUE, FALSE): Don't define if already defined.
3317 1993-08-09 Paul Eggert (eggert@twinsun.com)
3319 * rcs2log (awkscript):
3320 Some sites put comma-separated junk after the fullname.
3321 Remove it, but leave "Bill Gates, Jr" alone.
3322 Remove the junk from fullnames like "0000-Admin(0000)".
3324 1993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3326 * Version 19.18 released.
3328 1993-08-04 Francesco Potorti` (pot@spiff.gnu.ai.mit.edu)
3330 * etags.c (L_isdef, L_isquote, L_getit): small optimisations.
3331 (L_funcs): the (foo::defmumble stuff now should work.
3332 (consider_token): function returned random value--corrected.
3333 (C_entries): corrected == versus = typo.
3335 1993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3337 * etags.c (put_entries): For NODE->rewritten, put pattern before
3338 \177 and name after, not vice versa.
3340 1993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3342 * timer.c (main): Generate a SIGIO as soon as we've initialized.
3344 1993-07-30 Francesco Potorti` (pot@cnuce.cnr.it)
3346 * etags.c (FINCST): added the fignore status. Means we are
3347 after the parameter list and before the open curly brace.
3348 Allows correct parsing of C++ constructors.
3349 (C_entries, consider_token): make use of fignore.
3350 (consider_token): reset funcdef when next_token_is_func: when in
3351 ctags mode makes DEFVAR and others work better.
3352 (L_isquote): function that recognises the "(quote" string.
3353 (L_getit): ignore quoting via "'" or "(quote". Useful for defalias.
3355 1993-07-29 Paul Eggert (eggert@twinsun.com)
3357 * rcs-checkin: Don't check whether a file is readable until we have
3358 decided not to ignore it.
3360 1993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3362 * Makefile.in (etags): Depend on ../src/config.h.
3364 * emacsserver.c: Include types.h before file.h.
3366 1993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3368 * Makefile.in (install): Use .n, not .new, for temporary filenames.
3370 1993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3372 * Version 19.17 released.
3374 1993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3376 * etags.c (print_help): Break up the very long strings containing
3377 the help message into shorter strings, to placate chintzy C
3378 compilers which can't handle strings that long.
3380 * wakeup.c: Use CPP tangle from autoconf manual to #include the
3381 correct combination of <time.h> and <sys/time.h>.
3383 1993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
3385 * etags.c (alloca): removed all references to it.
3386 (main): now calls xnew instead of alloca for portability.
3387 (../src/config.h): included only if HAVE_CONFIG_H.
3388 (const): void definition removed--config.h takes care of it.
3390 1993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
3392 * etags.c (consider_token): was `==', now is `='.
3393 (consider_token): DEFUNs now treated like funcs in ctags mode.
3395 * etags.c (LEVEL_OK_FOR_FUNCDEF): removed.
3396 (C_entries): optimized the test that used LEVEL_OK_FOR_FUNCDEF.
3397 (C_entries): removed a piece of useless code.
3398 (C_entries): making typedef tags is delayed until a semicolon
3399 is met. This handles "typedef int X, Y, Z;" correctly.
3401 1993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3403 * Version 19.16 released.
3405 * b2m.c: #include <sys/types.h>.
3406 (ltoday): Declare this to be time_t.
3408 1993-06-30 Paul Eggert (eggert@twinsun.com)
3410 * vcdiff: Add -q option.
3412 1993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3414 * etags.c: #include "config.h" and the alloca CPP tangle before
3415 #including the system headers and getopt.h. AIX requires the
3416 #pragma to come before any actual C code.
3418 1993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3420 * Makefile.in (ctags): Depend on etags, so that parallel makes
3421 don't write etags.o files on top of each other.
3423 1993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3425 * version 19.15 released.
3427 1993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3429 * etags.c (add_node): Move var last_node to file scope.
3431 1993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3433 * Version 19.14 released.
3435 1993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3437 Bring mumbleclean targets into conformance with GNU coding standards.
3438 * Makefile.in (distclean): Call clean to do most of the work.
3439 Delete aixcc.c and TAGS.
3440 (realclean): Just call distclean.
3442 * Makefile.in: Remember, spaces are not tabs.
3444 1993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3446 * Makefile.in (CPP_CFLAGS): New variable.
3447 Use it instead of ALL_CFLAGS when compiling a .c file.
3448 (getopt.o, getopt1.o): Add explicit compilation commands.
3450 1993-06-10 Mark D. Baushke (mdb@cisco.com)
3452 * etags.c: Reinstate old -f option as an alias for -o for
3453 installed base uses.
3455 1993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3457 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
3458 to bind or accept, cast the pointer, to avoid warnings on systems
3459 which declare prototypes for this.
3460 * emacsclient.c (main): Same.
3462 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
3464 1993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3466 * Version 19.13 released.
3468 * wakeup.c: Include sys/types.h, too; I think that's where time_t
3469 comes from, not sys/time.h.
3471 1993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3473 * wakeup.c: Include sys/time.h.
3475 * etags.c: #undef static.
3477 * Version 19.12 released.
3479 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
3481 1993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3483 * Version 19.11 released.
3485 * timer.c [LINUX]: #undef signal.
3486 * emacsserver.c: #undef signal.
3488 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3490 * wakeup.c (main): Make when a time_t.
3492 1993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3494 * Makefile.in: (${archlibdir}): Use `(cd foo && pwd)` instead of
3495 `(cd foo ; pwd)` to get the canonical name of a directory; cd
3496 might fail, and have pwd print out the current directory.
3498 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
3499 string-handling functions.
3501 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3503 * Version 19.10 released.
3505 1993-05-29 Paul Eggert (eggert@twinsun.com)
3507 * rcs2log: When given no file arguments, inspect RCS/.* as well
3508 as RCS/*. Don't report an error if RCS is empty or nonexistent.
3510 1993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3512 * Makefile.in (timer): Link with $(LOADLIBES).
3514 1993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3516 * fakemail.c (put_line): Don't output \n\t unless more text follows.
3518 1993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3520 * etags.c: Replace the CPP tangle for alloca with the one from the
3521 autoconf documentation, since that's working elsewhere.
3523 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3525 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
3526 description files can find their ancestors.
3528 1993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3530 * Makefile.in (install): Get the scripts from ${srcdir},
3531 unlike the executables.
3532 (ALL_CFLAGS): Add -I../src
3534 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3536 * Version 19.9 released.
3538 1993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3540 * Makefile.in (install): Do install the programs listed in
3541 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
3542 INSTALLABLE_SCRIPTS, instead of writing the programs out.
3544 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
3545 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
3547 1993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3549 * etags.c: Include ../src/config.h.
3551 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
3552 in first loop. Delete files from bindir before installing new ones.
3553 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
3555 1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3557 * Version 19.8 released.
3559 * make-docfile.c: Doc fix.
3561 1993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3563 * tcp.c: Fix comment syntax at top of file.
3564 (main): Don't call htons with the port number.
3566 1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3568 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
3571 * Makefile.in (install): Refer to the variables INSTALLABLES and
3572 INSTALLABLE_SCRIPTS, instead of writing them out.
3574 1993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3576 * make-path.c (main): Return 0.
3578 1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3580 * Version 19.7 released.
3582 1993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3584 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
3586 1993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3590 1993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3592 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
3594 1993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3596 * timer.c (notify): Don't call sighold or sigrelse; they're USG
3597 only. We should really fix this later, but let's just make it
3600 Install patches from David J. Mackenzie to make the srcdir option
3602 * Makefile.in (srcdir, VPATH): Get this value from the top-level
3604 (INSTALLABLES): Split this into two lists - INSTALLABLES and
3605 INSTALLABLE_SCRIPTS.
3606 (INSTALLABLE_SCRIPTS): New list.
3607 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
3608 (${archlibdir}): The scripts to be installed live in the source
3609 tree, not in the object tree.
3610 (test-distrib): Note that the data file lives in the source tree,
3611 not the object tree.
3612 (GETOPTDEPS): Note that getopt.h lives in the source tree.
3613 (all other targets): Change references to source files to use
3614 ${srcdir}, except for config.h, which lives in the object dir.
3615 (timer.o): Note that this depends on ../src/config.h.
3616 * make-docfile.c (main): Add a -d option, to tell it where to find
3618 * test-distrib.c (main): Take the name of the distribution file to
3619 test from the command line.
3621 * timer.c: Fix mispellings of get_date function's name.
3623 1993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
3626 Don't require that there be input files if -i switches were given.
3628 1993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3630 The GNU coding standards specify that CFLAGS should be left for
3632 * Makefile.in (CFLAGS): Put this in the "things configure might
3633 edit" section, and have it default to -g.
3634 (ALL_CFLAGS): New variable, set to all the flags which should be
3635 passed to compilations. Replace all other uses of CFLAGS with
3637 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
3639 * Makefile.in (DEFS): Remove this; it's always just going to be
3640 "-DHAVE_CONFIG_H -Demacs".
3642 1993-05-03 Paul Eggert (eggert@twinsun.com)
3644 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
3645 /[/]/, so change it to /[\/]/. This should work on all
3646 Posix-compliant awks. It's slightly wrong with traditional awk,
3647 since it matches \ too, but that's a minor problem compared to awk
3650 1993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3652 * Makefile.in (ALLOCA): New variable, whose value we should
3653 inherit from the top-level makefile.
3654 (etags, ctags): Include ALLOCA in the list of object files that
3655 these executables depend on and link.
3657 1993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3659 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
3661 1993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
3663 * make-docfile.c (write_c_args): Print an argument named "defalt"
3666 1993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3668 * Makefile.in (C_SWITCH_SYSTEM): New variable.
3669 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
3672 1993-03-22 Francesco Potorti` (pot@cnuce.cnr.it)
3674 * etags.c (YACC): flag added to c_ext.
3675 (c_ext): no more a synonim for c_ext&C_PLPL because of YACC.
3676 (find_entries): consistently use streq when reasonable.
3677 (find_entries): a .y file is a yacc file.
3678 (get_C_stab): c_ext becomes c_ext&C_PLPL.
3679 (C_entries): logical cplpl means c_ext&C_PLPL.
3680 (C_entries): logical yacc_rules means we are after the first %%.
3681 (C_entries): added logic for yacc files.
3683 1993-03-16 Francesco Potorti` (pot@cnuce.cnr.it)
3685 * etags.c (C_entries): ':' case moved to the second switch.
3686 (C_entries): do not examine token if structdef==scolonseen.
3687 (consider_token): structtag set to null string for enum.
3689 1993-03-12 Francesco Potorti` (pot@cnuce.cnr.it)
3691 * etags.c (GET_COOKIE): and related macros removed.
3692 (logical): is now int, no more a char.
3693 (reg): define deleted.
3694 (isgood, _gd, notgd): deleted.
3696 (TOKEN): member linestart removed.
3697 (linepos, prev_linepos, lb1): deleted.
3698 (main): call initbuffer on lbs array instead of lb1.
3699 (init): removed the initialisation of the logical _gd array;
3700 (find_entries): a .sa suffix means assembler file.
3701 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
3702 All C state machines rewritten.
3703 (C_entries): complete rewrite.
3704 (condider_token): complete rewrite.
3707 1993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
3709 * etags.c (C_entries): Added the quotednl logical variable.
3710 Used for parsing of #define's spanning multiple lines.
3712 1993-02-23 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
3714 * etags.c (C_entries): Save the definedef status even when a
3715 newline is met inside a string.
3717 1993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
3719 * Makefile.in (EXECUTABLES): added rcs-checkin.
3721 * Makefile.in (unlock, relock): New productions.
3723 1993-03-16 Paul Eggert (eggert@twinsun.com)
3725 * rcs2log: Some awks don't understand "\r". Code around this.
3726 Unfortunately this requires putting a carriage return in the
3727 source code. Don't assume that rlog will tolerate times like
3728 `10:10:60'; RCS 5.7 won't allow this.
3730 1993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3732 * timer.c (main): Set the ownership of the stdin file descriptor
3733 to the current process. Print error messages if either of the
3736 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
3737 ../src/config.h), not void.
3739 1993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3741 * b2m.c (main): Don't exit upon reading a blank line.
3743 1993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
3745 * etags.c (C_entries): New local variable quotednl. Used for
3746 parsing of #define's spanning multiple lines.
3748 * etags.c (C_entries): Save the definedef status
3749 even when a newline is met inside a string.
3751 1993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3753 * timer.c (notify): Initialize waitfor properly.
3755 1993-02-22 Francesco Potorti` (pot@CNUCE.CNR.IT)
3757 * etags.c (C_entries): Don't reset definedef when a newline inside a
3760 1993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3762 * etags.c (find_entries): If filename ends in .f or .for,
3763 don't try anything but Fortran.
3765 1993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
3767 * timer.c (notify): Flush stdout after writing message to avoid lossage
3770 (notify): Also, write a newline after the token.
3772 1992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3774 * Makefile.in (exec_prefix): New variable.
3775 (bindir, libdir): Use it instead of `prefix'.
3777 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
3779 * Makefile.in (libdir): Default to ${prefix}/lib.
3780 (archlibdir): Adjusted to match.
3782 * Makefile.in (distclean): Don't delete backup or autosave files.
3783 (extraclean): Like realclean, but does delete backup and autosave
3786 * Makefile.in (realclean): Ignore errors from rm.
3788 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
3789 that doesn't exist anymore.
3791 1992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3793 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
3794 described in the top-level Makefile.
3795 (UTILITIES): Add make-path to the list of utility programs.
3796 (../arch-lib): Replaced by the ${archlibdir} target, which places
3797 the executables in their permanent home.
3798 (install, install.sysv, install.xenix): Consolidated into one
3799 target which should work under all circumstances, modulo a few
3800 ignored error messages.
3802 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
3803 a different number of arguments than other DEFVARs, recognize it
3804 specially, and expect the right number of commas.
3806 1992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3808 * make-path.c: New program, to help with the installation process.
3809 * Makefile.in (make-path): New target.
3811 * make-path.c (touchy_mkdir): Remove debugging output.
3813 1992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3815 * Makefile.in (getdate.o): Added explicit target for this, so we
3816 can indicate that it depends on ../src/config.h.
3818 1992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3820 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
3822 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
3824 1992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3826 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
3827 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
3830 * Makefile.in (arch-lib): Give rm the `-f' option.
3832 1992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3834 * make-docfile.c (write_c_args): Rewritten to correctly print
3835 &optionals before the first identifier, but after the first paren.
3836 This code used to just wait for commas or spaces; now it notices
3837 identifier boundaries.
3839 1992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3841 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
3843 1992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3845 * make-docfile.c (write_c_args): Print the argument lists properly
3846 when the first argument is optional.
3848 1992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3850 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
3851 Redefine @item. Set catcode of +.
3853 1992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3855 * emacsclient.c (main): Set IPC_CREAT in msgget call.
3857 1992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3859 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
3860 (TEX_decode_env): Make `tab' one element longer.
3862 1992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3864 * etags.c (PF_funcs): Recognize the "entry" keyword.
3866 1992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3868 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
3870 1992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3872 * timer.c (events): Rather than having slots marked as in use or
3873 out of use by the `token' field, keep all pending events at the
3874 beginning of the array. When we delete an event in the middle of
3875 the array, we move the last event into its place.
3876 (num_events): New variable.
3877 (schedule): It is now cheaper to find a free event slot;
3878 events[num_events] is the first free slot.
3879 (notify): Scan events[0 .. num_events-1], instead of the whole
3880 array. When an event fires, move the last event in the array into
3881 its spot. Use num_events to determine whether or not there are
3882 any pending events, not wait_for.
3883 (getevent): Deleted unused variable `ep'.
3884 (sigcatch): It's now easier to find all the active events.
3885 (main): Initialize num_events.
3887 * etags.c: Rather than fret about which systems have index and
3888 which systems have strchr, and how to tell the difference between
3889 them, we just write out our own versions. Big deal.
3890 (index, rindex): Extern declarations removed.
3891 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
3892 (etags_index, etags_rindex): New declarations.
3893 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
3894 TEX_getit, substr): Use the etags_*index functions, rather than
3895 the native *index functions.
3896 (rindex, index): Renamed to etags_rindex and tags_rindex, and
3897 made them unconditionally defined, rather than having them depend
3900 * etags.c (savenstr): Add declaration for this at top of file.
3901 (TEX_decode_env): Don't declare it local to this function.
3903 * b2m.c: #include "../src/config.h", so we can test for the USG
3904 macro, and decide whether to include <string.h> or <strings.h>.
3905 * Makefile.in: Note that b2m.c depends on ../src/config.h.
3907 1992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3909 * timer.c: Reformatted according to the GNU coding standards.
3910 Removed arbitrary limits on the number of events queued and the
3911 length of the tokens used to identify them.
3912 Removed casts to (void).
3913 Removed debugging printfs; they clutter the code, and the need
3914 can be better filled using a real debugger.
3916 1992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3918 * timer.c: Installed new version from Eric Raymond; this is more
3919 portable, since it doesn't try to use SIGIO.
3921 1992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3923 * emacsclient.c (main): If we can't find the socket in this
3924 person's home directory, print a message which asks if they've
3925 started the server, instead of just printing the message from
3926 sys_errmsg; Cygnus finds that people are much less confused by
3929 1992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3931 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
3932 so that index and rindex get defined, why don't we actually
3933 control index and rindex using symbols called "NEED_INDEX" and
3934 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
3935 little more readable than defining something whose name implies
3938 1992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3940 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
3942 Miscellaneous doc fixes.
3943 (skip_white, read_lisp_symbol): New functions.
3944 (scan_lisp_file): Instead of using long hairy strings of ifs, call
3945 read_lisp_symbol and then see what we got. Call skip_white
3946 instead of writing out a loop to do its job. Correctly extract
3947 docstrings from "defmacro" declarations.
3949 1992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3951 * movemail.c (strcpy): Declare this to return char *.
3953 1992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3955 * etags.c (C_entries): When we find a C++ comment, do actually
3956 skip to the end of the line; do a 'break' instead of a 'continue'.
3958 1992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3960 * etags.c (getit): Add missing parenthesis to expression which
3961 decides if this token is an identifier.
3963 1992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
3965 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
3967 1992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3969 * etags.c (put_entries): Always put space between name and line num.
3971 1992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
3973 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
3975 (LEVEL_OK_FOR_FUNCDEF): Ditto.
3977 1992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3979 * make-docfile.c (write_c_args): Pass both arguments to putc.
3981 1992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
3983 * etags.c (C_entries): Fixed reading of "..." strings.
3984 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
3985 the C library source.
3987 * etags.c (C_entries): When we see a backslash inside a quoted
3988 string, skip to the next character. This allows us to correctly
3989 deal with strings containing quotes.
3991 1992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3993 * make-docfile.c (write_c_args): Print the C argument names as
3994 they would be written in Elisp; print '_' as '-'.
3996 1992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3998 * movemail.c [POP]: Get user name via getpwuid.
4000 1992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4002 * Makefile.in: flags in CC invocations rearranged for no reason.
4004 1992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4006 * etags.c (print_help): Remember not to imbed raw newlines in
4007 strings - end the lines with `\n\'.
4009 1992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4011 * timer.c (getevent): Removed declaration of memcpy; since
4012 different systems have different return types, and we're not even
4013 using the return type anyway, it wasn't doing us any good.
4015 1992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4017 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
4018 type of this function.
4020 1992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4022 * ChangeLog: Since the old etc contents have been split into etc
4023 and lib-src, the old etc's ChangeLog has been duplicated in the
4024 new etc and lib-src. That means that each contains complete and
4025 coherent information, although each contains extraneous
4028 1992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4030 * lib-src/etags.c: "--no-warning" option renamed to "--no-warn",
4031 to be consistent with other GNU programs, like makeinfo.
4033 * lib-src/Makefile: Renamed to Makefile.in; the configure script
4034 will edit this to produce Makefile.
4036 1992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4038 * etags.c (print_help, print_version): New functions.
4039 (main): Options added to support them.
4041 * etags.c (longopts): New array of long names for the options.
4042 (main): Recognize them.
4044 1992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4046 * etags.c (C_entries): Removed comment saying that \" in a string
4047 isn't recognized as magic, because it is correctly handled.
4049 * getopt.c, getopt.h: New files, from GNU C library.
4050 * etags.c: Rewritten to use getopt.
4051 #include "getopt.h".
4052 (file_num): Variable deleted; its role is now played by getopt's
4054 (main): Argument processing loop rewritten to call getopt to get
4055 next option. Options which take parameters (-o and -i) rewritten
4056 to get parameter from optarg instead of argv[1]. Filename
4057 preprocessing loop and update command changed similarly.
4058 * Makefile (etags, ctags): Depend on and link with getopt.h,
4059 getopt.o, and getopt1.o.
4060 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
4062 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
4065 (main): In the argument processing loop, the 'goto next_arg'
4066 statements are breaking out of the switch statement in exactly the
4067 same way that a simple 'break' statement would; replace the gotos
4068 with breaks, and remove the label.
4070 1992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4072 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
4073 (consider_token): Move next_token_is_func to global.
4075 1992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4077 * Makefile: Conform with GNU coding standards:
4078 (mostlyclean): New target, synonymous with clean.
4079 (TAGS, check): New targets.
4080 (INSTALL, INSTALLFLAGS): New variables.
4082 1992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4084 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
4085 `config.emacs' to `configure'.
4087 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
4088 * etc/MACHINES: Same.
4090 1992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4092 * movemail.c (main): Allow tempname to be as long as necessary,
4093 instead of limiting it to 39 characters.
4095 * movemail.c (main): Move declaration of buf from top of function
4096 to local block surrounding the copy loop. This makes it less
4097 likely to be confused with the buf used by the code which checks the
4098 permissions on outname's directory.
4100 1992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
4102 * SERVICE: Remove my entry.
4104 1992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
4106 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
4109 * movemail.c (xmalloc): Return char *, not int.
4110 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
4111 that is off by default -- normally don't unlink the mail spool
4112 file, just empty it. Pass creat mode 0600, not 0666.
4114 1992-02-07 Jim Blandy (jimb at pogo.cs.oberlin.edu)
4116 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
4117 (all): Instead of here.
4118 (install): Don't use the -s option, since people need symbols to
4121 1992-01-19 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil)
4123 * etags-vmslib.c (fn_exp): Add type cast.
4125 1992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4127 * movemail.c: Changes in comments.
4129 1992-01-13 Jim Blandy (jimb at pogo.cs.oberlin.edu)
4131 * Makefile: Make the distclean target erase the DOC files from
4132 ../share-lib and the executables from ../arch-lib.
4134 1992-01-09 Jim Blandy (jimb at pogo.cs.oberlin.edu)
4136 * emacsclient.c: #include <sys/stat.h>
4137 (main): Do declare statbfr.
4139 1991-12-21 Richard Stallman (rms at mole.gnu.ai.mit.edu)
4141 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
4142 for the socket, depending on SERVER_HOME_DIR.
4143 If using /tmp, put host name in the socket name.
4145 * movemail.c (pfatal_and_delete): New function.
4146 (main, popmail): Use it.
4147 (popmail): Close output before deleting messages.
4148 Check for error on close and on fsync.
4149 Use `fatal' where appropriate.
4150 (main): Remove (void).
4152 * aixcc.lex: New file. Not officially part of Emacs.
4153 * Makefile: Rules for that.
4155 1991-12-04 Jim Blandy (jimb at pogo.gnu.ai.mit.edu)
4157 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
4159 * etags.c (main): Properly cast call to alloca that initializes
4162 1991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
4164 * etags.c (files_are_tag_tables): Remove global var.
4165 (process_file): Don't test it. Also remove hack checking for a
4167 (main): -i now takes an arg which is the name of a file to include.
4168 Collect these names and emit include tags for them after processing
4169 all the argument files.
4171 1991-07-30 Richard Stallman (rms at mole.gnu.ai.mit.edu)
4173 * wakeup.c: Terminate if parent goes away.
4175 1991-07-18 Richard Stallman (rms at mole.gnu.ai.mit.edu)
4177 * etags.c (C_entries): Process token before handling end of line.
4178 When inner loops reach end of line, just back up.
4179 Let the real end of line processing happen in just one place.
4180 (consider_token): Likewise.
4182 1991-04-11 Jim Blandy (jimb at geech.gnu.ai.mit.edu)
4184 * etags.c (TEX_mode): Skip comments while scanning the text to see
4185 which escape character this file uses.
4187 1991-03-29 Richard Stallman (rms at mole.gnu.ai.mit.edu)
4189 * emacsserver.c [USG]: Terminate if msgrcv fails.
4191 1991-03-03 Richard Stallman (rms at mole.ai.mit.edu)
4193 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
4195 1991-01-25 Jim Blandy (jimb at churchy.ai.mit.edu)
4197 * make-docfile: Find the arguments to a C function correctly,
4198 by not ignoring the character that read_c_string returns. Don't
4199 even try to find argument names for functions that take MANY
4200 or UNEVALLED arguments, since they're a figment of the docstring's
4203 1991-01-14 Jim Blandy (jimb at churchy.ai.mit.edu)
4205 * make-docfile: Read the .elc files generated by the new byte
4208 1990-12-31 Richard Stallman (rms at mole.ai.mit.edu)
4210 * refcard.tex: Use cm fonts, not am, in multi-column mode.
4212 1990-11-29 Richard Stallman (rms at mole.ai.mit.edu)
4214 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
4216 1990-11-27 Richard Stallman (rms at mole.ai.mit.edu)
4218 * Makefile (install*): No need to install wakeup.
4220 1990-11-26 Richard Stallman (rms at mole.ai.mit.edu)
4222 * Makefile (install*): Install emacsclient like etags.
4224 1990-11-13 Richard Stallman (rms at mole.ai.mit.edu)
4226 * movemail.c (error): Handle 3 args.
4227 (main): Don't check input access if using pop.
4229 1990-10-16 Richard Stallman (rms at mole.ai.mit.edu)
4231 * etags.c (find_entries): Check for numbers after Scheme suffix.
4233 1990-10-14 Richard Stallman (rms at mole.ai.mit.edu)
4235 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
4237 1990-10-09 Richard Stallman (rms at mole.ai.mit.edu)
4239 * Makefile (nemacstool, xvetool): New targets.
4241 1990-09-26 Richard Stallman (rms at mole.ai.mit.edu)
4243 * emacsclient.c: Include errno.h and define related variables.
4245 1990-09-23 Richard Stallman (rms at mole.ai.mit.edu)
4247 * emacsclient.c: Change usage message.
4249 1990-08-30 David Lawrence (tale at pogo.ai.mit.edu)
4251 * emacs.1: Add break before -nw option.
4253 1990-08-19 David J. MacKenzie (djm at apple-gunkies)
4255 * qsort.c: Replace with GNU version.
4257 1990-08-14 David J. MacKenzie (djm at apple-gunkies)
4259 * wakeup.c: New program replacing loadst.c.
4261 1990-08-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4263 * emacsclient.c [USG]: Pass msgsnd only 4 args.
4265 1990-08-09 David J. MacKenzie (djm at pogo.ai.mit.edu)
4267 * etags.c: Rename `flag' variables for what they do instead of
4268 which option character sets them.
4270 1990-05-28 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4272 * loadst.c (main): Conditional to get load average on Apollo.
4274 1990-05-22 Joseph Arceneaux (jla at churchy.ai.mit.edu)
4276 * emacsserver.c: Set the permission on the socket to 0600.
4278 1990-03-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4280 * emacsclient.c [BSD]: Print clean message for failing getwd.
4282 1990-03-20 David Lawrence (tale at pogo.ai.mit.edu)
4284 * getdate.y: Use the getdate.y from GNU tar for timer.
4286 1990-03-18 Jim Kingdon (kingdon at pogo.ai.mit.edu)
4288 * emacsclient.c (main): Don't put brackets around "filename" in
4289 usage message. It isn't optional.
4291 1990-03-14 Joseph Arceneaux (jla at churchy.ai.mit.edu)
4293 * etags.c (getit): Recognize '$' as beginning identifiers.
4295 1990-02-22 David Lawrence (tale at pogo.ai.mit.edu)
4297 * emacsserver.c: Renamed from server.c.
4298 * Makefile: Reference emacsserver rather than server.
4299 * MACHINES: Doc fix for new emacsserver name.
4301 1990-01-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4303 * emacsclient.c: Print program name in error messages.
4305 1990-01-19 David Lawrence (tale at cocoa-puffs)
4307 * timer.c, getdate.y (new files) and Makefile:
4308 Sub-process support for run-at-time in timer.el.
4309 Doesn't yet work correctly for USG.
4311 1990-01-10 Jim Kingdon (kingdon at pogo)
4313 * MACHINES: Add HP 300 running BSD.
4315 1990-01-02 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4317 * yow.c: Dynamically allocate buffer; skip header before random
4318 choice to avoid bias toward first item.
4320 1989-12-24 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4322 * etags.c (readline): Separate out init of `pend'.
4324 1989-12-17 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4326 * etags.c: Undo changes relating to isgoodhdr.
4328 1989-12-16 Mosur Mohan (rms at sugar-bombs.ai.mit.edu)
4330 * etags.c (isgoodhdr): New macro.
4331 (_gdh, notgdh): New variable used by that.
4332 (init): Initialize _gdh.
4333 (find_entries): Set header_file.
4334 (consider_token): Use isgoodhdr if in header file.
4336 * etags.c (total_size_of_entries):
4337 Was miscalculating by 1 in rewritten case.
4339 * etags.c (PAS_funcs): One arg to pfnote was missing.
4341 1989-12-05 Joseph Arceneaux (jla at spiff)
4343 * MACHINES: Change for the ULTRIX entry.
4345 1989-11-21 Joseph Arceneaux (jla at spiff)
4347 * etags.c (process_file): If file is not regular, return.
4349 1989-11-06 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4351 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
4353 1989-10-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4355 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
4356 (main): If HAVE_GETLOADAVG, don't call `nlist'.
4358 1989-10-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4360 * etags.c (consider_token): Allow any number of typespec keywords
4361 after `typedef', before new type name.
4362 (enum sym_type): Add st_C_typespec.
4363 (C_create_stab): Put typespec kwds in table.
4365 1989-08-27 Richard Stallman (rms at apple-gunkies.ai.mit.edu)
4367 * etags.c (main): Don't depend on name invoked by.
4368 If CTAGS is not defined, assume it is ETAGS.
4370 1989-07-31 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4372 * etags.c (L_funcs): Allow package name in define construct,
4373 as in (foo::defmumble name-defined ...).
4375 1989-07-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4377 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
4379 * Makefile (yow): Depends on ../src/paths.h.
4381 1989-07-04 Richard Stallman (rms at apple-gunkies.ai.mit.edu)
4383 * etags.c: Fix compilation by moving Pascal after Fortran.
4385 1989-06-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4387 * movemail.c [USG]: Define F_OK, etc., if not found in header.
4389 1989-05-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4391 * hexl.c: New file, supports hexl-mode.
4393 1989-05-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4395 * movemail.c: New compilation flag MAIL_USE_MMDF.
4397 1989-05-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4399 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
4400 * server.c: Likewise.
4402 * make-docfile.c (scan_c_file): Output argument names at end of string.
4403 (write_c_args): New subroutine.
4405 1989-04-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4407 * movemail.c: Report failure of flock.
4409 1989-04-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4411 * etags.c (find_entries): Allow multi-letter extensions for fortran.
4413 1989-04-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4415 * loadst.c: on bsd4.3, use gettimeofday instead of CPUSTATES.
4417 1989-03-15 Jeff Peck (rms at sugar-bombs.ai.mit.edu)
4419 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
4421 * emacsstool.1: update to document environment variables.
4423 1989-02-21 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4425 * etags.c (PAS_funcs): New function by Mosur Mohan.
4427 * movemail.c: On sysv, include unistd.h.
4429 1989-02-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4433 1989-02-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4435 * etags.c: Prolog support from Sunichirou Sugou
4437 1989-02-03 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4439 * Makefile (clean): New target.
4441 1989-01-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4443 * fakemail.c (put_line): Break header lines at 79 cols.
4445 1989-01-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4447 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
4448 multiple tags per line.
4450 1989-01-03 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4452 * movemail.c: Check access before doing real work.
4453 Check that outfile is in a writable directory.
4454 On fatal error, delete the lock file.
4456 1988-12-31 Richard Mlynarik (mly at rice-chex.ai.mit.edu)
4458 * env.c: Add decl for my-index
4459 * etags.c (file-entries): .oak => scheme
4461 1988-12-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4463 * movemail.c: Use `access' to check input and output files.
4465 1988-12-28 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4467 * emacsclient.c (main): Ignore all of CWD before first slash.
4469 1988-12-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4471 * etags.c (readline): Double linebuffer->size outside the xrealloc.
4473 1988-12-22 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4475 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
4476 * server.c: chmod the socket to 0700.
4478 1988-12-09 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4480 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
4481 (add_field): Delete comments and turn `<', `>' to spaces
4483 (USE_FAKEMAIL): New customization macro says to make fakemail
4484 not be a no-op even on a BSD system.
4486 1988-12-01 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4488 * etags.c (consider_token): Skip comments just like whitespace.
4489 Notice `struct', etc. and set strtag for those tokens.
4490 Return 1 for the token following `struct' if an open-brace follows it.
4491 (C_entries): Special handling of token following `struct'
4492 needed because we have probably advanced to the following line
4494 (main): New option `T' sets tflag and strflag.
4495 Set both of them by default if eflags.
4497 1988-11-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4499 * movemail.c: Do fsync before closing output.
4501 1988-11-29 Richard Mlynarik (mly at pickled-brain.ai.mit.edu)
4503 * movemail.c: Better error message when can't create tempname.
4504 This file needs a great deal of extra error-checking and lucid reporting...
4506 1988-11-16 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4508 * etags.c: Support assembler code for .s and .a files.
4509 (getit): Allow underscore in a tag.
4511 1988-11-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4513 * movemail.c: Close output and check errors before deleting input.
4515 1988-10-01 Richard Stallman (rms at apple-gunkies.ai.mit.edu)
4517 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
4518 whether to prefix it. Handle line number args.
4520 1988-09-24 Richard Stallman (rms at gluteus.ai.mit.edu)
4522 * etags.c (main): default setting of eflag was backwards.
4524 1988-09-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4526 * etags.c: New option -i. -f renamed -o.
4527 `-' as input file means read input file names from stdin.
4528 -i spec'd or input file named TAGS means the input file is another
4529 tag table; output an "include" line for it.
4531 1988-09-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4533 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
4534 New targets install, install.sysv, install.xenix.
4535 This makefile is now responsible for installing executables
4536 and documentation from this directory into system directories.
4538 1988-09-16 Richard Stallman (rms at corn-chex.ai.mit.edu)
4540 * server.c, emacsclient.c (main): Compute socket name from euid.
4542 1988-08-04 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4544 * emacsclient.c: Args like +DIGITS are passed through unchanged.
4546 1988-07-12 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4548 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
4549 * emacsclient.c: Likewise.
4550 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
4552 1988-06-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4554 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
4555 (istoken) New string-comparison macro.
4556 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
4558 1988-06-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4560 * etags.c: Changes for VMS.
4561 Always define ETAGS on VMS.
4562 Define macros GOOD and BAD for success and failure exit codes.
4563 (begtk, intk): Allow `$' in identifiers
4564 (main): Don't support -B, -F or -u on VMS.
4565 Alternate loop for scanning filename arguments.
4566 (system): Delete definition of this function.
4568 * etags-vmslib.c (system): Undefine this; VMS now provides it.
4570 1988-06-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4572 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
4573 around include of param.h. (Like fns.c.)
4575 1988-05-16 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
4577 * loadst.c (load_average): Move load-average code to this new fn.
4578 Add conditionals to compute load ave on UMAX.
4580 1988-05-14 Richard Stallman (rms at lucky-charms.ai.mit.edu)
4582 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
4583 with opposite sense.
4585 1988-05-13 Chris Hanson (cph at kleph)
4587 * emacsclient.c: Delete references to unused variable `out'. This
4588 caused a bus error when used under hp-ux.
4590 1988-05-06 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
4592 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
4594 1988-05-04 Richard Stallman (rms at rice-krispies.ai.mit.edu)
4596 * etags.c (find_entries): `.t' or `.sch' means scheme code.
4598 1988-04-29 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
4600 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
4602 1988-04-28 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
4604 * movemail.c: #undef close, since config can #define it on V.3.
4605 * emacsclient.c, fakemail.c, loadst.c, server.c: likewise.
4607 1988-04-26 Richard Stallman (rms at lucky-charms.ai.mit.edu)
4609 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
4610 invalid escape sequences such as `\{'.
4612 * loadst.c: Add `sequent' conditional for file dk.h.
4614 1988-03-20 Richard M. Stallman (rms at wilson)
4616 * server.c [not BSD and not HAVE_SYSVIPC]: fix error message.
4618 * loadst.c (main) [XENIX]: use /usr/spool/mail, not /usr/mail.
4621 ;; coding: iso-2022-7bit
4624 Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001
4625 Free Software Foundation, Inc.
4626 Copying and distribution of this file, with or without modification,
4627 are permitted provided the copyright notice and this notice are preserved.