*** empty log message ***
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
a0ec7a4a
LK
12005-07-04 Lute Kamstra <lute@gnu.org>
2
3 Update FSF's address in GPL notices.
4
0e0dddda
EZ
52005-06-13 Eli Zaretskii <eliz@gnu.org>
6
7 * makefile.w32-in ($(DOC)): Fix last change.
8
5a77c8e2
EZ
92005-06-12 Eli Zaretskii <eliz@gnu.org>
10
11 * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
12 temacs.exe, and the preloaded *.elc files. This avoids
13 unnecessary dumping and DOC rebuilding.
14
1a8fb426
EZ
152005-06-04 Eli Zaretskii <eliz@gnu.org>
16
17 * ntlib.h (fileno): Don't define if already defined.
18
7235a58f
TTN
192005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
20
21 * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
22 (yow): Use EXIT_FAILURE in case of memory error.
23
5063dbbf
YM
242005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
25
26 * make-docfile.c (DIRECTORY_SEP): New macro.
27 (IS_DIRECTORY_SEP): Use it.
28
5b9562c3
JD
292005-03-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
30
31 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
32
ba025f6d
YM
332005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
34
35 * make-docfile.c: Undo previous change.
36
a9eedf40
AS
372005-02-04 Andreas Schwab <schwab@suse.de>
38
39 * movemail.c (fatal): Accept third parameter and pass down to
40 error.
41 (pfatal_with_name): Pass error string as format parameter instead
42 of as part of format string.
43 (pfatal_and_delete): Likewise.
44 (main): Adjust call to fatal.
45 (xmalloc): Likewise.
46
5a92a9eb
RS
472005-01-29 Richard M. Stallman <rms@gnu.org>
48
49 * movemail.c (popmail): Don't use Errmsg as format string.
50
e6973a25
ST
512004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
52
53 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not
54 defined.
55
1bb3da38
AS
562004-12-15 Andreas Schwab <schwab@suse.de>
57
58 * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
59 preprocessing to compile time constant.
60
d4a38fdd
KS
612004-11-17 Kim F. Storm <storm@cua.dk>
62
63 * etags.c: Undo last change.
64
f2eb41c8
KS
652004-11-09 Kim F. Storm <storm@cua.dk>
66
67 * make-docfile.c (scan_c_file): Set defvarperbufferflag to
68 silence compiler.
69
70 * hexl.c (main): Init local var c to silence compiler.
71
72 * etags.c (main, consider_token, C_entries): Add misc switch
73 default targets to silence compiler.
74
3cf5c994
JD
752004-11-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
76
77 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
78 resulting DOC file can be used on Unix/Mac also.
79
e057dc50
FP
802004-09-13 Francesco Potort\e,Al\e(B <pot@gnu.org>
81
82 * etags.c (main): When relative file names are given as argument,
83 make them relative to the current working dir, rather than
84 relative to the output tags file, if the latter is in /dev.
85
05d9a399
FP
862004-09-13 Francesco Potort\e,Al\e(B <pot@gnu.org>
87
88 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
89 <stdlib.h> is available.
90 (enum sym_type): New st_C_attribute value for parsing
91 gcc's __attribute__. Deleted st_C_typespec value.
92 (gperf, in_word_set): Use gperf 3, options changed. Added the
93 __attribute__ keyword, removed all the st_C_typespec keywords,
94 changed attribute for Java to (C_JAVA & !C_PLPL).
95 (inattribute): New global bool, part of the C state machine.
96 (cblev): Identifier renamed to bracelev throughout.
97 (consider_token, C_entries): Numerous changes for making the
98 parser more robust and adding support for __attribute__.
99
1002004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
101
102 * etags.c: (Lua_suffixes, Lua_help, lang_names, Lua_functions):
103 Support the Lua scripting language <http://www.lua.org>.
104
fba74375
FP
1052004-09-08 Francesco Potort\e,Al\e(B <pot@gnu.org>
106
107 * etags.c: [LONG_OPTIONS]: make it TRUE (ifdef) or FALSE (ifndef)
108 for ease of use.
109
3751eb00
RS
1102004-07-17 Richard M. Stallman <rms@gnu.org>
111
112 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
113
86d373e6
JB
1142004-06-01 Juanma Barranquero <lektu@terra.es>
115
116 * makefile.w32-in (obj): Add image.c.
117
80e26b66
TTN
1182004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
119
86d373e6
JB
120 * test-distrib.c (main): For failing cases, exit with
121 `EXIT_FAILURE'.
80e26b66 122
e6662c8b
JR
1232004-05-08 Jason Rumney <jasonr@gnu.org>
124
125 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
126 command-lines.
127
65396510
TTN
1282004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
129
130 * cvtmail.c: Throughout, replace 0 destined for `exit' arg
131 with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
132 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
133
134 * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
86d373e6
JB
135 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
136 * test-distrib.c, update-game-score.c, yow.c: Likewise.
65396510 137
c2bcfb19
TTN
1382004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
139
140 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
141
3f0656ff
TTN
1422004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
143
144 * b2m.c (GOOD, BAD): Delete macros. Throughout,
145 replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
146 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
147
148 * etags.c: Likewise.
149
238add5e
JR
1502004-05-03 Jason Rumney <jasonr@gnu.org>
151
152 * makefile.nt: Remove.
153
b09c5608
EZ
1542004-04-26 Eli Zaretskii <eliz@gnu.org>
155
156 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
157 (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
158 instead of a literal '/'.
159
d814862a
JB
1602004-04-23 Juanma Barranquero <lektu@terra.es>
161
162 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
163
442a2160
PE
1642004-04-17 Paul Eggert <eggert@gnu.org>
165
166 * rcs2log (Help): Clarify wording of the usage message.
167 Problem reported by Alan Mackenzie in
168 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
169
d5d66b7e
SM
1702004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
171
172 * make-docfile.c (xmalloc): Fix return type.
173 (put_filename): New fun.
174 (scan_file): Use it.
175
bdfd0369
JB
1762004-03-09 Juanma Barranquero <lektu@terra.es>
177
178 * grep-changelog: Changes to support ChangeLog.10+.
179 (main): Tidy up usage string. Fix "Use of uninitialized value"
180 warning. Set version to 0.2. Parse the directory listing to get
181 any ChangeLog.n file, not just 1..9.
182 (header_match_p, entry_match_p, print_log, parse_changelog):
183 Remove Perl prototypes (their purpose is to help the parser, which
184 isn't needed here, not declare arguments).
185 (parse_changelog): Make --reverse faster on big batches by not
186 modifying the entries list.
187
a64387ee
JB
1882004-03-01 Juanma Barranquero <lektu@terra.es>
189
190 * makefile.w32-in (obj): Add fringe.c.
191
9766d41b
PE
1922004-02-14 Paul Eggert <eggert@twinsun.com>
193
194 * rcs2log: Work correctly if CVSROOT specifies :fork: or
195 :local: methods, or omits the colon between the hostname
196 and the path. Allow :/ in repository path, since CVS does.
197 Fix typo: "pository" should be set from $CVSROOT, not $repository.
198 This fixes a bug reported by Wolfgang Scherer in
199 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
200 along with some related bugs I discovered by inspecting how
201 CVS itself parses $CVSROOT.
202
a64387ee 2032004-02-04 J\e,bi\e(Br\e,bt\e(Bme Marant <jmarant@nerim.net> (tiny change)
98c6e531
SM
204
205 * emacsclient.c (decode_options): Fix handling of alternate editor.
206
0734b0d0
SM
2072004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
208
209 * emacsclient.c (main): Don't use the hostname in the socket name.
210 Look for relative socket names in the /tmp dir rather than in cwd.
211
2a6fc2d9
RS
2122004-01-24 Richard M. Stallman <rms@gnu.org>
213
214 * emacsclient.c (main): Restore errno from saved_errno,
215 so the error message comes from socket_status.
216
0734b0d0
SM
2172004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
218
219 * emacsclient.c (main): Stop if socket name too long.
220 Only try su-fallback if the socket name was not explicit.
221 Check socket name length in su-fallback case as well.
222
152b6e83
AS
2232004-01-08 Andreas Schwab <schwab@suse.de>
224
225 * emacsclient.c (main): Save errno from socket_status.
226
e8228824
AS
2272004-01-04 Andreas Schwab <schwab@suse.de>
228
229 * emacsclient.c (main): Fix socket name when using another user.
230
c9140662
PE
2312003-12-27 Paul Eggert <eggert@twinsun.com>
232
233 * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
234 a tag, and if the user has not specified an rlog option.
235 Adapted from a suggestion by Martin Stjernholm in
236 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
237 (Copyright): Update to 2003.
238
8babaa59
TTN
2392003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
240
241 * make-docfile.c (main): For return code, no longer special-case VMS.
242 Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
243
14ef7288
EZ
2442003-09-28 Andreas B\e,A|\e(Bsching <crunchy@tzi.de> (tiny change)
245
246 * emacsclient.c (quote_file_name): Print the result instead of
247 returning it. Fix the return type accordingly.
1ae7cf5e
RS
248 (main): With --eval, if no file name, read from stdin.
249 Quote file names.
14ef7288 250
f387bdea
RS
2512003-09-10 Richard M. Stallman <rms@gnu.org>
252
253 * emacsclient.c (main): Use socket_name.
254
14ef7288 2552003-09-10 Andreas B\e,A|\e(Bsching <crunchy@tzi.de> (tiny change)
f387bdea
RS
256
257 * emacsclient.c (socket_name): New variable.
258 (longopts, decode_options, print_help_and_exit):
259 Handle --socket-name argument.
260
0b7e7337
FP
2612003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
262
783bcffa 263 * etags.c (consider_token): Check C++ `operator' only when the
0b7e7337
FP
264 token len is long enough.
265
ac06b30b
DL
2662003-08-20 Dave Love <fx@gnu.org>
267
268 * Makefile.in: Remove obsolete references to alloca.
269
32b0a3c6
JB
2702003-07-29 Ken Brush <ken@wirex.com>
271
272 * emacsclient.c (main)
273 * etags.c (suggest_asking_for_help)
274 * movemail.c (main): Fix having macros in a printf statement.
275
3867c42d
JB
2762003-05-31 Juanma Barranquero <lektu@terra.es>
277
278 * makefile.w32-in (lisp): Fix references to byte-run.el,
279 float-sup.el and map-ynp.el, which are now in emacs-lisp.
280
7933722a
DL
2812003-05-22 Dave Love <fx@gnu.org>
282
283 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
284 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
285
463f55ee
DL
2862003-05-20 Dave Love <fx@gnu.org>
287
288 * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
289
290 * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
291
1b7a835b
JB
2922003-04-27 Oliver Scholz <alkibiades@gmx.de>
293
294 * update-game-score.c (read_scores): Fix corruption of scores on
295 read.
296
eec54bd7
SM
2972003-04-12 Stefan Monnier <monnier@cs.yale.edu>
298
299 * emacsclient.c (main): Use new safe location for socket.
300
ff4bd681
JB
3012003-03-12 Tom Tromey <tromey@redhat.com>
302
eec54bd7
SM
303 * emacsclient.c (print_help_and_exit): Print to stdout.
304 Exit successfully. Added some blank lines for readability.
ff4bd681
JB
305 (decode_options): Don't call print_help_and_exit in default case.
306 Print version information to stdout.
307 (main): Don't call print_help_and_exit.
308
dd132e44
RS
3092003-02-15 Richard M. Stallman <rms@gnu.org>
310
311 * cvtmail.c: Cast result of malloc and realloc.
312 Don't include stdlib.h, becuase config.h does.
313 (malloc, realloc): Declarations deleted.
ff4bd681 314
dd132e44
RS
315 * yow.c (yow): Cast result of malloc and realloc.
316 (malloc, realloc): Declarations deleted.
317
71ffc53a
JB
3182003-02-11 Juanma Barranquero <lektu@terra.es>
319
320 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
321
0dfd93c0
AS
3222003-02-08 Andreas Schwab <schwab@suse.de>
323
324 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
325 instead of the substitution.
326
37d1e680
RS
3272003-02-04 Richard M. Stallman <rms@gnu.org>
328
329 * update-game-score.c (push_score, read_scores): Cast values
330 of malloc and realloc.
331 (main, lock_file): Avoid assignment inside if.
332
c60ee5e7
JB
3332003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
334
335 * Makefile.in: Use @EXEEXT@ for Cygwin.
336
b24e2dc7
DL
3372003-01-21 Dave Love <fx@gnu.org>
338
339 * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
340 column-0 `('.
341
342 * yow.c: Don't include string.h.
343
675d000f
RS
3442003-01-20 Richard M. Stallman <rms@gnu.org>
345
346 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
347 New targets.
348
207aa3ff
KS
3492003-01-06 Kim F. Storm <storm@cua.dk>
350
351 * pop.c (__P): Renamed from _P to avoid problems on Cygwin.
352 All uses changed.
353
cf6d30d7
AI
3542002-12-18 Andrew Innes <andrewi@gnu.org>
355
356 * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
357 because GNU make doesn't append when using >> redirection.
358
649fc2c5
PJ
3592002-12-12 Jonathan Kamens <jik@kamens.brookline.ma.us>
360
361 * b2m.pl: Make sure every message ends with a blank line, because
362 some mbox parsers require a blank line before "From " lines.
363
85cce843
RS
3642002-12-08 Richard M. Stallman <rms@gnu.org>
365
366 * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
367 (_): Test only HAVE_LIBINTL_H to decide what to do.
368
2ccc4d34
RS
3692002-12-05 Richard M. Stallman <rms@gnu.org>
370
371 * getopt.c: Comment out include of libintl.h or gettext.h.
372
c5992177
RS
3732002-12-04 Richard M. Stallman <rms@gnu.org>
374
375 * Update getopt from gnulib version; changes described below.
376
377 * getopt1.c: Conditionally find getopt.h.
378 [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
379
380 * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
381 (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
c60ee5e7 382 (wchar.h): Include, maybe.
c5992177
RS
383 (attribute_hidden): Define if not defind.
384 (__getopt_initialized): Use attribute_hidden.
385 (__libc_argc, __libc_argv): Renamed from original_argc, etc.
386 (__getopt_nonoption_flags, nonoption_flags_max_len, nonoption_flags_len):
387 Conditional on USE_NONOPTION_FLAGS.
388 (SWAP_FLAGS): New definitions.
389 (exchange): Test USE_NONOPTION_FLAGS.
390 (_getopt_initialize): Test USE_NONOPTION_FLAGS.
391 (_getopt_internal): Error if argc < 1. New local var print_errors.
392 Improve test for ambiguous long option.
393 Add LIBIO support for error message output.
394 (NONOPTION_P): Test USE_NONOPTION_FLAGS.
395
396 * getopt.h: Maybe include ctype.h.
397 Treat __cplusplus like __STDC__.
398 (decls): Use __ in arg names.
399
4b5e69bd
SE
4002002-12-02 Stephen Eglen <stephen@gnu.org>
401
402 * emacsclient.c (main): Tell user how to start server within Emacs
403 if socket could not be found.
404
19fa03f3
RS
4052002-12-02 Richard M. Stallman <rms@gnu.org>
406
407 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
408
7be215b4
JB
4092002-11-19 Ben Key <bkey1@tampabay.rr.com>
410
29f538e6
BK
411 * makefile.w32-in: Fixed a bug that caused the documentation for
412 the built in function play-sound-internal not to be included in
413 /etc/DOC.
7be215b4 414
1998560a
DL
4152002-11-18 Dave Love <fx@gnu.org>
416
417 * update-game-score.c: Include unistd.h, string.h, stdlib.h,
418 fcntl.h, stdarg.h conditionally.
419 (_GNU_SOURCE, __attribute__): Don't define.
420 (optarg, optind, opterr): Declare.
421 (lose, lose_syserr): Use NO_RETURN.
422 (get_user_id): Use P_.
423
8b96caf3
RS
4242002-11-17 Richard M. Stallman <rms@gnu.org>
425
426 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
427
59daa29a
DL
4282002-11-14 Dave Love <fx@gnu.org>
429
430 * movemail.c (pop_retr): Declare comment.
431
432 * make-docfile.c (read_c_string_or_comment): Declare msgno.
9a007cb7
DL
433
434 * Makefile.in (YACC): Deleted.
435
f1b443bf
AS
4362002-10-19 Andreas Schwab <schwab@suse.de>
437
438 * Makefile.in (${archlibdir}): Always create $(gamedir).
439 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
440
52402e4f
JB
4412002-10-04 Juanma Barranquero <lektu@terra.es>
442
443 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
444
15dab115
MR
4452002-09-30 Markus Rost <rost@math.ohio-state.edu>
446
447 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
448 completely.
449
30be2360
SM
4502002-09-27 Stefan Monnier <monnier@cs.yale.edu>
451
452 * emacsclient.c: Remove SYSV support.
453 (eval, display): New vars.
454 (longopts): Add --eval and --display.
455 (decode_options): Add -e and -d processing.
456 (print_help_and_exit): Update the usage string.
457 (main): Add support for --eval and --display.
3ecdcd59 458 (main): Always use /tmp and non-qualified hostname.
30be2360 459
4208da83
SM
4602002-09-25 Stefan Monnier <monnier@cs.yale.edu>
461
462 * emacsserver.c: Remove.
463
3cf8c6aa
SM
4642002-09-17 Stefan Monnier <monnier@cs.yale.edu>
465
466 * emacsclient.c (quote_file_name): Quote \n.
467 (main): Print a final \n when needed.
468
4c6dce51
FP
4692002-09-03 Francesco Potorti` <pot@gnu.org>
470
471 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
472 string that cannot be freed.
473
ba88f8eb
FP
4742002-08-30 Francesco Potorti` <pot@gnu.org>
475
476 * etags.c (consider_token, C_entries): Switch to C++ parsing when
477 auto-detection is enabled and the `::' qualifier is met.
478 (consider_token, C_entries): Several bugs corrected that tagged
479 some declarations even though --declarations was not used.
480 (plainc): New macro.
481 (C_entries): Use it.
482 (C_entries): Several cosmetic changes.
483 (C_entries): Invalidate the token is some cases.
484
09cd1a74
FP
4852002-08-29 Francesco Potorti` <pot@gnu.org>
486
eec54bd7 487 * etags.c (C_entries): Correct a problem with const C++ funcs.
09cd1a74
FP
488 (ignoreindent): Renamed from noindentypedefs.
489 (cjava, cplpl): They are now macros instead of local vars.
490
4912002-08-28 Francesco Potorti` <pot@gnu.org>
492
493 * etags.c (HTML_labels): Tag ID= also.
494
87046df8
FP
4952002-08-27 Francesco Potorti` <pot@gnu.org>
496
497 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
498
8ee14629
FP
499 * etags.c: (HTML_labels): New language HTML.
500 (etags_strcasecmp): Like BSD's, for compatibility.
501 (strcaseeq): Make it into a macro.
502
503 * etags.c (make_tag): Never generate null length tag names.
87046df8
FP
504 (linebuffer_init): Renamed from initbuffer. All callers changed.
505 (pattern): Structure renamed to `regexp', member regex renamed to
506 pattern.
507 (node_st): Member pat renamed to regex.
eec54bd7
SM
508 (pattern); New member force_explicit_name, for future use.
509 Now always set to true, cannot be reset.
87046df8
FP
510 (add_regex, regex_tag_multiline, readline): Use it.
511 (main): Free some global structures.
8ee14629 512 (fdesc): New member `written'.
87046df8
FP
513 (readline, process_file): Initialise it.
514 (put_entries): Set it.
515 (main): Use it to create entries for files without tags.
516 (total_size_of_entries): Do not count invalid tags.
87046df8 517
02ce3e80
SM
5182002-08-19 Stefan Monnier <monnier@cs.yale.edu>
519
520 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
521 for the function name in the usage info.
522
5fba5c21
CW
5232002-07-31 Colin Walters <walters@gnu.org>
524
525 * update-game-score.c (P_): New macro. Use it for all prototypes.
526 (lose): Don't use varargs.
527 (lose_syserr): New function.
528
529 * update-game-score.c: Change all functions to K&R style.
530
712eaee0
AS
5312002-07-30 Andreas Schwab <schwab@suse.de>
532
533 * Makefile.in (localstatedir): New variable.
534
c89ed6ef
PJ
5352002-07-29 Jonathan Kamens <jik@kamens.brookline.ma.us>
536
537 * b2m.pl: Fix regexp for finding return address fields.
538
1e042160
SM
5392002-07-15 Stefan Monnier <monnier@cs.yale.edu>
540
541 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
542
c60ee5e7 5432002-07-05 Jonathan Kamens <jik@kamens.brookline.ma.us>
e9b60209 544
02ce3e80 545 * b2m.pl: Obey the rmail file and use the unpruned header properly.
e9b60209 546
9ee028d2
PJ
5472002-06-26 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
548
549 * b2m.pl: New file.
550
e1af8d40
FP
5512002-06-21 Francesco Potorti` <pot@gnu.org>
552
553 * etags.c: (F_getit, Fortran_functions, Ada_getit, Asm_labels)
554 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
555 (PHP_functions, PHP_functions, Cobol_paragraphs)
556 (Makefile_targets, Postscript_functions, Texinfo_nodes)
557 (prolog_pr, erlang_func, erlang_attribute)
558 (Perl_functions, Perl_functions, Pascal_functions)
559 (TeX_commands, get_tag): Use make_tag instead of pfnote.
560 (get_tag): Prototype changed, all callers changed.
561
ceaeb365
FP
5622002-06-20 Francesco Potorti` <pot@gnu.org>
563
d76132d0
FP
564 * etags.c: Implement implicit tag names, that is, unnamed tags
565 whose name is automatically deduced by etags.el. The advantage is
566 that there is no explicit tag name in most tags, so the size of
567 the tags file is reduced, yet find-tag is able to do a match as
eec54bd7 568 accurate as with named tags. See the comment in make_tag for details.
ceaeb365
FP
569 (make_tag): New function (was the disabled function new_pfnote).
570 (make_C_tag): Use it.
571
f175bfff
FP
5722002-06-19 Francesco Potorti` <pot@gnu.org>
573
574 * etags.c (add_regex): Invalid regexp modifiers are ignored.
575 (Makefile_targets): Tag variables unless --no-globals.
576 (LOOP_ON_INPUT_LINES): Serious bug corrected.
577
82ef78b3
FP
5782002-06-13 Francesco Potorti` <pot@gnu.org>
579
580 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
581 (invalidate_nodes): Bug corrected.
582 (print_help): Better help for regexps.
583
7a8940da
JB
5842002-06-13 Juanma Barranquero <lektu@terra.es>
585
586 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
587 font-core.elc.
588
6861f0e3
FP
5892002-06-12 Francesco Potorti` <pot@gnu.org>
590
591 * etags.c: New multi-line regexp and new regexp syntax.
592 (arg_type): at_icregexp label removed (obsolete).
593 (pattern): New member multi_line for multi-line regexps.
594 (filebuf): A global buffer containing the whole file as a string
595 for multi-line regexp matching.
596 (need_filebuf): Global flag raised if multi-line regexps used.
597 (print_help): Document new regexp modifiers, remove references to
598 obsolete option --ignore-case-regexp.
599 (main): Do not set regexp syntax and translation table here.
600 (main): Treat -c option as a backward compatibility hack.
601 (main, find_entries): Init and free filebuf.
602 (find_entries): Call regex_tag_multiline after the regular parser.
603 (scan_separators): Check for untermintaed regexp and return NULL.
604 (analyse_regex, add_regex): Remove the ignore_case argument, which
605 is now a modifier to the regexp. All callers changed.
606 (add_regex): Manage the regexp modifiers.
607 (regex_tag_multiline): New function. Reads from filebuf.
608 (readline_internal): If necessary, copy the whole file into filebuf.
609 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
610
6112002-06-11 Francesco Potorti` <pot@gnu.org>
612
613 * etags.c (add_regex): Better check for null regexps.
614 (readline): Check for regex matching null string.
615 (find_entries): Reorganisation.
616
f0da41a6
FP
6172002-06-07 Francesco Potorti` <pot@gnu.org>
618
619 * etags.c (scan_separators): Support all character escape
620 sequences supported by Gcc.
02ce3e80 621 (find_entries): Rewind unconditionally.
f0da41a6
FP
622 (find_entries): Do not call language functions directly, now calls
623 itself.
624 (find_entries): Do general initialisations here.
625 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
626 (Ada_getit, Pascal_functions, Pascal_functions)
627 (prolog_skip_comment): Do not do them here.
628 (readline_internal): Increment lineno here.
629 (readline): Conditionally undo readline_internal increment.
630 (readline): Do not return a value.
631
5526f1f6
FP
6322002-06-06 Francesco Potorti` <pot@gnu.org>
633
88c71720 634 * etags.c: New option --parse-stdin=FILE.
97b90b0a
FP
635 (enum arg_type): New label at_stdin.
636 (STDIN): New constant.
637 (parsing_stdin): New flag.
638 (longopts): New option --parse-stdin=NAME.
639 (print_help): Document it.
640 (main): Handle it.
641 (process_file): Split into process_file and process_file_name.
642 (process_file_name): New function.
643
88c71720 644 * etags.c: Improvements and bug squashing in TeX handling.
97b90b0a 645 (TeX_commands): Skip comments.
5526f1f6
FP
646 (TEX_defenv): Now contains more contructs.
647 (TEX_cmt): Make it a static char and move it before TeX_commands.
648 (TeX_commands): Shorten the tag to the brace after the name.
649 (TeX_commands): Names now include the initial backslash.
650 (TeX_commands): Names do not include numeric args #n.
651 (TeX_commands): Correct line char number in tags.
652 (TEX_tabent, TEX_token): Deleted.
653 (TeX_commands, TEX_decode_env): Streamlined.
654
50496bd9
FP
6552002-06-05 Francesco Potorti` <pot@gnu.org>
656
657 * etags.c (main): Avoid a buffer overrun with sprintf.
658
a71867c5
RS
6592002-05-30 Richard M. Stallman <rms@gnu.org>
660
661 * Makefile.in (LIBS_MAIL): Renamed from LIB_MAIL.
662 (LIBS_MOVE): Renamed from MOVE_LIBS.
663
b7e67db6
PE
6642002-05-26 Paul Eggert <eggert@twinsun.com>
665
666 Reinstate the following change from 2002-03-22, which was
667 inadvertently lost on 2002-04-13.
668
669 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
670 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
671 the latter usage.
672
5f226e2c
EZ
6732002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
674
675 * pop.c (socket_connection): Move the code to resolve the POP
676 host right before trying to connect with it.
677
5167cfda
CW
6782002-04-28 Colin Walters <walters@verbum.org>
679
680 * Makefile.in (${archlibdir}): Don't conditionalize on
681 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
682 or not we have access to the specified game user.
50496bd9 683
5167cfda
CW
684 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
685 (main): New argument -d, for specifying directory.
686 (usage): Document.
02ce3e80 687 (get_user_id): Compute.
5167cfda
CW
688 (get_home_dir): Deleted.
689 (get_prefix): New function, taken from main.
690 (main): Check whether or not we are running setuid. Move prefix
691 computation to get_prefix. Don't call getpwent; we don't need to
692 any more. Instead, move it to get_user_id().
693
beedfcf1
PJ
6942002-04-24 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
695
696 * ebrowse.c (skip_initializer): Return void.
697
973c3c87
CW
6982002-04-23 Colin Walters <walters@verbum.org>
699
700 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
701 space.
702
8378bcd3
FP
7032002-04-22 Francesco Potorti` <pot@gnu.org>
704
705 * etags.c: (last_node): Make it a global variable.
706 (process_file): Print the tags from the nodes as soon as
707 possible, and delete the nodes. This brings down the memory
708 occupancy as etags to almost the same level as when the #line
709 directives were not parsed.
710 (free_fdesc): New function.
711 (find_entries): Use it.
712 (invalidate_nodes): In etags mode, do not just mark the nodes as
713 invalid, do delete them.
714
c901ceff
GM
7152002-04-21 Gerd Moellmann <gerd@gnu.org>
716
717 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
718
c42d6dbd
EZ
7192002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
720
721 * update-game-score.c: Move config.h before the other headers, to
722 avoid compiler warnings.
723
090416ca
FP
7242002-04-16 Francesco Potorti` <pot@gnu.org>
725
726 * etags.c (find_entries): Bug fix in list management.
727
5dab24c1
FP
7282002-04-15 Francesco Potorti` <pot@gnu.org>
729
730 * etags.c (get_language_from_filename): Add one argument.
731 (strcaseeq): New function.
732 (get_language_from_filename): Use it to do a case insenstitive
733 comparison if called with appropriate args.
734 (find_entries): Try with case insensitive match.
735 (process_file): Bug fixed.
736
c150db23
FP
7372002-04-13 Francesco Potorti` <pot@gnu.org>
738
739 * etags.c (find_entries): Delete tags previously obtained from
740 file xxx.c's #line directives when parsing file xxx.y. This is
741 generally done for automatically generated files containing
742 #line directives. This handles the case when xxx.y is tagged
743 before xxx.c, and the entries of xxx.c pointing to xxx.y should
744 be discarded.
eec54bd7 745 (language): Add the metasource member. Initializers changed.
c150db23
FP
746 (invalidate_nodes): New function.
747 (readline): Discard lines after having found a #line
02ce3e80 748 directive pointing to an already tagged file. This handles the
c150db23
FP
749 case when xxx.y is tagged before xxx.c, and the entries of
750 xxx.c pointing to xxx.y should be discarded.
751 (fdesc): New structure for keeping track of input files.
752 (fdesc): Remove `file' member (a string) and use instead a pointer
753 to a file description structure.
02ce3e80
SM
754 (curfile, curfiledir, curtagfname, curlang, nocharno)
755 (forced_lang): Global variables removed in favor of fdhead and
c150db23
FP
756 curfdp, pointers to file description strucures.
757 (longopts, main, print_help): Use the CTAGS conditional to include
758 or exclude options that work on etags or ctags only.
02ce3e80
SM
759 (process_file, find_entries, pfnote, add_node, put_entries)
760 (readline): Use fdhead and curfdp.
c150db23
FP
761 (process_file, find_entries): Do not take an arg string, all
762 callers changed.
763
764 * etags.c (longopts, print_help, main): Test CTAGS to disallow
765 options that are not right for either etags or ctags.
766
767 * etags.c (number_len, total_size_of_entries): Define them also
768 in CTAGS mode, because gcc does not compile all refs away.
769
e9d1f248
CW
7702002-04-14 Colin Walters <walters@debian.org>
771
772 * update-game-score.c (lock_file): If the lock file is older than
773 an hour, delete it. Reset attempts to zero if we have to break
774 the lock.
775
7605f1bd
AS
7762002-04-14 Andreas Schwab <schwab@suse.de>
777
778 * update-game-score.c (read_score): Fix type of second parameter
779 of getdelim to be of type size_t instead of int. Use 0 instead of
780 ESUCCES.
781
e82defd1
CW
7822002-04-10 Colin Walters <walters@verbum.org>
783
b9b966e0
CW
784 * update-game-score.c: (toplevel): Include stdarg.h.
785 (MAX_DATA_LEN, MAX_SCORES): New.
786 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
787 default to ~/.emacs.d/games.
788 (get_user_id): Don't zero uid in the case where we can't get the
789 username.
790 (lose): New function.
791 (main): Actually use `max', and default it to MAX_SCORES.
792 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
793 function.
794 (read_score): Handle the case of reading unamelen characters, then
795 finishing. Use mktemp if mkstemp isn't available.
796 (lock_file, unlock_file): Delete unused versions.
797 (lock_file): Always sleep, even if we unlinked the lock file.
798
e82defd1
CW
799 * Makefile.in (gamedir, gameuser): New variables.
800 (toplevel, UTILITIES): Add update-game-score.
801 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
802
5795b420
CW
8032002-04-07 Colin Walters <walters@verbum.org>
804
805 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
806 (get_user_id): Take struct passwd as an argument.
807 (get_home_dir): New function.
808 (main): Read in user information here. Discover home directory if
809 necessary.
810 (read_score): Trim newline only in `getline' case.
811
cd553ffb 8122002-04-05 Colin Walters <walters@debian.org>
c150db23 813
cd553ffb
CW
814 * update-game-score.c (toplevel): Include pwd.h.
815 (struct score_entry): Add username field.
816 (push_score): Use it.
817 (get_user_id): New function.
818 (main): Don't malloc excessively.
819 (main): Use username field.
820 (read_score): Read it.
821 (push_score): Handle it.
822 (write_scores) Write it.
c150db23
FP
823 (read_score): Handle arbitrary length data.
824
b74bd4a3
EZ
8252002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
826
827 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
828
fa8bc89d
GM
8292002-03-29 Gerd Moellmann <gerd@gnu.org>
830
831 * ebrowse.c (add_declarator, skip_initializer): New functions.
832 (declaration): Use them.
833
dd87b4cc
JR
8342002-03-28 Jason Rumney <jasonr@gnu.org>
835
836 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
837
cd553ffb
CW
8382002-03-27 Colin Walters <walters@debian.org>
839
840 * update-game-score.c: New file.
841
dfef6d49
PE
8422002-03-22 Paul Eggert <eggert@twinsun.com>
843
844 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
845 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
846 the latter usage.
847
4fff90e4 8482002-03-12 Francesco Potorti` <pot@gnu.org>
a13d6523 849
4fff90e4 850 * etags.c (Python_functions): Skip spaces at beginning of lines.
a13d6523
FP
851 (Python_functions, PHP_functions): Name tags, for ctags' sake.
852 (TeX_commands): Name tags. Correction of old disabled code.
853
854 * etags.c (curfiledir, curtagfname): New global variables.
855 (process_file): Initialise them.
856 (readline): Canonicalize the name found in #line directive.
893a741e 857
4fff90e4 8582002-03-06 Jason Rumney <jasonr@gnu.org>
ca55a1e3 859
893a741e
JR
860 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
861 compilers that don't optimize out dead code.
862
51aeded3
FP
8632002-03-05 Francesco Potorti` <pot@gnu.org>
864
865 * etags.c: Honour #line directives.
866 (no_line_directive): New global var; set it for old behaviour.
867 (main): Remove some #ifdef in the getopt switch.
868 (add_node, put_entries): Code added to merge different chunks of
869 nodes referring to the same file. Currently the tags are just
870 appended, without any check for duplicates.
871 (Perl_functions): Do not special case ctags.
872 (readline): Identify #line directives and do the right thing.
873 (nocharno, invalidcharno): New global vars.
874 (process_file): Reset nocharno.
875 (readline): Set nocharno.
876 (pfnote): Read nocharno and maybe put invalidcharno in node.
877 (total_size_of_entries, put_entries): Use invalidcharno.
878
879 * etags.c: Keep the whole tag table in memory, even in etags mode.
880 (main): Call put_entries here even in CTAGS mode.
881 (main, process_file): Check the return values of fclose and pclose.
882 (process_file): Do not call put_entries after parsing each file.
883 (process_file): Canonicalise file names even for ctags.
884 (process_file): Set curfile here...
885 (find_entries): ... not here any more.
886 (add_node): In etags mode, build a linked list of entries (on
887 right pointer) for each file, and link the first entry of each
888 file on left nodes.
889 (put_entries): Print here the name of the file.
890 (put_entries): Print the entries starting from the first file.
c150db23 891 (number_len, total_size_of_entries): Define these only in etags
51aeded3
FP
892 mode, make the second work only on the right nodes.
893
894 * etags.c: Make all global variables static.
895
50ce1f62
JB
8962002-02-25 Juanma Barranquero <lektu@terra.es>
897
898 * makefile.w32-in (lisp): Add missing backslash.
899
82a399d2
JR
9002002-02-24 Jason Rumney <jasonr@gnu.org>
901
902 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
903 using .elc files.
904 (lisp): Sync with list in src/Makefile.in
905 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
906
a279c920
PE
9072002-02-10 Paul Eggert <eggert@twinsun.com>
908
909 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
910 disallows the old syntax.
911
0caa685d
PE
9122002-02-03 Paul Eggert <eggert@twinsun.com>
913
914 * rcs2log(Copyright): Update to 2002.
915 (AWK, TMPDIR): Work around portability problem in broken shells that
916 don't understand `: ${VAR=val}'.
917 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
918 Prefer the new -k option to the traditional +M -N option.
919
03950b5b
PJ
9202002-01-01 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
921
922 * b2m.c (main): Parenthesize assignment when used as truth value
923 to prevent gcc warnings.
924
925 * fakemail.c: Include <config.h>.
926
2f8fe2f4
PJ
9272001-12-29 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
928
929 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
930 * yow.c: Include <config.h>.
931
a60e4de9
FP
9322001-12-21 Francesco Potorti` <pot@gnu.org>
933
934 * etags.c (Perl_functions): Tag packages and use them in sub tags.
935 (get_tag): Return a pointer to the tag that is found.
936
937 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
938 (F_takeprec): Renamed from takeprec. All callers changed.
939 (F_getit): Renamed from getit. All callers changed.
940 (nocase_tail): Renamed from tail. All callers changed.
941 (Ada_getit): Renamed from adagetit. All callers changed.
eec54bd7 942 (L_getit): Simplify by using get_tag.
a60e4de9
FP
943 (Perl_functions, Postscript_functions, erlang_attribute): Use the
944 modified LOOKING_AT.
945 (notinname): Removed '[' and added ')' to the recognised chars.
946 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
947 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
948 Clarified, using strneq or notinname.
949 (L_isdef, L_isquote): Removed.
950 (Lisp_functions, L_getit): Clarified.
951
952 * etags.c: (P_): Renamed to __P for consistency with config.h.
953 [HAVE_CONFIG_H]: Let config.h deal with __P.
954 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
955 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
956 gperf code needs it.
957 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with Xemacs).
958 [HAVE_CONFIG_H] [!__P]: Define __P (for use with Xemacs).
959 (xmalloc, xrealloc): Use PTR instead of long *.
960 (bool): Make it a define, not a typedef, for C++ compilers.
961 (pattern): Members renamed to avoid name clash in some C++ compilers.
962 (get_language_from_langname): Use const argument.
963
c95eaa61
PJ
9642001-12-22 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
965
966 * makefile.nt, makefile.w32-in: Remove mocklisp files.
967
69bfc389
PJ
9682001-12-19 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
969
b8509940
PJ
970 * emacsserver.c: Conditionally include config.h.
971
594aa066
PJ
972 * fakemail.c: Likewise.
973
e69233c2
PJ
974 * emacsclient.c: Include "config.h", not <../src/config.h>.
975 (main): Parenthesize assignment when used as truth value to
976 prevent gcc warnings.
977
69bfc389
PJ
978 * ebrowse.c: Include stdlib.h and string.h conditionally.
979
e4e34e31
EZ
9802001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
981
982 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
983
ffb7c9c6
PJ
9842001-12-18 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
985
986 * test-distrib.c: Fix previous change.
987
fb5aa7ac
DL
9882001-12-18 Dave Love <fx@gnu.org>
989
990 * test-distrib.c: Conditionally include fcntl.h.
991
992 * fakemail.c: Include "config.h", not <../src/config.h>.
993 (_XOPEN_SOURCE): Define as 500.
994
995 * emacsserver.c: Include "config.h", not <../src/config.h>.
996
997 * cvtmail.c: Include config.h, stdlib.h.
998 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
999
1000 * yow.c: Conditionally include various headers. Use "epaths.h",
1001 not <../src/epaths.h>.
1002 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
1003
e94a3679
FP
10042001-12-12 Francesco Potorti` <pot@gnu.org>
1005
13dc0576 1006 * etags.c (PHP_functions): New function for parsing PHP.
e94a3679
FP
1007 (LOOKING_AT): New macro.
1008 (Perl_functions, Python_functions, PHP_functions)
1009 (Scheme_functions, Texinfo_nodes): Use it.
1010 (Perl_functions): Use strneq.
1011 (prolog_pred): Renamed to prolog_pr.
13dc0576 1012 (prolog_pr): Recognise Prolog rules in addition to predicates.
e94a3679 1013 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
13dc0576 1014 unmodified compile, as Cygwin's regex.h is incompatible with us.
e94a3679
FP
1015 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
1016
34e39c95
RS
10172001-12-11 Richard M. Stallman <rms@gnu.org>
1018
1019 * Makefile.in (clean): Don't delete ../etc/DOC*.
1020
296071e7
PJ
10212001-12-11 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1022
1023 * COPYING: Moved back.
1024
76054cc8
AI
10252001-11-30 Andrew Innes <andrewi@gnu.org>
1026
e94a3679
FP
1027 * makefile.w32-in (FACE_SUPPORT):
1028 (MOUSE_SUPPORT):
1029 (FLOAT_SUPPORT):
1030 (WINNT_SUPPORT):
76054cc8
AI
1031 (lisp): Reference .el files instead of .elc files, to simplify
1032 bootstrapping.
1033 ($(DOC)): Change dependency to just `make-docfile'.
1034
0142178a
PJ
10352001-11-29 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1036
1037 * COPYING: Removed.
1038
e8d6a09b
PE
10392001-11-28 Paul Eggert <eggert@twinsun.com>
1040
1041 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
1042
1043 The following changes are derived from suggestions by Bob Chapman
1044 <rechapman@compuserve.com>.
1045
1046 * rcs2log (printlogline): Also allow tab and newline to separate
1047 '(function):' from the rest of a comment.
1048 (reformat the sorted log entries): Require date and author to
1049 match the clumpname.
1050
9a190096
GM
10512001-11-16 Gerd Moellmann <gerd@gnu.org>
1052
1053 * ebrowse.c (matching_regexp): Escape '\\'.
1054
8ec1b917
PJ
10552001-11-15 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1056
1057 * Makefile.in: Add support for --program-prefix, --program-suffix
1058 and --program-transform-name options.
1059
6d8f7d5d
RS
10602001-11-03 Richard M. Stallman <rms@gnu.org>
1061
1062 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
1063
1064 * movemail.c (popmail): Always pass two args to `error'.
1065
84e70f78
KR
10662001-10-24 Ken Raeburn <raeburn@gnu.org>
1067
1068 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
1069 -lhesiod and maybe -lresolv.
1070 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
1071 support if it's available.
1072
386ca361
MB
10732001-10-21 Miles Bader <miles@gnu.org>
1074
a3b10252
MB
1075 * make-docfile.c (struct rcsoc_state): New type.
1076 (read_c_string_or_comment): Add SAW_USAGE
386ca361 1077 parameter, and implement scanning for a `usage:' keyword.
a3b10252
MB
1078 Use a variable of type `rcsoc_state' to hold most of our state.
1079 (put_char): Add STATE parameter, and remove all other parameters
1080 except CH. Use STATE to get access to all needed state.
1081 (scan_keyword_or_put_char): New function.
386ca361
MB
1082 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
1083 Don't output a usage-string if there was one in the doc-string.
1084
71431a0e
GM
10852001-10-20 Gerd Moellmann <gerd@gnu.org>
1086
6aa97356 1087 * (Version 21.1 released.)
71431a0e 1088
37a9305e
PJ
10892001-10-19 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1090
1091 * b2m.c: Properly spell the name of Emacs.
1092
945220bd
MB
10932001-10-17 Miles Bader <miles@gnu.org>
1094
1095 * make-docfile.c (put_char): New function.
1096 (read_c_string_or_comment): Strip trailing spaces and newlines.
1097
14242528
MB
10982001-10-16 Miles Bader <miles@gnu.org>
1099
1100 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
1101 comments [with `doc:' keyword prefix].
1102
9f5eb4a3
GM
11032001-10-15 Gerd Moellmann <gerd@gnu.org>
1104
1105 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
1106 in a C doc comment.
1107
e641b454
GM
11082001-10-13 Gerd Moellmann <gerd@gnu.org>
1109
1110 * make-docfile.c (read_c_string_or_comment): Renamed from
1111 read_c_string. Add parameter COMMENT. Read C-style comments.
1112 (scan_c_file): Handle doc strings in C comments.
1113
967d7793
AI
11142001-10-12 Andrew Innes <andrewi@gnu.org>
1115
1116 * makefile.nt (ALL): Do not include fakemail.
1117
1118 * makefile.w32-in (install): Do not copy fakemail.
1119
d682756a
JR
11202001-10-10 Jason Rumney <jasonr@gnu.org>
1121
1122 * makefile.w32-in (ALL) Do not include fakemail.
1123
1124 * makefile.nt (install) Ditto.
1125
14a3dff7
GM
11262001-10-09 Gerd Moellmann <gerd@gnu.org>
1127
1128 * emacsserver.c (main): Cast geteuid in sprintf to int.
14a3dff7 1129
95bc7904 1130 * emacsclient.c (main): Cast isdigit argument to unsigned char.
14a3dff7 1131
f98d41f5
PJ
11322001-10-07 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1133
1134 * profile.c: Include config.h, not ../src/config.h.
1135 Include systime.h, not ../src/systime.h.
1136
ab952a4f
GM
11372001-10-05 Gerd Moellmann <gerd@gnu.org>
1138
1139 * Branch for 21.1.
dff28924 1140
12c64503
GM
11412001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
1142
1143 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
1144 ALIASEE to help work with namespace aliases.
1145 (struct sym): Remove struct member NAMESP_ALIASES.
1146 (namespace_alias_table): New variable.
1147 (make_namespace): Add parameter CONTEXT.
1148 (check_namespace): New function.
1149 (find_namespace): Add parameter CONTEXT.
1150 (check_namespace_alias): New function.
02ce3e80
SM
1151 (register_namespace_alias): Change type of parameter OLD_NAME.
1152 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
12c64503
GM
1153 (check_namespace): New function.
1154 (enter_namespace): Call find_namespace with CONTEXT parameter.
1155 (match_qualified_namespace_alias): New function.
eec54bd7 1156 (parse_qualified_ident_or_type): Fix typo in comment.
02ce3e80 1157 While parsing qualified ident or type update namespace context and
12c64503 1158 restore it on exit.
eec54bd7
SM
1159 (parse_qualified_param_ident_or_type): Fix typo in comment.
1160 (globals): Change handling of namespace aliases.
1161 (version): Add year 2001.
12c64503 1162
990e1190
FP
11632001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
1164
1165 * etags.c (analyse_regex): If regex_arg is NULL, return
1166 immediately after a call to free_patterns.
1167
f2e7e23e
AS
11682001-09-05 Paul Eggert <eggert@twinsun.com>
1169
1170 * rcs2log (Help, mainline code): Add new option -L FILE.
1171 (Copyright): Update year.
02ce3e80
SM
1172 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
1173 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
f2e7e23e
AS
1174 C locale.
1175 (mainline code): Handle nonstandard -u option differently, by
1176 transforming it to standard form. Check for "Working file: ", not
1177 "Working file:". Allow file names with spaces.
1178 (SOH, rlogfile): New shell vars.
dff28924 1179 (rlogout): Remove. Its old functionality is mostly migrated to
f2e7e23e
AS
1180 rlogfile.
1181
1182 Append ';;' to the last arm of every case statement, for
1183 portability to ancient broken BSD shells.
1184
02ce3e80 1185 (logins): Fix bug; was not being computed at all, lowering performance.
f2e7e23e
AS
1186 (pository): New var. This fixes some bugs where repositories are
1187 remote, or have trailing slashes.
02ce3e80 1188 (authors): $llogout is never an empty shell var, so don't worry
f2e7e23e 1189 about that possibility.
dff28924 1190 (printlogline, mainline code): Fix bug with SOH's being put into
f2e7e23e 1191 the output.
dff28924 1192
75c911eb
EZ
11932001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
1194
1195 * ebrowse.c (SEEK_END): #define if not defined by system headers.
1196 Suggested by Dave Love <d.love@dl.ac.uk>.
1197
5ae10f4a
EZ
11982001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
1199
1200 * makefile.nt (lisp): Synchronize with src/Makefile.in.
1201 * makefile.w32-in (lisp): Ditto.
1202
0e4011d8 12032001-07-25 Juanma Barranquero <lektu@terra.es>
e743f599
GM
1204
1205 * grep-changelog (parse_changelog): Remove unused local variable.
1206
1207 * grep-changelog (main): Add new option --reverse.
1208 (print_log): Use it.
1209 (parse_changelog): Use it.
1210
3c88ae74
GM
12112001-07-20 Gerd Moellmann <gerd@gnu.org>
1212
1213 * grep-changelog: Remove RCS Id keyword.
1214
41848daa
GM
12152001-07-20 Juanma Barranquero <lektu@terra.es>
1216
6e07c0a5
GM
1217 * grep-changelog (parse_changelog): Add tests for defined values
1218 to quiet warning from Perl 5.005 or above.
177ab8ce 1219 (entry_match_p, header_match_p): Fix handling of null or empty
0e4011d8
GM
1220 argument to prevent duplicate headers.
1221
1222 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
41848daa 1223
467f1209
GM
12242001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
1225
1226 * emacsclient.c (print_help_and_exit): Fix help message for
1227 +LINE:COLUMN option.
1228
12292000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
990e1190 1230
467f1209
GM
1231 * emacsclient.c (main): Add support for +LINE:COLUMN command line
1232 argument.
1233
bb24c64f
GM
12342001-07-16 Gerd Moellmann <gerd@gnu.org>
1235
1236 * ebrowse.c (main): Check that the output file exists and
1237 is non-empty if invoked with `--append'.
1238
fa829470
FP
12392001-05-14 Francesco Potorti` <pot@gnu.org>
1240
e335b66a
GM
1241 * etags.c (add_regex): Reset the whole newly allocated pattern
1242 buffer instead of the individual members. It's safer and works
1243 with Xemacs.
fa829470 1244
e335b66a 1245 * etags.1: Markups corrected.
fa829470 1246
6da5c7da
GM
12472001-05-08 Gerd Moellmann <gerd@gnu.org>
1248
02ce3e80 1249 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
6da5c7da 1250
efbecf9d
GM
12512001-05-03 Gerd Moellmann <gerd@gnu.org>
1252
1253 * ebrowse.c (globals): Fix handling of namespace aliases.
1254
f4976ebc
EZ
12552001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
1256
1257 * etags.c (print_help): Enclose the regexp in the help text
1258 example in quotes.
1259
23431241
DL
12602001-04-05 Dave Love <fx@gnu.org>
1261
1262 * emacsclient.c (fail): Don't return a value.
fa829470 1263 (main): Cast uid values for sprintf.
23431241 1264
476bf681
GM
12652001-04-03 Gerd Moellmann <gerd@gnu.org>
1266
b3f6107b
GM
1267 * emacsclient.c (fail, main): Don't use implicit int return type.
1268
476bf681
GM
1269 * b2m.c (main): Always return a value.
1270
ef53d75e
GM
12712001-03-02 Gerd Moellmann <gerd@gnu.org>
1272
1273 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
1274 freshly allocated object in *LAST_ID.
1275 (read_line): Accept \r\n line endings.
1276
425de386
AI
12772001-02-24 Andrew Innes <andrewi@gnu.org>
1278
1279 * makefile.w32-in: Fix copyright notice.
1280
f55ae599
FP
12812001-02-23 Francesco Potorti` <pot@gnu.org>
1282
1283 * etags.c (enum sym_type): New label st_C_template.
1284 (gperf input): Use it for switching to C++ from C.
1285 (consider_token): Do it.
c2a642c0
FP
1286 (C_entries): Initialise typdefcblev to quiet compilers.
1287 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
f55ae599 1288
f6839838
AI
12892001-02-22 Andrew Innes <andrewi@gnu.org>
1290
1291 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
1292 VMS header files.
1293 ($(BLD)\profile.obj): Ditto.
1294
1295 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
1296 VMS header files.
1297 ($(BLD)/profile.$(O)): Ditto.
1298
193fba87
AI
12992001-02-05 Andrew Innes <andrewi@gnu.org>
1300
1301 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
1302 invocation of make-docfile, to work with Windows 2000.
1303
30526cc6
DL
13042001-01-31 Dave Love <fx@gnu.org>
1305
1306 * etags.c (in_word_set): Use `static' in definition (for pcc).
1307
8f79fe72
FP
13082001-01-31 Francesco Potorti` <pot@gnu.org>
1309
1310 * etags.c: [NDEBUG] #undef assert and #define it as ((void)0), for
1311 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
1312 (C_entries): Tag token renamed to still_in_token because sunos4
1313 pcc wants to expand it as the token() macro even though it has no
1314 arguments.
1315
914d7258
AI
13162001-01-30 Andrew Innes <andrewi@gnu.org>
1317
1318 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
1319 bug in the Mingw32 assert.h header file.
1320
b28e26be
FP
13212001-01-30 Francesco Potorti` <pot@gnu.org>
1322
1323 * etags.c: [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
1324 #define it for the sake of Xemacs.
1325 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
1326 HAVE_CONFIG_H. This change only affects a standalone etags.
1327 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
1328 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
1329 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
1330 [!HAVE_UNISTD_H]: use defined(WINDOWSNT) instead of the bare
1331 WINDOWSNT, as this is the correct way to use it.
1332
8c463abe
FP
13332001-01-28 Francesco Potorti` <pot@gnu.org>
1334
1335 * etags.c: Be capable to parse nested struct-like structures.
1336 (structdef, structtag): Struct state machine revisited.
1337 (struct tok): Revisited.
1338 (cstack, nestlev, instruct): New struct and macros.
1339 (pushclass_above, popclass_above, write_classname): New functions
13dc0576 1340 for dealing with nested class names.
8c463abe
FP
1341 (consider_token, make_C_tag, C_entries): Many changes for dealing
1342 with arbitrarily nested structures.
1343 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
1344 (C_entries): Consider templates in C++.
1345 (sym_type): New constant st_C_class for detecting "class" also in
1346 C mode.
1347 (C_AUTO): New macro for automatic detection of C++.
1348 (consider_token): Automatic set C++ mode.
1349 (C_entries): New security check for yacc.
1350 (print_language_names, print_help): Mention the autodetect
1351 feature, do not show help for the -C option, now mostly useless.
1352 (C_entries): Tag C++ forward declarations if --declarations.
1353 (C_entries): Don't be fooled by things like XDEFUN.
1354 (consider_token): Discard asm pseudo function.
1355
e26f9ced
EZ
13562001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
1357
1358 * etags.c: Add a coding: tag.
1359
a47b7816
GM
13602001-01-26 Gerd Moellmann <gerd@gnu.org>
1361
8c463abe 1362 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
a47b7816
GM
1363 New variables.
1364 (matching_regexp): Use them instead of static variables in
1365 function scope.
1366
7df65e91 13672001-01-25 Francesco Potorti` <pot@gnu.org>
d22a24fa
FP
1368
1369 * etags.c (struct tok): Renamed from struct token.
1370 (token): Renamed from tok.
1371 (structtype): Make it a local variable.
1372 [DEBUG]: Use assert.
1373 (xrnew): Change the synopsis.
1374 (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
1375 (grow_linebuffer): Don't call xrnew when not needed.
02ce3e80 1376 (token): Buffer renamed to line.
d22a24fa 1377 (C_entries): Three calls to inibuffer moved here from main.
eec54bd7 1378 (C_entries): Remove all references to var methodlen, delete it.
d22a24fa
FP
1379 (linebuffer_setlen): Was grow_buffer, now also sets len.
1380 (consider_token, C_entries, Pascal_functions): Use it.
1381 (C_entries): Preventing problems relative to extern "C".
1382 (C_entries): Can tag more than one variable or func separated by
1383 comma when --declarations is used.
1384 (C_entries): More accurate tagging of members and declarations.
1385 (yacc_rules): Was global, made local to C_entries.
1386 (next_token_is_func): Removed.
1387 (fvdef): New constants fdefunkey, fdefunname.
1388 (consider_token, C_entries): Use them.
1389 (C_entries): Build proper lisp names for Emacs DEFUNs.
1390
21c2bbe0
GM
13912001-01-22 Gerd Moellmann <gerd@gnu.org>
1392
1393 * ebrowse.c (xfree): New function.
1394 (member, declaration, globals): Use xmalloc instead of alloca.
1395
7df65e91 13962001-01-15 Francesco Potorti` <pot@gnu.org>
83be933c
FP
1397
1398 * etags.c (print_language_names): Print filenames in addition to
1399 suffixes.
1400
47df1a5e
EZ
14012001-01-14 Francesco Potorti` <pot@gnu.org>
1402
1403 * etags.c (get_language_from_langname): Renamed from
1404 get_language_from_name.
eec54bd7
SM
1405 (get_language_from_filename): Renamed from get_language_from_suffix.
1406 Now first looks for the complete file name.
47df1a5e
EZ
1407 (language): New member char **filenames.
1408 (Makefile_filenames): List of possible filenames for makefiles.
eec54bd7 1409 (lang_names): Add a NULL member for every entry, added an entry
47df1a5e 1410 for makefiles.
13dc0576 1411 (Makefile_targets): New function.
47df1a5e
EZ
1412 (Texinfo_nodes): Renamed from Texinfo_fuctions and made
1413 it conformant to the style of the rest of the code.
1414
291c7e74
GM
14152001-01-13 Gerd Moellmann <gerd@gnu.org>
1416
1417 * make-docfile.c (write_c_args): Print newlines as spaces.
1418
0dac6924
AI
14192001-01-06 Andrew Innes <andrewi@gnu.org>
1420
1421 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
1422 of *.pdb.
1423
3e99d3b4
GM
14242001-01-03 Paul Eggert <eggert@twinsun.com>
1425
1426 * lib-src/rcs2log: Avoid security hole allowing attacker to
1427 cause user of rcs2log to overwrite arbitrary files, fixing
1428 a bug reported by Morten Welinder.
1429
1430 Don't put "exit 1" at the end of the exit trap; it's
1431 ineffective in POSIX shells.
1432
d6bb0c0d
GM
14332001-01-02 Gerd Moellmann <gerd@gnu.org>
1434
eec54bd7
SM
1435 * ebrowse.c (yyerror): Change to take two arguments.
1436 Add prototype. Change callers.
d6bb0c0d 1437
d5c00476 14382001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
315f5865
EZ
1439
1440 * ebrowse.c (enter_namespace, main): Cast variables to shut up
1441 compiler warnings.
1442 (yyerror): Change parameter declarations to be of type long, so
1443 that they can take pointers on 64-bit platforms.
1444
1445 * emacsclient.c (main): Remove unused local variable statbfr.
1446 (main) <homedir>: Make its declaration conditional on
1447 SERVER_HOME_DIR, to avoid compiler warnings.
1448
1449 * emacsserver.c (main) <homedir>: Make its declaration conditional
1450 on SERVER_HOME_DIR, to avoid compiler warnings.
1451
1452 * fakemail.c (readline): Cast buffer to "long *" to pacify
1453 over-zealous compilers.
1454
7c89ea61
EZ
14552000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
1456
1457 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
1458
a6768cc5
GM
14592000-12-15 Gerd Moellmann <gerd@gnu.org>
1460
1461 * ebrowse.c (operator_name): Cast argument of isalpha to
1462 unsigned char.
1463
1464 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
1465 Use them throughout instead of ctype functions/macros.
1466 (lowcase): Cast to unsigned char.
1467 (UPCASE): New macro.
1468 (canonicalize_filename): Use UPCASE instead toupper.
1469
1470 * fakemail.c (get_keyword): Make sure that isspace and
1471 similar aren't called with a negative argument.
1472
70de49cc
DL
14732000-12-13 Dave Love <fx@gnu.org>
1474
1475 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
1476
4e8b894c
AI
14772000-12-06 Andrew Innes <andrewi@gnu.org>
1478
1479 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
1480 don't know the real version, and I can't seem to get the quoting
1481 right in all circumstances.
1482
1483 * ebrowse.c (VERSION): Provide default definition, like etags.c
1484 does, because Windows build can't snarf this from version.el.
1485
88257bc8
AI
14862000-11-30 Andrew Innes <andrewi@gnu.org>
1487
1488 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
1489 (install): Ditto.
1490
d19249e7
JR
14912000-11-23 Jason Rumney <jasonr@gnu.org>
1492
1493 * makefile.w32-in: Add targets for ebrowse.exe.
1494 (LOCAL_FLAGS): Add -DVERSION flag.
1495
7df6adc3
DL
14962000-09-25 Dave Love <fx@gnu.org>
1497
1498 * sorted-doc.c: Include config.h.
1499 [!HAVE_STDLIB_H]: Declare malloc.
1500
fe83b953
AI
15012000-09-14 Andrew Innes <andrewi@gnu.org>
1502
1503 * makefile.w32-in: Revert to Unix line endings.
1504
517699ca
DL
15052000-09-04 Dave Love <fx@gnu.org>
1506
1507 * movemail.c (index, rindex): Prototype conditionally.
1508
f8803e97
AI
15092000-09-03 Andrew Innes <andrewi@gnu.org>
1510
1511 * makefile.w32-in: Change to DOS line endings.
1512
f72adc12
EZ
15132000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
1514
4034f3a8 1515 * movemail.c (toplevel): Remove redundant fcntl.h.
f72adc12
EZ
1516 [!F_OK]: Provide default definitions only after including both
1517 fcntl.h and unistd.h.
1518
f678f592
DL
15192000-08-29 Dave Love <fx@gnu.org>
1520
1521 * movemail.c: Revert previous change.
1522
5b671d04
EZ
15232000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
1524
1525 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
1526
6fa86045
DL
15272000-08-28 Dave Love <fx@gnu.org>
1528
1529 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
1530 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
1531
746d9caf
AI
15322000-08-22 Andrew Innes <andrewi@gnu.org>
1533
1534 * ntlib.h (WIN32): Remove unnecessary definition.
1535 (sleep): Make argument unsigned long.
1536 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
1537
1538 * ntlib.c (sleep): Make argument unsigned long.
1539
1540 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
1541
1542 * makefile.w32-in: New file.
1543
3b541489
EZ
15442000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
1545
1546 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
1547 letter only if it is a drive letter.
1548
e5acf0ca
GM
15492000-07-14 Gerd Moellmann <gerd@gnu.org>
1550
02ce3e80 1551 * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and ymalloc.
e5acf0ca
GM
1552
1553 * etags.c (xmalloc, xrealloc): Make externally visible, for use
1554 by alloca.o.
1555
02ce3e80 1556 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
e5acf0ca 1557
4b92c49a
GM
15582000-07-10 Gerd Moellmann <gerd@gnu.org>
1559
1560 * ebrowse.c (yylex): Accept string literals with newlines in them.
1561 (process_pp_line): Handle case of string literal with newline
1562 in it in replacement text, which counts as continuing the
1563 replacement text in GNU C.
1564
831a6cb0
GM
15652000-07-02 Gerd Moellmann <gerd@gnu.org>
1566
1567 * ebrowse.c (token_string): Add missing tokens.
1568 (parm_list): Handle case of qualified pointers.
1569
53245ee2
DL
15702000-06-23 Dave Love <fx@gnu.org>
1571
1572 * ebrowse.c: Move config.h before other includes (which may use
1573 feature tests).
1574
dcbf2cd2
JM
15752000-06-14 Jim Meyering <meyering@lucent.com>
1576
1577 * grep-changelog: Fix typos in comments. Remove trailing blanks.
1578
f1c7754a
JR
15792000-06-11 Jason Rumney <jasonr@gnu.org>
1580
1581 * makefile.nt: Add targets for ebrowse.
1582
1583 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
1584 compare filenames.
1585
5f1aea9a
GM
15862000-06-06 Gerd Moellmann <gerd@gnu.org>
1587
1588 * ebrowse.c (ymalloc): Renamed from xmalloc.
1589 (yrealloc): Renamed from xrealloc.
1590
5bf244f1
DL
15912000-05-21 Dave Love <fx@gnu.org>
1592
1593 * movemail.c: Include config.h, not ../src/config.h.
1594 (Errmsg): Bump length.
1595
1596 * pop.c (ERROR_MAX): Increase to 160.
1597
ec82fb2f
GM
15982000-05-04 Gerd Moellmann <gerd@gnu.org>
1599
1600 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
1601
5c922ea7
EZ
16022000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
1603
02ce3e80
SM
1604 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
1605 Define to semi-colon.
5c922ea7 1606 (FILENAME_EQ): New macro, for comparing file names.
02ce3e80 1607 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
5c922ea7
EZ
1608 (process_file): Don't assume that fread always reads as many bytes
1609 as it was told to (DOS-style CR-LF text files fail this logic).
1610 (open_file): Allocate enough space for path->path plus the file
1611 name and the slash.
1612
6142fdcb 16132000-04-19 Dave Love <fx@gnu.org>
97052c63
DL
1614
1615 * etags.c (Texinfo_functions): New function.
1616 (lang_names): Install it.
1617 (Texinfo_suffixes): New variable.
1618
cb9215e4
GM
16192000-04-19 Gerd Moellmann <gerd@gnu.org>
1620
1621 * ebrowse.c (xmalloc, xrealloc): Rewritten.
1622 (declaration): Remove parameter IS_EXTERN.
1623 (class_definition): Remove unused variable.
1624
be0dbdab
GM
16252000-04-09 Gerd Moellmann <gerd@gnu.org>
1626
1627 * Makefile.in (INSTALLABLES): Add ebrowse.
1628 (ebrowse): New target.
1629
1630 * ebrowse.c: New file.
1631
c5aa0fc2
AS
16322000-03-29 Andreas Schwab <schwab@suse.de>
1633
1634 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
1635
d054101f
GM
16362000-03-02 Gerd Moellmann <gerd@gnu.org>
1637
1638 * etags.c (lisp_suffixes) Add `LSP'.
1639
71cbb895
FP
16402000-02-10 Francesco Potorti` <pot@gnu.org>
1641
eec54bd7 1642 * etags.c (iswhite): Redefine not to consider '\0' as white
71cbb895
FP
1643 space, and use it throughout in place of isspace, thus preventing a
1644 potential signed char to int conversion problem.
1645 (MSDOS): #undefine befere redefining
1646
7df65e91 16472000-02-04 Francesco Potorti` <pot@gnu.org>
71cbb895
FP
1648
1649 * etags.c (many functions): Add prototypes.
1650
97fa0cc8
DL
16512000-02-10 Dave Love <fx@gnu.org>
1652
1653 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
1654 (erlang_func): Add `static' to definitions to keep pcc happy.
1655
7df65e91 16562000-01-31 Francesco Potorti` <pot@gnu.org>
e4100b7f
FP
1657
1658 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
1659 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
1660 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
1661 (getenv, getcwd): Only declare them if necessary.
1662 (EMACS_NAME): New constant macro.
1663 (print_version): Use it.
1664 (P_) [__STDC__]: Macro for defining function prototypes.
e4100b7f 1665
19e262bd 16662000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
1667
1668 * etags.c [WINDOWSNT]: #include <direct.h>
1669
19e262bd 16702000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 1671
19e262bd
FP
1672 * etags.c (all functions): Made them static.
1673 (all functions): Write prototypes.
e4100b7f 1674
55e30d2a
RS
16752000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
1676
1677 * movemail.c (main): Improve error message if can't create lock file.
1678
c60ee5e7 16792000-01-28 Eric Hanchrow <offby1@blarg.net>
875c1439
GM
1680
1681 * emacsclient.c (socket_status): New function.
02ce3e80 1682 (main): If $LOGNAME or $USER exist and differ from our euid, look
875c1439
GM
1683 for a socket based on the UID associated with the name.
1684
e4936aa9
GM
16852000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
1686
1687 * emacsclient.c: Add option -a EDITOR and environment variable
1688 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
1689
c60ee5e7 16901999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us>
791a9087
GM
1691
1692 * movemail.c (popmail): Allow mailbox specifications of the
1693 form `po:username:hostname'.
1694
7df65e91 16951999-11-19 Francesco Potorti` <pot@gnu.org>
e2081362
FP
1696
1697 * etags.c (_GNU_SOURCE): Define only if undefined.
1698 (get_scheme): Declaration deleted.
02ce3e80 1699 (main): Error was called with an integer as second arg, instead of
e2081362
FP
1700 a char pointer.
1701 (canonicalize_filename): Bug removed.
1702
17031999-11-18 Dave Love <d.love@dl.ac.uk>
1704
1705 * etags.c (C_entries): Rename label `intoken', avoiding K&R
1706 lossage from name clash with macro.
1707
b05d3bee
GM
17081999-11-13 Gerd Moellmann <gerd@gnu.org>
1709
1710 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
1711
cb3a6c48
GM
17121999-11-03 Gerd Moellmann <gerd@gnu.org>
1713
1714 * etags.c (print_help): Change email address to send bugs to.
1715
7df65e91 17161999-11-01 Francesco Potorti` <pot@gnu.org>>
1c478461
FP
1717
1718 * etags.c: Add suffix psw for PSWrap.
1719 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
1720 (Postscript_functions): Add code for PSWrap.
1721 (Scheme_functions): Use local pointer and new get_tag function.
1722 (get_tag): New name for old get_scheme.
1723 (process_file): Do not free NULL when file does not exist.
1724 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
1725 (C_entries): Modifications that make --members tag even inside
1726 typedefs and C nested structs (one level only).
eec54bd7 1727 (consider_token): Correct a bug which prevented tagging of enum
1c478461 1728 constants.
eec54bd7 1729 (C_stab_entry): Add if, for, while, switch, return as
1c478461
FP
1730 st_C_ignore. This makes it simpler to work when cblev!=0.
1731
02ce3e80 1732 * etags.c (C_entries): Tag member function declarations when
1c478461
FP
1733 --declarations is used.
1734
1735 * etags.c (C_entries, consider_token): C++ `operator' now is
1736 tagged in most cases.
1737 As before, :: is not recognised if surrounded by spaces.
1738
1739 * etags.c (relative_filename): Account for DOS file names such
1740 that is impossible to make one relative to another.
1741
1742 * etags.c (sym_type): New st_C_extern tag.
1743 (gperf input): Use it for spotting external declarations.
1744 (print_help): Document the new behaviour of --declarations.
1745 (fvextern): New global variable.
1746 (consider_token, C_entries): Use it.
1747
1748 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
1749 (etags_getcwd): Remove test for WINDOWSNT.
1750
1751 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
1752 foo.cgz, foo.cz, etc.
1753
1754 * etags.c (declarations): New global switch.
1755 (longopts): Describe it.
1756 (print_help): Document it.
1757 (C_entries): Use it.
1758 (process_file): Don't process a file twice.
1759
1760 * etags.c (Fortran_functions): No tags for "procedure".
1761
17621999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
1763
1764 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
1765 non-zero, returns a pointer to where the extension begins; callers
1766 changed.
1767 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
1768 were foo.c.gz.
1769
7df65e91 17701999-11-01 Francesco Potorti` <pot@gnu.org>
1c478461
FP
1771
1772 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
1773 (fvdev): New constant foperator.
1774 (consider_token): Use it to get "operator" in C++.
1775 (C_entries): Extend length of operator@ function name.
1776 (C_entries): Use foperator when necessary.
1777
1778 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
1779
1780 * etags.c (compressor): New struct for compressed files.
1781 (get_compressor_from_suffix): New function.
1782 (get_language_from_suffix): Use it. Also, semantics changed.
1783 (process_file): Consider compressed files, close file.
1784 (find_entries): Use different call arg for get_language_from_suffix,
1785 don't close file.
1786
1787 * etags.c (main): Call free_tree.
1788 (find_entries): Do not free curfile.
1789 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
1790 (prolog_pred, erlang_func, substitute): Cast strlen to int when
1791 comparing.
1792 (canonicalize_filename): Shut up compiler warning.
1793 (Perl_functions): Make tag significant.
1794
17951999-11-01 Dave Love <d.love@dl.ac.uk>
1796
1797 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
1798 (argument_type): New member at_icregexp.
1799 (lc_trans): New global.
1800 (main): Fill lc_trans. Process -c args.
1801 (add_regex): New arg determining whether to use translation table.
1802 (analyse_regex): New arg. Use it for add_regex.
1803
7df65e91 18041999-11-01 Francesco Potorti` <pot@gnu.org>
1c478461
FP
1805
1806 * etags.c (init): Cosmetic change: NULL --> '\0'.
1807 (erlang_attribute): Bug corrected (uninitialized variable).
1808 (filename_is_absolute): New function replaces absolutefn macro and
02ce3e80 1809 corrects a bug. All callers changed.
1c478461
FP
1810 (canonicalize_filename): New function.
1811 (process_file, etags_getcwd, absolute_dirname): Use it.
1812 (relative_filename, absolute_filename): Removed var shadowing.
1813 (C_entries, Pascal_functions): Add fake initializations to keep
02ce3e80 1814 compilers quiet.
1c478461
FP
1815 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
1816
1817 * etags.c (xrnew): New macro. All callers of xrealloc changed.
1818 (language): New typedef (was struct lang_entry).
1819 (curlang): New global variable.
02ce3e80 1820 (node): Typedef renamed from NODE.
1c478461
FP
1821 (linebuffer): New typedef (was struct linebuffer).
1822 (pattern): New typedef (was struct pattern). Some members added.
1823 Now used as element of a linked list.
1824 (patterns, num_patterns): Global variables deleted.
1825 (p_head): New global variable.
a64387ee 1826 (forced_lang): New global variable (replaces lang_func).
02ce3e80
SM
1827 (get_language_from_name, get_language_from_interpreter)
1828 (get_language_from_suffix): Semantics changed. All callers changed.
1c478461 1829 (last_node): New global variable.
02ce3e80
SM
1830 (free_tree, add_node, put_entries, total_size_of_entries):
1831 Change name of local vars to avoid clashes with typedef node.
1c478461
FP
1832 (number_len): Rewritten for elegance.
1833 (token): New typedef replaces TOKEN.
1834 (analyse_regex, add_regex): Rewritten for new functionality.
1835 (free_patterns): New function called from main and add_regex.
1836 (initbuffer, readline_internal, readline, grow_linebuffer):
02ce3e80 1837 Change name of local vars to avoid clashes with typedef linebuffer.
1c478461
FP
1838 (readline): Rewritten for new functionality.
1839
1840 * etags.c: (Scheme_suffixes): New suffix ".ss".
1841 (print_help): --globals is now used for more than C-type languages.
1842 (Perl_functions): Tag global variables ("my" and "local").
1843
1844 * etags.c (print_help): Some messages clarified.
1845 (LOOP_ON_INPUT_LINES): New macro.
02ce3e80
SM
1846 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
1847 (Python_functions, Cobol_paragraphs, Pascal_functions)
1848 (Lisp_functions, Postscript_functions, Scheme_functions)
1849 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
1850 (Cobol_paragraphs, Postscript_functions, TeX_functions)
1851 (Prolog_functions, Erlang_functions): Use a local variable instead
1c478461
FP
1852 of the global variable dbp.
1853 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
1854 standard indentation.
1855
02ce3e80
SM
1856 * etags.c (Python_suffixes, lang_names, Python_functions):
1857 Python support.
1c478461 1858 (skip_spaces, skip_non_spaces): Utility functions.
02ce3e80
SM
1859 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
1860 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
1861 (prolog_pred, erlanf_func, erlang_attribute): Use them.
1c478461
FP
1862 (eat_white): Deleted.
1863
1864 * etags.c (CHAR, init): Keep into account non US-ASCII
1865 characters and compilers with default signed chars.
1866 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
1867 constructs.
1868
1869 * (C_stab_entry): "interface" in Java behaves like "class".
1870
1871 * etags.c: (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
1872 (main): Put interval syntax here.
1873 (add_regex): And remove it from here.
1874
1875 * etags.c (suggest_asking_for_help): Provide a
1876 meaningful help message with and without LONG_OPTIONS.
1877
1878 * etags.c: <io.h> [MSDOS]: Include it, don't include string.h.
1879 <stdlib.h, string.h>: Don't test MSDOS when including them.
1880 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
1881 (put_entries): Correctly use %ld instead of %d in printf.
1882
1883 * etags.c: <unistd.h> [HAVE_UNISTD_H]: Include conditionally, else
1884 declare getcwd if HAVE_GETCWD.
1885 (consider_token): Dead break instruction removed.
1886
4ee9629e
PE
18871999-10-19 Paul Eggert <eggert@twinsun.com>
1888
1889 Add support for large files. Merge glibc 2.1.2.
1c478461 1890
4ee9629e
PE
1891 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
1892 movemail.c, pop.c:
1893 Do not include <stdlib.h>, as <config.h> does this now.
1894
1895 * b2m.c, emacsserver.c, etags.c, profile.c:
1896 Include <config.h> before any system include files.
1c478461 1897
4ee9629e
PE
1898 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
1899 test-distrib.c:
1900 (read, write, open, close): Do not undef.
1901
1902 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
1903 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
1904
1905 * getopt.h: Adopt glibc 2.1.2.
1c478461 1906
93c8d183
DL
19071999-10-15 Dave Love <fx@gnu.org>
1908
1909 * Makefile.in (pop.o): Depend on config.h.
1910
b358f91c
GM
19111999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1912
1913 * pop.c: Use "pop3" as the POP service name on all platforms,
1914 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
1915 has been the standard service name since RFC 1340 was published in
1916 July 1992, so I think it's safe to start using it by default.
1917
362bc2da
DL
19181999-09-27 Dave Love <fx@gnu.org>
1919
1920 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
1921
74e4cb59
PR
19221999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
1923
1924 * make-docfile.c (scan_lisp_file): Fix previous changes;
1925 swallow CRLF like just CR or just LF.
1926
362bc2da
DL
19271999-09-03 Richard Stallman <rms@gnu.org>
1928
1929 * make-docfile.c: Include config.h not ../src/config.h.
1930 (main, fopen, chdir): Add #undef.
1931 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
1932 (scan_lisp_file): Handle \r like \n.
1933
19341999-08-30 Andreas Schwab <schwab@gnu.org>
1935
1936 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
1937
1938 * emacsserver.c: Include <stdlib.h> if available. Don't declare
1939 errno if it's a macro.
1940
1941 * test-distrib.c: Include <unistd.h> if available.
1942
19431999-08-29 Richard Stallman <rms@gnu.org>
1944
1945 * emacsclient.c (print_help_and_exit): Mention --version.
1946
19471999-08-25 Richard M. Stallman <rms@gnu.org>
1948
1949 * emacsclient.c (decode_options): Update version output.
1950 (print_help_and_exit): Update bug report address.
1951
19521999-08-13 Richard M. Stallman <rms@gnu.org>
1953
1954 * emacsclient.c (main): Move the dynamic allocation of
1955 system_name outside of the SERVER_HOME_DIR conditional.
1956 * emacsserver.c (main): Likewise.
1957
19581999-08-10 Gerd Moellmann <gerd@gnu.org>
1959
1960 * grep-changelog: New.
1961 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
1962
19631999-07-12 Richard Stallman <rms@gnu.org>
1964
1965 * Version 20.4 released.
1966
19671999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
1968
1c478461 1969 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
1970
19711999-06-23 Dave Love <fx@gnu.org>
1972
1973 * etags.c (erlang_attribute): Fix undefined variable usage (after
1974 Potorti).
1975
19761999-05-2 Andrew Innes <andrewi@gnu.org>
1977
1978 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
1979 mapped to _chsize.
1980
19811999-04-29 Richard M. Stallman <rms@gnu.org>
1982
1983 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
1984
19851999-03-30 Dave Love <fx@gnu.org>
1986
1987 * sorted-doc.c (main): Split up tables. Modify the preamble
1988 somewhat.
1989
19901999-03-05 Geoff Voelker <voelker@cs.washington.edu>
1991
1992 * makefile.nt: Remove common multiple file compilation commands.
1993
19941999-02-26 Richard Stallman <rms@gnu.org>
1995
1996 * Version 20.4 released.
1997
1998 * Makefile.in (yow): Depend on epaths.h, not paths.h.
1999
2000 * yow.c: Refer to epaths.h.
2001
20021999-02-22 Simon Josefsson <jas@pdc.kth.se>
2003
2004 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
2005
20061999-01-27 Andrew Innes <andrewi@gnu.org>
2007
2008 * makefile.nt: Do make version comparison as strings.
2009
20101999-01-25 Richard Stallman <rms@gnu.org>
2011
2012 * emacsclient.c (xmalloc): Fix previous change.
2013
20141999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
2015
2016 * emacsclient.c (xmalloc): Declare to return long.
2017
20181999-01-22 Geoff Voelker <voelker@cs.washington.edu>
2019
2020 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
2021 the case of the drive letter.
2022
20231999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
2024
2025 * emacsserver.c (main): Eliminate arbitrary limit on
2026 length of system_name.
2027
2028 * emacsclient.c (main): Eliminate arbitrary limit on
2029 length of system_name.
2030 (xmalloc): Define unconditionally.
2031
20321999-01-12 Darrin B. Jewell <jewell@mit.edu>
2033
2034 * etags.c (relative_filename): Stop backward search at beginning
2035 of string, since non-Unix systems can have absolute paths with no
2036 initial slash.
2037
20381998-12-08 Geoff Voelker <voelker@cs.washington.edu>
2039
2040 * makefile.nt: Do string comparision of _NMAKE_VER.
2041
c60ee5e7 20421998-11-03 Theodore Jump <tjump@cais.com>
362bc2da
DL
2043
2044 * makefile.nt: Compile multiple source files when possible.
2045
20461998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
2047
2048 * Makefile.in: Replace tabs with spaces
2049 when they might confuse some Make versions.
2050
20511998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
2052
2053 * emacsclient.c (main): Null-terminate system_name.
2054
2055 * emacsserver.c (main): Null-terminate system_name.
2056
20571998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2058
2059 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
2060 an error message from POP, mention that it's from POP, to
2061 distinguish it from local error messages.
2062
20631998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2064
2065 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
2066 order of messages downloaded from a POP server (e.g., if the
2067 server stores messages in mailboxes in reverse order).
2068
20691998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
2070
2071 * Version 20.3 released.
2072
20731998-08-11 Paul Eggert <eggert@twinsun.com>
2074
2075 * rcs2log: Update copyright date and bug report address.
2076 (initialize_fullname): Prefer getent if available.
2077
20781998-07-30 Paul Eggert <eggert@twinsun.com>
2079
2080 * lib-src/Makefile.in (REGEXPDEPS, regex.o):
2081 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 2082
362bc2da
DL
20831998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
2084
2085 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
2086
20871998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
2088
2089 * Makefile.in: Properly terminate a comment.
2090
20911998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
2092
2093 * movemail.c (sys_wait): Rename to wait.
2094
2095 * ntlib.h: Undefine _WINSOCKAPI_.
2096
2097 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
2098
20991998-05-30 Geoff Voelker <voelker@cs.washington.edu>
2100
2101 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
2102
21031998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
2104
2105 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
2106 all file i/o to be in binary mode. Include ntlib.h.
2107
21081998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
2109
2110 * make-docfile.c: Include <unistd.h> for chdir.
2111
21121998-04-25 Richard Stallman <rms@psilocin.gnu.org>
2113
2114 * etags.c (TEX_decode_env): Don't free the value getenv returns.
2115
21161998-04-17 Geoff Voelker <voelker@cs.washington.edu>
2117
2118 * makefile.nt (obj): Update with new files in src.
2119 (clean): Delete patch scratch files, optimized compilation dir.
2120
21211998-04-08 Dave Love <fx@gnu.org>
2122
2123 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
2124 Irix6, at least.
2125
21261998-04-06 Andreas Schwab <schwab@gnu.org>
2127
2128 Silence -Wimplicit:
2129 * movemail.c: Move cancelations up. Include <stdlib.h> if
2130 available.
2131 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
2132 (parse_header): Explicitly declare return type.
2133 * emacsserver.c: Include <unistd.h> if available.
2134 (main, handle_signals, perror_1, fatal_error): Explicitly declare
2135 return types. Add forward declarations.
2136 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
2137 Don't declare geteuid.
2138 (print_help_and_exit): Change return type to void. Forward
2139 declare it.
2140 * b2m.c: Include <stdlib.h> if available.
2141 (main): Explicitly declare return type.
2142
21431998-04-03 Richard Stallman <rms@delysid.gnu.org>
2144
2145 * etags.c (put_entries): Use %ld.
2146
2147 * b2m.c (fatal): Declare the arg.
2148
21491998-04-03 Richard Stallman <rms@psilocin.gnu.org>
2150
2151 * etags.c (put_entries): Use %ld.
2152
2153 * b2m.c (fatal): Declare the arg.
2154
21551998-03-26 Richard Stallman <rms@psilocin.gnu.org>
2156
2157 * pop.c (pop_getline): Renamed from getline.
2158
21591998-03-05 Richard Stallman <rms@psilocin.gnu.org>
2160
2161 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
2162 for the utilities.
2163
21641998-01-23 Dave Love <d.love@dl.ac.uk>
2165
2166 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
2167 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
2168 Always make named tags.
2169 (Fortran_functions): Grok BLOCK DATA.
2170
21711998-01-23 Andreas Schwab <schwab@gnu.org>
2172
2173 * movemail.c (main): Fix interwoven brace and cpp conditional
2174 nesting.
2175
21761997-12-04 Karl Heuer <kwzh@delysid.gnu.org>
2177
2178 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
2179 server to contain embedded nulls.
2180
21811997-12-03 Paul Eggert <eggert@delysid.gnu.org>
2182
2183 * movemail.c:
2184 (mbx_write) [MAIL_USE_POP]: Disable the code which quotes with a
2185 '>' any lines starting with "From " read from the POP server, but
2186 leave the code in place, wrapped in #ifdef
2187 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
2188 because it turns out that something is depending on it. Change
2189 suggested by Paul Eggert <eggert@twinsun.com>.
2190 Convert the character \037 (^_) at the beginning of a line into
2191 the character '^' followed by the character '_', because otherwise
2192 Emacs can't parse the resulting file as a valid BABYL file.
2193 Change suggested by Paul Eggert <eggert@twinsun.com>.
2194
21951997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2196
2197 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
2198 server to contain embedded nulls.
2199
22001997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 2201
362bc2da
DL
2202 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
2203 quotes with a '>' any lines starting with "From " read from the
2204 POP server, but leave the code in place, wrapped in #ifdef
2205 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
2206 because it turns out that something is depending on it. Change
2207 suggested by Paul Eggert <eggert@twinsun.com>.
2208
2209 Convert the character \037 (^_) at the beginning of a line into
2210 the character '^' followed by the character '_', because otherwise
2211 Emacs can't parse the resulting file as a valid BABYL file.
2212 Change suggested by Paul Eggert <eggert@twinsun.com>.
2213
22141997-11-22 Richard Stallman <rms@gnu.org>
2215
2216 * b2m.c: Include getopt.h.
2217 (main): Use getopt_long to handle --version and --help.
2218
2219 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
2220
22211997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2222
2223 * pop.c (fullwrite): Get rid of an extra call to write. Problem
2224 pointed out by Chiaki Ishikawa.
2225
22261997-10-16 Dave Love <d.love@dl.ac.uk>
2227
2228 * etags.c (L_getit): Always make named tags so that Emacs
2229 completion on symbols containing `:' etc. works.
2230 (get_scheme): Likewise.
2231
22321997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2233
2234 * pop.c: Use system header files instead of declaring C-library
2235 functions explicitly.
2236
22371997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2238
2239 * Version 20.2 released.
2240
22411997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2242
2243 * Version 20.1 released.
2244
22451997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
2246
2247 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
2248
2249 * ntlib.c (getpid): Delete function.
2250
22511997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2252
2253 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
2254
22551997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2256
2257 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
2258 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
2259
22601997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2261
2262 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
2263
22641997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
2265
2266 * profile.c (get_time): Cast arg to fprintf.
2267
2268 * hexl.c (main): Use %08lx instead of %08x in printf because the
2269 variable named addresses is long.
2270
22711997-08-08 Geoff Voelker <voelker@cs.washington.edu>
2272
2273 * makefile.nt (lisp): Update paths to lisp files that have moved.
2274
22751997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
2276
2277 * makefile.nt (ctags.obj): New target.
2278 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
2279
2280 * ntlib.h: Add includes.
2281 Undo definitions of crt routines from config.h.
2282
22831997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2284
2285 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
2286
22871997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2288
2289 * pop.c: Support auto-configuration of both Kerberos V4 and
2290 Kerberos V5 for movemail, including detection of V4 and V5 header
2291 files and libraries.
2292 Include <string.h> when STDC_HEADERS is defined, to get
2293 declarations of string functions.
2294 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
2295 V5 API rather than the old one.
2296 [KERBEROS] (socket_connection): Change a constant name from
2297 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
2298 with a constant in a header file.
2299
2300 * Makefile.in: Support auto-configuration of both Kerberos V4 and
2301 Kerberos V5 for movemail, including detection of V4 and V5 header
2302 files and libraries.
2303
23041997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2305
2306 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
2307
2308 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1c478461 2309
362bc2da
DL
23101997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2311
2312 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
2313
23141997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2315
2316 * movemail.c (rindex): Add declaration.
2317
2318Tue Jul 1 01:09:07 1997 Geoff Voelker <voelker@cs.washington.edu>
2319
2320 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
2321 (movemail.exe): Depend upon and link with getopt files.
2322 (obj): Include new source files.
2323 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
2324 (lisp): Include new and reorganized elisp files.
2325
23261997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2327
2328 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
2329
23301997-06-25 Paul Eggert <eggert@twinsun.com>
2331
2332 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
2333
23341997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
2335
2336 * b2m.c (readline): Terminate buffer properly when EOF seen.
2337 Test for valid pointer before dereferencing it.
2338
23391997-05-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2340
2341 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
2342 defined inside etags.c if HAVE_CONFIG_H is defined.
2343
23441997-05-29 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2345
2346 * etags.c: (logical): Type name changed to bool.
2347 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
2348 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
2349 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
2350 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
2351 (longopts): New long options without short counterpart are
2352 globals, members, no-globals, no-members. Regexp options are now
2353 defined conditionally to ETAGS_REGEXPS.
2354 (print_help): Updated.
2355
23561997-05-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2357
2358 * etags.c (C_entries): Use "." instead of "::" for Java.
2359 (consider_token): is_func renamed to is_func_or_var.
2360 (C_entries): is_func renamed to funorvar.
2361 (C_entries): Initialise tok.named.
2362 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
2363 get rid of "import", "package" and "friend".
2364 (fvdef): Renamed from funcdef. Also some constants renamed. All
1c478461 2365 users changed.
362bc2da
DL
2366 (C_entries): Make separate tags for variables separated by comma.
2367 (globals, members): New flags.
2368 (main, C_entries): Use them.
2369 (make_C_tag, C_entries): Make tok a global variable.
1c478461 2370
362bc2da
DL
23711997-05-16 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2372
2373 * etags.c (funcdef): New vignore constant.
2374 (consider_token, C_entries): Use it to tag global variables.
2375 (print_help): Update for global variables.
2376 (consider_token, C_entries): Set the len member of token_name.
2377 (prolog_pred): Cleanup according to GNU coding standards.
2378 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
2379 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
2380
23811997-05-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2382
2383 * etags.c (CHARS, CHAR): New constant and macro.
2384 (iswhite, begtoken, intoken, endtoken): Use them.
2385 (notinname, _nin, nonam): New macro, array, string.
2386 (init): Cleanup and init _nin.
2387 (new_pfnote): New function.
2388 (make_C_tag) [traditional_tag_style]: Use it.
2389 (traditional_tag_style): Costant set to TRUE for now.
2390
23911997-05-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2392
2393 * etags.c (C_entries, Pascal_functions): Cleanup.
2394 (TeX_functions): NULL as a function arg needs a cast.
2395 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
2396
23971997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2398
2399 * etags.c (TeX_functions): Cleaned up.
2400 (tex_getit): Removed.
2401
24021997-05-13 Paul Eggert <eggert@twinsun.com>
2403
2404 * rcs2log (files): When computing arguments automatically, ignore
2405 non-files within the RCS subdirectory.
2406
24071997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2408
2409 * etags.c (C_JAVA): New #define.
2410 (Cjava_suffixes): .java is Java.
2411 (Cjava_entries): New function.
2412 (lang_names): Add Java.
2413 (sym_type): Add st_C_javastruct for Java.
2414 (C_stab_entry): Add `extends' and `implements' keywords.
2415 (consider_token, C_entries): Recognise Java structures.
2416
24171997-05-12 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2418
2419 * etags.c: (Cplusplus_suffixes): .pdb is Postscript with C syntax.
2420 (Postscript_suffixes): .ps is Postscript.
2421 (lang_names): Add Postscript.
2422 (Postscript_functions): New function.
2423 (TEX_decode_env): Close minor memory leak.
2424 (just_read_file): Correct the char number of the tag.
2425
24261997-05-11 Paul Eggert <eggert@twinsun.com>
2427
2428 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
2429 Don't prepend $nl since this causes some shells to generate the
2430 empty string when IFS is $nl.
2431 (printlogline): Use SOH (octal code 1), not CR, since some
2432 PC-based shells mishandle CR.
2433 (initialize_fullname): Set NIS_PATH to the empty string before invoking
2434 nismatch, in case it's set to some nonstandard value.
1c478461 2435
362bc2da
DL
24361997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2437
2438 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
2439 read in separate blocks.
2440
24411997-04-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2442
2443 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
2444 (struct linebuffer): New member `len' is the length of the string.
2445 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
2446 Use it instead of strlen.
2447 (TEX_getit): Declare and define unconditionally as static.
2448 (TeX_functions): Use if instead of #if TeX_named_tokens.
2449 (add_regex): Set RE_INTERVALS flag for regex compilation.
2450 (substitute): Code cleanup.
2451 (readline_internal): Code cleanup, set new member `len'.
2452 (readline): Bug corrected.
2453
24541997-04-23 Geoff Voelker <voelker@cs.washington.edu>
2455
2456 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
2457 (obj): Change references of nt*.c files to w32*.c files.
2458
24591997-04-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2460
2461 * etags.c (xnew): Add support for debugging with chkmalloc.
2462 (error): Use this instead of printf whenever possible.
2463 (main): Only call xnew after having initialised progname.
2464 (substitute): Bad memory corruption error corrected.
2465
24661997-04-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2467
2468 * etags.c (add_regex): Undo previous change.
2469 (relative_filename): Small memory leak closed.
2470 (absolute_filename): Cleaned up the code, possibly closing a bug.
2471 (absolute_dirname): Always return a newly allocated string.
1c478461 2472
362bc2da
DL
24731997-03-21 Paul Eggert <eggert@twinsun.com>
2474
2475 * rcs2log (files): Ignore files in RCS directory whose names are
2476 of the form ,*, or *_; they are probably RCS lock files.
2477 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
2478 they are used by rcsfreeze.
2479
24801997-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2481
2482 * etags.c (add_regex): reset *putbuf before using it.
2483
24841997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2485
2486 * movemail.c (popmail): Remove some unnecessary function
2487 declarations.
2488 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
2489 into pop_retr, there's no reason to pass in mbx_write, and the
2490 file argument can be declared FILE * explicitly. This fixes a
2491 compilation problem on systems with 64-bit pointers.
2492
24931997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2494
2495 * movemail.c: Delete duplicate inclusion of fcntl.h
2496 and duplicate #undefs of open, read, write, close.
2497
24981997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2499
2500 * movemail.c (main): Do not display "[POP-password]" in the usage
2501 message when movemail is compiled without POP support.
2502 (main, popmail): Add the optional "-p" argument, which causes
2503 movemail to leave mail in the inbox after copying it into the
2504 output file.
1c478461 2505
362bc2da
DL
2506 * Makefile.in (movemail): Link with getopt.
2507
25081997-01-20 Paul Eggert <eggert@twinsun.com>
2509
2510 * rcs2log: (--help, --version): New options, per GNU coding standards.
2511 (Copyright, Help, Id): New variables, for above.
2512 (rlog): Use -q option with cvs log, to avoid useless chatter.
2513
2514 Treat logs of "Initial revision" (RCS) or "file F was initially added
2515 on branch B." (CVS) as if they said "New file.", for consistency with
2516 change log entries.
2517
25181997-01-01 Paul Eggert <eggert@twinsun.com>
2519
2520 * vcdiff (PATH): Add /usr/xpg4/bin,
2521 where XPG4 SCCS hangs out in Solaris 2.5.
2522 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
2523
25241996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2525
2526 * etags.c (streq, strneq): Use == NULL rather than !.
2527
25281996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
2529
2530 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
2531 (movemail): Use LIBMAIL, to link against -lmail.
2532
2533 * movemail.c: Include maillock.h (conditionally).
2534 Remove a redundant inclusion of <stdio.h>.
2535 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
2536 (main): Add variable spool_name.
2537 Support the usage of maillock and mailunlock to
2538 lock and unlock mailboxes.
2539 (mail_spool_name): New function.
2540
2541 * movemail.c: Fix an uninitialized variable which could cause
2542 movemail to exit with an error status incorrectly on systems which
2543 use lock files rather than a system locking function to lock
2544 mailboxes.
2545
25461996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2547
2548 * pop.c (socket_connection): Free realhost after using it.
2549
25501996-12-04 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2551
2552 * etags.c (C_entries): Test tok.valid. This handles some
2553 particular cases involving function declarations that failed.
2554
25551996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 2556
362bc2da
DL
2557 * pop.c (socket_connection):
2558 gethostbyname may return a pointer to static data.
2559 krb_realmofhost can clobber it. So copy it.
2560
25611996-11-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2562
2563 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
2564 must cast it to (char *) because we have no prototypes.
2565 (make_C_tag): Macro deleted, new function.
2566 (C_entries): Calls to make_C_tag macro changed to call function.
2567
25681996-11-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2569
2570 * etags.c (grow_linebuffer): New function.
2571 (GROW_LINEBUFFER): Macro deleted. All callers changed.
2572 (make_tag): Macro renamed to make_C_tag. All callers changed.
2573 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
2574 (Prolog_functions): prolog_skip_comment was called with wrong
2575 number of arguments.
2576 (xrealloc): fatal was called with wrong number of arguments
2577
25781996-11-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2579
2580 * etags.c (relative_filename): Bug corrected.
2581 (etags_getcwd): Avoid warning of unused variable.
2582 (C_entries, consider_token): Added support for enum labels.
2583
25841996-11-03 Paul Eggert <eggert@twinsun.com>
2585
2586 * rcs2log: When processing cvs log output, remove `Attic/' from
2587 repository file names.
2588
25891996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
2590
2591 * emacsserver.c: Fix 1996-09-02 change.
2592
25931996-10-12 Paul Eggert <eggert@twinsun.com>
2594
2595 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
2596 option', since CVS says 'invalid option'.
2597 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
2598 revisions, since some hosts reject 1970-01-01 when east of UTC.
2599 (date): Remove.
2600
26011996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2602
2603 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
2604
26051996-10-02 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2606
2607 * etags.c (print_version): Print copyright info.
2608
2609 * etags.c (print_help): Print the bug reporting address.
2610 (main): Use return as the last instruction, instead of exit.
2611
2612 * etags.c (main): Don't open the tags file in cxref mode.
2613
26141996-09-29 Dave Love <d.love@dl.ac.uk>
2615
2616 * rcs2log (date): Make default format acceptable to CVS post v1.8
2617 as well as earlier CVSs and RCS.
2618
26191996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2620
2621 * movemail.c (main): If the lock call fails with EBUSY or
2622 EAGAIN, retry a few times.
2623
26241996-09-25 Paul Eggert <eggert@twinsun.com>
2625
2626 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
2627 whether to append -zLT.
2628
26291996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2630
2631 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
2632 * emacsclient.c, movemail.c: Likewise.
2633
26341996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2635
2636 * emacsclient.c (longopts): Change nowait to no-wait.
2637 (print_help_and_exit): Fix option name; upcase metavars.
2638
26391996-09-06 Erik Naggum <erik@naggum.no>
2640
2641 * emacsserver.c (main): Declare `fromlen' as size_t.
2642
26431996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
2644
2645 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
2646
26471996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2648
2649 * emacsclient.c (quote_file_name): Quote with &, not \.
2650 Quote `-' only at start of file name. Terminate the value string.
2651
2652 * emacsserver.c: Include signal.h properly;
2653 delete the duplicate includes for it.
2654
2655 * emacsserver.c: On fatal signal, delete socket-file:
2656 * emacsserver.c: Include signal.h.
2657 (xmalloc, fatal, error): New functions.
2658 (delete_socket, handle_signals): New functions.
2659 (progname, socket_name): New variables.
2660 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
2661
26621996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2663
2664 * emacsclient.c (quote_file_name): New function.
2665 (main, both versions): Use quote_file_name.
2666 (decode_options): Don't return a value.
2667 (main, both versions): Use optind.
2668 Don't check for -nowait here.
1c478461 2669
362bc2da
DL
2670 * emacsclient.c (decode_options): New function.
2671 (main, both versions): Call decode_options.
2672 (print_help_and_exit): New function.
2673 (VERSION): New macro.
2674
2675 * Makefile.in (emacsclient): Link with getopt.
2676 Add -DVERSION so emacsclient knows its version number.
2677
26781996-08-31 Geoff Voelker <voelker@cs.washington.edu>
2679
2680 * makefile.nt (lisp): Include dos-nt.elc.
2681
26821996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2683
2684 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
2685
26861996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2687
2688 * emacsclient.c (both versions): Handle -nowait and --nowait
2689 by sending data to the server.
2690
26911996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2692
2693 * Makefile.in (INSTALL_STRIP): New variable.
2694 (${archlibdir}): Use INSTALL_STRIP.
2695
2696 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
2697 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
2698
2699 * pop.c: Reverse conditional in previous change.
2700
27011996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2702
2703 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
2704
27051996-08-24 Paul Eggert <eggert@twinsun.com>
2706
2707 * rcs2log: Use ISO 8601 date format, with time zone appended
2708 if change-log-time-zone-rule is non-nil, instead of
2709 traditional Unix date format.
2710
2711 (datearg): When computing default from ChangeLog, handle ISO format
2712 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
2713 Don't worry about hh:mm:ss since the resolution is now by day.
2714 Use emtpy datearg, not empty rlog_options, to decide whether to pass
2715 "$datearg" option to $rlog.
2716 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
2717 (month_data): Remove `mo'; no longer needed.
2718 (rlog_options): Use -zLT for localltime output, if `rlog' supports it.
2719
2720 Match `revision' line of rlog output more accurately.
2721
2722 Add -c, -v options.
2723
27241996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
2725
2726 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
2727
27281996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2729
2730 * Version 19.33 released.
2731
27321996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2733
2734 * Version 19.32 released.
2735
27361996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
2737
2738 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
2739 computing character positions in source files.
2740
27411996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
2742
2743 * makefile.nt (clean): Use OBJDIR macro.
2744
27451996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2746
2747 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
2748
c60ee5e7 27491996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
362bc2da
DL
2750
2751 * cvtmail.c, sorted-doc.c, yow.c: [__GNU_LIBRARY__]: Use <string.h>.
2752 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
2753 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
2754
27551996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
2756
2757 * ntlib.h: Correct return type of getwd.
2758 * ntlib.c (getwd): Correct return type.
2759
27601996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2761
2762 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
2763 to infile.
2764
27651996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
2766
2767 * makefile.nt: Remove all references to wakeup.
2768
27691996-06-28 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2770
2771 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
2772 explicit, mutable, typename.
2773
27741996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2775
2776 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
2777 streams, one for sending and one for reading the reply.
2778
27791996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2780
2781 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
2782 (wakeup): Target deleted.
2783 (UTILITIES): Delete wakeup and timer.
2784
2785 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
2786
27871996-06-11 Geoff Voelker <voelker@cs.washington.edu>
2788
2789 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
2790 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
2791
27921996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2793
2794 * etags.c (main): Copy cwd when appending slash.
2795
27961996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
2797
2798 * Version 19.31 released.
2799
28001996-05-17 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2801
2802 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
2803 (Pascal_functions): Increase linecharno by the correct number of
2804 chars, inline the GET_NEW_LINE macro and delete its definition.
2805
c60ee5e7 28061996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
2807
2808 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
2809
c60ee5e7 28101996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
2811
2812 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
2813 (movemail.exe, fakemail.exe): Now built under Win32.o
2814
2815 * ntlib.c: Include ntlib.h.
2816 (nt_sleep): Rename to sleep.
2817 (getwd): Return directory.
2818 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
2819 sys_ctime, sys_fopen): New functions.
2820
2821 * ntlib.h: New file.
2822
28231996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
2824
2825 * pop.c (SEND, RECV): Renamed from send, recv.
2826 (pop_open, pop_trash): Make the trash_started code unconditional.
2827 (socket_connection): Delete casts to void.
2828
28291996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
2830
2831 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
2832 copied from lisp.h.
2833
28341996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
2835
2836 * fakemail.c [WINDOWSNT]: Include ntlib.h.
2837
2838 * hexl.c [DOSNT]: Include fcntl.h.
2839 [WINDOWSNT]: Include io.h.
2840 (main) [MSDOS]: Change conditional to DOS_NT.
2841
2842 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
2843 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
2844 [WINDOWSNT]: Include locking.h.
2845 (main): Update usage message. Use IS_DIRECTORY_SEP.
2846 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
2847 (main) [WINDOWSNT]: Invoke locking instead of flock.
2848 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
2849 (main) [MAIL_USE_POP]: Pass password to popmail if used.
2850 Include winsock.h; don't include unix inet headers.
2851 (popmail): Add password argument and pass it to pop_open.
2852 Open output file in binary mode.
2853
2854 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1c478461 2855 Macro SOCKET_ERROR undefined.
362bc2da
DL
2856 Don't declare h_errno.
2857 [!WINDOWSNT]: Define macros recv and send.
2858 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
2859 (pop_open) [WINDOWSNT]: Initialize trash_started.
2860 (have_winsock) [WINDOWSNT]: New variable.
2861 (socket_connection) [WINDOWSNT]: Initialize winsock.
2862 (socket_connection): Use closesocket instead of close.
2863 (getline): Use recv instead of read.
2864 (fullwrite): Use send instead of write.
2865 (pop_trash): Use closesocket instead of close.
2866 (pop_trash) [WINDOWSNT]: Cleanup winsock.
2867 Check if being called recursively by sendline.
2868
2869 * pop.h (struct _popserver): New field trash_started.
2870
2871 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
2872
28731996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2874
2875 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
2876
28771996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2878
2879 * etags.c [WINDOWSNT]: Include io.h.
2880
28811996-04-10 Geoff Voelker <voelker@cs.washington.edu>
2882
2883 * makefile.nt (CTAGSOBJ): Compile with regexp support.
2884
28851996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
2886
2887 * hexl.c [DJGPP v2]: Include io.h.
2888 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
2889
2890 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
2891 DJGPP v2.
2892
28931996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2894
2895 * etags.c (absolute_filename): Use absolutefn.
2896
28971996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
2898
2899 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
2900 letter isn't an alphabetic character.
2901 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
2902 (process_file) [DOS_NT]: Convert all slashes to forward style.
2903 (absolute_filename) [DOS_NT]: Emit error message for relative
2904 paths with a drive letter.
2905 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
2906 DOS/NT drive letters which try to reference the parent of the root.
2907 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
2908
29091996-03-27 Geoff Voelker <voelker@cs.washington.edu>
2910
2911 * makefile.nt: Change uses of del to $(DEL).
2912
29131996-03-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2914
2915 * etags.c (just_read_file): Reset lineno and charno on entry.
2916
29171996-03-15 Anders Lindgren <andersl@csd.uu.se>
2918
2919 * etags.c: Prolog language totaly rewritten.
2920 (Prolog_functions): Rewritten from scratch.
2921 (skip_comment, prolog_getit): Removed.
2922 (prolog_skip_comment): New function, like old skip_comment.
2923 (prolog_pred, prolog_atom, prolog_white): New functions.
2924 (erlang_func, erlang_attributes): Forward declarations added.
2925 (erlang_atom): Check if backslash ends line inside quoted atom.
2926
29271996-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2928
2929 * etags.c (absolutefn): DOS_NT version corrected.
2930 (main): Append "/" to the dir name only if not already there.
2931 (print_help): Explain the absolute/relative file name issue.
1c478461 2932
362bc2da
DL
29331996-03-08 Anders Lindgren <andersl@csd.uu.se>
2934
2935 * etags.c: New Languange Erlang added.
2936 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom,
2937 erlang_white): New functions.
2938 (Erlang_suffixes): New suffix list.
2939 (lang_names): Erlang entry added.
2940 (prolog_getit): Accepts headers spanning several lines.
2941 Always name tags.
2942 (Prolog_functions): Removed incorrect compensation for
2943 newline characters.
2944 (readline_internal): Zero-terminate last line.
2945
29461996-03-20 Mike Long <mike.long@analog.com>
2947
2948 * b2m.c (main): Initialize progname variable before using it.
2949 Quote `username' in From_ header.
2950
29511996-03-18 Geoff Voelker <voelker@cs.washington.edu>
2952
2953 * ntlib.c (getpid): New function.
2954
29551996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2956
2957 * emacsclient.c (main, both definitions):
2958 Print a newline for normal termination.
2959
29601996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
2961
2962 * tcp.c (main): Convert port to network byte order.
2963
29641996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
2965
2966 * pop.c (pop_retrieve, getline): Avoid type clashes.
2967
29681996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
2969
2970 * etags.c (enum sym_type, anonymous enum): Delete final comma.
2971
29721996-01-15 Paul Eggert <eggert@twinsun.com>
2973
2974 * rcs2log (initialize_fullname): Add support for NIS+.
2975 (hostname): Fully qualify the default hostname with the domainname
2976 if the hostname lacks a `.'.
2977
29781996-01-15 Paul Eggert <eggert@twinsun.com>
2979
2980 * rcs2log (initialize_fullname): Add support for NIS+.
2981 (hostname): Fully qualify the default hostname with the domainname
2982 if the hostname lacks a `.'.
2983
29841996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
2985
2986 * etags.c (consider_token): Fix typo in expression.
2987
29881996-01-04 Paul Eggert <eggert@twinsun.com>
2989
2990 * etags.c (substitute): Fix spelling in message.
2991
29921996-01-03 George V. Reilly <georger@microcrafts.com>
2993
2994 * makefile.nt (etags, ctags): Compile with regexp support.
2995 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
2996 subdirectory exists before compiling.
1c478461 2997
362bc2da
DL
29981996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
2999
3000 * emacsserver.c (main): Do chmod based on existing permission.
3001
30021995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3003
3004 * Makefile.in (install): Turn on read/execute permission.
3005
30061995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3007
3008 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
3009 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
3010
30111995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3012
3013 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
3014
30151995-12-07 Francesco Potorti` <pot@cnuce.cnr.it>
3016
3017 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
3018 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
3019 get_scheme, prolog_getit): Name the tag in ctags mode.
3020 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
3021 (Perl_interpreters): Accept "@PERL@" as an interpreter.
3022 (suggest_asking_for_help): New function.
3023 (main, get_language_from_name): Use suggest_asking_for_help.
3024 (main): Let get_language_from_name make language existence check.
3025 (streq, strneq): Check the arguments #if DEBUG.
3026
30271995-12-06 Francesco Potorti` <pot@cnuce.cnr.it>
3028
3029 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
3030 (gperf): Added keywords for Objective C and GNU macros.
3031 (sym_type): Added values to account for Objective C and GNU macros.
3032 (begtk): The '@' character can start a token.
3033 (objdef, methodlen, objtag): New variables for Objective C.
3034 (consider_token, C_entries): Added code for Objective C.
3035 (plain_C_suffixes): Add .m and .lm for Objective C.
3036 (Yacc_suffixes): Add .ym for Objective yacc.
3037 (GROW_LINEBUFFER): New macro.
3038 (consider_token, C_entries, Pascal_functions): Use the new macro.
3039 (consider_token): Take one more argument. Caller changed.
3040 (consider_token): Use the hashing function to spot GNU macros.
3041 (C_entries): Consider // as a comment start even in plain C for
3042 the sake of Objective C parsing.
3043
c60ee5e7 30441995-12-04 Francesco Potorti` <pot@cnuce.cnr.it>
362bc2da
DL
3045
3046 * Makefile.in (ctags): depend on etags only for simplicity;
3047 compile with regexp support enabled.
3048
30491995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3050
3051 * Version 19.30 released.
3052
30531995-11-22 Geoff Voelker <voelker@cs.washington.edu>
3054
3055 * makefile.nt (DOC, clean): Don't use switches to del not
3056 supported by Windows 95.
3057
30581995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3059
3060 * Makefile.in (regex.o): Depend on ../src/config.h.
3061
30621995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3063
3064 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
3065 (LOADLIBES): Use LIB_STANDARD.
3066
30671995-11-07 Kevin Gallo <kgallo@microsoft.com>
3068
3069 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
3070 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
3071 Windows 95 conditional.
3072
30731995-11-06 Francesco Potorti` (pot@cnuce.cnr.it)
3074
3075 * etags.c (get_lang_from_name, get_lang_from_interpreter,
3076 get_lang_from_suffix): New functions.
3077 (get_language): Function deleted.
3078 (lang_entry): Two members added to struct.
3079 (lang_names): Reflect the new layout of lang_entry.
3080 (print_language_names, main, find_entries): Use the new functions.
3081 (find_entries): Look at the first line for #! if no language.
3082 (C_entries): Invalidate the token when funcdef is reset.
3083 (Perl_functions): New function.
3084 (lang_suffixes): .pl and .pm are Perl suffixes.
3085
30861995-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
3087
3088 * etags.c (lowcase): Use the standard tolower function.
3089 (substitute): Remove some wrong and some useless code related with
a64387ee 3090 escape '\' character in regexp replacement string.
362bc2da
DL
3091 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
3092 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
3093 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
3094 .prolog for prolog (.pl removed).
3095 (massage_name, etags_getcwd): Use lowcase instead of tolower.
3096 (C_entries, find_entries): Added comments about memory leakage.
3097 (add_node): Dead code removed.
3098
30991995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3100
3101 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
3102 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
3103
31041995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3105
3106 * test-distrib.c: Add #undef for open, close, read, write.
3107
31081995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3109
3110 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
3111 [! O_RDONLY]: Define it to zero.
3112 (main): Use O_RDONLY instead of explicit zero.
3113
31141995-08-17 Francesco Potorti` (pot@cnuce.cnr.it)
3115
3116 * etags.c (Pascal_functions): Close comment bug corrected.
3117 (add_node): Correctly compare node file names.
3118 (Pascal_functions): Correctly allocate and free memory for tline.
3119 (pfnote): Put the definition of fp in the innermost block.
3120 (NODE): `named' member removed.
3121 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1c478461 3122 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
3123 (pfnote): `named' argument removed, all callers changed.
3124 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
3125 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1c478461 3126 removed from pfnote call, some code cleanup.
362bc2da
DL
3127 (relative_filename): Free temporary space allocated by concat.
3128
31291995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3130
3131 * Makefile.in (getdate.c): New target.
3132 (getdate.o): Just compile getdate.c.
3133
31341995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
3135
3136 * fakemail.c (xrealloc): Change cast to match return type.
3137
31381995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3139
3140 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
3141
31421995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3143
3144 * movemail.c (main): Fix previous change.
3145 Add error check for empty OUTNAME.
3146
31471995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3148
3149 * movemail.c (main): Mention lock file name in error message.
3150
31511995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3152
3153 * profile.c (gettimeofday): New function, defined if necessary.
3154
31551995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3156
3157 * Makefile.in: Renamed from Makefile.in.in.
3158 (distclean): Delete Makefile.c, not Makefile.in.
3159
31601995-07-17 Michael Shields <shields@tembel.org>
3161
3162 * Makefile.in.in (tags): Synonym for `TAGS'.
3163
31641995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3165
3166 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
3167 configure has already set $(INSTALL) to the proper relative path.
3168
31691995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
3170
3171 * etags.c (plain_C_entries): new function.
3172 (lowcase): new macro.
3173 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
3174 (lang_suffixes): new suffix ".pc" for Pro*C files.
3175 (consider_token): don't tag all tokens beginning with DEFUN & Co..
3176 (tail): look for the end of the token when comparing.
3177 (takeprec): since now tail behaves differently, use strneq.
3178
31791995-07-08 Paul Eggert <eggert@twinsun.com>
3180
3181 * rcs2log (datearg): Separate date from time with comma, not space,
3182 to work around CVS 1.5 bug.
3183 (CVSROOT): Don't abort when unset if repository is absolute.
3184
31851995-07-07 Paul Eggert <eggert@twinsun.com>
3186
3187 * rcs-checkin, rcs2log, vcdiff:
3188 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
3189 that interpret `#! /' as a 4-byte magic number.
3190
31911995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
3192
3193 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
3194 mailbox with "po:mailbox", the mailbox is everything after the
3195 "po:" prefix.
3196
31971995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3198
3199 * emacsserver.c: Make all error messages start with `Error: '.
3200 (fatal_error, perror_1): New functions, use throughout.
3201
32021995-06-28 Paul Eggert <eggert@twinsun.com>
3203
3204 * rcs2log (CVSROOT, repository):
3205 Allow remote repositories a la CVS 1.4.
3206
32071995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
3208
3209 * etags.c (plain_C_entries): new function.
3210 (lowcase): new macro.
3211 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
3212 (lang_suffixes): new suffix ".pc" for Pro*C files.
3213 (consider_token): don't tag all tokens beginning with DEFUN & Co..
3214 (tail): look for the end of the token when comparing.
3215 (takeprec): since now tail behaves differently, use strneq.
3216
32171995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3218
3219 * movemail.c (main): Add newline in usage message.
3220
32211995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3222
3223 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
3224
32251995-06-21 Francesco Potorti` (pot@cnuce.cnr.it)
3226
3227 * etags.c (find_entries): Rewind before rereading the input file.
3228
32291995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3230
3231 * Version 19.29 released.
3232
3233 * make-docfile.c (main) [MSDOS]: Do set _fmode.
3234 This undoes part of the previous change.
3235
32361995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3237
3238 * make-docfile.c (main): On MSDOS, don't change stdout
3239 to binary, and insist on an -o option.
3240
32411995-06-13 Geoff Voelker <voelker@cs.washington.edu>
3242
3243 * etags.c (process_file,absolute_filename): Handle filenames
3244 starting with a drive letter.
3245
3246 * makefile.nt (install): Copy wakeup.exe properly.
3247
32481995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
3249
3250 * make-docfile.c [MSDOS]: #undef chdir.
3251
32521995-06-04 Paul Eggert <eggert@twinsun.com>
3253
3254 * rcs2log (output_authors): Allow ':' in time zone,
3255 as per ISO 8601 and RCS 5.6.8 beta.
3256
32571995-05-29 Francesco Potorti` (pot@cnuce.cnr.it)
3258
3259 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
3260 compatibility problems.
3261
32621995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
3263
3264 * etags.c (etags_getcwd): Don't use #elif.
3265 Have just one function body.
3266
32671995-05-25 Geoff Voelker <voelker@cs.washington.edu>
3268
3269 * makefile.nt (LIBS): Use BASE_LIBS.
3270 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
3271 upon LIBS.
3272 (DOC): Use del instead of rm.
3273 (DOC) [WINDOWS95]: Use DOC.
3274 (clean): Handle MSVC aux files.
3275 (config.h,paths.h): Use $(CP) instead of cp.
3276 (config.h): Use $(CONFIG_H)
3277 (make-docfile.obj): Depend upon config.h.
3278 Clean up comments.
3279
32801995-05-23 Francesco Potorti` (pot@cnuce.cnr.it)
3281
3282 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
3283 former gives the true path even in the presence of simlinks.
3284
32851995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3286
3287 * movemail.c (main): Increase lock timeout to five minutes.
3288
32891995-05-06 Geoff Voelker <voelker@cs.washington.edu>
3290
3291 * makefile.nt (obj): Use .c files.
3292
32931995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3294
3295 * make-docfile.c: Include config.h.
3296 (NO_SHORTNAMES): New definition.
3297 (xmalloc): Return long *.
3298
3299 * etags.c (C_entries): Cast result of xrealloc.
3300 (xmalloc, xrealloc): Declare them to return long *.
3301
3302 * b2m.c (xmalloc, xrealloc): Declare them long *.
3303
3304 * movemail.c (xmalloc): Declare it to return long *.
3305
33061995-04-30 Paul Eggert <eggert@twinsun.com>
3307
3308 * rcs2log (datearg): If rlog options are specified explicitly,
3309 omit the implicit '-d>DATE' option.
3310 (repository, rlog): Allow absolute paths to CVS repositories.
3311 Look only at the first line of CVS/Repository.
3312
33131995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
3314
3315 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
3316 realclean.
3317
33181995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3319
3320 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
3321 Alternative (empty) definitions.
3322
33231995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3324
3325 * emacsclient.c (main): Add argv[0] to an error message.
3326
33271995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
3328
3329 * emacsclient.c (main): Improve error handling.
3330 * cvtmail.c (main, skip_to_lf): Improve error handling.
3331 (sysfail): New function.
3332
3333 * b2m.c (main): Check for trailing ", " before trying to delete it.
3334
33351995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3336
3337 * Makefile.in.in (all): Build test-distrib and make-docfile.
3338
3339 * make-docfile.c (scan_c_file): At end, restore file name last char
3340 to its original value.
3341
33421995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3343
3344 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
3345
33461995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3347
3348 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
3349 (alloca.o, regex.o): Use BASE_CFLAGS.
3350
33511995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3352
3353 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
3354
33551995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
3356
3357 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
3358 (SOURCES, distclean): Removed obsolete references to aixcc.
3359
33601995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3361
3362 * aixcc.lex: File deleted--surely obsolete now.
3363
33641995-03-23 Paul Eggert <eggert@twinsun.com>
3365
3366 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
3367 portability to mawk and nawk.
3368
33691995-03-21 Paul Eggert <eggert@twinsun.com>
3370
3371 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
3372 -u "login<tab>fullname<tab>mailaddr".
3373
33741995-03-21 Paul Eggert <eggert@twinsun.com>
3375
3376 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
3377 replaces the (now obsolescent) -n login fullname mailaddr option.
3378 Add -R option for recursive rlog.
3379 (AWK): New environment variable (default `awk') for awk program name.
3380 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
3381 Quote authors and fullnames correctly.
3382 Don't omit path from repository root when logging CVS files.
3383
33841995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3385
3386 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
3387 even if HAVE_SYSVIPC.
3388 * emacsclient.c (main): Use getcwd if not BSD.
3389
33901995-03-13 Francesco Potorti` (pot@cnuce.cnr.it)
3391
3392 * etags.c (process_file): free (filename) after using it.
3393 (readline_internal): Do not access the char before start of line.
3394
33951995-02-22 Francesco Potorti` (pot@cnuce.cnr.it)
3396
3397 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
3398 savetok.valid. Mark token as valid when it is initialised.
3399 (make_tag): Make token only if token is valid and reset validity.
3400 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
3401 (TOKEN): Added a new member: valid.
3402
34031995-02-15 Francesco Potorti` (pot@cnuce.cnr.it)
3404
3405 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
3406 (main): Do not read twice the last filename in the stdin file list.
3407
34081995-02-14 Francesco Potorti` (pot@cnuce.cnr.it)
3409
3410 * etags.c (C_entries): Initialise the new members of TOKEN.
3411 (C_entries): Do not allocate a new space for each token found by
3412 consider_token. Let make_tag do that instead.
3413 (make_tag): Since now TOKEN has memory of where it is taken from,
3414 this new macro substitutes both make_tag_from_new_lb and
3415 make_tag_from_oth_lb. All callers changed.
3416 (TOKEN): Add linepos and buffer members.
3417 (main): Initialise token_str.
3418 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
3419 (token_str): New global variable used by C_entries.
3420
34211995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
3422
3423 * Makefile.in.in (maintainer-clean): Renamed from realclean.
3424
34251995-02-01 Francesco Potorti` (pot@cnuce.cnr.it)
3426
3427 * etags.c (pfnote): Initialise been_warned in the node.
3428 (C_entries): Removed a speed hack for the sake of clarity.
3429
34301995-01-18 Francesco Potorti` (pot@cnuce.cnr.it)
3431
3432 * etags.c (longopts, print_help, main): Use -I as abbreviation
3433 for the --ignore-indentation option.
3434 (main): Do not print an error message for unknown options.
3435
34361995-01-12 Francesco Potorti` (pot@cnuce.cnr.it)
3437
3438 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
3439 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
3440 constantypedefs, update, vgrind_style, no_warnings,
3441 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
3442 (permit_duplicates): Was a var, now a #define.
3443 (filename_lb): Was global, now local to main.
3444 (main): Open the tag file when in cxref mode.
3445 Use a BUFSIZ size buffer for making the shell commands.
3446 Look at the return value from the system routine.
3447 Exit when cannot open the tag file.
3448 (process_file): Open the file and pass the FILE* to find_entries.
3449 (find_entries): Now void, because does not open the file itself.
3450 (pfnote): Recovering from lack of memory does not work. Removed.
3451 Use savenstr and simplify the code.
3452 (free_tree): Only free the name space if node is named.
3453 (structtag): Now a pointer, not a fixed length array of chars.
3454 (consider_token): Don't take a token as argument. Use savenstr
3455 when saving a tag in structtag. Callers changed.
3456 (TOKEN): Structure changed. Now used only in C_entries.
3457 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
3458 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
3459 (pfcnt): Deleted. Users updated.
3460 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
3461 TEX_getit, prolog_getit): Use dinamic allocation for storing
3462 the tag instead of a fixed size buffer.
3463
34641995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3465
3466 * movemail.c (main): Skip past the colon in inname.
3467
34681995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
3469
3470 * etags.c (pfatal): New function.
3471 (main, etags_getcwd): Use pfatal.
3472 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
3473
34741995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
3475
3476 * etags.c (Lang_function): Use void instead to declare the
3477 language functions, because many compilers are buggy.
3478 (etags_getcwd): Fix the previous fix on the #else branch.
3479 (readline_internal): Discard possible \r before \n here.
3480 (C_entries): Do not deal with \r here: undo previous fix.
3481
dff28924 34821995-01-09 Francesco Potorti` (pot@fly)
362bc2da
DL
3483
3484 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
3485 functions and a macro that allow the program to work on input
3486 lines of whatever length. Copied from etags.c.
3487 (fatal): Print a fatal error message and exit.
3488 (main): Use the new functions. Fixed a bug that made a \037 char
3489 appear at the end of the output.
3490
34911995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3492
3493 * etags.c (C_entries): Ignore carriage return at end of line.
3494
34951994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3496
3497 * fakemail.c (xmalloc, xrealloc): Add casts.
3498 (add_field): Handle <...> and "..." syntax.
3499 (setup_files, get_keyword): Clean up parens and line breaks.
3500 (args_size): Likewise.
3501
35021994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
3503
3504 * yow.c: Include program name in error messages.
3505
35061994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3507
3508 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
3509 (xmalloc, fatal, error): New functions.
3510 (progname): New variable.
3511 (main): Set progname.
3512
35131994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3514
3515 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
3516 (main): If socket/mqueue name is in home dir, add in the host name.
3517 Rename .emacs_server to .emacs-server....
3518
35191994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3520
3521 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
3522
35231994-11-22 Francesco Potorti` (pot@cnuce.cnr.it)
3524
3525 * etags.c (print_help): print --regex usage for ctags also.
3526 (main): use -h in addition to -H as abbreviation for --help.
3527
35281994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
3529
3530 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
3531 is compiled if this is defined. The new functions and variables
3532 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
3533 [VMS]: All VMS specific code previously contained in
3534 etags-vmslib.c is now included here, modified for dealing with
3535 language and regex options intermixed with filenames.
3536 (header_file): Global variable deleted.
3537 (Lang_Function): New typedef. All language parser functions
3538 changed to this new type.
3539 (string_numeric_p, substr, prestr): Functions deleted.
3540 (readline_internal): Does the job that readline did previously.
3541 (longopts): --language and --regex options added.
3542 (lang_names, lang_extensions, lang_func, print_language_names):
3543 New structures, variables and functions for choosing languages.
3544 (print_help): Help strings updated. Calls print_language_names.
3545 (argument_type, ARGUMENT): Typedefs for dealing with language and
3546 regex options intermixed with filenames.
3547 (main): Changed the way of dealing with arguments on the command
3548 line to deal with language and regex options intermixed with
3549 filenames.
3550 (get_language, default_C_entries, Cplusplus_entries,
3551 Cstar_entries, Yacc_entries, just_read_file): New functions.
3552 (find_entries): Use the new method for choosing the language.
3553 (Pascal_functions): Allow intermixing of comment styles.
3554 (prolog_getit, skip_comment): Rewritten for speed.
3555 (readline): Rewritten to deal with regexps.
3556
35571994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
3558
3559 * etags.c (<errno.h>): #include added.
3560 (etags_getcwd): Check return value from getcwd.
3561
35621994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3563
3564 * profile.c (TV1, TV2): Use EMACS_TIME as type.
3565 (get_time): Use EMACS_SUB_TIME.
3566
35671994-10-30 voelker <voelker@cs.washington.edu>
3568
3569 * ntlib.c: New file.
3570 * makefile.nt: New file.
3571
3572 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
3573 [WINDOWSNT]: Include the NT headers.
3574 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
3575
3576 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
3577 [WINDOWSNT]: Include some NT headers.
3578
35791994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
3580
3581 * pop.c (getline): When a search of already-read input for CRLF
3582 fails, store the fact that we've searched it and don't search it
3583 again after reading more data.
3584
3585 * pop.c (getline): When determining whether or not it's necessary
3586 to grow the input buffer, take into account the null that's stored
3587 at the end of already-read input in the buffer.
3588
35891994-10-21 Francesco Potorti` (pot@cnuce.cnr.it)
3590
3591 * etags.c (prestr, substr): return a logical type.
3592 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
3593 (consider_token): set funcdef to fignore when a DEFUN is met.
3594 (C_entries): Now we can use Tom Hageman patch for extern "C".
3595
35961994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3597
3598 * movemail.c: PopServer renamed to popserver throughout.
3599
36001994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
3601
3602 * etags.c: Don't declare malloc, since we include config.h.
3603 * fakemail.c: Likewise.
3604
36051994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3606
3607 * movemail.c: Don't declare malloc.
3608
36091994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
3610
3611 * rcs-checkin: Use test -r instead of < to check readability, to
3612 avoid syntax error.
3613
36141994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
3615
3616 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
3617 defined, and if HAVE_CONFIG_H isn't defined, define
3618 MAIL_USE_POP always (so that this file can be included in
3619 other programs besides emacs).
3620
3621 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
3622 HAVE_CONFIG_H isn't defined.
3623
3624 * pop.c (find_crlf, getline): Instead of using strstr, use a
3625 custom function for finding CRLF.
3626 (my_strstr): Function deleted.
3627
36281994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
3629
3630 * pop.c (getline): Fix a segfault because of passing a
3631 non-null-terminated string into strstr(). Fix from
3632 djm@va.pubnix.com (David J. MacKenzie).
3633
3634 * pop.c: Don't include <string.h> and <strings.h>.
3635
3636 * pop.c: Include <des.h> before <krb.h>, rather than after. They
3637 should be interchangeable, and indeed the inclusion is done in
3638 both orders in various files in the Kerberos 4 library sources,
3639 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
3640 requires that <des.h> be included first, and I don't see any harm
3641 in changing the order.
3642
3643 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
3644 STDC_HEADERS, if they're defined. Undef open, read, write and
3645 close after including it.
3646
36471994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3648
3649 * pop.c: Fix mismatch in conditionals.
3650
3651 * make-docfile.c (main): Don't process one input file twice.
3652 Never use exit code > 1.
3653
3654 * pop.c (open, close, read, write): Add #undefs.
3655
3656 * pop.c: Don't declare malloc, realloc, free.
3657 Include ../src/config.h.
3658 Don't include string.h or strings.h.
3659 Include des.h before krb.h.
3660 Do declare my_strstr.
3661 (getline): Really use my_strstr.
3662 Leave one empty place in server->buffer,
3663 and put a null at the end of the data in it.
3664
36651994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3666
3667 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
3668 call kill with pid 0. Handle EINTR when receiving messages.
3669
36701994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
3671
3672 * Makefile.in.in (regex.o): Use full path to find regex.c.
3673
36741994-10-17 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3675
3676 * Makefile.in.in (etags): add dependency on regex.o, link with it.
3677 (REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added.
3678
36791994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
3680
3681 * Makefile.in.in (DONT_INSTALL): Remove make-path.
3682 (${archlibdir}): Use mkinstalldirs instead.
3683
3684 * movemail.c: Make functions that return nothing void, not
3685 implicitly int.
3686 (main): Improve usage message.
3687 (error): Write to stderr, not stdout.
3688
3689 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
3690 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
3691 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
3692 variables and implicitly declared functions.
3693
36941994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3695
3696 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
3697 (distclean): Not here.
3698
3699 * Makefile.in.in (libexecdir): Renamed from libdir.
3700
37011994-10-11 Francesco Potorti` (pot@cnuce.cnr.it)
3702
3703 * etags.c (C_entries): Name the #define's that are macros.
3704
37051994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3706
3707 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
3708 fd_set arg is a pointer, descriptor arg comes first.
3709
37101994-09-29 Francesco Potorti` (pot@cnuce.cnr.it)
3711
3712 * etags.c (C_entries): Recognise typedef of ANSI style functions.
3713 (C_entries): Recognise #define inside a struct.
3714 (C_entries): ANSI tells that preprocessor commands do not have to
3715 start on the first column.
3716 (print_help): Documentation corrected for -d and -D.
3717 (white, endtk): ANSI tells the vertical tab is a separator.
3718
37191994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
3720
3721 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
3722 (pop.o, movemail.o): New targets.
3723 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
3724
3725 * pop.c, pop.h: New files.
3726
3727 * movemail.c: Improve POP code, move most of it into a separate file.
3728 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
3729 (mbx_write): Check for errors and for From line.
3730 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
3731 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
3732 (pop_init): Functions deleted.
3733
37341994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
3735
3736 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
3737 Rename path to dirname.
3738
37391994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3740
3741 * Makefile.in.in (UTILITIES):
3742 Remove test-distrib, make-docfile, make-path.
3743 (DONT_INSTALL): New variable--list those files here.
3744 (clean): Delete the files in DONT_INSTALL.
3745
37461994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3747
3748 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
3749 (main): Use fgets, not gets.
3750
37511994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3752
3753 * timer.c: Don't declare malloc.
3754
37551994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3756
3757 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
3758 defined, use simple 32-bit versions of these macros.
3759 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
3760
c60ee5e7 37611994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
362bc2da
DL
3762
3763 * etags.c (etags_getcwd): Use getcwd if available.
3764
37651994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3766
3767 * Version 19.27 released.
3768
37691994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3770
3771 * Version 19.26 released.
3772
37731994-08-15 Paul Eggert <eggert@twinsun.com>
3774
3775 * rcs2log: Add support for CVS.
3776 Work with `rlog's that output ISO 8601 dates.
3777
37781994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
3779
3780 * rcs2log: Use <> to delimit email address.
3781
37821994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3783
3784 * emacsserver.c [SYSV_IPC] (main): Make a separate process
3785 so we can listen for multiple requests.
3786
37871994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3788
3789 * movemail.c: Include config.h first thing.
3790
37911994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3792
3793 * emacsserver.c (main): Add casts to avoid warnings.
3794
37951994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3796
3797 * Makefile.in.in (${archlibdir}): Compare the proper dir
3798 before installing the scripts.
3799
38001994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3801
3802 * emacsclient.c (main): New local var progname saves argv[0].
3803
38041994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3805
3806 * emacsclient.c (main): Don't actually modify argv[0].
3807 Modify a copy instead.
3808
38091994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3810
3811 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
3812 (tzp): Var deleted.
3813
3814 * Makefile.in.in: Add #undef alloca.
3815
38161994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3817
3818 * timer.c (xmalloc): New function.
3819
38201994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3821
3822 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
3823 (alloca.o): New target.
3824
38251994-07-08 Dave Love (d.love@dl.ac.uk)
3826
3827 * etags.c (takeprec): recognise `character*(*) function'
3828
38291994-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
3830
3831 * etags.c (main): Don't barf on obsolete -t and -T switches.
3832 (main): Print an explicative message when a switch is not known.
3833
38341994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3835
3836 * hexl.c: Don't declare exit or perror.
3837
3838 * emacsserver.c (main): Don't declare geteuid.
3839 Don't declare getenv if convex.
3840
38411994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3842
3843 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
3844
38451994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3846
3847 * etags.c (absolute_filename): Remove infinite loop bug when
3848 accessing files in directories whose name begins with a dot.
3849
38501994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3851
3852 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
3853
38541994-06-01 Morten Welinder (terra@diku.dk)
3855
3856 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
3857 location of data directory.
3858
38591994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3860
3861 * Version 19.25 released.
3862
38631994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3864
3865 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
3866
38671994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3868
3869 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
3870
38711994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3872
3873 * Version 19.24 released.
3874
38751994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3876
3877 * make-docfile.c (write_c_args): Put `default' in upper case.
3878
38791994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3880
3881 * etags.c (etags_getcwd): Cast result of popen.
3882 (popen): Declaration deleted.
3883
38841994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
3885
3886 * etags.c [!MSDOS]: Declare popen.
3887
38881994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3889
3890 * b2m.c (main): Avoid crash if argc is 1.
3891
38921994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3893
3894 * Version 19.23 released.
3895
3896 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
3897
38981994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3899
3900 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
3901
39021994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
3903
3904 * Makefile.in.in: Fix out of date comment.
3905
39061994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3907
3908 * Makefile.in.in: Put in a separator for where to start cpp procssing.
3909 Move all autoconf substitutions above that point.
3910 Above that point, use Make-style comments.
3911 This goes with changes in ../configure.in.
3912
39131994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3914
3915 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
3916 warning message.
3917 (${archlibdir}): Don't do it here. Don't depend on blessmail.
3918
39191994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
3920
3921 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
3922
39231994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3924
3925 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
3926 print advice to run it, if it has anything significant to do.
3927 And only if MOVEMAIL_NEEDS_BLESSING.
3928 (blessmail): Use emacs, not temacs.
3929 (configuration): Renamed from configname.
3930
39311994-04-30 Morten Welinder (terra@diku.dk)
3932
3933 * etags.c (find_entries): Treat `*.cpp' as C++ files.
3934
39351994-04-30 Morten Welinder (terra@diku.dk)
3936
3937 * etags.c [MSDOS]: #include <sys/param.h> for the following.
3938 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
3939 a shell.
3940
39411994-04-29 Morten Welinder (terra@diku.dk)
3942
3943 * hexl.c [MSDOS]: Don't define proto type for exit.
3944
39451994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3946
3947 * b2m.c: Don't include string.h or strings.h.
3948
39491994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
3950
3951 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
3952 symbols, not make variables.
3953
39541994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3955
3956 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
3957 * etags.c (print_version): Print VERSION as a string.
3958
39591994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3960
3961 * fakemail.c (readline): Fix updating of p when buffer grows.
3962
39631994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
3964
3965 * Makefile.in.in (blessmail): New target.
3966 ${archlibdir}: Use blessmail when installing movemail.
3967
39681994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3969
3970 * fakemail.c (readline): When extending the buffer,
3971 calculate end afresh using the new size.
3972
39731994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3974
3975 * etags.c (main, print_help): eliminate the -F option.
3976
39771994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3978
3979 * etags.c (absolute_filename): compare against '\0' instead of NULL.
3980
39811994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3982
3983 * Makefile.in.in: Renamed from Makefile.in.
3984 Makefile.in is now generated from it, and then preprocessed.
3985 Change comments to C syntax.
3986 Include config.h.
3987 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
3988 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
3989
39901994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3991
3992 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
3993
39941994-04-12 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3995
3996 * etags.c (etags_getcwd): Initialize bufsize.
3997
39981994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3999
4000 * profile.c (gettimeofday): If system doesn't have this, define it
4001 to give a fatal error.
4002
40031994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
4004
4005 * movemail.c (main): Use setuid, not seteuid.
4006
40071994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4008
4009 * etags.c: #undef static.
4010
40111994-04-08 Francesco Potorti` (pot@fly.cnuce.cnr.it)
4012
4013 * etags.c (outf, outfiledir): renamed to tagf, tagfiledir.
4014 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs,
4015 Scheme_funcs, prolog_funcs): renamed to Fortran_functions,
4016 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
4017 TeX_functions, Prolog_functions.
4018 (inf): no more a global variable.
4019 (C_entries): take 2nd parameter `inf' instead of using the global one.
4020 (find_entries): added the cp1 var for optimisation.
4021 (find_entries): added more suffixes for assembler files.
4022 (Asm_funcs): Now finds labels even without an ending colon.
4023
40241994-03-30 Francesco Potorti` (pot@fly.cnuce.cnr.it)
4025
4026 * etags.c (main): use etags_getcwd for compatibility.
4027 (etags_getcwd): new function.
4028
40291994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4030
4031 * Makefile.in (etags, ctags): Pass -D for VERSION.
4032
40331994-03-25 Francesco Potorti` (pot@cnuce.cnr.it)
4034
4035 * etags.c (emacs_tags_format, ETAGS): removed. Use CTAGS instead.
4036 (main): don't allow the use of -t and -T in etags mode.
4037 (print_help): don't show options enabled by default.
4038 (print_version): show the emacs version number if VERSION is #defined.
4039 (find_entries): add "ss" as suffix for Chez Scheme.
4040
40411994-03-23 Francesco Potorti` (pot@cnuce.cnr.it)
4042
4043 * etags.c (cwd, outfiledir): vars added.
4044 (relative_filename, absolute_filename, absolute_dirname):
4045 functions added to compute filenames in tags files.
4046 (process_file): filenames in tags file are relative to the
4047 directory where the tags file is (useful with the -o option).
4048 (main): initialise the outfiledir var.
4049 (TYPEDST): added the `tignore' value.
4050 (C_entries): corrected various small bugs.
4051
40521994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4053
4054 * Makefile.in (UTILITIES): `env' deleted.
4055 (env): Target deleted.
4056 * env.c: File deleted.
1c478461 4057
362bc2da
DL
40581994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4059
4060 * Makefile.in (install, ${archlibdir}): Switch back to ..
4061 before running INSTALL_PROGRAM.
4062
40631994-03-14 Francesco Potorti` (pot@cnuce.cnr.it)
4064
4065 * etags.c (TYPEDST): added the `tignore' value.
4066 (C_entries): corrected various bugs, now correctly parses the
4067 `extern "C" {' construction (patch by Tom R.Hageman).
4068
40691994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4070
4071 * b2m.c: Use <...> to include config.h.
4072 Don't include stdlib.h.
4073
177c0ea7 40741994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
362bc2da
DL
4075
4076 * b2m.c (main): Change delimiter from "^L" to "^_^L".
4077 Allow for text following "BABYL OPTIONS:".
4078 Add --help option. Use argv[0] in error messages.
4079
40801994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4081
4082 * emacsclient.c (main) [HAVE_SYSVIPC]:
4083 Make msgp->mtext longer if necessary.
4084 On HPUX, error if it's more than 512 chars.
4085
40861994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
4087
4088 * etags-vmslib.c: Use GPL.
4089 * emacstool.c: Use GPL.
4090 * fakemail.c: Update GPL.
4091
4092 * make-path.c (main): Return 1 on error, not -1.
4093 Update GPL.
4094
4095 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
4096 (xmalloc, xrealloc): Return char *, not int.
4097 (error): Write to stderr, not stdout.
4098 Update GPL.
4099
41001994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
4101
4102 * profile.c (main, get_time): Don't crash on invalid input.
4103
41041994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
4105
4106 * profile.c (get_time): Simplify; avoid calling index.
4107 (main): exit on EOF.
4108
41091994-02-17 Francesco Potorti` (pot@cnuce.cnr.it)
4110
a64387ee 4111 * etags.c (--absolute-pathnames): Option removed.
362bc2da
DL
4112
41131994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4114
4115 * fakemail.c (put_line): Don't break the line if it all fits.
4116
dff28924 41171994-02-14 Francesco Potorti` (pot@fly)
362bc2da
DL
4118
4119 * etags.c (absolute_pathnames, cwd): added global vars.
4120 (longopts, print_help, main, process_file): put absolute filenames
4121 in the tag file if the -A --absolute-pathnames option is used.
4122 (print_help): alfabetically order the options.
4123 (malloc, realloc, strcpy, strncpy, strcmp): remove extern declar.
4124
41251994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4126
4127 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
4128 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
4129
41301994-02-07 Christian Lynbech (lynbech@avignon)
4131
4132 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
4133
41341994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4135
4136 * Makefile.in (UTILITIES): Mention profile.
4137 (profile): New target.
4138
4139 * profile.c: New file.
4140
41411994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
c60ee5e7 4142
88c71720 4143 * make-docfile.c: Make the argument list output look more like the
c60ee5e7 4144 Lisp docstrings do.
88c71720 4145 (write_c_args): Take new arg FUNC. Make output
362bc2da
DL
4146 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
4147 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
4148
41491994-01-14 Francesco Potorti` (pot@cnuce.cnr.it)
4150
4151 * etags.c (stab_entry, stab_create, stab_find, stab_search,
4152 stab_type, add_keyword, C_reate_stab, C_create_stabs): deleted.
4153 Use gperf generated hash table instead of linked list.
4154 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): added.
4155 Mostly code generated by gperf.
4156 (consider_token): removed unused parameter `lp'.
4157 (PF_funcs, getit): allow subroutine and similar declarations
4158 to span multiple lines.
4159 (C_entries): check for newline if inchar to avoid bus errors.
4160 (process_file, find_entries): distinguish among nonexistent
4161 and not regular file.
4162
41631994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4164
4165 * timer.c: Include errno.h; don't include fasync.h.
4166 (schedule): Don't return a value.
4167 (sigcatch): Reestablish the handler first.
4168 (getevent): Always call notify at the end.
4169 (notify): Defer alarms around the whole body of function.
4170
41711994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4172
4173 * timer.c (main): Don't request SIGIO, and don't handle it.
4174 Loop calling getevent.
4175 (sigcatch): Delete code to handle SIGIO.
4176 if defer_alarms is set, don't call notify, just set alarm_deferred.
1c478461 4177 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
4178 Set defer_alarms around realloc and schedule.
4179 If alarm_deferred gets set, call notify.
4180 Likewise if this event is the only pending event.
4181 Make buf and buf_size global variables.
4182 Don't malloc buf if it is already non-zero.
4183 (schedule): Just exit if run out of memory.
4184 Return the number of events.
4185 (signal) [_CX_UX]: Add #undef.
4186
41871994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4188
4189 * timer.c [USG] (SIGIO): Define as SIGPOLL.
4190 (main) [USG]: Do ioctl to enable SIGPOLL.
4191
41921994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4193
4194 * timer.c: Don't declare sys_errlist; declare strerror instead.
4195 (schedule, main): Call strerror instead of using sys_errlist.
4196 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
4197 Call strerror instead of using sys_errlist.
4198 * env.c (main): Call strerror instead of using sys_errlist.
4199 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
4200 (main): Call strerror instead of using sys_errlist.
4201 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
4202 * env.c [! HAVE_STRERROR] (strerror): Likewise.
4203 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
4204 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
4205
42061994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4207
4208 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
4209
4210 * movemail.c (malloc): Don't declare it.
4211 (xmalloc): Cast result of malloc.
4212 (strcpy): Don't declare it.
4213
42141993-11-14 Morten Welinder (terra@diku.dk)
4215
4216 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
4217 (main): Use fclose to close file opened by fopen.
4218
4219 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
4220
4221 * movemail.c [MSDOS]: #undef `access'.
4222
4223 * b2m.c (main) [MSDOS]: Open all files as binary.
4224 * etags.c (main) [MSDOS]: Open all files as binary.
4225
4226 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
4227 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
4228 with.
4229
42301994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4231
4232 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
4233 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
4234 (LINK_CFLAGS): New variable.
4235 (timer): Use LINK_CFLAGS.
4236
42371993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4238
4239 * movemail.c: Include syswait.h.
4240 Fork a subprocess and use it to copy the mail file.
4241
42421993-12-07 Richard Stallman (rms@srarc2)
4243
4244 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
4245
42461993-12-04 Richard Stallman (rms@srarc2)
4247
4248 * movemail.c (main): When making tempname, cast result of xmalloc.
4249 Include room for EXXXXXX in the size.
4250 Don't use result of strcpy.
4251
42521993-12-03 Paul Eggert (eggert@twinsun.com)
4253
4254 * vcdiff: Add --brief option.
4255
42561993-12-02 Richard Stallman (rms@srarc2)
4257
4258 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
4259 for all executables and scripts.
4260
42611993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4262
4263 * Version 19.22 released.
4264
42651993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4266
4267 * Makefile.in (mostlyclean): Make it distinct from clean.
4268
42691993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4270
4271 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
4272
42731993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4274
4275 * Version 19.21 released.
4276
4277 * Makefile.in (install): Don't change mode or group when installing.
4278
4279 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
4280
42811993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4282
4283 * make-docfile.c (read_c_string): For "", concatenate the two strings.
4284
4285 * movemail.c (main): Fix error message text.
4286
42871993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4288
4289 * Version 19.20 released.
4290
177c0ea7 42911993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
362bc2da
DL
4292
4293 * etags.c: (C_entries): Keep track of ()-parenthesis level so that
4294 functions returning a pointer to a function, a la `signal', can be
4295 parsed. This also required new state `fstartlist' to `FUNCST'.
4296 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
4297 (C_entries, CNL): use it to isolate preprocessor directive processing
4298 from the other state engines.
4299 (begtk): add '~', for C++ class destructors.
4300
43011993-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
4302
4303 * etags.c (consider_token): removed unused variable firsttok.
4304 (prolog_getit): call pfnote with the right number of arguments.
4305
43061993-10-19 Paul Eggert (eggert@twinsun.com)
4307
4308 * rcs2log (printlogline): Don't generate lines containing only
4309 white space.
4310
43111993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4312
4313 * Makefile.in (${archlibdir}):
4314 Install ${SCRIPTS} from ${srcdir}, not cwd.
4315
43161993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4317
4318 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
4319 the comment character.
4320
43211993-10-01 Francesco Potorti` (pot@cnuce.cnr.it)
4322
4323 * etags.c (process_file): dead code removed.
4324 (S_ISREG): #define it using S_IFREG if not defined.
4325 (process_file): regular files have nothing to do with symlinks.
4326
43271993-09-28 Brian Fox (bfox@ai.mit.edu)
4328
4329 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
4330 from current directory. Only chmod and chgrp files that we
4331 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
4332 ${bindir}.
4333 (INSTALLFLAGS): Deleted definition, since it is an unused variable
4334 now.
4335
43361993-09-27 Brian Fox (bfox@ai.mit.edu)
4337
4338 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
4339 configure figure out the correct values for these variables.
4340
43411993-09-14 Brian Fox (bfox@ai.mit.edu)
4342
4343 * Makefile.in (archlibdir): Only install execuatables internally
4344 used by emacs; don't install bindir binaries here.
4345
43461993-09-24 Paul Eggert (eggert@twinsun.com)
4347
4348 * rcs2log: Add -h, -n, -r options.
4349 By default, look for *,v files as well as RCS/*,v files.
4350 Use $TMPDIR (default /tmp) instead of /tmp.
4351
dff28924 43521993-09-20 Francesco Potorti` (pot@fly)
362bc2da
DL
4353
4354 * etags.c (C_entries): is_func is initialised here instead of in
4355 consider_token for the sake of the yacc rules section.
4356 (C_entries): Now class, struct, enum, union and typedef produce
4357 named tags.
4358
43591993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
4360
4361 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
4362
43631993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4364
88c71720
KS
4365 * Makefile.in: Support configuring in a different directory when
4366 ${srcdir} has already been configured.
4367 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
4368 -I${srcdir}/../src.
362bc2da
DL
4369 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
4370 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
4371 is already in CPP_FLAGS.
4372 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
4373 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
4374
43751993-08-25 Paul Eggert (eggert@twinsun.com)
4376
4377 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
4378 otherwise, HP awk complains.
4379
4380 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
4381 are common hangouts for SCCS commands.
4382
43831993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4384
4385 * Version 19.19 released.
4386
43871993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4388
4389 * Makefile.in (make-path): Dep on config.h.
4390
43911993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4392
4393 * b2m.c (TRUE, FALSE): Don't define if already defined.
4394
43951993-08-09 Paul Eggert (eggert@twinsun.com)
4396
4397 * rcs2log (awkscript):
4398 Some sites put comma-separated junk after the fullname.
4399 Remove it, but leave "Bill Gates, Jr" alone.
4400 Remove the junk from fullnames like "0000-Admin(0000)".
4401
44021993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4403
4404 * Version 19.18 released.
4405
44061993-08-04 Francesco Potorti` (pot@spiff.gnu.ai.mit.edu)
4407
4408 * etags.c (L_isdef, L_isquote, L_getit): small optimisations.
4409 (L_funcs): the (foo::defmumble stuff now should work.
4410 (consider_token): function returned random value--corrected.
4411 (C_entries): corrected == versus = typo.
4412
44131993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4414
4415 * etags.c (put_entries): For NODE->rewritten, put pattern before
4416 \177 and name after, not vice versa.
4417
44181993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4419
4420 * timer.c (main): Generate a SIGIO as soon as we've initialized.
4421
44221993-07-30 Francesco Potorti` (pot@cnuce.cnr.it)
4423
4424 * etags.c (FINCST): added the fignore status. Means we are
4425 after the parameter list and before the open curly brace.
4426 Allows correct parsing of C++ constructors.
4427 (C_entries, consider_token): make use of fignore.
4428 (consider_token): reset funcdef when next_token_is_func: when in
4429 ctags mode makes DEFVAR and others work better.
4430 (L_isquote): function that recognises the "(quote" string.
4431 (L_getit): ignore quoting via "'" or "(quote". Useful for defalias.
4432
44331993-07-29 Paul Eggert (eggert@twinsun.com)
4434
4435 * rcs-checkin: Don't check whether a file is readable until we have
4436 decided not to ignore it.
4437
44381993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4439
4440 * Makefile.in (etags): Depend on ../src/config.h.
4441
4442 * emacsserver.c: Include types.h before file.h.
4443
44441993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4445
4446 * Makefile.in (install): Use .n, not .new, for temporary filenames.
4447
44481993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4449
4450 * Version 19.17 released.
4451
44521993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4453
4454 * etags.c (print_help): Break up the very long strings containing
4455 the help message into shorter strings, to placate chintzy C
4456 compilers which can't handle strings that long.
4457
4458 * wakeup.c: Use CPP tangle from autoconf manual to #include the
4459 correct combination of <time.h> and <sys/time.h>.
4460
44611993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
4462
4463 * etags.c (alloca): removed all references to it.
4464 (main): now calls xnew instead of alloca for portability.
4465 (../src/config.h): included only if HAVE_CONFIG_H.
4466 (const): void definition removed--config.h takes care of it.
4467
44681993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
4469
4470 * etags.c (consider_token): was `==', now is `='.
4471 (consider_token): DEFUNs now treated like funcs in ctags mode.
4472
4473 * etags.c (LEVEL_OK_FOR_FUNCDEF): removed.
4474 (C_entries): optimized the test that used LEVEL_OK_FOR_FUNCDEF.
4475 (C_entries): removed a piece of useless code.
4476 (C_entries): making typedef tags is delayed until a semicolon
4477 is met. This handles "typedef int X, Y, Z;" correctly.
4478
44791993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4480
4481 * Version 19.16 released.
4482
4483 * b2m.c: #include <sys/types.h>.
4484 (ltoday): Declare this to be time_t.
4485
44861993-06-30 Paul Eggert (eggert@twinsun.com)
4487
4488 * vcdiff: Add -q option.
4489
44901993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4491
4492 * etags.c: #include "config.h" and the alloca CPP tangle before
4493 #including the system headers and getopt.h. AIX requires the
4494 #pragma to come before any actual C code.
4495
44961993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4497
4498 * Makefile.in (ctags): Depend on etags, so that parallel makes
4499 don't write etags.o files on top of each other.
4500
45011993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4502
4503 * version 19.15 released.
4504
45051993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4506
4507 * etags.c (add_node): Move var last_node to file scope.
4508
45091993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4510
4511 * Version 19.14 released.
4512
45131993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4514
4515 Bring mumbleclean targets into conformance with GNU coding standards.
4516 * Makefile.in (distclean): Call clean to do most of the work.
4517 Delete aixcc.c and TAGS.
4518 (realclean): Just call distclean.
1c478461 4519
362bc2da
DL
4520 * Makefile.in: Remember, spaces are not tabs.
4521
45221993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4523
4524 * Makefile.in (CPP_CFLAGS): New variable.
4525 Use it instead of ALL_CFLAGS when compiling a .c file.
4526 (getopt.o, getopt1.o): Add explicit compilation commands.
4527
45281993-06-10 Mark D. Baushke (mdb@cisco.com)
4529
4530 * etags.c: Reinstate old -f option as an alias for -o for
4531 installed base uses.
4532
45331993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4534
4535 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
4536 to bind or accept, cast the pointer, to avoid warnings on systems
4537 which declare prototypes for this.
4538 * emacsclient.c (main): Same.
4539
4540 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
4541
45421993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4543
4544 * Version 19.13 released.
4545
4546 * wakeup.c: Include sys/types.h, too; I think that's where time_t
4547 comes from, not sys/time.h.
4548
45491993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4550
4551 * wakeup.c: Include sys/time.h.
4552
4553 * etags.c: #undef static.
4554
4555 * Version 19.12 released.
4556
4557 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
4558
45591993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4560
4561 * Version 19.11 released.
4562
4563 * timer.c [LINUX]: #undef signal.
4564 * emacsserver.c: #undef signal.
4565
45661993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4567
4568 * wakeup.c (main): Make when a time_t.
4569
45701993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4571
a64387ee
JB
4572 * Makefile.in: (${archlibdir}): Use `(cd foo && pwd)' instead of
4573 `(cd foo ; pwd)' to get the canonical name of a directory; cd
362bc2da
DL
4574 might fail, and have pwd print out the current directory.
4575
4576 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
4577 string-handling functions.
4578
45791993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4580
4581 * Version 19.10 released.
4582
45831993-05-29 Paul Eggert (eggert@twinsun.com)
4584
4585 * rcs2log: When given no file arguments, inspect RCS/.* as well
4586 as RCS/*. Don't report an error if RCS is empty or nonexistent.
4587
45881993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4589
4590 * Makefile.in (timer): Link with $(LOADLIBES).
4591
45921993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4593
4594 * fakemail.c (put_line): Don't output \n\t unless more text follows.
4595
45961993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4597
4598 * etags.c: Replace the CPP tangle for alloca with the one from the
4599 autoconf documentation, since that's working elsewhere.
4600
46011993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4602
4603 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
4604 description files can find their ancestors.
4605
46061993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4607
4608 * Makefile.in (install): Get the scripts from ${srcdir},
4609 unlike the executables.
4610 (ALL_CFLAGS): Add -I../src
4611
46121993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4613
4614 * Version 19.9 released.
4615
46161993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4617
4618 * Makefile.in (install): Do install the programs listed in
4619 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
4620 INSTALLABLE_SCRIPTS, instead of writing the programs out.
4621
4622 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
4623 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
4624
46251993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4626
4627 * etags.c: Include ../src/config.h.
4628
4629 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
4630 in first loop. Delete files from bindir before installing new ones.
4631 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
4632
46331993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4634
4635 * Version 19.8 released.
4636
4637 * make-docfile.c: Doc fix.
4638
46391993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4640
4641 * tcp.c: Fix comment syntax at top of file.
4642 (main): Don't call htons with the port number.
4643
46441993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4645
4646 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
1c478461 4647 appropriate.
362bc2da
DL
4648
4649 * Makefile.in (install): Refer to the variables INSTALLABLES and
4650 INSTALLABLE_SCRIPTS, instead of writing them out.
4651
46521993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4653
4654 * make-path.c (main): Return 0.
4655
46561993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4657
4658 * Version 19.7 released.
4659
46601993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4661
4662 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
4663
46641993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4665
4666 * tcp.c: New file.
4667
46681993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4669
4670 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
4671
46721993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4673
4674 * timer.c (notify): Don't call sighold or sigrelse; they're USG
4675 only. We should really fix this later, but let's just make it
4676 compile for now.
4677
4678 Install patches from David J. Mackenzie to make the srcdir option
4679 work.
4680 * Makefile.in (srcdir, VPATH): Get this value from the top-level
4681 Makefile.
4682 (INSTALLABLES): Split this into two lists - INSTALLABLES and
4683 INSTALLABLE_SCRIPTS.
4684 (INSTALLABLE_SCRIPTS): New list.
4685 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
4686 (${archlibdir}): The scripts to be installed live in the source
4687 tree, not in the object tree.
4688 (test-distrib): Note that the data file lives in the source tree,
4689 not the object tree.
4690 (GETOPTDEPS): Note that getopt.h lives in the source tree.
4691 (all other targets): Change references to source files to use
4692 ${srcdir}, except for config.h, which lives in the object dir.
4693 (timer.o): Note that this depends on ../src/config.h.
4694 * make-docfile.c (main): Add a -d option, to tell it where to find
4695 the source files.
4696 * test-distrib.c (main): Take the name of the distribution file to
4697 test from the command line.
4698
4699 * timer.c: Fix mispellings of get_date function's name.
4700
47011993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
4702
4703 * etags.c (main):
4704 Don't require that there be input files if -i switches were given.
4705
47061993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4707
4708 The GNU coding standards specify that CFLAGS should be left for
4709 users to set.
4710 * Makefile.in (CFLAGS): Put this in the "things configure might
4711 edit" section, and have it default to -g.
4712 (ALL_CFLAGS): New variable, set to all the flags which should be
4713 passed to compilations. Replace all other uses of CFLAGS with
4714 ALL_CFLAGS.
4715 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
4716
4717 * Makefile.in (DEFS): Remove this; it's always just going to be
4718 "-DHAVE_CONFIG_H -Demacs".
4719
47201993-05-03 Paul Eggert (eggert@twinsun.com)
4721
4722 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
4723 /[/]/, so change it to /[\/]/. This should work on all
4724 Posix-compliant awks. It's slightly wrong with traditional awk,
4725 since it matches \ too, but that's a minor problem compared to awk
4726 syntax errors.
4727
47281993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4729
4730 * Makefile.in (ALLOCA): New variable, whose value we should
4731 inherit from the top-level makefile.
4732 (etags, ctags): Include ALLOCA in the list of object files that
4733 these executables depend on and link.
4734
47351993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4736
4737 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
4738
47391993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
4740
4741 * make-docfile.c (write_c_args): Print an argument named "defalt"
4742 as "default".
4743
47441993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4745
4746 * Makefile.in (C_SWITCH_SYSTEM): New variable.
4747 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
4748 compiler.
4749
47501993-03-22 Francesco Potorti` (pot@cnuce.cnr.it)
4751
4752 * etags.c (YACC): flag added to c_ext.
4753 (c_ext): no more a synonim for c_ext&C_PLPL because of YACC.
4754 (find_entries): consistently use streq when reasonable.
4755 (find_entries): a .y file is a yacc file.
4756 (get_C_stab): c_ext becomes c_ext&C_PLPL.
4757 (C_entries): logical cplpl means c_ext&C_PLPL.
4758 (C_entries): logical yacc_rules means we are after the first %%.
4759 (C_entries): added logic for yacc files.
4760
47611993-03-16 Francesco Potorti` (pot@cnuce.cnr.it)
4762
4763 * etags.c (C_entries): ':' case moved to the second switch.
4764 (C_entries): do not examine token if structdef==scolonseen.
4765 (consider_token): structtag set to null string for enum.
4766
47671993-03-12 Francesco Potorti` (pot@cnuce.cnr.it)
4768
4769 * etags.c (GET_COOKIE): and related macros removed.
4770 (logical): is now int, no more a char.
4771 (reg): define deleted.
4772 (isgood, _gd, notgd): deleted.
4773 (gotone): deleted.
4774 (TOKEN): member linestart removed.
4775 (linepos, prev_linepos, lb1): deleted.
4776 (main): call initbuffer on lbs array instead of lb1.
4777 (init): removed the initialisation of the logical _gd array;
4778 (find_entries): a .sa suffix means assembler file.
4779 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
4780 All C state machines rewritten.
4781 (C_entries): complete rewrite.
4782 (condider_token): complete rewrite.
4783 (getline): deleted.
4784
47851993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
4786
4787 * etags.c (C_entries): Added the quotednl logical variable.
4788 Used for parsing of #define's spanning multiple lines.
4789
47901993-02-23 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
4791
4792 * etags.c (C_entries): Save the definedef status even when a
4793 newline is met inside a string.
4794
47951993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
4796
4797 * Makefile.in (EXECUTABLES): added rcs-checkin.
4798
4799 * Makefile.in (unlock, relock): New productions.
4800
48011993-03-16 Paul Eggert (eggert@twinsun.com)
4802
4803 * rcs2log: Some awks don't understand "\r". Code around this.
4804 Unfortunately this requires putting a carriage return in the
4805 source code. Don't assume that rlog will tolerate times like
4806 `10:10:60'; RCS 5.7 won't allow this.
4807
48081993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4809
4810 * timer.c (main): Set the ownership of the stdin file descriptor
4811 to the current process. Print error messages if either of the
4812 fcntl's fails.
4813
4814 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
4815 ../src/config.h), not void.
4816
48171993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4818
4819 * b2m.c (main): Don't exit upon reading a blank line.
4820
48211993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
4822
4823 * etags.c (C_entries): New local variable quotednl. Used for
4824 parsing of #define's spanning multiple lines.
4825
4826 * etags.c (C_entries): Save the definedef status
4827 even when a newline is met inside a string.
4828
48291993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4830
4831 * timer.c (notify): Initialize waitfor properly.
4832
48331993-02-22 Francesco Potorti` (pot@CNUCE.CNR.IT)
4834
4835 * etags.c (C_entries): Don't reset definedef when a newline inside a
4836 comment is met.
4837
48381993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4839
4840 * etags.c (find_entries): If filename ends in .f or .for,
4841 don't try anything but Fortran.
4842
48431993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
4844
4845 * timer.c (notify): Flush stdout after writing message to avoid lossage
4846 on terminals.
4847
4848 (notify): Also, write a newline after the token.
4849
48501992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4851
4852 * Makefile.in (exec_prefix): New variable.
4853 (bindir, libdir): Use it instead of `prefix'.
4854
4855 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
4856
4857 * Makefile.in (libdir): Default to ${prefix}/lib.
4858 (archlibdir): Adjusted to match.
4859
4860 * Makefile.in (distclean): Don't delete backup or autosave files.
4861 (extraclean): Like realclean, but does delete backup and autosave
4862 files.
4863
4864 * Makefile.in (realclean): Ignore errors from rm.
4865
4866 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
4867 that doesn't exist anymore.
4868
48691992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4870
4871 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
4872 described in the top-level Makefile.
4873 (UTILITIES): Add make-path to the list of utility programs.
4874 (../arch-lib): Replaced by the ${archlibdir} target, which places
4875 the executables in their permanent home.
4876 (install, install.sysv, install.xenix): Consolidated into one
4877 target which should work under all circumstances, modulo a few
4878 ignored error messages.
4879
4880 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
4881 a different number of arguments than other DEFVARs, recognize it
4882 specially, and expect the right number of commas.
4883
48841992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4885
4886 * make-path.c: New program, to help with the installation process.
4887 * Makefile.in (make-path): New target.
4888
4889 * make-path.c (touchy_mkdir): Remove debugging output.
4890
48911992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4892
4893 * Makefile.in (getdate.o): Added explicit target for this, so we
4894 can indicate that it depends on ../src/config.h.
4895
48961992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4897
4898 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
4899 instead of CFLAGS.
4900 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
4901
49021992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4903
4904 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
4905 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
4906 that system.
4907
4908 * Makefile.in (arch-lib): Give rm the `-f' option.
4909
49101992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4911
4912 * make-docfile.c (write_c_args): Rewritten to correctly print
4913 &optionals before the first identifier, but after the first paren.
4914 This code used to just wait for commas or spaces; now it notices
4915 identifier boundaries.
4916
49171992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4918
4919 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
4920
49211992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4922
4923 * make-docfile.c (write_c_args): Print the argument lists properly
4924 when the first argument is optional.
4925
49261992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4927
4928 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
4929 Redefine @item. Set catcode of +.
4930
49311992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4932
4933 * emacsclient.c (main): Set IPC_CREAT in msgget call.
4934
49351992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4936
4937 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
4938 (TEX_decode_env): Make `tab' one element longer.
4939
49401992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4941
4942 * etags.c (PF_funcs): Recognize the "entry" keyword.
4943
49441992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4945
4946 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
4947
49481992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4949
4950 * timer.c (events): Rather than having slots marked as in use or
4951 out of use by the `token' field, keep all pending events at the
4952 beginning of the array. When we delete an event in the middle of
4953 the array, we move the last event into its place.
4954 (num_events): New variable.
4955 (schedule): It is now cheaper to find a free event slot;
4956 events[num_events] is the first free slot.
4957 (notify): Scan events[0 .. num_events-1], instead of the whole
4958 array. When an event fires, move the last event in the array into
4959 its spot. Use num_events to determine whether or not there are
4960 any pending events, not wait_for.
4961 (getevent): Deleted unused variable `ep'.
4962 (sigcatch): It's now easier to find all the active events.
4963 (main): Initialize num_events.
4964
4965 * etags.c: Rather than fret about which systems have index and
4966 which systems have strchr, and how to tell the difference between
4967 them, we just write out our own versions. Big deal.
4968 (index, rindex): Extern declarations removed.
4969 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
4970 (etags_index, etags_rindex): New declarations.
4971 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
4972 TEX_getit, substr): Use the etags_*index functions, rather than
4973 the native *index functions.
4974 (rindex, index): Renamed to etags_rindex and tags_rindex, and
4975 made them unconditionally defined, rather than having them depend
4976 on NEED_*INDEX.
4977
4978 * etags.c (savenstr): Add declaration for this at top of file.
4979 (TEX_decode_env): Don't declare it local to this function.
4980
4981 * b2m.c: #include "../src/config.h", so we can test for the USG
4982 macro, and decide whether to include <string.h> or <strings.h>.
4983 * Makefile.in: Note that b2m.c depends on ../src/config.h.
4984
49851992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4986
4987 * timer.c: Reformatted according to the GNU coding standards.
4988 Removed arbitrary limits on the number of events queued and the
4989 length of the tokens used to identify them.
4990 Removed casts to (void).
4991 Removed debugging printfs; they clutter the code, and the need
4992 can be better filled using a real debugger.
4993
49941992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4995
4996 * timer.c: Installed new version from Eric Raymond; this is more
4997 portable, since it doesn't try to use SIGIO.
4998
49991992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5000
5001 * emacsclient.c (main): If we can't find the socket in this
5002 person's home directory, print a message which asks if they've
5003 started the server, instead of just printing the message from
5004 sys_errmsg; Cygnus finds that people are much less confused by
5005 this.
5006
50071992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5008
5009 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
5010 so that index and rindex get defined, why don't we actually
5011 control index and rindex using symbols called "NEED_INDEX" and
5012 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
5013 little more readable than defining something whose name implies
5014 that it's not?
5015
50161992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5017
5018 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
5019 distribution:
5020 Miscellaneous doc fixes.
1c478461 5021 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
5022 (scan_lisp_file): Instead of using long hairy strings of ifs, call
5023 read_lisp_symbol and then see what we got. Call skip_white
5024 instead of writing out a loop to do its job. Correctly extract
5025 docstrings from "defmacro" declarations.
5026
50271992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5028
5029 * movemail.c (strcpy): Declare this to return char *.
5030
50311992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5032
5033 * etags.c (C_entries): When we find a C++ comment, do actually
5034 skip to the end of the line; do a 'break' instead of a 'continue'.
5035
50361992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5037
5038 * etags.c (getit): Add missing parenthesis to expression which
5039 decides if this token is an identifier.
5040
50411992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
5042
5043 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
5044
50451992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5046
5047 * etags.c (put_entries): Always put space between name and line num.
5048
50491992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
5050
5051 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
5052 warning.
5053 (LEVEL_OK_FOR_FUNCDEF): Ditto.
5054
50551992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5056
5057 * make-docfile.c (write_c_args): Pass both arguments to putc.
5058
50591992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
5060
5061 * etags.c (C_entries): Fixed reading of "..." strings.
5062 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
5063 the C library source.
5064
5065 * etags.c (C_entries): When we see a backslash inside a quoted
5066 string, skip to the next character. This allows us to correctly
5067 deal with strings containing quotes.
5068
50691992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5070
5071 * make-docfile.c (write_c_args): Print the C argument names as
5072 they would be written in Elisp; print '_' as '-'.
5073
50741992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5075
5076 * movemail.c [POP]: Get user name via getpwuid.
5077
50781992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5079
5080 * Makefile.in: flags in CC invocations rearranged for no reason.
5081
50821992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5083
5084 * etags.c (print_help): Remember not to imbed raw newlines in
5085 strings - end the lines with `\n\'.
5086
50871992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5088
5089 * timer.c (getevent): Removed declaration of memcpy; since
5090 different systems have different return types, and we're not even
5091 using the return type anyway, it wasn't doing us any good.
5092
50931992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5094
5095 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
5096 type of this function.
5097
50981992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5099
5100 * ChangeLog: Since the old etc contents have been split into etc
5101 and lib-src, the old etc's ChangeLog has been duplicated in the
5102 new etc and lib-src. That means that each contains complete and
5103 coherent information, although each contains extraneous
1c478461 5104 information.
362bc2da
DL
5105
51061992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5107
5108 * lib-src/etags.c: "--no-warning" option renamed to "--no-warn",
5109 to be consistent with other GNU programs, like makeinfo.
5110
5111 * lib-src/Makefile: Renamed to Makefile.in; the configure script
5112 will edit this to produce Makefile.
5113
51141992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5115
5116 * etags.c (print_help, print_version): New functions.
5117 (main): Options added to support them.
5118
5119 * etags.c (longopts): New array of long names for the options.
5120 (main): Recognize them.
5121
51221992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5123
5124 * etags.c (C_entries): Removed comment saying that \" in a string
5125 isn't recognized as magic, because it is correctly handled.
5126
5127 * getopt.c, getopt.h: New files, from GNU C library.
5128 * etags.c: Rewritten to use getopt.
5129 #include "getopt.h".
5130 (file_num): Variable deleted; its role is now played by getopt's
5131 optind.
5132 (main): Argument processing loop rewritten to call getopt to get
5133 next option. Options which take parameters (-o and -i) rewritten
5134 to get parameter from optarg instead of argv[1]. Filename
5135 preprocessing loop and update command changed similarly.
5136 * Makefile (etags, ctags): Depend on and link with getopt.h,
5137 getopt.o, and getopt1.o.
5138 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
5139
5140 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
5141 is non-zero.
5142
5143 (main): In the argument processing loop, the 'goto next_arg'
5144 statements are breaking out of the switch statement in exactly the
5145 same way that a simple 'break' statement would; replace the gotos
5146 with breaks, and remove the label.
5147
51481992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5149
5150 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
5151 (consider_token): Move next_token_is_func to global.
5152
51531992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5154
5155 * Makefile: Conform with GNU coding standards:
5156 (mostlyclean): New target, synonymous with clean.
5157 (TAGS, check): New targets.
5158 (INSTALL, INSTALLFLAGS): New variables.
5159
51601992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5161
5162 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
5163 `config.emacs' to `configure'.
5164
5165 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
5166 * etc/MACHINES: Same.
5167
51681992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5169
5170 * movemail.c (main): Allow tempname to be as long as necessary,
5171 instead of limiting it to 39 characters.
5172
5173 * movemail.c (main): Move declaration of buf from top of function
5174 to local block surrounding the copy loop. This makes it less
5175 likely to be confused with the buf used by the code which checks the
5176 permissions on outname's directory.
5177
51781992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
5179
5180 * SERVICE: Remove my entry.
5181
51821992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
5183
5184 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
5185 hardcoded -g.
5186
5187 * movemail.c (xmalloc): Return char *, not int.
5188 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
5189 that is off by default -- normally don't unlink the mail spool
5190 file, just empty it. Pass creat mode 0600, not 0666.
5191
dff28924 51921992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
5193
5194 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
5195 (all): Instead of here.
5196 (install): Don't use the -s option, since people need symbols to
5197 debug code.
5198
dff28924 51991992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
362bc2da
DL
5200
5201 * etags-vmslib.c (fn_exp): Add type cast.
5202
52031992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5204
5205 * movemail.c: Changes in comments.
5206
dff28924 52071992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
5208
5209 * Makefile: Make the distclean target erase the DOC files from
5210 ../share-lib and the executables from ../arch-lib.
5211
dff28924 52121992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
5213
5214 * emacsclient.c: #include <sys/stat.h>
5215 (main): Do declare statbfr.
5216
dff28924 52171991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
5218
5219 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
5220 for the socket, depending on SERVER_HOME_DIR.
5221 If using /tmp, put host name in the socket name.
5222
5223 * movemail.c (pfatal_and_delete): New function.
5224 (main, popmail): Use it.
5225 (popmail): Close output before deleting messages.
5226 Check for error on close and on fsync.
5227 Use `fatal' where appropriate.
5228 (main): Remove (void).
5229
5230 * aixcc.lex: New file. Not officially part of Emacs.
5231 * Makefile: Rules for that.
5232
dff28924 52331991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
362bc2da
DL
5234
5235 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
5236
5237 * etags.c (main): Properly cast call to alloca that initializes
5238 included_files.
5239
52401991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
5241
5242 * etags.c (files_are_tag_tables): Remove global var.
5243 (process_file): Don't test it. Also remove hack checking for a
5244 file named "TAGS".
5245 (main): -i now takes an arg which is the name of a file to include.
5246 Collect these names and emit include tags for them after processing
5247 all the argument files.
5248
dff28924 52491991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
5250
5251 * wakeup.c: Terminate if parent goes away.
5252
dff28924 52531991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
5254
5255 * etags.c (C_entries): Process token before handling end of line.
5256 When inner loops reach end of line, just back up.
5257 Let the real end of line processing happen in just one place.
a64387ee 5258 (consider_token): Likewise.
362bc2da 5259
dff28924 52601991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
362bc2da
DL
5261
5262 * etags.c (TEX_mode): Skip comments while scanning the text to see
5263 which escape character this file uses.
5264
dff28924 52651991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
5266
5267 * emacsserver.c [USG]: Terminate if msgrcv fails.
5268
dff28924 52691991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5270
5271 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
5272
dff28924 52731991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
5274
5275 * make-docfile: Find the arguments to a C function correctly,
5276 by not ignoring the character that read_c_string returns. Don't
5277 even try to find argument names for functions that take MANY
5278 or UNEVALLED arguments, since they're a figment of the docstring's
5279 imagination.
5280
dff28924 52811991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
5282
5283 * make-docfile: Read the .elc files generated by the new byte
5284 compiler.
5285
dff28924 52861990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5287
5288 * refcard.tex: Use cm fonts, not am, in multi-column mode.
5289
dff28924 52901990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5291
5292 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
5293
dff28924 52941990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5295
5296 * Makefile (install*): No need to install wakeup.
5297
dff28924 52981990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5299
5300 * Makefile (install*): Install emacsclient like etags.
5301
dff28924 53021990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5303
5304 * movemail.c (error): Handle 3 args.
5305 (main): Don't check input access if using pop.
5306
dff28924 53071990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5308
5309 * etags.c (find_entries): Check for numbers after Scheme suffix.
5310
dff28924 53111990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5312
5313 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
5314
dff28924 53151990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5316
5317 * Makefile (nemacstool, xvetool): New targets.
5318
dff28924 53191990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5320
5321 * emacsclient.c: Include errno.h and define related variables.
5322
dff28924 53231990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5324
5325 * emacsclient.c: Change usage message.
5326
dff28924 53271990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
5328
5329 * emacs.1: Add break before -nw option.
5330
dff28924 53311990-08-19 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
5332
5333 * qsort.c: Replace with GNU version.
5334
dff28924 53351990-08-14 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
5336
5337 * wakeup.c: New program replacing loadst.c.
5338
dff28924 53391990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5340
5341 * emacsclient.c [USG]: Pass msgsnd only 4 args.
5342
dff28924 53431990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
362bc2da
DL
5344
5345 * etags.c: Rename `flag' variables for what they do instead of
5346 which option character sets them.
5347
dff28924 53481990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5349
5350 * loadst.c (main): Conditional to get load average on Apollo.
5351
dff28924 53521990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da
DL
5353
5354 * emacsserver.c: Set the permission on the socket to 0600.
5355
dff28924 53561990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5357
5358 * emacsclient.c [BSD]: Print clean message for failing getwd.
5359
dff28924 53601990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
5361
5362 * getdate.y: Use the getdate.y from GNU tar for timer.
5363
dff28924 53641990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
362bc2da
DL
5365
5366 * emacsclient.c (main): Don't put brackets around "filename" in
5367 usage message. It isn't optional.
5368
dff28924 53691990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da 5370
a64387ee 5371 * etags.c (getit): Recognize '$' as beginning identifiers.
362bc2da 5372
dff28924 53731990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
5374
5375 * emacsserver.c: Renamed from server.c.
5376 * Makefile: Reference emacsserver rather than server.
5377 * MACHINES: Doc fix for new emacsserver name.
5378
dff28924 53791990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5380
5381 * emacsclient.c: Print program name in error messages.
5382
dff28924 53831990-01-19 David Lawrence (tale@cocoa-puffs)
362bc2da
DL
5384
5385 * timer.c, getdate.y (new files) and Makefile:
5386 Sub-process support for run-at-time in timer.el.
1c478461 5387 Doesn't yet work correctly for USG.
362bc2da 5388
dff28924 53891990-01-10 Jim Kingdon (kingdon@pogo)
362bc2da
DL
5390
5391 * MACHINES: Add HP 300 running BSD.
5392
dff28924 53931990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5394
5395 * yow.c: Dynamically allocate buffer; skip header before random
5396 choice to avoid bias toward first item.
5397
dff28924 53981989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5399
5400 * etags.c (readline): Separate out init of `pend'.
5401
dff28924 54021989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5403
5404 * etags.c: Undo changes relating to isgoodhdr.
5405
dff28924 54061989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5407
5408 * etags.c (isgoodhdr): New macro.
5409 (_gdh, notgdh): New variable used by that.
5410 (init): Initialize _gdh.
5411 (find_entries): Set header_file.
5412 (consider_token): Use isgoodhdr if in header file.
5413
5414 * etags.c (total_size_of_entries):
5415 Was miscalculating by 1 in rewritten case.
5416
5417 * etags.c (PAS_funcs): One arg to pfnote was missing.
5418
dff28924 54191989-12-05 Joseph Arceneaux (jla@spiff)
362bc2da
DL
5420
5421 * MACHINES: Change for the ULTRIX entry.
5422
dff28924 54231989-11-21 Joseph Arceneaux (jla@spiff)
362bc2da
DL
5424
5425 * etags.c (process_file): If file is not regular, return.
5426
dff28924 54271989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5428
5429 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
5430
dff28924 54311989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5432
5433 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
5434 (main): If HAVE_GETLOADAVG, don't call `nlist'.
5435
dff28924 54361989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5437
5438 * etags.c (consider_token): Allow any number of typespec keywords
5439 after `typedef', before new type name.
5440 (enum sym_type): Add st_C_typespec.
5441 (C_create_stab): Put typespec kwds in table.
5442
dff28924 54431989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
5444
5445 * etags.c (main): Don't depend on name invoked by.
5446 If CTAGS is not defined, assume it is ETAGS.
5447
dff28924 54481989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5449
5450 * etags.c (L_funcs): Allow package name in define construct,
5451 as in (foo::defmumble name-defined ...).
5452
dff28924 54531989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5454
5455 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
5456
5457 * Makefile (yow): Depends on ../src/paths.h.
5458
dff28924 54591989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
5460
5461 * etags.c: Fix compilation by moving Pascal after Fortran.
5462
dff28924 54631989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5464
5465 * movemail.c [USG]: Define F_OK, etc., if not found in header.
5466
dff28924 54671989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5468
5469 * hexl.c: New file, supports hexl-mode.
5470
dff28924 54711989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5472
5473 * movemail.c: New compilation flag MAIL_USE_MMDF.
5474
dff28924 54751989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5476
5477 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
5478 * server.c: Likewise.
5479
5480 * make-docfile.c (scan_c_file): Output argument names at end of string.
5481 (write_c_args): New subroutine.
5482
dff28924 54831989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5484
5485 * movemail.c: Report failure of flock.
5486
dff28924 54871989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5488
5489 * etags.c (find_entries): Allow multi-letter extensions for fortran.
5490
dff28924 54911989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5492
5493 * loadst.c: on bsd4.3, use gettimeofday instead of CPUSTATES.
5494
dff28924 54951989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5496
5497 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
5498
5499 * emacsstool.1: update to document environment variables.
5500
dff28924 55011989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5502
5503 * etags.c (PAS_funcs): New function by Mosur Mohan.
5504
5505 * movemail.c: On sysv, include unistd.h.
5506
dff28924 55071989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5508
5509 * b2m.c: New file.
5510
dff28924 55111989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5512
5513 * etags.c: Prolog support from Sunichirou Sugou
5514
dff28924 55151989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5516
5517 * Makefile (clean): New target.
5518
dff28924 55191989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5520
5521 * fakemail.c (put_line): Break header lines at 79 cols.
5522
dff28924 55231989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5524
5525 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
5526 multiple tags per line.
5527
dff28924 55281989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5529
5530 * movemail.c: Check access before doing real work.
5531 Check that outfile is in a writable directory.
5532 On fatal error, delete the lock file.
5533
dff28924 55341988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
362bc2da
DL
5535
5536 * env.c: Add decl for my-index
5537 * etags.c (file-entries): .oak => scheme
5538
dff28924 55391988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5540
5541 * movemail.c: Use `access' to check input and output files.
5542
dff28924 55431988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5544
5545 * emacsclient.c (main): Ignore all of CWD before first slash.
5546
dff28924 55471988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5548
5549 * etags.c (readline): Double linebuffer->size outside the xrealloc.
5550
dff28924 55511988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5552
5553 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
5554 * server.c: chmod the socket to 0700.
5555
dff28924 55561988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5557
5558 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
5559 (add_field): Delete comments and turn `<', `>' to spaces
5560 in header lines.
5561 (USE_FAKEMAIL): New customization macro says to make fakemail
5562 not be a no-op even on a BSD system.
5563
dff28924 55641988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5565
5566 * etags.c (consider_token): Skip comments just like whitespace.
5567 Notice `struct', etc. and set strtag for those tokens.
5568 Return 1 for the token following `struct' if an open-brace follows it.
5569 (C_entries): Special handling of token following `struct'
5570 needed because we have probably advanced to the following line
5571 to find the `{'.
5572 (main): New option `T' sets tflag and strflag.
5573 Set both of them by default if eflags.
5574
dff28924 55751988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5576
5577 * movemail.c: Do fsync before closing output.
5578
dff28924 55791988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
362bc2da
DL
5580
5581 * movemail.c: Better error message when can't create tempname.
5582 This file needs a great deal of extra error-checking and lucid reporting...
5583
dff28924 55841988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5585
5586 * etags.c: Support assembler code for .s and .a files.
5587 (getit): Allow underscore in a tag.
5588
dff28924 55891988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5590
5591 * movemail.c: Close output and check errors before deleting input.
5592
dff28924 55931988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
5594
5595 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
5596 whether to prefix it. Handle line number args.
5597
dff28924 55981988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
362bc2da
DL
5599
5600 * etags.c (main): default setting of eflag was backwards.
5601
dff28924 56021988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5603
5604 * etags.c: New option -i. -f renamed -o.
5605 `-' as input file means read input file names from stdin.
5606 -i spec'd or input file named TAGS means the input file is another
5607 tag table; output an "include" line for it.
5608
dff28924 56091988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5610
5611 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
5612 New targets install, install.sysv, install.xenix.
5613 This makefile is now responsible for installing executables
5614 and documentation from this directory into system directories.
5615
dff28924 56161988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
362bc2da
DL
5617
5618 * server.c, emacsclient.c (main): Compute socket name from euid.
5619
dff28924 56201988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5621
5622 * emacsclient.c: Args like +DIGITS are passed through unchanged.
5623
dff28924 56241988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5625
5626 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
5627 * emacsclient.c: Likewise.
5628 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
5629
dff28924 56301988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5631
5632 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
5633 (istoken) New string-comparison macro.
5634 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
5635
dff28924 56361988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5637
5638 * etags.c: Changes for VMS.
5639 Always define ETAGS on VMS.
5640 Define macros GOOD and BAD for success and failure exit codes.
5641 (begtk, intk): Allow `$' in identifiers
5642 (main): Don't support -B, -F or -u on VMS.
5643 Alternate loop for scanning filename arguments.
5644 (system): Delete definition of this function.
5645
5646 * etags-vmslib.c (system): Undefine this; VMS now provides it.
5647
dff28924 56481988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5649
5650 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
5651 around include of param.h. (Like fns.c.)
5652
dff28924 56531988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
5654
5655 * loadst.c (load_average): Move load-average code to this new fn.
5656 Add conditionals to compute load ave on UMAX.
5657
dff28924 56581988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
5659
5660 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
5661 with opposite sense.
5662
dff28924 56631988-05-13 Chris Hanson (cph@kleph)
362bc2da
DL
5664
5665 * emacsclient.c: Delete references to unused variable `out'. This
5666 caused a bus error when used under hp-ux.
5667
dff28924 56681988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
5669
5670 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
5671
dff28924 56721988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
362bc2da
DL
5673
5674 * etags.c (find_entries): `.t' or `.sch' means scheme code.
5675
dff28924 56761988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
5677
5678 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
5679
dff28924 56801988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
5681
5682 * movemail.c: #undef close, since config can #define it on V.3.
5683 * emacsclient.c, fakemail.c, loadst.c, server.c: likewise.
5684
dff28924 56851988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
5686
5687 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
5688 invalid escape sequences such as `\{'.
5689
5690 * loadst.c: Add `sequent' conditional for file dk.h.
5691
dff28924 56921988-03-20 Richard M. Stallman (rms@wilson)
362bc2da
DL
5693
5694 * server.c [not BSD and not HAVE_SYSVIPC]: fix error message.
5695
5696 * loadst.c (main) [XENIX]: use /usr/spool/mail, not /usr/mail.
6922b018
KH
5697
5698;; Local Variables:
d19249e7 5699;; coding: iso-2022-7bit
6922b018 5700;; End:
2a34a036 5701
9766d41b
PE
5702 Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
5703 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004
2a34a036
GM
5704 Free Software Foundation, Inc.
5705 Copying and distribution of this file, with or without modification,
5706 are permitted provided the copyright notice and this notice are preserved.
ab5796a9
MB
5707
5708;;; arch-tag: 2d979296-954c-448e-95c1-b46d134513dc