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