aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorDave Love1999-10-03 20:46:34 +0000
committerDave Love1999-10-03 20:46:34 +0000
commit362bc2da509ff32b029745bd016953ae70d78f12 (patch)
tree2df30114a6571f675a2821415ccd9bffb28c4b0d /lib-src
parente745ede7473e87b93d71858bc1c8447a1307de28 (diff)
downloademacs-362bc2da509ff32b029745bd016953ae70d78f12.tar.gz
emacs-362bc2da509ff32b029745bd016953ae70d78f12.zip
#
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog3773
-rw-r--r--lib-src/README3
-rw-r--r--lib-src/etags.1227
3 files changed, 4003 insertions, 0 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
new file mode 100644
index 00000000000..478e3f3d217
--- /dev/null
+++ b/lib-src/ChangeLog
@@ -0,0 +1,3773 @@
11999-09-27 Dave Love <fx@gnu.org>
2
3 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
4
51999-09-03 Richard Stallman <rms@gnu.org>
6
7 * make-docfile.c: Include config.h not ../src/config.h.
8 (main, fopen, chdir): Add #undef.
9 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
10 (scan_lisp_file): Handle \r like \n.
11
121999-08-30 Andreas Schwab <schwab@gnu.org>
13
14 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
15
16 * emacsserver.c: Include <stdlib.h> if available. Don't declare
17 errno if it's a macro.
18
19 * test-distrib.c: Include <unistd.h> if available.
20
211999-08-29 Richard Stallman <rms@gnu.org>
22
23 * emacsclient.c (print_help_and_exit): Mention --version.
24
251999-08-25 Richard M. Stallman <rms@gnu.org>
26
27 * emacsclient.c (decode_options): Update version output.
28 (print_help_and_exit): Update bug report address.
29
301999-08-13 Richard M. Stallman <rms@gnu.org>
31
32 * emacsclient.c (main): Move the dynamic allocation of
33 system_name outside of the SERVER_HOME_DIR conditional.
34 * emacsserver.c (main): Likewise.
35
361999-08-10 Gerd Moellmann <gerd@gnu.org>
37
38 * grep-changelog: New.
39 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
40
411999-07-12 Richard Stallman <rms@gnu.org>
42
43 * Version 20.4 released.
44
451999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
46
47 * Makefile.in (clean): Remove fns*.el.
48
491999-06-23 Dave Love <fx@gnu.org>
50
51 * etags.c (erlang_attribute): Fix undefined variable usage (after
52 Potorti).
53
541999-05-2 Andrew Innes <andrewi@gnu.org>
55
56 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
57 mapped to _chsize.
58
591999-04-29 Richard M. Stallman <rms@gnu.org>
60
61 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
62
631999-03-30 Dave Love <fx@gnu.org>
64
65 * sorted-doc.c (main): Split up tables. Modify the preamble
66 somewhat.
67
681999-03-05 Geoff Voelker <voelker@cs.washington.edu>
69
70 * makefile.nt: Remove common multiple file compilation commands.
71
721999-02-26 Richard Stallman <rms@gnu.org>
73
74 * Version 20.4 released.
75
76 * Makefile.in (yow): Depend on epaths.h, not paths.h.
77
78 * yow.c: Refer to epaths.h.
79
801999-02-22 Simon Josefsson <jas@pdc.kth.se>
81
82 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
83
841999-01-27 Andrew Innes <andrewi@gnu.org>
85
86 * makefile.nt: Do make version comparison as strings.
87
881999-01-25 Richard Stallman <rms@gnu.org>
89
90 * emacsclient.c (xmalloc): Fix previous change.
91
921999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
93
94 * emacsclient.c (xmalloc): Declare to return long.
95
961999-01-22 Geoff Voelker <voelker@cs.washington.edu>
97
98 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
99 the case of the drive letter.
100
1011999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
102
103 * emacsserver.c (main): Eliminate arbitrary limit on
104 length of system_name.
105
106 * emacsclient.c (main): Eliminate arbitrary limit on
107 length of system_name.
108 (xmalloc): Define unconditionally.
109
1101999-01-12 Darrin B. Jewell <jewell@mit.edu>
111
112 * etags.c (relative_filename): Stop backward search at beginning
113 of string, since non-Unix systems can have absolute paths with no
114 initial slash.
115
1161998-12-08 Geoff Voelker <voelker@cs.washington.edu>
117
118 * makefile.nt: Do string comparision of _NMAKE_VER.
119
1201998-11-03 Theodore Jump <tjump@cais.com>
121
122 * makefile.nt: Compile multiple source files when possible.
123
1241998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
125
126 * Makefile.in: Replace tabs with spaces
127 when they might confuse some Make versions.
128
1291998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
130
131 * emacsclient.c (main): Null-terminate system_name.
132
133 * emacsserver.c (main): Null-terminate system_name.
134
1351998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
136
137 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
138 an error message from POP, mention that it's from POP, to
139 distinguish it from local error messages.
140
1411998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
142
143 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
144 order of messages downloaded from a POP server (e.g., if the
145 server stores messages in mailboxes in reverse order).
146
1471998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
148
149 * Version 20.3 released.
150
1511998-08-11 Paul Eggert <eggert@twinsun.com>
152
153 * rcs2log: Update copyright date and bug report address.
154 (initialize_fullname): Prefer getent if available.
155
1561998-07-30 Paul Eggert <eggert@twinsun.com>
157
158 * lib-src/Makefile.in (REGEXPDEPS, regex.o):
159 Prepend $(srcdir)/ to rule dependencies outside this dir.
160
1611998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
162
163 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
164
1651998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
166
167 * Makefile.in: Properly terminate a comment.
168
1691998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
170
171 * movemail.c (sys_wait): Rename to wait.
172
173 * ntlib.h: Undefine _WINSOCKAPI_.
174
175 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
176
1771998-05-30 Geoff Voelker <voelker@cs.washington.edu>
178
179 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
180
1811998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
182
183 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
184 all file i/o to be in binary mode. Include ntlib.h.
185
1861998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
187
188 * make-docfile.c: Include <unistd.h> for chdir.
189
1901998-04-25 Richard Stallman <rms@psilocin.gnu.org>
191
192 * etags.c (TEX_decode_env): Don't free the value getenv returns.
193
1941998-04-17 Geoff Voelker <voelker@cs.washington.edu>
195
196 * makefile.nt (obj): Update with new files in src.
197 (clean): Delete patch scratch files, optimized compilation dir.
198
1991998-04-08 Dave Love <fx@gnu.org>
200
201 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
202 Irix6, at least.
203
2041998-04-06 Andreas Schwab <schwab@gnu.org>
205
206 Silence -Wimplicit:
207 * movemail.c: Move cancelations up. Include <stdlib.h> if
208 available.
209 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
210 (parse_header): Explicitly declare return type.
211 * emacsserver.c: Include <unistd.h> if available.
212 (main, handle_signals, perror_1, fatal_error): Explicitly declare
213 return types. Add forward declarations.
214 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
215 Don't declare geteuid.
216 (print_help_and_exit): Change return type to void. Forward
217 declare it.
218 * b2m.c: Include <stdlib.h> if available.
219 (main): Explicitly declare return type.
220
2211998-04-03 Richard Stallman <rms@delysid.gnu.org>
222
223 * etags.c (put_entries): Use %ld.
224
225 * b2m.c (fatal): Declare the arg.
226
2271998-04-03 Richard Stallman <rms@psilocin.gnu.org>
228
229 * etags.c (put_entries): Use %ld.
230
231 * b2m.c (fatal): Declare the arg.
232
2331998-03-26 Richard Stallman <rms@psilocin.gnu.org>
234
235 * pop.c (pop_getline): Renamed from getline.
236
2371998-03-05 Richard Stallman <rms@psilocin.gnu.org>
238
239 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
240 for the utilities.
241
2421998-01-23 Dave Love <d.love@dl.ac.uk>
243
244 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
245 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
246 Always make named tags.
247 (Fortran_functions): Grok BLOCK DATA.
248
2491998-01-23 Andreas Schwab <schwab@gnu.org>
250
251 * movemail.c (main): Fix interwoven brace and cpp conditional
252 nesting.
253
2541997-12-04 Karl Heuer <kwzh@delysid.gnu.org>
255
256 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
257 server to contain embedded nulls.
258
2591997-12-03 Paul Eggert <eggert@delysid.gnu.org>
260
261 * movemail.c:
262 (mbx_write) [MAIL_USE_POP]: Disable the code which quotes with a
263 '>' any lines starting with "From " read from the POP server, but
264 leave the code in place, wrapped in #ifdef
265 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
266 because it turns out that something is depending on it. Change
267 suggested by Paul Eggert <eggert@twinsun.com>.
268 Convert the character \037 (^_) at the beginning of a line into
269 the character '^' followed by the character '_', because otherwise
270 Emacs can't parse the resulting file as a valid BABYL file.
271 Change suggested by Paul Eggert <eggert@twinsun.com>.
272
2731997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
274
275 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
276 server to contain embedded nulls.
277
2781997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
279
280 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
281 quotes with a '>' any lines starting with "From " read from the
282 POP server, but leave the code in place, wrapped in #ifdef
283 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
284 because it turns out that something is depending on it. Change
285 suggested by Paul Eggert <eggert@twinsun.com>.
286
287 Convert the character \037 (^_) at the beginning of a line into
288 the character '^' followed by the character '_', because otherwise
289 Emacs can't parse the resulting file as a valid BABYL file.
290 Change suggested by Paul Eggert <eggert@twinsun.com>.
291
2921997-11-22 Richard Stallman <rms@gnu.org>
293
294 * b2m.c: Include getopt.h.
295 (main): Use getopt_long to handle --version and --help.
296
297 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
298
2991997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
300
301 * pop.c (fullwrite): Get rid of an extra call to write. Problem
302 pointed out by Chiaki Ishikawa.
303
3041997-10-16 Dave Love <d.love@dl.ac.uk>
305
306 * etags.c (L_getit): Always make named tags so that Emacs
307 completion on symbols containing `:' etc. works.
308 (get_scheme): Likewise.
309
3101997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
311
312 * pop.c: Use system header files instead of declaring C-library
313 functions explicitly.
314
3151997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
316
317 * Version 20.2 released.
318
3191997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
320
321 * Version 20.1 released.
322
3231997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
324
325 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
326
327 * ntlib.c (getpid): Delete function.
328
3291997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
330
331 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
332
3331997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
334
335 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
336 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
337
3381997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
339
340 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
341
3421997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
343
344 * profile.c (get_time): Cast arg to fprintf.
345
346 * hexl.c (main): Use %08lx instead of %08x in printf because the
347 variable named addresses is long.
348
3491997-08-08 Geoff Voelker <voelker@cs.washington.edu>
350
351 * makefile.nt (lisp): Update paths to lisp files that have moved.
352
3531997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
354
355 * makefile.nt (ctags.obj): New target.
356 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
357
358 * ntlib.h: Add includes.
359 Undo definitions of crt routines from config.h.
360
3611997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
362
363 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
364
3651997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
366
367 * pop.c: Support auto-configuration of both Kerberos V4 and
368 Kerberos V5 for movemail, including detection of V4 and V5 header
369 files and libraries.
370 Include <string.h> when STDC_HEADERS is defined, to get
371 declarations of string functions.
372 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
373 V5 API rather than the old one.
374 [KERBEROS] (socket_connection): Change a constant name from
375 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
376 with a constant in a header file.
377
378 * Makefile.in: Support auto-configuration of both Kerberos V4 and
379 Kerberos V5 for movemail, including detection of V4 and V5 header
380 files and libraries.
381
3821997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
383
384 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
385
386 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
387
3881997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
389
390 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
391
3921997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
393
394 * movemail.c (rindex): Add declaration.
395
396Tue Jul 1 01:09:07 1997 Geoff Voelker <voelker@cs.washington.edu>
397
398 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
399 (movemail.exe): Depend upon and link with getopt files.
400 (obj): Include new source files.
401 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
402 (lisp): Include new and reorganized elisp files.
403
4041997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
405
406 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
407
4081997-06-25 Paul Eggert <eggert@twinsun.com>
409
410 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
411
4121997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
413
414 * b2m.c (readline): Terminate buffer properly when EOF seen.
415 Test for valid pointer before dereferencing it.
416
4171997-05-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
418
419 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
420 defined inside etags.c if HAVE_CONFIG_H is defined.
421
4221997-05-29 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
423
424 * etags.c: (logical): Type name changed to bool.
425 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
426 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
427 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
428 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
429 (longopts): New long options without short counterpart are
430 globals, members, no-globals, no-members. Regexp options are now
431 defined conditionally to ETAGS_REGEXPS.
432 (print_help): Updated.
433
4341997-05-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
435
436 * etags.c (C_entries): Use "." instead of "::" for Java.
437 (consider_token): is_func renamed to is_func_or_var.
438 (C_entries): is_func renamed to funorvar.
439 (C_entries): Initialise tok.named.
440 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
441 get rid of "import", "package" and "friend".
442 (fvdef): Renamed from funcdef. Also some constants renamed. All
443 users changed.
444 (C_entries): Make separate tags for variables separated by comma.
445 (globals, members): New flags.
446 (main, C_entries): Use them.
447 (make_C_tag, C_entries): Make tok a global variable.
448
4491997-05-16 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
450
451 * etags.c (funcdef): New vignore constant.
452 (consider_token, C_entries): Use it to tag global variables.
453 (print_help): Update for global variables.
454 (consider_token, C_entries): Set the len member of token_name.
455 (prolog_pred): Cleanup according to GNU coding standards.
456 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
457 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
458
4591997-05-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
460
461 * etags.c (CHARS, CHAR): New constant and macro.
462 (iswhite, begtoken, intoken, endtoken): Use them.
463 (notinname, _nin, nonam): New macro, array, string.
464 (init): Cleanup and init _nin.
465 (new_pfnote): New function.
466 (make_C_tag) [traditional_tag_style]: Use it.
467 (traditional_tag_style): Costant set to TRUE for now.
468
4691997-05-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
470
471 * etags.c (C_entries, Pascal_functions): Cleanup.
472 (TeX_functions): NULL as a function arg needs a cast.
473 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
474
4751997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
476
477 * etags.c (TeX_functions): Cleaned up.
478 (tex_getit): Removed.
479
4801997-05-13 Paul Eggert <eggert@twinsun.com>
481
482 * rcs2log (files): When computing arguments automatically, ignore
483 non-files within the RCS subdirectory.
484
4851997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
486
487 * etags.c (C_JAVA): New #define.
488 (Cjava_suffixes): .java is Java.
489 (Cjava_entries): New function.
490 (lang_names): Add Java.
491 (sym_type): Add st_C_javastruct for Java.
492 (C_stab_entry): Add `extends' and `implements' keywords.
493 (consider_token, C_entries): Recognise Java structures.
494
4951997-05-12 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
496
497 * etags.c: (Cplusplus_suffixes): .pdb is Postscript with C syntax.
498 (Postscript_suffixes): .ps is Postscript.
499 (lang_names): Add Postscript.
500 (Postscript_functions): New function.
501 (TEX_decode_env): Close minor memory leak.
502 (just_read_file): Correct the char number of the tag.
503
5041997-05-11 Paul Eggert <eggert@twinsun.com>
505
506 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
507 Don't prepend $nl since this causes some shells to generate the
508 empty string when IFS is $nl.
509 (printlogline): Use SOH (octal code 1), not CR, since some
510 PC-based shells mishandle CR.
511 (initialize_fullname): Set NIS_PATH to the empty string before invoking
512 nismatch, in case it's set to some nonstandard value.
513
5141997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
515
516 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
517 read in separate blocks.
518
5191997-04-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
520
521 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
522 (struct linebuffer): New member `len' is the length of the string.
523 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
524 Use it instead of strlen.
525 (TEX_getit): Declare and define unconditionally as static.
526 (TeX_functions): Use if instead of #if TeX_named_tokens.
527 (add_regex): Set RE_INTERVALS flag for regex compilation.
528 (substitute): Code cleanup.
529 (readline_internal): Code cleanup, set new member `len'.
530 (readline): Bug corrected.
531
5321997-04-23 Geoff Voelker <voelker@cs.washington.edu>
533
534 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
535 (obj): Change references of nt*.c files to w32*.c files.
536
5371997-04-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
538
539 * etags.c (xnew): Add support for debugging with chkmalloc.
540 (error): Use this instead of printf whenever possible.
541 (main): Only call xnew after having initialised progname.
542 (substitute): Bad memory corruption error corrected.
543
5441997-04-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
545
546 * etags.c (add_regex): Undo previous change.
547 (relative_filename): Small memory leak closed.
548 (absolute_filename): Cleaned up the code, possibly closing a bug.
549 (absolute_dirname): Always return a newly allocated string.
550
5511997-03-21 Paul Eggert <eggert@twinsun.com>
552
553 * rcs2log (files): Ignore files in RCS directory whose names are
554 of the form ,*, or *_; they are probably RCS lock files.
555 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
556 they are used by rcsfreeze.
557
5581997-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
559
560 * etags.c (add_regex): reset *putbuf before using it.
561
5621997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
563
564 * movemail.c (popmail): Remove some unnecessary function
565 declarations.
566 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
567 into pop_retr, there's no reason to pass in mbx_write, and the
568 file argument can be declared FILE * explicitly. This fixes a
569 compilation problem on systems with 64-bit pointers.
570
5711997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
572
573 * movemail.c: Delete duplicate inclusion of fcntl.h
574 and duplicate #undefs of open, read, write, close.
575
5761997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
577
578 * movemail.c (main): Do not display "[POP-password]" in the usage
579 message when movemail is compiled without POP support.
580 (main, popmail): Add the optional "-p" argument, which causes
581 movemail to leave mail in the inbox after copying it into the
582 output file.
583
584 * Makefile.in (movemail): Link with getopt.
585
5861997-01-20 Paul Eggert <eggert@twinsun.com>
587
588 * rcs2log: (--help, --version): New options, per GNU coding standards.
589 (Copyright, Help, Id): New variables, for above.
590 (rlog): Use -q option with cvs log, to avoid useless chatter.
591
592 Treat logs of "Initial revision" (RCS) or "file F was initially added
593 on branch B." (CVS) as if they said "New file.", for consistency with
594 change log entries.
595
5961997-01-01 Paul Eggert <eggert@twinsun.com>
597
598 * vcdiff (PATH): Add /usr/xpg4/bin,
599 where XPG4 SCCS hangs out in Solaris 2.5.
600 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
601
6021996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
603
604 * etags.c (streq, strneq): Use == NULL rather than !.
605
6061996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
607
608 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
609 (movemail): Use LIBMAIL, to link against -lmail.
610
611 * movemail.c: Include maillock.h (conditionally).
612 Remove a redundant inclusion of <stdio.h>.
613 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
614 (main): Add variable spool_name.
615 Support the usage of maillock and mailunlock to
616 lock and unlock mailboxes.
617 (mail_spool_name): New function.
618
619 * movemail.c: Fix an uninitialized variable which could cause
620 movemail to exit with an error status incorrectly on systems which
621 use lock files rather than a system locking function to lock
622 mailboxes.
623
6241996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
625
626 * pop.c (socket_connection): Free realhost after using it.
627
6281996-12-04 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
629
630 * etags.c (C_entries): Test tok.valid. This handles some
631 particular cases involving function declarations that failed.
632
6331996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
634
635 * pop.c (socket_connection):
636 gethostbyname may return a pointer to static data.
637 krb_realmofhost can clobber it. So copy it.
638
6391996-11-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
640
641 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
642 must cast it to (char *) because we have no prototypes.
643 (make_C_tag): Macro deleted, new function.
644 (C_entries): Calls to make_C_tag macro changed to call function.
645
6461996-11-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
647
648 * etags.c (grow_linebuffer): New function.
649 (GROW_LINEBUFFER): Macro deleted. All callers changed.
650 (make_tag): Macro renamed to make_C_tag. All callers changed.
651 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
652 (Prolog_functions): prolog_skip_comment was called with wrong
653 number of arguments.
654 (xrealloc): fatal was called with wrong number of arguments
655
6561996-11-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
657
658 * etags.c (relative_filename): Bug corrected.
659 (etags_getcwd): Avoid warning of unused variable.
660 (C_entries, consider_token): Added support for enum labels.
661
6621996-11-03 Paul Eggert <eggert@twinsun.com>
663
664 * rcs2log: When processing cvs log output, remove `Attic/' from
665 repository file names.
666
6671996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
668
669 * emacsserver.c: Fix 1996-09-02 change.
670
6711996-10-12 Paul Eggert <eggert@twinsun.com>
672
673 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
674 option', since CVS says 'invalid option'.
675 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
676 revisions, since some hosts reject 1970-01-01 when east of UTC.
677 (date): Remove.
678
6791996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
680
681 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
682
6831996-10-02 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
684
685 * etags.c (print_version): Print copyright info.
686
687 * etags.c (print_help): Print the bug reporting address.
688 (main): Use return as the last instruction, instead of exit.
689
690 * etags.c (main): Don't open the tags file in cxref mode.
691
6921996-09-29 Dave Love <d.love@dl.ac.uk>
693
694 * rcs2log (date): Make default format acceptable to CVS post v1.8
695 as well as earlier CVSs and RCS.
696
6971996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
698
699 * movemail.c (main): If the lock call fails with EBUSY or
700 EAGAIN, retry a few times.
701
7021996-09-25 Paul Eggert <eggert@twinsun.com>
703
704 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
705 whether to append -zLT.
706
7071996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
708
709 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
710 * emacsclient.c, movemail.c: Likewise.
711
7121996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
713
714 * emacsclient.c (longopts): Change nowait to no-wait.
715 (print_help_and_exit): Fix option name; upcase metavars.
716
7171996-09-06 Erik Naggum <erik@naggum.no>
718
719 * emacsserver.c (main): Declare `fromlen' as size_t.
720
7211996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
722
723 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
724
7251996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
726
727 * emacsclient.c (quote_file_name): Quote with &, not \.
728 Quote `-' only at start of file name. Terminate the value string.
729
730 * emacsserver.c: Include signal.h properly;
731 delete the duplicate includes for it.
732
733 * emacsserver.c: On fatal signal, delete socket-file:
734 * emacsserver.c: Include signal.h.
735 (xmalloc, fatal, error): New functions.
736 (delete_socket, handle_signals): New functions.
737 (progname, socket_name): New variables.
738 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
739
7401996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
741
742 * emacsclient.c (quote_file_name): New function.
743 (main, both versions): Use quote_file_name.
744 (decode_options): Don't return a value.
745 (main, both versions): Use optind.
746 Don't check for -nowait here.
747
748 * emacsclient.c (decode_options): New function.
749 (main, both versions): Call decode_options.
750 (print_help_and_exit): New function.
751 (VERSION): New macro.
752
753 * Makefile.in (emacsclient): Link with getopt.
754 Add -DVERSION so emacsclient knows its version number.
755
7561996-08-31 Geoff Voelker <voelker@cs.washington.edu>
757
758 * makefile.nt (lisp): Include dos-nt.elc.
759
7601996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
761
762 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
763
7641996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
765
766 * emacsclient.c (both versions): Handle -nowait and --nowait
767 by sending data to the server.
768
7691996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
770
771 * Makefile.in (INSTALL_STRIP): New variable.
772 (${archlibdir}): Use INSTALL_STRIP.
773
774 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
775 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
776
777 * pop.c: Reverse conditional in previous change.
778
7791996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
780
781 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
782
7831996-08-24 Paul Eggert <eggert@twinsun.com>
784
785 * rcs2log: Use ISO 8601 date format, with time zone appended
786 if change-log-time-zone-rule is non-nil, instead of
787 traditional Unix date format.
788
789 (datearg): When computing default from ChangeLog, handle ISO format
790 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
791 Don't worry about hh:mm:ss since the resolution is now by day.
792 Use emtpy datearg, not empty rlog_options, to decide whether to pass
793 "$datearg" option to $rlog.
794 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
795 (month_data): Remove `mo'; no longer needed.
796 (rlog_options): Use -zLT for localltime output, if `rlog' supports it.
797
798 Match `revision' line of rlog output more accurately.
799
800 Add -c, -v options.
801
8021996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
803
804 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
805
8061996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
807
808 * Version 19.33 released.
809
8101996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
811
812 * Version 19.32 released.
813
8141996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
815
816 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
817 computing character positions in source files.
818
8191996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
820
821 * makefile.nt (clean): Use OBJDIR macro.
822
8231996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
824
825 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
826
8271996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
828
829 * cvtmail.c, sorted-doc.c, yow.c: [__GNU_LIBRARY__]: Use <string.h>.
830 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
831 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
832
8331996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
834
835 * ntlib.h: Correct return type of getwd.
836 * ntlib.c (getwd): Correct return type.
837
8381996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
839
840 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
841 to infile.
842
8431996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
844
845 * makefile.nt: Remove all references to wakeup.
846
8471996-06-28 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
848
849 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
850 explicit, mutable, typename.
851
8521996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
853
854 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
855 streams, one for sending and one for reading the reply.
856
8571996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
858
859 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
860 (wakeup): Target deleted.
861 (UTILITIES): Delete wakeup and timer.
862
863 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
864
8651996-06-11 Geoff Voelker <voelker@cs.washington.edu>
866
867 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
868 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
869
8701996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
871
872 * etags.c (main): Copy cwd when appending slash.
873
8741996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
875
876 * Version 19.31 released.
877
8781996-05-17 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
879
880 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
881 (Pascal_functions): Increase linecharno by the correct number of
882 chars, inline the GET_NEW_LINE macro and delete its definition.
883
8841996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
885
886 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
887
8881996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
889
890 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
891 (movemail.exe, fakemail.exe): Now built under Win32.o
892
893 * ntlib.c: Include ntlib.h.
894 (nt_sleep): Rename to sleep.
895 (getwd): Return directory.
896 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
897 sys_ctime, sys_fopen): New functions.
898
899 * ntlib.h: New file.
900
9011996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
902
903 * pop.c (SEND, RECV): Renamed from send, recv.
904 (pop_open, pop_trash): Make the trash_started code unconditional.
905 (socket_connection): Delete casts to void.
906
9071996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
908
909 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
910 copied from lisp.h.
911
9121996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
913
914 * fakemail.c [WINDOWSNT]: Include ntlib.h.
915
916 * hexl.c [DOSNT]: Include fcntl.h.
917 [WINDOWSNT]: Include io.h.
918 (main) [MSDOS]: Change conditional to DOS_NT.
919
920 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
921 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
922 [WINDOWSNT]: Include locking.h.
923 (main): Update usage message. Use IS_DIRECTORY_SEP.
924 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
925 (main) [WINDOWSNT]: Invoke locking instead of flock.
926 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
927 (main) [MAIL_USE_POP]: Pass password to popmail if used.
928 Include winsock.h; don't include unix inet headers.
929 (popmail): Add password argument and pass it to pop_open.
930 Open output file in binary mode.
931
932 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
933 Macro SOCKET_ERROR undefined.
934 Don't declare h_errno.
935 [!WINDOWSNT]: Define macros recv and send.
936 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
937 (pop_open) [WINDOWSNT]: Initialize trash_started.
938 (have_winsock) [WINDOWSNT]: New variable.
939 (socket_connection) [WINDOWSNT]: Initialize winsock.
940 (socket_connection): Use closesocket instead of close.
941 (getline): Use recv instead of read.
942 (fullwrite): Use send instead of write.
943 (pop_trash): Use closesocket instead of close.
944 (pop_trash) [WINDOWSNT]: Cleanup winsock.
945 Check if being called recursively by sendline.
946
947 * pop.h (struct _popserver): New field trash_started.
948
949 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
950
9511996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
952
953 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
954
9551996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
956
957 * etags.c [WINDOWSNT]: Include io.h.
958
9591996-04-10 Geoff Voelker <voelker@cs.washington.edu>
960
961 * makefile.nt (CTAGSOBJ): Compile with regexp support.
962
9631996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
964
965 * hexl.c [DJGPP v2]: Include io.h.
966 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
967
968 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
969 DJGPP v2.
970
9711996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
972
973 * etags.c (absolute_filename): Use absolutefn.
974
9751996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
976
977 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
978 letter isn't an alphabetic character.
979 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
980 (process_file) [DOS_NT]: Convert all slashes to forward style.
981 (absolute_filename) [DOS_NT]: Emit error message for relative
982 paths with a drive letter.
983 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
984 DOS/NT drive letters which try to reference the parent of the root.
985 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
986
9871996-03-27 Geoff Voelker <voelker@cs.washington.edu>
988
989 * makefile.nt: Change uses of del to $(DEL).
990
9911996-03-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
992
993 * etags.c (just_read_file): Reset lineno and charno on entry.
994
9951996-03-15 Anders Lindgren <andersl@csd.uu.se>
996
997 * etags.c: Prolog language totaly rewritten.
998 (Prolog_functions): Rewritten from scratch.
999 (skip_comment, prolog_getit): Removed.
1000 (prolog_skip_comment): New function, like old skip_comment.
1001 (prolog_pred, prolog_atom, prolog_white): New functions.
1002 (erlang_func, erlang_attributes): Forward declarations added.
1003 (erlang_atom): Check if backslash ends line inside quoted atom.
1004
10051996-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1006
1007 * etags.c (absolutefn): DOS_NT version corrected.
1008 (main): Append "/" to the dir name only if not already there.
1009 (print_help): Explain the absolute/relative file name issue.
1010
10111996-03-08 Anders Lindgren <andersl@csd.uu.se>
1012
1013 * etags.c: New Languange Erlang added.
1014 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom,
1015 erlang_white): New functions.
1016 (Erlang_suffixes): New suffix list.
1017 (lang_names): Erlang entry added.
1018 (prolog_getit): Accepts headers spanning several lines.
1019 Always name tags.
1020 (Prolog_functions): Removed incorrect compensation for
1021 newline characters.
1022 (readline_internal): Zero-terminate last line.
1023
10241996-03-20 Mike Long <mike.long@analog.com>
1025
1026 * b2m.c (main): Initialize progname variable before using it.
1027 Quote `username' in From_ header.
1028
10291996-03-18 Geoff Voelker <voelker@cs.washington.edu>
1030
1031 * ntlib.c (getpid): New function.
1032
10331996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1034
1035 * emacsclient.c (main, both definitions):
1036 Print a newline for normal termination.
1037
10381996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
1039
1040 * tcp.c (main): Convert port to network byte order.
1041
10421996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
1043
1044 * pop.c (pop_retrieve, getline): Avoid type clashes.
1045
10461996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
1047
1048 * etags.c (enum sym_type, anonymous enum): Delete final comma.
1049
10501996-01-15 Paul Eggert <eggert@twinsun.com>
1051
1052 * rcs2log (initialize_fullname): Add support for NIS+.
1053 (hostname): Fully qualify the default hostname with the domainname
1054 if the hostname lacks a `.'.
1055
10561996-01-15 Paul Eggert <eggert@twinsun.com>
1057
1058 * rcs2log (initialize_fullname): Add support for NIS+.
1059 (hostname): Fully qualify the default hostname with the domainname
1060 if the hostname lacks a `.'.
1061
10621996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
1063
1064 * etags.c (consider_token): Fix typo in expression.
1065
10661996-01-04 Paul Eggert <eggert@twinsun.com>
1067
1068 * etags.c (substitute): Fix spelling in message.
1069
10701996-01-03 George V. Reilly <georger@microcrafts.com>
1071
1072 * makefile.nt (etags, ctags): Compile with regexp support.
1073 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
1074 subdirectory exists before compiling.
1075
10761996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
1077
1078 * emacsserver.c (main): Do chmod based on existing permission.
1079
10801995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1081
1082 * Makefile.in (install): Turn on read/execute permission.
1083
10841995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1085
1086 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
1087 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
1088
10891995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1090
1091 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
1092
10931995-12-07 Francesco Potorti` <pot@cnuce.cnr.it>
1094
1095 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
1096 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
1097 get_scheme, prolog_getit): Name the tag in ctags mode.
1098 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
1099 (Perl_interpreters): Accept "@PERL@" as an interpreter.
1100 (suggest_asking_for_help): New function.
1101 (main, get_language_from_name): Use suggest_asking_for_help.
1102 (main): Let get_language_from_name make language existence check.
1103 (streq, strneq): Check the arguments #if DEBUG.
1104
11051995-12-06 Francesco Potorti` <pot@cnuce.cnr.it>
1106
1107 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
1108 (gperf): Added keywords for Objective C and GNU macros.
1109 (sym_type): Added values to account for Objective C and GNU macros.
1110 (begtk): The '@' character can start a token.
1111 (objdef, methodlen, objtag): New variables for Objective C.
1112 (consider_token, C_entries): Added code for Objective C.
1113 (plain_C_suffixes): Add .m and .lm for Objective C.
1114 (Yacc_suffixes): Add .ym for Objective yacc.
1115 (GROW_LINEBUFFER): New macro.
1116 (consider_token, C_entries, Pascal_functions): Use the new macro.
1117 (consider_token): Take one more argument. Caller changed.
1118 (consider_token): Use the hashing function to spot GNU macros.
1119 (C_entries): Consider // as a comment start even in plain C for
1120 the sake of Objective C parsing.
1121
11221995-12-04 Francesco Potorti` <pot@cnuce.cnr.it>
1123
1124 * Makefile.in (ctags): depend on etags only for simplicity;
1125 compile with regexp support enabled.
1126
11271995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1128
1129 * Version 19.30 released.
1130
11311995-11-22 Geoff Voelker <voelker@cs.washington.edu>
1132
1133 * makefile.nt (DOC, clean): Don't use switches to del not
1134 supported by Windows 95.
1135
11361995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1137
1138 * Makefile.in (regex.o): Depend on ../src/config.h.
1139
11401995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1141
1142 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
1143 (LOADLIBES): Use LIB_STANDARD.
1144
11451995-11-07 Kevin Gallo <kgallo@microsoft.com>
1146
1147 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
1148 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
1149 Windows 95 conditional.
1150
11511995-11-06 Francesco Potorti` (pot@cnuce.cnr.it)
1152
1153 * etags.c (get_lang_from_name, get_lang_from_interpreter,
1154 get_lang_from_suffix): New functions.
1155 (get_language): Function deleted.
1156 (lang_entry): Two members added to struct.
1157 (lang_names): Reflect the new layout of lang_entry.
1158 (print_language_names, main, find_entries): Use the new functions.
1159 (find_entries): Look at the first line for #! if no language.
1160 (C_entries): Invalidate the token when funcdef is reset.
1161 (Perl_functions): New function.
1162 (lang_suffixes): .pl and .pm are Perl suffixes.
1163
11641995-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
1165
1166 * etags.c (lowcase): Use the standard tolower function.
1167 (substitute): Remove some wrong and some useless code related with
1168 escape `\` character in regexp replacement string.
1169 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
1170 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
1171 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
1172 .prolog for prolog (.pl removed).
1173 (massage_name, etags_getcwd): Use lowcase instead of tolower.
1174 (C_entries, find_entries): Added comments about memory leakage.
1175 (add_node): Dead code removed.
1176
11771995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1178
1179 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
1180 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
1181
11821995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1183
1184 * test-distrib.c: Add #undef for open, close, read, write.
1185
11861995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1187
1188 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
1189 [! O_RDONLY]: Define it to zero.
1190 (main): Use O_RDONLY instead of explicit zero.
1191
11921995-08-17 Francesco Potorti` (pot@cnuce.cnr.it)
1193
1194 * etags.c (Pascal_functions): Close comment bug corrected.
1195 (add_node): Correctly compare node file names.
1196 (Pascal_functions): Correctly allocate and free memory for tline.
1197 (pfnote): Put the definition of fp in the innermost block.
1198 (NODE): `named' member removed.
1199 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1200 use the `named' member, check whether `name' is NULL instead.
1201 (pfnote): `named' argument removed, all callers changed.
1202 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
1203 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1204 removed from pfnote call, some code cleanup.
1205 (relative_filename): Free temporary space allocated by concat.
1206
12071995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1208
1209 * Makefile.in (getdate.c): New target.
1210 (getdate.o): Just compile getdate.c.
1211
12121995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
1213
1214 * fakemail.c (xrealloc): Change cast to match return type.
1215
12161995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1217
1218 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
1219
12201995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1221
1222 * movemail.c (main): Fix previous change.
1223 Add error check for empty OUTNAME.
1224
12251995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1226
1227 * movemail.c (main): Mention lock file name in error message.
1228
12291995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1230
1231 * profile.c (gettimeofday): New function, defined if necessary.
1232
12331995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1234
1235 * Makefile.in: Renamed from Makefile.in.in.
1236 (distclean): Delete Makefile.c, not Makefile.in.
1237
12381995-07-17 Michael Shields <shields@tembel.org>
1239
1240 * Makefile.in.in (tags): Synonym for `TAGS'.
1241
12421995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
1243
1244 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
1245 configure has already set $(INSTALL) to the proper relative path.
1246
12471995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
1248
1249 * etags.c (plain_C_entries): new function.
1250 (lowcase): new macro.
1251 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
1252 (lang_suffixes): new suffix ".pc" for Pro*C files.
1253 (consider_token): don't tag all tokens beginning with DEFUN & Co..
1254 (tail): look for the end of the token when comparing.
1255 (takeprec): since now tail behaves differently, use strneq.
1256
12571995-07-08 Paul Eggert <eggert@twinsun.com>
1258
1259 * rcs2log (datearg): Separate date from time with comma, not space,
1260 to work around CVS 1.5 bug.
1261 (CVSROOT): Don't abort when unset if repository is absolute.
1262
12631995-07-07 Paul Eggert <eggert@twinsun.com>
1264
1265 * rcs-checkin, rcs2log, vcdiff:
1266 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
1267 that interpret `#! /' as a 4-byte magic number.
1268
12691995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
1270
1271 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
1272 mailbox with "po:mailbox", the mailbox is everything after the
1273 "po:" prefix.
1274
12751995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1276
1277 * emacsserver.c: Make all error messages start with `Error: '.
1278 (fatal_error, perror_1): New functions, use throughout.
1279
12801995-06-28 Paul Eggert <eggert@twinsun.com>
1281
1282 * rcs2log (CVSROOT, repository):
1283 Allow remote repositories a la CVS 1.4.
1284
12851995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
1286
1287 * etags.c (plain_C_entries): new function.
1288 (lowcase): new macro.
1289 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
1290 (lang_suffixes): new suffix ".pc" for Pro*C files.
1291 (consider_token): don't tag all tokens beginning with DEFUN & Co..
1292 (tail): look for the end of the token when comparing.
1293 (takeprec): since now tail behaves differently, use strneq.
1294
12951995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1296
1297 * movemail.c (main): Add newline in usage message.
1298
12991995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1300
1301 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
1302
13031995-06-21 Francesco Potorti` (pot@cnuce.cnr.it)
1304
1305 * etags.c (find_entries): Rewind before rereading the input file.
1306
13071995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1308
1309 * Version 19.29 released.
1310
1311 * make-docfile.c (main) [MSDOS]: Do set _fmode.
1312 This undoes part of the previous change.
1313
13141995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1315
1316 * make-docfile.c (main): On MSDOS, don't change stdout
1317 to binary, and insist on an -o option.
1318
13191995-06-13 Geoff Voelker <voelker@cs.washington.edu>
1320
1321 * etags.c (process_file,absolute_filename): Handle filenames
1322 starting with a drive letter.
1323
1324 * makefile.nt (install): Copy wakeup.exe properly.
1325
13261995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
1327
1328 * make-docfile.c [MSDOS]: #undef chdir.
1329
13301995-06-04 Paul Eggert <eggert@twinsun.com>
1331
1332 * rcs2log (output_authors): Allow ':' in time zone,
1333 as per ISO 8601 and RCS 5.6.8 beta.
1334
13351995-05-29 Francesco Potorti` (pot@cnuce.cnr.it)
1336
1337 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
1338 compatibility problems.
1339
13401995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
1341
1342 * etags.c (etags_getcwd): Don't use #elif.
1343 Have just one function body.
1344
13451995-05-25 Geoff Voelker <voelker@cs.washington.edu>
1346
1347 * makefile.nt (LIBS): Use BASE_LIBS.
1348 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
1349 upon LIBS.
1350 (DOC): Use del instead of rm.
1351 (DOC) [WINDOWS95]: Use DOC.
1352 (clean): Handle MSVC aux files.
1353 (config.h,paths.h): Use $(CP) instead of cp.
1354 (config.h): Use $(CONFIG_H)
1355 (make-docfile.obj): Depend upon config.h.
1356 Clean up comments.
1357
13581995-05-23 Francesco Potorti` (pot@cnuce.cnr.it)
1359
1360 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
1361 former gives the true path even in the presence of simlinks.
1362
13631995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1364
1365 * movemail.c (main): Increase lock timeout to five minutes.
1366
13671995-05-06 Geoff Voelker <voelker@cs.washington.edu>
1368
1369 * makefile.nt (obj): Use .c files.
1370
13711995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1372
1373 * make-docfile.c: Include config.h.
1374 (NO_SHORTNAMES): New definition.
1375 (xmalloc): Return long *.
1376
1377 * etags.c (C_entries): Cast result of xrealloc.
1378 (xmalloc, xrealloc): Declare them to return long *.
1379
1380 * b2m.c (xmalloc, xrealloc): Declare them long *.
1381
1382 * movemail.c (xmalloc): Declare it to return long *.
1383
13841995-04-30 Paul Eggert <eggert@twinsun.com>
1385
1386 * rcs2log (datearg): If rlog options are specified explicitly,
1387 omit the implicit '-d>DATE' option.
1388 (repository, rlog): Allow absolute paths to CVS repositories.
1389 Look only at the first line of CVS/Repository.
1390
13911995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
1392
1393 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
1394 realclean.
1395
13961995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1397
1398 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
1399 Alternative (empty) definitions.
1400
14011995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1402
1403 * emacsclient.c (main): Add argv[0] to an error message.
1404
14051995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
1406
1407 * emacsclient.c (main): Improve error handling.
1408 * cvtmail.c (main, skip_to_lf): Improve error handling.
1409 (sysfail): New function.
1410
1411 * b2m.c (main): Check for trailing ", " before trying to delete it.
1412
14131995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1414
1415 * Makefile.in.in (all): Build test-distrib and make-docfile.
1416
1417 * make-docfile.c (scan_c_file): At end, restore file name last char
1418 to its original value.
1419
14201995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1421
1422 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
1423
14241995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1425
1426 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
1427 (alloca.o, regex.o): Use BASE_CFLAGS.
1428
14291995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1430
1431 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
1432
14331995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
1434
1435 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
1436 (SOURCES, distclean): Removed obsolete references to aixcc.
1437
14381995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1439
1440 * aixcc.lex: File deleted--surely obsolete now.
1441
14421995-03-23 Paul Eggert <eggert@twinsun.com>
1443
1444 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
1445 portability to mawk and nawk.
1446
14471995-03-21 Paul Eggert <eggert@twinsun.com>
1448
1449 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
1450 -u "login<tab>fullname<tab>mailaddr".
1451
14521995-03-21 Paul Eggert <eggert@twinsun.com>
1453
1454 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
1455 replaces the (now obsolescent) -n login fullname mailaddr option.
1456 Add -R option for recursive rlog.
1457 (AWK): New environment variable (default `awk') for awk program name.
1458 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
1459 Quote authors and fullnames correctly.
1460 Don't omit path from repository root when logging CVS files.
1461
14621995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1463
1464 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
1465 even if HAVE_SYSVIPC.
1466 * emacsclient.c (main): Use getcwd if not BSD.
1467
14681995-03-13 Francesco Potorti` (pot@cnuce.cnr.it)
1469
1470 * etags.c (process_file): free (filename) after using it.
1471 (readline_internal): Do not access the char before start of line.
1472
14731995-02-22 Francesco Potorti` (pot@cnuce.cnr.it)
1474
1475 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
1476 savetok.valid. Mark token as valid when it is initialised.
1477 (make_tag): Make token only if token is valid and reset validity.
1478 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
1479 (TOKEN): Added a new member: valid.
1480
14811995-02-15 Francesco Potorti` (pot@cnuce.cnr.it)
1482
1483 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
1484 (main): Do not read twice the last filename in the stdin file list.
1485
14861995-02-14 Francesco Potorti` (pot@cnuce.cnr.it)
1487
1488 * etags.c (C_entries): Initialise the new members of TOKEN.
1489 (C_entries): Do not allocate a new space for each token found by
1490 consider_token. Let make_tag do that instead.
1491 (make_tag): Since now TOKEN has memory of where it is taken from,
1492 this new macro substitutes both make_tag_from_new_lb and
1493 make_tag_from_oth_lb. All callers changed.
1494 (TOKEN): Add linepos and buffer members.
1495 (main): Initialise token_str.
1496 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
1497 (token_str): New global variable used by C_entries.
1498
14991995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
1500
1501 * Makefile.in.in (maintainer-clean): Renamed from realclean.
1502
15031995-02-01 Francesco Potorti` (pot@cnuce.cnr.it)
1504
1505 * etags.c (pfnote): Initialise been_warned in the node.
1506 (C_entries): Removed a speed hack for the sake of clarity.
1507
15081995-01-18 Francesco Potorti` (pot@cnuce.cnr.it)
1509
1510 * etags.c (longopts, print_help, main): Use -I as abbreviation
1511 for the --ignore-indentation option.
1512 (main): Do not print an error message for unknown options.
1513
15141995-01-12 Francesco Potorti` (pot@cnuce.cnr.it)
1515
1516 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
1517 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
1518 constantypedefs, update, vgrind_style, no_warnings,
1519 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
1520 (permit_duplicates): Was a var, now a #define.
1521 (filename_lb): Was global, now local to main.
1522 (main): Open the tag file when in cxref mode.
1523 Use a BUFSIZ size buffer for making the shell commands.
1524 Look at the return value from the system routine.
1525 Exit when cannot open the tag file.
1526 (process_file): Open the file and pass the FILE* to find_entries.
1527 (find_entries): Now void, because does not open the file itself.
1528 (pfnote): Recovering from lack of memory does not work. Removed.
1529 Use savenstr and simplify the code.
1530 (free_tree): Only free the name space if node is named.
1531 (structtag): Now a pointer, not a fixed length array of chars.
1532 (consider_token): Don't take a token as argument. Use savenstr
1533 when saving a tag in structtag. Callers changed.
1534 (TOKEN): Structure changed. Now used only in C_entries.
1535 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
1536 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
1537 (pfcnt): Deleted. Users updated.
1538 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
1539 TEX_getit, prolog_getit): Use dinamic allocation for storing
1540 the tag instead of a fixed size buffer.
1541
15421995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1543
1544 * movemail.c (main): Skip past the colon in inname.
1545
15461995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
1547
1548 * etags.c (pfatal): New function.
1549 (main, etags_getcwd): Use pfatal.
1550 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
1551
15521995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
1553
1554 * etags.c (Lang_function): Use void instead to declare the
1555 language functions, because many compilers are buggy.
1556 (etags_getcwd): Fix the previous fix on the #else branch.
1557 (readline_internal): Discard possible \r before \n here.
1558 (C_entries): Do not deal with \r here: undo previous fix.
1559
15601995-01-09 Francesco Potorti` (pot at fly)
1561
1562 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
1563 functions and a macro that allow the program to work on input
1564 lines of whatever length. Copied from etags.c.
1565 (fatal): Print a fatal error message and exit.
1566 (main): Use the new functions. Fixed a bug that made a \037 char
1567 appear at the end of the output.
1568
15691995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1570
1571 * etags.c (C_entries): Ignore carriage return at end of line.
1572
15731994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1574
1575 * fakemail.c (xmalloc, xrealloc): Add casts.
1576 (add_field): Handle <...> and "..." syntax.
1577 (setup_files, get_keyword): Clean up parens and line breaks.
1578 (args_size): Likewise.
1579
15801994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
1581
1582 * yow.c: Include program name in error messages.
1583
15841994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1585
1586 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
1587 (xmalloc, fatal, error): New functions.
1588 (progname): New variable.
1589 (main): Set progname.
1590
15911994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1592
1593 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
1594 (main): If socket/mqueue name is in home dir, add in the host name.
1595 Rename .emacs_server to .emacs-server....
1596
15971994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1598
1599 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
1600
16011994-11-22 Francesco Potorti` (pot@cnuce.cnr.it)
1602
1603 * etags.c (print_help): print --regex usage for ctags also.
1604 (main): use -h in addition to -H as abbreviation for --help.
1605
16061994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
1607
1608 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
1609 is compiled if this is defined. The new functions and variables
1610 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
1611 [VMS]: All VMS specific code previously contained in
1612 etags-vmslib.c is now included here, modified for dealing with
1613 language and regex options intermixed with filenames.
1614 (header_file): Global variable deleted.
1615 (Lang_Function): New typedef. All language parser functions
1616 changed to this new type.
1617 (string_numeric_p, substr, prestr): Functions deleted.
1618 (readline_internal): Does the job that readline did previously.
1619 (longopts): --language and --regex options added.
1620 (lang_names, lang_extensions, lang_func, print_language_names):
1621 New structures, variables and functions for choosing languages.
1622 (print_help): Help strings updated. Calls print_language_names.
1623 (argument_type, ARGUMENT): Typedefs for dealing with language and
1624 regex options intermixed with filenames.
1625 (main): Changed the way of dealing with arguments on the command
1626 line to deal with language and regex options intermixed with
1627 filenames.
1628 (get_language, default_C_entries, Cplusplus_entries,
1629 Cstar_entries, Yacc_entries, just_read_file): New functions.
1630 (find_entries): Use the new method for choosing the language.
1631 (Pascal_functions): Allow intermixing of comment styles.
1632 (prolog_getit, skip_comment): Rewritten for speed.
1633 (readline): Rewritten to deal with regexps.
1634
16351994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
1636
1637 * etags.c (<errno.h>): #include added.
1638 (etags_getcwd): Check return value from getcwd.
1639
16401994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1641
1642 * profile.c (TV1, TV2): Use EMACS_TIME as type.
1643 (get_time): Use EMACS_SUB_TIME.
1644
16451994-10-30 voelker <voelker@cs.washington.edu>
1646
1647 * ntlib.c: New file.
1648 * makefile.nt: New file.
1649
1650 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
1651 [WINDOWSNT]: Include the NT headers.
1652 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
1653
1654 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
1655 [WINDOWSNT]: Include some NT headers.
1656
16571994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
1658
1659 * pop.c (getline): When a search of already-read input for CRLF
1660 fails, store the fact that we've searched it and don't search it
1661 again after reading more data.
1662
1663 * pop.c (getline): When determining whether or not it's necessary
1664 to grow the input buffer, take into account the null that's stored
1665 at the end of already-read input in the buffer.
1666
16671994-10-21 Francesco Potorti` (pot@cnuce.cnr.it)
1668
1669 * etags.c (prestr, substr): return a logical type.
1670 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
1671 (consider_token): set funcdef to fignore when a DEFUN is met.
1672 (C_entries): Now we can use Tom Hageman patch for extern "C".
1673
16741994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1675
1676 * movemail.c: PopServer renamed to popserver throughout.
1677
16781994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
1679
1680 * etags.c: Don't declare malloc, since we include config.h.
1681 * fakemail.c: Likewise.
1682
16831994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1684
1685 * movemail.c: Don't declare malloc.
1686
16871994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
1688
1689 * rcs-checkin: Use test -r instead of < to check readability, to
1690 avoid syntax error.
1691
16921994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
1693
1694 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
1695 defined, and if HAVE_CONFIG_H isn't defined, define
1696 MAIL_USE_POP always (so that this file can be included in
1697 other programs besides emacs).
1698
1699 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
1700 HAVE_CONFIG_H isn't defined.
1701
1702 * pop.c (find_crlf, getline): Instead of using strstr, use a
1703 custom function for finding CRLF.
1704 (my_strstr): Function deleted.
1705
17061994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
1707
1708 * pop.c (getline): Fix a segfault because of passing a
1709 non-null-terminated string into strstr(). Fix from
1710 djm@va.pubnix.com (David J. MacKenzie).
1711
1712 * pop.c: Don't include <string.h> and <strings.h>.
1713
1714 * pop.c: Include <des.h> before <krb.h>, rather than after. They
1715 should be interchangeable, and indeed the inclusion is done in
1716 both orders in various files in the Kerberos 4 library sources,
1717 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
1718 requires that <des.h> be included first, and I don't see any harm
1719 in changing the order.
1720
1721 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
1722 STDC_HEADERS, if they're defined. Undef open, read, write and
1723 close after including it.
1724
17251994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1726
1727 * pop.c: Fix mismatch in conditionals.
1728
1729 * make-docfile.c (main): Don't process one input file twice.
1730 Never use exit code > 1.
1731
1732 * pop.c (open, close, read, write): Add #undefs.
1733
1734 * pop.c: Don't declare malloc, realloc, free.
1735 Include ../src/config.h.
1736 Don't include string.h or strings.h.
1737 Include des.h before krb.h.
1738 Do declare my_strstr.
1739 (getline): Really use my_strstr.
1740 Leave one empty place in server->buffer,
1741 and put a null at the end of the data in it.
1742
17431994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1744
1745 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
1746 call kill with pid 0. Handle EINTR when receiving messages.
1747
17481994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
1749
1750 * Makefile.in.in (regex.o): Use full path to find regex.c.
1751
17521994-10-17 Francesco Potorti` (pot@fly.cnuce.cnr.it)
1753
1754 * Makefile.in.in (etags): add dependency on regex.o, link with it.
1755 (REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added.
1756
17571994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
1758
1759 * Makefile.in.in (DONT_INSTALL): Remove make-path.
1760 (${archlibdir}): Use mkinstalldirs instead.
1761
1762 * movemail.c: Make functions that return nothing void, not
1763 implicitly int.
1764 (main): Improve usage message.
1765 (error): Write to stderr, not stdout.
1766
1767 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
1768 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
1769 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
1770 variables and implicitly declared functions.
1771
17721994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1773
1774 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
1775 (distclean): Not here.
1776
1777 * Makefile.in.in (libexecdir): Renamed from libdir.
1778
17791994-10-11 Francesco Potorti` (pot@cnuce.cnr.it)
1780
1781 * etags.c (C_entries): Name the #define's that are macros.
1782
17831994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1784
1785 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
1786 fd_set arg is a pointer, descriptor arg comes first.
1787
17881994-09-29 Francesco Potorti` (pot@cnuce.cnr.it)
1789
1790 * etags.c (C_entries): Recognise typedef of ANSI style functions.
1791 (C_entries): Recognise #define inside a struct.
1792 (C_entries): ANSI tells that preprocessor commands do not have to
1793 start on the first column.
1794 (print_help): Documentation corrected for -d and -D.
1795 (white, endtk): ANSI tells the vertical tab is a separator.
1796
17971994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
1798
1799 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
1800 (pop.o, movemail.o): New targets.
1801 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
1802
1803 * pop.c, pop.h: New files.
1804
1805 * movemail.c: Improve POP code, move most of it into a separate file.
1806 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
1807 (mbx_write): Check for errors and for From line.
1808 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
1809 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
1810 (pop_init): Functions deleted.
1811
18121994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
1813
1814 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
1815 Rename path to dirname.
1816
18171994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1818
1819 * Makefile.in.in (UTILITIES):
1820 Remove test-distrib, make-docfile, make-path.
1821 (DONT_INSTALL): New variable--list those files here.
1822 (clean): Delete the files in DONT_INSTALL.
1823
18241994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1825
1826 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
1827 (main): Use fgets, not gets.
1828
18291994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1830
1831 * timer.c: Don't declare malloc.
1832
18331994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
1834
1835 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
1836 defined, use simple 32-bit versions of these macros.
1837 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
1838
18391994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1840
1841 * etags.c (etags_getcwd): Use getcwd if available.
1842
18431994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1844
1845 * Version 19.27 released.
1846
18471994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1848
1849 * Version 19.26 released.
1850
18511994-08-15 Paul Eggert <eggert@twinsun.com>
1852
1853 * rcs2log: Add support for CVS.
1854 Work with `rlog's that output ISO 8601 dates.
1855
18561994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
1857
1858 * rcs2log: Use <> to delimit email address.
1859
18601994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1861
1862 * emacsserver.c [SYSV_IPC] (main): Make a separate process
1863 so we can listen for multiple requests.
1864
18651994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1866
1867 * movemail.c: Include config.h first thing.
1868
18691994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1870
1871 * emacsserver.c (main): Add casts to avoid warnings.
1872
18731994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1874
1875 * Makefile.in.in (${archlibdir}): Compare the proper dir
1876 before installing the scripts.
1877
18781994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1879
1880 * emacsclient.c (main): New local var progname saves argv[0].
1881
18821994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1883
1884 * emacsclient.c (main): Don't actually modify argv[0].
1885 Modify a copy instead.
1886
18871994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1888
1889 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
1890 (tzp): Var deleted.
1891
1892 * Makefile.in.in: Add #undef alloca.
1893
18941994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1895
1896 * timer.c (xmalloc): New function.
1897
18981994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1899
1900 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
1901 (alloca.o): New target.
1902
19031994-07-08 Dave Love (d.love@dl.ac.uk)
1904
1905 * etags.c (takeprec): recognise `character*(*) function'
1906
19071994-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
1908
1909 * etags.c (main): Don't barf on obsolete -t and -T switches.
1910 (main): Print an explicative message when a switch is not known.
1911
19121994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1913
1914 * hexl.c: Don't declare exit or perror.
1915
1916 * emacsserver.c (main): Don't declare geteuid.
1917 Don't declare getenv if convex.
1918
19191994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1920
1921 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
1922
19231994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
1924
1925 * etags.c (absolute_filename): Remove infinite loop bug when
1926 accessing files in directories whose name begins with a dot.
1927
19281994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
1929
1930 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
1931
19321994-06-01 Morten Welinder (terra@diku.dk)
1933
1934 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
1935 location of data directory.
1936
19371994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1938
1939 * Version 19.25 released.
1940
19411994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1942
1943 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
1944
19451994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1946
1947 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
1948
19491994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1950
1951 * Version 19.24 released.
1952
19531994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1954
1955 * make-docfile.c (write_c_args): Put `default' in upper case.
1956
19571994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1958
1959 * etags.c (etags_getcwd): Cast result of popen.
1960 (popen): Declaration deleted.
1961
19621994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
1963
1964 * etags.c [!MSDOS]: Declare popen.
1965
19661994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1967
1968 * b2m.c (main): Avoid crash if argc is 1.
1969
19701994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1971
1972 * Version 19.23 released.
1973
1974 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
1975
19761994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1977
1978 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
1979
19801994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
1981
1982 * Makefile.in.in: Fix out of date comment.
1983
19841994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1985
1986 * Makefile.in.in: Put in a separator for where to start cpp procssing.
1987 Move all autoconf substitutions above that point.
1988 Above that point, use Make-style comments.
1989 This goes with changes in ../configure.in.
1990
19911994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1992
1993 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
1994 warning message.
1995 (${archlibdir}): Don't do it here. Don't depend on blessmail.
1996
19971994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
1998
1999 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
2000
20011994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2002
2003 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
2004 print advice to run it, if it has anything significant to do.
2005 And only if MOVEMAIL_NEEDS_BLESSING.
2006 (blessmail): Use emacs, not temacs.
2007 (configuration): Renamed from configname.
2008
20091994-04-30 Morten Welinder (terra@diku.dk)
2010
2011 * etags.c (find_entries): Treat `*.cpp' as C++ files.
2012
20131994-04-30 Morten Welinder (terra@diku.dk)
2014
2015 * etags.c [MSDOS]: #include <sys/param.h> for the following.
2016 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
2017 a shell.
2018
20191994-04-29 Morten Welinder (terra@diku.dk)
2020
2021 * hexl.c [MSDOS]: Don't define proto type for exit.
2022
20231994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2024
2025 * b2m.c: Don't include string.h or strings.h.
2026
20271994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
2028
2029 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
2030 symbols, not make variables.
2031
20321994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2033
2034 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
2035 * etags.c (print_version): Print VERSION as a string.
2036
20371994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2038
2039 * fakemail.c (readline): Fix updating of p when buffer grows.
2040
20411994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
2042
2043 * Makefile.in.in (blessmail): New target.
2044 ${archlibdir}: Use blessmail when installing movemail.
2045
20461994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2047
2048 * fakemail.c (readline): When extending the buffer,
2049 calculate end afresh using the new size.
2050
20511994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2052
2053 * etags.c (main, print_help): eliminate the -F option.
2054
20551994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2056
2057 * etags.c (absolute_filename): compare against '\0' instead of NULL.
2058
20591994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2060
2061 * Makefile.in.in: Renamed from Makefile.in.
2062 Makefile.in is now generated from it, and then preprocessed.
2063 Change comments to C syntax.
2064 Include config.h.
2065 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
2066 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
2067
20681994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2069
2070 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
2071
20721994-04-12 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2073
2074 * etags.c (etags_getcwd): Initialize bufsize.
2075
20761994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2077
2078 * profile.c (gettimeofday): If system doesn't have this, define it
2079 to give a fatal error.
2080
20811994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
2082
2083 * movemail.c (main): Use setuid, not seteuid.
2084
20851994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2086
2087 * etags.c: #undef static.
2088
20891994-04-08 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2090
2091 * etags.c (outf, outfiledir): renamed to tagf, tagfiledir.
2092 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs,
2093 Scheme_funcs, prolog_funcs): renamed to Fortran_functions,
2094 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
2095 TeX_functions, Prolog_functions.
2096 (inf): no more a global variable.
2097 (C_entries): take 2nd parameter `inf' instead of using the global one.
2098 (find_entries): added the cp1 var for optimisation.
2099 (find_entries): added more suffixes for assembler files.
2100 (Asm_funcs): Now finds labels even without an ending colon.
2101
21021994-03-30 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2103
2104 * etags.c (main): use etags_getcwd for compatibility.
2105 (etags_getcwd): new function.
2106
21071994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2108
2109 * Makefile.in (etags, ctags): Pass -D for VERSION.
2110
21111994-03-25 Francesco Potorti` (pot@cnuce.cnr.it)
2112
2113 * etags.c (emacs_tags_format, ETAGS): removed. Use CTAGS instead.
2114 (main): don't allow the use of -t and -T in etags mode.
2115 (print_help): don't show options enabled by default.
2116 (print_version): show the emacs version number if VERSION is #defined.
2117 (find_entries): add "ss" as suffix for Chez Scheme.
2118
21191994-03-23 Francesco Potorti` (pot@cnuce.cnr.it)
2120
2121 * etags.c (cwd, outfiledir): vars added.
2122 (relative_filename, absolute_filename, absolute_dirname):
2123 functions added to compute filenames in tags files.
2124 (process_file): filenames in tags file are relative to the
2125 directory where the tags file is (useful with the -o option).
2126 (main): initialise the outfiledir var.
2127 (TYPEDST): added the `tignore' value.
2128 (C_entries): corrected various small bugs.
2129
21301994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2131
2132 * Makefile.in (UTILITIES): `env' deleted.
2133 (env): Target deleted.
2134 * env.c: File deleted.
2135
21361994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2137
2138 * Makefile.in (install, ${archlibdir}): Switch back to ..
2139 before running INSTALL_PROGRAM.
2140
21411994-03-14 Francesco Potorti` (pot@cnuce.cnr.it)
2142
2143 * etags.c (TYPEDST): added the `tignore' value.
2144 (C_entries): corrected various bugs, now correctly parses the
2145 `extern "C" {' construction (patch by Tom R.Hageman).
2146
21471994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2148
2149 * b2m.c: Use <...> to include config.h.
2150 Don't include stdlib.h.
2151
21521994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
2153
2154 * b2m.c (main): Change delimiter from "^L" to "^_^L".
2155 Allow for text following "BABYL OPTIONS:".
2156 Add --help option. Use argv[0] in error messages.
2157
21581994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2159
2160 * emacsclient.c (main) [HAVE_SYSVIPC]:
2161 Make msgp->mtext longer if necessary.
2162 On HPUX, error if it's more than 512 chars.
2163
21641994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
2165
2166 * etags-vmslib.c: Use GPL.
2167 * emacstool.c: Use GPL.
2168 * fakemail.c: Update GPL.
2169
2170 * make-path.c (main): Return 1 on error, not -1.
2171 Update GPL.
2172
2173 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
2174 (xmalloc, xrealloc): Return char *, not int.
2175 (error): Write to stderr, not stdout.
2176 Update GPL.
2177
21781994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
2179
2180 * profile.c (main, get_time): Don't crash on invalid input.
2181
21821994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
2183
2184 * profile.c (get_time): Simplify; avoid calling index.
2185 (main): exit on EOF.
2186
21871994-02-17 Francesco Potorti` (pot@cnuce.cnr.it)
2188
2189 * etags.c (--absolute-pathnames): option removed.
2190
21911994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2192
2193 * fakemail.c (put_line): Don't break the line if it all fits.
2194
21951994-02-14 Francesco Potorti` (pot at fly)
2196
2197 * etags.c (absolute_pathnames, cwd): added global vars.
2198 (longopts, print_help, main, process_file): put absolute filenames
2199 in the tag file if the -A --absolute-pathnames option is used.
2200 (print_help): alfabetically order the options.
2201 (malloc, realloc, strcpy, strncpy, strcmp): remove extern declar.
2202
22031994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2204
2205 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
2206 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
2207
22081994-02-07 Christian Lynbech (lynbech@avignon)
2209
2210 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
2211
22121994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2213
2214 * Makefile.in (UTILITIES): Mention profile.
2215 (profile): New target.
2216
2217 * profile.c: New file.
2218
22191994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2220
2221 * Make the argument list output look more like the Lisp docstrings do.
2222 make-docfile.c (write_c_args): Take new arg FUNC. Make output
2223 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
2224 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
2225
22261994-01-14 Francesco Potorti` (pot@cnuce.cnr.it)
2227
2228 * etags.c (stab_entry, stab_create, stab_find, stab_search,
2229 stab_type, add_keyword, C_reate_stab, C_create_stabs): deleted.
2230 Use gperf generated hash table instead of linked list.
2231 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): added.
2232 Mostly code generated by gperf.
2233 (consider_token): removed unused parameter `lp'.
2234 (PF_funcs, getit): allow subroutine and similar declarations
2235 to span multiple lines.
2236 (C_entries): check for newline if inchar to avoid bus errors.
2237 (process_file, find_entries): distinguish among nonexistent
2238 and not regular file.
2239
22401994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2241
2242 * timer.c: Include errno.h; don't include fasync.h.
2243 (schedule): Don't return a value.
2244 (sigcatch): Reestablish the handler first.
2245 (getevent): Always call notify at the end.
2246 (notify): Defer alarms around the whole body of function.
2247
22481994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2249
2250 * timer.c (main): Don't request SIGIO, and don't handle it.
2251 Loop calling getevent.
2252 (sigcatch): Delete code to handle SIGIO.
2253 if defer_alarms is set, don't call notify, just set alarm_deferred.
2254 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
2255 Set defer_alarms around realloc and schedule.
2256 If alarm_deferred gets set, call notify.
2257 Likewise if this event is the only pending event.
2258 Make buf and buf_size global variables.
2259 Don't malloc buf if it is already non-zero.
2260 (schedule): Just exit if run out of memory.
2261 Return the number of events.
2262 (signal) [_CX_UX]: Add #undef.
2263
22641994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2265
2266 * timer.c [USG] (SIGIO): Define as SIGPOLL.
2267 (main) [USG]: Do ioctl to enable SIGPOLL.
2268
22691994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2270
2271 * timer.c: Don't declare sys_errlist; declare strerror instead.
2272 (schedule, main): Call strerror instead of using sys_errlist.
2273 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
2274 Call strerror instead of using sys_errlist.
2275 * env.c (main): Call strerror instead of using sys_errlist.
2276 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
2277 (main): Call strerror instead of using sys_errlist.
2278 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
2279 * env.c [! HAVE_STRERROR] (strerror): Likewise.
2280 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
2281 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
2282
22831994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2284
2285 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
2286
2287 * movemail.c (malloc): Don't declare it.
2288 (xmalloc): Cast result of malloc.
2289 (strcpy): Don't declare it.
2290
22911993-11-14 Morten Welinder (terra@diku.dk)
2292
2293 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
2294 (main): Use fclose to close file opened by fopen.
2295
2296 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
2297
2298 * movemail.c [MSDOS]: #undef `access'.
2299
2300 * b2m.c (main) [MSDOS]: Open all files as binary.
2301 * etags.c (main) [MSDOS]: Open all files as binary.
2302
2303 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
2304 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
2305 with.
2306
23071994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2308
2309 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
2310 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
2311 (LINK_CFLAGS): New variable.
2312 (timer): Use LINK_CFLAGS.
2313
23141993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2315
2316 * movemail.c: Include syswait.h.
2317 Fork a subprocess and use it to copy the mail file.
2318
23191993-12-07 Richard Stallman (rms@srarc2)
2320
2321 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
2322
23231993-12-04 Richard Stallman (rms@srarc2)
2324
2325 * movemail.c (main): When making tempname, cast result of xmalloc.
2326 Include room for EXXXXXX in the size.
2327 Don't use result of strcpy.
2328
23291993-12-03 Paul Eggert (eggert@twinsun.com)
2330
2331 * vcdiff: Add --brief option.
2332
23331993-12-02 Richard Stallman (rms@srarc2)
2334
2335 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
2336 for all executables and scripts.
2337
23381993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2339
2340 * Version 19.22 released.
2341
23421993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2343
2344 * Makefile.in (mostlyclean): Make it distinct from clean.
2345
23461993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2347
2348 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
2349
23501993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2351
2352 * Version 19.21 released.
2353
2354 * Makefile.in (install): Don't change mode or group when installing.
2355
2356 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
2357
23581993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2359
2360 * make-docfile.c (read_c_string): For "", concatenate the two strings.
2361
2362 * movemail.c (main): Fix error message text.
2363
23641993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2365
2366 * Version 19.20 released.
2367
23681993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
2369
2370 * etags.c: (C_entries): Keep track of ()-parenthesis level so that
2371 functions returning a pointer to a function, a la `signal', can be
2372 parsed. This also required new state `fstartlist' to `FUNCST'.
2373 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
2374 (C_entries, CNL): use it to isolate preprocessor directive processing
2375 from the other state engines.
2376 (begtk): add '~', for C++ class destructors.
2377
23781993-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
2379
2380 * etags.c (consider_token): removed unused variable firsttok.
2381 (prolog_getit): call pfnote with the right number of arguments.
2382
23831993-10-19 Paul Eggert (eggert@twinsun.com)
2384
2385 * rcs2log (printlogline): Don't generate lines containing only
2386 white space.
2387
23881993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2389
2390 * Makefile.in (${archlibdir}):
2391 Install ${SCRIPTS} from ${srcdir}, not cwd.
2392
23931993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2394
2395 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
2396 the comment character.
2397
23981993-10-01 Francesco Potorti` (pot@cnuce.cnr.it)
2399
2400 * etags.c (process_file): dead code removed.
2401 (S_ISREG): #define it using S_IFREG if not defined.
2402 (process_file): regular files have nothing to do with symlinks.
2403
24041993-09-28 Brian Fox (bfox@ai.mit.edu)
2405
2406 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
2407 from current directory. Only chmod and chgrp files that we
2408 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
2409 ${bindir}.
2410 (INSTALLFLAGS): Deleted definition, since it is an unused variable
2411 now.
2412
24131993-09-27 Brian Fox (bfox@ai.mit.edu)
2414
2415 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
2416 configure figure out the correct values for these variables.
2417
24181993-09-14 Brian Fox (bfox@ai.mit.edu)
2419
2420 * Makefile.in (archlibdir): Only install execuatables internally
2421 used by emacs; don't install bindir binaries here.
2422
24231993-09-24 Paul Eggert (eggert@twinsun.com)
2424
2425 * rcs2log: Add -h, -n, -r options.
2426 By default, look for *,v files as well as RCS/*,v files.
2427 Use $TMPDIR (default /tmp) instead of /tmp.
2428
24291993-09-20 Francesco Potorti` (pot at fly)
2430
2431 * etags.c (C_entries): is_func is initialised here instead of in
2432 consider_token for the sake of the yacc rules section.
2433 (C_entries): Now class, struct, enum, union and typedef produce
2434 named tags.
2435
24361993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
2437
2438 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
2439
24401993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2441
2442 * Support configuring in a different directory when ${srcdir} has
2443 already been configured.
2444 * Makefile.in (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before
2445 -I${srcdir} -I${srcdir}/../src.
2446 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
2447 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
2448 is already in CPP_FLAGS.
2449 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
2450 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
2451
24521993-08-25 Paul Eggert (eggert@twinsun.com)
2453
2454 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
2455 otherwise, HP awk complains.
2456
2457 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
2458 are common hangouts for SCCS commands.
2459
24601993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2461
2462 * Version 19.19 released.
2463
24641993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2465
2466 * Makefile.in (make-path): Dep on config.h.
2467
24681993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2469
2470 * b2m.c (TRUE, FALSE): Don't define if already defined.
2471
24721993-08-09 Paul Eggert (eggert@twinsun.com)
2473
2474 * rcs2log (awkscript):
2475 Some sites put comma-separated junk after the fullname.
2476 Remove it, but leave "Bill Gates, Jr" alone.
2477 Remove the junk from fullnames like "0000-Admin(0000)".
2478
24791993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2480
2481 * Version 19.18 released.
2482
24831993-08-04 Francesco Potorti` (pot@spiff.gnu.ai.mit.edu)
2484
2485 * etags.c (L_isdef, L_isquote, L_getit): small optimisations.
2486 (L_funcs): the (foo::defmumble stuff now should work.
2487 (consider_token): function returned random value--corrected.
2488 (C_entries): corrected == versus = typo.
2489
24901993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2491
2492 * etags.c (put_entries): For NODE->rewritten, put pattern before
2493 \177 and name after, not vice versa.
2494
24951993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2496
2497 * timer.c (main): Generate a SIGIO as soon as we've initialized.
2498
24991993-07-30 Francesco Potorti` (pot@cnuce.cnr.it)
2500
2501 * etags.c (FINCST): added the fignore status. Means we are
2502 after the parameter list and before the open curly brace.
2503 Allows correct parsing of C++ constructors.
2504 (C_entries, consider_token): make use of fignore.
2505 (consider_token): reset funcdef when next_token_is_func: when in
2506 ctags mode makes DEFVAR and others work better.
2507 (L_isquote): function that recognises the "(quote" string.
2508 (L_getit): ignore quoting via "'" or "(quote". Useful for defalias.
2509
25101993-07-29 Paul Eggert (eggert@twinsun.com)
2511
2512 * rcs-checkin: Don't check whether a file is readable until we have
2513 decided not to ignore it.
2514
25151993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2516
2517 * Makefile.in (etags): Depend on ../src/config.h.
2518
2519 * emacsserver.c: Include types.h before file.h.
2520
25211993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2522
2523 * Makefile.in (install): Use .n, not .new, for temporary filenames.
2524
25251993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2526
2527 * Version 19.17 released.
2528
25291993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
2530
2531 * etags.c (print_help): Break up the very long strings containing
2532 the help message into shorter strings, to placate chintzy C
2533 compilers which can't handle strings that long.
2534
2535 * wakeup.c: Use CPP tangle from autoconf manual to #include the
2536 correct combination of <time.h> and <sys/time.h>.
2537
25381993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
2539
2540 * etags.c (alloca): removed all references to it.
2541 (main): now calls xnew instead of alloca for portability.
2542 (../src/config.h): included only if HAVE_CONFIG_H.
2543 (const): void definition removed--config.h takes care of it.
2544
25451993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
2546
2547 * etags.c (consider_token): was `==', now is `='.
2548 (consider_token): DEFUNs now treated like funcs in ctags mode.
2549
2550 * etags.c (LEVEL_OK_FOR_FUNCDEF): removed.
2551 (C_entries): optimized the test that used LEVEL_OK_FOR_FUNCDEF.
2552 (C_entries): removed a piece of useless code.
2553 (C_entries): making typedef tags is delayed until a semicolon
2554 is met. This handles "typedef int X, Y, Z;" correctly.
2555
25561993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
2557
2558 * Version 19.16 released.
2559
2560 * b2m.c: #include <sys/types.h>.
2561 (ltoday): Declare this to be time_t.
2562
25631993-06-30 Paul Eggert (eggert@twinsun.com)
2564
2565 * vcdiff: Add -q option.
2566
25671993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2568
2569 * etags.c: #include "config.h" and the alloca CPP tangle before
2570 #including the system headers and getopt.h. AIX requires the
2571 #pragma to come before any actual C code.
2572
25731993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2574
2575 * Makefile.in (ctags): Depend on etags, so that parallel makes
2576 don't write etags.o files on top of each other.
2577
25781993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2579
2580 * version 19.15 released.
2581
25821993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2583
2584 * etags.c (add_node): Move var last_node to file scope.
2585
25861993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2587
2588 * Version 19.14 released.
2589
25901993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2591
2592 Bring mumbleclean targets into conformance with GNU coding standards.
2593 * Makefile.in (distclean): Call clean to do most of the work.
2594 Delete aixcc.c and TAGS.
2595 (realclean): Just call distclean.
2596
2597 * Makefile.in: Remember, spaces are not tabs.
2598
25991993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2600
2601 * Makefile.in (CPP_CFLAGS): New variable.
2602 Use it instead of ALL_CFLAGS when compiling a .c file.
2603 (getopt.o, getopt1.o): Add explicit compilation commands.
2604
26051993-06-10 Mark D. Baushke (mdb@cisco.com)
2606
2607 * etags.c: Reinstate old -f option as an alias for -o for
2608 installed base uses.
2609
26101993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2611
2612 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
2613 to bind or accept, cast the pointer, to avoid warnings on systems
2614 which declare prototypes for this.
2615 * emacsclient.c (main): Same.
2616
2617 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
2618
26191993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2620
2621 * Version 19.13 released.
2622
2623 * wakeup.c: Include sys/types.h, too; I think that's where time_t
2624 comes from, not sys/time.h.
2625
26261993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2627
2628 * wakeup.c: Include sys/time.h.
2629
2630 * etags.c: #undef static.
2631
2632 * Version 19.12 released.
2633
2634 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
2635
26361993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2637
2638 * Version 19.11 released.
2639
2640 * timer.c [LINUX]: #undef signal.
2641 * emacsserver.c: #undef signal.
2642
26431993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2644
2645 * wakeup.c (main): Make when a time_t.
2646
26471993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2648
2649 * Makefile.in: (${archlibdir}): Use `(cd foo && pwd)` instead of
2650 `(cd foo ; pwd)` to get the canonical name of a directory; cd
2651 might fail, and have pwd print out the current directory.
2652
2653 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
2654 string-handling functions.
2655
26561993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2657
2658 * Version 19.10 released.
2659
26601993-05-29 Paul Eggert (eggert@twinsun.com)
2661
2662 * rcs2log: When given no file arguments, inspect RCS/.* as well
2663 as RCS/*. Don't report an error if RCS is empty or nonexistent.
2664
26651993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2666
2667 * Makefile.in (timer): Link with $(LOADLIBES).
2668
26691993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2670
2671 * fakemail.c (put_line): Don't output \n\t unless more text follows.
2672
26731993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
2674
2675 * etags.c: Replace the CPP tangle for alloca with the one from the
2676 autoconf documentation, since that's working elsewhere.
2677
26781993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
2679
2680 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
2681 description files can find their ancestors.
2682
26831993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2684
2685 * Makefile.in (install): Get the scripts from ${srcdir},
2686 unlike the executables.
2687 (ALL_CFLAGS): Add -I../src
2688
26891993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
2690
2691 * Version 19.9 released.
2692
26931993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2694
2695 * Makefile.in (install): Do install the programs listed in
2696 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
2697 INSTALLABLE_SCRIPTS, instead of writing the programs out.
2698
2699 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
2700 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
2701
27021993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2703
2704 * etags.c: Include ../src/config.h.
2705
2706 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
2707 in first loop. Delete files from bindir before installing new ones.
2708 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
2709
27101993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2711
2712 * Version 19.8 released.
2713
2714 * make-docfile.c: Doc fix.
2715
27161993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2717
2718 * tcp.c: Fix comment syntax at top of file.
2719 (main): Don't call htons with the port number.
2720
27211993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2722
2723 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
2724 appropriate.
2725
2726 * Makefile.in (install): Refer to the variables INSTALLABLES and
2727 INSTALLABLE_SCRIPTS, instead of writing them out.
2728
27291993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2730
2731 * make-path.c (main): Return 0.
2732
27331993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
2734
2735 * Version 19.7 released.
2736
27371993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2738
2739 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
2740
27411993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2742
2743 * tcp.c: New file.
2744
27451993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2746
2747 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
2748
27491993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
2750
2751 * timer.c (notify): Don't call sighold or sigrelse; they're USG
2752 only. We should really fix this later, but let's just make it
2753 compile for now.
2754
2755 Install patches from David J. Mackenzie to make the srcdir option
2756 work.
2757 * Makefile.in (srcdir, VPATH): Get this value from the top-level
2758 Makefile.
2759 (INSTALLABLES): Split this into two lists - INSTALLABLES and
2760 INSTALLABLE_SCRIPTS.
2761 (INSTALLABLE_SCRIPTS): New list.
2762 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
2763 (${archlibdir}): The scripts to be installed live in the source
2764 tree, not in the object tree.
2765 (test-distrib): Note that the data file lives in the source tree,
2766 not the object tree.
2767 (GETOPTDEPS): Note that getopt.h lives in the source tree.
2768 (all other targets): Change references to source files to use
2769 ${srcdir}, except for config.h, which lives in the object dir.
2770 (timer.o): Note that this depends on ../src/config.h.
2771 * make-docfile.c (main): Add a -d option, to tell it where to find
2772 the source files.
2773 * test-distrib.c (main): Take the name of the distribution file to
2774 test from the command line.
2775
2776 * timer.c: Fix mispellings of get_date function's name.
2777
27781993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
2779
2780 * etags.c (main):
2781 Don't require that there be input files if -i switches were given.
2782
27831993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
2784
2785 The GNU coding standards specify that CFLAGS should be left for
2786 users to set.
2787 * Makefile.in (CFLAGS): Put this in the "things configure might
2788 edit" section, and have it default to -g.
2789 (ALL_CFLAGS): New variable, set to all the flags which should be
2790 passed to compilations. Replace all other uses of CFLAGS with
2791 ALL_CFLAGS.
2792 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
2793
2794 * Makefile.in (DEFS): Remove this; it's always just going to be
2795 "-DHAVE_CONFIG_H -Demacs".
2796
27971993-05-03 Paul Eggert (eggert@twinsun.com)
2798
2799 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
2800 /[/]/, so change it to /[\/]/. This should work on all
2801 Posix-compliant awks. It's slightly wrong with traditional awk,
2802 since it matches \ too, but that's a minor problem compared to awk
2803 syntax errors.
2804
28051993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
2806
2807 * Makefile.in (ALLOCA): New variable, whose value we should
2808 inherit from the top-level makefile.
2809 (etags, ctags): Include ALLOCA in the list of object files that
2810 these executables depend on and link.
2811
28121993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
2813
2814 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
2815
28161993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
2817
2818 * make-docfile.c (write_c_args): Print an argument named "defalt"
2819 as "default".
2820
28211993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
2822
2823 * Makefile.in (C_SWITCH_SYSTEM): New variable.
2824 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
2825 compiler.
2826
28271993-03-22 Francesco Potorti` (pot@cnuce.cnr.it)
2828
2829 * etags.c (YACC): flag added to c_ext.
2830 (c_ext): no more a synonim for c_ext&C_PLPL because of YACC.
2831 (find_entries): consistently use streq when reasonable.
2832 (find_entries): a .y file is a yacc file.
2833 (get_C_stab): c_ext becomes c_ext&C_PLPL.
2834 (C_entries): logical cplpl means c_ext&C_PLPL.
2835 (C_entries): logical yacc_rules means we are after the first %%.
2836 (C_entries): added logic for yacc files.
2837
28381993-03-16 Francesco Potorti` (pot@cnuce.cnr.it)
2839
2840 * etags.c (C_entries): ':' case moved to the second switch.
2841 (C_entries): do not examine token if structdef==scolonseen.
2842 (consider_token): structtag set to null string for enum.
2843
28441993-03-12 Francesco Potorti` (pot@cnuce.cnr.it)
2845
2846 * etags.c (GET_COOKIE): and related macros removed.
2847 (logical): is now int, no more a char.
2848 (reg): define deleted.
2849 (isgood, _gd, notgd): deleted.
2850 (gotone): deleted.
2851 (TOKEN): member linestart removed.
2852 (linepos, prev_linepos, lb1): deleted.
2853 (main): call initbuffer on lbs array instead of lb1.
2854 (init): removed the initialisation of the logical _gd array;
2855 (find_entries): a .sa suffix means assembler file.
2856 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
2857 All C state machines rewritten.
2858 (C_entries): complete rewrite.
2859 (condider_token): complete rewrite.
2860 (getline): deleted.
2861
28621993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
2863
2864 * etags.c (C_entries): Added the quotednl logical variable.
2865 Used for parsing of #define's spanning multiple lines.
2866
28671993-02-23 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
2868
2869 * etags.c (C_entries): Save the definedef status even when a
2870 newline is met inside a string.
2871
28721993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
2873
2874 * Makefile.in (EXECUTABLES): added rcs-checkin.
2875
2876 * Makefile.in (unlock, relock): New productions.
2877
28781993-03-16 Paul Eggert (eggert@twinsun.com)
2879
2880 * rcs2log: Some awks don't understand "\r". Code around this.
2881 Unfortunately this requires putting a carriage return in the
2882 source code. Don't assume that rlog will tolerate times like
2883 `10:10:60'; RCS 5.7 won't allow this.
2884
28851993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
2886
2887 * timer.c (main): Set the ownership of the stdin file descriptor
2888 to the current process. Print error messages if either of the
2889 fcntl's fails.
2890
2891 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
2892 ../src/config.h), not void.
2893
28941993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
2895
2896 * b2m.c (main): Don't exit upon reading a blank line.
2897
28981993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
2899
2900 * etags.c (C_entries): New local variable quotednl. Used for
2901 parsing of #define's spanning multiple lines.
2902
2903 * etags.c (C_entries): Save the definedef status
2904 even when a newline is met inside a string.
2905
29061993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
2907
2908 * timer.c (notify): Initialize waitfor properly.
2909
29101993-02-22 Francesco Potorti` (pot@CNUCE.CNR.IT)
2911
2912 * etags.c (C_entries): Don't reset definedef when a newline inside a
2913 comment is met.
2914
29151993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2916
2917 * etags.c (find_entries): If filename ends in .f or .for,
2918 don't try anything but Fortran.
2919
29201993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
2921
2922 * timer.c (notify): Flush stdout after writing message to avoid lossage
2923 on terminals.
2924
2925 (notify): Also, write a newline after the token.
2926
29271992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
2928
2929 * Makefile.in (exec_prefix): New variable.
2930 (bindir, libdir): Use it instead of `prefix'.
2931
2932 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
2933
2934 * Makefile.in (libdir): Default to ${prefix}/lib.
2935 (archlibdir): Adjusted to match.
2936
2937 * Makefile.in (distclean): Don't delete backup or autosave files.
2938 (extraclean): Like realclean, but does delete backup and autosave
2939 files.
2940
2941 * Makefile.in (realclean): Ignore errors from rm.
2942
2943 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
2944 that doesn't exist anymore.
2945
29461992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
2947
2948 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
2949 described in the top-level Makefile.
2950 (UTILITIES): Add make-path to the list of utility programs.
2951 (../arch-lib): Replaced by the ${archlibdir} target, which places
2952 the executables in their permanent home.
2953 (install, install.sysv, install.xenix): Consolidated into one
2954 target which should work under all circumstances, modulo a few
2955 ignored error messages.
2956
2957 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
2958 a different number of arguments than other DEFVARs, recognize it
2959 specially, and expect the right number of commas.
2960
29611992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
2962
2963 * make-path.c: New program, to help with the installation process.
2964 * Makefile.in (make-path): New target.
2965
2966 * make-path.c (touchy_mkdir): Remove debugging output.
2967
29681992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
2969
2970 * Makefile.in (getdate.o): Added explicit target for this, so we
2971 can indicate that it depends on ../src/config.h.
2972
29731992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
2974
2975 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
2976 instead of CFLAGS.
2977 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
2978
29791992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2980
2981 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
2982 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
2983 that system.
2984
2985 * Makefile.in (arch-lib): Give rm the `-f' option.
2986
29871992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2988
2989 * make-docfile.c (write_c_args): Rewritten to correctly print
2990 &optionals before the first identifier, but after the first paren.
2991 This code used to just wait for commas or spaces; now it notices
2992 identifier boundaries.
2993
29941992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2995
2996 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
2997
29981992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2999
3000 * make-docfile.c (write_c_args): Print the argument lists properly
3001 when the first argument is optional.
3002
30031992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3004
3005 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
3006 Redefine @item. Set catcode of +.
3007
30081992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3009
3010 * emacsclient.c (main): Set IPC_CREAT in msgget call.
3011
30121992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3013
3014 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
3015 (TEX_decode_env): Make `tab' one element longer.
3016
30171992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3018
3019 * etags.c (PF_funcs): Recognize the "entry" keyword.
3020
30211992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3022
3023 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
3024
30251992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3026
3027 * timer.c (events): Rather than having slots marked as in use or
3028 out of use by the `token' field, keep all pending events at the
3029 beginning of the array. When we delete an event in the middle of
3030 the array, we move the last event into its place.
3031 (num_events): New variable.
3032 (schedule): It is now cheaper to find a free event slot;
3033 events[num_events] is the first free slot.
3034 (notify): Scan events[0 .. num_events-1], instead of the whole
3035 array. When an event fires, move the last event in the array into
3036 its spot. Use num_events to determine whether or not there are
3037 any pending events, not wait_for.
3038 (getevent): Deleted unused variable `ep'.
3039 (sigcatch): It's now easier to find all the active events.
3040 (main): Initialize num_events.
3041
3042 * etags.c: Rather than fret about which systems have index and
3043 which systems have strchr, and how to tell the difference between
3044 them, we just write out our own versions. Big deal.
3045 (index, rindex): Extern declarations removed.
3046 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
3047 (etags_index, etags_rindex): New declarations.
3048 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
3049 TEX_getit, substr): Use the etags_*index functions, rather than
3050 the native *index functions.
3051 (rindex, index): Renamed to etags_rindex and tags_rindex, and
3052 made them unconditionally defined, rather than having them depend
3053 on NEED_*INDEX.
3054
3055 * etags.c (savenstr): Add declaration for this at top of file.
3056 (TEX_decode_env): Don't declare it local to this function.
3057
3058 * b2m.c: #include "../src/config.h", so we can test for the USG
3059 macro, and decide whether to include <string.h> or <strings.h>.
3060 * Makefile.in: Note that b2m.c depends on ../src/config.h.
3061
30621992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3063
3064 * timer.c: Reformatted according to the GNU coding standards.
3065 Removed arbitrary limits on the number of events queued and the
3066 length of the tokens used to identify them.
3067 Removed casts to (void).
3068 Removed debugging printfs; they clutter the code, and the need
3069 can be better filled using a real debugger.
3070
30711992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3072
3073 * timer.c: Installed new version from Eric Raymond; this is more
3074 portable, since it doesn't try to use SIGIO.
3075
30761992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3077
3078 * emacsclient.c (main): If we can't find the socket in this
3079 person's home directory, print a message which asks if they've
3080 started the server, instead of just printing the message from
3081 sys_errmsg; Cygnus finds that people are much less confused by
3082 this.
3083
30841992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3085
3086 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
3087 so that index and rindex get defined, why don't we actually
3088 control index and rindex using symbols called "NEED_INDEX" and
3089 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
3090 little more readable than defining something whose name implies
3091 that it's not?
3092
30931992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3094
3095 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
3096 distribution:
3097 Miscellaneous doc fixes.
3098 (skip_white, read_lisp_symbol): New functions.
3099 (scan_lisp_file): Instead of using long hairy strings of ifs, call
3100 read_lisp_symbol and then see what we got. Call skip_white
3101 instead of writing out a loop to do its job. Correctly extract
3102 docstrings from "defmacro" declarations.
3103
31041992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3105
3106 * movemail.c (strcpy): Declare this to return char *.
3107
31081992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3109
3110 * etags.c (C_entries): When we find a C++ comment, do actually
3111 skip to the end of the line; do a 'break' instead of a 'continue'.
3112
31131992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3114
3115 * etags.c (getit): Add missing parenthesis to expression which
3116 decides if this token is an identifier.
3117
31181992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
3119
3120 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
3121
31221992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3123
3124 * etags.c (put_entries): Always put space between name and line num.
3125
31261992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
3127
3128 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
3129 warning.
3130 (LEVEL_OK_FOR_FUNCDEF): Ditto.
3131
31321992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3133
3134 * make-docfile.c (write_c_args): Pass both arguments to putc.
3135
31361992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
3137
3138 * etags.c (C_entries): Fixed reading of "..." strings.
3139 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
3140 the C library source.
3141
3142 * etags.c (C_entries): When we see a backslash inside a quoted
3143 string, skip to the next character. This allows us to correctly
3144 deal with strings containing quotes.
3145
31461992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3147
3148 * make-docfile.c (write_c_args): Print the C argument names as
3149 they would be written in Elisp; print '_' as '-'.
3150
31511992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3152
3153 * movemail.c [POP]: Get user name via getpwuid.
3154
31551992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3156
3157 * Makefile.in: flags in CC invocations rearranged for no reason.
3158
31591992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3160
3161 * etags.c (print_help): Remember not to imbed raw newlines in
3162 strings - end the lines with `\n\'.
3163
31641992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3165
3166 * timer.c (getevent): Removed declaration of memcpy; since
3167 different systems have different return types, and we're not even
3168 using the return type anyway, it wasn't doing us any good.
3169
31701992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3171
3172 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
3173 type of this function.
3174
31751992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3176
3177 * ChangeLog: Since the old etc contents have been split into etc
3178 and lib-src, the old etc's ChangeLog has been duplicated in the
3179 new etc and lib-src. That means that each contains complete and
3180 coherent information, although each contains extraneous
3181 information.
3182
31831992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3184
3185 * lib-src/etags.c: "--no-warning" option renamed to "--no-warn",
3186 to be consistent with other GNU programs, like makeinfo.
3187
3188 * lib-src/Makefile: Renamed to Makefile.in; the configure script
3189 will edit this to produce Makefile.
3190
31911992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3192
3193 * etags.c (print_help, print_version): New functions.
3194 (main): Options added to support them.
3195
3196 * etags.c (longopts): New array of long names for the options.
3197 (main): Recognize them.
3198
31991992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3200
3201 * etags.c (C_entries): Removed comment saying that \" in a string
3202 isn't recognized as magic, because it is correctly handled.
3203
3204 * getopt.c, getopt.h: New files, from GNU C library.
3205 * etags.c: Rewritten to use getopt.
3206 #include "getopt.h".
3207 (file_num): Variable deleted; its role is now played by getopt's
3208 optind.
3209 (main): Argument processing loop rewritten to call getopt to get
3210 next option. Options which take parameters (-o and -i) rewritten
3211 to get parameter from optarg instead of argv[1]. Filename
3212 preprocessing loop and update command changed similarly.
3213 * Makefile (etags, ctags): Depend on and link with getopt.h,
3214 getopt.o, and getopt1.o.
3215 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
3216
3217 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
3218 is non-zero.
3219
3220 (main): In the argument processing loop, the 'goto next_arg'
3221 statements are breaking out of the switch statement in exactly the
3222 same way that a simple 'break' statement would; replace the gotos
3223 with breaks, and remove the label.
3224
32251992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3226
3227 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
3228 (consider_token): Move next_token_is_func to global.
3229
32301992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3231
3232 * Makefile: Conform with GNU coding standards:
3233 (mostlyclean): New target, synonymous with clean.
3234 (TAGS, check): New targets.
3235 (INSTALL, INSTALLFLAGS): New variables.
3236
32371992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3238
3239 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
3240 `config.emacs' to `configure'.
3241
3242 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
3243 * etc/MACHINES: Same.
3244
32451992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3246
3247 * movemail.c (main): Allow tempname to be as long as necessary,
3248 instead of limiting it to 39 characters.
3249
3250 * movemail.c (main): Move declaration of buf from top of function
3251 to local block surrounding the copy loop. This makes it less
3252 likely to be confused with the buf used by the code which checks the
3253 permissions on outname's directory.
3254
32551992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
3256
3257 * SERVICE: Remove my entry.
3258
32591992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
3260
3261 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
3262 hardcoded -g.
3263
3264 * movemail.c (xmalloc): Return char *, not int.
3265 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
3266 that is off by default -- normally don't unlink the mail spool
3267 file, just empty it. Pass creat mode 0600, not 0666.
3268
32691992-02-07 Jim Blandy (jimb at pogo.cs.oberlin.edu)
3270
3271 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
3272 (all): Instead of here.
3273 (install): Don't use the -s option, since people need symbols to
3274 debug code.
3275
32761992-01-19 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil)
3277
3278 * etags-vmslib.c (fn_exp): Add type cast.
3279
32801992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3281
3282 * movemail.c: Changes in comments.
3283
32841992-01-13 Jim Blandy (jimb at pogo.cs.oberlin.edu)
3285
3286 * Makefile: Make the distclean target erase the DOC files from
3287 ../share-lib and the executables from ../arch-lib.
3288
32891992-01-09 Jim Blandy (jimb at pogo.cs.oberlin.edu)
3290
3291 * emacsclient.c: #include <sys/stat.h>
3292 (main): Do declare statbfr.
3293
32941991-12-21 Richard Stallman (rms at mole.gnu.ai.mit.edu)
3295
3296 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
3297 for the socket, depending on SERVER_HOME_DIR.
3298 If using /tmp, put host name in the socket name.
3299
3300 * movemail.c (pfatal_and_delete): New function.
3301 (main, popmail): Use it.
3302 (popmail): Close output before deleting messages.
3303 Check for error on close and on fsync.
3304 Use `fatal' where appropriate.
3305 (main): Remove (void).
3306
3307 * aixcc.lex: New file. Not officially part of Emacs.
3308 * Makefile: Rules for that.
3309
33101991-12-04 Jim Blandy (jimb at pogo.gnu.ai.mit.edu)
3311
3312 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
3313
3314 * etags.c (main): Properly cast call to alloca that initializes
3315 included_files.
3316
33171991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
3318
3319 * etags.c (files_are_tag_tables): Remove global var.
3320 (process_file): Don't test it. Also remove hack checking for a
3321 file named "TAGS".
3322 (main): -i now takes an arg which is the name of a file to include.
3323 Collect these names and emit include tags for them after processing
3324 all the argument files.
3325
33261991-07-30 Richard Stallman (rms at mole.gnu.ai.mit.edu)
3327
3328 * wakeup.c: Terminate if parent goes away.
3329
33301991-07-18 Richard Stallman (rms at mole.gnu.ai.mit.edu)
3331
3332 * etags.c (C_entries): Process token before handling end of line.
3333 When inner loops reach end of line, just back up.
3334 Let the real end of line processing happen in just one place.
3335 (consider_token): Likewise.
3336
33371991-04-11 Jim Blandy (jimb at geech.gnu.ai.mit.edu)
3338
3339 * etags.c (TEX_mode): Skip comments while scanning the text to see
3340 which escape character this file uses.
3341
33421991-03-29 Richard Stallman (rms at mole.gnu.ai.mit.edu)
3343
3344 * emacsserver.c [USG]: Terminate if msgrcv fails.
3345
33461991-03-03 Richard Stallman (rms at mole.ai.mit.edu)
3347
3348 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
3349
33501991-01-25 Jim Blandy (jimb at churchy.ai.mit.edu)
3351
3352 * make-docfile: Find the arguments to a C function correctly,
3353 by not ignoring the character that read_c_string returns. Don't
3354 even try to find argument names for functions that take MANY
3355 or UNEVALLED arguments, since they're a figment of the docstring's
3356 imagination.
3357
33581991-01-14 Jim Blandy (jimb at churchy.ai.mit.edu)
3359
3360 * make-docfile: Read the .elc files generated by the new byte
3361 compiler.
3362
33631990-12-31 Richard Stallman (rms at mole.ai.mit.edu)
3364
3365 * refcard.tex: Use cm fonts, not am, in multi-column mode.
3366
33671990-11-29 Richard Stallman (rms at mole.ai.mit.edu)
3368
3369 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
3370
33711990-11-27 Richard Stallman (rms at mole.ai.mit.edu)
3372
3373 * Makefile (install*): No need to install wakeup.
3374
33751990-11-26 Richard Stallman (rms at mole.ai.mit.edu)
3376
3377 * Makefile (install*): Install emacsclient like etags.
3378
33791990-11-13 Richard Stallman (rms at mole.ai.mit.edu)
3380
3381 * movemail.c (error): Handle 3 args.
3382 (main): Don't check input access if using pop.
3383
33841990-10-16 Richard Stallman (rms at mole.ai.mit.edu)
3385
3386 * etags.c (find_entries): Check for numbers after Scheme suffix.
3387
33881990-10-14 Richard Stallman (rms at mole.ai.mit.edu)
3389
3390 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
3391
33921990-10-09 Richard Stallman (rms at mole.ai.mit.edu)
3393
3394 * Makefile (nemacstool, xvetool): New targets.
3395
33961990-09-26 Richard Stallman (rms at mole.ai.mit.edu)
3397
3398 * emacsclient.c: Include errno.h and define related variables.
3399
34001990-09-23 Richard Stallman (rms at mole.ai.mit.edu)
3401
3402 * emacsclient.c: Change usage message.
3403
34041990-08-30 David Lawrence (tale at pogo.ai.mit.edu)
3405
3406 * emacs.1: Add break before -nw option.
3407
34081990-08-19 David J. MacKenzie (djm at apple-gunkies)
3409
3410 * qsort.c: Replace with GNU version.
3411
34121990-08-14 David J. MacKenzie (djm at apple-gunkies)
3413
3414 * wakeup.c: New program replacing loadst.c.
3415
34161990-08-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3417
3418 * emacsclient.c [USG]: Pass msgsnd only 4 args.
3419
34201990-08-09 David J. MacKenzie (djm at pogo.ai.mit.edu)
3421
3422 * etags.c: Rename `flag' variables for what they do instead of
3423 which option character sets them.
3424
34251990-05-28 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3426
3427 * loadst.c (main): Conditional to get load average on Apollo.
3428
34291990-05-22 Joseph Arceneaux (jla at churchy.ai.mit.edu)
3430
3431 * emacsserver.c: Set the permission on the socket to 0600.
3432
34331990-03-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3434
3435 * emacsclient.c [BSD]: Print clean message for failing getwd.
3436
34371990-03-20 David Lawrence (tale at pogo.ai.mit.edu)
3438
3439 * getdate.y: Use the getdate.y from GNU tar for timer.
3440
34411990-03-18 Jim Kingdon (kingdon at pogo.ai.mit.edu)
3442
3443 * emacsclient.c (main): Don't put brackets around "filename" in
3444 usage message. It isn't optional.
3445
34461990-03-14 Joseph Arceneaux (jla at churchy.ai.mit.edu)
3447
3448 * etags.c (getit): Recognize '$' as beginning identifiers.
3449
34501990-02-22 David Lawrence (tale at pogo.ai.mit.edu)
3451
3452 * emacsserver.c: Renamed from server.c.
3453 * Makefile: Reference emacsserver rather than server.
3454 * MACHINES: Doc fix for new emacsserver name.
3455
34561990-01-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3457
3458 * emacsclient.c: Print program name in error messages.
3459
34601990-01-19 David Lawrence (tale at cocoa-puffs)
3461
3462 * timer.c, getdate.y (new files) and Makefile:
3463 Sub-process support for run-at-time in timer.el.
3464 Doesn't yet work correctly for USG.
3465
34661990-01-10 Jim Kingdon (kingdon at pogo)
3467
3468 * MACHINES: Add HP 300 running BSD.
3469
34701990-01-02 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3471
3472 * yow.c: Dynamically allocate buffer; skip header before random
3473 choice to avoid bias toward first item.
3474
34751989-12-24 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3476
3477 * etags.c (readline): Separate out init of `pend'.
3478
34791989-12-17 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3480
3481 * etags.c: Undo changes relating to isgoodhdr.
3482
34831989-12-16 Mosur Mohan (rms at sugar-bombs.ai.mit.edu)
3484
3485 * etags.c (isgoodhdr): New macro.
3486 (_gdh, notgdh): New variable used by that.
3487 (init): Initialize _gdh.
3488 (find_entries): Set header_file.
3489 (consider_token): Use isgoodhdr if in header file.
3490
3491 * etags.c (total_size_of_entries):
3492 Was miscalculating by 1 in rewritten case.
3493
3494 * etags.c (PAS_funcs): One arg to pfnote was missing.
3495
34961989-12-05 Joseph Arceneaux (jla at spiff)
3497
3498 * MACHINES: Change for the ULTRIX entry.
3499
35001989-11-21 Joseph Arceneaux (jla at spiff)
3501
3502 * etags.c (process_file): If file is not regular, return.
3503
35041989-11-06 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3505
3506 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
3507
35081989-10-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3509
3510 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
3511 (main): If HAVE_GETLOADAVG, don't call `nlist'.
3512
35131989-10-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3514
3515 * etags.c (consider_token): Allow any number of typespec keywords
3516 after `typedef', before new type name.
3517 (enum sym_type): Add st_C_typespec.
3518 (C_create_stab): Put typespec kwds in table.
3519
35201989-08-27 Richard Stallman (rms at apple-gunkies.ai.mit.edu)
3521
3522 * etags.c (main): Don't depend on name invoked by.
3523 If CTAGS is not defined, assume it is ETAGS.
3524
35251989-07-31 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3526
3527 * etags.c (L_funcs): Allow package name in define construct,
3528 as in (foo::defmumble name-defined ...).
3529
35301989-07-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3531
3532 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
3533
3534 * Makefile (yow): Depends on ../src/paths.h.
3535
35361989-07-04 Richard Stallman (rms at apple-gunkies.ai.mit.edu)
3537
3538 * etags.c: Fix compilation by moving Pascal after Fortran.
3539
35401989-06-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3541
3542 * movemail.c [USG]: Define F_OK, etc., if not found in header.
3543
35441989-05-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3545
3546 * hexl.c: New file, supports hexl-mode.
3547
35481989-05-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3549
3550 * movemail.c: New compilation flag MAIL_USE_MMDF.
3551
35521989-05-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3553
3554 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
3555 * server.c: Likewise.
3556
3557 * make-docfile.c (scan_c_file): Output argument names at end of string.
3558 (write_c_args): New subroutine.
3559
35601989-04-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3561
3562 * movemail.c: Report failure of flock.
3563
35641989-04-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3565
3566 * etags.c (find_entries): Allow multi-letter extensions for fortran.
3567
35681989-04-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3569
3570 * loadst.c: on bsd4.3, use gettimeofday instead of CPUSTATES.
3571
35721989-03-15 Jeff Peck (rms at sugar-bombs.ai.mit.edu)
3573
3574 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
3575
3576 * emacsstool.1: update to document environment variables.
3577
35781989-02-21 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3579
3580 * etags.c (PAS_funcs): New function by Mosur Mohan.
3581
3582 * movemail.c: On sysv, include unistd.h.
3583
35841989-02-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3585
3586 * b2m.c: New file.
3587
35881989-02-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3589
3590 * etags.c: Prolog support from Sunichirou Sugou
3591
35921989-02-03 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3593
3594 * Makefile (clean): New target.
3595
35961989-01-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3597
3598 * fakemail.c (put_line): Break header lines at 79 cols.
3599
36001989-01-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3601
3602 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
3603 multiple tags per line.
3604
36051989-01-03 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3606
3607 * movemail.c: Check access before doing real work.
3608 Check that outfile is in a writable directory.
3609 On fatal error, delete the lock file.
3610
36111988-12-31 Richard Mlynarik (mly at rice-chex.ai.mit.edu)
3612
3613 * env.c: Add decl for my-index
3614 * etags.c (file-entries): .oak => scheme
3615
36161988-12-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3617
3618 * movemail.c: Use `access' to check input and output files.
3619
36201988-12-28 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3621
3622 * emacsclient.c (main): Ignore all of CWD before first slash.
3623
36241988-12-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3625
3626 * etags.c (readline): Double linebuffer->size outside the xrealloc.
3627
36281988-12-22 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3629
3630 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
3631 * server.c: chmod the socket to 0700.
3632
36331988-12-09 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3634
3635 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
3636 (add_field): Delete comments and turn `<', `>' to spaces
3637 in header lines.
3638 (USE_FAKEMAIL): New customization macro says to make fakemail
3639 not be a no-op even on a BSD system.
3640
36411988-12-01 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3642
3643 * etags.c (consider_token): Skip comments just like whitespace.
3644 Notice `struct', etc. and set strtag for those tokens.
3645 Return 1 for the token following `struct' if an open-brace follows it.
3646 (C_entries): Special handling of token following `struct'
3647 needed because we have probably advanced to the following line
3648 to find the `{'.
3649 (main): New option `T' sets tflag and strflag.
3650 Set both of them by default if eflags.
3651
36521988-11-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3653
3654 * movemail.c: Do fsync before closing output.
3655
36561988-11-29 Richard Mlynarik (mly at pickled-brain.ai.mit.edu)
3657
3658 * movemail.c: Better error message when can't create tempname.
3659 This file needs a great deal of extra error-checking and lucid reporting...
3660
36611988-11-16 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3662
3663 * etags.c: Support assembler code for .s and .a files.
3664 (getit): Allow underscore in a tag.
3665
36661988-11-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3667
3668 * movemail.c: Close output and check errors before deleting input.
3669
36701988-10-01 Richard Stallman (rms at apple-gunkies.ai.mit.edu)
3671
3672 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
3673 whether to prefix it. Handle line number args.
3674
36751988-09-24 Richard Stallman (rms at gluteus.ai.mit.edu)
3676
3677 * etags.c (main): default setting of eflag was backwards.
3678
36791988-09-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3680
3681 * etags.c: New option -i. -f renamed -o.
3682 `-' as input file means read input file names from stdin.
3683 -i spec'd or input file named TAGS means the input file is another
3684 tag table; output an "include" line for it.
3685
36861988-09-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3687
3688 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
3689 New targets install, install.sysv, install.xenix.
3690 This makefile is now responsible for installing executables
3691 and documentation from this directory into system directories.
3692
36931988-09-16 Richard Stallman (rms at corn-chex.ai.mit.edu)
3694
3695 * server.c, emacsclient.c (main): Compute socket name from euid.
3696
36971988-08-04 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3698
3699 * emacsclient.c: Args like +DIGITS are passed through unchanged.
3700
37011988-07-12 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3702
3703 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
3704 * emacsclient.c: Likewise.
3705 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
3706
37071988-06-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3708
3709 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
3710 (istoken) New string-comparison macro.
3711 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
3712
37131988-06-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3714
3715 * etags.c: Changes for VMS.
3716 Always define ETAGS on VMS.
3717 Define macros GOOD and BAD for success and failure exit codes.
3718 (begtk, intk): Allow `$' in identifiers
3719 (main): Don't support -B, -F or -u on VMS.
3720 Alternate loop for scanning filename arguments.
3721 (system): Delete definition of this function.
3722
3723 * etags-vmslib.c (system): Undefine this; VMS now provides it.
3724
37251988-06-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3726
3727 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
3728 around include of param.h. (Like fns.c.)
3729
37301988-05-16 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
3731
3732 * loadst.c (load_average): Move load-average code to this new fn.
3733 Add conditionals to compute load ave on UMAX.
3734
37351988-05-14 Richard Stallman (rms at lucky-charms.ai.mit.edu)
3736
3737 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
3738 with opposite sense.
3739
37401988-05-13 Chris Hanson (cph at kleph)
3741
3742 * emacsclient.c: Delete references to unused variable `out'. This
3743 caused a bus error when used under hp-ux.
3744
37451988-05-06 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
3746
3747 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
3748
37491988-05-04 Richard Stallman (rms at rice-krispies.ai.mit.edu)
3750
3751 * etags.c (find_entries): `.t' or `.sch' means scheme code.
3752
37531988-04-29 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
3754
3755 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
3756
37571988-04-28 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
3758
3759 * movemail.c: #undef close, since config can #define it on V.3.
3760 * emacsclient.c, fakemail.c, loadst.c, server.c: likewise.
3761
37621988-04-26 Richard Stallman (rms at lucky-charms.ai.mit.edu)
3763
3764 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
3765 invalid escape sequences such as `\{'.
3766
3767 * loadst.c: Add `sequent' conditional for file dk.h.
3768
37691988-03-20 Richard M. Stallman (rms at wilson)
3770
3771 * server.c [not BSD and not HAVE_SYSVIPC]: fix error message.
3772
3773 * loadst.c (main) [XENIX]: use /usr/spool/mail, not /usr/mail.
diff --git a/lib-src/README b/lib-src/README
new file mode 100644
index 00000000000..fa3074e518b
--- /dev/null
+++ b/lib-src/README
@@ -0,0 +1,3 @@
1This directory contains the source code for the architecture-dependent
2files that go in ../arch-lib. At present, these are mostly utility
3programs used by Emacs.
diff --git a/lib-src/etags.1 b/lib-src/etags.1
new file mode 100644
index 00000000000..2a6c37592da
--- /dev/null
+++ b/lib-src/etags.1
@@ -0,0 +1,227 @@
1.\" Copyright (c) 1992 Free Software Foundation
2.\" See section COPYING for conditions for redistribution
3.TH etags 1 "19apr1994" "GNU Tools" "GNU Tools"
4.de BP
5.sp
6.ti -.2i
7\(**
8..
9
10.SH NAME
11etags, ctags \- generate tag file for Emacs, vi
12.SH SYNOPSIS
13.hy 0
14.na
15.B etags [\|\-aCDRSVh\|] [\|\-i \fIfile\fP\|] [\|\-l \fIlanguage\fP\|] [\|\-i \fIregexp\fP\|] [\|\-o \fItagfile\fP\|]
16.br
17[\|\-\-c++\|] [\|\-\-no\-defines\|] [\|\-\-ignore\-indentation\|]
18[\|\-\-language=\fIlanguage\fP\|] [\|\-\-regex=\fIregexp\fP\|]
19[\|\-\-no\-regexp\|] [\|\-\-help\|] [\|\-\-version\|]
20[\|\-\-include=\fIfile\fP\|] [\|\-\-output=\fItagfile\fP\|]
21[\|\-\-append\|] \fIfile\fP .\|.\|.
22
23.B ctags [\|\-aCdRSVh\|] [\|\-BtTuvwx\|] [\|\-l \fIlanguage\fP\|]
24.br
25[\|\-i \fIregexp\fP\|] [\|\-o \fItagfile\fP\|]
26[\|\-\-c++\|] [\|\-\-defines\|] [\|\-\-ignore\-indentation\|]
27[\|\-\-no\-warn\|] [\|\-\-cxref\|] [\|\-\-backward\-search\|]
28[\|\-\-forward\-search\|] [\|\-\-typedefs\|] [\|\-\-typedefs\-and\-c++\|]
29[\|\-\-language=\fIlanguage\fP\|] [\|\-\-regex=\fIregexp\fP\|]
30[\|\-\-help\|] [\|\-\-version\|]
31.br
32[\|\-\-output=\fItagfile\fP\|] [\|\-\-append\|] [\|\-\-update\|] \fIfile\fP .\|.\|.
33.ad b
34.hy 1
35.SH DESCRIPTION
36The `\|\fBetags\fP\|' program is used to create a tag table file, in a format
37understood by
38.BR emacs ( 1 )\c
39\&; the `\|\fBctags\fP\|' program is used to create a similar table in a
40format understood by
41.BR vi ( 1 )\c
42\&. Both forms of the program understand
43the syntax of C, Objective C, C++, Java, Fortran, Pascal, Cobol,
44LaTeX, Scheme, Emacs Lisp/Common Lisp, Postscript, Erlang, Prolog and
45most assembler\-like syntaxes.
46Both forms read the files specified on the command line, and write a tag
47table (defaults: `\|TAGS\|' for \fBetags\fP, `\|tags\|' for
48\fBctags\fP) in the current working directory.
49Files specified with relative file names will be recorded in the tag
50table with file names relative to the directory where the tag table
51resides. Files specified with absolute file names will be recorded
52with absolute file names.
53The programs recognize the language used in an input file based on its
54file name and contents. The --language switch can be used to force
55parsing of the file names following the switch according to the given
56language, overriding guesses based on filename extensions.
57.SH OPTIONS
58Some options make sense only for the \fBvi\fP style tag files produced
59by ctags;
60\fBetags\fP does not recognize them.
61The programs accept unambiguous abbreviations for long option names.
62.TP
63.B \-a, \-\-append
64Append to existing tag file. (For vi-format tag files, see also
65\fB\-\-update\fP.)
66.TP
67.B \-B, \-\-backward\-search
68Tag files written in the format expected by \fBvi\fP contain regular
69expression search instructions; the \fB\-B\fP option writes them using
70the delimiter `\|\fB?\fP\|', to search \fIbackwards\fP through files.
71The default is to use the delimiter `\|\fB/\fP\|', to search \fIforwards\fP
72through files.
73Only \fBctags\fP accepts this option.
74.TP
75.B \-C, \-\-c++
76Treat files with `\|.c\|' and `\|.h\|' extensions as C++ code, not C
77code. Files with `\|.C\|', `\|.H\|', `\|.cxx\|', `\|.hxx\|', or
78`\|.cc\|' extensions are always assumed to be C++ code.
79.TP
80.B \-d, \-\-defines
81Create tag entries for C preprocessor constant definitions
82and enum constants, too. This is the
83default behavior for \fBetags\fP, so this option is only accepted
84by \fBctags\fP.
85.TP
86.B \-D, \-\-no\-defines
87Do not create tag entries for C preprocessor constant definitions
88and enum constants.
89This may make the tags file much smaller if many header files are tagged.
90This is the default behavior for \fBctags\fP, so this option is only
91accepted by \fBetags\fP.
92.TP
93\fB\-l\fP \fIlanguage\fP, \fB\-\-language=\fIlanguage\fP
94Parse the following files according to the given language. More than
95one such options may be intermixed with filenames. Use \fB\-\-help\fP
96to get a list of the available languages and their default filename
97extensions. The `auto' language can be used to restore automatic
98detection of language based on filename extension. The `none'
99language may be used to disable language parsing altogether; only
100regexp matching is done in this case (see the \fB\-\-regex\fP option).
101.TP
102\fB\-\-no_globals\fP
103Do not tag global variables in C, C++, Objective C, Java. Typically
104this reduces the file size by one fourth.
105.TP
106\fB\-\-members\fP
107Tag variables that are members of strucure-like constructs in C++,
108Objective C, Java.
109.TP
110\fB\-o\fP \fItagfile\fP, \fB\-\-output=\fItagfile\fP
111Explicit name of file for tag table; overrides default `\|TAGS\|' or
112`\|tags\|'. (But ignored with \fB\-v\fP or \fB\-x\fP.)
113.TP
114\fB\-r\fP \fIregexp\fP, \fB\-\-regex=\fIregexp\fP
115Make tags based on regexp matching for each line of the files
116following this option, in addition to the tags made with the standard
117parsing based on language. May be freely intermixed with filenames
118and the \fB\-R\fP option. The regexps are cumulative, i.e. each
119option will add to the previous ones. The regexps are of the form:
120.br
121
122 \fB/\fP\fItagregexp\fP[\fB/\fP\fInameregexp\fP]\fB/\fP
123.br
124
125where \fItagregexp\fP is used to match the lines that must be tagged.
126It should not match useless characters. If the match is
127such that more characters than needed are unavoidably matched by
128\fItagregexp\fP, it may be useful to add a \fInameregexp\fP, to
129narrow down the tag scope. \fBctags\fP ignores regexps without a
130\fInameregexp\fP. The syntax of regexps is the same as in emacs,
131augmented with intervals of the form \\{m,n\\}, as id ed or grep.
132.br
133Here are some examples. All the regexps are quoted to protect them
134from shell interpretation.
135.br
136
137Tag the DEFVAR macros in the emacs source files:
138.br
139\fI\-\-regex\='/[ \\t]*DEFVAR_[A-Z_ \\t(]+"\\([^"]+\\)"\/'\fP
140.br
141
142Tag VHDL files (this example is a single long line, broken here for
143formatting reasons):
144.br
145\fI\-\-language\=none\ \-\-regex='/[\ \\t]*\\(ARCHITECTURE\\|\\
146CONFIGURATION\\)\ +[^\ ]*\ +OF/'\ \-\-regex\='/[\ \\t]*\\
147\\(ATTRIBUTE\\|ENTITY\\|FUNCTION\\|PACKAGE\\(\ BODY\\)?\\
148\\|PROCEDURE\\|PROCESS\\|TYPE\\)[\ \\t]+\\([^\ \\t(]+\\)/\\3/'\fP
149.br
150
151Tag TCL files (this last example shows the usage of a \fItagregexp\fP):
152.br
153\fI\-\-lang\=none \-\-regex\='/proc[\ \\t]+\\([^\ \\t]+\\)/\\1/'\fP
154
155.TP
156.B \-R, \-\-no\-regex
157Don't do any more regexp matching on the following files. May be
158freely intermixed with filenames and the \fB\-\-regex\fP option.
159.TP
160.B \-S, \-\-ignore\-indentation
161Don't rely on indentation as much as we normally do. Currently, this
162means not to assume that a closing brace in the first column is the
163final brace of a function or structure definition in C and C++.
164.TP
165.B \-t, \-\-typedefs
166Record typedefs in C code as tags. Since this is the default behaviour
167of \fBetags\fP, only \fBctags\fP accepts this option.
168.TP
169.B \-T, \-\-typedefs\-and\-c++
170Generate tag entries for typedefs, struct, enum, and union tags, and
171C++ member functions. Since this is the default behaviour
172of \fBetags\fP, only \fBctags\fP accepts this option.
173.TP
174.B \-u, \-\-update
175Update tag entries for \fIfiles\fP specified on command line, leaving
176tag entries for other files in place. Currently, this is implemented
177by deleting the existing entries for the given files and then
178rewriting the new entries at the end of the tags file. It is often
179faster to simply rebuild the entire tag file than to use this.
180Only \fBctags\fP accepts this option.
181.TP
182.B \-v, \-\-vgrind
183Instead of generating a tag file, write index (in \fBvgrind\fP format)
184to standard output. Only \fBctags\fP accepts this option.
185.TP
186.B \-w, \-\-no\-warn
187Suppress warning messages about duplicate entries. The \fBetags\fP
188program does not check for duplicate entries, so this option is not
189allowed with it.
190.TP
191.B \-x, \-\-cxref
192Instead of generating a tag file, write a cross reference (in
193\fBcxref\fP format) to standard output. Only \fBctags\fP accepts this option.
194.TP
195.B \-H, \-\-help
196Print usage information.
197.TP
198.B \-V, \-\-version
199Print the current version of the program (same as the version of the
200emacs \fBetags\fP is shipped with).
201
202.SH "SEE ALSO"
203`\|\fBemacs\fP\|' entry in \fBinfo\fP; \fIGNU Emacs Manual\fP, Richard
204Stallman.
205.br
206.BR cxref ( 1 ),
207.BR emacs ( 1 ),
208.BR vgrind ( 1 ),
209.BR vi ( 1 ).
210
211.SH COPYING
212Copyright (c) 1992 Free Software Foundation, Inc.
213.PP
214Permission is granted to make and distribute verbatim copies of
215this manual provided the copyright notice and this permission notice
216are preserved on all copies.
217.PP
218Permission is granted to copy and distribute modified versions of this
219manual under the conditions for verbatim copying, provided that the
220entire resulting derived work is distributed under the terms of a
221permission notice identical to this one.
222.PP
223Permission is granted to copy and distribute translations of this
224manual into another language, under the above conditions for modified
225versions, except that this permission notice may be included in
226translations approved by the Free Software Foundation instead of in
227the original English.