(overlay_arrow_at_row): Add HAVE_WINDOW_SYSTEM conditional.
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
df1b2142
JR
12005-09-11 Jason Rumney <jasonr@gnu.org>
2
3 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
4 message instead.
5 (../src/paths.h): Removed.
6
c638055f
JB
72005-07-27 Juanma Barranquero <lekktu@gmail.com>
8
9 * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
10 generated. Ignore also ctags.c and getopt.h.
11
12 * makefile.w32-in (clean): Delete getopt.h.
13 (getopt.h): New rule.
14
9eff9fe3
PE
152005-07-26 Paul Eggert <eggert@cs.ucla.edu>
16
17 Merge gnulib getopt implementation into Emacs.
18
19 * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
20 (GETOPT_H): New macro, from gnulib.
21 (getopt.h): New rule, from gnulib.
22 (GETOPTOBJS): Now autoconfigured.
23 (GETOPTDEPS): getopt.h is now autoconfigured.
24 (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
25 (getopt.o): Depend on ${srcdir}/gettext.h.
26 (movemail.o): Depend on $(GETOPT_H).
27 * getopt.c, getopt1.c: Sync from gnulib.
28 * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
29 * getopt.h: Removed (now is getopt_.h).
30
ec641d50
KR
312005-07-13 Ken Raeburn <raeburn@gnu.org>
32
33 * pop.c: Don't include des.h (or variants thereof); krb.h will do
34 it.
35 (sendline): Add the \r\n to the line in a temporary buffer, and
36 write it all at once.
37
a0ec7a4a
LK
382005-07-04 Lute Kamstra <lute@gnu.org>
39
40 Update FSF's address in GPL notices.
41
0e0dddda
EZ
422005-06-13 Eli Zaretskii <eliz@gnu.org>
43
44 * makefile.w32-in ($(DOC)): Fix last change.
45
5a77c8e2
EZ
462005-06-12 Eli Zaretskii <eliz@gnu.org>
47
48 * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
49 temacs.exe, and the preloaded *.elc files. This avoids
50 unnecessary dumping and DOC rebuilding.
51
1a8fb426
EZ
522005-06-04 Eli Zaretskii <eliz@gnu.org>
53
54 * ntlib.h (fileno): Don't define if already defined.
55
7235a58f
TTN
562005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
57
58 * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
59 (yow): Use EXIT_FAILURE in case of memory error.
60
5063dbbf
YM
612005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
62
63 * make-docfile.c (DIRECTORY_SEP): New macro.
64 (IS_DIRECTORY_SEP): Use it.
65
5b9562c3
JD
662005-03-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
67
68 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
69
ba025f6d
YM
702005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
71
72 * make-docfile.c: Undo previous change.
73
a9eedf40
AS
742005-02-04 Andreas Schwab <schwab@suse.de>
75
76 * movemail.c (fatal): Accept third parameter and pass down to
77 error.
78 (pfatal_with_name): Pass error string as format parameter instead
79 of as part of format string.
80 (pfatal_and_delete): Likewise.
81 (main): Adjust call to fatal.
82 (xmalloc): Likewise.
83
5a92a9eb
RS
842005-01-29 Richard M. Stallman <rms@gnu.org>
85
86 * movemail.c (popmail): Don't use Errmsg as format string.
87
e6973a25
ST
882004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
89
90 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not
91 defined.
92
1bb3da38
AS
932004-12-15 Andreas Schwab <schwab@suse.de>
94
95 * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
96 preprocessing to compile time constant.
97
d4a38fdd
KS
982004-11-17 Kim F. Storm <storm@cua.dk>
99
100 * etags.c: Undo last change.
101
f2eb41c8
KS
1022004-11-09 Kim F. Storm <storm@cua.dk>
103
104 * make-docfile.c (scan_c_file): Set defvarperbufferflag to
105 silence compiler.
106
107 * hexl.c (main): Init local var c to silence compiler.
108
109 * etags.c (main, consider_token, C_entries): Add misc switch
110 default targets to silence compiler.
111
3cf5c994
JD
1122004-11-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
113
114 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
115 resulting DOC file can be used on Unix/Mac also.
116
e057dc50
FP
1172004-09-13 Francesco Potort\e,Al\e(B <pot@gnu.org>
118
119 * etags.c (main): When relative file names are given as argument,
120 make them relative to the current working dir, rather than
121 relative to the output tags file, if the latter is in /dev.
122
05d9a399
FP
1232004-09-13 Francesco Potort\e,Al\e(B <pot@gnu.org>
124
125 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
126 <stdlib.h> is available.
127 (enum sym_type): New st_C_attribute value for parsing
128 gcc's __attribute__. Deleted st_C_typespec value.
129 (gperf, in_word_set): Use gperf 3, options changed. Added the
130 __attribute__ keyword, removed all the st_C_typespec keywords,
131 changed attribute for Java to (C_JAVA & !C_PLPL).
132 (inattribute): New global bool, part of the C state machine.
133 (cblev): Identifier renamed to bracelev throughout.
134 (consider_token, C_entries): Numerous changes for making the
135 parser more robust and adding support for __attribute__.
136
1372004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
138
139 * etags.c: (Lua_suffixes, Lua_help, lang_names, Lua_functions):
140 Support the Lua scripting language <http://www.lua.org>.
141
fba74375
FP
1422004-09-08 Francesco Potort\e,Al\e(B <pot@gnu.org>
143
144 * etags.c: [LONG_OPTIONS]: make it TRUE (ifdef) or FALSE (ifndef)
145 for ease of use.
146
3751eb00
RS
1472004-07-17 Richard M. Stallman <rms@gnu.org>
148
149 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
150
86d373e6
JB
1512004-06-01 Juanma Barranquero <lektu@terra.es>
152
153 * makefile.w32-in (obj): Add image.c.
154
80e26b66
TTN
1552004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
156
86d373e6
JB
157 * test-distrib.c (main): For failing cases, exit with
158 `EXIT_FAILURE'.
80e26b66 159
e6662c8b
JR
1602004-05-08 Jason Rumney <jasonr@gnu.org>
161
162 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
163 command-lines.
164
65396510
TTN
1652004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
166
167 * cvtmail.c: Throughout, replace 0 destined for `exit' arg
168 with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
169 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
170
171 * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
86d373e6
JB
172 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
173 * test-distrib.c, update-game-score.c, yow.c: Likewise.
65396510 174
c2bcfb19
TTN
1752004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
176
177 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
178
3f0656ff
TTN
1792004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
180
181 * b2m.c (GOOD, BAD): Delete macros. Throughout,
182 replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
183 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
184
185 * etags.c: Likewise.
186
238add5e
JR
1872004-05-03 Jason Rumney <jasonr@gnu.org>
188
189 * makefile.nt: Remove.
190
b09c5608
EZ
1912004-04-26 Eli Zaretskii <eliz@gnu.org>
192
193 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
194 (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
195 instead of a literal '/'.
196
d814862a
JB
1972004-04-23 Juanma Barranquero <lektu@terra.es>
198
199 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
200
442a2160
PE
2012004-04-17 Paul Eggert <eggert@gnu.org>
202
203 * rcs2log (Help): Clarify wording of the usage message.
204 Problem reported by Alan Mackenzie in
205 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
206
d5d66b7e
SM
2072004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
208
209 * make-docfile.c (xmalloc): Fix return type.
210 (put_filename): New fun.
211 (scan_file): Use it.
212
bdfd0369
JB
2132004-03-09 Juanma Barranquero <lektu@terra.es>
214
215 * grep-changelog: Changes to support ChangeLog.10+.
216 (main): Tidy up usage string. Fix "Use of uninitialized value"
217 warning. Set version to 0.2. Parse the directory listing to get
218 any ChangeLog.n file, not just 1..9.
219 (header_match_p, entry_match_p, print_log, parse_changelog):
220 Remove Perl prototypes (their purpose is to help the parser, which
221 isn't needed here, not declare arguments).
222 (parse_changelog): Make --reverse faster on big batches by not
223 modifying the entries list.
224
a64387ee
JB
2252004-03-01 Juanma Barranquero <lektu@terra.es>
226
227 * makefile.w32-in (obj): Add fringe.c.
228
9766d41b
PE
2292004-02-14 Paul Eggert <eggert@twinsun.com>
230
231 * rcs2log: Work correctly if CVSROOT specifies :fork: or
232 :local: methods, or omits the colon between the hostname
233 and the path. Allow :/ in repository path, since CVS does.
234 Fix typo: "pository" should be set from $CVSROOT, not $repository.
235 This fixes a bug reported by Wolfgang Scherer in
236 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
237 along with some related bugs I discovered by inspecting how
238 CVS itself parses $CVSROOT.
239
a64387ee 2402004-02-04 J\e,bi\e(Br\e,bt\e(Bme Marant <jmarant@nerim.net> (tiny change)
98c6e531
SM
241
242 * emacsclient.c (decode_options): Fix handling of alternate editor.
243
0734b0d0
SM
2442004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
245
246 * emacsclient.c (main): Don't use the hostname in the socket name.
247 Look for relative socket names in the /tmp dir rather than in cwd.
248
2a6fc2d9
RS
2492004-01-24 Richard M. Stallman <rms@gnu.org>
250
251 * emacsclient.c (main): Restore errno from saved_errno,
252 so the error message comes from socket_status.
253
0734b0d0
SM
2542004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
255
256 * emacsclient.c (main): Stop if socket name too long.
257 Only try su-fallback if the socket name was not explicit.
258 Check socket name length in su-fallback case as well.
259
152b6e83
AS
2602004-01-08 Andreas Schwab <schwab@suse.de>
261
262 * emacsclient.c (main): Save errno from socket_status.
263
e8228824
AS
2642004-01-04 Andreas Schwab <schwab@suse.de>
265
266 * emacsclient.c (main): Fix socket name when using another user.
267
c9140662
PE
2682003-12-27 Paul Eggert <eggert@twinsun.com>
269
270 * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
271 a tag, and if the user has not specified an rlog option.
272 Adapted from a suggestion by Martin Stjernholm in
273 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
274 (Copyright): Update to 2003.
275
8babaa59
TTN
2762003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
277
278 * make-docfile.c (main): For return code, no longer special-case VMS.
279 Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
280
14ef7288
EZ
2812003-09-28 Andreas B\e,A|\e(Bsching <crunchy@tzi.de> (tiny change)
282
283 * emacsclient.c (quote_file_name): Print the result instead of
284 returning it. Fix the return type accordingly.
1ae7cf5e
RS
285 (main): With --eval, if no file name, read from stdin.
286 Quote file names.
14ef7288 287
f387bdea
RS
2882003-09-10 Richard M. Stallman <rms@gnu.org>
289
290 * emacsclient.c (main): Use socket_name.
291
14ef7288 2922003-09-10 Andreas B\e,A|\e(Bsching <crunchy@tzi.de> (tiny change)
f387bdea
RS
293
294 * emacsclient.c (socket_name): New variable.
295 (longopts, decode_options, print_help_and_exit):
296 Handle --socket-name argument.
297
0b7e7337
FP
2982003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
299
783bcffa 300 * etags.c (consider_token): Check C++ `operator' only when the
0b7e7337
FP
301 token len is long enough.
302
ac06b30b
DL
3032003-08-20 Dave Love <fx@gnu.org>
304
305 * Makefile.in: Remove obsolete references to alloca.
306
32b0a3c6
JB
3072003-07-29 Ken Brush <ken@wirex.com>
308
309 * emacsclient.c (main)
310 * etags.c (suggest_asking_for_help)
311 * movemail.c (main): Fix having macros in a printf statement.
312
3867c42d
JB
3132003-05-31 Juanma Barranquero <lektu@terra.es>
314
315 * makefile.w32-in (lisp): Fix references to byte-run.el,
316 float-sup.el and map-ynp.el, which are now in emacs-lisp.
317
7933722a
DL
3182003-05-22 Dave Love <fx@gnu.org>
319
320 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
321 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
322
463f55ee
DL
3232003-05-20 Dave Love <fx@gnu.org>
324
325 * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
326
327 * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
328
1b7a835b
JB
3292003-04-27 Oliver Scholz <alkibiades@gmx.de>
330
331 * update-game-score.c (read_scores): Fix corruption of scores on
332 read.
333
eec54bd7
SM
3342003-04-12 Stefan Monnier <monnier@cs.yale.edu>
335
336 * emacsclient.c (main): Use new safe location for socket.
337
ff4bd681
JB
3382003-03-12 Tom Tromey <tromey@redhat.com>
339
eec54bd7
SM
340 * emacsclient.c (print_help_and_exit): Print to stdout.
341 Exit successfully. Added some blank lines for readability.
ff4bd681
JB
342 (decode_options): Don't call print_help_and_exit in default case.
343 Print version information to stdout.
344 (main): Don't call print_help_and_exit.
345
dd132e44
RS
3462003-02-15 Richard M. Stallman <rms@gnu.org>
347
348 * cvtmail.c: Cast result of malloc and realloc.
349 Don't include stdlib.h, becuase config.h does.
350 (malloc, realloc): Declarations deleted.
ff4bd681 351
dd132e44
RS
352 * yow.c (yow): Cast result of malloc and realloc.
353 (malloc, realloc): Declarations deleted.
354
71ffc53a
JB
3552003-02-11 Juanma Barranquero <lektu@terra.es>
356
357 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
358
0dfd93c0
AS
3592003-02-08 Andreas Schwab <schwab@suse.de>
360
361 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
362 instead of the substitution.
363
37d1e680
RS
3642003-02-04 Richard M. Stallman <rms@gnu.org>
365
366 * update-game-score.c (push_score, read_scores): Cast values
367 of malloc and realloc.
368 (main, lock_file): Avoid assignment inside if.
369
c60ee5e7
JB
3702003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
371
372 * Makefile.in: Use @EXEEXT@ for Cygwin.
373
b24e2dc7
DL
3742003-01-21 Dave Love <fx@gnu.org>
375
376 * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
377 column-0 `('.
378
379 * yow.c: Don't include string.h.
380
675d000f
RS
3812003-01-20 Richard M. Stallman <rms@gnu.org>
382
383 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
384 New targets.
385
207aa3ff
KS
3862003-01-06 Kim F. Storm <storm@cua.dk>
387
388 * pop.c (__P): Renamed from _P to avoid problems on Cygwin.
389 All uses changed.
390
cf6d30d7
AI
3912002-12-18 Andrew Innes <andrewi@gnu.org>
392
393 * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
394 because GNU make doesn't append when using >> redirection.
395
649fc2c5
PJ
3962002-12-12 Jonathan Kamens <jik@kamens.brookline.ma.us>
397
398 * b2m.pl: Make sure every message ends with a blank line, because
399 some mbox parsers require a blank line before "From " lines.
400
85cce843
RS
4012002-12-08 Richard M. Stallman <rms@gnu.org>
402
403 * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
404 (_): Test only HAVE_LIBINTL_H to decide what to do.
405
2ccc4d34
RS
4062002-12-05 Richard M. Stallman <rms@gnu.org>
407
408 * getopt.c: Comment out include of libintl.h or gettext.h.
409
c5992177
RS
4102002-12-04 Richard M. Stallman <rms@gnu.org>
411
412 * Update getopt from gnulib version; changes described below.
413
414 * getopt1.c: Conditionally find getopt.h.
415 [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
416
417 * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
418 (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
c60ee5e7 419 (wchar.h): Include, maybe.
c5992177
RS
420 (attribute_hidden): Define if not defind.
421 (__getopt_initialized): Use attribute_hidden.
422 (__libc_argc, __libc_argv): Renamed from original_argc, etc.
423 (__getopt_nonoption_flags, nonoption_flags_max_len, nonoption_flags_len):
424 Conditional on USE_NONOPTION_FLAGS.
425 (SWAP_FLAGS): New definitions.
426 (exchange): Test USE_NONOPTION_FLAGS.
427 (_getopt_initialize): Test USE_NONOPTION_FLAGS.
428 (_getopt_internal): Error if argc < 1. New local var print_errors.
429 Improve test for ambiguous long option.
430 Add LIBIO support for error message output.
431 (NONOPTION_P): Test USE_NONOPTION_FLAGS.
432
433 * getopt.h: Maybe include ctype.h.
434 Treat __cplusplus like __STDC__.
435 (decls): Use __ in arg names.
436
4b5e69bd
SE
4372002-12-02 Stephen Eglen <stephen@gnu.org>
438
439 * emacsclient.c (main): Tell user how to start server within Emacs
440 if socket could not be found.
441
19fa03f3
RS
4422002-12-02 Richard M. Stallman <rms@gnu.org>
443
444 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
445
7be215b4
JB
4462002-11-19 Ben Key <bkey1@tampabay.rr.com>
447
29f538e6
BK
448 * makefile.w32-in: Fixed a bug that caused the documentation for
449 the built in function play-sound-internal not to be included in
450 /etc/DOC.
7be215b4 451
1998560a
DL
4522002-11-18 Dave Love <fx@gnu.org>
453
454 * update-game-score.c: Include unistd.h, string.h, stdlib.h,
455 fcntl.h, stdarg.h conditionally.
456 (_GNU_SOURCE, __attribute__): Don't define.
457 (optarg, optind, opterr): Declare.
458 (lose, lose_syserr): Use NO_RETURN.
459 (get_user_id): Use P_.
460
8b96caf3
RS
4612002-11-17 Richard M. Stallman <rms@gnu.org>
462
463 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
464
59daa29a
DL
4652002-11-14 Dave Love <fx@gnu.org>
466
467 * movemail.c (pop_retr): Declare comment.
468
469 * make-docfile.c (read_c_string_or_comment): Declare msgno.
9a007cb7
DL
470
471 * Makefile.in (YACC): Deleted.
472
f1b443bf
AS
4732002-10-19 Andreas Schwab <schwab@suse.de>
474
475 * Makefile.in (${archlibdir}): Always create $(gamedir).
476 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
477
52402e4f
JB
4782002-10-04 Juanma Barranquero <lektu@terra.es>
479
480 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
481
15dab115
MR
4822002-09-30 Markus Rost <rost@math.ohio-state.edu>
483
484 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
485 completely.
486
30be2360
SM
4872002-09-27 Stefan Monnier <monnier@cs.yale.edu>
488
489 * emacsclient.c: Remove SYSV support.
490 (eval, display): New vars.
491 (longopts): Add --eval and --display.
492 (decode_options): Add -e and -d processing.
493 (print_help_and_exit): Update the usage string.
494 (main): Add support for --eval and --display.
3ecdcd59 495 (main): Always use /tmp and non-qualified hostname.
30be2360 496
4208da83
SM
4972002-09-25 Stefan Monnier <monnier@cs.yale.edu>
498
499 * emacsserver.c: Remove.
500
3cf8c6aa
SM
5012002-09-17 Stefan Monnier <monnier@cs.yale.edu>
502
503 * emacsclient.c (quote_file_name): Quote \n.
504 (main): Print a final \n when needed.
505
4c6dce51
FP
5062002-09-03 Francesco Potorti` <pot@gnu.org>
507
508 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
509 string that cannot be freed.
510
ba88f8eb
FP
5112002-08-30 Francesco Potorti` <pot@gnu.org>
512
513 * etags.c (consider_token, C_entries): Switch to C++ parsing when
514 auto-detection is enabled and the `::' qualifier is met.
515 (consider_token, C_entries): Several bugs corrected that tagged
516 some declarations even though --declarations was not used.
517 (plainc): New macro.
518 (C_entries): Use it.
519 (C_entries): Several cosmetic changes.
520 (C_entries): Invalidate the token is some cases.
521
09cd1a74
FP
5222002-08-29 Francesco Potorti` <pot@gnu.org>
523
eec54bd7 524 * etags.c (C_entries): Correct a problem with const C++ funcs.
09cd1a74
FP
525 (ignoreindent): Renamed from noindentypedefs.
526 (cjava, cplpl): They are now macros instead of local vars.
527
5282002-08-28 Francesco Potorti` <pot@gnu.org>
529
530 * etags.c (HTML_labels): Tag ID= also.
531
87046df8
FP
5322002-08-27 Francesco Potorti` <pot@gnu.org>
533
534 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
535
8ee14629
FP
536 * etags.c: (HTML_labels): New language HTML.
537 (etags_strcasecmp): Like BSD's, for compatibility.
538 (strcaseeq): Make it into a macro.
539
540 * etags.c (make_tag): Never generate null length tag names.
87046df8
FP
541 (linebuffer_init): Renamed from initbuffer. All callers changed.
542 (pattern): Structure renamed to `regexp', member regex renamed to
543 pattern.
544 (node_st): Member pat renamed to regex.
eec54bd7
SM
545 (pattern); New member force_explicit_name, for future use.
546 Now always set to true, cannot be reset.
87046df8
FP
547 (add_regex, regex_tag_multiline, readline): Use it.
548 (main): Free some global structures.
8ee14629 549 (fdesc): New member `written'.
87046df8
FP
550 (readline, process_file): Initialise it.
551 (put_entries): Set it.
552 (main): Use it to create entries for files without tags.
553 (total_size_of_entries): Do not count invalid tags.
87046df8 554
02ce3e80
SM
5552002-08-19 Stefan Monnier <monnier@cs.yale.edu>
556
557 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
558 for the function name in the usage info.
559
5fba5c21
CW
5602002-07-31 Colin Walters <walters@gnu.org>
561
562 * update-game-score.c (P_): New macro. Use it for all prototypes.
563 (lose): Don't use varargs.
564 (lose_syserr): New function.
565
566 * update-game-score.c: Change all functions to K&R style.
567
712eaee0
AS
5682002-07-30 Andreas Schwab <schwab@suse.de>
569
570 * Makefile.in (localstatedir): New variable.
571
c89ed6ef
PJ
5722002-07-29 Jonathan Kamens <jik@kamens.brookline.ma.us>
573
574 * b2m.pl: Fix regexp for finding return address fields.
575
1e042160
SM
5762002-07-15 Stefan Monnier <monnier@cs.yale.edu>
577
578 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
579
c60ee5e7 5802002-07-05 Jonathan Kamens <jik@kamens.brookline.ma.us>
e9b60209 581
02ce3e80 582 * b2m.pl: Obey the rmail file and use the unpruned header properly.
e9b60209 583
9ee028d2
PJ
5842002-06-26 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
585
586 * b2m.pl: New file.
587
e1af8d40
FP
5882002-06-21 Francesco Potorti` <pot@gnu.org>
589
590 * etags.c: (F_getit, Fortran_functions, Ada_getit, Asm_labels)
591 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
592 (PHP_functions, PHP_functions, Cobol_paragraphs)
593 (Makefile_targets, Postscript_functions, Texinfo_nodes)
594 (prolog_pr, erlang_func, erlang_attribute)
595 (Perl_functions, Perl_functions, Pascal_functions)
596 (TeX_commands, get_tag): Use make_tag instead of pfnote.
597 (get_tag): Prototype changed, all callers changed.
598
ceaeb365
FP
5992002-06-20 Francesco Potorti` <pot@gnu.org>
600
d76132d0
FP
601 * etags.c: Implement implicit tag names, that is, unnamed tags
602 whose name is automatically deduced by etags.el. The advantage is
603 that there is no explicit tag name in most tags, so the size of
604 the tags file is reduced, yet find-tag is able to do a match as
eec54bd7 605 accurate as with named tags. See the comment in make_tag for details.
ceaeb365
FP
606 (make_tag): New function (was the disabled function new_pfnote).
607 (make_C_tag): Use it.
608
f175bfff
FP
6092002-06-19 Francesco Potorti` <pot@gnu.org>
610
611 * etags.c (add_regex): Invalid regexp modifiers are ignored.
612 (Makefile_targets): Tag variables unless --no-globals.
613 (LOOP_ON_INPUT_LINES): Serious bug corrected.
614
82ef78b3
FP
6152002-06-13 Francesco Potorti` <pot@gnu.org>
616
617 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
618 (invalidate_nodes): Bug corrected.
619 (print_help): Better help for regexps.
620
7a8940da
JB
6212002-06-13 Juanma Barranquero <lektu@terra.es>
622
623 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
624 font-core.elc.
625
6861f0e3
FP
6262002-06-12 Francesco Potorti` <pot@gnu.org>
627
628 * etags.c: New multi-line regexp and new regexp syntax.
629 (arg_type): at_icregexp label removed (obsolete).
630 (pattern): New member multi_line for multi-line regexps.
631 (filebuf): A global buffer containing the whole file as a string
632 for multi-line regexp matching.
633 (need_filebuf): Global flag raised if multi-line regexps used.
634 (print_help): Document new regexp modifiers, remove references to
635 obsolete option --ignore-case-regexp.
636 (main): Do not set regexp syntax and translation table here.
637 (main): Treat -c option as a backward compatibility hack.
638 (main, find_entries): Init and free filebuf.
639 (find_entries): Call regex_tag_multiline after the regular parser.
640 (scan_separators): Check for untermintaed regexp and return NULL.
641 (analyse_regex, add_regex): Remove the ignore_case argument, which
642 is now a modifier to the regexp. All callers changed.
643 (add_regex): Manage the regexp modifiers.
644 (regex_tag_multiline): New function. Reads from filebuf.
645 (readline_internal): If necessary, copy the whole file into filebuf.
646 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
647
6482002-06-11 Francesco Potorti` <pot@gnu.org>
649
650 * etags.c (add_regex): Better check for null regexps.
651 (readline): Check for regex matching null string.
652 (find_entries): Reorganisation.
653
f0da41a6
FP
6542002-06-07 Francesco Potorti` <pot@gnu.org>
655
656 * etags.c (scan_separators): Support all character escape
657 sequences supported by Gcc.
02ce3e80 658 (find_entries): Rewind unconditionally.
f0da41a6
FP
659 (find_entries): Do not call language functions directly, now calls
660 itself.
661 (find_entries): Do general initialisations here.
662 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
663 (Ada_getit, Pascal_functions, Pascal_functions)
664 (prolog_skip_comment): Do not do them here.
665 (readline_internal): Increment lineno here.
666 (readline): Conditionally undo readline_internal increment.
667 (readline): Do not return a value.
668
5526f1f6
FP
6692002-06-06 Francesco Potorti` <pot@gnu.org>
670
88c71720 671 * etags.c: New option --parse-stdin=FILE.
97b90b0a
FP
672 (enum arg_type): New label at_stdin.
673 (STDIN): New constant.
674 (parsing_stdin): New flag.
675 (longopts): New option --parse-stdin=NAME.
676 (print_help): Document it.
677 (main): Handle it.
678 (process_file): Split into process_file and process_file_name.
679 (process_file_name): New function.
680
88c71720 681 * etags.c: Improvements and bug squashing in TeX handling.
97b90b0a 682 (TeX_commands): Skip comments.
5526f1f6
FP
683 (TEX_defenv): Now contains more contructs.
684 (TEX_cmt): Make it a static char and move it before TeX_commands.
685 (TeX_commands): Shorten the tag to the brace after the name.
686 (TeX_commands): Names now include the initial backslash.
687 (TeX_commands): Names do not include numeric args #n.
688 (TeX_commands): Correct line char number in tags.
689 (TEX_tabent, TEX_token): Deleted.
690 (TeX_commands, TEX_decode_env): Streamlined.
691
50496bd9
FP
6922002-06-05 Francesco Potorti` <pot@gnu.org>
693
694 * etags.c (main): Avoid a buffer overrun with sprintf.
695
a71867c5
RS
6962002-05-30 Richard M. Stallman <rms@gnu.org>
697
698 * Makefile.in (LIBS_MAIL): Renamed from LIB_MAIL.
699 (LIBS_MOVE): Renamed from MOVE_LIBS.
700
b7e67db6
PE
7012002-05-26 Paul Eggert <eggert@twinsun.com>
702
703 Reinstate the following change from 2002-03-22, which was
704 inadvertently lost on 2002-04-13.
705
706 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
707 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
708 the latter usage.
709
5f226e2c
EZ
7102002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
711
712 * pop.c (socket_connection): Move the code to resolve the POP
713 host right before trying to connect with it.
714
5167cfda
CW
7152002-04-28 Colin Walters <walters@verbum.org>
716
717 * Makefile.in (${archlibdir}): Don't conditionalize on
718 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
719 or not we have access to the specified game user.
50496bd9 720
5167cfda
CW
721 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
722 (main): New argument -d, for specifying directory.
723 (usage): Document.
02ce3e80 724 (get_user_id): Compute.
5167cfda
CW
725 (get_home_dir): Deleted.
726 (get_prefix): New function, taken from main.
727 (main): Check whether or not we are running setuid. Move prefix
728 computation to get_prefix. Don't call getpwent; we don't need to
729 any more. Instead, move it to get_user_id().
730
beedfcf1
PJ
7312002-04-24 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
732
733 * ebrowse.c (skip_initializer): Return void.
734
973c3c87
CW
7352002-04-23 Colin Walters <walters@verbum.org>
736
737 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
738 space.
739
8378bcd3
FP
7402002-04-22 Francesco Potorti` <pot@gnu.org>
741
742 * etags.c: (last_node): Make it a global variable.
743 (process_file): Print the tags from the nodes as soon as
744 possible, and delete the nodes. This brings down the memory
745 occupancy as etags to almost the same level as when the #line
746 directives were not parsed.
747 (free_fdesc): New function.
748 (find_entries): Use it.
749 (invalidate_nodes): In etags mode, do not just mark the nodes as
750 invalid, do delete them.
751
c901ceff
GM
7522002-04-21 Gerd Moellmann <gerd@gnu.org>
753
754 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
755
c42d6dbd
EZ
7562002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
757
758 * update-game-score.c: Move config.h before the other headers, to
759 avoid compiler warnings.
760
090416ca
FP
7612002-04-16 Francesco Potorti` <pot@gnu.org>
762
763 * etags.c (find_entries): Bug fix in list management.
764
5dab24c1
FP
7652002-04-15 Francesco Potorti` <pot@gnu.org>
766
767 * etags.c (get_language_from_filename): Add one argument.
768 (strcaseeq): New function.
769 (get_language_from_filename): Use it to do a case insenstitive
770 comparison if called with appropriate args.
771 (find_entries): Try with case insensitive match.
772 (process_file): Bug fixed.
773
c150db23
FP
7742002-04-13 Francesco Potorti` <pot@gnu.org>
775
776 * etags.c (find_entries): Delete tags previously obtained from
777 file xxx.c's #line directives when parsing file xxx.y. This is
778 generally done for automatically generated files containing
779 #line directives. This handles the case when xxx.y is tagged
780 before xxx.c, and the entries of xxx.c pointing to xxx.y should
781 be discarded.
eec54bd7 782 (language): Add the metasource member. Initializers changed.
c150db23
FP
783 (invalidate_nodes): New function.
784 (readline): Discard lines after having found a #line
02ce3e80 785 directive pointing to an already tagged file. This handles the
c150db23
FP
786 case when xxx.y is tagged before xxx.c, and the entries of
787 xxx.c pointing to xxx.y should be discarded.
788 (fdesc): New structure for keeping track of input files.
789 (fdesc): Remove `file' member (a string) and use instead a pointer
790 to a file description structure.
02ce3e80
SM
791 (curfile, curfiledir, curtagfname, curlang, nocharno)
792 (forced_lang): Global variables removed in favor of fdhead and
c150db23
FP
793 curfdp, pointers to file description strucures.
794 (longopts, main, print_help): Use the CTAGS conditional to include
795 or exclude options that work on etags or ctags only.
02ce3e80
SM
796 (process_file, find_entries, pfnote, add_node, put_entries)
797 (readline): Use fdhead and curfdp.
c150db23
FP
798 (process_file, find_entries): Do not take an arg string, all
799 callers changed.
800
801 * etags.c (longopts, print_help, main): Test CTAGS to disallow
802 options that are not right for either etags or ctags.
803
804 * etags.c (number_len, total_size_of_entries): Define them also
805 in CTAGS mode, because gcc does not compile all refs away.
806
e9d1f248
CW
8072002-04-14 Colin Walters <walters@debian.org>
808
809 * update-game-score.c (lock_file): If the lock file is older than
810 an hour, delete it. Reset attempts to zero if we have to break
811 the lock.
812
7605f1bd
AS
8132002-04-14 Andreas Schwab <schwab@suse.de>
814
815 * update-game-score.c (read_score): Fix type of second parameter
816 of getdelim to be of type size_t instead of int. Use 0 instead of
817 ESUCCES.
818
e82defd1
CW
8192002-04-10 Colin Walters <walters@verbum.org>
820
b9b966e0
CW
821 * update-game-score.c: (toplevel): Include stdarg.h.
822 (MAX_DATA_LEN, MAX_SCORES): New.
823 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
824 default to ~/.emacs.d/games.
825 (get_user_id): Don't zero uid in the case where we can't get the
826 username.
827 (lose): New function.
828 (main): Actually use `max', and default it to MAX_SCORES.
829 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
830 function.
831 (read_score): Handle the case of reading unamelen characters, then
832 finishing. Use mktemp if mkstemp isn't available.
833 (lock_file, unlock_file): Delete unused versions.
834 (lock_file): Always sleep, even if we unlinked the lock file.
835
e82defd1
CW
836 * Makefile.in (gamedir, gameuser): New variables.
837 (toplevel, UTILITIES): Add update-game-score.
838 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
839
5795b420
CW
8402002-04-07 Colin Walters <walters@verbum.org>
841
842 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
843 (get_user_id): Take struct passwd as an argument.
844 (get_home_dir): New function.
845 (main): Read in user information here. Discover home directory if
846 necessary.
847 (read_score): Trim newline only in `getline' case.
848
cd553ffb 8492002-04-05 Colin Walters <walters@debian.org>
c150db23 850
cd553ffb
CW
851 * update-game-score.c (toplevel): Include pwd.h.
852 (struct score_entry): Add username field.
853 (push_score): Use it.
854 (get_user_id): New function.
855 (main): Don't malloc excessively.
856 (main): Use username field.
857 (read_score): Read it.
858 (push_score): Handle it.
859 (write_scores) Write it.
c150db23
FP
860 (read_score): Handle arbitrary length data.
861
b74bd4a3
EZ
8622002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
863
864 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
865
fa8bc89d
GM
8662002-03-29 Gerd Moellmann <gerd@gnu.org>
867
868 * ebrowse.c (add_declarator, skip_initializer): New functions.
869 (declaration): Use them.
870
dd87b4cc
JR
8712002-03-28 Jason Rumney <jasonr@gnu.org>
872
873 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
874
cd553ffb
CW
8752002-03-27 Colin Walters <walters@debian.org>
876
877 * update-game-score.c: New file.
878
dfef6d49
PE
8792002-03-22 Paul Eggert <eggert@twinsun.com>
880
881 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
882 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
883 the latter usage.
884
4fff90e4 8852002-03-12 Francesco Potorti` <pot@gnu.org>
a13d6523 886
4fff90e4 887 * etags.c (Python_functions): Skip spaces at beginning of lines.
a13d6523
FP
888 (Python_functions, PHP_functions): Name tags, for ctags' sake.
889 (TeX_commands): Name tags. Correction of old disabled code.
890
891 * etags.c (curfiledir, curtagfname): New global variables.
892 (process_file): Initialise them.
893 (readline): Canonicalize the name found in #line directive.
893a741e 894
4fff90e4 8952002-03-06 Jason Rumney <jasonr@gnu.org>
ca55a1e3 896
893a741e
JR
897 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
898 compilers that don't optimize out dead code.
899
51aeded3
FP
9002002-03-05 Francesco Potorti` <pot@gnu.org>
901
902 * etags.c: Honour #line directives.
903 (no_line_directive): New global var; set it for old behaviour.
904 (main): Remove some #ifdef in the getopt switch.
905 (add_node, put_entries): Code added to merge different chunks of
906 nodes referring to the same file. Currently the tags are just
907 appended, without any check for duplicates.
908 (Perl_functions): Do not special case ctags.
909 (readline): Identify #line directives and do the right thing.
910 (nocharno, invalidcharno): New global vars.
911 (process_file): Reset nocharno.
912 (readline): Set nocharno.
913 (pfnote): Read nocharno and maybe put invalidcharno in node.
914 (total_size_of_entries, put_entries): Use invalidcharno.
915
916 * etags.c: Keep the whole tag table in memory, even in etags mode.
917 (main): Call put_entries here even in CTAGS mode.
918 (main, process_file): Check the return values of fclose and pclose.
919 (process_file): Do not call put_entries after parsing each file.
920 (process_file): Canonicalise file names even for ctags.
921 (process_file): Set curfile here...
922 (find_entries): ... not here any more.
923 (add_node): In etags mode, build a linked list of entries (on
924 right pointer) for each file, and link the first entry of each
925 file on left nodes.
926 (put_entries): Print here the name of the file.
927 (put_entries): Print the entries starting from the first file.
c150db23 928 (number_len, total_size_of_entries): Define these only in etags
51aeded3
FP
929 mode, make the second work only on the right nodes.
930
931 * etags.c: Make all global variables static.
932
50ce1f62
JB
9332002-02-25 Juanma Barranquero <lektu@terra.es>
934
935 * makefile.w32-in (lisp): Add missing backslash.
936
82a399d2
JR
9372002-02-24 Jason Rumney <jasonr@gnu.org>
938
939 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
940 using .elc files.
941 (lisp): Sync with list in src/Makefile.in
942 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
943
a279c920
PE
9442002-02-10 Paul Eggert <eggert@twinsun.com>
945
946 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
947 disallows the old syntax.
948
0caa685d
PE
9492002-02-03 Paul Eggert <eggert@twinsun.com>
950
951 * rcs2log(Copyright): Update to 2002.
952 (AWK, TMPDIR): Work around portability problem in broken shells that
953 don't understand `: ${VAR=val}'.
954 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
955 Prefer the new -k option to the traditional +M -N option.
956
03950b5b
PJ
9572002-01-01 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
958
959 * b2m.c (main): Parenthesize assignment when used as truth value
960 to prevent gcc warnings.
961
962 * fakemail.c: Include <config.h>.
963
2f8fe2f4
PJ
9642001-12-29 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
965
966 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
967 * yow.c: Include <config.h>.
968
a60e4de9
FP
9692001-12-21 Francesco Potorti` <pot@gnu.org>
970
971 * etags.c (Perl_functions): Tag packages and use them in sub tags.
972 (get_tag): Return a pointer to the tag that is found.
973
974 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
975 (F_takeprec): Renamed from takeprec. All callers changed.
976 (F_getit): Renamed from getit. All callers changed.
977 (nocase_tail): Renamed from tail. All callers changed.
978 (Ada_getit): Renamed from adagetit. All callers changed.
eec54bd7 979 (L_getit): Simplify by using get_tag.
a60e4de9
FP
980 (Perl_functions, Postscript_functions, erlang_attribute): Use the
981 modified LOOKING_AT.
982 (notinname): Removed '[' and added ')' to the recognised chars.
983 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
984 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
985 Clarified, using strneq or notinname.
986 (L_isdef, L_isquote): Removed.
987 (Lisp_functions, L_getit): Clarified.
988
989 * etags.c: (P_): Renamed to __P for consistency with config.h.
990 [HAVE_CONFIG_H]: Let config.h deal with __P.
991 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
992 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
993 gperf code needs it.
994 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with Xemacs).
995 [HAVE_CONFIG_H] [!__P]: Define __P (for use with Xemacs).
996 (xmalloc, xrealloc): Use PTR instead of long *.
997 (bool): Make it a define, not a typedef, for C++ compilers.
998 (pattern): Members renamed to avoid name clash in some C++ compilers.
999 (get_language_from_langname): Use const argument.
1000
c95eaa61
PJ
10012001-12-22 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1002
1003 * makefile.nt, makefile.w32-in: Remove mocklisp files.
1004
69bfc389
PJ
10052001-12-19 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1006
b8509940
PJ
1007 * emacsserver.c: Conditionally include config.h.
1008
594aa066
PJ
1009 * fakemail.c: Likewise.
1010
e69233c2
PJ
1011 * emacsclient.c: Include "config.h", not <../src/config.h>.
1012 (main): Parenthesize assignment when used as truth value to
1013 prevent gcc warnings.
1014
69bfc389
PJ
1015 * ebrowse.c: Include stdlib.h and string.h conditionally.
1016
e4e34e31
EZ
10172001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
1018
1019 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
1020
ffb7c9c6
PJ
10212001-12-18 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1022
1023 * test-distrib.c: Fix previous change.
1024
fb5aa7ac
DL
10252001-12-18 Dave Love <fx@gnu.org>
1026
1027 * test-distrib.c: Conditionally include fcntl.h.
1028
1029 * fakemail.c: Include "config.h", not <../src/config.h>.
1030 (_XOPEN_SOURCE): Define as 500.
1031
1032 * emacsserver.c: Include "config.h", not <../src/config.h>.
1033
1034 * cvtmail.c: Include config.h, stdlib.h.
1035 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
1036
1037 * yow.c: Conditionally include various headers. Use "epaths.h",
1038 not <../src/epaths.h>.
1039 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
1040
e94a3679
FP
10412001-12-12 Francesco Potorti` <pot@gnu.org>
1042
13dc0576 1043 * etags.c (PHP_functions): New function for parsing PHP.
e94a3679
FP
1044 (LOOKING_AT): New macro.
1045 (Perl_functions, Python_functions, PHP_functions)
1046 (Scheme_functions, Texinfo_nodes): Use it.
1047 (Perl_functions): Use strneq.
1048 (prolog_pred): Renamed to prolog_pr.
13dc0576 1049 (prolog_pr): Recognise Prolog rules in addition to predicates.
e94a3679 1050 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
13dc0576 1051 unmodified compile, as Cygwin's regex.h is incompatible with us.
e94a3679
FP
1052 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
1053
34e39c95
RS
10542001-12-11 Richard M. Stallman <rms@gnu.org>
1055
1056 * Makefile.in (clean): Don't delete ../etc/DOC*.
1057
296071e7
PJ
10582001-12-11 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1059
1060 * COPYING: Moved back.
1061
76054cc8
AI
10622001-11-30 Andrew Innes <andrewi@gnu.org>
1063
e94a3679
FP
1064 * makefile.w32-in (FACE_SUPPORT):
1065 (MOUSE_SUPPORT):
1066 (FLOAT_SUPPORT):
1067 (WINNT_SUPPORT):
76054cc8
AI
1068 (lisp): Reference .el files instead of .elc files, to simplify
1069 bootstrapping.
1070 ($(DOC)): Change dependency to just `make-docfile'.
1071
0142178a
PJ
10722001-11-29 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1073
1074 * COPYING: Removed.
1075
e8d6a09b
PE
10762001-11-28 Paul Eggert <eggert@twinsun.com>
1077
1078 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
1079
1080 The following changes are derived from suggestions by Bob Chapman
1081 <rechapman@compuserve.com>.
1082
1083 * rcs2log (printlogline): Also allow tab and newline to separate
1084 '(function):' from the rest of a comment.
1085 (reformat the sorted log entries): Require date and author to
1086 match the clumpname.
1087
9a190096
GM
10882001-11-16 Gerd Moellmann <gerd@gnu.org>
1089
1090 * ebrowse.c (matching_regexp): Escape '\\'.
1091
8ec1b917
PJ
10922001-11-15 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1093
1094 * Makefile.in: Add support for --program-prefix, --program-suffix
1095 and --program-transform-name options.
1096
6d8f7d5d
RS
10972001-11-03 Richard M. Stallman <rms@gnu.org>
1098
1099 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
1100
1101 * movemail.c (popmail): Always pass two args to `error'.
1102
84e70f78
KR
11032001-10-24 Ken Raeburn <raeburn@gnu.org>
1104
1105 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
1106 -lhesiod and maybe -lresolv.
1107 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
1108 support if it's available.
1109
386ca361
MB
11102001-10-21 Miles Bader <miles@gnu.org>
1111
a3b10252
MB
1112 * make-docfile.c (struct rcsoc_state): New type.
1113 (read_c_string_or_comment): Add SAW_USAGE
386ca361 1114 parameter, and implement scanning for a `usage:' keyword.
a3b10252
MB
1115 Use a variable of type `rcsoc_state' to hold most of our state.
1116 (put_char): Add STATE parameter, and remove all other parameters
1117 except CH. Use STATE to get access to all needed state.
1118 (scan_keyword_or_put_char): New function.
386ca361
MB
1119 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
1120 Don't output a usage-string if there was one in the doc-string.
1121
71431a0e
GM
11222001-10-20 Gerd Moellmann <gerd@gnu.org>
1123
6aa97356 1124 * (Version 21.1 released.)
71431a0e 1125
37a9305e
PJ
11262001-10-19 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1127
1128 * b2m.c: Properly spell the name of Emacs.
1129
945220bd
MB
11302001-10-17 Miles Bader <miles@gnu.org>
1131
1132 * make-docfile.c (put_char): New function.
1133 (read_c_string_or_comment): Strip trailing spaces and newlines.
1134
14242528
MB
11352001-10-16 Miles Bader <miles@gnu.org>
1136
1137 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
1138 comments [with `doc:' keyword prefix].
1139
9f5eb4a3
GM
11402001-10-15 Gerd Moellmann <gerd@gnu.org>
1141
1142 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
1143 in a C doc comment.
1144
e641b454
GM
11452001-10-13 Gerd Moellmann <gerd@gnu.org>
1146
1147 * make-docfile.c (read_c_string_or_comment): Renamed from
1148 read_c_string. Add parameter COMMENT. Read C-style comments.
1149 (scan_c_file): Handle doc strings in C comments.
1150
967d7793
AI
11512001-10-12 Andrew Innes <andrewi@gnu.org>
1152
1153 * makefile.nt (ALL): Do not include fakemail.
1154
1155 * makefile.w32-in (install): Do not copy fakemail.
1156
d682756a
JR
11572001-10-10 Jason Rumney <jasonr@gnu.org>
1158
1159 * makefile.w32-in (ALL) Do not include fakemail.
1160
1161 * makefile.nt (install) Ditto.
1162
14a3dff7
GM
11632001-10-09 Gerd Moellmann <gerd@gnu.org>
1164
1165 * emacsserver.c (main): Cast geteuid in sprintf to int.
14a3dff7 1166
95bc7904 1167 * emacsclient.c (main): Cast isdigit argument to unsigned char.
14a3dff7 1168
f98d41f5
PJ
11692001-10-07 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1170
1171 * profile.c: Include config.h, not ../src/config.h.
1172 Include systime.h, not ../src/systime.h.
1173
ab952a4f
GM
11742001-10-05 Gerd Moellmann <gerd@gnu.org>
1175
1176 * Branch for 21.1.
dff28924 1177
12c64503
GM
11782001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
1179
1180 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
1181 ALIASEE to help work with namespace aliases.
1182 (struct sym): Remove struct member NAMESP_ALIASES.
1183 (namespace_alias_table): New variable.
1184 (make_namespace): Add parameter CONTEXT.
1185 (check_namespace): New function.
1186 (find_namespace): Add parameter CONTEXT.
1187 (check_namespace_alias): New function.
02ce3e80
SM
1188 (register_namespace_alias): Change type of parameter OLD_NAME.
1189 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
12c64503
GM
1190 (check_namespace): New function.
1191 (enter_namespace): Call find_namespace with CONTEXT parameter.
1192 (match_qualified_namespace_alias): New function.
eec54bd7 1193 (parse_qualified_ident_or_type): Fix typo in comment.
02ce3e80 1194 While parsing qualified ident or type update namespace context and
12c64503 1195 restore it on exit.
eec54bd7
SM
1196 (parse_qualified_param_ident_or_type): Fix typo in comment.
1197 (globals): Change handling of namespace aliases.
1198 (version): Add year 2001.
12c64503 1199
990e1190
FP
12002001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
1201
1202 * etags.c (analyse_regex): If regex_arg is NULL, return
1203 immediately after a call to free_patterns.
1204
f2e7e23e
AS
12052001-09-05 Paul Eggert <eggert@twinsun.com>
1206
1207 * rcs2log (Help, mainline code): Add new option -L FILE.
1208 (Copyright): Update year.
02ce3e80
SM
1209 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
1210 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
f2e7e23e
AS
1211 C locale.
1212 (mainline code): Handle nonstandard -u option differently, by
1213 transforming it to standard form. Check for "Working file: ", not
1214 "Working file:". Allow file names with spaces.
1215 (SOH, rlogfile): New shell vars.
dff28924 1216 (rlogout): Remove. Its old functionality is mostly migrated to
f2e7e23e
AS
1217 rlogfile.
1218
1219 Append ';;' to the last arm of every case statement, for
1220 portability to ancient broken BSD shells.
1221
02ce3e80 1222 (logins): Fix bug; was not being computed at all, lowering performance.
f2e7e23e
AS
1223 (pository): New var. This fixes some bugs where repositories are
1224 remote, or have trailing slashes.
02ce3e80 1225 (authors): $llogout is never an empty shell var, so don't worry
f2e7e23e 1226 about that possibility.
dff28924 1227 (printlogline, mainline code): Fix bug with SOH's being put into
f2e7e23e 1228 the output.
dff28924 1229
75c911eb
EZ
12302001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
1231
1232 * ebrowse.c (SEEK_END): #define if not defined by system headers.
1233 Suggested by Dave Love <d.love@dl.ac.uk>.
1234
5ae10f4a
EZ
12352001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
1236
1237 * makefile.nt (lisp): Synchronize with src/Makefile.in.
1238 * makefile.w32-in (lisp): Ditto.
1239
0e4011d8 12402001-07-25 Juanma Barranquero <lektu@terra.es>
e743f599
GM
1241
1242 * grep-changelog (parse_changelog): Remove unused local variable.
1243
1244 * grep-changelog (main): Add new option --reverse.
1245 (print_log): Use it.
1246 (parse_changelog): Use it.
1247
3c88ae74
GM
12482001-07-20 Gerd Moellmann <gerd@gnu.org>
1249
1250 * grep-changelog: Remove RCS Id keyword.
1251
41848daa
GM
12522001-07-20 Juanma Barranquero <lektu@terra.es>
1253
6e07c0a5
GM
1254 * grep-changelog (parse_changelog): Add tests for defined values
1255 to quiet warning from Perl 5.005 or above.
177ab8ce 1256 (entry_match_p, header_match_p): Fix handling of null or empty
0e4011d8
GM
1257 argument to prevent duplicate headers.
1258
1259 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
41848daa 1260
467f1209
GM
12612001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
1262
1263 * emacsclient.c (print_help_and_exit): Fix help message for
1264 +LINE:COLUMN option.
1265
12662000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
990e1190 1267
467f1209
GM
1268 * emacsclient.c (main): Add support for +LINE:COLUMN command line
1269 argument.
1270
bb24c64f
GM
12712001-07-16 Gerd Moellmann <gerd@gnu.org>
1272
1273 * ebrowse.c (main): Check that the output file exists and
1274 is non-empty if invoked with `--append'.
1275
fa829470
FP
12762001-05-14 Francesco Potorti` <pot@gnu.org>
1277
e335b66a
GM
1278 * etags.c (add_regex): Reset the whole newly allocated pattern
1279 buffer instead of the individual members. It's safer and works
1280 with Xemacs.
fa829470 1281
e335b66a 1282 * etags.1: Markups corrected.
fa829470 1283
6da5c7da
GM
12842001-05-08 Gerd Moellmann <gerd@gnu.org>
1285
02ce3e80 1286 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
6da5c7da 1287
efbecf9d
GM
12882001-05-03 Gerd Moellmann <gerd@gnu.org>
1289
1290 * ebrowse.c (globals): Fix handling of namespace aliases.
1291
f4976ebc
EZ
12922001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
1293
1294 * etags.c (print_help): Enclose the regexp in the help text
1295 example in quotes.
1296
23431241
DL
12972001-04-05 Dave Love <fx@gnu.org>
1298
1299 * emacsclient.c (fail): Don't return a value.
fa829470 1300 (main): Cast uid values for sprintf.
23431241 1301
476bf681
GM
13022001-04-03 Gerd Moellmann <gerd@gnu.org>
1303
b3f6107b
GM
1304 * emacsclient.c (fail, main): Don't use implicit int return type.
1305
476bf681
GM
1306 * b2m.c (main): Always return a value.
1307
ef53d75e
GM
13082001-03-02 Gerd Moellmann <gerd@gnu.org>
1309
1310 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
1311 freshly allocated object in *LAST_ID.
1312 (read_line): Accept \r\n line endings.
1313
425de386
AI
13142001-02-24 Andrew Innes <andrewi@gnu.org>
1315
1316 * makefile.w32-in: Fix copyright notice.
1317
f55ae599
FP
13182001-02-23 Francesco Potorti` <pot@gnu.org>
1319
1320 * etags.c (enum sym_type): New label st_C_template.
1321 (gperf input): Use it for switching to C++ from C.
1322 (consider_token): Do it.
c2a642c0
FP
1323 (C_entries): Initialise typdefcblev to quiet compilers.
1324 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
f55ae599 1325
f6839838
AI
13262001-02-22 Andrew Innes <andrewi@gnu.org>
1327
1328 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
1329 VMS header files.
1330 ($(BLD)\profile.obj): Ditto.
1331
1332 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
1333 VMS header files.
1334 ($(BLD)/profile.$(O)): Ditto.
1335
193fba87
AI
13362001-02-05 Andrew Innes <andrewi@gnu.org>
1337
1338 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
1339 invocation of make-docfile, to work with Windows 2000.
1340
30526cc6
DL
13412001-01-31 Dave Love <fx@gnu.org>
1342
1343 * etags.c (in_word_set): Use `static' in definition (for pcc).
1344
8f79fe72
FP
13452001-01-31 Francesco Potorti` <pot@gnu.org>
1346
1347 * etags.c: [NDEBUG] #undef assert and #define it as ((void)0), for
1348 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
1349 (C_entries): Tag token renamed to still_in_token because sunos4
1350 pcc wants to expand it as the token() macro even though it has no
1351 arguments.
1352
914d7258
AI
13532001-01-30 Andrew Innes <andrewi@gnu.org>
1354
1355 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
1356 bug in the Mingw32 assert.h header file.
1357
b28e26be
FP
13582001-01-30 Francesco Potorti` <pot@gnu.org>
1359
1360 * etags.c: [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
1361 #define it for the sake of Xemacs.
1362 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
1363 HAVE_CONFIG_H. This change only affects a standalone etags.
1364 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
1365 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
1366 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
1367 [!HAVE_UNISTD_H]: use defined(WINDOWSNT) instead of the bare
1368 WINDOWSNT, as this is the correct way to use it.
1369
8c463abe
FP
13702001-01-28 Francesco Potorti` <pot@gnu.org>
1371
1372 * etags.c: Be capable to parse nested struct-like structures.
1373 (structdef, structtag): Struct state machine revisited.
1374 (struct tok): Revisited.
1375 (cstack, nestlev, instruct): New struct and macros.
1376 (pushclass_above, popclass_above, write_classname): New functions
13dc0576 1377 for dealing with nested class names.
8c463abe
FP
1378 (consider_token, make_C_tag, C_entries): Many changes for dealing
1379 with arbitrarily nested structures.
1380 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
1381 (C_entries): Consider templates in C++.
1382 (sym_type): New constant st_C_class for detecting "class" also in
1383 C mode.
1384 (C_AUTO): New macro for automatic detection of C++.
1385 (consider_token): Automatic set C++ mode.
1386 (C_entries): New security check for yacc.
1387 (print_language_names, print_help): Mention the autodetect
1388 feature, do not show help for the -C option, now mostly useless.
1389 (C_entries): Tag C++ forward declarations if --declarations.
1390 (C_entries): Don't be fooled by things like XDEFUN.
1391 (consider_token): Discard asm pseudo function.
1392
e26f9ced
EZ
13932001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
1394
1395 * etags.c: Add a coding: tag.
1396
a47b7816
GM
13972001-01-26 Gerd Moellmann <gerd@gnu.org>
1398
8c463abe 1399 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
a47b7816
GM
1400 New variables.
1401 (matching_regexp): Use them instead of static variables in
1402 function scope.
1403
7df65e91 14042001-01-25 Francesco Potorti` <pot@gnu.org>
d22a24fa
FP
1405
1406 * etags.c (struct tok): Renamed from struct token.
1407 (token): Renamed from tok.
1408 (structtype): Make it a local variable.
1409 [DEBUG]: Use assert.
1410 (xrnew): Change the synopsis.
1411 (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
1412 (grow_linebuffer): Don't call xrnew when not needed.
02ce3e80 1413 (token): Buffer renamed to line.
d22a24fa 1414 (C_entries): Three calls to inibuffer moved here from main.
eec54bd7 1415 (C_entries): Remove all references to var methodlen, delete it.
d22a24fa
FP
1416 (linebuffer_setlen): Was grow_buffer, now also sets len.
1417 (consider_token, C_entries, Pascal_functions): Use it.
1418 (C_entries): Preventing problems relative to extern "C".
1419 (C_entries): Can tag more than one variable or func separated by
1420 comma when --declarations is used.
1421 (C_entries): More accurate tagging of members and declarations.
1422 (yacc_rules): Was global, made local to C_entries.
1423 (next_token_is_func): Removed.
1424 (fvdef): New constants fdefunkey, fdefunname.
1425 (consider_token, C_entries): Use them.
1426 (C_entries): Build proper lisp names for Emacs DEFUNs.
1427
21c2bbe0
GM
14282001-01-22 Gerd Moellmann <gerd@gnu.org>
1429
1430 * ebrowse.c (xfree): New function.
1431 (member, declaration, globals): Use xmalloc instead of alloca.
1432
7df65e91 14332001-01-15 Francesco Potorti` <pot@gnu.org>
83be933c
FP
1434
1435 * etags.c (print_language_names): Print filenames in addition to
1436 suffixes.
1437
47df1a5e
EZ
14382001-01-14 Francesco Potorti` <pot@gnu.org>
1439
1440 * etags.c (get_language_from_langname): Renamed from
1441 get_language_from_name.
eec54bd7
SM
1442 (get_language_from_filename): Renamed from get_language_from_suffix.
1443 Now first looks for the complete file name.
47df1a5e
EZ
1444 (language): New member char **filenames.
1445 (Makefile_filenames): List of possible filenames for makefiles.
eec54bd7 1446 (lang_names): Add a NULL member for every entry, added an entry
47df1a5e 1447 for makefiles.
13dc0576 1448 (Makefile_targets): New function.
47df1a5e
EZ
1449 (Texinfo_nodes): Renamed from Texinfo_fuctions and made
1450 it conformant to the style of the rest of the code.
1451
291c7e74
GM
14522001-01-13 Gerd Moellmann <gerd@gnu.org>
1453
1454 * make-docfile.c (write_c_args): Print newlines as spaces.
1455
0dac6924
AI
14562001-01-06 Andrew Innes <andrewi@gnu.org>
1457
1458 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
1459 of *.pdb.
1460
3e99d3b4
GM
14612001-01-03 Paul Eggert <eggert@twinsun.com>
1462
1463 * lib-src/rcs2log: Avoid security hole allowing attacker to
1464 cause user of rcs2log to overwrite arbitrary files, fixing
1465 a bug reported by Morten Welinder.
1466
1467 Don't put "exit 1" at the end of the exit trap; it's
1468 ineffective in POSIX shells.
1469
d6bb0c0d
GM
14702001-01-02 Gerd Moellmann <gerd@gnu.org>
1471
eec54bd7
SM
1472 * ebrowse.c (yyerror): Change to take two arguments.
1473 Add prototype. Change callers.
d6bb0c0d 1474
d5c00476 14752001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
315f5865
EZ
1476
1477 * ebrowse.c (enter_namespace, main): Cast variables to shut up
1478 compiler warnings.
1479 (yyerror): Change parameter declarations to be of type long, so
1480 that they can take pointers on 64-bit platforms.
1481
1482 * emacsclient.c (main): Remove unused local variable statbfr.
1483 (main) <homedir>: Make its declaration conditional on
1484 SERVER_HOME_DIR, to avoid compiler warnings.
1485
1486 * emacsserver.c (main) <homedir>: Make its declaration conditional
1487 on SERVER_HOME_DIR, to avoid compiler warnings.
1488
1489 * fakemail.c (readline): Cast buffer to "long *" to pacify
1490 over-zealous compilers.
1491
7c89ea61
EZ
14922000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
1493
1494 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
1495
a6768cc5
GM
14962000-12-15 Gerd Moellmann <gerd@gnu.org>
1497
1498 * ebrowse.c (operator_name): Cast argument of isalpha to
1499 unsigned char.
1500
1501 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
1502 Use them throughout instead of ctype functions/macros.
1503 (lowcase): Cast to unsigned char.
1504 (UPCASE): New macro.
1505 (canonicalize_filename): Use UPCASE instead toupper.
1506
1507 * fakemail.c (get_keyword): Make sure that isspace and
1508 similar aren't called with a negative argument.
1509
70de49cc
DL
15102000-12-13 Dave Love <fx@gnu.org>
1511
1512 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
1513
4e8b894c
AI
15142000-12-06 Andrew Innes <andrewi@gnu.org>
1515
1516 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
1517 don't know the real version, and I can't seem to get the quoting
1518 right in all circumstances.
1519
1520 * ebrowse.c (VERSION): Provide default definition, like etags.c
1521 does, because Windows build can't snarf this from version.el.
1522
88257bc8
AI
15232000-11-30 Andrew Innes <andrewi@gnu.org>
1524
1525 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
1526 (install): Ditto.
1527
d19249e7
JR
15282000-11-23 Jason Rumney <jasonr@gnu.org>
1529
1530 * makefile.w32-in: Add targets for ebrowse.exe.
1531 (LOCAL_FLAGS): Add -DVERSION flag.
1532
7df6adc3
DL
15332000-09-25 Dave Love <fx@gnu.org>
1534
1535 * sorted-doc.c: Include config.h.
1536 [!HAVE_STDLIB_H]: Declare malloc.
1537
fe83b953
AI
15382000-09-14 Andrew Innes <andrewi@gnu.org>
1539
1540 * makefile.w32-in: Revert to Unix line endings.
1541
517699ca
DL
15422000-09-04 Dave Love <fx@gnu.org>
1543
1544 * movemail.c (index, rindex): Prototype conditionally.
1545
f8803e97
AI
15462000-09-03 Andrew Innes <andrewi@gnu.org>
1547
1548 * makefile.w32-in: Change to DOS line endings.
1549
f72adc12
EZ
15502000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
1551
4034f3a8 1552 * movemail.c (toplevel): Remove redundant fcntl.h.
f72adc12
EZ
1553 [!F_OK]: Provide default definitions only after including both
1554 fcntl.h and unistd.h.
1555
f678f592
DL
15562000-08-29 Dave Love <fx@gnu.org>
1557
1558 * movemail.c: Revert previous change.
1559
5b671d04
EZ
15602000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
1561
1562 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
1563
6fa86045
DL
15642000-08-28 Dave Love <fx@gnu.org>
1565
1566 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
1567 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
1568
746d9caf
AI
15692000-08-22 Andrew Innes <andrewi@gnu.org>
1570
1571 * ntlib.h (WIN32): Remove unnecessary definition.
1572 (sleep): Make argument unsigned long.
1573 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
1574
1575 * ntlib.c (sleep): Make argument unsigned long.
1576
1577 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
1578
1579 * makefile.w32-in: New file.
1580
3b541489
EZ
15812000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
1582
1583 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
1584 letter only if it is a drive letter.
1585
e5acf0ca
GM
15862000-07-14 Gerd Moellmann <gerd@gnu.org>
1587
02ce3e80 1588 * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and ymalloc.
e5acf0ca
GM
1589
1590 * etags.c (xmalloc, xrealloc): Make externally visible, for use
1591 by alloca.o.
1592
02ce3e80 1593 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
e5acf0ca 1594
4b92c49a
GM
15952000-07-10 Gerd Moellmann <gerd@gnu.org>
1596
1597 * ebrowse.c (yylex): Accept string literals with newlines in them.
1598 (process_pp_line): Handle case of string literal with newline
1599 in it in replacement text, which counts as continuing the
1600 replacement text in GNU C.
1601
831a6cb0
GM
16022000-07-02 Gerd Moellmann <gerd@gnu.org>
1603
1604 * ebrowse.c (token_string): Add missing tokens.
1605 (parm_list): Handle case of qualified pointers.
1606
53245ee2
DL
16072000-06-23 Dave Love <fx@gnu.org>
1608
1609 * ebrowse.c: Move config.h before other includes (which may use
1610 feature tests).
1611
dcbf2cd2
JM
16122000-06-14 Jim Meyering <meyering@lucent.com>
1613
1614 * grep-changelog: Fix typos in comments. Remove trailing blanks.
1615
f1c7754a
JR
16162000-06-11 Jason Rumney <jasonr@gnu.org>
1617
1618 * makefile.nt: Add targets for ebrowse.
1619
1620 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
1621 compare filenames.
1622
5f1aea9a
GM
16232000-06-06 Gerd Moellmann <gerd@gnu.org>
1624
1625 * ebrowse.c (ymalloc): Renamed from xmalloc.
1626 (yrealloc): Renamed from xrealloc.
1627
5bf244f1
DL
16282000-05-21 Dave Love <fx@gnu.org>
1629
1630 * movemail.c: Include config.h, not ../src/config.h.
1631 (Errmsg): Bump length.
1632
1633 * pop.c (ERROR_MAX): Increase to 160.
1634
ec82fb2f
GM
16352000-05-04 Gerd Moellmann <gerd@gnu.org>
1636
1637 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
1638
5c922ea7
EZ
16392000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
1640
02ce3e80
SM
1641 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
1642 Define to semi-colon.
5c922ea7 1643 (FILENAME_EQ): New macro, for comparing file names.
02ce3e80 1644 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
5c922ea7
EZ
1645 (process_file): Don't assume that fread always reads as many bytes
1646 as it was told to (DOS-style CR-LF text files fail this logic).
1647 (open_file): Allocate enough space for path->path plus the file
1648 name and the slash.
1649
6142fdcb 16502000-04-19 Dave Love <fx@gnu.org>
97052c63
DL
1651
1652 * etags.c (Texinfo_functions): New function.
1653 (lang_names): Install it.
1654 (Texinfo_suffixes): New variable.
1655
cb9215e4
GM
16562000-04-19 Gerd Moellmann <gerd@gnu.org>
1657
1658 * ebrowse.c (xmalloc, xrealloc): Rewritten.
1659 (declaration): Remove parameter IS_EXTERN.
1660 (class_definition): Remove unused variable.
1661
be0dbdab
GM
16622000-04-09 Gerd Moellmann <gerd@gnu.org>
1663
1664 * Makefile.in (INSTALLABLES): Add ebrowse.
1665 (ebrowse): New target.
1666
1667 * ebrowse.c: New file.
1668
c5aa0fc2
AS
16692000-03-29 Andreas Schwab <schwab@suse.de>
1670
1671 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
1672
d054101f
GM
16732000-03-02 Gerd Moellmann <gerd@gnu.org>
1674
1675 * etags.c (lisp_suffixes) Add `LSP'.
1676
71cbb895
FP
16772000-02-10 Francesco Potorti` <pot@gnu.org>
1678
eec54bd7 1679 * etags.c (iswhite): Redefine not to consider '\0' as white
71cbb895
FP
1680 space, and use it throughout in place of isspace, thus preventing a
1681 potential signed char to int conversion problem.
1682 (MSDOS): #undefine befere redefining
1683
7df65e91 16842000-02-04 Francesco Potorti` <pot@gnu.org>
71cbb895
FP
1685
1686 * etags.c (many functions): Add prototypes.
1687
97fa0cc8
DL
16882000-02-10 Dave Love <fx@gnu.org>
1689
1690 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
1691 (erlang_func): Add `static' to definitions to keep pcc happy.
1692
7df65e91 16932000-01-31 Francesco Potorti` <pot@gnu.org>
e4100b7f
FP
1694
1695 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
1696 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
1697 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
1698 (getenv, getcwd): Only declare them if necessary.
1699 (EMACS_NAME): New constant macro.
1700 (print_version): Use it.
1701 (P_) [__STDC__]: Macro for defining function prototypes.
e4100b7f 1702
19e262bd 17032000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
1704
1705 * etags.c [WINDOWSNT]: #include <direct.h>
1706
19e262bd 17072000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 1708
19e262bd
FP
1709 * etags.c (all functions): Made them static.
1710 (all functions): Write prototypes.
e4100b7f 1711
55e30d2a
RS
17122000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
1713
1714 * movemail.c (main): Improve error message if can't create lock file.
1715
c60ee5e7 17162000-01-28 Eric Hanchrow <offby1@blarg.net>
875c1439
GM
1717
1718 * emacsclient.c (socket_status): New function.
02ce3e80 1719 (main): If $LOGNAME or $USER exist and differ from our euid, look
875c1439
GM
1720 for a socket based on the UID associated with the name.
1721
e4936aa9
GM
17222000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
1723
1724 * emacsclient.c: Add option -a EDITOR and environment variable
1725 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
1726
c60ee5e7 17271999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us>
791a9087
GM
1728
1729 * movemail.c (popmail): Allow mailbox specifications of the
1730 form `po:username:hostname'.
1731
7df65e91 17321999-11-19 Francesco Potorti` <pot@gnu.org>
e2081362
FP
1733
1734 * etags.c (_GNU_SOURCE): Define only if undefined.
1735 (get_scheme): Declaration deleted.
02ce3e80 1736 (main): Error was called with an integer as second arg, instead of
e2081362
FP
1737 a char pointer.
1738 (canonicalize_filename): Bug removed.
1739
17401999-11-18 Dave Love <d.love@dl.ac.uk>
1741
1742 * etags.c (C_entries): Rename label `intoken', avoiding K&R
1743 lossage from name clash with macro.
1744
b05d3bee
GM
17451999-11-13 Gerd Moellmann <gerd@gnu.org>
1746
1747 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
1748
cb3a6c48
GM
17491999-11-03 Gerd Moellmann <gerd@gnu.org>
1750
1751 * etags.c (print_help): Change email address to send bugs to.
1752
7df65e91 17531999-11-01 Francesco Potorti` <pot@gnu.org>>
1c478461
FP
1754
1755 * etags.c: Add suffix psw for PSWrap.
1756 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
1757 (Postscript_functions): Add code for PSWrap.
1758 (Scheme_functions): Use local pointer and new get_tag function.
1759 (get_tag): New name for old get_scheme.
1760 (process_file): Do not free NULL when file does not exist.
1761 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
1762 (C_entries): Modifications that make --members tag even inside
1763 typedefs and C nested structs (one level only).
eec54bd7 1764 (consider_token): Correct a bug which prevented tagging of enum
1c478461 1765 constants.
eec54bd7 1766 (C_stab_entry): Add if, for, while, switch, return as
1c478461
FP
1767 st_C_ignore. This makes it simpler to work when cblev!=0.
1768
02ce3e80 1769 * etags.c (C_entries): Tag member function declarations when
1c478461
FP
1770 --declarations is used.
1771
1772 * etags.c (C_entries, consider_token): C++ `operator' now is
1773 tagged in most cases.
1774 As before, :: is not recognised if surrounded by spaces.
1775
1776 * etags.c (relative_filename): Account for DOS file names such
1777 that is impossible to make one relative to another.
1778
1779 * etags.c (sym_type): New st_C_extern tag.
1780 (gperf input): Use it for spotting external declarations.
1781 (print_help): Document the new behaviour of --declarations.
1782 (fvextern): New global variable.
1783 (consider_token, C_entries): Use it.
1784
1785 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
1786 (etags_getcwd): Remove test for WINDOWSNT.
1787
1788 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
1789 foo.cgz, foo.cz, etc.
1790
1791 * etags.c (declarations): New global switch.
1792 (longopts): Describe it.
1793 (print_help): Document it.
1794 (C_entries): Use it.
1795 (process_file): Don't process a file twice.
1796
1797 * etags.c (Fortran_functions): No tags for "procedure".
1798
17991999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
1800
1801 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
1802 non-zero, returns a pointer to where the extension begins; callers
1803 changed.
1804 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
1805 were foo.c.gz.
1806
7df65e91 18071999-11-01 Francesco Potorti` <pot@gnu.org>
1c478461
FP
1808
1809 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
1810 (fvdev): New constant foperator.
1811 (consider_token): Use it to get "operator" in C++.
1812 (C_entries): Extend length of operator@ function name.
1813 (C_entries): Use foperator when necessary.
1814
1815 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
1816
1817 * etags.c (compressor): New struct for compressed files.
1818 (get_compressor_from_suffix): New function.
1819 (get_language_from_suffix): Use it. Also, semantics changed.
1820 (process_file): Consider compressed files, close file.
1821 (find_entries): Use different call arg for get_language_from_suffix,
1822 don't close file.
1823
1824 * etags.c (main): Call free_tree.
1825 (find_entries): Do not free curfile.
1826 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
1827 (prolog_pred, erlang_func, substitute): Cast strlen to int when
1828 comparing.
1829 (canonicalize_filename): Shut up compiler warning.
1830 (Perl_functions): Make tag significant.
1831
18321999-11-01 Dave Love <d.love@dl.ac.uk>
1833
1834 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
1835 (argument_type): New member at_icregexp.
1836 (lc_trans): New global.
1837 (main): Fill lc_trans. Process -c args.
1838 (add_regex): New arg determining whether to use translation table.
1839 (analyse_regex): New arg. Use it for add_regex.
1840
7df65e91 18411999-11-01 Francesco Potorti` <pot@gnu.org>
1c478461
FP
1842
1843 * etags.c (init): Cosmetic change: NULL --> '\0'.
1844 (erlang_attribute): Bug corrected (uninitialized variable).
1845 (filename_is_absolute): New function replaces absolutefn macro and
02ce3e80 1846 corrects a bug. All callers changed.
1c478461
FP
1847 (canonicalize_filename): New function.
1848 (process_file, etags_getcwd, absolute_dirname): Use it.
1849 (relative_filename, absolute_filename): Removed var shadowing.
1850 (C_entries, Pascal_functions): Add fake initializations to keep
02ce3e80 1851 compilers quiet.
1c478461
FP
1852 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
1853
1854 * etags.c (xrnew): New macro. All callers of xrealloc changed.
1855 (language): New typedef (was struct lang_entry).
1856 (curlang): New global variable.
02ce3e80 1857 (node): Typedef renamed from NODE.
1c478461
FP
1858 (linebuffer): New typedef (was struct linebuffer).
1859 (pattern): New typedef (was struct pattern). Some members added.
1860 Now used as element of a linked list.
1861 (patterns, num_patterns): Global variables deleted.
1862 (p_head): New global variable.
a64387ee 1863 (forced_lang): New global variable (replaces lang_func).
02ce3e80
SM
1864 (get_language_from_name, get_language_from_interpreter)
1865 (get_language_from_suffix): Semantics changed. All callers changed.
1c478461 1866 (last_node): New global variable.
02ce3e80
SM
1867 (free_tree, add_node, put_entries, total_size_of_entries):
1868 Change name of local vars to avoid clashes with typedef node.
1c478461
FP
1869 (number_len): Rewritten for elegance.
1870 (token): New typedef replaces TOKEN.
1871 (analyse_regex, add_regex): Rewritten for new functionality.
1872 (free_patterns): New function called from main and add_regex.
1873 (initbuffer, readline_internal, readline, grow_linebuffer):
02ce3e80 1874 Change name of local vars to avoid clashes with typedef linebuffer.
1c478461
FP
1875 (readline): Rewritten for new functionality.
1876
1877 * etags.c: (Scheme_suffixes): New suffix ".ss".
1878 (print_help): --globals is now used for more than C-type languages.
1879 (Perl_functions): Tag global variables ("my" and "local").
1880
1881 * etags.c (print_help): Some messages clarified.
1882 (LOOP_ON_INPUT_LINES): New macro.
02ce3e80
SM
1883 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
1884 (Python_functions, Cobol_paragraphs, Pascal_functions)
1885 (Lisp_functions, Postscript_functions, Scheme_functions)
1886 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
1887 (Cobol_paragraphs, Postscript_functions, TeX_functions)
1888 (Prolog_functions, Erlang_functions): Use a local variable instead
1c478461
FP
1889 of the global variable dbp.
1890 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
1891 standard indentation.
1892
02ce3e80
SM
1893 * etags.c (Python_suffixes, lang_names, Python_functions):
1894 Python support.
1c478461 1895 (skip_spaces, skip_non_spaces): Utility functions.
02ce3e80
SM
1896 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
1897 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
1898 (prolog_pred, erlanf_func, erlang_attribute): Use them.
1c478461
FP
1899 (eat_white): Deleted.
1900
1901 * etags.c (CHAR, init): Keep into account non US-ASCII
1902 characters and compilers with default signed chars.
1903 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
1904 constructs.
1905
1906 * (C_stab_entry): "interface" in Java behaves like "class".
1907
1908 * etags.c: (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
1909 (main): Put interval syntax here.
1910 (add_regex): And remove it from here.
1911
1912 * etags.c (suggest_asking_for_help): Provide a
1913 meaningful help message with and without LONG_OPTIONS.
1914
1915 * etags.c: <io.h> [MSDOS]: Include it, don't include string.h.
1916 <stdlib.h, string.h>: Don't test MSDOS when including them.
1917 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
1918 (put_entries): Correctly use %ld instead of %d in printf.
1919
1920 * etags.c: <unistd.h> [HAVE_UNISTD_H]: Include conditionally, else
1921 declare getcwd if HAVE_GETCWD.
1922 (consider_token): Dead break instruction removed.
1923
4ee9629e
PE
19241999-10-19 Paul Eggert <eggert@twinsun.com>
1925
1926 Add support for large files. Merge glibc 2.1.2.
1c478461 1927
4ee9629e
PE
1928 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
1929 movemail.c, pop.c:
1930 Do not include <stdlib.h>, as <config.h> does this now.
1931
1932 * b2m.c, emacsserver.c, etags.c, profile.c:
1933 Include <config.h> before any system include files.
1c478461 1934
4ee9629e
PE
1935 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
1936 test-distrib.c:
1937 (read, write, open, close): Do not undef.
1938
1939 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
1940 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
1941
1942 * getopt.h: Adopt glibc 2.1.2.
1c478461 1943
93c8d183
DL
19441999-10-15 Dave Love <fx@gnu.org>
1945
1946 * Makefile.in (pop.o): Depend on config.h.
1947
b358f91c
GM
19481999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1949
1950 * pop.c: Use "pop3" as the POP service name on all platforms,
1951 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
1952 has been the standard service name since RFC 1340 was published in
1953 July 1992, so I think it's safe to start using it by default.
1954
362bc2da
DL
19551999-09-27 Dave Love <fx@gnu.org>
1956
1957 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
1958
74e4cb59
PR
19591999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
1960
1961 * make-docfile.c (scan_lisp_file): Fix previous changes;
1962 swallow CRLF like just CR or just LF.
1963
362bc2da
DL
19641999-09-03 Richard Stallman <rms@gnu.org>
1965
1966 * make-docfile.c: Include config.h not ../src/config.h.
1967 (main, fopen, chdir): Add #undef.
1968 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
1969 (scan_lisp_file): Handle \r like \n.
1970
19711999-08-30 Andreas Schwab <schwab@gnu.org>
1972
1973 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
1974
1975 * emacsserver.c: Include <stdlib.h> if available. Don't declare
1976 errno if it's a macro.
1977
1978 * test-distrib.c: Include <unistd.h> if available.
1979
19801999-08-29 Richard Stallman <rms@gnu.org>
1981
1982 * emacsclient.c (print_help_and_exit): Mention --version.
1983
19841999-08-25 Richard M. Stallman <rms@gnu.org>
1985
1986 * emacsclient.c (decode_options): Update version output.
1987 (print_help_and_exit): Update bug report address.
1988
19891999-08-13 Richard M. Stallman <rms@gnu.org>
1990
1991 * emacsclient.c (main): Move the dynamic allocation of
1992 system_name outside of the SERVER_HOME_DIR conditional.
1993 * emacsserver.c (main): Likewise.
1994
19951999-08-10 Gerd Moellmann <gerd@gnu.org>
1996
1997 * grep-changelog: New.
1998 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
1999
20001999-07-12 Richard Stallman <rms@gnu.org>
2001
2002 * Version 20.4 released.
2003
20041999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
2005
1c478461 2006 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
2007
20081999-06-23 Dave Love <fx@gnu.org>
2009
2010 * etags.c (erlang_attribute): Fix undefined variable usage (after
2011 Potorti).
2012
20131999-05-2 Andrew Innes <andrewi@gnu.org>
2014
2015 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
2016 mapped to _chsize.
2017
20181999-04-29 Richard M. Stallman <rms@gnu.org>
2019
2020 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
2021
20221999-03-30 Dave Love <fx@gnu.org>
2023
2024 * sorted-doc.c (main): Split up tables. Modify the preamble
2025 somewhat.
2026
20271999-03-05 Geoff Voelker <voelker@cs.washington.edu>
2028
2029 * makefile.nt: Remove common multiple file compilation commands.
2030
20311999-02-26 Richard Stallman <rms@gnu.org>
2032
2033 * Version 20.4 released.
2034
2035 * Makefile.in (yow): Depend on epaths.h, not paths.h.
2036
2037 * yow.c: Refer to epaths.h.
2038
20391999-02-22 Simon Josefsson <jas@pdc.kth.se>
2040
2041 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
2042
20431999-01-27 Andrew Innes <andrewi@gnu.org>
2044
2045 * makefile.nt: Do make version comparison as strings.
2046
20471999-01-25 Richard Stallman <rms@gnu.org>
2048
2049 * emacsclient.c (xmalloc): Fix previous change.
2050
20511999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
2052
2053 * emacsclient.c (xmalloc): Declare to return long.
2054
20551999-01-22 Geoff Voelker <voelker@cs.washington.edu>
2056
2057 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
2058 the case of the drive letter.
2059
20601999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
2061
2062 * emacsserver.c (main): Eliminate arbitrary limit on
2063 length of system_name.
2064
2065 * emacsclient.c (main): Eliminate arbitrary limit on
2066 length of system_name.
2067 (xmalloc): Define unconditionally.
2068
20691999-01-12 Darrin B. Jewell <jewell@mit.edu>
2070
2071 * etags.c (relative_filename): Stop backward search at beginning
2072 of string, since non-Unix systems can have absolute paths with no
2073 initial slash.
2074
20751998-12-08 Geoff Voelker <voelker@cs.washington.edu>
2076
2077 * makefile.nt: Do string comparision of _NMAKE_VER.
2078
c60ee5e7 20791998-11-03 Theodore Jump <tjump@cais.com>
362bc2da
DL
2080
2081 * makefile.nt: Compile multiple source files when possible.
2082
20831998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
2084
2085 * Makefile.in: Replace tabs with spaces
2086 when they might confuse some Make versions.
2087
20881998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
2089
2090 * emacsclient.c (main): Null-terminate system_name.
2091
2092 * emacsserver.c (main): Null-terminate system_name.
2093
20941998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2095
2096 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
2097 an error message from POP, mention that it's from POP, to
2098 distinguish it from local error messages.
2099
21001998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2101
2102 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
2103 order of messages downloaded from a POP server (e.g., if the
2104 server stores messages in mailboxes in reverse order).
2105
21061998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
2107
2108 * Version 20.3 released.
2109
21101998-08-11 Paul Eggert <eggert@twinsun.com>
2111
2112 * rcs2log: Update copyright date and bug report address.
2113 (initialize_fullname): Prefer getent if available.
2114
21151998-07-30 Paul Eggert <eggert@twinsun.com>
2116
2117 * lib-src/Makefile.in (REGEXPDEPS, regex.o):
2118 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 2119
362bc2da
DL
21201998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
2121
2122 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
2123
21241998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
2125
2126 * Makefile.in: Properly terminate a comment.
2127
21281998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
2129
2130 * movemail.c (sys_wait): Rename to wait.
2131
2132 * ntlib.h: Undefine _WINSOCKAPI_.
2133
2134 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
2135
21361998-05-30 Geoff Voelker <voelker@cs.washington.edu>
2137
2138 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
2139
21401998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
2141
2142 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
2143 all file i/o to be in binary mode. Include ntlib.h.
2144
21451998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
2146
2147 * make-docfile.c: Include <unistd.h> for chdir.
2148
21491998-04-25 Richard Stallman <rms@psilocin.gnu.org>
2150
2151 * etags.c (TEX_decode_env): Don't free the value getenv returns.
2152
21531998-04-17 Geoff Voelker <voelker@cs.washington.edu>
2154
2155 * makefile.nt (obj): Update with new files in src.
2156 (clean): Delete patch scratch files, optimized compilation dir.
2157
21581998-04-08 Dave Love <fx@gnu.org>
2159
2160 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
2161 Irix6, at least.
2162
21631998-04-06 Andreas Schwab <schwab@gnu.org>
2164
2165 Silence -Wimplicit:
2166 * movemail.c: Move cancelations up. Include <stdlib.h> if
2167 available.
2168 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
2169 (parse_header): Explicitly declare return type.
2170 * emacsserver.c: Include <unistd.h> if available.
2171 (main, handle_signals, perror_1, fatal_error): Explicitly declare
2172 return types. Add forward declarations.
2173 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
2174 Don't declare geteuid.
2175 (print_help_and_exit): Change return type to void. Forward
2176 declare it.
2177 * b2m.c: Include <stdlib.h> if available.
2178 (main): Explicitly declare return type.
2179
21801998-04-03 Richard Stallman <rms@delysid.gnu.org>
2181
2182 * etags.c (put_entries): Use %ld.
2183
2184 * b2m.c (fatal): Declare the arg.
2185
21861998-04-03 Richard Stallman <rms@psilocin.gnu.org>
2187
2188 * etags.c (put_entries): Use %ld.
2189
2190 * b2m.c (fatal): Declare the arg.
2191
21921998-03-26 Richard Stallman <rms@psilocin.gnu.org>
2193
2194 * pop.c (pop_getline): Renamed from getline.
2195
21961998-03-05 Richard Stallman <rms@psilocin.gnu.org>
2197
2198 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
2199 for the utilities.
2200
22011998-01-23 Dave Love <d.love@dl.ac.uk>
2202
2203 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
2204 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
2205 Always make named tags.
2206 (Fortran_functions): Grok BLOCK DATA.
2207
22081998-01-23 Andreas Schwab <schwab@gnu.org>
2209
2210 * movemail.c (main): Fix interwoven brace and cpp conditional
2211 nesting.
2212
22131997-12-04 Karl Heuer <kwzh@delysid.gnu.org>
2214
2215 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
2216 server to contain embedded nulls.
2217
22181997-12-03 Paul Eggert <eggert@delysid.gnu.org>
2219
2220 * movemail.c:
2221 (mbx_write) [MAIL_USE_POP]: Disable the code which quotes with a
2222 '>' any lines starting with "From " read from the POP server, but
2223 leave the code in place, wrapped in #ifdef
2224 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
2225 because it turns out that something is depending on it. Change
2226 suggested by Paul Eggert <eggert@twinsun.com>.
2227 Convert the character \037 (^_) at the beginning of a line into
2228 the character '^' followed by the character '_', because otherwise
2229 Emacs can't parse the resulting file as a valid BABYL file.
2230 Change suggested by Paul Eggert <eggert@twinsun.com>.
2231
22321997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2233
2234 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
2235 server to contain embedded nulls.
2236
22371997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 2238
362bc2da
DL
2239 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
2240 quotes with a '>' any lines starting with "From " read from the
2241 POP server, but leave the code in place, wrapped in #ifdef
2242 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
2243 because it turns out that something is depending on it. Change
2244 suggested by Paul Eggert <eggert@twinsun.com>.
2245
2246 Convert the character \037 (^_) at the beginning of a line into
2247 the character '^' followed by the character '_', because otherwise
2248 Emacs can't parse the resulting file as a valid BABYL file.
2249 Change suggested by Paul Eggert <eggert@twinsun.com>.
2250
22511997-11-22 Richard Stallman <rms@gnu.org>
2252
2253 * b2m.c: Include getopt.h.
2254 (main): Use getopt_long to handle --version and --help.
2255
2256 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
2257
22581997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2259
2260 * pop.c (fullwrite): Get rid of an extra call to write. Problem
2261 pointed out by Chiaki Ishikawa.
2262
22631997-10-16 Dave Love <d.love@dl.ac.uk>
2264
2265 * etags.c (L_getit): Always make named tags so that Emacs
2266 completion on symbols containing `:' etc. works.
2267 (get_scheme): Likewise.
2268
22691997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2270
2271 * pop.c: Use system header files instead of declaring C-library
2272 functions explicitly.
2273
22741997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2275
2276 * Version 20.2 released.
2277
22781997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2279
2280 * Version 20.1 released.
2281
22821997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
2283
2284 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
2285
2286 * ntlib.c (getpid): Delete function.
2287
22881997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2289
2290 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
2291
22921997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2293
2294 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
2295 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
2296
22971997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2298
2299 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
2300
23011997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
2302
2303 * profile.c (get_time): Cast arg to fprintf.
2304
2305 * hexl.c (main): Use %08lx instead of %08x in printf because the
2306 variable named addresses is long.
2307
23081997-08-08 Geoff Voelker <voelker@cs.washington.edu>
2309
2310 * makefile.nt (lisp): Update paths to lisp files that have moved.
2311
23121997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
2313
2314 * makefile.nt (ctags.obj): New target.
2315 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
2316
2317 * ntlib.h: Add includes.
2318 Undo definitions of crt routines from config.h.
2319
23201997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2321
2322 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
2323
23241997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2325
2326 * pop.c: Support auto-configuration of both Kerberos V4 and
2327 Kerberos V5 for movemail, including detection of V4 and V5 header
2328 files and libraries.
2329 Include <string.h> when STDC_HEADERS is defined, to get
2330 declarations of string functions.
2331 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
2332 V5 API rather than the old one.
2333 [KERBEROS] (socket_connection): Change a constant name from
2334 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
2335 with a constant in a header file.
2336
2337 * Makefile.in: Support auto-configuration of both Kerberos V4 and
2338 Kerberos V5 for movemail, including detection of V4 and V5 header
2339 files and libraries.
2340
23411997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2342
2343 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
2344
2345 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1c478461 2346
362bc2da
DL
23471997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2348
2349 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
2350
23511997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2352
2353 * movemail.c (rindex): Add declaration.
2354
2355Tue Jul 1 01:09:07 1997 Geoff Voelker <voelker@cs.washington.edu>
2356
2357 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
2358 (movemail.exe): Depend upon and link with getopt files.
2359 (obj): Include new source files.
2360 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
2361 (lisp): Include new and reorganized elisp files.
2362
23631997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2364
2365 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
2366
23671997-06-25 Paul Eggert <eggert@twinsun.com>
2368
2369 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
2370
23711997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
2372
2373 * b2m.c (readline): Terminate buffer properly when EOF seen.
2374 Test for valid pointer before dereferencing it.
2375
23761997-05-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2377
2378 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
2379 defined inside etags.c if HAVE_CONFIG_H is defined.
2380
23811997-05-29 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2382
2383 * etags.c: (logical): Type name changed to bool.
2384 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
2385 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
2386 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
2387 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
2388 (longopts): New long options without short counterpart are
2389 globals, members, no-globals, no-members. Regexp options are now
2390 defined conditionally to ETAGS_REGEXPS.
2391 (print_help): Updated.
2392
23931997-05-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2394
2395 * etags.c (C_entries): Use "." instead of "::" for Java.
2396 (consider_token): is_func renamed to is_func_or_var.
2397 (C_entries): is_func renamed to funorvar.
2398 (C_entries): Initialise tok.named.
2399 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
2400 get rid of "import", "package" and "friend".
2401 (fvdef): Renamed from funcdef. Also some constants renamed. All
1c478461 2402 users changed.
362bc2da
DL
2403 (C_entries): Make separate tags for variables separated by comma.
2404 (globals, members): New flags.
2405 (main, C_entries): Use them.
2406 (make_C_tag, C_entries): Make tok a global variable.
1c478461 2407
362bc2da
DL
24081997-05-16 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2409
2410 * etags.c (funcdef): New vignore constant.
2411 (consider_token, C_entries): Use it to tag global variables.
2412 (print_help): Update for global variables.
2413 (consider_token, C_entries): Set the len member of token_name.
2414 (prolog_pred): Cleanup according to GNU coding standards.
2415 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
2416 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
2417
24181997-05-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2419
2420 * etags.c (CHARS, CHAR): New constant and macro.
2421 (iswhite, begtoken, intoken, endtoken): Use them.
2422 (notinname, _nin, nonam): New macro, array, string.
2423 (init): Cleanup and init _nin.
2424 (new_pfnote): New function.
2425 (make_C_tag) [traditional_tag_style]: Use it.
2426 (traditional_tag_style): Costant set to TRUE for now.
2427
24281997-05-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2429
2430 * etags.c (C_entries, Pascal_functions): Cleanup.
2431 (TeX_functions): NULL as a function arg needs a cast.
2432 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
2433
24341997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2435
2436 * etags.c (TeX_functions): Cleaned up.
2437 (tex_getit): Removed.
2438
24391997-05-13 Paul Eggert <eggert@twinsun.com>
2440
2441 * rcs2log (files): When computing arguments automatically, ignore
2442 non-files within the RCS subdirectory.
2443
24441997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2445
2446 * etags.c (C_JAVA): New #define.
2447 (Cjava_suffixes): .java is Java.
2448 (Cjava_entries): New function.
2449 (lang_names): Add Java.
2450 (sym_type): Add st_C_javastruct for Java.
2451 (C_stab_entry): Add `extends' and `implements' keywords.
2452 (consider_token, C_entries): Recognise Java structures.
2453
24541997-05-12 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2455
2456 * etags.c: (Cplusplus_suffixes): .pdb is Postscript with C syntax.
2457 (Postscript_suffixes): .ps is Postscript.
2458 (lang_names): Add Postscript.
2459 (Postscript_functions): New function.
2460 (TEX_decode_env): Close minor memory leak.
2461 (just_read_file): Correct the char number of the tag.
2462
24631997-05-11 Paul Eggert <eggert@twinsun.com>
2464
2465 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
2466 Don't prepend $nl since this causes some shells to generate the
2467 empty string when IFS is $nl.
2468 (printlogline): Use SOH (octal code 1), not CR, since some
2469 PC-based shells mishandle CR.
2470 (initialize_fullname): Set NIS_PATH to the empty string before invoking
2471 nismatch, in case it's set to some nonstandard value.
1c478461 2472
362bc2da
DL
24731997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2474
2475 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
2476 read in separate blocks.
2477
24781997-04-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2479
2480 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
2481 (struct linebuffer): New member `len' is the length of the string.
2482 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
2483 Use it instead of strlen.
2484 (TEX_getit): Declare and define unconditionally as static.
2485 (TeX_functions): Use if instead of #if TeX_named_tokens.
2486 (add_regex): Set RE_INTERVALS flag for regex compilation.
2487 (substitute): Code cleanup.
2488 (readline_internal): Code cleanup, set new member `len'.
2489 (readline): Bug corrected.
2490
24911997-04-23 Geoff Voelker <voelker@cs.washington.edu>
2492
2493 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
2494 (obj): Change references of nt*.c files to w32*.c files.
2495
24961997-04-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2497
2498 * etags.c (xnew): Add support for debugging with chkmalloc.
2499 (error): Use this instead of printf whenever possible.
2500 (main): Only call xnew after having initialised progname.
2501 (substitute): Bad memory corruption error corrected.
2502
25031997-04-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2504
2505 * etags.c (add_regex): Undo previous change.
2506 (relative_filename): Small memory leak closed.
2507 (absolute_filename): Cleaned up the code, possibly closing a bug.
2508 (absolute_dirname): Always return a newly allocated string.
1c478461 2509
362bc2da
DL
25101997-03-21 Paul Eggert <eggert@twinsun.com>
2511
2512 * rcs2log (files): Ignore files in RCS directory whose names are
2513 of the form ,*, or *_; they are probably RCS lock files.
2514 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
2515 they are used by rcsfreeze.
2516
25171997-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2518
2519 * etags.c (add_regex): reset *putbuf before using it.
2520
25211997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2522
2523 * movemail.c (popmail): Remove some unnecessary function
2524 declarations.
2525 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
2526 into pop_retr, there's no reason to pass in mbx_write, and the
2527 file argument can be declared FILE * explicitly. This fixes a
2528 compilation problem on systems with 64-bit pointers.
2529
25301997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2531
2532 * movemail.c: Delete duplicate inclusion of fcntl.h
2533 and duplicate #undefs of open, read, write, close.
2534
25351997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2536
2537 * movemail.c (main): Do not display "[POP-password]" in the usage
2538 message when movemail is compiled without POP support.
2539 (main, popmail): Add the optional "-p" argument, which causes
2540 movemail to leave mail in the inbox after copying it into the
2541 output file.
1c478461 2542
362bc2da
DL
2543 * Makefile.in (movemail): Link with getopt.
2544
25451997-01-20 Paul Eggert <eggert@twinsun.com>
2546
2547 * rcs2log: (--help, --version): New options, per GNU coding standards.
2548 (Copyright, Help, Id): New variables, for above.
2549 (rlog): Use -q option with cvs log, to avoid useless chatter.
2550
2551 Treat logs of "Initial revision" (RCS) or "file F was initially added
2552 on branch B." (CVS) as if they said "New file.", for consistency with
2553 change log entries.
2554
25551997-01-01 Paul Eggert <eggert@twinsun.com>
2556
2557 * vcdiff (PATH): Add /usr/xpg4/bin,
2558 where XPG4 SCCS hangs out in Solaris 2.5.
2559 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
2560
25611996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2562
2563 * etags.c (streq, strneq): Use == NULL rather than !.
2564
25651996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
2566
2567 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
2568 (movemail): Use LIBMAIL, to link against -lmail.
2569
2570 * movemail.c: Include maillock.h (conditionally).
2571 Remove a redundant inclusion of <stdio.h>.
2572 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
2573 (main): Add variable spool_name.
2574 Support the usage of maillock and mailunlock to
2575 lock and unlock mailboxes.
2576 (mail_spool_name): New function.
2577
2578 * movemail.c: Fix an uninitialized variable which could cause
2579 movemail to exit with an error status incorrectly on systems which
2580 use lock files rather than a system locking function to lock
2581 mailboxes.
2582
25831996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2584
2585 * pop.c (socket_connection): Free realhost after using it.
2586
25871996-12-04 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2588
2589 * etags.c (C_entries): Test tok.valid. This handles some
2590 particular cases involving function declarations that failed.
2591
25921996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 2593
362bc2da
DL
2594 * pop.c (socket_connection):
2595 gethostbyname may return a pointer to static data.
2596 krb_realmofhost can clobber it. So copy it.
2597
25981996-11-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2599
2600 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
2601 must cast it to (char *) because we have no prototypes.
2602 (make_C_tag): Macro deleted, new function.
2603 (C_entries): Calls to make_C_tag macro changed to call function.
2604
26051996-11-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2606
2607 * etags.c (grow_linebuffer): New function.
2608 (GROW_LINEBUFFER): Macro deleted. All callers changed.
2609 (make_tag): Macro renamed to make_C_tag. All callers changed.
2610 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
2611 (Prolog_functions): prolog_skip_comment was called with wrong
2612 number of arguments.
2613 (xrealloc): fatal was called with wrong number of arguments
2614
26151996-11-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2616
2617 * etags.c (relative_filename): Bug corrected.
2618 (etags_getcwd): Avoid warning of unused variable.
2619 (C_entries, consider_token): Added support for enum labels.
2620
26211996-11-03 Paul Eggert <eggert@twinsun.com>
2622
2623 * rcs2log: When processing cvs log output, remove `Attic/' from
2624 repository file names.
2625
26261996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
2627
2628 * emacsserver.c: Fix 1996-09-02 change.
2629
26301996-10-12 Paul Eggert <eggert@twinsun.com>
2631
2632 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
2633 option', since CVS says 'invalid option'.
2634 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
2635 revisions, since some hosts reject 1970-01-01 when east of UTC.
2636 (date): Remove.
2637
26381996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2639
2640 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
2641
26421996-10-02 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2643
2644 * etags.c (print_version): Print copyright info.
2645
2646 * etags.c (print_help): Print the bug reporting address.
2647 (main): Use return as the last instruction, instead of exit.
2648
2649 * etags.c (main): Don't open the tags file in cxref mode.
2650
26511996-09-29 Dave Love <d.love@dl.ac.uk>
2652
2653 * rcs2log (date): Make default format acceptable to CVS post v1.8
2654 as well as earlier CVSs and RCS.
2655
26561996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2657
2658 * movemail.c (main): If the lock call fails with EBUSY or
2659 EAGAIN, retry a few times.
2660
26611996-09-25 Paul Eggert <eggert@twinsun.com>
2662
2663 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
2664 whether to append -zLT.
2665
26661996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2667
2668 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
2669 * emacsclient.c, movemail.c: Likewise.
2670
26711996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2672
2673 * emacsclient.c (longopts): Change nowait to no-wait.
2674 (print_help_and_exit): Fix option name; upcase metavars.
2675
26761996-09-06 Erik Naggum <erik@naggum.no>
2677
2678 * emacsserver.c (main): Declare `fromlen' as size_t.
2679
26801996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
2681
2682 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
2683
26841996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2685
2686 * emacsclient.c (quote_file_name): Quote with &, not \.
2687 Quote `-' only at start of file name. Terminate the value string.
2688
2689 * emacsserver.c: Include signal.h properly;
2690 delete the duplicate includes for it.
2691
2692 * emacsserver.c: On fatal signal, delete socket-file:
2693 * emacsserver.c: Include signal.h.
2694 (xmalloc, fatal, error): New functions.
2695 (delete_socket, handle_signals): New functions.
2696 (progname, socket_name): New variables.
2697 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
2698
26991996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2700
2701 * emacsclient.c (quote_file_name): New function.
2702 (main, both versions): Use quote_file_name.
2703 (decode_options): Don't return a value.
2704 (main, both versions): Use optind.
2705 Don't check for -nowait here.
1c478461 2706
362bc2da
DL
2707 * emacsclient.c (decode_options): New function.
2708 (main, both versions): Call decode_options.
2709 (print_help_and_exit): New function.
2710 (VERSION): New macro.
2711
2712 * Makefile.in (emacsclient): Link with getopt.
2713 Add -DVERSION so emacsclient knows its version number.
2714
27151996-08-31 Geoff Voelker <voelker@cs.washington.edu>
2716
2717 * makefile.nt (lisp): Include dos-nt.elc.
2718
27191996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2720
2721 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
2722
27231996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2724
2725 * emacsclient.c (both versions): Handle -nowait and --nowait
2726 by sending data to the server.
2727
27281996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2729
2730 * Makefile.in (INSTALL_STRIP): New variable.
2731 (${archlibdir}): Use INSTALL_STRIP.
2732
2733 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
2734 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
2735
2736 * pop.c: Reverse conditional in previous change.
2737
27381996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2739
2740 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
2741
27421996-08-24 Paul Eggert <eggert@twinsun.com>
2743
2744 * rcs2log: Use ISO 8601 date format, with time zone appended
2745 if change-log-time-zone-rule is non-nil, instead of
2746 traditional Unix date format.
2747
2748 (datearg): When computing default from ChangeLog, handle ISO format
2749 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
2750 Don't worry about hh:mm:ss since the resolution is now by day.
2751 Use emtpy datearg, not empty rlog_options, to decide whether to pass
2752 "$datearg" option to $rlog.
2753 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
2754 (month_data): Remove `mo'; no longer needed.
2755 (rlog_options): Use -zLT for localltime output, if `rlog' supports it.
2756
2757 Match `revision' line of rlog output more accurately.
2758
2759 Add -c, -v options.
2760
27611996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
2762
2763 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
2764
27651996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2766
2767 * Version 19.33 released.
2768
27691996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2770
2771 * Version 19.32 released.
2772
27731996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
2774
2775 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
2776 computing character positions in source files.
2777
27781996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
2779
2780 * makefile.nt (clean): Use OBJDIR macro.
2781
27821996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2783
2784 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
2785
c60ee5e7 27861996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
362bc2da
DL
2787
2788 * cvtmail.c, sorted-doc.c, yow.c: [__GNU_LIBRARY__]: Use <string.h>.
2789 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
2790 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
2791
27921996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
2793
2794 * ntlib.h: Correct return type of getwd.
2795 * ntlib.c (getwd): Correct return type.
2796
27971996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2798
2799 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
2800 to infile.
2801
28021996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
2803
2804 * makefile.nt: Remove all references to wakeup.
2805
28061996-06-28 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2807
2808 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
2809 explicit, mutable, typename.
2810
28111996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2812
2813 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
2814 streams, one for sending and one for reading the reply.
2815
28161996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2817
2818 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
2819 (wakeup): Target deleted.
2820 (UTILITIES): Delete wakeup and timer.
2821
2822 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
2823
28241996-06-11 Geoff Voelker <voelker@cs.washington.edu>
2825
2826 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
2827 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
2828
28291996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2830
2831 * etags.c (main): Copy cwd when appending slash.
2832
28331996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
2834
2835 * Version 19.31 released.
2836
28371996-05-17 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2838
2839 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
2840 (Pascal_functions): Increase linecharno by the correct number of
2841 chars, inline the GET_NEW_LINE macro and delete its definition.
2842
c60ee5e7 28431996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
2844
2845 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
2846
c60ee5e7 28471996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
2848
2849 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
2850 (movemail.exe, fakemail.exe): Now built under Win32.o
2851
2852 * ntlib.c: Include ntlib.h.
2853 (nt_sleep): Rename to sleep.
2854 (getwd): Return directory.
2855 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
2856 sys_ctime, sys_fopen): New functions.
2857
2858 * ntlib.h: New file.
2859
28601996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
2861
2862 * pop.c (SEND, RECV): Renamed from send, recv.
2863 (pop_open, pop_trash): Make the trash_started code unconditional.
2864 (socket_connection): Delete casts to void.
2865
28661996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
2867
2868 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
2869 copied from lisp.h.
2870
28711996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
2872
2873 * fakemail.c [WINDOWSNT]: Include ntlib.h.
2874
2875 * hexl.c [DOSNT]: Include fcntl.h.
2876 [WINDOWSNT]: Include io.h.
2877 (main) [MSDOS]: Change conditional to DOS_NT.
2878
2879 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
2880 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
2881 [WINDOWSNT]: Include locking.h.
2882 (main): Update usage message. Use IS_DIRECTORY_SEP.
2883 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
2884 (main) [WINDOWSNT]: Invoke locking instead of flock.
2885 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
2886 (main) [MAIL_USE_POP]: Pass password to popmail if used.
2887 Include winsock.h; don't include unix inet headers.
2888 (popmail): Add password argument and pass it to pop_open.
2889 Open output file in binary mode.
2890
2891 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1c478461 2892 Macro SOCKET_ERROR undefined.
362bc2da
DL
2893 Don't declare h_errno.
2894 [!WINDOWSNT]: Define macros recv and send.
2895 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
2896 (pop_open) [WINDOWSNT]: Initialize trash_started.
2897 (have_winsock) [WINDOWSNT]: New variable.
2898 (socket_connection) [WINDOWSNT]: Initialize winsock.
2899 (socket_connection): Use closesocket instead of close.
2900 (getline): Use recv instead of read.
2901 (fullwrite): Use send instead of write.
2902 (pop_trash): Use closesocket instead of close.
2903 (pop_trash) [WINDOWSNT]: Cleanup winsock.
2904 Check if being called recursively by sendline.
2905
2906 * pop.h (struct _popserver): New field trash_started.
2907
2908 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
2909
29101996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2911
2912 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
2913
29141996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2915
2916 * etags.c [WINDOWSNT]: Include io.h.
2917
29181996-04-10 Geoff Voelker <voelker@cs.washington.edu>
2919
2920 * makefile.nt (CTAGSOBJ): Compile with regexp support.
2921
29221996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
2923
2924 * hexl.c [DJGPP v2]: Include io.h.
2925 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
2926
2927 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
2928 DJGPP v2.
2929
29301996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2931
2932 * etags.c (absolute_filename): Use absolutefn.
2933
29341996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
2935
2936 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
2937 letter isn't an alphabetic character.
2938 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
2939 (process_file) [DOS_NT]: Convert all slashes to forward style.
2940 (absolute_filename) [DOS_NT]: Emit error message for relative
2941 paths with a drive letter.
2942 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
2943 DOS/NT drive letters which try to reference the parent of the root.
2944 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
2945
29461996-03-27 Geoff Voelker <voelker@cs.washington.edu>
2947
2948 * makefile.nt: Change uses of del to $(DEL).
2949
29501996-03-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2951
2952 * etags.c (just_read_file): Reset lineno and charno on entry.
2953
29541996-03-15 Anders Lindgren <andersl@csd.uu.se>
2955
2956 * etags.c: Prolog language totaly rewritten.
2957 (Prolog_functions): Rewritten from scratch.
2958 (skip_comment, prolog_getit): Removed.
2959 (prolog_skip_comment): New function, like old skip_comment.
2960 (prolog_pred, prolog_atom, prolog_white): New functions.
2961 (erlang_func, erlang_attributes): Forward declarations added.
2962 (erlang_atom): Check if backslash ends line inside quoted atom.
2963
29641996-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2965
2966 * etags.c (absolutefn): DOS_NT version corrected.
2967 (main): Append "/" to the dir name only if not already there.
2968 (print_help): Explain the absolute/relative file name issue.
1c478461 2969
362bc2da
DL
29701996-03-08 Anders Lindgren <andersl@csd.uu.se>
2971
2972 * etags.c: New Languange Erlang added.
2973 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom,
2974 erlang_white): New functions.
2975 (Erlang_suffixes): New suffix list.
2976 (lang_names): Erlang entry added.
2977 (prolog_getit): Accepts headers spanning several lines.
2978 Always name tags.
2979 (Prolog_functions): Removed incorrect compensation for
2980 newline characters.
2981 (readline_internal): Zero-terminate last line.
2982
29831996-03-20 Mike Long <mike.long@analog.com>
2984
2985 * b2m.c (main): Initialize progname variable before using it.
2986 Quote `username' in From_ header.
2987
29881996-03-18 Geoff Voelker <voelker@cs.washington.edu>
2989
2990 * ntlib.c (getpid): New function.
2991
29921996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2993
2994 * emacsclient.c (main, both definitions):
2995 Print a newline for normal termination.
2996
29971996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
2998
2999 * tcp.c (main): Convert port to network byte order.
3000
30011996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
3002
3003 * pop.c (pop_retrieve, getline): Avoid type clashes.
3004
30051996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
3006
3007 * etags.c (enum sym_type, anonymous enum): Delete final comma.
3008
30091996-01-15 Paul Eggert <eggert@twinsun.com>
3010
3011 * rcs2log (initialize_fullname): Add support for NIS+.
3012 (hostname): Fully qualify the default hostname with the domainname
3013 if the hostname lacks a `.'.
3014
30151996-01-15 Paul Eggert <eggert@twinsun.com>
3016
3017 * rcs2log (initialize_fullname): Add support for NIS+.
3018 (hostname): Fully qualify the default hostname with the domainname
3019 if the hostname lacks a `.'.
3020
30211996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
3022
3023 * etags.c (consider_token): Fix typo in expression.
3024
30251996-01-04 Paul Eggert <eggert@twinsun.com>
3026
3027 * etags.c (substitute): Fix spelling in message.
3028
30291996-01-03 George V. Reilly <georger@microcrafts.com>
3030
3031 * makefile.nt (etags, ctags): Compile with regexp support.
3032 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
3033 subdirectory exists before compiling.
1c478461 3034
362bc2da
DL
30351996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
3036
3037 * emacsserver.c (main): Do chmod based on existing permission.
3038
30391995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3040
3041 * Makefile.in (install): Turn on read/execute permission.
3042
30431995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3044
3045 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
3046 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
3047
30481995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3049
3050 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
3051
30521995-12-07 Francesco Potorti` <pot@cnuce.cnr.it>
3053
3054 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
3055 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
3056 get_scheme, prolog_getit): Name the tag in ctags mode.
3057 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
3058 (Perl_interpreters): Accept "@PERL@" as an interpreter.
3059 (suggest_asking_for_help): New function.
3060 (main, get_language_from_name): Use suggest_asking_for_help.
3061 (main): Let get_language_from_name make language existence check.
3062 (streq, strneq): Check the arguments #if DEBUG.
3063
30641995-12-06 Francesco Potorti` <pot@cnuce.cnr.it>
3065
3066 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
3067 (gperf): Added keywords for Objective C and GNU macros.
3068 (sym_type): Added values to account for Objective C and GNU macros.
3069 (begtk): The '@' character can start a token.
3070 (objdef, methodlen, objtag): New variables for Objective C.
3071 (consider_token, C_entries): Added code for Objective C.
3072 (plain_C_suffixes): Add .m and .lm for Objective C.
3073 (Yacc_suffixes): Add .ym for Objective yacc.
3074 (GROW_LINEBUFFER): New macro.
3075 (consider_token, C_entries, Pascal_functions): Use the new macro.
3076 (consider_token): Take one more argument. Caller changed.
3077 (consider_token): Use the hashing function to spot GNU macros.
3078 (C_entries): Consider // as a comment start even in plain C for
3079 the sake of Objective C parsing.
3080
c60ee5e7 30811995-12-04 Francesco Potorti` <pot@cnuce.cnr.it>
362bc2da
DL
3082
3083 * Makefile.in (ctags): depend on etags only for simplicity;
3084 compile with regexp support enabled.
3085
30861995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3087
3088 * Version 19.30 released.
3089
30901995-11-22 Geoff Voelker <voelker@cs.washington.edu>
3091
3092 * makefile.nt (DOC, clean): Don't use switches to del not
3093 supported by Windows 95.
3094
30951995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3096
3097 * Makefile.in (regex.o): Depend on ../src/config.h.
3098
30991995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3100
3101 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
3102 (LOADLIBES): Use LIB_STANDARD.
3103
31041995-11-07 Kevin Gallo <kgallo@microsoft.com>
3105
3106 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
3107 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
3108 Windows 95 conditional.
3109
31101995-11-06 Francesco Potorti` (pot@cnuce.cnr.it)
3111
3112 * etags.c (get_lang_from_name, get_lang_from_interpreter,
3113 get_lang_from_suffix): New functions.
3114 (get_language): Function deleted.
3115 (lang_entry): Two members added to struct.
3116 (lang_names): Reflect the new layout of lang_entry.
3117 (print_language_names, main, find_entries): Use the new functions.
3118 (find_entries): Look at the first line for #! if no language.
3119 (C_entries): Invalidate the token when funcdef is reset.
3120 (Perl_functions): New function.
3121 (lang_suffixes): .pl and .pm are Perl suffixes.
3122
31231995-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
3124
3125 * etags.c (lowcase): Use the standard tolower function.
3126 (substitute): Remove some wrong and some useless code related with
a64387ee 3127 escape '\' character in regexp replacement string.
362bc2da
DL
3128 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
3129 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
3130 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
3131 .prolog for prolog (.pl removed).
3132 (massage_name, etags_getcwd): Use lowcase instead of tolower.
3133 (C_entries, find_entries): Added comments about memory leakage.
3134 (add_node): Dead code removed.
3135
31361995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3137
3138 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
3139 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
3140
31411995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3142
3143 * test-distrib.c: Add #undef for open, close, read, write.
3144
31451995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3146
3147 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
3148 [! O_RDONLY]: Define it to zero.
3149 (main): Use O_RDONLY instead of explicit zero.
3150
31511995-08-17 Francesco Potorti` (pot@cnuce.cnr.it)
3152
3153 * etags.c (Pascal_functions): Close comment bug corrected.
3154 (add_node): Correctly compare node file names.
3155 (Pascal_functions): Correctly allocate and free memory for tline.
3156 (pfnote): Put the definition of fp in the innermost block.
3157 (NODE): `named' member removed.
3158 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1c478461 3159 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
3160 (pfnote): `named' argument removed, all callers changed.
3161 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
3162 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1c478461 3163 removed from pfnote call, some code cleanup.
362bc2da
DL
3164 (relative_filename): Free temporary space allocated by concat.
3165
31661995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3167
3168 * Makefile.in (getdate.c): New target.
3169 (getdate.o): Just compile getdate.c.
3170
31711995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
3172
3173 * fakemail.c (xrealloc): Change cast to match return type.
3174
31751995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3176
3177 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
3178
31791995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3180
3181 * movemail.c (main): Fix previous change.
3182 Add error check for empty OUTNAME.
3183
31841995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3185
3186 * movemail.c (main): Mention lock file name in error message.
3187
31881995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3189
3190 * profile.c (gettimeofday): New function, defined if necessary.
3191
31921995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3193
3194 * Makefile.in: Renamed from Makefile.in.in.
3195 (distclean): Delete Makefile.c, not Makefile.in.
3196
31971995-07-17 Michael Shields <shields@tembel.org>
3198
3199 * Makefile.in.in (tags): Synonym for `TAGS'.
3200
32011995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3202
3203 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
3204 configure has already set $(INSTALL) to the proper relative path.
3205
32061995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
3207
3208 * etags.c (plain_C_entries): new function.
3209 (lowcase): new macro.
3210 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
3211 (lang_suffixes): new suffix ".pc" for Pro*C files.
3212 (consider_token): don't tag all tokens beginning with DEFUN & Co..
3213 (tail): look for the end of the token when comparing.
3214 (takeprec): since now tail behaves differently, use strneq.
3215
32161995-07-08 Paul Eggert <eggert@twinsun.com>
3217
3218 * rcs2log (datearg): Separate date from time with comma, not space,
3219 to work around CVS 1.5 bug.
3220 (CVSROOT): Don't abort when unset if repository is absolute.
3221
32221995-07-07 Paul Eggert <eggert@twinsun.com>
3223
3224 * rcs-checkin, rcs2log, vcdiff:
3225 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
3226 that interpret `#! /' as a 4-byte magic number.
3227
32281995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
3229
3230 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
3231 mailbox with "po:mailbox", the mailbox is everything after the
3232 "po:" prefix.
3233
32341995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3235
3236 * emacsserver.c: Make all error messages start with `Error: '.
3237 (fatal_error, perror_1): New functions, use throughout.
3238
32391995-06-28 Paul Eggert <eggert@twinsun.com>
3240
3241 * rcs2log (CVSROOT, repository):
3242 Allow remote repositories a la CVS 1.4.
3243
32441995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
3245
3246 * etags.c (plain_C_entries): new function.
3247 (lowcase): new macro.
3248 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
3249 (lang_suffixes): new suffix ".pc" for Pro*C files.
3250 (consider_token): don't tag all tokens beginning with DEFUN & Co..
3251 (tail): look for the end of the token when comparing.
3252 (takeprec): since now tail behaves differently, use strneq.
3253
32541995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3255
3256 * movemail.c (main): Add newline in usage message.
3257
32581995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3259
3260 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
3261
32621995-06-21 Francesco Potorti` (pot@cnuce.cnr.it)
3263
3264 * etags.c (find_entries): Rewind before rereading the input file.
3265
32661995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3267
3268 * Version 19.29 released.
3269
3270 * make-docfile.c (main) [MSDOS]: Do set _fmode.
3271 This undoes part of the previous change.
3272
32731995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3274
3275 * make-docfile.c (main): On MSDOS, don't change stdout
3276 to binary, and insist on an -o option.
3277
32781995-06-13 Geoff Voelker <voelker@cs.washington.edu>
3279
3280 * etags.c (process_file,absolute_filename): Handle filenames
3281 starting with a drive letter.
3282
3283 * makefile.nt (install): Copy wakeup.exe properly.
3284
32851995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
3286
3287 * make-docfile.c [MSDOS]: #undef chdir.
3288
32891995-06-04 Paul Eggert <eggert@twinsun.com>
3290
3291 * rcs2log (output_authors): Allow ':' in time zone,
3292 as per ISO 8601 and RCS 5.6.8 beta.
3293
32941995-05-29 Francesco Potorti` (pot@cnuce.cnr.it)
3295
3296 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
3297 compatibility problems.
3298
32991995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
3300
3301 * etags.c (etags_getcwd): Don't use #elif.
3302 Have just one function body.
3303
33041995-05-25 Geoff Voelker <voelker@cs.washington.edu>
3305
3306 * makefile.nt (LIBS): Use BASE_LIBS.
3307 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
3308 upon LIBS.
3309 (DOC): Use del instead of rm.
3310 (DOC) [WINDOWS95]: Use DOC.
3311 (clean): Handle MSVC aux files.
3312 (config.h,paths.h): Use $(CP) instead of cp.
3313 (config.h): Use $(CONFIG_H)
3314 (make-docfile.obj): Depend upon config.h.
3315 Clean up comments.
3316
33171995-05-23 Francesco Potorti` (pot@cnuce.cnr.it)
3318
3319 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
3320 former gives the true path even in the presence of simlinks.
3321
33221995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3323
3324 * movemail.c (main): Increase lock timeout to five minutes.
3325
33261995-05-06 Geoff Voelker <voelker@cs.washington.edu>
3327
3328 * makefile.nt (obj): Use .c files.
3329
33301995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3331
3332 * make-docfile.c: Include config.h.
3333 (NO_SHORTNAMES): New definition.
3334 (xmalloc): Return long *.
3335
3336 * etags.c (C_entries): Cast result of xrealloc.
3337 (xmalloc, xrealloc): Declare them to return long *.
3338
3339 * b2m.c (xmalloc, xrealloc): Declare them long *.
3340
3341 * movemail.c (xmalloc): Declare it to return long *.
3342
33431995-04-30 Paul Eggert <eggert@twinsun.com>
3344
3345 * rcs2log (datearg): If rlog options are specified explicitly,
3346 omit the implicit '-d>DATE' option.
3347 (repository, rlog): Allow absolute paths to CVS repositories.
3348 Look only at the first line of CVS/Repository.
3349
33501995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
3351
3352 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
3353 realclean.
3354
33551995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3356
3357 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
3358 Alternative (empty) definitions.
3359
33601995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3361
3362 * emacsclient.c (main): Add argv[0] to an error message.
3363
33641995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
3365
3366 * emacsclient.c (main): Improve error handling.
3367 * cvtmail.c (main, skip_to_lf): Improve error handling.
3368 (sysfail): New function.
3369
3370 * b2m.c (main): Check for trailing ", " before trying to delete it.
3371
33721995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3373
3374 * Makefile.in.in (all): Build test-distrib and make-docfile.
3375
3376 * make-docfile.c (scan_c_file): At end, restore file name last char
3377 to its original value.
3378
33791995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3380
3381 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
3382
33831995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3384
3385 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
3386 (alloca.o, regex.o): Use BASE_CFLAGS.
3387
33881995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3389
3390 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
3391
33921995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
3393
3394 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
3395 (SOURCES, distclean): Removed obsolete references to aixcc.
3396
33971995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3398
3399 * aixcc.lex: File deleted--surely obsolete now.
3400
34011995-03-23 Paul Eggert <eggert@twinsun.com>
3402
3403 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
3404 portability to mawk and nawk.
3405
34061995-03-21 Paul Eggert <eggert@twinsun.com>
3407
3408 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
3409 -u "login<tab>fullname<tab>mailaddr".
3410
34111995-03-21 Paul Eggert <eggert@twinsun.com>
3412
3413 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
3414 replaces the (now obsolescent) -n login fullname mailaddr option.
3415 Add -R option for recursive rlog.
3416 (AWK): New environment variable (default `awk') for awk program name.
3417 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
3418 Quote authors and fullnames correctly.
3419 Don't omit path from repository root when logging CVS files.
3420
34211995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3422
3423 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
3424 even if HAVE_SYSVIPC.
3425 * emacsclient.c (main): Use getcwd if not BSD.
3426
34271995-03-13 Francesco Potorti` (pot@cnuce.cnr.it)
3428
3429 * etags.c (process_file): free (filename) after using it.
3430 (readline_internal): Do not access the char before start of line.
3431
34321995-02-22 Francesco Potorti` (pot@cnuce.cnr.it)
3433
3434 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
3435 savetok.valid. Mark token as valid when it is initialised.
3436 (make_tag): Make token only if token is valid and reset validity.
3437 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
3438 (TOKEN): Added a new member: valid.
3439
34401995-02-15 Francesco Potorti` (pot@cnuce.cnr.it)
3441
3442 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
3443 (main): Do not read twice the last filename in the stdin file list.
3444
34451995-02-14 Francesco Potorti` (pot@cnuce.cnr.it)
3446
3447 * etags.c (C_entries): Initialise the new members of TOKEN.
3448 (C_entries): Do not allocate a new space for each token found by
3449 consider_token. Let make_tag do that instead.
3450 (make_tag): Since now TOKEN has memory of where it is taken from,
3451 this new macro substitutes both make_tag_from_new_lb and
3452 make_tag_from_oth_lb. All callers changed.
3453 (TOKEN): Add linepos and buffer members.
3454 (main): Initialise token_str.
3455 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
3456 (token_str): New global variable used by C_entries.
3457
34581995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
3459
3460 * Makefile.in.in (maintainer-clean): Renamed from realclean.
3461
34621995-02-01 Francesco Potorti` (pot@cnuce.cnr.it)
3463
3464 * etags.c (pfnote): Initialise been_warned in the node.
3465 (C_entries): Removed a speed hack for the sake of clarity.
3466
34671995-01-18 Francesco Potorti` (pot@cnuce.cnr.it)
3468
3469 * etags.c (longopts, print_help, main): Use -I as abbreviation
3470 for the --ignore-indentation option.
3471 (main): Do not print an error message for unknown options.
3472
34731995-01-12 Francesco Potorti` (pot@cnuce.cnr.it)
3474
3475 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
3476 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
3477 constantypedefs, update, vgrind_style, no_warnings,
3478 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
3479 (permit_duplicates): Was a var, now a #define.
3480 (filename_lb): Was global, now local to main.
3481 (main): Open the tag file when in cxref mode.
3482 Use a BUFSIZ size buffer for making the shell commands.
3483 Look at the return value from the system routine.
3484 Exit when cannot open the tag file.
3485 (process_file): Open the file and pass the FILE* to find_entries.
3486 (find_entries): Now void, because does not open the file itself.
3487 (pfnote): Recovering from lack of memory does not work. Removed.
3488 Use savenstr and simplify the code.
3489 (free_tree): Only free the name space if node is named.
3490 (structtag): Now a pointer, not a fixed length array of chars.
3491 (consider_token): Don't take a token as argument. Use savenstr
3492 when saving a tag in structtag. Callers changed.
3493 (TOKEN): Structure changed. Now used only in C_entries.
3494 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
3495 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
3496 (pfcnt): Deleted. Users updated.
3497 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
3498 TEX_getit, prolog_getit): Use dinamic allocation for storing
3499 the tag instead of a fixed size buffer.
3500
35011995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3502
3503 * movemail.c (main): Skip past the colon in inname.
3504
35051995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
3506
3507 * etags.c (pfatal): New function.
3508 (main, etags_getcwd): Use pfatal.
3509 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
3510
35111995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
3512
3513 * etags.c (Lang_function): Use void instead to declare the
3514 language functions, because many compilers are buggy.
3515 (etags_getcwd): Fix the previous fix on the #else branch.
3516 (readline_internal): Discard possible \r before \n here.
3517 (C_entries): Do not deal with \r here: undo previous fix.
3518
dff28924 35191995-01-09 Francesco Potorti` (pot@fly)
362bc2da
DL
3520
3521 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
3522 functions and a macro that allow the program to work on input
3523 lines of whatever length. Copied from etags.c.
3524 (fatal): Print a fatal error message and exit.
3525 (main): Use the new functions. Fixed a bug that made a \037 char
3526 appear at the end of the output.
3527
35281995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3529
3530 * etags.c (C_entries): Ignore carriage return at end of line.
3531
35321994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3533
3534 * fakemail.c (xmalloc, xrealloc): Add casts.
3535 (add_field): Handle <...> and "..." syntax.
3536 (setup_files, get_keyword): Clean up parens and line breaks.
3537 (args_size): Likewise.
3538
35391994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
3540
3541 * yow.c: Include program name in error messages.
3542
35431994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3544
3545 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
3546 (xmalloc, fatal, error): New functions.
3547 (progname): New variable.
3548 (main): Set progname.
3549
35501994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3551
3552 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
3553 (main): If socket/mqueue name is in home dir, add in the host name.
3554 Rename .emacs_server to .emacs-server....
3555
35561994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3557
3558 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
3559
35601994-11-22 Francesco Potorti` (pot@cnuce.cnr.it)
3561
3562 * etags.c (print_help): print --regex usage for ctags also.
3563 (main): use -h in addition to -H as abbreviation for --help.
3564
35651994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
3566
3567 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
3568 is compiled if this is defined. The new functions and variables
3569 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
3570 [VMS]: All VMS specific code previously contained in
3571 etags-vmslib.c is now included here, modified for dealing with
3572 language and regex options intermixed with filenames.
3573 (header_file): Global variable deleted.
3574 (Lang_Function): New typedef. All language parser functions
3575 changed to this new type.
3576 (string_numeric_p, substr, prestr): Functions deleted.
3577 (readline_internal): Does the job that readline did previously.
3578 (longopts): --language and --regex options added.
3579 (lang_names, lang_extensions, lang_func, print_language_names):
3580 New structures, variables and functions for choosing languages.
3581 (print_help): Help strings updated. Calls print_language_names.
3582 (argument_type, ARGUMENT): Typedefs for dealing with language and
3583 regex options intermixed with filenames.
3584 (main): Changed the way of dealing with arguments on the command
3585 line to deal with language and regex options intermixed with
3586 filenames.
3587 (get_language, default_C_entries, Cplusplus_entries,
3588 Cstar_entries, Yacc_entries, just_read_file): New functions.
3589 (find_entries): Use the new method for choosing the language.
3590 (Pascal_functions): Allow intermixing of comment styles.
3591 (prolog_getit, skip_comment): Rewritten for speed.
3592 (readline): Rewritten to deal with regexps.
3593
35941994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
3595
3596 * etags.c (<errno.h>): #include added.
3597 (etags_getcwd): Check return value from getcwd.
3598
35991994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3600
3601 * profile.c (TV1, TV2): Use EMACS_TIME as type.
3602 (get_time): Use EMACS_SUB_TIME.
3603
36041994-10-30 voelker <voelker@cs.washington.edu>
3605
3606 * ntlib.c: New file.
3607 * makefile.nt: New file.
3608
3609 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
3610 [WINDOWSNT]: Include the NT headers.
3611 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
3612
3613 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
3614 [WINDOWSNT]: Include some NT headers.
3615
36161994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
3617
3618 * pop.c (getline): When a search of already-read input for CRLF
3619 fails, store the fact that we've searched it and don't search it
3620 again after reading more data.
3621
3622 * pop.c (getline): When determining whether or not it's necessary
3623 to grow the input buffer, take into account the null that's stored
3624 at the end of already-read input in the buffer.
3625
36261994-10-21 Francesco Potorti` (pot@cnuce.cnr.it)
3627
3628 * etags.c (prestr, substr): return a logical type.
3629 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
3630 (consider_token): set funcdef to fignore when a DEFUN is met.
3631 (C_entries): Now we can use Tom Hageman patch for extern "C".
3632
36331994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3634
3635 * movemail.c: PopServer renamed to popserver throughout.
3636
36371994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
3638
3639 * etags.c: Don't declare malloc, since we include config.h.
3640 * fakemail.c: Likewise.
3641
36421994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3643
3644 * movemail.c: Don't declare malloc.
3645
36461994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
3647
3648 * rcs-checkin: Use test -r instead of < to check readability, to
3649 avoid syntax error.
3650
36511994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
3652
3653 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
3654 defined, and if HAVE_CONFIG_H isn't defined, define
3655 MAIL_USE_POP always (so that this file can be included in
3656 other programs besides emacs).
3657
3658 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
3659 HAVE_CONFIG_H isn't defined.
3660
3661 * pop.c (find_crlf, getline): Instead of using strstr, use a
3662 custom function for finding CRLF.
3663 (my_strstr): Function deleted.
3664
36651994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
3666
3667 * pop.c (getline): Fix a segfault because of passing a
3668 non-null-terminated string into strstr(). Fix from
3669 djm@va.pubnix.com (David J. MacKenzie).
3670
3671 * pop.c: Don't include <string.h> and <strings.h>.
3672
3673 * pop.c: Include <des.h> before <krb.h>, rather than after. They
3674 should be interchangeable, and indeed the inclusion is done in
3675 both orders in various files in the Kerberos 4 library sources,
3676 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
3677 requires that <des.h> be included first, and I don't see any harm
3678 in changing the order.
3679
3680 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
3681 STDC_HEADERS, if they're defined. Undef open, read, write and
3682 close after including it.
3683
36841994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3685
3686 * pop.c: Fix mismatch in conditionals.
3687
3688 * make-docfile.c (main): Don't process one input file twice.
3689 Never use exit code > 1.
3690
3691 * pop.c (open, close, read, write): Add #undefs.
3692
3693 * pop.c: Don't declare malloc, realloc, free.
3694 Include ../src/config.h.
3695 Don't include string.h or strings.h.
3696 Include des.h before krb.h.
3697 Do declare my_strstr.
3698 (getline): Really use my_strstr.
3699 Leave one empty place in server->buffer,
3700 and put a null at the end of the data in it.
3701
37021994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3703
3704 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
3705 call kill with pid 0. Handle EINTR when receiving messages.
3706
37071994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
3708
3709 * Makefile.in.in (regex.o): Use full path to find regex.c.
3710
37111994-10-17 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3712
3713 * Makefile.in.in (etags): add dependency on regex.o, link with it.
3714 (REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added.
3715
37161994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
3717
3718 * Makefile.in.in (DONT_INSTALL): Remove make-path.
3719 (${archlibdir}): Use mkinstalldirs instead.
3720
3721 * movemail.c: Make functions that return nothing void, not
3722 implicitly int.
3723 (main): Improve usage message.
3724 (error): Write to stderr, not stdout.
3725
3726 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
3727 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
3728 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
3729 variables and implicitly declared functions.
3730
37311994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3732
3733 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
3734 (distclean): Not here.
3735
3736 * Makefile.in.in (libexecdir): Renamed from libdir.
3737
37381994-10-11 Francesco Potorti` (pot@cnuce.cnr.it)
3739
3740 * etags.c (C_entries): Name the #define's that are macros.
3741
37421994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3743
3744 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
3745 fd_set arg is a pointer, descriptor arg comes first.
3746
37471994-09-29 Francesco Potorti` (pot@cnuce.cnr.it)
3748
3749 * etags.c (C_entries): Recognise typedef of ANSI style functions.
3750 (C_entries): Recognise #define inside a struct.
3751 (C_entries): ANSI tells that preprocessor commands do not have to
3752 start on the first column.
3753 (print_help): Documentation corrected for -d and -D.
3754 (white, endtk): ANSI tells the vertical tab is a separator.
3755
37561994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
3757
3758 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
3759 (pop.o, movemail.o): New targets.
3760 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
3761
3762 * pop.c, pop.h: New files.
3763
3764 * movemail.c: Improve POP code, move most of it into a separate file.
3765 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
3766 (mbx_write): Check for errors and for From line.
3767 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
3768 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
3769 (pop_init): Functions deleted.
3770
37711994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
3772
3773 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
3774 Rename path to dirname.
3775
37761994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3777
3778 * Makefile.in.in (UTILITIES):
3779 Remove test-distrib, make-docfile, make-path.
3780 (DONT_INSTALL): New variable--list those files here.
3781 (clean): Delete the files in DONT_INSTALL.
3782
37831994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3784
3785 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
3786 (main): Use fgets, not gets.
3787
37881994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3789
3790 * timer.c: Don't declare malloc.
3791
37921994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3793
3794 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
3795 defined, use simple 32-bit versions of these macros.
3796 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
3797
c60ee5e7 37981994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
362bc2da
DL
3799
3800 * etags.c (etags_getcwd): Use getcwd if available.
3801
38021994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3803
3804 * Version 19.27 released.
3805
38061994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3807
3808 * Version 19.26 released.
3809
38101994-08-15 Paul Eggert <eggert@twinsun.com>
3811
3812 * rcs2log: Add support for CVS.
3813 Work with `rlog's that output ISO 8601 dates.
3814
38151994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
3816
3817 * rcs2log: Use <> to delimit email address.
3818
38191994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3820
3821 * emacsserver.c [SYSV_IPC] (main): Make a separate process
3822 so we can listen for multiple requests.
3823
38241994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3825
3826 * movemail.c: Include config.h first thing.
3827
38281994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3829
3830 * emacsserver.c (main): Add casts to avoid warnings.
3831
38321994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3833
3834 * Makefile.in.in (${archlibdir}): Compare the proper dir
3835 before installing the scripts.
3836
38371994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3838
3839 * emacsclient.c (main): New local var progname saves argv[0].
3840
38411994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3842
3843 * emacsclient.c (main): Don't actually modify argv[0].
3844 Modify a copy instead.
3845
38461994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3847
3848 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
3849 (tzp): Var deleted.
3850
3851 * Makefile.in.in: Add #undef alloca.
3852
38531994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3854
3855 * timer.c (xmalloc): New function.
3856
38571994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3858
3859 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
3860 (alloca.o): New target.
3861
38621994-07-08 Dave Love (d.love@dl.ac.uk)
3863
3864 * etags.c (takeprec): recognise `character*(*) function'
3865
38661994-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
3867
3868 * etags.c (main): Don't barf on obsolete -t and -T switches.
3869 (main): Print an explicative message when a switch is not known.
3870
38711994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3872
3873 * hexl.c: Don't declare exit or perror.
3874
3875 * emacsserver.c (main): Don't declare geteuid.
3876 Don't declare getenv if convex.
3877
38781994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3879
3880 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
3881
38821994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3883
3884 * etags.c (absolute_filename): Remove infinite loop bug when
3885 accessing files in directories whose name begins with a dot.
3886
38871994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3888
3889 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
3890
38911994-06-01 Morten Welinder (terra@diku.dk)
3892
3893 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
3894 location of data directory.
3895
38961994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3897
3898 * Version 19.25 released.
3899
39001994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3901
3902 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
3903
39041994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3905
3906 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
3907
39081994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3909
3910 * Version 19.24 released.
3911
39121994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3913
3914 * make-docfile.c (write_c_args): Put `default' in upper case.
3915
39161994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3917
3918 * etags.c (etags_getcwd): Cast result of popen.
3919 (popen): Declaration deleted.
3920
39211994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
3922
3923 * etags.c [!MSDOS]: Declare popen.
3924
39251994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3926
3927 * b2m.c (main): Avoid crash if argc is 1.
3928
39291994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3930
3931 * Version 19.23 released.
3932
3933 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
3934
39351994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3936
3937 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
3938
39391994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
3940
3941 * Makefile.in.in: Fix out of date comment.
3942
39431994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3944
3945 * Makefile.in.in: Put in a separator for where to start cpp procssing.
3946 Move all autoconf substitutions above that point.
3947 Above that point, use Make-style comments.
3948 This goes with changes in ../configure.in.
3949
39501994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3951
3952 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
3953 warning message.
3954 (${archlibdir}): Don't do it here. Don't depend on blessmail.
3955
39561994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
3957
3958 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
3959
39601994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3961
3962 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
3963 print advice to run it, if it has anything significant to do.
3964 And only if MOVEMAIL_NEEDS_BLESSING.
3965 (blessmail): Use emacs, not temacs.
3966 (configuration): Renamed from configname.
3967
39681994-04-30 Morten Welinder (terra@diku.dk)
3969
3970 * etags.c (find_entries): Treat `*.cpp' as C++ files.
3971
39721994-04-30 Morten Welinder (terra@diku.dk)
3973
3974 * etags.c [MSDOS]: #include <sys/param.h> for the following.
3975 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
3976 a shell.
3977
39781994-04-29 Morten Welinder (terra@diku.dk)
3979
3980 * hexl.c [MSDOS]: Don't define proto type for exit.
3981
39821994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3983
3984 * b2m.c: Don't include string.h or strings.h.
3985
39861994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
3987
3988 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
3989 symbols, not make variables.
3990
39911994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3992
3993 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
3994 * etags.c (print_version): Print VERSION as a string.
3995
39961994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3997
3998 * fakemail.c (readline): Fix updating of p when buffer grows.
3999
40001994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
4001
4002 * Makefile.in.in (blessmail): New target.
4003 ${archlibdir}: Use blessmail when installing movemail.
4004
40051994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4006
4007 * fakemail.c (readline): When extending the buffer,
4008 calculate end afresh using the new size.
4009
40101994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
4011
4012 * etags.c (main, print_help): eliminate the -F option.
4013
40141994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
4015
4016 * etags.c (absolute_filename): compare against '\0' instead of NULL.
4017
40181994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4019
4020 * Makefile.in.in: Renamed from Makefile.in.
4021 Makefile.in is now generated from it, and then preprocessed.
4022 Change comments to C syntax.
4023 Include config.h.
4024 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
4025 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
4026
40271994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4028
4029 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
4030
40311994-04-12 Francesco Potorti` (pot@fly.cnuce.cnr.it)
4032
4033 * etags.c (etags_getcwd): Initialize bufsize.
4034
40351994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4036
4037 * profile.c (gettimeofday): If system doesn't have this, define it
4038 to give a fatal error.
4039
40401994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
4041
4042 * movemail.c (main): Use setuid, not seteuid.
4043
40441994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4045
4046 * etags.c: #undef static.
4047
40481994-04-08 Francesco Potorti` (pot@fly.cnuce.cnr.it)
4049
4050 * etags.c (outf, outfiledir): renamed to tagf, tagfiledir.
4051 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs,
4052 Scheme_funcs, prolog_funcs): renamed to Fortran_functions,
4053 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
4054 TeX_functions, Prolog_functions.
4055 (inf): no more a global variable.
4056 (C_entries): take 2nd parameter `inf' instead of using the global one.
4057 (find_entries): added the cp1 var for optimisation.
4058 (find_entries): added more suffixes for assembler files.
4059 (Asm_funcs): Now finds labels even without an ending colon.
4060
40611994-03-30 Francesco Potorti` (pot@fly.cnuce.cnr.it)
4062
4063 * etags.c (main): use etags_getcwd for compatibility.
4064 (etags_getcwd): new function.
4065
40661994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4067
4068 * Makefile.in (etags, ctags): Pass -D for VERSION.
4069
40701994-03-25 Francesco Potorti` (pot@cnuce.cnr.it)
4071
4072 * etags.c (emacs_tags_format, ETAGS): removed. Use CTAGS instead.
4073 (main): don't allow the use of -t and -T in etags mode.
4074 (print_help): don't show options enabled by default.
4075 (print_version): show the emacs version number if VERSION is #defined.
4076 (find_entries): add "ss" as suffix for Chez Scheme.
4077
40781994-03-23 Francesco Potorti` (pot@cnuce.cnr.it)
4079
4080 * etags.c (cwd, outfiledir): vars added.
4081 (relative_filename, absolute_filename, absolute_dirname):
4082 functions added to compute filenames in tags files.
4083 (process_file): filenames in tags file are relative to the
4084 directory where the tags file is (useful with the -o option).
4085 (main): initialise the outfiledir var.
4086 (TYPEDST): added the `tignore' value.
4087 (C_entries): corrected various small bugs.
4088
40891994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4090
4091 * Makefile.in (UTILITIES): `env' deleted.
4092 (env): Target deleted.
4093 * env.c: File deleted.
1c478461 4094
362bc2da
DL
40951994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4096
4097 * Makefile.in (install, ${archlibdir}): Switch back to ..
4098 before running INSTALL_PROGRAM.
4099
41001994-03-14 Francesco Potorti` (pot@cnuce.cnr.it)
4101
4102 * etags.c (TYPEDST): added the `tignore' value.
4103 (C_entries): corrected various bugs, now correctly parses the
4104 `extern "C" {' construction (patch by Tom R.Hageman).
4105
41061994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4107
4108 * b2m.c: Use <...> to include config.h.
4109 Don't include stdlib.h.
4110
177c0ea7 41111994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
362bc2da
DL
4112
4113 * b2m.c (main): Change delimiter from "^L" to "^_^L".
4114 Allow for text following "BABYL OPTIONS:".
4115 Add --help option. Use argv[0] in error messages.
4116
41171994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4118
4119 * emacsclient.c (main) [HAVE_SYSVIPC]:
4120 Make msgp->mtext longer if necessary.
4121 On HPUX, error if it's more than 512 chars.
4122
41231994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
4124
4125 * etags-vmslib.c: Use GPL.
4126 * emacstool.c: Use GPL.
4127 * fakemail.c: Update GPL.
4128
4129 * make-path.c (main): Return 1 on error, not -1.
4130 Update GPL.
4131
4132 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
4133 (xmalloc, xrealloc): Return char *, not int.
4134 (error): Write to stderr, not stdout.
4135 Update GPL.
4136
41371994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
4138
4139 * profile.c (main, get_time): Don't crash on invalid input.
4140
41411994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
4142
4143 * profile.c (get_time): Simplify; avoid calling index.
4144 (main): exit on EOF.
4145
41461994-02-17 Francesco Potorti` (pot@cnuce.cnr.it)
4147
a64387ee 4148 * etags.c (--absolute-pathnames): Option removed.
362bc2da
DL
4149
41501994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4151
4152 * fakemail.c (put_line): Don't break the line if it all fits.
4153
dff28924 41541994-02-14 Francesco Potorti` (pot@fly)
362bc2da
DL
4155
4156 * etags.c (absolute_pathnames, cwd): added global vars.
4157 (longopts, print_help, main, process_file): put absolute filenames
4158 in the tag file if the -A --absolute-pathnames option is used.
4159 (print_help): alfabetically order the options.
4160 (malloc, realloc, strcpy, strncpy, strcmp): remove extern declar.
4161
41621994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4163
4164 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
4165 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
4166
41671994-02-07 Christian Lynbech (lynbech@avignon)
4168
4169 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
4170
41711994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4172
4173 * Makefile.in (UTILITIES): Mention profile.
4174 (profile): New target.
4175
4176 * profile.c: New file.
4177
41781994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
c60ee5e7 4179
88c71720 4180 * make-docfile.c: Make the argument list output look more like the
c60ee5e7 4181 Lisp docstrings do.
88c71720 4182 (write_c_args): Take new arg FUNC. Make output
362bc2da
DL
4183 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
4184 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
4185
41861994-01-14 Francesco Potorti` (pot@cnuce.cnr.it)
4187
4188 * etags.c (stab_entry, stab_create, stab_find, stab_search,
4189 stab_type, add_keyword, C_reate_stab, C_create_stabs): deleted.
4190 Use gperf generated hash table instead of linked list.
4191 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): added.
4192 Mostly code generated by gperf.
4193 (consider_token): removed unused parameter `lp'.
4194 (PF_funcs, getit): allow subroutine and similar declarations
4195 to span multiple lines.
4196 (C_entries): check for newline if inchar to avoid bus errors.
4197 (process_file, find_entries): distinguish among nonexistent
4198 and not regular file.
4199
42001994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4201
4202 * timer.c: Include errno.h; don't include fasync.h.
4203 (schedule): Don't return a value.
4204 (sigcatch): Reestablish the handler first.
4205 (getevent): Always call notify at the end.
4206 (notify): Defer alarms around the whole body of function.
4207
42081994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4209
4210 * timer.c (main): Don't request SIGIO, and don't handle it.
4211 Loop calling getevent.
4212 (sigcatch): Delete code to handle SIGIO.
4213 if defer_alarms is set, don't call notify, just set alarm_deferred.
1c478461 4214 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
4215 Set defer_alarms around realloc and schedule.
4216 If alarm_deferred gets set, call notify.
4217 Likewise if this event is the only pending event.
4218 Make buf and buf_size global variables.
4219 Don't malloc buf if it is already non-zero.
4220 (schedule): Just exit if run out of memory.
4221 Return the number of events.
4222 (signal) [_CX_UX]: Add #undef.
4223
42241994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4225
4226 * timer.c [USG] (SIGIO): Define as SIGPOLL.
4227 (main) [USG]: Do ioctl to enable SIGPOLL.
4228
42291994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4230
4231 * timer.c: Don't declare sys_errlist; declare strerror instead.
4232 (schedule, main): Call strerror instead of using sys_errlist.
4233 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
4234 Call strerror instead of using sys_errlist.
4235 * env.c (main): Call strerror instead of using sys_errlist.
4236 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
4237 (main): Call strerror instead of using sys_errlist.
4238 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
4239 * env.c [! HAVE_STRERROR] (strerror): Likewise.
4240 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
4241 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
4242
42431994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4244
4245 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
4246
4247 * movemail.c (malloc): Don't declare it.
4248 (xmalloc): Cast result of malloc.
4249 (strcpy): Don't declare it.
4250
42511993-11-14 Morten Welinder (terra@diku.dk)
4252
4253 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
4254 (main): Use fclose to close file opened by fopen.
4255
4256 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
4257
4258 * movemail.c [MSDOS]: #undef `access'.
4259
4260 * b2m.c (main) [MSDOS]: Open all files as binary.
4261 * etags.c (main) [MSDOS]: Open all files as binary.
4262
4263 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
4264 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
4265 with.
4266
42671994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4268
4269 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
4270 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
4271 (LINK_CFLAGS): New variable.
4272 (timer): Use LINK_CFLAGS.
4273
42741993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4275
4276 * movemail.c: Include syswait.h.
4277 Fork a subprocess and use it to copy the mail file.
4278
42791993-12-07 Richard Stallman (rms@srarc2)
4280
4281 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
4282
42831993-12-04 Richard Stallman (rms@srarc2)
4284
4285 * movemail.c (main): When making tempname, cast result of xmalloc.
4286 Include room for EXXXXXX in the size.
4287 Don't use result of strcpy.
4288
42891993-12-03 Paul Eggert (eggert@twinsun.com)
4290
4291 * vcdiff: Add --brief option.
4292
42931993-12-02 Richard Stallman (rms@srarc2)
4294
4295 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
4296 for all executables and scripts.
4297
42981993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4299
4300 * Version 19.22 released.
4301
43021993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4303
4304 * Makefile.in (mostlyclean): Make it distinct from clean.
4305
43061993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4307
4308 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
4309
43101993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4311
4312 * Version 19.21 released.
4313
4314 * Makefile.in (install): Don't change mode or group when installing.
4315
4316 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
4317
43181993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4319
4320 * make-docfile.c (read_c_string): For "", concatenate the two strings.
4321
4322 * movemail.c (main): Fix error message text.
4323
43241993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4325
4326 * Version 19.20 released.
4327
177c0ea7 43281993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
362bc2da
DL
4329
4330 * etags.c: (C_entries): Keep track of ()-parenthesis level so that
4331 functions returning a pointer to a function, a la `signal', can be
4332 parsed. This also required new state `fstartlist' to `FUNCST'.
4333 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
4334 (C_entries, CNL): use it to isolate preprocessor directive processing
4335 from the other state engines.
4336 (begtk): add '~', for C++ class destructors.
4337
43381993-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
4339
4340 * etags.c (consider_token): removed unused variable firsttok.
4341 (prolog_getit): call pfnote with the right number of arguments.
4342
43431993-10-19 Paul Eggert (eggert@twinsun.com)
4344
4345 * rcs2log (printlogline): Don't generate lines containing only
4346 white space.
4347
43481993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4349
4350 * Makefile.in (${archlibdir}):
4351 Install ${SCRIPTS} from ${srcdir}, not cwd.
4352
43531993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4354
4355 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
4356 the comment character.
4357
43581993-10-01 Francesco Potorti` (pot@cnuce.cnr.it)
4359
4360 * etags.c (process_file): dead code removed.
4361 (S_ISREG): #define it using S_IFREG if not defined.
4362 (process_file): regular files have nothing to do with symlinks.
4363
43641993-09-28 Brian Fox (bfox@ai.mit.edu)
4365
4366 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
4367 from current directory. Only chmod and chgrp files that we
4368 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
4369 ${bindir}.
4370 (INSTALLFLAGS): Deleted definition, since it is an unused variable
4371 now.
4372
43731993-09-27 Brian Fox (bfox@ai.mit.edu)
4374
4375 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
4376 configure figure out the correct values for these variables.
4377
43781993-09-14 Brian Fox (bfox@ai.mit.edu)
4379
4380 * Makefile.in (archlibdir): Only install execuatables internally
4381 used by emacs; don't install bindir binaries here.
4382
43831993-09-24 Paul Eggert (eggert@twinsun.com)
4384
4385 * rcs2log: Add -h, -n, -r options.
4386 By default, look for *,v files as well as RCS/*,v files.
4387 Use $TMPDIR (default /tmp) instead of /tmp.
4388
dff28924 43891993-09-20 Francesco Potorti` (pot@fly)
362bc2da
DL
4390
4391 * etags.c (C_entries): is_func is initialised here instead of in
4392 consider_token for the sake of the yacc rules section.
4393 (C_entries): Now class, struct, enum, union and typedef produce
4394 named tags.
4395
43961993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
4397
4398 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
4399
44001993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4401
88c71720
KS
4402 * Makefile.in: Support configuring in a different directory when
4403 ${srcdir} has already been configured.
4404 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
4405 -I${srcdir}/../src.
362bc2da
DL
4406 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
4407 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
4408 is already in CPP_FLAGS.
4409 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
4410 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
4411
44121993-08-25 Paul Eggert (eggert@twinsun.com)
4413
4414 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
4415 otherwise, HP awk complains.
4416
4417 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
4418 are common hangouts for SCCS commands.
4419
44201993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4421
4422 * Version 19.19 released.
4423
44241993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4425
4426 * Makefile.in (make-path): Dep on config.h.
4427
44281993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4429
4430 * b2m.c (TRUE, FALSE): Don't define if already defined.
4431
44321993-08-09 Paul Eggert (eggert@twinsun.com)
4433
4434 * rcs2log (awkscript):
4435 Some sites put comma-separated junk after the fullname.
4436 Remove it, but leave "Bill Gates, Jr" alone.
4437 Remove the junk from fullnames like "0000-Admin(0000)".
4438
44391993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4440
4441 * Version 19.18 released.
4442
44431993-08-04 Francesco Potorti` (pot@spiff.gnu.ai.mit.edu)
4444
4445 * etags.c (L_isdef, L_isquote, L_getit): small optimisations.
4446 (L_funcs): the (foo::defmumble stuff now should work.
4447 (consider_token): function returned random value--corrected.
4448 (C_entries): corrected == versus = typo.
4449
44501993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4451
4452 * etags.c (put_entries): For NODE->rewritten, put pattern before
4453 \177 and name after, not vice versa.
4454
44551993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4456
4457 * timer.c (main): Generate a SIGIO as soon as we've initialized.
4458
44591993-07-30 Francesco Potorti` (pot@cnuce.cnr.it)
4460
4461 * etags.c (FINCST): added the fignore status. Means we are
4462 after the parameter list and before the open curly brace.
4463 Allows correct parsing of C++ constructors.
4464 (C_entries, consider_token): make use of fignore.
4465 (consider_token): reset funcdef when next_token_is_func: when in
4466 ctags mode makes DEFVAR and others work better.
4467 (L_isquote): function that recognises the "(quote" string.
4468 (L_getit): ignore quoting via "'" or "(quote". Useful for defalias.
4469
44701993-07-29 Paul Eggert (eggert@twinsun.com)
4471
4472 * rcs-checkin: Don't check whether a file is readable until we have
4473 decided not to ignore it.
4474
44751993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4476
4477 * Makefile.in (etags): Depend on ../src/config.h.
4478
4479 * emacsserver.c: Include types.h before file.h.
4480
44811993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4482
4483 * Makefile.in (install): Use .n, not .new, for temporary filenames.
4484
44851993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4486
4487 * Version 19.17 released.
4488
44891993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4490
4491 * etags.c (print_help): Break up the very long strings containing
4492 the help message into shorter strings, to placate chintzy C
4493 compilers which can't handle strings that long.
4494
4495 * wakeup.c: Use CPP tangle from autoconf manual to #include the
4496 correct combination of <time.h> and <sys/time.h>.
4497
44981993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
4499
4500 * etags.c (alloca): removed all references to it.
4501 (main): now calls xnew instead of alloca for portability.
4502 (../src/config.h): included only if HAVE_CONFIG_H.
4503 (const): void definition removed--config.h takes care of it.
4504
45051993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
4506
4507 * etags.c (consider_token): was `==', now is `='.
4508 (consider_token): DEFUNs now treated like funcs in ctags mode.
4509
4510 * etags.c (LEVEL_OK_FOR_FUNCDEF): removed.
4511 (C_entries): optimized the test that used LEVEL_OK_FOR_FUNCDEF.
4512 (C_entries): removed a piece of useless code.
4513 (C_entries): making typedef tags is delayed until a semicolon
4514 is met. This handles "typedef int X, Y, Z;" correctly.
4515
45161993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4517
4518 * Version 19.16 released.
4519
4520 * b2m.c: #include <sys/types.h>.
4521 (ltoday): Declare this to be time_t.
4522
45231993-06-30 Paul Eggert (eggert@twinsun.com)
4524
4525 * vcdiff: Add -q option.
4526
45271993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4528
4529 * etags.c: #include "config.h" and the alloca CPP tangle before
4530 #including the system headers and getopt.h. AIX requires the
4531 #pragma to come before any actual C code.
4532
45331993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4534
4535 * Makefile.in (ctags): Depend on etags, so that parallel makes
4536 don't write etags.o files on top of each other.
4537
45381993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4539
4540 * version 19.15 released.
4541
45421993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4543
4544 * etags.c (add_node): Move var last_node to file scope.
4545
45461993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4547
4548 * Version 19.14 released.
4549
45501993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4551
4552 Bring mumbleclean targets into conformance with GNU coding standards.
4553 * Makefile.in (distclean): Call clean to do most of the work.
4554 Delete aixcc.c and TAGS.
4555 (realclean): Just call distclean.
1c478461 4556
362bc2da
DL
4557 * Makefile.in: Remember, spaces are not tabs.
4558
45591993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4560
4561 * Makefile.in (CPP_CFLAGS): New variable.
4562 Use it instead of ALL_CFLAGS when compiling a .c file.
4563 (getopt.o, getopt1.o): Add explicit compilation commands.
4564
45651993-06-10 Mark D. Baushke (mdb@cisco.com)
4566
4567 * etags.c: Reinstate old -f option as an alias for -o for
4568 installed base uses.
4569
45701993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4571
4572 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
4573 to bind or accept, cast the pointer, to avoid warnings on systems
4574 which declare prototypes for this.
4575 * emacsclient.c (main): Same.
4576
4577 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
4578
45791993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4580
4581 * Version 19.13 released.
4582
4583 * wakeup.c: Include sys/types.h, too; I think that's where time_t
4584 comes from, not sys/time.h.
4585
45861993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4587
4588 * wakeup.c: Include sys/time.h.
4589
4590 * etags.c: #undef static.
4591
4592 * Version 19.12 released.
4593
4594 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
4595
45961993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4597
4598 * Version 19.11 released.
4599
4600 * timer.c [LINUX]: #undef signal.
4601 * emacsserver.c: #undef signal.
4602
46031993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4604
4605 * wakeup.c (main): Make when a time_t.
4606
46071993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4608
a64387ee
JB
4609 * Makefile.in: (${archlibdir}): Use `(cd foo && pwd)' instead of
4610 `(cd foo ; pwd)' to get the canonical name of a directory; cd
362bc2da
DL
4611 might fail, and have pwd print out the current directory.
4612
4613 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
4614 string-handling functions.
4615
46161993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4617
4618 * Version 19.10 released.
4619
46201993-05-29 Paul Eggert (eggert@twinsun.com)
4621
4622 * rcs2log: When given no file arguments, inspect RCS/.* as well
4623 as RCS/*. Don't report an error if RCS is empty or nonexistent.
4624
46251993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4626
4627 * Makefile.in (timer): Link with $(LOADLIBES).
4628
46291993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4630
4631 * fakemail.c (put_line): Don't output \n\t unless more text follows.
4632
46331993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4634
4635 * etags.c: Replace the CPP tangle for alloca with the one from the
4636 autoconf documentation, since that's working elsewhere.
4637
46381993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4639
4640 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
4641 description files can find their ancestors.
4642
46431993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4644
4645 * Makefile.in (install): Get the scripts from ${srcdir},
4646 unlike the executables.
4647 (ALL_CFLAGS): Add -I../src
4648
46491993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4650
4651 * Version 19.9 released.
4652
46531993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4654
4655 * Makefile.in (install): Do install the programs listed in
4656 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
4657 INSTALLABLE_SCRIPTS, instead of writing the programs out.
4658
4659 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
4660 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
4661
46621993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4663
4664 * etags.c: Include ../src/config.h.
4665
4666 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
4667 in first loop. Delete files from bindir before installing new ones.
4668 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
4669
46701993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4671
4672 * Version 19.8 released.
4673
4674 * make-docfile.c: Doc fix.
4675
46761993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4677
4678 * tcp.c: Fix comment syntax at top of file.
4679 (main): Don't call htons with the port number.
4680
46811993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4682
4683 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
1c478461 4684 appropriate.
362bc2da
DL
4685
4686 * Makefile.in (install): Refer to the variables INSTALLABLES and
4687 INSTALLABLE_SCRIPTS, instead of writing them out.
4688
46891993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4690
4691 * make-path.c (main): Return 0.
4692
46931993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4694
4695 * Version 19.7 released.
4696
46971993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4698
4699 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
4700
47011993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4702
4703 * tcp.c: New file.
4704
47051993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4706
4707 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
4708
47091993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4710
4711 * timer.c (notify): Don't call sighold or sigrelse; they're USG
4712 only. We should really fix this later, but let's just make it
4713 compile for now.
4714
4715 Install patches from David J. Mackenzie to make the srcdir option
4716 work.
4717 * Makefile.in (srcdir, VPATH): Get this value from the top-level
4718 Makefile.
4719 (INSTALLABLES): Split this into two lists - INSTALLABLES and
4720 INSTALLABLE_SCRIPTS.
4721 (INSTALLABLE_SCRIPTS): New list.
4722 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
4723 (${archlibdir}): The scripts to be installed live in the source
4724 tree, not in the object tree.
4725 (test-distrib): Note that the data file lives in the source tree,
4726 not the object tree.
4727 (GETOPTDEPS): Note that getopt.h lives in the source tree.
4728 (all other targets): Change references to source files to use
4729 ${srcdir}, except for config.h, which lives in the object dir.
4730 (timer.o): Note that this depends on ../src/config.h.
4731 * make-docfile.c (main): Add a -d option, to tell it where to find
4732 the source files.
4733 * test-distrib.c (main): Take the name of the distribution file to
4734 test from the command line.
4735
4736 * timer.c: Fix mispellings of get_date function's name.
4737
47381993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
4739
4740 * etags.c (main):
4741 Don't require that there be input files if -i switches were given.
4742
47431993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4744
4745 The GNU coding standards specify that CFLAGS should be left for
4746 users to set.
4747 * Makefile.in (CFLAGS): Put this in the "things configure might
4748 edit" section, and have it default to -g.
4749 (ALL_CFLAGS): New variable, set to all the flags which should be
4750 passed to compilations. Replace all other uses of CFLAGS with
4751 ALL_CFLAGS.
4752 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
4753
4754 * Makefile.in (DEFS): Remove this; it's always just going to be
4755 "-DHAVE_CONFIG_H -Demacs".
4756
47571993-05-03 Paul Eggert (eggert@twinsun.com)
4758
4759 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
4760 /[/]/, so change it to /[\/]/. This should work on all
4761 Posix-compliant awks. It's slightly wrong with traditional awk,
4762 since it matches \ too, but that's a minor problem compared to awk
4763 syntax errors.
4764
47651993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4766
4767 * Makefile.in (ALLOCA): New variable, whose value we should
4768 inherit from the top-level makefile.
4769 (etags, ctags): Include ALLOCA in the list of object files that
4770 these executables depend on and link.
4771
47721993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4773
4774 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
4775
47761993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
4777
4778 * make-docfile.c (write_c_args): Print an argument named "defalt"
4779 as "default".
4780
47811993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4782
4783 * Makefile.in (C_SWITCH_SYSTEM): New variable.
4784 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
4785 compiler.
4786
47871993-03-22 Francesco Potorti` (pot@cnuce.cnr.it)
4788
4789 * etags.c (YACC): flag added to c_ext.
4790 (c_ext): no more a synonim for c_ext&C_PLPL because of YACC.
4791 (find_entries): consistently use streq when reasonable.
4792 (find_entries): a .y file is a yacc file.
4793 (get_C_stab): c_ext becomes c_ext&C_PLPL.
4794 (C_entries): logical cplpl means c_ext&C_PLPL.
4795 (C_entries): logical yacc_rules means we are after the first %%.
4796 (C_entries): added logic for yacc files.
4797
47981993-03-16 Francesco Potorti` (pot@cnuce.cnr.it)
4799
4800 * etags.c (C_entries): ':' case moved to the second switch.
4801 (C_entries): do not examine token if structdef==scolonseen.
4802 (consider_token): structtag set to null string for enum.
4803
48041993-03-12 Francesco Potorti` (pot@cnuce.cnr.it)
4805
4806 * etags.c (GET_COOKIE): and related macros removed.
4807 (logical): is now int, no more a char.
4808 (reg): define deleted.
4809 (isgood, _gd, notgd): deleted.
4810 (gotone): deleted.
4811 (TOKEN): member linestart removed.
4812 (linepos, prev_linepos, lb1): deleted.
4813 (main): call initbuffer on lbs array instead of lb1.
4814 (init): removed the initialisation of the logical _gd array;
4815 (find_entries): a .sa suffix means assembler file.
4816 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
4817 All C state machines rewritten.
4818 (C_entries): complete rewrite.
4819 (condider_token): complete rewrite.
4820 (getline): deleted.
4821
48221993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
4823
4824 * etags.c (C_entries): Added the quotednl logical variable.
4825 Used for parsing of #define's spanning multiple lines.
4826
48271993-02-23 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
4828
4829 * etags.c (C_entries): Save the definedef status even when a
4830 newline is met inside a string.
4831
48321993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
4833
4834 * Makefile.in (EXECUTABLES): added rcs-checkin.
4835
4836 * Makefile.in (unlock, relock): New productions.
4837
48381993-03-16 Paul Eggert (eggert@twinsun.com)
4839
4840 * rcs2log: Some awks don't understand "\r". Code around this.
4841 Unfortunately this requires putting a carriage return in the
4842 source code. Don't assume that rlog will tolerate times like
4843 `10:10:60'; RCS 5.7 won't allow this.
4844
48451993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4846
4847 * timer.c (main): Set the ownership of the stdin file descriptor
4848 to the current process. Print error messages if either of the
4849 fcntl's fails.
4850
4851 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
4852 ../src/config.h), not void.
4853
48541993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4855
4856 * b2m.c (main): Don't exit upon reading a blank line.
4857
48581993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
4859
4860 * etags.c (C_entries): New local variable quotednl. Used for
4861 parsing of #define's spanning multiple lines.
4862
4863 * etags.c (C_entries): Save the definedef status
4864 even when a newline is met inside a string.
4865
48661993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4867
4868 * timer.c (notify): Initialize waitfor properly.
4869
48701993-02-22 Francesco Potorti` (pot@CNUCE.CNR.IT)
4871
4872 * etags.c (C_entries): Don't reset definedef when a newline inside a
4873 comment is met.
4874
48751993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4876
4877 * etags.c (find_entries): If filename ends in .f or .for,
4878 don't try anything but Fortran.
4879
48801993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
4881
4882 * timer.c (notify): Flush stdout after writing message to avoid lossage
4883 on terminals.
4884
4885 (notify): Also, write a newline after the token.
4886
48871992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4888
4889 * Makefile.in (exec_prefix): New variable.
4890 (bindir, libdir): Use it instead of `prefix'.
4891
4892 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
4893
4894 * Makefile.in (libdir): Default to ${prefix}/lib.
4895 (archlibdir): Adjusted to match.
4896
4897 * Makefile.in (distclean): Don't delete backup or autosave files.
4898 (extraclean): Like realclean, but does delete backup and autosave
4899 files.
4900
4901 * Makefile.in (realclean): Ignore errors from rm.
4902
4903 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
4904 that doesn't exist anymore.
4905
49061992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4907
4908 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
4909 described in the top-level Makefile.
4910 (UTILITIES): Add make-path to the list of utility programs.
4911 (../arch-lib): Replaced by the ${archlibdir} target, which places
4912 the executables in their permanent home.
4913 (install, install.sysv, install.xenix): Consolidated into one
4914 target which should work under all circumstances, modulo a few
4915 ignored error messages.
4916
4917 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
4918 a different number of arguments than other DEFVARs, recognize it
4919 specially, and expect the right number of commas.
4920
49211992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4922
4923 * make-path.c: New program, to help with the installation process.
4924 * Makefile.in (make-path): New target.
4925
4926 * make-path.c (touchy_mkdir): Remove debugging output.
4927
49281992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4929
4930 * Makefile.in (getdate.o): Added explicit target for this, so we
4931 can indicate that it depends on ../src/config.h.
4932
49331992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4934
4935 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
4936 instead of CFLAGS.
4937 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
4938
49391992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4940
4941 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
4942 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
4943 that system.
4944
4945 * Makefile.in (arch-lib): Give rm the `-f' option.
4946
49471992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4948
4949 * make-docfile.c (write_c_args): Rewritten to correctly print
4950 &optionals before the first identifier, but after the first paren.
4951 This code used to just wait for commas or spaces; now it notices
4952 identifier boundaries.
4953
49541992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4955
4956 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
4957
49581992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4959
4960 * make-docfile.c (write_c_args): Print the argument lists properly
4961 when the first argument is optional.
4962
49631992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4964
4965 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
4966 Redefine @item. Set catcode of +.
4967
49681992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4969
4970 * emacsclient.c (main): Set IPC_CREAT in msgget call.
4971
49721992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4973
4974 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
4975 (TEX_decode_env): Make `tab' one element longer.
4976
49771992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4978
4979 * etags.c (PF_funcs): Recognize the "entry" keyword.
4980
49811992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4982
4983 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
4984
49851992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4986
4987 * timer.c (events): Rather than having slots marked as in use or
4988 out of use by the `token' field, keep all pending events at the
4989 beginning of the array. When we delete an event in the middle of
4990 the array, we move the last event into its place.
4991 (num_events): New variable.
4992 (schedule): It is now cheaper to find a free event slot;
4993 events[num_events] is the first free slot.
4994 (notify): Scan events[0 .. num_events-1], instead of the whole
4995 array. When an event fires, move the last event in the array into
4996 its spot. Use num_events to determine whether or not there are
4997 any pending events, not wait_for.
4998 (getevent): Deleted unused variable `ep'.
4999 (sigcatch): It's now easier to find all the active events.
5000 (main): Initialize num_events.
5001
5002 * etags.c: Rather than fret about which systems have index and
5003 which systems have strchr, and how to tell the difference between
5004 them, we just write out our own versions. Big deal.
5005 (index, rindex): Extern declarations removed.
5006 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
5007 (etags_index, etags_rindex): New declarations.
5008 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
5009 TEX_getit, substr): Use the etags_*index functions, rather than
5010 the native *index functions.
5011 (rindex, index): Renamed to etags_rindex and tags_rindex, and
5012 made them unconditionally defined, rather than having them depend
5013 on NEED_*INDEX.
5014
5015 * etags.c (savenstr): Add declaration for this at top of file.
5016 (TEX_decode_env): Don't declare it local to this function.
5017
5018 * b2m.c: #include "../src/config.h", so we can test for the USG
5019 macro, and decide whether to include <string.h> or <strings.h>.
5020 * Makefile.in: Note that b2m.c depends on ../src/config.h.
5021
50221992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5023
5024 * timer.c: Reformatted according to the GNU coding standards.
5025 Removed arbitrary limits on the number of events queued and the
5026 length of the tokens used to identify them.
5027 Removed casts to (void).
5028 Removed debugging printfs; they clutter the code, and the need
5029 can be better filled using a real debugger.
5030
50311992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5032
5033 * timer.c: Installed new version from Eric Raymond; this is more
5034 portable, since it doesn't try to use SIGIO.
5035
50361992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5037
5038 * emacsclient.c (main): If we can't find the socket in this
5039 person's home directory, print a message which asks if they've
5040 started the server, instead of just printing the message from
5041 sys_errmsg; Cygnus finds that people are much less confused by
5042 this.
5043
50441992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5045
5046 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
5047 so that index and rindex get defined, why don't we actually
5048 control index and rindex using symbols called "NEED_INDEX" and
5049 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
5050 little more readable than defining something whose name implies
5051 that it's not?
5052
50531992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5054
5055 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
5056 distribution:
5057 Miscellaneous doc fixes.
1c478461 5058 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
5059 (scan_lisp_file): Instead of using long hairy strings of ifs, call
5060 read_lisp_symbol and then see what we got. Call skip_white
5061 instead of writing out a loop to do its job. Correctly extract
5062 docstrings from "defmacro" declarations.
5063
50641992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5065
5066 * movemail.c (strcpy): Declare this to return char *.
5067
50681992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5069
5070 * etags.c (C_entries): When we find a C++ comment, do actually
5071 skip to the end of the line; do a 'break' instead of a 'continue'.
5072
50731992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5074
5075 * etags.c (getit): Add missing parenthesis to expression which
5076 decides if this token is an identifier.
5077
50781992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
5079
5080 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
5081
50821992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5083
5084 * etags.c (put_entries): Always put space between name and line num.
5085
50861992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
5087
5088 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
5089 warning.
5090 (LEVEL_OK_FOR_FUNCDEF): Ditto.
5091
50921992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5093
5094 * make-docfile.c (write_c_args): Pass both arguments to putc.
5095
50961992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
5097
5098 * etags.c (C_entries): Fixed reading of "..." strings.
5099 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
5100 the C library source.
5101
5102 * etags.c (C_entries): When we see a backslash inside a quoted
5103 string, skip to the next character. This allows us to correctly
5104 deal with strings containing quotes.
5105
51061992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5107
5108 * make-docfile.c (write_c_args): Print the C argument names as
5109 they would be written in Elisp; print '_' as '-'.
5110
51111992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5112
5113 * movemail.c [POP]: Get user name via getpwuid.
5114
51151992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5116
5117 * Makefile.in: flags in CC invocations rearranged for no reason.
5118
51191992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5120
5121 * etags.c (print_help): Remember not to imbed raw newlines in
5122 strings - end the lines with `\n\'.
5123
51241992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5125
5126 * timer.c (getevent): Removed declaration of memcpy; since
5127 different systems have different return types, and we're not even
5128 using the return type anyway, it wasn't doing us any good.
5129
51301992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5131
5132 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
5133 type of this function.
5134
51351992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5136
5137 * ChangeLog: Since the old etc contents have been split into etc
5138 and lib-src, the old etc's ChangeLog has been duplicated in the
5139 new etc and lib-src. That means that each contains complete and
5140 coherent information, although each contains extraneous
1c478461 5141 information.
362bc2da
DL
5142
51431992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5144
5145 * lib-src/etags.c: "--no-warning" option renamed to "--no-warn",
5146 to be consistent with other GNU programs, like makeinfo.
5147
5148 * lib-src/Makefile: Renamed to Makefile.in; the configure script
5149 will edit this to produce Makefile.
5150
51511992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5152
5153 * etags.c (print_help, print_version): New functions.
5154 (main): Options added to support them.
5155
5156 * etags.c (longopts): New array of long names for the options.
5157 (main): Recognize them.
5158
51591992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5160
5161 * etags.c (C_entries): Removed comment saying that \" in a string
5162 isn't recognized as magic, because it is correctly handled.
5163
5164 * getopt.c, getopt.h: New files, from GNU C library.
5165 * etags.c: Rewritten to use getopt.
5166 #include "getopt.h".
5167 (file_num): Variable deleted; its role is now played by getopt's
5168 optind.
5169 (main): Argument processing loop rewritten to call getopt to get
5170 next option. Options which take parameters (-o and -i) rewritten
5171 to get parameter from optarg instead of argv[1]. Filename
5172 preprocessing loop and update command changed similarly.
5173 * Makefile (etags, ctags): Depend on and link with getopt.h,
5174 getopt.o, and getopt1.o.
5175 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
5176
5177 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
5178 is non-zero.
5179
5180 (main): In the argument processing loop, the 'goto next_arg'
5181 statements are breaking out of the switch statement in exactly the
5182 same way that a simple 'break' statement would; replace the gotos
5183 with breaks, and remove the label.
5184
51851992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5186
5187 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
5188 (consider_token): Move next_token_is_func to global.
5189
51901992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5191
5192 * Makefile: Conform with GNU coding standards:
5193 (mostlyclean): New target, synonymous with clean.
5194 (TAGS, check): New targets.
5195 (INSTALL, INSTALLFLAGS): New variables.
5196
51971992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5198
5199 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
5200 `config.emacs' to `configure'.
5201
5202 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
5203 * etc/MACHINES: Same.
5204
52051992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5206
5207 * movemail.c (main): Allow tempname to be as long as necessary,
5208 instead of limiting it to 39 characters.
5209
5210 * movemail.c (main): Move declaration of buf from top of function
5211 to local block surrounding the copy loop. This makes it less
5212 likely to be confused with the buf used by the code which checks the
5213 permissions on outname's directory.
5214
52151992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
5216
5217 * SERVICE: Remove my entry.
5218
52191992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
5220
5221 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
5222 hardcoded -g.
5223
5224 * movemail.c (xmalloc): Return char *, not int.
5225 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
5226 that is off by default -- normally don't unlink the mail spool
5227 file, just empty it. Pass creat mode 0600, not 0666.
5228
dff28924 52291992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
5230
5231 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
5232 (all): Instead of here.
5233 (install): Don't use the -s option, since people need symbols to
5234 debug code.
5235
dff28924 52361992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
362bc2da
DL
5237
5238 * etags-vmslib.c (fn_exp): Add type cast.
5239
52401992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5241
5242 * movemail.c: Changes in comments.
5243
dff28924 52441992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
5245
5246 * Makefile: Make the distclean target erase the DOC files from
5247 ../share-lib and the executables from ../arch-lib.
5248
dff28924 52491992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
5250
5251 * emacsclient.c: #include <sys/stat.h>
5252 (main): Do declare statbfr.
5253
dff28924 52541991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
5255
5256 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
5257 for the socket, depending on SERVER_HOME_DIR.
5258 If using /tmp, put host name in the socket name.
5259
5260 * movemail.c (pfatal_and_delete): New function.
5261 (main, popmail): Use it.
5262 (popmail): Close output before deleting messages.
5263 Check for error on close and on fsync.
5264 Use `fatal' where appropriate.
5265 (main): Remove (void).
5266
5267 * aixcc.lex: New file. Not officially part of Emacs.
5268 * Makefile: Rules for that.
5269
dff28924 52701991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
362bc2da
DL
5271
5272 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
5273
5274 * etags.c (main): Properly cast call to alloca that initializes
5275 included_files.
5276
52771991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
5278
5279 * etags.c (files_are_tag_tables): Remove global var.
5280 (process_file): Don't test it. Also remove hack checking for a
5281 file named "TAGS".
5282 (main): -i now takes an arg which is the name of a file to include.
5283 Collect these names and emit include tags for them after processing
5284 all the argument files.
5285
dff28924 52861991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
5287
5288 * wakeup.c: Terminate if parent goes away.
5289
dff28924 52901991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
5291
5292 * etags.c (C_entries): Process token before handling end of line.
5293 When inner loops reach end of line, just back up.
5294 Let the real end of line processing happen in just one place.
a64387ee 5295 (consider_token): Likewise.
362bc2da 5296
dff28924 52971991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
362bc2da
DL
5298
5299 * etags.c (TEX_mode): Skip comments while scanning the text to see
5300 which escape character this file uses.
5301
dff28924 53021991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
5303
5304 * emacsserver.c [USG]: Terminate if msgrcv fails.
5305
dff28924 53061991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5307
5308 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
5309
dff28924 53101991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
5311
5312 * make-docfile: Find the arguments to a C function correctly,
5313 by not ignoring the character that read_c_string returns. Don't
5314 even try to find argument names for functions that take MANY
5315 or UNEVALLED arguments, since they're a figment of the docstring's
5316 imagination.
5317
dff28924 53181991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
5319
5320 * make-docfile: Read the .elc files generated by the new byte
5321 compiler.
5322
dff28924 53231990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5324
5325 * refcard.tex: Use cm fonts, not am, in multi-column mode.
5326
dff28924 53271990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5328
5329 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
5330
dff28924 53311990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5332
5333 * Makefile (install*): No need to install wakeup.
5334
dff28924 53351990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5336
5337 * Makefile (install*): Install emacsclient like etags.
5338
dff28924 53391990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5340
5341 * movemail.c (error): Handle 3 args.
5342 (main): Don't check input access if using pop.
5343
dff28924 53441990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5345
5346 * etags.c (find_entries): Check for numbers after Scheme suffix.
5347
dff28924 53481990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5349
5350 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
5351
dff28924 53521990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5353
5354 * Makefile (nemacstool, xvetool): New targets.
5355
dff28924 53561990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5357
5358 * emacsclient.c: Include errno.h and define related variables.
5359
dff28924 53601990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5361
5362 * emacsclient.c: Change usage message.
5363
dff28924 53641990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
5365
5366 * emacs.1: Add break before -nw option.
5367
dff28924 53681990-08-19 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
5369
5370 * qsort.c: Replace with GNU version.
5371
dff28924 53721990-08-14 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
5373
5374 * wakeup.c: New program replacing loadst.c.
5375
dff28924 53761990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5377
5378 * emacsclient.c [USG]: Pass msgsnd only 4 args.
5379
dff28924 53801990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
362bc2da
DL
5381
5382 * etags.c: Rename `flag' variables for what they do instead of
5383 which option character sets them.
5384
dff28924 53851990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5386
5387 * loadst.c (main): Conditional to get load average on Apollo.
5388
dff28924 53891990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da
DL
5390
5391 * emacsserver.c: Set the permission on the socket to 0600.
5392
dff28924 53931990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5394
5395 * emacsclient.c [BSD]: Print clean message for failing getwd.
5396
dff28924 53971990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
5398
5399 * getdate.y: Use the getdate.y from GNU tar for timer.
5400
dff28924 54011990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
362bc2da
DL
5402
5403 * emacsclient.c (main): Don't put brackets around "filename" in
5404 usage message. It isn't optional.
5405
dff28924 54061990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da 5407
a64387ee 5408 * etags.c (getit): Recognize '$' as beginning identifiers.
362bc2da 5409
dff28924 54101990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
5411
5412 * emacsserver.c: Renamed from server.c.
5413 * Makefile: Reference emacsserver rather than server.
5414 * MACHINES: Doc fix for new emacsserver name.
5415
dff28924 54161990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5417
5418 * emacsclient.c: Print program name in error messages.
5419
dff28924 54201990-01-19 David Lawrence (tale@cocoa-puffs)
362bc2da
DL
5421
5422 * timer.c, getdate.y (new files) and Makefile:
5423 Sub-process support for run-at-time in timer.el.
1c478461 5424 Doesn't yet work correctly for USG.
362bc2da 5425
dff28924 54261990-01-10 Jim Kingdon (kingdon@pogo)
362bc2da
DL
5427
5428 * MACHINES: Add HP 300 running BSD.
5429
dff28924 54301990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5431
5432 * yow.c: Dynamically allocate buffer; skip header before random
5433 choice to avoid bias toward first item.
5434
dff28924 54351989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5436
5437 * etags.c (readline): Separate out init of `pend'.
5438
dff28924 54391989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5440
5441 * etags.c: Undo changes relating to isgoodhdr.
5442
dff28924 54431989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5444
5445 * etags.c (isgoodhdr): New macro.
5446 (_gdh, notgdh): New variable used by that.
5447 (init): Initialize _gdh.
5448 (find_entries): Set header_file.
5449 (consider_token): Use isgoodhdr if in header file.
5450
5451 * etags.c (total_size_of_entries):
5452 Was miscalculating by 1 in rewritten case.
5453
5454 * etags.c (PAS_funcs): One arg to pfnote was missing.
5455
dff28924 54561989-12-05 Joseph Arceneaux (jla@spiff)
362bc2da
DL
5457
5458 * MACHINES: Change for the ULTRIX entry.
5459
dff28924 54601989-11-21 Joseph Arceneaux (jla@spiff)
362bc2da
DL
5461
5462 * etags.c (process_file): If file is not regular, return.
5463
dff28924 54641989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5465
5466 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
5467
dff28924 54681989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5469
5470 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
5471 (main): If HAVE_GETLOADAVG, don't call `nlist'.
5472
dff28924 54731989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5474
5475 * etags.c (consider_token): Allow any number of typespec keywords
5476 after `typedef', before new type name.
5477 (enum sym_type): Add st_C_typespec.
5478 (C_create_stab): Put typespec kwds in table.
5479
dff28924 54801989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
5481
5482 * etags.c (main): Don't depend on name invoked by.
5483 If CTAGS is not defined, assume it is ETAGS.
5484
dff28924 54851989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5486
5487 * etags.c (L_funcs): Allow package name in define construct,
5488 as in (foo::defmumble name-defined ...).
5489
dff28924 54901989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5491
5492 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
5493
5494 * Makefile (yow): Depends on ../src/paths.h.
5495
dff28924 54961989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
5497
5498 * etags.c: Fix compilation by moving Pascal after Fortran.
5499
dff28924 55001989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5501
5502 * movemail.c [USG]: Define F_OK, etc., if not found in header.
5503
dff28924 55041989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5505
5506 * hexl.c: New file, supports hexl-mode.
5507
dff28924 55081989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5509
5510 * movemail.c: New compilation flag MAIL_USE_MMDF.
5511
dff28924 55121989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5513
5514 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
5515 * server.c: Likewise.
5516
5517 * make-docfile.c (scan_c_file): Output argument names at end of string.
5518 (write_c_args): New subroutine.
5519
dff28924 55201989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5521
5522 * movemail.c: Report failure of flock.
5523
dff28924 55241989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5525
5526 * etags.c (find_entries): Allow multi-letter extensions for fortran.
5527
dff28924 55281989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5529
5530 * loadst.c: on bsd4.3, use gettimeofday instead of CPUSTATES.
5531
dff28924 55321989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5533
5534 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
5535
5536 * emacsstool.1: update to document environment variables.
5537
dff28924 55381989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5539
5540 * etags.c (PAS_funcs): New function by Mosur Mohan.
5541
5542 * movemail.c: On sysv, include unistd.h.
5543
dff28924 55441989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5545
5546 * b2m.c: New file.
5547
dff28924 55481989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5549
5550 * etags.c: Prolog support from Sunichirou Sugou
5551
dff28924 55521989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5553
5554 * Makefile (clean): New target.
5555
dff28924 55561989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5557
5558 * fakemail.c (put_line): Break header lines at 79 cols.
5559
dff28924 55601989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5561
5562 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
5563 multiple tags per line.
5564
dff28924 55651989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5566
5567 * movemail.c: Check access before doing real work.
5568 Check that outfile is in a writable directory.
5569 On fatal error, delete the lock file.
5570
dff28924 55711988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
362bc2da
DL
5572
5573 * env.c: Add decl for my-index
5574 * etags.c (file-entries): .oak => scheme
5575
dff28924 55761988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5577
5578 * movemail.c: Use `access' to check input and output files.
5579
dff28924 55801988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5581
5582 * emacsclient.c (main): Ignore all of CWD before first slash.
5583
dff28924 55841988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5585
5586 * etags.c (readline): Double linebuffer->size outside the xrealloc.
5587
dff28924 55881988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5589
5590 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
5591 * server.c: chmod the socket to 0700.
5592
dff28924 55931988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5594
5595 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
5596 (add_field): Delete comments and turn `<', `>' to spaces
5597 in header lines.
5598 (USE_FAKEMAIL): New customization macro says to make fakemail
5599 not be a no-op even on a BSD system.
5600
dff28924 56011988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5602
5603 * etags.c (consider_token): Skip comments just like whitespace.
5604 Notice `struct', etc. and set strtag for those tokens.
5605 Return 1 for the token following `struct' if an open-brace follows it.
5606 (C_entries): Special handling of token following `struct'
5607 needed because we have probably advanced to the following line
5608 to find the `{'.
5609 (main): New option `T' sets tflag and strflag.
5610 Set both of them by default if eflags.
5611
dff28924 56121988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5613
5614 * movemail.c: Do fsync before closing output.
5615
dff28924 56161988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
362bc2da
DL
5617
5618 * movemail.c: Better error message when can't create tempname.
5619 This file needs a great deal of extra error-checking and lucid reporting...
5620
dff28924 56211988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5622
5623 * etags.c: Support assembler code for .s and .a files.
5624 (getit): Allow underscore in a tag.
5625
dff28924 56261988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5627
5628 * movemail.c: Close output and check errors before deleting input.
5629
dff28924 56301988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
5631
5632 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
5633 whether to prefix it. Handle line number args.
5634
dff28924 56351988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
362bc2da
DL
5636
5637 * etags.c (main): default setting of eflag was backwards.
5638
dff28924 56391988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5640
5641 * etags.c: New option -i. -f renamed -o.
5642 `-' as input file means read input file names from stdin.
5643 -i spec'd or input file named TAGS means the input file is another
5644 tag table; output an "include" line for it.
5645
dff28924 56461988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5647
5648 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
5649 New targets install, install.sysv, install.xenix.
5650 This makefile is now responsible for installing executables
5651 and documentation from this directory into system directories.
5652
dff28924 56531988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
362bc2da
DL
5654
5655 * server.c, emacsclient.c (main): Compute socket name from euid.
5656
dff28924 56571988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5658
5659 * emacsclient.c: Args like +DIGITS are passed through unchanged.
5660
dff28924 56611988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5662
5663 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
5664 * emacsclient.c: Likewise.
5665 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
5666
dff28924 56671988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5668
5669 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
5670 (istoken) New string-comparison macro.
5671 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
5672
dff28924 56731988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5674
5675 * etags.c: Changes for VMS.
5676 Always define ETAGS on VMS.
5677 Define macros GOOD and BAD for success and failure exit codes.
5678 (begtk, intk): Allow `$' in identifiers
5679 (main): Don't support -B, -F or -u on VMS.
5680 Alternate loop for scanning filename arguments.
5681 (system): Delete definition of this function.
5682
5683 * etags-vmslib.c (system): Undefine this; VMS now provides it.
5684
dff28924 56851988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5686
5687 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
5688 around include of param.h. (Like fns.c.)
5689
dff28924 56901988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
5691
5692 * loadst.c (load_average): Move load-average code to this new fn.
5693 Add conditionals to compute load ave on UMAX.
5694
dff28924 56951988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
5696
5697 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
5698 with opposite sense.
5699
dff28924 57001988-05-13 Chris Hanson (cph@kleph)
362bc2da
DL
5701
5702 * emacsclient.c: Delete references to unused variable `out'. This
5703 caused a bus error when used under hp-ux.
5704
dff28924 57051988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
5706
5707 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
5708
dff28924 57091988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
362bc2da
DL
5710
5711 * etags.c (find_entries): `.t' or `.sch' means scheme code.
5712
dff28924 57131988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
5714
5715 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
5716
dff28924 57171988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
5718
5719 * movemail.c: #undef close, since config can #define it on V.3.
5720 * emacsclient.c, fakemail.c, loadst.c, server.c: likewise.
5721
dff28924 57221988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
5723
5724 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
5725 invalid escape sequences such as `\{'.
5726
5727 * loadst.c: Add `sequent' conditional for file dk.h.
5728
dff28924 57291988-03-20 Richard M. Stallman (rms@wilson)
362bc2da
DL
5730
5731 * server.c [not BSD and not HAVE_SYSVIPC]: fix error message.
5732
5733 * loadst.c (main) [XENIX]: use /usr/spool/mail, not /usr/mail.
6922b018
KH
5734
5735;; Local Variables:
d19249e7 5736;; coding: iso-2022-7bit
6922b018 5737;; End:
2a34a036 5738
9766d41b
PE
5739 Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
5740 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004
2a34a036
GM
5741 Free Software Foundation, Inc.
5742 Copying and distribution of this file, with or without modification,
5743 are permitted provided the copyright notice and this notice are preserved.
ab5796a9
MB
5744
5745;;; arch-tag: 2d979296-954c-448e-95c1-b46d134513dc