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