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