* etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
[bpt/emacs.git] / lib-src / ChangeLog
1 2002-03-22 Paul Eggert <eggert@twinsun.com>
2
3 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
4 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
5 the latter usage.
6
7 2002-03-12 Francesco Potorti` <pot@gnu.org>
8
9 * etags.c (Python_functions): Skip spaces at beginning of lines.
10 (Python_functions, PHP_functions): Name tags, for ctags' sake.
11 (TeX_commands): Name tags. Correction of old disabled code.
12
13 * etags.c (curfiledir, curtagfname): New global variables.
14 (process_file): Initialise them.
15 (readline): Canonicalize the name found in #line directive.
16
17 2002-03-06 Jason Rumney <jasonr@gnu.org>
18
19 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
20 compilers that don't optimize out dead code.
21
22 2002-03-05 Francesco Potorti` <pot@gnu.org>
23
24 * etags.c: Honour #line directives.
25 (no_line_directive): New global var; set it for old behaviour.
26 (main): Remove some #ifdef in the getopt switch.
27 (add_node, put_entries): Code added to merge different chunks of
28 nodes referring to the same file. Currently the tags are just
29 appended, without any check for duplicates.
30 (Perl_functions): Do not special case ctags.
31 (readline): Identify #line directives and do the right thing.
32 (nocharno, invalidcharno): New global vars.
33 (process_file): Reset nocharno.
34 (readline): Set nocharno.
35 (pfnote): Read nocharno and maybe put invalidcharno in node.
36 (total_size_of_entries, put_entries): Use invalidcharno.
37
38 * etags.c: Keep the whole tag table in memory, even in etags mode.
39 (main): Call put_entries here even in CTAGS mode.
40 (main, process_file): Check the return values of fclose and pclose.
41 (process_file): Do not call put_entries after parsing each file.
42 (process_file): Canonicalise file names even for ctags.
43 (process_file): Set curfile here...
44 (find_entries): ... not here any more.
45 (add_node): In etags mode, build a linked list of entries (on
46 right pointer) for each file, and link the first entry of each
47 file on left nodes.
48 (put_entries): Print here the name of the file.
49 (put_entries): Print the entries starting from the first file.
50 (number_len, total_size_of_entries): Define these only iin etags
51 mode, make the second work only on the right nodes.
52
53 * etags.c: Make all global variables static.
54
55 2002-02-25 Juanma Barranquero <lektu@terra.es>
56
57 * makefile.w32-in (lisp): Add missing backslash.
58
59 2002-02-24 Jason Rumney <jasonr@gnu.org>
60
61 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
62 using .elc files.
63 (lisp): Sync with list in src/Makefile.in
64 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
65
66 2002-02-10 Paul Eggert <eggert@twinsun.com>
67
68 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
69 disallows the old syntax.
70
71 2002-02-03 Paul Eggert <eggert@twinsun.com>
72
73 * rcs2log(Copyright): Update to 2002.
74 (AWK, TMPDIR): Work around portability problem in broken shells that
75 don't understand `: ${VAR=val}'.
76 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
77 Prefer the new -k option to the traditional +M -N option.
78
79 2002-01-01 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
80
81 * b2m.c (main): Parenthesize assignment when used as truth value
82 to prevent gcc warnings.
83
84 * fakemail.c: Include <config.h>.
85
86 2001-12-29 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
87
88 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
89 * yow.c: Include <config.h>.
90
91 2001-12-21 Francesco Potorti` <pot@gnu.org>
92
93 * etags.c (Perl_functions): Tag packages and use them in sub tags.
94 (get_tag): Return a pointer to the tag that is found.
95
96 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
97 (F_takeprec): Renamed from takeprec. All callers changed.
98 (F_getit): Renamed from getit. All callers changed.
99 (nocase_tail): Renamed from tail. All callers changed.
100 (Ada_getit): Renamed from adagetit. All callers changed.
101 (L_getit): Simplified by using get_tag.
102 (Perl_functions, Postscript_functions, erlang_attribute): Use the
103 modified LOOKING_AT.
104 (notinname): Removed '[' and added ')' to the recognised chars.
105 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
106 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
107 Clarified, using strneq or notinname.
108 (L_isdef, L_isquote): Removed.
109 (Lisp_functions, L_getit): Clarified.
110
111 * etags.c: (P_): Renamed to __P for consistency with config.h.
112 [HAVE_CONFIG_H]: Let config.h deal with __P.
113 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
114 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
115 gperf code needs it.
116 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with Xemacs).
117 [HAVE_CONFIG_H] [!__P]: Define __P (for use with Xemacs).
118 (xmalloc, xrealloc): Use PTR instead of long *.
119 (bool): Make it a define, not a typedef, for C++ compilers.
120 (pattern): Members renamed to avoid name clash in some C++ compilers.
121 (get_language_from_langname): Use const argument.
122
123 2001-12-22 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
124
125 * makefile.nt, makefile.w32-in: Remove mocklisp files.
126
127 2001-12-19 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
128
129 * emacsserver.c: Conditionally include config.h.
130
131 * fakemail.c: Likewise.
132
133 * emacsclient.c: Include "config.h", not <../src/config.h>.
134 (main): Parenthesize assignment when used as truth value to
135 prevent gcc warnings.
136
137 * ebrowse.c: Include stdlib.h and string.h conditionally.
138
139 2001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
140
141 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
142
143 2001-12-18 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
144
145 * test-distrib.c: Fix previous change.
146
147 2001-12-18 Dave Love <fx@gnu.org>
148
149 * test-distrib.c: Conditionally include fcntl.h.
150
151 * fakemail.c: Include "config.h", not <../src/config.h>.
152 (_XOPEN_SOURCE): Define as 500.
153
154 * emacsserver.c: Include "config.h", not <../src/config.h>.
155
156 * cvtmail.c: Include config.h, stdlib.h.
157 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
158
159 * yow.c: Conditionally include various headers. Use "epaths.h",
160 not <../src/epaths.h>.
161 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
162
163 2001-12-12 Francesco Potorti` <pot@gnu.org>
164
165 * etags.c (PHP_functions): New function for parsing PHP.
166 (LOOKING_AT): New macro.
167 (Perl_functions, Python_functions, PHP_functions)
168 (Scheme_functions, Texinfo_nodes): Use it.
169 (Perl_functions): Use strneq.
170 (prolog_pred): Renamed to prolog_pr.
171 (prolog_pr): Recognise Prolog rules in addition to predicates.
172 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
173 unmodified compile, as Cygwin's regex.h is incompatible with us.
174 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
175
176 2001-12-11 Richard M. Stallman <rms@gnu.org>
177
178 * Makefile.in (clean): Don't delete ../etc/DOC*.
179
180 2001-12-11 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
181
182 * COPYING: Moved back.
183
184 2001-11-30 Andrew Innes <andrewi@gnu.org>
185
186 * makefile.w32-in (FACE_SUPPORT):
187 (MOUSE_SUPPORT):
188 (FLOAT_SUPPORT):
189 (WINNT_SUPPORT):
190 (lisp): Reference .el files instead of .elc files, to simplify
191 bootstrapping.
192 ($(DOC)): Change dependency to just `make-docfile'.
193
194 2001-11-29 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
195
196 * COPYING: Removed.
197
198 2001-11-28 Paul Eggert <eggert@twinsun.com>
199
200 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
201
202 The following changes are derived from suggestions by Bob Chapman
203 <rechapman@compuserve.com>.
204
205 * rcs2log (printlogline): Also allow tab and newline to separate
206 '(function):' from the rest of a comment.
207 (reformat the sorted log entries): Require date and author to
208 match the clumpname.
209
210 2001-11-16 Gerd Moellmann <gerd@gnu.org>
211
212 * ebrowse.c (matching_regexp): Escape '\\'.
213
214 2001-11-15 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
215
216 * Makefile.in: Add support for --program-prefix, --program-suffix
217 and --program-transform-name options.
218
219 2001-11-03 Richard M. Stallman <rms@gnu.org>
220
221 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
222
223 * movemail.c (popmail): Always pass two args to `error'.
224
225 2001-10-24 Ken Raeburn <raeburn@gnu.org>
226
227 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
228 -lhesiod and maybe -lresolv.
229 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
230 support if it's available.
231
232 2001-10-21 Miles Bader <miles@gnu.org>
233
234 * make-docfile.c (struct rcsoc_state): New type.
235 (read_c_string_or_comment): Add SAW_USAGE
236 parameter, and implement scanning for a `usage:' keyword.
237 Use a variable of type `rcsoc_state' to hold most of our state.
238 (put_char): Add STATE parameter, and remove all other parameters
239 except CH. Use STATE to get access to all needed state.
240 (scan_keyword_or_put_char): New function.
241 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
242 Don't output a usage-string if there was one in the doc-string.
243
244 2001-10-20 Gerd Moellmann <gerd@gnu.org>
245
246 * (Version 21.1 released.)
247
248 2001-10-19 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
249
250 * b2m.c: Properly spell the name of Emacs.
251
252 2001-10-17 Miles Bader <miles@gnu.org>
253
254 * make-docfile.c (put_char): New function.
255 (read_c_string_or_comment): Strip trailing spaces and newlines.
256
257 2001-10-16 Miles Bader <miles@gnu.org>
258
259 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
260 comments [with `doc:' keyword prefix].
261
262 2001-10-15 Gerd Moellmann <gerd@gnu.org>
263
264 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
265 in a C doc comment.
266
267 2001-10-13 Gerd Moellmann <gerd@gnu.org>
268
269 * make-docfile.c (read_c_string_or_comment): Renamed from
270 read_c_string. Add parameter COMMENT. Read C-style comments.
271 (scan_c_file): Handle doc strings in C comments.
272
273 2001-10-12 Andrew Innes <andrewi@gnu.org>
274
275 * makefile.nt (ALL): Do not include fakemail.
276
277 * makefile.w32-in (install): Do not copy fakemail.
278
279 2001-10-10 Jason Rumney <jasonr@gnu.org>
280
281 * makefile.w32-in (ALL) Do not include fakemail.
282
283 * makefile.nt (install) Ditto.
284
285 2001-10-09 Gerd Moellmann <gerd@gnu.org>
286
287 * emacsserver.c (main): Cast geteuid in sprintf to int.
288
289 * emacsclient.c (main): Cast isdigit argument to unsigned char.
290
291 2001-10-07 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
292
293 * profile.c: Include config.h, not ../src/config.h.
294 Include systime.h, not ../src/systime.h.
295
296 2001-10-05 Gerd Moellmann <gerd@gnu.org>
297
298 * Branch for 21.1.
299
300 2001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
301
302 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
303 ALIASEE to help work with namespace aliases.
304 (struct sym): Remove struct member NAMESP_ALIASES.
305 (namespace_alias_table): New variable.
306 (make_namespace): Add parameter CONTEXT.
307 (check_namespace): New function.
308 (find_namespace): Add parameter CONTEXT.
309 (check_namespace_alias): New function.
310 (register_namespace_alias): Change type of parameter
311 OLD_NAME. Search for already defined alias in
312 NAMESPACE_ALIAS_TABLE.
313 (check_namespace): New function.
314 (enter_namespace): Call find_namespace with CONTEXT parameter.
315 (match_qualified_namespace_alias): New function.
316 (parse_qualified_ident_or_type): Fixed typo in comment. While
317 parsing qualified ident or type update namespace context and
318 restore it on exit.
319 (parse_qualified_param_ident_or_type): Fixed typo in comment.
320 (globals): Changed handling of namespace aliases.
321 (version): Added year 2001.
322
323 2001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
324
325 * etags.c (analyse_regex): If regex_arg is NULL, return
326 immediately after a call to free_patterns.
327
328 2001-09-05 Paul Eggert <eggert@twinsun.com>
329
330 * rcs2log (Help, mainline code): Add new option -L FILE.
331 (Copyright): Update year.
332 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES,
333 LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
334 C locale.
335 (mainline code): Handle nonstandard -u option differently, by
336 transforming it to standard form. Check for "Working file: ", not
337 "Working file:". Allow file names with spaces.
338 (SOH, rlogfile): New shell vars.
339 (rlogout): Remove. Its old functionality is mostly migrated to
340 rlogfile.
341
342 Append ';;' to the last arm of every case statement, for
343 portability to ancient broken BSD shells.
344
345 (logins): Fix bug; was not being computed at all, lowering
346 performance.
347 (pository): New var. This fixes some bugs where repositories are
348 remote, or have trailing slashes.
349 (authors): $llogout is never an empty shell var, so don't worry
350 about that possibility.
351 (printlogline, mainline code): Fix bug with SOH's being put into
352 the output.
353
354 2001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
355
356 * ebrowse.c (SEEK_END): #define if not defined by system headers.
357 Suggested by Dave Love <d.love@dl.ac.uk>.
358
359 2001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
360
361 * makefile.nt (lisp): Synchronize with src/Makefile.in.
362 * makefile.w32-in (lisp): Ditto.
363
364 2001-07-25 Juanma Barranquero <lektu@terra.es>
365
366 * grep-changelog (parse_changelog): Remove unused local variable.
367
368 * grep-changelog (main): Add new option --reverse.
369 (print_log): Use it.
370 (parse_changelog): Use it.
371
372 2001-07-20 Gerd Moellmann <gerd@gnu.org>
373
374 * grep-changelog: Remove RCS Id keyword.
375
376 2001-07-20 Juanma Barranquero <lektu@terra.es>
377
378 * grep-changelog (parse_changelog): Add tests for defined values
379 to quiet warning from Perl 5.005 or above.
380 (entry_match_p, header_match_p): Fix handling of null or empty
381 argument to prevent duplicate headers.
382
383 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
384
385 2001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
386
387 * emacsclient.c (print_help_and_exit): Fix help message for
388 +LINE:COLUMN option.
389
390 2000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
391
392 * emacsclient.c (main): Add support for +LINE:COLUMN command line
393 argument.
394
395 2001-07-16 Gerd Moellmann <gerd@gnu.org>
396
397 * ebrowse.c (main): Check that the output file exists and
398 is non-empty if invoked with `--append'.
399
400 2001-05-14 Francesco Potorti` <pot@gnu.org>
401
402 * etags.c (add_regex): Reset the whole newly allocated pattern
403 buffer instead of the individual members. It's safer and works
404 with Xemacs.
405
406 * etags.1: Markups corrected.
407
408 2001-05-08 Gerd Moellmann <gerd@gnu.org>
409
410 * ebrowse.c (enter_namespace): Fix reallocation of
411 namespace_stack.
412
413 2001-05-03 Gerd Moellmann <gerd@gnu.org>
414
415 * ebrowse.c (globals): Fix handling of namespace aliases.
416
417 2001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
418
419 * etags.c (print_help): Enclose the regexp in the help text
420 example in quotes.
421
422 2001-04-05 Dave Love <fx@gnu.org>
423
424 * emacsclient.c (fail): Don't return a value.
425 (main): Cast uid values for sprintf.
426
427 2001-04-03 Gerd Moellmann <gerd@gnu.org>
428
429 * emacsclient.c (fail, main): Don't use implicit int return type.
430
431 * b2m.c (main): Always return a value.
432
433 2001-03-02 Gerd Moellmann <gerd@gnu.org>
434
435 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
436 freshly allocated object in *LAST_ID.
437 (read_line): Accept \r\n line endings.
438
439 2001-02-24 Andrew Innes <andrewi@gnu.org>
440
441 * makefile.w32-in: Fix copyright notice.
442
443 2001-02-23 Francesco Potorti` <pot@gnu.org>
444
445 * etags.c (enum sym_type): New label st_C_template.
446 (gperf input): Use it for switching to C++ from C.
447 (consider_token): Do it.
448 (C_entries): Initialise typdefcblev to quiet compilers.
449 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
450
451 2001-02-22 Andrew Innes <andrewi@gnu.org>
452
453 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
454 VMS header files.
455 ($(BLD)\profile.obj): Ditto.
456
457 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
458 VMS header files.
459 ($(BLD)/profile.$(O)): Ditto.
460
461 2001-02-05 Andrew Innes <andrewi@gnu.org>
462
463 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
464 invocation of make-docfile, to work with Windows 2000.
465
466 2001-01-31 Dave Love <fx@gnu.org>
467
468 * etags.c (in_word_set): Use `static' in definition (for pcc).
469
470 2001-01-31 Francesco Potorti` <pot@gnu.org>
471
472 * etags.c: [NDEBUG] #undef assert and #define it as ((void)0), for
473 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
474 (C_entries): Tag token renamed to still_in_token because sunos4
475 pcc wants to expand it as the token() macro even though it has no
476 arguments.
477
478 2001-01-30 Andrew Innes <andrewi@gnu.org>
479
480 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
481 bug in the Mingw32 assert.h header file.
482
483 2001-01-30 Francesco Potorti` <pot@gnu.org>
484
485 * etags.c: [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
486 #define it for the sake of Xemacs.
487 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
488 HAVE_CONFIG_H. This change only affects a standalone etags.
489 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
490 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
491 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
492 [!HAVE_UNISTD_H]: use defined(WINDOWSNT) instead of the bare
493 WINDOWSNT, as this is the correct way to use it.
494
495 2001-01-28 Francesco Potorti` <pot@gnu.org>
496
497 * etags.c: Be capable to parse nested struct-like structures.
498 (structdef, structtag): Struct state machine revisited.
499 (struct tok): Revisited.
500 (cstack, nestlev, instruct): New struct and macros.
501 (pushclass_above, popclass_above, write_classname): New functions
502 for dealing with nested class names.
503 (consider_token, make_C_tag, C_entries): Many changes for dealing
504 with arbitrarily nested structures.
505 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
506 (C_entries): Consider templates in C++.
507 (sym_type): New constant st_C_class for detecting "class" also in
508 C mode.
509 (C_AUTO): New macro for automatic detection of C++.
510 (consider_token): Automatic set C++ mode.
511 (C_entries): New security check for yacc.
512 (print_language_names, print_help): Mention the autodetect
513 feature, do not show help for the -C option, now mostly useless.
514 (C_entries): Tag C++ forward declarations if --declarations.
515 (C_entries): Don't be fooled by things like XDEFUN.
516 (consider_token): Discard asm pseudo function.
517
518 2001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
519
520 * etags.c: Add a coding: tag.
521
522 2001-01-26 Gerd Moellmann <gerd@gnu.org>
523
524 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
525 New variables.
526 (matching_regexp): Use them instead of static variables in
527 function scope.
528
529 2001-01-25 Francesco Potorti` <pot@gnu.org>
530
531 * etags.c (struct tok): Renamed from struct token.
532 (token): Renamed from tok.
533 (structtype): Make it a local variable.
534 [DEBUG]: Use assert.
535 (xrnew): Change the synopsis.
536 (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
537 (grow_linebuffer): Don't call xrnew when not needed.
538 (token): buffer renamed to line.
539 (C_entries): Three calls to inibuffer moved here from main.
540 (C_entries): Removed all references to var methodlen, delete it.
541 (linebuffer_setlen): Was grow_buffer, now also sets len.
542 (consider_token, C_entries, Pascal_functions): Use it.
543 (C_entries): Preventing problems relative to extern "C".
544 (C_entries): Can tag more than one variable or func separated by
545 comma when --declarations is used.
546 (C_entries): More accurate tagging of members and declarations.
547 (yacc_rules): Was global, made local to C_entries.
548 (next_token_is_func): Removed.
549 (fvdef): New constants fdefunkey, fdefunname.
550 (consider_token, C_entries): Use them.
551 (C_entries): Build proper lisp names for Emacs DEFUNs.
552
553 2001-01-22 Gerd Moellmann <gerd@gnu.org>
554
555 * ebrowse.c (xfree): New function.
556 (member, declaration, globals): Use xmalloc instead of alloca.
557
558 2001-01-15 Francesco Potorti` <pot@gnu.org>
559
560 * etags.c (print_language_names): Print filenames in addition to
561 suffixes.
562
563 2001-01-14 Francesco Potorti` <pot@gnu.org>
564
565 * etags.c (get_language_from_langname): Renamed from
566 get_language_from_name.
567 (get_language_from_filename): Renamed from
568 get_language_from_suffix. Now first looks for the complete file
569 name.
570 (language): New member char **filenames.
571 (Makefile_filenames): List of possible filenames for makefiles.
572 (lang_names): Added a NULL member for every entry, added an entry
573 for makefiles.
574 (Makefile_targets): New function.
575 (Texinfo_nodes): Renamed from Texinfo_fuctions and made
576 it conformant to the style of the rest of the code.
577
578 2001-01-13 Gerd Moellmann <gerd@gnu.org>
579
580 * make-docfile.c (write_c_args): Print newlines as spaces.
581
582 2001-01-06 Andrew Innes <andrewi@gnu.org>
583
584 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
585 of *.pdb.
586
587 2001-01-03 Paul Eggert <eggert@twinsun.com>
588
589 * lib-src/rcs2log: Avoid security hole allowing attacker to
590 cause user of rcs2log to overwrite arbitrary files, fixing
591 a bug reported by Morten Welinder.
592
593 Don't put "exit 1" at the end of the exit trap; it's
594 ineffective in POSIX shells.
595
596 2001-01-02 Gerd Moellmann <gerd@gnu.org>
597
598 * ebrowse.c (yyerror): Changed to take two arguments. Prototype
599 added. Callers changed.
600
601 2001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
602
603 * ebrowse.c (enter_namespace, main): Cast variables to shut up
604 compiler warnings.
605 (yyerror): Change parameter declarations to be of type long, so
606 that they can take pointers on 64-bit platforms.
607
608 * emacsclient.c (main): Remove unused local variable statbfr.
609 (main) <homedir>: Make its declaration conditional on
610 SERVER_HOME_DIR, to avoid compiler warnings.
611
612 * emacsserver.c (main) <homedir>: Make its declaration conditional
613 on SERVER_HOME_DIR, to avoid compiler warnings.
614
615 * fakemail.c (readline): Cast buffer to "long *" to pacify
616 over-zealous compilers.
617
618 2000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
619
620 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
621
622 2000-12-15 Gerd Moellmann <gerd@gnu.org>
623
624 * ebrowse.c (operator_name): Cast argument of isalpha to
625 unsigned char.
626
627 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
628 Use them throughout instead of ctype functions/macros.
629 (lowcase): Cast to unsigned char.
630 (UPCASE): New macro.
631 (canonicalize_filename): Use UPCASE instead toupper.
632
633 * fakemail.c (get_keyword): Make sure that isspace and
634 similar aren't called with a negative argument.
635
636 2000-12-13 Dave Love <fx@gnu.org>
637
638 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
639
640 2000-12-06 Andrew Innes <andrewi@gnu.org>
641
642 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
643 don't know the real version, and I can't seem to get the quoting
644 right in all circumstances.
645
646 * ebrowse.c (VERSION): Provide default definition, like etags.c
647 does, because Windows build can't snarf this from version.el.
648
649 2000-11-30 Andrew Innes <andrewi@gnu.org>
650
651 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
652 (install): Ditto.
653
654 2000-11-23 Jason Rumney <jasonr@gnu.org>
655
656 * makefile.w32-in: Add targets for ebrowse.exe.
657 (LOCAL_FLAGS): Add -DVERSION flag.
658
659 2000-09-25 Dave Love <fx@gnu.org>
660
661 * sorted-doc.c: Include config.h.
662 [!HAVE_STDLIB_H]: Declare malloc.
663
664 2000-09-14 Andrew Innes <andrewi@gnu.org>
665
666 * makefile.w32-in: Revert to Unix line endings.
667
668 2000-09-04 Dave Love <fx@gnu.org>
669
670 * movemail.c (index, rindex): Prototype conditionally.
671
672 2000-09-03 Andrew Innes <andrewi@gnu.org>
673
674 * makefile.w32-in: Change to DOS line endings.
675
676 2000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
677
678 * movemail.c (toplevel): Remove redundant fcntl.h.
679 [!F_OK]: Provide default definitions only after including both
680 fcntl.h and unistd.h.
681
682 2000-08-29 Dave Love <fx@gnu.org>
683
684 * movemail.c: Revert previous change.
685
686 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
687
688 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
689
690 2000-08-28 Dave Love <fx@gnu.org>
691
692 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
693 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
694
695 2000-08-22 Andrew Innes <andrewi@gnu.org>
696
697 * ntlib.h (WIN32): Remove unnecessary definition.
698 (sleep): Make argument unsigned long.
699 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
700
701 * ntlib.c (sleep): Make argument unsigned long.
702
703 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
704
705 * makefile.w32-in: New file.
706
707 2000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
708
709 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
710 letter only if it is a drive letter.
711
712 2000-07-14 Gerd Moellmann <gerd@gnu.org>
713
714 * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and
715 ymalloc.
716
717 * etags.c (xmalloc, xrealloc): Make externally visible, for use
718 by alloca.o.
719
720 * Makefile.in (alloca.o): Add -Demacs so that alloca will use
721 xmalloc.
722
723 2000-07-10 Gerd Moellmann <gerd@gnu.org>
724
725 * ebrowse.c (yylex): Accept string literals with newlines in them.
726 (process_pp_line): Handle case of string literal with newline
727 in it in replacement text, which counts as continuing the
728 replacement text in GNU C.
729
730 2000-07-02 Gerd Moellmann <gerd@gnu.org>
731
732 * ebrowse.c (token_string): Add missing tokens.
733 (parm_list): Handle case of qualified pointers.
734
735 2000-06-23 Dave Love <fx@gnu.org>
736
737 * ebrowse.c: Move config.h before other includes (which may use
738 feature tests).
739
740 2000-06-14 Jim Meyering <meyering@lucent.com>
741
742 * grep-changelog: Fix typos in comments. Remove trailing blanks.
743
744 2000-06-11 Jason Rumney <jasonr@gnu.org>
745
746 * makefile.nt: Add targets for ebrowse.
747
748 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
749 compare filenames.
750
751 2000-06-06 Gerd Moellmann <gerd@gnu.org>
752
753 * ebrowse.c (ymalloc): Renamed from xmalloc.
754 (yrealloc): Renamed from xrealloc.
755
756 2000-05-21 Dave Love <fx@gnu.org>
757
758 * movemail.c: Include config.h, not ../src/config.h.
759 (Errmsg): Bump length.
760
761 * pop.c (ERROR_MAX): Increase to 160.
762
763 2000-05-04 Gerd Moellmann <gerd@gnu.org>
764
765 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
766
767 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
768
769 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]: Define
770 to semi-colon.
771 (FILENAME_EQ): New macro, for comparing file names.
772 (add_member_decl, add_global_decl, add_member_defn): Use
773 FILENAME_EQ.
774 (process_file): Don't assume that fread always reads as many bytes
775 as it was told to (DOS-style CR-LF text files fail this logic).
776 (open_file): Allocate enough space for path->path plus the file
777 name and the slash.
778
779 2000-04-19 Dave Love <fx@gnu.org>
780
781 * etags.c (Texinfo_functions): New function.
782 (lang_names): Install it.
783 (Texinfo_suffixes): New variable.
784
785 2000-04-19 Gerd Moellmann <gerd@gnu.org>
786
787 * ebrowse.c (xmalloc, xrealloc): Rewritten.
788 (declaration): Remove parameter IS_EXTERN.
789 (class_definition): Remove unused variable.
790
791 2000-04-09 Gerd Moellmann <gerd@gnu.org>
792
793 * Makefile.in (INSTALLABLES): Add ebrowse.
794 (ebrowse): New target.
795
796 * ebrowse.c: New file.
797
798 2000-03-29 Andreas Schwab <schwab@suse.de>
799
800 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
801
802 2000-03-02 Gerd Moellmann <gerd@gnu.org>
803
804 * etags.c (lisp_suffixes) Add `LSP'.
805
806 2000-02-10 Francesco Potorti` <pot@gnu.org>
807
808 * etags.c (iswhite): Redefined not to consider '\0' as white
809 space, and use it throughout in place of isspace, thus preventing a
810 potential signed char to int conversion problem.
811 (MSDOS): #undefine befere redefining
812
813 2000-02-04 Francesco Potorti` <pot@gnu.org>
814
815 * etags.c (many functions): Add prototypes.
816
817 2000-02-10 Dave Love <fx@gnu.org>
818
819 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
820 (erlang_func): Add `static' to definitions to keep pcc happy.
821
822 2000-01-31 Francesco Potorti` <pot@gnu.org>
823
824 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
825 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
826 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
827 (getenv, getcwd): Only declare them if necessary.
828 (EMACS_NAME): New constant macro.
829 (print_version): Use it.
830 (P_) [__STDC__]: Macro for defining function prototypes.
831
832 2000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
833
834 * etags.c [WINDOWSNT]: #include <direct.h>
835
836 2000-01-18 Martin Buchholz <martin@xemacs.org>
837
838 * etags.c (all functions): Made them static.
839 (all functions): Write prototypes.
840
841 2000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
842
843 * movemail.c (main): Improve error message if can't create lock file.
844
845 2000-01-28 Eric Hanchrow <offby1@blarg.net>
846
847 * emacsclient.c (socket_status): New function.
848 (main): if $LOGNAME or $USER exist and differ from our euid, look
849 for a socket based on the UID associated with the name.
850
851 2000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
852
853 * emacsclient.c: Add option -a EDITOR and environment variable
854 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
855
856 1999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us>
857
858 * movemail.c (popmail): Allow mailbox specifications of the
859 form `po:username:hostname'.
860
861 1999-11-19 Francesco Potorti` <pot@gnu.org>
862
863 * etags.c (_GNU_SOURCE): Define only if undefined.
864 (get_scheme): Declaration deleted.
865 (main): error was called with an integer as second arg, instead of
866 a char pointer.
867 (canonicalize_filename): Bug removed.
868
869 1999-11-18 Dave Love <d.love@dl.ac.uk>
870
871 * etags.c (C_entries): Rename label `intoken', avoiding K&R
872 lossage from name clash with macro.
873
874 1999-11-13 Gerd Moellmann <gerd@gnu.org>
875
876 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
877
878 1999-11-03 Gerd Moellmann <gerd@gnu.org>
879
880 * etags.c (print_help): Change email address to send bugs to.
881
882 1999-11-01 Francesco Potorti` <pot@gnu.org>>
883
884 * etags.c: Add suffix psw for PSWrap.
885 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
886 (Postscript_functions): Add code for PSWrap.
887 (Scheme_functions): Use local pointer and new get_tag function.
888 (get_tag): New name for old get_scheme.
889 (process_file): Do not free NULL when file does not exist.
890 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
891 (C_entries): Modifications that make --members tag even inside
892 typedefs and C nested structs (one level only).
893 (consider_token): Corrected a bug which prevented tagging of enum
894 constants.
895 (C_stab_entry): Added if, for, while, switch, return as
896 st_C_ignore. This makes it simpler to work when cblev!=0.
897
898 * etags.c (C_entries): tag member function declarations when
899 --declarations is used.
900
901 * etags.c (C_entries, consider_token): C++ `operator' now is
902 tagged in most cases.
903 As before, :: is not recognised if surrounded by spaces.
904
905 * etags.c (relative_filename): Account for DOS file names such
906 that is impossible to make one relative to another.
907
908 * etags.c (sym_type): New st_C_extern tag.
909 (gperf input): Use it for spotting external declarations.
910 (print_help): Document the new behaviour of --declarations.
911 (fvextern): New global variable.
912 (consider_token, C_entries): Use it.
913
914 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
915 (etags_getcwd): Remove test for WINDOWSNT.
916
917 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
918 foo.cgz, foo.cz, etc.
919
920 * etags.c (declarations): New global switch.
921 (longopts): Describe it.
922 (print_help): Document it.
923 (C_entries): Use it.
924 (process_file): Don't process a file twice.
925
926 * etags.c (Fortran_functions): No tags for "procedure".
927
928 1999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
929
930 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
931 non-zero, returns a pointer to where the extension begins; callers
932 changed.
933 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
934 were foo.c.gz.
935
936 1999-11-01 Francesco Potorti` <pot@gnu.org>
937
938 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
939 (fvdev): New constant foperator.
940 (consider_token): Use it to get "operator" in C++.
941 (C_entries): Extend length of operator@ function name.
942 (C_entries): Use foperator when necessary.
943
944 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
945
946 * etags.c (compressor): New struct for compressed files.
947 (get_compressor_from_suffix): New function.
948 (get_language_from_suffix): Use it. Also, semantics changed.
949 (process_file): Consider compressed files, close file.
950 (find_entries): Use different call arg for get_language_from_suffix,
951 don't close file.
952
953 * etags.c (main): Call free_tree.
954 (find_entries): Do not free curfile.
955 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
956 (prolog_pred, erlang_func, substitute): Cast strlen to int when
957 comparing.
958 (canonicalize_filename): Shut up compiler warning.
959 (Perl_functions): Make tag significant.
960
961 1999-11-01 Dave Love <d.love@dl.ac.uk>
962
963 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
964 (argument_type): New member at_icregexp.
965 (lc_trans): New global.
966 (main): Fill lc_trans. Process -c args.
967 (add_regex): New arg determining whether to use translation table.
968 (analyse_regex): New arg. Use it for add_regex.
969
970 1999-11-01 Francesco Potorti` <pot@gnu.org>
971
972 * etags.c (init): Cosmetic change: NULL --> '\0'.
973 (erlang_attribute): Bug corrected (uninitialized variable).
974 (filename_is_absolute): New function replaces absolutefn macro and
975 corrects a bug. All callers changed.
976 (canonicalize_filename): New function.
977 (process_file, etags_getcwd, absolute_dirname): Use it.
978 (relative_filename, absolute_filename): Removed var shadowing.
979 (C_entries, Pascal_functions): Add fake initializations to keep
980 compilers quiet.
981 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
982
983 * etags.c (xrnew): New macro. All callers of xrealloc changed.
984 (language): New typedef (was struct lang_entry).
985 (curlang): New global variable.
986 (node): typedef renamed from NODE.
987 (linebuffer): New typedef (was struct linebuffer).
988 (pattern): New typedef (was struct pattern). Some members added.
989 Now used as element of a linked list.
990 (patterns, num_patterns): Global variables deleted.
991 (p_head): New global variable.
992 (forced_lang): New global variable (replaces lang_func).
993 (get_language_from_name, get_language_from_interpreter,
994 get_language_from_suffix): Semantics changed. All callers changed.
995 (last_node): New global variable.
996 (free_tree, add_node, put_entries, total_size_of_entries): Change
997 name of local vars to avoid clashes with typedef node.
998 (number_len): Rewritten for elegance.
999 (token): New typedef replaces TOKEN.
1000 (analyse_regex, add_regex): Rewritten for new functionality.
1001 (free_patterns): New function called from main and add_regex.
1002 (initbuffer, readline_internal, readline, grow_linebuffer):
1003 Change name of local vars to avoid clashes with typedef
1004 linebuffer.
1005 (readline): Rewritten for new functionality.
1006
1007 * etags.c: (Scheme_suffixes): New suffix ".ss".
1008 (print_help): --globals is now used for more than C-type languages.
1009 (Perl_functions): Tag global variables ("my" and "local").
1010
1011 * etags.c (print_help): Some messages clarified.
1012 (LOOP_ON_INPUT_LINES): New macro.
1013 (just_read_file, Fortran_functions, Asm_labels, Perl_functions,
1014 Python_functions, Cobol_paragraphs, Pascal_functions,
1015 Lisp_functions, Postscript_functions, Scheme_functions,
1016 TeX_functions, Prolog_functions, Erlang_functions): Use it.
1017 (Cobol_paragraphs, Postscript_functions, TeX_functions,
1018 Prolog_functions, Erlang_functions): Use a local variable instead
1019 of the global variable dbp.
1020 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
1021 standard indentation.
1022
1023 * etags.c (Python_suffixes, lang_names, Python_functions): Python
1024 support.
1025 (skip_spaces, skip_non_spaces): Utility functions.
1026 (find_entries, takeprec, getit, Fortran_functions, Perl_functions,
1027 Python_functions, L_getit, Lisp_functions, Scheme_functions,
1028 prolog_pred, erlanf_func, erlang_attribute): Use them.
1029 (eat_white): Deleted.
1030
1031 * etags.c (CHAR, init): Keep into account non US-ASCII
1032 characters and compilers with default signed chars.
1033 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
1034 constructs.
1035
1036 * (C_stab_entry): "interface" in Java behaves like "class".
1037
1038 * etags.c: (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
1039 (main): Put interval syntax here.
1040 (add_regex): And remove it from here.
1041
1042 * etags.c (suggest_asking_for_help): Provide a
1043 meaningful help message with and without LONG_OPTIONS.
1044
1045 * etags.c: <io.h> [MSDOS]: Include it, don't include string.h.
1046 <stdlib.h, string.h>: Don't test MSDOS when including them.
1047 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
1048 (put_entries): Correctly use %ld instead of %d in printf.
1049
1050 * etags.c: <unistd.h> [HAVE_UNISTD_H]: Include conditionally, else
1051 declare getcwd if HAVE_GETCWD.
1052 (consider_token): Dead break instruction removed.
1053
1054 1999-10-19 Paul Eggert <eggert@twinsun.com>
1055
1056 Add support for large files. Merge glibc 2.1.2.
1057
1058 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
1059 movemail.c, pop.c:
1060 Do not include <stdlib.h>, as <config.h> does this now.
1061
1062 * b2m.c, emacsserver.c, etags.c, profile.c:
1063 Include <config.h> before any system include files.
1064
1065 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
1066 test-distrib.c:
1067 (read, write, open, close): Do not undef.
1068
1069 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
1070 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
1071
1072 * getopt.h: Adopt glibc 2.1.2.
1073
1074 1999-10-15 Dave Love <fx@gnu.org>
1075
1076 * Makefile.in (pop.o): Depend on config.h.
1077
1078 1999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1079
1080 * pop.c: Use "pop3" as the POP service name on all platforms,
1081 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
1082 has been the standard service name since RFC 1340 was published in
1083 July 1992, so I think it's safe to start using it by default.
1084
1085 1999-09-27 Dave Love <fx@gnu.org>
1086
1087 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
1088
1089 1999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
1090
1091 * make-docfile.c (scan_lisp_file): Fix previous changes;
1092 swallow CRLF like just CR or just LF.
1093
1094 1999-09-03 Richard Stallman <rms@gnu.org>
1095
1096 * make-docfile.c: Include config.h not ../src/config.h.
1097 (main, fopen, chdir): Add #undef.
1098 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
1099 (scan_lisp_file): Handle \r like \n.
1100
1101 1999-08-30 Andreas Schwab <schwab@gnu.org>
1102
1103 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
1104
1105 * emacsserver.c: Include <stdlib.h> if available. Don't declare
1106 errno if it's a macro.
1107
1108 * test-distrib.c: Include <unistd.h> if available.
1109
1110 1999-08-29 Richard Stallman <rms@gnu.org>
1111
1112 * emacsclient.c (print_help_and_exit): Mention --version.
1113
1114 1999-08-25 Richard M. Stallman <rms@gnu.org>
1115
1116 * emacsclient.c (decode_options): Update version output.
1117 (print_help_and_exit): Update bug report address.
1118
1119 1999-08-13 Richard M. Stallman <rms@gnu.org>
1120
1121 * emacsclient.c (main): Move the dynamic allocation of
1122 system_name outside of the SERVER_HOME_DIR conditional.
1123 * emacsserver.c (main): Likewise.
1124
1125 1999-08-10 Gerd Moellmann <gerd@gnu.org>
1126
1127 * grep-changelog: New.
1128 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
1129
1130 1999-07-12 Richard Stallman <rms@gnu.org>
1131
1132 * Version 20.4 released.
1133
1134 1999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
1135
1136 * Makefile.in (clean): Remove fns*.el.
1137
1138 1999-06-23 Dave Love <fx@gnu.org>
1139
1140 * etags.c (erlang_attribute): Fix undefined variable usage (after
1141 Potorti).
1142
1143 1999-05-2 Andrew Innes <andrewi@gnu.org>
1144
1145 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
1146 mapped to _chsize.
1147
1148 1999-04-29 Richard M. Stallman <rms@gnu.org>
1149
1150 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
1151
1152 1999-03-30 Dave Love <fx@gnu.org>
1153
1154 * sorted-doc.c (main): Split up tables. Modify the preamble
1155 somewhat.
1156
1157 1999-03-05 Geoff Voelker <voelker@cs.washington.edu>
1158
1159 * makefile.nt: Remove common multiple file compilation commands.
1160
1161 1999-02-26 Richard Stallman <rms@gnu.org>
1162
1163 * Version 20.4 released.
1164
1165 * Makefile.in (yow): Depend on epaths.h, not paths.h.
1166
1167 * yow.c: Refer to epaths.h.
1168
1169 1999-02-22 Simon Josefsson <jas@pdc.kth.se>
1170
1171 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
1172
1173 1999-01-27 Andrew Innes <andrewi@gnu.org>
1174
1175 * makefile.nt: Do make version comparison as strings.
1176
1177 1999-01-25 Richard Stallman <rms@gnu.org>
1178
1179 * emacsclient.c (xmalloc): Fix previous change.
1180
1181 1999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
1182
1183 * emacsclient.c (xmalloc): Declare to return long.
1184
1185 1999-01-22 Geoff Voelker <voelker@cs.washington.edu>
1186
1187 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
1188 the case of the drive letter.
1189
1190 1999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
1191
1192 * emacsserver.c (main): Eliminate arbitrary limit on
1193 length of system_name.
1194
1195 * emacsclient.c (main): Eliminate arbitrary limit on
1196 length of system_name.
1197 (xmalloc): Define unconditionally.
1198
1199 1999-01-12 Darrin B. Jewell <jewell@mit.edu>
1200
1201 * etags.c (relative_filename): Stop backward search at beginning
1202 of string, since non-Unix systems can have absolute paths with no
1203 initial slash.
1204
1205 1998-12-08 Geoff Voelker <voelker@cs.washington.edu>
1206
1207 * makefile.nt: Do string comparision of _NMAKE_VER.
1208
1209 1998-11-03 Theodore Jump <tjump@cais.com>
1210
1211 * makefile.nt: Compile multiple source files when possible.
1212
1213 1998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
1214
1215 * Makefile.in: Replace tabs with spaces
1216 when they might confuse some Make versions.
1217
1218 1998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
1219
1220 * emacsclient.c (main): Null-terminate system_name.
1221
1222 * emacsserver.c (main): Null-terminate system_name.
1223
1224 1998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1225
1226 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
1227 an error message from POP, mention that it's from POP, to
1228 distinguish it from local error messages.
1229
1230 1998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1231
1232 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
1233 order of messages downloaded from a POP server (e.g., if the
1234 server stores messages in mailboxes in reverse order).
1235
1236 1998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
1237
1238 * Version 20.3 released.
1239
1240 1998-08-11 Paul Eggert <eggert@twinsun.com>
1241
1242 * rcs2log: Update copyright date and bug report address.
1243 (initialize_fullname): Prefer getent if available.
1244
1245 1998-07-30 Paul Eggert <eggert@twinsun.com>
1246
1247 * lib-src/Makefile.in (REGEXPDEPS, regex.o):
1248 Prepend $(srcdir)/ to rule dependencies outside this dir.
1249
1250 1998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
1251
1252 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
1253
1254 1998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
1255
1256 * Makefile.in: Properly terminate a comment.
1257
1258 1998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
1259
1260 * movemail.c (sys_wait): Rename to wait.
1261
1262 * ntlib.h: Undefine _WINSOCKAPI_.
1263
1264 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
1265
1266 1998-05-30 Geoff Voelker <voelker@cs.washington.edu>
1267
1268 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
1269
1270 1998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
1271
1272 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
1273 all file i/o to be in binary mode. Include ntlib.h.
1274
1275 1998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
1276
1277 * make-docfile.c: Include <unistd.h> for chdir.
1278
1279 1998-04-25 Richard Stallman <rms@psilocin.gnu.org>
1280
1281 * etags.c (TEX_decode_env): Don't free the value getenv returns.
1282
1283 1998-04-17 Geoff Voelker <voelker@cs.washington.edu>
1284
1285 * makefile.nt (obj): Update with new files in src.
1286 (clean): Delete patch scratch files, optimized compilation dir.
1287
1288 1998-04-08 Dave Love <fx@gnu.org>
1289
1290 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
1291 Irix6, at least.
1292
1293 1998-04-06 Andreas Schwab <schwab@gnu.org>
1294
1295 Silence -Wimplicit:
1296 * movemail.c: Move cancelations up. Include <stdlib.h> if
1297 available.
1298 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
1299 (parse_header): Explicitly declare return type.
1300 * emacsserver.c: Include <unistd.h> if available.
1301 (main, handle_signals, perror_1, fatal_error): Explicitly declare
1302 return types. Add forward declarations.
1303 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
1304 Don't declare geteuid.
1305 (print_help_and_exit): Change return type to void. Forward
1306 declare it.
1307 * b2m.c: Include <stdlib.h> if available.
1308 (main): Explicitly declare return type.
1309
1310 1998-04-03 Richard Stallman <rms@delysid.gnu.org>
1311
1312 * etags.c (put_entries): Use %ld.
1313
1314 * b2m.c (fatal): Declare the arg.
1315
1316 1998-04-03 Richard Stallman <rms@psilocin.gnu.org>
1317
1318 * etags.c (put_entries): Use %ld.
1319
1320 * b2m.c (fatal): Declare the arg.
1321
1322 1998-03-26 Richard Stallman <rms@psilocin.gnu.org>
1323
1324 * pop.c (pop_getline): Renamed from getline.
1325
1326 1998-03-05 Richard Stallman <rms@psilocin.gnu.org>
1327
1328 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
1329 for the utilities.
1330
1331 1998-01-23 Dave Love <d.love@dl.ac.uk>
1332
1333 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
1334 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
1335 Always make named tags.
1336 (Fortran_functions): Grok BLOCK DATA.
1337
1338 1998-01-23 Andreas Schwab <schwab@gnu.org>
1339
1340 * movemail.c (main): Fix interwoven brace and cpp conditional
1341 nesting.
1342
1343 1997-12-04 Karl Heuer <kwzh@delysid.gnu.org>
1344
1345 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
1346 server to contain embedded nulls.
1347
1348 1997-12-03 Paul Eggert <eggert@delysid.gnu.org>
1349
1350 * movemail.c:
1351 (mbx_write) [MAIL_USE_POP]: Disable the code which quotes with a
1352 '>' any lines starting with "From " read from the POP server, but
1353 leave the code in place, wrapped in #ifdef
1354 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
1355 because it turns out that something is depending on it. Change
1356 suggested by Paul Eggert <eggert@twinsun.com>.
1357 Convert the character \037 (^_) at the beginning of a line into
1358 the character '^' followed by the character '_', because otherwise
1359 Emacs can't parse the resulting file as a valid BABYL file.
1360 Change suggested by Paul Eggert <eggert@twinsun.com>.
1361
1362 1997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1363
1364 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
1365 server to contain embedded nulls.
1366
1367 1997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1368
1369 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
1370 quotes with a '>' any lines starting with "From " read from the
1371 POP server, but leave the code in place, wrapped in #ifdef
1372 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
1373 because it turns out that something is depending on it. Change
1374 suggested by Paul Eggert <eggert@twinsun.com>.
1375
1376 Convert the character \037 (^_) at the beginning of a line into
1377 the character '^' followed by the character '_', because otherwise
1378 Emacs can't parse the resulting file as a valid BABYL file.
1379 Change suggested by Paul Eggert <eggert@twinsun.com>.
1380
1381 1997-11-22 Richard Stallman <rms@gnu.org>
1382
1383 * b2m.c: Include getopt.h.
1384 (main): Use getopt_long to handle --version and --help.
1385
1386 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
1387
1388 1997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1389
1390 * pop.c (fullwrite): Get rid of an extra call to write. Problem
1391 pointed out by Chiaki Ishikawa.
1392
1393 1997-10-16 Dave Love <d.love@dl.ac.uk>
1394
1395 * etags.c (L_getit): Always make named tags so that Emacs
1396 completion on symbols containing `:' etc. works.
1397 (get_scheme): Likewise.
1398
1399 1997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1400
1401 * pop.c: Use system header files instead of declaring C-library
1402 functions explicitly.
1403
1404 1997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1405
1406 * Version 20.2 released.
1407
1408 1997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1409
1410 * Version 20.1 released.
1411
1412 1997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
1413
1414 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
1415
1416 * ntlib.c (getpid): Delete function.
1417
1418 1997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1419
1420 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
1421
1422 1997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1423
1424 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
1425 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
1426
1427 1997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1428
1429 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
1430
1431 1997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
1432
1433 * profile.c (get_time): Cast arg to fprintf.
1434
1435 * hexl.c (main): Use %08lx instead of %08x in printf because the
1436 variable named addresses is long.
1437
1438 1997-08-08 Geoff Voelker <voelker@cs.washington.edu>
1439
1440 * makefile.nt (lisp): Update paths to lisp files that have moved.
1441
1442 1997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
1443
1444 * makefile.nt (ctags.obj): New target.
1445 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
1446
1447 * ntlib.h: Add includes.
1448 Undo definitions of crt routines from config.h.
1449
1450 1997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1451
1452 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
1453
1454 1997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1455
1456 * pop.c: Support auto-configuration of both Kerberos V4 and
1457 Kerberos V5 for movemail, including detection of V4 and V5 header
1458 files and libraries.
1459 Include <string.h> when STDC_HEADERS is defined, to get
1460 declarations of string functions.
1461 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
1462 V5 API rather than the old one.
1463 [KERBEROS] (socket_connection): Change a constant name from
1464 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
1465 with a constant in a header file.
1466
1467 * Makefile.in: Support auto-configuration of both Kerberos V4 and
1468 Kerberos V5 for movemail, including detection of V4 and V5 header
1469 files and libraries.
1470
1471 1997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1472
1473 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
1474
1475 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1476
1477 1997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1478
1479 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
1480
1481 1997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1482
1483 * movemail.c (rindex): Add declaration.
1484
1485 Tue Jul 1 01:09:07 1997 Geoff Voelker <voelker@cs.washington.edu>
1486
1487 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
1488 (movemail.exe): Depend upon and link with getopt files.
1489 (obj): Include new source files.
1490 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
1491 (lisp): Include new and reorganized elisp files.
1492
1493 1997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1494
1495 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
1496
1497 1997-06-25 Paul Eggert <eggert@twinsun.com>
1498
1499 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
1500
1501 1997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
1502
1503 * b2m.c (readline): Terminate buffer properly when EOF seen.
1504 Test for valid pointer before dereferencing it.
1505
1506 1997-05-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1507
1508 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
1509 defined inside etags.c if HAVE_CONFIG_H is defined.
1510
1511 1997-05-29 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1512
1513 * etags.c: (logical): Type name changed to bool.
1514 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
1515 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
1516 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
1517 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
1518 (longopts): New long options without short counterpart are
1519 globals, members, no-globals, no-members. Regexp options are now
1520 defined conditionally to ETAGS_REGEXPS.
1521 (print_help): Updated.
1522
1523 1997-05-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1524
1525 * etags.c (C_entries): Use "." instead of "::" for Java.
1526 (consider_token): is_func renamed to is_func_or_var.
1527 (C_entries): is_func renamed to funorvar.
1528 (C_entries): Initialise tok.named.
1529 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
1530 get rid of "import", "package" and "friend".
1531 (fvdef): Renamed from funcdef. Also some constants renamed. All
1532 users changed.
1533 (C_entries): Make separate tags for variables separated by comma.
1534 (globals, members): New flags.
1535 (main, C_entries): Use them.
1536 (make_C_tag, C_entries): Make tok a global variable.
1537
1538 1997-05-16 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1539
1540 * etags.c (funcdef): New vignore constant.
1541 (consider_token, C_entries): Use it to tag global variables.
1542 (print_help): Update for global variables.
1543 (consider_token, C_entries): Set the len member of token_name.
1544 (prolog_pred): Cleanup according to GNU coding standards.
1545 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
1546 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
1547
1548 1997-05-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1549
1550 * etags.c (CHARS, CHAR): New constant and macro.
1551 (iswhite, begtoken, intoken, endtoken): Use them.
1552 (notinname, _nin, nonam): New macro, array, string.
1553 (init): Cleanup and init _nin.
1554 (new_pfnote): New function.
1555 (make_C_tag) [traditional_tag_style]: Use it.
1556 (traditional_tag_style): Costant set to TRUE for now.
1557
1558 1997-05-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1559
1560 * etags.c (C_entries, Pascal_functions): Cleanup.
1561 (TeX_functions): NULL as a function arg needs a cast.
1562 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
1563
1564 1997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1565
1566 * etags.c (TeX_functions): Cleaned up.
1567 (tex_getit): Removed.
1568
1569 1997-05-13 Paul Eggert <eggert@twinsun.com>
1570
1571 * rcs2log (files): When computing arguments automatically, ignore
1572 non-files within the RCS subdirectory.
1573
1574 1997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1575
1576 * etags.c (C_JAVA): New #define.
1577 (Cjava_suffixes): .java is Java.
1578 (Cjava_entries): New function.
1579 (lang_names): Add Java.
1580 (sym_type): Add st_C_javastruct for Java.
1581 (C_stab_entry): Add `extends' and `implements' keywords.
1582 (consider_token, C_entries): Recognise Java structures.
1583
1584 1997-05-12 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1585
1586 * etags.c: (Cplusplus_suffixes): .pdb is Postscript with C syntax.
1587 (Postscript_suffixes): .ps is Postscript.
1588 (lang_names): Add Postscript.
1589 (Postscript_functions): New function.
1590 (TEX_decode_env): Close minor memory leak.
1591 (just_read_file): Correct the char number of the tag.
1592
1593 1997-05-11 Paul Eggert <eggert@twinsun.com>
1594
1595 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
1596 Don't prepend $nl since this causes some shells to generate the
1597 empty string when IFS is $nl.
1598 (printlogline): Use SOH (octal code 1), not CR, since some
1599 PC-based shells mishandle CR.
1600 (initialize_fullname): Set NIS_PATH to the empty string before invoking
1601 nismatch, in case it's set to some nonstandard value.
1602
1603 1997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1604
1605 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
1606 read in separate blocks.
1607
1608 1997-04-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1609
1610 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
1611 (struct linebuffer): New member `len' is the length of the string.
1612 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
1613 Use it instead of strlen.
1614 (TEX_getit): Declare and define unconditionally as static.
1615 (TeX_functions): Use if instead of #if TeX_named_tokens.
1616 (add_regex): Set RE_INTERVALS flag for regex compilation.
1617 (substitute): Code cleanup.
1618 (readline_internal): Code cleanup, set new member `len'.
1619 (readline): Bug corrected.
1620
1621 1997-04-23 Geoff Voelker <voelker@cs.washington.edu>
1622
1623 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
1624 (obj): Change references of nt*.c files to w32*.c files.
1625
1626 1997-04-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1627
1628 * etags.c (xnew): Add support for debugging with chkmalloc.
1629 (error): Use this instead of printf whenever possible.
1630 (main): Only call xnew after having initialised progname.
1631 (substitute): Bad memory corruption error corrected.
1632
1633 1997-04-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1634
1635 * etags.c (add_regex): Undo previous change.
1636 (relative_filename): Small memory leak closed.
1637 (absolute_filename): Cleaned up the code, possibly closing a bug.
1638 (absolute_dirname): Always return a newly allocated string.
1639
1640 1997-03-21 Paul Eggert <eggert@twinsun.com>
1641
1642 * rcs2log (files): Ignore files in RCS directory whose names are
1643 of the form ,*, or *_; they are probably RCS lock files.
1644 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
1645 they are used by rcsfreeze.
1646
1647 1997-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1648
1649 * etags.c (add_regex): reset *putbuf before using it.
1650
1651 1997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1652
1653 * movemail.c (popmail): Remove some unnecessary function
1654 declarations.
1655 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
1656 into pop_retr, there's no reason to pass in mbx_write, and the
1657 file argument can be declared FILE * explicitly. This fixes a
1658 compilation problem on systems with 64-bit pointers.
1659
1660 1997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1661
1662 * movemail.c: Delete duplicate inclusion of fcntl.h
1663 and duplicate #undefs of open, read, write, close.
1664
1665 1997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1666
1667 * movemail.c (main): Do not display "[POP-password]" in the usage
1668 message when movemail is compiled without POP support.
1669 (main, popmail): Add the optional "-p" argument, which causes
1670 movemail to leave mail in the inbox after copying it into the
1671 output file.
1672
1673 * Makefile.in (movemail): Link with getopt.
1674
1675 1997-01-20 Paul Eggert <eggert@twinsun.com>
1676
1677 * rcs2log: (--help, --version): New options, per GNU coding standards.
1678 (Copyright, Help, Id): New variables, for above.
1679 (rlog): Use -q option with cvs log, to avoid useless chatter.
1680
1681 Treat logs of "Initial revision" (RCS) or "file F was initially added
1682 on branch B." (CVS) as if they said "New file.", for consistency with
1683 change log entries.
1684
1685 1997-01-01 Paul Eggert <eggert@twinsun.com>
1686
1687 * vcdiff (PATH): Add /usr/xpg4/bin,
1688 where XPG4 SCCS hangs out in Solaris 2.5.
1689 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
1690
1691 1996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1692
1693 * etags.c (streq, strneq): Use == NULL rather than !.
1694
1695 1996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
1696
1697 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
1698 (movemail): Use LIBMAIL, to link against -lmail.
1699
1700 * movemail.c: Include maillock.h (conditionally).
1701 Remove a redundant inclusion of <stdio.h>.
1702 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
1703 (main): Add variable spool_name.
1704 Support the usage of maillock and mailunlock to
1705 lock and unlock mailboxes.
1706 (mail_spool_name): New function.
1707
1708 * movemail.c: Fix an uninitialized variable which could cause
1709 movemail to exit with an error status incorrectly on systems which
1710 use lock files rather than a system locking function to lock
1711 mailboxes.
1712
1713 1996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1714
1715 * pop.c (socket_connection): Free realhost after using it.
1716
1717 1996-12-04 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1718
1719 * etags.c (C_entries): Test tok.valid. This handles some
1720 particular cases involving function declarations that failed.
1721
1722 1996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1723
1724 * pop.c (socket_connection):
1725 gethostbyname may return a pointer to static data.
1726 krb_realmofhost can clobber it. So copy it.
1727
1728 1996-11-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1729
1730 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
1731 must cast it to (char *) because we have no prototypes.
1732 (make_C_tag): Macro deleted, new function.
1733 (C_entries): Calls to make_C_tag macro changed to call function.
1734
1735 1996-11-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1736
1737 * etags.c (grow_linebuffer): New function.
1738 (GROW_LINEBUFFER): Macro deleted. All callers changed.
1739 (make_tag): Macro renamed to make_C_tag. All callers changed.
1740 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
1741 (Prolog_functions): prolog_skip_comment was called with wrong
1742 number of arguments.
1743 (xrealloc): fatal was called with wrong number of arguments
1744
1745 1996-11-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1746
1747 * etags.c (relative_filename): Bug corrected.
1748 (etags_getcwd): Avoid warning of unused variable.
1749 (C_entries, consider_token): Added support for enum labels.
1750
1751 1996-11-03 Paul Eggert <eggert@twinsun.com>
1752
1753 * rcs2log: When processing cvs log output, remove `Attic/' from
1754 repository file names.
1755
1756 1996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
1757
1758 * emacsserver.c: Fix 1996-09-02 change.
1759
1760 1996-10-12 Paul Eggert <eggert@twinsun.com>
1761
1762 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
1763 option', since CVS says 'invalid option'.
1764 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
1765 revisions, since some hosts reject 1970-01-01 when east of UTC.
1766 (date): Remove.
1767
1768 1996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1769
1770 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
1771
1772 1996-10-02 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1773
1774 * etags.c (print_version): Print copyright info.
1775
1776 * etags.c (print_help): Print the bug reporting address.
1777 (main): Use return as the last instruction, instead of exit.
1778
1779 * etags.c (main): Don't open the tags file in cxref mode.
1780
1781 1996-09-29 Dave Love <d.love@dl.ac.uk>
1782
1783 * rcs2log (date): Make default format acceptable to CVS post v1.8
1784 as well as earlier CVSs and RCS.
1785
1786 1996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1787
1788 * movemail.c (main): If the lock call fails with EBUSY or
1789 EAGAIN, retry a few times.
1790
1791 1996-09-25 Paul Eggert <eggert@twinsun.com>
1792
1793 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
1794 whether to append -zLT.
1795
1796 1996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
1797
1798 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
1799 * emacsclient.c, movemail.c: Likewise.
1800
1801 1996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1802
1803 * emacsclient.c (longopts): Change nowait to no-wait.
1804 (print_help_and_exit): Fix option name; upcase metavars.
1805
1806 1996-09-06 Erik Naggum <erik@naggum.no>
1807
1808 * emacsserver.c (main): Declare `fromlen' as size_t.
1809
1810 1996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
1811
1812 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
1813
1814 1996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1815
1816 * emacsclient.c (quote_file_name): Quote with &, not \.
1817 Quote `-' only at start of file name. Terminate the value string.
1818
1819 * emacsserver.c: Include signal.h properly;
1820 delete the duplicate includes for it.
1821
1822 * emacsserver.c: On fatal signal, delete socket-file:
1823 * emacsserver.c: Include signal.h.
1824 (xmalloc, fatal, error): New functions.
1825 (delete_socket, handle_signals): New functions.
1826 (progname, socket_name): New variables.
1827 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
1828
1829 1996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1830
1831 * emacsclient.c (quote_file_name): New function.
1832 (main, both versions): Use quote_file_name.
1833 (decode_options): Don't return a value.
1834 (main, both versions): Use optind.
1835 Don't check for -nowait here.
1836
1837 * emacsclient.c (decode_options): New function.
1838 (main, both versions): Call decode_options.
1839 (print_help_and_exit): New function.
1840 (VERSION): New macro.
1841
1842 * Makefile.in (emacsclient): Link with getopt.
1843 Add -DVERSION so emacsclient knows its version number.
1844
1845 1996-08-31 Geoff Voelker <voelker@cs.washington.edu>
1846
1847 * makefile.nt (lisp): Include dos-nt.elc.
1848
1849 1996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1850
1851 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
1852
1853 1996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1854
1855 * emacsclient.c (both versions): Handle -nowait and --nowait
1856 by sending data to the server.
1857
1858 1996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1859
1860 * Makefile.in (INSTALL_STRIP): New variable.
1861 (${archlibdir}): Use INSTALL_STRIP.
1862
1863 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
1864 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
1865
1866 * pop.c: Reverse conditional in previous change.
1867
1868 1996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1869
1870 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
1871
1872 1996-08-24 Paul Eggert <eggert@twinsun.com>
1873
1874 * rcs2log: Use ISO 8601 date format, with time zone appended
1875 if change-log-time-zone-rule is non-nil, instead of
1876 traditional Unix date format.
1877
1878 (datearg): When computing default from ChangeLog, handle ISO format
1879 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
1880 Don't worry about hh:mm:ss since the resolution is now by day.
1881 Use emtpy datearg, not empty rlog_options, to decide whether to pass
1882 "$datearg" option to $rlog.
1883 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
1884 (month_data): Remove `mo'; no longer needed.
1885 (rlog_options): Use -zLT for localltime output, if `rlog' supports it.
1886
1887 Match `revision' line of rlog output more accurately.
1888
1889 Add -c, -v options.
1890
1891 1996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
1892
1893 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
1894
1895 1996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1896
1897 * Version 19.33 released.
1898
1899 1996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1900
1901 * Version 19.32 released.
1902
1903 1996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
1904
1905 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
1906 computing character positions in source files.
1907
1908 1996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
1909
1910 * makefile.nt (clean): Use OBJDIR macro.
1911
1912 1996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
1913
1914 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
1915
1916 1996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
1917
1918 * cvtmail.c, sorted-doc.c, yow.c: [__GNU_LIBRARY__]: Use <string.h>.
1919 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
1920 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
1921
1922 1996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
1923
1924 * ntlib.h: Correct return type of getwd.
1925 * ntlib.c (getwd): Correct return type.
1926
1927 1996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1928
1929 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
1930 to infile.
1931
1932 1996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
1933
1934 * makefile.nt: Remove all references to wakeup.
1935
1936 1996-06-28 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1937
1938 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
1939 explicit, mutable, typename.
1940
1941 1996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1942
1943 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
1944 streams, one for sending and one for reading the reply.
1945
1946 1996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1947
1948 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
1949 (wakeup): Target deleted.
1950 (UTILITIES): Delete wakeup and timer.
1951
1952 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
1953
1954 1996-06-11 Geoff Voelker <voelker@cs.washington.edu>
1955
1956 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
1957 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
1958
1959 1996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1960
1961 * etags.c (main): Copy cwd when appending slash.
1962
1963 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
1964
1965 * Version 19.31 released.
1966
1967 1996-05-17 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1968
1969 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
1970 (Pascal_functions): Increase linecharno by the correct number of
1971 chars, inline the GET_NEW_LINE macro and delete its definition.
1972
1973 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
1974
1975 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
1976
1977 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
1978
1979 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
1980 (movemail.exe, fakemail.exe): Now built under Win32.o
1981
1982 * ntlib.c: Include ntlib.h.
1983 (nt_sleep): Rename to sleep.
1984 (getwd): Return directory.
1985 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
1986 sys_ctime, sys_fopen): New functions.
1987
1988 * ntlib.h: New file.
1989
1990 1996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
1991
1992 * pop.c (SEND, RECV): Renamed from send, recv.
1993 (pop_open, pop_trash): Make the trash_started code unconditional.
1994 (socket_connection): Delete casts to void.
1995
1996 1996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
1997
1998 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
1999 copied from lisp.h.
2000
2001 1996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
2002
2003 * fakemail.c [WINDOWSNT]: Include ntlib.h.
2004
2005 * hexl.c [DOSNT]: Include fcntl.h.
2006 [WINDOWSNT]: Include io.h.
2007 (main) [MSDOS]: Change conditional to DOS_NT.
2008
2009 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
2010 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
2011 [WINDOWSNT]: Include locking.h.
2012 (main): Update usage message. Use IS_DIRECTORY_SEP.
2013 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
2014 (main) [WINDOWSNT]: Invoke locking instead of flock.
2015 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
2016 (main) [MAIL_USE_POP]: Pass password to popmail if used.
2017 Include winsock.h; don't include unix inet headers.
2018 (popmail): Add password argument and pass it to pop_open.
2019 Open output file in binary mode.
2020
2021 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
2022 Macro SOCKET_ERROR undefined.
2023 Don't declare h_errno.
2024 [!WINDOWSNT]: Define macros recv and send.
2025 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
2026 (pop_open) [WINDOWSNT]: Initialize trash_started.
2027 (have_winsock) [WINDOWSNT]: New variable.
2028 (socket_connection) [WINDOWSNT]: Initialize winsock.
2029 (socket_connection): Use closesocket instead of close.
2030 (getline): Use recv instead of read.
2031 (fullwrite): Use send instead of write.
2032 (pop_trash): Use closesocket instead of close.
2033 (pop_trash) [WINDOWSNT]: Cleanup winsock.
2034 Check if being called recursively by sendline.
2035
2036 * pop.h (struct _popserver): New field trash_started.
2037
2038 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
2039
2040 1996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2041
2042 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
2043
2044 1996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2045
2046 * etags.c [WINDOWSNT]: Include io.h.
2047
2048 1996-04-10 Geoff Voelker <voelker@cs.washington.edu>
2049
2050 * makefile.nt (CTAGSOBJ): Compile with regexp support.
2051
2052 1996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
2053
2054 * hexl.c [DJGPP v2]: Include io.h.
2055 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
2056
2057 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
2058 DJGPP v2.
2059
2060 1996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2061
2062 * etags.c (absolute_filename): Use absolutefn.
2063
2064 1996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
2065
2066 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
2067 letter isn't an alphabetic character.
2068 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
2069 (process_file) [DOS_NT]: Convert all slashes to forward style.
2070 (absolute_filename) [DOS_NT]: Emit error message for relative
2071 paths with a drive letter.
2072 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
2073 DOS/NT drive letters which try to reference the parent of the root.
2074 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
2075
2076 1996-03-27 Geoff Voelker <voelker@cs.washington.edu>
2077
2078 * makefile.nt: Change uses of del to $(DEL).
2079
2080 1996-03-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2081
2082 * etags.c (just_read_file): Reset lineno and charno on entry.
2083
2084 1996-03-15 Anders Lindgren <andersl@csd.uu.se>
2085
2086 * etags.c: Prolog language totaly rewritten.
2087 (Prolog_functions): Rewritten from scratch.
2088 (skip_comment, prolog_getit): Removed.
2089 (prolog_skip_comment): New function, like old skip_comment.
2090 (prolog_pred, prolog_atom, prolog_white): New functions.
2091 (erlang_func, erlang_attributes): Forward declarations added.
2092 (erlang_atom): Check if backslash ends line inside quoted atom.
2093
2094 1996-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2095
2096 * etags.c (absolutefn): DOS_NT version corrected.
2097 (main): Append "/" to the dir name only if not already there.
2098 (print_help): Explain the absolute/relative file name issue.
2099
2100 1996-03-08 Anders Lindgren <andersl@csd.uu.se>
2101
2102 * etags.c: New Languange Erlang added.
2103 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom,
2104 erlang_white): New functions.
2105 (Erlang_suffixes): New suffix list.
2106 (lang_names): Erlang entry added.
2107 (prolog_getit): Accepts headers spanning several lines.
2108 Always name tags.
2109 (Prolog_functions): Removed incorrect compensation for
2110 newline characters.
2111 (readline_internal): Zero-terminate last line.
2112
2113 1996-03-20 Mike Long <mike.long@analog.com>
2114
2115 * b2m.c (main): Initialize progname variable before using it.
2116 Quote `username' in From_ header.
2117
2118 1996-03-18 Geoff Voelker <voelker@cs.washington.edu>
2119
2120 * ntlib.c (getpid): New function.
2121
2122 1996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2123
2124 * emacsclient.c (main, both definitions):
2125 Print a newline for normal termination.
2126
2127 1996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
2128
2129 * tcp.c (main): Convert port to network byte order.
2130
2131 1996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
2132
2133 * pop.c (pop_retrieve, getline): Avoid type clashes.
2134
2135 1996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
2136
2137 * etags.c (enum sym_type, anonymous enum): Delete final comma.
2138
2139 1996-01-15 Paul Eggert <eggert@twinsun.com>
2140
2141 * rcs2log (initialize_fullname): Add support for NIS+.
2142 (hostname): Fully qualify the default hostname with the domainname
2143 if the hostname lacks a `.'.
2144
2145 1996-01-15 Paul Eggert <eggert@twinsun.com>
2146
2147 * rcs2log (initialize_fullname): Add support for NIS+.
2148 (hostname): Fully qualify the default hostname with the domainname
2149 if the hostname lacks a `.'.
2150
2151 1996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
2152
2153 * etags.c (consider_token): Fix typo in expression.
2154
2155 1996-01-04 Paul Eggert <eggert@twinsun.com>
2156
2157 * etags.c (substitute): Fix spelling in message.
2158
2159 1996-01-03 George V. Reilly <georger@microcrafts.com>
2160
2161 * makefile.nt (etags, ctags): Compile with regexp support.
2162 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
2163 subdirectory exists before compiling.
2164
2165 1996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
2166
2167 * emacsserver.c (main): Do chmod based on existing permission.
2168
2169 1995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2170
2171 * Makefile.in (install): Turn on read/execute permission.
2172
2173 1995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2174
2175 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
2176 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
2177
2178 1995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2179
2180 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
2181
2182 1995-12-07 Francesco Potorti` <pot@cnuce.cnr.it>
2183
2184 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
2185 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
2186 get_scheme, prolog_getit): Name the tag in ctags mode.
2187 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
2188 (Perl_interpreters): Accept "@PERL@" as an interpreter.
2189 (suggest_asking_for_help): New function.
2190 (main, get_language_from_name): Use suggest_asking_for_help.
2191 (main): Let get_language_from_name make language existence check.
2192 (streq, strneq): Check the arguments #if DEBUG.
2193
2194 1995-12-06 Francesco Potorti` <pot@cnuce.cnr.it>
2195
2196 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
2197 (gperf): Added keywords for Objective C and GNU macros.
2198 (sym_type): Added values to account for Objective C and GNU macros.
2199 (begtk): The '@' character can start a token.
2200 (objdef, methodlen, objtag): New variables for Objective C.
2201 (consider_token, C_entries): Added code for Objective C.
2202 (plain_C_suffixes): Add .m and .lm for Objective C.
2203 (Yacc_suffixes): Add .ym for Objective yacc.
2204 (GROW_LINEBUFFER): New macro.
2205 (consider_token, C_entries, Pascal_functions): Use the new macro.
2206 (consider_token): Take one more argument. Caller changed.
2207 (consider_token): Use the hashing function to spot GNU macros.
2208 (C_entries): Consider // as a comment start even in plain C for
2209 the sake of Objective C parsing.
2210
2211 1995-12-04 Francesco Potorti` <pot@cnuce.cnr.it>
2212
2213 * Makefile.in (ctags): depend on etags only for simplicity;
2214 compile with regexp support enabled.
2215
2216 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2217
2218 * Version 19.30 released.
2219
2220 1995-11-22 Geoff Voelker <voelker@cs.washington.edu>
2221
2222 * makefile.nt (DOC, clean): Don't use switches to del not
2223 supported by Windows 95.
2224
2225 1995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2226
2227 * Makefile.in (regex.o): Depend on ../src/config.h.
2228
2229 1995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2230
2231 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
2232 (LOADLIBES): Use LIB_STANDARD.
2233
2234 1995-11-07 Kevin Gallo <kgallo@microsoft.com>
2235
2236 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
2237 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
2238 Windows 95 conditional.
2239
2240 1995-11-06 Francesco Potorti` (pot@cnuce.cnr.it)
2241
2242 * etags.c (get_lang_from_name, get_lang_from_interpreter,
2243 get_lang_from_suffix): New functions.
2244 (get_language): Function deleted.
2245 (lang_entry): Two members added to struct.
2246 (lang_names): Reflect the new layout of lang_entry.
2247 (print_language_names, main, find_entries): Use the new functions.
2248 (find_entries): Look at the first line for #! if no language.
2249 (C_entries): Invalidate the token when funcdef is reset.
2250 (Perl_functions): New function.
2251 (lang_suffixes): .pl and .pm are Perl suffixes.
2252
2253 1995-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
2254
2255 * etags.c (lowcase): Use the standard tolower function.
2256 (substitute): Remove some wrong and some useless code related with
2257 escape `\` character in regexp replacement string.
2258 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
2259 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
2260 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
2261 .prolog for prolog (.pl removed).
2262 (massage_name, etags_getcwd): Use lowcase instead of tolower.
2263 (C_entries, find_entries): Added comments about memory leakage.
2264 (add_node): Dead code removed.
2265
2266 1995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2267
2268 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
2269 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
2270
2271 1995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2272
2273 * test-distrib.c: Add #undef for open, close, read, write.
2274
2275 1995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2276
2277 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
2278 [! O_RDONLY]: Define it to zero.
2279 (main): Use O_RDONLY instead of explicit zero.
2280
2281 1995-08-17 Francesco Potorti` (pot@cnuce.cnr.it)
2282
2283 * etags.c (Pascal_functions): Close comment bug corrected.
2284 (add_node): Correctly compare node file names.
2285 (Pascal_functions): Correctly allocate and free memory for tline.
2286 (pfnote): Put the definition of fp in the innermost block.
2287 (NODE): `named' member removed.
2288 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
2289 use the `named' member, check whether `name' is NULL instead.
2290 (pfnote): `named' argument removed, all callers changed.
2291 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
2292 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
2293 removed from pfnote call, some code cleanup.
2294 (relative_filename): Free temporary space allocated by concat.
2295
2296 1995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2297
2298 * Makefile.in (getdate.c): New target.
2299 (getdate.o): Just compile getdate.c.
2300
2301 1995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
2302
2303 * fakemail.c (xrealloc): Change cast to match return type.
2304
2305 1995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2306
2307 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
2308
2309 1995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2310
2311 * movemail.c (main): Fix previous change.
2312 Add error check for empty OUTNAME.
2313
2314 1995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2315
2316 * movemail.c (main): Mention lock file name in error message.
2317
2318 1995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2319
2320 * profile.c (gettimeofday): New function, defined if necessary.
2321
2322 1995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2323
2324 * Makefile.in: Renamed from Makefile.in.in.
2325 (distclean): Delete Makefile.c, not Makefile.in.
2326
2327 1995-07-17 Michael Shields <shields@tembel.org>
2328
2329 * Makefile.in.in (tags): Synonym for `TAGS'.
2330
2331 1995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2332
2333 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
2334 configure has already set $(INSTALL) to the proper relative path.
2335
2336 1995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
2337
2338 * etags.c (plain_C_entries): new function.
2339 (lowcase): new macro.
2340 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
2341 (lang_suffixes): new suffix ".pc" for Pro*C files.
2342 (consider_token): don't tag all tokens beginning with DEFUN & Co..
2343 (tail): look for the end of the token when comparing.
2344 (takeprec): since now tail behaves differently, use strneq.
2345
2346 1995-07-08 Paul Eggert <eggert@twinsun.com>
2347
2348 * rcs2log (datearg): Separate date from time with comma, not space,
2349 to work around CVS 1.5 bug.
2350 (CVSROOT): Don't abort when unset if repository is absolute.
2351
2352 1995-07-07 Paul Eggert <eggert@twinsun.com>
2353
2354 * rcs-checkin, rcs2log, vcdiff:
2355 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
2356 that interpret `#! /' as a 4-byte magic number.
2357
2358 1995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
2359
2360 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
2361 mailbox with "po:mailbox", the mailbox is everything after the
2362 "po:" prefix.
2363
2364 1995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2365
2366 * emacsserver.c: Make all error messages start with `Error: '.
2367 (fatal_error, perror_1): New functions, use throughout.
2368
2369 1995-06-28 Paul Eggert <eggert@twinsun.com>
2370
2371 * rcs2log (CVSROOT, repository):
2372 Allow remote repositories a la CVS 1.4.
2373
2374 1995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
2375
2376 * etags.c (plain_C_entries): new function.
2377 (lowcase): new macro.
2378 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
2379 (lang_suffixes): new suffix ".pc" for Pro*C files.
2380 (consider_token): don't tag all tokens beginning with DEFUN & Co..
2381 (tail): look for the end of the token when comparing.
2382 (takeprec): since now tail behaves differently, use strneq.
2383
2384 1995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2385
2386 * movemail.c (main): Add newline in usage message.
2387
2388 1995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2389
2390 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
2391
2392 1995-06-21 Francesco Potorti` (pot@cnuce.cnr.it)
2393
2394 * etags.c (find_entries): Rewind before rereading the input file.
2395
2396 1995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2397
2398 * Version 19.29 released.
2399
2400 * make-docfile.c (main) [MSDOS]: Do set _fmode.
2401 This undoes part of the previous change.
2402
2403 1995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2404
2405 * make-docfile.c (main): On MSDOS, don't change stdout
2406 to binary, and insist on an -o option.
2407
2408 1995-06-13 Geoff Voelker <voelker@cs.washington.edu>
2409
2410 * etags.c (process_file,absolute_filename): Handle filenames
2411 starting with a drive letter.
2412
2413 * makefile.nt (install): Copy wakeup.exe properly.
2414
2415 1995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
2416
2417 * make-docfile.c [MSDOS]: #undef chdir.
2418
2419 1995-06-04 Paul Eggert <eggert@twinsun.com>
2420
2421 * rcs2log (output_authors): Allow ':' in time zone,
2422 as per ISO 8601 and RCS 5.6.8 beta.
2423
2424 1995-05-29 Francesco Potorti` (pot@cnuce.cnr.it)
2425
2426 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
2427 compatibility problems.
2428
2429 1995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
2430
2431 * etags.c (etags_getcwd): Don't use #elif.
2432 Have just one function body.
2433
2434 1995-05-25 Geoff Voelker <voelker@cs.washington.edu>
2435
2436 * makefile.nt (LIBS): Use BASE_LIBS.
2437 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
2438 upon LIBS.
2439 (DOC): Use del instead of rm.
2440 (DOC) [WINDOWS95]: Use DOC.
2441 (clean): Handle MSVC aux files.
2442 (config.h,paths.h): Use $(CP) instead of cp.
2443 (config.h): Use $(CONFIG_H)
2444 (make-docfile.obj): Depend upon config.h.
2445 Clean up comments.
2446
2447 1995-05-23 Francesco Potorti` (pot@cnuce.cnr.it)
2448
2449 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
2450 former gives the true path even in the presence of simlinks.
2451
2452 1995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2453
2454 * movemail.c (main): Increase lock timeout to five minutes.
2455
2456 1995-05-06 Geoff Voelker <voelker@cs.washington.edu>
2457
2458 * makefile.nt (obj): Use .c files.
2459
2460 1995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2461
2462 * make-docfile.c: Include config.h.
2463 (NO_SHORTNAMES): New definition.
2464 (xmalloc): Return long *.
2465
2466 * etags.c (C_entries): Cast result of xrealloc.
2467 (xmalloc, xrealloc): Declare them to return long *.
2468
2469 * b2m.c (xmalloc, xrealloc): Declare them long *.
2470
2471 * movemail.c (xmalloc): Declare it to return long *.
2472
2473 1995-04-30 Paul Eggert <eggert@twinsun.com>
2474
2475 * rcs2log (datearg): If rlog options are specified explicitly,
2476 omit the implicit '-d>DATE' option.
2477 (repository, rlog): Allow absolute paths to CVS repositories.
2478 Look only at the first line of CVS/Repository.
2479
2480 1995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
2481
2482 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
2483 realclean.
2484
2485 1995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2486
2487 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
2488 Alternative (empty) definitions.
2489
2490 1995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2491
2492 * emacsclient.c (main): Add argv[0] to an error message.
2493
2494 1995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
2495
2496 * emacsclient.c (main): Improve error handling.
2497 * cvtmail.c (main, skip_to_lf): Improve error handling.
2498 (sysfail): New function.
2499
2500 * b2m.c (main): Check for trailing ", " before trying to delete it.
2501
2502 1995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2503
2504 * Makefile.in.in (all): Build test-distrib and make-docfile.
2505
2506 * make-docfile.c (scan_c_file): At end, restore file name last char
2507 to its original value.
2508
2509 1995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2510
2511 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
2512
2513 1995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2514
2515 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
2516 (alloca.o, regex.o): Use BASE_CFLAGS.
2517
2518 1995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2519
2520 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
2521
2522 1995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
2523
2524 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
2525 (SOURCES, distclean): Removed obsolete references to aixcc.
2526
2527 1995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2528
2529 * aixcc.lex: File deleted--surely obsolete now.
2530
2531 1995-03-23 Paul Eggert <eggert@twinsun.com>
2532
2533 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
2534 portability to mawk and nawk.
2535
2536 1995-03-21 Paul Eggert <eggert@twinsun.com>
2537
2538 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
2539 -u "login<tab>fullname<tab>mailaddr".
2540
2541 1995-03-21 Paul Eggert <eggert@twinsun.com>
2542
2543 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
2544 replaces the (now obsolescent) -n login fullname mailaddr option.
2545 Add -R option for recursive rlog.
2546 (AWK): New environment variable (default `awk') for awk program name.
2547 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
2548 Quote authors and fullnames correctly.
2549 Don't omit path from repository root when logging CVS files.
2550
2551 1995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2552
2553 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
2554 even if HAVE_SYSVIPC.
2555 * emacsclient.c (main): Use getcwd if not BSD.
2556
2557 1995-03-13 Francesco Potorti` (pot@cnuce.cnr.it)
2558
2559 * etags.c (process_file): free (filename) after using it.
2560 (readline_internal): Do not access the char before start of line.
2561
2562 1995-02-22 Francesco Potorti` (pot@cnuce.cnr.it)
2563
2564 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
2565 savetok.valid. Mark token as valid when it is initialised.
2566 (make_tag): Make token only if token is valid and reset validity.
2567 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
2568 (TOKEN): Added a new member: valid.
2569
2570 1995-02-15 Francesco Potorti` (pot@cnuce.cnr.it)
2571
2572 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
2573 (main): Do not read twice the last filename in the stdin file list.
2574
2575 1995-02-14 Francesco Potorti` (pot@cnuce.cnr.it)
2576
2577 * etags.c (C_entries): Initialise the new members of TOKEN.
2578 (C_entries): Do not allocate a new space for each token found by
2579 consider_token. Let make_tag do that instead.
2580 (make_tag): Since now TOKEN has memory of where it is taken from,
2581 this new macro substitutes both make_tag_from_new_lb and
2582 make_tag_from_oth_lb. All callers changed.
2583 (TOKEN): Add linepos and buffer members.
2584 (main): Initialise token_str.
2585 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
2586 (token_str): New global variable used by C_entries.
2587
2588 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
2589
2590 * Makefile.in.in (maintainer-clean): Renamed from realclean.
2591
2592 1995-02-01 Francesco Potorti` (pot@cnuce.cnr.it)
2593
2594 * etags.c (pfnote): Initialise been_warned in the node.
2595 (C_entries): Removed a speed hack for the sake of clarity.
2596
2597 1995-01-18 Francesco Potorti` (pot@cnuce.cnr.it)
2598
2599 * etags.c (longopts, print_help, main): Use -I as abbreviation
2600 for the --ignore-indentation option.
2601 (main): Do not print an error message for unknown options.
2602
2603 1995-01-12 Francesco Potorti` (pot@cnuce.cnr.it)
2604
2605 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
2606 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
2607 constantypedefs, update, vgrind_style, no_warnings,
2608 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
2609 (permit_duplicates): Was a var, now a #define.
2610 (filename_lb): Was global, now local to main.
2611 (main): Open the tag file when in cxref mode.
2612 Use a BUFSIZ size buffer for making the shell commands.
2613 Look at the return value from the system routine.
2614 Exit when cannot open the tag file.
2615 (process_file): Open the file and pass the FILE* to find_entries.
2616 (find_entries): Now void, because does not open the file itself.
2617 (pfnote): Recovering from lack of memory does not work. Removed.
2618 Use savenstr and simplify the code.
2619 (free_tree): Only free the name space if node is named.
2620 (structtag): Now a pointer, not a fixed length array of chars.
2621 (consider_token): Don't take a token as argument. Use savenstr
2622 when saving a tag in structtag. Callers changed.
2623 (TOKEN): Structure changed. Now used only in C_entries.
2624 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
2625 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
2626 (pfcnt): Deleted. Users updated.
2627 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
2628 TEX_getit, prolog_getit): Use dinamic allocation for storing
2629 the tag instead of a fixed size buffer.
2630
2631 1995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2632
2633 * movemail.c (main): Skip past the colon in inname.
2634
2635 1995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
2636
2637 * etags.c (pfatal): New function.
2638 (main, etags_getcwd): Use pfatal.
2639 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
2640
2641 1995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
2642
2643 * etags.c (Lang_function): Use void instead to declare the
2644 language functions, because many compilers are buggy.
2645 (etags_getcwd): Fix the previous fix on the #else branch.
2646 (readline_internal): Discard possible \r before \n here.
2647 (C_entries): Do not deal with \r here: undo previous fix.
2648
2649 1995-01-09 Francesco Potorti` (pot@fly)
2650
2651 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
2652 functions and a macro that allow the program to work on input
2653 lines of whatever length. Copied from etags.c.
2654 (fatal): Print a fatal error message and exit.
2655 (main): Use the new functions. Fixed a bug that made a \037 char
2656 appear at the end of the output.
2657
2658 1995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2659
2660 * etags.c (C_entries): Ignore carriage return at end of line.
2661
2662 1994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2663
2664 * fakemail.c (xmalloc, xrealloc): Add casts.
2665 (add_field): Handle <...> and "..." syntax.
2666 (setup_files, get_keyword): Clean up parens and line breaks.
2667 (args_size): Likewise.
2668
2669 1994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
2670
2671 * yow.c: Include program name in error messages.
2672
2673 1994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2674
2675 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
2676 (xmalloc, fatal, error): New functions.
2677 (progname): New variable.
2678 (main): Set progname.
2679
2680 1994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2681
2682 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
2683 (main): If socket/mqueue name is in home dir, add in the host name.
2684 Rename .emacs_server to .emacs-server....
2685
2686 1994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2687
2688 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
2689
2690 1994-11-22 Francesco Potorti` (pot@cnuce.cnr.it)
2691
2692 * etags.c (print_help): print --regex usage for ctags also.
2693 (main): use -h in addition to -H as abbreviation for --help.
2694
2695 1994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
2696
2697 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
2698 is compiled if this is defined. The new functions and variables
2699 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
2700 [VMS]: All VMS specific code previously contained in
2701 etags-vmslib.c is now included here, modified for dealing with
2702 language and regex options intermixed with filenames.
2703 (header_file): Global variable deleted.
2704 (Lang_Function): New typedef. All language parser functions
2705 changed to this new type.
2706 (string_numeric_p, substr, prestr): Functions deleted.
2707 (readline_internal): Does the job that readline did previously.
2708 (longopts): --language and --regex options added.
2709 (lang_names, lang_extensions, lang_func, print_language_names):
2710 New structures, variables and functions for choosing languages.
2711 (print_help): Help strings updated. Calls print_language_names.
2712 (argument_type, ARGUMENT): Typedefs for dealing with language and
2713 regex options intermixed with filenames.
2714 (main): Changed the way of dealing with arguments on the command
2715 line to deal with language and regex options intermixed with
2716 filenames.
2717 (get_language, default_C_entries, Cplusplus_entries,
2718 Cstar_entries, Yacc_entries, just_read_file): New functions.
2719 (find_entries): Use the new method for choosing the language.
2720 (Pascal_functions): Allow intermixing of comment styles.
2721 (prolog_getit, skip_comment): Rewritten for speed.
2722 (readline): Rewritten to deal with regexps.
2723
2724 1994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
2725
2726 * etags.c (<errno.h>): #include added.
2727 (etags_getcwd): Check return value from getcwd.
2728
2729 1994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2730
2731 * profile.c (TV1, TV2): Use EMACS_TIME as type.
2732 (get_time): Use EMACS_SUB_TIME.
2733
2734 1994-10-30 voelker <voelker@cs.washington.edu>
2735
2736 * ntlib.c: New file.
2737 * makefile.nt: New file.
2738
2739 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
2740 [WINDOWSNT]: Include the NT headers.
2741 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
2742
2743 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
2744 [WINDOWSNT]: Include some NT headers.
2745
2746 1994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
2747
2748 * pop.c (getline): When a search of already-read input for CRLF
2749 fails, store the fact that we've searched it and don't search it
2750 again after reading more data.
2751
2752 * pop.c (getline): When determining whether or not it's necessary
2753 to grow the input buffer, take into account the null that's stored
2754 at the end of already-read input in the buffer.
2755
2756 1994-10-21 Francesco Potorti` (pot@cnuce.cnr.it)
2757
2758 * etags.c (prestr, substr): return a logical type.
2759 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
2760 (consider_token): set funcdef to fignore when a DEFUN is met.
2761 (C_entries): Now we can use Tom Hageman patch for extern "C".
2762
2763 1994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2764
2765 * movemail.c: PopServer renamed to popserver throughout.
2766
2767 1994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
2768
2769 * etags.c: Don't declare malloc, since we include config.h.
2770 * fakemail.c: Likewise.
2771
2772 1994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2773
2774 * movemail.c: Don't declare malloc.
2775
2776 1994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
2777
2778 * rcs-checkin: Use test -r instead of < to check readability, to
2779 avoid syntax error.
2780
2781 1994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
2782
2783 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
2784 defined, and if HAVE_CONFIG_H isn't defined, define
2785 MAIL_USE_POP always (so that this file can be included in
2786 other programs besides emacs).
2787
2788 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
2789 HAVE_CONFIG_H isn't defined.
2790
2791 * pop.c (find_crlf, getline): Instead of using strstr, use a
2792 custom function for finding CRLF.
2793 (my_strstr): Function deleted.
2794
2795 1994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
2796
2797 * pop.c (getline): Fix a segfault because of passing a
2798 non-null-terminated string into strstr(). Fix from
2799 djm@va.pubnix.com (David J. MacKenzie).
2800
2801 * pop.c: Don't include <string.h> and <strings.h>.
2802
2803 * pop.c: Include <des.h> before <krb.h>, rather than after. They
2804 should be interchangeable, and indeed the inclusion is done in
2805 both orders in various files in the Kerberos 4 library sources,
2806 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
2807 requires that <des.h> be included first, and I don't see any harm
2808 in changing the order.
2809
2810 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
2811 STDC_HEADERS, if they're defined. Undef open, read, write and
2812 close after including it.
2813
2814 1994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2815
2816 * pop.c: Fix mismatch in conditionals.
2817
2818 * make-docfile.c (main): Don't process one input file twice.
2819 Never use exit code > 1.
2820
2821 * pop.c (open, close, read, write): Add #undefs.
2822
2823 * pop.c: Don't declare malloc, realloc, free.
2824 Include ../src/config.h.
2825 Don't include string.h or strings.h.
2826 Include des.h before krb.h.
2827 Do declare my_strstr.
2828 (getline): Really use my_strstr.
2829 Leave one empty place in server->buffer,
2830 and put a null at the end of the data in it.
2831
2832 1994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2833
2834 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
2835 call kill with pid 0. Handle EINTR when receiving messages.
2836
2837 1994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
2838
2839 * Makefile.in.in (regex.o): Use full path to find regex.c.
2840
2841 1994-10-17 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2842
2843 * Makefile.in.in (etags): add dependency on regex.o, link with it.
2844 (REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added.
2845
2846 1994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
2847
2848 * Makefile.in.in (DONT_INSTALL): Remove make-path.
2849 (${archlibdir}): Use mkinstalldirs instead.
2850
2851 * movemail.c: Make functions that return nothing void, not
2852 implicitly int.
2853 (main): Improve usage message.
2854 (error): Write to stderr, not stdout.
2855
2856 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
2857 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
2858 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
2859 variables and implicitly declared functions.
2860
2861 1994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2862
2863 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
2864 (distclean): Not here.
2865
2866 * Makefile.in.in (libexecdir): Renamed from libdir.
2867
2868 1994-10-11 Francesco Potorti` (pot@cnuce.cnr.it)
2869
2870 * etags.c (C_entries): Name the #define's that are macros.
2871
2872 1994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2873
2874 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
2875 fd_set arg is a pointer, descriptor arg comes first.
2876
2877 1994-09-29 Francesco Potorti` (pot@cnuce.cnr.it)
2878
2879 * etags.c (C_entries): Recognise typedef of ANSI style functions.
2880 (C_entries): Recognise #define inside a struct.
2881 (C_entries): ANSI tells that preprocessor commands do not have to
2882 start on the first column.
2883 (print_help): Documentation corrected for -d and -D.
2884 (white, endtk): ANSI tells the vertical tab is a separator.
2885
2886 1994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
2887
2888 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
2889 (pop.o, movemail.o): New targets.
2890 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
2891
2892 * pop.c, pop.h: New files.
2893
2894 * movemail.c: Improve POP code, move most of it into a separate file.
2895 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
2896 (mbx_write): Check for errors and for From line.
2897 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
2898 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
2899 (pop_init): Functions deleted.
2900
2901 1994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
2902
2903 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
2904 Rename path to dirname.
2905
2906 1994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2907
2908 * Makefile.in.in (UTILITIES):
2909 Remove test-distrib, make-docfile, make-path.
2910 (DONT_INSTALL): New variable--list those files here.
2911 (clean): Delete the files in DONT_INSTALL.
2912
2913 1994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2914
2915 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
2916 (main): Use fgets, not gets.
2917
2918 1994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2919
2920 * timer.c: Don't declare malloc.
2921
2922 1994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2923
2924 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
2925 defined, use simple 32-bit versions of these macros.
2926 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
2927
2928 1994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2929
2930 * etags.c (etags_getcwd): Use getcwd if available.
2931
2932 1994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2933
2934 * Version 19.27 released.
2935
2936 1994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2937
2938 * Version 19.26 released.
2939
2940 1994-08-15 Paul Eggert <eggert@twinsun.com>
2941
2942 * rcs2log: Add support for CVS.
2943 Work with `rlog's that output ISO 8601 dates.
2944
2945 1994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
2946
2947 * rcs2log: Use <> to delimit email address.
2948
2949 1994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2950
2951 * emacsserver.c [SYSV_IPC] (main): Make a separate process
2952 so we can listen for multiple requests.
2953
2954 1994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2955
2956 * movemail.c: Include config.h first thing.
2957
2958 1994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2959
2960 * emacsserver.c (main): Add casts to avoid warnings.
2961
2962 1994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2963
2964 * Makefile.in.in (${archlibdir}): Compare the proper dir
2965 before installing the scripts.
2966
2967 1994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2968
2969 * emacsclient.c (main): New local var progname saves argv[0].
2970
2971 1994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2972
2973 * emacsclient.c (main): Don't actually modify argv[0].
2974 Modify a copy instead.
2975
2976 1994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2977
2978 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
2979 (tzp): Var deleted.
2980
2981 * Makefile.in.in: Add #undef alloca.
2982
2983 1994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2984
2985 * timer.c (xmalloc): New function.
2986
2987 1994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2988
2989 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
2990 (alloca.o): New target.
2991
2992 1994-07-08 Dave Love (d.love@dl.ac.uk)
2993
2994 * etags.c (takeprec): recognise `character*(*) function'
2995
2996 1994-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
2997
2998 * etags.c (main): Don't barf on obsolete -t and -T switches.
2999 (main): Print an explicative message when a switch is not known.
3000
3001 1994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3002
3003 * hexl.c: Don't declare exit or perror.
3004
3005 * emacsserver.c (main): Don't declare geteuid.
3006 Don't declare getenv if convex.
3007
3008 1994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3009
3010 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
3011
3012 1994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3013
3014 * etags.c (absolute_filename): Remove infinite loop bug when
3015 accessing files in directories whose name begins with a dot.
3016
3017 1994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3018
3019 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
3020
3021 1994-06-01 Morten Welinder (terra@diku.dk)
3022
3023 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
3024 location of data directory.
3025
3026 1994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3027
3028 * Version 19.25 released.
3029
3030 1994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3031
3032 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
3033
3034 1994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3035
3036 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
3037
3038 1994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3039
3040 * Version 19.24 released.
3041
3042 1994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3043
3044 * make-docfile.c (write_c_args): Put `default' in upper case.
3045
3046 1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3047
3048 * etags.c (etags_getcwd): Cast result of popen.
3049 (popen): Declaration deleted.
3050
3051 1994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
3052
3053 * etags.c [!MSDOS]: Declare popen.
3054
3055 1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3056
3057 * b2m.c (main): Avoid crash if argc is 1.
3058
3059 1994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3060
3061 * Version 19.23 released.
3062
3063 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
3064
3065 1994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3066
3067 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
3068
3069 1994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
3070
3071 * Makefile.in.in: Fix out of date comment.
3072
3073 1994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3074
3075 * Makefile.in.in: Put in a separator for where to start cpp procssing.
3076 Move all autoconf substitutions above that point.
3077 Above that point, use Make-style comments.
3078 This goes with changes in ../configure.in.
3079
3080 1994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3081
3082 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
3083 warning message.
3084 (${archlibdir}): Don't do it here. Don't depend on blessmail.
3085
3086 1994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
3087
3088 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
3089
3090 1994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3091
3092 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
3093 print advice to run it, if it has anything significant to do.
3094 And only if MOVEMAIL_NEEDS_BLESSING.
3095 (blessmail): Use emacs, not temacs.
3096 (configuration): Renamed from configname.
3097
3098 1994-04-30 Morten Welinder (terra@diku.dk)
3099
3100 * etags.c (find_entries): Treat `*.cpp' as C++ files.
3101
3102 1994-04-30 Morten Welinder (terra@diku.dk)
3103
3104 * etags.c [MSDOS]: #include <sys/param.h> for the following.
3105 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
3106 a shell.
3107
3108 1994-04-29 Morten Welinder (terra@diku.dk)
3109
3110 * hexl.c [MSDOS]: Don't define proto type for exit.
3111
3112 1994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3113
3114 * b2m.c: Don't include string.h or strings.h.
3115
3116 1994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
3117
3118 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
3119 symbols, not make variables.
3120
3121 1994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3122
3123 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
3124 * etags.c (print_version): Print VERSION as a string.
3125
3126 1994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3127
3128 * fakemail.c (readline): Fix updating of p when buffer grows.
3129
3130 1994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
3131
3132 * Makefile.in.in (blessmail): New target.
3133 ${archlibdir}: Use blessmail when installing movemail.
3134
3135 1994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3136
3137 * fakemail.c (readline): When extending the buffer,
3138 calculate end afresh using the new size.
3139
3140 1994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3141
3142 * etags.c (main, print_help): eliminate the -F option.
3143
3144 1994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3145
3146 * etags.c (absolute_filename): compare against '\0' instead of NULL.
3147
3148 1994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3149
3150 * Makefile.in.in: Renamed from Makefile.in.
3151 Makefile.in is now generated from it, and then preprocessed.
3152 Change comments to C syntax.
3153 Include config.h.
3154 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
3155 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
3156
3157 1994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3158
3159 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
3160
3161 1994-04-12 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3162
3163 * etags.c (etags_getcwd): Initialize bufsize.
3164
3165 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3166
3167 * profile.c (gettimeofday): If system doesn't have this, define it
3168 to give a fatal error.
3169
3170 1994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
3171
3172 * movemail.c (main): Use setuid, not seteuid.
3173
3174 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3175
3176 * etags.c: #undef static.
3177
3178 1994-04-08 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3179
3180 * etags.c (outf, outfiledir): renamed to tagf, tagfiledir.
3181 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs,
3182 Scheme_funcs, prolog_funcs): renamed to Fortran_functions,
3183 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
3184 TeX_functions, Prolog_functions.
3185 (inf): no more a global variable.
3186 (C_entries): take 2nd parameter `inf' instead of using the global one.
3187 (find_entries): added the cp1 var for optimisation.
3188 (find_entries): added more suffixes for assembler files.
3189 (Asm_funcs): Now finds labels even without an ending colon.
3190
3191 1994-03-30 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3192
3193 * etags.c (main): use etags_getcwd for compatibility.
3194 (etags_getcwd): new function.
3195
3196 1994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3197
3198 * Makefile.in (etags, ctags): Pass -D for VERSION.
3199
3200 1994-03-25 Francesco Potorti` (pot@cnuce.cnr.it)
3201
3202 * etags.c (emacs_tags_format, ETAGS): removed. Use CTAGS instead.
3203 (main): don't allow the use of -t and -T in etags mode.
3204 (print_help): don't show options enabled by default.
3205 (print_version): show the emacs version number if VERSION is #defined.
3206 (find_entries): add "ss" as suffix for Chez Scheme.
3207
3208 1994-03-23 Francesco Potorti` (pot@cnuce.cnr.it)
3209
3210 * etags.c (cwd, outfiledir): vars added.
3211 (relative_filename, absolute_filename, absolute_dirname):
3212 functions added to compute filenames in tags files.
3213 (process_file): filenames in tags file are relative to the
3214 directory where the tags file is (useful with the -o option).
3215 (main): initialise the outfiledir var.
3216 (TYPEDST): added the `tignore' value.
3217 (C_entries): corrected various small bugs.
3218
3219 1994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3220
3221 * Makefile.in (UTILITIES): `env' deleted.
3222 (env): Target deleted.
3223 * env.c: File deleted.
3224
3225 1994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3226
3227 * Makefile.in (install, ${archlibdir}): Switch back to ..
3228 before running INSTALL_PROGRAM.
3229
3230 1994-03-14 Francesco Potorti` (pot@cnuce.cnr.it)
3231
3232 * etags.c (TYPEDST): added the `tignore' value.
3233 (C_entries): corrected various bugs, now correctly parses the
3234 `extern "C" {' construction (patch by Tom R.Hageman).
3235
3236 1994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3237
3238 * b2m.c: Use <...> to include config.h.
3239 Don't include stdlib.h.
3240
3241 1994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
3242
3243 * b2m.c (main): Change delimiter from "^L" to "^_^L".
3244 Allow for text following "BABYL OPTIONS:".
3245 Add --help option. Use argv[0] in error messages.
3246
3247 1994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3248
3249 * emacsclient.c (main) [HAVE_SYSVIPC]:
3250 Make msgp->mtext longer if necessary.
3251 On HPUX, error if it's more than 512 chars.
3252
3253 1994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
3254
3255 * etags-vmslib.c: Use GPL.
3256 * emacstool.c: Use GPL.
3257 * fakemail.c: Update GPL.
3258
3259 * make-path.c (main): Return 1 on error, not -1.
3260 Update GPL.
3261
3262 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
3263 (xmalloc, xrealloc): Return char *, not int.
3264 (error): Write to stderr, not stdout.
3265 Update GPL.
3266
3267 1994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
3268
3269 * profile.c (main, get_time): Don't crash on invalid input.
3270
3271 1994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
3272
3273 * profile.c (get_time): Simplify; avoid calling index.
3274 (main): exit on EOF.
3275
3276 1994-02-17 Francesco Potorti` (pot@cnuce.cnr.it)
3277
3278 * etags.c (--absolute-pathnames): option removed.
3279
3280 1994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3281
3282 * fakemail.c (put_line): Don't break the line if it all fits.
3283
3284 1994-02-14 Francesco Potorti` (pot@fly)
3285
3286 * etags.c (absolute_pathnames, cwd): added global vars.
3287 (longopts, print_help, main, process_file): put absolute filenames
3288 in the tag file if the -A --absolute-pathnames option is used.
3289 (print_help): alfabetically order the options.
3290 (malloc, realloc, strcpy, strncpy, strcmp): remove extern declar.
3291
3292 1994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3293
3294 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
3295 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
3296
3297 1994-02-07 Christian Lynbech (lynbech@avignon)
3298
3299 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
3300
3301 1994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3302
3303 * Makefile.in (UTILITIES): Mention profile.
3304 (profile): New target.
3305
3306 * profile.c: New file.
3307
3308 1994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3309
3310 * Make the argument list output look more like the Lisp docstrings do.
3311 make-docfile.c (write_c_args): Take new arg FUNC. Make output
3312 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
3313 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
3314
3315 1994-01-14 Francesco Potorti` (pot@cnuce.cnr.it)
3316
3317 * etags.c (stab_entry, stab_create, stab_find, stab_search,
3318 stab_type, add_keyword, C_reate_stab, C_create_stabs): deleted.
3319 Use gperf generated hash table instead of linked list.
3320 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): added.
3321 Mostly code generated by gperf.
3322 (consider_token): removed unused parameter `lp'.
3323 (PF_funcs, getit): allow subroutine and similar declarations
3324 to span multiple lines.
3325 (C_entries): check for newline if inchar to avoid bus errors.
3326 (process_file, find_entries): distinguish among nonexistent
3327 and not regular file.
3328
3329 1994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3330
3331 * timer.c: Include errno.h; don't include fasync.h.
3332 (schedule): Don't return a value.
3333 (sigcatch): Reestablish the handler first.
3334 (getevent): Always call notify at the end.
3335 (notify): Defer alarms around the whole body of function.
3336
3337 1994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3338
3339 * timer.c (main): Don't request SIGIO, and don't handle it.
3340 Loop calling getevent.
3341 (sigcatch): Delete code to handle SIGIO.
3342 if defer_alarms is set, don't call notify, just set alarm_deferred.
3343 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
3344 Set defer_alarms around realloc and schedule.
3345 If alarm_deferred gets set, call notify.
3346 Likewise if this event is the only pending event.
3347 Make buf and buf_size global variables.
3348 Don't malloc buf if it is already non-zero.
3349 (schedule): Just exit if run out of memory.
3350 Return the number of events.
3351 (signal) [_CX_UX]: Add #undef.
3352
3353 1994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3354
3355 * timer.c [USG] (SIGIO): Define as SIGPOLL.
3356 (main) [USG]: Do ioctl to enable SIGPOLL.
3357
3358 1994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3359
3360 * timer.c: Don't declare sys_errlist; declare strerror instead.
3361 (schedule, main): Call strerror instead of using sys_errlist.
3362 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
3363 Call strerror instead of using sys_errlist.
3364 * env.c (main): Call strerror instead of using sys_errlist.
3365 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
3366 (main): Call strerror instead of using sys_errlist.
3367 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
3368 * env.c [! HAVE_STRERROR] (strerror): Likewise.
3369 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
3370 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
3371
3372 1994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3373
3374 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
3375
3376 * movemail.c (malloc): Don't declare it.
3377 (xmalloc): Cast result of malloc.
3378 (strcpy): Don't declare it.
3379
3380 1993-11-14 Morten Welinder (terra@diku.dk)
3381
3382 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
3383 (main): Use fclose to close file opened by fopen.
3384
3385 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
3386
3387 * movemail.c [MSDOS]: #undef `access'.
3388
3389 * b2m.c (main) [MSDOS]: Open all files as binary.
3390 * etags.c (main) [MSDOS]: Open all files as binary.
3391
3392 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
3393 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
3394 with.
3395
3396 1994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3397
3398 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
3399 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
3400 (LINK_CFLAGS): New variable.
3401 (timer): Use LINK_CFLAGS.
3402
3403 1993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3404
3405 * movemail.c: Include syswait.h.
3406 Fork a subprocess and use it to copy the mail file.
3407
3408 1993-12-07 Richard Stallman (rms@srarc2)
3409
3410 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
3411
3412 1993-12-04 Richard Stallman (rms@srarc2)
3413
3414 * movemail.c (main): When making tempname, cast result of xmalloc.
3415 Include room for EXXXXXX in the size.
3416 Don't use result of strcpy.
3417
3418 1993-12-03 Paul Eggert (eggert@twinsun.com)
3419
3420 * vcdiff: Add --brief option.
3421
3422 1993-12-02 Richard Stallman (rms@srarc2)
3423
3424 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
3425 for all executables and scripts.
3426
3427 1993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3428
3429 * Version 19.22 released.
3430
3431 1993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3432
3433 * Makefile.in (mostlyclean): Make it distinct from clean.
3434
3435 1993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3436
3437 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
3438
3439 1993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3440
3441 * Version 19.21 released.
3442
3443 * Makefile.in (install): Don't change mode or group when installing.
3444
3445 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
3446
3447 1993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3448
3449 * make-docfile.c (read_c_string): For "", concatenate the two strings.
3450
3451 * movemail.c (main): Fix error message text.
3452
3453 1993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3454
3455 * Version 19.20 released.
3456
3457 1993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
3458
3459 * etags.c: (C_entries): Keep track of ()-parenthesis level so that
3460 functions returning a pointer to a function, a la `signal', can be
3461 parsed. This also required new state `fstartlist' to `FUNCST'.
3462 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
3463 (C_entries, CNL): use it to isolate preprocessor directive processing
3464 from the other state engines.
3465 (begtk): add '~', for C++ class destructors.
3466
3467 1993-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
3468
3469 * etags.c (consider_token): removed unused variable firsttok.
3470 (prolog_getit): call pfnote with the right number of arguments.
3471
3472 1993-10-19 Paul Eggert (eggert@twinsun.com)
3473
3474 * rcs2log (printlogline): Don't generate lines containing only
3475 white space.
3476
3477 1993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3478
3479 * Makefile.in (${archlibdir}):
3480 Install ${SCRIPTS} from ${srcdir}, not cwd.
3481
3482 1993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3483
3484 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
3485 the comment character.
3486
3487 1993-10-01 Francesco Potorti` (pot@cnuce.cnr.it)
3488
3489 * etags.c (process_file): dead code removed.
3490 (S_ISREG): #define it using S_IFREG if not defined.
3491 (process_file): regular files have nothing to do with symlinks.
3492
3493 1993-09-28 Brian Fox (bfox@ai.mit.edu)
3494
3495 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
3496 from current directory. Only chmod and chgrp files that we
3497 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
3498 ${bindir}.
3499 (INSTALLFLAGS): Deleted definition, since it is an unused variable
3500 now.
3501
3502 1993-09-27 Brian Fox (bfox@ai.mit.edu)
3503
3504 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
3505 configure figure out the correct values for these variables.
3506
3507 1993-09-14 Brian Fox (bfox@ai.mit.edu)
3508
3509 * Makefile.in (archlibdir): Only install execuatables internally
3510 used by emacs; don't install bindir binaries here.
3511
3512 1993-09-24 Paul Eggert (eggert@twinsun.com)
3513
3514 * rcs2log: Add -h, -n, -r options.
3515 By default, look for *,v files as well as RCS/*,v files.
3516 Use $TMPDIR (default /tmp) instead of /tmp.
3517
3518 1993-09-20 Francesco Potorti` (pot@fly)
3519
3520 * etags.c (C_entries): is_func is initialised here instead of in
3521 consider_token for the sake of the yacc rules section.
3522 (C_entries): Now class, struct, enum, union and typedef produce
3523 named tags.
3524
3525 1993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
3526
3527 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
3528
3529 1993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3530
3531 * Support configuring in a different directory when ${srcdir} has
3532 already been configured.
3533 * Makefile.in (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before
3534 -I${srcdir} -I${srcdir}/../src.
3535 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
3536 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
3537 is already in CPP_FLAGS.
3538 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
3539 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
3540
3541 1993-08-25 Paul Eggert (eggert@twinsun.com)
3542
3543 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
3544 otherwise, HP awk complains.
3545
3546 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
3547 are common hangouts for SCCS commands.
3548
3549 1993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3550
3551 * Version 19.19 released.
3552
3553 1993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3554
3555 * Makefile.in (make-path): Dep on config.h.
3556
3557 1993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3558
3559 * b2m.c (TRUE, FALSE): Don't define if already defined.
3560
3561 1993-08-09 Paul Eggert (eggert@twinsun.com)
3562
3563 * rcs2log (awkscript):
3564 Some sites put comma-separated junk after the fullname.
3565 Remove it, but leave "Bill Gates, Jr" alone.
3566 Remove the junk from fullnames like "0000-Admin(0000)".
3567
3568 1993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3569
3570 * Version 19.18 released.
3571
3572 1993-08-04 Francesco Potorti` (pot@spiff.gnu.ai.mit.edu)
3573
3574 * etags.c (L_isdef, L_isquote, L_getit): small optimisations.
3575 (L_funcs): the (foo::defmumble stuff now should work.
3576 (consider_token): function returned random value--corrected.
3577 (C_entries): corrected == versus = typo.
3578
3579 1993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3580
3581 * etags.c (put_entries): For NODE->rewritten, put pattern before
3582 \177 and name after, not vice versa.
3583
3584 1993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3585
3586 * timer.c (main): Generate a SIGIO as soon as we've initialized.
3587
3588 1993-07-30 Francesco Potorti` (pot@cnuce.cnr.it)
3589
3590 * etags.c (FINCST): added the fignore status. Means we are
3591 after the parameter list and before the open curly brace.
3592 Allows correct parsing of C++ constructors.
3593 (C_entries, consider_token): make use of fignore.
3594 (consider_token): reset funcdef when next_token_is_func: when in
3595 ctags mode makes DEFVAR and others work better.
3596 (L_isquote): function that recognises the "(quote" string.
3597 (L_getit): ignore quoting via "'" or "(quote". Useful for defalias.
3598
3599 1993-07-29 Paul Eggert (eggert@twinsun.com)
3600
3601 * rcs-checkin: Don't check whether a file is readable until we have
3602 decided not to ignore it.
3603
3604 1993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3605
3606 * Makefile.in (etags): Depend on ../src/config.h.
3607
3608 * emacsserver.c: Include types.h before file.h.
3609
3610 1993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3611
3612 * Makefile.in (install): Use .n, not .new, for temporary filenames.
3613
3614 1993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3615
3616 * Version 19.17 released.
3617
3618 1993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3619
3620 * etags.c (print_help): Break up the very long strings containing
3621 the help message into shorter strings, to placate chintzy C
3622 compilers which can't handle strings that long.
3623
3624 * wakeup.c: Use CPP tangle from autoconf manual to #include the
3625 correct combination of <time.h> and <sys/time.h>.
3626
3627 1993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
3628
3629 * etags.c (alloca): removed all references to it.
3630 (main): now calls xnew instead of alloca for portability.
3631 (../src/config.h): included only if HAVE_CONFIG_H.
3632 (const): void definition removed--config.h takes care of it.
3633
3634 1993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
3635
3636 * etags.c (consider_token): was `==', now is `='.
3637 (consider_token): DEFUNs now treated like funcs in ctags mode.
3638
3639 * etags.c (LEVEL_OK_FOR_FUNCDEF): removed.
3640 (C_entries): optimized the test that used LEVEL_OK_FOR_FUNCDEF.
3641 (C_entries): removed a piece of useless code.
3642 (C_entries): making typedef tags is delayed until a semicolon
3643 is met. This handles "typedef int X, Y, Z;" correctly.
3644
3645 1993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3646
3647 * Version 19.16 released.
3648
3649 * b2m.c: #include <sys/types.h>.
3650 (ltoday): Declare this to be time_t.
3651
3652 1993-06-30 Paul Eggert (eggert@twinsun.com)
3653
3654 * vcdiff: Add -q option.
3655
3656 1993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3657
3658 * etags.c: #include "config.h" and the alloca CPP tangle before
3659 #including the system headers and getopt.h. AIX requires the
3660 #pragma to come before any actual C code.
3661
3662 1993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3663
3664 * Makefile.in (ctags): Depend on etags, so that parallel makes
3665 don't write etags.o files on top of each other.
3666
3667 1993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3668
3669 * version 19.15 released.
3670
3671 1993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3672
3673 * etags.c (add_node): Move var last_node to file scope.
3674
3675 1993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3676
3677 * Version 19.14 released.
3678
3679 1993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3680
3681 Bring mumbleclean targets into conformance with GNU coding standards.
3682 * Makefile.in (distclean): Call clean to do most of the work.
3683 Delete aixcc.c and TAGS.
3684 (realclean): Just call distclean.
3685
3686 * Makefile.in: Remember, spaces are not tabs.
3687
3688 1993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3689
3690 * Makefile.in (CPP_CFLAGS): New variable.
3691 Use it instead of ALL_CFLAGS when compiling a .c file.
3692 (getopt.o, getopt1.o): Add explicit compilation commands.
3693
3694 1993-06-10 Mark D. Baushke (mdb@cisco.com)
3695
3696 * etags.c: Reinstate old -f option as an alias for -o for
3697 installed base uses.
3698
3699 1993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3700
3701 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
3702 to bind or accept, cast the pointer, to avoid warnings on systems
3703 which declare prototypes for this.
3704 * emacsclient.c (main): Same.
3705
3706 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
3707
3708 1993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3709
3710 * Version 19.13 released.
3711
3712 * wakeup.c: Include sys/types.h, too; I think that's where time_t
3713 comes from, not sys/time.h.
3714
3715 1993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3716
3717 * wakeup.c: Include sys/time.h.
3718
3719 * etags.c: #undef static.
3720
3721 * Version 19.12 released.
3722
3723 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
3724
3725 1993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3726
3727 * Version 19.11 released.
3728
3729 * timer.c [LINUX]: #undef signal.
3730 * emacsserver.c: #undef signal.
3731
3732 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3733
3734 * wakeup.c (main): Make when a time_t.
3735
3736 1993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3737
3738 * Makefile.in: (${archlibdir}): Use `(cd foo && pwd)` instead of
3739 `(cd foo ; pwd)` to get the canonical name of a directory; cd
3740 might fail, and have pwd print out the current directory.
3741
3742 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
3743 string-handling functions.
3744
3745 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3746
3747 * Version 19.10 released.
3748
3749 1993-05-29 Paul Eggert (eggert@twinsun.com)
3750
3751 * rcs2log: When given no file arguments, inspect RCS/.* as well
3752 as RCS/*. Don't report an error if RCS is empty or nonexistent.
3753
3754 1993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3755
3756 * Makefile.in (timer): Link with $(LOADLIBES).
3757
3758 1993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3759
3760 * fakemail.c (put_line): Don't output \n\t unless more text follows.
3761
3762 1993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3763
3764 * etags.c: Replace the CPP tangle for alloca with the one from the
3765 autoconf documentation, since that's working elsewhere.
3766
3767 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3768
3769 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
3770 description files can find their ancestors.
3771
3772 1993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3773
3774 * Makefile.in (install): Get the scripts from ${srcdir},
3775 unlike the executables.
3776 (ALL_CFLAGS): Add -I../src
3777
3778 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3779
3780 * Version 19.9 released.
3781
3782 1993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3783
3784 * Makefile.in (install): Do install the programs listed in
3785 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
3786 INSTALLABLE_SCRIPTS, instead of writing the programs out.
3787
3788 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
3789 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
3790
3791 1993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3792
3793 * etags.c: Include ../src/config.h.
3794
3795 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
3796 in first loop. Delete files from bindir before installing new ones.
3797 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
3798
3799 1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3800
3801 * Version 19.8 released.
3802
3803 * make-docfile.c: Doc fix.
3804
3805 1993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3806
3807 * tcp.c: Fix comment syntax at top of file.
3808 (main): Don't call htons with the port number.
3809
3810 1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3811
3812 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
3813 appropriate.
3814
3815 * Makefile.in (install): Refer to the variables INSTALLABLES and
3816 INSTALLABLE_SCRIPTS, instead of writing them out.
3817
3818 1993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3819
3820 * make-path.c (main): Return 0.
3821
3822 1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3823
3824 * Version 19.7 released.
3825
3826 1993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3827
3828 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
3829
3830 1993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3831
3832 * tcp.c: New file.
3833
3834 1993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3835
3836 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
3837
3838 1993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3839
3840 * timer.c (notify): Don't call sighold or sigrelse; they're USG
3841 only. We should really fix this later, but let's just make it
3842 compile for now.
3843
3844 Install patches from David J. Mackenzie to make the srcdir option
3845 work.
3846 * Makefile.in (srcdir, VPATH): Get this value from the top-level
3847 Makefile.
3848 (INSTALLABLES): Split this into two lists - INSTALLABLES and
3849 INSTALLABLE_SCRIPTS.
3850 (INSTALLABLE_SCRIPTS): New list.
3851 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
3852 (${archlibdir}): The scripts to be installed live in the source
3853 tree, not in the object tree.
3854 (test-distrib): Note that the data file lives in the source tree,
3855 not the object tree.
3856 (GETOPTDEPS): Note that getopt.h lives in the source tree.
3857 (all other targets): Change references to source files to use
3858 ${srcdir}, except for config.h, which lives in the object dir.
3859 (timer.o): Note that this depends on ../src/config.h.
3860 * make-docfile.c (main): Add a -d option, to tell it where to find
3861 the source files.
3862 * test-distrib.c (main): Take the name of the distribution file to
3863 test from the command line.
3864
3865 * timer.c: Fix mispellings of get_date function's name.
3866
3867 1993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
3868
3869 * etags.c (main):
3870 Don't require that there be input files if -i switches were given.
3871
3872 1993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3873
3874 The GNU coding standards specify that CFLAGS should be left for
3875 users to set.
3876 * Makefile.in (CFLAGS): Put this in the "things configure might
3877 edit" section, and have it default to -g.
3878 (ALL_CFLAGS): New variable, set to all the flags which should be
3879 passed to compilations. Replace all other uses of CFLAGS with
3880 ALL_CFLAGS.
3881 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
3882
3883 * Makefile.in (DEFS): Remove this; it's always just going to be
3884 "-DHAVE_CONFIG_H -Demacs".
3885
3886 1993-05-03 Paul Eggert (eggert@twinsun.com)
3887
3888 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
3889 /[/]/, so change it to /[\/]/. This should work on all
3890 Posix-compliant awks. It's slightly wrong with traditional awk,
3891 since it matches \ too, but that's a minor problem compared to awk
3892 syntax errors.
3893
3894 1993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3895
3896 * Makefile.in (ALLOCA): New variable, whose value we should
3897 inherit from the top-level makefile.
3898 (etags, ctags): Include ALLOCA in the list of object files that
3899 these executables depend on and link.
3900
3901 1993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3902
3903 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
3904
3905 1993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
3906
3907 * make-docfile.c (write_c_args): Print an argument named "defalt"
3908 as "default".
3909
3910 1993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3911
3912 * Makefile.in (C_SWITCH_SYSTEM): New variable.
3913 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
3914 compiler.
3915
3916 1993-03-22 Francesco Potorti` (pot@cnuce.cnr.it)
3917
3918 * etags.c (YACC): flag added to c_ext.
3919 (c_ext): no more a synonim for c_ext&C_PLPL because of YACC.
3920 (find_entries): consistently use streq when reasonable.
3921 (find_entries): a .y file is a yacc file.
3922 (get_C_stab): c_ext becomes c_ext&C_PLPL.
3923 (C_entries): logical cplpl means c_ext&C_PLPL.
3924 (C_entries): logical yacc_rules means we are after the first %%.
3925 (C_entries): added logic for yacc files.
3926
3927 1993-03-16 Francesco Potorti` (pot@cnuce.cnr.it)
3928
3929 * etags.c (C_entries): ':' case moved to the second switch.
3930 (C_entries): do not examine token if structdef==scolonseen.
3931 (consider_token): structtag set to null string for enum.
3932
3933 1993-03-12 Francesco Potorti` (pot@cnuce.cnr.it)
3934
3935 * etags.c (GET_COOKIE): and related macros removed.
3936 (logical): is now int, no more a char.
3937 (reg): define deleted.
3938 (isgood, _gd, notgd): deleted.
3939 (gotone): deleted.
3940 (TOKEN): member linestart removed.
3941 (linepos, prev_linepos, lb1): deleted.
3942 (main): call initbuffer on lbs array instead of lb1.
3943 (init): removed the initialisation of the logical _gd array;
3944 (find_entries): a .sa suffix means assembler file.
3945 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
3946 All C state machines rewritten.
3947 (C_entries): complete rewrite.
3948 (condider_token): complete rewrite.
3949 (getline): deleted.
3950
3951 1993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
3952
3953 * etags.c (C_entries): Added the quotednl logical variable.
3954 Used for parsing of #define's spanning multiple lines.
3955
3956 1993-02-23 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
3957
3958 * etags.c (C_entries): Save the definedef status even when a
3959 newline is met inside a string.
3960
3961 1993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
3962
3963 * Makefile.in (EXECUTABLES): added rcs-checkin.
3964
3965 * Makefile.in (unlock, relock): New productions.
3966
3967 1993-03-16 Paul Eggert (eggert@twinsun.com)
3968
3969 * rcs2log: Some awks don't understand "\r". Code around this.
3970 Unfortunately this requires putting a carriage return in the
3971 source code. Don't assume that rlog will tolerate times like
3972 `10:10:60'; RCS 5.7 won't allow this.
3973
3974 1993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3975
3976 * timer.c (main): Set the ownership of the stdin file descriptor
3977 to the current process. Print error messages if either of the
3978 fcntl's fails.
3979
3980 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
3981 ../src/config.h), not void.
3982
3983 1993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3984
3985 * b2m.c (main): Don't exit upon reading a blank line.
3986
3987 1993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
3988
3989 * etags.c (C_entries): New local variable quotednl. Used for
3990 parsing of #define's spanning multiple lines.
3991
3992 * etags.c (C_entries): Save the definedef status
3993 even when a newline is met inside a string.
3994
3995 1993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3996
3997 * timer.c (notify): Initialize waitfor properly.
3998
3999 1993-02-22 Francesco Potorti` (pot@CNUCE.CNR.IT)
4000
4001 * etags.c (C_entries): Don't reset definedef when a newline inside a
4002 comment is met.
4003
4004 1993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4005
4006 * etags.c (find_entries): If filename ends in .f or .for,
4007 don't try anything but Fortran.
4008
4009 1993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
4010
4011 * timer.c (notify): Flush stdout after writing message to avoid lossage
4012 on terminals.
4013
4014 (notify): Also, write a newline after the token.
4015
4016 1992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4017
4018 * Makefile.in (exec_prefix): New variable.
4019 (bindir, libdir): Use it instead of `prefix'.
4020
4021 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
4022
4023 * Makefile.in (libdir): Default to ${prefix}/lib.
4024 (archlibdir): Adjusted to match.
4025
4026 * Makefile.in (distclean): Don't delete backup or autosave files.
4027 (extraclean): Like realclean, but does delete backup and autosave
4028 files.
4029
4030 * Makefile.in (realclean): Ignore errors from rm.
4031
4032 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
4033 that doesn't exist anymore.
4034
4035 1992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4036
4037 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
4038 described in the top-level Makefile.
4039 (UTILITIES): Add make-path to the list of utility programs.
4040 (../arch-lib): Replaced by the ${archlibdir} target, which places
4041 the executables in their permanent home.
4042 (install, install.sysv, install.xenix): Consolidated into one
4043 target which should work under all circumstances, modulo a few
4044 ignored error messages.
4045
4046 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
4047 a different number of arguments than other DEFVARs, recognize it
4048 specially, and expect the right number of commas.
4049
4050 1992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4051
4052 * make-path.c: New program, to help with the installation process.
4053 * Makefile.in (make-path): New target.
4054
4055 * make-path.c (touchy_mkdir): Remove debugging output.
4056
4057 1992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4058
4059 * Makefile.in (getdate.o): Added explicit target for this, so we
4060 can indicate that it depends on ../src/config.h.
4061
4062 1992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4063
4064 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
4065 instead of CFLAGS.
4066 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
4067
4068 1992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4069
4070 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
4071 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
4072 that system.
4073
4074 * Makefile.in (arch-lib): Give rm the `-f' option.
4075
4076 1992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4077
4078 * make-docfile.c (write_c_args): Rewritten to correctly print
4079 &optionals before the first identifier, but after the first paren.
4080 This code used to just wait for commas or spaces; now it notices
4081 identifier boundaries.
4082
4083 1992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4084
4085 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
4086
4087 1992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4088
4089 * make-docfile.c (write_c_args): Print the argument lists properly
4090 when the first argument is optional.
4091
4092 1992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4093
4094 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
4095 Redefine @item. Set catcode of +.
4096
4097 1992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4098
4099 * emacsclient.c (main): Set IPC_CREAT in msgget call.
4100
4101 1992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4102
4103 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
4104 (TEX_decode_env): Make `tab' one element longer.
4105
4106 1992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4107
4108 * etags.c (PF_funcs): Recognize the "entry" keyword.
4109
4110 1992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4111
4112 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
4113
4114 1992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4115
4116 * timer.c (events): Rather than having slots marked as in use or
4117 out of use by the `token' field, keep all pending events at the
4118 beginning of the array. When we delete an event in the middle of
4119 the array, we move the last event into its place.
4120 (num_events): New variable.
4121 (schedule): It is now cheaper to find a free event slot;
4122 events[num_events] is the first free slot.
4123 (notify): Scan events[0 .. num_events-1], instead of the whole
4124 array. When an event fires, move the last event in the array into
4125 its spot. Use num_events to determine whether or not there are
4126 any pending events, not wait_for.
4127 (getevent): Deleted unused variable `ep'.
4128 (sigcatch): It's now easier to find all the active events.
4129 (main): Initialize num_events.
4130
4131 * etags.c: Rather than fret about which systems have index and
4132 which systems have strchr, and how to tell the difference between
4133 them, we just write out our own versions. Big deal.
4134 (index, rindex): Extern declarations removed.
4135 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
4136 (etags_index, etags_rindex): New declarations.
4137 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
4138 TEX_getit, substr): Use the etags_*index functions, rather than
4139 the native *index functions.
4140 (rindex, index): Renamed to etags_rindex and tags_rindex, and
4141 made them unconditionally defined, rather than having them depend
4142 on NEED_*INDEX.
4143
4144 * etags.c (savenstr): Add declaration for this at top of file.
4145 (TEX_decode_env): Don't declare it local to this function.
4146
4147 * b2m.c: #include "../src/config.h", so we can test for the USG
4148 macro, and decide whether to include <string.h> or <strings.h>.
4149 * Makefile.in: Note that b2m.c depends on ../src/config.h.
4150
4151 1992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4152
4153 * timer.c: Reformatted according to the GNU coding standards.
4154 Removed arbitrary limits on the number of events queued and the
4155 length of the tokens used to identify them.
4156 Removed casts to (void).
4157 Removed debugging printfs; they clutter the code, and the need
4158 can be better filled using a real debugger.
4159
4160 1992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4161
4162 * timer.c: Installed new version from Eric Raymond; this is more
4163 portable, since it doesn't try to use SIGIO.
4164
4165 1992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4166
4167 * emacsclient.c (main): If we can't find the socket in this
4168 person's home directory, print a message which asks if they've
4169 started the server, instead of just printing the message from
4170 sys_errmsg; Cygnus finds that people are much less confused by
4171 this.
4172
4173 1992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4174
4175 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
4176 so that index and rindex get defined, why don't we actually
4177 control index and rindex using symbols called "NEED_INDEX" and
4178 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
4179 little more readable than defining something whose name implies
4180 that it's not?
4181
4182 1992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4183
4184 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
4185 distribution:
4186 Miscellaneous doc fixes.
4187 (skip_white, read_lisp_symbol): New functions.
4188 (scan_lisp_file): Instead of using long hairy strings of ifs, call
4189 read_lisp_symbol and then see what we got. Call skip_white
4190 instead of writing out a loop to do its job. Correctly extract
4191 docstrings from "defmacro" declarations.
4192
4193 1992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4194
4195 * movemail.c (strcpy): Declare this to return char *.
4196
4197 1992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4198
4199 * etags.c (C_entries): When we find a C++ comment, do actually
4200 skip to the end of the line; do a 'break' instead of a 'continue'.
4201
4202 1992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4203
4204 * etags.c (getit): Add missing parenthesis to expression which
4205 decides if this token is an identifier.
4206
4207 1992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
4208
4209 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
4210
4211 1992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4212
4213 * etags.c (put_entries): Always put space between name and line num.
4214
4215 1992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
4216
4217 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
4218 warning.
4219 (LEVEL_OK_FOR_FUNCDEF): Ditto.
4220
4221 1992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4222
4223 * make-docfile.c (write_c_args): Pass both arguments to putc.
4224
4225 1992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
4226
4227 * etags.c (C_entries): Fixed reading of "..." strings.
4228 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
4229 the C library source.
4230
4231 * etags.c (C_entries): When we see a backslash inside a quoted
4232 string, skip to the next character. This allows us to correctly
4233 deal with strings containing quotes.
4234
4235 1992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4236
4237 * make-docfile.c (write_c_args): Print the C argument names as
4238 they would be written in Elisp; print '_' as '-'.
4239
4240 1992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4241
4242 * movemail.c [POP]: Get user name via getpwuid.
4243
4244 1992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4245
4246 * Makefile.in: flags in CC invocations rearranged for no reason.
4247
4248 1992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4249
4250 * etags.c (print_help): Remember not to imbed raw newlines in
4251 strings - end the lines with `\n\'.
4252
4253 1992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4254
4255 * timer.c (getevent): Removed declaration of memcpy; since
4256 different systems have different return types, and we're not even
4257 using the return type anyway, it wasn't doing us any good.
4258
4259 1992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4260
4261 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
4262 type of this function.
4263
4264 1992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4265
4266 * ChangeLog: Since the old etc contents have been split into etc
4267 and lib-src, the old etc's ChangeLog has been duplicated in the
4268 new etc and lib-src. That means that each contains complete and
4269 coherent information, although each contains extraneous
4270 information.
4271
4272 1992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4273
4274 * lib-src/etags.c: "--no-warning" option renamed to "--no-warn",
4275 to be consistent with other GNU programs, like makeinfo.
4276
4277 * lib-src/Makefile: Renamed to Makefile.in; the configure script
4278 will edit this to produce Makefile.
4279
4280 1992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4281
4282 * etags.c (print_help, print_version): New functions.
4283 (main): Options added to support them.
4284
4285 * etags.c (longopts): New array of long names for the options.
4286 (main): Recognize them.
4287
4288 1992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4289
4290 * etags.c (C_entries): Removed comment saying that \" in a string
4291 isn't recognized as magic, because it is correctly handled.
4292
4293 * getopt.c, getopt.h: New files, from GNU C library.
4294 * etags.c: Rewritten to use getopt.
4295 #include "getopt.h".
4296 (file_num): Variable deleted; its role is now played by getopt's
4297 optind.
4298 (main): Argument processing loop rewritten to call getopt to get
4299 next option. Options which take parameters (-o and -i) rewritten
4300 to get parameter from optarg instead of argv[1]. Filename
4301 preprocessing loop and update command changed similarly.
4302 * Makefile (etags, ctags): Depend on and link with getopt.h,
4303 getopt.o, and getopt1.o.
4304 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
4305
4306 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
4307 is non-zero.
4308
4309 (main): In the argument processing loop, the 'goto next_arg'
4310 statements are breaking out of the switch statement in exactly the
4311 same way that a simple 'break' statement would; replace the gotos
4312 with breaks, and remove the label.
4313
4314 1992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4315
4316 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
4317 (consider_token): Move next_token_is_func to global.
4318
4319 1992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4320
4321 * Makefile: Conform with GNU coding standards:
4322 (mostlyclean): New target, synonymous with clean.
4323 (TAGS, check): New targets.
4324 (INSTALL, INSTALLFLAGS): New variables.
4325
4326 1992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4327
4328 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
4329 `config.emacs' to `configure'.
4330
4331 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
4332 * etc/MACHINES: Same.
4333
4334 1992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4335
4336 * movemail.c (main): Allow tempname to be as long as necessary,
4337 instead of limiting it to 39 characters.
4338
4339 * movemail.c (main): Move declaration of buf from top of function
4340 to local block surrounding the copy loop. This makes it less
4341 likely to be confused with the buf used by the code which checks the
4342 permissions on outname's directory.
4343
4344 1992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
4345
4346 * SERVICE: Remove my entry.
4347
4348 1992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
4349
4350 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
4351 hardcoded -g.
4352
4353 * movemail.c (xmalloc): Return char *, not int.
4354 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
4355 that is off by default -- normally don't unlink the mail spool
4356 file, just empty it. Pass creat mode 0600, not 0666.
4357
4358 1992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4359
4360 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
4361 (all): Instead of here.
4362 (install): Don't use the -s option, since people need symbols to
4363 debug code.
4364
4365 1992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
4366
4367 * etags-vmslib.c (fn_exp): Add type cast.
4368
4369 1992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4370
4371 * movemail.c: Changes in comments.
4372
4373 1992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4374
4375 * Makefile: Make the distclean target erase the DOC files from
4376 ../share-lib and the executables from ../arch-lib.
4377
4378 1992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4379
4380 * emacsclient.c: #include <sys/stat.h>
4381 (main): Do declare statbfr.
4382
4383 1991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4384
4385 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
4386 for the socket, depending on SERVER_HOME_DIR.
4387 If using /tmp, put host name in the socket name.
4388
4389 * movemail.c (pfatal_and_delete): New function.
4390 (main, popmail): Use it.
4391 (popmail): Close output before deleting messages.
4392 Check for error on close and on fsync.
4393 Use `fatal' where appropriate.
4394 (main): Remove (void).
4395
4396 * aixcc.lex: New file. Not officially part of Emacs.
4397 * Makefile: Rules for that.
4398
4399 1991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
4400
4401 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
4402
4403 * etags.c (main): Properly cast call to alloca that initializes
4404 included_files.
4405
4406 1991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
4407
4408 * etags.c (files_are_tag_tables): Remove global var.
4409 (process_file): Don't test it. Also remove hack checking for a
4410 file named "TAGS".
4411 (main): -i now takes an arg which is the name of a file to include.
4412 Collect these names and emit include tags for them after processing
4413 all the argument files.
4414
4415 1991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4416
4417 * wakeup.c: Terminate if parent goes away.
4418
4419 1991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4420
4421 * etags.c (C_entries): Process token before handling end of line.
4422 When inner loops reach end of line, just back up.
4423 Let the real end of line processing happen in just one place.
4424 (consider_token): Likewise.
4425
4426 1991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4427
4428 * etags.c (TEX_mode): Skip comments while scanning the text to see
4429 which escape character this file uses.
4430
4431 1991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4432
4433 * emacsserver.c [USG]: Terminate if msgrcv fails.
4434
4435 1991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
4436
4437 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
4438
4439 1991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
4440
4441 * make-docfile: Find the arguments to a C function correctly,
4442 by not ignoring the character that read_c_string returns. Don't
4443 even try to find argument names for functions that take MANY
4444 or UNEVALLED arguments, since they're a figment of the docstring's
4445 imagination.
4446
4447 1991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
4448
4449 * make-docfile: Read the .elc files generated by the new byte
4450 compiler.
4451
4452 1990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
4453
4454 * refcard.tex: Use cm fonts, not am, in multi-column mode.
4455
4456 1990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
4457
4458 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
4459
4460 1990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
4461
4462 * Makefile (install*): No need to install wakeup.
4463
4464 1990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
4465
4466 * Makefile (install*): Install emacsclient like etags.
4467
4468 1990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
4469
4470 * movemail.c (error): Handle 3 args.
4471 (main): Don't check input access if using pop.
4472
4473 1990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
4474
4475 * etags.c (find_entries): Check for numbers after Scheme suffix.
4476
4477 1990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
4478
4479 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
4480
4481 1990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
4482
4483 * Makefile (nemacstool, xvetool): New targets.
4484
4485 1990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
4486
4487 * emacsclient.c: Include errno.h and define related variables.
4488
4489 1990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
4490
4491 * emacsclient.c: Change usage message.
4492
4493 1990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
4494
4495 * emacs.1: Add break before -nw option.
4496
4497 1990-08-19 David J. MacKenzie (djm@apple-gunkies)
4498
4499 * qsort.c: Replace with GNU version.
4500
4501 1990-08-14 David J. MacKenzie (djm@apple-gunkies)
4502
4503 * wakeup.c: New program replacing loadst.c.
4504
4505 1990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4506
4507 * emacsclient.c [USG]: Pass msgsnd only 4 args.
4508
4509 1990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
4510
4511 * etags.c: Rename `flag' variables for what they do instead of
4512 which option character sets them.
4513
4514 1990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4515
4516 * loadst.c (main): Conditional to get load average on Apollo.
4517
4518 1990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
4519
4520 * emacsserver.c: Set the permission on the socket to 0600.
4521
4522 1990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4523
4524 * emacsclient.c [BSD]: Print clean message for failing getwd.
4525
4526 1990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
4527
4528 * getdate.y: Use the getdate.y from GNU tar for timer.
4529
4530 1990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
4531
4532 * emacsclient.c (main): Don't put brackets around "filename" in
4533 usage message. It isn't optional.
4534
4535 1990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
4536
4537 * etags.c (getit): Recognize '$' as beginning identifiers.
4538
4539 1990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
4540
4541 * emacsserver.c: Renamed from server.c.
4542 * Makefile: Reference emacsserver rather than server.
4543 * MACHINES: Doc fix for new emacsserver name.
4544
4545 1990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4546
4547 * emacsclient.c: Print program name in error messages.
4548
4549 1990-01-19 David Lawrence (tale@cocoa-puffs)
4550
4551 * timer.c, getdate.y (new files) and Makefile:
4552 Sub-process support for run-at-time in timer.el.
4553 Doesn't yet work correctly for USG.
4554
4555 1990-01-10 Jim Kingdon (kingdon@pogo)
4556
4557 * MACHINES: Add HP 300 running BSD.
4558
4559 1990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4560
4561 * yow.c: Dynamically allocate buffer; skip header before random
4562 choice to avoid bias toward first item.
4563
4564 1989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4565
4566 * etags.c (readline): Separate out init of `pend'.
4567
4568 1989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4569
4570 * etags.c: Undo changes relating to isgoodhdr.
4571
4572 1989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
4573
4574 * etags.c (isgoodhdr): New macro.
4575 (_gdh, notgdh): New variable used by that.
4576 (init): Initialize _gdh.
4577 (find_entries): Set header_file.
4578 (consider_token): Use isgoodhdr if in header file.
4579
4580 * etags.c (total_size_of_entries):
4581 Was miscalculating by 1 in rewritten case.
4582
4583 * etags.c (PAS_funcs): One arg to pfnote was missing.
4584
4585 1989-12-05 Joseph Arceneaux (jla@spiff)
4586
4587 * MACHINES: Change for the ULTRIX entry.
4588
4589 1989-11-21 Joseph Arceneaux (jla@spiff)
4590
4591 * etags.c (process_file): If file is not regular, return.
4592
4593 1989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4594
4595 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
4596
4597 1989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4598
4599 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
4600 (main): If HAVE_GETLOADAVG, don't call `nlist'.
4601
4602 1989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4603
4604 * etags.c (consider_token): Allow any number of typespec keywords
4605 after `typedef', before new type name.
4606 (enum sym_type): Add st_C_typespec.
4607 (C_create_stab): Put typespec kwds in table.
4608
4609 1989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
4610
4611 * etags.c (main): Don't depend on name invoked by.
4612 If CTAGS is not defined, assume it is ETAGS.
4613
4614 1989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4615
4616 * etags.c (L_funcs): Allow package name in define construct,
4617 as in (foo::defmumble name-defined ...).
4618
4619 1989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4620
4621 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
4622
4623 * Makefile (yow): Depends on ../src/paths.h.
4624
4625 1989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
4626
4627 * etags.c: Fix compilation by moving Pascal after Fortran.
4628
4629 1989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4630
4631 * movemail.c [USG]: Define F_OK, etc., if not found in header.
4632
4633 1989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4634
4635 * hexl.c: New file, supports hexl-mode.
4636
4637 1989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4638
4639 * movemail.c: New compilation flag MAIL_USE_MMDF.
4640
4641 1989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4642
4643 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
4644 * server.c: Likewise.
4645
4646 * make-docfile.c (scan_c_file): Output argument names at end of string.
4647 (write_c_args): New subroutine.
4648
4649 1989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4650
4651 * movemail.c: Report failure of flock.
4652
4653 1989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4654
4655 * etags.c (find_entries): Allow multi-letter extensions for fortran.
4656
4657 1989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4658
4659 * loadst.c: on bsd4.3, use gettimeofday instead of CPUSTATES.
4660
4661 1989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
4662
4663 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
4664
4665 * emacsstool.1: update to document environment variables.
4666
4667 1989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4668
4669 * etags.c (PAS_funcs): New function by Mosur Mohan.
4670
4671 * movemail.c: On sysv, include unistd.h.
4672
4673 1989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4674
4675 * b2m.c: New file.
4676
4677 1989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4678
4679 * etags.c: Prolog support from Sunichirou Sugou
4680
4681 1989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4682
4683 * Makefile (clean): New target.
4684
4685 1989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4686
4687 * fakemail.c (put_line): Break header lines at 79 cols.
4688
4689 1989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4690
4691 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
4692 multiple tags per line.
4693
4694 1989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4695
4696 * movemail.c: Check access before doing real work.
4697 Check that outfile is in a writable directory.
4698 On fatal error, delete the lock file.
4699
4700 1988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
4701
4702 * env.c: Add decl for my-index
4703 * etags.c (file-entries): .oak => scheme
4704
4705 1988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4706
4707 * movemail.c: Use `access' to check input and output files.
4708
4709 1988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4710
4711 * emacsclient.c (main): Ignore all of CWD before first slash.
4712
4713 1988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4714
4715 * etags.c (readline): Double linebuffer->size outside the xrealloc.
4716
4717 1988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4718
4719 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
4720 * server.c: chmod the socket to 0700.
4721
4722 1988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4723
4724 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
4725 (add_field): Delete comments and turn `<', `>' to spaces
4726 in header lines.
4727 (USE_FAKEMAIL): New customization macro says to make fakemail
4728 not be a no-op even on a BSD system.
4729
4730 1988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4731
4732 * etags.c (consider_token): Skip comments just like whitespace.
4733 Notice `struct', etc. and set strtag for those tokens.
4734 Return 1 for the token following `struct' if an open-brace follows it.
4735 (C_entries): Special handling of token following `struct'
4736 needed because we have probably advanced to the following line
4737 to find the `{'.
4738 (main): New option `T' sets tflag and strflag.
4739 Set both of them by default if eflags.
4740
4741 1988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4742
4743 * movemail.c: Do fsync before closing output.
4744
4745 1988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
4746
4747 * movemail.c: Better error message when can't create tempname.
4748 This file needs a great deal of extra error-checking and lucid reporting...
4749
4750 1988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4751
4752 * etags.c: Support assembler code for .s and .a files.
4753 (getit): Allow underscore in a tag.
4754
4755 1988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4756
4757 * movemail.c: Close output and check errors before deleting input.
4758
4759 1988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
4760
4761 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
4762 whether to prefix it. Handle line number args.
4763
4764 1988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
4765
4766 * etags.c (main): default setting of eflag was backwards.
4767
4768 1988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4769
4770 * etags.c: New option -i. -f renamed -o.
4771 `-' as input file means read input file names from stdin.
4772 -i spec'd or input file named TAGS means the input file is another
4773 tag table; output an "include" line for it.
4774
4775 1988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4776
4777 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
4778 New targets install, install.sysv, install.xenix.
4779 This makefile is now responsible for installing executables
4780 and documentation from this directory into system directories.
4781
4782 1988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
4783
4784 * server.c, emacsclient.c (main): Compute socket name from euid.
4785
4786 1988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4787
4788 * emacsclient.c: Args like +DIGITS are passed through unchanged.
4789
4790 1988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4791
4792 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
4793 * emacsclient.c: Likewise.
4794 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
4795
4796 1988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4797
4798 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
4799 (istoken) New string-comparison macro.
4800 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
4801
4802 1988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4803
4804 * etags.c: Changes for VMS.
4805 Always define ETAGS on VMS.
4806 Define macros GOOD and BAD for success and failure exit codes.
4807 (begtk, intk): Allow `$' in identifiers
4808 (main): Don't support -B, -F or -u on VMS.
4809 Alternate loop for scanning filename arguments.
4810 (system): Delete definition of this function.
4811
4812 * etags-vmslib.c (system): Undefine this; VMS now provides it.
4813
4814 1988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
4815
4816 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
4817 around include of param.h. (Like fns.c.)
4818
4819 1988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
4820
4821 * loadst.c (load_average): Move load-average code to this new fn.
4822 Add conditionals to compute load ave on UMAX.
4823
4824 1988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
4825
4826 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
4827 with opposite sense.
4828
4829 1988-05-13 Chris Hanson (cph@kleph)
4830
4831 * emacsclient.c: Delete references to unused variable `out'. This
4832 caused a bus error when used under hp-ux.
4833
4834 1988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
4835
4836 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
4837
4838 1988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
4839
4840 * etags.c (find_entries): `.t' or `.sch' means scheme code.
4841
4842 1988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
4843
4844 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
4845
4846 1988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
4847
4848 * movemail.c: #undef close, since config can #define it on V.3.
4849 * emacsclient.c, fakemail.c, loadst.c, server.c: likewise.
4850
4851 1988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
4852
4853 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
4854 invalid escape sequences such as `\{'.
4855
4856 * loadst.c: Add `sequent' conditional for file dk.h.
4857
4858 1988-03-20 Richard M. Stallman (rms@wilson)
4859
4860 * server.c [not BSD and not HAVE_SYSVIPC]: fix error message.
4861
4862 * loadst.c (main) [XENIX]: use /usr/spool/mail, not /usr/mail.
4863
4864 ;; Local Variables:
4865 ;; coding: iso-2022-7bit
4866 ;; End:
4867
4868 Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002
4869 Free Software Foundation, Inc.
4870 Copying and distribution of this file, with or without modification,
4871 are permitted provided the copyright notice and this notice are preserved.