(enum arg_type): New label at_stdin.
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
5526f1f6
FP
12002-06-06 Francesco Potorti` <pot@gnu.org>
2
97b90b0a
FP
3 * etags.c New option --parse-stdin=FILE.
4 (enum arg_type): New label at_stdin.
5 (STDIN): New constant.
6 (parsing_stdin): New flag.
7 (longopts): New option --parse-stdin=NAME.
8 (print_help): Document it.
9 (main): Handle it.
10 (process_file): Split into process_file and process_file_name.
11 (process_file_name): New function.
12
13 * etags.c Improvements and bug squashing in TeX handling.
14 (TeX_commands): Skip comments.
5526f1f6
FP
15 (TEX_defenv): Now contains more contructs.
16 (TEX_cmt): Make it a static char and move it before TeX_commands.
17 (TeX_commands): Shorten the tag to the brace after the name.
18 (TeX_commands): Names now include the initial backslash.
19 (TeX_commands): Names do not include numeric args #n.
20 (TeX_commands): Correct line char number in tags.
21 (TEX_tabent, TEX_token): Deleted.
22 (TeX_commands, TEX_decode_env): Streamlined.
23
50496bd9
FP
242002-06-05 Francesco Potorti` <pot@gnu.org>
25
26 * etags.c (main): Avoid a buffer overrun with sprintf.
27
a71867c5
RS
282002-05-30 Richard M. Stallman <rms@gnu.org>
29
30 * Makefile.in (LIBS_MAIL): Renamed from LIB_MAIL.
31 (LIBS_MOVE): Renamed from MOVE_LIBS.
32
b7e67db6
PE
332002-05-26 Paul Eggert <eggert@twinsun.com>
34
35 Reinstate the following change from 2002-03-22, which was
36 inadvertently lost on 2002-04-13.
37
38 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
39 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
40 the latter usage.
41
5f226e2c
EZ
422002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
43
44 * pop.c (socket_connection): Move the code to resolve the POP
45 host right before trying to connect with it.
46
5167cfda
CW
472002-04-28 Colin Walters <walters@verbum.org>
48
49 * Makefile.in (${archlibdir}): Don't conditionalize on
50 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
51 or not we have access to the specified game user.
50496bd9 52
5167cfda
CW
53 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
54 (main): New argument -d, for specifying directory.
55 (usage): Document.
56 (get_user_id): Compute
57 (get_home_dir): Deleted.
58 (get_prefix): New function, taken from main.
59 (main): Check whether or not we are running setuid. Move prefix
60 computation to get_prefix. Don't call getpwent; we don't need to
61 any more. Instead, move it to get_user_id().
62
beedfcf1
PJ
632002-04-24 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
64
65 * ebrowse.c (skip_initializer): Return void.
66
973c3c87
CW
672002-04-23 Colin Walters <walters@verbum.org>
68
69 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
70 space.
71
8378bcd3
FP
722002-04-22 Francesco Potorti` <pot@gnu.org>
73
74 * etags.c: (last_node): Make it a global variable.
75 (process_file): Print the tags from the nodes as soon as
76 possible, and delete the nodes. This brings down the memory
77 occupancy as etags to almost the same level as when the #line
78 directives were not parsed.
79 (free_fdesc): New function.
80 (find_entries): Use it.
81 (invalidate_nodes): In etags mode, do not just mark the nodes as
82 invalid, do delete them.
83
c901ceff
GM
842002-04-21 Gerd Moellmann <gerd@gnu.org>
85
86 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
87
c42d6dbd
EZ
882002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
89
90 * update-game-score.c: Move config.h before the other headers, to
91 avoid compiler warnings.
92
090416ca
FP
932002-04-16 Francesco Potorti` <pot@gnu.org>
94
95 * etags.c (find_entries): Bug fix in list management.
96
5dab24c1
FP
972002-04-15 Francesco Potorti` <pot@gnu.org>
98
99 * etags.c (get_language_from_filename): Add one argument.
100 (strcaseeq): New function.
101 (get_language_from_filename): Use it to do a case insenstitive
102 comparison if called with appropriate args.
103 (find_entries): Try with case insensitive match.
104 (process_file): Bug fixed.
105
c150db23
FP
1062002-04-13 Francesco Potorti` <pot@gnu.org>
107
108 * etags.c (find_entries): Delete tags previously obtained from
109 file xxx.c's #line directives when parsing file xxx.y. This is
110 generally done for automatically generated files containing
111 #line directives. This handles the case when xxx.y is tagged
112 before xxx.c, and the entries of xxx.c pointing to xxx.y should
113 be discarded.
114 (language): Added the metasource member. Initializers changed.
115 (invalidate_nodes): New function.
116 (readline): Discard lines after having found a #line
117 directive pointing to an already tagged file. This handles the
118 case when xxx.y is tagged before xxx.c, and the entries of
119 xxx.c pointing to xxx.y should be discarded.
120 (fdesc): New structure for keeping track of input files.
121 (fdesc): Remove `file' member (a string) and use instead a pointer
122 to a file description structure.
123 (curfile, curfiledir, curtagfname, curlang, nocharno,
124 forced_lang): Global variables removed in favor of fdhead and
125 curfdp, pointers to file description strucures.
126 (longopts, main, print_help): Use the CTAGS conditional to include
127 or exclude options that work on etags or ctags only.
128 (process_file, find_entries, pfnote, add_node, put_entries,
129 readline): Use fdhead and curfdp.
130 (process_file, find_entries): Do not take an arg string, all
131 callers changed.
132
133 * etags.c (longopts, print_help, main): Test CTAGS to disallow
134 options that are not right for either etags or ctags.
135
136 * etags.c (number_len, total_size_of_entries): Define them also
137 in CTAGS mode, because gcc does not compile all refs away.
138
e9d1f248
CW
1392002-04-14 Colin Walters <walters@debian.org>
140
141 * update-game-score.c (lock_file): If the lock file is older than
142 an hour, delete it. Reset attempts to zero if we have to break
143 the lock.
144
7605f1bd
AS
1452002-04-14 Andreas Schwab <schwab@suse.de>
146
147 * update-game-score.c (read_score): Fix type of second parameter
148 of getdelim to be of type size_t instead of int. Use 0 instead of
149 ESUCCES.
150
e82defd1
CW
1512002-04-10 Colin Walters <walters@verbum.org>
152
b9b966e0
CW
153 * update-game-score.c: (toplevel): Include stdarg.h.
154 (MAX_DATA_LEN, MAX_SCORES): New.
155 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
156 default to ~/.emacs.d/games.
157 (get_user_id): Don't zero uid in the case where we can't get the
158 username.
159 (lose): New function.
160 (main): Actually use `max', and default it to MAX_SCORES.
161 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
162 function.
163 (read_score): Handle the case of reading unamelen characters, then
164 finishing. Use mktemp if mkstemp isn't available.
165 (lock_file, unlock_file): Delete unused versions.
166 (lock_file): Always sleep, even if we unlinked the lock file.
167
e82defd1
CW
168 * Makefile.in (gamedir, gameuser): New variables.
169 (toplevel, UTILITIES): Add update-game-score.
170 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
171
5795b420
CW
1722002-04-07 Colin Walters <walters@verbum.org>
173
174 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
175 (get_user_id): Take struct passwd as an argument.
176 (get_home_dir): New function.
177 (main): Read in user information here. Discover home directory if
178 necessary.
179 (read_score): Trim newline only in `getline' case.
180
cd553ffb 1812002-04-05 Colin Walters <walters@debian.org>
c150db23 182
cd553ffb
CW
183 * update-game-score.c (toplevel): Include pwd.h.
184 (struct score_entry): Add username field.
185 (push_score): Use it.
186 (get_user_id): New function.
187 (main): Don't malloc excessively.
188 (main): Use username field.
189 (read_score): Read it.
190 (push_score): Handle it.
191 (write_scores) Write it.
c150db23
FP
192 (read_score): Handle arbitrary length data.
193
b74bd4a3
EZ
1942002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
195
196 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
197
fa8bc89d
GM
1982002-03-29 Gerd Moellmann <gerd@gnu.org>
199
200 * ebrowse.c (add_declarator, skip_initializer): New functions.
201 (declaration): Use them.
202
dd87b4cc
JR
2032002-03-28 Jason Rumney <jasonr@gnu.org>
204
205 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
206
cd553ffb
CW
2072002-03-27 Colin Walters <walters@debian.org>
208
209 * update-game-score.c: New file.
210
dfef6d49
PE
2112002-03-22 Paul Eggert <eggert@twinsun.com>
212
213 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
214 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
215 the latter usage.
216
4fff90e4 2172002-03-12 Francesco Potorti` <pot@gnu.org>
a13d6523 218
4fff90e4 219 * etags.c (Python_functions): Skip spaces at beginning of lines.
a13d6523
FP
220 (Python_functions, PHP_functions): Name tags, for ctags' sake.
221 (TeX_commands): Name tags. Correction of old disabled code.
222
223 * etags.c (curfiledir, curtagfname): New global variables.
224 (process_file): Initialise them.
225 (readline): Canonicalize the name found in #line directive.
893a741e 226
4fff90e4 2272002-03-06 Jason Rumney <jasonr@gnu.org>
ca55a1e3 228
893a741e
JR
229 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
230 compilers that don't optimize out dead code.
231
51aeded3
FP
2322002-03-05 Francesco Potorti` <pot@gnu.org>
233
234 * etags.c: Honour #line directives.
235 (no_line_directive): New global var; set it for old behaviour.
236 (main): Remove some #ifdef in the getopt switch.
237 (add_node, put_entries): Code added to merge different chunks of
238 nodes referring to the same file. Currently the tags are just
239 appended, without any check for duplicates.
240 (Perl_functions): Do not special case ctags.
241 (readline): Identify #line directives and do the right thing.
242 (nocharno, invalidcharno): New global vars.
243 (process_file): Reset nocharno.
244 (readline): Set nocharno.
245 (pfnote): Read nocharno and maybe put invalidcharno in node.
246 (total_size_of_entries, put_entries): Use invalidcharno.
247
248 * etags.c: Keep the whole tag table in memory, even in etags mode.
249 (main): Call put_entries here even in CTAGS mode.
250 (main, process_file): Check the return values of fclose and pclose.
251 (process_file): Do not call put_entries after parsing each file.
252 (process_file): Canonicalise file names even for ctags.
253 (process_file): Set curfile here...
254 (find_entries): ... not here any more.
255 (add_node): In etags mode, build a linked list of entries (on
256 right pointer) for each file, and link the first entry of each
257 file on left nodes.
258 (put_entries): Print here the name of the file.
259 (put_entries): Print the entries starting from the first file.
c150db23 260 (number_len, total_size_of_entries): Define these only in etags
51aeded3
FP
261 mode, make the second work only on the right nodes.
262
263 * etags.c: Make all global variables static.
264
50ce1f62
JB
2652002-02-25 Juanma Barranquero <lektu@terra.es>
266
267 * makefile.w32-in (lisp): Add missing backslash.
268
82a399d2
JR
2692002-02-24 Jason Rumney <jasonr@gnu.org>
270
271 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
272 using .elc files.
273 (lisp): Sync with list in src/Makefile.in
274 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
275
a279c920
PE
2762002-02-10 Paul Eggert <eggert@twinsun.com>
277
278 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
279 disallows the old syntax.
280
0caa685d
PE
2812002-02-03 Paul Eggert <eggert@twinsun.com>
282
283 * rcs2log(Copyright): Update to 2002.
284 (AWK, TMPDIR): Work around portability problem in broken shells that
285 don't understand `: ${VAR=val}'.
286 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
287 Prefer the new -k option to the traditional +M -N option.
288
03950b5b
PJ
2892002-01-01 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
290
291 * b2m.c (main): Parenthesize assignment when used as truth value
292 to prevent gcc warnings.
293
294 * fakemail.c: Include <config.h>.
295
2f8fe2f4
PJ
2962001-12-29 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
297
298 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
299 * yow.c: Include <config.h>.
300
a60e4de9
FP
3012001-12-21 Francesco Potorti` <pot@gnu.org>
302
303 * etags.c (Perl_functions): Tag packages and use them in sub tags.
304 (get_tag): Return a pointer to the tag that is found.
305
306 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
307 (F_takeprec): Renamed from takeprec. All callers changed.
308 (F_getit): Renamed from getit. All callers changed.
309 (nocase_tail): Renamed from tail. All callers changed.
310 (Ada_getit): Renamed from adagetit. All callers changed.
311 (L_getit): Simplified by using get_tag.
312 (Perl_functions, Postscript_functions, erlang_attribute): Use the
313 modified LOOKING_AT.
314 (notinname): Removed '[' and added ')' to the recognised chars.
315 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
316 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
317 Clarified, using strneq or notinname.
318 (L_isdef, L_isquote): Removed.
319 (Lisp_functions, L_getit): Clarified.
320
321 * etags.c: (P_): Renamed to __P for consistency with config.h.
322 [HAVE_CONFIG_H]: Let config.h deal with __P.
323 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
324 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
325 gperf code needs it.
326 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with Xemacs).
327 [HAVE_CONFIG_H] [!__P]: Define __P (for use with Xemacs).
328 (xmalloc, xrealloc): Use PTR instead of long *.
329 (bool): Make it a define, not a typedef, for C++ compilers.
330 (pattern): Members renamed to avoid name clash in some C++ compilers.
331 (get_language_from_langname): Use const argument.
332
c95eaa61
PJ
3332001-12-22 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
334
335 * makefile.nt, makefile.w32-in: Remove mocklisp files.
336
69bfc389
PJ
3372001-12-19 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
338
b8509940
PJ
339 * emacsserver.c: Conditionally include config.h.
340
594aa066
PJ
341 * fakemail.c: Likewise.
342
e69233c2
PJ
343 * emacsclient.c: Include "config.h", not <../src/config.h>.
344 (main): Parenthesize assignment when used as truth value to
345 prevent gcc warnings.
346
69bfc389
PJ
347 * ebrowse.c: Include stdlib.h and string.h conditionally.
348
e4e34e31
EZ
3492001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
350
351 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
352
ffb7c9c6
PJ
3532001-12-18 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
354
355 * test-distrib.c: Fix previous change.
356
fb5aa7ac
DL
3572001-12-18 Dave Love <fx@gnu.org>
358
359 * test-distrib.c: Conditionally include fcntl.h.
360
361 * fakemail.c: Include "config.h", not <../src/config.h>.
362 (_XOPEN_SOURCE): Define as 500.
363
364 * emacsserver.c: Include "config.h", not <../src/config.h>.
365
366 * cvtmail.c: Include config.h, stdlib.h.
367 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
368
369 * yow.c: Conditionally include various headers. Use "epaths.h",
370 not <../src/epaths.h>.
371 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
372
e94a3679
FP
3732001-12-12 Francesco Potorti` <pot@gnu.org>
374
13dc0576 375 * etags.c (PHP_functions): New function for parsing PHP.
e94a3679
FP
376 (LOOKING_AT): New macro.
377 (Perl_functions, Python_functions, PHP_functions)
378 (Scheme_functions, Texinfo_nodes): Use it.
379 (Perl_functions): Use strneq.
380 (prolog_pred): Renamed to prolog_pr.
13dc0576 381 (prolog_pr): Recognise Prolog rules in addition to predicates.
e94a3679 382 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
13dc0576 383 unmodified compile, as Cygwin's regex.h is incompatible with us.
e94a3679
FP
384 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
385
34e39c95
RS
3862001-12-11 Richard M. Stallman <rms@gnu.org>
387
388 * Makefile.in (clean): Don't delete ../etc/DOC*.
389
296071e7
PJ
3902001-12-11 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
391
392 * COPYING: Moved back.
393
76054cc8
AI
3942001-11-30 Andrew Innes <andrewi@gnu.org>
395
e94a3679
FP
396 * makefile.w32-in (FACE_SUPPORT):
397 (MOUSE_SUPPORT):
398 (FLOAT_SUPPORT):
399 (WINNT_SUPPORT):
76054cc8
AI
400 (lisp): Reference .el files instead of .elc files, to simplify
401 bootstrapping.
402 ($(DOC)): Change dependency to just `make-docfile'.
403
0142178a
PJ
4042001-11-29 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
405
406 * COPYING: Removed.
407
e8d6a09b
PE
4082001-11-28 Paul Eggert <eggert@twinsun.com>
409
410 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
411
412 The following changes are derived from suggestions by Bob Chapman
413 <rechapman@compuserve.com>.
414
415 * rcs2log (printlogline): Also allow tab and newline to separate
416 '(function):' from the rest of a comment.
417 (reformat the sorted log entries): Require date and author to
418 match the clumpname.
419
9a190096
GM
4202001-11-16 Gerd Moellmann <gerd@gnu.org>
421
422 * ebrowse.c (matching_regexp): Escape '\\'.
423
8ec1b917
PJ
4242001-11-15 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
425
426 * Makefile.in: Add support for --program-prefix, --program-suffix
427 and --program-transform-name options.
428
6d8f7d5d
RS
4292001-11-03 Richard M. Stallman <rms@gnu.org>
430
431 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
432
433 * movemail.c (popmail): Always pass two args to `error'.
434
84e70f78
KR
4352001-10-24 Ken Raeburn <raeburn@gnu.org>
436
437 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
438 -lhesiod and maybe -lresolv.
439 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
440 support if it's available.
441
386ca361
MB
4422001-10-21 Miles Bader <miles@gnu.org>
443
a3b10252
MB
444 * make-docfile.c (struct rcsoc_state): New type.
445 (read_c_string_or_comment): Add SAW_USAGE
386ca361 446 parameter, and implement scanning for a `usage:' keyword.
a3b10252
MB
447 Use a variable of type `rcsoc_state' to hold most of our state.
448 (put_char): Add STATE parameter, and remove all other parameters
449 except CH. Use STATE to get access to all needed state.
450 (scan_keyword_or_put_char): New function.
386ca361
MB
451 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
452 Don't output a usage-string if there was one in the doc-string.
453
71431a0e
GM
4542001-10-20 Gerd Moellmann <gerd@gnu.org>
455
6aa97356 456 * (Version 21.1 released.)
71431a0e 457
37a9305e
PJ
4582001-10-19 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
459
460 * b2m.c: Properly spell the name of Emacs.
461
945220bd
MB
4622001-10-17 Miles Bader <miles@gnu.org>
463
464 * make-docfile.c (put_char): New function.
465 (read_c_string_or_comment): Strip trailing spaces and newlines.
466
14242528
MB
4672001-10-16 Miles Bader <miles@gnu.org>
468
469 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
470 comments [with `doc:' keyword prefix].
471
9f5eb4a3
GM
4722001-10-15 Gerd Moellmann <gerd@gnu.org>
473
474 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
475 in a C doc comment.
476
e641b454
GM
4772001-10-13 Gerd Moellmann <gerd@gnu.org>
478
479 * make-docfile.c (read_c_string_or_comment): Renamed from
480 read_c_string. Add parameter COMMENT. Read C-style comments.
481 (scan_c_file): Handle doc strings in C comments.
482
967d7793
AI
4832001-10-12 Andrew Innes <andrewi@gnu.org>
484
485 * makefile.nt (ALL): Do not include fakemail.
486
487 * makefile.w32-in (install): Do not copy fakemail.
488
d682756a
JR
4892001-10-10 Jason Rumney <jasonr@gnu.org>
490
491 * makefile.w32-in (ALL) Do not include fakemail.
492
493 * makefile.nt (install) Ditto.
494
14a3dff7
GM
4952001-10-09 Gerd Moellmann <gerd@gnu.org>
496
497 * emacsserver.c (main): Cast geteuid in sprintf to int.
14a3dff7 498
95bc7904 499 * emacsclient.c (main): Cast isdigit argument to unsigned char.
14a3dff7 500
f98d41f5
PJ
5012001-10-07 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
502
503 * profile.c: Include config.h, not ../src/config.h.
504 Include systime.h, not ../src/systime.h.
505
ab952a4f
GM
5062001-10-05 Gerd Moellmann <gerd@gnu.org>
507
508 * Branch for 21.1.
dff28924 509
12c64503
GM
5102001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
511
512 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
513 ALIASEE to help work with namespace aliases.
514 (struct sym): Remove struct member NAMESP_ALIASES.
515 (namespace_alias_table): New variable.
516 (make_namespace): Add parameter CONTEXT.
517 (check_namespace): New function.
518 (find_namespace): Add parameter CONTEXT.
519 (check_namespace_alias): New function.
520 (register_namespace_alias): Change type of parameter
521 OLD_NAME. Search for already defined alias in
522 NAMESPACE_ALIAS_TABLE.
523 (check_namespace): New function.
524 (enter_namespace): Call find_namespace with CONTEXT parameter.
525 (match_qualified_namespace_alias): New function.
526 (parse_qualified_ident_or_type): Fixed typo in comment. While
527 parsing qualified ident or type update namespace context and
528 restore it on exit.
529 (parse_qualified_param_ident_or_type): Fixed typo in comment.
530 (globals): Changed handling of namespace aliases.
531 (version): Added year 2001.
532
990e1190
FP
5332001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
534
535 * etags.c (analyse_regex): If regex_arg is NULL, return
536 immediately after a call to free_patterns.
537
f2e7e23e
AS
5382001-09-05 Paul Eggert <eggert@twinsun.com>
539
540 * rcs2log (Help, mainline code): Add new option -L FILE.
541 (Copyright): Update year.
542 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES,
543 LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
544 C locale.
545 (mainline code): Handle nonstandard -u option differently, by
546 transforming it to standard form. Check for "Working file: ", not
547 "Working file:". Allow file names with spaces.
548 (SOH, rlogfile): New shell vars.
dff28924 549 (rlogout): Remove. Its old functionality is mostly migrated to
f2e7e23e
AS
550 rlogfile.
551
552 Append ';;' to the last arm of every case statement, for
553 portability to ancient broken BSD shells.
554
555 (logins): Fix bug; was not being computed at all, lowering
556 performance.
557 (pository): New var. This fixes some bugs where repositories are
558 remote, or have trailing slashes.
559 (authors): $llogout is never an empty shell var, so don't worry
560 about that possibility.
dff28924 561 (printlogline, mainline code): Fix bug with SOH's being put into
f2e7e23e 562 the output.
dff28924 563
75c911eb
EZ
5642001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
565
566 * ebrowse.c (SEEK_END): #define if not defined by system headers.
567 Suggested by Dave Love <d.love@dl.ac.uk>.
568
5ae10f4a
EZ
5692001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
570
571 * makefile.nt (lisp): Synchronize with src/Makefile.in.
572 * makefile.w32-in (lisp): Ditto.
573
0e4011d8 5742001-07-25 Juanma Barranquero <lektu@terra.es>
e743f599
GM
575
576 * grep-changelog (parse_changelog): Remove unused local variable.
577
578 * grep-changelog (main): Add new option --reverse.
579 (print_log): Use it.
580 (parse_changelog): Use it.
581
3c88ae74
GM
5822001-07-20 Gerd Moellmann <gerd@gnu.org>
583
584 * grep-changelog: Remove RCS Id keyword.
585
41848daa
GM
5862001-07-20 Juanma Barranquero <lektu@terra.es>
587
6e07c0a5
GM
588 * grep-changelog (parse_changelog): Add tests for defined values
589 to quiet warning from Perl 5.005 or above.
177ab8ce 590 (entry_match_p, header_match_p): Fix handling of null or empty
0e4011d8
GM
591 argument to prevent duplicate headers.
592
593 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
41848daa 594
467f1209
GM
5952001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
596
597 * emacsclient.c (print_help_and_exit): Fix help message for
598 +LINE:COLUMN option.
599
6002000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
990e1190 601
467f1209
GM
602 * emacsclient.c (main): Add support for +LINE:COLUMN command line
603 argument.
604
bb24c64f
GM
6052001-07-16 Gerd Moellmann <gerd@gnu.org>
606
607 * ebrowse.c (main): Check that the output file exists and
608 is non-empty if invoked with `--append'.
609
fa829470
FP
6102001-05-14 Francesco Potorti` <pot@gnu.org>
611
e335b66a
GM
612 * etags.c (add_regex): Reset the whole newly allocated pattern
613 buffer instead of the individual members. It's safer and works
614 with Xemacs.
fa829470 615
e335b66a 616 * etags.1: Markups corrected.
fa829470 617
6da5c7da
GM
6182001-05-08 Gerd Moellmann <gerd@gnu.org>
619
620 * ebrowse.c (enter_namespace): Fix reallocation of
621 namespace_stack.
622
efbecf9d
GM
6232001-05-03 Gerd Moellmann <gerd@gnu.org>
624
625 * ebrowse.c (globals): Fix handling of namespace aliases.
626
f4976ebc
EZ
6272001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
628
629 * etags.c (print_help): Enclose the regexp in the help text
630 example in quotes.
631
23431241
DL
6322001-04-05 Dave Love <fx@gnu.org>
633
634 * emacsclient.c (fail): Don't return a value.
fa829470 635 (main): Cast uid values for sprintf.
23431241 636
476bf681
GM
6372001-04-03 Gerd Moellmann <gerd@gnu.org>
638
b3f6107b
GM
639 * emacsclient.c (fail, main): Don't use implicit int return type.
640
476bf681
GM
641 * b2m.c (main): Always return a value.
642
ef53d75e
GM
6432001-03-02 Gerd Moellmann <gerd@gnu.org>
644
645 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
646 freshly allocated object in *LAST_ID.
647 (read_line): Accept \r\n line endings.
648
425de386
AI
6492001-02-24 Andrew Innes <andrewi@gnu.org>
650
651 * makefile.w32-in: Fix copyright notice.
652
f55ae599
FP
6532001-02-23 Francesco Potorti` <pot@gnu.org>
654
655 * etags.c (enum sym_type): New label st_C_template.
656 (gperf input): Use it for switching to C++ from C.
657 (consider_token): Do it.
c2a642c0
FP
658 (C_entries): Initialise typdefcblev to quiet compilers.
659 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
f55ae599 660
f6839838
AI
6612001-02-22 Andrew Innes <andrewi@gnu.org>
662
663 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
664 VMS header files.
665 ($(BLD)\profile.obj): Ditto.
666
667 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
668 VMS header files.
669 ($(BLD)/profile.$(O)): Ditto.
670
193fba87
AI
6712001-02-05 Andrew Innes <andrewi@gnu.org>
672
673 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
674 invocation of make-docfile, to work with Windows 2000.
675
30526cc6
DL
6762001-01-31 Dave Love <fx@gnu.org>
677
678 * etags.c (in_word_set): Use `static' in definition (for pcc).
679
8f79fe72
FP
6802001-01-31 Francesco Potorti` <pot@gnu.org>
681
682 * etags.c: [NDEBUG] #undef assert and #define it as ((void)0), for
683 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
684 (C_entries): Tag token renamed to still_in_token because sunos4
685 pcc wants to expand it as the token() macro even though it has no
686 arguments.
687
914d7258
AI
6882001-01-30 Andrew Innes <andrewi@gnu.org>
689
690 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
691 bug in the Mingw32 assert.h header file.
692
b28e26be
FP
6932001-01-30 Francesco Potorti` <pot@gnu.org>
694
695 * etags.c: [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
696 #define it for the sake of Xemacs.
697 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
698 HAVE_CONFIG_H. This change only affects a standalone etags.
699 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
700 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
701 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
702 [!HAVE_UNISTD_H]: use defined(WINDOWSNT) instead of the bare
703 WINDOWSNT, as this is the correct way to use it.
704
8c463abe
FP
7052001-01-28 Francesco Potorti` <pot@gnu.org>
706
707 * etags.c: Be capable to parse nested struct-like structures.
708 (structdef, structtag): Struct state machine revisited.
709 (struct tok): Revisited.
710 (cstack, nestlev, instruct): New struct and macros.
711 (pushclass_above, popclass_above, write_classname): New functions
13dc0576 712 for dealing with nested class names.
8c463abe
FP
713 (consider_token, make_C_tag, C_entries): Many changes for dealing
714 with arbitrarily nested structures.
715 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
716 (C_entries): Consider templates in C++.
717 (sym_type): New constant st_C_class for detecting "class" also in
718 C mode.
719 (C_AUTO): New macro for automatic detection of C++.
720 (consider_token): Automatic set C++ mode.
721 (C_entries): New security check for yacc.
722 (print_language_names, print_help): Mention the autodetect
723 feature, do not show help for the -C option, now mostly useless.
724 (C_entries): Tag C++ forward declarations if --declarations.
725 (C_entries): Don't be fooled by things like XDEFUN.
726 (consider_token): Discard asm pseudo function.
727
e26f9ced
EZ
7282001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
729
730 * etags.c: Add a coding: tag.
731
a47b7816
GM
7322001-01-26 Gerd Moellmann <gerd@gnu.org>
733
8c463abe 734 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
a47b7816
GM
735 New variables.
736 (matching_regexp): Use them instead of static variables in
737 function scope.
738
7df65e91 7392001-01-25 Francesco Potorti` <pot@gnu.org>
d22a24fa
FP
740
741 * etags.c (struct tok): Renamed from struct token.
742 (token): Renamed from tok.
743 (structtype): Make it a local variable.
744 [DEBUG]: Use assert.
745 (xrnew): Change the synopsis.
746 (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
747 (grow_linebuffer): Don't call xrnew when not needed.
748 (token): buffer renamed to line.
749 (C_entries): Three calls to inibuffer moved here from main.
750 (C_entries): Removed all references to var methodlen, delete it.
751 (linebuffer_setlen): Was grow_buffer, now also sets len.
752 (consider_token, C_entries, Pascal_functions): Use it.
753 (C_entries): Preventing problems relative to extern "C".
754 (C_entries): Can tag more than one variable or func separated by
755 comma when --declarations is used.
756 (C_entries): More accurate tagging of members and declarations.
757 (yacc_rules): Was global, made local to C_entries.
758 (next_token_is_func): Removed.
759 (fvdef): New constants fdefunkey, fdefunname.
760 (consider_token, C_entries): Use them.
761 (C_entries): Build proper lisp names for Emacs DEFUNs.
762
21c2bbe0
GM
7632001-01-22 Gerd Moellmann <gerd@gnu.org>
764
765 * ebrowse.c (xfree): New function.
766 (member, declaration, globals): Use xmalloc instead of alloca.
767
7df65e91 7682001-01-15 Francesco Potorti` <pot@gnu.org>
83be933c
FP
769
770 * etags.c (print_language_names): Print filenames in addition to
771 suffixes.
772
47df1a5e
EZ
7732001-01-14 Francesco Potorti` <pot@gnu.org>
774
775 * etags.c (get_language_from_langname): Renamed from
776 get_language_from_name.
777 (get_language_from_filename): Renamed from
778 get_language_from_suffix. Now first looks for the complete file
779 name.
780 (language): New member char **filenames.
781 (Makefile_filenames): List of possible filenames for makefiles.
782 (lang_names): Added a NULL member for every entry, added an entry
783 for makefiles.
13dc0576 784 (Makefile_targets): New function.
47df1a5e
EZ
785 (Texinfo_nodes): Renamed from Texinfo_fuctions and made
786 it conformant to the style of the rest of the code.
787
291c7e74
GM
7882001-01-13 Gerd Moellmann <gerd@gnu.org>
789
790 * make-docfile.c (write_c_args): Print newlines as spaces.
791
0dac6924
AI
7922001-01-06 Andrew Innes <andrewi@gnu.org>
793
794 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
795 of *.pdb.
796
3e99d3b4
GM
7972001-01-03 Paul Eggert <eggert@twinsun.com>
798
799 * lib-src/rcs2log: Avoid security hole allowing attacker to
800 cause user of rcs2log to overwrite arbitrary files, fixing
801 a bug reported by Morten Welinder.
802
803 Don't put "exit 1" at the end of the exit trap; it's
804 ineffective in POSIX shells.
805
d6bb0c0d
GM
8062001-01-02 Gerd Moellmann <gerd@gnu.org>
807
808 * ebrowse.c (yyerror): Changed to take two arguments. Prototype
809 added. Callers changed.
810
d5c00476 8112001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
315f5865
EZ
812
813 * ebrowse.c (enter_namespace, main): Cast variables to shut up
814 compiler warnings.
815 (yyerror): Change parameter declarations to be of type long, so
816 that they can take pointers on 64-bit platforms.
817
818 * emacsclient.c (main): Remove unused local variable statbfr.
819 (main) <homedir>: Make its declaration conditional on
820 SERVER_HOME_DIR, to avoid compiler warnings.
821
822 * emacsserver.c (main) <homedir>: Make its declaration conditional
823 on SERVER_HOME_DIR, to avoid compiler warnings.
824
825 * fakemail.c (readline): Cast buffer to "long *" to pacify
826 over-zealous compilers.
827
7c89ea61
EZ
8282000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
829
830 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
831
a6768cc5
GM
8322000-12-15 Gerd Moellmann <gerd@gnu.org>
833
834 * ebrowse.c (operator_name): Cast argument of isalpha to
835 unsigned char.
836
837 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
838 Use them throughout instead of ctype functions/macros.
839 (lowcase): Cast to unsigned char.
840 (UPCASE): New macro.
841 (canonicalize_filename): Use UPCASE instead toupper.
842
843 * fakemail.c (get_keyword): Make sure that isspace and
844 similar aren't called with a negative argument.
845
70de49cc
DL
8462000-12-13 Dave Love <fx@gnu.org>
847
848 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
849
4e8b894c
AI
8502000-12-06 Andrew Innes <andrewi@gnu.org>
851
852 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
853 don't know the real version, and I can't seem to get the quoting
854 right in all circumstances.
855
856 * ebrowse.c (VERSION): Provide default definition, like etags.c
857 does, because Windows build can't snarf this from version.el.
858
88257bc8
AI
8592000-11-30 Andrew Innes <andrewi@gnu.org>
860
861 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
862 (install): Ditto.
863
d19249e7
JR
8642000-11-23 Jason Rumney <jasonr@gnu.org>
865
866 * makefile.w32-in: Add targets for ebrowse.exe.
867 (LOCAL_FLAGS): Add -DVERSION flag.
868
7df6adc3
DL
8692000-09-25 Dave Love <fx@gnu.org>
870
871 * sorted-doc.c: Include config.h.
872 [!HAVE_STDLIB_H]: Declare malloc.
873
fe83b953
AI
8742000-09-14 Andrew Innes <andrewi@gnu.org>
875
876 * makefile.w32-in: Revert to Unix line endings.
877
517699ca
DL
8782000-09-04 Dave Love <fx@gnu.org>
879
880 * movemail.c (index, rindex): Prototype conditionally.
881
f8803e97
AI
8822000-09-03 Andrew Innes <andrewi@gnu.org>
883
884 * makefile.w32-in: Change to DOS line endings.
885
f72adc12
EZ
8862000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
887
4034f3a8 888 * movemail.c (toplevel): Remove redundant fcntl.h.
f72adc12
EZ
889 [!F_OK]: Provide default definitions only after including both
890 fcntl.h and unistd.h.
891
f678f592
DL
8922000-08-29 Dave Love <fx@gnu.org>
893
894 * movemail.c: Revert previous change.
895
5b671d04
EZ
8962000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
897
898 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
899
6fa86045
DL
9002000-08-28 Dave Love <fx@gnu.org>
901
902 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
903 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
904
746d9caf
AI
9052000-08-22 Andrew Innes <andrewi@gnu.org>
906
907 * ntlib.h (WIN32): Remove unnecessary definition.
908 (sleep): Make argument unsigned long.
909 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
910
911 * ntlib.c (sleep): Make argument unsigned long.
912
913 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
914
915 * makefile.w32-in: New file.
916
3b541489
EZ
9172000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
918
919 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
920 letter only if it is a drive letter.
921
e5acf0ca
GM
9222000-07-14 Gerd Moellmann <gerd@gnu.org>
923
924 * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and
925 ymalloc.
926
927 * etags.c (xmalloc, xrealloc): Make externally visible, for use
928 by alloca.o.
929
930 * Makefile.in (alloca.o): Add -Demacs so that alloca will use
931 xmalloc.
932
4b92c49a
GM
9332000-07-10 Gerd Moellmann <gerd@gnu.org>
934
935 * ebrowse.c (yylex): Accept string literals with newlines in them.
936 (process_pp_line): Handle case of string literal with newline
937 in it in replacement text, which counts as continuing the
938 replacement text in GNU C.
939
831a6cb0
GM
9402000-07-02 Gerd Moellmann <gerd@gnu.org>
941
942 * ebrowse.c (token_string): Add missing tokens.
943 (parm_list): Handle case of qualified pointers.
944
53245ee2
DL
9452000-06-23 Dave Love <fx@gnu.org>
946
947 * ebrowse.c: Move config.h before other includes (which may use
948 feature tests).
949
dcbf2cd2
JM
9502000-06-14 Jim Meyering <meyering@lucent.com>
951
952 * grep-changelog: Fix typos in comments. Remove trailing blanks.
953
f1c7754a
JR
9542000-06-11 Jason Rumney <jasonr@gnu.org>
955
956 * makefile.nt: Add targets for ebrowse.
957
958 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
959 compare filenames.
960
5f1aea9a
GM
9612000-06-06 Gerd Moellmann <gerd@gnu.org>
962
963 * ebrowse.c (ymalloc): Renamed from xmalloc.
964 (yrealloc): Renamed from xrealloc.
965
5bf244f1
DL
9662000-05-21 Dave Love <fx@gnu.org>
967
968 * movemail.c: Include config.h, not ../src/config.h.
969 (Errmsg): Bump length.
970
971 * pop.c (ERROR_MAX): Increase to 160.
972
ec82fb2f
GM
9732000-05-04 Gerd Moellmann <gerd@gnu.org>
974
975 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
976
5c922ea7
EZ
9772000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
978
979 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]: Define
980 to semi-colon.
981 (FILENAME_EQ): New macro, for comparing file names.
982 (add_member_decl, add_global_decl, add_member_defn): Use
983 FILENAME_EQ.
984 (process_file): Don't assume that fread always reads as many bytes
985 as it was told to (DOS-style CR-LF text files fail this logic).
986 (open_file): Allocate enough space for path->path plus the file
987 name and the slash.
988
6142fdcb 9892000-04-19 Dave Love <fx@gnu.org>
97052c63
DL
990
991 * etags.c (Texinfo_functions): New function.
992 (lang_names): Install it.
993 (Texinfo_suffixes): New variable.
994
cb9215e4
GM
9952000-04-19 Gerd Moellmann <gerd@gnu.org>
996
997 * ebrowse.c (xmalloc, xrealloc): Rewritten.
998 (declaration): Remove parameter IS_EXTERN.
999 (class_definition): Remove unused variable.
1000
be0dbdab
GM
10012000-04-09 Gerd Moellmann <gerd@gnu.org>
1002
1003 * Makefile.in (INSTALLABLES): Add ebrowse.
1004 (ebrowse): New target.
1005
1006 * ebrowse.c: New file.
1007
c5aa0fc2
AS
10082000-03-29 Andreas Schwab <schwab@suse.de>
1009
1010 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
1011
d054101f
GM
10122000-03-02 Gerd Moellmann <gerd@gnu.org>
1013
1014 * etags.c (lisp_suffixes) Add `LSP'.
1015
71cbb895
FP
10162000-02-10 Francesco Potorti` <pot@gnu.org>
1017
1018 * etags.c (iswhite): Redefined not to consider '\0' as white
1019 space, and use it throughout in place of isspace, thus preventing a
1020 potential signed char to int conversion problem.
1021 (MSDOS): #undefine befere redefining
1022
7df65e91 10232000-02-04 Francesco Potorti` <pot@gnu.org>
71cbb895
FP
1024
1025 * etags.c (many functions): Add prototypes.
1026
97fa0cc8
DL
10272000-02-10 Dave Love <fx@gnu.org>
1028
1029 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
1030 (erlang_func): Add `static' to definitions to keep pcc happy.
1031
7df65e91 10322000-01-31 Francesco Potorti` <pot@gnu.org>
e4100b7f
FP
1033
1034 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
1035 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
1036 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
1037 (getenv, getcwd): Only declare them if necessary.
1038 (EMACS_NAME): New constant macro.
1039 (print_version): Use it.
1040 (P_) [__STDC__]: Macro for defining function prototypes.
e4100b7f 1041
19e262bd 10422000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
1043
1044 * etags.c [WINDOWSNT]: #include <direct.h>
1045
19e262bd 10462000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 1047
19e262bd
FP
1048 * etags.c (all functions): Made them static.
1049 (all functions): Write prototypes.
e4100b7f 1050
55e30d2a
RS
10512000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
1052
1053 * movemail.c (main): Improve error message if can't create lock file.
1054
875c1439
GM
10552000-01-28 Eric Hanchrow <offby1@blarg.net>
1056
1057 * emacsclient.c (socket_status): New function.
1058 (main): if $LOGNAME or $USER exist and differ from our euid, look
1059 for a socket based on the UID associated with the name.
1060
e4936aa9
GM
10612000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
1062
1063 * emacsclient.c: Add option -a EDITOR and environment variable
1064 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
1065
791a9087
GM
10661999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us>
1067
1068 * movemail.c (popmail): Allow mailbox specifications of the
1069 form `po:username:hostname'.
1070
7df65e91 10711999-11-19 Francesco Potorti` <pot@gnu.org>
e2081362
FP
1072
1073 * etags.c (_GNU_SOURCE): Define only if undefined.
1074 (get_scheme): Declaration deleted.
1075 (main): error was called with an integer as second arg, instead of
1076 a char pointer.
1077 (canonicalize_filename): Bug removed.
1078
10791999-11-18 Dave Love <d.love@dl.ac.uk>
1080
1081 * etags.c (C_entries): Rename label `intoken', avoiding K&R
1082 lossage from name clash with macro.
1083
b05d3bee
GM
10841999-11-13 Gerd Moellmann <gerd@gnu.org>
1085
1086 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
1087
cb3a6c48
GM
10881999-11-03 Gerd Moellmann <gerd@gnu.org>
1089
1090 * etags.c (print_help): Change email address to send bugs to.
1091
7df65e91 10921999-11-01 Francesco Potorti` <pot@gnu.org>>
1c478461
FP
1093
1094 * etags.c: Add suffix psw for PSWrap.
1095 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
1096 (Postscript_functions): Add code for PSWrap.
1097 (Scheme_functions): Use local pointer and new get_tag function.
1098 (get_tag): New name for old get_scheme.
1099 (process_file): Do not free NULL when file does not exist.
1100 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
1101 (C_entries): Modifications that make --members tag even inside
1102 typedefs and C nested structs (one level only).
1103 (consider_token): Corrected a bug which prevented tagging of enum
1104 constants.
1105 (C_stab_entry): Added if, for, while, switch, return as
1106 st_C_ignore. This makes it simpler to work when cblev!=0.
1107
1108 * etags.c (C_entries): tag member function declarations when
1109 --declarations is used.
1110
1111 * etags.c (C_entries, consider_token): C++ `operator' now is
1112 tagged in most cases.
1113 As before, :: is not recognised if surrounded by spaces.
1114
1115 * etags.c (relative_filename): Account for DOS file names such
1116 that is impossible to make one relative to another.
1117
1118 * etags.c (sym_type): New st_C_extern tag.
1119 (gperf input): Use it for spotting external declarations.
1120 (print_help): Document the new behaviour of --declarations.
1121 (fvextern): New global variable.
1122 (consider_token, C_entries): Use it.
1123
1124 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
1125 (etags_getcwd): Remove test for WINDOWSNT.
1126
1127 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
1128 foo.cgz, foo.cz, etc.
1129
1130 * etags.c (declarations): New global switch.
1131 (longopts): Describe it.
1132 (print_help): Document it.
1133 (C_entries): Use it.
1134 (process_file): Don't process a file twice.
1135
1136 * etags.c (Fortran_functions): No tags for "procedure".
1137
11381999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
1139
1140 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
1141 non-zero, returns a pointer to where the extension begins; callers
1142 changed.
1143 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
1144 were foo.c.gz.
1145
7df65e91 11461999-11-01 Francesco Potorti` <pot@gnu.org>
1c478461
FP
1147
1148 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
1149 (fvdev): New constant foperator.
1150 (consider_token): Use it to get "operator" in C++.
1151 (C_entries): Extend length of operator@ function name.
1152 (C_entries): Use foperator when necessary.
1153
1154 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
1155
1156 * etags.c (compressor): New struct for compressed files.
1157 (get_compressor_from_suffix): New function.
1158 (get_language_from_suffix): Use it. Also, semantics changed.
1159 (process_file): Consider compressed files, close file.
1160 (find_entries): Use different call arg for get_language_from_suffix,
1161 don't close file.
1162
1163 * etags.c (main): Call free_tree.
1164 (find_entries): Do not free curfile.
1165 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
1166 (prolog_pred, erlang_func, substitute): Cast strlen to int when
1167 comparing.
1168 (canonicalize_filename): Shut up compiler warning.
1169 (Perl_functions): Make tag significant.
1170
11711999-11-01 Dave Love <d.love@dl.ac.uk>
1172
1173 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
1174 (argument_type): New member at_icregexp.
1175 (lc_trans): New global.
1176 (main): Fill lc_trans. Process -c args.
1177 (add_regex): New arg determining whether to use translation table.
1178 (analyse_regex): New arg. Use it for add_regex.
1179
7df65e91 11801999-11-01 Francesco Potorti` <pot@gnu.org>
1c478461
FP
1181
1182 * etags.c (init): Cosmetic change: NULL --> '\0'.
1183 (erlang_attribute): Bug corrected (uninitialized variable).
1184 (filename_is_absolute): New function replaces absolutefn macro and
1185 corrects a bug. All callers changed.
1186 (canonicalize_filename): New function.
1187 (process_file, etags_getcwd, absolute_dirname): Use it.
1188 (relative_filename, absolute_filename): Removed var shadowing.
1189 (C_entries, Pascal_functions): Add fake initializations to keep
1190 compilers quiet.
1191 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
1192
1193 * etags.c (xrnew): New macro. All callers of xrealloc changed.
1194 (language): New typedef (was struct lang_entry).
1195 (curlang): New global variable.
1196 (node): typedef renamed from NODE.
1197 (linebuffer): New typedef (was struct linebuffer).
1198 (pattern): New typedef (was struct pattern). Some members added.
1199 Now used as element of a linked list.
1200 (patterns, num_patterns): Global variables deleted.
1201 (p_head): New global variable.
1202 (forced_lang): New global variable (replaces lang_func).
1203 (get_language_from_name, get_language_from_interpreter,
1204 get_language_from_suffix): Semantics changed. All callers changed.
1205 (last_node): New global variable.
1206 (free_tree, add_node, put_entries, total_size_of_entries): Change
1207 name of local vars to avoid clashes with typedef node.
1208 (number_len): Rewritten for elegance.
1209 (token): New typedef replaces TOKEN.
1210 (analyse_regex, add_regex): Rewritten for new functionality.
1211 (free_patterns): New function called from main and add_regex.
1212 (initbuffer, readline_internal, readline, grow_linebuffer):
1213 Change name of local vars to avoid clashes with typedef
1214 linebuffer.
1215 (readline): Rewritten for new functionality.
1216
1217 * etags.c: (Scheme_suffixes): New suffix ".ss".
1218 (print_help): --globals is now used for more than C-type languages.
1219 (Perl_functions): Tag global variables ("my" and "local").
1220
1221 * etags.c (print_help): Some messages clarified.
1222 (LOOP_ON_INPUT_LINES): New macro.
1223 (just_read_file, Fortran_functions, Asm_labels, Perl_functions,
1224 Python_functions, Cobol_paragraphs, Pascal_functions,
1225 Lisp_functions, Postscript_functions, Scheme_functions,
1226 TeX_functions, Prolog_functions, Erlang_functions): Use it.
1227 (Cobol_paragraphs, Postscript_functions, TeX_functions,
1228 Prolog_functions, Erlang_functions): Use a local variable instead
1229 of the global variable dbp.
1230 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
1231 standard indentation.
1232
1233 * etags.c (Python_suffixes, lang_names, Python_functions): Python
1234 support.
1235 (skip_spaces, skip_non_spaces): Utility functions.
1236 (find_entries, takeprec, getit, Fortran_functions, Perl_functions,
1237 Python_functions, L_getit, Lisp_functions, Scheme_functions,
1238 prolog_pred, erlanf_func, erlang_attribute): Use them.
1239 (eat_white): Deleted.
1240
1241 * etags.c (CHAR, init): Keep into account non US-ASCII
1242 characters and compilers with default signed chars.
1243 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
1244 constructs.
1245
1246 * (C_stab_entry): "interface" in Java behaves like "class".
1247
1248 * etags.c: (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
1249 (main): Put interval syntax here.
1250 (add_regex): And remove it from here.
1251
1252 * etags.c (suggest_asking_for_help): Provide a
1253 meaningful help message with and without LONG_OPTIONS.
1254
1255 * etags.c: <io.h> [MSDOS]: Include it, don't include string.h.
1256 <stdlib.h, string.h>: Don't test MSDOS when including them.
1257 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
1258 (put_entries): Correctly use %ld instead of %d in printf.
1259
1260 * etags.c: <unistd.h> [HAVE_UNISTD_H]: Include conditionally, else
1261 declare getcwd if HAVE_GETCWD.
1262 (consider_token): Dead break instruction removed.
1263
4ee9629e
PE
12641999-10-19 Paul Eggert <eggert@twinsun.com>
1265
1266 Add support for large files. Merge glibc 2.1.2.
1c478461 1267
4ee9629e
PE
1268 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
1269 movemail.c, pop.c:
1270 Do not include <stdlib.h>, as <config.h> does this now.
1271
1272 * b2m.c, emacsserver.c, etags.c, profile.c:
1273 Include <config.h> before any system include files.
1c478461 1274
4ee9629e
PE
1275 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
1276 test-distrib.c:
1277 (read, write, open, close): Do not undef.
1278
1279 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
1280 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
1281
1282 * getopt.h: Adopt glibc 2.1.2.
1c478461 1283
93c8d183
DL
12841999-10-15 Dave Love <fx@gnu.org>
1285
1286 * Makefile.in (pop.o): Depend on config.h.
1287
b358f91c
GM
12881999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1289
1290 * pop.c: Use "pop3" as the POP service name on all platforms,
1291 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
1292 has been the standard service name since RFC 1340 was published in
1293 July 1992, so I think it's safe to start using it by default.
1294
362bc2da
DL
12951999-09-27 Dave Love <fx@gnu.org>
1296
1297 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
1298
74e4cb59
PR
12991999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
1300
1301 * make-docfile.c (scan_lisp_file): Fix previous changes;
1302 swallow CRLF like just CR or just LF.
1303
362bc2da
DL
13041999-09-03 Richard Stallman <rms@gnu.org>
1305
1306 * make-docfile.c: Include config.h not ../src/config.h.
1307 (main, fopen, chdir): Add #undef.
1308 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
1309 (scan_lisp_file): Handle \r like \n.
1310
13111999-08-30 Andreas Schwab <schwab@gnu.org>
1312
1313 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
1314
1315 * emacsserver.c: Include <stdlib.h> if available. Don't declare
1316 errno if it's a macro.
1317
1318 * test-distrib.c: Include <unistd.h> if available.
1319
13201999-08-29 Richard Stallman <rms@gnu.org>
1321
1322 * emacsclient.c (print_help_and_exit): Mention --version.
1323
13241999-08-25 Richard M. Stallman <rms@gnu.org>
1325
1326 * emacsclient.c (decode_options): Update version output.
1327 (print_help_and_exit): Update bug report address.
1328
13291999-08-13 Richard M. Stallman <rms@gnu.org>
1330
1331 * emacsclient.c (main): Move the dynamic allocation of
1332 system_name outside of the SERVER_HOME_DIR conditional.
1333 * emacsserver.c (main): Likewise.
1334
13351999-08-10 Gerd Moellmann <gerd@gnu.org>
1336
1337 * grep-changelog: New.
1338 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
1339
13401999-07-12 Richard Stallman <rms@gnu.org>
1341
1342 * Version 20.4 released.
1343
13441999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
1345
1c478461 1346 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
1347
13481999-06-23 Dave Love <fx@gnu.org>
1349
1350 * etags.c (erlang_attribute): Fix undefined variable usage (after
1351 Potorti).
1352
13531999-05-2 Andrew Innes <andrewi@gnu.org>
1354
1355 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
1356 mapped to _chsize.
1357
13581999-04-29 Richard M. Stallman <rms@gnu.org>
1359
1360 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
1361
13621999-03-30 Dave Love <fx@gnu.org>
1363
1364 * sorted-doc.c (main): Split up tables. Modify the preamble
1365 somewhat.
1366
13671999-03-05 Geoff Voelker <voelker@cs.washington.edu>
1368
1369 * makefile.nt: Remove common multiple file compilation commands.
1370
13711999-02-26 Richard Stallman <rms@gnu.org>
1372
1373 * Version 20.4 released.
1374
1375 * Makefile.in (yow): Depend on epaths.h, not paths.h.
1376
1377 * yow.c: Refer to epaths.h.
1378
13791999-02-22 Simon Josefsson <jas@pdc.kth.se>
1380
1381 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
1382
13831999-01-27 Andrew Innes <andrewi@gnu.org>
1384
1385 * makefile.nt: Do make version comparison as strings.
1386
13871999-01-25 Richard Stallman <rms@gnu.org>
1388
1389 * emacsclient.c (xmalloc): Fix previous change.
1390
13911999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
1392
1393 * emacsclient.c (xmalloc): Declare to return long.
1394
13951999-01-22 Geoff Voelker <voelker@cs.washington.edu>
1396
1397 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
1398 the case of the drive letter.
1399
14001999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
1401
1402 * emacsserver.c (main): Eliminate arbitrary limit on
1403 length of system_name.
1404
1405 * emacsclient.c (main): Eliminate arbitrary limit on
1406 length of system_name.
1407 (xmalloc): Define unconditionally.
1408
14091999-01-12 Darrin B. Jewell <jewell@mit.edu>
1410
1411 * etags.c (relative_filename): Stop backward search at beginning
1412 of string, since non-Unix systems can have absolute paths with no
1413 initial slash.
1414
14151998-12-08 Geoff Voelker <voelker@cs.washington.edu>
1416
1417 * makefile.nt: Do string comparision of _NMAKE_VER.
1418
14191998-11-03 Theodore Jump <tjump@cais.com>
1420
1421 * makefile.nt: Compile multiple source files when possible.
1422
14231998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
1424
1425 * Makefile.in: Replace tabs with spaces
1426 when they might confuse some Make versions.
1427
14281998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
1429
1430 * emacsclient.c (main): Null-terminate system_name.
1431
1432 * emacsserver.c (main): Null-terminate system_name.
1433
14341998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1435
1436 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
1437 an error message from POP, mention that it's from POP, to
1438 distinguish it from local error messages.
1439
14401998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1441
1442 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
1443 order of messages downloaded from a POP server (e.g., if the
1444 server stores messages in mailboxes in reverse order).
1445
14461998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
1447
1448 * Version 20.3 released.
1449
14501998-08-11 Paul Eggert <eggert@twinsun.com>
1451
1452 * rcs2log: Update copyright date and bug report address.
1453 (initialize_fullname): Prefer getent if available.
1454
14551998-07-30 Paul Eggert <eggert@twinsun.com>
1456
1457 * lib-src/Makefile.in (REGEXPDEPS, regex.o):
1458 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 1459
362bc2da
DL
14601998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
1461
1462 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
1463
14641998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
1465
1466 * Makefile.in: Properly terminate a comment.
1467
14681998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
1469
1470 * movemail.c (sys_wait): Rename to wait.
1471
1472 * ntlib.h: Undefine _WINSOCKAPI_.
1473
1474 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
1475
14761998-05-30 Geoff Voelker <voelker@cs.washington.edu>
1477
1478 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
1479
14801998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
1481
1482 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
1483 all file i/o to be in binary mode. Include ntlib.h.
1484
14851998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
1486
1487 * make-docfile.c: Include <unistd.h> for chdir.
1488
14891998-04-25 Richard Stallman <rms@psilocin.gnu.org>
1490
1491 * etags.c (TEX_decode_env): Don't free the value getenv returns.
1492
14931998-04-17 Geoff Voelker <voelker@cs.washington.edu>
1494
1495 * makefile.nt (obj): Update with new files in src.
1496 (clean): Delete patch scratch files, optimized compilation dir.
1497
14981998-04-08 Dave Love <fx@gnu.org>
1499
1500 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
1501 Irix6, at least.
1502
15031998-04-06 Andreas Schwab <schwab@gnu.org>
1504
1505 Silence -Wimplicit:
1506 * movemail.c: Move cancelations up. Include <stdlib.h> if
1507 available.
1508 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
1509 (parse_header): Explicitly declare return type.
1510 * emacsserver.c: Include <unistd.h> if available.
1511 (main, handle_signals, perror_1, fatal_error): Explicitly declare
1512 return types. Add forward declarations.
1513 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
1514 Don't declare geteuid.
1515 (print_help_and_exit): Change return type to void. Forward
1516 declare it.
1517 * b2m.c: Include <stdlib.h> if available.
1518 (main): Explicitly declare return type.
1519
15201998-04-03 Richard Stallman <rms@delysid.gnu.org>
1521
1522 * etags.c (put_entries): Use %ld.
1523
1524 * b2m.c (fatal): Declare the arg.
1525
15261998-04-03 Richard Stallman <rms@psilocin.gnu.org>
1527
1528 * etags.c (put_entries): Use %ld.
1529
1530 * b2m.c (fatal): Declare the arg.
1531
15321998-03-26 Richard Stallman <rms@psilocin.gnu.org>
1533
1534 * pop.c (pop_getline): Renamed from getline.
1535
15361998-03-05 Richard Stallman <rms@psilocin.gnu.org>
1537
1538 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
1539 for the utilities.
1540
15411998-01-23 Dave Love <d.love@dl.ac.uk>
1542
1543 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
1544 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
1545 Always make named tags.
1546 (Fortran_functions): Grok BLOCK DATA.
1547
15481998-01-23 Andreas Schwab <schwab@gnu.org>
1549
1550 * movemail.c (main): Fix interwoven brace and cpp conditional
1551 nesting.
1552
15531997-12-04 Karl Heuer <kwzh@delysid.gnu.org>
1554
1555 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
1556 server to contain embedded nulls.
1557
15581997-12-03 Paul Eggert <eggert@delysid.gnu.org>
1559
1560 * movemail.c:
1561 (mbx_write) [MAIL_USE_POP]: Disable the code which quotes with a
1562 '>' any lines starting with "From " read from the POP server, but
1563 leave the code in place, wrapped in #ifdef
1564 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
1565 because it turns out that something is depending on it. Change
1566 suggested by Paul Eggert <eggert@twinsun.com>.
1567 Convert the character \037 (^_) at the beginning of a line into
1568 the character '^' followed by the character '_', because otherwise
1569 Emacs can't parse the resulting file as a valid BABYL file.
1570 Change suggested by Paul Eggert <eggert@twinsun.com>.
1571
15721997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1573
1574 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
1575 server to contain embedded nulls.
1576
15771997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 1578
362bc2da
DL
1579 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
1580 quotes with a '>' any lines starting with "From " read from the
1581 POP server, but leave the code in place, wrapped in #ifdef
1582 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
1583 because it turns out that something is depending on it. Change
1584 suggested by Paul Eggert <eggert@twinsun.com>.
1585
1586 Convert the character \037 (^_) at the beginning of a line into
1587 the character '^' followed by the character '_', because otherwise
1588 Emacs can't parse the resulting file as a valid BABYL file.
1589 Change suggested by Paul Eggert <eggert@twinsun.com>.
1590
15911997-11-22 Richard Stallman <rms@gnu.org>
1592
1593 * b2m.c: Include getopt.h.
1594 (main): Use getopt_long to handle --version and --help.
1595
1596 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
1597
15981997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1599
1600 * pop.c (fullwrite): Get rid of an extra call to write. Problem
1601 pointed out by Chiaki Ishikawa.
1602
16031997-10-16 Dave Love <d.love@dl.ac.uk>
1604
1605 * etags.c (L_getit): Always make named tags so that Emacs
1606 completion on symbols containing `:' etc. works.
1607 (get_scheme): Likewise.
1608
16091997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1610
1611 * pop.c: Use system header files instead of declaring C-library
1612 functions explicitly.
1613
16141997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1615
1616 * Version 20.2 released.
1617
16181997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1619
1620 * Version 20.1 released.
1621
16221997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
1623
1624 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
1625
1626 * ntlib.c (getpid): Delete function.
1627
16281997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1629
1630 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
1631
16321997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1633
1634 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
1635 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
1636
16371997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1638
1639 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
1640
16411997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
1642
1643 * profile.c (get_time): Cast arg to fprintf.
1644
1645 * hexl.c (main): Use %08lx instead of %08x in printf because the
1646 variable named addresses is long.
1647
16481997-08-08 Geoff Voelker <voelker@cs.washington.edu>
1649
1650 * makefile.nt (lisp): Update paths to lisp files that have moved.
1651
16521997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
1653
1654 * makefile.nt (ctags.obj): New target.
1655 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
1656
1657 * ntlib.h: Add includes.
1658 Undo definitions of crt routines from config.h.
1659
16601997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1661
1662 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
1663
16641997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1665
1666 * pop.c: Support auto-configuration of both Kerberos V4 and
1667 Kerberos V5 for movemail, including detection of V4 and V5 header
1668 files and libraries.
1669 Include <string.h> when STDC_HEADERS is defined, to get
1670 declarations of string functions.
1671 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
1672 V5 API rather than the old one.
1673 [KERBEROS] (socket_connection): Change a constant name from
1674 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
1675 with a constant in a header file.
1676
1677 * Makefile.in: Support auto-configuration of both Kerberos V4 and
1678 Kerberos V5 for movemail, including detection of V4 and V5 header
1679 files and libraries.
1680
16811997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1682
1683 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
1684
1685 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1c478461 1686
362bc2da
DL
16871997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1688
1689 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
1690
16911997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1692
1693 * movemail.c (rindex): Add declaration.
1694
1695Tue Jul 1 01:09:07 1997 Geoff Voelker <voelker@cs.washington.edu>
1696
1697 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
1698 (movemail.exe): Depend upon and link with getopt files.
1699 (obj): Include new source files.
1700 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
1701 (lisp): Include new and reorganized elisp files.
1702
17031997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1704
1705 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
1706
17071997-06-25 Paul Eggert <eggert@twinsun.com>
1708
1709 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
1710
17111997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
1712
1713 * b2m.c (readline): Terminate buffer properly when EOF seen.
1714 Test for valid pointer before dereferencing it.
1715
17161997-05-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1717
1718 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
1719 defined inside etags.c if HAVE_CONFIG_H is defined.
1720
17211997-05-29 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1722
1723 * etags.c: (logical): Type name changed to bool.
1724 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
1725 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
1726 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
1727 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
1728 (longopts): New long options without short counterpart are
1729 globals, members, no-globals, no-members. Regexp options are now
1730 defined conditionally to ETAGS_REGEXPS.
1731 (print_help): Updated.
1732
17331997-05-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1734
1735 * etags.c (C_entries): Use "." instead of "::" for Java.
1736 (consider_token): is_func renamed to is_func_or_var.
1737 (C_entries): is_func renamed to funorvar.
1738 (C_entries): Initialise tok.named.
1739 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
1740 get rid of "import", "package" and "friend".
1741 (fvdef): Renamed from funcdef. Also some constants renamed. All
1c478461 1742 users changed.
362bc2da
DL
1743 (C_entries): Make separate tags for variables separated by comma.
1744 (globals, members): New flags.
1745 (main, C_entries): Use them.
1746 (make_C_tag, C_entries): Make tok a global variable.
1c478461 1747
362bc2da
DL
17481997-05-16 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1749
1750 * etags.c (funcdef): New vignore constant.
1751 (consider_token, C_entries): Use it to tag global variables.
1752 (print_help): Update for global variables.
1753 (consider_token, C_entries): Set the len member of token_name.
1754 (prolog_pred): Cleanup according to GNU coding standards.
1755 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
1756 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
1757
17581997-05-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1759
1760 * etags.c (CHARS, CHAR): New constant and macro.
1761 (iswhite, begtoken, intoken, endtoken): Use them.
1762 (notinname, _nin, nonam): New macro, array, string.
1763 (init): Cleanup and init _nin.
1764 (new_pfnote): New function.
1765 (make_C_tag) [traditional_tag_style]: Use it.
1766 (traditional_tag_style): Costant set to TRUE for now.
1767
17681997-05-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1769
1770 * etags.c (C_entries, Pascal_functions): Cleanup.
1771 (TeX_functions): NULL as a function arg needs a cast.
1772 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
1773
17741997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1775
1776 * etags.c (TeX_functions): Cleaned up.
1777 (tex_getit): Removed.
1778
17791997-05-13 Paul Eggert <eggert@twinsun.com>
1780
1781 * rcs2log (files): When computing arguments automatically, ignore
1782 non-files within the RCS subdirectory.
1783
17841997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1785
1786 * etags.c (C_JAVA): New #define.
1787 (Cjava_suffixes): .java is Java.
1788 (Cjava_entries): New function.
1789 (lang_names): Add Java.
1790 (sym_type): Add st_C_javastruct for Java.
1791 (C_stab_entry): Add `extends' and `implements' keywords.
1792 (consider_token, C_entries): Recognise Java structures.
1793
17941997-05-12 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1795
1796 * etags.c: (Cplusplus_suffixes): .pdb is Postscript with C syntax.
1797 (Postscript_suffixes): .ps is Postscript.
1798 (lang_names): Add Postscript.
1799 (Postscript_functions): New function.
1800 (TEX_decode_env): Close minor memory leak.
1801 (just_read_file): Correct the char number of the tag.
1802
18031997-05-11 Paul Eggert <eggert@twinsun.com>
1804
1805 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
1806 Don't prepend $nl since this causes some shells to generate the
1807 empty string when IFS is $nl.
1808 (printlogline): Use SOH (octal code 1), not CR, since some
1809 PC-based shells mishandle CR.
1810 (initialize_fullname): Set NIS_PATH to the empty string before invoking
1811 nismatch, in case it's set to some nonstandard value.
1c478461 1812
362bc2da
DL
18131997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1814
1815 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
1816 read in separate blocks.
1817
18181997-04-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1819
1820 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
1821 (struct linebuffer): New member `len' is the length of the string.
1822 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
1823 Use it instead of strlen.
1824 (TEX_getit): Declare and define unconditionally as static.
1825 (TeX_functions): Use if instead of #if TeX_named_tokens.
1826 (add_regex): Set RE_INTERVALS flag for regex compilation.
1827 (substitute): Code cleanup.
1828 (readline_internal): Code cleanup, set new member `len'.
1829 (readline): Bug corrected.
1830
18311997-04-23 Geoff Voelker <voelker@cs.washington.edu>
1832
1833 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
1834 (obj): Change references of nt*.c files to w32*.c files.
1835
18361997-04-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1837
1838 * etags.c (xnew): Add support for debugging with chkmalloc.
1839 (error): Use this instead of printf whenever possible.
1840 (main): Only call xnew after having initialised progname.
1841 (substitute): Bad memory corruption error corrected.
1842
18431997-04-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1844
1845 * etags.c (add_regex): Undo previous change.
1846 (relative_filename): Small memory leak closed.
1847 (absolute_filename): Cleaned up the code, possibly closing a bug.
1848 (absolute_dirname): Always return a newly allocated string.
1c478461 1849
362bc2da
DL
18501997-03-21 Paul Eggert <eggert@twinsun.com>
1851
1852 * rcs2log (files): Ignore files in RCS directory whose names are
1853 of the form ,*, or *_; they are probably RCS lock files.
1854 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
1855 they are used by rcsfreeze.
1856
18571997-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1858
1859 * etags.c (add_regex): reset *putbuf before using it.
1860
18611997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1862
1863 * movemail.c (popmail): Remove some unnecessary function
1864 declarations.
1865 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
1866 into pop_retr, there's no reason to pass in mbx_write, and the
1867 file argument can be declared FILE * explicitly. This fixes a
1868 compilation problem on systems with 64-bit pointers.
1869
18701997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1871
1872 * movemail.c: Delete duplicate inclusion of fcntl.h
1873 and duplicate #undefs of open, read, write, close.
1874
18751997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1876
1877 * movemail.c (main): Do not display "[POP-password]" in the usage
1878 message when movemail is compiled without POP support.
1879 (main, popmail): Add the optional "-p" argument, which causes
1880 movemail to leave mail in the inbox after copying it into the
1881 output file.
1c478461 1882
362bc2da
DL
1883 * Makefile.in (movemail): Link with getopt.
1884
18851997-01-20 Paul Eggert <eggert@twinsun.com>
1886
1887 * rcs2log: (--help, --version): New options, per GNU coding standards.
1888 (Copyright, Help, Id): New variables, for above.
1889 (rlog): Use -q option with cvs log, to avoid useless chatter.
1890
1891 Treat logs of "Initial revision" (RCS) or "file F was initially added
1892 on branch B." (CVS) as if they said "New file.", for consistency with
1893 change log entries.
1894
18951997-01-01 Paul Eggert <eggert@twinsun.com>
1896
1897 * vcdiff (PATH): Add /usr/xpg4/bin,
1898 where XPG4 SCCS hangs out in Solaris 2.5.
1899 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
1900
19011996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1902
1903 * etags.c (streq, strneq): Use == NULL rather than !.
1904
19051996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
1906
1907 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
1908 (movemail): Use LIBMAIL, to link against -lmail.
1909
1910 * movemail.c: Include maillock.h (conditionally).
1911 Remove a redundant inclusion of <stdio.h>.
1912 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
1913 (main): Add variable spool_name.
1914 Support the usage of maillock and mailunlock to
1915 lock and unlock mailboxes.
1916 (mail_spool_name): New function.
1917
1918 * movemail.c: Fix an uninitialized variable which could cause
1919 movemail to exit with an error status incorrectly on systems which
1920 use lock files rather than a system locking function to lock
1921 mailboxes.
1922
19231996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1924
1925 * pop.c (socket_connection): Free realhost after using it.
1926
19271996-12-04 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1928
1929 * etags.c (C_entries): Test tok.valid. This handles some
1930 particular cases involving function declarations that failed.
1931
19321996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 1933
362bc2da
DL
1934 * pop.c (socket_connection):
1935 gethostbyname may return a pointer to static data.
1936 krb_realmofhost can clobber it. So copy it.
1937
19381996-11-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1939
1940 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
1941 must cast it to (char *) because we have no prototypes.
1942 (make_C_tag): Macro deleted, new function.
1943 (C_entries): Calls to make_C_tag macro changed to call function.
1944
19451996-11-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1946
1947 * etags.c (grow_linebuffer): New function.
1948 (GROW_LINEBUFFER): Macro deleted. All callers changed.
1949 (make_tag): Macro renamed to make_C_tag. All callers changed.
1950 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
1951 (Prolog_functions): prolog_skip_comment was called with wrong
1952 number of arguments.
1953 (xrealloc): fatal was called with wrong number of arguments
1954
19551996-11-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1956
1957 * etags.c (relative_filename): Bug corrected.
1958 (etags_getcwd): Avoid warning of unused variable.
1959 (C_entries, consider_token): Added support for enum labels.
1960
19611996-11-03 Paul Eggert <eggert@twinsun.com>
1962
1963 * rcs2log: When processing cvs log output, remove `Attic/' from
1964 repository file names.
1965
19661996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
1967
1968 * emacsserver.c: Fix 1996-09-02 change.
1969
19701996-10-12 Paul Eggert <eggert@twinsun.com>
1971
1972 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
1973 option', since CVS says 'invalid option'.
1974 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
1975 revisions, since some hosts reject 1970-01-01 when east of UTC.
1976 (date): Remove.
1977
19781996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1979
1980 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
1981
19821996-10-02 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1983
1984 * etags.c (print_version): Print copyright info.
1985
1986 * etags.c (print_help): Print the bug reporting address.
1987 (main): Use return as the last instruction, instead of exit.
1988
1989 * etags.c (main): Don't open the tags file in cxref mode.
1990
19911996-09-29 Dave Love <d.love@dl.ac.uk>
1992
1993 * rcs2log (date): Make default format acceptable to CVS post v1.8
1994 as well as earlier CVSs and RCS.
1995
19961996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1997
1998 * movemail.c (main): If the lock call fails with EBUSY or
1999 EAGAIN, retry a few times.
2000
20011996-09-25 Paul Eggert <eggert@twinsun.com>
2002
2003 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
2004 whether to append -zLT.
2005
20061996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2007
2008 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
2009 * emacsclient.c, movemail.c: Likewise.
2010
20111996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2012
2013 * emacsclient.c (longopts): Change nowait to no-wait.
2014 (print_help_and_exit): Fix option name; upcase metavars.
2015
20161996-09-06 Erik Naggum <erik@naggum.no>
2017
2018 * emacsserver.c (main): Declare `fromlen' as size_t.
2019
20201996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
2021
2022 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
2023
20241996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2025
2026 * emacsclient.c (quote_file_name): Quote with &, not \.
2027 Quote `-' only at start of file name. Terminate the value string.
2028
2029 * emacsserver.c: Include signal.h properly;
2030 delete the duplicate includes for it.
2031
2032 * emacsserver.c: On fatal signal, delete socket-file:
2033 * emacsserver.c: Include signal.h.
2034 (xmalloc, fatal, error): New functions.
2035 (delete_socket, handle_signals): New functions.
2036 (progname, socket_name): New variables.
2037 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
2038
20391996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2040
2041 * emacsclient.c (quote_file_name): New function.
2042 (main, both versions): Use quote_file_name.
2043 (decode_options): Don't return a value.
2044 (main, both versions): Use optind.
2045 Don't check for -nowait here.
1c478461 2046
362bc2da
DL
2047 * emacsclient.c (decode_options): New function.
2048 (main, both versions): Call decode_options.
2049 (print_help_and_exit): New function.
2050 (VERSION): New macro.
2051
2052 * Makefile.in (emacsclient): Link with getopt.
2053 Add -DVERSION so emacsclient knows its version number.
2054
20551996-08-31 Geoff Voelker <voelker@cs.washington.edu>
2056
2057 * makefile.nt (lisp): Include dos-nt.elc.
2058
20591996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2060
2061 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
2062
20631996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2064
2065 * emacsclient.c (both versions): Handle -nowait and --nowait
2066 by sending data to the server.
2067
20681996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2069
2070 * Makefile.in (INSTALL_STRIP): New variable.
2071 (${archlibdir}): Use INSTALL_STRIP.
2072
2073 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
2074 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
2075
2076 * pop.c: Reverse conditional in previous change.
2077
20781996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2079
2080 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
2081
20821996-08-24 Paul Eggert <eggert@twinsun.com>
2083
2084 * rcs2log: Use ISO 8601 date format, with time zone appended
2085 if change-log-time-zone-rule is non-nil, instead of
2086 traditional Unix date format.
2087
2088 (datearg): When computing default from ChangeLog, handle ISO format
2089 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
2090 Don't worry about hh:mm:ss since the resolution is now by day.
2091 Use emtpy datearg, not empty rlog_options, to decide whether to pass
2092 "$datearg" option to $rlog.
2093 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
2094 (month_data): Remove `mo'; no longer needed.
2095 (rlog_options): Use -zLT for localltime output, if `rlog' supports it.
2096
2097 Match `revision' line of rlog output more accurately.
2098
2099 Add -c, -v options.
2100
21011996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
2102
2103 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
2104
21051996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2106
2107 * Version 19.33 released.
2108
21091996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2110
2111 * Version 19.32 released.
2112
21131996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
2114
2115 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
2116 computing character positions in source files.
2117
21181996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
2119
2120 * makefile.nt (clean): Use OBJDIR macro.
2121
21221996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2123
2124 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
2125
21261996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
2127
2128 * cvtmail.c, sorted-doc.c, yow.c: [__GNU_LIBRARY__]: Use <string.h>.
2129 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
2130 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
2131
21321996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
2133
2134 * ntlib.h: Correct return type of getwd.
2135 * ntlib.c (getwd): Correct return type.
2136
21371996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2138
2139 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
2140 to infile.
2141
21421996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
2143
2144 * makefile.nt: Remove all references to wakeup.
2145
21461996-06-28 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2147
2148 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
2149 explicit, mutable, typename.
2150
21511996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2152
2153 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
2154 streams, one for sending and one for reading the reply.
2155
21561996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2157
2158 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
2159 (wakeup): Target deleted.
2160 (UTILITIES): Delete wakeup and timer.
2161
2162 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
2163
21641996-06-11 Geoff Voelker <voelker@cs.washington.edu>
2165
2166 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
2167 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
2168
21691996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2170
2171 * etags.c (main): Copy cwd when appending slash.
2172
21731996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
2174
2175 * Version 19.31 released.
2176
21771996-05-17 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2178
2179 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
2180 (Pascal_functions): Increase linecharno by the correct number of
2181 chars, inline the GET_NEW_LINE macro and delete its definition.
2182
21831996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
2184
2185 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
2186
21871996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
2188
2189 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
2190 (movemail.exe, fakemail.exe): Now built under Win32.o
2191
2192 * ntlib.c: Include ntlib.h.
2193 (nt_sleep): Rename to sleep.
2194 (getwd): Return directory.
2195 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
2196 sys_ctime, sys_fopen): New functions.
2197
2198 * ntlib.h: New file.
2199
22001996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
2201
2202 * pop.c (SEND, RECV): Renamed from send, recv.
2203 (pop_open, pop_trash): Make the trash_started code unconditional.
2204 (socket_connection): Delete casts to void.
2205
22061996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
2207
2208 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
2209 copied from lisp.h.
2210
22111996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
2212
2213 * fakemail.c [WINDOWSNT]: Include ntlib.h.
2214
2215 * hexl.c [DOSNT]: Include fcntl.h.
2216 [WINDOWSNT]: Include io.h.
2217 (main) [MSDOS]: Change conditional to DOS_NT.
2218
2219 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
2220 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
2221 [WINDOWSNT]: Include locking.h.
2222 (main): Update usage message. Use IS_DIRECTORY_SEP.
2223 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
2224 (main) [WINDOWSNT]: Invoke locking instead of flock.
2225 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
2226 (main) [MAIL_USE_POP]: Pass password to popmail if used.
2227 Include winsock.h; don't include unix inet headers.
2228 (popmail): Add password argument and pass it to pop_open.
2229 Open output file in binary mode.
2230
2231 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1c478461 2232 Macro SOCKET_ERROR undefined.
362bc2da
DL
2233 Don't declare h_errno.
2234 [!WINDOWSNT]: Define macros recv and send.
2235 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
2236 (pop_open) [WINDOWSNT]: Initialize trash_started.
2237 (have_winsock) [WINDOWSNT]: New variable.
2238 (socket_connection) [WINDOWSNT]: Initialize winsock.
2239 (socket_connection): Use closesocket instead of close.
2240 (getline): Use recv instead of read.
2241 (fullwrite): Use send instead of write.
2242 (pop_trash): Use closesocket instead of close.
2243 (pop_trash) [WINDOWSNT]: Cleanup winsock.
2244 Check if being called recursively by sendline.
2245
2246 * pop.h (struct _popserver): New field trash_started.
2247
2248 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
2249
22501996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2251
2252 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
2253
22541996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2255
2256 * etags.c [WINDOWSNT]: Include io.h.
2257
22581996-04-10 Geoff Voelker <voelker@cs.washington.edu>
2259
2260 * makefile.nt (CTAGSOBJ): Compile with regexp support.
2261
22621996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
2263
2264 * hexl.c [DJGPP v2]: Include io.h.
2265 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
2266
2267 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
2268 DJGPP v2.
2269
22701996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2271
2272 * etags.c (absolute_filename): Use absolutefn.
2273
22741996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
2275
2276 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
2277 letter isn't an alphabetic character.
2278 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
2279 (process_file) [DOS_NT]: Convert all slashes to forward style.
2280 (absolute_filename) [DOS_NT]: Emit error message for relative
2281 paths with a drive letter.
2282 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
2283 DOS/NT drive letters which try to reference the parent of the root.
2284 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
2285
22861996-03-27 Geoff Voelker <voelker@cs.washington.edu>
2287
2288 * makefile.nt: Change uses of del to $(DEL).
2289
22901996-03-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2291
2292 * etags.c (just_read_file): Reset lineno and charno on entry.
2293
22941996-03-15 Anders Lindgren <andersl@csd.uu.se>
2295
2296 * etags.c: Prolog language totaly rewritten.
2297 (Prolog_functions): Rewritten from scratch.
2298 (skip_comment, prolog_getit): Removed.
2299 (prolog_skip_comment): New function, like old skip_comment.
2300 (prolog_pred, prolog_atom, prolog_white): New functions.
2301 (erlang_func, erlang_attributes): Forward declarations added.
2302 (erlang_atom): Check if backslash ends line inside quoted atom.
2303
23041996-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2305
2306 * etags.c (absolutefn): DOS_NT version corrected.
2307 (main): Append "/" to the dir name only if not already there.
2308 (print_help): Explain the absolute/relative file name issue.
1c478461 2309
362bc2da
DL
23101996-03-08 Anders Lindgren <andersl@csd.uu.se>
2311
2312 * etags.c: New Languange Erlang added.
2313 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom,
2314 erlang_white): New functions.
2315 (Erlang_suffixes): New suffix list.
2316 (lang_names): Erlang entry added.
2317 (prolog_getit): Accepts headers spanning several lines.
2318 Always name tags.
2319 (Prolog_functions): Removed incorrect compensation for
2320 newline characters.
2321 (readline_internal): Zero-terminate last line.
2322
23231996-03-20 Mike Long <mike.long@analog.com>
2324
2325 * b2m.c (main): Initialize progname variable before using it.
2326 Quote `username' in From_ header.
2327
23281996-03-18 Geoff Voelker <voelker@cs.washington.edu>
2329
2330 * ntlib.c (getpid): New function.
2331
23321996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2333
2334 * emacsclient.c (main, both definitions):
2335 Print a newline for normal termination.
2336
23371996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
2338
2339 * tcp.c (main): Convert port to network byte order.
2340
23411996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
2342
2343 * pop.c (pop_retrieve, getline): Avoid type clashes.
2344
23451996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
2346
2347 * etags.c (enum sym_type, anonymous enum): Delete final comma.
2348
23491996-01-15 Paul Eggert <eggert@twinsun.com>
2350
2351 * rcs2log (initialize_fullname): Add support for NIS+.
2352 (hostname): Fully qualify the default hostname with the domainname
2353 if the hostname lacks a `.'.
2354
23551996-01-15 Paul Eggert <eggert@twinsun.com>
2356
2357 * rcs2log (initialize_fullname): Add support for NIS+.
2358 (hostname): Fully qualify the default hostname with the domainname
2359 if the hostname lacks a `.'.
2360
23611996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
2362
2363 * etags.c (consider_token): Fix typo in expression.
2364
23651996-01-04 Paul Eggert <eggert@twinsun.com>
2366
2367 * etags.c (substitute): Fix spelling in message.
2368
23691996-01-03 George V. Reilly <georger@microcrafts.com>
2370
2371 * makefile.nt (etags, ctags): Compile with regexp support.
2372 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
2373 subdirectory exists before compiling.
1c478461 2374
362bc2da
DL
23751996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
2376
2377 * emacsserver.c (main): Do chmod based on existing permission.
2378
23791995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2380
2381 * Makefile.in (install): Turn on read/execute permission.
2382
23831995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2384
2385 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
2386 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
2387
23881995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2389
2390 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
2391
23921995-12-07 Francesco Potorti` <pot@cnuce.cnr.it>
2393
2394 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
2395 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
2396 get_scheme, prolog_getit): Name the tag in ctags mode.
2397 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
2398 (Perl_interpreters): Accept "@PERL@" as an interpreter.
2399 (suggest_asking_for_help): New function.
2400 (main, get_language_from_name): Use suggest_asking_for_help.
2401 (main): Let get_language_from_name make language existence check.
2402 (streq, strneq): Check the arguments #if DEBUG.
2403
24041995-12-06 Francesco Potorti` <pot@cnuce.cnr.it>
2405
2406 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
2407 (gperf): Added keywords for Objective C and GNU macros.
2408 (sym_type): Added values to account for Objective C and GNU macros.
2409 (begtk): The '@' character can start a token.
2410 (objdef, methodlen, objtag): New variables for Objective C.
2411 (consider_token, C_entries): Added code for Objective C.
2412 (plain_C_suffixes): Add .m and .lm for Objective C.
2413 (Yacc_suffixes): Add .ym for Objective yacc.
2414 (GROW_LINEBUFFER): New macro.
2415 (consider_token, C_entries, Pascal_functions): Use the new macro.
2416 (consider_token): Take one more argument. Caller changed.
2417 (consider_token): Use the hashing function to spot GNU macros.
2418 (C_entries): Consider // as a comment start even in plain C for
2419 the sake of Objective C parsing.
2420
24211995-12-04 Francesco Potorti` <pot@cnuce.cnr.it>
2422
2423 * Makefile.in (ctags): depend on etags only for simplicity;
2424 compile with regexp support enabled.
2425
24261995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2427
2428 * Version 19.30 released.
2429
24301995-11-22 Geoff Voelker <voelker@cs.washington.edu>
2431
2432 * makefile.nt (DOC, clean): Don't use switches to del not
2433 supported by Windows 95.
2434
24351995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2436
2437 * Makefile.in (regex.o): Depend on ../src/config.h.
2438
24391995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2440
2441 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
2442 (LOADLIBES): Use LIB_STANDARD.
2443
24441995-11-07 Kevin Gallo <kgallo@microsoft.com>
2445
2446 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
2447 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
2448 Windows 95 conditional.
2449
24501995-11-06 Francesco Potorti` (pot@cnuce.cnr.it)
2451
2452 * etags.c (get_lang_from_name, get_lang_from_interpreter,
2453 get_lang_from_suffix): New functions.
2454 (get_language): Function deleted.
2455 (lang_entry): Two members added to struct.
2456 (lang_names): Reflect the new layout of lang_entry.
2457 (print_language_names, main, find_entries): Use the new functions.
2458 (find_entries): Look at the first line for #! if no language.
2459 (C_entries): Invalidate the token when funcdef is reset.
2460 (Perl_functions): New function.
2461 (lang_suffixes): .pl and .pm are Perl suffixes.
2462
24631995-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
2464
2465 * etags.c (lowcase): Use the standard tolower function.
2466 (substitute): Remove some wrong and some useless code related with
2467 escape `\` character in regexp replacement string.
2468 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
2469 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
2470 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
2471 .prolog for prolog (.pl removed).
2472 (massage_name, etags_getcwd): Use lowcase instead of tolower.
2473 (C_entries, find_entries): Added comments about memory leakage.
2474 (add_node): Dead code removed.
2475
24761995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2477
2478 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
2479 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
2480
24811995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2482
2483 * test-distrib.c: Add #undef for open, close, read, write.
2484
24851995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2486
2487 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
2488 [! O_RDONLY]: Define it to zero.
2489 (main): Use O_RDONLY instead of explicit zero.
2490
24911995-08-17 Francesco Potorti` (pot@cnuce.cnr.it)
2492
2493 * etags.c (Pascal_functions): Close comment bug corrected.
2494 (add_node): Correctly compare node file names.
2495 (Pascal_functions): Correctly allocate and free memory for tline.
2496 (pfnote): Put the definition of fp in the innermost block.
2497 (NODE): `named' member removed.
2498 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1c478461 2499 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
2500 (pfnote): `named' argument removed, all callers changed.
2501 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
2502 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1c478461 2503 removed from pfnote call, some code cleanup.
362bc2da
DL
2504 (relative_filename): Free temporary space allocated by concat.
2505
25061995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2507
2508 * Makefile.in (getdate.c): New target.
2509 (getdate.o): Just compile getdate.c.
2510
25111995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
2512
2513 * fakemail.c (xrealloc): Change cast to match return type.
2514
25151995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2516
2517 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
2518
25191995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2520
2521 * movemail.c (main): Fix previous change.
2522 Add error check for empty OUTNAME.
2523
25241995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2525
2526 * movemail.c (main): Mention lock file name in error message.
2527
25281995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2529
2530 * profile.c (gettimeofday): New function, defined if necessary.
2531
25321995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2533
2534 * Makefile.in: Renamed from Makefile.in.in.
2535 (distclean): Delete Makefile.c, not Makefile.in.
2536
25371995-07-17 Michael Shields <shields@tembel.org>
2538
2539 * Makefile.in.in (tags): Synonym for `TAGS'.
2540
25411995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2542
2543 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
2544 configure has already set $(INSTALL) to the proper relative path.
2545
25461995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
2547
2548 * etags.c (plain_C_entries): new function.
2549 (lowcase): new macro.
2550 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
2551 (lang_suffixes): new suffix ".pc" for Pro*C files.
2552 (consider_token): don't tag all tokens beginning with DEFUN & Co..
2553 (tail): look for the end of the token when comparing.
2554 (takeprec): since now tail behaves differently, use strneq.
2555
25561995-07-08 Paul Eggert <eggert@twinsun.com>
2557
2558 * rcs2log (datearg): Separate date from time with comma, not space,
2559 to work around CVS 1.5 bug.
2560 (CVSROOT): Don't abort when unset if repository is absolute.
2561
25621995-07-07 Paul Eggert <eggert@twinsun.com>
2563
2564 * rcs-checkin, rcs2log, vcdiff:
2565 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
2566 that interpret `#! /' as a 4-byte magic number.
2567
25681995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
2569
2570 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
2571 mailbox with "po:mailbox", the mailbox is everything after the
2572 "po:" prefix.
2573
25741995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2575
2576 * emacsserver.c: Make all error messages start with `Error: '.
2577 (fatal_error, perror_1): New functions, use throughout.
2578
25791995-06-28 Paul Eggert <eggert@twinsun.com>
2580
2581 * rcs2log (CVSROOT, repository):
2582 Allow remote repositories a la CVS 1.4.
2583
25841995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
2585
2586 * etags.c (plain_C_entries): new function.
2587 (lowcase): new macro.
2588 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
2589 (lang_suffixes): new suffix ".pc" for Pro*C files.
2590 (consider_token): don't tag all tokens beginning with DEFUN & Co..
2591 (tail): look for the end of the token when comparing.
2592 (takeprec): since now tail behaves differently, use strneq.
2593
25941995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2595
2596 * movemail.c (main): Add newline in usage message.
2597
25981995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2599
2600 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
2601
26021995-06-21 Francesco Potorti` (pot@cnuce.cnr.it)
2603
2604 * etags.c (find_entries): Rewind before rereading the input file.
2605
26061995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2607
2608 * Version 19.29 released.
2609
2610 * make-docfile.c (main) [MSDOS]: Do set _fmode.
2611 This undoes part of the previous change.
2612
26131995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2614
2615 * make-docfile.c (main): On MSDOS, don't change stdout
2616 to binary, and insist on an -o option.
2617
26181995-06-13 Geoff Voelker <voelker@cs.washington.edu>
2619
2620 * etags.c (process_file,absolute_filename): Handle filenames
2621 starting with a drive letter.
2622
2623 * makefile.nt (install): Copy wakeup.exe properly.
2624
26251995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
2626
2627 * make-docfile.c [MSDOS]: #undef chdir.
2628
26291995-06-04 Paul Eggert <eggert@twinsun.com>
2630
2631 * rcs2log (output_authors): Allow ':' in time zone,
2632 as per ISO 8601 and RCS 5.6.8 beta.
2633
26341995-05-29 Francesco Potorti` (pot@cnuce.cnr.it)
2635
2636 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
2637 compatibility problems.
2638
26391995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
2640
2641 * etags.c (etags_getcwd): Don't use #elif.
2642 Have just one function body.
2643
26441995-05-25 Geoff Voelker <voelker@cs.washington.edu>
2645
2646 * makefile.nt (LIBS): Use BASE_LIBS.
2647 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
2648 upon LIBS.
2649 (DOC): Use del instead of rm.
2650 (DOC) [WINDOWS95]: Use DOC.
2651 (clean): Handle MSVC aux files.
2652 (config.h,paths.h): Use $(CP) instead of cp.
2653 (config.h): Use $(CONFIG_H)
2654 (make-docfile.obj): Depend upon config.h.
2655 Clean up comments.
2656
26571995-05-23 Francesco Potorti` (pot@cnuce.cnr.it)
2658
2659 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
2660 former gives the true path even in the presence of simlinks.
2661
26621995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2663
2664 * movemail.c (main): Increase lock timeout to five minutes.
2665
26661995-05-06 Geoff Voelker <voelker@cs.washington.edu>
2667
2668 * makefile.nt (obj): Use .c files.
2669
26701995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2671
2672 * make-docfile.c: Include config.h.
2673 (NO_SHORTNAMES): New definition.
2674 (xmalloc): Return long *.
2675
2676 * etags.c (C_entries): Cast result of xrealloc.
2677 (xmalloc, xrealloc): Declare them to return long *.
2678
2679 * b2m.c (xmalloc, xrealloc): Declare them long *.
2680
2681 * movemail.c (xmalloc): Declare it to return long *.
2682
26831995-04-30 Paul Eggert <eggert@twinsun.com>
2684
2685 * rcs2log (datearg): If rlog options are specified explicitly,
2686 omit the implicit '-d>DATE' option.
2687 (repository, rlog): Allow absolute paths to CVS repositories.
2688 Look only at the first line of CVS/Repository.
2689
26901995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
2691
2692 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
2693 realclean.
2694
26951995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2696
2697 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
2698 Alternative (empty) definitions.
2699
27001995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2701
2702 * emacsclient.c (main): Add argv[0] to an error message.
2703
27041995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
2705
2706 * emacsclient.c (main): Improve error handling.
2707 * cvtmail.c (main, skip_to_lf): Improve error handling.
2708 (sysfail): New function.
2709
2710 * b2m.c (main): Check for trailing ", " before trying to delete it.
2711
27121995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2713
2714 * Makefile.in.in (all): Build test-distrib and make-docfile.
2715
2716 * make-docfile.c (scan_c_file): At end, restore file name last char
2717 to its original value.
2718
27191995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2720
2721 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
2722
27231995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2724
2725 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
2726 (alloca.o, regex.o): Use BASE_CFLAGS.
2727
27281995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2729
2730 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
2731
27321995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
2733
2734 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
2735 (SOURCES, distclean): Removed obsolete references to aixcc.
2736
27371995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2738
2739 * aixcc.lex: File deleted--surely obsolete now.
2740
27411995-03-23 Paul Eggert <eggert@twinsun.com>
2742
2743 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
2744 portability to mawk and nawk.
2745
27461995-03-21 Paul Eggert <eggert@twinsun.com>
2747
2748 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
2749 -u "login<tab>fullname<tab>mailaddr".
2750
27511995-03-21 Paul Eggert <eggert@twinsun.com>
2752
2753 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
2754 replaces the (now obsolescent) -n login fullname mailaddr option.
2755 Add -R option for recursive rlog.
2756 (AWK): New environment variable (default `awk') for awk program name.
2757 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
2758 Quote authors and fullnames correctly.
2759 Don't omit path from repository root when logging CVS files.
2760
27611995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2762
2763 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
2764 even if HAVE_SYSVIPC.
2765 * emacsclient.c (main): Use getcwd if not BSD.
2766
27671995-03-13 Francesco Potorti` (pot@cnuce.cnr.it)
2768
2769 * etags.c (process_file): free (filename) after using it.
2770 (readline_internal): Do not access the char before start of line.
2771
27721995-02-22 Francesco Potorti` (pot@cnuce.cnr.it)
2773
2774 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
2775 savetok.valid. Mark token as valid when it is initialised.
2776 (make_tag): Make token only if token is valid and reset validity.
2777 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
2778 (TOKEN): Added a new member: valid.
2779
27801995-02-15 Francesco Potorti` (pot@cnuce.cnr.it)
2781
2782 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
2783 (main): Do not read twice the last filename in the stdin file list.
2784
27851995-02-14 Francesco Potorti` (pot@cnuce.cnr.it)
2786
2787 * etags.c (C_entries): Initialise the new members of TOKEN.
2788 (C_entries): Do not allocate a new space for each token found by
2789 consider_token. Let make_tag do that instead.
2790 (make_tag): Since now TOKEN has memory of where it is taken from,
2791 this new macro substitutes both make_tag_from_new_lb and
2792 make_tag_from_oth_lb. All callers changed.
2793 (TOKEN): Add linepos and buffer members.
2794 (main): Initialise token_str.
2795 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
2796 (token_str): New global variable used by C_entries.
2797
27981995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
2799
2800 * Makefile.in.in (maintainer-clean): Renamed from realclean.
2801
28021995-02-01 Francesco Potorti` (pot@cnuce.cnr.it)
2803
2804 * etags.c (pfnote): Initialise been_warned in the node.
2805 (C_entries): Removed a speed hack for the sake of clarity.
2806
28071995-01-18 Francesco Potorti` (pot@cnuce.cnr.it)
2808
2809 * etags.c (longopts, print_help, main): Use -I as abbreviation
2810 for the --ignore-indentation option.
2811 (main): Do not print an error message for unknown options.
2812
28131995-01-12 Francesco Potorti` (pot@cnuce.cnr.it)
2814
2815 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
2816 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
2817 constantypedefs, update, vgrind_style, no_warnings,
2818 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
2819 (permit_duplicates): Was a var, now a #define.
2820 (filename_lb): Was global, now local to main.
2821 (main): Open the tag file when in cxref mode.
2822 Use a BUFSIZ size buffer for making the shell commands.
2823 Look at the return value from the system routine.
2824 Exit when cannot open the tag file.
2825 (process_file): Open the file and pass the FILE* to find_entries.
2826 (find_entries): Now void, because does not open the file itself.
2827 (pfnote): Recovering from lack of memory does not work. Removed.
2828 Use savenstr and simplify the code.
2829 (free_tree): Only free the name space if node is named.
2830 (structtag): Now a pointer, not a fixed length array of chars.
2831 (consider_token): Don't take a token as argument. Use savenstr
2832 when saving a tag in structtag. Callers changed.
2833 (TOKEN): Structure changed. Now used only in C_entries.
2834 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
2835 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
2836 (pfcnt): Deleted. Users updated.
2837 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
2838 TEX_getit, prolog_getit): Use dinamic allocation for storing
2839 the tag instead of a fixed size buffer.
2840
28411995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2842
2843 * movemail.c (main): Skip past the colon in inname.
2844
28451995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
2846
2847 * etags.c (pfatal): New function.
2848 (main, etags_getcwd): Use pfatal.
2849 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
2850
28511995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
2852
2853 * etags.c (Lang_function): Use void instead to declare the
2854 language functions, because many compilers are buggy.
2855 (etags_getcwd): Fix the previous fix on the #else branch.
2856 (readline_internal): Discard possible \r before \n here.
2857 (C_entries): Do not deal with \r here: undo previous fix.
2858
dff28924 28591995-01-09 Francesco Potorti` (pot@fly)
362bc2da
DL
2860
2861 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
2862 functions and a macro that allow the program to work on input
2863 lines of whatever length. Copied from etags.c.
2864 (fatal): Print a fatal error message and exit.
2865 (main): Use the new functions. Fixed a bug that made a \037 char
2866 appear at the end of the output.
2867
28681995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2869
2870 * etags.c (C_entries): Ignore carriage return at end of line.
2871
28721994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2873
2874 * fakemail.c (xmalloc, xrealloc): Add casts.
2875 (add_field): Handle <...> and "..." syntax.
2876 (setup_files, get_keyword): Clean up parens and line breaks.
2877 (args_size): Likewise.
2878
28791994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
2880
2881 * yow.c: Include program name in error messages.
2882
28831994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2884
2885 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
2886 (xmalloc, fatal, error): New functions.
2887 (progname): New variable.
2888 (main): Set progname.
2889
28901994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2891
2892 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
2893 (main): If socket/mqueue name is in home dir, add in the host name.
2894 Rename .emacs_server to .emacs-server....
2895
28961994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2897
2898 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
2899
29001994-11-22 Francesco Potorti` (pot@cnuce.cnr.it)
2901
2902 * etags.c (print_help): print --regex usage for ctags also.
2903 (main): use -h in addition to -H as abbreviation for --help.
2904
29051994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
2906
2907 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
2908 is compiled if this is defined. The new functions and variables
2909 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
2910 [VMS]: All VMS specific code previously contained in
2911 etags-vmslib.c is now included here, modified for dealing with
2912 language and regex options intermixed with filenames.
2913 (header_file): Global variable deleted.
2914 (Lang_Function): New typedef. All language parser functions
2915 changed to this new type.
2916 (string_numeric_p, substr, prestr): Functions deleted.
2917 (readline_internal): Does the job that readline did previously.
2918 (longopts): --language and --regex options added.
2919 (lang_names, lang_extensions, lang_func, print_language_names):
2920 New structures, variables and functions for choosing languages.
2921 (print_help): Help strings updated. Calls print_language_names.
2922 (argument_type, ARGUMENT): Typedefs for dealing with language and
2923 regex options intermixed with filenames.
2924 (main): Changed the way of dealing with arguments on the command
2925 line to deal with language and regex options intermixed with
2926 filenames.
2927 (get_language, default_C_entries, Cplusplus_entries,
2928 Cstar_entries, Yacc_entries, just_read_file): New functions.
2929 (find_entries): Use the new method for choosing the language.
2930 (Pascal_functions): Allow intermixing of comment styles.
2931 (prolog_getit, skip_comment): Rewritten for speed.
2932 (readline): Rewritten to deal with regexps.
2933
29341994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
2935
2936 * etags.c (<errno.h>): #include added.
2937 (etags_getcwd): Check return value from getcwd.
2938
29391994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2940
2941 * profile.c (TV1, TV2): Use EMACS_TIME as type.
2942 (get_time): Use EMACS_SUB_TIME.
2943
29441994-10-30 voelker <voelker@cs.washington.edu>
2945
2946 * ntlib.c: New file.
2947 * makefile.nt: New file.
2948
2949 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
2950 [WINDOWSNT]: Include the NT headers.
2951 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
2952
2953 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
2954 [WINDOWSNT]: Include some NT headers.
2955
29561994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
2957
2958 * pop.c (getline): When a search of already-read input for CRLF
2959 fails, store the fact that we've searched it and don't search it
2960 again after reading more data.
2961
2962 * pop.c (getline): When determining whether or not it's necessary
2963 to grow the input buffer, take into account the null that's stored
2964 at the end of already-read input in the buffer.
2965
29661994-10-21 Francesco Potorti` (pot@cnuce.cnr.it)
2967
2968 * etags.c (prestr, substr): return a logical type.
2969 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
2970 (consider_token): set funcdef to fignore when a DEFUN is met.
2971 (C_entries): Now we can use Tom Hageman patch for extern "C".
2972
29731994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2974
2975 * movemail.c: PopServer renamed to popserver throughout.
2976
29771994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
2978
2979 * etags.c: Don't declare malloc, since we include config.h.
2980 * fakemail.c: Likewise.
2981
29821994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2983
2984 * movemail.c: Don't declare malloc.
2985
29861994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
2987
2988 * rcs-checkin: Use test -r instead of < to check readability, to
2989 avoid syntax error.
2990
29911994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
2992
2993 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
2994 defined, and if HAVE_CONFIG_H isn't defined, define
2995 MAIL_USE_POP always (so that this file can be included in
2996 other programs besides emacs).
2997
2998 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
2999 HAVE_CONFIG_H isn't defined.
3000
3001 * pop.c (find_crlf, getline): Instead of using strstr, use a
3002 custom function for finding CRLF.
3003 (my_strstr): Function deleted.
3004
30051994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
3006
3007 * pop.c (getline): Fix a segfault because of passing a
3008 non-null-terminated string into strstr(). Fix from
3009 djm@va.pubnix.com (David J. MacKenzie).
3010
3011 * pop.c: Don't include <string.h> and <strings.h>.
3012
3013 * pop.c: Include <des.h> before <krb.h>, rather than after. They
3014 should be interchangeable, and indeed the inclusion is done in
3015 both orders in various files in the Kerberos 4 library sources,
3016 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
3017 requires that <des.h> be included first, and I don't see any harm
3018 in changing the order.
3019
3020 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
3021 STDC_HEADERS, if they're defined. Undef open, read, write and
3022 close after including it.
3023
30241994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3025
3026 * pop.c: Fix mismatch in conditionals.
3027
3028 * make-docfile.c (main): Don't process one input file twice.
3029 Never use exit code > 1.
3030
3031 * pop.c (open, close, read, write): Add #undefs.
3032
3033 * pop.c: Don't declare malloc, realloc, free.
3034 Include ../src/config.h.
3035 Don't include string.h or strings.h.
3036 Include des.h before krb.h.
3037 Do declare my_strstr.
3038 (getline): Really use my_strstr.
3039 Leave one empty place in server->buffer,
3040 and put a null at the end of the data in it.
3041
30421994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3043
3044 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
3045 call kill with pid 0. Handle EINTR when receiving messages.
3046
30471994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
3048
3049 * Makefile.in.in (regex.o): Use full path to find regex.c.
3050
30511994-10-17 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3052
3053 * Makefile.in.in (etags): add dependency on regex.o, link with it.
3054 (REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added.
3055
30561994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
3057
3058 * Makefile.in.in (DONT_INSTALL): Remove make-path.
3059 (${archlibdir}): Use mkinstalldirs instead.
3060
3061 * movemail.c: Make functions that return nothing void, not
3062 implicitly int.
3063 (main): Improve usage message.
3064 (error): Write to stderr, not stdout.
3065
3066 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
3067 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
3068 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
3069 variables and implicitly declared functions.
3070
30711994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3072
3073 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
3074 (distclean): Not here.
3075
3076 * Makefile.in.in (libexecdir): Renamed from libdir.
3077
30781994-10-11 Francesco Potorti` (pot@cnuce.cnr.it)
3079
3080 * etags.c (C_entries): Name the #define's that are macros.
3081
30821994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3083
3084 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
3085 fd_set arg is a pointer, descriptor arg comes first.
3086
30871994-09-29 Francesco Potorti` (pot@cnuce.cnr.it)
3088
3089 * etags.c (C_entries): Recognise typedef of ANSI style functions.
3090 (C_entries): Recognise #define inside a struct.
3091 (C_entries): ANSI tells that preprocessor commands do not have to
3092 start on the first column.
3093 (print_help): Documentation corrected for -d and -D.
3094 (white, endtk): ANSI tells the vertical tab is a separator.
3095
30961994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
3097
3098 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
3099 (pop.o, movemail.o): New targets.
3100 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
3101
3102 * pop.c, pop.h: New files.
3103
3104 * movemail.c: Improve POP code, move most of it into a separate file.
3105 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
3106 (mbx_write): Check for errors and for From line.
3107 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
3108 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
3109 (pop_init): Functions deleted.
3110
31111994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
3112
3113 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
3114 Rename path to dirname.
3115
31161994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3117
3118 * Makefile.in.in (UTILITIES):
3119 Remove test-distrib, make-docfile, make-path.
3120 (DONT_INSTALL): New variable--list those files here.
3121 (clean): Delete the files in DONT_INSTALL.
3122
31231994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3124
3125 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
3126 (main): Use fgets, not gets.
3127
31281994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3129
3130 * timer.c: Don't declare malloc.
3131
31321994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3133
3134 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
3135 defined, use simple 32-bit versions of these macros.
3136 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
3137
31381994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3139
3140 * etags.c (etags_getcwd): Use getcwd if available.
3141
31421994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3143
3144 * Version 19.27 released.
3145
31461994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3147
3148 * Version 19.26 released.
3149
31501994-08-15 Paul Eggert <eggert@twinsun.com>
3151
3152 * rcs2log: Add support for CVS.
3153 Work with `rlog's that output ISO 8601 dates.
3154
31551994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
3156
3157 * rcs2log: Use <> to delimit email address.
3158
31591994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3160
3161 * emacsserver.c [SYSV_IPC] (main): Make a separate process
3162 so we can listen for multiple requests.
3163
31641994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3165
3166 * movemail.c: Include config.h first thing.
3167
31681994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3169
3170 * emacsserver.c (main): Add casts to avoid warnings.
3171
31721994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3173
3174 * Makefile.in.in (${archlibdir}): Compare the proper dir
3175 before installing the scripts.
3176
31771994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3178
3179 * emacsclient.c (main): New local var progname saves argv[0].
3180
31811994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3182
3183 * emacsclient.c (main): Don't actually modify argv[0].
3184 Modify a copy instead.
3185
31861994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3187
3188 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
3189 (tzp): Var deleted.
3190
3191 * Makefile.in.in: Add #undef alloca.
3192
31931994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3194
3195 * timer.c (xmalloc): New function.
3196
31971994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3198
3199 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
3200 (alloca.o): New target.
3201
32021994-07-08 Dave Love (d.love@dl.ac.uk)
3203
3204 * etags.c (takeprec): recognise `character*(*) function'
3205
32061994-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
3207
3208 * etags.c (main): Don't barf on obsolete -t and -T switches.
3209 (main): Print an explicative message when a switch is not known.
3210
32111994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3212
3213 * hexl.c: Don't declare exit or perror.
3214
3215 * emacsserver.c (main): Don't declare geteuid.
3216 Don't declare getenv if convex.
3217
32181994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3219
3220 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
3221
32221994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3223
3224 * etags.c (absolute_filename): Remove infinite loop bug when
3225 accessing files in directories whose name begins with a dot.
3226
32271994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3228
3229 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
3230
32311994-06-01 Morten Welinder (terra@diku.dk)
3232
3233 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
3234 location of data directory.
3235
32361994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3237
3238 * Version 19.25 released.
3239
32401994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3241
3242 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
3243
32441994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3245
3246 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
3247
32481994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3249
3250 * Version 19.24 released.
3251
32521994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3253
3254 * make-docfile.c (write_c_args): Put `default' in upper case.
3255
32561994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3257
3258 * etags.c (etags_getcwd): Cast result of popen.
3259 (popen): Declaration deleted.
3260
32611994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
3262
3263 * etags.c [!MSDOS]: Declare popen.
3264
32651994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3266
3267 * b2m.c (main): Avoid crash if argc is 1.
3268
32691994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3270
3271 * Version 19.23 released.
3272
3273 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
3274
32751994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3276
3277 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
3278
32791994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
3280
3281 * Makefile.in.in: Fix out of date comment.
3282
32831994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3284
3285 * Makefile.in.in: Put in a separator for where to start cpp procssing.
3286 Move all autoconf substitutions above that point.
3287 Above that point, use Make-style comments.
3288 This goes with changes in ../configure.in.
3289
32901994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3291
3292 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
3293 warning message.
3294 (${archlibdir}): Don't do it here. Don't depend on blessmail.
3295
32961994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
3297
3298 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
3299
33001994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3301
3302 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
3303 print advice to run it, if it has anything significant to do.
3304 And only if MOVEMAIL_NEEDS_BLESSING.
3305 (blessmail): Use emacs, not temacs.
3306 (configuration): Renamed from configname.
3307
33081994-04-30 Morten Welinder (terra@diku.dk)
3309
3310 * etags.c (find_entries): Treat `*.cpp' as C++ files.
3311
33121994-04-30 Morten Welinder (terra@diku.dk)
3313
3314 * etags.c [MSDOS]: #include <sys/param.h> for the following.
3315 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
3316 a shell.
3317
33181994-04-29 Morten Welinder (terra@diku.dk)
3319
3320 * hexl.c [MSDOS]: Don't define proto type for exit.
3321
33221994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3323
3324 * b2m.c: Don't include string.h or strings.h.
3325
33261994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
3327
3328 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
3329 symbols, not make variables.
3330
33311994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3332
3333 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
3334 * etags.c (print_version): Print VERSION as a string.
3335
33361994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3337
3338 * fakemail.c (readline): Fix updating of p when buffer grows.
3339
33401994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
3341
3342 * Makefile.in.in (blessmail): New target.
3343 ${archlibdir}: Use blessmail when installing movemail.
3344
33451994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3346
3347 * fakemail.c (readline): When extending the buffer,
3348 calculate end afresh using the new size.
3349
33501994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3351
3352 * etags.c (main, print_help): eliminate the -F option.
3353
33541994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3355
3356 * etags.c (absolute_filename): compare against '\0' instead of NULL.
3357
33581994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3359
3360 * Makefile.in.in: Renamed from Makefile.in.
3361 Makefile.in is now generated from it, and then preprocessed.
3362 Change comments to C syntax.
3363 Include config.h.
3364 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
3365 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
3366
33671994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3368
3369 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
3370
33711994-04-12 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3372
3373 * etags.c (etags_getcwd): Initialize bufsize.
3374
33751994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3376
3377 * profile.c (gettimeofday): If system doesn't have this, define it
3378 to give a fatal error.
3379
33801994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
3381
3382 * movemail.c (main): Use setuid, not seteuid.
3383
33841994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3385
3386 * etags.c: #undef static.
3387
33881994-04-08 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3389
3390 * etags.c (outf, outfiledir): renamed to tagf, tagfiledir.
3391 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs,
3392 Scheme_funcs, prolog_funcs): renamed to Fortran_functions,
3393 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
3394 TeX_functions, Prolog_functions.
3395 (inf): no more a global variable.
3396 (C_entries): take 2nd parameter `inf' instead of using the global one.
3397 (find_entries): added the cp1 var for optimisation.
3398 (find_entries): added more suffixes for assembler files.
3399 (Asm_funcs): Now finds labels even without an ending colon.
3400
34011994-03-30 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3402
3403 * etags.c (main): use etags_getcwd for compatibility.
3404 (etags_getcwd): new function.
3405
34061994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3407
3408 * Makefile.in (etags, ctags): Pass -D for VERSION.
3409
34101994-03-25 Francesco Potorti` (pot@cnuce.cnr.it)
3411
3412 * etags.c (emacs_tags_format, ETAGS): removed. Use CTAGS instead.
3413 (main): don't allow the use of -t and -T in etags mode.
3414 (print_help): don't show options enabled by default.
3415 (print_version): show the emacs version number if VERSION is #defined.
3416 (find_entries): add "ss" as suffix for Chez Scheme.
3417
34181994-03-23 Francesco Potorti` (pot@cnuce.cnr.it)
3419
3420 * etags.c (cwd, outfiledir): vars added.
3421 (relative_filename, absolute_filename, absolute_dirname):
3422 functions added to compute filenames in tags files.
3423 (process_file): filenames in tags file are relative to the
3424 directory where the tags file is (useful with the -o option).
3425 (main): initialise the outfiledir var.
3426 (TYPEDST): added the `tignore' value.
3427 (C_entries): corrected various small bugs.
3428
34291994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3430
3431 * Makefile.in (UTILITIES): `env' deleted.
3432 (env): Target deleted.
3433 * env.c: File deleted.
1c478461 3434
362bc2da
DL
34351994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3436
3437 * Makefile.in (install, ${archlibdir}): Switch back to ..
3438 before running INSTALL_PROGRAM.
3439
34401994-03-14 Francesco Potorti` (pot@cnuce.cnr.it)
3441
3442 * etags.c (TYPEDST): added the `tignore' value.
3443 (C_entries): corrected various bugs, now correctly parses the
3444 `extern "C" {' construction (patch by Tom R.Hageman).
3445
34461994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3447
3448 * b2m.c: Use <...> to include config.h.
3449 Don't include stdlib.h.
3450
34511994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
3452
3453 * b2m.c (main): Change delimiter from "^L" to "^_^L".
3454 Allow for text following "BABYL OPTIONS:".
3455 Add --help option. Use argv[0] in error messages.
3456
34571994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3458
3459 * emacsclient.c (main) [HAVE_SYSVIPC]:
3460 Make msgp->mtext longer if necessary.
3461 On HPUX, error if it's more than 512 chars.
3462
34631994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
3464
3465 * etags-vmslib.c: Use GPL.
3466 * emacstool.c: Use GPL.
3467 * fakemail.c: Update GPL.
3468
3469 * make-path.c (main): Return 1 on error, not -1.
3470 Update GPL.
3471
3472 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
3473 (xmalloc, xrealloc): Return char *, not int.
3474 (error): Write to stderr, not stdout.
3475 Update GPL.
3476
34771994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
3478
3479 * profile.c (main, get_time): Don't crash on invalid input.
3480
34811994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
3482
3483 * profile.c (get_time): Simplify; avoid calling index.
3484 (main): exit on EOF.
3485
34861994-02-17 Francesco Potorti` (pot@cnuce.cnr.it)
3487
3488 * etags.c (--absolute-pathnames): option removed.
3489
34901994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3491
3492 * fakemail.c (put_line): Don't break the line if it all fits.
3493
dff28924 34941994-02-14 Francesco Potorti` (pot@fly)
362bc2da
DL
3495
3496 * etags.c (absolute_pathnames, cwd): added global vars.
3497 (longopts, print_help, main, process_file): put absolute filenames
3498 in the tag file if the -A --absolute-pathnames option is used.
3499 (print_help): alfabetically order the options.
3500 (malloc, realloc, strcpy, strncpy, strcmp): remove extern declar.
3501
35021994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3503
3504 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
3505 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
3506
35071994-02-07 Christian Lynbech (lynbech@avignon)
3508
3509 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
3510
35111994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3512
3513 * Makefile.in (UTILITIES): Mention profile.
3514 (profile): New target.
3515
3516 * profile.c: New file.
3517
35181994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3519
3520 * Make the argument list output look more like the Lisp docstrings do.
3521 make-docfile.c (write_c_args): Take new arg FUNC. Make output
3522 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
3523 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
3524
35251994-01-14 Francesco Potorti` (pot@cnuce.cnr.it)
3526
3527 * etags.c (stab_entry, stab_create, stab_find, stab_search,
3528 stab_type, add_keyword, C_reate_stab, C_create_stabs): deleted.
3529 Use gperf generated hash table instead of linked list.
3530 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): added.
3531 Mostly code generated by gperf.
3532 (consider_token): removed unused parameter `lp'.
3533 (PF_funcs, getit): allow subroutine and similar declarations
3534 to span multiple lines.
3535 (C_entries): check for newline if inchar to avoid bus errors.
3536 (process_file, find_entries): distinguish among nonexistent
3537 and not regular file.
3538
35391994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3540
3541 * timer.c: Include errno.h; don't include fasync.h.
3542 (schedule): Don't return a value.
3543 (sigcatch): Reestablish the handler first.
3544 (getevent): Always call notify at the end.
3545 (notify): Defer alarms around the whole body of function.
3546
35471994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3548
3549 * timer.c (main): Don't request SIGIO, and don't handle it.
3550 Loop calling getevent.
3551 (sigcatch): Delete code to handle SIGIO.
3552 if defer_alarms is set, don't call notify, just set alarm_deferred.
1c478461 3553 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
3554 Set defer_alarms around realloc and schedule.
3555 If alarm_deferred gets set, call notify.
3556 Likewise if this event is the only pending event.
3557 Make buf and buf_size global variables.
3558 Don't malloc buf if it is already non-zero.
3559 (schedule): Just exit if run out of memory.
3560 Return the number of events.
3561 (signal) [_CX_UX]: Add #undef.
3562
35631994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3564
3565 * timer.c [USG] (SIGIO): Define as SIGPOLL.
3566 (main) [USG]: Do ioctl to enable SIGPOLL.
3567
35681994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3569
3570 * timer.c: Don't declare sys_errlist; declare strerror instead.
3571 (schedule, main): Call strerror instead of using sys_errlist.
3572 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
3573 Call strerror instead of using sys_errlist.
3574 * env.c (main): Call strerror instead of using sys_errlist.
3575 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
3576 (main): Call strerror instead of using sys_errlist.
3577 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
3578 * env.c [! HAVE_STRERROR] (strerror): Likewise.
3579 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
3580 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
3581
35821994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3583
3584 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
3585
3586 * movemail.c (malloc): Don't declare it.
3587 (xmalloc): Cast result of malloc.
3588 (strcpy): Don't declare it.
3589
35901993-11-14 Morten Welinder (terra@diku.dk)
3591
3592 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
3593 (main): Use fclose to close file opened by fopen.
3594
3595 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
3596
3597 * movemail.c [MSDOS]: #undef `access'.
3598
3599 * b2m.c (main) [MSDOS]: Open all files as binary.
3600 * etags.c (main) [MSDOS]: Open all files as binary.
3601
3602 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
3603 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
3604 with.
3605
36061994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3607
3608 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
3609 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
3610 (LINK_CFLAGS): New variable.
3611 (timer): Use LINK_CFLAGS.
3612
36131993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3614
3615 * movemail.c: Include syswait.h.
3616 Fork a subprocess and use it to copy the mail file.
3617
36181993-12-07 Richard Stallman (rms@srarc2)
3619
3620 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
3621
36221993-12-04 Richard Stallman (rms@srarc2)
3623
3624 * movemail.c (main): When making tempname, cast result of xmalloc.
3625 Include room for EXXXXXX in the size.
3626 Don't use result of strcpy.
3627
36281993-12-03 Paul Eggert (eggert@twinsun.com)
3629
3630 * vcdiff: Add --brief option.
3631
36321993-12-02 Richard Stallman (rms@srarc2)
3633
3634 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
3635 for all executables and scripts.
3636
36371993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3638
3639 * Version 19.22 released.
3640
36411993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3642
3643 * Makefile.in (mostlyclean): Make it distinct from clean.
3644
36451993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3646
3647 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
3648
36491993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3650
3651 * Version 19.21 released.
3652
3653 * Makefile.in (install): Don't change mode or group when installing.
3654
3655 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
3656
36571993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3658
3659 * make-docfile.c (read_c_string): For "", concatenate the two strings.
3660
3661 * movemail.c (main): Fix error message text.
3662
36631993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3664
3665 * Version 19.20 released.
3666
36671993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
3668
3669 * etags.c: (C_entries): Keep track of ()-parenthesis level so that
3670 functions returning a pointer to a function, a la `signal', can be
3671 parsed. This also required new state `fstartlist' to `FUNCST'.
3672 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
3673 (C_entries, CNL): use it to isolate preprocessor directive processing
3674 from the other state engines.
3675 (begtk): add '~', for C++ class destructors.
3676
36771993-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
3678
3679 * etags.c (consider_token): removed unused variable firsttok.
3680 (prolog_getit): call pfnote with the right number of arguments.
3681
36821993-10-19 Paul Eggert (eggert@twinsun.com)
3683
3684 * rcs2log (printlogline): Don't generate lines containing only
3685 white space.
3686
36871993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3688
3689 * Makefile.in (${archlibdir}):
3690 Install ${SCRIPTS} from ${srcdir}, not cwd.
3691
36921993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3693
3694 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
3695 the comment character.
3696
36971993-10-01 Francesco Potorti` (pot@cnuce.cnr.it)
3698
3699 * etags.c (process_file): dead code removed.
3700 (S_ISREG): #define it using S_IFREG if not defined.
3701 (process_file): regular files have nothing to do with symlinks.
3702
37031993-09-28 Brian Fox (bfox@ai.mit.edu)
3704
3705 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
3706 from current directory. Only chmod and chgrp files that we
3707 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
3708 ${bindir}.
3709 (INSTALLFLAGS): Deleted definition, since it is an unused variable
3710 now.
3711
37121993-09-27 Brian Fox (bfox@ai.mit.edu)
3713
3714 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
3715 configure figure out the correct values for these variables.
3716
37171993-09-14 Brian Fox (bfox@ai.mit.edu)
3718
3719 * Makefile.in (archlibdir): Only install execuatables internally
3720 used by emacs; don't install bindir binaries here.
3721
37221993-09-24 Paul Eggert (eggert@twinsun.com)
3723
3724 * rcs2log: Add -h, -n, -r options.
3725 By default, look for *,v files as well as RCS/*,v files.
3726 Use $TMPDIR (default /tmp) instead of /tmp.
3727
dff28924 37281993-09-20 Francesco Potorti` (pot@fly)
362bc2da
DL
3729
3730 * etags.c (C_entries): is_func is initialised here instead of in
3731 consider_token for the sake of the yacc rules section.
3732 (C_entries): Now class, struct, enum, union and typedef produce
3733 named tags.
3734
37351993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
3736
3737 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
3738
37391993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3740
3741 * Support configuring in a different directory when ${srcdir} has
3742 already been configured.
3743 * Makefile.in (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before
3744 -I${srcdir} -I${srcdir}/../src.
3745 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
3746 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
3747 is already in CPP_FLAGS.
3748 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
3749 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
3750
37511993-08-25 Paul Eggert (eggert@twinsun.com)
3752
3753 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
3754 otherwise, HP awk complains.
3755
3756 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
3757 are common hangouts for SCCS commands.
3758
37591993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3760
3761 * Version 19.19 released.
3762
37631993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3764
3765 * Makefile.in (make-path): Dep on config.h.
3766
37671993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3768
3769 * b2m.c (TRUE, FALSE): Don't define if already defined.
3770
37711993-08-09 Paul Eggert (eggert@twinsun.com)
3772
3773 * rcs2log (awkscript):
3774 Some sites put comma-separated junk after the fullname.
3775 Remove it, but leave "Bill Gates, Jr" alone.
3776 Remove the junk from fullnames like "0000-Admin(0000)".
3777
37781993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3779
3780 * Version 19.18 released.
3781
37821993-08-04 Francesco Potorti` (pot@spiff.gnu.ai.mit.edu)
3783
3784 * etags.c (L_isdef, L_isquote, L_getit): small optimisations.
3785 (L_funcs): the (foo::defmumble stuff now should work.
3786 (consider_token): function returned random value--corrected.
3787 (C_entries): corrected == versus = typo.
3788
37891993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3790
3791 * etags.c (put_entries): For NODE->rewritten, put pattern before
3792 \177 and name after, not vice versa.
3793
37941993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3795
3796 * timer.c (main): Generate a SIGIO as soon as we've initialized.
3797
37981993-07-30 Francesco Potorti` (pot@cnuce.cnr.it)
3799
3800 * etags.c (FINCST): added the fignore status. Means we are
3801 after the parameter list and before the open curly brace.
3802 Allows correct parsing of C++ constructors.
3803 (C_entries, consider_token): make use of fignore.
3804 (consider_token): reset funcdef when next_token_is_func: when in
3805 ctags mode makes DEFVAR and others work better.
3806 (L_isquote): function that recognises the "(quote" string.
3807 (L_getit): ignore quoting via "'" or "(quote". Useful for defalias.
3808
38091993-07-29 Paul Eggert (eggert@twinsun.com)
3810
3811 * rcs-checkin: Don't check whether a file is readable until we have
3812 decided not to ignore it.
3813
38141993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3815
3816 * Makefile.in (etags): Depend on ../src/config.h.
3817
3818 * emacsserver.c: Include types.h before file.h.
3819
38201993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3821
3822 * Makefile.in (install): Use .n, not .new, for temporary filenames.
3823
38241993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3825
3826 * Version 19.17 released.
3827
38281993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3829
3830 * etags.c (print_help): Break up the very long strings containing
3831 the help message into shorter strings, to placate chintzy C
3832 compilers which can't handle strings that long.
3833
3834 * wakeup.c: Use CPP tangle from autoconf manual to #include the
3835 correct combination of <time.h> and <sys/time.h>.
3836
38371993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
3838
3839 * etags.c (alloca): removed all references to it.
3840 (main): now calls xnew instead of alloca for portability.
3841 (../src/config.h): included only if HAVE_CONFIG_H.
3842 (const): void definition removed--config.h takes care of it.
3843
38441993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
3845
3846 * etags.c (consider_token): was `==', now is `='.
3847 (consider_token): DEFUNs now treated like funcs in ctags mode.
3848
3849 * etags.c (LEVEL_OK_FOR_FUNCDEF): removed.
3850 (C_entries): optimized the test that used LEVEL_OK_FOR_FUNCDEF.
3851 (C_entries): removed a piece of useless code.
3852 (C_entries): making typedef tags is delayed until a semicolon
3853 is met. This handles "typedef int X, Y, Z;" correctly.
3854
38551993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3856
3857 * Version 19.16 released.
3858
3859 * b2m.c: #include <sys/types.h>.
3860 (ltoday): Declare this to be time_t.
3861
38621993-06-30 Paul Eggert (eggert@twinsun.com)
3863
3864 * vcdiff: Add -q option.
3865
38661993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3867
3868 * etags.c: #include "config.h" and the alloca CPP tangle before
3869 #including the system headers and getopt.h. AIX requires the
3870 #pragma to come before any actual C code.
3871
38721993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3873
3874 * Makefile.in (ctags): Depend on etags, so that parallel makes
3875 don't write etags.o files on top of each other.
3876
38771993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3878
3879 * version 19.15 released.
3880
38811993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3882
3883 * etags.c (add_node): Move var last_node to file scope.
3884
38851993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3886
3887 * Version 19.14 released.
3888
38891993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3890
3891 Bring mumbleclean targets into conformance with GNU coding standards.
3892 * Makefile.in (distclean): Call clean to do most of the work.
3893 Delete aixcc.c and TAGS.
3894 (realclean): Just call distclean.
1c478461 3895
362bc2da
DL
3896 * Makefile.in: Remember, spaces are not tabs.
3897
38981993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3899
3900 * Makefile.in (CPP_CFLAGS): New variable.
3901 Use it instead of ALL_CFLAGS when compiling a .c file.
3902 (getopt.o, getopt1.o): Add explicit compilation commands.
3903
39041993-06-10 Mark D. Baushke (mdb@cisco.com)
3905
3906 * etags.c: Reinstate old -f option as an alias for -o for
3907 installed base uses.
3908
39091993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3910
3911 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
3912 to bind or accept, cast the pointer, to avoid warnings on systems
3913 which declare prototypes for this.
3914 * emacsclient.c (main): Same.
3915
3916 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
3917
39181993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3919
3920 * Version 19.13 released.
3921
3922 * wakeup.c: Include sys/types.h, too; I think that's where time_t
3923 comes from, not sys/time.h.
3924
39251993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3926
3927 * wakeup.c: Include sys/time.h.
3928
3929 * etags.c: #undef static.
3930
3931 * Version 19.12 released.
3932
3933 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
3934
39351993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3936
3937 * Version 19.11 released.
3938
3939 * timer.c [LINUX]: #undef signal.
3940 * emacsserver.c: #undef signal.
3941
39421993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3943
3944 * wakeup.c (main): Make when a time_t.
3945
39461993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3947
3948 * Makefile.in: (${archlibdir}): Use `(cd foo && pwd)` instead of
3949 `(cd foo ; pwd)` to get the canonical name of a directory; cd
3950 might fail, and have pwd print out the current directory.
3951
3952 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
3953 string-handling functions.
3954
39551993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3956
3957 * Version 19.10 released.
3958
39591993-05-29 Paul Eggert (eggert@twinsun.com)
3960
3961 * rcs2log: When given no file arguments, inspect RCS/.* as well
3962 as RCS/*. Don't report an error if RCS is empty or nonexistent.
3963
39641993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3965
3966 * Makefile.in (timer): Link with $(LOADLIBES).
3967
39681993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3969
3970 * fakemail.c (put_line): Don't output \n\t unless more text follows.
3971
39721993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3973
3974 * etags.c: Replace the CPP tangle for alloca with the one from the
3975 autoconf documentation, since that's working elsewhere.
3976
39771993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3978
3979 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
3980 description files can find their ancestors.
3981
39821993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3983
3984 * Makefile.in (install): Get the scripts from ${srcdir},
3985 unlike the executables.
3986 (ALL_CFLAGS): Add -I../src
3987
39881993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3989
3990 * Version 19.9 released.
3991
39921993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3993
3994 * Makefile.in (install): Do install the programs listed in
3995 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
3996 INSTALLABLE_SCRIPTS, instead of writing the programs out.
3997
3998 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
3999 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
4000
40011993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4002
4003 * etags.c: Include ../src/config.h.
4004
4005 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
4006 in first loop. Delete files from bindir before installing new ones.
4007 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
4008
40091993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4010
4011 * Version 19.8 released.
4012
4013 * make-docfile.c: Doc fix.
4014
40151993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4016
4017 * tcp.c: Fix comment syntax at top of file.
4018 (main): Don't call htons with the port number.
4019
40201993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4021
4022 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
1c478461 4023 appropriate.
362bc2da
DL
4024
4025 * Makefile.in (install): Refer to the variables INSTALLABLES and
4026 INSTALLABLE_SCRIPTS, instead of writing them out.
4027
40281993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4029
4030 * make-path.c (main): Return 0.
4031
40321993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4033
4034 * Version 19.7 released.
4035
40361993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4037
4038 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
4039
40401993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4041
4042 * tcp.c: New file.
4043
40441993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4045
4046 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
4047
40481993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4049
4050 * timer.c (notify): Don't call sighold or sigrelse; they're USG
4051 only. We should really fix this later, but let's just make it
4052 compile for now.
4053
4054 Install patches from David J. Mackenzie to make the srcdir option
4055 work.
4056 * Makefile.in (srcdir, VPATH): Get this value from the top-level
4057 Makefile.
4058 (INSTALLABLES): Split this into two lists - INSTALLABLES and
4059 INSTALLABLE_SCRIPTS.
4060 (INSTALLABLE_SCRIPTS): New list.
4061 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
4062 (${archlibdir}): The scripts to be installed live in the source
4063 tree, not in the object tree.
4064 (test-distrib): Note that the data file lives in the source tree,
4065 not the object tree.
4066 (GETOPTDEPS): Note that getopt.h lives in the source tree.
4067 (all other targets): Change references to source files to use
4068 ${srcdir}, except for config.h, which lives in the object dir.
4069 (timer.o): Note that this depends on ../src/config.h.
4070 * make-docfile.c (main): Add a -d option, to tell it where to find
4071 the source files.
4072 * test-distrib.c (main): Take the name of the distribution file to
4073 test from the command line.
4074
4075 * timer.c: Fix mispellings of get_date function's name.
4076
40771993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
4078
4079 * etags.c (main):
4080 Don't require that there be input files if -i switches were given.
4081
40821993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4083
4084 The GNU coding standards specify that CFLAGS should be left for
4085 users to set.
4086 * Makefile.in (CFLAGS): Put this in the "things configure might
4087 edit" section, and have it default to -g.
4088 (ALL_CFLAGS): New variable, set to all the flags which should be
4089 passed to compilations. Replace all other uses of CFLAGS with
4090 ALL_CFLAGS.
4091 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
4092
4093 * Makefile.in (DEFS): Remove this; it's always just going to be
4094 "-DHAVE_CONFIG_H -Demacs".
4095
40961993-05-03 Paul Eggert (eggert@twinsun.com)
4097
4098 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
4099 /[/]/, so change it to /[\/]/. This should work on all
4100 Posix-compliant awks. It's slightly wrong with traditional awk,
4101 since it matches \ too, but that's a minor problem compared to awk
4102 syntax errors.
4103
41041993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4105
4106 * Makefile.in (ALLOCA): New variable, whose value we should
4107 inherit from the top-level makefile.
4108 (etags, ctags): Include ALLOCA in the list of object files that
4109 these executables depend on and link.
4110
41111993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4112
4113 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
4114
41151993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
4116
4117 * make-docfile.c (write_c_args): Print an argument named "defalt"
4118 as "default".
4119
41201993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4121
4122 * Makefile.in (C_SWITCH_SYSTEM): New variable.
4123 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
4124 compiler.
4125
41261993-03-22 Francesco Potorti` (pot@cnuce.cnr.it)
4127
4128 * etags.c (YACC): flag added to c_ext.
4129 (c_ext): no more a synonim for c_ext&C_PLPL because of YACC.
4130 (find_entries): consistently use streq when reasonable.
4131 (find_entries): a .y file is a yacc file.
4132 (get_C_stab): c_ext becomes c_ext&C_PLPL.
4133 (C_entries): logical cplpl means c_ext&C_PLPL.
4134 (C_entries): logical yacc_rules means we are after the first %%.
4135 (C_entries): added logic for yacc files.
4136
41371993-03-16 Francesco Potorti` (pot@cnuce.cnr.it)
4138
4139 * etags.c (C_entries): ':' case moved to the second switch.
4140 (C_entries): do not examine token if structdef==scolonseen.
4141 (consider_token): structtag set to null string for enum.
4142
41431993-03-12 Francesco Potorti` (pot@cnuce.cnr.it)
4144
4145 * etags.c (GET_COOKIE): and related macros removed.
4146 (logical): is now int, no more a char.
4147 (reg): define deleted.
4148 (isgood, _gd, notgd): deleted.
4149 (gotone): deleted.
4150 (TOKEN): member linestart removed.
4151 (linepos, prev_linepos, lb1): deleted.
4152 (main): call initbuffer on lbs array instead of lb1.
4153 (init): removed the initialisation of the logical _gd array;
4154 (find_entries): a .sa suffix means assembler file.
4155 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
4156 All C state machines rewritten.
4157 (C_entries): complete rewrite.
4158 (condider_token): complete rewrite.
4159 (getline): deleted.
4160
41611993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
4162
4163 * etags.c (C_entries): Added the quotednl logical variable.
4164 Used for parsing of #define's spanning multiple lines.
4165
41661993-02-23 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
4167
4168 * etags.c (C_entries): Save the definedef status even when a
4169 newline is met inside a string.
4170
41711993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
4172
4173 * Makefile.in (EXECUTABLES): added rcs-checkin.
4174
4175 * Makefile.in (unlock, relock): New productions.
4176
41771993-03-16 Paul Eggert (eggert@twinsun.com)
4178
4179 * rcs2log: Some awks don't understand "\r". Code around this.
4180 Unfortunately this requires putting a carriage return in the
4181 source code. Don't assume that rlog will tolerate times like
4182 `10:10:60'; RCS 5.7 won't allow this.
4183
41841993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4185
4186 * timer.c (main): Set the ownership of the stdin file descriptor
4187 to the current process. Print error messages if either of the
4188 fcntl's fails.
4189
4190 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
4191 ../src/config.h), not void.
4192
41931993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4194
4195 * b2m.c (main): Don't exit upon reading a blank line.
4196
41971993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
4198
4199 * etags.c (C_entries): New local variable quotednl. Used for
4200 parsing of #define's spanning multiple lines.
4201
4202 * etags.c (C_entries): Save the definedef status
4203 even when a newline is met inside a string.
4204
42051993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4206
4207 * timer.c (notify): Initialize waitfor properly.
4208
42091993-02-22 Francesco Potorti` (pot@CNUCE.CNR.IT)
4210
4211 * etags.c (C_entries): Don't reset definedef when a newline inside a
4212 comment is met.
4213
42141993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4215
4216 * etags.c (find_entries): If filename ends in .f or .for,
4217 don't try anything but Fortran.
4218
42191993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
4220
4221 * timer.c (notify): Flush stdout after writing message to avoid lossage
4222 on terminals.
4223
4224 (notify): Also, write a newline after the token.
4225
42261992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4227
4228 * Makefile.in (exec_prefix): New variable.
4229 (bindir, libdir): Use it instead of `prefix'.
4230
4231 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
4232
4233 * Makefile.in (libdir): Default to ${prefix}/lib.
4234 (archlibdir): Adjusted to match.
4235
4236 * Makefile.in (distclean): Don't delete backup or autosave files.
4237 (extraclean): Like realclean, but does delete backup and autosave
4238 files.
4239
4240 * Makefile.in (realclean): Ignore errors from rm.
4241
4242 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
4243 that doesn't exist anymore.
4244
42451992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4246
4247 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
4248 described in the top-level Makefile.
4249 (UTILITIES): Add make-path to the list of utility programs.
4250 (../arch-lib): Replaced by the ${archlibdir} target, which places
4251 the executables in their permanent home.
4252 (install, install.sysv, install.xenix): Consolidated into one
4253 target which should work under all circumstances, modulo a few
4254 ignored error messages.
4255
4256 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
4257 a different number of arguments than other DEFVARs, recognize it
4258 specially, and expect the right number of commas.
4259
42601992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4261
4262 * make-path.c: New program, to help with the installation process.
4263 * Makefile.in (make-path): New target.
4264
4265 * make-path.c (touchy_mkdir): Remove debugging output.
4266
42671992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4268
4269 * Makefile.in (getdate.o): Added explicit target for this, so we
4270 can indicate that it depends on ../src/config.h.
4271
42721992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4273
4274 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
4275 instead of CFLAGS.
4276 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
4277
42781992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4279
4280 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
4281 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
4282 that system.
4283
4284 * Makefile.in (arch-lib): Give rm the `-f' option.
4285
42861992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4287
4288 * make-docfile.c (write_c_args): Rewritten to correctly print
4289 &optionals before the first identifier, but after the first paren.
4290 This code used to just wait for commas or spaces; now it notices
4291 identifier boundaries.
4292
42931992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4294
4295 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
4296
42971992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4298
4299 * make-docfile.c (write_c_args): Print the argument lists properly
4300 when the first argument is optional.
4301
43021992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4303
4304 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
4305 Redefine @item. Set catcode of +.
4306
43071992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4308
4309 * emacsclient.c (main): Set IPC_CREAT in msgget call.
4310
43111992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4312
4313 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
4314 (TEX_decode_env): Make `tab' one element longer.
4315
43161992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4317
4318 * etags.c (PF_funcs): Recognize the "entry" keyword.
4319
43201992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4321
4322 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
4323
43241992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4325
4326 * timer.c (events): Rather than having slots marked as in use or
4327 out of use by the `token' field, keep all pending events at the
4328 beginning of the array. When we delete an event in the middle of
4329 the array, we move the last event into its place.
4330 (num_events): New variable.
4331 (schedule): It is now cheaper to find a free event slot;
4332 events[num_events] is the first free slot.
4333 (notify): Scan events[0 .. num_events-1], instead of the whole
4334 array. When an event fires, move the last event in the array into
4335 its spot. Use num_events to determine whether or not there are
4336 any pending events, not wait_for.
4337 (getevent): Deleted unused variable `ep'.
4338 (sigcatch): It's now easier to find all the active events.
4339 (main): Initialize num_events.
4340
4341 * etags.c: Rather than fret about which systems have index and
4342 which systems have strchr, and how to tell the difference between
4343 them, we just write out our own versions. Big deal.
4344 (index, rindex): Extern declarations removed.
4345 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
4346 (etags_index, etags_rindex): New declarations.
4347 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
4348 TEX_getit, substr): Use the etags_*index functions, rather than
4349 the native *index functions.
4350 (rindex, index): Renamed to etags_rindex and tags_rindex, and
4351 made them unconditionally defined, rather than having them depend
4352 on NEED_*INDEX.
4353
4354 * etags.c (savenstr): Add declaration for this at top of file.
4355 (TEX_decode_env): Don't declare it local to this function.
4356
4357 * b2m.c: #include "../src/config.h", so we can test for the USG
4358 macro, and decide whether to include <string.h> or <strings.h>.
4359 * Makefile.in: Note that b2m.c depends on ../src/config.h.
4360
43611992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4362
4363 * timer.c: Reformatted according to the GNU coding standards.
4364 Removed arbitrary limits on the number of events queued and the
4365 length of the tokens used to identify them.
4366 Removed casts to (void).
4367 Removed debugging printfs; they clutter the code, and the need
4368 can be better filled using a real debugger.
4369
43701992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4371
4372 * timer.c: Installed new version from Eric Raymond; this is more
4373 portable, since it doesn't try to use SIGIO.
4374
43751992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4376
4377 * emacsclient.c (main): If we can't find the socket in this
4378 person's home directory, print a message which asks if they've
4379 started the server, instead of just printing the message from
4380 sys_errmsg; Cygnus finds that people are much less confused by
4381 this.
4382
43831992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4384
4385 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
4386 so that index and rindex get defined, why don't we actually
4387 control index and rindex using symbols called "NEED_INDEX" and
4388 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
4389 little more readable than defining something whose name implies
4390 that it's not?
4391
43921992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4393
4394 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
4395 distribution:
4396 Miscellaneous doc fixes.
1c478461 4397 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
4398 (scan_lisp_file): Instead of using long hairy strings of ifs, call
4399 read_lisp_symbol and then see what we got. Call skip_white
4400 instead of writing out a loop to do its job. Correctly extract
4401 docstrings from "defmacro" declarations.
4402
44031992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4404
4405 * movemail.c (strcpy): Declare this to return char *.
4406
44071992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4408
4409 * etags.c (C_entries): When we find a C++ comment, do actually
4410 skip to the end of the line; do a 'break' instead of a 'continue'.
4411
44121992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4413
4414 * etags.c (getit): Add missing parenthesis to expression which
4415 decides if this token is an identifier.
4416
44171992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
4418
4419 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
4420
44211992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4422
4423 * etags.c (put_entries): Always put space between name and line num.
4424
44251992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
4426
4427 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
4428 warning.
4429 (LEVEL_OK_FOR_FUNCDEF): Ditto.
4430
44311992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4432
4433 * make-docfile.c (write_c_args): Pass both arguments to putc.
4434
44351992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
4436
4437 * etags.c (C_entries): Fixed reading of "..." strings.
4438 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
4439 the C library source.
4440
4441 * etags.c (C_entries): When we see a backslash inside a quoted
4442 string, skip to the next character. This allows us to correctly
4443 deal with strings containing quotes.
4444
44451992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4446
4447 * make-docfile.c (write_c_args): Print the C argument names as
4448 they would be written in Elisp; print '_' as '-'.
4449
44501992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4451
4452 * movemail.c [POP]: Get user name via getpwuid.
4453
44541992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4455
4456 * Makefile.in: flags in CC invocations rearranged for no reason.
4457
44581992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4459
4460 * etags.c (print_help): Remember not to imbed raw newlines in
4461 strings - end the lines with `\n\'.
4462
44631992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4464
4465 * timer.c (getevent): Removed declaration of memcpy; since
4466 different systems have different return types, and we're not even
4467 using the return type anyway, it wasn't doing us any good.
4468
44691992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4470
4471 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
4472 type of this function.
4473
44741992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4475
4476 * ChangeLog: Since the old etc contents have been split into etc
4477 and lib-src, the old etc's ChangeLog has been duplicated in the
4478 new etc and lib-src. That means that each contains complete and
4479 coherent information, although each contains extraneous
1c478461 4480 information.
362bc2da
DL
4481
44821992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4483
4484 * lib-src/etags.c: "--no-warning" option renamed to "--no-warn",
4485 to be consistent with other GNU programs, like makeinfo.
4486
4487 * lib-src/Makefile: Renamed to Makefile.in; the configure script
4488 will edit this to produce Makefile.
4489
44901992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4491
4492 * etags.c (print_help, print_version): New functions.
4493 (main): Options added to support them.
4494
4495 * etags.c (longopts): New array of long names for the options.
4496 (main): Recognize them.
4497
44981992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4499
4500 * etags.c (C_entries): Removed comment saying that \" in a string
4501 isn't recognized as magic, because it is correctly handled.
4502
4503 * getopt.c, getopt.h: New files, from GNU C library.
4504 * etags.c: Rewritten to use getopt.
4505 #include "getopt.h".
4506 (file_num): Variable deleted; its role is now played by getopt's
4507 optind.
4508 (main): Argument processing loop rewritten to call getopt to get
4509 next option. Options which take parameters (-o and -i) rewritten
4510 to get parameter from optarg instead of argv[1]. Filename
4511 preprocessing loop and update command changed similarly.
4512 * Makefile (etags, ctags): Depend on and link with getopt.h,
4513 getopt.o, and getopt1.o.
4514 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
4515
4516 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
4517 is non-zero.
4518
4519 (main): In the argument processing loop, the 'goto next_arg'
4520 statements are breaking out of the switch statement in exactly the
4521 same way that a simple 'break' statement would; replace the gotos
4522 with breaks, and remove the label.
4523
45241992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4525
4526 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
4527 (consider_token): Move next_token_is_func to global.
4528
45291992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4530
4531 * Makefile: Conform with GNU coding standards:
4532 (mostlyclean): New target, synonymous with clean.
4533 (TAGS, check): New targets.
4534 (INSTALL, INSTALLFLAGS): New variables.
4535
45361992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4537
4538 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
4539 `config.emacs' to `configure'.
4540
4541 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
4542 * etc/MACHINES: Same.
4543
45441992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4545
4546 * movemail.c (main): Allow tempname to be as long as necessary,
4547 instead of limiting it to 39 characters.
4548
4549 * movemail.c (main): Move declaration of buf from top of function
4550 to local block surrounding the copy loop. This makes it less
4551 likely to be confused with the buf used by the code which checks the
4552 permissions on outname's directory.
4553
45541992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
4555
4556 * SERVICE: Remove my entry.
4557
45581992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
4559
4560 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
4561 hardcoded -g.
4562
4563 * movemail.c (xmalloc): Return char *, not int.
4564 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
4565 that is off by default -- normally don't unlink the mail spool
4566 file, just empty it. Pass creat mode 0600, not 0666.
4567
dff28924 45681992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
4569
4570 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
4571 (all): Instead of here.
4572 (install): Don't use the -s option, since people need symbols to
4573 debug code.
4574
dff28924 45751992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
362bc2da
DL
4576
4577 * etags-vmslib.c (fn_exp): Add type cast.
4578
45791992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4580
4581 * movemail.c: Changes in comments.
4582
dff28924 45831992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
4584
4585 * Makefile: Make the distclean target erase the DOC files from
4586 ../share-lib and the executables from ../arch-lib.
4587
dff28924 45881992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
4589
4590 * emacsclient.c: #include <sys/stat.h>
4591 (main): Do declare statbfr.
4592
dff28924 45931991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
4594
4595 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
4596 for the socket, depending on SERVER_HOME_DIR.
4597 If using /tmp, put host name in the socket name.
4598
4599 * movemail.c (pfatal_and_delete): New function.
4600 (main, popmail): Use it.
4601 (popmail): Close output before deleting messages.
4602 Check for error on close and on fsync.
4603 Use `fatal' where appropriate.
4604 (main): Remove (void).
4605
4606 * aixcc.lex: New file. Not officially part of Emacs.
4607 * Makefile: Rules for that.
4608
dff28924 46091991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
362bc2da
DL
4610
4611 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
4612
4613 * etags.c (main): Properly cast call to alloca that initializes
4614 included_files.
4615
46161991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
4617
4618 * etags.c (files_are_tag_tables): Remove global var.
4619 (process_file): Don't test it. Also remove hack checking for a
4620 file named "TAGS".
4621 (main): -i now takes an arg which is the name of a file to include.
4622 Collect these names and emit include tags for them after processing
4623 all the argument files.
4624
dff28924 46251991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
4626
4627 * wakeup.c: Terminate if parent goes away.
4628
dff28924 46291991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
4630
4631 * etags.c (C_entries): Process token before handling end of line.
4632 When inner loops reach end of line, just back up.
4633 Let the real end of line processing happen in just one place.
4634 (consider_token): Likewise.
4635
dff28924 46361991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
362bc2da
DL
4637
4638 * etags.c (TEX_mode): Skip comments while scanning the text to see
4639 which escape character this file uses.
4640
dff28924 46411991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
4642
4643 * emacsserver.c [USG]: Terminate if msgrcv fails.
4644
dff28924 46451991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4646
4647 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
4648
dff28924 46491991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
4650
4651 * make-docfile: Find the arguments to a C function correctly,
4652 by not ignoring the character that read_c_string returns. Don't
4653 even try to find argument names for functions that take MANY
4654 or UNEVALLED arguments, since they're a figment of the docstring's
4655 imagination.
4656
dff28924 46571991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
4658
4659 * make-docfile: Read the .elc files generated by the new byte
4660 compiler.
4661
dff28924 46621990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4663
4664 * refcard.tex: Use cm fonts, not am, in multi-column mode.
4665
dff28924 46661990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4667
4668 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
4669
dff28924 46701990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4671
4672 * Makefile (install*): No need to install wakeup.
4673
dff28924 46741990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4675
4676 * Makefile (install*): Install emacsclient like etags.
4677
dff28924 46781990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4679
4680 * movemail.c (error): Handle 3 args.
4681 (main): Don't check input access if using pop.
4682
dff28924 46831990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4684
4685 * etags.c (find_entries): Check for numbers after Scheme suffix.
4686
dff28924 46871990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4688
4689 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
4690
dff28924 46911990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4692
4693 * Makefile (nemacstool, xvetool): New targets.
4694
dff28924 46951990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4696
4697 * emacsclient.c: Include errno.h and define related variables.
4698
dff28924 46991990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4700
4701 * emacsclient.c: Change usage message.
4702
dff28924 47031990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
4704
4705 * emacs.1: Add break before -nw option.
4706
dff28924 47071990-08-19 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
4708
4709 * qsort.c: Replace with GNU version.
4710
dff28924 47111990-08-14 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
4712
4713 * wakeup.c: New program replacing loadst.c.
4714
dff28924 47151990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4716
4717 * emacsclient.c [USG]: Pass msgsnd only 4 args.
4718
dff28924 47191990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
362bc2da
DL
4720
4721 * etags.c: Rename `flag' variables for what they do instead of
4722 which option character sets them.
4723
dff28924 47241990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4725
4726 * loadst.c (main): Conditional to get load average on Apollo.
4727
dff28924 47281990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da
DL
4729
4730 * emacsserver.c: Set the permission on the socket to 0600.
4731
dff28924 47321990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4733
4734 * emacsclient.c [BSD]: Print clean message for failing getwd.
4735
dff28924 47361990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
4737
4738 * getdate.y: Use the getdate.y from GNU tar for timer.
4739
dff28924 47401990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
362bc2da
DL
4741
4742 * emacsclient.c (main): Don't put brackets around "filename" in
4743 usage message. It isn't optional.
4744
dff28924 47451990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da
DL
4746
4747 * etags.c (getit): Recognize '$' as beginning identifiers.
4748
dff28924 47491990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
4750
4751 * emacsserver.c: Renamed from server.c.
4752 * Makefile: Reference emacsserver rather than server.
4753 * MACHINES: Doc fix for new emacsserver name.
4754
dff28924 47551990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4756
4757 * emacsclient.c: Print program name in error messages.
4758
dff28924 47591990-01-19 David Lawrence (tale@cocoa-puffs)
362bc2da
DL
4760
4761 * timer.c, getdate.y (new files) and Makefile:
4762 Sub-process support for run-at-time in timer.el.
1c478461 4763 Doesn't yet work correctly for USG.
362bc2da 4764
dff28924 47651990-01-10 Jim Kingdon (kingdon@pogo)
362bc2da
DL
4766
4767 * MACHINES: Add HP 300 running BSD.
4768
dff28924 47691990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4770
4771 * yow.c: Dynamically allocate buffer; skip header before random
4772 choice to avoid bias toward first item.
4773
dff28924 47741989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4775
4776 * etags.c (readline): Separate out init of `pend'.
4777
dff28924 47781989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4779
4780 * etags.c: Undo changes relating to isgoodhdr.
4781
dff28924 47821989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4783
4784 * etags.c (isgoodhdr): New macro.
4785 (_gdh, notgdh): New variable used by that.
4786 (init): Initialize _gdh.
4787 (find_entries): Set header_file.
4788 (consider_token): Use isgoodhdr if in header file.
4789
4790 * etags.c (total_size_of_entries):
4791 Was miscalculating by 1 in rewritten case.
4792
4793 * etags.c (PAS_funcs): One arg to pfnote was missing.
4794
dff28924 47951989-12-05 Joseph Arceneaux (jla@spiff)
362bc2da
DL
4796
4797 * MACHINES: Change for the ULTRIX entry.
4798
dff28924 47991989-11-21 Joseph Arceneaux (jla@spiff)
362bc2da
DL
4800
4801 * etags.c (process_file): If file is not regular, return.
4802
dff28924 48031989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4804
4805 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
4806
dff28924 48071989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4808
4809 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
4810 (main): If HAVE_GETLOADAVG, don't call `nlist'.
4811
dff28924 48121989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4813
4814 * etags.c (consider_token): Allow any number of typespec keywords
4815 after `typedef', before new type name.
4816 (enum sym_type): Add st_C_typespec.
4817 (C_create_stab): Put typespec kwds in table.
4818
dff28924 48191989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
4820
4821 * etags.c (main): Don't depend on name invoked by.
4822 If CTAGS is not defined, assume it is ETAGS.
4823
dff28924 48241989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4825
4826 * etags.c (L_funcs): Allow package name in define construct,
4827 as in (foo::defmumble name-defined ...).
4828
dff28924 48291989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4830
4831 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
4832
4833 * Makefile (yow): Depends on ../src/paths.h.
4834
dff28924 48351989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
4836
4837 * etags.c: Fix compilation by moving Pascal after Fortran.
4838
dff28924 48391989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4840
4841 * movemail.c [USG]: Define F_OK, etc., if not found in header.
4842
dff28924 48431989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4844
4845 * hexl.c: New file, supports hexl-mode.
4846
dff28924 48471989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4848
4849 * movemail.c: New compilation flag MAIL_USE_MMDF.
4850
dff28924 48511989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4852
4853 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
4854 * server.c: Likewise.
4855
4856 * make-docfile.c (scan_c_file): Output argument names at end of string.
4857 (write_c_args): New subroutine.
4858
dff28924 48591989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4860
4861 * movemail.c: Report failure of flock.
4862
dff28924 48631989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4864
4865 * etags.c (find_entries): Allow multi-letter extensions for fortran.
4866
dff28924 48671989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4868
4869 * loadst.c: on bsd4.3, use gettimeofday instead of CPUSTATES.
4870
dff28924 48711989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4872
4873 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
4874
4875 * emacsstool.1: update to document environment variables.
4876
dff28924 48771989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4878
4879 * etags.c (PAS_funcs): New function by Mosur Mohan.
4880
4881 * movemail.c: On sysv, include unistd.h.
4882
dff28924 48831989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4884
4885 * b2m.c: New file.
4886
dff28924 48871989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4888
4889 * etags.c: Prolog support from Sunichirou Sugou
4890
dff28924 48911989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4892
4893 * Makefile (clean): New target.
4894
dff28924 48951989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4896
4897 * fakemail.c (put_line): Break header lines at 79 cols.
4898
dff28924 48991989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4900
4901 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
4902 multiple tags per line.
4903
dff28924 49041989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4905
4906 * movemail.c: Check access before doing real work.
4907 Check that outfile is in a writable directory.
4908 On fatal error, delete the lock file.
4909
dff28924 49101988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
362bc2da
DL
4911
4912 * env.c: Add decl for my-index
4913 * etags.c (file-entries): .oak => scheme
4914
dff28924 49151988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4916
4917 * movemail.c: Use `access' to check input and output files.
4918
dff28924 49191988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4920
4921 * emacsclient.c (main): Ignore all of CWD before first slash.
4922
dff28924 49231988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4924
4925 * etags.c (readline): Double linebuffer->size outside the xrealloc.
4926
dff28924 49271988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4928
4929 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
4930 * server.c: chmod the socket to 0700.
4931
dff28924 49321988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4933
4934 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
4935 (add_field): Delete comments and turn `<', `>' to spaces
4936 in header lines.
4937 (USE_FAKEMAIL): New customization macro says to make fakemail
4938 not be a no-op even on a BSD system.
4939
dff28924 49401988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4941
4942 * etags.c (consider_token): Skip comments just like whitespace.
4943 Notice `struct', etc. and set strtag for those tokens.
4944 Return 1 for the token following `struct' if an open-brace follows it.
4945 (C_entries): Special handling of token following `struct'
4946 needed because we have probably advanced to the following line
4947 to find the `{'.
4948 (main): New option `T' sets tflag and strflag.
4949 Set both of them by default if eflags.
4950
dff28924 49511988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4952
4953 * movemail.c: Do fsync before closing output.
4954
dff28924 49551988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
362bc2da
DL
4956
4957 * movemail.c: Better error message when can't create tempname.
4958 This file needs a great deal of extra error-checking and lucid reporting...
4959
dff28924 49601988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4961
4962 * etags.c: Support assembler code for .s and .a files.
4963 (getit): Allow underscore in a tag.
4964
dff28924 49651988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4966
4967 * movemail.c: Close output and check errors before deleting input.
4968
dff28924 49691988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
4970
4971 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
4972 whether to prefix it. Handle line number args.
4973
dff28924 49741988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
362bc2da
DL
4975
4976 * etags.c (main): default setting of eflag was backwards.
4977
dff28924 49781988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4979
4980 * etags.c: New option -i. -f renamed -o.
4981 `-' as input file means read input file names from stdin.
4982 -i spec'd or input file named TAGS means the input file is another
4983 tag table; output an "include" line for it.
4984
dff28924 49851988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4986
4987 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
4988 New targets install, install.sysv, install.xenix.
4989 This makefile is now responsible for installing executables
4990 and documentation from this directory into system directories.
4991
dff28924 49921988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
362bc2da
DL
4993
4994 * server.c, emacsclient.c (main): Compute socket name from euid.
4995
dff28924 49961988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4997
4998 * emacsclient.c: Args like +DIGITS are passed through unchanged.
4999
dff28924 50001988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5001
5002 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
5003 * emacsclient.c: Likewise.
5004 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
5005
dff28924 50061988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5007
5008 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
5009 (istoken) New string-comparison macro.
5010 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
5011
dff28924 50121988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5013
5014 * etags.c: Changes for VMS.
5015 Always define ETAGS on VMS.
5016 Define macros GOOD and BAD for success and failure exit codes.
5017 (begtk, intk): Allow `$' in identifiers
5018 (main): Don't support -B, -F or -u on VMS.
5019 Alternate loop for scanning filename arguments.
5020 (system): Delete definition of this function.
5021
5022 * etags-vmslib.c (system): Undefine this; VMS now provides it.
5023
dff28924 50241988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5025
5026 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
5027 around include of param.h. (Like fns.c.)
5028
dff28924 50291988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
5030
5031 * loadst.c (load_average): Move load-average code to this new fn.
5032 Add conditionals to compute load ave on UMAX.
5033
dff28924 50341988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
5035
5036 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
5037 with opposite sense.
5038
dff28924 50391988-05-13 Chris Hanson (cph@kleph)
362bc2da
DL
5040
5041 * emacsclient.c: Delete references to unused variable `out'. This
5042 caused a bus error when used under hp-ux.
5043
dff28924 50441988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
5045
5046 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
5047
dff28924 50481988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
362bc2da
DL
5049
5050 * etags.c (find_entries): `.t' or `.sch' means scheme code.
5051
dff28924 50521988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
5053
5054 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
5055
dff28924 50561988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
5057
5058 * movemail.c: #undef close, since config can #define it on V.3.
5059 * emacsclient.c, fakemail.c, loadst.c, server.c: likewise.
5060
dff28924 50611988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
5062
5063 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
5064 invalid escape sequences such as `\{'.
5065
5066 * loadst.c: Add `sequent' conditional for file dk.h.
5067
dff28924 50681988-03-20 Richard M. Stallman (rms@wilson)
362bc2da
DL
5069
5070 * server.c [not BSD and not HAVE_SYSVIPC]: fix error message.
5071
5072 * loadst.c (main) [XENIX]: use /usr/spool/mail, not /usr/mail.
6922b018
KH
5073
5074;; Local Variables:
d19249e7 5075;; coding: iso-2022-7bit
6922b018 5076;; End:
2a34a036 5077
0caa685d 5078 Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002
2a34a036
GM
5079 Free Software Foundation, Inc.
5080 Copying and distribution of this file, with or without modification,
5081 are permitted provided the copyright notice and this notice are preserved.