(malloc) [emacs]: Define as xmalloc.
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
4b92c49a
GM
12000-07-10 Gerd Moellmann <gerd@gnu.org>
2
3 * ebrowse.c (yylex): Accept string literals with newlines in them.
4 (process_pp_line): Handle case of string literal with newline
5 in it in replacement text, which counts as continuing the
6 replacement text in GNU C.
7
831a6cb0
GM
82000-07-02 Gerd Moellmann <gerd@gnu.org>
9
10 * ebrowse.c (token_string): Add missing tokens.
11 (parm_list): Handle case of qualified pointers.
12
53245ee2
DL
132000-06-23 Dave Love <fx@gnu.org>
14
15 * ebrowse.c: Move config.h before other includes (which may use
16 feature tests).
17
dcbf2cd2
JM
182000-06-14 Jim Meyering <meyering@lucent.com>
19
20 * grep-changelog: Fix typos in comments. Remove trailing blanks.
21
f1c7754a
JR
222000-06-11 Jason Rumney <jasonr@gnu.org>
23
24 * makefile.nt: Add targets for ebrowse.
25
26 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
27 compare filenames.
28
5f1aea9a
GM
292000-06-06 Gerd Moellmann <gerd@gnu.org>
30
31 * ebrowse.c (ymalloc): Renamed from xmalloc.
32 (yrealloc): Renamed from xrealloc.
33
5bf244f1
DL
342000-05-21 Dave Love <fx@gnu.org>
35
36 * movemail.c: Include config.h, not ../src/config.h.
37 (Errmsg): Bump length.
38
39 * pop.c (ERROR_MAX): Increase to 160.
40
ec82fb2f
GM
412000-05-04 Gerd Moellmann <gerd@gnu.org>
42
43 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
44
5c922ea7
EZ
452000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
46
47 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]: Define
48 to semi-colon.
49 (FILENAME_EQ): New macro, for comparing file names.
50 (add_member_decl, add_global_decl, add_member_defn): Use
51 FILENAME_EQ.
52 (process_file): Don't assume that fread always reads as many bytes
53 as it was told to (DOS-style CR-LF text files fail this logic).
54 (open_file): Allocate enough space for path->path plus the file
55 name and the slash.
56
6142fdcb 572000-04-19 Dave Love <fx@gnu.org>
97052c63
DL
58
59 * etags.c (Texinfo_functions): New function.
60 (lang_names): Install it.
61 (Texinfo_suffixes): New variable.
62
cb9215e4
GM
632000-04-19 Gerd Moellmann <gerd@gnu.org>
64
65 * ebrowse.c (xmalloc, xrealloc): Rewritten.
66 (declaration): Remove parameter IS_EXTERN.
67 (class_definition): Remove unused variable.
68
be0dbdab
GM
692000-04-09 Gerd Moellmann <gerd@gnu.org>
70
71 * Makefile.in (INSTALLABLES): Add ebrowse.
72 (ebrowse): New target.
73
74 * ebrowse.c: New file.
75
c5aa0fc2
AS
762000-03-29 Andreas Schwab <schwab@suse.de>
77
78 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
79
d054101f
GM
802000-03-02 Gerd Moellmann <gerd@gnu.org>
81
82 * etags.c (lisp_suffixes) Add `LSP'.
83
71cbb895
FP
842000-02-10 Francesco Potorti` <pot@gnu.org>
85
86 * etags.c (iswhite): Redefined not to consider '\0' as white
87 space, and use it throughout in place of isspace, thus preventing a
88 potential signed char to int conversion problem.
89 (MSDOS): #undefine befere redefining
90
912000-02-04 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
92
93 * etags.c (many functions): Add prototypes.
94
97fa0cc8
DL
952000-02-10 Dave Love <fx@gnu.org>
96
97 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
98 (erlang_func): Add `static' to definitions to keep pcc happy.
99
e4100b7f
FP
1002000-01-31 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
101
102 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
103 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
104 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
105 (getenv, getcwd): Only declare them if necessary.
106 (EMACS_NAME): New constant macro.
107 (print_version): Use it.
108 (P_) [__STDC__]: Macro for defining function prototypes.
e4100b7f 109
19e262bd 1102000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
111
112 * etags.c [WINDOWSNT]: #include <direct.h>
113
19e262bd 1142000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 115
19e262bd
FP
116 * etags.c (all functions): Made them static.
117 (all functions): Write prototypes.
e4100b7f 118
55e30d2a
RS
1192000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
120
121 * movemail.c (main): Improve error message if can't create lock file.
122
875c1439
GM
1232000-01-28 Eric Hanchrow <offby1@blarg.net>
124
125 * emacsclient.c (socket_status): New function.
126 (main): if $LOGNAME or $USER exist and differ from our euid, look
127 for a socket based on the UID associated with the name.
128
e4936aa9
GM
1292000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
130
131 * emacsclient.c: Add option -a EDITOR and environment variable
132 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
133
791a9087
GM
1341999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us>
135
136 * movemail.c (popmail): Allow mailbox specifications of the
137 form `po:username:hostname'.
138
e2081362
FP
1391999-11-19 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
140
141 * etags.c (_GNU_SOURCE): Define only if undefined.
142 (get_scheme): Declaration deleted.
143 (main): error was called with an integer as second arg, instead of
144 a char pointer.
145 (canonicalize_filename): Bug removed.
146
1471999-11-18 Dave Love <d.love@dl.ac.uk>
148
149 * etags.c (C_entries): Rename label `intoken', avoiding K&R
150 lossage from name clash with macro.
151
b05d3bee
GM
1521999-11-13 Gerd Moellmann <gerd@gnu.org>
153
154 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
155
cb3a6c48
GM
1561999-11-03 Gerd Moellmann <gerd@gnu.org>
157
158 * etags.c (print_help): Change email address to send bugs to.
159
1c478461
FP
1601999-11-01 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
161
162 * etags.c: Add suffix psw for PSWrap.
163 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
164 (Postscript_functions): Add code for PSWrap.
165 (Scheme_functions): Use local pointer and new get_tag function.
166 (get_tag): New name for old get_scheme.
167 (process_file): Do not free NULL when file does not exist.
168 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
169 (C_entries): Modifications that make --members tag even inside
170 typedefs and C nested structs (one level only).
171 (consider_token): Corrected a bug which prevented tagging of enum
172 constants.
173 (C_stab_entry): Added if, for, while, switch, return as
174 st_C_ignore. This makes it simpler to work when cblev!=0.
175
176 * etags.c (C_entries): tag member function declarations when
177 --declarations is used.
178
179 * etags.c (C_entries, consider_token): C++ `operator' now is
180 tagged in most cases.
181 As before, :: is not recognised if surrounded by spaces.
182
183 * etags.c (relative_filename): Account for DOS file names such
184 that is impossible to make one relative to another.
185
186 * etags.c (sym_type): New st_C_extern tag.
187 (gperf input): Use it for spotting external declarations.
188 (print_help): Document the new behaviour of --declarations.
189 (fvextern): New global variable.
190 (consider_token, C_entries): Use it.
191
192 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
193 (etags_getcwd): Remove test for WINDOWSNT.
194
195 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
196 foo.cgz, foo.cz, etc.
197
198 * etags.c (declarations): New global switch.
199 (longopts): Describe it.
200 (print_help): Document it.
201 (C_entries): Use it.
202 (process_file): Don't process a file twice.
203
204 * etags.c (Fortran_functions): No tags for "procedure".
205
2061999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
207
208 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
209 non-zero, returns a pointer to where the extension begins; callers
210 changed.
211 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
212 were foo.c.gz.
213
2141999-11-01 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
215
216 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
217 (fvdev): New constant foperator.
218 (consider_token): Use it to get "operator" in C++.
219 (C_entries): Extend length of operator@ function name.
220 (C_entries): Use foperator when necessary.
221
222 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
223
224 * etags.c (compressor): New struct for compressed files.
225 (get_compressor_from_suffix): New function.
226 (get_language_from_suffix): Use it. Also, semantics changed.
227 (process_file): Consider compressed files, close file.
228 (find_entries): Use different call arg for get_language_from_suffix,
229 don't close file.
230
231 * etags.c (main): Call free_tree.
232 (find_entries): Do not free curfile.
233 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
234 (prolog_pred, erlang_func, substitute): Cast strlen to int when
235 comparing.
236 (canonicalize_filename): Shut up compiler warning.
237 (Perl_functions): Make tag significant.
238
2391999-11-01 Dave Love <d.love@dl.ac.uk>
240
241 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
242 (argument_type): New member at_icregexp.
243 (lc_trans): New global.
244 (main): Fill lc_trans. Process -c args.
245 (add_regex): New arg determining whether to use translation table.
246 (analyse_regex): New arg. Use it for add_regex.
247
2481999-11-01 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
249
250 * etags.c (init): Cosmetic change: NULL --> '\0'.
251 (erlang_attribute): Bug corrected (uninitialized variable).
252 (filename_is_absolute): New function replaces absolutefn macro and
253 corrects a bug. All callers changed.
254 (canonicalize_filename): New function.
255 (process_file, etags_getcwd, absolute_dirname): Use it.
256 (relative_filename, absolute_filename): Removed var shadowing.
257 (C_entries, Pascal_functions): Add fake initializations to keep
258 compilers quiet.
259 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
260
261 * etags.c (xrnew): New macro. All callers of xrealloc changed.
262 (language): New typedef (was struct lang_entry).
263 (curlang): New global variable.
264 (node): typedef renamed from NODE.
265 (linebuffer): New typedef (was struct linebuffer).
266 (pattern): New typedef (was struct pattern). Some members added.
267 Now used as element of a linked list.
268 (patterns, num_patterns): Global variables deleted.
269 (p_head): New global variable.
270 (forced_lang): New global variable (replaces lang_func).
271 (get_language_from_name, get_language_from_interpreter,
272 get_language_from_suffix): Semantics changed. All callers changed.
273 (last_node): New global variable.
274 (free_tree, add_node, put_entries, total_size_of_entries): Change
275 name of local vars to avoid clashes with typedef node.
276 (number_len): Rewritten for elegance.
277 (token): New typedef replaces TOKEN.
278 (analyse_regex, add_regex): Rewritten for new functionality.
279 (free_patterns): New function called from main and add_regex.
280 (initbuffer, readline_internal, readline, grow_linebuffer):
281 Change name of local vars to avoid clashes with typedef
282 linebuffer.
283 (readline): Rewritten for new functionality.
284
285 * etags.c: (Scheme_suffixes): New suffix ".ss".
286 (print_help): --globals is now used for more than C-type languages.
287 (Perl_functions): Tag global variables ("my" and "local").
288
289 * etags.c (print_help): Some messages clarified.
290 (LOOP_ON_INPUT_LINES): New macro.
291 (just_read_file, Fortran_functions, Asm_labels, Perl_functions,
292 Python_functions, Cobol_paragraphs, Pascal_functions,
293 Lisp_functions, Postscript_functions, Scheme_functions,
294 TeX_functions, Prolog_functions, Erlang_functions): Use it.
295 (Cobol_paragraphs, Postscript_functions, TeX_functions,
296 Prolog_functions, Erlang_functions): Use a local variable instead
297 of the global variable dbp.
298 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
299 standard indentation.
300
301 * etags.c (Python_suffixes, lang_names, Python_functions): Python
302 support.
303 (skip_spaces, skip_non_spaces): Utility functions.
304 (find_entries, takeprec, getit, Fortran_functions, Perl_functions,
305 Python_functions, L_getit, Lisp_functions, Scheme_functions,
306 prolog_pred, erlanf_func, erlang_attribute): Use them.
307 (eat_white): Deleted.
308
309 * etags.c (CHAR, init): Keep into account non US-ASCII
310 characters and compilers with default signed chars.
311 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
312 constructs.
313
314 * (C_stab_entry): "interface" in Java behaves like "class".
315
316 * etags.c: (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
317 (main): Put interval syntax here.
318 (add_regex): And remove it from here.
319
320 * etags.c (suggest_asking_for_help): Provide a
321 meaningful help message with and without LONG_OPTIONS.
322
323 * etags.c: <io.h> [MSDOS]: Include it, don't include string.h.
324 <stdlib.h, string.h>: Don't test MSDOS when including them.
325 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
326 (put_entries): Correctly use %ld instead of %d in printf.
327
328 * etags.c: <unistd.h> [HAVE_UNISTD_H]: Include conditionally, else
329 declare getcwd if HAVE_GETCWD.
330 (consider_token): Dead break instruction removed.
331
4ee9629e
PE
3321999-10-19 Paul Eggert <eggert@twinsun.com>
333
334 Add support for large files. Merge glibc 2.1.2.
1c478461 335
4ee9629e
PE
336 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
337 movemail.c, pop.c:
338 Do not include <stdlib.h>, as <config.h> does this now.
339
340 * b2m.c, emacsserver.c, etags.c, profile.c:
341 Include <config.h> before any system include files.
1c478461 342
4ee9629e
PE
343 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
344 test-distrib.c:
345 (read, write, open, close): Do not undef.
346
347 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
348 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
349
350 * getopt.h: Adopt glibc 2.1.2.
1c478461 351
93c8d183
DL
3521999-10-15 Dave Love <fx@gnu.org>
353
354 * Makefile.in (pop.o): Depend on config.h.
355
b358f91c
GM
3561999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
357
358 * pop.c: Use "pop3" as the POP service name on all platforms,
359 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
360 has been the standard service name since RFC 1340 was published in
361 July 1992, so I think it's safe to start using it by default.
362
362bc2da
DL
3631999-09-27 Dave Love <fx@gnu.org>
364
365 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
366
74e4cb59
PR
3671999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
368
369 * make-docfile.c (scan_lisp_file): Fix previous changes;
370 swallow CRLF like just CR or just LF.
371
362bc2da
DL
3721999-09-03 Richard Stallman <rms@gnu.org>
373
374 * make-docfile.c: Include config.h not ../src/config.h.
375 (main, fopen, chdir): Add #undef.
376 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
377 (scan_lisp_file): Handle \r like \n.
378
3791999-08-30 Andreas Schwab <schwab@gnu.org>
380
381 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
382
383 * emacsserver.c: Include <stdlib.h> if available. Don't declare
384 errno if it's a macro.
385
386 * test-distrib.c: Include <unistd.h> if available.
387
3881999-08-29 Richard Stallman <rms@gnu.org>
389
390 * emacsclient.c (print_help_and_exit): Mention --version.
391
3921999-08-25 Richard M. Stallman <rms@gnu.org>
393
394 * emacsclient.c (decode_options): Update version output.
395 (print_help_and_exit): Update bug report address.
396
3971999-08-13 Richard M. Stallman <rms@gnu.org>
398
399 * emacsclient.c (main): Move the dynamic allocation of
400 system_name outside of the SERVER_HOME_DIR conditional.
401 * emacsserver.c (main): Likewise.
402
4031999-08-10 Gerd Moellmann <gerd@gnu.org>
404
405 * grep-changelog: New.
406 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
407
4081999-07-12 Richard Stallman <rms@gnu.org>
409
410 * Version 20.4 released.
411
4121999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
413
1c478461 414 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
415
4161999-06-23 Dave Love <fx@gnu.org>
417
418 * etags.c (erlang_attribute): Fix undefined variable usage (after
419 Potorti).
420
4211999-05-2 Andrew Innes <andrewi@gnu.org>
422
423 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
424 mapped to _chsize.
425
4261999-04-29 Richard M. Stallman <rms@gnu.org>
427
428 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
429
4301999-03-30 Dave Love <fx@gnu.org>
431
432 * sorted-doc.c (main): Split up tables. Modify the preamble
433 somewhat.
434
4351999-03-05 Geoff Voelker <voelker@cs.washington.edu>
436
437 * makefile.nt: Remove common multiple file compilation commands.
438
4391999-02-26 Richard Stallman <rms@gnu.org>
440
441 * Version 20.4 released.
442
443 * Makefile.in (yow): Depend on epaths.h, not paths.h.
444
445 * yow.c: Refer to epaths.h.
446
4471999-02-22 Simon Josefsson <jas@pdc.kth.se>
448
449 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
450
4511999-01-27 Andrew Innes <andrewi@gnu.org>
452
453 * makefile.nt: Do make version comparison as strings.
454
4551999-01-25 Richard Stallman <rms@gnu.org>
456
457 * emacsclient.c (xmalloc): Fix previous change.
458
4591999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
460
461 * emacsclient.c (xmalloc): Declare to return long.
462
4631999-01-22 Geoff Voelker <voelker@cs.washington.edu>
464
465 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
466 the case of the drive letter.
467
4681999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
469
470 * emacsserver.c (main): Eliminate arbitrary limit on
471 length of system_name.
472
473 * emacsclient.c (main): Eliminate arbitrary limit on
474 length of system_name.
475 (xmalloc): Define unconditionally.
476
4771999-01-12 Darrin B. Jewell <jewell@mit.edu>
478
479 * etags.c (relative_filename): Stop backward search at beginning
480 of string, since non-Unix systems can have absolute paths with no
481 initial slash.
482
4831998-12-08 Geoff Voelker <voelker@cs.washington.edu>
484
485 * makefile.nt: Do string comparision of _NMAKE_VER.
486
4871998-11-03 Theodore Jump <tjump@cais.com>
488
489 * makefile.nt: Compile multiple source files when possible.
490
4911998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
492
493 * Makefile.in: Replace tabs with spaces
494 when they might confuse some Make versions.
495
4961998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
497
498 * emacsclient.c (main): Null-terminate system_name.
499
500 * emacsserver.c (main): Null-terminate system_name.
501
5021998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
503
504 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
505 an error message from POP, mention that it's from POP, to
506 distinguish it from local error messages.
507
5081998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
509
510 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
511 order of messages downloaded from a POP server (e.g., if the
512 server stores messages in mailboxes in reverse order).
513
5141998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
515
516 * Version 20.3 released.
517
5181998-08-11 Paul Eggert <eggert@twinsun.com>
519
520 * rcs2log: Update copyright date and bug report address.
521 (initialize_fullname): Prefer getent if available.
522
5231998-07-30 Paul Eggert <eggert@twinsun.com>
524
525 * lib-src/Makefile.in (REGEXPDEPS, regex.o):
526 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 527
362bc2da
DL
5281998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
529
530 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
531
5321998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
533
534 * Makefile.in: Properly terminate a comment.
535
5361998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
537
538 * movemail.c (sys_wait): Rename to wait.
539
540 * ntlib.h: Undefine _WINSOCKAPI_.
541
542 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
543
5441998-05-30 Geoff Voelker <voelker@cs.washington.edu>
545
546 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
547
5481998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
549
550 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
551 all file i/o to be in binary mode. Include ntlib.h.
552
5531998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
554
555 * make-docfile.c: Include <unistd.h> for chdir.
556
5571998-04-25 Richard Stallman <rms@psilocin.gnu.org>
558
559 * etags.c (TEX_decode_env): Don't free the value getenv returns.
560
5611998-04-17 Geoff Voelker <voelker@cs.washington.edu>
562
563 * makefile.nt (obj): Update with new files in src.
564 (clean): Delete patch scratch files, optimized compilation dir.
565
5661998-04-08 Dave Love <fx@gnu.org>
567
568 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
569 Irix6, at least.
570
5711998-04-06 Andreas Schwab <schwab@gnu.org>
572
573 Silence -Wimplicit:
574 * movemail.c: Move cancelations up. Include <stdlib.h> if
575 available.
576 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
577 (parse_header): Explicitly declare return type.
578 * emacsserver.c: Include <unistd.h> if available.
579 (main, handle_signals, perror_1, fatal_error): Explicitly declare
580 return types. Add forward declarations.
581 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
582 Don't declare geteuid.
583 (print_help_and_exit): Change return type to void. Forward
584 declare it.
585 * b2m.c: Include <stdlib.h> if available.
586 (main): Explicitly declare return type.
587
5881998-04-03 Richard Stallman <rms@delysid.gnu.org>
589
590 * etags.c (put_entries): Use %ld.
591
592 * b2m.c (fatal): Declare the arg.
593
5941998-04-03 Richard Stallman <rms@psilocin.gnu.org>
595
596 * etags.c (put_entries): Use %ld.
597
598 * b2m.c (fatal): Declare the arg.
599
6001998-03-26 Richard Stallman <rms@psilocin.gnu.org>
601
602 * pop.c (pop_getline): Renamed from getline.
603
6041998-03-05 Richard Stallman <rms@psilocin.gnu.org>
605
606 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
607 for the utilities.
608
6091998-01-23 Dave Love <d.love@dl.ac.uk>
610
611 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
612 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
613 Always make named tags.
614 (Fortran_functions): Grok BLOCK DATA.
615
6161998-01-23 Andreas Schwab <schwab@gnu.org>
617
618 * movemail.c (main): Fix interwoven brace and cpp conditional
619 nesting.
620
6211997-12-04 Karl Heuer <kwzh@delysid.gnu.org>
622
623 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
624 server to contain embedded nulls.
625
6261997-12-03 Paul Eggert <eggert@delysid.gnu.org>
627
628 * movemail.c:
629 (mbx_write) [MAIL_USE_POP]: Disable the code which quotes with a
630 '>' any lines starting with "From " read from the POP server, but
631 leave the code in place, wrapped in #ifdef
632 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
633 because it turns out that something is depending on it. Change
634 suggested by Paul Eggert <eggert@twinsun.com>.
635 Convert the character \037 (^_) at the beginning of a line into
636 the character '^' followed by the character '_', because otherwise
637 Emacs can't parse the resulting file as a valid BABYL file.
638 Change suggested by Paul Eggert <eggert@twinsun.com>.
639
6401997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
641
642 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
643 server to contain embedded nulls.
644
6451997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 646
362bc2da
DL
647 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
648 quotes with a '>' any lines starting with "From " read from the
649 POP server, but leave the code in place, wrapped in #ifdef
650 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
651 because it turns out that something is depending on it. Change
652 suggested by Paul Eggert <eggert@twinsun.com>.
653
654 Convert the character \037 (^_) at the beginning of a line into
655 the character '^' followed by the character '_', because otherwise
656 Emacs can't parse the resulting file as a valid BABYL file.
657 Change suggested by Paul Eggert <eggert@twinsun.com>.
658
6591997-11-22 Richard Stallman <rms@gnu.org>
660
661 * b2m.c: Include getopt.h.
662 (main): Use getopt_long to handle --version and --help.
663
664 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
665
6661997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
667
668 * pop.c (fullwrite): Get rid of an extra call to write. Problem
669 pointed out by Chiaki Ishikawa.
670
6711997-10-16 Dave Love <d.love@dl.ac.uk>
672
673 * etags.c (L_getit): Always make named tags so that Emacs
674 completion on symbols containing `:' etc. works.
675 (get_scheme): Likewise.
676
6771997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
678
679 * pop.c: Use system header files instead of declaring C-library
680 functions explicitly.
681
6821997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
683
684 * Version 20.2 released.
685
6861997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
687
688 * Version 20.1 released.
689
6901997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
691
692 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
693
694 * ntlib.c (getpid): Delete function.
695
6961997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
697
698 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
699
7001997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
701
702 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
703 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
704
7051997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
706
707 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
708
7091997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
710
711 * profile.c (get_time): Cast arg to fprintf.
712
713 * hexl.c (main): Use %08lx instead of %08x in printf because the
714 variable named addresses is long.
715
7161997-08-08 Geoff Voelker <voelker@cs.washington.edu>
717
718 * makefile.nt (lisp): Update paths to lisp files that have moved.
719
7201997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
721
722 * makefile.nt (ctags.obj): New target.
723 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
724
725 * ntlib.h: Add includes.
726 Undo definitions of crt routines from config.h.
727
7281997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
729
730 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
731
7321997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
733
734 * pop.c: Support auto-configuration of both Kerberos V4 and
735 Kerberos V5 for movemail, including detection of V4 and V5 header
736 files and libraries.
737 Include <string.h> when STDC_HEADERS is defined, to get
738 declarations of string functions.
739 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
740 V5 API rather than the old one.
741 [KERBEROS] (socket_connection): Change a constant name from
742 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
743 with a constant in a header file.
744
745 * Makefile.in: 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
7491997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
750
751 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
752
753 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1c478461 754
362bc2da
DL
7551997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
756
757 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
758
7591997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
760
761 * movemail.c (rindex): Add declaration.
762
763Tue Jul 1 01:09:07 1997 Geoff Voelker <voelker@cs.washington.edu>
764
765 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
766 (movemail.exe): Depend upon and link with getopt files.
767 (obj): Include new source files.
768 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
769 (lisp): Include new and reorganized elisp files.
770
7711997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
772
773 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
774
7751997-06-25 Paul Eggert <eggert@twinsun.com>
776
777 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
778
7791997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
780
781 * b2m.c (readline): Terminate buffer properly when EOF seen.
782 Test for valid pointer before dereferencing it.
783
7841997-05-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
785
786 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
787 defined inside etags.c if HAVE_CONFIG_H is defined.
788
7891997-05-29 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
790
791 * etags.c: (logical): Type name changed to bool.
792 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
793 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
794 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
795 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
796 (longopts): New long options without short counterpart are
797 globals, members, no-globals, no-members. Regexp options are now
798 defined conditionally to ETAGS_REGEXPS.
799 (print_help): Updated.
800
8011997-05-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
802
803 * etags.c (C_entries): Use "." instead of "::" for Java.
804 (consider_token): is_func renamed to is_func_or_var.
805 (C_entries): is_func renamed to funorvar.
806 (C_entries): Initialise tok.named.
807 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
808 get rid of "import", "package" and "friend".
809 (fvdef): Renamed from funcdef. Also some constants renamed. All
1c478461 810 users changed.
362bc2da
DL
811 (C_entries): Make separate tags for variables separated by comma.
812 (globals, members): New flags.
813 (main, C_entries): Use them.
814 (make_C_tag, C_entries): Make tok a global variable.
1c478461 815
362bc2da
DL
8161997-05-16 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
817
818 * etags.c (funcdef): New vignore constant.
819 (consider_token, C_entries): Use it to tag global variables.
820 (print_help): Update for global variables.
821 (consider_token, C_entries): Set the len member of token_name.
822 (prolog_pred): Cleanup according to GNU coding standards.
823 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
824 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
825
8261997-05-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
827
828 * etags.c (CHARS, CHAR): New constant and macro.
829 (iswhite, begtoken, intoken, endtoken): Use them.
830 (notinname, _nin, nonam): New macro, array, string.
831 (init): Cleanup and init _nin.
832 (new_pfnote): New function.
833 (make_C_tag) [traditional_tag_style]: Use it.
834 (traditional_tag_style): Costant set to TRUE for now.
835
8361997-05-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
837
838 * etags.c (C_entries, Pascal_functions): Cleanup.
839 (TeX_functions): NULL as a function arg needs a cast.
840 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
841
8421997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
843
844 * etags.c (TeX_functions): Cleaned up.
845 (tex_getit): Removed.
846
8471997-05-13 Paul Eggert <eggert@twinsun.com>
848
849 * rcs2log (files): When computing arguments automatically, ignore
850 non-files within the RCS subdirectory.
851
8521997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
853
854 * etags.c (C_JAVA): New #define.
855 (Cjava_suffixes): .java is Java.
856 (Cjava_entries): New function.
857 (lang_names): Add Java.
858 (sym_type): Add st_C_javastruct for Java.
859 (C_stab_entry): Add `extends' and `implements' keywords.
860 (consider_token, C_entries): Recognise Java structures.
861
8621997-05-12 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
863
864 * etags.c: (Cplusplus_suffixes): .pdb is Postscript with C syntax.
865 (Postscript_suffixes): .ps is Postscript.
866 (lang_names): Add Postscript.
867 (Postscript_functions): New function.
868 (TEX_decode_env): Close minor memory leak.
869 (just_read_file): Correct the char number of the tag.
870
8711997-05-11 Paul Eggert <eggert@twinsun.com>
872
873 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
874 Don't prepend $nl since this causes some shells to generate the
875 empty string when IFS is $nl.
876 (printlogline): Use SOH (octal code 1), not CR, since some
877 PC-based shells mishandle CR.
878 (initialize_fullname): Set NIS_PATH to the empty string before invoking
879 nismatch, in case it's set to some nonstandard value.
1c478461 880
362bc2da
DL
8811997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
882
883 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
884 read in separate blocks.
885
8861997-04-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
887
888 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
889 (struct linebuffer): New member `len' is the length of the string.
890 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
891 Use it instead of strlen.
892 (TEX_getit): Declare and define unconditionally as static.
893 (TeX_functions): Use if instead of #if TeX_named_tokens.
894 (add_regex): Set RE_INTERVALS flag for regex compilation.
895 (substitute): Code cleanup.
896 (readline_internal): Code cleanup, set new member `len'.
897 (readline): Bug corrected.
898
8991997-04-23 Geoff Voelker <voelker@cs.washington.edu>
900
901 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
902 (obj): Change references of nt*.c files to w32*.c files.
903
9041997-04-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
905
906 * etags.c (xnew): Add support for debugging with chkmalloc.
907 (error): Use this instead of printf whenever possible.
908 (main): Only call xnew after having initialised progname.
909 (substitute): Bad memory corruption error corrected.
910
9111997-04-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
912
913 * etags.c (add_regex): Undo previous change.
914 (relative_filename): Small memory leak closed.
915 (absolute_filename): Cleaned up the code, possibly closing a bug.
916 (absolute_dirname): Always return a newly allocated string.
1c478461 917
362bc2da
DL
9181997-03-21 Paul Eggert <eggert@twinsun.com>
919
920 * rcs2log (files): Ignore files in RCS directory whose names are
921 of the form ,*, or *_; they are probably RCS lock files.
922 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
923 they are used by rcsfreeze.
924
9251997-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
926
927 * etags.c (add_regex): reset *putbuf before using it.
928
9291997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
930
931 * movemail.c (popmail): Remove some unnecessary function
932 declarations.
933 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
934 into pop_retr, there's no reason to pass in mbx_write, and the
935 file argument can be declared FILE * explicitly. This fixes a
936 compilation problem on systems with 64-bit pointers.
937
9381997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
939
940 * movemail.c: Delete duplicate inclusion of fcntl.h
941 and duplicate #undefs of open, read, write, close.
942
9431997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
944
945 * movemail.c (main): Do not display "[POP-password]" in the usage
946 message when movemail is compiled without POP support.
947 (main, popmail): Add the optional "-p" argument, which causes
948 movemail to leave mail in the inbox after copying it into the
949 output file.
1c478461 950
362bc2da
DL
951 * Makefile.in (movemail): Link with getopt.
952
9531997-01-20 Paul Eggert <eggert@twinsun.com>
954
955 * rcs2log: (--help, --version): New options, per GNU coding standards.
956 (Copyright, Help, Id): New variables, for above.
957 (rlog): Use -q option with cvs log, to avoid useless chatter.
958
959 Treat logs of "Initial revision" (RCS) or "file F was initially added
960 on branch B." (CVS) as if they said "New file.", for consistency with
961 change log entries.
962
9631997-01-01 Paul Eggert <eggert@twinsun.com>
964
965 * vcdiff (PATH): Add /usr/xpg4/bin,
966 where XPG4 SCCS hangs out in Solaris 2.5.
967 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
968
9691996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
970
971 * etags.c (streq, strneq): Use == NULL rather than !.
972
9731996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
974
975 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
976 (movemail): Use LIBMAIL, to link against -lmail.
977
978 * movemail.c: Include maillock.h (conditionally).
979 Remove a redundant inclusion of <stdio.h>.
980 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
981 (main): Add variable spool_name.
982 Support the usage of maillock and mailunlock to
983 lock and unlock mailboxes.
984 (mail_spool_name): New function.
985
986 * movemail.c: Fix an uninitialized variable which could cause
987 movemail to exit with an error status incorrectly on systems which
988 use lock files rather than a system locking function to lock
989 mailboxes.
990
9911996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
992
993 * pop.c (socket_connection): Free realhost after using it.
994
9951996-12-04 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
996
997 * etags.c (C_entries): Test tok.valid. This handles some
998 particular cases involving function declarations that failed.
999
10001996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 1001
362bc2da
DL
1002 * pop.c (socket_connection):
1003 gethostbyname may return a pointer to static data.
1004 krb_realmofhost can clobber it. So copy it.
1005
10061996-11-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1007
1008 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
1009 must cast it to (char *) because we have no prototypes.
1010 (make_C_tag): Macro deleted, new function.
1011 (C_entries): Calls to make_C_tag macro changed to call function.
1012
10131996-11-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1014
1015 * etags.c (grow_linebuffer): New function.
1016 (GROW_LINEBUFFER): Macro deleted. All callers changed.
1017 (make_tag): Macro renamed to make_C_tag. All callers changed.
1018 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
1019 (Prolog_functions): prolog_skip_comment was called with wrong
1020 number of arguments.
1021 (xrealloc): fatal was called with wrong number of arguments
1022
10231996-11-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1024
1025 * etags.c (relative_filename): Bug corrected.
1026 (etags_getcwd): Avoid warning of unused variable.
1027 (C_entries, consider_token): Added support for enum labels.
1028
10291996-11-03 Paul Eggert <eggert@twinsun.com>
1030
1031 * rcs2log: When processing cvs log output, remove `Attic/' from
1032 repository file names.
1033
10341996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
1035
1036 * emacsserver.c: Fix 1996-09-02 change.
1037
10381996-10-12 Paul Eggert <eggert@twinsun.com>
1039
1040 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
1041 option', since CVS says 'invalid option'.
1042 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
1043 revisions, since some hosts reject 1970-01-01 when east of UTC.
1044 (date): Remove.
1045
10461996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1047
1048 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
1049
10501996-10-02 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1051
1052 * etags.c (print_version): Print copyright info.
1053
1054 * etags.c (print_help): Print the bug reporting address.
1055 (main): Use return as the last instruction, instead of exit.
1056
1057 * etags.c (main): Don't open the tags file in cxref mode.
1058
10591996-09-29 Dave Love <d.love@dl.ac.uk>
1060
1061 * rcs2log (date): Make default format acceptable to CVS post v1.8
1062 as well as earlier CVSs and RCS.
1063
10641996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1065
1066 * movemail.c (main): If the lock call fails with EBUSY or
1067 EAGAIN, retry a few times.
1068
10691996-09-25 Paul Eggert <eggert@twinsun.com>
1070
1071 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
1072 whether to append -zLT.
1073
10741996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
1075
1076 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
1077 * emacsclient.c, movemail.c: Likewise.
1078
10791996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1080
1081 * emacsclient.c (longopts): Change nowait to no-wait.
1082 (print_help_and_exit): Fix option name; upcase metavars.
1083
10841996-09-06 Erik Naggum <erik@naggum.no>
1085
1086 * emacsserver.c (main): Declare `fromlen' as size_t.
1087
10881996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
1089
1090 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
1091
10921996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1093
1094 * emacsclient.c (quote_file_name): Quote with &, not \.
1095 Quote `-' only at start of file name. Terminate the value string.
1096
1097 * emacsserver.c: Include signal.h properly;
1098 delete the duplicate includes for it.
1099
1100 * emacsserver.c: On fatal signal, delete socket-file:
1101 * emacsserver.c: Include signal.h.
1102 (xmalloc, fatal, error): New functions.
1103 (delete_socket, handle_signals): New functions.
1104 (progname, socket_name): New variables.
1105 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
1106
11071996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1108
1109 * emacsclient.c (quote_file_name): New function.
1110 (main, both versions): Use quote_file_name.
1111 (decode_options): Don't return a value.
1112 (main, both versions): Use optind.
1113 Don't check for -nowait here.
1c478461 1114
362bc2da
DL
1115 * emacsclient.c (decode_options): New function.
1116 (main, both versions): Call decode_options.
1117 (print_help_and_exit): New function.
1118 (VERSION): New macro.
1119
1120 * Makefile.in (emacsclient): Link with getopt.
1121 Add -DVERSION so emacsclient knows its version number.
1122
11231996-08-31 Geoff Voelker <voelker@cs.washington.edu>
1124
1125 * makefile.nt (lisp): Include dos-nt.elc.
1126
11271996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1128
1129 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
1130
11311996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1132
1133 * emacsclient.c (both versions): Handle -nowait and --nowait
1134 by sending data to the server.
1135
11361996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1137
1138 * Makefile.in (INSTALL_STRIP): New variable.
1139 (${archlibdir}): Use INSTALL_STRIP.
1140
1141 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
1142 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
1143
1144 * pop.c: Reverse conditional in previous change.
1145
11461996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1147
1148 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
1149
11501996-08-24 Paul Eggert <eggert@twinsun.com>
1151
1152 * rcs2log: Use ISO 8601 date format, with time zone appended
1153 if change-log-time-zone-rule is non-nil, instead of
1154 traditional Unix date format.
1155
1156 (datearg): When computing default from ChangeLog, handle ISO format
1157 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
1158 Don't worry about hh:mm:ss since the resolution is now by day.
1159 Use emtpy datearg, not empty rlog_options, to decide whether to pass
1160 "$datearg" option to $rlog.
1161 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
1162 (month_data): Remove `mo'; no longer needed.
1163 (rlog_options): Use -zLT for localltime output, if `rlog' supports it.
1164
1165 Match `revision' line of rlog output more accurately.
1166
1167 Add -c, -v options.
1168
11691996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
1170
1171 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
1172
11731996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1174
1175 * Version 19.33 released.
1176
11771996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1178
1179 * Version 19.32 released.
1180
11811996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
1182
1183 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
1184 computing character positions in source files.
1185
11861996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
1187
1188 * makefile.nt (clean): Use OBJDIR macro.
1189
11901996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
1191
1192 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
1193
11941996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
1195
1196 * cvtmail.c, sorted-doc.c, yow.c: [__GNU_LIBRARY__]: Use <string.h>.
1197 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
1198 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
1199
12001996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
1201
1202 * ntlib.h: Correct return type of getwd.
1203 * ntlib.c (getwd): Correct return type.
1204
12051996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1206
1207 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
1208 to infile.
1209
12101996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
1211
1212 * makefile.nt: Remove all references to wakeup.
1213
12141996-06-28 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1215
1216 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
1217 explicit, mutable, typename.
1218
12191996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1220
1221 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
1222 streams, one for sending and one for reading the reply.
1223
12241996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1225
1226 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
1227 (wakeup): Target deleted.
1228 (UTILITIES): Delete wakeup and timer.
1229
1230 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
1231
12321996-06-11 Geoff Voelker <voelker@cs.washington.edu>
1233
1234 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
1235 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
1236
12371996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1238
1239 * etags.c (main): Copy cwd when appending slash.
1240
12411996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
1242
1243 * Version 19.31 released.
1244
12451996-05-17 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1246
1247 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
1248 (Pascal_functions): Increase linecharno by the correct number of
1249 chars, inline the GET_NEW_LINE macro and delete its definition.
1250
12511996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
1252
1253 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
1254
12551996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
1256
1257 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
1258 (movemail.exe, fakemail.exe): Now built under Win32.o
1259
1260 * ntlib.c: Include ntlib.h.
1261 (nt_sleep): Rename to sleep.
1262 (getwd): Return directory.
1263 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
1264 sys_ctime, sys_fopen): New functions.
1265
1266 * ntlib.h: New file.
1267
12681996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
1269
1270 * pop.c (SEND, RECV): Renamed from send, recv.
1271 (pop_open, pop_trash): Make the trash_started code unconditional.
1272 (socket_connection): Delete casts to void.
1273
12741996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
1275
1276 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
1277 copied from lisp.h.
1278
12791996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
1280
1281 * fakemail.c [WINDOWSNT]: Include ntlib.h.
1282
1283 * hexl.c [DOSNT]: Include fcntl.h.
1284 [WINDOWSNT]: Include io.h.
1285 (main) [MSDOS]: Change conditional to DOS_NT.
1286
1287 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
1288 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
1289 [WINDOWSNT]: Include locking.h.
1290 (main): Update usage message. Use IS_DIRECTORY_SEP.
1291 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
1292 (main) [WINDOWSNT]: Invoke locking instead of flock.
1293 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
1294 (main) [MAIL_USE_POP]: Pass password to popmail if used.
1295 Include winsock.h; don't include unix inet headers.
1296 (popmail): Add password argument and pass it to pop_open.
1297 Open output file in binary mode.
1298
1299 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1c478461 1300 Macro SOCKET_ERROR undefined.
362bc2da
DL
1301 Don't declare h_errno.
1302 [!WINDOWSNT]: Define macros recv and send.
1303 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
1304 (pop_open) [WINDOWSNT]: Initialize trash_started.
1305 (have_winsock) [WINDOWSNT]: New variable.
1306 (socket_connection) [WINDOWSNT]: Initialize winsock.
1307 (socket_connection): Use closesocket instead of close.
1308 (getline): Use recv instead of read.
1309 (fullwrite): Use send instead of write.
1310 (pop_trash): Use closesocket instead of close.
1311 (pop_trash) [WINDOWSNT]: Cleanup winsock.
1312 Check if being called recursively by sendline.
1313
1314 * pop.h (struct _popserver): New field trash_started.
1315
1316 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
1317
13181996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1319
1320 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
1321
13221996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1323
1324 * etags.c [WINDOWSNT]: Include io.h.
1325
13261996-04-10 Geoff Voelker <voelker@cs.washington.edu>
1327
1328 * makefile.nt (CTAGSOBJ): Compile with regexp support.
1329
13301996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
1331
1332 * hexl.c [DJGPP v2]: Include io.h.
1333 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
1334
1335 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
1336 DJGPP v2.
1337
13381996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1339
1340 * etags.c (absolute_filename): Use absolutefn.
1341
13421996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
1343
1344 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
1345 letter isn't an alphabetic character.
1346 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
1347 (process_file) [DOS_NT]: Convert all slashes to forward style.
1348 (absolute_filename) [DOS_NT]: Emit error message for relative
1349 paths with a drive letter.
1350 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
1351 DOS/NT drive letters which try to reference the parent of the root.
1352 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
1353
13541996-03-27 Geoff Voelker <voelker@cs.washington.edu>
1355
1356 * makefile.nt: Change uses of del to $(DEL).
1357
13581996-03-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1359
1360 * etags.c (just_read_file): Reset lineno and charno on entry.
1361
13621996-03-15 Anders Lindgren <andersl@csd.uu.se>
1363
1364 * etags.c: Prolog language totaly rewritten.
1365 (Prolog_functions): Rewritten from scratch.
1366 (skip_comment, prolog_getit): Removed.
1367 (prolog_skip_comment): New function, like old skip_comment.
1368 (prolog_pred, prolog_atom, prolog_white): New functions.
1369 (erlang_func, erlang_attributes): Forward declarations added.
1370 (erlang_atom): Check if backslash ends line inside quoted atom.
1371
13721996-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1373
1374 * etags.c (absolutefn): DOS_NT version corrected.
1375 (main): Append "/" to the dir name only if not already there.
1376 (print_help): Explain the absolute/relative file name issue.
1c478461 1377
362bc2da
DL
13781996-03-08 Anders Lindgren <andersl@csd.uu.se>
1379
1380 * etags.c: New Languange Erlang added.
1381 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom,
1382 erlang_white): New functions.
1383 (Erlang_suffixes): New suffix list.
1384 (lang_names): Erlang entry added.
1385 (prolog_getit): Accepts headers spanning several lines.
1386 Always name tags.
1387 (Prolog_functions): Removed incorrect compensation for
1388 newline characters.
1389 (readline_internal): Zero-terminate last line.
1390
13911996-03-20 Mike Long <mike.long@analog.com>
1392
1393 * b2m.c (main): Initialize progname variable before using it.
1394 Quote `username' in From_ header.
1395
13961996-03-18 Geoff Voelker <voelker@cs.washington.edu>
1397
1398 * ntlib.c (getpid): New function.
1399
14001996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1401
1402 * emacsclient.c (main, both definitions):
1403 Print a newline for normal termination.
1404
14051996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
1406
1407 * tcp.c (main): Convert port to network byte order.
1408
14091996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
1410
1411 * pop.c (pop_retrieve, getline): Avoid type clashes.
1412
14131996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
1414
1415 * etags.c (enum sym_type, anonymous enum): Delete final comma.
1416
14171996-01-15 Paul Eggert <eggert@twinsun.com>
1418
1419 * rcs2log (initialize_fullname): Add support for NIS+.
1420 (hostname): Fully qualify the default hostname with the domainname
1421 if the hostname lacks a `.'.
1422
14231996-01-15 Paul Eggert <eggert@twinsun.com>
1424
1425 * rcs2log (initialize_fullname): Add support for NIS+.
1426 (hostname): Fully qualify the default hostname with the domainname
1427 if the hostname lacks a `.'.
1428
14291996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
1430
1431 * etags.c (consider_token): Fix typo in expression.
1432
14331996-01-04 Paul Eggert <eggert@twinsun.com>
1434
1435 * etags.c (substitute): Fix spelling in message.
1436
14371996-01-03 George V. Reilly <georger@microcrafts.com>
1438
1439 * makefile.nt (etags, ctags): Compile with regexp support.
1440 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
1441 subdirectory exists before compiling.
1c478461 1442
362bc2da
DL
14431996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
1444
1445 * emacsserver.c (main): Do chmod based on existing permission.
1446
14471995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1448
1449 * Makefile.in (install): Turn on read/execute permission.
1450
14511995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1452
1453 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
1454 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
1455
14561995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1457
1458 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
1459
14601995-12-07 Francesco Potorti` <pot@cnuce.cnr.it>
1461
1462 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
1463 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
1464 get_scheme, prolog_getit): Name the tag in ctags mode.
1465 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
1466 (Perl_interpreters): Accept "@PERL@" as an interpreter.
1467 (suggest_asking_for_help): New function.
1468 (main, get_language_from_name): Use suggest_asking_for_help.
1469 (main): Let get_language_from_name make language existence check.
1470 (streq, strneq): Check the arguments #if DEBUG.
1471
14721995-12-06 Francesco Potorti` <pot@cnuce.cnr.it>
1473
1474 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
1475 (gperf): Added keywords for Objective C and GNU macros.
1476 (sym_type): Added values to account for Objective C and GNU macros.
1477 (begtk): The '@' character can start a token.
1478 (objdef, methodlen, objtag): New variables for Objective C.
1479 (consider_token, C_entries): Added code for Objective C.
1480 (plain_C_suffixes): Add .m and .lm for Objective C.
1481 (Yacc_suffixes): Add .ym for Objective yacc.
1482 (GROW_LINEBUFFER): New macro.
1483 (consider_token, C_entries, Pascal_functions): Use the new macro.
1484 (consider_token): Take one more argument. Caller changed.
1485 (consider_token): Use the hashing function to spot GNU macros.
1486 (C_entries): Consider // as a comment start even in plain C for
1487 the sake of Objective C parsing.
1488
14891995-12-04 Francesco Potorti` <pot@cnuce.cnr.it>
1490
1491 * Makefile.in (ctags): depend on etags only for simplicity;
1492 compile with regexp support enabled.
1493
14941995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1495
1496 * Version 19.30 released.
1497
14981995-11-22 Geoff Voelker <voelker@cs.washington.edu>
1499
1500 * makefile.nt (DOC, clean): Don't use switches to del not
1501 supported by Windows 95.
1502
15031995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1504
1505 * Makefile.in (regex.o): Depend on ../src/config.h.
1506
15071995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1508
1509 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
1510 (LOADLIBES): Use LIB_STANDARD.
1511
15121995-11-07 Kevin Gallo <kgallo@microsoft.com>
1513
1514 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
1515 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
1516 Windows 95 conditional.
1517
15181995-11-06 Francesco Potorti` (pot@cnuce.cnr.it)
1519
1520 * etags.c (get_lang_from_name, get_lang_from_interpreter,
1521 get_lang_from_suffix): New functions.
1522 (get_language): Function deleted.
1523 (lang_entry): Two members added to struct.
1524 (lang_names): Reflect the new layout of lang_entry.
1525 (print_language_names, main, find_entries): Use the new functions.
1526 (find_entries): Look at the first line for #! if no language.
1527 (C_entries): Invalidate the token when funcdef is reset.
1528 (Perl_functions): New function.
1529 (lang_suffixes): .pl and .pm are Perl suffixes.
1530
15311995-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
1532
1533 * etags.c (lowcase): Use the standard tolower function.
1534 (substitute): Remove some wrong and some useless code related with
1535 escape `\` character in regexp replacement string.
1536 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
1537 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
1538 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
1539 .prolog for prolog (.pl removed).
1540 (massage_name, etags_getcwd): Use lowcase instead of tolower.
1541 (C_entries, find_entries): Added comments about memory leakage.
1542 (add_node): Dead code removed.
1543
15441995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1545
1546 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
1547 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
1548
15491995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1550
1551 * test-distrib.c: Add #undef for open, close, read, write.
1552
15531995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1554
1555 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
1556 [! O_RDONLY]: Define it to zero.
1557 (main): Use O_RDONLY instead of explicit zero.
1558
15591995-08-17 Francesco Potorti` (pot@cnuce.cnr.it)
1560
1561 * etags.c (Pascal_functions): Close comment bug corrected.
1562 (add_node): Correctly compare node file names.
1563 (Pascal_functions): Correctly allocate and free memory for tline.
1564 (pfnote): Put the definition of fp in the innermost block.
1565 (NODE): `named' member removed.
1566 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1c478461 1567 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
1568 (pfnote): `named' argument removed, all callers changed.
1569 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
1570 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1c478461 1571 removed from pfnote call, some code cleanup.
362bc2da
DL
1572 (relative_filename): Free temporary space allocated by concat.
1573
15741995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1575
1576 * Makefile.in (getdate.c): New target.
1577 (getdate.o): Just compile getdate.c.
1578
15791995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
1580
1581 * fakemail.c (xrealloc): Change cast to match return type.
1582
15831995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1584
1585 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
1586
15871995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1588
1589 * movemail.c (main): Fix previous change.
1590 Add error check for empty OUTNAME.
1591
15921995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1593
1594 * movemail.c (main): Mention lock file name in error message.
1595
15961995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1597
1598 * profile.c (gettimeofday): New function, defined if necessary.
1599
16001995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1601
1602 * Makefile.in: Renamed from Makefile.in.in.
1603 (distclean): Delete Makefile.c, not Makefile.in.
1604
16051995-07-17 Michael Shields <shields@tembel.org>
1606
1607 * Makefile.in.in (tags): Synonym for `TAGS'.
1608
16091995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
1610
1611 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
1612 configure has already set $(INSTALL) to the proper relative path.
1613
16141995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
1615
1616 * etags.c (plain_C_entries): new function.
1617 (lowcase): new macro.
1618 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
1619 (lang_suffixes): new suffix ".pc" for Pro*C files.
1620 (consider_token): don't tag all tokens beginning with DEFUN & Co..
1621 (tail): look for the end of the token when comparing.
1622 (takeprec): since now tail behaves differently, use strneq.
1623
16241995-07-08 Paul Eggert <eggert@twinsun.com>
1625
1626 * rcs2log (datearg): Separate date from time with comma, not space,
1627 to work around CVS 1.5 bug.
1628 (CVSROOT): Don't abort when unset if repository is absolute.
1629
16301995-07-07 Paul Eggert <eggert@twinsun.com>
1631
1632 * rcs-checkin, rcs2log, vcdiff:
1633 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
1634 that interpret `#! /' as a 4-byte magic number.
1635
16361995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
1637
1638 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
1639 mailbox with "po:mailbox", the mailbox is everything after the
1640 "po:" prefix.
1641
16421995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1643
1644 * emacsserver.c: Make all error messages start with `Error: '.
1645 (fatal_error, perror_1): New functions, use throughout.
1646
16471995-06-28 Paul Eggert <eggert@twinsun.com>
1648
1649 * rcs2log (CVSROOT, repository):
1650 Allow remote repositories a la CVS 1.4.
1651
16521995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
1653
1654 * etags.c (plain_C_entries): new function.
1655 (lowcase): new macro.
1656 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
1657 (lang_suffixes): new suffix ".pc" for Pro*C files.
1658 (consider_token): don't tag all tokens beginning with DEFUN & Co..
1659 (tail): look for the end of the token when comparing.
1660 (takeprec): since now tail behaves differently, use strneq.
1661
16621995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1663
1664 * movemail.c (main): Add newline in usage message.
1665
16661995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1667
1668 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
1669
16701995-06-21 Francesco Potorti` (pot@cnuce.cnr.it)
1671
1672 * etags.c (find_entries): Rewind before rereading the input file.
1673
16741995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1675
1676 * Version 19.29 released.
1677
1678 * make-docfile.c (main) [MSDOS]: Do set _fmode.
1679 This undoes part of the previous change.
1680
16811995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1682
1683 * make-docfile.c (main): On MSDOS, don't change stdout
1684 to binary, and insist on an -o option.
1685
16861995-06-13 Geoff Voelker <voelker@cs.washington.edu>
1687
1688 * etags.c (process_file,absolute_filename): Handle filenames
1689 starting with a drive letter.
1690
1691 * makefile.nt (install): Copy wakeup.exe properly.
1692
16931995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
1694
1695 * make-docfile.c [MSDOS]: #undef chdir.
1696
16971995-06-04 Paul Eggert <eggert@twinsun.com>
1698
1699 * rcs2log (output_authors): Allow ':' in time zone,
1700 as per ISO 8601 and RCS 5.6.8 beta.
1701
17021995-05-29 Francesco Potorti` (pot@cnuce.cnr.it)
1703
1704 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
1705 compatibility problems.
1706
17071995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
1708
1709 * etags.c (etags_getcwd): Don't use #elif.
1710 Have just one function body.
1711
17121995-05-25 Geoff Voelker <voelker@cs.washington.edu>
1713
1714 * makefile.nt (LIBS): Use BASE_LIBS.
1715 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
1716 upon LIBS.
1717 (DOC): Use del instead of rm.
1718 (DOC) [WINDOWS95]: Use DOC.
1719 (clean): Handle MSVC aux files.
1720 (config.h,paths.h): Use $(CP) instead of cp.
1721 (config.h): Use $(CONFIG_H)
1722 (make-docfile.obj): Depend upon config.h.
1723 Clean up comments.
1724
17251995-05-23 Francesco Potorti` (pot@cnuce.cnr.it)
1726
1727 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
1728 former gives the true path even in the presence of simlinks.
1729
17301995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1731
1732 * movemail.c (main): Increase lock timeout to five minutes.
1733
17341995-05-06 Geoff Voelker <voelker@cs.washington.edu>
1735
1736 * makefile.nt (obj): Use .c files.
1737
17381995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1739
1740 * make-docfile.c: Include config.h.
1741 (NO_SHORTNAMES): New definition.
1742 (xmalloc): Return long *.
1743
1744 * etags.c (C_entries): Cast result of xrealloc.
1745 (xmalloc, xrealloc): Declare them to return long *.
1746
1747 * b2m.c (xmalloc, xrealloc): Declare them long *.
1748
1749 * movemail.c (xmalloc): Declare it to return long *.
1750
17511995-04-30 Paul Eggert <eggert@twinsun.com>
1752
1753 * rcs2log (datearg): If rlog options are specified explicitly,
1754 omit the implicit '-d>DATE' option.
1755 (repository, rlog): Allow absolute paths to CVS repositories.
1756 Look only at the first line of CVS/Repository.
1757
17581995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
1759
1760 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
1761 realclean.
1762
17631995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1764
1765 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
1766 Alternative (empty) definitions.
1767
17681995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1769
1770 * emacsclient.c (main): Add argv[0] to an error message.
1771
17721995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
1773
1774 * emacsclient.c (main): Improve error handling.
1775 * cvtmail.c (main, skip_to_lf): Improve error handling.
1776 (sysfail): New function.
1777
1778 * b2m.c (main): Check for trailing ", " before trying to delete it.
1779
17801995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1781
1782 * Makefile.in.in (all): Build test-distrib and make-docfile.
1783
1784 * make-docfile.c (scan_c_file): At end, restore file name last char
1785 to its original value.
1786
17871995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1788
1789 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
1790
17911995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1792
1793 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
1794 (alloca.o, regex.o): Use BASE_CFLAGS.
1795
17961995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1797
1798 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
1799
18001995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
1801
1802 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
1803 (SOURCES, distclean): Removed obsolete references to aixcc.
1804
18051995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1806
1807 * aixcc.lex: File deleted--surely obsolete now.
1808
18091995-03-23 Paul Eggert <eggert@twinsun.com>
1810
1811 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
1812 portability to mawk and nawk.
1813
18141995-03-21 Paul Eggert <eggert@twinsun.com>
1815
1816 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
1817 -u "login<tab>fullname<tab>mailaddr".
1818
18191995-03-21 Paul Eggert <eggert@twinsun.com>
1820
1821 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
1822 replaces the (now obsolescent) -n login fullname mailaddr option.
1823 Add -R option for recursive rlog.
1824 (AWK): New environment variable (default `awk') for awk program name.
1825 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
1826 Quote authors and fullnames correctly.
1827 Don't omit path from repository root when logging CVS files.
1828
18291995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1830
1831 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
1832 even if HAVE_SYSVIPC.
1833 * emacsclient.c (main): Use getcwd if not BSD.
1834
18351995-03-13 Francesco Potorti` (pot@cnuce.cnr.it)
1836
1837 * etags.c (process_file): free (filename) after using it.
1838 (readline_internal): Do not access the char before start of line.
1839
18401995-02-22 Francesco Potorti` (pot@cnuce.cnr.it)
1841
1842 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
1843 savetok.valid. Mark token as valid when it is initialised.
1844 (make_tag): Make token only if token is valid and reset validity.
1845 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
1846 (TOKEN): Added a new member: valid.
1847
18481995-02-15 Francesco Potorti` (pot@cnuce.cnr.it)
1849
1850 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
1851 (main): Do not read twice the last filename in the stdin file list.
1852
18531995-02-14 Francesco Potorti` (pot@cnuce.cnr.it)
1854
1855 * etags.c (C_entries): Initialise the new members of TOKEN.
1856 (C_entries): Do not allocate a new space for each token found by
1857 consider_token. Let make_tag do that instead.
1858 (make_tag): Since now TOKEN has memory of where it is taken from,
1859 this new macro substitutes both make_tag_from_new_lb and
1860 make_tag_from_oth_lb. All callers changed.
1861 (TOKEN): Add linepos and buffer members.
1862 (main): Initialise token_str.
1863 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
1864 (token_str): New global variable used by C_entries.
1865
18661995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
1867
1868 * Makefile.in.in (maintainer-clean): Renamed from realclean.
1869
18701995-02-01 Francesco Potorti` (pot@cnuce.cnr.it)
1871
1872 * etags.c (pfnote): Initialise been_warned in the node.
1873 (C_entries): Removed a speed hack for the sake of clarity.
1874
18751995-01-18 Francesco Potorti` (pot@cnuce.cnr.it)
1876
1877 * etags.c (longopts, print_help, main): Use -I as abbreviation
1878 for the --ignore-indentation option.
1879 (main): Do not print an error message for unknown options.
1880
18811995-01-12 Francesco Potorti` (pot@cnuce.cnr.it)
1882
1883 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
1884 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
1885 constantypedefs, update, vgrind_style, no_warnings,
1886 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
1887 (permit_duplicates): Was a var, now a #define.
1888 (filename_lb): Was global, now local to main.
1889 (main): Open the tag file when in cxref mode.
1890 Use a BUFSIZ size buffer for making the shell commands.
1891 Look at the return value from the system routine.
1892 Exit when cannot open the tag file.
1893 (process_file): Open the file and pass the FILE* to find_entries.
1894 (find_entries): Now void, because does not open the file itself.
1895 (pfnote): Recovering from lack of memory does not work. Removed.
1896 Use savenstr and simplify the code.
1897 (free_tree): Only free the name space if node is named.
1898 (structtag): Now a pointer, not a fixed length array of chars.
1899 (consider_token): Don't take a token as argument. Use savenstr
1900 when saving a tag in structtag. Callers changed.
1901 (TOKEN): Structure changed. Now used only in C_entries.
1902 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
1903 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
1904 (pfcnt): Deleted. Users updated.
1905 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
1906 TEX_getit, prolog_getit): Use dinamic allocation for storing
1907 the tag instead of a fixed size buffer.
1908
19091995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1910
1911 * movemail.c (main): Skip past the colon in inname.
1912
19131995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
1914
1915 * etags.c (pfatal): New function.
1916 (main, etags_getcwd): Use pfatal.
1917 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
1918
19191995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
1920
1921 * etags.c (Lang_function): Use void instead to declare the
1922 language functions, because many compilers are buggy.
1923 (etags_getcwd): Fix the previous fix on the #else branch.
1924 (readline_internal): Discard possible \r before \n here.
1925 (C_entries): Do not deal with \r here: undo previous fix.
1926
19271995-01-09 Francesco Potorti` (pot at fly)
1928
1929 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
1930 functions and a macro that allow the program to work on input
1931 lines of whatever length. Copied from etags.c.
1932 (fatal): Print a fatal error message and exit.
1933 (main): Use the new functions. Fixed a bug that made a \037 char
1934 appear at the end of the output.
1935
19361995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1937
1938 * etags.c (C_entries): Ignore carriage return at end of line.
1939
19401994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1941
1942 * fakemail.c (xmalloc, xrealloc): Add casts.
1943 (add_field): Handle <...> and "..." syntax.
1944 (setup_files, get_keyword): Clean up parens and line breaks.
1945 (args_size): Likewise.
1946
19471994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
1948
1949 * yow.c: Include program name in error messages.
1950
19511994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1952
1953 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
1954 (xmalloc, fatal, error): New functions.
1955 (progname): New variable.
1956 (main): Set progname.
1957
19581994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1959
1960 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
1961 (main): If socket/mqueue name is in home dir, add in the host name.
1962 Rename .emacs_server to .emacs-server....
1963
19641994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1965
1966 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
1967
19681994-11-22 Francesco Potorti` (pot@cnuce.cnr.it)
1969
1970 * etags.c (print_help): print --regex usage for ctags also.
1971 (main): use -h in addition to -H as abbreviation for --help.
1972
19731994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
1974
1975 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
1976 is compiled if this is defined. The new functions and variables
1977 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
1978 [VMS]: All VMS specific code previously contained in
1979 etags-vmslib.c is now included here, modified for dealing with
1980 language and regex options intermixed with filenames.
1981 (header_file): Global variable deleted.
1982 (Lang_Function): New typedef. All language parser functions
1983 changed to this new type.
1984 (string_numeric_p, substr, prestr): Functions deleted.
1985 (readline_internal): Does the job that readline did previously.
1986 (longopts): --language and --regex options added.
1987 (lang_names, lang_extensions, lang_func, print_language_names):
1988 New structures, variables and functions for choosing languages.
1989 (print_help): Help strings updated. Calls print_language_names.
1990 (argument_type, ARGUMENT): Typedefs for dealing with language and
1991 regex options intermixed with filenames.
1992 (main): Changed the way of dealing with arguments on the command
1993 line to deal with language and regex options intermixed with
1994 filenames.
1995 (get_language, default_C_entries, Cplusplus_entries,
1996 Cstar_entries, Yacc_entries, just_read_file): New functions.
1997 (find_entries): Use the new method for choosing the language.
1998 (Pascal_functions): Allow intermixing of comment styles.
1999 (prolog_getit, skip_comment): Rewritten for speed.
2000 (readline): Rewritten to deal with regexps.
2001
20021994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
2003
2004 * etags.c (<errno.h>): #include added.
2005 (etags_getcwd): Check return value from getcwd.
2006
20071994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2008
2009 * profile.c (TV1, TV2): Use EMACS_TIME as type.
2010 (get_time): Use EMACS_SUB_TIME.
2011
20121994-10-30 voelker <voelker@cs.washington.edu>
2013
2014 * ntlib.c: New file.
2015 * makefile.nt: New file.
2016
2017 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
2018 [WINDOWSNT]: Include the NT headers.
2019 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
2020
2021 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
2022 [WINDOWSNT]: Include some NT headers.
2023
20241994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
2025
2026 * pop.c (getline): When a search of already-read input for CRLF
2027 fails, store the fact that we've searched it and don't search it
2028 again after reading more data.
2029
2030 * pop.c (getline): When determining whether or not it's necessary
2031 to grow the input buffer, take into account the null that's stored
2032 at the end of already-read input in the buffer.
2033
20341994-10-21 Francesco Potorti` (pot@cnuce.cnr.it)
2035
2036 * etags.c (prestr, substr): return a logical type.
2037 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
2038 (consider_token): set funcdef to fignore when a DEFUN is met.
2039 (C_entries): Now we can use Tom Hageman patch for extern "C".
2040
20411994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2042
2043 * movemail.c: PopServer renamed to popserver throughout.
2044
20451994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
2046
2047 * etags.c: Don't declare malloc, since we include config.h.
2048 * fakemail.c: Likewise.
2049
20501994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2051
2052 * movemail.c: Don't declare malloc.
2053
20541994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
2055
2056 * rcs-checkin: Use test -r instead of < to check readability, to
2057 avoid syntax error.
2058
20591994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
2060
2061 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
2062 defined, and if HAVE_CONFIG_H isn't defined, define
2063 MAIL_USE_POP always (so that this file can be included in
2064 other programs besides emacs).
2065
2066 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
2067 HAVE_CONFIG_H isn't defined.
2068
2069 * pop.c (find_crlf, getline): Instead of using strstr, use a
2070 custom function for finding CRLF.
2071 (my_strstr): Function deleted.
2072
20731994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
2074
2075 * pop.c (getline): Fix a segfault because of passing a
2076 non-null-terminated string into strstr(). Fix from
2077 djm@va.pubnix.com (David J. MacKenzie).
2078
2079 * pop.c: Don't include <string.h> and <strings.h>.
2080
2081 * pop.c: Include <des.h> before <krb.h>, rather than after. They
2082 should be interchangeable, and indeed the inclusion is done in
2083 both orders in various files in the Kerberos 4 library sources,
2084 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
2085 requires that <des.h> be included first, and I don't see any harm
2086 in changing the order.
2087
2088 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
2089 STDC_HEADERS, if they're defined. Undef open, read, write and
2090 close after including it.
2091
20921994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2093
2094 * pop.c: Fix mismatch in conditionals.
2095
2096 * make-docfile.c (main): Don't process one input file twice.
2097 Never use exit code > 1.
2098
2099 * pop.c (open, close, read, write): Add #undefs.
2100
2101 * pop.c: Don't declare malloc, realloc, free.
2102 Include ../src/config.h.
2103 Don't include string.h or strings.h.
2104 Include des.h before krb.h.
2105 Do declare my_strstr.
2106 (getline): Really use my_strstr.
2107 Leave one empty place in server->buffer,
2108 and put a null at the end of the data in it.
2109
21101994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2111
2112 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
2113 call kill with pid 0. Handle EINTR when receiving messages.
2114
21151994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
2116
2117 * Makefile.in.in (regex.o): Use full path to find regex.c.
2118
21191994-10-17 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2120
2121 * Makefile.in.in (etags): add dependency on regex.o, link with it.
2122 (REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added.
2123
21241994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
2125
2126 * Makefile.in.in (DONT_INSTALL): Remove make-path.
2127 (${archlibdir}): Use mkinstalldirs instead.
2128
2129 * movemail.c: Make functions that return nothing void, not
2130 implicitly int.
2131 (main): Improve usage message.
2132 (error): Write to stderr, not stdout.
2133
2134 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
2135 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
2136 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
2137 variables and implicitly declared functions.
2138
21391994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2140
2141 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
2142 (distclean): Not here.
2143
2144 * Makefile.in.in (libexecdir): Renamed from libdir.
2145
21461994-10-11 Francesco Potorti` (pot@cnuce.cnr.it)
2147
2148 * etags.c (C_entries): Name the #define's that are macros.
2149
21501994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2151
2152 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
2153 fd_set arg is a pointer, descriptor arg comes first.
2154
21551994-09-29 Francesco Potorti` (pot@cnuce.cnr.it)
2156
2157 * etags.c (C_entries): Recognise typedef of ANSI style functions.
2158 (C_entries): Recognise #define inside a struct.
2159 (C_entries): ANSI tells that preprocessor commands do not have to
2160 start on the first column.
2161 (print_help): Documentation corrected for -d and -D.
2162 (white, endtk): ANSI tells the vertical tab is a separator.
2163
21641994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
2165
2166 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
2167 (pop.o, movemail.o): New targets.
2168 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
2169
2170 * pop.c, pop.h: New files.
2171
2172 * movemail.c: Improve POP code, move most of it into a separate file.
2173 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
2174 (mbx_write): Check for errors and for From line.
2175 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
2176 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
2177 (pop_init): Functions deleted.
2178
21791994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
2180
2181 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
2182 Rename path to dirname.
2183
21841994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2185
2186 * Makefile.in.in (UTILITIES):
2187 Remove test-distrib, make-docfile, make-path.
2188 (DONT_INSTALL): New variable--list those files here.
2189 (clean): Delete the files in DONT_INSTALL.
2190
21911994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2192
2193 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
2194 (main): Use fgets, not gets.
2195
21961994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2197
2198 * timer.c: Don't declare malloc.
2199
22001994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2201
2202 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
2203 defined, use simple 32-bit versions of these macros.
2204 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
2205
22061994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2207
2208 * etags.c (etags_getcwd): Use getcwd if available.
2209
22101994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2211
2212 * Version 19.27 released.
2213
22141994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2215
2216 * Version 19.26 released.
2217
22181994-08-15 Paul Eggert <eggert@twinsun.com>
2219
2220 * rcs2log: Add support for CVS.
2221 Work with `rlog's that output ISO 8601 dates.
2222
22231994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
2224
2225 * rcs2log: Use <> to delimit email address.
2226
22271994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2228
2229 * emacsserver.c [SYSV_IPC] (main): Make a separate process
2230 so we can listen for multiple requests.
2231
22321994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2233
2234 * movemail.c: Include config.h first thing.
2235
22361994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2237
2238 * emacsserver.c (main): Add casts to avoid warnings.
2239
22401994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2241
2242 * Makefile.in.in (${archlibdir}): Compare the proper dir
2243 before installing the scripts.
2244
22451994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2246
2247 * emacsclient.c (main): New local var progname saves argv[0].
2248
22491994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2250
2251 * emacsclient.c (main): Don't actually modify argv[0].
2252 Modify a copy instead.
2253
22541994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2255
2256 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
2257 (tzp): Var deleted.
2258
2259 * Makefile.in.in: Add #undef alloca.
2260
22611994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2262
2263 * timer.c (xmalloc): New function.
2264
22651994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2266
2267 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
2268 (alloca.o): New target.
2269
22701994-07-08 Dave Love (d.love@dl.ac.uk)
2271
2272 * etags.c (takeprec): recognise `character*(*) function'
2273
22741994-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
2275
2276 * etags.c (main): Don't barf on obsolete -t and -T switches.
2277 (main): Print an explicative message when a switch is not known.
2278
22791994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2280
2281 * hexl.c: Don't declare exit or perror.
2282
2283 * emacsserver.c (main): Don't declare geteuid.
2284 Don't declare getenv if convex.
2285
22861994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2287
2288 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
2289
22901994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2291
2292 * etags.c (absolute_filename): Remove infinite loop bug when
2293 accessing files in directories whose name begins with a dot.
2294
22951994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2296
2297 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
2298
22991994-06-01 Morten Welinder (terra@diku.dk)
2300
2301 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
2302 location of data directory.
2303
23041994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2305
2306 * Version 19.25 released.
2307
23081994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2309
2310 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
2311
23121994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2313
2314 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
2315
23161994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2317
2318 * Version 19.24 released.
2319
23201994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2321
2322 * make-docfile.c (write_c_args): Put `default' in upper case.
2323
23241994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2325
2326 * etags.c (etags_getcwd): Cast result of popen.
2327 (popen): Declaration deleted.
2328
23291994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
2330
2331 * etags.c [!MSDOS]: Declare popen.
2332
23331994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2334
2335 * b2m.c (main): Avoid crash if argc is 1.
2336
23371994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2338
2339 * Version 19.23 released.
2340
2341 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
2342
23431994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2344
2345 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
2346
23471994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
2348
2349 * Makefile.in.in: Fix out of date comment.
2350
23511994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2352
2353 * Makefile.in.in: Put in a separator for where to start cpp procssing.
2354 Move all autoconf substitutions above that point.
2355 Above that point, use Make-style comments.
2356 This goes with changes in ../configure.in.
2357
23581994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2359
2360 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
2361 warning message.
2362 (${archlibdir}): Don't do it here. Don't depend on blessmail.
2363
23641994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
2365
2366 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
2367
23681994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2369
2370 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
2371 print advice to run it, if it has anything significant to do.
2372 And only if MOVEMAIL_NEEDS_BLESSING.
2373 (blessmail): Use emacs, not temacs.
2374 (configuration): Renamed from configname.
2375
23761994-04-30 Morten Welinder (terra@diku.dk)
2377
2378 * etags.c (find_entries): Treat `*.cpp' as C++ files.
2379
23801994-04-30 Morten Welinder (terra@diku.dk)
2381
2382 * etags.c [MSDOS]: #include <sys/param.h> for the following.
2383 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
2384 a shell.
2385
23861994-04-29 Morten Welinder (terra@diku.dk)
2387
2388 * hexl.c [MSDOS]: Don't define proto type for exit.
2389
23901994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2391
2392 * b2m.c: Don't include string.h or strings.h.
2393
23941994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
2395
2396 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
2397 symbols, not make variables.
2398
23991994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2400
2401 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
2402 * etags.c (print_version): Print VERSION as a string.
2403
24041994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2405
2406 * fakemail.c (readline): Fix updating of p when buffer grows.
2407
24081994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
2409
2410 * Makefile.in.in (blessmail): New target.
2411 ${archlibdir}: Use blessmail when installing movemail.
2412
24131994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2414
2415 * fakemail.c (readline): When extending the buffer,
2416 calculate end afresh using the new size.
2417
24181994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2419
2420 * etags.c (main, print_help): eliminate the -F option.
2421
24221994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2423
2424 * etags.c (absolute_filename): compare against '\0' instead of NULL.
2425
24261994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2427
2428 * Makefile.in.in: Renamed from Makefile.in.
2429 Makefile.in is now generated from it, and then preprocessed.
2430 Change comments to C syntax.
2431 Include config.h.
2432 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
2433 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
2434
24351994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2436
2437 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
2438
24391994-04-12 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2440
2441 * etags.c (etags_getcwd): Initialize bufsize.
2442
24431994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2444
2445 * profile.c (gettimeofday): If system doesn't have this, define it
2446 to give a fatal error.
2447
24481994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
2449
2450 * movemail.c (main): Use setuid, not seteuid.
2451
24521994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2453
2454 * etags.c: #undef static.
2455
24561994-04-08 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2457
2458 * etags.c (outf, outfiledir): renamed to tagf, tagfiledir.
2459 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs,
2460 Scheme_funcs, prolog_funcs): renamed to Fortran_functions,
2461 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
2462 TeX_functions, Prolog_functions.
2463 (inf): no more a global variable.
2464 (C_entries): take 2nd parameter `inf' instead of using the global one.
2465 (find_entries): added the cp1 var for optimisation.
2466 (find_entries): added more suffixes for assembler files.
2467 (Asm_funcs): Now finds labels even without an ending colon.
2468
24691994-03-30 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2470
2471 * etags.c (main): use etags_getcwd for compatibility.
2472 (etags_getcwd): new function.
2473
24741994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2475
2476 * Makefile.in (etags, ctags): Pass -D for VERSION.
2477
24781994-03-25 Francesco Potorti` (pot@cnuce.cnr.it)
2479
2480 * etags.c (emacs_tags_format, ETAGS): removed. Use CTAGS instead.
2481 (main): don't allow the use of -t and -T in etags mode.
2482 (print_help): don't show options enabled by default.
2483 (print_version): show the emacs version number if VERSION is #defined.
2484 (find_entries): add "ss" as suffix for Chez Scheme.
2485
24861994-03-23 Francesco Potorti` (pot@cnuce.cnr.it)
2487
2488 * etags.c (cwd, outfiledir): vars added.
2489 (relative_filename, absolute_filename, absolute_dirname):
2490 functions added to compute filenames in tags files.
2491 (process_file): filenames in tags file are relative to the
2492 directory where the tags file is (useful with the -o option).
2493 (main): initialise the outfiledir var.
2494 (TYPEDST): added the `tignore' value.
2495 (C_entries): corrected various small bugs.
2496
24971994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2498
2499 * Makefile.in (UTILITIES): `env' deleted.
2500 (env): Target deleted.
2501 * env.c: File deleted.
1c478461 2502
362bc2da
DL
25031994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2504
2505 * Makefile.in (install, ${archlibdir}): Switch back to ..
2506 before running INSTALL_PROGRAM.
2507
25081994-03-14 Francesco Potorti` (pot@cnuce.cnr.it)
2509
2510 * etags.c (TYPEDST): added the `tignore' value.
2511 (C_entries): corrected various bugs, now correctly parses the
2512 `extern "C" {' construction (patch by Tom R.Hageman).
2513
25141994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2515
2516 * b2m.c: Use <...> to include config.h.
2517 Don't include stdlib.h.
2518
25191994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
2520
2521 * b2m.c (main): Change delimiter from "^L" to "^_^L".
2522 Allow for text following "BABYL OPTIONS:".
2523 Add --help option. Use argv[0] in error messages.
2524
25251994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2526
2527 * emacsclient.c (main) [HAVE_SYSVIPC]:
2528 Make msgp->mtext longer if necessary.
2529 On HPUX, error if it's more than 512 chars.
2530
25311994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
2532
2533 * etags-vmslib.c: Use GPL.
2534 * emacstool.c: Use GPL.
2535 * fakemail.c: Update GPL.
2536
2537 * make-path.c (main): Return 1 on error, not -1.
2538 Update GPL.
2539
2540 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
2541 (xmalloc, xrealloc): Return char *, not int.
2542 (error): Write to stderr, not stdout.
2543 Update GPL.
2544
25451994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
2546
2547 * profile.c (main, get_time): Don't crash on invalid input.
2548
25491994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
2550
2551 * profile.c (get_time): Simplify; avoid calling index.
2552 (main): exit on EOF.
2553
25541994-02-17 Francesco Potorti` (pot@cnuce.cnr.it)
2555
2556 * etags.c (--absolute-pathnames): option removed.
2557
25581994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2559
2560 * fakemail.c (put_line): Don't break the line if it all fits.
2561
25621994-02-14 Francesco Potorti` (pot at fly)
2563
2564 * etags.c (absolute_pathnames, cwd): added global vars.
2565 (longopts, print_help, main, process_file): put absolute filenames
2566 in the tag file if the -A --absolute-pathnames option is used.
2567 (print_help): alfabetically order the options.
2568 (malloc, realloc, strcpy, strncpy, strcmp): remove extern declar.
2569
25701994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2571
2572 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
2573 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
2574
25751994-02-07 Christian Lynbech (lynbech@avignon)
2576
2577 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
2578
25791994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2580
2581 * Makefile.in (UTILITIES): Mention profile.
2582 (profile): New target.
2583
2584 * profile.c: New file.
2585
25861994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2587
2588 * Make the argument list output look more like the Lisp docstrings do.
2589 make-docfile.c (write_c_args): Take new arg FUNC. Make output
2590 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
2591 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
2592
25931994-01-14 Francesco Potorti` (pot@cnuce.cnr.it)
2594
2595 * etags.c (stab_entry, stab_create, stab_find, stab_search,
2596 stab_type, add_keyword, C_reate_stab, C_create_stabs): deleted.
2597 Use gperf generated hash table instead of linked list.
2598 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): added.
2599 Mostly code generated by gperf.
2600 (consider_token): removed unused parameter `lp'.
2601 (PF_funcs, getit): allow subroutine and similar declarations
2602 to span multiple lines.
2603 (C_entries): check for newline if inchar to avoid bus errors.
2604 (process_file, find_entries): distinguish among nonexistent
2605 and not regular file.
2606
26071994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2608
2609 * timer.c: Include errno.h; don't include fasync.h.
2610 (schedule): Don't return a value.
2611 (sigcatch): Reestablish the handler first.
2612 (getevent): Always call notify at the end.
2613 (notify): Defer alarms around the whole body of function.
2614
26151994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2616
2617 * timer.c (main): Don't request SIGIO, and don't handle it.
2618 Loop calling getevent.
2619 (sigcatch): Delete code to handle SIGIO.
2620 if defer_alarms is set, don't call notify, just set alarm_deferred.
1c478461 2621 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
2622 Set defer_alarms around realloc and schedule.
2623 If alarm_deferred gets set, call notify.
2624 Likewise if this event is the only pending event.
2625 Make buf and buf_size global variables.
2626 Don't malloc buf if it is already non-zero.
2627 (schedule): Just exit if run out of memory.
2628 Return the number of events.
2629 (signal) [_CX_UX]: Add #undef.
2630
26311994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2632
2633 * timer.c [USG] (SIGIO): Define as SIGPOLL.
2634 (main) [USG]: Do ioctl to enable SIGPOLL.
2635
26361994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2637
2638 * timer.c: Don't declare sys_errlist; declare strerror instead.
2639 (schedule, main): Call strerror instead of using sys_errlist.
2640 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
2641 Call strerror instead of using sys_errlist.
2642 * env.c (main): Call strerror instead of using sys_errlist.
2643 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
2644 (main): Call strerror instead of using sys_errlist.
2645 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
2646 * env.c [! HAVE_STRERROR] (strerror): Likewise.
2647 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
2648 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
2649
26501994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2651
2652 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
2653
2654 * movemail.c (malloc): Don't declare it.
2655 (xmalloc): Cast result of malloc.
2656 (strcpy): Don't declare it.
2657
26581993-11-14 Morten Welinder (terra@diku.dk)
2659
2660 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
2661 (main): Use fclose to close file opened by fopen.
2662
2663 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
2664
2665 * movemail.c [MSDOS]: #undef `access'.
2666
2667 * b2m.c (main) [MSDOS]: Open all files as binary.
2668 * etags.c (main) [MSDOS]: Open all files as binary.
2669
2670 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
2671 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
2672 with.
2673
26741994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2675
2676 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
2677 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
2678 (LINK_CFLAGS): New variable.
2679 (timer): Use LINK_CFLAGS.
2680
26811993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2682
2683 * movemail.c: Include syswait.h.
2684 Fork a subprocess and use it to copy the mail file.
2685
26861993-12-07 Richard Stallman (rms@srarc2)
2687
2688 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
2689
26901993-12-04 Richard Stallman (rms@srarc2)
2691
2692 * movemail.c (main): When making tempname, cast result of xmalloc.
2693 Include room for EXXXXXX in the size.
2694 Don't use result of strcpy.
2695
26961993-12-03 Paul Eggert (eggert@twinsun.com)
2697
2698 * vcdiff: Add --brief option.
2699
27001993-12-02 Richard Stallman (rms@srarc2)
2701
2702 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
2703 for all executables and scripts.
2704
27051993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2706
2707 * Version 19.22 released.
2708
27091993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2710
2711 * Makefile.in (mostlyclean): Make it distinct from clean.
2712
27131993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2714
2715 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
2716
27171993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2718
2719 * Version 19.21 released.
2720
2721 * Makefile.in (install): Don't change mode or group when installing.
2722
2723 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
2724
27251993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2726
2727 * make-docfile.c (read_c_string): For "", concatenate the two strings.
2728
2729 * movemail.c (main): Fix error message text.
2730
27311993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2732
2733 * Version 19.20 released.
2734
27351993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
2736
2737 * etags.c: (C_entries): Keep track of ()-parenthesis level so that
2738 functions returning a pointer to a function, a la `signal', can be
2739 parsed. This also required new state `fstartlist' to `FUNCST'.
2740 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
2741 (C_entries, CNL): use it to isolate preprocessor directive processing
2742 from the other state engines.
2743 (begtk): add '~', for C++ class destructors.
2744
27451993-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
2746
2747 * etags.c (consider_token): removed unused variable firsttok.
2748 (prolog_getit): call pfnote with the right number of arguments.
2749
27501993-10-19 Paul Eggert (eggert@twinsun.com)
2751
2752 * rcs2log (printlogline): Don't generate lines containing only
2753 white space.
2754
27551993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2756
2757 * Makefile.in (${archlibdir}):
2758 Install ${SCRIPTS} from ${srcdir}, not cwd.
2759
27601993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2761
2762 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
2763 the comment character.
2764
27651993-10-01 Francesco Potorti` (pot@cnuce.cnr.it)
2766
2767 * etags.c (process_file): dead code removed.
2768 (S_ISREG): #define it using S_IFREG if not defined.
2769 (process_file): regular files have nothing to do with symlinks.
2770
27711993-09-28 Brian Fox (bfox@ai.mit.edu)
2772
2773 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
2774 from current directory. Only chmod and chgrp files that we
2775 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
2776 ${bindir}.
2777 (INSTALLFLAGS): Deleted definition, since it is an unused variable
2778 now.
2779
27801993-09-27 Brian Fox (bfox@ai.mit.edu)
2781
2782 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
2783 configure figure out the correct values for these variables.
2784
27851993-09-14 Brian Fox (bfox@ai.mit.edu)
2786
2787 * Makefile.in (archlibdir): Only install execuatables internally
2788 used by emacs; don't install bindir binaries here.
2789
27901993-09-24 Paul Eggert (eggert@twinsun.com)
2791
2792 * rcs2log: Add -h, -n, -r options.
2793 By default, look for *,v files as well as RCS/*,v files.
2794 Use $TMPDIR (default /tmp) instead of /tmp.
2795
27961993-09-20 Francesco Potorti` (pot at fly)
2797
2798 * etags.c (C_entries): is_func is initialised here instead of in
2799 consider_token for the sake of the yacc rules section.
2800 (C_entries): Now class, struct, enum, union and typedef produce
2801 named tags.
2802
28031993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
2804
2805 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
2806
28071993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2808
2809 * Support configuring in a different directory when ${srcdir} has
2810 already been configured.
2811 * Makefile.in (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before
2812 -I${srcdir} -I${srcdir}/../src.
2813 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
2814 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
2815 is already in CPP_FLAGS.
2816 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
2817 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
2818
28191993-08-25 Paul Eggert (eggert@twinsun.com)
2820
2821 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
2822 otherwise, HP awk complains.
2823
2824 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
2825 are common hangouts for SCCS commands.
2826
28271993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2828
2829 * Version 19.19 released.
2830
28311993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2832
2833 * Makefile.in (make-path): Dep on config.h.
2834
28351993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2836
2837 * b2m.c (TRUE, FALSE): Don't define if already defined.
2838
28391993-08-09 Paul Eggert (eggert@twinsun.com)
2840
2841 * rcs2log (awkscript):
2842 Some sites put comma-separated junk after the fullname.
2843 Remove it, but leave "Bill Gates, Jr" alone.
2844 Remove the junk from fullnames like "0000-Admin(0000)".
2845
28461993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2847
2848 * Version 19.18 released.
2849
28501993-08-04 Francesco Potorti` (pot@spiff.gnu.ai.mit.edu)
2851
2852 * etags.c (L_isdef, L_isquote, L_getit): small optimisations.
2853 (L_funcs): the (foo::defmumble stuff now should work.
2854 (consider_token): function returned random value--corrected.
2855 (C_entries): corrected == versus = typo.
2856
28571993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2858
2859 * etags.c (put_entries): For NODE->rewritten, put pattern before
2860 \177 and name after, not vice versa.
2861
28621993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2863
2864 * timer.c (main): Generate a SIGIO as soon as we've initialized.
2865
28661993-07-30 Francesco Potorti` (pot@cnuce.cnr.it)
2867
2868 * etags.c (FINCST): added the fignore status. Means we are
2869 after the parameter list and before the open curly brace.
2870 Allows correct parsing of C++ constructors.
2871 (C_entries, consider_token): make use of fignore.
2872 (consider_token): reset funcdef when next_token_is_func: when in
2873 ctags mode makes DEFVAR and others work better.
2874 (L_isquote): function that recognises the "(quote" string.
2875 (L_getit): ignore quoting via "'" or "(quote". Useful for defalias.
2876
28771993-07-29 Paul Eggert (eggert@twinsun.com)
2878
2879 * rcs-checkin: Don't check whether a file is readable until we have
2880 decided not to ignore it.
2881
28821993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2883
2884 * Makefile.in (etags): Depend on ../src/config.h.
2885
2886 * emacsserver.c: Include types.h before file.h.
2887
28881993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2889
2890 * Makefile.in (install): Use .n, not .new, for temporary filenames.
2891
28921993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2893
2894 * Version 19.17 released.
2895
28961993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
2897
2898 * etags.c (print_help): Break up the very long strings containing
2899 the help message into shorter strings, to placate chintzy C
2900 compilers which can't handle strings that long.
2901
2902 * wakeup.c: Use CPP tangle from autoconf manual to #include the
2903 correct combination of <time.h> and <sys/time.h>.
2904
29051993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
2906
2907 * etags.c (alloca): removed all references to it.
2908 (main): now calls xnew instead of alloca for portability.
2909 (../src/config.h): included only if HAVE_CONFIG_H.
2910 (const): void definition removed--config.h takes care of it.
2911
29121993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
2913
2914 * etags.c (consider_token): was `==', now is `='.
2915 (consider_token): DEFUNs now treated like funcs in ctags mode.
2916
2917 * etags.c (LEVEL_OK_FOR_FUNCDEF): removed.
2918 (C_entries): optimized the test that used LEVEL_OK_FOR_FUNCDEF.
2919 (C_entries): removed a piece of useless code.
2920 (C_entries): making typedef tags is delayed until a semicolon
2921 is met. This handles "typedef int X, Y, Z;" correctly.
2922
29231993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
2924
2925 * Version 19.16 released.
2926
2927 * b2m.c: #include <sys/types.h>.
2928 (ltoday): Declare this to be time_t.
2929
29301993-06-30 Paul Eggert (eggert@twinsun.com)
2931
2932 * vcdiff: Add -q option.
2933
29341993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2935
2936 * etags.c: #include "config.h" and the alloca CPP tangle before
2937 #including the system headers and getopt.h. AIX requires the
2938 #pragma to come before any actual C code.
2939
29401993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2941
2942 * Makefile.in (ctags): Depend on etags, so that parallel makes
2943 don't write etags.o files on top of each other.
2944
29451993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2946
2947 * version 19.15 released.
2948
29491993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2950
2951 * etags.c (add_node): Move var last_node to file scope.
2952
29531993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2954
2955 * Version 19.14 released.
2956
29571993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2958
2959 Bring mumbleclean targets into conformance with GNU coding standards.
2960 * Makefile.in (distclean): Call clean to do most of the work.
2961 Delete aixcc.c and TAGS.
2962 (realclean): Just call distclean.
1c478461 2963
362bc2da
DL
2964 * Makefile.in: Remember, spaces are not tabs.
2965
29661993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2967
2968 * Makefile.in (CPP_CFLAGS): New variable.
2969 Use it instead of ALL_CFLAGS when compiling a .c file.
2970 (getopt.o, getopt1.o): Add explicit compilation commands.
2971
29721993-06-10 Mark D. Baushke (mdb@cisco.com)
2973
2974 * etags.c: Reinstate old -f option as an alias for -o for
2975 installed base uses.
2976
29771993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2978
2979 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
2980 to bind or accept, cast the pointer, to avoid warnings on systems
2981 which declare prototypes for this.
2982 * emacsclient.c (main): Same.
2983
2984 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
2985
29861993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2987
2988 * Version 19.13 released.
2989
2990 * wakeup.c: Include sys/types.h, too; I think that's where time_t
2991 comes from, not sys/time.h.
2992
29931993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2994
2995 * wakeup.c: Include sys/time.h.
2996
2997 * etags.c: #undef static.
2998
2999 * Version 19.12 released.
3000
3001 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
3002
30031993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3004
3005 * Version 19.11 released.
3006
3007 * timer.c [LINUX]: #undef signal.
3008 * emacsserver.c: #undef signal.
3009
30101993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3011
3012 * wakeup.c (main): Make when a time_t.
3013
30141993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3015
3016 * Makefile.in: (${archlibdir}): Use `(cd foo && pwd)` instead of
3017 `(cd foo ; pwd)` to get the canonical name of a directory; cd
3018 might fail, and have pwd print out the current directory.
3019
3020 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
3021 string-handling functions.
3022
30231993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3024
3025 * Version 19.10 released.
3026
30271993-05-29 Paul Eggert (eggert@twinsun.com)
3028
3029 * rcs2log: When given no file arguments, inspect RCS/.* as well
3030 as RCS/*. Don't report an error if RCS is empty or nonexistent.
3031
30321993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3033
3034 * Makefile.in (timer): Link with $(LOADLIBES).
3035
30361993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3037
3038 * fakemail.c (put_line): Don't output \n\t unless more text follows.
3039
30401993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3041
3042 * etags.c: Replace the CPP tangle for alloca with the one from the
3043 autoconf documentation, since that's working elsewhere.
3044
30451993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3046
3047 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
3048 description files can find their ancestors.
3049
30501993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3051
3052 * Makefile.in (install): Get the scripts from ${srcdir},
3053 unlike the executables.
3054 (ALL_CFLAGS): Add -I../src
3055
30561993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3057
3058 * Version 19.9 released.
3059
30601993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3061
3062 * Makefile.in (install): Do install the programs listed in
3063 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
3064 INSTALLABLE_SCRIPTS, instead of writing the programs out.
3065
3066 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
3067 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
3068
30691993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3070
3071 * etags.c: Include ../src/config.h.
3072
3073 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
3074 in first loop. Delete files from bindir before installing new ones.
3075 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
3076
30771993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3078
3079 * Version 19.8 released.
3080
3081 * make-docfile.c: Doc fix.
3082
30831993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3084
3085 * tcp.c: Fix comment syntax at top of file.
3086 (main): Don't call htons with the port number.
3087
30881993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3089
3090 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
1c478461 3091 appropriate.
362bc2da
DL
3092
3093 * Makefile.in (install): Refer to the variables INSTALLABLES and
3094 INSTALLABLE_SCRIPTS, instead of writing them out.
3095
30961993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3097
3098 * make-path.c (main): Return 0.
3099
31001993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3101
3102 * Version 19.7 released.
3103
31041993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3105
3106 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
3107
31081993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3109
3110 * tcp.c: New file.
3111
31121993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3113
3114 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
3115
31161993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3117
3118 * timer.c (notify): Don't call sighold or sigrelse; they're USG
3119 only. We should really fix this later, but let's just make it
3120 compile for now.
3121
3122 Install patches from David J. Mackenzie to make the srcdir option
3123 work.
3124 * Makefile.in (srcdir, VPATH): Get this value from the top-level
3125 Makefile.
3126 (INSTALLABLES): Split this into two lists - INSTALLABLES and
3127 INSTALLABLE_SCRIPTS.
3128 (INSTALLABLE_SCRIPTS): New list.
3129 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
3130 (${archlibdir}): The scripts to be installed live in the source
3131 tree, not in the object tree.
3132 (test-distrib): Note that the data file lives in the source tree,
3133 not the object tree.
3134 (GETOPTDEPS): Note that getopt.h lives in the source tree.
3135 (all other targets): Change references to source files to use
3136 ${srcdir}, except for config.h, which lives in the object dir.
3137 (timer.o): Note that this depends on ../src/config.h.
3138 * make-docfile.c (main): Add a -d option, to tell it where to find
3139 the source files.
3140 * test-distrib.c (main): Take the name of the distribution file to
3141 test from the command line.
3142
3143 * timer.c: Fix mispellings of get_date function's name.
3144
31451993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
3146
3147 * etags.c (main):
3148 Don't require that there be input files if -i switches were given.
3149
31501993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3151
3152 The GNU coding standards specify that CFLAGS should be left for
3153 users to set.
3154 * Makefile.in (CFLAGS): Put this in the "things configure might
3155 edit" section, and have it default to -g.
3156 (ALL_CFLAGS): New variable, set to all the flags which should be
3157 passed to compilations. Replace all other uses of CFLAGS with
3158 ALL_CFLAGS.
3159 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
3160
3161 * Makefile.in (DEFS): Remove this; it's always just going to be
3162 "-DHAVE_CONFIG_H -Demacs".
3163
31641993-05-03 Paul Eggert (eggert@twinsun.com)
3165
3166 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
3167 /[/]/, so change it to /[\/]/. This should work on all
3168 Posix-compliant awks. It's slightly wrong with traditional awk,
3169 since it matches \ too, but that's a minor problem compared to awk
3170 syntax errors.
3171
31721993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3173
3174 * Makefile.in (ALLOCA): New variable, whose value we should
3175 inherit from the top-level makefile.
3176 (etags, ctags): Include ALLOCA in the list of object files that
3177 these executables depend on and link.
3178
31791993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3180
3181 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
3182
31831993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
3184
3185 * make-docfile.c (write_c_args): Print an argument named "defalt"
3186 as "default".
3187
31881993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3189
3190 * Makefile.in (C_SWITCH_SYSTEM): New variable.
3191 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
3192 compiler.
3193
31941993-03-22 Francesco Potorti` (pot@cnuce.cnr.it)
3195
3196 * etags.c (YACC): flag added to c_ext.
3197 (c_ext): no more a synonim for c_ext&C_PLPL because of YACC.
3198 (find_entries): consistently use streq when reasonable.
3199 (find_entries): a .y file is a yacc file.
3200 (get_C_stab): c_ext becomes c_ext&C_PLPL.
3201 (C_entries): logical cplpl means c_ext&C_PLPL.
3202 (C_entries): logical yacc_rules means we are after the first %%.
3203 (C_entries): added logic for yacc files.
3204
32051993-03-16 Francesco Potorti` (pot@cnuce.cnr.it)
3206
3207 * etags.c (C_entries): ':' case moved to the second switch.
3208 (C_entries): do not examine token if structdef==scolonseen.
3209 (consider_token): structtag set to null string for enum.
3210
32111993-03-12 Francesco Potorti` (pot@cnuce.cnr.it)
3212
3213 * etags.c (GET_COOKIE): and related macros removed.
3214 (logical): is now int, no more a char.
3215 (reg): define deleted.
3216 (isgood, _gd, notgd): deleted.
3217 (gotone): deleted.
3218 (TOKEN): member linestart removed.
3219 (linepos, prev_linepos, lb1): deleted.
3220 (main): call initbuffer on lbs array instead of lb1.
3221 (init): removed the initialisation of the logical _gd array;
3222 (find_entries): a .sa suffix means assembler file.
3223 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
3224 All C state machines rewritten.
3225 (C_entries): complete rewrite.
3226 (condider_token): complete rewrite.
3227 (getline): deleted.
3228
32291993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
3230
3231 * etags.c (C_entries): Added the quotednl logical variable.
3232 Used for parsing of #define's spanning multiple lines.
3233
32341993-02-23 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
3235
3236 * etags.c (C_entries): Save the definedef status even when a
3237 newline is met inside a string.
3238
32391993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
3240
3241 * Makefile.in (EXECUTABLES): added rcs-checkin.
3242
3243 * Makefile.in (unlock, relock): New productions.
3244
32451993-03-16 Paul Eggert (eggert@twinsun.com)
3246
3247 * rcs2log: Some awks don't understand "\r". Code around this.
3248 Unfortunately this requires putting a carriage return in the
3249 source code. Don't assume that rlog will tolerate times like
3250 `10:10:60'; RCS 5.7 won't allow this.
3251
32521993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3253
3254 * timer.c (main): Set the ownership of the stdin file descriptor
3255 to the current process. Print error messages if either of the
3256 fcntl's fails.
3257
3258 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
3259 ../src/config.h), not void.
3260
32611993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3262
3263 * b2m.c (main): Don't exit upon reading a blank line.
3264
32651993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
3266
3267 * etags.c (C_entries): New local variable quotednl. Used for
3268 parsing of #define's spanning multiple lines.
3269
3270 * etags.c (C_entries): Save the definedef status
3271 even when a newline is met inside a string.
3272
32731993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3274
3275 * timer.c (notify): Initialize waitfor properly.
3276
32771993-02-22 Francesco Potorti` (pot@CNUCE.CNR.IT)
3278
3279 * etags.c (C_entries): Don't reset definedef when a newline inside a
3280 comment is met.
3281
32821993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3283
3284 * etags.c (find_entries): If filename ends in .f or .for,
3285 don't try anything but Fortran.
3286
32871993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
3288
3289 * timer.c (notify): Flush stdout after writing message to avoid lossage
3290 on terminals.
3291
3292 (notify): Also, write a newline after the token.
3293
32941992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3295
3296 * Makefile.in (exec_prefix): New variable.
3297 (bindir, libdir): Use it instead of `prefix'.
3298
3299 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
3300
3301 * Makefile.in (libdir): Default to ${prefix}/lib.
3302 (archlibdir): Adjusted to match.
3303
3304 * Makefile.in (distclean): Don't delete backup or autosave files.
3305 (extraclean): Like realclean, but does delete backup and autosave
3306 files.
3307
3308 * Makefile.in (realclean): Ignore errors from rm.
3309
3310 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
3311 that doesn't exist anymore.
3312
33131992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3314
3315 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
3316 described in the top-level Makefile.
3317 (UTILITIES): Add make-path to the list of utility programs.
3318 (../arch-lib): Replaced by the ${archlibdir} target, which places
3319 the executables in their permanent home.
3320 (install, install.sysv, install.xenix): Consolidated into one
3321 target which should work under all circumstances, modulo a few
3322 ignored error messages.
3323
3324 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
3325 a different number of arguments than other DEFVARs, recognize it
3326 specially, and expect the right number of commas.
3327
33281992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3329
3330 * make-path.c: New program, to help with the installation process.
3331 * Makefile.in (make-path): New target.
3332
3333 * make-path.c (touchy_mkdir): Remove debugging output.
3334
33351992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3336
3337 * Makefile.in (getdate.o): Added explicit target for this, so we
3338 can indicate that it depends on ../src/config.h.
3339
33401992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3341
3342 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
3343 instead of CFLAGS.
3344 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
3345
33461992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3347
3348 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
3349 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
3350 that system.
3351
3352 * Makefile.in (arch-lib): Give rm the `-f' option.
3353
33541992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3355
3356 * make-docfile.c (write_c_args): Rewritten to correctly print
3357 &optionals before the first identifier, but after the first paren.
3358 This code used to just wait for commas or spaces; now it notices
3359 identifier boundaries.
3360
33611992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3362
3363 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
3364
33651992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3366
3367 * make-docfile.c (write_c_args): Print the argument lists properly
3368 when the first argument is optional.
3369
33701992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3371
3372 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
3373 Redefine @item. Set catcode of +.
3374
33751992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3376
3377 * emacsclient.c (main): Set IPC_CREAT in msgget call.
3378
33791992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3380
3381 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
3382 (TEX_decode_env): Make `tab' one element longer.
3383
33841992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3385
3386 * etags.c (PF_funcs): Recognize the "entry" keyword.
3387
33881992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3389
3390 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
3391
33921992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3393
3394 * timer.c (events): Rather than having slots marked as in use or
3395 out of use by the `token' field, keep all pending events at the
3396 beginning of the array. When we delete an event in the middle of
3397 the array, we move the last event into its place.
3398 (num_events): New variable.
3399 (schedule): It is now cheaper to find a free event slot;
3400 events[num_events] is the first free slot.
3401 (notify): Scan events[0 .. num_events-1], instead of the whole
3402 array. When an event fires, move the last event in the array into
3403 its spot. Use num_events to determine whether or not there are
3404 any pending events, not wait_for.
3405 (getevent): Deleted unused variable `ep'.
3406 (sigcatch): It's now easier to find all the active events.
3407 (main): Initialize num_events.
3408
3409 * etags.c: Rather than fret about which systems have index and
3410 which systems have strchr, and how to tell the difference between
3411 them, we just write out our own versions. Big deal.
3412 (index, rindex): Extern declarations removed.
3413 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
3414 (etags_index, etags_rindex): New declarations.
3415 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
3416 TEX_getit, substr): Use the etags_*index functions, rather than
3417 the native *index functions.
3418 (rindex, index): Renamed to etags_rindex and tags_rindex, and
3419 made them unconditionally defined, rather than having them depend
3420 on NEED_*INDEX.
3421
3422 * etags.c (savenstr): Add declaration for this at top of file.
3423 (TEX_decode_env): Don't declare it local to this function.
3424
3425 * b2m.c: #include "../src/config.h", so we can test for the USG
3426 macro, and decide whether to include <string.h> or <strings.h>.
3427 * Makefile.in: Note that b2m.c depends on ../src/config.h.
3428
34291992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3430
3431 * timer.c: Reformatted according to the GNU coding standards.
3432 Removed arbitrary limits on the number of events queued and the
3433 length of the tokens used to identify them.
3434 Removed casts to (void).
3435 Removed debugging printfs; they clutter the code, and the need
3436 can be better filled using a real debugger.
3437
34381992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3439
3440 * timer.c: Installed new version from Eric Raymond; this is more
3441 portable, since it doesn't try to use SIGIO.
3442
34431992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3444
3445 * emacsclient.c (main): If we can't find the socket in this
3446 person's home directory, print a message which asks if they've
3447 started the server, instead of just printing the message from
3448 sys_errmsg; Cygnus finds that people are much less confused by
3449 this.
3450
34511992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3452
3453 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
3454 so that index and rindex get defined, why don't we actually
3455 control index and rindex using symbols called "NEED_INDEX" and
3456 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
3457 little more readable than defining something whose name implies
3458 that it's not?
3459
34601992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3461
3462 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
3463 distribution:
3464 Miscellaneous doc fixes.
1c478461 3465 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
3466 (scan_lisp_file): Instead of using long hairy strings of ifs, call
3467 read_lisp_symbol and then see what we got. Call skip_white
3468 instead of writing out a loop to do its job. Correctly extract
3469 docstrings from "defmacro" declarations.
3470
34711992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3472
3473 * movemail.c (strcpy): Declare this to return char *.
3474
34751992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3476
3477 * etags.c (C_entries): When we find a C++ comment, do actually
3478 skip to the end of the line; do a 'break' instead of a 'continue'.
3479
34801992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3481
3482 * etags.c (getit): Add missing parenthesis to expression which
3483 decides if this token is an identifier.
3484
34851992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
3486
3487 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
3488
34891992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3490
3491 * etags.c (put_entries): Always put space between name and line num.
3492
34931992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
3494
3495 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
3496 warning.
3497 (LEVEL_OK_FOR_FUNCDEF): Ditto.
3498
34991992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3500
3501 * make-docfile.c (write_c_args): Pass both arguments to putc.
3502
35031992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
3504
3505 * etags.c (C_entries): Fixed reading of "..." strings.
3506 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
3507 the C library source.
3508
3509 * etags.c (C_entries): When we see a backslash inside a quoted
3510 string, skip to the next character. This allows us to correctly
3511 deal with strings containing quotes.
3512
35131992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3514
3515 * make-docfile.c (write_c_args): Print the C argument names as
3516 they would be written in Elisp; print '_' as '-'.
3517
35181992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3519
3520 * movemail.c [POP]: Get user name via getpwuid.
3521
35221992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3523
3524 * Makefile.in: flags in CC invocations rearranged for no reason.
3525
35261992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3527
3528 * etags.c (print_help): Remember not to imbed raw newlines in
3529 strings - end the lines with `\n\'.
3530
35311992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3532
3533 * timer.c (getevent): Removed declaration of memcpy; since
3534 different systems have different return types, and we're not even
3535 using the return type anyway, it wasn't doing us any good.
3536
35371992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3538
3539 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
3540 type of this function.
3541
35421992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3543
3544 * ChangeLog: Since the old etc contents have been split into etc
3545 and lib-src, the old etc's ChangeLog has been duplicated in the
3546 new etc and lib-src. That means that each contains complete and
3547 coherent information, although each contains extraneous
1c478461 3548 information.
362bc2da
DL
3549
35501992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3551
3552 * lib-src/etags.c: "--no-warning" option renamed to "--no-warn",
3553 to be consistent with other GNU programs, like makeinfo.
3554
3555 * lib-src/Makefile: Renamed to Makefile.in; the configure script
3556 will edit this to produce Makefile.
3557
35581992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3559
3560 * etags.c (print_help, print_version): New functions.
3561 (main): Options added to support them.
3562
3563 * etags.c (longopts): New array of long names for the options.
3564 (main): Recognize them.
3565
35661992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3567
3568 * etags.c (C_entries): Removed comment saying that \" in a string
3569 isn't recognized as magic, because it is correctly handled.
3570
3571 * getopt.c, getopt.h: New files, from GNU C library.
3572 * etags.c: Rewritten to use getopt.
3573 #include "getopt.h".
3574 (file_num): Variable deleted; its role is now played by getopt's
3575 optind.
3576 (main): Argument processing loop rewritten to call getopt to get
3577 next option. Options which take parameters (-o and -i) rewritten
3578 to get parameter from optarg instead of argv[1]. Filename
3579 preprocessing loop and update command changed similarly.
3580 * Makefile (etags, ctags): Depend on and link with getopt.h,
3581 getopt.o, and getopt1.o.
3582 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
3583
3584 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
3585 is non-zero.
3586
3587 (main): In the argument processing loop, the 'goto next_arg'
3588 statements are breaking out of the switch statement in exactly the
3589 same way that a simple 'break' statement would; replace the gotos
3590 with breaks, and remove the label.
3591
35921992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3593
3594 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
3595 (consider_token): Move next_token_is_func to global.
3596
35971992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3598
3599 * Makefile: Conform with GNU coding standards:
3600 (mostlyclean): New target, synonymous with clean.
3601 (TAGS, check): New targets.
3602 (INSTALL, INSTALLFLAGS): New variables.
3603
36041992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3605
3606 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
3607 `config.emacs' to `configure'.
3608
3609 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
3610 * etc/MACHINES: Same.
3611
36121992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3613
3614 * movemail.c (main): Allow tempname to be as long as necessary,
3615 instead of limiting it to 39 characters.
3616
3617 * movemail.c (main): Move declaration of buf from top of function
3618 to local block surrounding the copy loop. This makes it less
3619 likely to be confused with the buf used by the code which checks the
3620 permissions on outname's directory.
3621
36221992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
3623
3624 * SERVICE: Remove my entry.
3625
36261992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
3627
3628 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
3629 hardcoded -g.
3630
3631 * movemail.c (xmalloc): Return char *, not int.
3632 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
3633 that is off by default -- normally don't unlink the mail spool
3634 file, just empty it. Pass creat mode 0600, not 0666.
3635
36361992-02-07 Jim Blandy (jimb at pogo.cs.oberlin.edu)
3637
3638 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
3639 (all): Instead of here.
3640 (install): Don't use the -s option, since people need symbols to
3641 debug code.
3642
36431992-01-19 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil)
3644
3645 * etags-vmslib.c (fn_exp): Add type cast.
3646
36471992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3648
3649 * movemail.c: Changes in comments.
3650
36511992-01-13 Jim Blandy (jimb at pogo.cs.oberlin.edu)
3652
3653 * Makefile: Make the distclean target erase the DOC files from
3654 ../share-lib and the executables from ../arch-lib.
3655
36561992-01-09 Jim Blandy (jimb at pogo.cs.oberlin.edu)
3657
3658 * emacsclient.c: #include <sys/stat.h>
3659 (main): Do declare statbfr.
3660
36611991-12-21 Richard Stallman (rms at mole.gnu.ai.mit.edu)
3662
3663 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
3664 for the socket, depending on SERVER_HOME_DIR.
3665 If using /tmp, put host name in the socket name.
3666
3667 * movemail.c (pfatal_and_delete): New function.
3668 (main, popmail): Use it.
3669 (popmail): Close output before deleting messages.
3670 Check for error on close and on fsync.
3671 Use `fatal' where appropriate.
3672 (main): Remove (void).
3673
3674 * aixcc.lex: New file. Not officially part of Emacs.
3675 * Makefile: Rules for that.
3676
36771991-12-04 Jim Blandy (jimb at pogo.gnu.ai.mit.edu)
3678
3679 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
3680
3681 * etags.c (main): Properly cast call to alloca that initializes
3682 included_files.
3683
36841991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
3685
3686 * etags.c (files_are_tag_tables): Remove global var.
3687 (process_file): Don't test it. Also remove hack checking for a
3688 file named "TAGS".
3689 (main): -i now takes an arg which is the name of a file to include.
3690 Collect these names and emit include tags for them after processing
3691 all the argument files.
3692
36931991-07-30 Richard Stallman (rms at mole.gnu.ai.mit.edu)
3694
3695 * wakeup.c: Terminate if parent goes away.
3696
36971991-07-18 Richard Stallman (rms at mole.gnu.ai.mit.edu)
3698
3699 * etags.c (C_entries): Process token before handling end of line.
3700 When inner loops reach end of line, just back up.
3701 Let the real end of line processing happen in just one place.
3702 (consider_token): Likewise.
3703
37041991-04-11 Jim Blandy (jimb at geech.gnu.ai.mit.edu)
3705
3706 * etags.c (TEX_mode): Skip comments while scanning the text to see
3707 which escape character this file uses.
3708
37091991-03-29 Richard Stallman (rms at mole.gnu.ai.mit.edu)
3710
3711 * emacsserver.c [USG]: Terminate if msgrcv fails.
3712
37131991-03-03 Richard Stallman (rms at mole.ai.mit.edu)
3714
3715 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
3716
37171991-01-25 Jim Blandy (jimb at churchy.ai.mit.edu)
3718
3719 * make-docfile: Find the arguments to a C function correctly,
3720 by not ignoring the character that read_c_string returns. Don't
3721 even try to find argument names for functions that take MANY
3722 or UNEVALLED arguments, since they're a figment of the docstring's
3723 imagination.
3724
37251991-01-14 Jim Blandy (jimb at churchy.ai.mit.edu)
3726
3727 * make-docfile: Read the .elc files generated by the new byte
3728 compiler.
3729
37301990-12-31 Richard Stallman (rms at mole.ai.mit.edu)
3731
3732 * refcard.tex: Use cm fonts, not am, in multi-column mode.
3733
37341990-11-29 Richard Stallman (rms at mole.ai.mit.edu)
3735
3736 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
3737
37381990-11-27 Richard Stallman (rms at mole.ai.mit.edu)
3739
3740 * Makefile (install*): No need to install wakeup.
3741
37421990-11-26 Richard Stallman (rms at mole.ai.mit.edu)
3743
3744 * Makefile (install*): Install emacsclient like etags.
3745
37461990-11-13 Richard Stallman (rms at mole.ai.mit.edu)
3747
3748 * movemail.c (error): Handle 3 args.
3749 (main): Don't check input access if using pop.
3750
37511990-10-16 Richard Stallman (rms at mole.ai.mit.edu)
3752
3753 * etags.c (find_entries): Check for numbers after Scheme suffix.
3754
37551990-10-14 Richard Stallman (rms at mole.ai.mit.edu)
3756
3757 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
3758
37591990-10-09 Richard Stallman (rms at mole.ai.mit.edu)
3760
3761 * Makefile (nemacstool, xvetool): New targets.
3762
37631990-09-26 Richard Stallman (rms at mole.ai.mit.edu)
3764
3765 * emacsclient.c: Include errno.h and define related variables.
3766
37671990-09-23 Richard Stallman (rms at mole.ai.mit.edu)
3768
3769 * emacsclient.c: Change usage message.
3770
37711990-08-30 David Lawrence (tale at pogo.ai.mit.edu)
3772
3773 * emacs.1: Add break before -nw option.
3774
37751990-08-19 David J. MacKenzie (djm at apple-gunkies)
3776
3777 * qsort.c: Replace with GNU version.
3778
37791990-08-14 David J. MacKenzie (djm at apple-gunkies)
3780
3781 * wakeup.c: New program replacing loadst.c.
3782
37831990-08-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3784
3785 * emacsclient.c [USG]: Pass msgsnd only 4 args.
3786
37871990-08-09 David J. MacKenzie (djm at pogo.ai.mit.edu)
3788
3789 * etags.c: Rename `flag' variables for what they do instead of
3790 which option character sets them.
3791
37921990-05-28 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3793
3794 * loadst.c (main): Conditional to get load average on Apollo.
3795
37961990-05-22 Joseph Arceneaux (jla at churchy.ai.mit.edu)
3797
3798 * emacsserver.c: Set the permission on the socket to 0600.
3799
38001990-03-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3801
3802 * emacsclient.c [BSD]: Print clean message for failing getwd.
3803
38041990-03-20 David Lawrence (tale at pogo.ai.mit.edu)
3805
3806 * getdate.y: Use the getdate.y from GNU tar for timer.
3807
38081990-03-18 Jim Kingdon (kingdon at pogo.ai.mit.edu)
3809
3810 * emacsclient.c (main): Don't put brackets around "filename" in
3811 usage message. It isn't optional.
3812
38131990-03-14 Joseph Arceneaux (jla at churchy.ai.mit.edu)
3814
3815 * etags.c (getit): Recognize '$' as beginning identifiers.
3816
38171990-02-22 David Lawrence (tale at pogo.ai.mit.edu)
3818
3819 * emacsserver.c: Renamed from server.c.
3820 * Makefile: Reference emacsserver rather than server.
3821 * MACHINES: Doc fix for new emacsserver name.
3822
38231990-01-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3824
3825 * emacsclient.c: Print program name in error messages.
3826
38271990-01-19 David Lawrence (tale at cocoa-puffs)
3828
3829 * timer.c, getdate.y (new files) and Makefile:
3830 Sub-process support for run-at-time in timer.el.
1c478461 3831 Doesn't yet work correctly for USG.
362bc2da
DL
3832
38331990-01-10 Jim Kingdon (kingdon at pogo)
3834
3835 * MACHINES: Add HP 300 running BSD.
3836
38371990-01-02 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3838
3839 * yow.c: Dynamically allocate buffer; skip header before random
3840 choice to avoid bias toward first item.
3841
38421989-12-24 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3843
3844 * etags.c (readline): Separate out init of `pend'.
3845
38461989-12-17 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3847
3848 * etags.c: Undo changes relating to isgoodhdr.
3849
38501989-12-16 Mosur Mohan (rms at sugar-bombs.ai.mit.edu)
3851
3852 * etags.c (isgoodhdr): New macro.
3853 (_gdh, notgdh): New variable used by that.
3854 (init): Initialize _gdh.
3855 (find_entries): Set header_file.
3856 (consider_token): Use isgoodhdr if in header file.
3857
3858 * etags.c (total_size_of_entries):
3859 Was miscalculating by 1 in rewritten case.
3860
3861 * etags.c (PAS_funcs): One arg to pfnote was missing.
3862
38631989-12-05 Joseph Arceneaux (jla at spiff)
3864
3865 * MACHINES: Change for the ULTRIX entry.
3866
38671989-11-21 Joseph Arceneaux (jla at spiff)
3868
3869 * etags.c (process_file): If file is not regular, return.
3870
38711989-11-06 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3872
3873 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
3874
38751989-10-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3876
3877 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
3878 (main): If HAVE_GETLOADAVG, don't call `nlist'.
3879
38801989-10-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3881
3882 * etags.c (consider_token): Allow any number of typespec keywords
3883 after `typedef', before new type name.
3884 (enum sym_type): Add st_C_typespec.
3885 (C_create_stab): Put typespec kwds in table.
3886
38871989-08-27 Richard Stallman (rms at apple-gunkies.ai.mit.edu)
3888
3889 * etags.c (main): Don't depend on name invoked by.
3890 If CTAGS is not defined, assume it is ETAGS.
3891
38921989-07-31 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3893
3894 * etags.c (L_funcs): Allow package name in define construct,
3895 as in (foo::defmumble name-defined ...).
3896
38971989-07-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3898
3899 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
3900
3901 * Makefile (yow): Depends on ../src/paths.h.
3902
39031989-07-04 Richard Stallman (rms at apple-gunkies.ai.mit.edu)
3904
3905 * etags.c: Fix compilation by moving Pascal after Fortran.
3906
39071989-06-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3908
3909 * movemail.c [USG]: Define F_OK, etc., if not found in header.
3910
39111989-05-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3912
3913 * hexl.c: New file, supports hexl-mode.
3914
39151989-05-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3916
3917 * movemail.c: New compilation flag MAIL_USE_MMDF.
3918
39191989-05-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3920
3921 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
3922 * server.c: Likewise.
3923
3924 * make-docfile.c (scan_c_file): Output argument names at end of string.
3925 (write_c_args): New subroutine.
3926
39271989-04-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3928
3929 * movemail.c: Report failure of flock.
3930
39311989-04-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3932
3933 * etags.c (find_entries): Allow multi-letter extensions for fortran.
3934
39351989-04-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3936
3937 * loadst.c: on bsd4.3, use gettimeofday instead of CPUSTATES.
3938
39391989-03-15 Jeff Peck (rms at sugar-bombs.ai.mit.edu)
3940
3941 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
3942
3943 * emacsstool.1: update to document environment variables.
3944
39451989-02-21 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3946
3947 * etags.c (PAS_funcs): New function by Mosur Mohan.
3948
3949 * movemail.c: On sysv, include unistd.h.
3950
39511989-02-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3952
3953 * b2m.c: New file.
3954
39551989-02-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3956
3957 * etags.c: Prolog support from Sunichirou Sugou
3958
39591989-02-03 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3960
3961 * Makefile (clean): New target.
3962
39631989-01-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3964
3965 * fakemail.c (put_line): Break header lines at 79 cols.
3966
39671989-01-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3968
3969 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
3970 multiple tags per line.
3971
39721989-01-03 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3973
3974 * movemail.c: Check access before doing real work.
3975 Check that outfile is in a writable directory.
3976 On fatal error, delete the lock file.
3977
39781988-12-31 Richard Mlynarik (mly at rice-chex.ai.mit.edu)
3979
3980 * env.c: Add decl for my-index
3981 * etags.c (file-entries): .oak => scheme
3982
39831988-12-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3984
3985 * movemail.c: Use `access' to check input and output files.
3986
39871988-12-28 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3988
3989 * emacsclient.c (main): Ignore all of CWD before first slash.
3990
39911988-12-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3992
3993 * etags.c (readline): Double linebuffer->size outside the xrealloc.
3994
39951988-12-22 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
3996
3997 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
3998 * server.c: chmod the socket to 0700.
3999
40001988-12-09 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4001
4002 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
4003 (add_field): Delete comments and turn `<', `>' to spaces
4004 in header lines.
4005 (USE_FAKEMAIL): New customization macro says to make fakemail
4006 not be a no-op even on a BSD system.
4007
40081988-12-01 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4009
4010 * etags.c (consider_token): Skip comments just like whitespace.
4011 Notice `struct', etc. and set strtag for those tokens.
4012 Return 1 for the token following `struct' if an open-brace follows it.
4013 (C_entries): Special handling of token following `struct'
4014 needed because we have probably advanced to the following line
4015 to find the `{'.
4016 (main): New option `T' sets tflag and strflag.
4017 Set both of them by default if eflags.
4018
40191988-11-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4020
4021 * movemail.c: Do fsync before closing output.
4022
40231988-11-29 Richard Mlynarik (mly at pickled-brain.ai.mit.edu)
4024
4025 * movemail.c: Better error message when can't create tempname.
4026 This file needs a great deal of extra error-checking and lucid reporting...
4027
40281988-11-16 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4029
4030 * etags.c: Support assembler code for .s and .a files.
4031 (getit): Allow underscore in a tag.
4032
40331988-11-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4034
4035 * movemail.c: Close output and check errors before deleting input.
4036
40371988-10-01 Richard Stallman (rms at apple-gunkies.ai.mit.edu)
4038
4039 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
4040 whether to prefix it. Handle line number args.
4041
40421988-09-24 Richard Stallman (rms at gluteus.ai.mit.edu)
4043
4044 * etags.c (main): default setting of eflag was backwards.
4045
40461988-09-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4047
4048 * etags.c: New option -i. -f renamed -o.
4049 `-' as input file means read input file names from stdin.
4050 -i spec'd or input file named TAGS means the input file is another
4051 tag table; output an "include" line for it.
4052
40531988-09-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4054
4055 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
4056 New targets install, install.sysv, install.xenix.
4057 This makefile is now responsible for installing executables
4058 and documentation from this directory into system directories.
4059
40601988-09-16 Richard Stallman (rms at corn-chex.ai.mit.edu)
4061
4062 * server.c, emacsclient.c (main): Compute socket name from euid.
4063
40641988-08-04 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4065
4066 * emacsclient.c: Args like +DIGITS are passed through unchanged.
4067
40681988-07-12 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4069
4070 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
4071 * emacsclient.c: Likewise.
4072 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
4073
40741988-06-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4075
4076 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
4077 (istoken) New string-comparison macro.
4078 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
4079
40801988-06-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4081
4082 * etags.c: Changes for VMS.
4083 Always define ETAGS on VMS.
4084 Define macros GOOD and BAD for success and failure exit codes.
4085 (begtk, intk): Allow `$' in identifiers
4086 (main): Don't support -B, -F or -u on VMS.
4087 Alternate loop for scanning filename arguments.
4088 (system): Delete definition of this function.
4089
4090 * etags-vmslib.c (system): Undefine this; VMS now provides it.
4091
40921988-06-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4093
4094 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
4095 around include of param.h. (Like fns.c.)
4096
40971988-05-16 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
4098
4099 * loadst.c (load_average): Move load-average code to this new fn.
4100 Add conditionals to compute load ave on UMAX.
4101
41021988-05-14 Richard Stallman (rms at lucky-charms.ai.mit.edu)
4103
4104 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
4105 with opposite sense.
4106
41071988-05-13 Chris Hanson (cph at kleph)
4108
4109 * emacsclient.c: Delete references to unused variable `out'. This
4110 caused a bus error when used under hp-ux.
4111
41121988-05-06 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
4113
4114 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
4115
41161988-05-04 Richard Stallman (rms at rice-krispies.ai.mit.edu)
4117
4118 * etags.c (find_entries): `.t' or `.sch' means scheme code.
4119
41201988-04-29 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
4121
4122 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
4123
41241988-04-28 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
4125
4126 * movemail.c: #undef close, since config can #define it on V.3.
4127 * emacsclient.c, fakemail.c, loadst.c, server.c: likewise.
4128
41291988-04-26 Richard Stallman (rms at lucky-charms.ai.mit.edu)
4130
4131 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
4132 invalid escape sequences such as `\{'.
4133
4134 * loadst.c: Add `sequent' conditional for file dk.h.
4135
41361988-03-20 Richard M. Stallman (rms at wilson)
4137
4138 * server.c [not BSD and not HAVE_SYSVIPC]: fix error message.
4139
4140 * loadst.c (main) [XENIX]: use /usr/spool/mail, not /usr/mail.