Typos corrected for etags
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
e4100b7f
FP
12000-01-31 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2
3 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
4 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
5 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
6 (getenv, getcwd): Only declare them if necessary.
7 (EMACS_NAME): New constant macro.
8 (print_version): Use it.
9 (P_) [__STDC__]: Macro for defining function prototypes.
e4100b7f 10
19e262bd 112000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
12
13 * etags.c [WINDOWSNT]: #include <direct.h>
14
19e262bd 152000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 16
19e262bd
FP
17 * etags.c (all functions): Made them static.
18 (all functions): Write prototypes.
e4100b7f 19
55e30d2a
RS
202000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
21
22 * movemail.c (main): Improve error message if can't create lock file.
23
875c1439
GM
242000-01-28 Eric Hanchrow <offby1@blarg.net>
25
26 * emacsclient.c (socket_status): New function.
27 (main): if $LOGNAME or $USER exist and differ from our euid, look
28 for a socket based on the UID associated with the name.
29
e4936aa9
GM
302000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
31
32 * emacsclient.c: Add option -a EDITOR and environment variable
33 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
34
791a9087
GM
351999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us>
36
37 * movemail.c (popmail): Allow mailbox specifications of the
38 form `po:username:hostname'.
39
e2081362
FP
401999-11-19 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
41
42 * etags.c (_GNU_SOURCE): Define only if undefined.
43 (get_scheme): Declaration deleted.
44 (main): error was called with an integer as second arg, instead of
45 a char pointer.
46 (canonicalize_filename): Bug removed.
47
481999-11-18 Dave Love <d.love@dl.ac.uk>
49
50 * etags.c (C_entries): Rename label `intoken', avoiding K&R
51 lossage from name clash with macro.
52
b05d3bee
GM
531999-11-13 Gerd Moellmann <gerd@gnu.org>
54
55 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
56
cb3a6c48
GM
571999-11-03 Gerd Moellmann <gerd@gnu.org>
58
59 * etags.c (print_help): Change email address to send bugs to.
60
1c478461
FP
611999-11-01 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
62
63 * etags.c: Add suffix psw for PSWrap.
64 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
65 (Postscript_functions): Add code for PSWrap.
66 (Scheme_functions): Use local pointer and new get_tag function.
67 (get_tag): New name for old get_scheme.
68 (process_file): Do not free NULL when file does not exist.
69 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
70 (C_entries): Modifications that make --members tag even inside
71 typedefs and C nested structs (one level only).
72 (consider_token): Corrected a bug which prevented tagging of enum
73 constants.
74 (C_stab_entry): Added if, for, while, switch, return as
75 st_C_ignore. This makes it simpler to work when cblev!=0.
76
77 * etags.c (C_entries): tag member function declarations when
78 --declarations is used.
79
80 * etags.c (C_entries, consider_token): C++ `operator' now is
81 tagged in most cases.
82 As before, :: is not recognised if surrounded by spaces.
83
84 * etags.c (relative_filename): Account for DOS file names such
85 that is impossible to make one relative to another.
86
87 * etags.c (sym_type): New st_C_extern tag.
88 (gperf input): Use it for spotting external declarations.
89 (print_help): Document the new behaviour of --declarations.
90 (fvextern): New global variable.
91 (consider_token, C_entries): Use it.
92
93 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
94 (etags_getcwd): Remove test for WINDOWSNT.
95
96 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
97 foo.cgz, foo.cz, etc.
98
99 * etags.c (declarations): New global switch.
100 (longopts): Describe it.
101 (print_help): Document it.
102 (C_entries): Use it.
103 (process_file): Don't process a file twice.
104
105 * etags.c (Fortran_functions): No tags for "procedure".
106
1071999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
108
109 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
110 non-zero, returns a pointer to where the extension begins; callers
111 changed.
112 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
113 were foo.c.gz.
114
1151999-11-01 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
116
117 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
118 (fvdev): New constant foperator.
119 (consider_token): Use it to get "operator" in C++.
120 (C_entries): Extend length of operator@ function name.
121 (C_entries): Use foperator when necessary.
122
123 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
124
125 * etags.c (compressor): New struct for compressed files.
126 (get_compressor_from_suffix): New function.
127 (get_language_from_suffix): Use it. Also, semantics changed.
128 (process_file): Consider compressed files, close file.
129 (find_entries): Use different call arg for get_language_from_suffix,
130 don't close file.
131
132 * etags.c (main): Call free_tree.
133 (find_entries): Do not free curfile.
134 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
135 (prolog_pred, erlang_func, substitute): Cast strlen to int when
136 comparing.
137 (canonicalize_filename): Shut up compiler warning.
138 (Perl_functions): Make tag significant.
139
1401999-11-01 Dave Love <d.love@dl.ac.uk>
141
142 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
143 (argument_type): New member at_icregexp.
144 (lc_trans): New global.
145 (main): Fill lc_trans. Process -c args.
146 (add_regex): New arg determining whether to use translation table.
147 (analyse_regex): New arg. Use it for add_regex.
148
1491999-11-01 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
150
151 * etags.c (init): Cosmetic change: NULL --> '\0'.
152 (erlang_attribute): Bug corrected (uninitialized variable).
153 (filename_is_absolute): New function replaces absolutefn macro and
154 corrects a bug. All callers changed.
155 (canonicalize_filename): New function.
156 (process_file, etags_getcwd, absolute_dirname): Use it.
157 (relative_filename, absolute_filename): Removed var shadowing.
158 (C_entries, Pascal_functions): Add fake initializations to keep
159 compilers quiet.
160 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
161
162 * etags.c (xrnew): New macro. All callers of xrealloc changed.
163 (language): New typedef (was struct lang_entry).
164 (curlang): New global variable.
165 (node): typedef renamed from NODE.
166 (linebuffer): New typedef (was struct linebuffer).
167 (pattern): New typedef (was struct pattern). Some members added.
168 Now used as element of a linked list.
169 (patterns, num_patterns): Global variables deleted.
170 (p_head): New global variable.
171 (forced_lang): New global variable (replaces lang_func).
172 (get_language_from_name, get_language_from_interpreter,
173 get_language_from_suffix): Semantics changed. All callers changed.
174 (last_node): New global variable.
175 (free_tree, add_node, put_entries, total_size_of_entries): Change
176 name of local vars to avoid clashes with typedef node.
177 (number_len): Rewritten for elegance.
178 (token): New typedef replaces TOKEN.
179 (analyse_regex, add_regex): Rewritten for new functionality.
180 (free_patterns): New function called from main and add_regex.
181 (initbuffer, readline_internal, readline, grow_linebuffer):
182 Change name of local vars to avoid clashes with typedef
183 linebuffer.
184 (readline): Rewritten for new functionality.
185
186 * etags.c: (Scheme_suffixes): New suffix ".ss".
187 (print_help): --globals is now used for more than C-type languages.
188 (Perl_functions): Tag global variables ("my" and "local").
189
190 * etags.c (print_help): Some messages clarified.
191 (LOOP_ON_INPUT_LINES): New macro.
192 (just_read_file, Fortran_functions, Asm_labels, Perl_functions,
193 Python_functions, Cobol_paragraphs, Pascal_functions,
194 Lisp_functions, Postscript_functions, Scheme_functions,
195 TeX_functions, Prolog_functions, Erlang_functions): Use it.
196 (Cobol_paragraphs, Postscript_functions, TeX_functions,
197 Prolog_functions, Erlang_functions): Use a local variable instead
198 of the global variable dbp.
199 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
200 standard indentation.
201
202 * etags.c (Python_suffixes, lang_names, Python_functions): Python
203 support.
204 (skip_spaces, skip_non_spaces): Utility functions.
205 (find_entries, takeprec, getit, Fortran_functions, Perl_functions,
206 Python_functions, L_getit, Lisp_functions, Scheme_functions,
207 prolog_pred, erlanf_func, erlang_attribute): Use them.
208 (eat_white): Deleted.
209
210 * etags.c (CHAR, init): Keep into account non US-ASCII
211 characters and compilers with default signed chars.
212 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
213 constructs.
214
215 * (C_stab_entry): "interface" in Java behaves like "class".
216
217 * etags.c: (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
218 (main): Put interval syntax here.
219 (add_regex): And remove it from here.
220
221 * etags.c (suggest_asking_for_help): Provide a
222 meaningful help message with and without LONG_OPTIONS.
223
224 * etags.c: <io.h> [MSDOS]: Include it, don't include string.h.
225 <stdlib.h, string.h>: Don't test MSDOS when including them.
226 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
227 (put_entries): Correctly use %ld instead of %d in printf.
228
229 * etags.c: <unistd.h> [HAVE_UNISTD_H]: Include conditionally, else
230 declare getcwd if HAVE_GETCWD.
231 (consider_token): Dead break instruction removed.
232
4ee9629e
PE
2331999-10-19 Paul Eggert <eggert@twinsun.com>
234
235 Add support for large files. Merge glibc 2.1.2.
1c478461 236
4ee9629e
PE
237 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
238 movemail.c, pop.c:
239 Do not include <stdlib.h>, as <config.h> does this now.
240
241 * b2m.c, emacsserver.c, etags.c, profile.c:
242 Include <config.h> before any system include files.
1c478461 243
4ee9629e
PE
244 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
245 test-distrib.c:
246 (read, write, open, close): Do not undef.
247
248 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
249 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
250
251 * getopt.h: Adopt glibc 2.1.2.
1c478461 252
93c8d183
DL
2531999-10-15 Dave Love <fx@gnu.org>
254
255 * Makefile.in (pop.o): Depend on config.h.
256
b358f91c
GM
2571999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
258
259 * pop.c: Use "pop3" as the POP service name on all platforms,
260 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
261 has been the standard service name since RFC 1340 was published in
262 July 1992, so I think it's safe to start using it by default.
263
362bc2da
DL
2641999-09-27 Dave Love <fx@gnu.org>
265
266 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
267
74e4cb59
PR
2681999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
269
270 * make-docfile.c (scan_lisp_file): Fix previous changes;
271 swallow CRLF like just CR or just LF.
272
362bc2da
DL
2731999-09-03 Richard Stallman <rms@gnu.org>
274
275 * make-docfile.c: Include config.h not ../src/config.h.
276 (main, fopen, chdir): Add #undef.
277 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
278 (scan_lisp_file): Handle \r like \n.
279
2801999-08-30 Andreas Schwab <schwab@gnu.org>
281
282 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
283
284 * emacsserver.c: Include <stdlib.h> if available. Don't declare
285 errno if it's a macro.
286
287 * test-distrib.c: Include <unistd.h> if available.
288
2891999-08-29 Richard Stallman <rms@gnu.org>
290
291 * emacsclient.c (print_help_and_exit): Mention --version.
292
2931999-08-25 Richard M. Stallman <rms@gnu.org>
294
295 * emacsclient.c (decode_options): Update version output.
296 (print_help_and_exit): Update bug report address.
297
2981999-08-13 Richard M. Stallman <rms@gnu.org>
299
300 * emacsclient.c (main): Move the dynamic allocation of
301 system_name outside of the SERVER_HOME_DIR conditional.
302 * emacsserver.c (main): Likewise.
303
3041999-08-10 Gerd Moellmann <gerd@gnu.org>
305
306 * grep-changelog: New.
307 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
308
3091999-07-12 Richard Stallman <rms@gnu.org>
310
311 * Version 20.4 released.
312
3131999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
314
1c478461 315 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
316
3171999-06-23 Dave Love <fx@gnu.org>
318
319 * etags.c (erlang_attribute): Fix undefined variable usage (after
320 Potorti).
321
3221999-05-2 Andrew Innes <andrewi@gnu.org>
323
324 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
325 mapped to _chsize.
326
3271999-04-29 Richard M. Stallman <rms@gnu.org>
328
329 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
330
3311999-03-30 Dave Love <fx@gnu.org>
332
333 * sorted-doc.c (main): Split up tables. Modify the preamble
334 somewhat.
335
3361999-03-05 Geoff Voelker <voelker@cs.washington.edu>
337
338 * makefile.nt: Remove common multiple file compilation commands.
339
3401999-02-26 Richard Stallman <rms@gnu.org>
341
342 * Version 20.4 released.
343
344 * Makefile.in (yow): Depend on epaths.h, not paths.h.
345
346 * yow.c: Refer to epaths.h.
347
3481999-02-22 Simon Josefsson <jas@pdc.kth.se>
349
350 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
351
3521999-01-27 Andrew Innes <andrewi@gnu.org>
353
354 * makefile.nt: Do make version comparison as strings.
355
3561999-01-25 Richard Stallman <rms@gnu.org>
357
358 * emacsclient.c (xmalloc): Fix previous change.
359
3601999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
361
362 * emacsclient.c (xmalloc): Declare to return long.
363
3641999-01-22 Geoff Voelker <voelker@cs.washington.edu>
365
366 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
367 the case of the drive letter.
368
3691999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
370
371 * emacsserver.c (main): Eliminate arbitrary limit on
372 length of system_name.
373
374 * emacsclient.c (main): Eliminate arbitrary limit on
375 length of system_name.
376 (xmalloc): Define unconditionally.
377
3781999-01-12 Darrin B. Jewell <jewell@mit.edu>
379
380 * etags.c (relative_filename): Stop backward search at beginning
381 of string, since non-Unix systems can have absolute paths with no
382 initial slash.
383
3841998-12-08 Geoff Voelker <voelker@cs.washington.edu>
385
386 * makefile.nt: Do string comparision of _NMAKE_VER.
387
3881998-11-03 Theodore Jump <tjump@cais.com>
389
390 * makefile.nt: Compile multiple source files when possible.
391
3921998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
393
394 * Makefile.in: Replace tabs with spaces
395 when they might confuse some Make versions.
396
3971998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
398
399 * emacsclient.c (main): Null-terminate system_name.
400
401 * emacsserver.c (main): Null-terminate system_name.
402
4031998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
404
405 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
406 an error message from POP, mention that it's from POP, to
407 distinguish it from local error messages.
408
4091998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
410
411 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
412 order of messages downloaded from a POP server (e.g., if the
413 server stores messages in mailboxes in reverse order).
414
4151998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
416
417 * Version 20.3 released.
418
4191998-08-11 Paul Eggert <eggert@twinsun.com>
420
421 * rcs2log: Update copyright date and bug report address.
422 (initialize_fullname): Prefer getent if available.
423
4241998-07-30 Paul Eggert <eggert@twinsun.com>
425
426 * lib-src/Makefile.in (REGEXPDEPS, regex.o):
427 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 428
362bc2da
DL
4291998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
430
431 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
432
4331998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
434
435 * Makefile.in: Properly terminate a comment.
436
4371998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
438
439 * movemail.c (sys_wait): Rename to wait.
440
441 * ntlib.h: Undefine _WINSOCKAPI_.
442
443 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
444
4451998-05-30 Geoff Voelker <voelker@cs.washington.edu>
446
447 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
448
4491998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
450
451 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
452 all file i/o to be in binary mode. Include ntlib.h.
453
4541998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
455
456 * make-docfile.c: Include <unistd.h> for chdir.
457
4581998-04-25 Richard Stallman <rms@psilocin.gnu.org>
459
460 * etags.c (TEX_decode_env): Don't free the value getenv returns.
461
4621998-04-17 Geoff Voelker <voelker@cs.washington.edu>
463
464 * makefile.nt (obj): Update with new files in src.
465 (clean): Delete patch scratch files, optimized compilation dir.
466
4671998-04-08 Dave Love <fx@gnu.org>
468
469 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
470 Irix6, at least.
471
4721998-04-06 Andreas Schwab <schwab@gnu.org>
473
474 Silence -Wimplicit:
475 * movemail.c: Move cancelations up. Include <stdlib.h> if
476 available.
477 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
478 (parse_header): Explicitly declare return type.
479 * emacsserver.c: Include <unistd.h> if available.
480 (main, handle_signals, perror_1, fatal_error): Explicitly declare
481 return types. Add forward declarations.
482 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
483 Don't declare geteuid.
484 (print_help_and_exit): Change return type to void. Forward
485 declare it.
486 * b2m.c: Include <stdlib.h> if available.
487 (main): Explicitly declare return type.
488
4891998-04-03 Richard Stallman <rms@delysid.gnu.org>
490
491 * etags.c (put_entries): Use %ld.
492
493 * b2m.c (fatal): Declare the arg.
494
4951998-04-03 Richard Stallman <rms@psilocin.gnu.org>
496
497 * etags.c (put_entries): Use %ld.
498
499 * b2m.c (fatal): Declare the arg.
500
5011998-03-26 Richard Stallman <rms@psilocin.gnu.org>
502
503 * pop.c (pop_getline): Renamed from getline.
504
5051998-03-05 Richard Stallman <rms@psilocin.gnu.org>
506
507 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
508 for the utilities.
509
5101998-01-23 Dave Love <d.love@dl.ac.uk>
511
512 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
513 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
514 Always make named tags.
515 (Fortran_functions): Grok BLOCK DATA.
516
5171998-01-23 Andreas Schwab <schwab@gnu.org>
518
519 * movemail.c (main): Fix interwoven brace and cpp conditional
520 nesting.
521
5221997-12-04 Karl Heuer <kwzh@delysid.gnu.org>
523
524 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
525 server to contain embedded nulls.
526
5271997-12-03 Paul Eggert <eggert@delysid.gnu.org>
528
529 * movemail.c:
530 (mbx_write) [MAIL_USE_POP]: Disable the code which quotes with a
531 '>' any lines starting with "From " read from the POP server, but
532 leave the code in place, wrapped in #ifdef
533 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
534 because it turns out that something is depending on it. Change
535 suggested by Paul Eggert <eggert@twinsun.com>.
536 Convert the character \037 (^_) at the beginning of a line into
537 the character '^' followed by the character '_', because otherwise
538 Emacs can't parse the resulting file as a valid BABYL file.
539 Change suggested by Paul Eggert <eggert@twinsun.com>.
540
5411997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
542
543 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
544 server to contain embedded nulls.
545
5461997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 547
362bc2da
DL
548 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
549 quotes with a '>' any lines starting with "From " read from the
550 POP server, but leave the code in place, wrapped in #ifdef
551 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
552 because it turns out that something is depending on it. Change
553 suggested by Paul Eggert <eggert@twinsun.com>.
554
555 Convert the character \037 (^_) at the beginning of a line into
556 the character '^' followed by the character '_', because otherwise
557 Emacs can't parse the resulting file as a valid BABYL file.
558 Change suggested by Paul Eggert <eggert@twinsun.com>.
559
5601997-11-22 Richard Stallman <rms@gnu.org>
561
562 * b2m.c: Include getopt.h.
563 (main): Use getopt_long to handle --version and --help.
564
565 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
566
5671997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
568
569 * pop.c (fullwrite): Get rid of an extra call to write. Problem
570 pointed out by Chiaki Ishikawa.
571
5721997-10-16 Dave Love <d.love@dl.ac.uk>
573
574 * etags.c (L_getit): Always make named tags so that Emacs
575 completion on symbols containing `:' etc. works.
576 (get_scheme): Likewise.
577
5781997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
579
580 * pop.c: Use system header files instead of declaring C-library
581 functions explicitly.
582
5831997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
584
585 * Version 20.2 released.
586
5871997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
588
589 * Version 20.1 released.
590
5911997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
592
593 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
594
595 * ntlib.c (getpid): Delete function.
596
5971997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
598
599 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
600
6011997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
602
603 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
604 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
605
6061997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
607
608 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
609
6101997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
611
612 * profile.c (get_time): Cast arg to fprintf.
613
614 * hexl.c (main): Use %08lx instead of %08x in printf because the
615 variable named addresses is long.
616
6171997-08-08 Geoff Voelker <voelker@cs.washington.edu>
618
619 * makefile.nt (lisp): Update paths to lisp files that have moved.
620
6211997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
622
623 * makefile.nt (ctags.obj): New target.
624 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
625
626 * ntlib.h: Add includes.
627 Undo definitions of crt routines from config.h.
628
6291997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
630
631 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
632
6331997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
634
635 * pop.c: Support auto-configuration of both Kerberos V4 and
636 Kerberos V5 for movemail, including detection of V4 and V5 header
637 files and libraries.
638 Include <string.h> when STDC_HEADERS is defined, to get
639 declarations of string functions.
640 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
641 V5 API rather than the old one.
642 [KERBEROS] (socket_connection): Change a constant name from
643 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
644 with a constant in a header file.
645
646 * Makefile.in: Support auto-configuration of both Kerberos V4 and
647 Kerberos V5 for movemail, including detection of V4 and V5 header
648 files and libraries.
649
6501997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
651
652 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
653
654 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1c478461 655
362bc2da
DL
6561997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
657
658 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
659
6601997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
661
662 * movemail.c (rindex): Add declaration.
663
664Tue Jul 1 01:09:07 1997 Geoff Voelker <voelker@cs.washington.edu>
665
666 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
667 (movemail.exe): Depend upon and link with getopt files.
668 (obj): Include new source files.
669 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
670 (lisp): Include new and reorganized elisp files.
671
6721997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
673
674 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
675
6761997-06-25 Paul Eggert <eggert@twinsun.com>
677
678 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
679
6801997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
681
682 * b2m.c (readline): Terminate buffer properly when EOF seen.
683 Test for valid pointer before dereferencing it.
684
6851997-05-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
686
687 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
688 defined inside etags.c if HAVE_CONFIG_H is defined.
689
6901997-05-29 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
691
692 * etags.c: (logical): Type name changed to bool.
693 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
694 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
695 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
696 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
697 (longopts): New long options without short counterpart are
698 globals, members, no-globals, no-members. Regexp options are now
699 defined conditionally to ETAGS_REGEXPS.
700 (print_help): Updated.
701
7021997-05-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
703
704 * etags.c (C_entries): Use "." instead of "::" for Java.
705 (consider_token): is_func renamed to is_func_or_var.
706 (C_entries): is_func renamed to funorvar.
707 (C_entries): Initialise tok.named.
708 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
709 get rid of "import", "package" and "friend".
710 (fvdef): Renamed from funcdef. Also some constants renamed. All
1c478461 711 users changed.
362bc2da
DL
712 (C_entries): Make separate tags for variables separated by comma.
713 (globals, members): New flags.
714 (main, C_entries): Use them.
715 (make_C_tag, C_entries): Make tok a global variable.
1c478461 716
362bc2da
DL
7171997-05-16 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
718
719 * etags.c (funcdef): New vignore constant.
720 (consider_token, C_entries): Use it to tag global variables.
721 (print_help): Update for global variables.
722 (consider_token, C_entries): Set the len member of token_name.
723 (prolog_pred): Cleanup according to GNU coding standards.
724 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
725 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
726
7271997-05-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
728
729 * etags.c (CHARS, CHAR): New constant and macro.
730 (iswhite, begtoken, intoken, endtoken): Use them.
731 (notinname, _nin, nonam): New macro, array, string.
732 (init): Cleanup and init _nin.
733 (new_pfnote): New function.
734 (make_C_tag) [traditional_tag_style]: Use it.
735 (traditional_tag_style): Costant set to TRUE for now.
736
7371997-05-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
738
739 * etags.c (C_entries, Pascal_functions): Cleanup.
740 (TeX_functions): NULL as a function arg needs a cast.
741 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
742
7431997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
744
745 * etags.c (TeX_functions): Cleaned up.
746 (tex_getit): Removed.
747
7481997-05-13 Paul Eggert <eggert@twinsun.com>
749
750 * rcs2log (files): When computing arguments automatically, ignore
751 non-files within the RCS subdirectory.
752
7531997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
754
755 * etags.c (C_JAVA): New #define.
756 (Cjava_suffixes): .java is Java.
757 (Cjava_entries): New function.
758 (lang_names): Add Java.
759 (sym_type): Add st_C_javastruct for Java.
760 (C_stab_entry): Add `extends' and `implements' keywords.
761 (consider_token, C_entries): Recognise Java structures.
762
7631997-05-12 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
764
765 * etags.c: (Cplusplus_suffixes): .pdb is Postscript with C syntax.
766 (Postscript_suffixes): .ps is Postscript.
767 (lang_names): Add Postscript.
768 (Postscript_functions): New function.
769 (TEX_decode_env): Close minor memory leak.
770 (just_read_file): Correct the char number of the tag.
771
7721997-05-11 Paul Eggert <eggert@twinsun.com>
773
774 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
775 Don't prepend $nl since this causes some shells to generate the
776 empty string when IFS is $nl.
777 (printlogline): Use SOH (octal code 1), not CR, since some
778 PC-based shells mishandle CR.
779 (initialize_fullname): Set NIS_PATH to the empty string before invoking
780 nismatch, in case it's set to some nonstandard value.
1c478461 781
362bc2da
DL
7821997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
783
784 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
785 read in separate blocks.
786
7871997-04-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
788
789 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
790 (struct linebuffer): New member `len' is the length of the string.
791 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
792 Use it instead of strlen.
793 (TEX_getit): Declare and define unconditionally as static.
794 (TeX_functions): Use if instead of #if TeX_named_tokens.
795 (add_regex): Set RE_INTERVALS flag for regex compilation.
796 (substitute): Code cleanup.
797 (readline_internal): Code cleanup, set new member `len'.
798 (readline): Bug corrected.
799
8001997-04-23 Geoff Voelker <voelker@cs.washington.edu>
801
802 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
803 (obj): Change references of nt*.c files to w32*.c files.
804
8051997-04-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
806
807 * etags.c (xnew): Add support for debugging with chkmalloc.
808 (error): Use this instead of printf whenever possible.
809 (main): Only call xnew after having initialised progname.
810 (substitute): Bad memory corruption error corrected.
811
8121997-04-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
813
814 * etags.c (add_regex): Undo previous change.
815 (relative_filename): Small memory leak closed.
816 (absolute_filename): Cleaned up the code, possibly closing a bug.
817 (absolute_dirname): Always return a newly allocated string.
1c478461 818
362bc2da
DL
8191997-03-21 Paul Eggert <eggert@twinsun.com>
820
821 * rcs2log (files): Ignore files in RCS directory whose names are
822 of the form ,*, or *_; they are probably RCS lock files.
823 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
824 they are used by rcsfreeze.
825
8261997-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
827
828 * etags.c (add_regex): reset *putbuf before using it.
829
8301997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
831
832 * movemail.c (popmail): Remove some unnecessary function
833 declarations.
834 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
835 into pop_retr, there's no reason to pass in mbx_write, and the
836 file argument can be declared FILE * explicitly. This fixes a
837 compilation problem on systems with 64-bit pointers.
838
8391997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
840
841 * movemail.c: Delete duplicate inclusion of fcntl.h
842 and duplicate #undefs of open, read, write, close.
843
8441997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
845
846 * movemail.c (main): Do not display "[POP-password]" in the usage
847 message when movemail is compiled without POP support.
848 (main, popmail): Add the optional "-p" argument, which causes
849 movemail to leave mail in the inbox after copying it into the
850 output file.
1c478461 851
362bc2da
DL
852 * Makefile.in (movemail): Link with getopt.
853
8541997-01-20 Paul Eggert <eggert@twinsun.com>
855
856 * rcs2log: (--help, --version): New options, per GNU coding standards.
857 (Copyright, Help, Id): New variables, for above.
858 (rlog): Use -q option with cvs log, to avoid useless chatter.
859
860 Treat logs of "Initial revision" (RCS) or "file F was initially added
861 on branch B." (CVS) as if they said "New file.", for consistency with
862 change log entries.
863
8641997-01-01 Paul Eggert <eggert@twinsun.com>
865
866 * vcdiff (PATH): Add /usr/xpg4/bin,
867 where XPG4 SCCS hangs out in Solaris 2.5.
868 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
869
8701996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
871
872 * etags.c (streq, strneq): Use == NULL rather than !.
873
8741996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
875
876 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
877 (movemail): Use LIBMAIL, to link against -lmail.
878
879 * movemail.c: Include maillock.h (conditionally).
880 Remove a redundant inclusion of <stdio.h>.
881 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
882 (main): Add variable spool_name.
883 Support the usage of maillock and mailunlock to
884 lock and unlock mailboxes.
885 (mail_spool_name): New function.
886
887 * movemail.c: Fix an uninitialized variable which could cause
888 movemail to exit with an error status incorrectly on systems which
889 use lock files rather than a system locking function to lock
890 mailboxes.
891
8921996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
893
894 * pop.c (socket_connection): Free realhost after using it.
895
8961996-12-04 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
897
898 * etags.c (C_entries): Test tok.valid. This handles some
899 particular cases involving function declarations that failed.
900
9011996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 902
362bc2da
DL
903 * pop.c (socket_connection):
904 gethostbyname may return a pointer to static data.
905 krb_realmofhost can clobber it. So copy it.
906
9071996-11-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
908
909 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
910 must cast it to (char *) because we have no prototypes.
911 (make_C_tag): Macro deleted, new function.
912 (C_entries): Calls to make_C_tag macro changed to call function.
913
9141996-11-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
915
916 * etags.c (grow_linebuffer): New function.
917 (GROW_LINEBUFFER): Macro deleted. All callers changed.
918 (make_tag): Macro renamed to make_C_tag. All callers changed.
919 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
920 (Prolog_functions): prolog_skip_comment was called with wrong
921 number of arguments.
922 (xrealloc): fatal was called with wrong number of arguments
923
9241996-11-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
925
926 * etags.c (relative_filename): Bug corrected.
927 (etags_getcwd): Avoid warning of unused variable.
928 (C_entries, consider_token): Added support for enum labels.
929
9301996-11-03 Paul Eggert <eggert@twinsun.com>
931
932 * rcs2log: When processing cvs log output, remove `Attic/' from
933 repository file names.
934
9351996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
936
937 * emacsserver.c: Fix 1996-09-02 change.
938
9391996-10-12 Paul Eggert <eggert@twinsun.com>
940
941 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
942 option', since CVS says 'invalid option'.
943 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
944 revisions, since some hosts reject 1970-01-01 when east of UTC.
945 (date): Remove.
946
9471996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
948
949 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
950
9511996-10-02 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
952
953 * etags.c (print_version): Print copyright info.
954
955 * etags.c (print_help): Print the bug reporting address.
956 (main): Use return as the last instruction, instead of exit.
957
958 * etags.c (main): Don't open the tags file in cxref mode.
959
9601996-09-29 Dave Love <d.love@dl.ac.uk>
961
962 * rcs2log (date): Make default format acceptable to CVS post v1.8
963 as well as earlier CVSs and RCS.
964
9651996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
966
967 * movemail.c (main): If the lock call fails with EBUSY or
968 EAGAIN, retry a few times.
969
9701996-09-25 Paul Eggert <eggert@twinsun.com>
971
972 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
973 whether to append -zLT.
974
9751996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
976
977 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
978 * emacsclient.c, movemail.c: Likewise.
979
9801996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
981
982 * emacsclient.c (longopts): Change nowait to no-wait.
983 (print_help_and_exit): Fix option name; upcase metavars.
984
9851996-09-06 Erik Naggum <erik@naggum.no>
986
987 * emacsserver.c (main): Declare `fromlen' as size_t.
988
9891996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
990
991 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
992
9931996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
994
995 * emacsclient.c (quote_file_name): Quote with &, not \.
996 Quote `-' only at start of file name. Terminate the value string.
997
998 * emacsserver.c: Include signal.h properly;
999 delete the duplicate includes for it.
1000
1001 * emacsserver.c: On fatal signal, delete socket-file:
1002 * emacsserver.c: Include signal.h.
1003 (xmalloc, fatal, error): New functions.
1004 (delete_socket, handle_signals): New functions.
1005 (progname, socket_name): New variables.
1006 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
1007
10081996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1009
1010 * emacsclient.c (quote_file_name): New function.
1011 (main, both versions): Use quote_file_name.
1012 (decode_options): Don't return a value.
1013 (main, both versions): Use optind.
1014 Don't check for -nowait here.
1c478461 1015
362bc2da
DL
1016 * emacsclient.c (decode_options): New function.
1017 (main, both versions): Call decode_options.
1018 (print_help_and_exit): New function.
1019 (VERSION): New macro.
1020
1021 * Makefile.in (emacsclient): Link with getopt.
1022 Add -DVERSION so emacsclient knows its version number.
1023
10241996-08-31 Geoff Voelker <voelker@cs.washington.edu>
1025
1026 * makefile.nt (lisp): Include dos-nt.elc.
1027
10281996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1029
1030 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
1031
10321996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1033
1034 * emacsclient.c (both versions): Handle -nowait and --nowait
1035 by sending data to the server.
1036
10371996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1038
1039 * Makefile.in (INSTALL_STRIP): New variable.
1040 (${archlibdir}): Use INSTALL_STRIP.
1041
1042 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
1043 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
1044
1045 * pop.c: Reverse conditional in previous change.
1046
10471996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1048
1049 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
1050
10511996-08-24 Paul Eggert <eggert@twinsun.com>
1052
1053 * rcs2log: Use ISO 8601 date format, with time zone appended
1054 if change-log-time-zone-rule is non-nil, instead of
1055 traditional Unix date format.
1056
1057 (datearg): When computing default from ChangeLog, handle ISO format
1058 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
1059 Don't worry about hh:mm:ss since the resolution is now by day.
1060 Use emtpy datearg, not empty rlog_options, to decide whether to pass
1061 "$datearg" option to $rlog.
1062 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
1063 (month_data): Remove `mo'; no longer needed.
1064 (rlog_options): Use -zLT for localltime output, if `rlog' supports it.
1065
1066 Match `revision' line of rlog output more accurately.
1067
1068 Add -c, -v options.
1069
10701996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
1071
1072 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
1073
10741996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1075
1076 * Version 19.33 released.
1077
10781996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1079
1080 * Version 19.32 released.
1081
10821996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
1083
1084 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
1085 computing character positions in source files.
1086
10871996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
1088
1089 * makefile.nt (clean): Use OBJDIR macro.
1090
10911996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
1092
1093 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
1094
10951996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
1096
1097 * cvtmail.c, sorted-doc.c, yow.c: [__GNU_LIBRARY__]: Use <string.h>.
1098 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
1099 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
1100
11011996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
1102
1103 * ntlib.h: Correct return type of getwd.
1104 * ntlib.c (getwd): Correct return type.
1105
11061996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1107
1108 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
1109 to infile.
1110
11111996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
1112
1113 * makefile.nt: Remove all references to wakeup.
1114
11151996-06-28 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1116
1117 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
1118 explicit, mutable, typename.
1119
11201996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1121
1122 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
1123 streams, one for sending and one for reading the reply.
1124
11251996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1126
1127 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
1128 (wakeup): Target deleted.
1129 (UTILITIES): Delete wakeup and timer.
1130
1131 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
1132
11331996-06-11 Geoff Voelker <voelker@cs.washington.edu>
1134
1135 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
1136 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
1137
11381996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1139
1140 * etags.c (main): Copy cwd when appending slash.
1141
11421996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
1143
1144 * Version 19.31 released.
1145
11461996-05-17 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1147
1148 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
1149 (Pascal_functions): Increase linecharno by the correct number of
1150 chars, inline the GET_NEW_LINE macro and delete its definition.
1151
11521996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
1153
1154 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
1155
11561996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
1157
1158 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
1159 (movemail.exe, fakemail.exe): Now built under Win32.o
1160
1161 * ntlib.c: Include ntlib.h.
1162 (nt_sleep): Rename to sleep.
1163 (getwd): Return directory.
1164 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
1165 sys_ctime, sys_fopen): New functions.
1166
1167 * ntlib.h: New file.
1168
11691996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
1170
1171 * pop.c (SEND, RECV): Renamed from send, recv.
1172 (pop_open, pop_trash): Make the trash_started code unconditional.
1173 (socket_connection): Delete casts to void.
1174
11751996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
1176
1177 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
1178 copied from lisp.h.
1179
11801996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
1181
1182 * fakemail.c [WINDOWSNT]: Include ntlib.h.
1183
1184 * hexl.c [DOSNT]: Include fcntl.h.
1185 [WINDOWSNT]: Include io.h.
1186 (main) [MSDOS]: Change conditional to DOS_NT.
1187
1188 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
1189 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
1190 [WINDOWSNT]: Include locking.h.
1191 (main): Update usage message. Use IS_DIRECTORY_SEP.
1192 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
1193 (main) [WINDOWSNT]: Invoke locking instead of flock.
1194 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
1195 (main) [MAIL_USE_POP]: Pass password to popmail if used.
1196 Include winsock.h; don't include unix inet headers.
1197 (popmail): Add password argument and pass it to pop_open.
1198 Open output file in binary mode.
1199
1200 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1c478461 1201 Macro SOCKET_ERROR undefined.
362bc2da
DL
1202 Don't declare h_errno.
1203 [!WINDOWSNT]: Define macros recv and send.
1204 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
1205 (pop_open) [WINDOWSNT]: Initialize trash_started.
1206 (have_winsock) [WINDOWSNT]: New variable.
1207 (socket_connection) [WINDOWSNT]: Initialize winsock.
1208 (socket_connection): Use closesocket instead of close.
1209 (getline): Use recv instead of read.
1210 (fullwrite): Use send instead of write.
1211 (pop_trash): Use closesocket instead of close.
1212 (pop_trash) [WINDOWSNT]: Cleanup winsock.
1213 Check if being called recursively by sendline.
1214
1215 * pop.h (struct _popserver): New field trash_started.
1216
1217 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
1218
12191996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1220
1221 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
1222
12231996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1224
1225 * etags.c [WINDOWSNT]: Include io.h.
1226
12271996-04-10 Geoff Voelker <voelker@cs.washington.edu>
1228
1229 * makefile.nt (CTAGSOBJ): Compile with regexp support.
1230
12311996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
1232
1233 * hexl.c [DJGPP v2]: Include io.h.
1234 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
1235
1236 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
1237 DJGPP v2.
1238
12391996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1240
1241 * etags.c (absolute_filename): Use absolutefn.
1242
12431996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
1244
1245 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
1246 letter isn't an alphabetic character.
1247 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
1248 (process_file) [DOS_NT]: Convert all slashes to forward style.
1249 (absolute_filename) [DOS_NT]: Emit error message for relative
1250 paths with a drive letter.
1251 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
1252 DOS/NT drive letters which try to reference the parent of the root.
1253 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
1254
12551996-03-27 Geoff Voelker <voelker@cs.washington.edu>
1256
1257 * makefile.nt: Change uses of del to $(DEL).
1258
12591996-03-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1260
1261 * etags.c (just_read_file): Reset lineno and charno on entry.
1262
12631996-03-15 Anders Lindgren <andersl@csd.uu.se>
1264
1265 * etags.c: Prolog language totaly rewritten.
1266 (Prolog_functions): Rewritten from scratch.
1267 (skip_comment, prolog_getit): Removed.
1268 (prolog_skip_comment): New function, like old skip_comment.
1269 (prolog_pred, prolog_atom, prolog_white): New functions.
1270 (erlang_func, erlang_attributes): Forward declarations added.
1271 (erlang_atom): Check if backslash ends line inside quoted atom.
1272
12731996-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1274
1275 * etags.c (absolutefn): DOS_NT version corrected.
1276 (main): Append "/" to the dir name only if not already there.
1277 (print_help): Explain the absolute/relative file name issue.
1c478461 1278
362bc2da
DL
12791996-03-08 Anders Lindgren <andersl@csd.uu.se>
1280
1281 * etags.c: New Languange Erlang added.
1282 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom,
1283 erlang_white): New functions.
1284 (Erlang_suffixes): New suffix list.
1285 (lang_names): Erlang entry added.
1286 (prolog_getit): Accepts headers spanning several lines.
1287 Always name tags.
1288 (Prolog_functions): Removed incorrect compensation for
1289 newline characters.
1290 (readline_internal): Zero-terminate last line.
1291
12921996-03-20 Mike Long <mike.long@analog.com>
1293
1294 * b2m.c (main): Initialize progname variable before using it.
1295 Quote `username' in From_ header.
1296
12971996-03-18 Geoff Voelker <voelker@cs.washington.edu>
1298
1299 * ntlib.c (getpid): New function.
1300
13011996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1302
1303 * emacsclient.c (main, both definitions):
1304 Print a newline for normal termination.
1305
13061996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
1307
1308 * tcp.c (main): Convert port to network byte order.
1309
13101996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
1311
1312 * pop.c (pop_retrieve, getline): Avoid type clashes.
1313
13141996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
1315
1316 * etags.c (enum sym_type, anonymous enum): Delete final comma.
1317
13181996-01-15 Paul Eggert <eggert@twinsun.com>
1319
1320 * rcs2log (initialize_fullname): Add support for NIS+.
1321 (hostname): Fully qualify the default hostname with the domainname
1322 if the hostname lacks a `.'.
1323
13241996-01-15 Paul Eggert <eggert@twinsun.com>
1325
1326 * rcs2log (initialize_fullname): Add support for NIS+.
1327 (hostname): Fully qualify the default hostname with the domainname
1328 if the hostname lacks a `.'.
1329
13301996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
1331
1332 * etags.c (consider_token): Fix typo in expression.
1333
13341996-01-04 Paul Eggert <eggert@twinsun.com>
1335
1336 * etags.c (substitute): Fix spelling in message.
1337
13381996-01-03 George V. Reilly <georger@microcrafts.com>
1339
1340 * makefile.nt (etags, ctags): Compile with regexp support.
1341 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
1342 subdirectory exists before compiling.
1c478461 1343
362bc2da
DL
13441996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
1345
1346 * emacsserver.c (main): Do chmod based on existing permission.
1347
13481995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1349
1350 * Makefile.in (install): Turn on read/execute permission.
1351
13521995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1353
1354 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
1355 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
1356
13571995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1358
1359 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
1360
13611995-12-07 Francesco Potorti` <pot@cnuce.cnr.it>
1362
1363 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
1364 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
1365 get_scheme, prolog_getit): Name the tag in ctags mode.
1366 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
1367 (Perl_interpreters): Accept "@PERL@" as an interpreter.
1368 (suggest_asking_for_help): New function.
1369 (main, get_language_from_name): Use suggest_asking_for_help.
1370 (main): Let get_language_from_name make language existence check.
1371 (streq, strneq): Check the arguments #if DEBUG.
1372
13731995-12-06 Francesco Potorti` <pot@cnuce.cnr.it>
1374
1375 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
1376 (gperf): Added keywords for Objective C and GNU macros.
1377 (sym_type): Added values to account for Objective C and GNU macros.
1378 (begtk): The '@' character can start a token.
1379 (objdef, methodlen, objtag): New variables for Objective C.
1380 (consider_token, C_entries): Added code for Objective C.
1381 (plain_C_suffixes): Add .m and .lm for Objective C.
1382 (Yacc_suffixes): Add .ym for Objective yacc.
1383 (GROW_LINEBUFFER): New macro.
1384 (consider_token, C_entries, Pascal_functions): Use the new macro.
1385 (consider_token): Take one more argument. Caller changed.
1386 (consider_token): Use the hashing function to spot GNU macros.
1387 (C_entries): Consider // as a comment start even in plain C for
1388 the sake of Objective C parsing.
1389
13901995-12-04 Francesco Potorti` <pot@cnuce.cnr.it>
1391
1392 * Makefile.in (ctags): depend on etags only for simplicity;
1393 compile with regexp support enabled.
1394
13951995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1396
1397 * Version 19.30 released.
1398
13991995-11-22 Geoff Voelker <voelker@cs.washington.edu>
1400
1401 * makefile.nt (DOC, clean): Don't use switches to del not
1402 supported by Windows 95.
1403
14041995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1405
1406 * Makefile.in (regex.o): Depend on ../src/config.h.
1407
14081995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1409
1410 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
1411 (LOADLIBES): Use LIB_STANDARD.
1412
14131995-11-07 Kevin Gallo <kgallo@microsoft.com>
1414
1415 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
1416 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
1417 Windows 95 conditional.
1418
14191995-11-06 Francesco Potorti` (pot@cnuce.cnr.it)
1420
1421 * etags.c (get_lang_from_name, get_lang_from_interpreter,
1422 get_lang_from_suffix): New functions.
1423 (get_language): Function deleted.
1424 (lang_entry): Two members added to struct.
1425 (lang_names): Reflect the new layout of lang_entry.
1426 (print_language_names, main, find_entries): Use the new functions.
1427 (find_entries): Look at the first line for #! if no language.
1428 (C_entries): Invalidate the token when funcdef is reset.
1429 (Perl_functions): New function.
1430 (lang_suffixes): .pl and .pm are Perl suffixes.
1431
14321995-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
1433
1434 * etags.c (lowcase): Use the standard tolower function.
1435 (substitute): Remove some wrong and some useless code related with
1436 escape `\` character in regexp replacement string.
1437 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
1438 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
1439 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
1440 .prolog for prolog (.pl removed).
1441 (massage_name, etags_getcwd): Use lowcase instead of tolower.
1442 (C_entries, find_entries): Added comments about memory leakage.
1443 (add_node): Dead code removed.
1444
14451995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1446
1447 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
1448 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
1449
14501995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1451
1452 * test-distrib.c: Add #undef for open, close, read, write.
1453
14541995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1455
1456 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
1457 [! O_RDONLY]: Define it to zero.
1458 (main): Use O_RDONLY instead of explicit zero.
1459
14601995-08-17 Francesco Potorti` (pot@cnuce.cnr.it)
1461
1462 * etags.c (Pascal_functions): Close comment bug corrected.
1463 (add_node): Correctly compare node file names.
1464 (Pascal_functions): Correctly allocate and free memory for tline.
1465 (pfnote): Put the definition of fp in the innermost block.
1466 (NODE): `named' member removed.
1467 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1c478461 1468 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
1469 (pfnote): `named' argument removed, all callers changed.
1470 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
1471 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1c478461 1472 removed from pfnote call, some code cleanup.
362bc2da
DL
1473 (relative_filename): Free temporary space allocated by concat.
1474
14751995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1476
1477 * Makefile.in (getdate.c): New target.
1478 (getdate.o): Just compile getdate.c.
1479
14801995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
1481
1482 * fakemail.c (xrealloc): Change cast to match return type.
1483
14841995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1485
1486 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
1487
14881995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1489
1490 * movemail.c (main): Fix previous change.
1491 Add error check for empty OUTNAME.
1492
14931995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1494
1495 * movemail.c (main): Mention lock file name in error message.
1496
14971995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1498
1499 * profile.c (gettimeofday): New function, defined if necessary.
1500
15011995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1502
1503 * Makefile.in: Renamed from Makefile.in.in.
1504 (distclean): Delete Makefile.c, not Makefile.in.
1505
15061995-07-17 Michael Shields <shields@tembel.org>
1507
1508 * Makefile.in.in (tags): Synonym for `TAGS'.
1509
15101995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
1511
1512 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
1513 configure has already set $(INSTALL) to the proper relative path.
1514
15151995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
1516
1517 * etags.c (plain_C_entries): new function.
1518 (lowcase): new macro.
1519 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
1520 (lang_suffixes): new suffix ".pc" for Pro*C files.
1521 (consider_token): don't tag all tokens beginning with DEFUN & Co..
1522 (tail): look for the end of the token when comparing.
1523 (takeprec): since now tail behaves differently, use strneq.
1524
15251995-07-08 Paul Eggert <eggert@twinsun.com>
1526
1527 * rcs2log (datearg): Separate date from time with comma, not space,
1528 to work around CVS 1.5 bug.
1529 (CVSROOT): Don't abort when unset if repository is absolute.
1530
15311995-07-07 Paul Eggert <eggert@twinsun.com>
1532
1533 * rcs-checkin, rcs2log, vcdiff:
1534 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
1535 that interpret `#! /' as a 4-byte magic number.
1536
15371995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
1538
1539 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
1540 mailbox with "po:mailbox", the mailbox is everything after the
1541 "po:" prefix.
1542
15431995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1544
1545 * emacsserver.c: Make all error messages start with `Error: '.
1546 (fatal_error, perror_1): New functions, use throughout.
1547
15481995-06-28 Paul Eggert <eggert@twinsun.com>
1549
1550 * rcs2log (CVSROOT, repository):
1551 Allow remote repositories a la CVS 1.4.
1552
15531995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
1554
1555 * etags.c (plain_C_entries): new function.
1556 (lowcase): new macro.
1557 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
1558 (lang_suffixes): new suffix ".pc" for Pro*C files.
1559 (consider_token): don't tag all tokens beginning with DEFUN & Co..
1560 (tail): look for the end of the token when comparing.
1561 (takeprec): since now tail behaves differently, use strneq.
1562
15631995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1564
1565 * movemail.c (main): Add newline in usage message.
1566
15671995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1568
1569 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
1570
15711995-06-21 Francesco Potorti` (pot@cnuce.cnr.it)
1572
1573 * etags.c (find_entries): Rewind before rereading the input file.
1574
15751995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1576
1577 * Version 19.29 released.
1578
1579 * make-docfile.c (main) [MSDOS]: Do set _fmode.
1580 This undoes part of the previous change.
1581
15821995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1583
1584 * make-docfile.c (main): On MSDOS, don't change stdout
1585 to binary, and insist on an -o option.
1586
15871995-06-13 Geoff Voelker <voelker@cs.washington.edu>
1588
1589 * etags.c (process_file,absolute_filename): Handle filenames
1590 starting with a drive letter.
1591
1592 * makefile.nt (install): Copy wakeup.exe properly.
1593
15941995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
1595
1596 * make-docfile.c [MSDOS]: #undef chdir.
1597
15981995-06-04 Paul Eggert <eggert@twinsun.com>
1599
1600 * rcs2log (output_authors): Allow ':' in time zone,
1601 as per ISO 8601 and RCS 5.6.8 beta.
1602
16031995-05-29 Francesco Potorti` (pot@cnuce.cnr.it)
1604
1605 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
1606 compatibility problems.
1607
16081995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
1609
1610 * etags.c (etags_getcwd): Don't use #elif.
1611 Have just one function body.
1612
16131995-05-25 Geoff Voelker <voelker@cs.washington.edu>
1614
1615 * makefile.nt (LIBS): Use BASE_LIBS.
1616 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
1617 upon LIBS.
1618 (DOC): Use del instead of rm.
1619 (DOC) [WINDOWS95]: Use DOC.
1620 (clean): Handle MSVC aux files.
1621 (config.h,paths.h): Use $(CP) instead of cp.
1622 (config.h): Use $(CONFIG_H)
1623 (make-docfile.obj): Depend upon config.h.
1624 Clean up comments.
1625
16261995-05-23 Francesco Potorti` (pot@cnuce.cnr.it)
1627
1628 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
1629 former gives the true path even in the presence of simlinks.
1630
16311995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1632
1633 * movemail.c (main): Increase lock timeout to five minutes.
1634
16351995-05-06 Geoff Voelker <voelker@cs.washington.edu>
1636
1637 * makefile.nt (obj): Use .c files.
1638
16391995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1640
1641 * make-docfile.c: Include config.h.
1642 (NO_SHORTNAMES): New definition.
1643 (xmalloc): Return long *.
1644
1645 * etags.c (C_entries): Cast result of xrealloc.
1646 (xmalloc, xrealloc): Declare them to return long *.
1647
1648 * b2m.c (xmalloc, xrealloc): Declare them long *.
1649
1650 * movemail.c (xmalloc): Declare it to return long *.
1651
16521995-04-30 Paul Eggert <eggert@twinsun.com>
1653
1654 * rcs2log (datearg): If rlog options are specified explicitly,
1655 omit the implicit '-d>DATE' option.
1656 (repository, rlog): Allow absolute paths to CVS repositories.
1657 Look only at the first line of CVS/Repository.
1658
16591995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
1660
1661 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
1662 realclean.
1663
16641995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1665
1666 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
1667 Alternative (empty) definitions.
1668
16691995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1670
1671 * emacsclient.c (main): Add argv[0] to an error message.
1672
16731995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
1674
1675 * emacsclient.c (main): Improve error handling.
1676 * cvtmail.c (main, skip_to_lf): Improve error handling.
1677 (sysfail): New function.
1678
1679 * b2m.c (main): Check for trailing ", " before trying to delete it.
1680
16811995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1682
1683 * Makefile.in.in (all): Build test-distrib and make-docfile.
1684
1685 * make-docfile.c (scan_c_file): At end, restore file name last char
1686 to its original value.
1687
16881995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1689
1690 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
1691
16921995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1693
1694 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
1695 (alloca.o, regex.o): Use BASE_CFLAGS.
1696
16971995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1698
1699 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
1700
17011995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
1702
1703 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
1704 (SOURCES, distclean): Removed obsolete references to aixcc.
1705
17061995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1707
1708 * aixcc.lex: File deleted--surely obsolete now.
1709
17101995-03-23 Paul Eggert <eggert@twinsun.com>
1711
1712 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
1713 portability to mawk and nawk.
1714
17151995-03-21 Paul Eggert <eggert@twinsun.com>
1716
1717 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
1718 -u "login<tab>fullname<tab>mailaddr".
1719
17201995-03-21 Paul Eggert <eggert@twinsun.com>
1721
1722 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
1723 replaces the (now obsolescent) -n login fullname mailaddr option.
1724 Add -R option for recursive rlog.
1725 (AWK): New environment variable (default `awk') for awk program name.
1726 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
1727 Quote authors and fullnames correctly.
1728 Don't omit path from repository root when logging CVS files.
1729
17301995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1731
1732 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
1733 even if HAVE_SYSVIPC.
1734 * emacsclient.c (main): Use getcwd if not BSD.
1735
17361995-03-13 Francesco Potorti` (pot@cnuce.cnr.it)
1737
1738 * etags.c (process_file): free (filename) after using it.
1739 (readline_internal): Do not access the char before start of line.
1740
17411995-02-22 Francesco Potorti` (pot@cnuce.cnr.it)
1742
1743 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
1744 savetok.valid. Mark token as valid when it is initialised.
1745 (make_tag): Make token only if token is valid and reset validity.
1746 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
1747 (TOKEN): Added a new member: valid.
1748
17491995-02-15 Francesco Potorti` (pot@cnuce.cnr.it)
1750
1751 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
1752 (main): Do not read twice the last filename in the stdin file list.
1753
17541995-02-14 Francesco Potorti` (pot@cnuce.cnr.it)
1755
1756 * etags.c (C_entries): Initialise the new members of TOKEN.
1757 (C_entries): Do not allocate a new space for each token found by
1758 consider_token. Let make_tag do that instead.
1759 (make_tag): Since now TOKEN has memory of where it is taken from,
1760 this new macro substitutes both make_tag_from_new_lb and
1761 make_tag_from_oth_lb. All callers changed.
1762 (TOKEN): Add linepos and buffer members.
1763 (main): Initialise token_str.
1764 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
1765 (token_str): New global variable used by C_entries.
1766
17671995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
1768
1769 * Makefile.in.in (maintainer-clean): Renamed from realclean.
1770
17711995-02-01 Francesco Potorti` (pot@cnuce.cnr.it)
1772
1773 * etags.c (pfnote): Initialise been_warned in the node.
1774 (C_entries): Removed a speed hack for the sake of clarity.
1775
17761995-01-18 Francesco Potorti` (pot@cnuce.cnr.it)
1777
1778 * etags.c (longopts, print_help, main): Use -I as abbreviation
1779 for the --ignore-indentation option.
1780 (main): Do not print an error message for unknown options.
1781
17821995-01-12 Francesco Potorti` (pot@cnuce.cnr.it)
1783
1784 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
1785 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
1786 constantypedefs, update, vgrind_style, no_warnings,
1787 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
1788 (permit_duplicates): Was a var, now a #define.
1789 (filename_lb): Was global, now local to main.
1790 (main): Open the tag file when in cxref mode.
1791 Use a BUFSIZ size buffer for making the shell commands.
1792 Look at the return value from the system routine.
1793 Exit when cannot open the tag file.
1794 (process_file): Open the file and pass the FILE* to find_entries.
1795 (find_entries): Now void, because does not open the file itself.
1796 (pfnote): Recovering from lack of memory does not work. Removed.
1797 Use savenstr and simplify the code.
1798 (free_tree): Only free the name space if node is named.
1799 (structtag): Now a pointer, not a fixed length array of chars.
1800 (consider_token): Don't take a token as argument. Use savenstr
1801 when saving a tag in structtag. Callers changed.
1802 (TOKEN): Structure changed. Now used only in C_entries.
1803 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
1804 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
1805 (pfcnt): Deleted. Users updated.
1806 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
1807 TEX_getit, prolog_getit): Use dinamic allocation for storing
1808 the tag instead of a fixed size buffer.
1809
18101995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1811
1812 * movemail.c (main): Skip past the colon in inname.
1813
18141995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
1815
1816 * etags.c (pfatal): New function.
1817 (main, etags_getcwd): Use pfatal.
1818 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
1819
18201995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
1821
1822 * etags.c (Lang_function): Use void instead to declare the
1823 language functions, because many compilers are buggy.
1824 (etags_getcwd): Fix the previous fix on the #else branch.
1825 (readline_internal): Discard possible \r before \n here.
1826 (C_entries): Do not deal with \r here: undo previous fix.
1827
18281995-01-09 Francesco Potorti` (pot at fly)
1829
1830 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
1831 functions and a macro that allow the program to work on input
1832 lines of whatever length. Copied from etags.c.
1833 (fatal): Print a fatal error message and exit.
1834 (main): Use the new functions. Fixed a bug that made a \037 char
1835 appear at the end of the output.
1836
18371995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1838
1839 * etags.c (C_entries): Ignore carriage return at end of line.
1840
18411994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1842
1843 * fakemail.c (xmalloc, xrealloc): Add casts.
1844 (add_field): Handle <...> and "..." syntax.
1845 (setup_files, get_keyword): Clean up parens and line breaks.
1846 (args_size): Likewise.
1847
18481994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
1849
1850 * yow.c: Include program name in error messages.
1851
18521994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1853
1854 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
1855 (xmalloc, fatal, error): New functions.
1856 (progname): New variable.
1857 (main): Set progname.
1858
18591994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1860
1861 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
1862 (main): If socket/mqueue name is in home dir, add in the host name.
1863 Rename .emacs_server to .emacs-server....
1864
18651994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1866
1867 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
1868
18691994-11-22 Francesco Potorti` (pot@cnuce.cnr.it)
1870
1871 * etags.c (print_help): print --regex usage for ctags also.
1872 (main): use -h in addition to -H as abbreviation for --help.
1873
18741994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
1875
1876 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
1877 is compiled if this is defined. The new functions and variables
1878 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
1879 [VMS]: All VMS specific code previously contained in
1880 etags-vmslib.c is now included here, modified for dealing with
1881 language and regex options intermixed with filenames.
1882 (header_file): Global variable deleted.
1883 (Lang_Function): New typedef. All language parser functions
1884 changed to this new type.
1885 (string_numeric_p, substr, prestr): Functions deleted.
1886 (readline_internal): Does the job that readline did previously.
1887 (longopts): --language and --regex options added.
1888 (lang_names, lang_extensions, lang_func, print_language_names):
1889 New structures, variables and functions for choosing languages.
1890 (print_help): Help strings updated. Calls print_language_names.
1891 (argument_type, ARGUMENT): Typedefs for dealing with language and
1892 regex options intermixed with filenames.
1893 (main): Changed the way of dealing with arguments on the command
1894 line to deal with language and regex options intermixed with
1895 filenames.
1896 (get_language, default_C_entries, Cplusplus_entries,
1897 Cstar_entries, Yacc_entries, just_read_file): New functions.
1898 (find_entries): Use the new method for choosing the language.
1899 (Pascal_functions): Allow intermixing of comment styles.
1900 (prolog_getit, skip_comment): Rewritten for speed.
1901 (readline): Rewritten to deal with regexps.
1902
19031994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
1904
1905 * etags.c (<errno.h>): #include added.
1906 (etags_getcwd): Check return value from getcwd.
1907
19081994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1909
1910 * profile.c (TV1, TV2): Use EMACS_TIME as type.
1911 (get_time): Use EMACS_SUB_TIME.
1912
19131994-10-30 voelker <voelker@cs.washington.edu>
1914
1915 * ntlib.c: New file.
1916 * makefile.nt: New file.
1917
1918 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
1919 [WINDOWSNT]: Include the NT headers.
1920 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
1921
1922 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
1923 [WINDOWSNT]: Include some NT headers.
1924
19251994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
1926
1927 * pop.c (getline): When a search of already-read input for CRLF
1928 fails, store the fact that we've searched it and don't search it
1929 again after reading more data.
1930
1931 * pop.c (getline): When determining whether or not it's necessary
1932 to grow the input buffer, take into account the null that's stored
1933 at the end of already-read input in the buffer.
1934
19351994-10-21 Francesco Potorti` (pot@cnuce.cnr.it)
1936
1937 * etags.c (prestr, substr): return a logical type.
1938 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
1939 (consider_token): set funcdef to fignore when a DEFUN is met.
1940 (C_entries): Now we can use Tom Hageman patch for extern "C".
1941
19421994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1943
1944 * movemail.c: PopServer renamed to popserver throughout.
1945
19461994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
1947
1948 * etags.c: Don't declare malloc, since we include config.h.
1949 * fakemail.c: Likewise.
1950
19511994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1952
1953 * movemail.c: Don't declare malloc.
1954
19551994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
1956
1957 * rcs-checkin: Use test -r instead of < to check readability, to
1958 avoid syntax error.
1959
19601994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
1961
1962 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
1963 defined, and if HAVE_CONFIG_H isn't defined, define
1964 MAIL_USE_POP always (so that this file can be included in
1965 other programs besides emacs).
1966
1967 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
1968 HAVE_CONFIG_H isn't defined.
1969
1970 * pop.c (find_crlf, getline): Instead of using strstr, use a
1971 custom function for finding CRLF.
1972 (my_strstr): Function deleted.
1973
19741994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
1975
1976 * pop.c (getline): Fix a segfault because of passing a
1977 non-null-terminated string into strstr(). Fix from
1978 djm@va.pubnix.com (David J. MacKenzie).
1979
1980 * pop.c: Don't include <string.h> and <strings.h>.
1981
1982 * pop.c: Include <des.h> before <krb.h>, rather than after. They
1983 should be interchangeable, and indeed the inclusion is done in
1984 both orders in various files in the Kerberos 4 library sources,
1985 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
1986 requires that <des.h> be included first, and I don't see any harm
1987 in changing the order.
1988
1989 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
1990 STDC_HEADERS, if they're defined. Undef open, read, write and
1991 close after including it.
1992
19931994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1994
1995 * pop.c: Fix mismatch in conditionals.
1996
1997 * make-docfile.c (main): Don't process one input file twice.
1998 Never use exit code > 1.
1999
2000 * pop.c (open, close, read, write): Add #undefs.
2001
2002 * pop.c: Don't declare malloc, realloc, free.
2003 Include ../src/config.h.
2004 Don't include string.h or strings.h.
2005 Include des.h before krb.h.
2006 Do declare my_strstr.
2007 (getline): Really use my_strstr.
2008 Leave one empty place in server->buffer,
2009 and put a null at the end of the data in it.
2010
20111994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2012
2013 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
2014 call kill with pid 0. Handle EINTR when receiving messages.
2015
20161994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
2017
2018 * Makefile.in.in (regex.o): Use full path to find regex.c.
2019
20201994-10-17 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2021
2022 * Makefile.in.in (etags): add dependency on regex.o, link with it.
2023 (REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added.
2024
20251994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
2026
2027 * Makefile.in.in (DONT_INSTALL): Remove make-path.
2028 (${archlibdir}): Use mkinstalldirs instead.
2029
2030 * movemail.c: Make functions that return nothing void, not
2031 implicitly int.
2032 (main): Improve usage message.
2033 (error): Write to stderr, not stdout.
2034
2035 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
2036 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
2037 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
2038 variables and implicitly declared functions.
2039
20401994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2041
2042 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
2043 (distclean): Not here.
2044
2045 * Makefile.in.in (libexecdir): Renamed from libdir.
2046
20471994-10-11 Francesco Potorti` (pot@cnuce.cnr.it)
2048
2049 * etags.c (C_entries): Name the #define's that are macros.
2050
20511994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2052
2053 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
2054 fd_set arg is a pointer, descriptor arg comes first.
2055
20561994-09-29 Francesco Potorti` (pot@cnuce.cnr.it)
2057
2058 * etags.c (C_entries): Recognise typedef of ANSI style functions.
2059 (C_entries): Recognise #define inside a struct.
2060 (C_entries): ANSI tells that preprocessor commands do not have to
2061 start on the first column.
2062 (print_help): Documentation corrected for -d and -D.
2063 (white, endtk): ANSI tells the vertical tab is a separator.
2064
20651994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
2066
2067 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
2068 (pop.o, movemail.o): New targets.
2069 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
2070
2071 * pop.c, pop.h: New files.
2072
2073 * movemail.c: Improve POP code, move most of it into a separate file.
2074 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
2075 (mbx_write): Check for errors and for From line.
2076 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
2077 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
2078 (pop_init): Functions deleted.
2079
20801994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
2081
2082 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
2083 Rename path to dirname.
2084
20851994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2086
2087 * Makefile.in.in (UTILITIES):
2088 Remove test-distrib, make-docfile, make-path.
2089 (DONT_INSTALL): New variable--list those files here.
2090 (clean): Delete the files in DONT_INSTALL.
2091
20921994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2093
2094 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
2095 (main): Use fgets, not gets.
2096
20971994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2098
2099 * timer.c: Don't declare malloc.
2100
21011994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2102
2103 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
2104 defined, use simple 32-bit versions of these macros.
2105 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
2106
21071994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2108
2109 * etags.c (etags_getcwd): Use getcwd if available.
2110
21111994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2112
2113 * Version 19.27 released.
2114
21151994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2116
2117 * Version 19.26 released.
2118
21191994-08-15 Paul Eggert <eggert@twinsun.com>
2120
2121 * rcs2log: Add support for CVS.
2122 Work with `rlog's that output ISO 8601 dates.
2123
21241994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
2125
2126 * rcs2log: Use <> to delimit email address.
2127
21281994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2129
2130 * emacsserver.c [SYSV_IPC] (main): Make a separate process
2131 so we can listen for multiple requests.
2132
21331994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2134
2135 * movemail.c: Include config.h first thing.
2136
21371994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2138
2139 * emacsserver.c (main): Add casts to avoid warnings.
2140
21411994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2142
2143 * Makefile.in.in (${archlibdir}): Compare the proper dir
2144 before installing the scripts.
2145
21461994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2147
2148 * emacsclient.c (main): New local var progname saves argv[0].
2149
21501994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2151
2152 * emacsclient.c (main): Don't actually modify argv[0].
2153 Modify a copy instead.
2154
21551994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2156
2157 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
2158 (tzp): Var deleted.
2159
2160 * Makefile.in.in: Add #undef alloca.
2161
21621994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2163
2164 * timer.c (xmalloc): New function.
2165
21661994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2167
2168 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
2169 (alloca.o): New target.
2170
21711994-07-08 Dave Love (d.love@dl.ac.uk)
2172
2173 * etags.c (takeprec): recognise `character*(*) function'
2174
21751994-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
2176
2177 * etags.c (main): Don't barf on obsolete -t and -T switches.
2178 (main): Print an explicative message when a switch is not known.
2179
21801994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2181
2182 * hexl.c: Don't declare exit or perror.
2183
2184 * emacsserver.c (main): Don't declare geteuid.
2185 Don't declare getenv if convex.
2186
21871994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2188
2189 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
2190
21911994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2192
2193 * etags.c (absolute_filename): Remove infinite loop bug when
2194 accessing files in directories whose name begins with a dot.
2195
21961994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2197
2198 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
2199
22001994-06-01 Morten Welinder (terra@diku.dk)
2201
2202 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
2203 location of data directory.
2204
22051994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2206
2207 * Version 19.25 released.
2208
22091994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2210
2211 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
2212
22131994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2214
2215 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
2216
22171994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2218
2219 * Version 19.24 released.
2220
22211994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2222
2223 * make-docfile.c (write_c_args): Put `default' in upper case.
2224
22251994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2226
2227 * etags.c (etags_getcwd): Cast result of popen.
2228 (popen): Declaration deleted.
2229
22301994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
2231
2232 * etags.c [!MSDOS]: Declare popen.
2233
22341994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2235
2236 * b2m.c (main): Avoid crash if argc is 1.
2237
22381994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2239
2240 * Version 19.23 released.
2241
2242 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
2243
22441994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2245
2246 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
2247
22481994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
2249
2250 * Makefile.in.in: Fix out of date comment.
2251
22521994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2253
2254 * Makefile.in.in: Put in a separator for where to start cpp procssing.
2255 Move all autoconf substitutions above that point.
2256 Above that point, use Make-style comments.
2257 This goes with changes in ../configure.in.
2258
22591994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2260
2261 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
2262 warning message.
2263 (${archlibdir}): Don't do it here. Don't depend on blessmail.
2264
22651994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
2266
2267 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
2268
22691994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2270
2271 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
2272 print advice to run it, if it has anything significant to do.
2273 And only if MOVEMAIL_NEEDS_BLESSING.
2274 (blessmail): Use emacs, not temacs.
2275 (configuration): Renamed from configname.
2276
22771994-04-30 Morten Welinder (terra@diku.dk)
2278
2279 * etags.c (find_entries): Treat `*.cpp' as C++ files.
2280
22811994-04-30 Morten Welinder (terra@diku.dk)
2282
2283 * etags.c [MSDOS]: #include <sys/param.h> for the following.
2284 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
2285 a shell.
2286
22871994-04-29 Morten Welinder (terra@diku.dk)
2288
2289 * hexl.c [MSDOS]: Don't define proto type for exit.
2290
22911994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2292
2293 * b2m.c: Don't include string.h or strings.h.
2294
22951994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
2296
2297 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
2298 symbols, not make variables.
2299
23001994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2301
2302 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
2303 * etags.c (print_version): Print VERSION as a string.
2304
23051994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2306
2307 * fakemail.c (readline): Fix updating of p when buffer grows.
2308
23091994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
2310
2311 * Makefile.in.in (blessmail): New target.
2312 ${archlibdir}: Use blessmail when installing movemail.
2313
23141994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2315
2316 * fakemail.c (readline): When extending the buffer,
2317 calculate end afresh using the new size.
2318
23191994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2320
2321 * etags.c (main, print_help): eliminate the -F option.
2322
23231994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2324
2325 * etags.c (absolute_filename): compare against '\0' instead of NULL.
2326
23271994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2328
2329 * Makefile.in.in: Renamed from Makefile.in.
2330 Makefile.in is now generated from it, and then preprocessed.
2331 Change comments to C syntax.
2332 Include config.h.
2333 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
2334 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
2335
23361994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2337
2338 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
2339
23401994-04-12 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2341
2342 * etags.c (etags_getcwd): Initialize bufsize.
2343
23441994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2345
2346 * profile.c (gettimeofday): If system doesn't have this, define it
2347 to give a fatal error.
2348
23491994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
2350
2351 * movemail.c (main): Use setuid, not seteuid.
2352
23531994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2354
2355 * etags.c: #undef static.
2356
23571994-04-08 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2358
2359 * etags.c (outf, outfiledir): renamed to tagf, tagfiledir.
2360 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs,
2361 Scheme_funcs, prolog_funcs): renamed to Fortran_functions,
2362 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
2363 TeX_functions, Prolog_functions.
2364 (inf): no more a global variable.
2365 (C_entries): take 2nd parameter `inf' instead of using the global one.
2366 (find_entries): added the cp1 var for optimisation.
2367 (find_entries): added more suffixes for assembler files.
2368 (Asm_funcs): Now finds labels even without an ending colon.
2369
23701994-03-30 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2371
2372 * etags.c (main): use etags_getcwd for compatibility.
2373 (etags_getcwd): new function.
2374
23751994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2376
2377 * Makefile.in (etags, ctags): Pass -D for VERSION.
2378
23791994-03-25 Francesco Potorti` (pot@cnuce.cnr.it)
2380
2381 * etags.c (emacs_tags_format, ETAGS): removed. Use CTAGS instead.
2382 (main): don't allow the use of -t and -T in etags mode.
2383 (print_help): don't show options enabled by default.
2384 (print_version): show the emacs version number if VERSION is #defined.
2385 (find_entries): add "ss" as suffix for Chez Scheme.
2386
23871994-03-23 Francesco Potorti` (pot@cnuce.cnr.it)
2388
2389 * etags.c (cwd, outfiledir): vars added.
2390 (relative_filename, absolute_filename, absolute_dirname):
2391 functions added to compute filenames in tags files.
2392 (process_file): filenames in tags file are relative to the
2393 directory where the tags file is (useful with the -o option).
2394 (main): initialise the outfiledir var.
2395 (TYPEDST): added the `tignore' value.
2396 (C_entries): corrected various small bugs.
2397
23981994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2399
2400 * Makefile.in (UTILITIES): `env' deleted.
2401 (env): Target deleted.
2402 * env.c: File deleted.
1c478461 2403
362bc2da
DL
24041994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2405
2406 * Makefile.in (install, ${archlibdir}): Switch back to ..
2407 before running INSTALL_PROGRAM.
2408
24091994-03-14 Francesco Potorti` (pot@cnuce.cnr.it)
2410
2411 * etags.c (TYPEDST): added the `tignore' value.
2412 (C_entries): corrected various bugs, now correctly parses the
2413 `extern "C" {' construction (patch by Tom R.Hageman).
2414
24151994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2416
2417 * b2m.c: Use <...> to include config.h.
2418 Don't include stdlib.h.
2419
24201994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
2421
2422 * b2m.c (main): Change delimiter from "^L" to "^_^L".
2423 Allow for text following "BABYL OPTIONS:".
2424 Add --help option. Use argv[0] in error messages.
2425
24261994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2427
2428 * emacsclient.c (main) [HAVE_SYSVIPC]:
2429 Make msgp->mtext longer if necessary.
2430 On HPUX, error if it's more than 512 chars.
2431
24321994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
2433
2434 * etags-vmslib.c: Use GPL.
2435 * emacstool.c: Use GPL.
2436 * fakemail.c: Update GPL.
2437
2438 * make-path.c (main): Return 1 on error, not -1.
2439 Update GPL.
2440
2441 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
2442 (xmalloc, xrealloc): Return char *, not int.
2443 (error): Write to stderr, not stdout.
2444 Update GPL.
2445
24461994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
2447
2448 * profile.c (main, get_time): Don't crash on invalid input.
2449
24501994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
2451
2452 * profile.c (get_time): Simplify; avoid calling index.
2453 (main): exit on EOF.
2454
24551994-02-17 Francesco Potorti` (pot@cnuce.cnr.it)
2456
2457 * etags.c (--absolute-pathnames): option removed.
2458
24591994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2460
2461 * fakemail.c (put_line): Don't break the line if it all fits.
2462
24631994-02-14 Francesco Potorti` (pot at fly)
2464
2465 * etags.c (absolute_pathnames, cwd): added global vars.
2466 (longopts, print_help, main, process_file): put absolute filenames
2467 in the tag file if the -A --absolute-pathnames option is used.
2468 (print_help): alfabetically order the options.
2469 (malloc, realloc, strcpy, strncpy, strcmp): remove extern declar.
2470
24711994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2472
2473 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
2474 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
2475
24761994-02-07 Christian Lynbech (lynbech@avignon)
2477
2478 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
2479
24801994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2481
2482 * Makefile.in (UTILITIES): Mention profile.
2483 (profile): New target.
2484
2485 * profile.c: New file.
2486
24871994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2488
2489 * Make the argument list output look more like the Lisp docstrings do.
2490 make-docfile.c (write_c_args): Take new arg FUNC. Make output
2491 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
2492 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
2493
24941994-01-14 Francesco Potorti` (pot@cnuce.cnr.it)
2495
2496 * etags.c (stab_entry, stab_create, stab_find, stab_search,
2497 stab_type, add_keyword, C_reate_stab, C_create_stabs): deleted.
2498 Use gperf generated hash table instead of linked list.
2499 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): added.
2500 Mostly code generated by gperf.
2501 (consider_token): removed unused parameter `lp'.
2502 (PF_funcs, getit): allow subroutine and similar declarations
2503 to span multiple lines.
2504 (C_entries): check for newline if inchar to avoid bus errors.
2505 (process_file, find_entries): distinguish among nonexistent
2506 and not regular file.
2507
25081994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2509
2510 * timer.c: Include errno.h; don't include fasync.h.
2511 (schedule): Don't return a value.
2512 (sigcatch): Reestablish the handler first.
2513 (getevent): Always call notify at the end.
2514 (notify): Defer alarms around the whole body of function.
2515
25161994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2517
2518 * timer.c (main): Don't request SIGIO, and don't handle it.
2519 Loop calling getevent.
2520 (sigcatch): Delete code to handle SIGIO.
2521 if defer_alarms is set, don't call notify, just set alarm_deferred.
1c478461 2522 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
2523 Set defer_alarms around realloc and schedule.
2524 If alarm_deferred gets set, call notify.
2525 Likewise if this event is the only pending event.
2526 Make buf and buf_size global variables.
2527 Don't malloc buf if it is already non-zero.
2528 (schedule): Just exit if run out of memory.
2529 Return the number of events.
2530 (signal) [_CX_UX]: Add #undef.
2531
25321994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2533
2534 * timer.c [USG] (SIGIO): Define as SIGPOLL.
2535 (main) [USG]: Do ioctl to enable SIGPOLL.
2536
25371994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2538
2539 * timer.c: Don't declare sys_errlist; declare strerror instead.
2540 (schedule, main): Call strerror instead of using sys_errlist.
2541 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
2542 Call strerror instead of using sys_errlist.
2543 * env.c (main): Call strerror instead of using sys_errlist.
2544 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
2545 (main): Call strerror instead of using sys_errlist.
2546 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
2547 * env.c [! HAVE_STRERROR] (strerror): Likewise.
2548 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
2549 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
2550
25511994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2552
2553 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
2554
2555 * movemail.c (malloc): Don't declare it.
2556 (xmalloc): Cast result of malloc.
2557 (strcpy): Don't declare it.
2558
25591993-11-14 Morten Welinder (terra@diku.dk)
2560
2561 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
2562 (main): Use fclose to close file opened by fopen.
2563
2564 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
2565
2566 * movemail.c [MSDOS]: #undef `access'.
2567
2568 * b2m.c (main) [MSDOS]: Open all files as binary.
2569 * etags.c (main) [MSDOS]: Open all files as binary.
2570
2571 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
2572 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
2573 with.
2574
25751994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2576
2577 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
2578 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
2579 (LINK_CFLAGS): New variable.
2580 (timer): Use LINK_CFLAGS.
2581
25821993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2583
2584 * movemail.c: Include syswait.h.
2585 Fork a subprocess and use it to copy the mail file.
2586
25871993-12-07 Richard Stallman (rms@srarc2)
2588
2589 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
2590
25911993-12-04 Richard Stallman (rms@srarc2)
2592
2593 * movemail.c (main): When making tempname, cast result of xmalloc.
2594 Include room for EXXXXXX in the size.
2595 Don't use result of strcpy.
2596
25971993-12-03 Paul Eggert (eggert@twinsun.com)
2598
2599 * vcdiff: Add --brief option.
2600
26011993-12-02 Richard Stallman (rms@srarc2)
2602
2603 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
2604 for all executables and scripts.
2605
26061993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2607
2608 * Version 19.22 released.
2609
26101993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2611
2612 * Makefile.in (mostlyclean): Make it distinct from clean.
2613
26141993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2615
2616 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
2617
26181993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2619
2620 * Version 19.21 released.
2621
2622 * Makefile.in (install): Don't change mode or group when installing.
2623
2624 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
2625
26261993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2627
2628 * make-docfile.c (read_c_string): For "", concatenate the two strings.
2629
2630 * movemail.c (main): Fix error message text.
2631
26321993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2633
2634 * Version 19.20 released.
2635
26361993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
2637
2638 * etags.c: (C_entries): Keep track of ()-parenthesis level so that
2639 functions returning a pointer to a function, a la `signal', can be
2640 parsed. This also required new state `fstartlist' to `FUNCST'.
2641 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
2642 (C_entries, CNL): use it to isolate preprocessor directive processing
2643 from the other state engines.
2644 (begtk): add '~', for C++ class destructors.
2645
26461993-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
2647
2648 * etags.c (consider_token): removed unused variable firsttok.
2649 (prolog_getit): call pfnote with the right number of arguments.
2650
26511993-10-19 Paul Eggert (eggert@twinsun.com)
2652
2653 * rcs2log (printlogline): Don't generate lines containing only
2654 white space.
2655
26561993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2657
2658 * Makefile.in (${archlibdir}):
2659 Install ${SCRIPTS} from ${srcdir}, not cwd.
2660
26611993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2662
2663 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
2664 the comment character.
2665
26661993-10-01 Francesco Potorti` (pot@cnuce.cnr.it)
2667
2668 * etags.c (process_file): dead code removed.
2669 (S_ISREG): #define it using S_IFREG if not defined.
2670 (process_file): regular files have nothing to do with symlinks.
2671
26721993-09-28 Brian Fox (bfox@ai.mit.edu)
2673
2674 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
2675 from current directory. Only chmod and chgrp files that we
2676 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
2677 ${bindir}.
2678 (INSTALLFLAGS): Deleted definition, since it is an unused variable
2679 now.
2680
26811993-09-27 Brian Fox (bfox@ai.mit.edu)
2682
2683 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
2684 configure figure out the correct values for these variables.
2685
26861993-09-14 Brian Fox (bfox@ai.mit.edu)
2687
2688 * Makefile.in (archlibdir): Only install execuatables internally
2689 used by emacs; don't install bindir binaries here.
2690
26911993-09-24 Paul Eggert (eggert@twinsun.com)
2692
2693 * rcs2log: Add -h, -n, -r options.
2694 By default, look for *,v files as well as RCS/*,v files.
2695 Use $TMPDIR (default /tmp) instead of /tmp.
2696
26971993-09-20 Francesco Potorti` (pot at fly)
2698
2699 * etags.c (C_entries): is_func is initialised here instead of in
2700 consider_token for the sake of the yacc rules section.
2701 (C_entries): Now class, struct, enum, union and typedef produce
2702 named tags.
2703
27041993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
2705
2706 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
2707
27081993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2709
2710 * Support configuring in a different directory when ${srcdir} has
2711 already been configured.
2712 * Makefile.in (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before
2713 -I${srcdir} -I${srcdir}/../src.
2714 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
2715 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
2716 is already in CPP_FLAGS.
2717 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
2718 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
2719
27201993-08-25 Paul Eggert (eggert@twinsun.com)
2721
2722 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
2723 otherwise, HP awk complains.
2724
2725 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
2726 are common hangouts for SCCS commands.
2727
27281993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2729
2730 * Version 19.19 released.
2731
27321993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2733
2734 * Makefile.in (make-path): Dep on config.h.
2735
27361993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2737
2738 * b2m.c (TRUE, FALSE): Don't define if already defined.
2739
27401993-08-09 Paul Eggert (eggert@twinsun.com)
2741
2742 * rcs2log (awkscript):
2743 Some sites put comma-separated junk after the fullname.
2744 Remove it, but leave "Bill Gates, Jr" alone.
2745 Remove the junk from fullnames like "0000-Admin(0000)".
2746
27471993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2748
2749 * Version 19.18 released.
2750
27511993-08-04 Francesco Potorti` (pot@spiff.gnu.ai.mit.edu)
2752
2753 * etags.c (L_isdef, L_isquote, L_getit): small optimisations.
2754 (L_funcs): the (foo::defmumble stuff now should work.
2755 (consider_token): function returned random value--corrected.
2756 (C_entries): corrected == versus = typo.
2757
27581993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2759
2760 * etags.c (put_entries): For NODE->rewritten, put pattern before
2761 \177 and name after, not vice versa.
2762
27631993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2764
2765 * timer.c (main): Generate a SIGIO as soon as we've initialized.
2766
27671993-07-30 Francesco Potorti` (pot@cnuce.cnr.it)
2768
2769 * etags.c (FINCST): added the fignore status. Means we are
2770 after the parameter list and before the open curly brace.
2771 Allows correct parsing of C++ constructors.
2772 (C_entries, consider_token): make use of fignore.
2773 (consider_token): reset funcdef when next_token_is_func: when in
2774 ctags mode makes DEFVAR and others work better.
2775 (L_isquote): function that recognises the "(quote" string.
2776 (L_getit): ignore quoting via "'" or "(quote". Useful for defalias.
2777
27781993-07-29 Paul Eggert (eggert@twinsun.com)
2779
2780 * rcs-checkin: Don't check whether a file is readable until we have
2781 decided not to ignore it.
2782
27831993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2784
2785 * Makefile.in (etags): Depend on ../src/config.h.
2786
2787 * emacsserver.c: Include types.h before file.h.
2788
27891993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2790
2791 * Makefile.in (install): Use .n, not .new, for temporary filenames.
2792
27931993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2794
2795 * Version 19.17 released.
2796
27971993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
2798
2799 * etags.c (print_help): Break up the very long strings containing
2800 the help message into shorter strings, to placate chintzy C
2801 compilers which can't handle strings that long.
2802
2803 * wakeup.c: Use CPP tangle from autoconf manual to #include the
2804 correct combination of <time.h> and <sys/time.h>.
2805
28061993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
2807
2808 * etags.c (alloca): removed all references to it.
2809 (main): now calls xnew instead of alloca for portability.
2810 (../src/config.h): included only if HAVE_CONFIG_H.
2811 (const): void definition removed--config.h takes care of it.
2812
28131993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
2814
2815 * etags.c (consider_token): was `==', now is `='.
2816 (consider_token): DEFUNs now treated like funcs in ctags mode.
2817
2818 * etags.c (LEVEL_OK_FOR_FUNCDEF): removed.
2819 (C_entries): optimized the test that used LEVEL_OK_FOR_FUNCDEF.
2820 (C_entries): removed a piece of useless code.
2821 (C_entries): making typedef tags is delayed until a semicolon
2822 is met. This handles "typedef int X, Y, Z;" correctly.
2823
28241993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
2825
2826 * Version 19.16 released.
2827
2828 * b2m.c: #include <sys/types.h>.
2829 (ltoday): Declare this to be time_t.
2830
28311993-06-30 Paul Eggert (eggert@twinsun.com)
2832
2833 * vcdiff: Add -q option.
2834
28351993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2836
2837 * etags.c: #include "config.h" and the alloca CPP tangle before
2838 #including the system headers and getopt.h. AIX requires the
2839 #pragma to come before any actual C code.
2840
28411993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2842
2843 * Makefile.in (ctags): Depend on etags, so that parallel makes
2844 don't write etags.o files on top of each other.
2845
28461993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2847
2848 * version 19.15 released.
2849
28501993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2851
2852 * etags.c (add_node): Move var last_node to file scope.
2853
28541993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2855
2856 * Version 19.14 released.
2857
28581993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2859
2860 Bring mumbleclean targets into conformance with GNU coding standards.
2861 * Makefile.in (distclean): Call clean to do most of the work.
2862 Delete aixcc.c and TAGS.
2863 (realclean): Just call distclean.
1c478461 2864
362bc2da
DL
2865 * Makefile.in: Remember, spaces are not tabs.
2866
28671993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2868
2869 * Makefile.in (CPP_CFLAGS): New variable.
2870 Use it instead of ALL_CFLAGS when compiling a .c file.
2871 (getopt.o, getopt1.o): Add explicit compilation commands.
2872
28731993-06-10 Mark D. Baushke (mdb@cisco.com)
2874
2875 * etags.c: Reinstate old -f option as an alias for -o for
2876 installed base uses.
2877
28781993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2879
2880 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
2881 to bind or accept, cast the pointer, to avoid warnings on systems
2882 which declare prototypes for this.
2883 * emacsclient.c (main): Same.
2884
2885 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
2886
28871993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2888
2889 * Version 19.13 released.
2890
2891 * wakeup.c: Include sys/types.h, too; I think that's where time_t
2892 comes from, not sys/time.h.
2893
28941993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2895
2896 * wakeup.c: Include sys/time.h.
2897
2898 * etags.c: #undef static.
2899
2900 * Version 19.12 released.
2901
2902 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
2903
29041993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2905
2906 * Version 19.11 released.
2907
2908 * timer.c [LINUX]: #undef signal.
2909 * emacsserver.c: #undef signal.
2910
29111993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2912
2913 * wakeup.c (main): Make when a time_t.
2914
29151993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2916
2917 * Makefile.in: (${archlibdir}): Use `(cd foo && pwd)` instead of
2918 `(cd foo ; pwd)` to get the canonical name of a directory; cd
2919 might fail, and have pwd print out the current directory.
2920
2921 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
2922 string-handling functions.
2923
29241993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2925
2926 * Version 19.10 released.
2927
29281993-05-29 Paul Eggert (eggert@twinsun.com)
2929
2930 * rcs2log: When given no file arguments, inspect RCS/.* as well
2931 as RCS/*. Don't report an error if RCS is empty or nonexistent.
2932
29331993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2934
2935 * Makefile.in (timer): Link with $(LOADLIBES).
2936
29371993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2938
2939 * fakemail.c (put_line): Don't output \n\t unless more text follows.
2940
29411993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
2942
2943 * etags.c: Replace the CPP tangle for alloca with the one from the
2944 autoconf documentation, since that's working elsewhere.
2945
29461993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
2947
2948 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
2949 description files can find their ancestors.
2950
29511993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2952
2953 * Makefile.in (install): Get the scripts from ${srcdir},
2954 unlike the executables.
2955 (ALL_CFLAGS): Add -I../src
2956
29571993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
2958
2959 * Version 19.9 released.
2960
29611993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2962
2963 * Makefile.in (install): Do install the programs listed in
2964 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
2965 INSTALLABLE_SCRIPTS, instead of writing the programs out.
2966
2967 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
2968 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
2969
29701993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2971
2972 * etags.c: Include ../src/config.h.
2973
2974 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
2975 in first loop. Delete files from bindir before installing new ones.
2976 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
2977
29781993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2979
2980 * Version 19.8 released.
2981
2982 * make-docfile.c: Doc fix.
2983
29841993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2985
2986 * tcp.c: Fix comment syntax at top of file.
2987 (main): Don't call htons with the port number.
2988
29891993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2990
2991 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
1c478461 2992 appropriate.
362bc2da
DL
2993
2994 * Makefile.in (install): Refer to the variables INSTALLABLES and
2995 INSTALLABLE_SCRIPTS, instead of writing them out.
2996
29971993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2998
2999 * make-path.c (main): Return 0.
3000
30011993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3002
3003 * Version 19.7 released.
3004
30051993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3006
3007 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
3008
30091993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3010
3011 * tcp.c: New file.
3012
30131993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3014
3015 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
3016
30171993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3018
3019 * timer.c (notify): Don't call sighold or sigrelse; they're USG
3020 only. We should really fix this later, but let's just make it
3021 compile for now.
3022
3023 Install patches from David J. Mackenzie to make the srcdir option
3024 work.
3025 * Makefile.in (srcdir, VPATH): Get this value from the top-level
3026 Makefile.
3027 (INSTALLABLES): Split this into two lists - INSTALLABLES and
3028 INSTALLABLE_SCRIPTS.
3029 (INSTALLABLE_SCRIPTS): New list.
3030 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
3031 (${archlibdir}): The scripts to be installed live in the source
3032 tree, not in the object tree.
3033 (test-distrib): Note that the data file lives in the source tree,
3034 not the object tree.
3035 (GETOPTDEPS): Note that getopt.h lives in the source tree.
3036 (all other targets): Change references to source files to use
3037 ${srcdir}, except for config.h, which lives in the object dir.
3038 (timer.o): Note that this depends on ../src/config.h.
3039 * make-docfile.c (main): Add a -d option, to tell it where to find
3040 the source files.
3041 * test-distrib.c (main): Take the name of the distribution file to
3042 test from the command line.
3043
3044 * timer.c: Fix mispellings of get_date function's name.
3045
30461993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
3047
3048 * etags.c (main):
3049 Don't require that there be input files if -i switches were given.
3050
30511993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3052
3053 The GNU coding standards specify that CFLAGS should be left for
3054 users to set.
3055 * Makefile.in (CFLAGS): Put this in the "things configure might
3056 edit" section, and have it default to -g.
3057 (ALL_CFLAGS): New variable, set to all the flags which should be
3058 passed to compilations. Replace all other uses of CFLAGS with
3059 ALL_CFLAGS.
3060 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
3061
3062 * Makefile.in (DEFS): Remove this; it's always just going to be
3063 "-DHAVE_CONFIG_H -Demacs".
3064
30651993-05-03 Paul Eggert (eggert@twinsun.com)
3066
3067 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
3068 /[/]/, so change it to /[\/]/. This should work on all
3069 Posix-compliant awks. It's slightly wrong with traditional awk,
3070 since it matches \ too, but that's a minor problem compared to awk
3071 syntax errors.
3072
30731993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3074
3075 * Makefile.in (ALLOCA): New variable, whose value we should
3076 inherit from the top-level makefile.
3077 (etags, ctags): Include ALLOCA in the list of object files that
3078 these executables depend on and link.
3079
30801993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3081
3082 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
3083
30841993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
3085
3086 * make-docfile.c (write_c_args): Print an argument named "defalt"
3087 as "default".
3088
30891993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3090
3091 * Makefile.in (C_SWITCH_SYSTEM): New variable.
3092 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
3093 compiler.
3094
30951993-03-22 Francesco Potorti` (pot@cnuce.cnr.it)
3096
3097 * etags.c (YACC): flag added to c_ext.
3098 (c_ext): no more a synonim for c_ext&C_PLPL because of YACC.
3099 (find_entries): consistently use streq when reasonable.
3100 (find_entries): a .y file is a yacc file.
3101 (get_C_stab): c_ext becomes c_ext&C_PLPL.
3102 (C_entries): logical cplpl means c_ext&C_PLPL.
3103 (C_entries): logical yacc_rules means we are after the first %%.
3104 (C_entries): added logic for yacc files.
3105
31061993-03-16 Francesco Potorti` (pot@cnuce.cnr.it)
3107
3108 * etags.c (C_entries): ':' case moved to the second switch.
3109 (C_entries): do not examine token if structdef==scolonseen.
3110 (consider_token): structtag set to null string for enum.
3111
31121993-03-12 Francesco Potorti` (pot@cnuce.cnr.it)
3113
3114 * etags.c (GET_COOKIE): and related macros removed.
3115 (logical): is now int, no more a char.
3116 (reg): define deleted.
3117 (isgood, _gd, notgd): deleted.
3118 (gotone): deleted.
3119 (TOKEN): member linestart removed.
3120 (linepos, prev_linepos, lb1): deleted.
3121 (main): call initbuffer on lbs array instead of lb1.
3122 (init): removed the initialisation of the logical _gd array;
3123 (find_entries): a .sa suffix means assembler file.
3124 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
3125 All C state machines rewritten.
3126 (C_entries): complete rewrite.
3127 (condider_token): complete rewrite.
3128 (getline): deleted.
3129
31301993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
3131
3132 * etags.c (C_entries): Added the quotednl logical variable.
3133 Used for parsing of #define's spanning multiple lines.
3134
31351993-02-23 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
3136
3137 * etags.c (C_entries): Save the definedef status even when a
3138 newline is met inside a string.
3139
31401993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
3141
3142 * Makefile.in (EXECUTABLES): added rcs-checkin.
3143
3144 * Makefile.in (unlock, relock): New productions.
3145
31461993-03-16 Paul Eggert (eggert@twinsun.com)
3147
3148 * rcs2log: Some awks don't understand "\r". Code around this.
3149 Unfortunately this requires putting a carriage return in the
3150 source code. Don't assume that rlog will tolerate times like
3151 `10:10:60'; RCS 5.7 won't allow this.
3152
31531993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3154
3155 * timer.c (main): Set the ownership of the stdin file descriptor
3156 to the current process. Print error messages if either of the
3157 fcntl's fails.
3158
3159 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
3160 ../src/config.h), not void.
3161
31621993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3163
3164 * b2m.c (main): Don't exit upon reading a blank line.
3165
31661993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
3167
3168 * etags.c (C_entries): New local variable quotednl. Used for
3169 parsing of #define's spanning multiple lines.
3170
3171 * etags.c (C_entries): Save the definedef status
3172 even when a newline is met inside a string.
3173
31741993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3175
3176 * timer.c (notify): Initialize waitfor properly.
3177
31781993-02-22 Francesco Potorti` (pot@CNUCE.CNR.IT)
3179
3180 * etags.c (C_entries): Don't reset definedef when a newline inside a
3181 comment is met.
3182
31831993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3184
3185 * etags.c (find_entries): If filename ends in .f or .for,
3186 don't try anything but Fortran.
3187
31881993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
3189
3190 * timer.c (notify): Flush stdout after writing message to avoid lossage
3191 on terminals.
3192
3193 (notify): Also, write a newline after the token.
3194
31951992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3196
3197 * Makefile.in (exec_prefix): New variable.
3198 (bindir, libdir): Use it instead of `prefix'.
3199
3200 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
3201
3202 * Makefile.in (libdir): Default to ${prefix}/lib.
3203 (archlibdir): Adjusted to match.
3204
3205 * Makefile.in (distclean): Don't delete backup or autosave files.
3206 (extraclean): Like realclean, but does delete backup and autosave
3207 files.
3208
3209 * Makefile.in (realclean): Ignore errors from rm.
3210
3211 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
3212 that doesn't exist anymore.
3213
32141992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3215
3216 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
3217 described in the top-level Makefile.
3218 (UTILITIES): Add make-path to the list of utility programs.
3219 (../arch-lib): Replaced by the ${archlibdir} target, which places
3220 the executables in their permanent home.
3221 (install, install.sysv, install.xenix): Consolidated into one
3222 target which should work under all circumstances, modulo a few
3223 ignored error messages.
3224
3225 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
3226 a different number of arguments than other DEFVARs, recognize it
3227 specially, and expect the right number of commas.
3228
32291992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3230
3231 * make-path.c: New program, to help with the installation process.
3232 * Makefile.in (make-path): New target.
3233
3234 * make-path.c (touchy_mkdir): Remove debugging output.
3235
32361992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3237
3238 * Makefile.in (getdate.o): Added explicit target for this, so we
3239 can indicate that it depends on ../src/config.h.
3240
32411992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3242
3243 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
3244 instead of CFLAGS.
3245 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
3246
32471992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3248
3249 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
3250 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
3251 that system.
3252
3253 * Makefile.in (arch-lib): Give rm the `-f' option.
3254
32551992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3256
3257 * make-docfile.c (write_c_args): Rewritten to correctly print
3258 &optionals before the first identifier, but after the first paren.
3259 This code used to just wait for commas or spaces; now it notices
3260 identifier boundaries.
3261
32621992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3263
3264 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
3265
32661992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3267
3268 * make-docfile.c (write_c_args): Print the argument lists properly
3269 when the first argument is optional.
3270
32711992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3272
3273 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
3274 Redefine @item. Set catcode of +.
3275
32761992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3277
3278 * emacsclient.c (main): Set IPC_CREAT in msgget call.
3279
32801992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3281
3282 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
3283 (TEX_decode_env): Make `tab' one element longer.
3284
32851992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3286
3287 * etags.c (PF_funcs): Recognize the "entry" keyword.
3288
32891992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3290
3291 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
3292
32931992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3294
3295 * timer.c (events): Rather than having slots marked as in use or
3296 out of use by the `token' field, keep all pending events at the
3297 beginning of the array. When we delete an event in the middle of
3298 the array, we move the last event into its place.
3299 (num_events): New variable.
3300 (schedule): It is now cheaper to find a free event slot;
3301 events[num_events] is the first free slot.
3302 (notify): Scan events[0 .. num_events-1], instead of the whole
3303 array. When an event fires, move the last event in the array into
3304 its spot. Use num_events to determine whether or not there are
3305 any pending events, not wait_for.
3306 (getevent): Deleted unused variable `ep'.
3307 (sigcatch): It's now easier to find all the active events.
3308 (main): Initialize num_events.
3309
3310 * etags.c: Rather than fret about which systems have index and
3311 which systems have strchr, and how to tell the difference between
3312 them, we just write out our own versions. Big deal.
3313 (index, rindex): Extern declarations removed.
3314 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
3315 (etags_index, etags_rindex): New declarations.
3316 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
3317 TEX_getit, substr): Use the etags_*index functions, rather than
3318 the native *index functions.
3319 (rindex, index): Renamed to etags_rindex and tags_rindex, and
3320 made them unconditionally defined, rather than having them depend
3321 on NEED_*INDEX.
3322
3323 * etags.c (savenstr): Add declaration for this at top of file.
3324 (TEX_decode_env): Don't declare it local to this function.
3325
3326 * b2m.c: #include "../src/config.h", so we can test for the USG
3327 macro, and decide whether to include <string.h> or <strings.h>.
3328 * Makefile.in: Note that b2m.c depends on ../src/config.h.
3329
33301992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3331
3332 * timer.c: Reformatted according to the GNU coding standards.
3333 Removed arbitrary limits on the number of events queued and the
3334 length of the tokens used to identify them.
3335 Removed casts to (void).
3336 Removed debugging printfs; they clutter the code, and the need
3337 can be better filled using a real debugger.
3338
33391992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3340
3341 * timer.c: Installed new version from Eric Raymond; this is more
3342 portable, since it doesn't try to use SIGIO.
3343
33441992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3345
3346 * emacsclient.c (main): If we can't find the socket in this
3347 person's home directory, print a message which asks if they've
3348 started the server, instead of just printing the message from
3349 sys_errmsg; Cygnus finds that people are much less confused by
3350 this.
3351
33521992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3353
3354 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
3355 so that index and rindex get defined, why don't we actually
3356 control index and rindex using symbols called "NEED_INDEX" and
3357 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
3358 little more readable than defining something whose name implies
3359 that it's not?
3360
33611992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3362
3363 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
3364 distribution:
3365 Miscellaneous doc fixes.
1c478461 3366 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
3367 (scan_lisp_file): Instead of using long hairy strings of ifs, call
3368 read_lisp_symbol and then see what we got. Call skip_white
3369 instead of writing out a loop to do its job. Correctly extract
3370 docstrings from "defmacro" declarations.
3371
33721992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3373
3374 * movemail.c (strcpy): Declare this to return char *.
3375
33761992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3377
3378 * etags.c (C_entries): When we find a C++ comment, do actually
3379 skip to the end of the line; do a 'break' instead of a 'continue'.
3380
33811992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3382
3383 * etags.c (getit): Add missing parenthesis to expression which
3384 decides if this token is an identifier.
3385
33861992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
3387
3388 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
3389
33901992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3391
3392 * etags.c (put_entries): Always put space between name and line num.
3393
33941992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
3395
3396 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
3397 warning.
3398 (LEVEL_OK_FOR_FUNCDEF): Ditto.
3399
34001992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3401
3402 * make-docfile.c (write_c_args): Pass both arguments to putc.
3403
34041992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
3405
3406 * etags.c (C_entries): Fixed reading of "..." strings.
3407 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
3408 the C library source.
3409
3410 * etags.c (C_entries): When we see a backslash inside a quoted
3411 string, skip to the next character. This allows us to correctly
3412 deal with strings containing quotes.
3413
34141992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3415
3416 * make-docfile.c (write_c_args): Print the C argument names as
3417 they would be written in Elisp; print '_' as '-'.
3418
34191992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3420
3421 * movemail.c [POP]: Get user name via getpwuid.
3422
34231992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3424
3425 * Makefile.in: flags in CC invocations rearranged for no reason.
3426
34271992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3428
3429 * etags.c (print_help): Remember not to imbed raw newlines in
3430 strings - end the lines with `\n\'.
3431
34321992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3433
3434 * timer.c (getevent): Removed declaration of memcpy; since
3435 different systems have different return types, and we're not even
3436 using the return type anyway, it wasn't doing us any good.
3437
34381992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3439
3440 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
3441 type of this function.
3442
34431992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3444
3445 * ChangeLog: Since the old etc contents have been split into etc
3446 and lib-src, the old etc's ChangeLog has been duplicated in the
3447 new etc and lib-src. That means that each contains complete and
3448 coherent information, although each contains extraneous
1c478461 3449 information.
362bc2da
DL
3450
34511992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3452
3453 * lib-src/etags.c: "--no-warning" option renamed to "--no-warn",
3454 to be consistent with other GNU programs, like makeinfo.
3455
3456 * lib-src/Makefile: Renamed to Makefile.in; the configure script
3457 will edit this to produce Makefile.
3458
34591992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3460
3461 * etags.c (print_help, print_version): New functions.
3462 (main): Options added to support them.
3463
3464 * etags.c (longopts): New array of long names for the options.
3465 (main): Recognize them.
3466
34671992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3468
3469 * etags.c (C_entries): Removed comment saying that \" in a string
3470 isn't recognized as magic, because it is correctly handled.
3471
3472 * getopt.c, getopt.h: New files, from GNU C library.
3473 * etags.c: Rewritten to use getopt.
3474 #include "getopt.h".
3475 (file_num): Variable deleted; its role is now played by getopt's
3476 optind.
3477 (main): Argument processing loop rewritten to call getopt to get
3478 next option. Options which take parameters (-o and -i) rewritten
3479 to get parameter from optarg instead of argv[1]. Filename
3480 preprocessing loop and update command changed similarly.
3481 * Makefile (etags, ctags): Depend on and link with getopt.h,
3482 getopt.o, and getopt1.o.
3483 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
3484
3485 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
3486 is non-zero.
3487
3488 (main): In the argument processing loop, the 'goto next_arg'
3489 statements are breaking out of the switch statement in exactly the
3490 same way that a simple 'break' statement would; replace the gotos
3491 with breaks, and remove the label.
3492
34931992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3494
3495 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
3496 (consider_token): Move next_token_is_func to global.
3497
34981992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3499
3500 * Makefile: Conform with GNU coding standards:
3501 (mostlyclean): New target, synonymous with clean.
3502 (TAGS, check): New targets.
3503 (INSTALL, INSTALLFLAGS): New variables.
3504
35051992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3506
3507 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
3508 `config.emacs' to `configure'.
3509
3510 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
3511 * etc/MACHINES: Same.
3512
35131992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3514
3515 * movemail.c (main): Allow tempname to be as long as necessary,
3516 instead of limiting it to 39 characters.
3517
3518 * movemail.c (main): Move declaration of buf from top of function
3519 to local block surrounding the copy loop. This makes it less
3520 likely to be confused with the buf used by the code which checks the
3521 permissions on outname's directory.
3522
35231992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
3524
3525 * SERVICE: Remove my entry.
3526
35271992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
3528
3529 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
3530 hardcoded -g.
3531
3532 * movemail.c (xmalloc): Return char *, not int.
3533 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
3534 that is off by default -- normally don't unlink the mail spool
3535 file, just empty it. Pass creat mode 0600, not 0666.
3536
35371992-02-07 Jim Blandy (jimb at pogo.cs.oberlin.edu)
3538
3539 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
3540 (all): Instead of here.
3541 (install): Don't use the -s option, since people need symbols to
3542 debug code.
3543
35441992-01-19 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil)
3545
3546 * etags-vmslib.c (fn_exp): Add type cast.
3547
35481992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3549
3550 * movemail.c: Changes in comments.
3551
35521992-01-13 Jim Blandy (jimb at pogo.cs.oberlin.edu)
3553
3554 * Makefile: Make the distclean target erase the DOC files from
3555 ../share-lib and the executables from ../arch-lib.
3556
35571992-01-09 Jim Blandy (jimb at pogo.cs.oberlin.edu)
3558
3559 * emacsclient.c: #include <sys/stat.h>
3560 (main): Do declare statbfr.
3561
35621991-12-21 Richard Stallman (rms at mole.gnu.ai.mit.edu)
3563
3564 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
3565 for the socket, depending on SERVER_HOME_DIR.
3566 If using /tmp, put host name in the socket name.
3567
3568 * movemail.c (pfatal_and_delete): New function.
3569 (main, popmail): Use it.
3570 (popmail): Close output before deleting messages.
3571 Check for error on close and on fsync.
3572 Use `fatal' where appropriate.
3573 (main): Remove (void).
3574
3575 * aixcc.lex: New file. Not officially part of Emacs.
3576 * Makefile: Rules for that.
3577
35781991-12-04 Jim Blandy (jimb at pogo.gnu.ai.mit.edu)
3579
3580 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
3581
3582 * etags.c (main): Properly cast call to alloca that initializes
3583 included_files.
3584
35851991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
3586
3587 * etags.c (files_are_tag_tables): Remove global var.
3588 (process_file): Don't test it. Also remove hack checking for a
3589 file named "TAGS".
3590 (main): -i now takes an arg which is the name of a file to include.
3591 Collect these names and emit include tags for them after processing
3592 all the argument files.
3593
35941991-07-30 Richard Stallman (rms at mole.gnu.ai.mit.edu)
3595
3596 * wakeup.c: Terminate if parent goes away.
3597
35981991-07-18 Richard Stallman (rms at mole.gnu.ai.mit.edu)
3599
3600 * etags.c (C_entries): Process token before handling end of line.
3601 When inner loops reach end of line, just back up.
3602 Let the real end of line processing happen in just one place.
3603 (consider_token): Likewise.
3604
36051991-04-11 Jim Blandy (jimb at geech.gnu.ai.mit.edu)
3606
3607 * etags.c (TEX_mode): Skip comments while scanning the text to see
3608 which escape character this file uses.
3609
36101991-03-29 Richard Stallman (rms at mole.gnu.ai.mit.edu)
3611
3612 * emacsserver.c [USG]: Terminate if msgrcv fails.
3613
36141991-03-03 Richard Stallman (rms at mole.ai.mit.edu)
3615
3616 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
3617
36181991-01-25 Jim Blandy (jimb at churchy.ai.mit.edu)
3619
3620 * make-docfile: Find the arguments to a C function correctly,
3621 by not ignoring the character that read_c_string returns. Don't
3622 even try to find argument names for functions that take MANY
3623 or UNEVALLED arguments, since they're a figment of the docstring's
3624 imagination.
3625
36261991-01-14 Jim Blandy (jimb at churchy.ai.mit.edu)
3627
3628 * make-docfile: Read the .elc files generated by the new byte
3629 compiler.
3630
36311990-12-31 Richard Stallman (rms at mole.ai.mit.edu)
3632
3633 * refcard.tex: Use cm fonts, not am, in multi-column mode.
3634
36351990-11-29 Richard Stallman (rms at mole.ai.mit.edu)
3636
3637 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
3638
36391990-11-27 Richard Stallman (rms at mole.ai.mit.edu)
3640
3641 * Makefile (install*): No need to install wakeup.
3642
36431990-11-26 Richard Stallman (rms at mole.ai.mit.edu)
3644
3645 * Makefile (install*): Install emacsclient like etags.
3646
36471990-11-13 Richard Stallman (rms at mole.ai.mit.edu)
3648
3649 * movemail.c (error): Handle 3 args.
3650 (main): Don't check input access if using pop.
3651
36521990-10-16 Richard Stallman (rms at mole.ai.mit.edu)
3653
3654 * etags.c (find_entries): Check for numbers after Scheme suffix.
3655
36561990-10-14 Richard Stallman (rms at mole.ai.mit.edu)
3657
3658 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
3659
36601990-10-09 Richard Stallman (rms at mole.ai.mit.edu)
3661
3662 * Makefile (nemacstool, xvetool): New targets.
3663
36641990-09-26 Richard Stallman (rms at mole.ai.mit.edu)
3665
3666 * emacsclient.c: Include errno.h and define related variables.
3667
36681990-09-23 Richard Stallman (rms at mole.ai.mit.edu)
3669
3670 * emacsclient.c: Change usage message.
3671
36721990-08-30 David Lawrence (tale at pogo.ai.mit.edu)
3673
3674 * emacs.1: Add break before -nw option.
3675
36761990-08-19 David J. MacKenzie (djm at apple-gunkies)
3677
3678 * qsort.c: Replace with GNU version.
3679
36801990-08-14 David J. MacKenzie (djm at apple-gunkies)
3681
3682 * wakeup.c: New program replacing loadst.c.
3683
36841990-08-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3685
3686 * emacsclient.c [USG]: Pass msgsnd only 4 args.
3687
36881990-08-09 David J. MacKenzie (djm at pogo.ai.mit.edu)
3689
3690 * etags.c: Rename `flag' variables for what they do instead of
3691 which option character sets them.
3692
36931990-05-28 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3694
3695 * loadst.c (main): Conditional to get load average on Apollo.
3696
36971990-05-22 Joseph Arceneaux (jla at churchy.ai.mit.edu)
3698
3699 * emacsserver.c: Set the permission on the socket to 0600.
3700
37011990-03-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3702
3703 * emacsclient.c [BSD]: Print clean message for failing getwd.
3704
37051990-03-20 David Lawrence (tale at pogo.ai.mit.edu)
3706
3707 * getdate.y: Use the getdate.y from GNU tar for timer.
3708
37091990-03-18 Jim Kingdon (kingdon at pogo.ai.mit.edu)
3710
3711 * emacsclient.c (main): Don't put brackets around "filename" in
3712 usage message. It isn't optional.
3713
37141990-03-14 Joseph Arceneaux (jla at churchy.ai.mit.edu)
3715
3716 * etags.c (getit): Recognize '$' as beginning identifiers.
3717
37181990-02-22 David Lawrence (tale at pogo.ai.mit.edu)
3719
3720 * emacsserver.c: Renamed from server.c.
3721 * Makefile: Reference emacsserver rather than server.
3722 * MACHINES: Doc fix for new emacsserver name.
3723
37241990-01-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3725
3726 * emacsclient.c: Print program name in error messages.
3727
37281990-01-19 David Lawrence (tale at cocoa-puffs)
3729
3730 * timer.c, getdate.y (new files) and Makefile:
3731 Sub-process support for run-at-time in timer.el.
1c478461 3732 Doesn't yet work correctly for USG.
362bc2da
DL
3733
37341990-01-10 Jim Kingdon (kingdon at pogo)
3735
3736 * MACHINES: Add HP 300 running BSD.
3737
37381990-01-02 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3739
3740 * yow.c: Dynamically allocate buffer; skip header before random
3741 choice to avoid bias toward first item.
3742
37431989-12-24 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3744
3745 * etags.c (readline): Separate out init of `pend'.
3746
37471989-12-17 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3748
3749 * etags.c: Undo changes relating to isgoodhdr.
3750
37511989-12-16 Mosur Mohan (rms at sugar-bombs.ai.mit.edu)
3752
3753 * etags.c (isgoodhdr): New macro.
3754 (_gdh, notgdh): New variable used by that.
3755 (init): Initialize _gdh.
3756 (find_entries): Set header_file.
3757 (consider_token): Use isgoodhdr if in header file.
3758
3759 * etags.c (total_size_of_entries):
3760 Was miscalculating by 1 in rewritten case.
3761
3762 * etags.c (PAS_funcs): One arg to pfnote was missing.
3763
37641989-12-05 Joseph Arceneaux (jla at spiff)
3765
3766 * MACHINES: Change for the ULTRIX entry.
3767
37681989-11-21 Joseph Arceneaux (jla at spiff)
3769
3770 * etags.c (process_file): If file is not regular, return.
3771
37721989-11-06 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3773
3774 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
3775
37761989-10-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3777
3778 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
3779 (main): If HAVE_GETLOADAVG, don't call `nlist'.
3780
37811989-10-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3782
3783 * etags.c (consider_token): Allow any number of typespec keywords
3784 after `typedef', before new type name.
3785 (enum sym_type): Add st_C_typespec.
3786 (C_create_stab): Put typespec kwds in table.
3787
37881989-08-27 Richard Stallman (rms at apple-gunkies.ai.mit.edu)
3789
3790 * etags.c (main): Don't depend on name invoked by.
3791 If CTAGS is not defined, assume it is ETAGS.
3792
37931989-07-31 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3794
3795 * etags.c (L_funcs): Allow package name in define construct,
3796 as in (foo::defmumble name-defined ...).
3797
37981989-07-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3799
3800 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
3801
3802 * Makefile (yow): Depends on ../src/paths.h.
3803
38041989-07-04 Richard Stallman (rms at apple-gunkies.ai.mit.edu)
3805
3806 * etags.c: Fix compilation by moving Pascal after Fortran.
3807
38081989-06-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3809
3810 * movemail.c [USG]: Define F_OK, etc., if not found in header.
3811
38121989-05-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3813
3814 * hexl.c: New file, supports hexl-mode.
3815
38161989-05-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3817
3818 * movemail.c: New compilation flag MAIL_USE_MMDF.
3819
38201989-05-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3821
3822 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
3823 * server.c: Likewise.
3824
3825 * make-docfile.c (scan_c_file): Output argument names at end of string.
3826 (write_c_args): New subroutine.
3827
38281989-04-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3829
3830 * movemail.c: Report failure of flock.
3831
38321989-04-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3833
3834 * etags.c (find_entries): Allow multi-letter extensions for fortran.
3835
38361989-04-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3837
3838 * loadst.c: on bsd4.3, use gettimeofday instead of CPUSTATES.
3839
38401989-03-15 Jeff Peck (rms at sugar-bombs.ai.mit.edu)
3841
3842 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
3843
3844 * emacsstool.1: update to document environment variables.
3845
38461989-02-21 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3847
3848 * etags.c (PAS_funcs): New function by Mosur Mohan.
3849
3850 * movemail.c: On sysv, include unistd.h.
3851
38521989-02-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3853
3854 * b2m.c: New file.
3855
38561989-02-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3857
3858 * etags.c: Prolog support from Sunichirou Sugou
3859
38601989-02-03 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3861
3862 * Makefile (clean): New target.
3863
38641989-01-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3865
3866 * fakemail.c (put_line): Break header lines at 79 cols.
3867
38681989-01-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3869
3870 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
3871 multiple tags per line.
3872
38731989-01-03 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3874
3875 * movemail.c: Check access before doing real work.
3876 Check that outfile is in a writable directory.
3877 On fatal error, delete the lock file.
3878
38791988-12-31 Richard Mlynarik (mly at rice-chex.ai.mit.edu)
3880
3881 * env.c: Add decl for my-index
3882 * etags.c (file-entries): .oak => scheme
3883
38841988-12-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3885
3886 * movemail.c: Use `access' to check input and output files.
3887
38881988-12-28 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3889
3890 * emacsclient.c (main): Ignore all of CWD before first slash.
3891
38921988-12-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3893
3894 * etags.c (readline): Double linebuffer->size outside the xrealloc.
3895
38961988-12-22 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3897
3898 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
3899 * server.c: chmod the socket to 0700.
3900
39011988-12-09 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3902
3903 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
3904 (add_field): Delete comments and turn `<', `>' to spaces
3905 in header lines.
3906 (USE_FAKEMAIL): New customization macro says to make fakemail
3907 not be a no-op even on a BSD system.
3908
39091988-12-01 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3910
3911 * etags.c (consider_token): Skip comments just like whitespace.
3912 Notice `struct', etc. and set strtag for those tokens.
3913 Return 1 for the token following `struct' if an open-brace follows it.
3914 (C_entries): Special handling of token following `struct'
3915 needed because we have probably advanced to the following line
3916 to find the `{'.
3917 (main): New option `T' sets tflag and strflag.
3918 Set both of them by default if eflags.
3919
39201988-11-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3921
3922 * movemail.c: Do fsync before closing output.
3923
39241988-11-29 Richard Mlynarik (mly at pickled-brain.ai.mit.edu)
3925
3926 * movemail.c: Better error message when can't create tempname.
3927 This file needs a great deal of extra error-checking and lucid reporting...
3928
39291988-11-16 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3930
3931 * etags.c: Support assembler code for .s and .a files.
3932 (getit): Allow underscore in a tag.
3933
39341988-11-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3935
3936 * movemail.c: Close output and check errors before deleting input.
3937
39381988-10-01 Richard Stallman (rms at apple-gunkies.ai.mit.edu)
3939
3940 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
3941 whether to prefix it. Handle line number args.
3942
39431988-09-24 Richard Stallman (rms at gluteus.ai.mit.edu)
3944
3945 * etags.c (main): default setting of eflag was backwards.
3946
39471988-09-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3948
3949 * etags.c: New option -i. -f renamed -o.
3950 `-' as input file means read input file names from stdin.
3951 -i spec'd or input file named TAGS means the input file is another
3952 tag table; output an "include" line for it.
3953
39541988-09-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3955
3956 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
3957 New targets install, install.sysv, install.xenix.
3958 This makefile is now responsible for installing executables
3959 and documentation from this directory into system directories.
3960
39611988-09-16 Richard Stallman (rms at corn-chex.ai.mit.edu)
3962
3963 * server.c, emacsclient.c (main): Compute socket name from euid.
3964
39651988-08-04 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3966
3967 * emacsclient.c: Args like +DIGITS are passed through unchanged.
3968
39691988-07-12 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3970
3971 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
3972 * emacsclient.c: Likewise.
3973 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
3974
39751988-06-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3976
3977 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
3978 (istoken) New string-comparison macro.
3979 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
3980
39811988-06-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3982
3983 * etags.c: Changes for VMS.
3984 Always define ETAGS on VMS.
3985 Define macros GOOD and BAD for success and failure exit codes.
3986 (begtk, intk): Allow `$' in identifiers
3987 (main): Don't support -B, -F or -u on VMS.
3988 Alternate loop for scanning filename arguments.
3989 (system): Delete definition of this function.
3990
3991 * etags-vmslib.c (system): Undefine this; VMS now provides it.
3992
39931988-06-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3994
3995 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
3996 around include of param.h. (Like fns.c.)
3997
39981988-05-16 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
3999
4000 * loadst.c (load_average): Move load-average code to this new fn.
4001 Add conditionals to compute load ave on UMAX.
4002
40031988-05-14 Richard Stallman (rms at lucky-charms.ai.mit.edu)
4004
4005 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
4006 with opposite sense.
4007
40081988-05-13 Chris Hanson (cph at kleph)
4009
4010 * emacsclient.c: Delete references to unused variable `out'. This
4011 caused a bus error when used under hp-ux.
4012
40131988-05-06 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
4014
4015 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
4016
40171988-05-04 Richard Stallman (rms at rice-krispies.ai.mit.edu)
4018
4019 * etags.c (find_entries): `.t' or `.sch' means scheme code.
4020
40211988-04-29 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
4022
4023 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
4024
40251988-04-28 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
4026
4027 * movemail.c: #undef close, since config can #define it on V.3.
4028 * emacsclient.c, fakemail.c, loadst.c, server.c: likewise.
4029
40301988-04-26 Richard Stallman (rms at lucky-charms.ai.mit.edu)
4031
4032 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
4033 invalid escape sequences such as `\{'.
4034
4035 * loadst.c: Add `sequent' conditional for file dk.h.
4036
40371988-03-20 Richard M. Stallman (rms at wilson)
4038
4039 * server.c [not BSD and not HAVE_SYSVIPC]: fix error message.
4040
4041 * loadst.c (main) [XENIX]: use /usr/spool/mail, not /usr/mail.