*** empty log message ***
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
c95eaa61
PJ
12001-12-22 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
2
3 * makefile.nt, makefile.w32-in: Remove mocklisp files.
4
69bfc389
PJ
52001-12-19 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
6
b8509940
PJ
7 * emacsserver.c: Conditionally include config.h.
8
594aa066
PJ
9 * fakemail.c: Likewise.
10
e69233c2
PJ
11 * emacsclient.c: Include "config.h", not <../src/config.h>.
12 (main): Parenthesize assignment when used as truth value to
13 prevent gcc warnings.
14
69bfc389
PJ
15 * ebrowse.c: Include stdlib.h and string.h conditionally.
16
e4e34e31
EZ
172001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
18
19 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
20
ffb7c9c6
PJ
212001-12-18 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
22
23 * test-distrib.c: Fix previous change.
24
fb5aa7ac
DL
252001-12-18 Dave Love <fx@gnu.org>
26
27 * test-distrib.c: Conditionally include fcntl.h.
28
29 * fakemail.c: Include "config.h", not <../src/config.h>.
30 (_XOPEN_SOURCE): Define as 500.
31
32 * emacsserver.c: Include "config.h", not <../src/config.h>.
33
34 * cvtmail.c: Include config.h, stdlib.h.
35 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
36
37 * yow.c: Conditionally include various headers. Use "epaths.h",
38 not <../src/epaths.h>.
39 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
40
e94a3679
FP
412001-12-12 Francesco Potorti` <pot@gnu.org>
42
43 * etags.c (PHP_functions): New function by Diez B. Roggisch,
44 heavily adapted by me, for parsing PHP.
45 (LOOKING_AT): New macro.
46 (Perl_functions, Python_functions, PHP_functions)
47 (Scheme_functions, Texinfo_nodes): Use it.
48 (Perl_functions): Use strneq.
49 (prolog_pred): Renamed to prolog_pr.
50 (prolog_pr): Recognise Prolog rules (thanks to Geert Kloosterman)
51 in addition to predicates.
52 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
53 unmodified compile, as Cygwin's regex.h is incompatible with us
54 (thanks to Markus Hoenicka).
55 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
56
34e39c95
RS
572001-12-11 Richard M. Stallman <rms@gnu.org>
58
59 * Makefile.in (clean): Don't delete ../etc/DOC*.
60
296071e7
PJ
612001-12-11 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
62
63 * COPYING: Moved back.
64
76054cc8
AI
652001-11-30 Andrew Innes <andrewi@gnu.org>
66
e94a3679
FP
67 * makefile.w32-in (FACE_SUPPORT):
68 (MOUSE_SUPPORT):
69 (FLOAT_SUPPORT):
70 (WINNT_SUPPORT):
76054cc8
AI
71 (lisp): Reference .el files instead of .elc files, to simplify
72 bootstrapping.
73 ($(DOC)): Change dependency to just `make-docfile'.
74
0142178a
PJ
752001-11-29 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
76
77 * COPYING: Removed.
78
e8d6a09b
PE
792001-11-28 Paul Eggert <eggert@twinsun.com>
80
81 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
82
83 The following changes are derived from suggestions by Bob Chapman
84 <rechapman@compuserve.com>.
85
86 * rcs2log (printlogline): Also allow tab and newline to separate
87 '(function):' from the rest of a comment.
88 (reformat the sorted log entries): Require date and author to
89 match the clumpname.
90
9a190096
GM
912001-11-16 Gerd Moellmann <gerd@gnu.org>
92
93 * ebrowse.c (matching_regexp): Escape '\\'.
94
8ec1b917
PJ
952001-11-15 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
96
97 * Makefile.in: Add support for --program-prefix, --program-suffix
98 and --program-transform-name options.
99
6d8f7d5d
RS
1002001-11-03 Richard M. Stallman <rms@gnu.org>
101
102 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
103
104 * movemail.c (popmail): Always pass two args to `error'.
105
84e70f78
KR
1062001-10-24 Ken Raeburn <raeburn@gnu.org>
107
108 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
109 -lhesiod and maybe -lresolv.
110 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
111 support if it's available.
112
386ca361
MB
1132001-10-21 Miles Bader <miles@gnu.org>
114
a3b10252
MB
115 * make-docfile.c (struct rcsoc_state): New type.
116 (read_c_string_or_comment): Add SAW_USAGE
386ca361 117 parameter, and implement scanning for a `usage:' keyword.
a3b10252
MB
118 Use a variable of type `rcsoc_state' to hold most of our state.
119 (put_char): Add STATE parameter, and remove all other parameters
120 except CH. Use STATE to get access to all needed state.
121 (scan_keyword_or_put_char): New function.
386ca361
MB
122 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
123 Don't output a usage-string if there was one in the doc-string.
124
71431a0e
GM
1252001-10-20 Gerd Moellmann <gerd@gnu.org>
126
6aa97356 127 * (Version 21.1 released.)
71431a0e 128
37a9305e
PJ
1292001-10-19 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
130
131 * b2m.c: Properly spell the name of Emacs.
132
945220bd
MB
1332001-10-17 Miles Bader <miles@gnu.org>
134
135 * make-docfile.c (put_char): New function.
136 (read_c_string_or_comment): Strip trailing spaces and newlines.
137
14242528
MB
1382001-10-16 Miles Bader <miles@gnu.org>
139
140 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
141 comments [with `doc:' keyword prefix].
142
9f5eb4a3
GM
1432001-10-15 Gerd Moellmann <gerd@gnu.org>
144
145 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
146 in a C doc comment.
147
e641b454
GM
1482001-10-13 Gerd Moellmann <gerd@gnu.org>
149
150 * make-docfile.c (read_c_string_or_comment): Renamed from
151 read_c_string. Add parameter COMMENT. Read C-style comments.
152 (scan_c_file): Handle doc strings in C comments.
153
967d7793
AI
1542001-10-12 Andrew Innes <andrewi@gnu.org>
155
156 * makefile.nt (ALL): Do not include fakemail.
157
158 * makefile.w32-in (install): Do not copy fakemail.
159
d682756a
JR
1602001-10-10 Jason Rumney <jasonr@gnu.org>
161
162 * makefile.w32-in (ALL) Do not include fakemail.
163
164 * makefile.nt (install) Ditto.
165
14a3dff7
GM
1662001-10-09 Gerd Moellmann <gerd@gnu.org>
167
168 * emacsserver.c (main): Cast geteuid in sprintf to int.
169 From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
170
171 * emacsclient.c (main): Cast isdigit() argument to unsigned char.
172 From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
173
f98d41f5
PJ
1742001-10-07 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
175
176 * profile.c: Include config.h, not ../src/config.h.
177 Include systime.h, not ../src/systime.h.
178
ab952a4f
GM
1792001-10-05 Gerd Moellmann <gerd@gnu.org>
180
181 * Branch for 21.1.
dff28924 182
12c64503
GM
1832001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
184
185 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
186 ALIASEE to help work with namespace aliases.
187 (struct sym): Remove struct member NAMESP_ALIASES.
188 (namespace_alias_table): New variable.
189 (make_namespace): Add parameter CONTEXT.
190 (check_namespace): New function.
191 (find_namespace): Add parameter CONTEXT.
192 (check_namespace_alias): New function.
193 (register_namespace_alias): Change type of parameter
194 OLD_NAME. Search for already defined alias in
195 NAMESPACE_ALIAS_TABLE.
196 (check_namespace): New function.
197 (enter_namespace): Call find_namespace with CONTEXT parameter.
198 (match_qualified_namespace_alias): New function.
199 (parse_qualified_ident_or_type): Fixed typo in comment. While
200 parsing qualified ident or type update namespace context and
201 restore it on exit.
202 (parse_qualified_param_ident_or_type): Fixed typo in comment.
203 (globals): Changed handling of namespace aliases.
204 (version): Added year 2001.
205
990e1190
FP
2062001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
207
208 * etags.c (analyse_regex): If regex_arg is NULL, return
209 immediately after a call to free_patterns.
210
f2e7e23e
AS
2112001-09-05 Paul Eggert <eggert@twinsun.com>
212
213 * rcs2log (Help, mainline code): Add new option -L FILE.
214 (Copyright): Update year.
215 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES,
216 LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
217 C locale.
218 (mainline code): Handle nonstandard -u option differently, by
219 transforming it to standard form. Check for "Working file: ", not
220 "Working file:". Allow file names with spaces.
221 (SOH, rlogfile): New shell vars.
dff28924 222 (rlogout): Remove. Its old functionality is mostly migrated to
f2e7e23e
AS
223 rlogfile.
224
225 Append ';;' to the last arm of every case statement, for
226 portability to ancient broken BSD shells.
227
228 (logins): Fix bug; was not being computed at all, lowering
229 performance.
230 (pository): New var. This fixes some bugs where repositories are
231 remote, or have trailing slashes.
232 (authors): $llogout is never an empty shell var, so don't worry
233 about that possibility.
dff28924 234 (printlogline, mainline code): Fix bug with SOH's being put into
f2e7e23e 235 the output.
dff28924 236
75c911eb
EZ
2372001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
238
239 * ebrowse.c (SEEK_END): #define if not defined by system headers.
240 Suggested by Dave Love <d.love@dl.ac.uk>.
241
5ae10f4a
EZ
2422001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
243
244 * makefile.nt (lisp): Synchronize with src/Makefile.in.
245 * makefile.w32-in (lisp): Ditto.
246
0e4011d8 2472001-07-25 Juanma Barranquero <lektu@terra.es>
e743f599
GM
248
249 * grep-changelog (parse_changelog): Remove unused local variable.
250
251 * grep-changelog (main): Add new option --reverse.
252 (print_log): Use it.
253 (parse_changelog): Use it.
254
3c88ae74
GM
2552001-07-20 Gerd Moellmann <gerd@gnu.org>
256
257 * grep-changelog: Remove RCS Id keyword.
258
41848daa
GM
2592001-07-20 Juanma Barranquero <lektu@terra.es>
260
6e07c0a5
GM
261 * grep-changelog (parse_changelog): Add tests for defined values
262 to quiet warning from Perl 5.005 or above.
177ab8ce 263 (entry_match_p, header_match_p): Fix handling of null or empty
0e4011d8
GM
264 argument to prevent duplicate headers.
265
266 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
41848daa 267
467f1209
GM
2682001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
269
270 * emacsclient.c (print_help_and_exit): Fix help message for
271 +LINE:COLUMN option.
272
2732000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
990e1190 274
467f1209
GM
275 * emacsclient.c (main): Add support for +LINE:COLUMN command line
276 argument.
277
bb24c64f
GM
2782001-07-16 Gerd Moellmann <gerd@gnu.org>
279
280 * ebrowse.c (main): Check that the output file exists and
281 is non-empty if invoked with `--append'.
282
fa829470
FP
2832001-05-14 Francesco Potorti` <pot@gnu.org>
284
e335b66a
GM
285 * etags.c (add_regex): Reset the whole newly allocated pattern
286 buffer instead of the individual members. It's safer and works
287 with Xemacs.
fa829470 288
e335b66a 289 * etags.1: Markups corrected.
fa829470 290
6da5c7da
GM
2912001-05-08 Gerd Moellmann <gerd@gnu.org>
292
293 * ebrowse.c (enter_namespace): Fix reallocation of
294 namespace_stack.
295
efbecf9d
GM
2962001-05-03 Gerd Moellmann <gerd@gnu.org>
297
298 * ebrowse.c (globals): Fix handling of namespace aliases.
299
f4976ebc
EZ
3002001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
301
302 * etags.c (print_help): Enclose the regexp in the help text
303 example in quotes.
304
23431241
DL
3052001-04-05 Dave Love <fx@gnu.org>
306
307 * emacsclient.c (fail): Don't return a value.
fa829470 308 (main): Cast uid values for sprintf.
23431241 309
476bf681
GM
3102001-04-03 Gerd Moellmann <gerd@gnu.org>
311
b3f6107b
GM
312 * emacsclient.c (fail, main): Don't use implicit int return type.
313
476bf681
GM
314 * b2m.c (main): Always return a value.
315
ef53d75e
GM
3162001-03-02 Gerd Moellmann <gerd@gnu.org>
317
318 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
319 freshly allocated object in *LAST_ID.
320 (read_line): Accept \r\n line endings.
321
425de386
AI
3222001-02-24 Andrew Innes <andrewi@gnu.org>
323
324 * makefile.w32-in: Fix copyright notice.
325
f55ae599
FP
3262001-02-23 Francesco Potorti` <pot@gnu.org>
327
328 * etags.c (enum sym_type): New label st_C_template.
329 (gperf input): Use it for switching to C++ from C.
330 (consider_token): Do it.
c2a642c0
FP
331 (C_entries): Initialise typdefcblev to quiet compilers.
332 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
f55ae599 333
f6839838
AI
3342001-02-22 Andrew Innes <andrewi@gnu.org>
335
336 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
337 VMS header files.
338 ($(BLD)\profile.obj): Ditto.
339
340 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
341 VMS header files.
342 ($(BLD)/profile.$(O)): Ditto.
343
193fba87
AI
3442001-02-05 Andrew Innes <andrewi@gnu.org>
345
346 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
347 invocation of make-docfile, to work with Windows 2000.
348
30526cc6
DL
3492001-01-31 Dave Love <fx@gnu.org>
350
351 * etags.c (in_word_set): Use `static' in definition (for pcc).
352
8f79fe72
FP
3532001-01-31 Francesco Potorti` <pot@gnu.org>
354
355 * etags.c: [NDEBUG] #undef assert and #define it as ((void)0), for
356 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
357 (C_entries): Tag token renamed to still_in_token because sunos4
358 pcc wants to expand it as the token() macro even though it has no
359 arguments.
360
914d7258
AI
3612001-01-30 Andrew Innes <andrewi@gnu.org>
362
363 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
364 bug in the Mingw32 assert.h header file.
365
b28e26be
FP
3662001-01-30 Francesco Potorti` <pot@gnu.org>
367
368 * etags.c: [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
369 #define it for the sake of Xemacs.
370 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
371 HAVE_CONFIG_H. This change only affects a standalone etags.
372 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
373 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
374 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
375 [!HAVE_UNISTD_H]: use defined(WINDOWSNT) instead of the bare
376 WINDOWSNT, as this is the correct way to use it.
377
8c463abe
FP
3782001-01-28 Francesco Potorti` <pot@gnu.org>
379
380 * etags.c: Be capable to parse nested struct-like structures.
381 (structdef, structtag): Struct state machine revisited.
382 (struct tok): Revisited.
383 (cstack, nestlev, instruct): New struct and macros.
384 (pushclass_above, popclass_above, write_classname): New functions
385 for dealing with nested class names, inspired by Mykola Dzyuba.
386 (consider_token, make_C_tag, C_entries): Many changes for dealing
387 with arbitrarily nested structures.
388 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
389 (C_entries): Consider templates in C++.
390 (sym_type): New constant st_C_class for detecting "class" also in
391 C mode.
392 (C_AUTO): New macro for automatic detection of C++.
393 (consider_token): Automatic set C++ mode.
394 (C_entries): New security check for yacc.
395 (print_language_names, print_help): Mention the autodetect
396 feature, do not show help for the -C option, now mostly useless.
397 (C_entries): Tag C++ forward declarations if --declarations.
398 (C_entries): Don't be fooled by things like XDEFUN.
399 (consider_token): Discard asm pseudo function.
400
e26f9ced
EZ
4012001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
402
403 * etags.c: Add a coding: tag.
404
a47b7816
GM
4052001-01-26 Gerd Moellmann <gerd@gnu.org>
406
8c463abe 407 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
a47b7816
GM
408 New variables.
409 (matching_regexp): Use them instead of static variables in
410 function scope.
411
7df65e91 4122001-01-25 Francesco Potorti` <pot@gnu.org>
d22a24fa
FP
413
414 * etags.c (struct tok): Renamed from struct token.
415 (token): Renamed from tok.
416 (structtype): Make it a local variable.
417 [DEBUG]: Use assert.
418 (xrnew): Change the synopsis.
419 (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
420 (grow_linebuffer): Don't call xrnew when not needed.
421 (token): buffer renamed to line.
422 (C_entries): Three calls to inibuffer moved here from main.
423 (C_entries): Removed all references to var methodlen, delete it.
424 (linebuffer_setlen): Was grow_buffer, now also sets len.
425 (consider_token, C_entries, Pascal_functions): Use it.
426 (C_entries): Preventing problems relative to extern "C".
427 (C_entries): Can tag more than one variable or func separated by
428 comma when --declarations is used.
429 (C_entries): More accurate tagging of members and declarations.
430 (yacc_rules): Was global, made local to C_entries.
431 (next_token_is_func): Removed.
432 (fvdef): New constants fdefunkey, fdefunname.
433 (consider_token, C_entries): Use them.
434 (C_entries): Build proper lisp names for Emacs DEFUNs.
435
21c2bbe0
GM
4362001-01-22 Gerd Moellmann <gerd@gnu.org>
437
438 * ebrowse.c (xfree): New function.
439 (member, declaration, globals): Use xmalloc instead of alloca.
440
7df65e91 4412001-01-15 Francesco Potorti` <pot@gnu.org>
83be933c
FP
442
443 * etags.c (print_language_names): Print filenames in addition to
444 suffixes.
445
47df1a5e
EZ
4462001-01-14 Francesco Potorti` <pot@gnu.org>
447
448 * etags.c (get_language_from_langname): Renamed from
449 get_language_from_name.
450 (get_language_from_filename): Renamed from
451 get_language_from_suffix. Now first looks for the complete file
452 name.
453 (language): New member char **filenames.
454 (Makefile_filenames): List of possible filenames for makefiles.
455 (lang_names): Added a NULL member for every entry, added an entry
456 for makefiles.
457 (Makefile_targets): New function, inspired by Assar Westerlund
458 <assar@sics.se>.
459 (Texinfo_nodes): Renamed from Texinfo_fuctions and made
460 it conformant to the style of the rest of the code.
461
291c7e74
GM
4622001-01-13 Gerd Moellmann <gerd@gnu.org>
463
464 * make-docfile.c (write_c_args): Print newlines as spaces.
465
0dac6924
AI
4662001-01-06 Andrew Innes <andrewi@gnu.org>
467
468 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
469 of *.pdb.
470
3e99d3b4
GM
4712001-01-03 Paul Eggert <eggert@twinsun.com>
472
473 * lib-src/rcs2log: Avoid security hole allowing attacker to
474 cause user of rcs2log to overwrite arbitrary files, fixing
475 a bug reported by Morten Welinder.
476
477 Don't put "exit 1" at the end of the exit trap; it's
478 ineffective in POSIX shells.
479
d6bb0c0d
GM
4802001-01-02 Gerd Moellmann <gerd@gnu.org>
481
482 * ebrowse.c (yyerror): Changed to take two arguments. Prototype
483 added. Callers changed.
484
d5c00476 4852001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
315f5865
EZ
486
487 * ebrowse.c (enter_namespace, main): Cast variables to shut up
488 compiler warnings.
489 (yyerror): Change parameter declarations to be of type long, so
490 that they can take pointers on 64-bit platforms.
491
492 * emacsclient.c (main): Remove unused local variable statbfr.
493 (main) <homedir>: Make its declaration conditional on
494 SERVER_HOME_DIR, to avoid compiler warnings.
495
496 * emacsserver.c (main) <homedir>: Make its declaration conditional
497 on SERVER_HOME_DIR, to avoid compiler warnings.
498
499 * fakemail.c (readline): Cast buffer to "long *" to pacify
500 over-zealous compilers.
501
7c89ea61
EZ
5022000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
503
504 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
505
a6768cc5
GM
5062000-12-15 Gerd Moellmann <gerd@gnu.org>
507
508 * ebrowse.c (operator_name): Cast argument of isalpha to
509 unsigned char.
510
511 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
512 Use them throughout instead of ctype functions/macros.
513 (lowcase): Cast to unsigned char.
514 (UPCASE): New macro.
515 (canonicalize_filename): Use UPCASE instead toupper.
516
517 * fakemail.c (get_keyword): Make sure that isspace and
518 similar aren't called with a negative argument.
519
70de49cc
DL
5202000-12-13 Dave Love <fx@gnu.org>
521
522 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
523
4e8b894c
AI
5242000-12-06 Andrew Innes <andrewi@gnu.org>
525
526 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
527 don't know the real version, and I can't seem to get the quoting
528 right in all circumstances.
529
530 * ebrowse.c (VERSION): Provide default definition, like etags.c
531 does, because Windows build can't snarf this from version.el.
532
88257bc8
AI
5332000-11-30 Andrew Innes <andrewi@gnu.org>
534
535 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
536 (install): Ditto.
537
d19249e7
JR
5382000-11-23 Jason Rumney <jasonr@gnu.org>
539
540 * makefile.w32-in: Add targets for ebrowse.exe.
541 (LOCAL_FLAGS): Add -DVERSION flag.
542
7df6adc3
DL
5432000-09-25 Dave Love <fx@gnu.org>
544
545 * sorted-doc.c: Include config.h.
546 [!HAVE_STDLIB_H]: Declare malloc.
547
fe83b953
AI
5482000-09-14 Andrew Innes <andrewi@gnu.org>
549
550 * makefile.w32-in: Revert to Unix line endings.
551
517699ca
DL
5522000-09-04 Dave Love <fx@gnu.org>
553
554 * movemail.c (index, rindex): Prototype conditionally.
555
f8803e97
AI
5562000-09-03 Andrew Innes <andrewi@gnu.org>
557
558 * makefile.w32-in: Change to DOS line endings.
559
f72adc12
EZ
5602000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
561
4034f3a8 562 * movemail.c (toplevel): Remove redundant fcntl.h.
f72adc12
EZ
563 [!F_OK]: Provide default definitions only after including both
564 fcntl.h and unistd.h.
565
f678f592
DL
5662000-08-29 Dave Love <fx@gnu.org>
567
568 * movemail.c: Revert previous change.
569
5b671d04
EZ
5702000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
571
572 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
573
6fa86045
DL
5742000-08-28 Dave Love <fx@gnu.org>
575
576 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
577 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
578
746d9caf
AI
5792000-08-22 Andrew Innes <andrewi@gnu.org>
580
581 * ntlib.h (WIN32): Remove unnecessary definition.
582 (sleep): Make argument unsigned long.
583 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
584
585 * ntlib.c (sleep): Make argument unsigned long.
586
587 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
588
589 * makefile.w32-in: New file.
590
3b541489
EZ
5912000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
592
593 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
594 letter only if it is a drive letter.
595
e5acf0ca
GM
5962000-07-14 Gerd Moellmann <gerd@gnu.org>
597
598 * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and
599 ymalloc.
600
601 * etags.c (xmalloc, xrealloc): Make externally visible, for use
602 by alloca.o.
603
604 * Makefile.in (alloca.o): Add -Demacs so that alloca will use
605 xmalloc.
606
4b92c49a
GM
6072000-07-10 Gerd Moellmann <gerd@gnu.org>
608
609 * ebrowse.c (yylex): Accept string literals with newlines in them.
610 (process_pp_line): Handle case of string literal with newline
611 in it in replacement text, which counts as continuing the
612 replacement text in GNU C.
613
831a6cb0
GM
6142000-07-02 Gerd Moellmann <gerd@gnu.org>
615
616 * ebrowse.c (token_string): Add missing tokens.
617 (parm_list): Handle case of qualified pointers.
618
53245ee2
DL
6192000-06-23 Dave Love <fx@gnu.org>
620
621 * ebrowse.c: Move config.h before other includes (which may use
622 feature tests).
623
dcbf2cd2
JM
6242000-06-14 Jim Meyering <meyering@lucent.com>
625
626 * grep-changelog: Fix typos in comments. Remove trailing blanks.
627
f1c7754a
JR
6282000-06-11 Jason Rumney <jasonr@gnu.org>
629
630 * makefile.nt: Add targets for ebrowse.
631
632 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
633 compare filenames.
634
5f1aea9a
GM
6352000-06-06 Gerd Moellmann <gerd@gnu.org>
636
637 * ebrowse.c (ymalloc): Renamed from xmalloc.
638 (yrealloc): Renamed from xrealloc.
639
5bf244f1
DL
6402000-05-21 Dave Love <fx@gnu.org>
641
642 * movemail.c: Include config.h, not ../src/config.h.
643 (Errmsg): Bump length.
644
645 * pop.c (ERROR_MAX): Increase to 160.
646
ec82fb2f
GM
6472000-05-04 Gerd Moellmann <gerd@gnu.org>
648
649 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
650
5c922ea7
EZ
6512000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
652
653 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]: Define
654 to semi-colon.
655 (FILENAME_EQ): New macro, for comparing file names.
656 (add_member_decl, add_global_decl, add_member_defn): Use
657 FILENAME_EQ.
658 (process_file): Don't assume that fread always reads as many bytes
659 as it was told to (DOS-style CR-LF text files fail this logic).
660 (open_file): Allocate enough space for path->path plus the file
661 name and the slash.
662
6142fdcb 6632000-04-19 Dave Love <fx@gnu.org>
97052c63
DL
664
665 * etags.c (Texinfo_functions): New function.
666 (lang_names): Install it.
667 (Texinfo_suffixes): New variable.
668
cb9215e4
GM
6692000-04-19 Gerd Moellmann <gerd@gnu.org>
670
671 * ebrowse.c (xmalloc, xrealloc): Rewritten.
672 (declaration): Remove parameter IS_EXTERN.
673 (class_definition): Remove unused variable.
674
be0dbdab
GM
6752000-04-09 Gerd Moellmann <gerd@gnu.org>
676
677 * Makefile.in (INSTALLABLES): Add ebrowse.
678 (ebrowse): New target.
679
680 * ebrowse.c: New file.
681
c5aa0fc2
AS
6822000-03-29 Andreas Schwab <schwab@suse.de>
683
684 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
685
d054101f
GM
6862000-03-02 Gerd Moellmann <gerd@gnu.org>
687
688 * etags.c (lisp_suffixes) Add `LSP'.
689
71cbb895
FP
6902000-02-10 Francesco Potorti` <pot@gnu.org>
691
692 * etags.c (iswhite): Redefined not to consider '\0' as white
693 space, and use it throughout in place of isspace, thus preventing a
694 potential signed char to int conversion problem.
695 (MSDOS): #undefine befere redefining
696
7df65e91 6972000-02-04 Francesco Potorti` <pot@gnu.org>
71cbb895
FP
698
699 * etags.c (many functions): Add prototypes.
700
97fa0cc8
DL
7012000-02-10 Dave Love <fx@gnu.org>
702
703 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
704 (erlang_func): Add `static' to definitions to keep pcc happy.
705
7df65e91 7062000-01-31 Francesco Potorti` <pot@gnu.org>
e4100b7f
FP
707
708 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
709 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
710 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
711 (getenv, getcwd): Only declare them if necessary.
712 (EMACS_NAME): New constant macro.
713 (print_version): Use it.
714 (P_) [__STDC__]: Macro for defining function prototypes.
e4100b7f 715
19e262bd 7162000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
717
718 * etags.c [WINDOWSNT]: #include <direct.h>
719
19e262bd 7202000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 721
19e262bd
FP
722 * etags.c (all functions): Made them static.
723 (all functions): Write prototypes.
e4100b7f 724
55e30d2a
RS
7252000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
726
727 * movemail.c (main): Improve error message if can't create lock file.
728
875c1439
GM
7292000-01-28 Eric Hanchrow <offby1@blarg.net>
730
731 * emacsclient.c (socket_status): New function.
732 (main): if $LOGNAME or $USER exist and differ from our euid, look
733 for a socket based on the UID associated with the name.
734
e4936aa9
GM
7352000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
736
737 * emacsclient.c: Add option -a EDITOR and environment variable
738 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
739
791a9087
GM
7401999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us>
741
742 * movemail.c (popmail): Allow mailbox specifications of the
743 form `po:username:hostname'.
744
7df65e91 7451999-11-19 Francesco Potorti` <pot@gnu.org>
e2081362
FP
746
747 * etags.c (_GNU_SOURCE): Define only if undefined.
748 (get_scheme): Declaration deleted.
749 (main): error was called with an integer as second arg, instead of
750 a char pointer.
751 (canonicalize_filename): Bug removed.
752
7531999-11-18 Dave Love <d.love@dl.ac.uk>
754
755 * etags.c (C_entries): Rename label `intoken', avoiding K&R
756 lossage from name clash with macro.
757
b05d3bee
GM
7581999-11-13 Gerd Moellmann <gerd@gnu.org>
759
760 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
761
cb3a6c48
GM
7621999-11-03 Gerd Moellmann <gerd@gnu.org>
763
764 * etags.c (print_help): Change email address to send bugs to.
765
7df65e91 7661999-11-01 Francesco Potorti` <pot@gnu.org>>
1c478461
FP
767
768 * etags.c: Add suffix psw for PSWrap.
769 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
770 (Postscript_functions): Add code for PSWrap.
771 (Scheme_functions): Use local pointer and new get_tag function.
772 (get_tag): New name for old get_scheme.
773 (process_file): Do not free NULL when file does not exist.
774 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
775 (C_entries): Modifications that make --members tag even inside
776 typedefs and C nested structs (one level only).
777 (consider_token): Corrected a bug which prevented tagging of enum
778 constants.
779 (C_stab_entry): Added if, for, while, switch, return as
780 st_C_ignore. This makes it simpler to work when cblev!=0.
781
782 * etags.c (C_entries): tag member function declarations when
783 --declarations is used.
784
785 * etags.c (C_entries, consider_token): C++ `operator' now is
786 tagged in most cases.
787 As before, :: is not recognised if surrounded by spaces.
788
789 * etags.c (relative_filename): Account for DOS file names such
790 that is impossible to make one relative to another.
791
792 * etags.c (sym_type): New st_C_extern tag.
793 (gperf input): Use it for spotting external declarations.
794 (print_help): Document the new behaviour of --declarations.
795 (fvextern): New global variable.
796 (consider_token, C_entries): Use it.
797
798 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
799 (etags_getcwd): Remove test for WINDOWSNT.
800
801 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
802 foo.cgz, foo.cz, etc.
803
804 * etags.c (declarations): New global switch.
805 (longopts): Describe it.
806 (print_help): Document it.
807 (C_entries): Use it.
808 (process_file): Don't process a file twice.
809
810 * etags.c (Fortran_functions): No tags for "procedure".
811
8121999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
813
814 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
815 non-zero, returns a pointer to where the extension begins; callers
816 changed.
817 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
818 were foo.c.gz.
819
7df65e91 8201999-11-01 Francesco Potorti` <pot@gnu.org>
1c478461
FP
821
822 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
823 (fvdev): New constant foperator.
824 (consider_token): Use it to get "operator" in C++.
825 (C_entries): Extend length of operator@ function name.
826 (C_entries): Use foperator when necessary.
827
828 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
829
830 * etags.c (compressor): New struct for compressed files.
831 (get_compressor_from_suffix): New function.
832 (get_language_from_suffix): Use it. Also, semantics changed.
833 (process_file): Consider compressed files, close file.
834 (find_entries): Use different call arg for get_language_from_suffix,
835 don't close file.
836
837 * etags.c (main): Call free_tree.
838 (find_entries): Do not free curfile.
839 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
840 (prolog_pred, erlang_func, substitute): Cast strlen to int when
841 comparing.
842 (canonicalize_filename): Shut up compiler warning.
843 (Perl_functions): Make tag significant.
844
8451999-11-01 Dave Love <d.love@dl.ac.uk>
846
847 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
848 (argument_type): New member at_icregexp.
849 (lc_trans): New global.
850 (main): Fill lc_trans. Process -c args.
851 (add_regex): New arg determining whether to use translation table.
852 (analyse_regex): New arg. Use it for add_regex.
853
7df65e91 8541999-11-01 Francesco Potorti` <pot@gnu.org>
1c478461
FP
855
856 * etags.c (init): Cosmetic change: NULL --> '\0'.
857 (erlang_attribute): Bug corrected (uninitialized variable).
858 (filename_is_absolute): New function replaces absolutefn macro and
859 corrects a bug. All callers changed.
860 (canonicalize_filename): New function.
861 (process_file, etags_getcwd, absolute_dirname): Use it.
862 (relative_filename, absolute_filename): Removed var shadowing.
863 (C_entries, Pascal_functions): Add fake initializations to keep
864 compilers quiet.
865 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
866
867 * etags.c (xrnew): New macro. All callers of xrealloc changed.
868 (language): New typedef (was struct lang_entry).
869 (curlang): New global variable.
870 (node): typedef renamed from NODE.
871 (linebuffer): New typedef (was struct linebuffer).
872 (pattern): New typedef (was struct pattern). Some members added.
873 Now used as element of a linked list.
874 (patterns, num_patterns): Global variables deleted.
875 (p_head): New global variable.
876 (forced_lang): New global variable (replaces lang_func).
877 (get_language_from_name, get_language_from_interpreter,
878 get_language_from_suffix): Semantics changed. All callers changed.
879 (last_node): New global variable.
880 (free_tree, add_node, put_entries, total_size_of_entries): Change
881 name of local vars to avoid clashes with typedef node.
882 (number_len): Rewritten for elegance.
883 (token): New typedef replaces TOKEN.
884 (analyse_regex, add_regex): Rewritten for new functionality.
885 (free_patterns): New function called from main and add_regex.
886 (initbuffer, readline_internal, readline, grow_linebuffer):
887 Change name of local vars to avoid clashes with typedef
888 linebuffer.
889 (readline): Rewritten for new functionality.
890
891 * etags.c: (Scheme_suffixes): New suffix ".ss".
892 (print_help): --globals is now used for more than C-type languages.
893 (Perl_functions): Tag global variables ("my" and "local").
894
895 * etags.c (print_help): Some messages clarified.
896 (LOOP_ON_INPUT_LINES): New macro.
897 (just_read_file, Fortran_functions, Asm_labels, Perl_functions,
898 Python_functions, Cobol_paragraphs, Pascal_functions,
899 Lisp_functions, Postscript_functions, Scheme_functions,
900 TeX_functions, Prolog_functions, Erlang_functions): Use it.
901 (Cobol_paragraphs, Postscript_functions, TeX_functions,
902 Prolog_functions, Erlang_functions): Use a local variable instead
903 of the global variable dbp.
904 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
905 standard indentation.
906
907 * etags.c (Python_suffixes, lang_names, Python_functions): Python
908 support.
909 (skip_spaces, skip_non_spaces): Utility functions.
910 (find_entries, takeprec, getit, Fortran_functions, Perl_functions,
911 Python_functions, L_getit, Lisp_functions, Scheme_functions,
912 prolog_pred, erlanf_func, erlang_attribute): Use them.
913 (eat_white): Deleted.
914
915 * etags.c (CHAR, init): Keep into account non US-ASCII
916 characters and compilers with default signed chars.
917 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
918 constructs.
919
920 * (C_stab_entry): "interface" in Java behaves like "class".
921
922 * etags.c: (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
923 (main): Put interval syntax here.
924 (add_regex): And remove it from here.
925
926 * etags.c (suggest_asking_for_help): Provide a
927 meaningful help message with and without LONG_OPTIONS.
928
929 * etags.c: <io.h> [MSDOS]: Include it, don't include string.h.
930 <stdlib.h, string.h>: Don't test MSDOS when including them.
931 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
932 (put_entries): Correctly use %ld instead of %d in printf.
933
934 * etags.c: <unistd.h> [HAVE_UNISTD_H]: Include conditionally, else
935 declare getcwd if HAVE_GETCWD.
936 (consider_token): Dead break instruction removed.
937
4ee9629e
PE
9381999-10-19 Paul Eggert <eggert@twinsun.com>
939
940 Add support for large files. Merge glibc 2.1.2.
1c478461 941
4ee9629e
PE
942 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
943 movemail.c, pop.c:
944 Do not include <stdlib.h>, as <config.h> does this now.
945
946 * b2m.c, emacsserver.c, etags.c, profile.c:
947 Include <config.h> before any system include files.
1c478461 948
4ee9629e
PE
949 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
950 test-distrib.c:
951 (read, write, open, close): Do not undef.
952
953 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
954 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
955
956 * getopt.h: Adopt glibc 2.1.2.
1c478461 957
93c8d183
DL
9581999-10-15 Dave Love <fx@gnu.org>
959
960 * Makefile.in (pop.o): Depend on config.h.
961
b358f91c
GM
9621999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
963
964 * pop.c: Use "pop3" as the POP service name on all platforms,
965 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
966 has been the standard service name since RFC 1340 was published in
967 July 1992, so I think it's safe to start using it by default.
968
362bc2da
DL
9691999-09-27 Dave Love <fx@gnu.org>
970
971 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
972
74e4cb59
PR
9731999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
974
975 * make-docfile.c (scan_lisp_file): Fix previous changes;
976 swallow CRLF like just CR or just LF.
977
362bc2da
DL
9781999-09-03 Richard Stallman <rms@gnu.org>
979
980 * make-docfile.c: Include config.h not ../src/config.h.
981 (main, fopen, chdir): Add #undef.
982 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
983 (scan_lisp_file): Handle \r like \n.
984
9851999-08-30 Andreas Schwab <schwab@gnu.org>
986
987 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
988
989 * emacsserver.c: Include <stdlib.h> if available. Don't declare
990 errno if it's a macro.
991
992 * test-distrib.c: Include <unistd.h> if available.
993
9941999-08-29 Richard Stallman <rms@gnu.org>
995
996 * emacsclient.c (print_help_and_exit): Mention --version.
997
9981999-08-25 Richard M. Stallman <rms@gnu.org>
999
1000 * emacsclient.c (decode_options): Update version output.
1001 (print_help_and_exit): Update bug report address.
1002
10031999-08-13 Richard M. Stallman <rms@gnu.org>
1004
1005 * emacsclient.c (main): Move the dynamic allocation of
1006 system_name outside of the SERVER_HOME_DIR conditional.
1007 * emacsserver.c (main): Likewise.
1008
10091999-08-10 Gerd Moellmann <gerd@gnu.org>
1010
1011 * grep-changelog: New.
1012 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
1013
10141999-07-12 Richard Stallman <rms@gnu.org>
1015
1016 * Version 20.4 released.
1017
10181999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
1019
1c478461 1020 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
1021
10221999-06-23 Dave Love <fx@gnu.org>
1023
1024 * etags.c (erlang_attribute): Fix undefined variable usage (after
1025 Potorti).
1026
10271999-05-2 Andrew Innes <andrewi@gnu.org>
1028
1029 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
1030 mapped to _chsize.
1031
10321999-04-29 Richard M. Stallman <rms@gnu.org>
1033
1034 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
1035
10361999-03-30 Dave Love <fx@gnu.org>
1037
1038 * sorted-doc.c (main): Split up tables. Modify the preamble
1039 somewhat.
1040
10411999-03-05 Geoff Voelker <voelker@cs.washington.edu>
1042
1043 * makefile.nt: Remove common multiple file compilation commands.
1044
10451999-02-26 Richard Stallman <rms@gnu.org>
1046
1047 * Version 20.4 released.
1048
1049 * Makefile.in (yow): Depend on epaths.h, not paths.h.
1050
1051 * yow.c: Refer to epaths.h.
1052
10531999-02-22 Simon Josefsson <jas@pdc.kth.se>
1054
1055 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
1056
10571999-01-27 Andrew Innes <andrewi@gnu.org>
1058
1059 * makefile.nt: Do make version comparison as strings.
1060
10611999-01-25 Richard Stallman <rms@gnu.org>
1062
1063 * emacsclient.c (xmalloc): Fix previous change.
1064
10651999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
1066
1067 * emacsclient.c (xmalloc): Declare to return long.
1068
10691999-01-22 Geoff Voelker <voelker@cs.washington.edu>
1070
1071 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
1072 the case of the drive letter.
1073
10741999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
1075
1076 * emacsserver.c (main): Eliminate arbitrary limit on
1077 length of system_name.
1078
1079 * emacsclient.c (main): Eliminate arbitrary limit on
1080 length of system_name.
1081 (xmalloc): Define unconditionally.
1082
10831999-01-12 Darrin B. Jewell <jewell@mit.edu>
1084
1085 * etags.c (relative_filename): Stop backward search at beginning
1086 of string, since non-Unix systems can have absolute paths with no
1087 initial slash.
1088
10891998-12-08 Geoff Voelker <voelker@cs.washington.edu>
1090
1091 * makefile.nt: Do string comparision of _NMAKE_VER.
1092
10931998-11-03 Theodore Jump <tjump@cais.com>
1094
1095 * makefile.nt: Compile multiple source files when possible.
1096
10971998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
1098
1099 * Makefile.in: Replace tabs with spaces
1100 when they might confuse some Make versions.
1101
11021998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
1103
1104 * emacsclient.c (main): Null-terminate system_name.
1105
1106 * emacsserver.c (main): Null-terminate system_name.
1107
11081998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1109
1110 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
1111 an error message from POP, mention that it's from POP, to
1112 distinguish it from local error messages.
1113
11141998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1115
1116 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
1117 order of messages downloaded from a POP server (e.g., if the
1118 server stores messages in mailboxes in reverse order).
1119
11201998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
1121
1122 * Version 20.3 released.
1123
11241998-08-11 Paul Eggert <eggert@twinsun.com>
1125
1126 * rcs2log: Update copyright date and bug report address.
1127 (initialize_fullname): Prefer getent if available.
1128
11291998-07-30 Paul Eggert <eggert@twinsun.com>
1130
1131 * lib-src/Makefile.in (REGEXPDEPS, regex.o):
1132 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 1133
362bc2da
DL
11341998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
1135
1136 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
1137
11381998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
1139
1140 * Makefile.in: Properly terminate a comment.
1141
11421998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
1143
1144 * movemail.c (sys_wait): Rename to wait.
1145
1146 * ntlib.h: Undefine _WINSOCKAPI_.
1147
1148 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
1149
11501998-05-30 Geoff Voelker <voelker@cs.washington.edu>
1151
1152 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
1153
11541998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
1155
1156 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
1157 all file i/o to be in binary mode. Include ntlib.h.
1158
11591998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
1160
1161 * make-docfile.c: Include <unistd.h> for chdir.
1162
11631998-04-25 Richard Stallman <rms@psilocin.gnu.org>
1164
1165 * etags.c (TEX_decode_env): Don't free the value getenv returns.
1166
11671998-04-17 Geoff Voelker <voelker@cs.washington.edu>
1168
1169 * makefile.nt (obj): Update with new files in src.
1170 (clean): Delete patch scratch files, optimized compilation dir.
1171
11721998-04-08 Dave Love <fx@gnu.org>
1173
1174 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
1175 Irix6, at least.
1176
11771998-04-06 Andreas Schwab <schwab@gnu.org>
1178
1179 Silence -Wimplicit:
1180 * movemail.c: Move cancelations up. Include <stdlib.h> if
1181 available.
1182 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
1183 (parse_header): Explicitly declare return type.
1184 * emacsserver.c: Include <unistd.h> if available.
1185 (main, handle_signals, perror_1, fatal_error): Explicitly declare
1186 return types. Add forward declarations.
1187 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
1188 Don't declare geteuid.
1189 (print_help_and_exit): Change return type to void. Forward
1190 declare it.
1191 * b2m.c: Include <stdlib.h> if available.
1192 (main): Explicitly declare return type.
1193
11941998-04-03 Richard Stallman <rms@delysid.gnu.org>
1195
1196 * etags.c (put_entries): Use %ld.
1197
1198 * b2m.c (fatal): Declare the arg.
1199
12001998-04-03 Richard Stallman <rms@psilocin.gnu.org>
1201
1202 * etags.c (put_entries): Use %ld.
1203
1204 * b2m.c (fatal): Declare the arg.
1205
12061998-03-26 Richard Stallman <rms@psilocin.gnu.org>
1207
1208 * pop.c (pop_getline): Renamed from getline.
1209
12101998-03-05 Richard Stallman <rms@psilocin.gnu.org>
1211
1212 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
1213 for the utilities.
1214
12151998-01-23 Dave Love <d.love@dl.ac.uk>
1216
1217 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
1218 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
1219 Always make named tags.
1220 (Fortran_functions): Grok BLOCK DATA.
1221
12221998-01-23 Andreas Schwab <schwab@gnu.org>
1223
1224 * movemail.c (main): Fix interwoven brace and cpp conditional
1225 nesting.
1226
12271997-12-04 Karl Heuer <kwzh@delysid.gnu.org>
1228
1229 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
1230 server to contain embedded nulls.
1231
12321997-12-03 Paul Eggert <eggert@delysid.gnu.org>
1233
1234 * movemail.c:
1235 (mbx_write) [MAIL_USE_POP]: Disable the code which quotes with a
1236 '>' any lines starting with "From " read from the POP server, but
1237 leave the code in place, wrapped in #ifdef
1238 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
1239 because it turns out that something is depending on it. Change
1240 suggested by Paul Eggert <eggert@twinsun.com>.
1241 Convert the character \037 (^_) at the beginning of a line into
1242 the character '^' followed by the character '_', because otherwise
1243 Emacs can't parse the resulting file as a valid BABYL file.
1244 Change suggested by Paul Eggert <eggert@twinsun.com>.
1245
12461997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1247
1248 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
1249 server to contain embedded nulls.
1250
12511997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 1252
362bc2da
DL
1253 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
1254 quotes with a '>' any lines starting with "From " read from the
1255 POP server, but leave the code in place, wrapped in #ifdef
1256 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
1257 because it turns out that something is depending on it. Change
1258 suggested by Paul Eggert <eggert@twinsun.com>.
1259
1260 Convert the character \037 (^_) at the beginning of a line into
1261 the character '^' followed by the character '_', because otherwise
1262 Emacs can't parse the resulting file as a valid BABYL file.
1263 Change suggested by Paul Eggert <eggert@twinsun.com>.
1264
12651997-11-22 Richard Stallman <rms@gnu.org>
1266
1267 * b2m.c: Include getopt.h.
1268 (main): Use getopt_long to handle --version and --help.
1269
1270 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
1271
12721997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1273
1274 * pop.c (fullwrite): Get rid of an extra call to write. Problem
1275 pointed out by Chiaki Ishikawa.
1276
12771997-10-16 Dave Love <d.love@dl.ac.uk>
1278
1279 * etags.c (L_getit): Always make named tags so that Emacs
1280 completion on symbols containing `:' etc. works.
1281 (get_scheme): Likewise.
1282
12831997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1284
1285 * pop.c: Use system header files instead of declaring C-library
1286 functions explicitly.
1287
12881997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1289
1290 * Version 20.2 released.
1291
12921997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1293
1294 * Version 20.1 released.
1295
12961997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
1297
1298 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
1299
1300 * ntlib.c (getpid): Delete function.
1301
13021997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1303
1304 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
1305
13061997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1307
1308 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
1309 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
1310
13111997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1312
1313 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
1314
13151997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
1316
1317 * profile.c (get_time): Cast arg to fprintf.
1318
1319 * hexl.c (main): Use %08lx instead of %08x in printf because the
1320 variable named addresses is long.
1321
13221997-08-08 Geoff Voelker <voelker@cs.washington.edu>
1323
1324 * makefile.nt (lisp): Update paths to lisp files that have moved.
1325
13261997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
1327
1328 * makefile.nt (ctags.obj): New target.
1329 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
1330
1331 * ntlib.h: Add includes.
1332 Undo definitions of crt routines from config.h.
1333
13341997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1335
1336 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
1337
13381997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1339
1340 * pop.c: Support auto-configuration of both Kerberos V4 and
1341 Kerberos V5 for movemail, including detection of V4 and V5 header
1342 files and libraries.
1343 Include <string.h> when STDC_HEADERS is defined, to get
1344 declarations of string functions.
1345 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
1346 V5 API rather than the old one.
1347 [KERBEROS] (socket_connection): Change a constant name from
1348 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
1349 with a constant in a header file.
1350
1351 * Makefile.in: Support auto-configuration of both Kerberos V4 and
1352 Kerberos V5 for movemail, including detection of V4 and V5 header
1353 files and libraries.
1354
13551997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1356
1357 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
1358
1359 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1c478461 1360
362bc2da
DL
13611997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1362
1363 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
1364
13651997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1366
1367 * movemail.c (rindex): Add declaration.
1368
1369Tue Jul 1 01:09:07 1997 Geoff Voelker <voelker@cs.washington.edu>
1370
1371 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
1372 (movemail.exe): Depend upon and link with getopt files.
1373 (obj): Include new source files.
1374 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
1375 (lisp): Include new and reorganized elisp files.
1376
13771997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1378
1379 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
1380
13811997-06-25 Paul Eggert <eggert@twinsun.com>
1382
1383 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
1384
13851997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
1386
1387 * b2m.c (readline): Terminate buffer properly when EOF seen.
1388 Test for valid pointer before dereferencing it.
1389
13901997-05-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1391
1392 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
1393 defined inside etags.c if HAVE_CONFIG_H is defined.
1394
13951997-05-29 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1396
1397 * etags.c: (logical): Type name changed to bool.
1398 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
1399 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
1400 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
1401 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
1402 (longopts): New long options without short counterpart are
1403 globals, members, no-globals, no-members. Regexp options are now
1404 defined conditionally to ETAGS_REGEXPS.
1405 (print_help): Updated.
1406
14071997-05-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1408
1409 * etags.c (C_entries): Use "." instead of "::" for Java.
1410 (consider_token): is_func renamed to is_func_or_var.
1411 (C_entries): is_func renamed to funorvar.
1412 (C_entries): Initialise tok.named.
1413 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
1414 get rid of "import", "package" and "friend".
1415 (fvdef): Renamed from funcdef. Also some constants renamed. All
1c478461 1416 users changed.
362bc2da
DL
1417 (C_entries): Make separate tags for variables separated by comma.
1418 (globals, members): New flags.
1419 (main, C_entries): Use them.
1420 (make_C_tag, C_entries): Make tok a global variable.
1c478461 1421
362bc2da
DL
14221997-05-16 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1423
1424 * etags.c (funcdef): New vignore constant.
1425 (consider_token, C_entries): Use it to tag global variables.
1426 (print_help): Update for global variables.
1427 (consider_token, C_entries): Set the len member of token_name.
1428 (prolog_pred): Cleanup according to GNU coding standards.
1429 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
1430 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
1431
14321997-05-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1433
1434 * etags.c (CHARS, CHAR): New constant and macro.
1435 (iswhite, begtoken, intoken, endtoken): Use them.
1436 (notinname, _nin, nonam): New macro, array, string.
1437 (init): Cleanup and init _nin.
1438 (new_pfnote): New function.
1439 (make_C_tag) [traditional_tag_style]: Use it.
1440 (traditional_tag_style): Costant set to TRUE for now.
1441
14421997-05-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1443
1444 * etags.c (C_entries, Pascal_functions): Cleanup.
1445 (TeX_functions): NULL as a function arg needs a cast.
1446 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
1447
14481997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1449
1450 * etags.c (TeX_functions): Cleaned up.
1451 (tex_getit): Removed.
1452
14531997-05-13 Paul Eggert <eggert@twinsun.com>
1454
1455 * rcs2log (files): When computing arguments automatically, ignore
1456 non-files within the RCS subdirectory.
1457
14581997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1459
1460 * etags.c (C_JAVA): New #define.
1461 (Cjava_suffixes): .java is Java.
1462 (Cjava_entries): New function.
1463 (lang_names): Add Java.
1464 (sym_type): Add st_C_javastruct for Java.
1465 (C_stab_entry): Add `extends' and `implements' keywords.
1466 (consider_token, C_entries): Recognise Java structures.
1467
14681997-05-12 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1469
1470 * etags.c: (Cplusplus_suffixes): .pdb is Postscript with C syntax.
1471 (Postscript_suffixes): .ps is Postscript.
1472 (lang_names): Add Postscript.
1473 (Postscript_functions): New function.
1474 (TEX_decode_env): Close minor memory leak.
1475 (just_read_file): Correct the char number of the tag.
1476
14771997-05-11 Paul Eggert <eggert@twinsun.com>
1478
1479 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
1480 Don't prepend $nl since this causes some shells to generate the
1481 empty string when IFS is $nl.
1482 (printlogline): Use SOH (octal code 1), not CR, since some
1483 PC-based shells mishandle CR.
1484 (initialize_fullname): Set NIS_PATH to the empty string before invoking
1485 nismatch, in case it's set to some nonstandard value.
1c478461 1486
362bc2da
DL
14871997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1488
1489 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
1490 read in separate blocks.
1491
14921997-04-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1493
1494 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
1495 (struct linebuffer): New member `len' is the length of the string.
1496 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
1497 Use it instead of strlen.
1498 (TEX_getit): Declare and define unconditionally as static.
1499 (TeX_functions): Use if instead of #if TeX_named_tokens.
1500 (add_regex): Set RE_INTERVALS flag for regex compilation.
1501 (substitute): Code cleanup.
1502 (readline_internal): Code cleanup, set new member `len'.
1503 (readline): Bug corrected.
1504
15051997-04-23 Geoff Voelker <voelker@cs.washington.edu>
1506
1507 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
1508 (obj): Change references of nt*.c files to w32*.c files.
1509
15101997-04-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1511
1512 * etags.c (xnew): Add support for debugging with chkmalloc.
1513 (error): Use this instead of printf whenever possible.
1514 (main): Only call xnew after having initialised progname.
1515 (substitute): Bad memory corruption error corrected.
1516
15171997-04-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1518
1519 * etags.c (add_regex): Undo previous change.
1520 (relative_filename): Small memory leak closed.
1521 (absolute_filename): Cleaned up the code, possibly closing a bug.
1522 (absolute_dirname): Always return a newly allocated string.
1c478461 1523
362bc2da
DL
15241997-03-21 Paul Eggert <eggert@twinsun.com>
1525
1526 * rcs2log (files): Ignore files in RCS directory whose names are
1527 of the form ,*, or *_; they are probably RCS lock files.
1528 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
1529 they are used by rcsfreeze.
1530
15311997-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1532
1533 * etags.c (add_regex): reset *putbuf before using it.
1534
15351997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1536
1537 * movemail.c (popmail): Remove some unnecessary function
1538 declarations.
1539 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
1540 into pop_retr, there's no reason to pass in mbx_write, and the
1541 file argument can be declared FILE * explicitly. This fixes a
1542 compilation problem on systems with 64-bit pointers.
1543
15441997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1545
1546 * movemail.c: Delete duplicate inclusion of fcntl.h
1547 and duplicate #undefs of open, read, write, close.
1548
15491997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1550
1551 * movemail.c (main): Do not display "[POP-password]" in the usage
1552 message when movemail is compiled without POP support.
1553 (main, popmail): Add the optional "-p" argument, which causes
1554 movemail to leave mail in the inbox after copying it into the
1555 output file.
1c478461 1556
362bc2da
DL
1557 * Makefile.in (movemail): Link with getopt.
1558
15591997-01-20 Paul Eggert <eggert@twinsun.com>
1560
1561 * rcs2log: (--help, --version): New options, per GNU coding standards.
1562 (Copyright, Help, Id): New variables, for above.
1563 (rlog): Use -q option with cvs log, to avoid useless chatter.
1564
1565 Treat logs of "Initial revision" (RCS) or "file F was initially added
1566 on branch B." (CVS) as if they said "New file.", for consistency with
1567 change log entries.
1568
15691997-01-01 Paul Eggert <eggert@twinsun.com>
1570
1571 * vcdiff (PATH): Add /usr/xpg4/bin,
1572 where XPG4 SCCS hangs out in Solaris 2.5.
1573 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
1574
15751996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1576
1577 * etags.c (streq, strneq): Use == NULL rather than !.
1578
15791996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
1580
1581 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
1582 (movemail): Use LIBMAIL, to link against -lmail.
1583
1584 * movemail.c: Include maillock.h (conditionally).
1585 Remove a redundant inclusion of <stdio.h>.
1586 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
1587 (main): Add variable spool_name.
1588 Support the usage of maillock and mailunlock to
1589 lock and unlock mailboxes.
1590 (mail_spool_name): New function.
1591
1592 * movemail.c: Fix an uninitialized variable which could cause
1593 movemail to exit with an error status incorrectly on systems which
1594 use lock files rather than a system locking function to lock
1595 mailboxes.
1596
15971996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1598
1599 * pop.c (socket_connection): Free realhost after using it.
1600
16011996-12-04 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1602
1603 * etags.c (C_entries): Test tok.valid. This handles some
1604 particular cases involving function declarations that failed.
1605
16061996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 1607
362bc2da
DL
1608 * pop.c (socket_connection):
1609 gethostbyname may return a pointer to static data.
1610 krb_realmofhost can clobber it. So copy it.
1611
16121996-11-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1613
1614 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
1615 must cast it to (char *) because we have no prototypes.
1616 (make_C_tag): Macro deleted, new function.
1617 (C_entries): Calls to make_C_tag macro changed to call function.
1618
16191996-11-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1620
1621 * etags.c (grow_linebuffer): New function.
1622 (GROW_LINEBUFFER): Macro deleted. All callers changed.
1623 (make_tag): Macro renamed to make_C_tag. All callers changed.
1624 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
1625 (Prolog_functions): prolog_skip_comment was called with wrong
1626 number of arguments.
1627 (xrealloc): fatal was called with wrong number of arguments
1628
16291996-11-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1630
1631 * etags.c (relative_filename): Bug corrected.
1632 (etags_getcwd): Avoid warning of unused variable.
1633 (C_entries, consider_token): Added support for enum labels.
1634
16351996-11-03 Paul Eggert <eggert@twinsun.com>
1636
1637 * rcs2log: When processing cvs log output, remove `Attic/' from
1638 repository file names.
1639
16401996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
1641
1642 * emacsserver.c: Fix 1996-09-02 change.
1643
16441996-10-12 Paul Eggert <eggert@twinsun.com>
1645
1646 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
1647 option', since CVS says 'invalid option'.
1648 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
1649 revisions, since some hosts reject 1970-01-01 when east of UTC.
1650 (date): Remove.
1651
16521996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1653
1654 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
1655
16561996-10-02 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1657
1658 * etags.c (print_version): Print copyright info.
1659
1660 * etags.c (print_help): Print the bug reporting address.
1661 (main): Use return as the last instruction, instead of exit.
1662
1663 * etags.c (main): Don't open the tags file in cxref mode.
1664
16651996-09-29 Dave Love <d.love@dl.ac.uk>
1666
1667 * rcs2log (date): Make default format acceptable to CVS post v1.8
1668 as well as earlier CVSs and RCS.
1669
16701996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1671
1672 * movemail.c (main): If the lock call fails with EBUSY or
1673 EAGAIN, retry a few times.
1674
16751996-09-25 Paul Eggert <eggert@twinsun.com>
1676
1677 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
1678 whether to append -zLT.
1679
16801996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
1681
1682 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
1683 * emacsclient.c, movemail.c: Likewise.
1684
16851996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1686
1687 * emacsclient.c (longopts): Change nowait to no-wait.
1688 (print_help_and_exit): Fix option name; upcase metavars.
1689
16901996-09-06 Erik Naggum <erik@naggum.no>
1691
1692 * emacsserver.c (main): Declare `fromlen' as size_t.
1693
16941996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
1695
1696 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
1697
16981996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1699
1700 * emacsclient.c (quote_file_name): Quote with &, not \.
1701 Quote `-' only at start of file name. Terminate the value string.
1702
1703 * emacsserver.c: Include signal.h properly;
1704 delete the duplicate includes for it.
1705
1706 * emacsserver.c: On fatal signal, delete socket-file:
1707 * emacsserver.c: Include signal.h.
1708 (xmalloc, fatal, error): New functions.
1709 (delete_socket, handle_signals): New functions.
1710 (progname, socket_name): New variables.
1711 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
1712
17131996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1714
1715 * emacsclient.c (quote_file_name): New function.
1716 (main, both versions): Use quote_file_name.
1717 (decode_options): Don't return a value.
1718 (main, both versions): Use optind.
1719 Don't check for -nowait here.
1c478461 1720
362bc2da
DL
1721 * emacsclient.c (decode_options): New function.
1722 (main, both versions): Call decode_options.
1723 (print_help_and_exit): New function.
1724 (VERSION): New macro.
1725
1726 * Makefile.in (emacsclient): Link with getopt.
1727 Add -DVERSION so emacsclient knows its version number.
1728
17291996-08-31 Geoff Voelker <voelker@cs.washington.edu>
1730
1731 * makefile.nt (lisp): Include dos-nt.elc.
1732
17331996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1734
1735 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
1736
17371996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1738
1739 * emacsclient.c (both versions): Handle -nowait and --nowait
1740 by sending data to the server.
1741
17421996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1743
1744 * Makefile.in (INSTALL_STRIP): New variable.
1745 (${archlibdir}): Use INSTALL_STRIP.
1746
1747 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
1748 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
1749
1750 * pop.c: Reverse conditional in previous change.
1751
17521996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1753
1754 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
1755
17561996-08-24 Paul Eggert <eggert@twinsun.com>
1757
1758 * rcs2log: Use ISO 8601 date format, with time zone appended
1759 if change-log-time-zone-rule is non-nil, instead of
1760 traditional Unix date format.
1761
1762 (datearg): When computing default from ChangeLog, handle ISO format
1763 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
1764 Don't worry about hh:mm:ss since the resolution is now by day.
1765 Use emtpy datearg, not empty rlog_options, to decide whether to pass
1766 "$datearg" option to $rlog.
1767 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
1768 (month_data): Remove `mo'; no longer needed.
1769 (rlog_options): Use -zLT for localltime output, if `rlog' supports it.
1770
1771 Match `revision' line of rlog output more accurately.
1772
1773 Add -c, -v options.
1774
17751996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
1776
1777 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
1778
17791996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1780
1781 * Version 19.33 released.
1782
17831996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1784
1785 * Version 19.32 released.
1786
17871996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
1788
1789 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
1790 computing character positions in source files.
1791
17921996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
1793
1794 * makefile.nt (clean): Use OBJDIR macro.
1795
17961996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
1797
1798 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
1799
18001996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
1801
1802 * cvtmail.c, sorted-doc.c, yow.c: [__GNU_LIBRARY__]: Use <string.h>.
1803 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
1804 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
1805
18061996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
1807
1808 * ntlib.h: Correct return type of getwd.
1809 * ntlib.c (getwd): Correct return type.
1810
18111996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1812
1813 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
1814 to infile.
1815
18161996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
1817
1818 * makefile.nt: Remove all references to wakeup.
1819
18201996-06-28 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1821
1822 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
1823 explicit, mutable, typename.
1824
18251996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1826
1827 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
1828 streams, one for sending and one for reading the reply.
1829
18301996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1831
1832 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
1833 (wakeup): Target deleted.
1834 (UTILITIES): Delete wakeup and timer.
1835
1836 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
1837
18381996-06-11 Geoff Voelker <voelker@cs.washington.edu>
1839
1840 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
1841 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
1842
18431996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1844
1845 * etags.c (main): Copy cwd when appending slash.
1846
18471996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
1848
1849 * Version 19.31 released.
1850
18511996-05-17 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1852
1853 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
1854 (Pascal_functions): Increase linecharno by the correct number of
1855 chars, inline the GET_NEW_LINE macro and delete its definition.
1856
18571996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
1858
1859 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
1860
18611996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
1862
1863 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
1864 (movemail.exe, fakemail.exe): Now built under Win32.o
1865
1866 * ntlib.c: Include ntlib.h.
1867 (nt_sleep): Rename to sleep.
1868 (getwd): Return directory.
1869 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
1870 sys_ctime, sys_fopen): New functions.
1871
1872 * ntlib.h: New file.
1873
18741996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
1875
1876 * pop.c (SEND, RECV): Renamed from send, recv.
1877 (pop_open, pop_trash): Make the trash_started code unconditional.
1878 (socket_connection): Delete casts to void.
1879
18801996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
1881
1882 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
1883 copied from lisp.h.
1884
18851996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
1886
1887 * fakemail.c [WINDOWSNT]: Include ntlib.h.
1888
1889 * hexl.c [DOSNT]: Include fcntl.h.
1890 [WINDOWSNT]: Include io.h.
1891 (main) [MSDOS]: Change conditional to DOS_NT.
1892
1893 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
1894 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
1895 [WINDOWSNT]: Include locking.h.
1896 (main): Update usage message. Use IS_DIRECTORY_SEP.
1897 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
1898 (main) [WINDOWSNT]: Invoke locking instead of flock.
1899 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
1900 (main) [MAIL_USE_POP]: Pass password to popmail if used.
1901 Include winsock.h; don't include unix inet headers.
1902 (popmail): Add password argument and pass it to pop_open.
1903 Open output file in binary mode.
1904
1905 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1c478461 1906 Macro SOCKET_ERROR undefined.
362bc2da
DL
1907 Don't declare h_errno.
1908 [!WINDOWSNT]: Define macros recv and send.
1909 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
1910 (pop_open) [WINDOWSNT]: Initialize trash_started.
1911 (have_winsock) [WINDOWSNT]: New variable.
1912 (socket_connection) [WINDOWSNT]: Initialize winsock.
1913 (socket_connection): Use closesocket instead of close.
1914 (getline): Use recv instead of read.
1915 (fullwrite): Use send instead of write.
1916 (pop_trash): Use closesocket instead of close.
1917 (pop_trash) [WINDOWSNT]: Cleanup winsock.
1918 Check if being called recursively by sendline.
1919
1920 * pop.h (struct _popserver): New field trash_started.
1921
1922 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
1923
19241996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1925
1926 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
1927
19281996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1929
1930 * etags.c [WINDOWSNT]: Include io.h.
1931
19321996-04-10 Geoff Voelker <voelker@cs.washington.edu>
1933
1934 * makefile.nt (CTAGSOBJ): Compile with regexp support.
1935
19361996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
1937
1938 * hexl.c [DJGPP v2]: Include io.h.
1939 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
1940
1941 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
1942 DJGPP v2.
1943
19441996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1945
1946 * etags.c (absolute_filename): Use absolutefn.
1947
19481996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
1949
1950 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
1951 letter isn't an alphabetic character.
1952 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
1953 (process_file) [DOS_NT]: Convert all slashes to forward style.
1954 (absolute_filename) [DOS_NT]: Emit error message for relative
1955 paths with a drive letter.
1956 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
1957 DOS/NT drive letters which try to reference the parent of the root.
1958 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
1959
19601996-03-27 Geoff Voelker <voelker@cs.washington.edu>
1961
1962 * makefile.nt: Change uses of del to $(DEL).
1963
19641996-03-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1965
1966 * etags.c (just_read_file): Reset lineno and charno on entry.
1967
19681996-03-15 Anders Lindgren <andersl@csd.uu.se>
1969
1970 * etags.c: Prolog language totaly rewritten.
1971 (Prolog_functions): Rewritten from scratch.
1972 (skip_comment, prolog_getit): Removed.
1973 (prolog_skip_comment): New function, like old skip_comment.
1974 (prolog_pred, prolog_atom, prolog_white): New functions.
1975 (erlang_func, erlang_attributes): Forward declarations added.
1976 (erlang_atom): Check if backslash ends line inside quoted atom.
1977
19781996-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1979
1980 * etags.c (absolutefn): DOS_NT version corrected.
1981 (main): Append "/" to the dir name only if not already there.
1982 (print_help): Explain the absolute/relative file name issue.
1c478461 1983
362bc2da
DL
19841996-03-08 Anders Lindgren <andersl@csd.uu.se>
1985
1986 * etags.c: New Languange Erlang added.
1987 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom,
1988 erlang_white): New functions.
1989 (Erlang_suffixes): New suffix list.
1990 (lang_names): Erlang entry added.
1991 (prolog_getit): Accepts headers spanning several lines.
1992 Always name tags.
1993 (Prolog_functions): Removed incorrect compensation for
1994 newline characters.
1995 (readline_internal): Zero-terminate last line.
1996
19971996-03-20 Mike Long <mike.long@analog.com>
1998
1999 * b2m.c (main): Initialize progname variable before using it.
2000 Quote `username' in From_ header.
2001
20021996-03-18 Geoff Voelker <voelker@cs.washington.edu>
2003
2004 * ntlib.c (getpid): New function.
2005
20061996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2007
2008 * emacsclient.c (main, both definitions):
2009 Print a newline for normal termination.
2010
20111996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
2012
2013 * tcp.c (main): Convert port to network byte order.
2014
20151996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
2016
2017 * pop.c (pop_retrieve, getline): Avoid type clashes.
2018
20191996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
2020
2021 * etags.c (enum sym_type, anonymous enum): Delete final comma.
2022
20231996-01-15 Paul Eggert <eggert@twinsun.com>
2024
2025 * rcs2log (initialize_fullname): Add support for NIS+.
2026 (hostname): Fully qualify the default hostname with the domainname
2027 if the hostname lacks a `.'.
2028
20291996-01-15 Paul Eggert <eggert@twinsun.com>
2030
2031 * rcs2log (initialize_fullname): Add support for NIS+.
2032 (hostname): Fully qualify the default hostname with the domainname
2033 if the hostname lacks a `.'.
2034
20351996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
2036
2037 * etags.c (consider_token): Fix typo in expression.
2038
20391996-01-04 Paul Eggert <eggert@twinsun.com>
2040
2041 * etags.c (substitute): Fix spelling in message.
2042
20431996-01-03 George V. Reilly <georger@microcrafts.com>
2044
2045 * makefile.nt (etags, ctags): Compile with regexp support.
2046 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
2047 subdirectory exists before compiling.
1c478461 2048
362bc2da
DL
20491996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
2050
2051 * emacsserver.c (main): Do chmod based on existing permission.
2052
20531995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2054
2055 * Makefile.in (install): Turn on read/execute permission.
2056
20571995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2058
2059 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
2060 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
2061
20621995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2063
2064 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
2065
20661995-12-07 Francesco Potorti` <pot@cnuce.cnr.it>
2067
2068 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
2069 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
2070 get_scheme, prolog_getit): Name the tag in ctags mode.
2071 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
2072 (Perl_interpreters): Accept "@PERL@" as an interpreter.
2073 (suggest_asking_for_help): New function.
2074 (main, get_language_from_name): Use suggest_asking_for_help.
2075 (main): Let get_language_from_name make language existence check.
2076 (streq, strneq): Check the arguments #if DEBUG.
2077
20781995-12-06 Francesco Potorti` <pot@cnuce.cnr.it>
2079
2080 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
2081 (gperf): Added keywords for Objective C and GNU macros.
2082 (sym_type): Added values to account for Objective C and GNU macros.
2083 (begtk): The '@' character can start a token.
2084 (objdef, methodlen, objtag): New variables for Objective C.
2085 (consider_token, C_entries): Added code for Objective C.
2086 (plain_C_suffixes): Add .m and .lm for Objective C.
2087 (Yacc_suffixes): Add .ym for Objective yacc.
2088 (GROW_LINEBUFFER): New macro.
2089 (consider_token, C_entries, Pascal_functions): Use the new macro.
2090 (consider_token): Take one more argument. Caller changed.
2091 (consider_token): Use the hashing function to spot GNU macros.
2092 (C_entries): Consider // as a comment start even in plain C for
2093 the sake of Objective C parsing.
2094
20951995-12-04 Francesco Potorti` <pot@cnuce.cnr.it>
2096
2097 * Makefile.in (ctags): depend on etags only for simplicity;
2098 compile with regexp support enabled.
2099
21001995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2101
2102 * Version 19.30 released.
2103
21041995-11-22 Geoff Voelker <voelker@cs.washington.edu>
2105
2106 * makefile.nt (DOC, clean): Don't use switches to del not
2107 supported by Windows 95.
2108
21091995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2110
2111 * Makefile.in (regex.o): Depend on ../src/config.h.
2112
21131995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2114
2115 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
2116 (LOADLIBES): Use LIB_STANDARD.
2117
21181995-11-07 Kevin Gallo <kgallo@microsoft.com>
2119
2120 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
2121 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
2122 Windows 95 conditional.
2123
21241995-11-06 Francesco Potorti` (pot@cnuce.cnr.it)
2125
2126 * etags.c (get_lang_from_name, get_lang_from_interpreter,
2127 get_lang_from_suffix): New functions.
2128 (get_language): Function deleted.
2129 (lang_entry): Two members added to struct.
2130 (lang_names): Reflect the new layout of lang_entry.
2131 (print_language_names, main, find_entries): Use the new functions.
2132 (find_entries): Look at the first line for #! if no language.
2133 (C_entries): Invalidate the token when funcdef is reset.
2134 (Perl_functions): New function.
2135 (lang_suffixes): .pl and .pm are Perl suffixes.
2136
21371995-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
2138
2139 * etags.c (lowcase): Use the standard tolower function.
2140 (substitute): Remove some wrong and some useless code related with
2141 escape `\` character in regexp replacement string.
2142 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
2143 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
2144 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
2145 .prolog for prolog (.pl removed).
2146 (massage_name, etags_getcwd): Use lowcase instead of tolower.
2147 (C_entries, find_entries): Added comments about memory leakage.
2148 (add_node): Dead code removed.
2149
21501995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2151
2152 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
2153 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
2154
21551995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2156
2157 * test-distrib.c: Add #undef for open, close, read, write.
2158
21591995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2160
2161 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
2162 [! O_RDONLY]: Define it to zero.
2163 (main): Use O_RDONLY instead of explicit zero.
2164
21651995-08-17 Francesco Potorti` (pot@cnuce.cnr.it)
2166
2167 * etags.c (Pascal_functions): Close comment bug corrected.
2168 (add_node): Correctly compare node file names.
2169 (Pascal_functions): Correctly allocate and free memory for tline.
2170 (pfnote): Put the definition of fp in the innermost block.
2171 (NODE): `named' member removed.
2172 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1c478461 2173 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
2174 (pfnote): `named' argument removed, all callers changed.
2175 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
2176 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1c478461 2177 removed from pfnote call, some code cleanup.
362bc2da
DL
2178 (relative_filename): Free temporary space allocated by concat.
2179
21801995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2181
2182 * Makefile.in (getdate.c): New target.
2183 (getdate.o): Just compile getdate.c.
2184
21851995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
2186
2187 * fakemail.c (xrealloc): Change cast to match return type.
2188
21891995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2190
2191 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
2192
21931995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2194
2195 * movemail.c (main): Fix previous change.
2196 Add error check for empty OUTNAME.
2197
21981995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2199
2200 * movemail.c (main): Mention lock file name in error message.
2201
22021995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2203
2204 * profile.c (gettimeofday): New function, defined if necessary.
2205
22061995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2207
2208 * Makefile.in: Renamed from Makefile.in.in.
2209 (distclean): Delete Makefile.c, not Makefile.in.
2210
22111995-07-17 Michael Shields <shields@tembel.org>
2212
2213 * Makefile.in.in (tags): Synonym for `TAGS'.
2214
22151995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2216
2217 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
2218 configure has already set $(INSTALL) to the proper relative path.
2219
22201995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
2221
2222 * etags.c (plain_C_entries): new function.
2223 (lowcase): new macro.
2224 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
2225 (lang_suffixes): new suffix ".pc" for Pro*C files.
2226 (consider_token): don't tag all tokens beginning with DEFUN & Co..
2227 (tail): look for the end of the token when comparing.
2228 (takeprec): since now tail behaves differently, use strneq.
2229
22301995-07-08 Paul Eggert <eggert@twinsun.com>
2231
2232 * rcs2log (datearg): Separate date from time with comma, not space,
2233 to work around CVS 1.5 bug.
2234 (CVSROOT): Don't abort when unset if repository is absolute.
2235
22361995-07-07 Paul Eggert <eggert@twinsun.com>
2237
2238 * rcs-checkin, rcs2log, vcdiff:
2239 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
2240 that interpret `#! /' as a 4-byte magic number.
2241
22421995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
2243
2244 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
2245 mailbox with "po:mailbox", the mailbox is everything after the
2246 "po:" prefix.
2247
22481995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2249
2250 * emacsserver.c: Make all error messages start with `Error: '.
2251 (fatal_error, perror_1): New functions, use throughout.
2252
22531995-06-28 Paul Eggert <eggert@twinsun.com>
2254
2255 * rcs2log (CVSROOT, repository):
2256 Allow remote repositories a la CVS 1.4.
2257
22581995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
2259
2260 * etags.c (plain_C_entries): new function.
2261 (lowcase): new macro.
2262 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
2263 (lang_suffixes): new suffix ".pc" for Pro*C files.
2264 (consider_token): don't tag all tokens beginning with DEFUN & Co..
2265 (tail): look for the end of the token when comparing.
2266 (takeprec): since now tail behaves differently, use strneq.
2267
22681995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2269
2270 * movemail.c (main): Add newline in usage message.
2271
22721995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2273
2274 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
2275
22761995-06-21 Francesco Potorti` (pot@cnuce.cnr.it)
2277
2278 * etags.c (find_entries): Rewind before rereading the input file.
2279
22801995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2281
2282 * Version 19.29 released.
2283
2284 * make-docfile.c (main) [MSDOS]: Do set _fmode.
2285 This undoes part of the previous change.
2286
22871995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2288
2289 * make-docfile.c (main): On MSDOS, don't change stdout
2290 to binary, and insist on an -o option.
2291
22921995-06-13 Geoff Voelker <voelker@cs.washington.edu>
2293
2294 * etags.c (process_file,absolute_filename): Handle filenames
2295 starting with a drive letter.
2296
2297 * makefile.nt (install): Copy wakeup.exe properly.
2298
22991995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
2300
2301 * make-docfile.c [MSDOS]: #undef chdir.
2302
23031995-06-04 Paul Eggert <eggert@twinsun.com>
2304
2305 * rcs2log (output_authors): Allow ':' in time zone,
2306 as per ISO 8601 and RCS 5.6.8 beta.
2307
23081995-05-29 Francesco Potorti` (pot@cnuce.cnr.it)
2309
2310 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
2311 compatibility problems.
2312
23131995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
2314
2315 * etags.c (etags_getcwd): Don't use #elif.
2316 Have just one function body.
2317
23181995-05-25 Geoff Voelker <voelker@cs.washington.edu>
2319
2320 * makefile.nt (LIBS): Use BASE_LIBS.
2321 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
2322 upon LIBS.
2323 (DOC): Use del instead of rm.
2324 (DOC) [WINDOWS95]: Use DOC.
2325 (clean): Handle MSVC aux files.
2326 (config.h,paths.h): Use $(CP) instead of cp.
2327 (config.h): Use $(CONFIG_H)
2328 (make-docfile.obj): Depend upon config.h.
2329 Clean up comments.
2330
23311995-05-23 Francesco Potorti` (pot@cnuce.cnr.it)
2332
2333 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
2334 former gives the true path even in the presence of simlinks.
2335
23361995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2337
2338 * movemail.c (main): Increase lock timeout to five minutes.
2339
23401995-05-06 Geoff Voelker <voelker@cs.washington.edu>
2341
2342 * makefile.nt (obj): Use .c files.
2343
23441995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2345
2346 * make-docfile.c: Include config.h.
2347 (NO_SHORTNAMES): New definition.
2348 (xmalloc): Return long *.
2349
2350 * etags.c (C_entries): Cast result of xrealloc.
2351 (xmalloc, xrealloc): Declare them to return long *.
2352
2353 * b2m.c (xmalloc, xrealloc): Declare them long *.
2354
2355 * movemail.c (xmalloc): Declare it to return long *.
2356
23571995-04-30 Paul Eggert <eggert@twinsun.com>
2358
2359 * rcs2log (datearg): If rlog options are specified explicitly,
2360 omit the implicit '-d>DATE' option.
2361 (repository, rlog): Allow absolute paths to CVS repositories.
2362 Look only at the first line of CVS/Repository.
2363
23641995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
2365
2366 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
2367 realclean.
2368
23691995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2370
2371 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
2372 Alternative (empty) definitions.
2373
23741995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2375
2376 * emacsclient.c (main): Add argv[0] to an error message.
2377
23781995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
2379
2380 * emacsclient.c (main): Improve error handling.
2381 * cvtmail.c (main, skip_to_lf): Improve error handling.
2382 (sysfail): New function.
2383
2384 * b2m.c (main): Check for trailing ", " before trying to delete it.
2385
23861995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2387
2388 * Makefile.in.in (all): Build test-distrib and make-docfile.
2389
2390 * make-docfile.c (scan_c_file): At end, restore file name last char
2391 to its original value.
2392
23931995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2394
2395 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
2396
23971995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2398
2399 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
2400 (alloca.o, regex.o): Use BASE_CFLAGS.
2401
24021995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2403
2404 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
2405
24061995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
2407
2408 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
2409 (SOURCES, distclean): Removed obsolete references to aixcc.
2410
24111995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2412
2413 * aixcc.lex: File deleted--surely obsolete now.
2414
24151995-03-23 Paul Eggert <eggert@twinsun.com>
2416
2417 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
2418 portability to mawk and nawk.
2419
24201995-03-21 Paul Eggert <eggert@twinsun.com>
2421
2422 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
2423 -u "login<tab>fullname<tab>mailaddr".
2424
24251995-03-21 Paul Eggert <eggert@twinsun.com>
2426
2427 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
2428 replaces the (now obsolescent) -n login fullname mailaddr option.
2429 Add -R option for recursive rlog.
2430 (AWK): New environment variable (default `awk') for awk program name.
2431 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
2432 Quote authors and fullnames correctly.
2433 Don't omit path from repository root when logging CVS files.
2434
24351995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2436
2437 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
2438 even if HAVE_SYSVIPC.
2439 * emacsclient.c (main): Use getcwd if not BSD.
2440
24411995-03-13 Francesco Potorti` (pot@cnuce.cnr.it)
2442
2443 * etags.c (process_file): free (filename) after using it.
2444 (readline_internal): Do not access the char before start of line.
2445
24461995-02-22 Francesco Potorti` (pot@cnuce.cnr.it)
2447
2448 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
2449 savetok.valid. Mark token as valid when it is initialised.
2450 (make_tag): Make token only if token is valid and reset validity.
2451 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
2452 (TOKEN): Added a new member: valid.
2453
24541995-02-15 Francesco Potorti` (pot@cnuce.cnr.it)
2455
2456 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
2457 (main): Do not read twice the last filename in the stdin file list.
2458
24591995-02-14 Francesco Potorti` (pot@cnuce.cnr.it)
2460
2461 * etags.c (C_entries): Initialise the new members of TOKEN.
2462 (C_entries): Do not allocate a new space for each token found by
2463 consider_token. Let make_tag do that instead.
2464 (make_tag): Since now TOKEN has memory of where it is taken from,
2465 this new macro substitutes both make_tag_from_new_lb and
2466 make_tag_from_oth_lb. All callers changed.
2467 (TOKEN): Add linepos and buffer members.
2468 (main): Initialise token_str.
2469 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
2470 (token_str): New global variable used by C_entries.
2471
24721995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
2473
2474 * Makefile.in.in (maintainer-clean): Renamed from realclean.
2475
24761995-02-01 Francesco Potorti` (pot@cnuce.cnr.it)
2477
2478 * etags.c (pfnote): Initialise been_warned in the node.
2479 (C_entries): Removed a speed hack for the sake of clarity.
2480
24811995-01-18 Francesco Potorti` (pot@cnuce.cnr.it)
2482
2483 * etags.c (longopts, print_help, main): Use -I as abbreviation
2484 for the --ignore-indentation option.
2485 (main): Do not print an error message for unknown options.
2486
24871995-01-12 Francesco Potorti` (pot@cnuce.cnr.it)
2488
2489 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
2490 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
2491 constantypedefs, update, vgrind_style, no_warnings,
2492 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
2493 (permit_duplicates): Was a var, now a #define.
2494 (filename_lb): Was global, now local to main.
2495 (main): Open the tag file when in cxref mode.
2496 Use a BUFSIZ size buffer for making the shell commands.
2497 Look at the return value from the system routine.
2498 Exit when cannot open the tag file.
2499 (process_file): Open the file and pass the FILE* to find_entries.
2500 (find_entries): Now void, because does not open the file itself.
2501 (pfnote): Recovering from lack of memory does not work. Removed.
2502 Use savenstr and simplify the code.
2503 (free_tree): Only free the name space if node is named.
2504 (structtag): Now a pointer, not a fixed length array of chars.
2505 (consider_token): Don't take a token as argument. Use savenstr
2506 when saving a tag in structtag. Callers changed.
2507 (TOKEN): Structure changed. Now used only in C_entries.
2508 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
2509 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
2510 (pfcnt): Deleted. Users updated.
2511 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
2512 TEX_getit, prolog_getit): Use dinamic allocation for storing
2513 the tag instead of a fixed size buffer.
2514
25151995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2516
2517 * movemail.c (main): Skip past the colon in inname.
2518
25191995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
2520
2521 * etags.c (pfatal): New function.
2522 (main, etags_getcwd): Use pfatal.
2523 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
2524
25251995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
2526
2527 * etags.c (Lang_function): Use void instead to declare the
2528 language functions, because many compilers are buggy.
2529 (etags_getcwd): Fix the previous fix on the #else branch.
2530 (readline_internal): Discard possible \r before \n here.
2531 (C_entries): Do not deal with \r here: undo previous fix.
2532
dff28924 25331995-01-09 Francesco Potorti` (pot@fly)
362bc2da
DL
2534
2535 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
2536 functions and a macro that allow the program to work on input
2537 lines of whatever length. Copied from etags.c.
2538 (fatal): Print a fatal error message and exit.
2539 (main): Use the new functions. Fixed a bug that made a \037 char
2540 appear at the end of the output.
2541
25421995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2543
2544 * etags.c (C_entries): Ignore carriage return at end of line.
2545
25461994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2547
2548 * fakemail.c (xmalloc, xrealloc): Add casts.
2549 (add_field): Handle <...> and "..." syntax.
2550 (setup_files, get_keyword): Clean up parens and line breaks.
2551 (args_size): Likewise.
2552
25531994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
2554
2555 * yow.c: Include program name in error messages.
2556
25571994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2558
2559 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
2560 (xmalloc, fatal, error): New functions.
2561 (progname): New variable.
2562 (main): Set progname.
2563
25641994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2565
2566 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
2567 (main): If socket/mqueue name is in home dir, add in the host name.
2568 Rename .emacs_server to .emacs-server....
2569
25701994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2571
2572 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
2573
25741994-11-22 Francesco Potorti` (pot@cnuce.cnr.it)
2575
2576 * etags.c (print_help): print --regex usage for ctags also.
2577 (main): use -h in addition to -H as abbreviation for --help.
2578
25791994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
2580
2581 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
2582 is compiled if this is defined. The new functions and variables
2583 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
2584 [VMS]: All VMS specific code previously contained in
2585 etags-vmslib.c is now included here, modified for dealing with
2586 language and regex options intermixed with filenames.
2587 (header_file): Global variable deleted.
2588 (Lang_Function): New typedef. All language parser functions
2589 changed to this new type.
2590 (string_numeric_p, substr, prestr): Functions deleted.
2591 (readline_internal): Does the job that readline did previously.
2592 (longopts): --language and --regex options added.
2593 (lang_names, lang_extensions, lang_func, print_language_names):
2594 New structures, variables and functions for choosing languages.
2595 (print_help): Help strings updated. Calls print_language_names.
2596 (argument_type, ARGUMENT): Typedefs for dealing with language and
2597 regex options intermixed with filenames.
2598 (main): Changed the way of dealing with arguments on the command
2599 line to deal with language and regex options intermixed with
2600 filenames.
2601 (get_language, default_C_entries, Cplusplus_entries,
2602 Cstar_entries, Yacc_entries, just_read_file): New functions.
2603 (find_entries): Use the new method for choosing the language.
2604 (Pascal_functions): Allow intermixing of comment styles.
2605 (prolog_getit, skip_comment): Rewritten for speed.
2606 (readline): Rewritten to deal with regexps.
2607
26081994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
2609
2610 * etags.c (<errno.h>): #include added.
2611 (etags_getcwd): Check return value from getcwd.
2612
26131994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2614
2615 * profile.c (TV1, TV2): Use EMACS_TIME as type.
2616 (get_time): Use EMACS_SUB_TIME.
2617
26181994-10-30 voelker <voelker@cs.washington.edu>
2619
2620 * ntlib.c: New file.
2621 * makefile.nt: New file.
2622
2623 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
2624 [WINDOWSNT]: Include the NT headers.
2625 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
2626
2627 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
2628 [WINDOWSNT]: Include some NT headers.
2629
26301994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
2631
2632 * pop.c (getline): When a search of already-read input for CRLF
2633 fails, store the fact that we've searched it and don't search it
2634 again after reading more data.
2635
2636 * pop.c (getline): When determining whether or not it's necessary
2637 to grow the input buffer, take into account the null that's stored
2638 at the end of already-read input in the buffer.
2639
26401994-10-21 Francesco Potorti` (pot@cnuce.cnr.it)
2641
2642 * etags.c (prestr, substr): return a logical type.
2643 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
2644 (consider_token): set funcdef to fignore when a DEFUN is met.
2645 (C_entries): Now we can use Tom Hageman patch for extern "C".
2646
26471994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2648
2649 * movemail.c: PopServer renamed to popserver throughout.
2650
26511994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
2652
2653 * etags.c: Don't declare malloc, since we include config.h.
2654 * fakemail.c: Likewise.
2655
26561994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2657
2658 * movemail.c: Don't declare malloc.
2659
26601994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
2661
2662 * rcs-checkin: Use test -r instead of < to check readability, to
2663 avoid syntax error.
2664
26651994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
2666
2667 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
2668 defined, and if HAVE_CONFIG_H isn't defined, define
2669 MAIL_USE_POP always (so that this file can be included in
2670 other programs besides emacs).
2671
2672 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
2673 HAVE_CONFIG_H isn't defined.
2674
2675 * pop.c (find_crlf, getline): Instead of using strstr, use a
2676 custom function for finding CRLF.
2677 (my_strstr): Function deleted.
2678
26791994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
2680
2681 * pop.c (getline): Fix a segfault because of passing a
2682 non-null-terminated string into strstr(). Fix from
2683 djm@va.pubnix.com (David J. MacKenzie).
2684
2685 * pop.c: Don't include <string.h> and <strings.h>.
2686
2687 * pop.c: Include <des.h> before <krb.h>, rather than after. They
2688 should be interchangeable, and indeed the inclusion is done in
2689 both orders in various files in the Kerberos 4 library sources,
2690 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
2691 requires that <des.h> be included first, and I don't see any harm
2692 in changing the order.
2693
2694 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
2695 STDC_HEADERS, if they're defined. Undef open, read, write and
2696 close after including it.
2697
26981994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2699
2700 * pop.c: Fix mismatch in conditionals.
2701
2702 * make-docfile.c (main): Don't process one input file twice.
2703 Never use exit code > 1.
2704
2705 * pop.c (open, close, read, write): Add #undefs.
2706
2707 * pop.c: Don't declare malloc, realloc, free.
2708 Include ../src/config.h.
2709 Don't include string.h or strings.h.
2710 Include des.h before krb.h.
2711 Do declare my_strstr.
2712 (getline): Really use my_strstr.
2713 Leave one empty place in server->buffer,
2714 and put a null at the end of the data in it.
2715
27161994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2717
2718 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
2719 call kill with pid 0. Handle EINTR when receiving messages.
2720
27211994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
2722
2723 * Makefile.in.in (regex.o): Use full path to find regex.c.
2724
27251994-10-17 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2726
2727 * Makefile.in.in (etags): add dependency on regex.o, link with it.
2728 (REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added.
2729
27301994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
2731
2732 * Makefile.in.in (DONT_INSTALL): Remove make-path.
2733 (${archlibdir}): Use mkinstalldirs instead.
2734
2735 * movemail.c: Make functions that return nothing void, not
2736 implicitly int.
2737 (main): Improve usage message.
2738 (error): Write to stderr, not stdout.
2739
2740 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
2741 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
2742 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
2743 variables and implicitly declared functions.
2744
27451994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2746
2747 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
2748 (distclean): Not here.
2749
2750 * Makefile.in.in (libexecdir): Renamed from libdir.
2751
27521994-10-11 Francesco Potorti` (pot@cnuce.cnr.it)
2753
2754 * etags.c (C_entries): Name the #define's that are macros.
2755
27561994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2757
2758 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
2759 fd_set arg is a pointer, descriptor arg comes first.
2760
27611994-09-29 Francesco Potorti` (pot@cnuce.cnr.it)
2762
2763 * etags.c (C_entries): Recognise typedef of ANSI style functions.
2764 (C_entries): Recognise #define inside a struct.
2765 (C_entries): ANSI tells that preprocessor commands do not have to
2766 start on the first column.
2767 (print_help): Documentation corrected for -d and -D.
2768 (white, endtk): ANSI tells the vertical tab is a separator.
2769
27701994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
2771
2772 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
2773 (pop.o, movemail.o): New targets.
2774 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
2775
2776 * pop.c, pop.h: New files.
2777
2778 * movemail.c: Improve POP code, move most of it into a separate file.
2779 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
2780 (mbx_write): Check for errors and for From line.
2781 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
2782 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
2783 (pop_init): Functions deleted.
2784
27851994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
2786
2787 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
2788 Rename path to dirname.
2789
27901994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2791
2792 * Makefile.in.in (UTILITIES):
2793 Remove test-distrib, make-docfile, make-path.
2794 (DONT_INSTALL): New variable--list those files here.
2795 (clean): Delete the files in DONT_INSTALL.
2796
27971994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2798
2799 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
2800 (main): Use fgets, not gets.
2801
28021994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2803
2804 * timer.c: Don't declare malloc.
2805
28061994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2807
2808 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
2809 defined, use simple 32-bit versions of these macros.
2810 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
2811
28121994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2813
2814 * etags.c (etags_getcwd): Use getcwd if available.
2815
28161994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2817
2818 * Version 19.27 released.
2819
28201994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2821
2822 * Version 19.26 released.
2823
28241994-08-15 Paul Eggert <eggert@twinsun.com>
2825
2826 * rcs2log: Add support for CVS.
2827 Work with `rlog's that output ISO 8601 dates.
2828
28291994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
2830
2831 * rcs2log: Use <> to delimit email address.
2832
28331994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2834
2835 * emacsserver.c [SYSV_IPC] (main): Make a separate process
2836 so we can listen for multiple requests.
2837
28381994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2839
2840 * movemail.c: Include config.h first thing.
2841
28421994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2843
2844 * emacsserver.c (main): Add casts to avoid warnings.
2845
28461994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2847
2848 * Makefile.in.in (${archlibdir}): Compare the proper dir
2849 before installing the scripts.
2850
28511994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2852
2853 * emacsclient.c (main): New local var progname saves argv[0].
2854
28551994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2856
2857 * emacsclient.c (main): Don't actually modify argv[0].
2858 Modify a copy instead.
2859
28601994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2861
2862 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
2863 (tzp): Var deleted.
2864
2865 * Makefile.in.in: Add #undef alloca.
2866
28671994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2868
2869 * timer.c (xmalloc): New function.
2870
28711994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2872
2873 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
2874 (alloca.o): New target.
2875
28761994-07-08 Dave Love (d.love@dl.ac.uk)
2877
2878 * etags.c (takeprec): recognise `character*(*) function'
2879
28801994-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
2881
2882 * etags.c (main): Don't barf on obsolete -t and -T switches.
2883 (main): Print an explicative message when a switch is not known.
2884
28851994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2886
2887 * hexl.c: Don't declare exit or perror.
2888
2889 * emacsserver.c (main): Don't declare geteuid.
2890 Don't declare getenv if convex.
2891
28921994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2893
2894 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
2895
28961994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2897
2898 * etags.c (absolute_filename): Remove infinite loop bug when
2899 accessing files in directories whose name begins with a dot.
2900
29011994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2902
2903 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
2904
29051994-06-01 Morten Welinder (terra@diku.dk)
2906
2907 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
2908 location of data directory.
2909
29101994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2911
2912 * Version 19.25 released.
2913
29141994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2915
2916 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
2917
29181994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2919
2920 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
2921
29221994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2923
2924 * Version 19.24 released.
2925
29261994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2927
2928 * make-docfile.c (write_c_args): Put `default' in upper case.
2929
29301994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2931
2932 * etags.c (etags_getcwd): Cast result of popen.
2933 (popen): Declaration deleted.
2934
29351994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
2936
2937 * etags.c [!MSDOS]: Declare popen.
2938
29391994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2940
2941 * b2m.c (main): Avoid crash if argc is 1.
2942
29431994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2944
2945 * Version 19.23 released.
2946
2947 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
2948
29491994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2950
2951 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
2952
29531994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
2954
2955 * Makefile.in.in: Fix out of date comment.
2956
29571994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2958
2959 * Makefile.in.in: Put in a separator for where to start cpp procssing.
2960 Move all autoconf substitutions above that point.
2961 Above that point, use Make-style comments.
2962 This goes with changes in ../configure.in.
2963
29641994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2965
2966 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
2967 warning message.
2968 (${archlibdir}): Don't do it here. Don't depend on blessmail.
2969
29701994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
2971
2972 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
2973
29741994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2975
2976 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
2977 print advice to run it, if it has anything significant to do.
2978 And only if MOVEMAIL_NEEDS_BLESSING.
2979 (blessmail): Use emacs, not temacs.
2980 (configuration): Renamed from configname.
2981
29821994-04-30 Morten Welinder (terra@diku.dk)
2983
2984 * etags.c (find_entries): Treat `*.cpp' as C++ files.
2985
29861994-04-30 Morten Welinder (terra@diku.dk)
2987
2988 * etags.c [MSDOS]: #include <sys/param.h> for the following.
2989 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
2990 a shell.
2991
29921994-04-29 Morten Welinder (terra@diku.dk)
2993
2994 * hexl.c [MSDOS]: Don't define proto type for exit.
2995
29961994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2997
2998 * b2m.c: Don't include string.h or strings.h.
2999
30001994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
3001
3002 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
3003 symbols, not make variables.
3004
30051994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3006
3007 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
3008 * etags.c (print_version): Print VERSION as a string.
3009
30101994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3011
3012 * fakemail.c (readline): Fix updating of p when buffer grows.
3013
30141994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
3015
3016 * Makefile.in.in (blessmail): New target.
3017 ${archlibdir}: Use blessmail when installing movemail.
3018
30191994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3020
3021 * fakemail.c (readline): When extending the buffer,
3022 calculate end afresh using the new size.
3023
30241994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3025
3026 * etags.c (main, print_help): eliminate the -F option.
3027
30281994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3029
3030 * etags.c (absolute_filename): compare against '\0' instead of NULL.
3031
30321994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3033
3034 * Makefile.in.in: Renamed from Makefile.in.
3035 Makefile.in is now generated from it, and then preprocessed.
3036 Change comments to C syntax.
3037 Include config.h.
3038 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
3039 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
3040
30411994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3042
3043 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
3044
30451994-04-12 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3046
3047 * etags.c (etags_getcwd): Initialize bufsize.
3048
30491994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3050
3051 * profile.c (gettimeofday): If system doesn't have this, define it
3052 to give a fatal error.
3053
30541994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
3055
3056 * movemail.c (main): Use setuid, not seteuid.
3057
30581994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3059
3060 * etags.c: #undef static.
3061
30621994-04-08 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3063
3064 * etags.c (outf, outfiledir): renamed to tagf, tagfiledir.
3065 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs,
3066 Scheme_funcs, prolog_funcs): renamed to Fortran_functions,
3067 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
3068 TeX_functions, Prolog_functions.
3069 (inf): no more a global variable.
3070 (C_entries): take 2nd parameter `inf' instead of using the global one.
3071 (find_entries): added the cp1 var for optimisation.
3072 (find_entries): added more suffixes for assembler files.
3073 (Asm_funcs): Now finds labels even without an ending colon.
3074
30751994-03-30 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3076
3077 * etags.c (main): use etags_getcwd for compatibility.
3078 (etags_getcwd): new function.
3079
30801994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3081
3082 * Makefile.in (etags, ctags): Pass -D for VERSION.
3083
30841994-03-25 Francesco Potorti` (pot@cnuce.cnr.it)
3085
3086 * etags.c (emacs_tags_format, ETAGS): removed. Use CTAGS instead.
3087 (main): don't allow the use of -t and -T in etags mode.
3088 (print_help): don't show options enabled by default.
3089 (print_version): show the emacs version number if VERSION is #defined.
3090 (find_entries): add "ss" as suffix for Chez Scheme.
3091
30921994-03-23 Francesco Potorti` (pot@cnuce.cnr.it)
3093
3094 * etags.c (cwd, outfiledir): vars added.
3095 (relative_filename, absolute_filename, absolute_dirname):
3096 functions added to compute filenames in tags files.
3097 (process_file): filenames in tags file are relative to the
3098 directory where the tags file is (useful with the -o option).
3099 (main): initialise the outfiledir var.
3100 (TYPEDST): added the `tignore' value.
3101 (C_entries): corrected various small bugs.
3102
31031994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3104
3105 * Makefile.in (UTILITIES): `env' deleted.
3106 (env): Target deleted.
3107 * env.c: File deleted.
1c478461 3108
362bc2da
DL
31091994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3110
3111 * Makefile.in (install, ${archlibdir}): Switch back to ..
3112 before running INSTALL_PROGRAM.
3113
31141994-03-14 Francesco Potorti` (pot@cnuce.cnr.it)
3115
3116 * etags.c (TYPEDST): added the `tignore' value.
3117 (C_entries): corrected various bugs, now correctly parses the
3118 `extern "C" {' construction (patch by Tom R.Hageman).
3119
31201994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3121
3122 * b2m.c: Use <...> to include config.h.
3123 Don't include stdlib.h.
3124
31251994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
3126
3127 * b2m.c (main): Change delimiter from "^L" to "^_^L".
3128 Allow for text following "BABYL OPTIONS:".
3129 Add --help option. Use argv[0] in error messages.
3130
31311994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3132
3133 * emacsclient.c (main) [HAVE_SYSVIPC]:
3134 Make msgp->mtext longer if necessary.
3135 On HPUX, error if it's more than 512 chars.
3136
31371994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
3138
3139 * etags-vmslib.c: Use GPL.
3140 * emacstool.c: Use GPL.
3141 * fakemail.c: Update GPL.
3142
3143 * make-path.c (main): Return 1 on error, not -1.
3144 Update GPL.
3145
3146 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
3147 (xmalloc, xrealloc): Return char *, not int.
3148 (error): Write to stderr, not stdout.
3149 Update GPL.
3150
31511994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
3152
3153 * profile.c (main, get_time): Don't crash on invalid input.
3154
31551994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
3156
3157 * profile.c (get_time): Simplify; avoid calling index.
3158 (main): exit on EOF.
3159
31601994-02-17 Francesco Potorti` (pot@cnuce.cnr.it)
3161
3162 * etags.c (--absolute-pathnames): option removed.
3163
31641994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3165
3166 * fakemail.c (put_line): Don't break the line if it all fits.
3167
dff28924 31681994-02-14 Francesco Potorti` (pot@fly)
362bc2da
DL
3169
3170 * etags.c (absolute_pathnames, cwd): added global vars.
3171 (longopts, print_help, main, process_file): put absolute filenames
3172 in the tag file if the -A --absolute-pathnames option is used.
3173 (print_help): alfabetically order the options.
3174 (malloc, realloc, strcpy, strncpy, strcmp): remove extern declar.
3175
31761994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3177
3178 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
3179 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
3180
31811994-02-07 Christian Lynbech (lynbech@avignon)
3182
3183 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
3184
31851994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3186
3187 * Makefile.in (UTILITIES): Mention profile.
3188 (profile): New target.
3189
3190 * profile.c: New file.
3191
31921994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3193
3194 * Make the argument list output look more like the Lisp docstrings do.
3195 make-docfile.c (write_c_args): Take new arg FUNC. Make output
3196 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
3197 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
3198
31991994-01-14 Francesco Potorti` (pot@cnuce.cnr.it)
3200
3201 * etags.c (stab_entry, stab_create, stab_find, stab_search,
3202 stab_type, add_keyword, C_reate_stab, C_create_stabs): deleted.
3203 Use gperf generated hash table instead of linked list.
3204 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): added.
3205 Mostly code generated by gperf.
3206 (consider_token): removed unused parameter `lp'.
3207 (PF_funcs, getit): allow subroutine and similar declarations
3208 to span multiple lines.
3209 (C_entries): check for newline if inchar to avoid bus errors.
3210 (process_file, find_entries): distinguish among nonexistent
3211 and not regular file.
3212
32131994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3214
3215 * timer.c: Include errno.h; don't include fasync.h.
3216 (schedule): Don't return a value.
3217 (sigcatch): Reestablish the handler first.
3218 (getevent): Always call notify at the end.
3219 (notify): Defer alarms around the whole body of function.
3220
32211994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3222
3223 * timer.c (main): Don't request SIGIO, and don't handle it.
3224 Loop calling getevent.
3225 (sigcatch): Delete code to handle SIGIO.
3226 if defer_alarms is set, don't call notify, just set alarm_deferred.
1c478461 3227 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
3228 Set defer_alarms around realloc and schedule.
3229 If alarm_deferred gets set, call notify.
3230 Likewise if this event is the only pending event.
3231 Make buf and buf_size global variables.
3232 Don't malloc buf if it is already non-zero.
3233 (schedule): Just exit if run out of memory.
3234 Return the number of events.
3235 (signal) [_CX_UX]: Add #undef.
3236
32371994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3238
3239 * timer.c [USG] (SIGIO): Define as SIGPOLL.
3240 (main) [USG]: Do ioctl to enable SIGPOLL.
3241
32421994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3243
3244 * timer.c: Don't declare sys_errlist; declare strerror instead.
3245 (schedule, main): Call strerror instead of using sys_errlist.
3246 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
3247 Call strerror instead of using sys_errlist.
3248 * env.c (main): Call strerror instead of using sys_errlist.
3249 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
3250 (main): Call strerror instead of using sys_errlist.
3251 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
3252 * env.c [! HAVE_STRERROR] (strerror): Likewise.
3253 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
3254 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
3255
32561994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3257
3258 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
3259
3260 * movemail.c (malloc): Don't declare it.
3261 (xmalloc): Cast result of malloc.
3262 (strcpy): Don't declare it.
3263
32641993-11-14 Morten Welinder (terra@diku.dk)
3265
3266 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
3267 (main): Use fclose to close file opened by fopen.
3268
3269 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
3270
3271 * movemail.c [MSDOS]: #undef `access'.
3272
3273 * b2m.c (main) [MSDOS]: Open all files as binary.
3274 * etags.c (main) [MSDOS]: Open all files as binary.
3275
3276 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
3277 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
3278 with.
3279
32801994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3281
3282 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
3283 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
3284 (LINK_CFLAGS): New variable.
3285 (timer): Use LINK_CFLAGS.
3286
32871993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3288
3289 * movemail.c: Include syswait.h.
3290 Fork a subprocess and use it to copy the mail file.
3291
32921993-12-07 Richard Stallman (rms@srarc2)
3293
3294 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
3295
32961993-12-04 Richard Stallman (rms@srarc2)
3297
3298 * movemail.c (main): When making tempname, cast result of xmalloc.
3299 Include room for EXXXXXX in the size.
3300 Don't use result of strcpy.
3301
33021993-12-03 Paul Eggert (eggert@twinsun.com)
3303
3304 * vcdiff: Add --brief option.
3305
33061993-12-02 Richard Stallman (rms@srarc2)
3307
3308 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
3309 for all executables and scripts.
3310
33111993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3312
3313 * Version 19.22 released.
3314
33151993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3316
3317 * Makefile.in (mostlyclean): Make it distinct from clean.
3318
33191993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3320
3321 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
3322
33231993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3324
3325 * Version 19.21 released.
3326
3327 * Makefile.in (install): Don't change mode or group when installing.
3328
3329 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
3330
33311993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3332
3333 * make-docfile.c (read_c_string): For "", concatenate the two strings.
3334
3335 * movemail.c (main): Fix error message text.
3336
33371993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3338
3339 * Version 19.20 released.
3340
33411993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
3342
3343 * etags.c: (C_entries): Keep track of ()-parenthesis level so that
3344 functions returning a pointer to a function, a la `signal', can be
3345 parsed. This also required new state `fstartlist' to `FUNCST'.
3346 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
3347 (C_entries, CNL): use it to isolate preprocessor directive processing
3348 from the other state engines.
3349 (begtk): add '~', for C++ class destructors.
3350
33511993-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
3352
3353 * etags.c (consider_token): removed unused variable firsttok.
3354 (prolog_getit): call pfnote with the right number of arguments.
3355
33561993-10-19 Paul Eggert (eggert@twinsun.com)
3357
3358 * rcs2log (printlogline): Don't generate lines containing only
3359 white space.
3360
33611993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3362
3363 * Makefile.in (${archlibdir}):
3364 Install ${SCRIPTS} from ${srcdir}, not cwd.
3365
33661993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3367
3368 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
3369 the comment character.
3370
33711993-10-01 Francesco Potorti` (pot@cnuce.cnr.it)
3372
3373 * etags.c (process_file): dead code removed.
3374 (S_ISREG): #define it using S_IFREG if not defined.
3375 (process_file): regular files have nothing to do with symlinks.
3376
33771993-09-28 Brian Fox (bfox@ai.mit.edu)
3378
3379 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
3380 from current directory. Only chmod and chgrp files that we
3381 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
3382 ${bindir}.
3383 (INSTALLFLAGS): Deleted definition, since it is an unused variable
3384 now.
3385
33861993-09-27 Brian Fox (bfox@ai.mit.edu)
3387
3388 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
3389 configure figure out the correct values for these variables.
3390
33911993-09-14 Brian Fox (bfox@ai.mit.edu)
3392
3393 * Makefile.in (archlibdir): Only install execuatables internally
3394 used by emacs; don't install bindir binaries here.
3395
33961993-09-24 Paul Eggert (eggert@twinsun.com)
3397
3398 * rcs2log: Add -h, -n, -r options.
3399 By default, look for *,v files as well as RCS/*,v files.
3400 Use $TMPDIR (default /tmp) instead of /tmp.
3401
dff28924 34021993-09-20 Francesco Potorti` (pot@fly)
362bc2da
DL
3403
3404 * etags.c (C_entries): is_func is initialised here instead of in
3405 consider_token for the sake of the yacc rules section.
3406 (C_entries): Now class, struct, enum, union and typedef produce
3407 named tags.
3408
34091993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
3410
3411 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
3412
34131993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3414
3415 * Support configuring in a different directory when ${srcdir} has
3416 already been configured.
3417 * Makefile.in (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before
3418 -I${srcdir} -I${srcdir}/../src.
3419 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
3420 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
3421 is already in CPP_FLAGS.
3422 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
3423 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
3424
34251993-08-25 Paul Eggert (eggert@twinsun.com)
3426
3427 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
3428 otherwise, HP awk complains.
3429
3430 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
3431 are common hangouts for SCCS commands.
3432
34331993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3434
3435 * Version 19.19 released.
3436
34371993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3438
3439 * Makefile.in (make-path): Dep on config.h.
3440
34411993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3442
3443 * b2m.c (TRUE, FALSE): Don't define if already defined.
3444
34451993-08-09 Paul Eggert (eggert@twinsun.com)
3446
3447 * rcs2log (awkscript):
3448 Some sites put comma-separated junk after the fullname.
3449 Remove it, but leave "Bill Gates, Jr" alone.
3450 Remove the junk from fullnames like "0000-Admin(0000)".
3451
34521993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3453
3454 * Version 19.18 released.
3455
34561993-08-04 Francesco Potorti` (pot@spiff.gnu.ai.mit.edu)
3457
3458 * etags.c (L_isdef, L_isquote, L_getit): small optimisations.
3459 (L_funcs): the (foo::defmumble stuff now should work.
3460 (consider_token): function returned random value--corrected.
3461 (C_entries): corrected == versus = typo.
3462
34631993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3464
3465 * etags.c (put_entries): For NODE->rewritten, put pattern before
3466 \177 and name after, not vice versa.
3467
34681993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3469
3470 * timer.c (main): Generate a SIGIO as soon as we've initialized.
3471
34721993-07-30 Francesco Potorti` (pot@cnuce.cnr.it)
3473
3474 * etags.c (FINCST): added the fignore status. Means we are
3475 after the parameter list and before the open curly brace.
3476 Allows correct parsing of C++ constructors.
3477 (C_entries, consider_token): make use of fignore.
3478 (consider_token): reset funcdef when next_token_is_func: when in
3479 ctags mode makes DEFVAR and others work better.
3480 (L_isquote): function that recognises the "(quote" string.
3481 (L_getit): ignore quoting via "'" or "(quote". Useful for defalias.
3482
34831993-07-29 Paul Eggert (eggert@twinsun.com)
3484
3485 * rcs-checkin: Don't check whether a file is readable until we have
3486 decided not to ignore it.
3487
34881993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3489
3490 * Makefile.in (etags): Depend on ../src/config.h.
3491
3492 * emacsserver.c: Include types.h before file.h.
3493
34941993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3495
3496 * Makefile.in (install): Use .n, not .new, for temporary filenames.
3497
34981993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3499
3500 * Version 19.17 released.
3501
35021993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3503
3504 * etags.c (print_help): Break up the very long strings containing
3505 the help message into shorter strings, to placate chintzy C
3506 compilers which can't handle strings that long.
3507
3508 * wakeup.c: Use CPP tangle from autoconf manual to #include the
3509 correct combination of <time.h> and <sys/time.h>.
3510
35111993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
3512
3513 * etags.c (alloca): removed all references to it.
3514 (main): now calls xnew instead of alloca for portability.
3515 (../src/config.h): included only if HAVE_CONFIG_H.
3516 (const): void definition removed--config.h takes care of it.
3517
35181993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
3519
3520 * etags.c (consider_token): was `==', now is `='.
3521 (consider_token): DEFUNs now treated like funcs in ctags mode.
3522
3523 * etags.c (LEVEL_OK_FOR_FUNCDEF): removed.
3524 (C_entries): optimized the test that used LEVEL_OK_FOR_FUNCDEF.
3525 (C_entries): removed a piece of useless code.
3526 (C_entries): making typedef tags is delayed until a semicolon
3527 is met. This handles "typedef int X, Y, Z;" correctly.
3528
35291993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3530
3531 * Version 19.16 released.
3532
3533 * b2m.c: #include <sys/types.h>.
3534 (ltoday): Declare this to be time_t.
3535
35361993-06-30 Paul Eggert (eggert@twinsun.com)
3537
3538 * vcdiff: Add -q option.
3539
35401993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3541
3542 * etags.c: #include "config.h" and the alloca CPP tangle before
3543 #including the system headers and getopt.h. AIX requires the
3544 #pragma to come before any actual C code.
3545
35461993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3547
3548 * Makefile.in (ctags): Depend on etags, so that parallel makes
3549 don't write etags.o files on top of each other.
3550
35511993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3552
3553 * version 19.15 released.
3554
35551993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3556
3557 * etags.c (add_node): Move var last_node to file scope.
3558
35591993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3560
3561 * Version 19.14 released.
3562
35631993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3564
3565 Bring mumbleclean targets into conformance with GNU coding standards.
3566 * Makefile.in (distclean): Call clean to do most of the work.
3567 Delete aixcc.c and TAGS.
3568 (realclean): Just call distclean.
1c478461 3569
362bc2da
DL
3570 * Makefile.in: Remember, spaces are not tabs.
3571
35721993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3573
3574 * Makefile.in (CPP_CFLAGS): New variable.
3575 Use it instead of ALL_CFLAGS when compiling a .c file.
3576 (getopt.o, getopt1.o): Add explicit compilation commands.
3577
35781993-06-10 Mark D. Baushke (mdb@cisco.com)
3579
3580 * etags.c: Reinstate old -f option as an alias for -o for
3581 installed base uses.
3582
35831993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3584
3585 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
3586 to bind or accept, cast the pointer, to avoid warnings on systems
3587 which declare prototypes for this.
3588 * emacsclient.c (main): Same.
3589
3590 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
3591
35921993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3593
3594 * Version 19.13 released.
3595
3596 * wakeup.c: Include sys/types.h, too; I think that's where time_t
3597 comes from, not sys/time.h.
3598
35991993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3600
3601 * wakeup.c: Include sys/time.h.
3602
3603 * etags.c: #undef static.
3604
3605 * Version 19.12 released.
3606
3607 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
3608
36091993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3610
3611 * Version 19.11 released.
3612
3613 * timer.c [LINUX]: #undef signal.
3614 * emacsserver.c: #undef signal.
3615
36161993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3617
3618 * wakeup.c (main): Make when a time_t.
3619
36201993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3621
3622 * Makefile.in: (${archlibdir}): Use `(cd foo && pwd)` instead of
3623 `(cd foo ; pwd)` to get the canonical name of a directory; cd
3624 might fail, and have pwd print out the current directory.
3625
3626 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
3627 string-handling functions.
3628
36291993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3630
3631 * Version 19.10 released.
3632
36331993-05-29 Paul Eggert (eggert@twinsun.com)
3634
3635 * rcs2log: When given no file arguments, inspect RCS/.* as well
3636 as RCS/*. Don't report an error if RCS is empty or nonexistent.
3637
36381993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3639
3640 * Makefile.in (timer): Link with $(LOADLIBES).
3641
36421993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3643
3644 * fakemail.c (put_line): Don't output \n\t unless more text follows.
3645
36461993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3647
3648 * etags.c: Replace the CPP tangle for alloca with the one from the
3649 autoconf documentation, since that's working elsewhere.
3650
36511993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3652
3653 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
3654 description files can find their ancestors.
3655
36561993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3657
3658 * Makefile.in (install): Get the scripts from ${srcdir},
3659 unlike the executables.
3660 (ALL_CFLAGS): Add -I../src
3661
36621993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3663
3664 * Version 19.9 released.
3665
36661993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3667
3668 * Makefile.in (install): Do install the programs listed in
3669 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
3670 INSTALLABLE_SCRIPTS, instead of writing the programs out.
3671
3672 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
3673 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
3674
36751993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3676
3677 * etags.c: Include ../src/config.h.
3678
3679 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
3680 in first loop. Delete files from bindir before installing new ones.
3681 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
3682
36831993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3684
3685 * Version 19.8 released.
3686
3687 * make-docfile.c: Doc fix.
3688
36891993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3690
3691 * tcp.c: Fix comment syntax at top of file.
3692 (main): Don't call htons with the port number.
3693
36941993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3695
3696 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
1c478461 3697 appropriate.
362bc2da
DL
3698
3699 * Makefile.in (install): Refer to the variables INSTALLABLES and
3700 INSTALLABLE_SCRIPTS, instead of writing them out.
3701
37021993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3703
3704 * make-path.c (main): Return 0.
3705
37061993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3707
3708 * Version 19.7 released.
3709
37101993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3711
3712 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
3713
37141993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3715
3716 * tcp.c: New file.
3717
37181993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3719
3720 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
3721
37221993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3723
3724 * timer.c (notify): Don't call sighold or sigrelse; they're USG
3725 only. We should really fix this later, but let's just make it
3726 compile for now.
3727
3728 Install patches from David J. Mackenzie to make the srcdir option
3729 work.
3730 * Makefile.in (srcdir, VPATH): Get this value from the top-level
3731 Makefile.
3732 (INSTALLABLES): Split this into two lists - INSTALLABLES and
3733 INSTALLABLE_SCRIPTS.
3734 (INSTALLABLE_SCRIPTS): New list.
3735 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
3736 (${archlibdir}): The scripts to be installed live in the source
3737 tree, not in the object tree.
3738 (test-distrib): Note that the data file lives in the source tree,
3739 not the object tree.
3740 (GETOPTDEPS): Note that getopt.h lives in the source tree.
3741 (all other targets): Change references to source files to use
3742 ${srcdir}, except for config.h, which lives in the object dir.
3743 (timer.o): Note that this depends on ../src/config.h.
3744 * make-docfile.c (main): Add a -d option, to tell it where to find
3745 the source files.
3746 * test-distrib.c (main): Take the name of the distribution file to
3747 test from the command line.
3748
3749 * timer.c: Fix mispellings of get_date function's name.
3750
37511993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
3752
3753 * etags.c (main):
3754 Don't require that there be input files if -i switches were given.
3755
37561993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3757
3758 The GNU coding standards specify that CFLAGS should be left for
3759 users to set.
3760 * Makefile.in (CFLAGS): Put this in the "things configure might
3761 edit" section, and have it default to -g.
3762 (ALL_CFLAGS): New variable, set to all the flags which should be
3763 passed to compilations. Replace all other uses of CFLAGS with
3764 ALL_CFLAGS.
3765 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
3766
3767 * Makefile.in (DEFS): Remove this; it's always just going to be
3768 "-DHAVE_CONFIG_H -Demacs".
3769
37701993-05-03 Paul Eggert (eggert@twinsun.com)
3771
3772 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
3773 /[/]/, so change it to /[\/]/. This should work on all
3774 Posix-compliant awks. It's slightly wrong with traditional awk,
3775 since it matches \ too, but that's a minor problem compared to awk
3776 syntax errors.
3777
37781993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3779
3780 * Makefile.in (ALLOCA): New variable, whose value we should
3781 inherit from the top-level makefile.
3782 (etags, ctags): Include ALLOCA in the list of object files that
3783 these executables depend on and link.
3784
37851993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3786
3787 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
3788
37891993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
3790
3791 * make-docfile.c (write_c_args): Print an argument named "defalt"
3792 as "default".
3793
37941993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3795
3796 * Makefile.in (C_SWITCH_SYSTEM): New variable.
3797 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
3798 compiler.
3799
38001993-03-22 Francesco Potorti` (pot@cnuce.cnr.it)
3801
3802 * etags.c (YACC): flag added to c_ext.
3803 (c_ext): no more a synonim for c_ext&C_PLPL because of YACC.
3804 (find_entries): consistently use streq when reasonable.
3805 (find_entries): a .y file is a yacc file.
3806 (get_C_stab): c_ext becomes c_ext&C_PLPL.
3807 (C_entries): logical cplpl means c_ext&C_PLPL.
3808 (C_entries): logical yacc_rules means we are after the first %%.
3809 (C_entries): added logic for yacc files.
3810
38111993-03-16 Francesco Potorti` (pot@cnuce.cnr.it)
3812
3813 * etags.c (C_entries): ':' case moved to the second switch.
3814 (C_entries): do not examine token if structdef==scolonseen.
3815 (consider_token): structtag set to null string for enum.
3816
38171993-03-12 Francesco Potorti` (pot@cnuce.cnr.it)
3818
3819 * etags.c (GET_COOKIE): and related macros removed.
3820 (logical): is now int, no more a char.
3821 (reg): define deleted.
3822 (isgood, _gd, notgd): deleted.
3823 (gotone): deleted.
3824 (TOKEN): member linestart removed.
3825 (linepos, prev_linepos, lb1): deleted.
3826 (main): call initbuffer on lbs array instead of lb1.
3827 (init): removed the initialisation of the logical _gd array;
3828 (find_entries): a .sa suffix means assembler file.
3829 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
3830 All C state machines rewritten.
3831 (C_entries): complete rewrite.
3832 (condider_token): complete rewrite.
3833 (getline): deleted.
3834
38351993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
3836
3837 * etags.c (C_entries): Added the quotednl logical variable.
3838 Used for parsing of #define's spanning multiple lines.
3839
38401993-02-23 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
3841
3842 * etags.c (C_entries): Save the definedef status even when a
3843 newline is met inside a string.
3844
38451993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
3846
3847 * Makefile.in (EXECUTABLES): added rcs-checkin.
3848
3849 * Makefile.in (unlock, relock): New productions.
3850
38511993-03-16 Paul Eggert (eggert@twinsun.com)
3852
3853 * rcs2log: Some awks don't understand "\r". Code around this.
3854 Unfortunately this requires putting a carriage return in the
3855 source code. Don't assume that rlog will tolerate times like
3856 `10:10:60'; RCS 5.7 won't allow this.
3857
38581993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3859
3860 * timer.c (main): Set the ownership of the stdin file descriptor
3861 to the current process. Print error messages if either of the
3862 fcntl's fails.
3863
3864 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
3865 ../src/config.h), not void.
3866
38671993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3868
3869 * b2m.c (main): Don't exit upon reading a blank line.
3870
38711993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
3872
3873 * etags.c (C_entries): New local variable quotednl. Used for
3874 parsing of #define's spanning multiple lines.
3875
3876 * etags.c (C_entries): Save the definedef status
3877 even when a newline is met inside a string.
3878
38791993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3880
3881 * timer.c (notify): Initialize waitfor properly.
3882
38831993-02-22 Francesco Potorti` (pot@CNUCE.CNR.IT)
3884
3885 * etags.c (C_entries): Don't reset definedef when a newline inside a
3886 comment is met.
3887
38881993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3889
3890 * etags.c (find_entries): If filename ends in .f or .for,
3891 don't try anything but Fortran.
3892
38931993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
3894
3895 * timer.c (notify): Flush stdout after writing message to avoid lossage
3896 on terminals.
3897
3898 (notify): Also, write a newline after the token.
3899
39001992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3901
3902 * Makefile.in (exec_prefix): New variable.
3903 (bindir, libdir): Use it instead of `prefix'.
3904
3905 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
3906
3907 * Makefile.in (libdir): Default to ${prefix}/lib.
3908 (archlibdir): Adjusted to match.
3909
3910 * Makefile.in (distclean): Don't delete backup or autosave files.
3911 (extraclean): Like realclean, but does delete backup and autosave
3912 files.
3913
3914 * Makefile.in (realclean): Ignore errors from rm.
3915
3916 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
3917 that doesn't exist anymore.
3918
39191992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3920
3921 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
3922 described in the top-level Makefile.
3923 (UTILITIES): Add make-path to the list of utility programs.
3924 (../arch-lib): Replaced by the ${archlibdir} target, which places
3925 the executables in their permanent home.
3926 (install, install.sysv, install.xenix): Consolidated into one
3927 target which should work under all circumstances, modulo a few
3928 ignored error messages.
3929
3930 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
3931 a different number of arguments than other DEFVARs, recognize it
3932 specially, and expect the right number of commas.
3933
39341992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3935
3936 * make-path.c: New program, to help with the installation process.
3937 * Makefile.in (make-path): New target.
3938
3939 * make-path.c (touchy_mkdir): Remove debugging output.
3940
39411992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3942
3943 * Makefile.in (getdate.o): Added explicit target for this, so we
3944 can indicate that it depends on ../src/config.h.
3945
39461992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3947
3948 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
3949 instead of CFLAGS.
3950 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
3951
39521992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3953
3954 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
3955 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
3956 that system.
3957
3958 * Makefile.in (arch-lib): Give rm the `-f' option.
3959
39601992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3961
3962 * make-docfile.c (write_c_args): Rewritten to correctly print
3963 &optionals before the first identifier, but after the first paren.
3964 This code used to just wait for commas or spaces; now it notices
3965 identifier boundaries.
3966
39671992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3968
3969 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
3970
39711992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3972
3973 * make-docfile.c (write_c_args): Print the argument lists properly
3974 when the first argument is optional.
3975
39761992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3977
3978 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
3979 Redefine @item. Set catcode of +.
3980
39811992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3982
3983 * emacsclient.c (main): Set IPC_CREAT in msgget call.
3984
39851992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3986
3987 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
3988 (TEX_decode_env): Make `tab' one element longer.
3989
39901992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3991
3992 * etags.c (PF_funcs): Recognize the "entry" keyword.
3993
39941992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3995
3996 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
3997
39981992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3999
4000 * timer.c (events): Rather than having slots marked as in use or
4001 out of use by the `token' field, keep all pending events at the
4002 beginning of the array. When we delete an event in the middle of
4003 the array, we move the last event into its place.
4004 (num_events): New variable.
4005 (schedule): It is now cheaper to find a free event slot;
4006 events[num_events] is the first free slot.
4007 (notify): Scan events[0 .. num_events-1], instead of the whole
4008 array. When an event fires, move the last event in the array into
4009 its spot. Use num_events to determine whether or not there are
4010 any pending events, not wait_for.
4011 (getevent): Deleted unused variable `ep'.
4012 (sigcatch): It's now easier to find all the active events.
4013 (main): Initialize num_events.
4014
4015 * etags.c: Rather than fret about which systems have index and
4016 which systems have strchr, and how to tell the difference between
4017 them, we just write out our own versions. Big deal.
4018 (index, rindex): Extern declarations removed.
4019 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
4020 (etags_index, etags_rindex): New declarations.
4021 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
4022 TEX_getit, substr): Use the etags_*index functions, rather than
4023 the native *index functions.
4024 (rindex, index): Renamed to etags_rindex and tags_rindex, and
4025 made them unconditionally defined, rather than having them depend
4026 on NEED_*INDEX.
4027
4028 * etags.c (savenstr): Add declaration for this at top of file.
4029 (TEX_decode_env): Don't declare it local to this function.
4030
4031 * b2m.c: #include "../src/config.h", so we can test for the USG
4032 macro, and decide whether to include <string.h> or <strings.h>.
4033 * Makefile.in: Note that b2m.c depends on ../src/config.h.
4034
40351992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4036
4037 * timer.c: Reformatted according to the GNU coding standards.
4038 Removed arbitrary limits on the number of events queued and the
4039 length of the tokens used to identify them.
4040 Removed casts to (void).
4041 Removed debugging printfs; they clutter the code, and the need
4042 can be better filled using a real debugger.
4043
40441992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4045
4046 * timer.c: Installed new version from Eric Raymond; this is more
4047 portable, since it doesn't try to use SIGIO.
4048
40491992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4050
4051 * emacsclient.c (main): If we can't find the socket in this
4052 person's home directory, print a message which asks if they've
4053 started the server, instead of just printing the message from
4054 sys_errmsg; Cygnus finds that people are much less confused by
4055 this.
4056
40571992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4058
4059 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
4060 so that index and rindex get defined, why don't we actually
4061 control index and rindex using symbols called "NEED_INDEX" and
4062 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
4063 little more readable than defining something whose name implies
4064 that it's not?
4065
40661992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4067
4068 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
4069 distribution:
4070 Miscellaneous doc fixes.
1c478461 4071 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
4072 (scan_lisp_file): Instead of using long hairy strings of ifs, call
4073 read_lisp_symbol and then see what we got. Call skip_white
4074 instead of writing out a loop to do its job. Correctly extract
4075 docstrings from "defmacro" declarations.
4076
40771992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4078
4079 * movemail.c (strcpy): Declare this to return char *.
4080
40811992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4082
4083 * etags.c (C_entries): When we find a C++ comment, do actually
4084 skip to the end of the line; do a 'break' instead of a 'continue'.
4085
40861992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4087
4088 * etags.c (getit): Add missing parenthesis to expression which
4089 decides if this token is an identifier.
4090
40911992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
4092
4093 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
4094
40951992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4096
4097 * etags.c (put_entries): Always put space between name and line num.
4098
40991992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
4100
4101 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
4102 warning.
4103 (LEVEL_OK_FOR_FUNCDEF): Ditto.
4104
41051992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4106
4107 * make-docfile.c (write_c_args): Pass both arguments to putc.
4108
41091992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
4110
4111 * etags.c (C_entries): Fixed reading of "..." strings.
4112 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
4113 the C library source.
4114
4115 * etags.c (C_entries): When we see a backslash inside a quoted
4116 string, skip to the next character. This allows us to correctly
4117 deal with strings containing quotes.
4118
41191992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4120
4121 * make-docfile.c (write_c_args): Print the C argument names as
4122 they would be written in Elisp; print '_' as '-'.
4123
41241992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4125
4126 * movemail.c [POP]: Get user name via getpwuid.
4127
41281992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4129
4130 * Makefile.in: flags in CC invocations rearranged for no reason.
4131
41321992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4133
4134 * etags.c (print_help): Remember not to imbed raw newlines in
4135 strings - end the lines with `\n\'.
4136
41371992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4138
4139 * timer.c (getevent): Removed declaration of memcpy; since
4140 different systems have different return types, and we're not even
4141 using the return type anyway, it wasn't doing us any good.
4142
41431992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4144
4145 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
4146 type of this function.
4147
41481992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4149
4150 * ChangeLog: Since the old etc contents have been split into etc
4151 and lib-src, the old etc's ChangeLog has been duplicated in the
4152 new etc and lib-src. That means that each contains complete and
4153 coherent information, although each contains extraneous
1c478461 4154 information.
362bc2da
DL
4155
41561992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4157
4158 * lib-src/etags.c: "--no-warning" option renamed to "--no-warn",
4159 to be consistent with other GNU programs, like makeinfo.
4160
4161 * lib-src/Makefile: Renamed to Makefile.in; the configure script
4162 will edit this to produce Makefile.
4163
41641992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4165
4166 * etags.c (print_help, print_version): New functions.
4167 (main): Options added to support them.
4168
4169 * etags.c (longopts): New array of long names for the options.
4170 (main): Recognize them.
4171
41721992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4173
4174 * etags.c (C_entries): Removed comment saying that \" in a string
4175 isn't recognized as magic, because it is correctly handled.
4176
4177 * getopt.c, getopt.h: New files, from GNU C library.
4178 * etags.c: Rewritten to use getopt.
4179 #include "getopt.h".
4180 (file_num): Variable deleted; its role is now played by getopt's
4181 optind.
4182 (main): Argument processing loop rewritten to call getopt to get
4183 next option. Options which take parameters (-o and -i) rewritten
4184 to get parameter from optarg instead of argv[1]. Filename
4185 preprocessing loop and update command changed similarly.
4186 * Makefile (etags, ctags): Depend on and link with getopt.h,
4187 getopt.o, and getopt1.o.
4188 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
4189
4190 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
4191 is non-zero.
4192
4193 (main): In the argument processing loop, the 'goto next_arg'
4194 statements are breaking out of the switch statement in exactly the
4195 same way that a simple 'break' statement would; replace the gotos
4196 with breaks, and remove the label.
4197
41981992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4199
4200 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
4201 (consider_token): Move next_token_is_func to global.
4202
42031992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4204
4205 * Makefile: Conform with GNU coding standards:
4206 (mostlyclean): New target, synonymous with clean.
4207 (TAGS, check): New targets.
4208 (INSTALL, INSTALLFLAGS): New variables.
4209
42101992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4211
4212 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
4213 `config.emacs' to `configure'.
4214
4215 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
4216 * etc/MACHINES: Same.
4217
42181992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4219
4220 * movemail.c (main): Allow tempname to be as long as necessary,
4221 instead of limiting it to 39 characters.
4222
4223 * movemail.c (main): Move declaration of buf from top of function
4224 to local block surrounding the copy loop. This makes it less
4225 likely to be confused with the buf used by the code which checks the
4226 permissions on outname's directory.
4227
42281992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
4229
4230 * SERVICE: Remove my entry.
4231
42321992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
4233
4234 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
4235 hardcoded -g.
4236
4237 * movemail.c (xmalloc): Return char *, not int.
4238 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
4239 that is off by default -- normally don't unlink the mail spool
4240 file, just empty it. Pass creat mode 0600, not 0666.
4241
dff28924 42421992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
4243
4244 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
4245 (all): Instead of here.
4246 (install): Don't use the -s option, since people need symbols to
4247 debug code.
4248
dff28924 42491992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
362bc2da
DL
4250
4251 * etags-vmslib.c (fn_exp): Add type cast.
4252
42531992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4254
4255 * movemail.c: Changes in comments.
4256
dff28924 42571992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
4258
4259 * Makefile: Make the distclean target erase the DOC files from
4260 ../share-lib and the executables from ../arch-lib.
4261
dff28924 42621992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
4263
4264 * emacsclient.c: #include <sys/stat.h>
4265 (main): Do declare statbfr.
4266
dff28924 42671991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
4268
4269 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
4270 for the socket, depending on SERVER_HOME_DIR.
4271 If using /tmp, put host name in the socket name.
4272
4273 * movemail.c (pfatal_and_delete): New function.
4274 (main, popmail): Use it.
4275 (popmail): Close output before deleting messages.
4276 Check for error on close and on fsync.
4277 Use `fatal' where appropriate.
4278 (main): Remove (void).
4279
4280 * aixcc.lex: New file. Not officially part of Emacs.
4281 * Makefile: Rules for that.
4282
dff28924 42831991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
362bc2da
DL
4284
4285 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
4286
4287 * etags.c (main): Properly cast call to alloca that initializes
4288 included_files.
4289
42901991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
4291
4292 * etags.c (files_are_tag_tables): Remove global var.
4293 (process_file): Don't test it. Also remove hack checking for a
4294 file named "TAGS".
4295 (main): -i now takes an arg which is the name of a file to include.
4296 Collect these names and emit include tags for them after processing
4297 all the argument files.
4298
dff28924 42991991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
4300
4301 * wakeup.c: Terminate if parent goes away.
4302
dff28924 43031991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
4304
4305 * etags.c (C_entries): Process token before handling end of line.
4306 When inner loops reach end of line, just back up.
4307 Let the real end of line processing happen in just one place.
4308 (consider_token): Likewise.
4309
dff28924 43101991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
362bc2da
DL
4311
4312 * etags.c (TEX_mode): Skip comments while scanning the text to see
4313 which escape character this file uses.
4314
dff28924 43151991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
4316
4317 * emacsserver.c [USG]: Terminate if msgrcv fails.
4318
dff28924 43191991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4320
4321 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
4322
dff28924 43231991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
4324
4325 * make-docfile: Find the arguments to a C function correctly,
4326 by not ignoring the character that read_c_string returns. Don't
4327 even try to find argument names for functions that take MANY
4328 or UNEVALLED arguments, since they're a figment of the docstring's
4329 imagination.
4330
dff28924 43311991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
4332
4333 * make-docfile: Read the .elc files generated by the new byte
4334 compiler.
4335
dff28924 43361990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4337
4338 * refcard.tex: Use cm fonts, not am, in multi-column mode.
4339
dff28924 43401990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4341
4342 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
4343
dff28924 43441990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4345
4346 * Makefile (install*): No need to install wakeup.
4347
dff28924 43481990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4349
4350 * Makefile (install*): Install emacsclient like etags.
4351
dff28924 43521990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4353
4354 * movemail.c (error): Handle 3 args.
4355 (main): Don't check input access if using pop.
4356
dff28924 43571990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4358
4359 * etags.c (find_entries): Check for numbers after Scheme suffix.
4360
dff28924 43611990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4362
4363 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
4364
dff28924 43651990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4366
4367 * Makefile (nemacstool, xvetool): New targets.
4368
dff28924 43691990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4370
4371 * emacsclient.c: Include errno.h and define related variables.
4372
dff28924 43731990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4374
4375 * emacsclient.c: Change usage message.
4376
dff28924 43771990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
4378
4379 * emacs.1: Add break before -nw option.
4380
dff28924 43811990-08-19 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
4382
4383 * qsort.c: Replace with GNU version.
4384
dff28924 43851990-08-14 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
4386
4387 * wakeup.c: New program replacing loadst.c.
4388
dff28924 43891990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4390
4391 * emacsclient.c [USG]: Pass msgsnd only 4 args.
4392
dff28924 43931990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
362bc2da
DL
4394
4395 * etags.c: Rename `flag' variables for what they do instead of
4396 which option character sets them.
4397
dff28924 43981990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4399
4400 * loadst.c (main): Conditional to get load average on Apollo.
4401
dff28924 44021990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da
DL
4403
4404 * emacsserver.c: Set the permission on the socket to 0600.
4405
dff28924 44061990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4407
4408 * emacsclient.c [BSD]: Print clean message for failing getwd.
4409
dff28924 44101990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
4411
4412 * getdate.y: Use the getdate.y from GNU tar for timer.
4413
dff28924 44141990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
362bc2da
DL
4415
4416 * emacsclient.c (main): Don't put brackets around "filename" in
4417 usage message. It isn't optional.
4418
dff28924 44191990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da
DL
4420
4421 * etags.c (getit): Recognize '$' as beginning identifiers.
4422
dff28924 44231990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
4424
4425 * emacsserver.c: Renamed from server.c.
4426 * Makefile: Reference emacsserver rather than server.
4427 * MACHINES: Doc fix for new emacsserver name.
4428
dff28924 44291990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4430
4431 * emacsclient.c: Print program name in error messages.
4432
dff28924 44331990-01-19 David Lawrence (tale@cocoa-puffs)
362bc2da
DL
4434
4435 * timer.c, getdate.y (new files) and Makefile:
4436 Sub-process support for run-at-time in timer.el.
1c478461 4437 Doesn't yet work correctly for USG.
362bc2da 4438
dff28924 44391990-01-10 Jim Kingdon (kingdon@pogo)
362bc2da
DL
4440
4441 * MACHINES: Add HP 300 running BSD.
4442
dff28924 44431990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4444
4445 * yow.c: Dynamically allocate buffer; skip header before random
4446 choice to avoid bias toward first item.
4447
dff28924 44481989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4449
4450 * etags.c (readline): Separate out init of `pend'.
4451
dff28924 44521989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4453
4454 * etags.c: Undo changes relating to isgoodhdr.
4455
dff28924 44561989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4457
4458 * etags.c (isgoodhdr): New macro.
4459 (_gdh, notgdh): New variable used by that.
4460 (init): Initialize _gdh.
4461 (find_entries): Set header_file.
4462 (consider_token): Use isgoodhdr if in header file.
4463
4464 * etags.c (total_size_of_entries):
4465 Was miscalculating by 1 in rewritten case.
4466
4467 * etags.c (PAS_funcs): One arg to pfnote was missing.
4468
dff28924 44691989-12-05 Joseph Arceneaux (jla@spiff)
362bc2da
DL
4470
4471 * MACHINES: Change for the ULTRIX entry.
4472
dff28924 44731989-11-21 Joseph Arceneaux (jla@spiff)
362bc2da
DL
4474
4475 * etags.c (process_file): If file is not regular, return.
4476
dff28924 44771989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4478
4479 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
4480
dff28924 44811989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4482
4483 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
4484 (main): If HAVE_GETLOADAVG, don't call `nlist'.
4485
dff28924 44861989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4487
4488 * etags.c (consider_token): Allow any number of typespec keywords
4489 after `typedef', before new type name.
4490 (enum sym_type): Add st_C_typespec.
4491 (C_create_stab): Put typespec kwds in table.
4492
dff28924 44931989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
4494
4495 * etags.c (main): Don't depend on name invoked by.
4496 If CTAGS is not defined, assume it is ETAGS.
4497
dff28924 44981989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4499
4500 * etags.c (L_funcs): Allow package name in define construct,
4501 as in (foo::defmumble name-defined ...).
4502
dff28924 45031989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4504
4505 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
4506
4507 * Makefile (yow): Depends on ../src/paths.h.
4508
dff28924 45091989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
4510
4511 * etags.c: Fix compilation by moving Pascal after Fortran.
4512
dff28924 45131989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4514
4515 * movemail.c [USG]: Define F_OK, etc., if not found in header.
4516
dff28924 45171989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4518
4519 * hexl.c: New file, supports hexl-mode.
4520
dff28924 45211989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4522
4523 * movemail.c: New compilation flag MAIL_USE_MMDF.
4524
dff28924 45251989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4526
4527 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
4528 * server.c: Likewise.
4529
4530 * make-docfile.c (scan_c_file): Output argument names at end of string.
4531 (write_c_args): New subroutine.
4532
dff28924 45331989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4534
4535 * movemail.c: Report failure of flock.
4536
dff28924 45371989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4538
4539 * etags.c (find_entries): Allow multi-letter extensions for fortran.
4540
dff28924 45411989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4542
4543 * loadst.c: on bsd4.3, use gettimeofday instead of CPUSTATES.
4544
dff28924 45451989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4546
4547 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
4548
4549 * emacsstool.1: update to document environment variables.
4550
dff28924 45511989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4552
4553 * etags.c (PAS_funcs): New function by Mosur Mohan.
4554
4555 * movemail.c: On sysv, include unistd.h.
4556
dff28924 45571989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4558
4559 * b2m.c: New file.
4560
dff28924 45611989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4562
4563 * etags.c: Prolog support from Sunichirou Sugou
4564
dff28924 45651989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4566
4567 * Makefile (clean): New target.
4568
dff28924 45691989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4570
4571 * fakemail.c (put_line): Break header lines at 79 cols.
4572
dff28924 45731989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4574
4575 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
4576 multiple tags per line.
4577
dff28924 45781989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4579
4580 * movemail.c: Check access before doing real work.
4581 Check that outfile is in a writable directory.
4582 On fatal error, delete the lock file.
4583
dff28924 45841988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
362bc2da
DL
4585
4586 * env.c: Add decl for my-index
4587 * etags.c (file-entries): .oak => scheme
4588
dff28924 45891988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4590
4591 * movemail.c: Use `access' to check input and output files.
4592
dff28924 45931988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4594
4595 * emacsclient.c (main): Ignore all of CWD before first slash.
4596
dff28924 45971988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4598
4599 * etags.c (readline): Double linebuffer->size outside the xrealloc.
4600
dff28924 46011988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4602
4603 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
4604 * server.c: chmod the socket to 0700.
4605
dff28924 46061988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4607
4608 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
4609 (add_field): Delete comments and turn `<', `>' to spaces
4610 in header lines.
4611 (USE_FAKEMAIL): New customization macro says to make fakemail
4612 not be a no-op even on a BSD system.
4613
dff28924 46141988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4615
4616 * etags.c (consider_token): Skip comments just like whitespace.
4617 Notice `struct', etc. and set strtag for those tokens.
4618 Return 1 for the token following `struct' if an open-brace follows it.
4619 (C_entries): Special handling of token following `struct'
4620 needed because we have probably advanced to the following line
4621 to find the `{'.
4622 (main): New option `T' sets tflag and strflag.
4623 Set both of them by default if eflags.
4624
dff28924 46251988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4626
4627 * movemail.c: Do fsync before closing output.
4628
dff28924 46291988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
362bc2da
DL
4630
4631 * movemail.c: Better error message when can't create tempname.
4632 This file needs a great deal of extra error-checking and lucid reporting...
4633
dff28924 46341988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4635
4636 * etags.c: Support assembler code for .s and .a files.
4637 (getit): Allow underscore in a tag.
4638
dff28924 46391988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4640
4641 * movemail.c: Close output and check errors before deleting input.
4642
dff28924 46431988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
4644
4645 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
4646 whether to prefix it. Handle line number args.
4647
dff28924 46481988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
362bc2da
DL
4649
4650 * etags.c (main): default setting of eflag was backwards.
4651
dff28924 46521988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4653
4654 * etags.c: New option -i. -f renamed -o.
4655 `-' as input file means read input file names from stdin.
4656 -i spec'd or input file named TAGS means the input file is another
4657 tag table; output an "include" line for it.
4658
dff28924 46591988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4660
4661 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
4662 New targets install, install.sysv, install.xenix.
4663 This makefile is now responsible for installing executables
4664 and documentation from this directory into system directories.
4665
dff28924 46661988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
362bc2da
DL
4667
4668 * server.c, emacsclient.c (main): Compute socket name from euid.
4669
dff28924 46701988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4671
4672 * emacsclient.c: Args like +DIGITS are passed through unchanged.
4673
dff28924 46741988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4675
4676 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
4677 * emacsclient.c: Likewise.
4678 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
4679
dff28924 46801988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4681
4682 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
4683 (istoken) New string-comparison macro.
4684 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
4685
dff28924 46861988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4687
4688 * etags.c: Changes for VMS.
4689 Always define ETAGS on VMS.
4690 Define macros GOOD and BAD for success and failure exit codes.
4691 (begtk, intk): Allow `$' in identifiers
4692 (main): Don't support -B, -F or -u on VMS.
4693 Alternate loop for scanning filename arguments.
4694 (system): Delete definition of this function.
4695
4696 * etags-vmslib.c (system): Undefine this; VMS now provides it.
4697
dff28924 46981988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4699
4700 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
4701 around include of param.h. (Like fns.c.)
4702
dff28924 47031988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
4704
4705 * loadst.c (load_average): Move load-average code to this new fn.
4706 Add conditionals to compute load ave on UMAX.
4707
dff28924 47081988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
4709
4710 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
4711 with opposite sense.
4712
dff28924 47131988-05-13 Chris Hanson (cph@kleph)
362bc2da
DL
4714
4715 * emacsclient.c: Delete references to unused variable `out'. This
4716 caused a bus error when used under hp-ux.
4717
dff28924 47181988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
4719
4720 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
4721
dff28924 47221988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
362bc2da
DL
4723
4724 * etags.c (find_entries): `.t' or `.sch' means scheme code.
4725
dff28924 47261988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
4727
4728 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
4729
dff28924 47301988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
4731
4732 * movemail.c: #undef close, since config can #define it on V.3.
4733 * emacsclient.c, fakemail.c, loadst.c, server.c: likewise.
4734
dff28924 47351988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
4736
4737 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
4738 invalid escape sequences such as `\{'.
4739
4740 * loadst.c: Add `sequent' conditional for file dk.h.
4741
dff28924 47421988-03-20 Richard M. Stallman (rms@wilson)
362bc2da
DL
4743
4744 * server.c [not BSD and not HAVE_SYSVIPC]: fix error message.
4745
4746 * loadst.c (main) [XENIX]: use /usr/spool/mail, not /usr/mail.
6922b018
KH
4747
4748;; Local Variables:
d19249e7 4749;; coding: iso-2022-7bit
6922b018 4750;; End:
2a34a036
GM
4751
4752 Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001
4753 Free Software Foundation, Inc.
4754 Copying and distribution of this file, with or without modification,
4755 are permitted provided the copyright notice and this notice are preserved.