*** empty log message ***
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
e5acf0ca
GM
12000-07-14 Gerd Moellmann <gerd@gnu.org>
2
3 * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and
4 ymalloc.
5
6 * etags.c (xmalloc, xrealloc): Make externally visible, for use
7 by alloca.o.
8
9 * Makefile.in (alloca.o): Add -Demacs so that alloca will use
10 xmalloc.
11
4b92c49a
GM
122000-07-10 Gerd Moellmann <gerd@gnu.org>
13
14 * ebrowse.c (yylex): Accept string literals with newlines in them.
15 (process_pp_line): Handle case of string literal with newline
16 in it in replacement text, which counts as continuing the
17 replacement text in GNU C.
18
831a6cb0
GM
192000-07-02 Gerd Moellmann <gerd@gnu.org>
20
21 * ebrowse.c (token_string): Add missing tokens.
22 (parm_list): Handle case of qualified pointers.
23
53245ee2
DL
242000-06-23 Dave Love <fx@gnu.org>
25
26 * ebrowse.c: Move config.h before other includes (which may use
27 feature tests).
28
dcbf2cd2
JM
292000-06-14 Jim Meyering <meyering@lucent.com>
30
31 * grep-changelog: Fix typos in comments. Remove trailing blanks.
32
f1c7754a
JR
332000-06-11 Jason Rumney <jasonr@gnu.org>
34
35 * makefile.nt: Add targets for ebrowse.
36
37 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
38 compare filenames.
39
5f1aea9a
GM
402000-06-06 Gerd Moellmann <gerd@gnu.org>
41
42 * ebrowse.c (ymalloc): Renamed from xmalloc.
43 (yrealloc): Renamed from xrealloc.
44
5bf244f1
DL
452000-05-21 Dave Love <fx@gnu.org>
46
47 * movemail.c: Include config.h, not ../src/config.h.
48 (Errmsg): Bump length.
49
50 * pop.c (ERROR_MAX): Increase to 160.
51
ec82fb2f
GM
522000-05-04 Gerd Moellmann <gerd@gnu.org>
53
54 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
55
5c922ea7
EZ
562000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
57
58 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]: Define
59 to semi-colon.
60 (FILENAME_EQ): New macro, for comparing file names.
61 (add_member_decl, add_global_decl, add_member_defn): Use
62 FILENAME_EQ.
63 (process_file): Don't assume that fread always reads as many bytes
64 as it was told to (DOS-style CR-LF text files fail this logic).
65 (open_file): Allocate enough space for path->path plus the file
66 name and the slash.
67
6142fdcb 682000-04-19 Dave Love <fx@gnu.org>
97052c63
DL
69
70 * etags.c (Texinfo_functions): New function.
71 (lang_names): Install it.
72 (Texinfo_suffixes): New variable.
73
cb9215e4
GM
742000-04-19 Gerd Moellmann <gerd@gnu.org>
75
76 * ebrowse.c (xmalloc, xrealloc): Rewritten.
77 (declaration): Remove parameter IS_EXTERN.
78 (class_definition): Remove unused variable.
79
be0dbdab
GM
802000-04-09 Gerd Moellmann <gerd@gnu.org>
81
82 * Makefile.in (INSTALLABLES): Add ebrowse.
83 (ebrowse): New target.
84
85 * ebrowse.c: New file.
86
c5aa0fc2
AS
872000-03-29 Andreas Schwab <schwab@suse.de>
88
89 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
90
d054101f
GM
912000-03-02 Gerd Moellmann <gerd@gnu.org>
92
93 * etags.c (lisp_suffixes) Add `LSP'.
94
71cbb895
FP
952000-02-10 Francesco Potorti` <pot@gnu.org>
96
97 * etags.c (iswhite): Redefined not to consider '\0' as white
98 space, and use it throughout in place of isspace, thus preventing a
99 potential signed char to int conversion problem.
100 (MSDOS): #undefine befere redefining
101
1022000-02-04 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
103
104 * etags.c (many functions): Add prototypes.
105
97fa0cc8
DL
1062000-02-10 Dave Love <fx@gnu.org>
107
108 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
109 (erlang_func): Add `static' to definitions to keep pcc happy.
110
e4100b7f
FP
1112000-01-31 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
112
113 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
114 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
115 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
116 (getenv, getcwd): Only declare them if necessary.
117 (EMACS_NAME): New constant macro.
118 (print_version): Use it.
119 (P_) [__STDC__]: Macro for defining function prototypes.
e4100b7f 120
19e262bd 1212000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
122
123 * etags.c [WINDOWSNT]: #include <direct.h>
124
19e262bd 1252000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 126
19e262bd
FP
127 * etags.c (all functions): Made them static.
128 (all functions): Write prototypes.
e4100b7f 129
55e30d2a
RS
1302000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
131
132 * movemail.c (main): Improve error message if can't create lock file.
133
875c1439
GM
1342000-01-28 Eric Hanchrow <offby1@blarg.net>
135
136 * emacsclient.c (socket_status): New function.
137 (main): if $LOGNAME or $USER exist and differ from our euid, look
138 for a socket based on the UID associated with the name.
139
e4936aa9
GM
1402000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
141
142 * emacsclient.c: Add option -a EDITOR and environment variable
143 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
144
791a9087
GM
1451999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us>
146
147 * movemail.c (popmail): Allow mailbox specifications of the
148 form `po:username:hostname'.
149
e2081362
FP
1501999-11-19 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
151
152 * etags.c (_GNU_SOURCE): Define only if undefined.
153 (get_scheme): Declaration deleted.
154 (main): error was called with an integer as second arg, instead of
155 a char pointer.
156 (canonicalize_filename): Bug removed.
157
1581999-11-18 Dave Love <d.love@dl.ac.uk>
159
160 * etags.c (C_entries): Rename label `intoken', avoiding K&R
161 lossage from name clash with macro.
162
b05d3bee
GM
1631999-11-13 Gerd Moellmann <gerd@gnu.org>
164
165 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
166
cb3a6c48
GM
1671999-11-03 Gerd Moellmann <gerd@gnu.org>
168
169 * etags.c (print_help): Change email address to send bugs to.
170
1c478461
FP
1711999-11-01 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
172
173 * etags.c: Add suffix psw for PSWrap.
174 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
175 (Postscript_functions): Add code for PSWrap.
176 (Scheme_functions): Use local pointer and new get_tag function.
177 (get_tag): New name for old get_scheme.
178 (process_file): Do not free NULL when file does not exist.
179 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
180 (C_entries): Modifications that make --members tag even inside
181 typedefs and C nested structs (one level only).
182 (consider_token): Corrected a bug which prevented tagging of enum
183 constants.
184 (C_stab_entry): Added if, for, while, switch, return as
185 st_C_ignore. This makes it simpler to work when cblev!=0.
186
187 * etags.c (C_entries): tag member function declarations when
188 --declarations is used.
189
190 * etags.c (C_entries, consider_token): C++ `operator' now is
191 tagged in most cases.
192 As before, :: is not recognised if surrounded by spaces.
193
194 * etags.c (relative_filename): Account for DOS file names such
195 that is impossible to make one relative to another.
196
197 * etags.c (sym_type): New st_C_extern tag.
198 (gperf input): Use it for spotting external declarations.
199 (print_help): Document the new behaviour of --declarations.
200 (fvextern): New global variable.
201 (consider_token, C_entries): Use it.
202
203 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
204 (etags_getcwd): Remove test for WINDOWSNT.
205
206 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
207 foo.cgz, foo.cz, etc.
208
209 * etags.c (declarations): New global switch.
210 (longopts): Describe it.
211 (print_help): Document it.
212 (C_entries): Use it.
213 (process_file): Don't process a file twice.
214
215 * etags.c (Fortran_functions): No tags for "procedure".
216
2171999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
218
219 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
220 non-zero, returns a pointer to where the extension begins; callers
221 changed.
222 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
223 were foo.c.gz.
224
2251999-11-01 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
226
227 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
228 (fvdev): New constant foperator.
229 (consider_token): Use it to get "operator" in C++.
230 (C_entries): Extend length of operator@ function name.
231 (C_entries): Use foperator when necessary.
232
233 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
234
235 * etags.c (compressor): New struct for compressed files.
236 (get_compressor_from_suffix): New function.
237 (get_language_from_suffix): Use it. Also, semantics changed.
238 (process_file): Consider compressed files, close file.
239 (find_entries): Use different call arg for get_language_from_suffix,
240 don't close file.
241
242 * etags.c (main): Call free_tree.
243 (find_entries): Do not free curfile.
244 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
245 (prolog_pred, erlang_func, substitute): Cast strlen to int when
246 comparing.
247 (canonicalize_filename): Shut up compiler warning.
248 (Perl_functions): Make tag significant.
249
2501999-11-01 Dave Love <d.love@dl.ac.uk>
251
252 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
253 (argument_type): New member at_icregexp.
254 (lc_trans): New global.
255 (main): Fill lc_trans. Process -c args.
256 (add_regex): New arg determining whether to use translation table.
257 (analyse_regex): New arg. Use it for add_regex.
258
2591999-11-01 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
260
261 * etags.c (init): Cosmetic change: NULL --> '\0'.
262 (erlang_attribute): Bug corrected (uninitialized variable).
263 (filename_is_absolute): New function replaces absolutefn macro and
264 corrects a bug. All callers changed.
265 (canonicalize_filename): New function.
266 (process_file, etags_getcwd, absolute_dirname): Use it.
267 (relative_filename, absolute_filename): Removed var shadowing.
268 (C_entries, Pascal_functions): Add fake initializations to keep
269 compilers quiet.
270 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
271
272 * etags.c (xrnew): New macro. All callers of xrealloc changed.
273 (language): New typedef (was struct lang_entry).
274 (curlang): New global variable.
275 (node): typedef renamed from NODE.
276 (linebuffer): New typedef (was struct linebuffer).
277 (pattern): New typedef (was struct pattern). Some members added.
278 Now used as element of a linked list.
279 (patterns, num_patterns): Global variables deleted.
280 (p_head): New global variable.
281 (forced_lang): New global variable (replaces lang_func).
282 (get_language_from_name, get_language_from_interpreter,
283 get_language_from_suffix): Semantics changed. All callers changed.
284 (last_node): New global variable.
285 (free_tree, add_node, put_entries, total_size_of_entries): Change
286 name of local vars to avoid clashes with typedef node.
287 (number_len): Rewritten for elegance.
288 (token): New typedef replaces TOKEN.
289 (analyse_regex, add_regex): Rewritten for new functionality.
290 (free_patterns): New function called from main and add_regex.
291 (initbuffer, readline_internal, readline, grow_linebuffer):
292 Change name of local vars to avoid clashes with typedef
293 linebuffer.
294 (readline): Rewritten for new functionality.
295
296 * etags.c: (Scheme_suffixes): New suffix ".ss".
297 (print_help): --globals is now used for more than C-type languages.
298 (Perl_functions): Tag global variables ("my" and "local").
299
300 * etags.c (print_help): Some messages clarified.
301 (LOOP_ON_INPUT_LINES): New macro.
302 (just_read_file, Fortran_functions, Asm_labels, Perl_functions,
303 Python_functions, Cobol_paragraphs, Pascal_functions,
304 Lisp_functions, Postscript_functions, Scheme_functions,
305 TeX_functions, Prolog_functions, Erlang_functions): Use it.
306 (Cobol_paragraphs, Postscript_functions, TeX_functions,
307 Prolog_functions, Erlang_functions): Use a local variable instead
308 of the global variable dbp.
309 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
310 standard indentation.
311
312 * etags.c (Python_suffixes, lang_names, Python_functions): Python
313 support.
314 (skip_spaces, skip_non_spaces): Utility functions.
315 (find_entries, takeprec, getit, Fortran_functions, Perl_functions,
316 Python_functions, L_getit, Lisp_functions, Scheme_functions,
317 prolog_pred, erlanf_func, erlang_attribute): Use them.
318 (eat_white): Deleted.
319
320 * etags.c (CHAR, init): Keep into account non US-ASCII
321 characters and compilers with default signed chars.
322 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
323 constructs.
324
325 * (C_stab_entry): "interface" in Java behaves like "class".
326
327 * etags.c: (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
328 (main): Put interval syntax here.
329 (add_regex): And remove it from here.
330
331 * etags.c (suggest_asking_for_help): Provide a
332 meaningful help message with and without LONG_OPTIONS.
333
334 * etags.c: <io.h> [MSDOS]: Include it, don't include string.h.
335 <stdlib.h, string.h>: Don't test MSDOS when including them.
336 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
337 (put_entries): Correctly use %ld instead of %d in printf.
338
339 * etags.c: <unistd.h> [HAVE_UNISTD_H]: Include conditionally, else
340 declare getcwd if HAVE_GETCWD.
341 (consider_token): Dead break instruction removed.
342
4ee9629e
PE
3431999-10-19 Paul Eggert <eggert@twinsun.com>
344
345 Add support for large files. Merge glibc 2.1.2.
1c478461 346
4ee9629e
PE
347 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
348 movemail.c, pop.c:
349 Do not include <stdlib.h>, as <config.h> does this now.
350
351 * b2m.c, emacsserver.c, etags.c, profile.c:
352 Include <config.h> before any system include files.
1c478461 353
4ee9629e
PE
354 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
355 test-distrib.c:
356 (read, write, open, close): Do not undef.
357
358 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
359 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
360
361 * getopt.h: Adopt glibc 2.1.2.
1c478461 362
93c8d183
DL
3631999-10-15 Dave Love <fx@gnu.org>
364
365 * Makefile.in (pop.o): Depend on config.h.
366
b358f91c
GM
3671999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
368
369 * pop.c: Use "pop3" as the POP service name on all platforms,
370 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
371 has been the standard service name since RFC 1340 was published in
372 July 1992, so I think it's safe to start using it by default.
373
362bc2da
DL
3741999-09-27 Dave Love <fx@gnu.org>
375
376 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
377
74e4cb59
PR
3781999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
379
380 * make-docfile.c (scan_lisp_file): Fix previous changes;
381 swallow CRLF like just CR or just LF.
382
362bc2da
DL
3831999-09-03 Richard Stallman <rms@gnu.org>
384
385 * make-docfile.c: Include config.h not ../src/config.h.
386 (main, fopen, chdir): Add #undef.
387 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
388 (scan_lisp_file): Handle \r like \n.
389
3901999-08-30 Andreas Schwab <schwab@gnu.org>
391
392 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
393
394 * emacsserver.c: Include <stdlib.h> if available. Don't declare
395 errno if it's a macro.
396
397 * test-distrib.c: Include <unistd.h> if available.
398
3991999-08-29 Richard Stallman <rms@gnu.org>
400
401 * emacsclient.c (print_help_and_exit): Mention --version.
402
4031999-08-25 Richard M. Stallman <rms@gnu.org>
404
405 * emacsclient.c (decode_options): Update version output.
406 (print_help_and_exit): Update bug report address.
407
4081999-08-13 Richard M. Stallman <rms@gnu.org>
409
410 * emacsclient.c (main): Move the dynamic allocation of
411 system_name outside of the SERVER_HOME_DIR conditional.
412 * emacsserver.c (main): Likewise.
413
4141999-08-10 Gerd Moellmann <gerd@gnu.org>
415
416 * grep-changelog: New.
417 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
418
4191999-07-12 Richard Stallman <rms@gnu.org>
420
421 * Version 20.4 released.
422
4231999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
424
1c478461 425 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
426
4271999-06-23 Dave Love <fx@gnu.org>
428
429 * etags.c (erlang_attribute): Fix undefined variable usage (after
430 Potorti).
431
4321999-05-2 Andrew Innes <andrewi@gnu.org>
433
434 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
435 mapped to _chsize.
436
4371999-04-29 Richard M. Stallman <rms@gnu.org>
438
439 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
440
4411999-03-30 Dave Love <fx@gnu.org>
442
443 * sorted-doc.c (main): Split up tables. Modify the preamble
444 somewhat.
445
4461999-03-05 Geoff Voelker <voelker@cs.washington.edu>
447
448 * makefile.nt: Remove common multiple file compilation commands.
449
4501999-02-26 Richard Stallman <rms@gnu.org>
451
452 * Version 20.4 released.
453
454 * Makefile.in (yow): Depend on epaths.h, not paths.h.
455
456 * yow.c: Refer to epaths.h.
457
4581999-02-22 Simon Josefsson <jas@pdc.kth.se>
459
460 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
461
4621999-01-27 Andrew Innes <andrewi@gnu.org>
463
464 * makefile.nt: Do make version comparison as strings.
465
4661999-01-25 Richard Stallman <rms@gnu.org>
467
468 * emacsclient.c (xmalloc): Fix previous change.
469
4701999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
471
472 * emacsclient.c (xmalloc): Declare to return long.
473
4741999-01-22 Geoff Voelker <voelker@cs.washington.edu>
475
476 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
477 the case of the drive letter.
478
4791999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
480
481 * emacsserver.c (main): Eliminate arbitrary limit on
482 length of system_name.
483
484 * emacsclient.c (main): Eliminate arbitrary limit on
485 length of system_name.
486 (xmalloc): Define unconditionally.
487
4881999-01-12 Darrin B. Jewell <jewell@mit.edu>
489
490 * etags.c (relative_filename): Stop backward search at beginning
491 of string, since non-Unix systems can have absolute paths with no
492 initial slash.
493
4941998-12-08 Geoff Voelker <voelker@cs.washington.edu>
495
496 * makefile.nt: Do string comparision of _NMAKE_VER.
497
4981998-11-03 Theodore Jump <tjump@cais.com>
499
500 * makefile.nt: Compile multiple source files when possible.
501
5021998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
503
504 * Makefile.in: Replace tabs with spaces
505 when they might confuse some Make versions.
506
5071998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
508
509 * emacsclient.c (main): Null-terminate system_name.
510
511 * emacsserver.c (main): Null-terminate system_name.
512
5131998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
514
515 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
516 an error message from POP, mention that it's from POP, to
517 distinguish it from local error messages.
518
5191998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
520
521 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
522 order of messages downloaded from a POP server (e.g., if the
523 server stores messages in mailboxes in reverse order).
524
5251998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
526
527 * Version 20.3 released.
528
5291998-08-11 Paul Eggert <eggert@twinsun.com>
530
531 * rcs2log: Update copyright date and bug report address.
532 (initialize_fullname): Prefer getent if available.
533
5341998-07-30 Paul Eggert <eggert@twinsun.com>
535
536 * lib-src/Makefile.in (REGEXPDEPS, regex.o):
537 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 538
362bc2da
DL
5391998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
540
541 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
542
5431998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
544
545 * Makefile.in: Properly terminate a comment.
546
5471998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
548
549 * movemail.c (sys_wait): Rename to wait.
550
551 * ntlib.h: Undefine _WINSOCKAPI_.
552
553 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
554
5551998-05-30 Geoff Voelker <voelker@cs.washington.edu>
556
557 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
558
5591998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
560
561 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
562 all file i/o to be in binary mode. Include ntlib.h.
563
5641998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
565
566 * make-docfile.c: Include <unistd.h> for chdir.
567
5681998-04-25 Richard Stallman <rms@psilocin.gnu.org>
569
570 * etags.c (TEX_decode_env): Don't free the value getenv returns.
571
5721998-04-17 Geoff Voelker <voelker@cs.washington.edu>
573
574 * makefile.nt (obj): Update with new files in src.
575 (clean): Delete patch scratch files, optimized compilation dir.
576
5771998-04-08 Dave Love <fx@gnu.org>
578
579 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
580 Irix6, at least.
581
5821998-04-06 Andreas Schwab <schwab@gnu.org>
583
584 Silence -Wimplicit:
585 * movemail.c: Move cancelations up. Include <stdlib.h> if
586 available.
587 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
588 (parse_header): Explicitly declare return type.
589 * emacsserver.c: Include <unistd.h> if available.
590 (main, handle_signals, perror_1, fatal_error): Explicitly declare
591 return types. Add forward declarations.
592 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
593 Don't declare geteuid.
594 (print_help_and_exit): Change return type to void. Forward
595 declare it.
596 * b2m.c: Include <stdlib.h> if available.
597 (main): Explicitly declare return type.
598
5991998-04-03 Richard Stallman <rms@delysid.gnu.org>
600
601 * etags.c (put_entries): Use %ld.
602
603 * b2m.c (fatal): Declare the arg.
604
6051998-04-03 Richard Stallman <rms@psilocin.gnu.org>
606
607 * etags.c (put_entries): Use %ld.
608
609 * b2m.c (fatal): Declare the arg.
610
6111998-03-26 Richard Stallman <rms@psilocin.gnu.org>
612
613 * pop.c (pop_getline): Renamed from getline.
614
6151998-03-05 Richard Stallman <rms@psilocin.gnu.org>
616
617 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
618 for the utilities.
619
6201998-01-23 Dave Love <d.love@dl.ac.uk>
621
622 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
623 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
624 Always make named tags.
625 (Fortran_functions): Grok BLOCK DATA.
626
6271998-01-23 Andreas Schwab <schwab@gnu.org>
628
629 * movemail.c (main): Fix interwoven brace and cpp conditional
630 nesting.
631
6321997-12-04 Karl Heuer <kwzh@delysid.gnu.org>
633
634 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
635 server to contain embedded nulls.
636
6371997-12-03 Paul Eggert <eggert@delysid.gnu.org>
638
639 * movemail.c:
640 (mbx_write) [MAIL_USE_POP]: Disable the code which quotes with a
641 '>' any lines starting with "From " read from the POP server, but
642 leave the code in place, wrapped in #ifdef
643 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
644 because it turns out that something is depending on it. Change
645 suggested by Paul Eggert <eggert@twinsun.com>.
646 Convert the character \037 (^_) at the beginning of a line into
647 the character '^' followed by the character '_', because otherwise
648 Emacs can't parse the resulting file as a valid BABYL file.
649 Change suggested by Paul Eggert <eggert@twinsun.com>.
650
6511997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
652
653 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
654 server to contain embedded nulls.
655
6561997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 657
362bc2da
DL
658 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
659 quotes with a '>' any lines starting with "From " read from the
660 POP server, but leave the code in place, wrapped in #ifdef
661 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
662 because it turns out that something is depending on it. Change
663 suggested by Paul Eggert <eggert@twinsun.com>.
664
665 Convert the character \037 (^_) at the beginning of a line into
666 the character '^' followed by the character '_', because otherwise
667 Emacs can't parse the resulting file as a valid BABYL file.
668 Change suggested by Paul Eggert <eggert@twinsun.com>.
669
6701997-11-22 Richard Stallman <rms@gnu.org>
671
672 * b2m.c: Include getopt.h.
673 (main): Use getopt_long to handle --version and --help.
674
675 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
676
6771997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
678
679 * pop.c (fullwrite): Get rid of an extra call to write. Problem
680 pointed out by Chiaki Ishikawa.
681
6821997-10-16 Dave Love <d.love@dl.ac.uk>
683
684 * etags.c (L_getit): Always make named tags so that Emacs
685 completion on symbols containing `:' etc. works.
686 (get_scheme): Likewise.
687
6881997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
689
690 * pop.c: Use system header files instead of declaring C-library
691 functions explicitly.
692
6931997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
694
695 * Version 20.2 released.
696
6971997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
698
699 * Version 20.1 released.
700
7011997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
702
703 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
704
705 * ntlib.c (getpid): Delete function.
706
7071997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
708
709 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
710
7111997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
712
713 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
714 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
715
7161997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
717
718 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
719
7201997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
721
722 * profile.c (get_time): Cast arg to fprintf.
723
724 * hexl.c (main): Use %08lx instead of %08x in printf because the
725 variable named addresses is long.
726
7271997-08-08 Geoff Voelker <voelker@cs.washington.edu>
728
729 * makefile.nt (lisp): Update paths to lisp files that have moved.
730
7311997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
732
733 * makefile.nt (ctags.obj): New target.
734 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
735
736 * ntlib.h: Add includes.
737 Undo definitions of crt routines from config.h.
738
7391997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
740
741 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
742
7431997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
744
745 * pop.c: Support auto-configuration of both Kerberos V4 and
746 Kerberos V5 for movemail, including detection of V4 and V5 header
747 files and libraries.
748 Include <string.h> when STDC_HEADERS is defined, to get
749 declarations of string functions.
750 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
751 V5 API rather than the old one.
752 [KERBEROS] (socket_connection): Change a constant name from
753 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
754 with a constant in a header file.
755
756 * Makefile.in: Support auto-configuration of both Kerberos V4 and
757 Kerberos V5 for movemail, including detection of V4 and V5 header
758 files and libraries.
759
7601997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
761
762 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
763
764 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1c478461 765
362bc2da
DL
7661997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
767
768 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
769
7701997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
771
772 * movemail.c (rindex): Add declaration.
773
774Tue Jul 1 01:09:07 1997 Geoff Voelker <voelker@cs.washington.edu>
775
776 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
777 (movemail.exe): Depend upon and link with getopt files.
778 (obj): Include new source files.
779 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
780 (lisp): Include new and reorganized elisp files.
781
7821997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
783
784 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
785
7861997-06-25 Paul Eggert <eggert@twinsun.com>
787
788 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
789
7901997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
791
792 * b2m.c (readline): Terminate buffer properly when EOF seen.
793 Test for valid pointer before dereferencing it.
794
7951997-05-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
796
797 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
798 defined inside etags.c if HAVE_CONFIG_H is defined.
799
8001997-05-29 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
801
802 * etags.c: (logical): Type name changed to bool.
803 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
804 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
805 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
806 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
807 (longopts): New long options without short counterpart are
808 globals, members, no-globals, no-members. Regexp options are now
809 defined conditionally to ETAGS_REGEXPS.
810 (print_help): Updated.
811
8121997-05-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
813
814 * etags.c (C_entries): Use "." instead of "::" for Java.
815 (consider_token): is_func renamed to is_func_or_var.
816 (C_entries): is_func renamed to funorvar.
817 (C_entries): Initialise tok.named.
818 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
819 get rid of "import", "package" and "friend".
820 (fvdef): Renamed from funcdef. Also some constants renamed. All
1c478461 821 users changed.
362bc2da
DL
822 (C_entries): Make separate tags for variables separated by comma.
823 (globals, members): New flags.
824 (main, C_entries): Use them.
825 (make_C_tag, C_entries): Make tok a global variable.
1c478461 826
362bc2da
DL
8271997-05-16 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
828
829 * etags.c (funcdef): New vignore constant.
830 (consider_token, C_entries): Use it to tag global variables.
831 (print_help): Update for global variables.
832 (consider_token, C_entries): Set the len member of token_name.
833 (prolog_pred): Cleanup according to GNU coding standards.
834 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
835 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
836
8371997-05-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
838
839 * etags.c (CHARS, CHAR): New constant and macro.
840 (iswhite, begtoken, intoken, endtoken): Use them.
841 (notinname, _nin, nonam): New macro, array, string.
842 (init): Cleanup and init _nin.
843 (new_pfnote): New function.
844 (make_C_tag) [traditional_tag_style]: Use it.
845 (traditional_tag_style): Costant set to TRUE for now.
846
8471997-05-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
848
849 * etags.c (C_entries, Pascal_functions): Cleanup.
850 (TeX_functions): NULL as a function arg needs a cast.
851 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
852
8531997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
854
855 * etags.c (TeX_functions): Cleaned up.
856 (tex_getit): Removed.
857
8581997-05-13 Paul Eggert <eggert@twinsun.com>
859
860 * rcs2log (files): When computing arguments automatically, ignore
861 non-files within the RCS subdirectory.
862
8631997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
864
865 * etags.c (C_JAVA): New #define.
866 (Cjava_suffixes): .java is Java.
867 (Cjava_entries): New function.
868 (lang_names): Add Java.
869 (sym_type): Add st_C_javastruct for Java.
870 (C_stab_entry): Add `extends' and `implements' keywords.
871 (consider_token, C_entries): Recognise Java structures.
872
8731997-05-12 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
874
875 * etags.c: (Cplusplus_suffixes): .pdb is Postscript with C syntax.
876 (Postscript_suffixes): .ps is Postscript.
877 (lang_names): Add Postscript.
878 (Postscript_functions): New function.
879 (TEX_decode_env): Close minor memory leak.
880 (just_read_file): Correct the char number of the tag.
881
8821997-05-11 Paul Eggert <eggert@twinsun.com>
883
884 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
885 Don't prepend $nl since this causes some shells to generate the
886 empty string when IFS is $nl.
887 (printlogline): Use SOH (octal code 1), not CR, since some
888 PC-based shells mishandle CR.
889 (initialize_fullname): Set NIS_PATH to the empty string before invoking
890 nismatch, in case it's set to some nonstandard value.
1c478461 891
362bc2da
DL
8921997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
893
894 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
895 read in separate blocks.
896
8971997-04-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
898
899 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
900 (struct linebuffer): New member `len' is the length of the string.
901 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
902 Use it instead of strlen.
903 (TEX_getit): Declare and define unconditionally as static.
904 (TeX_functions): Use if instead of #if TeX_named_tokens.
905 (add_regex): Set RE_INTERVALS flag for regex compilation.
906 (substitute): Code cleanup.
907 (readline_internal): Code cleanup, set new member `len'.
908 (readline): Bug corrected.
909
9101997-04-23 Geoff Voelker <voelker@cs.washington.edu>
911
912 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
913 (obj): Change references of nt*.c files to w32*.c files.
914
9151997-04-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
916
917 * etags.c (xnew): Add support for debugging with chkmalloc.
918 (error): Use this instead of printf whenever possible.
919 (main): Only call xnew after having initialised progname.
920 (substitute): Bad memory corruption error corrected.
921
9221997-04-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
923
924 * etags.c (add_regex): Undo previous change.
925 (relative_filename): Small memory leak closed.
926 (absolute_filename): Cleaned up the code, possibly closing a bug.
927 (absolute_dirname): Always return a newly allocated string.
1c478461 928
362bc2da
DL
9291997-03-21 Paul Eggert <eggert@twinsun.com>
930
931 * rcs2log (files): Ignore files in RCS directory whose names are
932 of the form ,*, or *_; they are probably RCS lock files.
933 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
934 they are used by rcsfreeze.
935
9361997-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
937
938 * etags.c (add_regex): reset *putbuf before using it.
939
9401997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
941
942 * movemail.c (popmail): Remove some unnecessary function
943 declarations.
944 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
945 into pop_retr, there's no reason to pass in mbx_write, and the
946 file argument can be declared FILE * explicitly. This fixes a
947 compilation problem on systems with 64-bit pointers.
948
9491997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
950
951 * movemail.c: Delete duplicate inclusion of fcntl.h
952 and duplicate #undefs of open, read, write, close.
953
9541997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
955
956 * movemail.c (main): Do not display "[POP-password]" in the usage
957 message when movemail is compiled without POP support.
958 (main, popmail): Add the optional "-p" argument, which causes
959 movemail to leave mail in the inbox after copying it into the
960 output file.
1c478461 961
362bc2da
DL
962 * Makefile.in (movemail): Link with getopt.
963
9641997-01-20 Paul Eggert <eggert@twinsun.com>
965
966 * rcs2log: (--help, --version): New options, per GNU coding standards.
967 (Copyright, Help, Id): New variables, for above.
968 (rlog): Use -q option with cvs log, to avoid useless chatter.
969
970 Treat logs of "Initial revision" (RCS) or "file F was initially added
971 on branch B." (CVS) as if they said "New file.", for consistency with
972 change log entries.
973
9741997-01-01 Paul Eggert <eggert@twinsun.com>
975
976 * vcdiff (PATH): Add /usr/xpg4/bin,
977 where XPG4 SCCS hangs out in Solaris 2.5.
978 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
979
9801996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
981
982 * etags.c (streq, strneq): Use == NULL rather than !.
983
9841996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
985
986 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
987 (movemail): Use LIBMAIL, to link against -lmail.
988
989 * movemail.c: Include maillock.h (conditionally).
990 Remove a redundant inclusion of <stdio.h>.
991 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
992 (main): Add variable spool_name.
993 Support the usage of maillock and mailunlock to
994 lock and unlock mailboxes.
995 (mail_spool_name): New function.
996
997 * movemail.c: Fix an uninitialized variable which could cause
998 movemail to exit with an error status incorrectly on systems which
999 use lock files rather than a system locking function to lock
1000 mailboxes.
1001
10021996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1003
1004 * pop.c (socket_connection): Free realhost after using it.
1005
10061996-12-04 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1007
1008 * etags.c (C_entries): Test tok.valid. This handles some
1009 particular cases involving function declarations that failed.
1010
10111996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 1012
362bc2da
DL
1013 * pop.c (socket_connection):
1014 gethostbyname may return a pointer to static data.
1015 krb_realmofhost can clobber it. So copy it.
1016
10171996-11-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1018
1019 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
1020 must cast it to (char *) because we have no prototypes.
1021 (make_C_tag): Macro deleted, new function.
1022 (C_entries): Calls to make_C_tag macro changed to call function.
1023
10241996-11-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1025
1026 * etags.c (grow_linebuffer): New function.
1027 (GROW_LINEBUFFER): Macro deleted. All callers changed.
1028 (make_tag): Macro renamed to make_C_tag. All callers changed.
1029 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
1030 (Prolog_functions): prolog_skip_comment was called with wrong
1031 number of arguments.
1032 (xrealloc): fatal was called with wrong number of arguments
1033
10341996-11-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1035
1036 * etags.c (relative_filename): Bug corrected.
1037 (etags_getcwd): Avoid warning of unused variable.
1038 (C_entries, consider_token): Added support for enum labels.
1039
10401996-11-03 Paul Eggert <eggert@twinsun.com>
1041
1042 * rcs2log: When processing cvs log output, remove `Attic/' from
1043 repository file names.
1044
10451996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
1046
1047 * emacsserver.c: Fix 1996-09-02 change.
1048
10491996-10-12 Paul Eggert <eggert@twinsun.com>
1050
1051 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
1052 option', since CVS says 'invalid option'.
1053 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
1054 revisions, since some hosts reject 1970-01-01 when east of UTC.
1055 (date): Remove.
1056
10571996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1058
1059 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
1060
10611996-10-02 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1062
1063 * etags.c (print_version): Print copyright info.
1064
1065 * etags.c (print_help): Print the bug reporting address.
1066 (main): Use return as the last instruction, instead of exit.
1067
1068 * etags.c (main): Don't open the tags file in cxref mode.
1069
10701996-09-29 Dave Love <d.love@dl.ac.uk>
1071
1072 * rcs2log (date): Make default format acceptable to CVS post v1.8
1073 as well as earlier CVSs and RCS.
1074
10751996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1076
1077 * movemail.c (main): If the lock call fails with EBUSY or
1078 EAGAIN, retry a few times.
1079
10801996-09-25 Paul Eggert <eggert@twinsun.com>
1081
1082 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
1083 whether to append -zLT.
1084
10851996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
1086
1087 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
1088 * emacsclient.c, movemail.c: Likewise.
1089
10901996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1091
1092 * emacsclient.c (longopts): Change nowait to no-wait.
1093 (print_help_and_exit): Fix option name; upcase metavars.
1094
10951996-09-06 Erik Naggum <erik@naggum.no>
1096
1097 * emacsserver.c (main): Declare `fromlen' as size_t.
1098
10991996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
1100
1101 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
1102
11031996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1104
1105 * emacsclient.c (quote_file_name): Quote with &, not \.
1106 Quote `-' only at start of file name. Terminate the value string.
1107
1108 * emacsserver.c: Include signal.h properly;
1109 delete the duplicate includes for it.
1110
1111 * emacsserver.c: On fatal signal, delete socket-file:
1112 * emacsserver.c: Include signal.h.
1113 (xmalloc, fatal, error): New functions.
1114 (delete_socket, handle_signals): New functions.
1115 (progname, socket_name): New variables.
1116 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
1117
11181996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1119
1120 * emacsclient.c (quote_file_name): New function.
1121 (main, both versions): Use quote_file_name.
1122 (decode_options): Don't return a value.
1123 (main, both versions): Use optind.
1124 Don't check for -nowait here.
1c478461 1125
362bc2da
DL
1126 * emacsclient.c (decode_options): New function.
1127 (main, both versions): Call decode_options.
1128 (print_help_and_exit): New function.
1129 (VERSION): New macro.
1130
1131 * Makefile.in (emacsclient): Link with getopt.
1132 Add -DVERSION so emacsclient knows its version number.
1133
11341996-08-31 Geoff Voelker <voelker@cs.washington.edu>
1135
1136 * makefile.nt (lisp): Include dos-nt.elc.
1137
11381996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1139
1140 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
1141
11421996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1143
1144 * emacsclient.c (both versions): Handle -nowait and --nowait
1145 by sending data to the server.
1146
11471996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1148
1149 * Makefile.in (INSTALL_STRIP): New variable.
1150 (${archlibdir}): Use INSTALL_STRIP.
1151
1152 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
1153 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
1154
1155 * pop.c: Reverse conditional in previous change.
1156
11571996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1158
1159 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
1160
11611996-08-24 Paul Eggert <eggert@twinsun.com>
1162
1163 * rcs2log: Use ISO 8601 date format, with time zone appended
1164 if change-log-time-zone-rule is non-nil, instead of
1165 traditional Unix date format.
1166
1167 (datearg): When computing default from ChangeLog, handle ISO format
1168 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
1169 Don't worry about hh:mm:ss since the resolution is now by day.
1170 Use emtpy datearg, not empty rlog_options, to decide whether to pass
1171 "$datearg" option to $rlog.
1172 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
1173 (month_data): Remove `mo'; no longer needed.
1174 (rlog_options): Use -zLT for localltime output, if `rlog' supports it.
1175
1176 Match `revision' line of rlog output more accurately.
1177
1178 Add -c, -v options.
1179
11801996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
1181
1182 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
1183
11841996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1185
1186 * Version 19.33 released.
1187
11881996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1189
1190 * Version 19.32 released.
1191
11921996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
1193
1194 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
1195 computing character positions in source files.
1196
11971996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
1198
1199 * makefile.nt (clean): Use OBJDIR macro.
1200
12011996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
1202
1203 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
1204
12051996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
1206
1207 * cvtmail.c, sorted-doc.c, yow.c: [__GNU_LIBRARY__]: Use <string.h>.
1208 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
1209 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
1210
12111996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
1212
1213 * ntlib.h: Correct return type of getwd.
1214 * ntlib.c (getwd): Correct return type.
1215
12161996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1217
1218 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
1219 to infile.
1220
12211996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
1222
1223 * makefile.nt: Remove all references to wakeup.
1224
12251996-06-28 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1226
1227 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
1228 explicit, mutable, typename.
1229
12301996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1231
1232 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
1233 streams, one for sending and one for reading the reply.
1234
12351996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1236
1237 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
1238 (wakeup): Target deleted.
1239 (UTILITIES): Delete wakeup and timer.
1240
1241 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
1242
12431996-06-11 Geoff Voelker <voelker@cs.washington.edu>
1244
1245 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
1246 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
1247
12481996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1249
1250 * etags.c (main): Copy cwd when appending slash.
1251
12521996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
1253
1254 * Version 19.31 released.
1255
12561996-05-17 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1257
1258 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
1259 (Pascal_functions): Increase linecharno by the correct number of
1260 chars, inline the GET_NEW_LINE macro and delete its definition.
1261
12621996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
1263
1264 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
1265
12661996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
1267
1268 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
1269 (movemail.exe, fakemail.exe): Now built under Win32.o
1270
1271 * ntlib.c: Include ntlib.h.
1272 (nt_sleep): Rename to sleep.
1273 (getwd): Return directory.
1274 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
1275 sys_ctime, sys_fopen): New functions.
1276
1277 * ntlib.h: New file.
1278
12791996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
1280
1281 * pop.c (SEND, RECV): Renamed from send, recv.
1282 (pop_open, pop_trash): Make the trash_started code unconditional.
1283 (socket_connection): Delete casts to void.
1284
12851996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
1286
1287 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
1288 copied from lisp.h.
1289
12901996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
1291
1292 * fakemail.c [WINDOWSNT]: Include ntlib.h.
1293
1294 * hexl.c [DOSNT]: Include fcntl.h.
1295 [WINDOWSNT]: Include io.h.
1296 (main) [MSDOS]: Change conditional to DOS_NT.
1297
1298 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
1299 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
1300 [WINDOWSNT]: Include locking.h.
1301 (main): Update usage message. Use IS_DIRECTORY_SEP.
1302 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
1303 (main) [WINDOWSNT]: Invoke locking instead of flock.
1304 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
1305 (main) [MAIL_USE_POP]: Pass password to popmail if used.
1306 Include winsock.h; don't include unix inet headers.
1307 (popmail): Add password argument and pass it to pop_open.
1308 Open output file in binary mode.
1309
1310 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1c478461 1311 Macro SOCKET_ERROR undefined.
362bc2da
DL
1312 Don't declare h_errno.
1313 [!WINDOWSNT]: Define macros recv and send.
1314 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
1315 (pop_open) [WINDOWSNT]: Initialize trash_started.
1316 (have_winsock) [WINDOWSNT]: New variable.
1317 (socket_connection) [WINDOWSNT]: Initialize winsock.
1318 (socket_connection): Use closesocket instead of close.
1319 (getline): Use recv instead of read.
1320 (fullwrite): Use send instead of write.
1321 (pop_trash): Use closesocket instead of close.
1322 (pop_trash) [WINDOWSNT]: Cleanup winsock.
1323 Check if being called recursively by sendline.
1324
1325 * pop.h (struct _popserver): New field trash_started.
1326
1327 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
1328
13291996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1330
1331 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
1332
13331996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1334
1335 * etags.c [WINDOWSNT]: Include io.h.
1336
13371996-04-10 Geoff Voelker <voelker@cs.washington.edu>
1338
1339 * makefile.nt (CTAGSOBJ): Compile with regexp support.
1340
13411996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
1342
1343 * hexl.c [DJGPP v2]: Include io.h.
1344 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
1345
1346 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
1347 DJGPP v2.
1348
13491996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1350
1351 * etags.c (absolute_filename): Use absolutefn.
1352
13531996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
1354
1355 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
1356 letter isn't an alphabetic character.
1357 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
1358 (process_file) [DOS_NT]: Convert all slashes to forward style.
1359 (absolute_filename) [DOS_NT]: Emit error message for relative
1360 paths with a drive letter.
1361 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
1362 DOS/NT drive letters which try to reference the parent of the root.
1363 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
1364
13651996-03-27 Geoff Voelker <voelker@cs.washington.edu>
1366
1367 * makefile.nt: Change uses of del to $(DEL).
1368
13691996-03-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1370
1371 * etags.c (just_read_file): Reset lineno and charno on entry.
1372
13731996-03-15 Anders Lindgren <andersl@csd.uu.se>
1374
1375 * etags.c: Prolog language totaly rewritten.
1376 (Prolog_functions): Rewritten from scratch.
1377 (skip_comment, prolog_getit): Removed.
1378 (prolog_skip_comment): New function, like old skip_comment.
1379 (prolog_pred, prolog_atom, prolog_white): New functions.
1380 (erlang_func, erlang_attributes): Forward declarations added.
1381 (erlang_atom): Check if backslash ends line inside quoted atom.
1382
13831996-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1384
1385 * etags.c (absolutefn): DOS_NT version corrected.
1386 (main): Append "/" to the dir name only if not already there.
1387 (print_help): Explain the absolute/relative file name issue.
1c478461 1388
362bc2da
DL
13891996-03-08 Anders Lindgren <andersl@csd.uu.se>
1390
1391 * etags.c: New Languange Erlang added.
1392 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom,
1393 erlang_white): New functions.
1394 (Erlang_suffixes): New suffix list.
1395 (lang_names): Erlang entry added.
1396 (prolog_getit): Accepts headers spanning several lines.
1397 Always name tags.
1398 (Prolog_functions): Removed incorrect compensation for
1399 newline characters.
1400 (readline_internal): Zero-terminate last line.
1401
14021996-03-20 Mike Long <mike.long@analog.com>
1403
1404 * b2m.c (main): Initialize progname variable before using it.
1405 Quote `username' in From_ header.
1406
14071996-03-18 Geoff Voelker <voelker@cs.washington.edu>
1408
1409 * ntlib.c (getpid): New function.
1410
14111996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1412
1413 * emacsclient.c (main, both definitions):
1414 Print a newline for normal termination.
1415
14161996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
1417
1418 * tcp.c (main): Convert port to network byte order.
1419
14201996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
1421
1422 * pop.c (pop_retrieve, getline): Avoid type clashes.
1423
14241996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
1425
1426 * etags.c (enum sym_type, anonymous enum): Delete final comma.
1427
14281996-01-15 Paul Eggert <eggert@twinsun.com>
1429
1430 * rcs2log (initialize_fullname): Add support for NIS+.
1431 (hostname): Fully qualify the default hostname with the domainname
1432 if the hostname lacks a `.'.
1433
14341996-01-15 Paul Eggert <eggert@twinsun.com>
1435
1436 * rcs2log (initialize_fullname): Add support for NIS+.
1437 (hostname): Fully qualify the default hostname with the domainname
1438 if the hostname lacks a `.'.
1439
14401996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
1441
1442 * etags.c (consider_token): Fix typo in expression.
1443
14441996-01-04 Paul Eggert <eggert@twinsun.com>
1445
1446 * etags.c (substitute): Fix spelling in message.
1447
14481996-01-03 George V. Reilly <georger@microcrafts.com>
1449
1450 * makefile.nt (etags, ctags): Compile with regexp support.
1451 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
1452 subdirectory exists before compiling.
1c478461 1453
362bc2da
DL
14541996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
1455
1456 * emacsserver.c (main): Do chmod based on existing permission.
1457
14581995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1459
1460 * Makefile.in (install): Turn on read/execute permission.
1461
14621995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1463
1464 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
1465 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
1466
14671995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1468
1469 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
1470
14711995-12-07 Francesco Potorti` <pot@cnuce.cnr.it>
1472
1473 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
1474 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
1475 get_scheme, prolog_getit): Name the tag in ctags mode.
1476 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
1477 (Perl_interpreters): Accept "@PERL@" as an interpreter.
1478 (suggest_asking_for_help): New function.
1479 (main, get_language_from_name): Use suggest_asking_for_help.
1480 (main): Let get_language_from_name make language existence check.
1481 (streq, strneq): Check the arguments #if DEBUG.
1482
14831995-12-06 Francesco Potorti` <pot@cnuce.cnr.it>
1484
1485 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
1486 (gperf): Added keywords for Objective C and GNU macros.
1487 (sym_type): Added values to account for Objective C and GNU macros.
1488 (begtk): The '@' character can start a token.
1489 (objdef, methodlen, objtag): New variables for Objective C.
1490 (consider_token, C_entries): Added code for Objective C.
1491 (plain_C_suffixes): Add .m and .lm for Objective C.
1492 (Yacc_suffixes): Add .ym for Objective yacc.
1493 (GROW_LINEBUFFER): New macro.
1494 (consider_token, C_entries, Pascal_functions): Use the new macro.
1495 (consider_token): Take one more argument. Caller changed.
1496 (consider_token): Use the hashing function to spot GNU macros.
1497 (C_entries): Consider // as a comment start even in plain C for
1498 the sake of Objective C parsing.
1499
15001995-12-04 Francesco Potorti` <pot@cnuce.cnr.it>
1501
1502 * Makefile.in (ctags): depend on etags only for simplicity;
1503 compile with regexp support enabled.
1504
15051995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1506
1507 * Version 19.30 released.
1508
15091995-11-22 Geoff Voelker <voelker@cs.washington.edu>
1510
1511 * makefile.nt (DOC, clean): Don't use switches to del not
1512 supported by Windows 95.
1513
15141995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1515
1516 * Makefile.in (regex.o): Depend on ../src/config.h.
1517
15181995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1519
1520 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
1521 (LOADLIBES): Use LIB_STANDARD.
1522
15231995-11-07 Kevin Gallo <kgallo@microsoft.com>
1524
1525 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
1526 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
1527 Windows 95 conditional.
1528
15291995-11-06 Francesco Potorti` (pot@cnuce.cnr.it)
1530
1531 * etags.c (get_lang_from_name, get_lang_from_interpreter,
1532 get_lang_from_suffix): New functions.
1533 (get_language): Function deleted.
1534 (lang_entry): Two members added to struct.
1535 (lang_names): Reflect the new layout of lang_entry.
1536 (print_language_names, main, find_entries): Use the new functions.
1537 (find_entries): Look at the first line for #! if no language.
1538 (C_entries): Invalidate the token when funcdef is reset.
1539 (Perl_functions): New function.
1540 (lang_suffixes): .pl and .pm are Perl suffixes.
1541
15421995-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
1543
1544 * etags.c (lowcase): Use the standard tolower function.
1545 (substitute): Remove some wrong and some useless code related with
1546 escape `\` character in regexp replacement string.
1547 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
1548 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
1549 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
1550 .prolog for prolog (.pl removed).
1551 (massage_name, etags_getcwd): Use lowcase instead of tolower.
1552 (C_entries, find_entries): Added comments about memory leakage.
1553 (add_node): Dead code removed.
1554
15551995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1556
1557 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
1558 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
1559
15601995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1561
1562 * test-distrib.c: Add #undef for open, close, read, write.
1563
15641995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1565
1566 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
1567 [! O_RDONLY]: Define it to zero.
1568 (main): Use O_RDONLY instead of explicit zero.
1569
15701995-08-17 Francesco Potorti` (pot@cnuce.cnr.it)
1571
1572 * etags.c (Pascal_functions): Close comment bug corrected.
1573 (add_node): Correctly compare node file names.
1574 (Pascal_functions): Correctly allocate and free memory for tline.
1575 (pfnote): Put the definition of fp in the innermost block.
1576 (NODE): `named' member removed.
1577 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1c478461 1578 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
1579 (pfnote): `named' argument removed, all callers changed.
1580 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
1581 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1c478461 1582 removed from pfnote call, some code cleanup.
362bc2da
DL
1583 (relative_filename): Free temporary space allocated by concat.
1584
15851995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1586
1587 * Makefile.in (getdate.c): New target.
1588 (getdate.o): Just compile getdate.c.
1589
15901995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
1591
1592 * fakemail.c (xrealloc): Change cast to match return type.
1593
15941995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1595
1596 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
1597
15981995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1599
1600 * movemail.c (main): Fix previous change.
1601 Add error check for empty OUTNAME.
1602
16031995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1604
1605 * movemail.c (main): Mention lock file name in error message.
1606
16071995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1608
1609 * profile.c (gettimeofday): New function, defined if necessary.
1610
16111995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1612
1613 * Makefile.in: Renamed from Makefile.in.in.
1614 (distclean): Delete Makefile.c, not Makefile.in.
1615
16161995-07-17 Michael Shields <shields@tembel.org>
1617
1618 * Makefile.in.in (tags): Synonym for `TAGS'.
1619
16201995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
1621
1622 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
1623 configure has already set $(INSTALL) to the proper relative path.
1624
16251995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
1626
1627 * etags.c (plain_C_entries): new function.
1628 (lowcase): new macro.
1629 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
1630 (lang_suffixes): new suffix ".pc" for Pro*C files.
1631 (consider_token): don't tag all tokens beginning with DEFUN & Co..
1632 (tail): look for the end of the token when comparing.
1633 (takeprec): since now tail behaves differently, use strneq.
1634
16351995-07-08 Paul Eggert <eggert@twinsun.com>
1636
1637 * rcs2log (datearg): Separate date from time with comma, not space,
1638 to work around CVS 1.5 bug.
1639 (CVSROOT): Don't abort when unset if repository is absolute.
1640
16411995-07-07 Paul Eggert <eggert@twinsun.com>
1642
1643 * rcs-checkin, rcs2log, vcdiff:
1644 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
1645 that interpret `#! /' as a 4-byte magic number.
1646
16471995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
1648
1649 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
1650 mailbox with "po:mailbox", the mailbox is everything after the
1651 "po:" prefix.
1652
16531995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1654
1655 * emacsserver.c: Make all error messages start with `Error: '.
1656 (fatal_error, perror_1): New functions, use throughout.
1657
16581995-06-28 Paul Eggert <eggert@twinsun.com>
1659
1660 * rcs2log (CVSROOT, repository):
1661 Allow remote repositories a la CVS 1.4.
1662
16631995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
1664
1665 * etags.c (plain_C_entries): new function.
1666 (lowcase): new macro.
1667 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
1668 (lang_suffixes): new suffix ".pc" for Pro*C files.
1669 (consider_token): don't tag all tokens beginning with DEFUN & Co..
1670 (tail): look for the end of the token when comparing.
1671 (takeprec): since now tail behaves differently, use strneq.
1672
16731995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1674
1675 * movemail.c (main): Add newline in usage message.
1676
16771995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1678
1679 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
1680
16811995-06-21 Francesco Potorti` (pot@cnuce.cnr.it)
1682
1683 * etags.c (find_entries): Rewind before rereading the input file.
1684
16851995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1686
1687 * Version 19.29 released.
1688
1689 * make-docfile.c (main) [MSDOS]: Do set _fmode.
1690 This undoes part of the previous change.
1691
16921995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1693
1694 * make-docfile.c (main): On MSDOS, don't change stdout
1695 to binary, and insist on an -o option.
1696
16971995-06-13 Geoff Voelker <voelker@cs.washington.edu>
1698
1699 * etags.c (process_file,absolute_filename): Handle filenames
1700 starting with a drive letter.
1701
1702 * makefile.nt (install): Copy wakeup.exe properly.
1703
17041995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
1705
1706 * make-docfile.c [MSDOS]: #undef chdir.
1707
17081995-06-04 Paul Eggert <eggert@twinsun.com>
1709
1710 * rcs2log (output_authors): Allow ':' in time zone,
1711 as per ISO 8601 and RCS 5.6.8 beta.
1712
17131995-05-29 Francesco Potorti` (pot@cnuce.cnr.it)
1714
1715 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
1716 compatibility problems.
1717
17181995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
1719
1720 * etags.c (etags_getcwd): Don't use #elif.
1721 Have just one function body.
1722
17231995-05-25 Geoff Voelker <voelker@cs.washington.edu>
1724
1725 * makefile.nt (LIBS): Use BASE_LIBS.
1726 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
1727 upon LIBS.
1728 (DOC): Use del instead of rm.
1729 (DOC) [WINDOWS95]: Use DOC.
1730 (clean): Handle MSVC aux files.
1731 (config.h,paths.h): Use $(CP) instead of cp.
1732 (config.h): Use $(CONFIG_H)
1733 (make-docfile.obj): Depend upon config.h.
1734 Clean up comments.
1735
17361995-05-23 Francesco Potorti` (pot@cnuce.cnr.it)
1737
1738 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
1739 former gives the true path even in the presence of simlinks.
1740
17411995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1742
1743 * movemail.c (main): Increase lock timeout to five minutes.
1744
17451995-05-06 Geoff Voelker <voelker@cs.washington.edu>
1746
1747 * makefile.nt (obj): Use .c files.
1748
17491995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1750
1751 * make-docfile.c: Include config.h.
1752 (NO_SHORTNAMES): New definition.
1753 (xmalloc): Return long *.
1754
1755 * etags.c (C_entries): Cast result of xrealloc.
1756 (xmalloc, xrealloc): Declare them to return long *.
1757
1758 * b2m.c (xmalloc, xrealloc): Declare them long *.
1759
1760 * movemail.c (xmalloc): Declare it to return long *.
1761
17621995-04-30 Paul Eggert <eggert@twinsun.com>
1763
1764 * rcs2log (datearg): If rlog options are specified explicitly,
1765 omit the implicit '-d>DATE' option.
1766 (repository, rlog): Allow absolute paths to CVS repositories.
1767 Look only at the first line of CVS/Repository.
1768
17691995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
1770
1771 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
1772 realclean.
1773
17741995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1775
1776 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
1777 Alternative (empty) definitions.
1778
17791995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1780
1781 * emacsclient.c (main): Add argv[0] to an error message.
1782
17831995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
1784
1785 * emacsclient.c (main): Improve error handling.
1786 * cvtmail.c (main, skip_to_lf): Improve error handling.
1787 (sysfail): New function.
1788
1789 * b2m.c (main): Check for trailing ", " before trying to delete it.
1790
17911995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1792
1793 * Makefile.in.in (all): Build test-distrib and make-docfile.
1794
1795 * make-docfile.c (scan_c_file): At end, restore file name last char
1796 to its original value.
1797
17981995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1799
1800 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
1801
18021995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1803
1804 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
1805 (alloca.o, regex.o): Use BASE_CFLAGS.
1806
18071995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1808
1809 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
1810
18111995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
1812
1813 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
1814 (SOURCES, distclean): Removed obsolete references to aixcc.
1815
18161995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1817
1818 * aixcc.lex: File deleted--surely obsolete now.
1819
18201995-03-23 Paul Eggert <eggert@twinsun.com>
1821
1822 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
1823 portability to mawk and nawk.
1824
18251995-03-21 Paul Eggert <eggert@twinsun.com>
1826
1827 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
1828 -u "login<tab>fullname<tab>mailaddr".
1829
18301995-03-21 Paul Eggert <eggert@twinsun.com>
1831
1832 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
1833 replaces the (now obsolescent) -n login fullname mailaddr option.
1834 Add -R option for recursive rlog.
1835 (AWK): New environment variable (default `awk') for awk program name.
1836 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
1837 Quote authors and fullnames correctly.
1838 Don't omit path from repository root when logging CVS files.
1839
18401995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1841
1842 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
1843 even if HAVE_SYSVIPC.
1844 * emacsclient.c (main): Use getcwd if not BSD.
1845
18461995-03-13 Francesco Potorti` (pot@cnuce.cnr.it)
1847
1848 * etags.c (process_file): free (filename) after using it.
1849 (readline_internal): Do not access the char before start of line.
1850
18511995-02-22 Francesco Potorti` (pot@cnuce.cnr.it)
1852
1853 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
1854 savetok.valid. Mark token as valid when it is initialised.
1855 (make_tag): Make token only if token is valid and reset validity.
1856 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
1857 (TOKEN): Added a new member: valid.
1858
18591995-02-15 Francesco Potorti` (pot@cnuce.cnr.it)
1860
1861 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
1862 (main): Do not read twice the last filename in the stdin file list.
1863
18641995-02-14 Francesco Potorti` (pot@cnuce.cnr.it)
1865
1866 * etags.c (C_entries): Initialise the new members of TOKEN.
1867 (C_entries): Do not allocate a new space for each token found by
1868 consider_token. Let make_tag do that instead.
1869 (make_tag): Since now TOKEN has memory of where it is taken from,
1870 this new macro substitutes both make_tag_from_new_lb and
1871 make_tag_from_oth_lb. All callers changed.
1872 (TOKEN): Add linepos and buffer members.
1873 (main): Initialise token_str.
1874 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
1875 (token_str): New global variable used by C_entries.
1876
18771995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
1878
1879 * Makefile.in.in (maintainer-clean): Renamed from realclean.
1880
18811995-02-01 Francesco Potorti` (pot@cnuce.cnr.it)
1882
1883 * etags.c (pfnote): Initialise been_warned in the node.
1884 (C_entries): Removed a speed hack for the sake of clarity.
1885
18861995-01-18 Francesco Potorti` (pot@cnuce.cnr.it)
1887
1888 * etags.c (longopts, print_help, main): Use -I as abbreviation
1889 for the --ignore-indentation option.
1890 (main): Do not print an error message for unknown options.
1891
18921995-01-12 Francesco Potorti` (pot@cnuce.cnr.it)
1893
1894 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
1895 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
1896 constantypedefs, update, vgrind_style, no_warnings,
1897 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
1898 (permit_duplicates): Was a var, now a #define.
1899 (filename_lb): Was global, now local to main.
1900 (main): Open the tag file when in cxref mode.
1901 Use a BUFSIZ size buffer for making the shell commands.
1902 Look at the return value from the system routine.
1903 Exit when cannot open the tag file.
1904 (process_file): Open the file and pass the FILE* to find_entries.
1905 (find_entries): Now void, because does not open the file itself.
1906 (pfnote): Recovering from lack of memory does not work. Removed.
1907 Use savenstr and simplify the code.
1908 (free_tree): Only free the name space if node is named.
1909 (structtag): Now a pointer, not a fixed length array of chars.
1910 (consider_token): Don't take a token as argument. Use savenstr
1911 when saving a tag in structtag. Callers changed.
1912 (TOKEN): Structure changed. Now used only in C_entries.
1913 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
1914 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
1915 (pfcnt): Deleted. Users updated.
1916 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
1917 TEX_getit, prolog_getit): Use dinamic allocation for storing
1918 the tag instead of a fixed size buffer.
1919
19201995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1921
1922 * movemail.c (main): Skip past the colon in inname.
1923
19241995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
1925
1926 * etags.c (pfatal): New function.
1927 (main, etags_getcwd): Use pfatal.
1928 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
1929
19301995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
1931
1932 * etags.c (Lang_function): Use void instead to declare the
1933 language functions, because many compilers are buggy.
1934 (etags_getcwd): Fix the previous fix on the #else branch.
1935 (readline_internal): Discard possible \r before \n here.
1936 (C_entries): Do not deal with \r here: undo previous fix.
1937
19381995-01-09 Francesco Potorti` (pot at fly)
1939
1940 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
1941 functions and a macro that allow the program to work on input
1942 lines of whatever length. Copied from etags.c.
1943 (fatal): Print a fatal error message and exit.
1944 (main): Use the new functions. Fixed a bug that made a \037 char
1945 appear at the end of the output.
1946
19471995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1948
1949 * etags.c (C_entries): Ignore carriage return at end of line.
1950
19511994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1952
1953 * fakemail.c (xmalloc, xrealloc): Add casts.
1954 (add_field): Handle <...> and "..." syntax.
1955 (setup_files, get_keyword): Clean up parens and line breaks.
1956 (args_size): Likewise.
1957
19581994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
1959
1960 * yow.c: Include program name in error messages.
1961
19621994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1963
1964 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
1965 (xmalloc, fatal, error): New functions.
1966 (progname): New variable.
1967 (main): Set progname.
1968
19691994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1970
1971 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
1972 (main): If socket/mqueue name is in home dir, add in the host name.
1973 Rename .emacs_server to .emacs-server....
1974
19751994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1976
1977 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
1978
19791994-11-22 Francesco Potorti` (pot@cnuce.cnr.it)
1980
1981 * etags.c (print_help): print --regex usage for ctags also.
1982 (main): use -h in addition to -H as abbreviation for --help.
1983
19841994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
1985
1986 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
1987 is compiled if this is defined. The new functions and variables
1988 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
1989 [VMS]: All VMS specific code previously contained in
1990 etags-vmslib.c is now included here, modified for dealing with
1991 language and regex options intermixed with filenames.
1992 (header_file): Global variable deleted.
1993 (Lang_Function): New typedef. All language parser functions
1994 changed to this new type.
1995 (string_numeric_p, substr, prestr): Functions deleted.
1996 (readline_internal): Does the job that readline did previously.
1997 (longopts): --language and --regex options added.
1998 (lang_names, lang_extensions, lang_func, print_language_names):
1999 New structures, variables and functions for choosing languages.
2000 (print_help): Help strings updated. Calls print_language_names.
2001 (argument_type, ARGUMENT): Typedefs for dealing with language and
2002 regex options intermixed with filenames.
2003 (main): Changed the way of dealing with arguments on the command
2004 line to deal with language and regex options intermixed with
2005 filenames.
2006 (get_language, default_C_entries, Cplusplus_entries,
2007 Cstar_entries, Yacc_entries, just_read_file): New functions.
2008 (find_entries): Use the new method for choosing the language.
2009 (Pascal_functions): Allow intermixing of comment styles.
2010 (prolog_getit, skip_comment): Rewritten for speed.
2011 (readline): Rewritten to deal with regexps.
2012
20131994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
2014
2015 * etags.c (<errno.h>): #include added.
2016 (etags_getcwd): Check return value from getcwd.
2017
20181994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2019
2020 * profile.c (TV1, TV2): Use EMACS_TIME as type.
2021 (get_time): Use EMACS_SUB_TIME.
2022
20231994-10-30 voelker <voelker@cs.washington.edu>
2024
2025 * ntlib.c: New file.
2026 * makefile.nt: New file.
2027
2028 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
2029 [WINDOWSNT]: Include the NT headers.
2030 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
2031
2032 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
2033 [WINDOWSNT]: Include some NT headers.
2034
20351994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
2036
2037 * pop.c (getline): When a search of already-read input for CRLF
2038 fails, store the fact that we've searched it and don't search it
2039 again after reading more data.
2040
2041 * pop.c (getline): When determining whether or not it's necessary
2042 to grow the input buffer, take into account the null that's stored
2043 at the end of already-read input in the buffer.
2044
20451994-10-21 Francesco Potorti` (pot@cnuce.cnr.it)
2046
2047 * etags.c (prestr, substr): return a logical type.
2048 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
2049 (consider_token): set funcdef to fignore when a DEFUN is met.
2050 (C_entries): Now we can use Tom Hageman patch for extern "C".
2051
20521994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2053
2054 * movemail.c: PopServer renamed to popserver throughout.
2055
20561994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
2057
2058 * etags.c: Don't declare malloc, since we include config.h.
2059 * fakemail.c: Likewise.
2060
20611994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2062
2063 * movemail.c: Don't declare malloc.
2064
20651994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
2066
2067 * rcs-checkin: Use test -r instead of < to check readability, to
2068 avoid syntax error.
2069
20701994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
2071
2072 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
2073 defined, and if HAVE_CONFIG_H isn't defined, define
2074 MAIL_USE_POP always (so that this file can be included in
2075 other programs besides emacs).
2076
2077 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
2078 HAVE_CONFIG_H isn't defined.
2079
2080 * pop.c (find_crlf, getline): Instead of using strstr, use a
2081 custom function for finding CRLF.
2082 (my_strstr): Function deleted.
2083
20841994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
2085
2086 * pop.c (getline): Fix a segfault because of passing a
2087 non-null-terminated string into strstr(). Fix from
2088 djm@va.pubnix.com (David J. MacKenzie).
2089
2090 * pop.c: Don't include <string.h> and <strings.h>.
2091
2092 * pop.c: Include <des.h> before <krb.h>, rather than after. They
2093 should be interchangeable, and indeed the inclusion is done in
2094 both orders in various files in the Kerberos 4 library sources,
2095 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
2096 requires that <des.h> be included first, and I don't see any harm
2097 in changing the order.
2098
2099 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
2100 STDC_HEADERS, if they're defined. Undef open, read, write and
2101 close after including it.
2102
21031994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2104
2105 * pop.c: Fix mismatch in conditionals.
2106
2107 * make-docfile.c (main): Don't process one input file twice.
2108 Never use exit code > 1.
2109
2110 * pop.c (open, close, read, write): Add #undefs.
2111
2112 * pop.c: Don't declare malloc, realloc, free.
2113 Include ../src/config.h.
2114 Don't include string.h or strings.h.
2115 Include des.h before krb.h.
2116 Do declare my_strstr.
2117 (getline): Really use my_strstr.
2118 Leave one empty place in server->buffer,
2119 and put a null at the end of the data in it.
2120
21211994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2122
2123 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
2124 call kill with pid 0. Handle EINTR when receiving messages.
2125
21261994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
2127
2128 * Makefile.in.in (regex.o): Use full path to find regex.c.
2129
21301994-10-17 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2131
2132 * Makefile.in.in (etags): add dependency on regex.o, link with it.
2133 (REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added.
2134
21351994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
2136
2137 * Makefile.in.in (DONT_INSTALL): Remove make-path.
2138 (${archlibdir}): Use mkinstalldirs instead.
2139
2140 * movemail.c: Make functions that return nothing void, not
2141 implicitly int.
2142 (main): Improve usage message.
2143 (error): Write to stderr, not stdout.
2144
2145 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
2146 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
2147 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
2148 variables and implicitly declared functions.
2149
21501994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2151
2152 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
2153 (distclean): Not here.
2154
2155 * Makefile.in.in (libexecdir): Renamed from libdir.
2156
21571994-10-11 Francesco Potorti` (pot@cnuce.cnr.it)
2158
2159 * etags.c (C_entries): Name the #define's that are macros.
2160
21611994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2162
2163 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
2164 fd_set arg is a pointer, descriptor arg comes first.
2165
21661994-09-29 Francesco Potorti` (pot@cnuce.cnr.it)
2167
2168 * etags.c (C_entries): Recognise typedef of ANSI style functions.
2169 (C_entries): Recognise #define inside a struct.
2170 (C_entries): ANSI tells that preprocessor commands do not have to
2171 start on the first column.
2172 (print_help): Documentation corrected for -d and -D.
2173 (white, endtk): ANSI tells the vertical tab is a separator.
2174
21751994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
2176
2177 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
2178 (pop.o, movemail.o): New targets.
2179 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
2180
2181 * pop.c, pop.h: New files.
2182
2183 * movemail.c: Improve POP code, move most of it into a separate file.
2184 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
2185 (mbx_write): Check for errors and for From line.
2186 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
2187 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
2188 (pop_init): Functions deleted.
2189
21901994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
2191
2192 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
2193 Rename path to dirname.
2194
21951994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2196
2197 * Makefile.in.in (UTILITIES):
2198 Remove test-distrib, make-docfile, make-path.
2199 (DONT_INSTALL): New variable--list those files here.
2200 (clean): Delete the files in DONT_INSTALL.
2201
22021994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2203
2204 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
2205 (main): Use fgets, not gets.
2206
22071994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2208
2209 * timer.c: Don't declare malloc.
2210
22111994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2212
2213 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
2214 defined, use simple 32-bit versions of these macros.
2215 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
2216
22171994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2218
2219 * etags.c (etags_getcwd): Use getcwd if available.
2220
22211994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2222
2223 * Version 19.27 released.
2224
22251994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2226
2227 * Version 19.26 released.
2228
22291994-08-15 Paul Eggert <eggert@twinsun.com>
2230
2231 * rcs2log: Add support for CVS.
2232 Work with `rlog's that output ISO 8601 dates.
2233
22341994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
2235
2236 * rcs2log: Use <> to delimit email address.
2237
22381994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2239
2240 * emacsserver.c [SYSV_IPC] (main): Make a separate process
2241 so we can listen for multiple requests.
2242
22431994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2244
2245 * movemail.c: Include config.h first thing.
2246
22471994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2248
2249 * emacsserver.c (main): Add casts to avoid warnings.
2250
22511994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2252
2253 * Makefile.in.in (${archlibdir}): Compare the proper dir
2254 before installing the scripts.
2255
22561994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2257
2258 * emacsclient.c (main): New local var progname saves argv[0].
2259
22601994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2261
2262 * emacsclient.c (main): Don't actually modify argv[0].
2263 Modify a copy instead.
2264
22651994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2266
2267 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
2268 (tzp): Var deleted.
2269
2270 * Makefile.in.in: Add #undef alloca.
2271
22721994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2273
2274 * timer.c (xmalloc): New function.
2275
22761994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2277
2278 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
2279 (alloca.o): New target.
2280
22811994-07-08 Dave Love (d.love@dl.ac.uk)
2282
2283 * etags.c (takeprec): recognise `character*(*) function'
2284
22851994-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
2286
2287 * etags.c (main): Don't barf on obsolete -t and -T switches.
2288 (main): Print an explicative message when a switch is not known.
2289
22901994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2291
2292 * hexl.c: Don't declare exit or perror.
2293
2294 * emacsserver.c (main): Don't declare geteuid.
2295 Don't declare getenv if convex.
2296
22971994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2298
2299 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
2300
23011994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2302
2303 * etags.c (absolute_filename): Remove infinite loop bug when
2304 accessing files in directories whose name begins with a dot.
2305
23061994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2307
2308 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
2309
23101994-06-01 Morten Welinder (terra@diku.dk)
2311
2312 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
2313 location of data directory.
2314
23151994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2316
2317 * Version 19.25 released.
2318
23191994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2320
2321 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
2322
23231994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2324
2325 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
2326
23271994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2328
2329 * Version 19.24 released.
2330
23311994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2332
2333 * make-docfile.c (write_c_args): Put `default' in upper case.
2334
23351994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2336
2337 * etags.c (etags_getcwd): Cast result of popen.
2338 (popen): Declaration deleted.
2339
23401994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
2341
2342 * etags.c [!MSDOS]: Declare popen.
2343
23441994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2345
2346 * b2m.c (main): Avoid crash if argc is 1.
2347
23481994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2349
2350 * Version 19.23 released.
2351
2352 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
2353
23541994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2355
2356 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
2357
23581994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
2359
2360 * Makefile.in.in: Fix out of date comment.
2361
23621994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2363
2364 * Makefile.in.in: Put in a separator for where to start cpp procssing.
2365 Move all autoconf substitutions above that point.
2366 Above that point, use Make-style comments.
2367 This goes with changes in ../configure.in.
2368
23691994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2370
2371 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
2372 warning message.
2373 (${archlibdir}): Don't do it here. Don't depend on blessmail.
2374
23751994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
2376
2377 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
2378
23791994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2380
2381 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
2382 print advice to run it, if it has anything significant to do.
2383 And only if MOVEMAIL_NEEDS_BLESSING.
2384 (blessmail): Use emacs, not temacs.
2385 (configuration): Renamed from configname.
2386
23871994-04-30 Morten Welinder (terra@diku.dk)
2388
2389 * etags.c (find_entries): Treat `*.cpp' as C++ files.
2390
23911994-04-30 Morten Welinder (terra@diku.dk)
2392
2393 * etags.c [MSDOS]: #include <sys/param.h> for the following.
2394 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
2395 a shell.
2396
23971994-04-29 Morten Welinder (terra@diku.dk)
2398
2399 * hexl.c [MSDOS]: Don't define proto type for exit.
2400
24011994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2402
2403 * b2m.c: Don't include string.h or strings.h.
2404
24051994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
2406
2407 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
2408 symbols, not make variables.
2409
24101994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2411
2412 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
2413 * etags.c (print_version): Print VERSION as a string.
2414
24151994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2416
2417 * fakemail.c (readline): Fix updating of p when buffer grows.
2418
24191994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
2420
2421 * Makefile.in.in (blessmail): New target.
2422 ${archlibdir}: Use blessmail when installing movemail.
2423
24241994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2425
2426 * fakemail.c (readline): When extending the buffer,
2427 calculate end afresh using the new size.
2428
24291994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2430
2431 * etags.c (main, print_help): eliminate the -F option.
2432
24331994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2434
2435 * etags.c (absolute_filename): compare against '\0' instead of NULL.
2436
24371994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2438
2439 * Makefile.in.in: Renamed from Makefile.in.
2440 Makefile.in is now generated from it, and then preprocessed.
2441 Change comments to C syntax.
2442 Include config.h.
2443 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
2444 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
2445
24461994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2447
2448 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
2449
24501994-04-12 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2451
2452 * etags.c (etags_getcwd): Initialize bufsize.
2453
24541994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2455
2456 * profile.c (gettimeofday): If system doesn't have this, define it
2457 to give a fatal error.
2458
24591994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
2460
2461 * movemail.c (main): Use setuid, not seteuid.
2462
24631994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2464
2465 * etags.c: #undef static.
2466
24671994-04-08 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2468
2469 * etags.c (outf, outfiledir): renamed to tagf, tagfiledir.
2470 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs,
2471 Scheme_funcs, prolog_funcs): renamed to Fortran_functions,
2472 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
2473 TeX_functions, Prolog_functions.
2474 (inf): no more a global variable.
2475 (C_entries): take 2nd parameter `inf' instead of using the global one.
2476 (find_entries): added the cp1 var for optimisation.
2477 (find_entries): added more suffixes for assembler files.
2478 (Asm_funcs): Now finds labels even without an ending colon.
2479
24801994-03-30 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2481
2482 * etags.c (main): use etags_getcwd for compatibility.
2483 (etags_getcwd): new function.
2484
24851994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2486
2487 * Makefile.in (etags, ctags): Pass -D for VERSION.
2488
24891994-03-25 Francesco Potorti` (pot@cnuce.cnr.it)
2490
2491 * etags.c (emacs_tags_format, ETAGS): removed. Use CTAGS instead.
2492 (main): don't allow the use of -t and -T in etags mode.
2493 (print_help): don't show options enabled by default.
2494 (print_version): show the emacs version number if VERSION is #defined.
2495 (find_entries): add "ss" as suffix for Chez Scheme.
2496
24971994-03-23 Francesco Potorti` (pot@cnuce.cnr.it)
2498
2499 * etags.c (cwd, outfiledir): vars added.
2500 (relative_filename, absolute_filename, absolute_dirname):
2501 functions added to compute filenames in tags files.
2502 (process_file): filenames in tags file are relative to the
2503 directory where the tags file is (useful with the -o option).
2504 (main): initialise the outfiledir var.
2505 (TYPEDST): added the `tignore' value.
2506 (C_entries): corrected various small bugs.
2507
25081994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2509
2510 * Makefile.in (UTILITIES): `env' deleted.
2511 (env): Target deleted.
2512 * env.c: File deleted.
1c478461 2513
362bc2da
DL
25141994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2515
2516 * Makefile.in (install, ${archlibdir}): Switch back to ..
2517 before running INSTALL_PROGRAM.
2518
25191994-03-14 Francesco Potorti` (pot@cnuce.cnr.it)
2520
2521 * etags.c (TYPEDST): added the `tignore' value.
2522 (C_entries): corrected various bugs, now correctly parses the
2523 `extern "C" {' construction (patch by Tom R.Hageman).
2524
25251994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2526
2527 * b2m.c: Use <...> to include config.h.
2528 Don't include stdlib.h.
2529
25301994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
2531
2532 * b2m.c (main): Change delimiter from "^L" to "^_^L".
2533 Allow for text following "BABYL OPTIONS:".
2534 Add --help option. Use argv[0] in error messages.
2535
25361994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2537
2538 * emacsclient.c (main) [HAVE_SYSVIPC]:
2539 Make msgp->mtext longer if necessary.
2540 On HPUX, error if it's more than 512 chars.
2541
25421994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
2543
2544 * etags-vmslib.c: Use GPL.
2545 * emacstool.c: Use GPL.
2546 * fakemail.c: Update GPL.
2547
2548 * make-path.c (main): Return 1 on error, not -1.
2549 Update GPL.
2550
2551 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
2552 (xmalloc, xrealloc): Return char *, not int.
2553 (error): Write to stderr, not stdout.
2554 Update GPL.
2555
25561994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
2557
2558 * profile.c (main, get_time): Don't crash on invalid input.
2559
25601994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
2561
2562 * profile.c (get_time): Simplify; avoid calling index.
2563 (main): exit on EOF.
2564
25651994-02-17 Francesco Potorti` (pot@cnuce.cnr.it)
2566
2567 * etags.c (--absolute-pathnames): option removed.
2568
25691994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2570
2571 * fakemail.c (put_line): Don't break the line if it all fits.
2572
25731994-02-14 Francesco Potorti` (pot at fly)
2574
2575 * etags.c (absolute_pathnames, cwd): added global vars.
2576 (longopts, print_help, main, process_file): put absolute filenames
2577 in the tag file if the -A --absolute-pathnames option is used.
2578 (print_help): alfabetically order the options.
2579 (malloc, realloc, strcpy, strncpy, strcmp): remove extern declar.
2580
25811994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2582
2583 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
2584 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
2585
25861994-02-07 Christian Lynbech (lynbech@avignon)
2587
2588 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
2589
25901994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2591
2592 * Makefile.in (UTILITIES): Mention profile.
2593 (profile): New target.
2594
2595 * profile.c: New file.
2596
25971994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2598
2599 * Make the argument list output look more like the Lisp docstrings do.
2600 make-docfile.c (write_c_args): Take new arg FUNC. Make output
2601 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
2602 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
2603
26041994-01-14 Francesco Potorti` (pot@cnuce.cnr.it)
2605
2606 * etags.c (stab_entry, stab_create, stab_find, stab_search,
2607 stab_type, add_keyword, C_reate_stab, C_create_stabs): deleted.
2608 Use gperf generated hash table instead of linked list.
2609 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): added.
2610 Mostly code generated by gperf.
2611 (consider_token): removed unused parameter `lp'.
2612 (PF_funcs, getit): allow subroutine and similar declarations
2613 to span multiple lines.
2614 (C_entries): check for newline if inchar to avoid bus errors.
2615 (process_file, find_entries): distinguish among nonexistent
2616 and not regular file.
2617
26181994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2619
2620 * timer.c: Include errno.h; don't include fasync.h.
2621 (schedule): Don't return a value.
2622 (sigcatch): Reestablish the handler first.
2623 (getevent): Always call notify at the end.
2624 (notify): Defer alarms around the whole body of function.
2625
26261994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2627
2628 * timer.c (main): Don't request SIGIO, and don't handle it.
2629 Loop calling getevent.
2630 (sigcatch): Delete code to handle SIGIO.
2631 if defer_alarms is set, don't call notify, just set alarm_deferred.
1c478461 2632 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
2633 Set defer_alarms around realloc and schedule.
2634 If alarm_deferred gets set, call notify.
2635 Likewise if this event is the only pending event.
2636 Make buf and buf_size global variables.
2637 Don't malloc buf if it is already non-zero.
2638 (schedule): Just exit if run out of memory.
2639 Return the number of events.
2640 (signal) [_CX_UX]: Add #undef.
2641
26421994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2643
2644 * timer.c [USG] (SIGIO): Define as SIGPOLL.
2645 (main) [USG]: Do ioctl to enable SIGPOLL.
2646
26471994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2648
2649 * timer.c: Don't declare sys_errlist; declare strerror instead.
2650 (schedule, main): Call strerror instead of using sys_errlist.
2651 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
2652 Call strerror instead of using sys_errlist.
2653 * env.c (main): Call strerror instead of using sys_errlist.
2654 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
2655 (main): Call strerror instead of using sys_errlist.
2656 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
2657 * env.c [! HAVE_STRERROR] (strerror): Likewise.
2658 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
2659 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
2660
26611994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2662
2663 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
2664
2665 * movemail.c (malloc): Don't declare it.
2666 (xmalloc): Cast result of malloc.
2667 (strcpy): Don't declare it.
2668
26691993-11-14 Morten Welinder (terra@diku.dk)
2670
2671 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
2672 (main): Use fclose to close file opened by fopen.
2673
2674 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
2675
2676 * movemail.c [MSDOS]: #undef `access'.
2677
2678 * b2m.c (main) [MSDOS]: Open all files as binary.
2679 * etags.c (main) [MSDOS]: Open all files as binary.
2680
2681 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
2682 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
2683 with.
2684
26851994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2686
2687 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
2688 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
2689 (LINK_CFLAGS): New variable.
2690 (timer): Use LINK_CFLAGS.
2691
26921993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2693
2694 * movemail.c: Include syswait.h.
2695 Fork a subprocess and use it to copy the mail file.
2696
26971993-12-07 Richard Stallman (rms@srarc2)
2698
2699 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
2700
27011993-12-04 Richard Stallman (rms@srarc2)
2702
2703 * movemail.c (main): When making tempname, cast result of xmalloc.
2704 Include room for EXXXXXX in the size.
2705 Don't use result of strcpy.
2706
27071993-12-03 Paul Eggert (eggert@twinsun.com)
2708
2709 * vcdiff: Add --brief option.
2710
27111993-12-02 Richard Stallman (rms@srarc2)
2712
2713 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
2714 for all executables and scripts.
2715
27161993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2717
2718 * Version 19.22 released.
2719
27201993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2721
2722 * Makefile.in (mostlyclean): Make it distinct from clean.
2723
27241993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2725
2726 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
2727
27281993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2729
2730 * Version 19.21 released.
2731
2732 * Makefile.in (install): Don't change mode or group when installing.
2733
2734 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
2735
27361993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2737
2738 * make-docfile.c (read_c_string): For "", concatenate the two strings.
2739
2740 * movemail.c (main): Fix error message text.
2741
27421993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2743
2744 * Version 19.20 released.
2745
27461993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
2747
2748 * etags.c: (C_entries): Keep track of ()-parenthesis level so that
2749 functions returning a pointer to a function, a la `signal', can be
2750 parsed. This also required new state `fstartlist' to `FUNCST'.
2751 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
2752 (C_entries, CNL): use it to isolate preprocessor directive processing
2753 from the other state engines.
2754 (begtk): add '~', for C++ class destructors.
2755
27561993-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
2757
2758 * etags.c (consider_token): removed unused variable firsttok.
2759 (prolog_getit): call pfnote with the right number of arguments.
2760
27611993-10-19 Paul Eggert (eggert@twinsun.com)
2762
2763 * rcs2log (printlogline): Don't generate lines containing only
2764 white space.
2765
27661993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2767
2768 * Makefile.in (${archlibdir}):
2769 Install ${SCRIPTS} from ${srcdir}, not cwd.
2770
27711993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2772
2773 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
2774 the comment character.
2775
27761993-10-01 Francesco Potorti` (pot@cnuce.cnr.it)
2777
2778 * etags.c (process_file): dead code removed.
2779 (S_ISREG): #define it using S_IFREG if not defined.
2780 (process_file): regular files have nothing to do with symlinks.
2781
27821993-09-28 Brian Fox (bfox@ai.mit.edu)
2783
2784 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
2785 from current directory. Only chmod and chgrp files that we
2786 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
2787 ${bindir}.
2788 (INSTALLFLAGS): Deleted definition, since it is an unused variable
2789 now.
2790
27911993-09-27 Brian Fox (bfox@ai.mit.edu)
2792
2793 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
2794 configure figure out the correct values for these variables.
2795
27961993-09-14 Brian Fox (bfox@ai.mit.edu)
2797
2798 * Makefile.in (archlibdir): Only install execuatables internally
2799 used by emacs; don't install bindir binaries here.
2800
28011993-09-24 Paul Eggert (eggert@twinsun.com)
2802
2803 * rcs2log: Add -h, -n, -r options.
2804 By default, look for *,v files as well as RCS/*,v files.
2805 Use $TMPDIR (default /tmp) instead of /tmp.
2806
28071993-09-20 Francesco Potorti` (pot at fly)
2808
2809 * etags.c (C_entries): is_func is initialised here instead of in
2810 consider_token for the sake of the yacc rules section.
2811 (C_entries): Now class, struct, enum, union and typedef produce
2812 named tags.
2813
28141993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
2815
2816 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
2817
28181993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2819
2820 * Support configuring in a different directory when ${srcdir} has
2821 already been configured.
2822 * Makefile.in (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before
2823 -I${srcdir} -I${srcdir}/../src.
2824 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
2825 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
2826 is already in CPP_FLAGS.
2827 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
2828 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
2829
28301993-08-25 Paul Eggert (eggert@twinsun.com)
2831
2832 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
2833 otherwise, HP awk complains.
2834
2835 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
2836 are common hangouts for SCCS commands.
2837
28381993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2839
2840 * Version 19.19 released.
2841
28421993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2843
2844 * Makefile.in (make-path): Dep on config.h.
2845
28461993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2847
2848 * b2m.c (TRUE, FALSE): Don't define if already defined.
2849
28501993-08-09 Paul Eggert (eggert@twinsun.com)
2851
2852 * rcs2log (awkscript):
2853 Some sites put comma-separated junk after the fullname.
2854 Remove it, but leave "Bill Gates, Jr" alone.
2855 Remove the junk from fullnames like "0000-Admin(0000)".
2856
28571993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2858
2859 * Version 19.18 released.
2860
28611993-08-04 Francesco Potorti` (pot@spiff.gnu.ai.mit.edu)
2862
2863 * etags.c (L_isdef, L_isquote, L_getit): small optimisations.
2864 (L_funcs): the (foo::defmumble stuff now should work.
2865 (consider_token): function returned random value--corrected.
2866 (C_entries): corrected == versus = typo.
2867
28681993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2869
2870 * etags.c (put_entries): For NODE->rewritten, put pattern before
2871 \177 and name after, not vice versa.
2872
28731993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2874
2875 * timer.c (main): Generate a SIGIO as soon as we've initialized.
2876
28771993-07-30 Francesco Potorti` (pot@cnuce.cnr.it)
2878
2879 * etags.c (FINCST): added the fignore status. Means we are
2880 after the parameter list and before the open curly brace.
2881 Allows correct parsing of C++ constructors.
2882 (C_entries, consider_token): make use of fignore.
2883 (consider_token): reset funcdef when next_token_is_func: when in
2884 ctags mode makes DEFVAR and others work better.
2885 (L_isquote): function that recognises the "(quote" string.
2886 (L_getit): ignore quoting via "'" or "(quote". Useful for defalias.
2887
28881993-07-29 Paul Eggert (eggert@twinsun.com)
2889
2890 * rcs-checkin: Don't check whether a file is readable until we have
2891 decided not to ignore it.
2892
28931993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2894
2895 * Makefile.in (etags): Depend on ../src/config.h.
2896
2897 * emacsserver.c: Include types.h before file.h.
2898
28991993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2900
2901 * Makefile.in (install): Use .n, not .new, for temporary filenames.
2902
29031993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2904
2905 * Version 19.17 released.
2906
29071993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
2908
2909 * etags.c (print_help): Break up the very long strings containing
2910 the help message into shorter strings, to placate chintzy C
2911 compilers which can't handle strings that long.
2912
2913 * wakeup.c: Use CPP tangle from autoconf manual to #include the
2914 correct combination of <time.h> and <sys/time.h>.
2915
29161993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
2917
2918 * etags.c (alloca): removed all references to it.
2919 (main): now calls xnew instead of alloca for portability.
2920 (../src/config.h): included only if HAVE_CONFIG_H.
2921 (const): void definition removed--config.h takes care of it.
2922
29231993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
2924
2925 * etags.c (consider_token): was `==', now is `='.
2926 (consider_token): DEFUNs now treated like funcs in ctags mode.
2927
2928 * etags.c (LEVEL_OK_FOR_FUNCDEF): removed.
2929 (C_entries): optimized the test that used LEVEL_OK_FOR_FUNCDEF.
2930 (C_entries): removed a piece of useless code.
2931 (C_entries): making typedef tags is delayed until a semicolon
2932 is met. This handles "typedef int X, Y, Z;" correctly.
2933
29341993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
2935
2936 * Version 19.16 released.
2937
2938 * b2m.c: #include <sys/types.h>.
2939 (ltoday): Declare this to be time_t.
2940
29411993-06-30 Paul Eggert (eggert@twinsun.com)
2942
2943 * vcdiff: Add -q option.
2944
29451993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2946
2947 * etags.c: #include "config.h" and the alloca CPP tangle before
2948 #including the system headers and getopt.h. AIX requires the
2949 #pragma to come before any actual C code.
2950
29511993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2952
2953 * Makefile.in (ctags): Depend on etags, so that parallel makes
2954 don't write etags.o files on top of each other.
2955
29561993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2957
2958 * version 19.15 released.
2959
29601993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2961
2962 * etags.c (add_node): Move var last_node to file scope.
2963
29641993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2965
2966 * Version 19.14 released.
2967
29681993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2969
2970 Bring mumbleclean targets into conformance with GNU coding standards.
2971 * Makefile.in (distclean): Call clean to do most of the work.
2972 Delete aixcc.c and TAGS.
2973 (realclean): Just call distclean.
1c478461 2974
362bc2da
DL
2975 * Makefile.in: Remember, spaces are not tabs.
2976
29771993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2978
2979 * Makefile.in (CPP_CFLAGS): New variable.
2980 Use it instead of ALL_CFLAGS when compiling a .c file.
2981 (getopt.o, getopt1.o): Add explicit compilation commands.
2982
29831993-06-10 Mark D. Baushke (mdb@cisco.com)
2984
2985 * etags.c: Reinstate old -f option as an alias for -o for
2986 installed base uses.
2987
29881993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2989
2990 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
2991 to bind or accept, cast the pointer, to avoid warnings on systems
2992 which declare prototypes for this.
2993 * emacsclient.c (main): Same.
2994
2995 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
2996
29971993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2998
2999 * Version 19.13 released.
3000
3001 * wakeup.c: Include sys/types.h, too; I think that's where time_t
3002 comes from, not sys/time.h.
3003
30041993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3005
3006 * wakeup.c: Include sys/time.h.
3007
3008 * etags.c: #undef static.
3009
3010 * Version 19.12 released.
3011
3012 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
3013
30141993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3015
3016 * Version 19.11 released.
3017
3018 * timer.c [LINUX]: #undef signal.
3019 * emacsserver.c: #undef signal.
3020
30211993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3022
3023 * wakeup.c (main): Make when a time_t.
3024
30251993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3026
3027 * Makefile.in: (${archlibdir}): Use `(cd foo && pwd)` instead of
3028 `(cd foo ; pwd)` to get the canonical name of a directory; cd
3029 might fail, and have pwd print out the current directory.
3030
3031 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
3032 string-handling functions.
3033
30341993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3035
3036 * Version 19.10 released.
3037
30381993-05-29 Paul Eggert (eggert@twinsun.com)
3039
3040 * rcs2log: When given no file arguments, inspect RCS/.* as well
3041 as RCS/*. Don't report an error if RCS is empty or nonexistent.
3042
30431993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3044
3045 * Makefile.in (timer): Link with $(LOADLIBES).
3046
30471993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3048
3049 * fakemail.c (put_line): Don't output \n\t unless more text follows.
3050
30511993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3052
3053 * etags.c: Replace the CPP tangle for alloca with the one from the
3054 autoconf documentation, since that's working elsewhere.
3055
30561993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3057
3058 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
3059 description files can find their ancestors.
3060
30611993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3062
3063 * Makefile.in (install): Get the scripts from ${srcdir},
3064 unlike the executables.
3065 (ALL_CFLAGS): Add -I../src
3066
30671993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3068
3069 * Version 19.9 released.
3070
30711993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3072
3073 * Makefile.in (install): Do install the programs listed in
3074 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
3075 INSTALLABLE_SCRIPTS, instead of writing the programs out.
3076
3077 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
3078 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
3079
30801993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3081
3082 * etags.c: Include ../src/config.h.
3083
3084 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
3085 in first loop. Delete files from bindir before installing new ones.
3086 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
3087
30881993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3089
3090 * Version 19.8 released.
3091
3092 * make-docfile.c: Doc fix.
3093
30941993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3095
3096 * tcp.c: Fix comment syntax at top of file.
3097 (main): Don't call htons with the port number.
3098
30991993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3100
3101 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
1c478461 3102 appropriate.
362bc2da
DL
3103
3104 * Makefile.in (install): Refer to the variables INSTALLABLES and
3105 INSTALLABLE_SCRIPTS, instead of writing them out.
3106
31071993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3108
3109 * make-path.c (main): Return 0.
3110
31111993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3112
3113 * Version 19.7 released.
3114
31151993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3116
3117 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
3118
31191993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3120
3121 * tcp.c: New file.
3122
31231993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3124
3125 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
3126
31271993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3128
3129 * timer.c (notify): Don't call sighold or sigrelse; they're USG
3130 only. We should really fix this later, but let's just make it
3131 compile for now.
3132
3133 Install patches from David J. Mackenzie to make the srcdir option
3134 work.
3135 * Makefile.in (srcdir, VPATH): Get this value from the top-level
3136 Makefile.
3137 (INSTALLABLES): Split this into two lists - INSTALLABLES and
3138 INSTALLABLE_SCRIPTS.
3139 (INSTALLABLE_SCRIPTS): New list.
3140 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
3141 (${archlibdir}): The scripts to be installed live in the source
3142 tree, not in the object tree.
3143 (test-distrib): Note that the data file lives in the source tree,
3144 not the object tree.
3145 (GETOPTDEPS): Note that getopt.h lives in the source tree.
3146 (all other targets): Change references to source files to use
3147 ${srcdir}, except for config.h, which lives in the object dir.
3148 (timer.o): Note that this depends on ../src/config.h.
3149 * make-docfile.c (main): Add a -d option, to tell it where to find
3150 the source files.
3151 * test-distrib.c (main): Take the name of the distribution file to
3152 test from the command line.
3153
3154 * timer.c: Fix mispellings of get_date function's name.
3155
31561993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
3157
3158 * etags.c (main):
3159 Don't require that there be input files if -i switches were given.
3160
31611993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3162
3163 The GNU coding standards specify that CFLAGS should be left for
3164 users to set.
3165 * Makefile.in (CFLAGS): Put this in the "things configure might
3166 edit" section, and have it default to -g.
3167 (ALL_CFLAGS): New variable, set to all the flags which should be
3168 passed to compilations. Replace all other uses of CFLAGS with
3169 ALL_CFLAGS.
3170 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
3171
3172 * Makefile.in (DEFS): Remove this; it's always just going to be
3173 "-DHAVE_CONFIG_H -Demacs".
3174
31751993-05-03 Paul Eggert (eggert@twinsun.com)
3176
3177 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
3178 /[/]/, so change it to /[\/]/. This should work on all
3179 Posix-compliant awks. It's slightly wrong with traditional awk,
3180 since it matches \ too, but that's a minor problem compared to awk
3181 syntax errors.
3182
31831993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3184
3185 * Makefile.in (ALLOCA): New variable, whose value we should
3186 inherit from the top-level makefile.
3187 (etags, ctags): Include ALLOCA in the list of object files that
3188 these executables depend on and link.
3189
31901993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3191
3192 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
3193
31941993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
3195
3196 * make-docfile.c (write_c_args): Print an argument named "defalt"
3197 as "default".
3198
31991993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3200
3201 * Makefile.in (C_SWITCH_SYSTEM): New variable.
3202 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
3203 compiler.
3204
32051993-03-22 Francesco Potorti` (pot@cnuce.cnr.it)
3206
3207 * etags.c (YACC): flag added to c_ext.
3208 (c_ext): no more a synonim for c_ext&C_PLPL because of YACC.
3209 (find_entries): consistently use streq when reasonable.
3210 (find_entries): a .y file is a yacc file.
3211 (get_C_stab): c_ext becomes c_ext&C_PLPL.
3212 (C_entries): logical cplpl means c_ext&C_PLPL.
3213 (C_entries): logical yacc_rules means we are after the first %%.
3214 (C_entries): added logic for yacc files.
3215
32161993-03-16 Francesco Potorti` (pot@cnuce.cnr.it)
3217
3218 * etags.c (C_entries): ':' case moved to the second switch.
3219 (C_entries): do not examine token if structdef==scolonseen.
3220 (consider_token): structtag set to null string for enum.
3221
32221993-03-12 Francesco Potorti` (pot@cnuce.cnr.it)
3223
3224 * etags.c (GET_COOKIE): and related macros removed.
3225 (logical): is now int, no more a char.
3226 (reg): define deleted.
3227 (isgood, _gd, notgd): deleted.
3228 (gotone): deleted.
3229 (TOKEN): member linestart removed.
3230 (linepos, prev_linepos, lb1): deleted.
3231 (main): call initbuffer on lbs array instead of lb1.
3232 (init): removed the initialisation of the logical _gd array;
3233 (find_entries): a .sa suffix means assembler file.
3234 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
3235 All C state machines rewritten.
3236 (C_entries): complete rewrite.
3237 (condider_token): complete rewrite.
3238 (getline): deleted.
3239
32401993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
3241
3242 * etags.c (C_entries): Added the quotednl logical variable.
3243 Used for parsing of #define's spanning multiple lines.
3244
32451993-02-23 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
3246
3247 * etags.c (C_entries): Save the definedef status even when a
3248 newline is met inside a string.
3249
32501993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
3251
3252 * Makefile.in (EXECUTABLES): added rcs-checkin.
3253
3254 * Makefile.in (unlock, relock): New productions.
3255
32561993-03-16 Paul Eggert (eggert@twinsun.com)
3257
3258 * rcs2log: Some awks don't understand "\r". Code around this.
3259 Unfortunately this requires putting a carriage return in the
3260 source code. Don't assume that rlog will tolerate times like
3261 `10:10:60'; RCS 5.7 won't allow this.
3262
32631993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3264
3265 * timer.c (main): Set the ownership of the stdin file descriptor
3266 to the current process. Print error messages if either of the
3267 fcntl's fails.
3268
3269 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
3270 ../src/config.h), not void.
3271
32721993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3273
3274 * b2m.c (main): Don't exit upon reading a blank line.
3275
32761993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
3277
3278 * etags.c (C_entries): New local variable quotednl. Used for
3279 parsing of #define's spanning multiple lines.
3280
3281 * etags.c (C_entries): Save the definedef status
3282 even when a newline is met inside a string.
3283
32841993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3285
3286 * timer.c (notify): Initialize waitfor properly.
3287
32881993-02-22 Francesco Potorti` (pot@CNUCE.CNR.IT)
3289
3290 * etags.c (C_entries): Don't reset definedef when a newline inside a
3291 comment is met.
3292
32931993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3294
3295 * etags.c (find_entries): If filename ends in .f or .for,
3296 don't try anything but Fortran.
3297
32981993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
3299
3300 * timer.c (notify): Flush stdout after writing message to avoid lossage
3301 on terminals.
3302
3303 (notify): Also, write a newline after the token.
3304
33051992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3306
3307 * Makefile.in (exec_prefix): New variable.
3308 (bindir, libdir): Use it instead of `prefix'.
3309
3310 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
3311
3312 * Makefile.in (libdir): Default to ${prefix}/lib.
3313 (archlibdir): Adjusted to match.
3314
3315 * Makefile.in (distclean): Don't delete backup or autosave files.
3316 (extraclean): Like realclean, but does delete backup and autosave
3317 files.
3318
3319 * Makefile.in (realclean): Ignore errors from rm.
3320
3321 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
3322 that doesn't exist anymore.
3323
33241992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3325
3326 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
3327 described in the top-level Makefile.
3328 (UTILITIES): Add make-path to the list of utility programs.
3329 (../arch-lib): Replaced by the ${archlibdir} target, which places
3330 the executables in their permanent home.
3331 (install, install.sysv, install.xenix): Consolidated into one
3332 target which should work under all circumstances, modulo a few
3333 ignored error messages.
3334
3335 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
3336 a different number of arguments than other DEFVARs, recognize it
3337 specially, and expect the right number of commas.
3338
33391992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3340
3341 * make-path.c: New program, to help with the installation process.
3342 * Makefile.in (make-path): New target.
3343
3344 * make-path.c (touchy_mkdir): Remove debugging output.
3345
33461992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3347
3348 * Makefile.in (getdate.o): Added explicit target for this, so we
3349 can indicate that it depends on ../src/config.h.
3350
33511992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3352
3353 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
3354 instead of CFLAGS.
3355 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
3356
33571992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3358
3359 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
3360 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
3361 that system.
3362
3363 * Makefile.in (arch-lib): Give rm the `-f' option.
3364
33651992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3366
3367 * make-docfile.c (write_c_args): Rewritten to correctly print
3368 &optionals before the first identifier, but after the first paren.
3369 This code used to just wait for commas or spaces; now it notices
3370 identifier boundaries.
3371
33721992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3373
3374 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
3375
33761992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3377
3378 * make-docfile.c (write_c_args): Print the argument lists properly
3379 when the first argument is optional.
3380
33811992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3382
3383 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
3384 Redefine @item. Set catcode of +.
3385
33861992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3387
3388 * emacsclient.c (main): Set IPC_CREAT in msgget call.
3389
33901992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3391
3392 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
3393 (TEX_decode_env): Make `tab' one element longer.
3394
33951992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3396
3397 * etags.c (PF_funcs): Recognize the "entry" keyword.
3398
33991992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3400
3401 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
3402
34031992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3404
3405 * timer.c (events): Rather than having slots marked as in use or
3406 out of use by the `token' field, keep all pending events at the
3407 beginning of the array. When we delete an event in the middle of
3408 the array, we move the last event into its place.
3409 (num_events): New variable.
3410 (schedule): It is now cheaper to find a free event slot;
3411 events[num_events] is the first free slot.
3412 (notify): Scan events[0 .. num_events-1], instead of the whole
3413 array. When an event fires, move the last event in the array into
3414 its spot. Use num_events to determine whether or not there are
3415 any pending events, not wait_for.
3416 (getevent): Deleted unused variable `ep'.
3417 (sigcatch): It's now easier to find all the active events.
3418 (main): Initialize num_events.
3419
3420 * etags.c: Rather than fret about which systems have index and
3421 which systems have strchr, and how to tell the difference between
3422 them, we just write out our own versions. Big deal.
3423 (index, rindex): Extern declarations removed.
3424 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
3425 (etags_index, etags_rindex): New declarations.
3426 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
3427 TEX_getit, substr): Use the etags_*index functions, rather than
3428 the native *index functions.
3429 (rindex, index): Renamed to etags_rindex and tags_rindex, and
3430 made them unconditionally defined, rather than having them depend
3431 on NEED_*INDEX.
3432
3433 * etags.c (savenstr): Add declaration for this at top of file.
3434 (TEX_decode_env): Don't declare it local to this function.
3435
3436 * b2m.c: #include "../src/config.h", so we can test for the USG
3437 macro, and decide whether to include <string.h> or <strings.h>.
3438 * Makefile.in: Note that b2m.c depends on ../src/config.h.
3439
34401992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3441
3442 * timer.c: Reformatted according to the GNU coding standards.
3443 Removed arbitrary limits on the number of events queued and the
3444 length of the tokens used to identify them.
3445 Removed casts to (void).
3446 Removed debugging printfs; they clutter the code, and the need
3447 can be better filled using a real debugger.
3448
34491992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3450
3451 * timer.c: Installed new version from Eric Raymond; this is more
3452 portable, since it doesn't try to use SIGIO.
3453
34541992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3455
3456 * emacsclient.c (main): If we can't find the socket in this
3457 person's home directory, print a message which asks if they've
3458 started the server, instead of just printing the message from
3459 sys_errmsg; Cygnus finds that people are much less confused by
3460 this.
3461
34621992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3463
3464 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
3465 so that index and rindex get defined, why don't we actually
3466 control index and rindex using symbols called "NEED_INDEX" and
3467 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
3468 little more readable than defining something whose name implies
3469 that it's not?
3470
34711992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3472
3473 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
3474 distribution:
3475 Miscellaneous doc fixes.
1c478461 3476 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
3477 (scan_lisp_file): Instead of using long hairy strings of ifs, call
3478 read_lisp_symbol and then see what we got. Call skip_white
3479 instead of writing out a loop to do its job. Correctly extract
3480 docstrings from "defmacro" declarations.
3481
34821992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3483
3484 * movemail.c (strcpy): Declare this to return char *.
3485
34861992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3487
3488 * etags.c (C_entries): When we find a C++ comment, do actually
3489 skip to the end of the line; do a 'break' instead of a 'continue'.
3490
34911992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3492
3493 * etags.c (getit): Add missing parenthesis to expression which
3494 decides if this token is an identifier.
3495
34961992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
3497
3498 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
3499
35001992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3501
3502 * etags.c (put_entries): Always put space between name and line num.
3503
35041992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
3505
3506 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
3507 warning.
3508 (LEVEL_OK_FOR_FUNCDEF): Ditto.
3509
35101992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3511
3512 * make-docfile.c (write_c_args): Pass both arguments to putc.
3513
35141992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
3515
3516 * etags.c (C_entries): Fixed reading of "..." strings.
3517 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
3518 the C library source.
3519
3520 * etags.c (C_entries): When we see a backslash inside a quoted
3521 string, skip to the next character. This allows us to correctly
3522 deal with strings containing quotes.
3523
35241992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3525
3526 * make-docfile.c (write_c_args): Print the C argument names as
3527 they would be written in Elisp; print '_' as '-'.
3528
35291992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3530
3531 * movemail.c [POP]: Get user name via getpwuid.
3532
35331992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3534
3535 * Makefile.in: flags in CC invocations rearranged for no reason.
3536
35371992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3538
3539 * etags.c (print_help): Remember not to imbed raw newlines in
3540 strings - end the lines with `\n\'.
3541
35421992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3543
3544 * timer.c (getevent): Removed declaration of memcpy; since
3545 different systems have different return types, and we're not even
3546 using the return type anyway, it wasn't doing us any good.
3547
35481992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3549
3550 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
3551 type of this function.
3552
35531992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3554
3555 * ChangeLog: Since the old etc contents have been split into etc
3556 and lib-src, the old etc's ChangeLog has been duplicated in the
3557 new etc and lib-src. That means that each contains complete and
3558 coherent information, although each contains extraneous
1c478461 3559 information.
362bc2da
DL
3560
35611992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3562
3563 * lib-src/etags.c: "--no-warning" option renamed to "--no-warn",
3564 to be consistent with other GNU programs, like makeinfo.
3565
3566 * lib-src/Makefile: Renamed to Makefile.in; the configure script
3567 will edit this to produce Makefile.
3568
35691992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3570
3571 * etags.c (print_help, print_version): New functions.
3572 (main): Options added to support them.
3573
3574 * etags.c (longopts): New array of long names for the options.
3575 (main): Recognize them.
3576
35771992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3578
3579 * etags.c (C_entries): Removed comment saying that \" in a string
3580 isn't recognized as magic, because it is correctly handled.
3581
3582 * getopt.c, getopt.h: New files, from GNU C library.
3583 * etags.c: Rewritten to use getopt.
3584 #include "getopt.h".
3585 (file_num): Variable deleted; its role is now played by getopt's
3586 optind.
3587 (main): Argument processing loop rewritten to call getopt to get
3588 next option. Options which take parameters (-o and -i) rewritten
3589 to get parameter from optarg instead of argv[1]. Filename
3590 preprocessing loop and update command changed similarly.
3591 * Makefile (etags, ctags): Depend on and link with getopt.h,
3592 getopt.o, and getopt1.o.
3593 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
3594
3595 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
3596 is non-zero.
3597
3598 (main): In the argument processing loop, the 'goto next_arg'
3599 statements are breaking out of the switch statement in exactly the
3600 same way that a simple 'break' statement would; replace the gotos
3601 with breaks, and remove the label.
3602
36031992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3604
3605 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
3606 (consider_token): Move next_token_is_func to global.
3607
36081992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3609
3610 * Makefile: Conform with GNU coding standards:
3611 (mostlyclean): New target, synonymous with clean.
3612 (TAGS, check): New targets.
3613 (INSTALL, INSTALLFLAGS): New variables.
3614
36151992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3616
3617 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
3618 `config.emacs' to `configure'.
3619
3620 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
3621 * etc/MACHINES: Same.
3622
36231992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3624
3625 * movemail.c (main): Allow tempname to be as long as necessary,
3626 instead of limiting it to 39 characters.
3627
3628 * movemail.c (main): Move declaration of buf from top of function
3629 to local block surrounding the copy loop. This makes it less
3630 likely to be confused with the buf used by the code which checks the
3631 permissions on outname's directory.
3632
36331992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
3634
3635 * SERVICE: Remove my entry.
3636
36371992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
3638
3639 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
3640 hardcoded -g.
3641
3642 * movemail.c (xmalloc): Return char *, not int.
3643 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
3644 that is off by default -- normally don't unlink the mail spool
3645 file, just empty it. Pass creat mode 0600, not 0666.
3646
36471992-02-07 Jim Blandy (jimb at pogo.cs.oberlin.edu)
3648
3649 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
3650 (all): Instead of here.
3651 (install): Don't use the -s option, since people need symbols to
3652 debug code.
3653
36541992-01-19 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil)
3655
3656 * etags-vmslib.c (fn_exp): Add type cast.
3657
36581992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3659
3660 * movemail.c: Changes in comments.
3661
36621992-01-13 Jim Blandy (jimb at pogo.cs.oberlin.edu)
3663
3664 * Makefile: Make the distclean target erase the DOC files from
3665 ../share-lib and the executables from ../arch-lib.
3666
36671992-01-09 Jim Blandy (jimb at pogo.cs.oberlin.edu)
3668
3669 * emacsclient.c: #include <sys/stat.h>
3670 (main): Do declare statbfr.
3671
36721991-12-21 Richard Stallman (rms at mole.gnu.ai.mit.edu)
3673
3674 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
3675 for the socket, depending on SERVER_HOME_DIR.
3676 If using /tmp, put host name in the socket name.
3677
3678 * movemail.c (pfatal_and_delete): New function.
3679 (main, popmail): Use it.
3680 (popmail): Close output before deleting messages.
3681 Check for error on close and on fsync.
3682 Use `fatal' where appropriate.
3683 (main): Remove (void).
3684
3685 * aixcc.lex: New file. Not officially part of Emacs.
3686 * Makefile: Rules for that.
3687
36881991-12-04 Jim Blandy (jimb at pogo.gnu.ai.mit.edu)
3689
3690 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
3691
3692 * etags.c (main): Properly cast call to alloca that initializes
3693 included_files.
3694
36951991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
3696
3697 * etags.c (files_are_tag_tables): Remove global var.
3698 (process_file): Don't test it. Also remove hack checking for a
3699 file named "TAGS".
3700 (main): -i now takes an arg which is the name of a file to include.
3701 Collect these names and emit include tags for them after processing
3702 all the argument files.
3703
37041991-07-30 Richard Stallman (rms at mole.gnu.ai.mit.edu)
3705
3706 * wakeup.c: Terminate if parent goes away.
3707
37081991-07-18 Richard Stallman (rms at mole.gnu.ai.mit.edu)
3709
3710 * etags.c (C_entries): Process token before handling end of line.
3711 When inner loops reach end of line, just back up.
3712 Let the real end of line processing happen in just one place.
3713 (consider_token): Likewise.
3714
37151991-04-11 Jim Blandy (jimb at geech.gnu.ai.mit.edu)
3716
3717 * etags.c (TEX_mode): Skip comments while scanning the text to see
3718 which escape character this file uses.
3719
37201991-03-29 Richard Stallman (rms at mole.gnu.ai.mit.edu)
3721
3722 * emacsserver.c [USG]: Terminate if msgrcv fails.
3723
37241991-03-03 Richard Stallman (rms at mole.ai.mit.edu)
3725
3726 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
3727
37281991-01-25 Jim Blandy (jimb at churchy.ai.mit.edu)
3729
3730 * make-docfile: Find the arguments to a C function correctly,
3731 by not ignoring the character that read_c_string returns. Don't
3732 even try to find argument names for functions that take MANY
3733 or UNEVALLED arguments, since they're a figment of the docstring's
3734 imagination.
3735
37361991-01-14 Jim Blandy (jimb at churchy.ai.mit.edu)
3737
3738 * make-docfile: Read the .elc files generated by the new byte
3739 compiler.
3740
37411990-12-31 Richard Stallman (rms at mole.ai.mit.edu)
3742
3743 * refcard.tex: Use cm fonts, not am, in multi-column mode.
3744
37451990-11-29 Richard Stallman (rms at mole.ai.mit.edu)
3746
3747 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
3748
37491990-11-27 Richard Stallman (rms at mole.ai.mit.edu)
3750
3751 * Makefile (install*): No need to install wakeup.
3752
37531990-11-26 Richard Stallman (rms at mole.ai.mit.edu)
3754
3755 * Makefile (install*): Install emacsclient like etags.
3756
37571990-11-13 Richard Stallman (rms at mole.ai.mit.edu)
3758
3759 * movemail.c (error): Handle 3 args.
3760 (main): Don't check input access if using pop.
3761
37621990-10-16 Richard Stallman (rms at mole.ai.mit.edu)
3763
3764 * etags.c (find_entries): Check for numbers after Scheme suffix.
3765
37661990-10-14 Richard Stallman (rms at mole.ai.mit.edu)
3767
3768 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
3769
37701990-10-09 Richard Stallman (rms at mole.ai.mit.edu)
3771
3772 * Makefile (nemacstool, xvetool): New targets.
3773
37741990-09-26 Richard Stallman (rms at mole.ai.mit.edu)
3775
3776 * emacsclient.c: Include errno.h and define related variables.
3777
37781990-09-23 Richard Stallman (rms at mole.ai.mit.edu)
3779
3780 * emacsclient.c: Change usage message.
3781
37821990-08-30 David Lawrence (tale at pogo.ai.mit.edu)
3783
3784 * emacs.1: Add break before -nw option.
3785
37861990-08-19 David J. MacKenzie (djm at apple-gunkies)
3787
3788 * qsort.c: Replace with GNU version.
3789
37901990-08-14 David J. MacKenzie (djm at apple-gunkies)
3791
3792 * wakeup.c: New program replacing loadst.c.
3793
37941990-08-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3795
3796 * emacsclient.c [USG]: Pass msgsnd only 4 args.
3797
37981990-08-09 David J. MacKenzie (djm at pogo.ai.mit.edu)
3799
3800 * etags.c: Rename `flag' variables for what they do instead of
3801 which option character sets them.
3802
38031990-05-28 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3804
3805 * loadst.c (main): Conditional to get load average on Apollo.
3806
38071990-05-22 Joseph Arceneaux (jla at churchy.ai.mit.edu)
3808
3809 * emacsserver.c: Set the permission on the socket to 0600.
3810
38111990-03-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3812
3813 * emacsclient.c [BSD]: Print clean message for failing getwd.
3814
38151990-03-20 David Lawrence (tale at pogo.ai.mit.edu)
3816
3817 * getdate.y: Use the getdate.y from GNU tar for timer.
3818
38191990-03-18 Jim Kingdon (kingdon at pogo.ai.mit.edu)
3820
3821 * emacsclient.c (main): Don't put brackets around "filename" in
3822 usage message. It isn't optional.
3823
38241990-03-14 Joseph Arceneaux (jla at churchy.ai.mit.edu)
3825
3826 * etags.c (getit): Recognize '$' as beginning identifiers.
3827
38281990-02-22 David Lawrence (tale at pogo.ai.mit.edu)
3829
3830 * emacsserver.c: Renamed from server.c.
3831 * Makefile: Reference emacsserver rather than server.
3832 * MACHINES: Doc fix for new emacsserver name.
3833
38341990-01-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3835
3836 * emacsclient.c: Print program name in error messages.
3837
38381990-01-19 David Lawrence (tale at cocoa-puffs)
3839
3840 * timer.c, getdate.y (new files) and Makefile:
3841 Sub-process support for run-at-time in timer.el.
1c478461 3842 Doesn't yet work correctly for USG.
362bc2da
DL
3843
38441990-01-10 Jim Kingdon (kingdon at pogo)
3845
3846 * MACHINES: Add HP 300 running BSD.
3847
38481990-01-02 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3849
3850 * yow.c: Dynamically allocate buffer; skip header before random
3851 choice to avoid bias toward first item.
3852
38531989-12-24 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3854
3855 * etags.c (readline): Separate out init of `pend'.
3856
38571989-12-17 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3858
3859 * etags.c: Undo changes relating to isgoodhdr.
3860
38611989-12-16 Mosur Mohan (rms at sugar-bombs.ai.mit.edu)
3862
3863 * etags.c (isgoodhdr): New macro.
3864 (_gdh, notgdh): New variable used by that.
3865 (init): Initialize _gdh.
3866 (find_entries): Set header_file.
3867 (consider_token): Use isgoodhdr if in header file.
3868
3869 * etags.c (total_size_of_entries):
3870 Was miscalculating by 1 in rewritten case.
3871
3872 * etags.c (PAS_funcs): One arg to pfnote was missing.
3873
38741989-12-05 Joseph Arceneaux (jla at spiff)
3875
3876 * MACHINES: Change for the ULTRIX entry.
3877
38781989-11-21 Joseph Arceneaux (jla at spiff)
3879
3880 * etags.c (process_file): If file is not regular, return.
3881
38821989-11-06 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3883
3884 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
3885
38861989-10-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3887
3888 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
3889 (main): If HAVE_GETLOADAVG, don't call `nlist'.
3890
38911989-10-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3892
3893 * etags.c (consider_token): Allow any number of typespec keywords
3894 after `typedef', before new type name.
3895 (enum sym_type): Add st_C_typespec.
3896 (C_create_stab): Put typespec kwds in table.
3897
38981989-08-27 Richard Stallman (rms at apple-gunkies.ai.mit.edu)
3899
3900 * etags.c (main): Don't depend on name invoked by.
3901 If CTAGS is not defined, assume it is ETAGS.
3902
39031989-07-31 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3904
3905 * etags.c (L_funcs): Allow package name in define construct,
3906 as in (foo::defmumble name-defined ...).
3907
39081989-07-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3909
3910 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
3911
3912 * Makefile (yow): Depends on ../src/paths.h.
3913
39141989-07-04 Richard Stallman (rms at apple-gunkies.ai.mit.edu)
3915
3916 * etags.c: Fix compilation by moving Pascal after Fortran.
3917
39181989-06-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3919
3920 * movemail.c [USG]: Define F_OK, etc., if not found in header.
3921
39221989-05-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3923
3924 * hexl.c: New file, supports hexl-mode.
3925
39261989-05-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3927
3928 * movemail.c: New compilation flag MAIL_USE_MMDF.
3929
39301989-05-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3931
3932 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
3933 * server.c: Likewise.
3934
3935 * make-docfile.c (scan_c_file): Output argument names at end of string.
3936 (write_c_args): New subroutine.
3937
39381989-04-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3939
3940 * movemail.c: Report failure of flock.
3941
39421989-04-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3943
3944 * etags.c (find_entries): Allow multi-letter extensions for fortran.
3945
39461989-04-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3947
3948 * loadst.c: on bsd4.3, use gettimeofday instead of CPUSTATES.
3949
39501989-03-15 Jeff Peck (rms at sugar-bombs.ai.mit.edu)
3951
3952 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
3953
3954 * emacsstool.1: update to document environment variables.
3955
39561989-02-21 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3957
3958 * etags.c (PAS_funcs): New function by Mosur Mohan.
3959
3960 * movemail.c: On sysv, include unistd.h.
3961
39621989-02-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3963
3964 * b2m.c: New file.
3965
39661989-02-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3967
3968 * etags.c: Prolog support from Sunichirou Sugou
3969
39701989-02-03 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3971
3972 * Makefile (clean): New target.
3973
39741989-01-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3975
3976 * fakemail.c (put_line): Break header lines at 79 cols.
3977
39781989-01-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3979
3980 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
3981 multiple tags per line.
3982
39831989-01-03 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3984
3985 * movemail.c: Check access before doing real work.
3986 Check that outfile is in a writable directory.
3987 On fatal error, delete the lock file.
3988
39891988-12-31 Richard Mlynarik (mly at rice-chex.ai.mit.edu)
3990
3991 * env.c: Add decl for my-index
3992 * etags.c (file-entries): .oak => scheme
3993
39941988-12-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3995
3996 * movemail.c: Use `access' to check input and output files.
3997
39981988-12-28 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3999
4000 * emacsclient.c (main): Ignore all of CWD before first slash.
4001
40021988-12-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4003
4004 * etags.c (readline): Double linebuffer->size outside the xrealloc.
4005
40061988-12-22 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4007
4008 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
4009 * server.c: chmod the socket to 0700.
4010
40111988-12-09 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4012
4013 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
4014 (add_field): Delete comments and turn `<', `>' to spaces
4015 in header lines.
4016 (USE_FAKEMAIL): New customization macro says to make fakemail
4017 not be a no-op even on a BSD system.
4018
40191988-12-01 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4020
4021 * etags.c (consider_token): Skip comments just like whitespace.
4022 Notice `struct', etc. and set strtag for those tokens.
4023 Return 1 for the token following `struct' if an open-brace follows it.
4024 (C_entries): Special handling of token following `struct'
4025 needed because we have probably advanced to the following line
4026 to find the `{'.
4027 (main): New option `T' sets tflag and strflag.
4028 Set both of them by default if eflags.
4029
40301988-11-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4031
4032 * movemail.c: Do fsync before closing output.
4033
40341988-11-29 Richard Mlynarik (mly at pickled-brain.ai.mit.edu)
4035
4036 * movemail.c: Better error message when can't create tempname.
4037 This file needs a great deal of extra error-checking and lucid reporting...
4038
40391988-11-16 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4040
4041 * etags.c: Support assembler code for .s and .a files.
4042 (getit): Allow underscore in a tag.
4043
40441988-11-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4045
4046 * movemail.c: Close output and check errors before deleting input.
4047
40481988-10-01 Richard Stallman (rms at apple-gunkies.ai.mit.edu)
4049
4050 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
4051 whether to prefix it. Handle line number args.
4052
40531988-09-24 Richard Stallman (rms at gluteus.ai.mit.edu)
4054
4055 * etags.c (main): default setting of eflag was backwards.
4056
40571988-09-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4058
4059 * etags.c: New option -i. -f renamed -o.
4060 `-' as input file means read input file names from stdin.
4061 -i spec'd or input file named TAGS means the input file is another
4062 tag table; output an "include" line for it.
4063
40641988-09-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4065
4066 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
4067 New targets install, install.sysv, install.xenix.
4068 This makefile is now responsible for installing executables
4069 and documentation from this directory into system directories.
4070
40711988-09-16 Richard Stallman (rms at corn-chex.ai.mit.edu)
4072
4073 * server.c, emacsclient.c (main): Compute socket name from euid.
4074
40751988-08-04 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4076
4077 * emacsclient.c: Args like +DIGITS are passed through unchanged.
4078
40791988-07-12 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4080
4081 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
4082 * emacsclient.c: Likewise.
4083 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
4084
40851988-06-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4086
4087 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
4088 (istoken) New string-comparison macro.
4089 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
4090
40911988-06-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4092
4093 * etags.c: Changes for VMS.
4094 Always define ETAGS on VMS.
4095 Define macros GOOD and BAD for success and failure exit codes.
4096 (begtk, intk): Allow `$' in identifiers
4097 (main): Don't support -B, -F or -u on VMS.
4098 Alternate loop for scanning filename arguments.
4099 (system): Delete definition of this function.
4100
4101 * etags-vmslib.c (system): Undefine this; VMS now provides it.
4102
41031988-06-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4104
4105 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
4106 around include of param.h. (Like fns.c.)
4107
41081988-05-16 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
4109
4110 * loadst.c (load_average): Move load-average code to this new fn.
4111 Add conditionals to compute load ave on UMAX.
4112
41131988-05-14 Richard Stallman (rms at lucky-charms.ai.mit.edu)
4114
4115 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
4116 with opposite sense.
4117
41181988-05-13 Chris Hanson (cph at kleph)
4119
4120 * emacsclient.c: Delete references to unused variable `out'. This
4121 caused a bus error when used under hp-ux.
4122
41231988-05-06 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
4124
4125 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
4126
41271988-05-04 Richard Stallman (rms at rice-krispies.ai.mit.edu)
4128
4129 * etags.c (find_entries): `.t' or `.sch' means scheme code.
4130
41311988-04-29 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
4132
4133 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
4134
41351988-04-28 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
4136
4137 * movemail.c: #undef close, since config can #define it on V.3.
4138 * emacsclient.c, fakemail.c, loadst.c, server.c: likewise.
4139
41401988-04-26 Richard Stallman (rms at lucky-charms.ai.mit.edu)
4141
4142 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
4143 invalid escape sequences such as `\{'.
4144
4145 * loadst.c: Add `sequent' conditional for file dk.h.
4146
41471988-03-20 Richard M. Stallman (rms at wilson)
4148
4149 * server.c [not BSD and not HAVE_SYSVIPC]: fix error message.
4150
4151 * loadst.c (main) [XENIX]: use /usr/spool/mail, not /usr/mail.