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