Include "config.h", not <../src/config.h>.
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
69bfc389
PJ
12001-12-19 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
2
e69233c2
PJ
3 * emacsclient.c: Include "config.h", not <../src/config.h>.
4 (main): Parenthesize assignment when used as truth value to
5 prevent gcc warnings.
6
69bfc389
PJ
7 * ebrowse.c: Include stdlib.h and string.h conditionally.
8
e4e34e31
EZ
92001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
10
11 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
12
ffb7c9c6
PJ
132001-12-18 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
14
15 * test-distrib.c: Fix previous change.
16
fb5aa7ac
DL
172001-12-18 Dave Love <fx@gnu.org>
18
19 * test-distrib.c: Conditionally include fcntl.h.
20
21 * fakemail.c: Include "config.h", not <../src/config.h>.
22 (_XOPEN_SOURCE): Define as 500.
23
24 * emacsserver.c: Include "config.h", not <../src/config.h>.
25
26 * cvtmail.c: Include config.h, stdlib.h.
27 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
28
29 * yow.c: Conditionally include various headers. Use "epaths.h",
30 not <../src/epaths.h>.
31 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
32
e94a3679
FP
332001-12-12 Francesco Potorti` <pot@gnu.org>
34
35 * etags.c (PHP_functions): New function by Diez B. Roggisch,
36 heavily adapted by me, for parsing PHP.
37 (LOOKING_AT): New macro.
38 (Perl_functions, Python_functions, PHP_functions)
39 (Scheme_functions, Texinfo_nodes): Use it.
40 (Perl_functions): Use strneq.
41 (prolog_pred): Renamed to prolog_pr.
42 (prolog_pr): Recognise Prolog rules (thanks to Geert Kloosterman)
43 in addition to predicates.
44 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
45 unmodified compile, as Cygwin's regex.h is incompatible with us
46 (thanks to Markus Hoenicka).
47 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
48
34e39c95
RS
492001-12-11 Richard M. Stallman <rms@gnu.org>
50
51 * Makefile.in (clean): Don't delete ../etc/DOC*.
52
296071e7
PJ
532001-12-11 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
54
55 * COPYING: Moved back.
56
76054cc8
AI
572001-11-30 Andrew Innes <andrewi@gnu.org>
58
e94a3679
FP
59 * makefile.w32-in (FACE_SUPPORT):
60 (MOUSE_SUPPORT):
61 (FLOAT_SUPPORT):
62 (WINNT_SUPPORT):
76054cc8
AI
63 (lisp): Reference .el files instead of .elc files, to simplify
64 bootstrapping.
65 ($(DOC)): Change dependency to just `make-docfile'.
66
0142178a
PJ
672001-11-29 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
68
69 * COPYING: Removed.
70
e8d6a09b
PE
712001-11-28 Paul Eggert <eggert@twinsun.com>
72
73 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
74
75 The following changes are derived from suggestions by Bob Chapman
76 <rechapman@compuserve.com>.
77
78 * rcs2log (printlogline): Also allow tab and newline to separate
79 '(function):' from the rest of a comment.
80 (reformat the sorted log entries): Require date and author to
81 match the clumpname.
82
9a190096
GM
832001-11-16 Gerd Moellmann <gerd@gnu.org>
84
85 * ebrowse.c (matching_regexp): Escape '\\'.
86
8ec1b917
PJ
872001-11-15 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
88
89 * Makefile.in: Add support for --program-prefix, --program-suffix
90 and --program-transform-name options.
91
6d8f7d5d
RS
922001-11-03 Richard M. Stallman <rms@gnu.org>
93
94 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
95
96 * movemail.c (popmail): Always pass two args to `error'.
97
84e70f78
KR
982001-10-24 Ken Raeburn <raeburn@gnu.org>
99
100 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
101 -lhesiod and maybe -lresolv.
102 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
103 support if it's available.
104
386ca361
MB
1052001-10-21 Miles Bader <miles@gnu.org>
106
a3b10252
MB
107 * make-docfile.c (struct rcsoc_state): New type.
108 (read_c_string_or_comment): Add SAW_USAGE
386ca361 109 parameter, and implement scanning for a `usage:' keyword.
a3b10252
MB
110 Use a variable of type `rcsoc_state' to hold most of our state.
111 (put_char): Add STATE parameter, and remove all other parameters
112 except CH. Use STATE to get access to all needed state.
113 (scan_keyword_or_put_char): New function.
386ca361
MB
114 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
115 Don't output a usage-string if there was one in the doc-string.
116
71431a0e
GM
1172001-10-20 Gerd Moellmann <gerd@gnu.org>
118
6aa97356 119 * (Version 21.1 released.)
71431a0e 120
37a9305e
PJ
1212001-10-19 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
122
123 * b2m.c: Properly spell the name of Emacs.
124
945220bd
MB
1252001-10-17 Miles Bader <miles@gnu.org>
126
127 * make-docfile.c (put_char): New function.
128 (read_c_string_or_comment): Strip trailing spaces and newlines.
129
14242528
MB
1302001-10-16 Miles Bader <miles@gnu.org>
131
132 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
133 comments [with `doc:' keyword prefix].
134
9f5eb4a3
GM
1352001-10-15 Gerd Moellmann <gerd@gnu.org>
136
137 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
138 in a C doc comment.
139
e641b454
GM
1402001-10-13 Gerd Moellmann <gerd@gnu.org>
141
142 * make-docfile.c (read_c_string_or_comment): Renamed from
143 read_c_string. Add parameter COMMENT. Read C-style comments.
144 (scan_c_file): Handle doc strings in C comments.
145
967d7793
AI
1462001-10-12 Andrew Innes <andrewi@gnu.org>
147
148 * makefile.nt (ALL): Do not include fakemail.
149
150 * makefile.w32-in (install): Do not copy fakemail.
151
d682756a
JR
1522001-10-10 Jason Rumney <jasonr@gnu.org>
153
154 * makefile.w32-in (ALL) Do not include fakemail.
155
156 * makefile.nt (install) Ditto.
157
14a3dff7
GM
1582001-10-09 Gerd Moellmann <gerd@gnu.org>
159
160 * emacsserver.c (main): Cast geteuid in sprintf to int.
161 From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
162
163 * emacsclient.c (main): Cast isdigit() argument to unsigned char.
164 From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
165
f98d41f5
PJ
1662001-10-07 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
167
168 * profile.c: Include config.h, not ../src/config.h.
169 Include systime.h, not ../src/systime.h.
170
ab952a4f
GM
1712001-10-05 Gerd Moellmann <gerd@gnu.org>
172
173 * Branch for 21.1.
dff28924 174
12c64503
GM
1752001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
176
177 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
178 ALIASEE to help work with namespace aliases.
179 (struct sym): Remove struct member NAMESP_ALIASES.
180 (namespace_alias_table): New variable.
181 (make_namespace): Add parameter CONTEXT.
182 (check_namespace): New function.
183 (find_namespace): Add parameter CONTEXT.
184 (check_namespace_alias): New function.
185 (register_namespace_alias): Change type of parameter
186 OLD_NAME. Search for already defined alias in
187 NAMESPACE_ALIAS_TABLE.
188 (check_namespace): New function.
189 (enter_namespace): Call find_namespace with CONTEXT parameter.
190 (match_qualified_namespace_alias): New function.
191 (parse_qualified_ident_or_type): Fixed typo in comment. While
192 parsing qualified ident or type update namespace context and
193 restore it on exit.
194 (parse_qualified_param_ident_or_type): Fixed typo in comment.
195 (globals): Changed handling of namespace aliases.
196 (version): Added year 2001.
197
990e1190
FP
1982001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
199
200 * etags.c (analyse_regex): If regex_arg is NULL, return
201 immediately after a call to free_patterns.
202
f2e7e23e
AS
2032001-09-05 Paul Eggert <eggert@twinsun.com>
204
205 * rcs2log (Help, mainline code): Add new option -L FILE.
206 (Copyright): Update year.
207 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES,
208 LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
209 C locale.
210 (mainline code): Handle nonstandard -u option differently, by
211 transforming it to standard form. Check for "Working file: ", not
212 "Working file:". Allow file names with spaces.
213 (SOH, rlogfile): New shell vars.
dff28924 214 (rlogout): Remove. Its old functionality is mostly migrated to
f2e7e23e
AS
215 rlogfile.
216
217 Append ';;' to the last arm of every case statement, for
218 portability to ancient broken BSD shells.
219
220 (logins): Fix bug; was not being computed at all, lowering
221 performance.
222 (pository): New var. This fixes some bugs where repositories are
223 remote, or have trailing slashes.
224 (authors): $llogout is never an empty shell var, so don't worry
225 about that possibility.
dff28924 226 (printlogline, mainline code): Fix bug with SOH's being put into
f2e7e23e 227 the output.
dff28924 228
75c911eb
EZ
2292001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
230
231 * ebrowse.c (SEEK_END): #define if not defined by system headers.
232 Suggested by Dave Love <d.love@dl.ac.uk>.
233
5ae10f4a
EZ
2342001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
235
236 * makefile.nt (lisp): Synchronize with src/Makefile.in.
237 * makefile.w32-in (lisp): Ditto.
238
0e4011d8 2392001-07-25 Juanma Barranquero <lektu@terra.es>
e743f599
GM
240
241 * grep-changelog (parse_changelog): Remove unused local variable.
242
243 * grep-changelog (main): Add new option --reverse.
244 (print_log): Use it.
245 (parse_changelog): Use it.
246
3c88ae74
GM
2472001-07-20 Gerd Moellmann <gerd@gnu.org>
248
249 * grep-changelog: Remove RCS Id keyword.
250
41848daa
GM
2512001-07-20 Juanma Barranquero <lektu@terra.es>
252
6e07c0a5
GM
253 * grep-changelog (parse_changelog): Add tests for defined values
254 to quiet warning from Perl 5.005 or above.
177ab8ce 255 (entry_match_p, header_match_p): Fix handling of null or empty
0e4011d8
GM
256 argument to prevent duplicate headers.
257
258 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
41848daa 259
467f1209
GM
2602001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
261
262 * emacsclient.c (print_help_and_exit): Fix help message for
263 +LINE:COLUMN option.
264
2652000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
990e1190 266
467f1209
GM
267 * emacsclient.c (main): Add support for +LINE:COLUMN command line
268 argument.
269
bb24c64f
GM
2702001-07-16 Gerd Moellmann <gerd@gnu.org>
271
272 * ebrowse.c (main): Check that the output file exists and
273 is non-empty if invoked with `--append'.
274
fa829470
FP
2752001-05-14 Francesco Potorti` <pot@gnu.org>
276
e335b66a
GM
277 * etags.c (add_regex): Reset the whole newly allocated pattern
278 buffer instead of the individual members. It's safer and works
279 with Xemacs.
fa829470 280
e335b66a 281 * etags.1: Markups corrected.
fa829470 282
6da5c7da
GM
2832001-05-08 Gerd Moellmann <gerd@gnu.org>
284
285 * ebrowse.c (enter_namespace): Fix reallocation of
286 namespace_stack.
287
efbecf9d
GM
2882001-05-03 Gerd Moellmann <gerd@gnu.org>
289
290 * ebrowse.c (globals): Fix handling of namespace aliases.
291
f4976ebc
EZ
2922001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
293
294 * etags.c (print_help): Enclose the regexp in the help text
295 example in quotes.
296
23431241
DL
2972001-04-05 Dave Love <fx@gnu.org>
298
299 * emacsclient.c (fail): Don't return a value.
fa829470 300 (main): Cast uid values for sprintf.
23431241 301
476bf681
GM
3022001-04-03 Gerd Moellmann <gerd@gnu.org>
303
b3f6107b
GM
304 * emacsclient.c (fail, main): Don't use implicit int return type.
305
476bf681
GM
306 * b2m.c (main): Always return a value.
307
ef53d75e
GM
3082001-03-02 Gerd Moellmann <gerd@gnu.org>
309
310 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
311 freshly allocated object in *LAST_ID.
312 (read_line): Accept \r\n line endings.
313
425de386
AI
3142001-02-24 Andrew Innes <andrewi@gnu.org>
315
316 * makefile.w32-in: Fix copyright notice.
317
f55ae599
FP
3182001-02-23 Francesco Potorti` <pot@gnu.org>
319
320 * etags.c (enum sym_type): New label st_C_template.
321 (gperf input): Use it for switching to C++ from C.
322 (consider_token): Do it.
c2a642c0
FP
323 (C_entries): Initialise typdefcblev to quiet compilers.
324 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
f55ae599 325
f6839838
AI
3262001-02-22 Andrew Innes <andrewi@gnu.org>
327
328 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
329 VMS header files.
330 ($(BLD)\profile.obj): Ditto.
331
332 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
333 VMS header files.
334 ($(BLD)/profile.$(O)): Ditto.
335
193fba87
AI
3362001-02-05 Andrew Innes <andrewi@gnu.org>
337
338 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
339 invocation of make-docfile, to work with Windows 2000.
340
30526cc6
DL
3412001-01-31 Dave Love <fx@gnu.org>
342
343 * etags.c (in_word_set): Use `static' in definition (for pcc).
344
8f79fe72
FP
3452001-01-31 Francesco Potorti` <pot@gnu.org>
346
347 * etags.c: [NDEBUG] #undef assert and #define it as ((void)0), for
348 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
349 (C_entries): Tag token renamed to still_in_token because sunos4
350 pcc wants to expand it as the token() macro even though it has no
351 arguments.
352
914d7258
AI
3532001-01-30 Andrew Innes <andrewi@gnu.org>
354
355 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
356 bug in the Mingw32 assert.h header file.
357
b28e26be
FP
3582001-01-30 Francesco Potorti` <pot@gnu.org>
359
360 * etags.c: [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
361 #define it for the sake of Xemacs.
362 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
363 HAVE_CONFIG_H. This change only affects a standalone etags.
364 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
365 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
366 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
367 [!HAVE_UNISTD_H]: use defined(WINDOWSNT) instead of the bare
368 WINDOWSNT, as this is the correct way to use it.
369
8c463abe
FP
3702001-01-28 Francesco Potorti` <pot@gnu.org>
371
372 * etags.c: Be capable to parse nested struct-like structures.
373 (structdef, structtag): Struct state machine revisited.
374 (struct tok): Revisited.
375 (cstack, nestlev, instruct): New struct and macros.
376 (pushclass_above, popclass_above, write_classname): New functions
377 for dealing with nested class names, inspired by Mykola Dzyuba.
378 (consider_token, make_C_tag, C_entries): Many changes for dealing
379 with arbitrarily nested structures.
380 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
381 (C_entries): Consider templates in C++.
382 (sym_type): New constant st_C_class for detecting "class" also in
383 C mode.
384 (C_AUTO): New macro for automatic detection of C++.
385 (consider_token): Automatic set C++ mode.
386 (C_entries): New security check for yacc.
387 (print_language_names, print_help): Mention the autodetect
388 feature, do not show help for the -C option, now mostly useless.
389 (C_entries): Tag C++ forward declarations if --declarations.
390 (C_entries): Don't be fooled by things like XDEFUN.
391 (consider_token): Discard asm pseudo function.
392
e26f9ced
EZ
3932001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
394
395 * etags.c: Add a coding: tag.
396
a47b7816
GM
3972001-01-26 Gerd Moellmann <gerd@gnu.org>
398
8c463abe 399 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
a47b7816
GM
400 New variables.
401 (matching_regexp): Use them instead of static variables in
402 function scope.
403
7df65e91 4042001-01-25 Francesco Potorti` <pot@gnu.org>
d22a24fa
FP
405
406 * etags.c (struct tok): Renamed from struct token.
407 (token): Renamed from tok.
408 (structtype): Make it a local variable.
409 [DEBUG]: Use assert.
410 (xrnew): Change the synopsis.
411 (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
412 (grow_linebuffer): Don't call xrnew when not needed.
413 (token): buffer renamed to line.
414 (C_entries): Three calls to inibuffer moved here from main.
415 (C_entries): Removed all references to var methodlen, delete it.
416 (linebuffer_setlen): Was grow_buffer, now also sets len.
417 (consider_token, C_entries, Pascal_functions): Use it.
418 (C_entries): Preventing problems relative to extern "C".
419 (C_entries): Can tag more than one variable or func separated by
420 comma when --declarations is used.
421 (C_entries): More accurate tagging of members and declarations.
422 (yacc_rules): Was global, made local to C_entries.
423 (next_token_is_func): Removed.
424 (fvdef): New constants fdefunkey, fdefunname.
425 (consider_token, C_entries): Use them.
426 (C_entries): Build proper lisp names for Emacs DEFUNs.
427
21c2bbe0
GM
4282001-01-22 Gerd Moellmann <gerd@gnu.org>
429
430 * ebrowse.c (xfree): New function.
431 (member, declaration, globals): Use xmalloc instead of alloca.
432
7df65e91 4332001-01-15 Francesco Potorti` <pot@gnu.org>
83be933c
FP
434
435 * etags.c (print_language_names): Print filenames in addition to
436 suffixes.
437
47df1a5e
EZ
4382001-01-14 Francesco Potorti` <pot@gnu.org>
439
440 * etags.c (get_language_from_langname): Renamed from
441 get_language_from_name.
442 (get_language_from_filename): Renamed from
443 get_language_from_suffix. Now first looks for the complete file
444 name.
445 (language): New member char **filenames.
446 (Makefile_filenames): List of possible filenames for makefiles.
447 (lang_names): Added a NULL member for every entry, added an entry
448 for makefiles.
449 (Makefile_targets): New function, inspired by Assar Westerlund
450 <assar@sics.se>.
451 (Texinfo_nodes): Renamed from Texinfo_fuctions and made
452 it conformant to the style of the rest of the code.
453
291c7e74
GM
4542001-01-13 Gerd Moellmann <gerd@gnu.org>
455
456 * make-docfile.c (write_c_args): Print newlines as spaces.
457
0dac6924
AI
4582001-01-06 Andrew Innes <andrewi@gnu.org>
459
460 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
461 of *.pdb.
462
3e99d3b4
GM
4632001-01-03 Paul Eggert <eggert@twinsun.com>
464
465 * lib-src/rcs2log: Avoid security hole allowing attacker to
466 cause user of rcs2log to overwrite arbitrary files, fixing
467 a bug reported by Morten Welinder.
468
469 Don't put "exit 1" at the end of the exit trap; it's
470 ineffective in POSIX shells.
471
d6bb0c0d
GM
4722001-01-02 Gerd Moellmann <gerd@gnu.org>
473
474 * ebrowse.c (yyerror): Changed to take two arguments. Prototype
475 added. Callers changed.
476
d5c00476 4772001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
315f5865
EZ
478
479 * ebrowse.c (enter_namespace, main): Cast variables to shut up
480 compiler warnings.
481 (yyerror): Change parameter declarations to be of type long, so
482 that they can take pointers on 64-bit platforms.
483
484 * emacsclient.c (main): Remove unused local variable statbfr.
485 (main) <homedir>: Make its declaration conditional on
486 SERVER_HOME_DIR, to avoid compiler warnings.
487
488 * emacsserver.c (main) <homedir>: Make its declaration conditional
489 on SERVER_HOME_DIR, to avoid compiler warnings.
490
491 * fakemail.c (readline): Cast buffer to "long *" to pacify
492 over-zealous compilers.
493
7c89ea61
EZ
4942000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
495
496 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
497
a6768cc5
GM
4982000-12-15 Gerd Moellmann <gerd@gnu.org>
499
500 * ebrowse.c (operator_name): Cast argument of isalpha to
501 unsigned char.
502
503 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
504 Use them throughout instead of ctype functions/macros.
505 (lowcase): Cast to unsigned char.
506 (UPCASE): New macro.
507 (canonicalize_filename): Use UPCASE instead toupper.
508
509 * fakemail.c (get_keyword): Make sure that isspace and
510 similar aren't called with a negative argument.
511
70de49cc
DL
5122000-12-13 Dave Love <fx@gnu.org>
513
514 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
515
4e8b894c
AI
5162000-12-06 Andrew Innes <andrewi@gnu.org>
517
518 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
519 don't know the real version, and I can't seem to get the quoting
520 right in all circumstances.
521
522 * ebrowse.c (VERSION): Provide default definition, like etags.c
523 does, because Windows build can't snarf this from version.el.
524
88257bc8
AI
5252000-11-30 Andrew Innes <andrewi@gnu.org>
526
527 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
528 (install): Ditto.
529
d19249e7
JR
5302000-11-23 Jason Rumney <jasonr@gnu.org>
531
532 * makefile.w32-in: Add targets for ebrowse.exe.
533 (LOCAL_FLAGS): Add -DVERSION flag.
534
7df6adc3
DL
5352000-09-25 Dave Love <fx@gnu.org>
536
537 * sorted-doc.c: Include config.h.
538 [!HAVE_STDLIB_H]: Declare malloc.
539
fe83b953
AI
5402000-09-14 Andrew Innes <andrewi@gnu.org>
541
542 * makefile.w32-in: Revert to Unix line endings.
543
517699ca
DL
5442000-09-04 Dave Love <fx@gnu.org>
545
546 * movemail.c (index, rindex): Prototype conditionally.
547
f8803e97
AI
5482000-09-03 Andrew Innes <andrewi@gnu.org>
549
550 * makefile.w32-in: Change to DOS line endings.
551
f72adc12
EZ
5522000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
553
4034f3a8 554 * movemail.c (toplevel): Remove redundant fcntl.h.
f72adc12
EZ
555 [!F_OK]: Provide default definitions only after including both
556 fcntl.h and unistd.h.
557
f678f592
DL
5582000-08-29 Dave Love <fx@gnu.org>
559
560 * movemail.c: Revert previous change.
561
5b671d04
EZ
5622000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
563
564 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
565
6fa86045
DL
5662000-08-28 Dave Love <fx@gnu.org>
567
568 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
569 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
570
746d9caf
AI
5712000-08-22 Andrew Innes <andrewi@gnu.org>
572
573 * ntlib.h (WIN32): Remove unnecessary definition.
574 (sleep): Make argument unsigned long.
575 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
576
577 * ntlib.c (sleep): Make argument unsigned long.
578
579 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
580
581 * makefile.w32-in: New file.
582
3b541489
EZ
5832000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
584
585 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
586 letter only if it is a drive letter.
587
e5acf0ca
GM
5882000-07-14 Gerd Moellmann <gerd@gnu.org>
589
590 * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and
591 ymalloc.
592
593 * etags.c (xmalloc, xrealloc): Make externally visible, for use
594 by alloca.o.
595
596 * Makefile.in (alloca.o): Add -Demacs so that alloca will use
597 xmalloc.
598
4b92c49a
GM
5992000-07-10 Gerd Moellmann <gerd@gnu.org>
600
601 * ebrowse.c (yylex): Accept string literals with newlines in them.
602 (process_pp_line): Handle case of string literal with newline
603 in it in replacement text, which counts as continuing the
604 replacement text in GNU C.
605
831a6cb0
GM
6062000-07-02 Gerd Moellmann <gerd@gnu.org>
607
608 * ebrowse.c (token_string): Add missing tokens.
609 (parm_list): Handle case of qualified pointers.
610
53245ee2
DL
6112000-06-23 Dave Love <fx@gnu.org>
612
613 * ebrowse.c: Move config.h before other includes (which may use
614 feature tests).
615
dcbf2cd2
JM
6162000-06-14 Jim Meyering <meyering@lucent.com>
617
618 * grep-changelog: Fix typos in comments. Remove trailing blanks.
619
f1c7754a
JR
6202000-06-11 Jason Rumney <jasonr@gnu.org>
621
622 * makefile.nt: Add targets for ebrowse.
623
624 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
625 compare filenames.
626
5f1aea9a
GM
6272000-06-06 Gerd Moellmann <gerd@gnu.org>
628
629 * ebrowse.c (ymalloc): Renamed from xmalloc.
630 (yrealloc): Renamed from xrealloc.
631
5bf244f1
DL
6322000-05-21 Dave Love <fx@gnu.org>
633
634 * movemail.c: Include config.h, not ../src/config.h.
635 (Errmsg): Bump length.
636
637 * pop.c (ERROR_MAX): Increase to 160.
638
ec82fb2f
GM
6392000-05-04 Gerd Moellmann <gerd@gnu.org>
640
641 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
642
5c922ea7
EZ
6432000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
644
645 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]: Define
646 to semi-colon.
647 (FILENAME_EQ): New macro, for comparing file names.
648 (add_member_decl, add_global_decl, add_member_defn): Use
649 FILENAME_EQ.
650 (process_file): Don't assume that fread always reads as many bytes
651 as it was told to (DOS-style CR-LF text files fail this logic).
652 (open_file): Allocate enough space for path->path plus the file
653 name and the slash.
654
6142fdcb 6552000-04-19 Dave Love <fx@gnu.org>
97052c63
DL
656
657 * etags.c (Texinfo_functions): New function.
658 (lang_names): Install it.
659 (Texinfo_suffixes): New variable.
660
cb9215e4
GM
6612000-04-19 Gerd Moellmann <gerd@gnu.org>
662
663 * ebrowse.c (xmalloc, xrealloc): Rewritten.
664 (declaration): Remove parameter IS_EXTERN.
665 (class_definition): Remove unused variable.
666
be0dbdab
GM
6672000-04-09 Gerd Moellmann <gerd@gnu.org>
668
669 * Makefile.in (INSTALLABLES): Add ebrowse.
670 (ebrowse): New target.
671
672 * ebrowse.c: New file.
673
c5aa0fc2
AS
6742000-03-29 Andreas Schwab <schwab@suse.de>
675
676 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
677
d054101f
GM
6782000-03-02 Gerd Moellmann <gerd@gnu.org>
679
680 * etags.c (lisp_suffixes) Add `LSP'.
681
71cbb895
FP
6822000-02-10 Francesco Potorti` <pot@gnu.org>
683
684 * etags.c (iswhite): Redefined not to consider '\0' as white
685 space, and use it throughout in place of isspace, thus preventing a
686 potential signed char to int conversion problem.
687 (MSDOS): #undefine befere redefining
688
7df65e91 6892000-02-04 Francesco Potorti` <pot@gnu.org>
71cbb895
FP
690
691 * etags.c (many functions): Add prototypes.
692
97fa0cc8
DL
6932000-02-10 Dave Love <fx@gnu.org>
694
695 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
696 (erlang_func): Add `static' to definitions to keep pcc happy.
697
7df65e91 6982000-01-31 Francesco Potorti` <pot@gnu.org>
e4100b7f
FP
699
700 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
701 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
702 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
703 (getenv, getcwd): Only declare them if necessary.
704 (EMACS_NAME): New constant macro.
705 (print_version): Use it.
706 (P_) [__STDC__]: Macro for defining function prototypes.
e4100b7f 707
19e262bd 7082000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
709
710 * etags.c [WINDOWSNT]: #include <direct.h>
711
19e262bd 7122000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 713
19e262bd
FP
714 * etags.c (all functions): Made them static.
715 (all functions): Write prototypes.
e4100b7f 716
55e30d2a
RS
7172000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
718
719 * movemail.c (main): Improve error message if can't create lock file.
720
875c1439
GM
7212000-01-28 Eric Hanchrow <offby1@blarg.net>
722
723 * emacsclient.c (socket_status): New function.
724 (main): if $LOGNAME or $USER exist and differ from our euid, look
725 for a socket based on the UID associated with the name.
726
e4936aa9
GM
7272000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
728
729 * emacsclient.c: Add option -a EDITOR and environment variable
730 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
731
791a9087
GM
7321999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us>
733
734 * movemail.c (popmail): Allow mailbox specifications of the
735 form `po:username:hostname'.
736
7df65e91 7371999-11-19 Francesco Potorti` <pot@gnu.org>
e2081362
FP
738
739 * etags.c (_GNU_SOURCE): Define only if undefined.
740 (get_scheme): Declaration deleted.
741 (main): error was called with an integer as second arg, instead of
742 a char pointer.
743 (canonicalize_filename): Bug removed.
744
7451999-11-18 Dave Love <d.love@dl.ac.uk>
746
747 * etags.c (C_entries): Rename label `intoken', avoiding K&R
748 lossage from name clash with macro.
749
b05d3bee
GM
7501999-11-13 Gerd Moellmann <gerd@gnu.org>
751
752 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
753
cb3a6c48
GM
7541999-11-03 Gerd Moellmann <gerd@gnu.org>
755
756 * etags.c (print_help): Change email address to send bugs to.
757
7df65e91 7581999-11-01 Francesco Potorti` <pot@gnu.org>>
1c478461
FP
759
760 * etags.c: Add suffix psw for PSWrap.
761 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
762 (Postscript_functions): Add code for PSWrap.
763 (Scheme_functions): Use local pointer and new get_tag function.
764 (get_tag): New name for old get_scheme.
765 (process_file): Do not free NULL when file does not exist.
766 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
767 (C_entries): Modifications that make --members tag even inside
768 typedefs and C nested structs (one level only).
769 (consider_token): Corrected a bug which prevented tagging of enum
770 constants.
771 (C_stab_entry): Added if, for, while, switch, return as
772 st_C_ignore. This makes it simpler to work when cblev!=0.
773
774 * etags.c (C_entries): tag member function declarations when
775 --declarations is used.
776
777 * etags.c (C_entries, consider_token): C++ `operator' now is
778 tagged in most cases.
779 As before, :: is not recognised if surrounded by spaces.
780
781 * etags.c (relative_filename): Account for DOS file names such
782 that is impossible to make one relative to another.
783
784 * etags.c (sym_type): New st_C_extern tag.
785 (gperf input): Use it for spotting external declarations.
786 (print_help): Document the new behaviour of --declarations.
787 (fvextern): New global variable.
788 (consider_token, C_entries): Use it.
789
790 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
791 (etags_getcwd): Remove test for WINDOWSNT.
792
793 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
794 foo.cgz, foo.cz, etc.
795
796 * etags.c (declarations): New global switch.
797 (longopts): Describe it.
798 (print_help): Document it.
799 (C_entries): Use it.
800 (process_file): Don't process a file twice.
801
802 * etags.c (Fortran_functions): No tags for "procedure".
803
8041999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
805
806 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
807 non-zero, returns a pointer to where the extension begins; callers
808 changed.
809 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
810 were foo.c.gz.
811
7df65e91 8121999-11-01 Francesco Potorti` <pot@gnu.org>
1c478461
FP
813
814 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
815 (fvdev): New constant foperator.
816 (consider_token): Use it to get "operator" in C++.
817 (C_entries): Extend length of operator@ function name.
818 (C_entries): Use foperator when necessary.
819
820 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
821
822 * etags.c (compressor): New struct for compressed files.
823 (get_compressor_from_suffix): New function.
824 (get_language_from_suffix): Use it. Also, semantics changed.
825 (process_file): Consider compressed files, close file.
826 (find_entries): Use different call arg for get_language_from_suffix,
827 don't close file.
828
829 * etags.c (main): Call free_tree.
830 (find_entries): Do not free curfile.
831 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
832 (prolog_pred, erlang_func, substitute): Cast strlen to int when
833 comparing.
834 (canonicalize_filename): Shut up compiler warning.
835 (Perl_functions): Make tag significant.
836
8371999-11-01 Dave Love <d.love@dl.ac.uk>
838
839 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
840 (argument_type): New member at_icregexp.
841 (lc_trans): New global.
842 (main): Fill lc_trans. Process -c args.
843 (add_regex): New arg determining whether to use translation table.
844 (analyse_regex): New arg. Use it for add_regex.
845
7df65e91 8461999-11-01 Francesco Potorti` <pot@gnu.org>
1c478461
FP
847
848 * etags.c (init): Cosmetic change: NULL --> '\0'.
849 (erlang_attribute): Bug corrected (uninitialized variable).
850 (filename_is_absolute): New function replaces absolutefn macro and
851 corrects a bug. All callers changed.
852 (canonicalize_filename): New function.
853 (process_file, etags_getcwd, absolute_dirname): Use it.
854 (relative_filename, absolute_filename): Removed var shadowing.
855 (C_entries, Pascal_functions): Add fake initializations to keep
856 compilers quiet.
857 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
858
859 * etags.c (xrnew): New macro. All callers of xrealloc changed.
860 (language): New typedef (was struct lang_entry).
861 (curlang): New global variable.
862 (node): typedef renamed from NODE.
863 (linebuffer): New typedef (was struct linebuffer).
864 (pattern): New typedef (was struct pattern). Some members added.
865 Now used as element of a linked list.
866 (patterns, num_patterns): Global variables deleted.
867 (p_head): New global variable.
868 (forced_lang): New global variable (replaces lang_func).
869 (get_language_from_name, get_language_from_interpreter,
870 get_language_from_suffix): Semantics changed. All callers changed.
871 (last_node): New global variable.
872 (free_tree, add_node, put_entries, total_size_of_entries): Change
873 name of local vars to avoid clashes with typedef node.
874 (number_len): Rewritten for elegance.
875 (token): New typedef replaces TOKEN.
876 (analyse_regex, add_regex): Rewritten for new functionality.
877 (free_patterns): New function called from main and add_regex.
878 (initbuffer, readline_internal, readline, grow_linebuffer):
879 Change name of local vars to avoid clashes with typedef
880 linebuffer.
881 (readline): Rewritten for new functionality.
882
883 * etags.c: (Scheme_suffixes): New suffix ".ss".
884 (print_help): --globals is now used for more than C-type languages.
885 (Perl_functions): Tag global variables ("my" and "local").
886
887 * etags.c (print_help): Some messages clarified.
888 (LOOP_ON_INPUT_LINES): New macro.
889 (just_read_file, Fortran_functions, Asm_labels, Perl_functions,
890 Python_functions, Cobol_paragraphs, Pascal_functions,
891 Lisp_functions, Postscript_functions, Scheme_functions,
892 TeX_functions, Prolog_functions, Erlang_functions): Use it.
893 (Cobol_paragraphs, Postscript_functions, TeX_functions,
894 Prolog_functions, Erlang_functions): Use a local variable instead
895 of the global variable dbp.
896 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
897 standard indentation.
898
899 * etags.c (Python_suffixes, lang_names, Python_functions): Python
900 support.
901 (skip_spaces, skip_non_spaces): Utility functions.
902 (find_entries, takeprec, getit, Fortran_functions, Perl_functions,
903 Python_functions, L_getit, Lisp_functions, Scheme_functions,
904 prolog_pred, erlanf_func, erlang_attribute): Use them.
905 (eat_white): Deleted.
906
907 * etags.c (CHAR, init): Keep into account non US-ASCII
908 characters and compilers with default signed chars.
909 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
910 constructs.
911
912 * (C_stab_entry): "interface" in Java behaves like "class".
913
914 * etags.c: (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
915 (main): Put interval syntax here.
916 (add_regex): And remove it from here.
917
918 * etags.c (suggest_asking_for_help): Provide a
919 meaningful help message with and without LONG_OPTIONS.
920
921 * etags.c: <io.h> [MSDOS]: Include it, don't include string.h.
922 <stdlib.h, string.h>: Don't test MSDOS when including them.
923 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
924 (put_entries): Correctly use %ld instead of %d in printf.
925
926 * etags.c: <unistd.h> [HAVE_UNISTD_H]: Include conditionally, else
927 declare getcwd if HAVE_GETCWD.
928 (consider_token): Dead break instruction removed.
929
4ee9629e
PE
9301999-10-19 Paul Eggert <eggert@twinsun.com>
931
932 Add support for large files. Merge glibc 2.1.2.
1c478461 933
4ee9629e
PE
934 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
935 movemail.c, pop.c:
936 Do not include <stdlib.h>, as <config.h> does this now.
937
938 * b2m.c, emacsserver.c, etags.c, profile.c:
939 Include <config.h> before any system include files.
1c478461 940
4ee9629e
PE
941 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
942 test-distrib.c:
943 (read, write, open, close): Do not undef.
944
945 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
946 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
947
948 * getopt.h: Adopt glibc 2.1.2.
1c478461 949
93c8d183
DL
9501999-10-15 Dave Love <fx@gnu.org>
951
952 * Makefile.in (pop.o): Depend on config.h.
953
b358f91c
GM
9541999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
955
956 * pop.c: Use "pop3" as the POP service name on all platforms,
957 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
958 has been the standard service name since RFC 1340 was published in
959 July 1992, so I think it's safe to start using it by default.
960
362bc2da
DL
9611999-09-27 Dave Love <fx@gnu.org>
962
963 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
964
74e4cb59
PR
9651999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
966
967 * make-docfile.c (scan_lisp_file): Fix previous changes;
968 swallow CRLF like just CR or just LF.
969
362bc2da
DL
9701999-09-03 Richard Stallman <rms@gnu.org>
971
972 * make-docfile.c: Include config.h not ../src/config.h.
973 (main, fopen, chdir): Add #undef.
974 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
975 (scan_lisp_file): Handle \r like \n.
976
9771999-08-30 Andreas Schwab <schwab@gnu.org>
978
979 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
980
981 * emacsserver.c: Include <stdlib.h> if available. Don't declare
982 errno if it's a macro.
983
984 * test-distrib.c: Include <unistd.h> if available.
985
9861999-08-29 Richard Stallman <rms@gnu.org>
987
988 * emacsclient.c (print_help_and_exit): Mention --version.
989
9901999-08-25 Richard M. Stallman <rms@gnu.org>
991
992 * emacsclient.c (decode_options): Update version output.
993 (print_help_and_exit): Update bug report address.
994
9951999-08-13 Richard M. Stallman <rms@gnu.org>
996
997 * emacsclient.c (main): Move the dynamic allocation of
998 system_name outside of the SERVER_HOME_DIR conditional.
999 * emacsserver.c (main): Likewise.
1000
10011999-08-10 Gerd Moellmann <gerd@gnu.org>
1002
1003 * grep-changelog: New.
1004 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
1005
10061999-07-12 Richard Stallman <rms@gnu.org>
1007
1008 * Version 20.4 released.
1009
10101999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
1011
1c478461 1012 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
1013
10141999-06-23 Dave Love <fx@gnu.org>
1015
1016 * etags.c (erlang_attribute): Fix undefined variable usage (after
1017 Potorti).
1018
10191999-05-2 Andrew Innes <andrewi@gnu.org>
1020
1021 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
1022 mapped to _chsize.
1023
10241999-04-29 Richard M. Stallman <rms@gnu.org>
1025
1026 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
1027
10281999-03-30 Dave Love <fx@gnu.org>
1029
1030 * sorted-doc.c (main): Split up tables. Modify the preamble
1031 somewhat.
1032
10331999-03-05 Geoff Voelker <voelker@cs.washington.edu>
1034
1035 * makefile.nt: Remove common multiple file compilation commands.
1036
10371999-02-26 Richard Stallman <rms@gnu.org>
1038
1039 * Version 20.4 released.
1040
1041 * Makefile.in (yow): Depend on epaths.h, not paths.h.
1042
1043 * yow.c: Refer to epaths.h.
1044
10451999-02-22 Simon Josefsson <jas@pdc.kth.se>
1046
1047 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
1048
10491999-01-27 Andrew Innes <andrewi@gnu.org>
1050
1051 * makefile.nt: Do make version comparison as strings.
1052
10531999-01-25 Richard Stallman <rms@gnu.org>
1054
1055 * emacsclient.c (xmalloc): Fix previous change.
1056
10571999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
1058
1059 * emacsclient.c (xmalloc): Declare to return long.
1060
10611999-01-22 Geoff Voelker <voelker@cs.washington.edu>
1062
1063 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
1064 the case of the drive letter.
1065
10661999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
1067
1068 * emacsserver.c (main): Eliminate arbitrary limit on
1069 length of system_name.
1070
1071 * emacsclient.c (main): Eliminate arbitrary limit on
1072 length of system_name.
1073 (xmalloc): Define unconditionally.
1074
10751999-01-12 Darrin B. Jewell <jewell@mit.edu>
1076
1077 * etags.c (relative_filename): Stop backward search at beginning
1078 of string, since non-Unix systems can have absolute paths with no
1079 initial slash.
1080
10811998-12-08 Geoff Voelker <voelker@cs.washington.edu>
1082
1083 * makefile.nt: Do string comparision of _NMAKE_VER.
1084
10851998-11-03 Theodore Jump <tjump@cais.com>
1086
1087 * makefile.nt: Compile multiple source files when possible.
1088
10891998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
1090
1091 * Makefile.in: Replace tabs with spaces
1092 when they might confuse some Make versions.
1093
10941998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
1095
1096 * emacsclient.c (main): Null-terminate system_name.
1097
1098 * emacsserver.c (main): Null-terminate system_name.
1099
11001998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1101
1102 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
1103 an error message from POP, mention that it's from POP, to
1104 distinguish it from local error messages.
1105
11061998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1107
1108 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
1109 order of messages downloaded from a POP server (e.g., if the
1110 server stores messages in mailboxes in reverse order).
1111
11121998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
1113
1114 * Version 20.3 released.
1115
11161998-08-11 Paul Eggert <eggert@twinsun.com>
1117
1118 * rcs2log: Update copyright date and bug report address.
1119 (initialize_fullname): Prefer getent if available.
1120
11211998-07-30 Paul Eggert <eggert@twinsun.com>
1122
1123 * lib-src/Makefile.in (REGEXPDEPS, regex.o):
1124 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 1125
362bc2da
DL
11261998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
1127
1128 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
1129
11301998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
1131
1132 * Makefile.in: Properly terminate a comment.
1133
11341998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
1135
1136 * movemail.c (sys_wait): Rename to wait.
1137
1138 * ntlib.h: Undefine _WINSOCKAPI_.
1139
1140 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
1141
11421998-05-30 Geoff Voelker <voelker@cs.washington.edu>
1143
1144 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
1145
11461998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
1147
1148 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
1149 all file i/o to be in binary mode. Include ntlib.h.
1150
11511998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
1152
1153 * make-docfile.c: Include <unistd.h> for chdir.
1154
11551998-04-25 Richard Stallman <rms@psilocin.gnu.org>
1156
1157 * etags.c (TEX_decode_env): Don't free the value getenv returns.
1158
11591998-04-17 Geoff Voelker <voelker@cs.washington.edu>
1160
1161 * makefile.nt (obj): Update with new files in src.
1162 (clean): Delete patch scratch files, optimized compilation dir.
1163
11641998-04-08 Dave Love <fx@gnu.org>
1165
1166 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
1167 Irix6, at least.
1168
11691998-04-06 Andreas Schwab <schwab@gnu.org>
1170
1171 Silence -Wimplicit:
1172 * movemail.c: Move cancelations up. Include <stdlib.h> if
1173 available.
1174 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
1175 (parse_header): Explicitly declare return type.
1176 * emacsserver.c: Include <unistd.h> if available.
1177 (main, handle_signals, perror_1, fatal_error): Explicitly declare
1178 return types. Add forward declarations.
1179 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
1180 Don't declare geteuid.
1181 (print_help_and_exit): Change return type to void. Forward
1182 declare it.
1183 * b2m.c: Include <stdlib.h> if available.
1184 (main): Explicitly declare return type.
1185
11861998-04-03 Richard Stallman <rms@delysid.gnu.org>
1187
1188 * etags.c (put_entries): Use %ld.
1189
1190 * b2m.c (fatal): Declare the arg.
1191
11921998-04-03 Richard Stallman <rms@psilocin.gnu.org>
1193
1194 * etags.c (put_entries): Use %ld.
1195
1196 * b2m.c (fatal): Declare the arg.
1197
11981998-03-26 Richard Stallman <rms@psilocin.gnu.org>
1199
1200 * pop.c (pop_getline): Renamed from getline.
1201
12021998-03-05 Richard Stallman <rms@psilocin.gnu.org>
1203
1204 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
1205 for the utilities.
1206
12071998-01-23 Dave Love <d.love@dl.ac.uk>
1208
1209 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
1210 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
1211 Always make named tags.
1212 (Fortran_functions): Grok BLOCK DATA.
1213
12141998-01-23 Andreas Schwab <schwab@gnu.org>
1215
1216 * movemail.c (main): Fix interwoven brace and cpp conditional
1217 nesting.
1218
12191997-12-04 Karl Heuer <kwzh@delysid.gnu.org>
1220
1221 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
1222 server to contain embedded nulls.
1223
12241997-12-03 Paul Eggert <eggert@delysid.gnu.org>
1225
1226 * movemail.c:
1227 (mbx_write) [MAIL_USE_POP]: Disable the code which quotes with a
1228 '>' any lines starting with "From " read from the POP server, but
1229 leave the code in place, wrapped in #ifdef
1230 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
1231 because it turns out that something is depending on it. Change
1232 suggested by Paul Eggert <eggert@twinsun.com>.
1233 Convert the character \037 (^_) at the beginning of a line into
1234 the character '^' followed by the character '_', because otherwise
1235 Emacs can't parse the resulting file as a valid BABYL file.
1236 Change suggested by Paul Eggert <eggert@twinsun.com>.
1237
12381997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1239
1240 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
1241 server to contain embedded nulls.
1242
12431997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 1244
362bc2da
DL
1245 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
1246 quotes with a '>' any lines starting with "From " read from the
1247 POP server, but leave the code in place, wrapped in #ifdef
1248 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
1249 because it turns out that something is depending on it. Change
1250 suggested by Paul Eggert <eggert@twinsun.com>.
1251
1252 Convert the character \037 (^_) at the beginning of a line into
1253 the character '^' followed by the character '_', because otherwise
1254 Emacs can't parse the resulting file as a valid BABYL file.
1255 Change suggested by Paul Eggert <eggert@twinsun.com>.
1256
12571997-11-22 Richard Stallman <rms@gnu.org>
1258
1259 * b2m.c: Include getopt.h.
1260 (main): Use getopt_long to handle --version and --help.
1261
1262 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
1263
12641997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1265
1266 * pop.c (fullwrite): Get rid of an extra call to write. Problem
1267 pointed out by Chiaki Ishikawa.
1268
12691997-10-16 Dave Love <d.love@dl.ac.uk>
1270
1271 * etags.c (L_getit): Always make named tags so that Emacs
1272 completion on symbols containing `:' etc. works.
1273 (get_scheme): Likewise.
1274
12751997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1276
1277 * pop.c: Use system header files instead of declaring C-library
1278 functions explicitly.
1279
12801997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1281
1282 * Version 20.2 released.
1283
12841997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1285
1286 * Version 20.1 released.
1287
12881997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
1289
1290 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
1291
1292 * ntlib.c (getpid): Delete function.
1293
12941997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1295
1296 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
1297
12981997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1299
1300 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
1301 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
1302
13031997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1304
1305 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
1306
13071997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
1308
1309 * profile.c (get_time): Cast arg to fprintf.
1310
1311 * hexl.c (main): Use %08lx instead of %08x in printf because the
1312 variable named addresses is long.
1313
13141997-08-08 Geoff Voelker <voelker@cs.washington.edu>
1315
1316 * makefile.nt (lisp): Update paths to lisp files that have moved.
1317
13181997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
1319
1320 * makefile.nt (ctags.obj): New target.
1321 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
1322
1323 * ntlib.h: Add includes.
1324 Undo definitions of crt routines from config.h.
1325
13261997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1327
1328 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
1329
13301997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1331
1332 * pop.c: Support auto-configuration of both Kerberos V4 and
1333 Kerberos V5 for movemail, including detection of V4 and V5 header
1334 files and libraries.
1335 Include <string.h> when STDC_HEADERS is defined, to get
1336 declarations of string functions.
1337 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
1338 V5 API rather than the old one.
1339 [KERBEROS] (socket_connection): Change a constant name from
1340 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
1341 with a constant in a header file.
1342
1343 * Makefile.in: Support auto-configuration of both Kerberos V4 and
1344 Kerberos V5 for movemail, including detection of V4 and V5 header
1345 files and libraries.
1346
13471997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1348
1349 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
1350
1351 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1c478461 1352
362bc2da
DL
13531997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1354
1355 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
1356
13571997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1358
1359 * movemail.c (rindex): Add declaration.
1360
1361Tue Jul 1 01:09:07 1997 Geoff Voelker <voelker@cs.washington.edu>
1362
1363 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
1364 (movemail.exe): Depend upon and link with getopt files.
1365 (obj): Include new source files.
1366 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
1367 (lisp): Include new and reorganized elisp files.
1368
13691997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1370
1371 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
1372
13731997-06-25 Paul Eggert <eggert@twinsun.com>
1374
1375 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
1376
13771997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
1378
1379 * b2m.c (readline): Terminate buffer properly when EOF seen.
1380 Test for valid pointer before dereferencing it.
1381
13821997-05-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1383
1384 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
1385 defined inside etags.c if HAVE_CONFIG_H is defined.
1386
13871997-05-29 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1388
1389 * etags.c: (logical): Type name changed to bool.
1390 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
1391 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
1392 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
1393 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
1394 (longopts): New long options without short counterpart are
1395 globals, members, no-globals, no-members. Regexp options are now
1396 defined conditionally to ETAGS_REGEXPS.
1397 (print_help): Updated.
1398
13991997-05-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1400
1401 * etags.c (C_entries): Use "." instead of "::" for Java.
1402 (consider_token): is_func renamed to is_func_or_var.
1403 (C_entries): is_func renamed to funorvar.
1404 (C_entries): Initialise tok.named.
1405 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
1406 get rid of "import", "package" and "friend".
1407 (fvdef): Renamed from funcdef. Also some constants renamed. All
1c478461 1408 users changed.
362bc2da
DL
1409 (C_entries): Make separate tags for variables separated by comma.
1410 (globals, members): New flags.
1411 (main, C_entries): Use them.
1412 (make_C_tag, C_entries): Make tok a global variable.
1c478461 1413
362bc2da
DL
14141997-05-16 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1415
1416 * etags.c (funcdef): New vignore constant.
1417 (consider_token, C_entries): Use it to tag global variables.
1418 (print_help): Update for global variables.
1419 (consider_token, C_entries): Set the len member of token_name.
1420 (prolog_pred): Cleanup according to GNU coding standards.
1421 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
1422 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
1423
14241997-05-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1425
1426 * etags.c (CHARS, CHAR): New constant and macro.
1427 (iswhite, begtoken, intoken, endtoken): Use them.
1428 (notinname, _nin, nonam): New macro, array, string.
1429 (init): Cleanup and init _nin.
1430 (new_pfnote): New function.
1431 (make_C_tag) [traditional_tag_style]: Use it.
1432 (traditional_tag_style): Costant set to TRUE for now.
1433
14341997-05-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1435
1436 * etags.c (C_entries, Pascal_functions): Cleanup.
1437 (TeX_functions): NULL as a function arg needs a cast.
1438 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
1439
14401997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1441
1442 * etags.c (TeX_functions): Cleaned up.
1443 (tex_getit): Removed.
1444
14451997-05-13 Paul Eggert <eggert@twinsun.com>
1446
1447 * rcs2log (files): When computing arguments automatically, ignore
1448 non-files within the RCS subdirectory.
1449
14501997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1451
1452 * etags.c (C_JAVA): New #define.
1453 (Cjava_suffixes): .java is Java.
1454 (Cjava_entries): New function.
1455 (lang_names): Add Java.
1456 (sym_type): Add st_C_javastruct for Java.
1457 (C_stab_entry): Add `extends' and `implements' keywords.
1458 (consider_token, C_entries): Recognise Java structures.
1459
14601997-05-12 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1461
1462 * etags.c: (Cplusplus_suffixes): .pdb is Postscript with C syntax.
1463 (Postscript_suffixes): .ps is Postscript.
1464 (lang_names): Add Postscript.
1465 (Postscript_functions): New function.
1466 (TEX_decode_env): Close minor memory leak.
1467 (just_read_file): Correct the char number of the tag.
1468
14691997-05-11 Paul Eggert <eggert@twinsun.com>
1470
1471 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
1472 Don't prepend $nl since this causes some shells to generate the
1473 empty string when IFS is $nl.
1474 (printlogline): Use SOH (octal code 1), not CR, since some
1475 PC-based shells mishandle CR.
1476 (initialize_fullname): Set NIS_PATH to the empty string before invoking
1477 nismatch, in case it's set to some nonstandard value.
1c478461 1478
362bc2da
DL
14791997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1480
1481 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
1482 read in separate blocks.
1483
14841997-04-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1485
1486 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
1487 (struct linebuffer): New member `len' is the length of the string.
1488 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
1489 Use it instead of strlen.
1490 (TEX_getit): Declare and define unconditionally as static.
1491 (TeX_functions): Use if instead of #if TeX_named_tokens.
1492 (add_regex): Set RE_INTERVALS flag for regex compilation.
1493 (substitute): Code cleanup.
1494 (readline_internal): Code cleanup, set new member `len'.
1495 (readline): Bug corrected.
1496
14971997-04-23 Geoff Voelker <voelker@cs.washington.edu>
1498
1499 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
1500 (obj): Change references of nt*.c files to w32*.c files.
1501
15021997-04-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1503
1504 * etags.c (xnew): Add support for debugging with chkmalloc.
1505 (error): Use this instead of printf whenever possible.
1506 (main): Only call xnew after having initialised progname.
1507 (substitute): Bad memory corruption error corrected.
1508
15091997-04-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1510
1511 * etags.c (add_regex): Undo previous change.
1512 (relative_filename): Small memory leak closed.
1513 (absolute_filename): Cleaned up the code, possibly closing a bug.
1514 (absolute_dirname): Always return a newly allocated string.
1c478461 1515
362bc2da
DL
15161997-03-21 Paul Eggert <eggert@twinsun.com>
1517
1518 * rcs2log (files): Ignore files in RCS directory whose names are
1519 of the form ,*, or *_; they are probably RCS lock files.
1520 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
1521 they are used by rcsfreeze.
1522
15231997-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1524
1525 * etags.c (add_regex): reset *putbuf before using it.
1526
15271997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1528
1529 * movemail.c (popmail): Remove some unnecessary function
1530 declarations.
1531 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
1532 into pop_retr, there's no reason to pass in mbx_write, and the
1533 file argument can be declared FILE * explicitly. This fixes a
1534 compilation problem on systems with 64-bit pointers.
1535
15361997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1537
1538 * movemail.c: Delete duplicate inclusion of fcntl.h
1539 and duplicate #undefs of open, read, write, close.
1540
15411997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1542
1543 * movemail.c (main): Do not display "[POP-password]" in the usage
1544 message when movemail is compiled without POP support.
1545 (main, popmail): Add the optional "-p" argument, which causes
1546 movemail to leave mail in the inbox after copying it into the
1547 output file.
1c478461 1548
362bc2da
DL
1549 * Makefile.in (movemail): Link with getopt.
1550
15511997-01-20 Paul Eggert <eggert@twinsun.com>
1552
1553 * rcs2log: (--help, --version): New options, per GNU coding standards.
1554 (Copyright, Help, Id): New variables, for above.
1555 (rlog): Use -q option with cvs log, to avoid useless chatter.
1556
1557 Treat logs of "Initial revision" (RCS) or "file F was initially added
1558 on branch B." (CVS) as if they said "New file.", for consistency with
1559 change log entries.
1560
15611997-01-01 Paul Eggert <eggert@twinsun.com>
1562
1563 * vcdiff (PATH): Add /usr/xpg4/bin,
1564 where XPG4 SCCS hangs out in Solaris 2.5.
1565 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
1566
15671996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1568
1569 * etags.c (streq, strneq): Use == NULL rather than !.
1570
15711996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
1572
1573 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
1574 (movemail): Use LIBMAIL, to link against -lmail.
1575
1576 * movemail.c: Include maillock.h (conditionally).
1577 Remove a redundant inclusion of <stdio.h>.
1578 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
1579 (main): Add variable spool_name.
1580 Support the usage of maillock and mailunlock to
1581 lock and unlock mailboxes.
1582 (mail_spool_name): New function.
1583
1584 * movemail.c: Fix an uninitialized variable which could cause
1585 movemail to exit with an error status incorrectly on systems which
1586 use lock files rather than a system locking function to lock
1587 mailboxes.
1588
15891996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1590
1591 * pop.c (socket_connection): Free realhost after using it.
1592
15931996-12-04 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1594
1595 * etags.c (C_entries): Test tok.valid. This handles some
1596 particular cases involving function declarations that failed.
1597
15981996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 1599
362bc2da
DL
1600 * pop.c (socket_connection):
1601 gethostbyname may return a pointer to static data.
1602 krb_realmofhost can clobber it. So copy it.
1603
16041996-11-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1605
1606 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
1607 must cast it to (char *) because we have no prototypes.
1608 (make_C_tag): Macro deleted, new function.
1609 (C_entries): Calls to make_C_tag macro changed to call function.
1610
16111996-11-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1612
1613 * etags.c (grow_linebuffer): New function.
1614 (GROW_LINEBUFFER): Macro deleted. All callers changed.
1615 (make_tag): Macro renamed to make_C_tag. All callers changed.
1616 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
1617 (Prolog_functions): prolog_skip_comment was called with wrong
1618 number of arguments.
1619 (xrealloc): fatal was called with wrong number of arguments
1620
16211996-11-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1622
1623 * etags.c (relative_filename): Bug corrected.
1624 (etags_getcwd): Avoid warning of unused variable.
1625 (C_entries, consider_token): Added support for enum labels.
1626
16271996-11-03 Paul Eggert <eggert@twinsun.com>
1628
1629 * rcs2log: When processing cvs log output, remove `Attic/' from
1630 repository file names.
1631
16321996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
1633
1634 * emacsserver.c: Fix 1996-09-02 change.
1635
16361996-10-12 Paul Eggert <eggert@twinsun.com>
1637
1638 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
1639 option', since CVS says 'invalid option'.
1640 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
1641 revisions, since some hosts reject 1970-01-01 when east of UTC.
1642 (date): Remove.
1643
16441996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1645
1646 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
1647
16481996-10-02 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1649
1650 * etags.c (print_version): Print copyright info.
1651
1652 * etags.c (print_help): Print the bug reporting address.
1653 (main): Use return as the last instruction, instead of exit.
1654
1655 * etags.c (main): Don't open the tags file in cxref mode.
1656
16571996-09-29 Dave Love <d.love@dl.ac.uk>
1658
1659 * rcs2log (date): Make default format acceptable to CVS post v1.8
1660 as well as earlier CVSs and RCS.
1661
16621996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1663
1664 * movemail.c (main): If the lock call fails with EBUSY or
1665 EAGAIN, retry a few times.
1666
16671996-09-25 Paul Eggert <eggert@twinsun.com>
1668
1669 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
1670 whether to append -zLT.
1671
16721996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
1673
1674 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
1675 * emacsclient.c, movemail.c: Likewise.
1676
16771996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1678
1679 * emacsclient.c (longopts): Change nowait to no-wait.
1680 (print_help_and_exit): Fix option name; upcase metavars.
1681
16821996-09-06 Erik Naggum <erik@naggum.no>
1683
1684 * emacsserver.c (main): Declare `fromlen' as size_t.
1685
16861996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
1687
1688 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
1689
16901996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1691
1692 * emacsclient.c (quote_file_name): Quote with &, not \.
1693 Quote `-' only at start of file name. Terminate the value string.
1694
1695 * emacsserver.c: Include signal.h properly;
1696 delete the duplicate includes for it.
1697
1698 * emacsserver.c: On fatal signal, delete socket-file:
1699 * emacsserver.c: Include signal.h.
1700 (xmalloc, fatal, error): New functions.
1701 (delete_socket, handle_signals): New functions.
1702 (progname, socket_name): New variables.
1703 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
1704
17051996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1706
1707 * emacsclient.c (quote_file_name): New function.
1708 (main, both versions): Use quote_file_name.
1709 (decode_options): Don't return a value.
1710 (main, both versions): Use optind.
1711 Don't check for -nowait here.
1c478461 1712
362bc2da
DL
1713 * emacsclient.c (decode_options): New function.
1714 (main, both versions): Call decode_options.
1715 (print_help_and_exit): New function.
1716 (VERSION): New macro.
1717
1718 * Makefile.in (emacsclient): Link with getopt.
1719 Add -DVERSION so emacsclient knows its version number.
1720
17211996-08-31 Geoff Voelker <voelker@cs.washington.edu>
1722
1723 * makefile.nt (lisp): Include dos-nt.elc.
1724
17251996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1726
1727 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
1728
17291996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1730
1731 * emacsclient.c (both versions): Handle -nowait and --nowait
1732 by sending data to the server.
1733
17341996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1735
1736 * Makefile.in (INSTALL_STRIP): New variable.
1737 (${archlibdir}): Use INSTALL_STRIP.
1738
1739 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
1740 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
1741
1742 * pop.c: Reverse conditional in previous change.
1743
17441996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1745
1746 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
1747
17481996-08-24 Paul Eggert <eggert@twinsun.com>
1749
1750 * rcs2log: Use ISO 8601 date format, with time zone appended
1751 if change-log-time-zone-rule is non-nil, instead of
1752 traditional Unix date format.
1753
1754 (datearg): When computing default from ChangeLog, handle ISO format
1755 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
1756 Don't worry about hh:mm:ss since the resolution is now by day.
1757 Use emtpy datearg, not empty rlog_options, to decide whether to pass
1758 "$datearg" option to $rlog.
1759 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
1760 (month_data): Remove `mo'; no longer needed.
1761 (rlog_options): Use -zLT for localltime output, if `rlog' supports it.
1762
1763 Match `revision' line of rlog output more accurately.
1764
1765 Add -c, -v options.
1766
17671996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
1768
1769 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
1770
17711996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1772
1773 * Version 19.33 released.
1774
17751996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1776
1777 * Version 19.32 released.
1778
17791996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
1780
1781 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
1782 computing character positions in source files.
1783
17841996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
1785
1786 * makefile.nt (clean): Use OBJDIR macro.
1787
17881996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
1789
1790 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
1791
17921996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
1793
1794 * cvtmail.c, sorted-doc.c, yow.c: [__GNU_LIBRARY__]: Use <string.h>.
1795 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
1796 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
1797
17981996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
1799
1800 * ntlib.h: Correct return type of getwd.
1801 * ntlib.c (getwd): Correct return type.
1802
18031996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1804
1805 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
1806 to infile.
1807
18081996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
1809
1810 * makefile.nt: Remove all references to wakeup.
1811
18121996-06-28 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1813
1814 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
1815 explicit, mutable, typename.
1816
18171996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1818
1819 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
1820 streams, one for sending and one for reading the reply.
1821
18221996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1823
1824 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
1825 (wakeup): Target deleted.
1826 (UTILITIES): Delete wakeup and timer.
1827
1828 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
1829
18301996-06-11 Geoff Voelker <voelker@cs.washington.edu>
1831
1832 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
1833 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
1834
18351996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1836
1837 * etags.c (main): Copy cwd when appending slash.
1838
18391996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
1840
1841 * Version 19.31 released.
1842
18431996-05-17 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1844
1845 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
1846 (Pascal_functions): Increase linecharno by the correct number of
1847 chars, inline the GET_NEW_LINE macro and delete its definition.
1848
18491996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
1850
1851 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
1852
18531996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
1854
1855 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
1856 (movemail.exe, fakemail.exe): Now built under Win32.o
1857
1858 * ntlib.c: Include ntlib.h.
1859 (nt_sleep): Rename to sleep.
1860 (getwd): Return directory.
1861 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
1862 sys_ctime, sys_fopen): New functions.
1863
1864 * ntlib.h: New file.
1865
18661996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
1867
1868 * pop.c (SEND, RECV): Renamed from send, recv.
1869 (pop_open, pop_trash): Make the trash_started code unconditional.
1870 (socket_connection): Delete casts to void.
1871
18721996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
1873
1874 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
1875 copied from lisp.h.
1876
18771996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
1878
1879 * fakemail.c [WINDOWSNT]: Include ntlib.h.
1880
1881 * hexl.c [DOSNT]: Include fcntl.h.
1882 [WINDOWSNT]: Include io.h.
1883 (main) [MSDOS]: Change conditional to DOS_NT.
1884
1885 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
1886 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
1887 [WINDOWSNT]: Include locking.h.
1888 (main): Update usage message. Use IS_DIRECTORY_SEP.
1889 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
1890 (main) [WINDOWSNT]: Invoke locking instead of flock.
1891 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
1892 (main) [MAIL_USE_POP]: Pass password to popmail if used.
1893 Include winsock.h; don't include unix inet headers.
1894 (popmail): Add password argument and pass it to pop_open.
1895 Open output file in binary mode.
1896
1897 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1c478461 1898 Macro SOCKET_ERROR undefined.
362bc2da
DL
1899 Don't declare h_errno.
1900 [!WINDOWSNT]: Define macros recv and send.
1901 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
1902 (pop_open) [WINDOWSNT]: Initialize trash_started.
1903 (have_winsock) [WINDOWSNT]: New variable.
1904 (socket_connection) [WINDOWSNT]: Initialize winsock.
1905 (socket_connection): Use closesocket instead of close.
1906 (getline): Use recv instead of read.
1907 (fullwrite): Use send instead of write.
1908 (pop_trash): Use closesocket instead of close.
1909 (pop_trash) [WINDOWSNT]: Cleanup winsock.
1910 Check if being called recursively by sendline.
1911
1912 * pop.h (struct _popserver): New field trash_started.
1913
1914 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
1915
19161996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1917
1918 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
1919
19201996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1921
1922 * etags.c [WINDOWSNT]: Include io.h.
1923
19241996-04-10 Geoff Voelker <voelker@cs.washington.edu>
1925
1926 * makefile.nt (CTAGSOBJ): Compile with regexp support.
1927
19281996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
1929
1930 * hexl.c [DJGPP v2]: Include io.h.
1931 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
1932
1933 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
1934 DJGPP v2.
1935
19361996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1937
1938 * etags.c (absolute_filename): Use absolutefn.
1939
19401996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
1941
1942 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
1943 letter isn't an alphabetic character.
1944 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
1945 (process_file) [DOS_NT]: Convert all slashes to forward style.
1946 (absolute_filename) [DOS_NT]: Emit error message for relative
1947 paths with a drive letter.
1948 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
1949 DOS/NT drive letters which try to reference the parent of the root.
1950 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
1951
19521996-03-27 Geoff Voelker <voelker@cs.washington.edu>
1953
1954 * makefile.nt: Change uses of del to $(DEL).
1955
19561996-03-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1957
1958 * etags.c (just_read_file): Reset lineno and charno on entry.
1959
19601996-03-15 Anders Lindgren <andersl@csd.uu.se>
1961
1962 * etags.c: Prolog language totaly rewritten.
1963 (Prolog_functions): Rewritten from scratch.
1964 (skip_comment, prolog_getit): Removed.
1965 (prolog_skip_comment): New function, like old skip_comment.
1966 (prolog_pred, prolog_atom, prolog_white): New functions.
1967 (erlang_func, erlang_attributes): Forward declarations added.
1968 (erlang_atom): Check if backslash ends line inside quoted atom.
1969
19701996-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1971
1972 * etags.c (absolutefn): DOS_NT version corrected.
1973 (main): Append "/" to the dir name only if not already there.
1974 (print_help): Explain the absolute/relative file name issue.
1c478461 1975
362bc2da
DL
19761996-03-08 Anders Lindgren <andersl@csd.uu.se>
1977
1978 * etags.c: New Languange Erlang added.
1979 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom,
1980 erlang_white): New functions.
1981 (Erlang_suffixes): New suffix list.
1982 (lang_names): Erlang entry added.
1983 (prolog_getit): Accepts headers spanning several lines.
1984 Always name tags.
1985 (Prolog_functions): Removed incorrect compensation for
1986 newline characters.
1987 (readline_internal): Zero-terminate last line.
1988
19891996-03-20 Mike Long <mike.long@analog.com>
1990
1991 * b2m.c (main): Initialize progname variable before using it.
1992 Quote `username' in From_ header.
1993
19941996-03-18 Geoff Voelker <voelker@cs.washington.edu>
1995
1996 * ntlib.c (getpid): New function.
1997
19981996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1999
2000 * emacsclient.c (main, both definitions):
2001 Print a newline for normal termination.
2002
20031996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
2004
2005 * tcp.c (main): Convert port to network byte order.
2006
20071996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
2008
2009 * pop.c (pop_retrieve, getline): Avoid type clashes.
2010
20111996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
2012
2013 * etags.c (enum sym_type, anonymous enum): Delete final comma.
2014
20151996-01-15 Paul Eggert <eggert@twinsun.com>
2016
2017 * rcs2log (initialize_fullname): Add support for NIS+.
2018 (hostname): Fully qualify the default hostname with the domainname
2019 if the hostname lacks a `.'.
2020
20211996-01-15 Paul Eggert <eggert@twinsun.com>
2022
2023 * rcs2log (initialize_fullname): Add support for NIS+.
2024 (hostname): Fully qualify the default hostname with the domainname
2025 if the hostname lacks a `.'.
2026
20271996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
2028
2029 * etags.c (consider_token): Fix typo in expression.
2030
20311996-01-04 Paul Eggert <eggert@twinsun.com>
2032
2033 * etags.c (substitute): Fix spelling in message.
2034
20351996-01-03 George V. Reilly <georger@microcrafts.com>
2036
2037 * makefile.nt (etags, ctags): Compile with regexp support.
2038 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
2039 subdirectory exists before compiling.
1c478461 2040
362bc2da
DL
20411996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
2042
2043 * emacsserver.c (main): Do chmod based on existing permission.
2044
20451995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2046
2047 * Makefile.in (install): Turn on read/execute permission.
2048
20491995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2050
2051 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
2052 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
2053
20541995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2055
2056 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
2057
20581995-12-07 Francesco Potorti` <pot@cnuce.cnr.it>
2059
2060 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
2061 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
2062 get_scheme, prolog_getit): Name the tag in ctags mode.
2063 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
2064 (Perl_interpreters): Accept "@PERL@" as an interpreter.
2065 (suggest_asking_for_help): New function.
2066 (main, get_language_from_name): Use suggest_asking_for_help.
2067 (main): Let get_language_from_name make language existence check.
2068 (streq, strneq): Check the arguments #if DEBUG.
2069
20701995-12-06 Francesco Potorti` <pot@cnuce.cnr.it>
2071
2072 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
2073 (gperf): Added keywords for Objective C and GNU macros.
2074 (sym_type): Added values to account for Objective C and GNU macros.
2075 (begtk): The '@' character can start a token.
2076 (objdef, methodlen, objtag): New variables for Objective C.
2077 (consider_token, C_entries): Added code for Objective C.
2078 (plain_C_suffixes): Add .m and .lm for Objective C.
2079 (Yacc_suffixes): Add .ym for Objective yacc.
2080 (GROW_LINEBUFFER): New macro.
2081 (consider_token, C_entries, Pascal_functions): Use the new macro.
2082 (consider_token): Take one more argument. Caller changed.
2083 (consider_token): Use the hashing function to spot GNU macros.
2084 (C_entries): Consider // as a comment start even in plain C for
2085 the sake of Objective C parsing.
2086
20871995-12-04 Francesco Potorti` <pot@cnuce.cnr.it>
2088
2089 * Makefile.in (ctags): depend on etags only for simplicity;
2090 compile with regexp support enabled.
2091
20921995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2093
2094 * Version 19.30 released.
2095
20961995-11-22 Geoff Voelker <voelker@cs.washington.edu>
2097
2098 * makefile.nt (DOC, clean): Don't use switches to del not
2099 supported by Windows 95.
2100
21011995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2102
2103 * Makefile.in (regex.o): Depend on ../src/config.h.
2104
21051995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2106
2107 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
2108 (LOADLIBES): Use LIB_STANDARD.
2109
21101995-11-07 Kevin Gallo <kgallo@microsoft.com>
2111
2112 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
2113 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
2114 Windows 95 conditional.
2115
21161995-11-06 Francesco Potorti` (pot@cnuce.cnr.it)
2117
2118 * etags.c (get_lang_from_name, get_lang_from_interpreter,
2119 get_lang_from_suffix): New functions.
2120 (get_language): Function deleted.
2121 (lang_entry): Two members added to struct.
2122 (lang_names): Reflect the new layout of lang_entry.
2123 (print_language_names, main, find_entries): Use the new functions.
2124 (find_entries): Look at the first line for #! if no language.
2125 (C_entries): Invalidate the token when funcdef is reset.
2126 (Perl_functions): New function.
2127 (lang_suffixes): .pl and .pm are Perl suffixes.
2128
21291995-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
2130
2131 * etags.c (lowcase): Use the standard tolower function.
2132 (substitute): Remove some wrong and some useless code related with
2133 escape `\` character in regexp replacement string.
2134 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
2135 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
2136 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
2137 .prolog for prolog (.pl removed).
2138 (massage_name, etags_getcwd): Use lowcase instead of tolower.
2139 (C_entries, find_entries): Added comments about memory leakage.
2140 (add_node): Dead code removed.
2141
21421995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2143
2144 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
2145 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
2146
21471995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2148
2149 * test-distrib.c: Add #undef for open, close, read, write.
2150
21511995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2152
2153 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
2154 [! O_RDONLY]: Define it to zero.
2155 (main): Use O_RDONLY instead of explicit zero.
2156
21571995-08-17 Francesco Potorti` (pot@cnuce.cnr.it)
2158
2159 * etags.c (Pascal_functions): Close comment bug corrected.
2160 (add_node): Correctly compare node file names.
2161 (Pascal_functions): Correctly allocate and free memory for tline.
2162 (pfnote): Put the definition of fp in the innermost block.
2163 (NODE): `named' member removed.
2164 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1c478461 2165 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
2166 (pfnote): `named' argument removed, all callers changed.
2167 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
2168 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1c478461 2169 removed from pfnote call, some code cleanup.
362bc2da
DL
2170 (relative_filename): Free temporary space allocated by concat.
2171
21721995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2173
2174 * Makefile.in (getdate.c): New target.
2175 (getdate.o): Just compile getdate.c.
2176
21771995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
2178
2179 * fakemail.c (xrealloc): Change cast to match return type.
2180
21811995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2182
2183 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
2184
21851995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2186
2187 * movemail.c (main): Fix previous change.
2188 Add error check for empty OUTNAME.
2189
21901995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2191
2192 * movemail.c (main): Mention lock file name in error message.
2193
21941995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2195
2196 * profile.c (gettimeofday): New function, defined if necessary.
2197
21981995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2199
2200 * Makefile.in: Renamed from Makefile.in.in.
2201 (distclean): Delete Makefile.c, not Makefile.in.
2202
22031995-07-17 Michael Shields <shields@tembel.org>
2204
2205 * Makefile.in.in (tags): Synonym for `TAGS'.
2206
22071995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2208
2209 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
2210 configure has already set $(INSTALL) to the proper relative path.
2211
22121995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
2213
2214 * etags.c (plain_C_entries): new function.
2215 (lowcase): new macro.
2216 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
2217 (lang_suffixes): new suffix ".pc" for Pro*C files.
2218 (consider_token): don't tag all tokens beginning with DEFUN & Co..
2219 (tail): look for the end of the token when comparing.
2220 (takeprec): since now tail behaves differently, use strneq.
2221
22221995-07-08 Paul Eggert <eggert@twinsun.com>
2223
2224 * rcs2log (datearg): Separate date from time with comma, not space,
2225 to work around CVS 1.5 bug.
2226 (CVSROOT): Don't abort when unset if repository is absolute.
2227
22281995-07-07 Paul Eggert <eggert@twinsun.com>
2229
2230 * rcs-checkin, rcs2log, vcdiff:
2231 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
2232 that interpret `#! /' as a 4-byte magic number.
2233
22341995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
2235
2236 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
2237 mailbox with "po:mailbox", the mailbox is everything after the
2238 "po:" prefix.
2239
22401995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2241
2242 * emacsserver.c: Make all error messages start with `Error: '.
2243 (fatal_error, perror_1): New functions, use throughout.
2244
22451995-06-28 Paul Eggert <eggert@twinsun.com>
2246
2247 * rcs2log (CVSROOT, repository):
2248 Allow remote repositories a la CVS 1.4.
2249
22501995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
2251
2252 * etags.c (plain_C_entries): new function.
2253 (lowcase): new macro.
2254 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
2255 (lang_suffixes): new suffix ".pc" for Pro*C files.
2256 (consider_token): don't tag all tokens beginning with DEFUN & Co..
2257 (tail): look for the end of the token when comparing.
2258 (takeprec): since now tail behaves differently, use strneq.
2259
22601995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2261
2262 * movemail.c (main): Add newline in usage message.
2263
22641995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2265
2266 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
2267
22681995-06-21 Francesco Potorti` (pot@cnuce.cnr.it)
2269
2270 * etags.c (find_entries): Rewind before rereading the input file.
2271
22721995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2273
2274 * Version 19.29 released.
2275
2276 * make-docfile.c (main) [MSDOS]: Do set _fmode.
2277 This undoes part of the previous change.
2278
22791995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2280
2281 * make-docfile.c (main): On MSDOS, don't change stdout
2282 to binary, and insist on an -o option.
2283
22841995-06-13 Geoff Voelker <voelker@cs.washington.edu>
2285
2286 * etags.c (process_file,absolute_filename): Handle filenames
2287 starting with a drive letter.
2288
2289 * makefile.nt (install): Copy wakeup.exe properly.
2290
22911995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
2292
2293 * make-docfile.c [MSDOS]: #undef chdir.
2294
22951995-06-04 Paul Eggert <eggert@twinsun.com>
2296
2297 * rcs2log (output_authors): Allow ':' in time zone,
2298 as per ISO 8601 and RCS 5.6.8 beta.
2299
23001995-05-29 Francesco Potorti` (pot@cnuce.cnr.it)
2301
2302 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
2303 compatibility problems.
2304
23051995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
2306
2307 * etags.c (etags_getcwd): Don't use #elif.
2308 Have just one function body.
2309
23101995-05-25 Geoff Voelker <voelker@cs.washington.edu>
2311
2312 * makefile.nt (LIBS): Use BASE_LIBS.
2313 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
2314 upon LIBS.
2315 (DOC): Use del instead of rm.
2316 (DOC) [WINDOWS95]: Use DOC.
2317 (clean): Handle MSVC aux files.
2318 (config.h,paths.h): Use $(CP) instead of cp.
2319 (config.h): Use $(CONFIG_H)
2320 (make-docfile.obj): Depend upon config.h.
2321 Clean up comments.
2322
23231995-05-23 Francesco Potorti` (pot@cnuce.cnr.it)
2324
2325 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
2326 former gives the true path even in the presence of simlinks.
2327
23281995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2329
2330 * movemail.c (main): Increase lock timeout to five minutes.
2331
23321995-05-06 Geoff Voelker <voelker@cs.washington.edu>
2333
2334 * makefile.nt (obj): Use .c files.
2335
23361995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2337
2338 * make-docfile.c: Include config.h.
2339 (NO_SHORTNAMES): New definition.
2340 (xmalloc): Return long *.
2341
2342 * etags.c (C_entries): Cast result of xrealloc.
2343 (xmalloc, xrealloc): Declare them to return long *.
2344
2345 * b2m.c (xmalloc, xrealloc): Declare them long *.
2346
2347 * movemail.c (xmalloc): Declare it to return long *.
2348
23491995-04-30 Paul Eggert <eggert@twinsun.com>
2350
2351 * rcs2log (datearg): If rlog options are specified explicitly,
2352 omit the implicit '-d>DATE' option.
2353 (repository, rlog): Allow absolute paths to CVS repositories.
2354 Look only at the first line of CVS/Repository.
2355
23561995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
2357
2358 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
2359 realclean.
2360
23611995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2362
2363 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
2364 Alternative (empty) definitions.
2365
23661995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2367
2368 * emacsclient.c (main): Add argv[0] to an error message.
2369
23701995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
2371
2372 * emacsclient.c (main): Improve error handling.
2373 * cvtmail.c (main, skip_to_lf): Improve error handling.
2374 (sysfail): New function.
2375
2376 * b2m.c (main): Check for trailing ", " before trying to delete it.
2377
23781995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2379
2380 * Makefile.in.in (all): Build test-distrib and make-docfile.
2381
2382 * make-docfile.c (scan_c_file): At end, restore file name last char
2383 to its original value.
2384
23851995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2386
2387 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
2388
23891995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2390
2391 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
2392 (alloca.o, regex.o): Use BASE_CFLAGS.
2393
23941995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2395
2396 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
2397
23981995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
2399
2400 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
2401 (SOURCES, distclean): Removed obsolete references to aixcc.
2402
24031995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2404
2405 * aixcc.lex: File deleted--surely obsolete now.
2406
24071995-03-23 Paul Eggert <eggert@twinsun.com>
2408
2409 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
2410 portability to mawk and nawk.
2411
24121995-03-21 Paul Eggert <eggert@twinsun.com>
2413
2414 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
2415 -u "login<tab>fullname<tab>mailaddr".
2416
24171995-03-21 Paul Eggert <eggert@twinsun.com>
2418
2419 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
2420 replaces the (now obsolescent) -n login fullname mailaddr option.
2421 Add -R option for recursive rlog.
2422 (AWK): New environment variable (default `awk') for awk program name.
2423 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
2424 Quote authors and fullnames correctly.
2425 Don't omit path from repository root when logging CVS files.
2426
24271995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2428
2429 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
2430 even if HAVE_SYSVIPC.
2431 * emacsclient.c (main): Use getcwd if not BSD.
2432
24331995-03-13 Francesco Potorti` (pot@cnuce.cnr.it)
2434
2435 * etags.c (process_file): free (filename) after using it.
2436 (readline_internal): Do not access the char before start of line.
2437
24381995-02-22 Francesco Potorti` (pot@cnuce.cnr.it)
2439
2440 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
2441 savetok.valid. Mark token as valid when it is initialised.
2442 (make_tag): Make token only if token is valid and reset validity.
2443 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
2444 (TOKEN): Added a new member: valid.
2445
24461995-02-15 Francesco Potorti` (pot@cnuce.cnr.it)
2447
2448 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
2449 (main): Do not read twice the last filename in the stdin file list.
2450
24511995-02-14 Francesco Potorti` (pot@cnuce.cnr.it)
2452
2453 * etags.c (C_entries): Initialise the new members of TOKEN.
2454 (C_entries): Do not allocate a new space for each token found by
2455 consider_token. Let make_tag do that instead.
2456 (make_tag): Since now TOKEN has memory of where it is taken from,
2457 this new macro substitutes both make_tag_from_new_lb and
2458 make_tag_from_oth_lb. All callers changed.
2459 (TOKEN): Add linepos and buffer members.
2460 (main): Initialise token_str.
2461 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
2462 (token_str): New global variable used by C_entries.
2463
24641995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
2465
2466 * Makefile.in.in (maintainer-clean): Renamed from realclean.
2467
24681995-02-01 Francesco Potorti` (pot@cnuce.cnr.it)
2469
2470 * etags.c (pfnote): Initialise been_warned in the node.
2471 (C_entries): Removed a speed hack for the sake of clarity.
2472
24731995-01-18 Francesco Potorti` (pot@cnuce.cnr.it)
2474
2475 * etags.c (longopts, print_help, main): Use -I as abbreviation
2476 for the --ignore-indentation option.
2477 (main): Do not print an error message for unknown options.
2478
24791995-01-12 Francesco Potorti` (pot@cnuce.cnr.it)
2480
2481 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
2482 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
2483 constantypedefs, update, vgrind_style, no_warnings,
2484 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
2485 (permit_duplicates): Was a var, now a #define.
2486 (filename_lb): Was global, now local to main.
2487 (main): Open the tag file when in cxref mode.
2488 Use a BUFSIZ size buffer for making the shell commands.
2489 Look at the return value from the system routine.
2490 Exit when cannot open the tag file.
2491 (process_file): Open the file and pass the FILE* to find_entries.
2492 (find_entries): Now void, because does not open the file itself.
2493 (pfnote): Recovering from lack of memory does not work. Removed.
2494 Use savenstr and simplify the code.
2495 (free_tree): Only free the name space if node is named.
2496 (structtag): Now a pointer, not a fixed length array of chars.
2497 (consider_token): Don't take a token as argument. Use savenstr
2498 when saving a tag in structtag. Callers changed.
2499 (TOKEN): Structure changed. Now used only in C_entries.
2500 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
2501 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
2502 (pfcnt): Deleted. Users updated.
2503 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
2504 TEX_getit, prolog_getit): Use dinamic allocation for storing
2505 the tag instead of a fixed size buffer.
2506
25071995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2508
2509 * movemail.c (main): Skip past the colon in inname.
2510
25111995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
2512
2513 * etags.c (pfatal): New function.
2514 (main, etags_getcwd): Use pfatal.
2515 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
2516
25171995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
2518
2519 * etags.c (Lang_function): Use void instead to declare the
2520 language functions, because many compilers are buggy.
2521 (etags_getcwd): Fix the previous fix on the #else branch.
2522 (readline_internal): Discard possible \r before \n here.
2523 (C_entries): Do not deal with \r here: undo previous fix.
2524
dff28924 25251995-01-09 Francesco Potorti` (pot@fly)
362bc2da
DL
2526
2527 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
2528 functions and a macro that allow the program to work on input
2529 lines of whatever length. Copied from etags.c.
2530 (fatal): Print a fatal error message and exit.
2531 (main): Use the new functions. Fixed a bug that made a \037 char
2532 appear at the end of the output.
2533
25341995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2535
2536 * etags.c (C_entries): Ignore carriage return at end of line.
2537
25381994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2539
2540 * fakemail.c (xmalloc, xrealloc): Add casts.
2541 (add_field): Handle <...> and "..." syntax.
2542 (setup_files, get_keyword): Clean up parens and line breaks.
2543 (args_size): Likewise.
2544
25451994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
2546
2547 * yow.c: Include program name in error messages.
2548
25491994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2550
2551 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
2552 (xmalloc, fatal, error): New functions.
2553 (progname): New variable.
2554 (main): Set progname.
2555
25561994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2557
2558 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
2559 (main): If socket/mqueue name is in home dir, add in the host name.
2560 Rename .emacs_server to .emacs-server....
2561
25621994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2563
2564 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
2565
25661994-11-22 Francesco Potorti` (pot@cnuce.cnr.it)
2567
2568 * etags.c (print_help): print --regex usage for ctags also.
2569 (main): use -h in addition to -H as abbreviation for --help.
2570
25711994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
2572
2573 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
2574 is compiled if this is defined. The new functions and variables
2575 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
2576 [VMS]: All VMS specific code previously contained in
2577 etags-vmslib.c is now included here, modified for dealing with
2578 language and regex options intermixed with filenames.
2579 (header_file): Global variable deleted.
2580 (Lang_Function): New typedef. All language parser functions
2581 changed to this new type.
2582 (string_numeric_p, substr, prestr): Functions deleted.
2583 (readline_internal): Does the job that readline did previously.
2584 (longopts): --language and --regex options added.
2585 (lang_names, lang_extensions, lang_func, print_language_names):
2586 New structures, variables and functions for choosing languages.
2587 (print_help): Help strings updated. Calls print_language_names.
2588 (argument_type, ARGUMENT): Typedefs for dealing with language and
2589 regex options intermixed with filenames.
2590 (main): Changed the way of dealing with arguments on the command
2591 line to deal with language and regex options intermixed with
2592 filenames.
2593 (get_language, default_C_entries, Cplusplus_entries,
2594 Cstar_entries, Yacc_entries, just_read_file): New functions.
2595 (find_entries): Use the new method for choosing the language.
2596 (Pascal_functions): Allow intermixing of comment styles.
2597 (prolog_getit, skip_comment): Rewritten for speed.
2598 (readline): Rewritten to deal with regexps.
2599
26001994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
2601
2602 * etags.c (<errno.h>): #include added.
2603 (etags_getcwd): Check return value from getcwd.
2604
26051994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2606
2607 * profile.c (TV1, TV2): Use EMACS_TIME as type.
2608 (get_time): Use EMACS_SUB_TIME.
2609
26101994-10-30 voelker <voelker@cs.washington.edu>
2611
2612 * ntlib.c: New file.
2613 * makefile.nt: New file.
2614
2615 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
2616 [WINDOWSNT]: Include the NT headers.
2617 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
2618
2619 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
2620 [WINDOWSNT]: Include some NT headers.
2621
26221994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
2623
2624 * pop.c (getline): When a search of already-read input for CRLF
2625 fails, store the fact that we've searched it and don't search it
2626 again after reading more data.
2627
2628 * pop.c (getline): When determining whether or not it's necessary
2629 to grow the input buffer, take into account the null that's stored
2630 at the end of already-read input in the buffer.
2631
26321994-10-21 Francesco Potorti` (pot@cnuce.cnr.it)
2633
2634 * etags.c (prestr, substr): return a logical type.
2635 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
2636 (consider_token): set funcdef to fignore when a DEFUN is met.
2637 (C_entries): Now we can use Tom Hageman patch for extern "C".
2638
26391994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2640
2641 * movemail.c: PopServer renamed to popserver throughout.
2642
26431994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
2644
2645 * etags.c: Don't declare malloc, since we include config.h.
2646 * fakemail.c: Likewise.
2647
26481994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2649
2650 * movemail.c: Don't declare malloc.
2651
26521994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
2653
2654 * rcs-checkin: Use test -r instead of < to check readability, to
2655 avoid syntax error.
2656
26571994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
2658
2659 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
2660 defined, and if HAVE_CONFIG_H isn't defined, define
2661 MAIL_USE_POP always (so that this file can be included in
2662 other programs besides emacs).
2663
2664 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
2665 HAVE_CONFIG_H isn't defined.
2666
2667 * pop.c (find_crlf, getline): Instead of using strstr, use a
2668 custom function for finding CRLF.
2669 (my_strstr): Function deleted.
2670
26711994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
2672
2673 * pop.c (getline): Fix a segfault because of passing a
2674 non-null-terminated string into strstr(). Fix from
2675 djm@va.pubnix.com (David J. MacKenzie).
2676
2677 * pop.c: Don't include <string.h> and <strings.h>.
2678
2679 * pop.c: Include <des.h> before <krb.h>, rather than after. They
2680 should be interchangeable, and indeed the inclusion is done in
2681 both orders in various files in the Kerberos 4 library sources,
2682 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
2683 requires that <des.h> be included first, and I don't see any harm
2684 in changing the order.
2685
2686 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
2687 STDC_HEADERS, if they're defined. Undef open, read, write and
2688 close after including it.
2689
26901994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2691
2692 * pop.c: Fix mismatch in conditionals.
2693
2694 * make-docfile.c (main): Don't process one input file twice.
2695 Never use exit code > 1.
2696
2697 * pop.c (open, close, read, write): Add #undefs.
2698
2699 * pop.c: Don't declare malloc, realloc, free.
2700 Include ../src/config.h.
2701 Don't include string.h or strings.h.
2702 Include des.h before krb.h.
2703 Do declare my_strstr.
2704 (getline): Really use my_strstr.
2705 Leave one empty place in server->buffer,
2706 and put a null at the end of the data in it.
2707
27081994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2709
2710 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
2711 call kill with pid 0. Handle EINTR when receiving messages.
2712
27131994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
2714
2715 * Makefile.in.in (regex.o): Use full path to find regex.c.
2716
27171994-10-17 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2718
2719 * Makefile.in.in (etags): add dependency on regex.o, link with it.
2720 (REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added.
2721
27221994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
2723
2724 * Makefile.in.in (DONT_INSTALL): Remove make-path.
2725 (${archlibdir}): Use mkinstalldirs instead.
2726
2727 * movemail.c: Make functions that return nothing void, not
2728 implicitly int.
2729 (main): Improve usage message.
2730 (error): Write to stderr, not stdout.
2731
2732 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
2733 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
2734 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
2735 variables and implicitly declared functions.
2736
27371994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2738
2739 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
2740 (distclean): Not here.
2741
2742 * Makefile.in.in (libexecdir): Renamed from libdir.
2743
27441994-10-11 Francesco Potorti` (pot@cnuce.cnr.it)
2745
2746 * etags.c (C_entries): Name the #define's that are macros.
2747
27481994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2749
2750 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
2751 fd_set arg is a pointer, descriptor arg comes first.
2752
27531994-09-29 Francesco Potorti` (pot@cnuce.cnr.it)
2754
2755 * etags.c (C_entries): Recognise typedef of ANSI style functions.
2756 (C_entries): Recognise #define inside a struct.
2757 (C_entries): ANSI tells that preprocessor commands do not have to
2758 start on the first column.
2759 (print_help): Documentation corrected for -d and -D.
2760 (white, endtk): ANSI tells the vertical tab is a separator.
2761
27621994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
2763
2764 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
2765 (pop.o, movemail.o): New targets.
2766 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
2767
2768 * pop.c, pop.h: New files.
2769
2770 * movemail.c: Improve POP code, move most of it into a separate file.
2771 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
2772 (mbx_write): Check for errors and for From line.
2773 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
2774 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
2775 (pop_init): Functions deleted.
2776
27771994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
2778
2779 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
2780 Rename path to dirname.
2781
27821994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2783
2784 * Makefile.in.in (UTILITIES):
2785 Remove test-distrib, make-docfile, make-path.
2786 (DONT_INSTALL): New variable--list those files here.
2787 (clean): Delete the files in DONT_INSTALL.
2788
27891994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2790
2791 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
2792 (main): Use fgets, not gets.
2793
27941994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2795
2796 * timer.c: Don't declare malloc.
2797
27981994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2799
2800 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
2801 defined, use simple 32-bit versions of these macros.
2802 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
2803
28041994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2805
2806 * etags.c (etags_getcwd): Use getcwd if available.
2807
28081994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2809
2810 * Version 19.27 released.
2811
28121994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2813
2814 * Version 19.26 released.
2815
28161994-08-15 Paul Eggert <eggert@twinsun.com>
2817
2818 * rcs2log: Add support for CVS.
2819 Work with `rlog's that output ISO 8601 dates.
2820
28211994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
2822
2823 * rcs2log: Use <> to delimit email address.
2824
28251994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2826
2827 * emacsserver.c [SYSV_IPC] (main): Make a separate process
2828 so we can listen for multiple requests.
2829
28301994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2831
2832 * movemail.c: Include config.h first thing.
2833
28341994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2835
2836 * emacsserver.c (main): Add casts to avoid warnings.
2837
28381994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2839
2840 * Makefile.in.in (${archlibdir}): Compare the proper dir
2841 before installing the scripts.
2842
28431994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2844
2845 * emacsclient.c (main): New local var progname saves argv[0].
2846
28471994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2848
2849 * emacsclient.c (main): Don't actually modify argv[0].
2850 Modify a copy instead.
2851
28521994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2853
2854 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
2855 (tzp): Var deleted.
2856
2857 * Makefile.in.in: Add #undef alloca.
2858
28591994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2860
2861 * timer.c (xmalloc): New function.
2862
28631994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2864
2865 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
2866 (alloca.o): New target.
2867
28681994-07-08 Dave Love (d.love@dl.ac.uk)
2869
2870 * etags.c (takeprec): recognise `character*(*) function'
2871
28721994-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
2873
2874 * etags.c (main): Don't barf on obsolete -t and -T switches.
2875 (main): Print an explicative message when a switch is not known.
2876
28771994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2878
2879 * hexl.c: Don't declare exit or perror.
2880
2881 * emacsserver.c (main): Don't declare geteuid.
2882 Don't declare getenv if convex.
2883
28841994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2885
2886 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
2887
28881994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2889
2890 * etags.c (absolute_filename): Remove infinite loop bug when
2891 accessing files in directories whose name begins with a dot.
2892
28931994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2894
2895 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
2896
28971994-06-01 Morten Welinder (terra@diku.dk)
2898
2899 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
2900 location of data directory.
2901
29021994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2903
2904 * Version 19.25 released.
2905
29061994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2907
2908 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
2909
29101994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2911
2912 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
2913
29141994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2915
2916 * Version 19.24 released.
2917
29181994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2919
2920 * make-docfile.c (write_c_args): Put `default' in upper case.
2921
29221994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2923
2924 * etags.c (etags_getcwd): Cast result of popen.
2925 (popen): Declaration deleted.
2926
29271994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
2928
2929 * etags.c [!MSDOS]: Declare popen.
2930
29311994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2932
2933 * b2m.c (main): Avoid crash if argc is 1.
2934
29351994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2936
2937 * Version 19.23 released.
2938
2939 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
2940
29411994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2942
2943 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
2944
29451994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
2946
2947 * Makefile.in.in: Fix out of date comment.
2948
29491994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2950
2951 * Makefile.in.in: Put in a separator for where to start cpp procssing.
2952 Move all autoconf substitutions above that point.
2953 Above that point, use Make-style comments.
2954 This goes with changes in ../configure.in.
2955
29561994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2957
2958 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
2959 warning message.
2960 (${archlibdir}): Don't do it here. Don't depend on blessmail.
2961
29621994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
2963
2964 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
2965
29661994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2967
2968 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
2969 print advice to run it, if it has anything significant to do.
2970 And only if MOVEMAIL_NEEDS_BLESSING.
2971 (blessmail): Use emacs, not temacs.
2972 (configuration): Renamed from configname.
2973
29741994-04-30 Morten Welinder (terra@diku.dk)
2975
2976 * etags.c (find_entries): Treat `*.cpp' as C++ files.
2977
29781994-04-30 Morten Welinder (terra@diku.dk)
2979
2980 * etags.c [MSDOS]: #include <sys/param.h> for the following.
2981 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
2982 a shell.
2983
29841994-04-29 Morten Welinder (terra@diku.dk)
2985
2986 * hexl.c [MSDOS]: Don't define proto type for exit.
2987
29881994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2989
2990 * b2m.c: Don't include string.h or strings.h.
2991
29921994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
2993
2994 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
2995 symbols, not make variables.
2996
29971994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2998
2999 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
3000 * etags.c (print_version): Print VERSION as a string.
3001
30021994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3003
3004 * fakemail.c (readline): Fix updating of p when buffer grows.
3005
30061994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
3007
3008 * Makefile.in.in (blessmail): New target.
3009 ${archlibdir}: Use blessmail when installing movemail.
3010
30111994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3012
3013 * fakemail.c (readline): When extending the buffer,
3014 calculate end afresh using the new size.
3015
30161994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3017
3018 * etags.c (main, print_help): eliminate the -F option.
3019
30201994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3021
3022 * etags.c (absolute_filename): compare against '\0' instead of NULL.
3023
30241994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3025
3026 * Makefile.in.in: Renamed from Makefile.in.
3027 Makefile.in is now generated from it, and then preprocessed.
3028 Change comments to C syntax.
3029 Include config.h.
3030 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
3031 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
3032
30331994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3034
3035 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
3036
30371994-04-12 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3038
3039 * etags.c (etags_getcwd): Initialize bufsize.
3040
30411994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3042
3043 * profile.c (gettimeofday): If system doesn't have this, define it
3044 to give a fatal error.
3045
30461994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
3047
3048 * movemail.c (main): Use setuid, not seteuid.
3049
30501994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3051
3052 * etags.c: #undef static.
3053
30541994-04-08 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3055
3056 * etags.c (outf, outfiledir): renamed to tagf, tagfiledir.
3057 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs,
3058 Scheme_funcs, prolog_funcs): renamed to Fortran_functions,
3059 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
3060 TeX_functions, Prolog_functions.
3061 (inf): no more a global variable.
3062 (C_entries): take 2nd parameter `inf' instead of using the global one.
3063 (find_entries): added the cp1 var for optimisation.
3064 (find_entries): added more suffixes for assembler files.
3065 (Asm_funcs): Now finds labels even without an ending colon.
3066
30671994-03-30 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3068
3069 * etags.c (main): use etags_getcwd for compatibility.
3070 (etags_getcwd): new function.
3071
30721994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3073
3074 * Makefile.in (etags, ctags): Pass -D for VERSION.
3075
30761994-03-25 Francesco Potorti` (pot@cnuce.cnr.it)
3077
3078 * etags.c (emacs_tags_format, ETAGS): removed. Use CTAGS instead.
3079 (main): don't allow the use of -t and -T in etags mode.
3080 (print_help): don't show options enabled by default.
3081 (print_version): show the emacs version number if VERSION is #defined.
3082 (find_entries): add "ss" as suffix for Chez Scheme.
3083
30841994-03-23 Francesco Potorti` (pot@cnuce.cnr.it)
3085
3086 * etags.c (cwd, outfiledir): vars added.
3087 (relative_filename, absolute_filename, absolute_dirname):
3088 functions added to compute filenames in tags files.
3089 (process_file): filenames in tags file are relative to the
3090 directory where the tags file is (useful with the -o option).
3091 (main): initialise the outfiledir var.
3092 (TYPEDST): added the `tignore' value.
3093 (C_entries): corrected various small bugs.
3094
30951994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3096
3097 * Makefile.in (UTILITIES): `env' deleted.
3098 (env): Target deleted.
3099 * env.c: File deleted.
1c478461 3100
362bc2da
DL
31011994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3102
3103 * Makefile.in (install, ${archlibdir}): Switch back to ..
3104 before running INSTALL_PROGRAM.
3105
31061994-03-14 Francesco Potorti` (pot@cnuce.cnr.it)
3107
3108 * etags.c (TYPEDST): added the `tignore' value.
3109 (C_entries): corrected various bugs, now correctly parses the
3110 `extern "C" {' construction (patch by Tom R.Hageman).
3111
31121994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3113
3114 * b2m.c: Use <...> to include config.h.
3115 Don't include stdlib.h.
3116
31171994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
3118
3119 * b2m.c (main): Change delimiter from "^L" to "^_^L".
3120 Allow for text following "BABYL OPTIONS:".
3121 Add --help option. Use argv[0] in error messages.
3122
31231994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3124
3125 * emacsclient.c (main) [HAVE_SYSVIPC]:
3126 Make msgp->mtext longer if necessary.
3127 On HPUX, error if it's more than 512 chars.
3128
31291994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
3130
3131 * etags-vmslib.c: Use GPL.
3132 * emacstool.c: Use GPL.
3133 * fakemail.c: Update GPL.
3134
3135 * make-path.c (main): Return 1 on error, not -1.
3136 Update GPL.
3137
3138 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
3139 (xmalloc, xrealloc): Return char *, not int.
3140 (error): Write to stderr, not stdout.
3141 Update GPL.
3142
31431994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
3144
3145 * profile.c (main, get_time): Don't crash on invalid input.
3146
31471994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
3148
3149 * profile.c (get_time): Simplify; avoid calling index.
3150 (main): exit on EOF.
3151
31521994-02-17 Francesco Potorti` (pot@cnuce.cnr.it)
3153
3154 * etags.c (--absolute-pathnames): option removed.
3155
31561994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3157
3158 * fakemail.c (put_line): Don't break the line if it all fits.
3159
dff28924 31601994-02-14 Francesco Potorti` (pot@fly)
362bc2da
DL
3161
3162 * etags.c (absolute_pathnames, cwd): added global vars.
3163 (longopts, print_help, main, process_file): put absolute filenames
3164 in the tag file if the -A --absolute-pathnames option is used.
3165 (print_help): alfabetically order the options.
3166 (malloc, realloc, strcpy, strncpy, strcmp): remove extern declar.
3167
31681994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3169
3170 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
3171 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
3172
31731994-02-07 Christian Lynbech (lynbech@avignon)
3174
3175 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
3176
31771994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3178
3179 * Makefile.in (UTILITIES): Mention profile.
3180 (profile): New target.
3181
3182 * profile.c: New file.
3183
31841994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3185
3186 * Make the argument list output look more like the Lisp docstrings do.
3187 make-docfile.c (write_c_args): Take new arg FUNC. Make output
3188 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
3189 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
3190
31911994-01-14 Francesco Potorti` (pot@cnuce.cnr.it)
3192
3193 * etags.c (stab_entry, stab_create, stab_find, stab_search,
3194 stab_type, add_keyword, C_reate_stab, C_create_stabs): deleted.
3195 Use gperf generated hash table instead of linked list.
3196 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): added.
3197 Mostly code generated by gperf.
3198 (consider_token): removed unused parameter `lp'.
3199 (PF_funcs, getit): allow subroutine and similar declarations
3200 to span multiple lines.
3201 (C_entries): check for newline if inchar to avoid bus errors.
3202 (process_file, find_entries): distinguish among nonexistent
3203 and not regular file.
3204
32051994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3206
3207 * timer.c: Include errno.h; don't include fasync.h.
3208 (schedule): Don't return a value.
3209 (sigcatch): Reestablish the handler first.
3210 (getevent): Always call notify at the end.
3211 (notify): Defer alarms around the whole body of function.
3212
32131994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3214
3215 * timer.c (main): Don't request SIGIO, and don't handle it.
3216 Loop calling getevent.
3217 (sigcatch): Delete code to handle SIGIO.
3218 if defer_alarms is set, don't call notify, just set alarm_deferred.
1c478461 3219 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
3220 Set defer_alarms around realloc and schedule.
3221 If alarm_deferred gets set, call notify.
3222 Likewise if this event is the only pending event.
3223 Make buf and buf_size global variables.
3224 Don't malloc buf if it is already non-zero.
3225 (schedule): Just exit if run out of memory.
3226 Return the number of events.
3227 (signal) [_CX_UX]: Add #undef.
3228
32291994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3230
3231 * timer.c [USG] (SIGIO): Define as SIGPOLL.
3232 (main) [USG]: Do ioctl to enable SIGPOLL.
3233
32341994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3235
3236 * timer.c: Don't declare sys_errlist; declare strerror instead.
3237 (schedule, main): Call strerror instead of using sys_errlist.
3238 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
3239 Call strerror instead of using sys_errlist.
3240 * env.c (main): Call strerror instead of using sys_errlist.
3241 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
3242 (main): Call strerror instead of using sys_errlist.
3243 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
3244 * env.c [! HAVE_STRERROR] (strerror): Likewise.
3245 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
3246 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
3247
32481994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3249
3250 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
3251
3252 * movemail.c (malloc): Don't declare it.
3253 (xmalloc): Cast result of malloc.
3254 (strcpy): Don't declare it.
3255
32561993-11-14 Morten Welinder (terra@diku.dk)
3257
3258 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
3259 (main): Use fclose to close file opened by fopen.
3260
3261 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
3262
3263 * movemail.c [MSDOS]: #undef `access'.
3264
3265 * b2m.c (main) [MSDOS]: Open all files as binary.
3266 * etags.c (main) [MSDOS]: Open all files as binary.
3267
3268 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
3269 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
3270 with.
3271
32721994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3273
3274 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
3275 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
3276 (LINK_CFLAGS): New variable.
3277 (timer): Use LINK_CFLAGS.
3278
32791993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3280
3281 * movemail.c: Include syswait.h.
3282 Fork a subprocess and use it to copy the mail file.
3283
32841993-12-07 Richard Stallman (rms@srarc2)
3285
3286 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
3287
32881993-12-04 Richard Stallman (rms@srarc2)
3289
3290 * movemail.c (main): When making tempname, cast result of xmalloc.
3291 Include room for EXXXXXX in the size.
3292 Don't use result of strcpy.
3293
32941993-12-03 Paul Eggert (eggert@twinsun.com)
3295
3296 * vcdiff: Add --brief option.
3297
32981993-12-02 Richard Stallman (rms@srarc2)
3299
3300 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
3301 for all executables and scripts.
3302
33031993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3304
3305 * Version 19.22 released.
3306
33071993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3308
3309 * Makefile.in (mostlyclean): Make it distinct from clean.
3310
33111993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3312
3313 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
3314
33151993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3316
3317 * Version 19.21 released.
3318
3319 * Makefile.in (install): Don't change mode or group when installing.
3320
3321 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
3322
33231993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3324
3325 * make-docfile.c (read_c_string): For "", concatenate the two strings.
3326
3327 * movemail.c (main): Fix error message text.
3328
33291993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3330
3331 * Version 19.20 released.
3332
33331993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
3334
3335 * etags.c: (C_entries): Keep track of ()-parenthesis level so that
3336 functions returning a pointer to a function, a la `signal', can be
3337 parsed. This also required new state `fstartlist' to `FUNCST'.
3338 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
3339 (C_entries, CNL): use it to isolate preprocessor directive processing
3340 from the other state engines.
3341 (begtk): add '~', for C++ class destructors.
3342
33431993-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
3344
3345 * etags.c (consider_token): removed unused variable firsttok.
3346 (prolog_getit): call pfnote with the right number of arguments.
3347
33481993-10-19 Paul Eggert (eggert@twinsun.com)
3349
3350 * rcs2log (printlogline): Don't generate lines containing only
3351 white space.
3352
33531993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3354
3355 * Makefile.in (${archlibdir}):
3356 Install ${SCRIPTS} from ${srcdir}, not cwd.
3357
33581993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3359
3360 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
3361 the comment character.
3362
33631993-10-01 Francesco Potorti` (pot@cnuce.cnr.it)
3364
3365 * etags.c (process_file): dead code removed.
3366 (S_ISREG): #define it using S_IFREG if not defined.
3367 (process_file): regular files have nothing to do with symlinks.
3368
33691993-09-28 Brian Fox (bfox@ai.mit.edu)
3370
3371 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
3372 from current directory. Only chmod and chgrp files that we
3373 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
3374 ${bindir}.
3375 (INSTALLFLAGS): Deleted definition, since it is an unused variable
3376 now.
3377
33781993-09-27 Brian Fox (bfox@ai.mit.edu)
3379
3380 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
3381 configure figure out the correct values for these variables.
3382
33831993-09-14 Brian Fox (bfox@ai.mit.edu)
3384
3385 * Makefile.in (archlibdir): Only install execuatables internally
3386 used by emacs; don't install bindir binaries here.
3387
33881993-09-24 Paul Eggert (eggert@twinsun.com)
3389
3390 * rcs2log: Add -h, -n, -r options.
3391 By default, look for *,v files as well as RCS/*,v files.
3392 Use $TMPDIR (default /tmp) instead of /tmp.
3393
dff28924 33941993-09-20 Francesco Potorti` (pot@fly)
362bc2da
DL
3395
3396 * etags.c (C_entries): is_func is initialised here instead of in
3397 consider_token for the sake of the yacc rules section.
3398 (C_entries): Now class, struct, enum, union and typedef produce
3399 named tags.
3400
34011993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
3402
3403 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
3404
34051993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3406
3407 * Support configuring in a different directory when ${srcdir} has
3408 already been configured.
3409 * Makefile.in (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before
3410 -I${srcdir} -I${srcdir}/../src.
3411 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
3412 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
3413 is already in CPP_FLAGS.
3414 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
3415 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
3416
34171993-08-25 Paul Eggert (eggert@twinsun.com)
3418
3419 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
3420 otherwise, HP awk complains.
3421
3422 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
3423 are common hangouts for SCCS commands.
3424
34251993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3426
3427 * Version 19.19 released.
3428
34291993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3430
3431 * Makefile.in (make-path): Dep on config.h.
3432
34331993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3434
3435 * b2m.c (TRUE, FALSE): Don't define if already defined.
3436
34371993-08-09 Paul Eggert (eggert@twinsun.com)
3438
3439 * rcs2log (awkscript):
3440 Some sites put comma-separated junk after the fullname.
3441 Remove it, but leave "Bill Gates, Jr" alone.
3442 Remove the junk from fullnames like "0000-Admin(0000)".
3443
34441993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3445
3446 * Version 19.18 released.
3447
34481993-08-04 Francesco Potorti` (pot@spiff.gnu.ai.mit.edu)
3449
3450 * etags.c (L_isdef, L_isquote, L_getit): small optimisations.
3451 (L_funcs): the (foo::defmumble stuff now should work.
3452 (consider_token): function returned random value--corrected.
3453 (C_entries): corrected == versus = typo.
3454
34551993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3456
3457 * etags.c (put_entries): For NODE->rewritten, put pattern before
3458 \177 and name after, not vice versa.
3459
34601993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3461
3462 * timer.c (main): Generate a SIGIO as soon as we've initialized.
3463
34641993-07-30 Francesco Potorti` (pot@cnuce.cnr.it)
3465
3466 * etags.c (FINCST): added the fignore status. Means we are
3467 after the parameter list and before the open curly brace.
3468 Allows correct parsing of C++ constructors.
3469 (C_entries, consider_token): make use of fignore.
3470 (consider_token): reset funcdef when next_token_is_func: when in
3471 ctags mode makes DEFVAR and others work better.
3472 (L_isquote): function that recognises the "(quote" string.
3473 (L_getit): ignore quoting via "'" or "(quote". Useful for defalias.
3474
34751993-07-29 Paul Eggert (eggert@twinsun.com)
3476
3477 * rcs-checkin: Don't check whether a file is readable until we have
3478 decided not to ignore it.
3479
34801993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3481
3482 * Makefile.in (etags): Depend on ../src/config.h.
3483
3484 * emacsserver.c: Include types.h before file.h.
3485
34861993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3487
3488 * Makefile.in (install): Use .n, not .new, for temporary filenames.
3489
34901993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3491
3492 * Version 19.17 released.
3493
34941993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3495
3496 * etags.c (print_help): Break up the very long strings containing
3497 the help message into shorter strings, to placate chintzy C
3498 compilers which can't handle strings that long.
3499
3500 * wakeup.c: Use CPP tangle from autoconf manual to #include the
3501 correct combination of <time.h> and <sys/time.h>.
3502
35031993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
3504
3505 * etags.c (alloca): removed all references to it.
3506 (main): now calls xnew instead of alloca for portability.
3507 (../src/config.h): included only if HAVE_CONFIG_H.
3508 (const): void definition removed--config.h takes care of it.
3509
35101993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
3511
3512 * etags.c (consider_token): was `==', now is `='.
3513 (consider_token): DEFUNs now treated like funcs in ctags mode.
3514
3515 * etags.c (LEVEL_OK_FOR_FUNCDEF): removed.
3516 (C_entries): optimized the test that used LEVEL_OK_FOR_FUNCDEF.
3517 (C_entries): removed a piece of useless code.
3518 (C_entries): making typedef tags is delayed until a semicolon
3519 is met. This handles "typedef int X, Y, Z;" correctly.
3520
35211993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3522
3523 * Version 19.16 released.
3524
3525 * b2m.c: #include <sys/types.h>.
3526 (ltoday): Declare this to be time_t.
3527
35281993-06-30 Paul Eggert (eggert@twinsun.com)
3529
3530 * vcdiff: Add -q option.
3531
35321993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3533
3534 * etags.c: #include "config.h" and the alloca CPP tangle before
3535 #including the system headers and getopt.h. AIX requires the
3536 #pragma to come before any actual C code.
3537
35381993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3539
3540 * Makefile.in (ctags): Depend on etags, so that parallel makes
3541 don't write etags.o files on top of each other.
3542
35431993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3544
3545 * version 19.15 released.
3546
35471993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3548
3549 * etags.c (add_node): Move var last_node to file scope.
3550
35511993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3552
3553 * Version 19.14 released.
3554
35551993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3556
3557 Bring mumbleclean targets into conformance with GNU coding standards.
3558 * Makefile.in (distclean): Call clean to do most of the work.
3559 Delete aixcc.c and TAGS.
3560 (realclean): Just call distclean.
1c478461 3561
362bc2da
DL
3562 * Makefile.in: Remember, spaces are not tabs.
3563
35641993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3565
3566 * Makefile.in (CPP_CFLAGS): New variable.
3567 Use it instead of ALL_CFLAGS when compiling a .c file.
3568 (getopt.o, getopt1.o): Add explicit compilation commands.
3569
35701993-06-10 Mark D. Baushke (mdb@cisco.com)
3571
3572 * etags.c: Reinstate old -f option as an alias for -o for
3573 installed base uses.
3574
35751993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3576
3577 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
3578 to bind or accept, cast the pointer, to avoid warnings on systems
3579 which declare prototypes for this.
3580 * emacsclient.c (main): Same.
3581
3582 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
3583
35841993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3585
3586 * Version 19.13 released.
3587
3588 * wakeup.c: Include sys/types.h, too; I think that's where time_t
3589 comes from, not sys/time.h.
3590
35911993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3592
3593 * wakeup.c: Include sys/time.h.
3594
3595 * etags.c: #undef static.
3596
3597 * Version 19.12 released.
3598
3599 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
3600
36011993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3602
3603 * Version 19.11 released.
3604
3605 * timer.c [LINUX]: #undef signal.
3606 * emacsserver.c: #undef signal.
3607
36081993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3609
3610 * wakeup.c (main): Make when a time_t.
3611
36121993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3613
3614 * Makefile.in: (${archlibdir}): Use `(cd foo && pwd)` instead of
3615 `(cd foo ; pwd)` to get the canonical name of a directory; cd
3616 might fail, and have pwd print out the current directory.
3617
3618 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
3619 string-handling functions.
3620
36211993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3622
3623 * Version 19.10 released.
3624
36251993-05-29 Paul Eggert (eggert@twinsun.com)
3626
3627 * rcs2log: When given no file arguments, inspect RCS/.* as well
3628 as RCS/*. Don't report an error if RCS is empty or nonexistent.
3629
36301993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3631
3632 * Makefile.in (timer): Link with $(LOADLIBES).
3633
36341993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3635
3636 * fakemail.c (put_line): Don't output \n\t unless more text follows.
3637
36381993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3639
3640 * etags.c: Replace the CPP tangle for alloca with the one from the
3641 autoconf documentation, since that's working elsewhere.
3642
36431993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3644
3645 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
3646 description files can find their ancestors.
3647
36481993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3649
3650 * Makefile.in (install): Get the scripts from ${srcdir},
3651 unlike the executables.
3652 (ALL_CFLAGS): Add -I../src
3653
36541993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3655
3656 * Version 19.9 released.
3657
36581993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3659
3660 * Makefile.in (install): Do install the programs listed in
3661 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
3662 INSTALLABLE_SCRIPTS, instead of writing the programs out.
3663
3664 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
3665 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
3666
36671993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3668
3669 * etags.c: Include ../src/config.h.
3670
3671 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
3672 in first loop. Delete files from bindir before installing new ones.
3673 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
3674
36751993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3676
3677 * Version 19.8 released.
3678
3679 * make-docfile.c: Doc fix.
3680
36811993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3682
3683 * tcp.c: Fix comment syntax at top of file.
3684 (main): Don't call htons with the port number.
3685
36861993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3687
3688 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
1c478461 3689 appropriate.
362bc2da
DL
3690
3691 * Makefile.in (install): Refer to the variables INSTALLABLES and
3692 INSTALLABLE_SCRIPTS, instead of writing them out.
3693
36941993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3695
3696 * make-path.c (main): Return 0.
3697
36981993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3699
3700 * Version 19.7 released.
3701
37021993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3703
3704 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
3705
37061993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3707
3708 * tcp.c: New file.
3709
37101993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3711
3712 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
3713
37141993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3715
3716 * timer.c (notify): Don't call sighold or sigrelse; they're USG
3717 only. We should really fix this later, but let's just make it
3718 compile for now.
3719
3720 Install patches from David J. Mackenzie to make the srcdir option
3721 work.
3722 * Makefile.in (srcdir, VPATH): Get this value from the top-level
3723 Makefile.
3724 (INSTALLABLES): Split this into two lists - INSTALLABLES and
3725 INSTALLABLE_SCRIPTS.
3726 (INSTALLABLE_SCRIPTS): New list.
3727 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
3728 (${archlibdir}): The scripts to be installed live in the source
3729 tree, not in the object tree.
3730 (test-distrib): Note that the data file lives in the source tree,
3731 not the object tree.
3732 (GETOPTDEPS): Note that getopt.h lives in the source tree.
3733 (all other targets): Change references to source files to use
3734 ${srcdir}, except for config.h, which lives in the object dir.
3735 (timer.o): Note that this depends on ../src/config.h.
3736 * make-docfile.c (main): Add a -d option, to tell it where to find
3737 the source files.
3738 * test-distrib.c (main): Take the name of the distribution file to
3739 test from the command line.
3740
3741 * timer.c: Fix mispellings of get_date function's name.
3742
37431993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
3744
3745 * etags.c (main):
3746 Don't require that there be input files if -i switches were given.
3747
37481993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3749
3750 The GNU coding standards specify that CFLAGS should be left for
3751 users to set.
3752 * Makefile.in (CFLAGS): Put this in the "things configure might
3753 edit" section, and have it default to -g.
3754 (ALL_CFLAGS): New variable, set to all the flags which should be
3755 passed to compilations. Replace all other uses of CFLAGS with
3756 ALL_CFLAGS.
3757 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
3758
3759 * Makefile.in (DEFS): Remove this; it's always just going to be
3760 "-DHAVE_CONFIG_H -Demacs".
3761
37621993-05-03 Paul Eggert (eggert@twinsun.com)
3763
3764 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
3765 /[/]/, so change it to /[\/]/. This should work on all
3766 Posix-compliant awks. It's slightly wrong with traditional awk,
3767 since it matches \ too, but that's a minor problem compared to awk
3768 syntax errors.
3769
37701993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3771
3772 * Makefile.in (ALLOCA): New variable, whose value we should
3773 inherit from the top-level makefile.
3774 (etags, ctags): Include ALLOCA in the list of object files that
3775 these executables depend on and link.
3776
37771993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3778
3779 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
3780
37811993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
3782
3783 * make-docfile.c (write_c_args): Print an argument named "defalt"
3784 as "default".
3785
37861993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3787
3788 * Makefile.in (C_SWITCH_SYSTEM): New variable.
3789 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
3790 compiler.
3791
37921993-03-22 Francesco Potorti` (pot@cnuce.cnr.it)
3793
3794 * etags.c (YACC): flag added to c_ext.
3795 (c_ext): no more a synonim for c_ext&C_PLPL because of YACC.
3796 (find_entries): consistently use streq when reasonable.
3797 (find_entries): a .y file is a yacc file.
3798 (get_C_stab): c_ext becomes c_ext&C_PLPL.
3799 (C_entries): logical cplpl means c_ext&C_PLPL.
3800 (C_entries): logical yacc_rules means we are after the first %%.
3801 (C_entries): added logic for yacc files.
3802
38031993-03-16 Francesco Potorti` (pot@cnuce.cnr.it)
3804
3805 * etags.c (C_entries): ':' case moved to the second switch.
3806 (C_entries): do not examine token if structdef==scolonseen.
3807 (consider_token): structtag set to null string for enum.
3808
38091993-03-12 Francesco Potorti` (pot@cnuce.cnr.it)
3810
3811 * etags.c (GET_COOKIE): and related macros removed.
3812 (logical): is now int, no more a char.
3813 (reg): define deleted.
3814 (isgood, _gd, notgd): deleted.
3815 (gotone): deleted.
3816 (TOKEN): member linestart removed.
3817 (linepos, prev_linepos, lb1): deleted.
3818 (main): call initbuffer on lbs array instead of lb1.
3819 (init): removed the initialisation of the logical _gd array;
3820 (find_entries): a .sa suffix means assembler file.
3821 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
3822 All C state machines rewritten.
3823 (C_entries): complete rewrite.
3824 (condider_token): complete rewrite.
3825 (getline): deleted.
3826
38271993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
3828
3829 * etags.c (C_entries): Added the quotednl logical variable.
3830 Used for parsing of #define's spanning multiple lines.
3831
38321993-02-23 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
3833
3834 * etags.c (C_entries): Save the definedef status even when a
3835 newline is met inside a string.
3836
38371993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
3838
3839 * Makefile.in (EXECUTABLES): added rcs-checkin.
3840
3841 * Makefile.in (unlock, relock): New productions.
3842
38431993-03-16 Paul Eggert (eggert@twinsun.com)
3844
3845 * rcs2log: Some awks don't understand "\r". Code around this.
3846 Unfortunately this requires putting a carriage return in the
3847 source code. Don't assume that rlog will tolerate times like
3848 `10:10:60'; RCS 5.7 won't allow this.
3849
38501993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3851
3852 * timer.c (main): Set the ownership of the stdin file descriptor
3853 to the current process. Print error messages if either of the
3854 fcntl's fails.
3855
3856 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
3857 ../src/config.h), not void.
3858
38591993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3860
3861 * b2m.c (main): Don't exit upon reading a blank line.
3862
38631993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
3864
3865 * etags.c (C_entries): New local variable quotednl. Used for
3866 parsing of #define's spanning multiple lines.
3867
3868 * etags.c (C_entries): Save the definedef status
3869 even when a newline is met inside a string.
3870
38711993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3872
3873 * timer.c (notify): Initialize waitfor properly.
3874
38751993-02-22 Francesco Potorti` (pot@CNUCE.CNR.IT)
3876
3877 * etags.c (C_entries): Don't reset definedef when a newline inside a
3878 comment is met.
3879
38801993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3881
3882 * etags.c (find_entries): If filename ends in .f or .for,
3883 don't try anything but Fortran.
3884
38851993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
3886
3887 * timer.c (notify): Flush stdout after writing message to avoid lossage
3888 on terminals.
3889
3890 (notify): Also, write a newline after the token.
3891
38921992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3893
3894 * Makefile.in (exec_prefix): New variable.
3895 (bindir, libdir): Use it instead of `prefix'.
3896
3897 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
3898
3899 * Makefile.in (libdir): Default to ${prefix}/lib.
3900 (archlibdir): Adjusted to match.
3901
3902 * Makefile.in (distclean): Don't delete backup or autosave files.
3903 (extraclean): Like realclean, but does delete backup and autosave
3904 files.
3905
3906 * Makefile.in (realclean): Ignore errors from rm.
3907
3908 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
3909 that doesn't exist anymore.
3910
39111992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3912
3913 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
3914 described in the top-level Makefile.
3915 (UTILITIES): Add make-path to the list of utility programs.
3916 (../arch-lib): Replaced by the ${archlibdir} target, which places
3917 the executables in their permanent home.
3918 (install, install.sysv, install.xenix): Consolidated into one
3919 target which should work under all circumstances, modulo a few
3920 ignored error messages.
3921
3922 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
3923 a different number of arguments than other DEFVARs, recognize it
3924 specially, and expect the right number of commas.
3925
39261992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3927
3928 * make-path.c: New program, to help with the installation process.
3929 * Makefile.in (make-path): New target.
3930
3931 * make-path.c (touchy_mkdir): Remove debugging output.
3932
39331992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3934
3935 * Makefile.in (getdate.o): Added explicit target for this, so we
3936 can indicate that it depends on ../src/config.h.
3937
39381992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3939
3940 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
3941 instead of CFLAGS.
3942 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
3943
39441992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3945
3946 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
3947 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
3948 that system.
3949
3950 * Makefile.in (arch-lib): Give rm the `-f' option.
3951
39521992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3953
3954 * make-docfile.c (write_c_args): Rewritten to correctly print
3955 &optionals before the first identifier, but after the first paren.
3956 This code used to just wait for commas or spaces; now it notices
3957 identifier boundaries.
3958
39591992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3960
3961 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
3962
39631992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3964
3965 * make-docfile.c (write_c_args): Print the argument lists properly
3966 when the first argument is optional.
3967
39681992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3969
3970 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
3971 Redefine @item. Set catcode of +.
3972
39731992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3974
3975 * emacsclient.c (main): Set IPC_CREAT in msgget call.
3976
39771992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3978
3979 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
3980 (TEX_decode_env): Make `tab' one element longer.
3981
39821992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3983
3984 * etags.c (PF_funcs): Recognize the "entry" keyword.
3985
39861992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3987
3988 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
3989
39901992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3991
3992 * timer.c (events): Rather than having slots marked as in use or
3993 out of use by the `token' field, keep all pending events at the
3994 beginning of the array. When we delete an event in the middle of
3995 the array, we move the last event into its place.
3996 (num_events): New variable.
3997 (schedule): It is now cheaper to find a free event slot;
3998 events[num_events] is the first free slot.
3999 (notify): Scan events[0 .. num_events-1], instead of the whole
4000 array. When an event fires, move the last event in the array into
4001 its spot. Use num_events to determine whether or not there are
4002 any pending events, not wait_for.
4003 (getevent): Deleted unused variable `ep'.
4004 (sigcatch): It's now easier to find all the active events.
4005 (main): Initialize num_events.
4006
4007 * etags.c: Rather than fret about which systems have index and
4008 which systems have strchr, and how to tell the difference between
4009 them, we just write out our own versions. Big deal.
4010 (index, rindex): Extern declarations removed.
4011 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
4012 (etags_index, etags_rindex): New declarations.
4013 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
4014 TEX_getit, substr): Use the etags_*index functions, rather than
4015 the native *index functions.
4016 (rindex, index): Renamed to etags_rindex and tags_rindex, and
4017 made them unconditionally defined, rather than having them depend
4018 on NEED_*INDEX.
4019
4020 * etags.c (savenstr): Add declaration for this at top of file.
4021 (TEX_decode_env): Don't declare it local to this function.
4022
4023 * b2m.c: #include "../src/config.h", so we can test for the USG
4024 macro, and decide whether to include <string.h> or <strings.h>.
4025 * Makefile.in: Note that b2m.c depends on ../src/config.h.
4026
40271992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4028
4029 * timer.c: Reformatted according to the GNU coding standards.
4030 Removed arbitrary limits on the number of events queued and the
4031 length of the tokens used to identify them.
4032 Removed casts to (void).
4033 Removed debugging printfs; they clutter the code, and the need
4034 can be better filled using a real debugger.
4035
40361992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4037
4038 * timer.c: Installed new version from Eric Raymond; this is more
4039 portable, since it doesn't try to use SIGIO.
4040
40411992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4042
4043 * emacsclient.c (main): If we can't find the socket in this
4044 person's home directory, print a message which asks if they've
4045 started the server, instead of just printing the message from
4046 sys_errmsg; Cygnus finds that people are much less confused by
4047 this.
4048
40491992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4050
4051 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
4052 so that index and rindex get defined, why don't we actually
4053 control index and rindex using symbols called "NEED_INDEX" and
4054 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
4055 little more readable than defining something whose name implies
4056 that it's not?
4057
40581992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4059
4060 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
4061 distribution:
4062 Miscellaneous doc fixes.
1c478461 4063 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
4064 (scan_lisp_file): Instead of using long hairy strings of ifs, call
4065 read_lisp_symbol and then see what we got. Call skip_white
4066 instead of writing out a loop to do its job. Correctly extract
4067 docstrings from "defmacro" declarations.
4068
40691992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4070
4071 * movemail.c (strcpy): Declare this to return char *.
4072
40731992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4074
4075 * etags.c (C_entries): When we find a C++ comment, do actually
4076 skip to the end of the line; do a 'break' instead of a 'continue'.
4077
40781992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4079
4080 * etags.c (getit): Add missing parenthesis to expression which
4081 decides if this token is an identifier.
4082
40831992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
4084
4085 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
4086
40871992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4088
4089 * etags.c (put_entries): Always put space between name and line num.
4090
40911992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
4092
4093 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
4094 warning.
4095 (LEVEL_OK_FOR_FUNCDEF): Ditto.
4096
40971992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4098
4099 * make-docfile.c (write_c_args): Pass both arguments to putc.
4100
41011992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
4102
4103 * etags.c (C_entries): Fixed reading of "..." strings.
4104 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
4105 the C library source.
4106
4107 * etags.c (C_entries): When we see a backslash inside a quoted
4108 string, skip to the next character. This allows us to correctly
4109 deal with strings containing quotes.
4110
41111992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4112
4113 * make-docfile.c (write_c_args): Print the C argument names as
4114 they would be written in Elisp; print '_' as '-'.
4115
41161992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4117
4118 * movemail.c [POP]: Get user name via getpwuid.
4119
41201992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4121
4122 * Makefile.in: flags in CC invocations rearranged for no reason.
4123
41241992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4125
4126 * etags.c (print_help): Remember not to imbed raw newlines in
4127 strings - end the lines with `\n\'.
4128
41291992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4130
4131 * timer.c (getevent): Removed declaration of memcpy; since
4132 different systems have different return types, and we're not even
4133 using the return type anyway, it wasn't doing us any good.
4134
41351992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4136
4137 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
4138 type of this function.
4139
41401992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4141
4142 * ChangeLog: Since the old etc contents have been split into etc
4143 and lib-src, the old etc's ChangeLog has been duplicated in the
4144 new etc and lib-src. That means that each contains complete and
4145 coherent information, although each contains extraneous
1c478461 4146 information.
362bc2da
DL
4147
41481992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4149
4150 * lib-src/etags.c: "--no-warning" option renamed to "--no-warn",
4151 to be consistent with other GNU programs, like makeinfo.
4152
4153 * lib-src/Makefile: Renamed to Makefile.in; the configure script
4154 will edit this to produce Makefile.
4155
41561992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4157
4158 * etags.c (print_help, print_version): New functions.
4159 (main): Options added to support them.
4160
4161 * etags.c (longopts): New array of long names for the options.
4162 (main): Recognize them.
4163
41641992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4165
4166 * etags.c (C_entries): Removed comment saying that \" in a string
4167 isn't recognized as magic, because it is correctly handled.
4168
4169 * getopt.c, getopt.h: New files, from GNU C library.
4170 * etags.c: Rewritten to use getopt.
4171 #include "getopt.h".
4172 (file_num): Variable deleted; its role is now played by getopt's
4173 optind.
4174 (main): Argument processing loop rewritten to call getopt to get
4175 next option. Options which take parameters (-o and -i) rewritten
4176 to get parameter from optarg instead of argv[1]. Filename
4177 preprocessing loop and update command changed similarly.
4178 * Makefile (etags, ctags): Depend on and link with getopt.h,
4179 getopt.o, and getopt1.o.
4180 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
4181
4182 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
4183 is non-zero.
4184
4185 (main): In the argument processing loop, the 'goto next_arg'
4186 statements are breaking out of the switch statement in exactly the
4187 same way that a simple 'break' statement would; replace the gotos
4188 with breaks, and remove the label.
4189
41901992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4191
4192 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
4193 (consider_token): Move next_token_is_func to global.
4194
41951992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4196
4197 * Makefile: Conform with GNU coding standards:
4198 (mostlyclean): New target, synonymous with clean.
4199 (TAGS, check): New targets.
4200 (INSTALL, INSTALLFLAGS): New variables.
4201
42021992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4203
4204 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
4205 `config.emacs' to `configure'.
4206
4207 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
4208 * etc/MACHINES: Same.
4209
42101992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4211
4212 * movemail.c (main): Allow tempname to be as long as necessary,
4213 instead of limiting it to 39 characters.
4214
4215 * movemail.c (main): Move declaration of buf from top of function
4216 to local block surrounding the copy loop. This makes it less
4217 likely to be confused with the buf used by the code which checks the
4218 permissions on outname's directory.
4219
42201992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
4221
4222 * SERVICE: Remove my entry.
4223
42241992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
4225
4226 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
4227 hardcoded -g.
4228
4229 * movemail.c (xmalloc): Return char *, not int.
4230 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
4231 that is off by default -- normally don't unlink the mail spool
4232 file, just empty it. Pass creat mode 0600, not 0666.
4233
dff28924 42341992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
4235
4236 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
4237 (all): Instead of here.
4238 (install): Don't use the -s option, since people need symbols to
4239 debug code.
4240
dff28924 42411992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
362bc2da
DL
4242
4243 * etags-vmslib.c (fn_exp): Add type cast.
4244
42451992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4246
4247 * movemail.c: Changes in comments.
4248
dff28924 42491992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
4250
4251 * Makefile: Make the distclean target erase the DOC files from
4252 ../share-lib and the executables from ../arch-lib.
4253
dff28924 42541992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
4255
4256 * emacsclient.c: #include <sys/stat.h>
4257 (main): Do declare statbfr.
4258
dff28924 42591991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
4260
4261 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
4262 for the socket, depending on SERVER_HOME_DIR.
4263 If using /tmp, put host name in the socket name.
4264
4265 * movemail.c (pfatal_and_delete): New function.
4266 (main, popmail): Use it.
4267 (popmail): Close output before deleting messages.
4268 Check for error on close and on fsync.
4269 Use `fatal' where appropriate.
4270 (main): Remove (void).
4271
4272 * aixcc.lex: New file. Not officially part of Emacs.
4273 * Makefile: Rules for that.
4274
dff28924 42751991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
362bc2da
DL
4276
4277 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
4278
4279 * etags.c (main): Properly cast call to alloca that initializes
4280 included_files.
4281
42821991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
4283
4284 * etags.c (files_are_tag_tables): Remove global var.
4285 (process_file): Don't test it. Also remove hack checking for a
4286 file named "TAGS".
4287 (main): -i now takes an arg which is the name of a file to include.
4288 Collect these names and emit include tags for them after processing
4289 all the argument files.
4290
dff28924 42911991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
4292
4293 * wakeup.c: Terminate if parent goes away.
4294
dff28924 42951991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
4296
4297 * etags.c (C_entries): Process token before handling end of line.
4298 When inner loops reach end of line, just back up.
4299 Let the real end of line processing happen in just one place.
4300 (consider_token): Likewise.
4301
dff28924 43021991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
362bc2da
DL
4303
4304 * etags.c (TEX_mode): Skip comments while scanning the text to see
4305 which escape character this file uses.
4306
dff28924 43071991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
4308
4309 * emacsserver.c [USG]: Terminate if msgrcv fails.
4310
dff28924 43111991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4312
4313 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
4314
dff28924 43151991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
4316
4317 * make-docfile: Find the arguments to a C function correctly,
4318 by not ignoring the character that read_c_string returns. Don't
4319 even try to find argument names for functions that take MANY
4320 or UNEVALLED arguments, since they're a figment of the docstring's
4321 imagination.
4322
dff28924 43231991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
4324
4325 * make-docfile: Read the .elc files generated by the new byte
4326 compiler.
4327
dff28924 43281990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4329
4330 * refcard.tex: Use cm fonts, not am, in multi-column mode.
4331
dff28924 43321990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4333
4334 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
4335
dff28924 43361990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4337
4338 * Makefile (install*): No need to install wakeup.
4339
dff28924 43401990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4341
4342 * Makefile (install*): Install emacsclient like etags.
4343
dff28924 43441990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4345
4346 * movemail.c (error): Handle 3 args.
4347 (main): Don't check input access if using pop.
4348
dff28924 43491990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4350
4351 * etags.c (find_entries): Check for numbers after Scheme suffix.
4352
dff28924 43531990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4354
4355 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
4356
dff28924 43571990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4358
4359 * Makefile (nemacstool, xvetool): New targets.
4360
dff28924 43611990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4362
4363 * emacsclient.c: Include errno.h and define related variables.
4364
dff28924 43651990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4366
4367 * emacsclient.c: Change usage message.
4368
dff28924 43691990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
4370
4371 * emacs.1: Add break before -nw option.
4372
dff28924 43731990-08-19 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
4374
4375 * qsort.c: Replace with GNU version.
4376
dff28924 43771990-08-14 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
4378
4379 * wakeup.c: New program replacing loadst.c.
4380
dff28924 43811990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4382
4383 * emacsclient.c [USG]: Pass msgsnd only 4 args.
4384
dff28924 43851990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
362bc2da
DL
4386
4387 * etags.c: Rename `flag' variables for what they do instead of
4388 which option character sets them.
4389
dff28924 43901990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4391
4392 * loadst.c (main): Conditional to get load average on Apollo.
4393
dff28924 43941990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da
DL
4395
4396 * emacsserver.c: Set the permission on the socket to 0600.
4397
dff28924 43981990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4399
4400 * emacsclient.c [BSD]: Print clean message for failing getwd.
4401
dff28924 44021990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
4403
4404 * getdate.y: Use the getdate.y from GNU tar for timer.
4405
dff28924 44061990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
362bc2da
DL
4407
4408 * emacsclient.c (main): Don't put brackets around "filename" in
4409 usage message. It isn't optional.
4410
dff28924 44111990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da
DL
4412
4413 * etags.c (getit): Recognize '$' as beginning identifiers.
4414
dff28924 44151990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
4416
4417 * emacsserver.c: Renamed from server.c.
4418 * Makefile: Reference emacsserver rather than server.
4419 * MACHINES: Doc fix for new emacsserver name.
4420
dff28924 44211990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4422
4423 * emacsclient.c: Print program name in error messages.
4424
dff28924 44251990-01-19 David Lawrence (tale@cocoa-puffs)
362bc2da
DL
4426
4427 * timer.c, getdate.y (new files) and Makefile:
4428 Sub-process support for run-at-time in timer.el.
1c478461 4429 Doesn't yet work correctly for USG.
362bc2da 4430
dff28924 44311990-01-10 Jim Kingdon (kingdon@pogo)
362bc2da
DL
4432
4433 * MACHINES: Add HP 300 running BSD.
4434
dff28924 44351990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4436
4437 * yow.c: Dynamically allocate buffer; skip header before random
4438 choice to avoid bias toward first item.
4439
dff28924 44401989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4441
4442 * etags.c (readline): Separate out init of `pend'.
4443
dff28924 44441989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4445
4446 * etags.c: Undo changes relating to isgoodhdr.
4447
dff28924 44481989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4449
4450 * etags.c (isgoodhdr): New macro.
4451 (_gdh, notgdh): New variable used by that.
4452 (init): Initialize _gdh.
4453 (find_entries): Set header_file.
4454 (consider_token): Use isgoodhdr if in header file.
4455
4456 * etags.c (total_size_of_entries):
4457 Was miscalculating by 1 in rewritten case.
4458
4459 * etags.c (PAS_funcs): One arg to pfnote was missing.
4460
dff28924 44611989-12-05 Joseph Arceneaux (jla@spiff)
362bc2da
DL
4462
4463 * MACHINES: Change for the ULTRIX entry.
4464
dff28924 44651989-11-21 Joseph Arceneaux (jla@spiff)
362bc2da
DL
4466
4467 * etags.c (process_file): If file is not regular, return.
4468
dff28924 44691989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4470
4471 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
4472
dff28924 44731989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4474
4475 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
4476 (main): If HAVE_GETLOADAVG, don't call `nlist'.
4477
dff28924 44781989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4479
4480 * etags.c (consider_token): Allow any number of typespec keywords
4481 after `typedef', before new type name.
4482 (enum sym_type): Add st_C_typespec.
4483 (C_create_stab): Put typespec kwds in table.
4484
dff28924 44851989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
4486
4487 * etags.c (main): Don't depend on name invoked by.
4488 If CTAGS is not defined, assume it is ETAGS.
4489
dff28924 44901989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4491
4492 * etags.c (L_funcs): Allow package name in define construct,
4493 as in (foo::defmumble name-defined ...).
4494
dff28924 44951989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4496
4497 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
4498
4499 * Makefile (yow): Depends on ../src/paths.h.
4500
dff28924 45011989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
4502
4503 * etags.c: Fix compilation by moving Pascal after Fortran.
4504
dff28924 45051989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4506
4507 * movemail.c [USG]: Define F_OK, etc., if not found in header.
4508
dff28924 45091989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4510
4511 * hexl.c: New file, supports hexl-mode.
4512
dff28924 45131989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4514
4515 * movemail.c: New compilation flag MAIL_USE_MMDF.
4516
dff28924 45171989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4518
4519 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
4520 * server.c: Likewise.
4521
4522 * make-docfile.c (scan_c_file): Output argument names at end of string.
4523 (write_c_args): New subroutine.
4524
dff28924 45251989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4526
4527 * movemail.c: Report failure of flock.
4528
dff28924 45291989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4530
4531 * etags.c (find_entries): Allow multi-letter extensions for fortran.
4532
dff28924 45331989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4534
4535 * loadst.c: on bsd4.3, use gettimeofday instead of CPUSTATES.
4536
dff28924 45371989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4538
4539 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
4540
4541 * emacsstool.1: update to document environment variables.
4542
dff28924 45431989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4544
4545 * etags.c (PAS_funcs): New function by Mosur Mohan.
4546
4547 * movemail.c: On sysv, include unistd.h.
4548
dff28924 45491989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4550
4551 * b2m.c: New file.
4552
dff28924 45531989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4554
4555 * etags.c: Prolog support from Sunichirou Sugou
4556
dff28924 45571989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4558
4559 * Makefile (clean): New target.
4560
dff28924 45611989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4562
4563 * fakemail.c (put_line): Break header lines at 79 cols.
4564
dff28924 45651989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4566
4567 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
4568 multiple tags per line.
4569
dff28924 45701989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4571
4572 * movemail.c: Check access before doing real work.
4573 Check that outfile is in a writable directory.
4574 On fatal error, delete the lock file.
4575
dff28924 45761988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
362bc2da
DL
4577
4578 * env.c: Add decl for my-index
4579 * etags.c (file-entries): .oak => scheme
4580
dff28924 45811988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4582
4583 * movemail.c: Use `access' to check input and output files.
4584
dff28924 45851988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4586
4587 * emacsclient.c (main): Ignore all of CWD before first slash.
4588
dff28924 45891988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4590
4591 * etags.c (readline): Double linebuffer->size outside the xrealloc.
4592
dff28924 45931988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4594
4595 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
4596 * server.c: chmod the socket to 0700.
4597
dff28924 45981988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4599
4600 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
4601 (add_field): Delete comments and turn `<', `>' to spaces
4602 in header lines.
4603 (USE_FAKEMAIL): New customization macro says to make fakemail
4604 not be a no-op even on a BSD system.
4605
dff28924 46061988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4607
4608 * etags.c (consider_token): Skip comments just like whitespace.
4609 Notice `struct', etc. and set strtag for those tokens.
4610 Return 1 for the token following `struct' if an open-brace follows it.
4611 (C_entries): Special handling of token following `struct'
4612 needed because we have probably advanced to the following line
4613 to find the `{'.
4614 (main): New option `T' sets tflag and strflag.
4615 Set both of them by default if eflags.
4616
dff28924 46171988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4618
4619 * movemail.c: Do fsync before closing output.
4620
dff28924 46211988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
362bc2da
DL
4622
4623 * movemail.c: Better error message when can't create tempname.
4624 This file needs a great deal of extra error-checking and lucid reporting...
4625
dff28924 46261988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4627
4628 * etags.c: Support assembler code for .s and .a files.
4629 (getit): Allow underscore in a tag.
4630
dff28924 46311988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4632
4633 * movemail.c: Close output and check errors before deleting input.
4634
dff28924 46351988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
4636
4637 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
4638 whether to prefix it. Handle line number args.
4639
dff28924 46401988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
362bc2da
DL
4641
4642 * etags.c (main): default setting of eflag was backwards.
4643
dff28924 46441988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4645
4646 * etags.c: New option -i. -f renamed -o.
4647 `-' as input file means read input file names from stdin.
4648 -i spec'd or input file named TAGS means the input file is another
4649 tag table; output an "include" line for it.
4650
dff28924 46511988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4652
4653 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
4654 New targets install, install.sysv, install.xenix.
4655 This makefile is now responsible for installing executables
4656 and documentation from this directory into system directories.
4657
dff28924 46581988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
362bc2da
DL
4659
4660 * server.c, emacsclient.c (main): Compute socket name from euid.
4661
dff28924 46621988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4663
4664 * emacsclient.c: Args like +DIGITS are passed through unchanged.
4665
dff28924 46661988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4667
4668 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
4669 * emacsclient.c: Likewise.
4670 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
4671
dff28924 46721988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4673
4674 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
4675 (istoken) New string-comparison macro.
4676 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
4677
dff28924 46781988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4679
4680 * etags.c: Changes for VMS.
4681 Always define ETAGS on VMS.
4682 Define macros GOOD and BAD for success and failure exit codes.
4683 (begtk, intk): Allow `$' in identifiers
4684 (main): Don't support -B, -F or -u on VMS.
4685 Alternate loop for scanning filename arguments.
4686 (system): Delete definition of this function.
4687
4688 * etags-vmslib.c (system): Undefine this; VMS now provides it.
4689
dff28924 46901988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4691
4692 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
4693 around include of param.h. (Like fns.c.)
4694
dff28924 46951988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
4696
4697 * loadst.c (load_average): Move load-average code to this new fn.
4698 Add conditionals to compute load ave on UMAX.
4699
dff28924 47001988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
4701
4702 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
4703 with opposite sense.
4704
dff28924 47051988-05-13 Chris Hanson (cph@kleph)
362bc2da
DL
4706
4707 * emacsclient.c: Delete references to unused variable `out'. This
4708 caused a bus error when used under hp-ux.
4709
dff28924 47101988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
4711
4712 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
4713
dff28924 47141988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
362bc2da
DL
4715
4716 * etags.c (find_entries): `.t' or `.sch' means scheme code.
4717
dff28924 47181988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
4719
4720 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
4721
dff28924 47221988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
4723
4724 * movemail.c: #undef close, since config can #define it on V.3.
4725 * emacsclient.c, fakemail.c, loadst.c, server.c: likewise.
4726
dff28924 47271988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
4728
4729 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
4730 invalid escape sequences such as `\{'.
4731
4732 * loadst.c: Add `sequent' conditional for file dk.h.
4733
dff28924 47341988-03-20 Richard M. Stallman (rms@wilson)
362bc2da
DL
4735
4736 * server.c [not BSD and not HAVE_SYSVIPC]: fix error message.
4737
4738 * loadst.c (main) [XENIX]: use /usr/spool/mail, not /usr/mail.
6922b018
KH
4739
4740;; Local Variables:
d19249e7 4741;; coding: iso-2022-7bit
6922b018 4742;; End:
2a34a036
GM
4743
4744 Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001
4745 Free Software Foundation, Inc.
4746 Copying and distribution of this file, with or without modification,
4747 are permitted provided the copyright notice and this notice are preserved.