*** empty log message ***
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
a941b26b
EZ
12006-06-03 Eli Zaretskii <eliz@gnu.org>
2
ae85efdb
EZ
3 * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
4 [WINDOWSNT] <top level>: Don't redeclare malloc.
5 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
6 terminal device.
7
a941b26b
EZ
8 * makefile.w32-in: Delete traces of leditcfns.c.
9
10 * leditcfns.c: Remove file.
11
8a6d5da7
FP
122006-05-23 Francesco Potort\e,Al\e(B <pot@gnu.org>
13
14 * pop.c (pop_open, socket_connection, KPOP_SERVICE): Added
15 comments explaining why the "kpop" service is never used.
16
642c61f3
EZ
172006-05-13 Eli Zaretskii <eliz@gnu.org>
18
19 * makefile.w32-in (lisp1): Add fringe.elc.
20
7e237d24
FP
212006-05-02 Francesco Potort\e,Al\e(B <pot@gnu.org>
22
23 * etags.c (Perl_functions): Free space allocated for var package.
24 (Erlang_functions): Possibly free space allocated for var last.
25 (Prolog_functions): Possibly free space allocated for var last.
26
7c47913b
DN
272006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
28
7fe8b491
DN
29 * sorted-doc.c (main): Initialize docs to NULL.
30
cdeda579
DN
31 * yow.c (yow): Free buf.
32
7c47913b
DN
33 * etags.c: Delete c-indentation-style local variable.
34
2ef88a94
RS
352006-04-29 Richard Stallman <rms@gnu.org>
36
5e5b35c7
RS
37 * movemail.c (main): Check for negative value from `read'.
38
2ef88a94
RS
39 * fakemail.c (read_header): Give fatal error if input has no header.
40
d65b4235
PE
412006-04-02 Paul Eggert <eggert@cs.ucla.edu>
42
43 * b2m.c (main): Don't include <limits.h>.
44 (TM_YEAR_BASE): New macro.
45 (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
46 that s/ files can override this. Use the more-conservative range
47 1000-9999.
48 (main): Check for asctime returning NULL.
49 * fakemail.c: Likewise.
50
f5565804
PE
512006-03-27 Paul Eggert <eggert@cs.ucla.edu>
52
53 * b2m.c: Include <limits.h>.
54 (TM_YEAR_IN_ASCTIME_RANGE): New macro.
55 (main): Check for out-of-range time stamps.
56 * fakemail.c: Likewise.
57
90c9c343
AS
582006-03-18 Andre Spiegel <spiegel@gnu.org>
59
60 * vcdiff: Use "echo" as a default for $echo, otherwise we'll
61 execute $DIFF twice, and once with the wrong options.
62
a6a2b5d4
EZ
632006-02-23 Claudio Fontana <claudio@gnu.org>
64
9e2bcc86
EZ
65 * Makefile.in (install, uninstall): Add DESTDIR variable to
66 support staged installations.
a6a2b5d4 67
ef3f69f9
EZ
682005-12-30 Eli Zaretskii <eliz@gnu.org>
69
70 * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
fc8dc7cf
EZ
71 (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
72 international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
73 Rearrange the list to be similar to $(shortlisp) in
74 src/Makefile.in.
ef3f69f9
EZ
75 (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
76 emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
77 jit-lock.elc. Rearrange the list to be similar to $(shortlisp) in
78 src/Makefile.in.
79
30cfcf7f
RS
802005-12-22 Richard M. Stallman <rms@gnu.org>
81
82 * Makefile.in (update-game-score.o): Delete spurious final `\'.
83
2e0bea68
FP
842005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
85
86 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
87 which was never opened.
88
283879ef 892005-10-20 Olli Savia <ops@iki.fi> (tiny change)
ce0ae3a9
EZ
90
91 * etags.c: Undef STDIN if defined. (LynxOS defines it in system
92 header files.)
93
55102b5d
FP
942005-09-27 Francesco Potort\e,Al\e(B <pot@gnu.org>
95
96 * etags.c: Preliminary Forth support.
97 (prolog_pr): Cast strlen to int before comparison.
98 (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
99 the second argument is indeed a literal string.
b9509712 100 (main): In append mode, sort the tags file after writing it.
55102b5d
FP
101
1022005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
103
104 * etags.c (longopts, print_help, main): The -a (--append) option
105 can be used in ctags also; for one, the Linux make file uses it.
106
41ea4df8
CY
1072005-09-20 Chong Yidong <cyd@stupidchicken.com>
108
109 * ebrowse.c (add_sym): Compare namespace names instead of
110 namespace objects. This prevents the parser from incorrectly
111 treating classes whose superclass is in another namespace.
112
5c4757d3
RS
1132005-09-15 Richard M. Stallman <rms@gnu.org>
114
115 * Makefile.in (update-game-score.o): New target.
116 Compile and link this progranm separately.
117 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
118
df1b2142
JR
1192005-09-11 Jason Rumney <jasonr@gnu.org>
120
121 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
122 message instead.
123 (../src/paths.h): Removed.
124
c638055f
JB
1252005-07-27 Juanma Barranquero <lekktu@gmail.com>
126
127 * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
128 generated. Ignore also ctags.c and getopt.h.
129
130 * makefile.w32-in (clean): Delete getopt.h.
131 (getopt.h): New rule.
132
9eff9fe3
PE
1332005-07-26 Paul Eggert <eggert@cs.ucla.edu>
134
135 Merge gnulib getopt implementation into Emacs.
136
137 * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
138 (GETOPT_H): New macro, from gnulib.
139 (getopt.h): New rule, from gnulib.
140 (GETOPTOBJS): Now autoconfigured.
141 (GETOPTDEPS): getopt.h is now autoconfigured.
142 (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
143 (getopt.o): Depend on ${srcdir}/gettext.h.
144 (movemail.o): Depend on $(GETOPT_H).
145 * getopt.c, getopt1.c: Sync from gnulib.
146 * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
147 * getopt.h: Removed (now is getopt_.h).
148
ec641d50
KR
1492005-07-13 Ken Raeburn <raeburn@gnu.org>
150
151 * pop.c: Don't include des.h (or variants thereof); krb.h will do
152 it.
153 (sendline): Add the \r\n to the line in a temporary buffer, and
154 write it all at once.
155
a0ec7a4a
LK
1562005-07-04 Lute Kamstra <lute@gnu.org>
157
158 Update FSF's address in GPL notices.
159
0e0dddda
EZ
1602005-06-13 Eli Zaretskii <eliz@gnu.org>
161
162 * makefile.w32-in ($(DOC)): Fix last change.
163
5a77c8e2
EZ
1642005-06-12 Eli Zaretskii <eliz@gnu.org>
165
166 * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
167 temacs.exe, and the preloaded *.elc files. This avoids
168 unnecessary dumping and DOC rebuilding.
169
1a8fb426
EZ
1702005-06-04 Eli Zaretskii <eliz@gnu.org>
171
172 * ntlib.h (fileno): Don't define if already defined.
173
7235a58f
TTN
1742005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
175
176 * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
177 (yow): Use EXIT_FAILURE in case of memory error.
178
5063dbbf
YM
1792005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
180
181 * make-docfile.c (DIRECTORY_SEP): New macro.
182 (IS_DIRECTORY_SEP): Use it.
183
5b9562c3
JD
1842005-03-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
185
186 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
187
ba025f6d
YM
1882005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
189
190 * make-docfile.c: Undo previous change.
191
a9eedf40
AS
1922005-02-04 Andreas Schwab <schwab@suse.de>
193
194 * movemail.c (fatal): Accept third parameter and pass down to
195 error.
196 (pfatal_with_name): Pass error string as format parameter instead
197 of as part of format string.
198 (pfatal_and_delete): Likewise.
199 (main): Adjust call to fatal.
200 (xmalloc): Likewise.
201
5a92a9eb
RS
2022005-01-29 Richard M. Stallman <rms@gnu.org>
203
204 * movemail.c (popmail): Don't use Errmsg as format string.
205
e6973a25
ST
2062004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
207
208 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not
209 defined.
210
1bb3da38
AS
2112004-12-15 Andreas Schwab <schwab@suse.de>
212
213 * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
214 preprocessing to compile time constant.
215
d4a38fdd
KS
2162004-11-17 Kim F. Storm <storm@cua.dk>
217
218 * etags.c: Undo last change.
219
f2eb41c8
KS
2202004-11-09 Kim F. Storm <storm@cua.dk>
221
222 * make-docfile.c (scan_c_file): Set defvarperbufferflag to
223 silence compiler.
224
225 * hexl.c (main): Init local var c to silence compiler.
226
227 * etags.c (main, consider_token, C_entries): Add misc switch
228 default targets to silence compiler.
229
3cf5c994
JD
2302004-11-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
231
232 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
233 resulting DOC file can be used on Unix/Mac also.
234
e057dc50
FP
2352004-09-13 Francesco Potort\e,Al\e(B <pot@gnu.org>
236
237 * etags.c (main): When relative file names are given as argument,
238 make them relative to the current working dir, rather than
239 relative to the output tags file, if the latter is in /dev.
240
05d9a399
FP
2412004-09-13 Francesco Potort\e,Al\e(B <pot@gnu.org>
242
243 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
244 <stdlib.h> is available.
245 (enum sym_type): New st_C_attribute value for parsing
246 gcc's __attribute__. Deleted st_C_typespec value.
247 (gperf, in_word_set): Use gperf 3, options changed. Added the
248 __attribute__ keyword, removed all the st_C_typespec keywords,
249 changed attribute for Java to (C_JAVA & !C_PLPL).
250 (inattribute): New global bool, part of the C state machine.
251 (cblev): Identifier renamed to bracelev throughout.
252 (consider_token, C_entries): Numerous changes for making the
253 parser more robust and adding support for __attribute__.
254
2552004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
256
257 * etags.c: (Lua_suffixes, Lua_help, lang_names, Lua_functions):
258 Support the Lua scripting language <http://www.lua.org>.
259
fba74375
FP
2602004-09-08 Francesco Potort\e,Al\e(B <pot@gnu.org>
261
262 * etags.c: [LONG_OPTIONS]: make it TRUE (ifdef) or FALSE (ifndef)
263 for ease of use.
264
3751eb00
RS
2652004-07-17 Richard M. Stallman <rms@gnu.org>
266
267 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
268
86d373e6
JB
2692004-06-01 Juanma Barranquero <lektu@terra.es>
270
271 * makefile.w32-in (obj): Add image.c.
272
80e26b66
TTN
2732004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
274
86d373e6
JB
275 * test-distrib.c (main): For failing cases, exit with
276 `EXIT_FAILURE'.
80e26b66 277
e6662c8b
JR
2782004-05-08 Jason Rumney <jasonr@gnu.org>
279
280 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
281 command-lines.
282
65396510
TTN
2832004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
284
285 * cvtmail.c: Throughout, replace 0 destined for `exit' arg
286 with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
287 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
288
289 * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
86d373e6
JB
290 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
291 * test-distrib.c, update-game-score.c, yow.c: Likewise.
65396510 292
c2bcfb19
TTN
2932004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
294
295 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
296
3f0656ff
TTN
2972004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
298
299 * b2m.c (GOOD, BAD): Delete macros. Throughout,
300 replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
301 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
302
303 * etags.c: Likewise.
304
238add5e
JR
3052004-05-03 Jason Rumney <jasonr@gnu.org>
306
307 * makefile.nt: Remove.
308
b09c5608
EZ
3092004-04-26 Eli Zaretskii <eliz@gnu.org>
310
311 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
312 (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
313 instead of a literal '/'.
314
d814862a
JB
3152004-04-23 Juanma Barranquero <lektu@terra.es>
316
317 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
318
442a2160
PE
3192004-04-17 Paul Eggert <eggert@gnu.org>
320
321 * rcs2log (Help): Clarify wording of the usage message.
322 Problem reported by Alan Mackenzie in
323 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
324
d5d66b7e
SM
3252004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
326
327 * make-docfile.c (xmalloc): Fix return type.
328 (put_filename): New fun.
329 (scan_file): Use it.
330
bdfd0369
JB
3312004-03-09 Juanma Barranquero <lektu@terra.es>
332
333 * grep-changelog: Changes to support ChangeLog.10+.
334 (main): Tidy up usage string. Fix "Use of uninitialized value"
335 warning. Set version to 0.2. Parse the directory listing to get
336 any ChangeLog.n file, not just 1..9.
337 (header_match_p, entry_match_p, print_log, parse_changelog):
338 Remove Perl prototypes (their purpose is to help the parser, which
339 isn't needed here, not declare arguments).
340 (parse_changelog): Make --reverse faster on big batches by not
341 modifying the entries list.
342
a64387ee
JB
3432004-03-01 Juanma Barranquero <lektu@terra.es>
344
345 * makefile.w32-in (obj): Add fringe.c.
346
9766d41b
PE
3472004-02-14 Paul Eggert <eggert@twinsun.com>
348
349 * rcs2log: Work correctly if CVSROOT specifies :fork: or
350 :local: methods, or omits the colon between the hostname
351 and the path. Allow :/ in repository path, since CVS does.
352 Fix typo: "pository" should be set from $CVSROOT, not $repository.
353 This fixes a bug reported by Wolfgang Scherer in
354 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
355 along with some related bugs I discovered by inspecting how
356 CVS itself parses $CVSROOT.
357
a64387ee 3582004-02-04 J\e,bi\e(Br\e,bt\e(Bme Marant <jmarant@nerim.net> (tiny change)
98c6e531
SM
359
360 * emacsclient.c (decode_options): Fix handling of alternate editor.
361
0734b0d0
SM
3622004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
363
364 * emacsclient.c (main): Don't use the hostname in the socket name.
365 Look for relative socket names in the /tmp dir rather than in cwd.
366
2a6fc2d9
RS
3672004-01-24 Richard M. Stallman <rms@gnu.org>
368
369 * emacsclient.c (main): Restore errno from saved_errno,
370 so the error message comes from socket_status.
371
0734b0d0
SM
3722004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
373
374 * emacsclient.c (main): Stop if socket name too long.
375 Only try su-fallback if the socket name was not explicit.
376 Check socket name length in su-fallback case as well.
377
152b6e83
AS
3782004-01-08 Andreas Schwab <schwab@suse.de>
379
380 * emacsclient.c (main): Save errno from socket_status.
381
e8228824
AS
3822004-01-04 Andreas Schwab <schwab@suse.de>
383
384 * emacsclient.c (main): Fix socket name when using another user.
385
c9140662
PE
3862003-12-27 Paul Eggert <eggert@twinsun.com>
387
388 * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
389 a tag, and if the user has not specified an rlog option.
390 Adapted from a suggestion by Martin Stjernholm in
391 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
392 (Copyright): Update to 2003.
393
8babaa59
TTN
3942003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
395
396 * make-docfile.c (main): For return code, no longer special-case VMS.
397 Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
398
14ef7288
EZ
3992003-09-28 Andreas B\e,A|\e(Bsching <crunchy@tzi.de> (tiny change)
400
401 * emacsclient.c (quote_file_name): Print the result instead of
402 returning it. Fix the return type accordingly.
1ae7cf5e
RS
403 (main): With --eval, if no file name, read from stdin.
404 Quote file names.
14ef7288 405
f387bdea
RS
4062003-09-10 Richard M. Stallman <rms@gnu.org>
407
408 * emacsclient.c (main): Use socket_name.
409
14ef7288 4102003-09-10 Andreas B\e,A|\e(Bsching <crunchy@tzi.de> (tiny change)
f387bdea
RS
411
412 * emacsclient.c (socket_name): New variable.
413 (longopts, decode_options, print_help_and_exit):
414 Handle --socket-name argument.
415
0b7e7337
FP
4162003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
417
783bcffa 418 * etags.c (consider_token): Check C++ `operator' only when the
0b7e7337
FP
419 token len is long enough.
420
ac06b30b
DL
4212003-08-20 Dave Love <fx@gnu.org>
422
423 * Makefile.in: Remove obsolete references to alloca.
424
32b0a3c6
JB
4252003-07-29 Ken Brush <ken@wirex.com>
426
427 * emacsclient.c (main)
428 * etags.c (suggest_asking_for_help)
429 * movemail.c (main): Fix having macros in a printf statement.
430
3867c42d
JB
4312003-05-31 Juanma Barranquero <lektu@terra.es>
432
433 * makefile.w32-in (lisp): Fix references to byte-run.el,
434 float-sup.el and map-ynp.el, which are now in emacs-lisp.
435
7933722a
DL
4362003-05-22 Dave Love <fx@gnu.org>
437
438 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
439 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
440
463f55ee
DL
4412003-05-20 Dave Love <fx@gnu.org>
442
443 * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
444
445 * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
446
1b7a835b
JB
4472003-04-27 Oliver Scholz <alkibiades@gmx.de>
448
449 * update-game-score.c (read_scores): Fix corruption of scores on
450 read.
451
eec54bd7
SM
4522003-04-12 Stefan Monnier <monnier@cs.yale.edu>
453
454 * emacsclient.c (main): Use new safe location for socket.
455
ff4bd681
JB
4562003-03-12 Tom Tromey <tromey@redhat.com>
457
eec54bd7
SM
458 * emacsclient.c (print_help_and_exit): Print to stdout.
459 Exit successfully. Added some blank lines for readability.
ff4bd681
JB
460 (decode_options): Don't call print_help_and_exit in default case.
461 Print version information to stdout.
462 (main): Don't call print_help_and_exit.
463
dd132e44
RS
4642003-02-15 Richard M. Stallman <rms@gnu.org>
465
466 * cvtmail.c: Cast result of malloc and realloc.
467 Don't include stdlib.h, becuase config.h does.
468 (malloc, realloc): Declarations deleted.
ff4bd681 469
dd132e44
RS
470 * yow.c (yow): Cast result of malloc and realloc.
471 (malloc, realloc): Declarations deleted.
472
71ffc53a
JB
4732003-02-11 Juanma Barranquero <lektu@terra.es>
474
475 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
476
0dfd93c0
AS
4772003-02-08 Andreas Schwab <schwab@suse.de>
478
479 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
480 instead of the substitution.
481
37d1e680
RS
4822003-02-04 Richard M. Stallman <rms@gnu.org>
483
484 * update-game-score.c (push_score, read_scores): Cast values
485 of malloc and realloc.
486 (main, lock_file): Avoid assignment inside if.
487
c60ee5e7
JB
4882003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
489
490 * Makefile.in: Use @EXEEXT@ for Cygwin.
491
b24e2dc7
DL
4922003-01-21 Dave Love <fx@gnu.org>
493
494 * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
495 column-0 `('.
496
497 * yow.c: Don't include string.h.
498
675d000f
RS
4992003-01-20 Richard M. Stallman <rms@gnu.org>
500
501 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
502 New targets.
503
207aa3ff
KS
5042003-01-06 Kim F. Storm <storm@cua.dk>
505
506 * pop.c (__P): Renamed from _P to avoid problems on Cygwin.
507 All uses changed.
508
cf6d30d7
AI
5092002-12-18 Andrew Innes <andrewi@gnu.org>
510
511 * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
512 because GNU make doesn't append when using >> redirection.
513
649fc2c5
PJ
5142002-12-12 Jonathan Kamens <jik@kamens.brookline.ma.us>
515
516 * b2m.pl: Make sure every message ends with a blank line, because
517 some mbox parsers require a blank line before "From " lines.
518
85cce843
RS
5192002-12-08 Richard M. Stallman <rms@gnu.org>
520
521 * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
522 (_): Test only HAVE_LIBINTL_H to decide what to do.
523
2ccc4d34
RS
5242002-12-05 Richard M. Stallman <rms@gnu.org>
525
526 * getopt.c: Comment out include of libintl.h or gettext.h.
527
c5992177
RS
5282002-12-04 Richard M. Stallman <rms@gnu.org>
529
530 * Update getopt from gnulib version; changes described below.
531
532 * getopt1.c: Conditionally find getopt.h.
533 [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
534
535 * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
536 (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
c60ee5e7 537 (wchar.h): Include, maybe.
c5992177
RS
538 (attribute_hidden): Define if not defind.
539 (__getopt_initialized): Use attribute_hidden.
540 (__libc_argc, __libc_argv): Renamed from original_argc, etc.
541 (__getopt_nonoption_flags, nonoption_flags_max_len, nonoption_flags_len):
542 Conditional on USE_NONOPTION_FLAGS.
543 (SWAP_FLAGS): New definitions.
544 (exchange): Test USE_NONOPTION_FLAGS.
545 (_getopt_initialize): Test USE_NONOPTION_FLAGS.
546 (_getopt_internal): Error if argc < 1. New local var print_errors.
547 Improve test for ambiguous long option.
548 Add LIBIO support for error message output.
549 (NONOPTION_P): Test USE_NONOPTION_FLAGS.
550
551 * getopt.h: Maybe include ctype.h.
552 Treat __cplusplus like __STDC__.
553 (decls): Use __ in arg names.
554
4b5e69bd
SE
5552002-12-02 Stephen Eglen <stephen@gnu.org>
556
557 * emacsclient.c (main): Tell user how to start server within Emacs
558 if socket could not be found.
559
19fa03f3
RS
5602002-12-02 Richard M. Stallman <rms@gnu.org>
561
562 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
563
7be215b4
JB
5642002-11-19 Ben Key <bkey1@tampabay.rr.com>
565
29f538e6
BK
566 * makefile.w32-in: Fixed a bug that caused the documentation for
567 the built in function play-sound-internal not to be included in
568 /etc/DOC.
7be215b4 569
1998560a
DL
5702002-11-18 Dave Love <fx@gnu.org>
571
572 * update-game-score.c: Include unistd.h, string.h, stdlib.h,
573 fcntl.h, stdarg.h conditionally.
574 (_GNU_SOURCE, __attribute__): Don't define.
575 (optarg, optind, opterr): Declare.
576 (lose, lose_syserr): Use NO_RETURN.
577 (get_user_id): Use P_.
578
8b96caf3
RS
5792002-11-17 Richard M. Stallman <rms@gnu.org>
580
581 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
582
59daa29a
DL
5832002-11-14 Dave Love <fx@gnu.org>
584
585 * movemail.c (pop_retr): Declare comment.
586
587 * make-docfile.c (read_c_string_or_comment): Declare msgno.
9a007cb7
DL
588
589 * Makefile.in (YACC): Deleted.
590
f1b443bf
AS
5912002-10-19 Andreas Schwab <schwab@suse.de>
592
593 * Makefile.in (${archlibdir}): Always create $(gamedir).
594 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
595
52402e4f
JB
5962002-10-04 Juanma Barranquero <lektu@terra.es>
597
598 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
599
15dab115
MR
6002002-09-30 Markus Rost <rost@math.ohio-state.edu>
601
602 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
603 completely.
604
30be2360
SM
6052002-09-27 Stefan Monnier <monnier@cs.yale.edu>
606
607 * emacsclient.c: Remove SYSV support.
608 (eval, display): New vars.
609 (longopts): Add --eval and --display.
610 (decode_options): Add -e and -d processing.
611 (print_help_and_exit): Update the usage string.
612 (main): Add support for --eval and --display.
3ecdcd59 613 (main): Always use /tmp and non-qualified hostname.
30be2360 614
4208da83
SM
6152002-09-25 Stefan Monnier <monnier@cs.yale.edu>
616
617 * emacsserver.c: Remove.
618
3cf8c6aa
SM
6192002-09-17 Stefan Monnier <monnier@cs.yale.edu>
620
621 * emacsclient.c (quote_file_name): Quote \n.
622 (main): Print a final \n when needed.
623
4c6dce51
FP
6242002-09-03 Francesco Potorti` <pot@gnu.org>
625
626 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
627 string that cannot be freed.
628
ba88f8eb
FP
6292002-08-30 Francesco Potorti` <pot@gnu.org>
630
631 * etags.c (consider_token, C_entries): Switch to C++ parsing when
632 auto-detection is enabled and the `::' qualifier is met.
633 (consider_token, C_entries): Several bugs corrected that tagged
634 some declarations even though --declarations was not used.
635 (plainc): New macro.
636 (C_entries): Use it.
637 (C_entries): Several cosmetic changes.
638 (C_entries): Invalidate the token is some cases.
639
09cd1a74
FP
6402002-08-29 Francesco Potorti` <pot@gnu.org>
641
eec54bd7 642 * etags.c (C_entries): Correct a problem with const C++ funcs.
09cd1a74
FP
643 (ignoreindent): Renamed from noindentypedefs.
644 (cjava, cplpl): They are now macros instead of local vars.
645
6462002-08-28 Francesco Potorti` <pot@gnu.org>
647
648 * etags.c (HTML_labels): Tag ID= also.
649
87046df8
FP
6502002-08-27 Francesco Potorti` <pot@gnu.org>
651
652 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
653
8ee14629
FP
654 * etags.c: (HTML_labels): New language HTML.
655 (etags_strcasecmp): Like BSD's, for compatibility.
656 (strcaseeq): Make it into a macro.
657
658 * etags.c (make_tag): Never generate null length tag names.
87046df8
FP
659 (linebuffer_init): Renamed from initbuffer. All callers changed.
660 (pattern): Structure renamed to `regexp', member regex renamed to
661 pattern.
662 (node_st): Member pat renamed to regex.
eec54bd7
SM
663 (pattern); New member force_explicit_name, for future use.
664 Now always set to true, cannot be reset.
87046df8
FP
665 (add_regex, regex_tag_multiline, readline): Use it.
666 (main): Free some global structures.
8ee14629 667 (fdesc): New member `written'.
87046df8
FP
668 (readline, process_file): Initialise it.
669 (put_entries): Set it.
670 (main): Use it to create entries for files without tags.
671 (total_size_of_entries): Do not count invalid tags.
87046df8 672
02ce3e80
SM
6732002-08-19 Stefan Monnier <monnier@cs.yale.edu>
674
675 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
676 for the function name in the usage info.
677
5fba5c21
CW
6782002-07-31 Colin Walters <walters@gnu.org>
679
680 * update-game-score.c (P_): New macro. Use it for all prototypes.
681 (lose): Don't use varargs.
682 (lose_syserr): New function.
683
684 * update-game-score.c: Change all functions to K&R style.
685
712eaee0
AS
6862002-07-30 Andreas Schwab <schwab@suse.de>
687
688 * Makefile.in (localstatedir): New variable.
689
c89ed6ef
PJ
6902002-07-29 Jonathan Kamens <jik@kamens.brookline.ma.us>
691
692 * b2m.pl: Fix regexp for finding return address fields.
693
1e042160
SM
6942002-07-15 Stefan Monnier <monnier@cs.yale.edu>
695
696 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
697
c60ee5e7 6982002-07-05 Jonathan Kamens <jik@kamens.brookline.ma.us>
e9b60209 699
02ce3e80 700 * b2m.pl: Obey the rmail file and use the unpruned header properly.
e9b60209 701
9ee028d2
PJ
7022002-06-26 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
703
704 * b2m.pl: New file.
705
e1af8d40
FP
7062002-06-21 Francesco Potorti` <pot@gnu.org>
707
708 * etags.c: (F_getit, Fortran_functions, Ada_getit, Asm_labels)
709 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
710 (PHP_functions, PHP_functions, Cobol_paragraphs)
711 (Makefile_targets, Postscript_functions, Texinfo_nodes)
712 (prolog_pr, erlang_func, erlang_attribute)
713 (Perl_functions, Perl_functions, Pascal_functions)
714 (TeX_commands, get_tag): Use make_tag instead of pfnote.
715 (get_tag): Prototype changed, all callers changed.
716
ceaeb365
FP
7172002-06-20 Francesco Potorti` <pot@gnu.org>
718
d76132d0
FP
719 * etags.c: Implement implicit tag names, that is, unnamed tags
720 whose name is automatically deduced by etags.el. The advantage is
721 that there is no explicit tag name in most tags, so the size of
722 the tags file is reduced, yet find-tag is able to do a match as
eec54bd7 723 accurate as with named tags. See the comment in make_tag for details.
ceaeb365
FP
724 (make_tag): New function (was the disabled function new_pfnote).
725 (make_C_tag): Use it.
726
f175bfff
FP
7272002-06-19 Francesco Potorti` <pot@gnu.org>
728
729 * etags.c (add_regex): Invalid regexp modifiers are ignored.
730 (Makefile_targets): Tag variables unless --no-globals.
731 (LOOP_ON_INPUT_LINES): Serious bug corrected.
732
82ef78b3
FP
7332002-06-13 Francesco Potorti` <pot@gnu.org>
734
735 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
736 (invalidate_nodes): Bug corrected.
737 (print_help): Better help for regexps.
738
7a8940da
JB
7392002-06-13 Juanma Barranquero <lektu@terra.es>
740
741 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
742 font-core.elc.
743
6861f0e3
FP
7442002-06-12 Francesco Potorti` <pot@gnu.org>
745
746 * etags.c: New multi-line regexp and new regexp syntax.
747 (arg_type): at_icregexp label removed (obsolete).
748 (pattern): New member multi_line for multi-line regexps.
749 (filebuf): A global buffer containing the whole file as a string
750 for multi-line regexp matching.
751 (need_filebuf): Global flag raised if multi-line regexps used.
752 (print_help): Document new regexp modifiers, remove references to
753 obsolete option --ignore-case-regexp.
754 (main): Do not set regexp syntax and translation table here.
755 (main): Treat -c option as a backward compatibility hack.
756 (main, find_entries): Init and free filebuf.
757 (find_entries): Call regex_tag_multiline after the regular parser.
758 (scan_separators): Check for untermintaed regexp and return NULL.
759 (analyse_regex, add_regex): Remove the ignore_case argument, which
760 is now a modifier to the regexp. All callers changed.
761 (add_regex): Manage the regexp modifiers.
762 (regex_tag_multiline): New function. Reads from filebuf.
763 (readline_internal): If necessary, copy the whole file into filebuf.
764 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
765
7662002-06-11 Francesco Potorti` <pot@gnu.org>
767
768 * etags.c (add_regex): Better check for null regexps.
769 (readline): Check for regex matching null string.
770 (find_entries): Reorganisation.
771
f0da41a6
FP
7722002-06-07 Francesco Potorti` <pot@gnu.org>
773
774 * etags.c (scan_separators): Support all character escape
775 sequences supported by Gcc.
02ce3e80 776 (find_entries): Rewind unconditionally.
f0da41a6
FP
777 (find_entries): Do not call language functions directly, now calls
778 itself.
779 (find_entries): Do general initialisations here.
780 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
781 (Ada_getit, Pascal_functions, Pascal_functions)
782 (prolog_skip_comment): Do not do them here.
783 (readline_internal): Increment lineno here.
784 (readline): Conditionally undo readline_internal increment.
785 (readline): Do not return a value.
786
5526f1f6
FP
7872002-06-06 Francesco Potorti` <pot@gnu.org>
788
88c71720 789 * etags.c: New option --parse-stdin=FILE.
97b90b0a
FP
790 (enum arg_type): New label at_stdin.
791 (STDIN): New constant.
792 (parsing_stdin): New flag.
793 (longopts): New option --parse-stdin=NAME.
794 (print_help): Document it.
795 (main): Handle it.
796 (process_file): Split into process_file and process_file_name.
797 (process_file_name): New function.
798
88c71720 799 * etags.c: Improvements and bug squashing in TeX handling.
97b90b0a 800 (TeX_commands): Skip comments.
5526f1f6
FP
801 (TEX_defenv): Now contains more contructs.
802 (TEX_cmt): Make it a static char and move it before TeX_commands.
803 (TeX_commands): Shorten the tag to the brace after the name.
804 (TeX_commands): Names now include the initial backslash.
805 (TeX_commands): Names do not include numeric args #n.
806 (TeX_commands): Correct line char number in tags.
807 (TEX_tabent, TEX_token): Deleted.
808 (TeX_commands, TEX_decode_env): Streamlined.
809
50496bd9
FP
8102002-06-05 Francesco Potorti` <pot@gnu.org>
811
812 * etags.c (main): Avoid a buffer overrun with sprintf.
813
a71867c5
RS
8142002-05-30 Richard M. Stallman <rms@gnu.org>
815
816 * Makefile.in (LIBS_MAIL): Renamed from LIB_MAIL.
817 (LIBS_MOVE): Renamed from MOVE_LIBS.
818
b7e67db6
PE
8192002-05-26 Paul Eggert <eggert@twinsun.com>
820
821 Reinstate the following change from 2002-03-22, which was
822 inadvertently lost on 2002-04-13.
823
824 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
825 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
826 the latter usage.
827
5f226e2c
EZ
8282002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
829
830 * pop.c (socket_connection): Move the code to resolve the POP
831 host right before trying to connect with it.
832
5167cfda
CW
8332002-04-28 Colin Walters <walters@verbum.org>
834
835 * Makefile.in (${archlibdir}): Don't conditionalize on
836 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
837 or not we have access to the specified game user.
50496bd9 838
5167cfda
CW
839 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
840 (main): New argument -d, for specifying directory.
841 (usage): Document.
02ce3e80 842 (get_user_id): Compute.
5167cfda
CW
843 (get_home_dir): Deleted.
844 (get_prefix): New function, taken from main.
845 (main): Check whether or not we are running setuid. Move prefix
846 computation to get_prefix. Don't call getpwent; we don't need to
847 any more. Instead, move it to get_user_id().
848
beedfcf1
PJ
8492002-04-24 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
850
851 * ebrowse.c (skip_initializer): Return void.
852
973c3c87
CW
8532002-04-23 Colin Walters <walters@verbum.org>
854
855 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
856 space.
857
8378bcd3
FP
8582002-04-22 Francesco Potorti` <pot@gnu.org>
859
860 * etags.c: (last_node): Make it a global variable.
861 (process_file): Print the tags from the nodes as soon as
862 possible, and delete the nodes. This brings down the memory
863 occupancy as etags to almost the same level as when the #line
864 directives were not parsed.
865 (free_fdesc): New function.
866 (find_entries): Use it.
867 (invalidate_nodes): In etags mode, do not just mark the nodes as
868 invalid, do delete them.
869
c901ceff
GM
8702002-04-21 Gerd Moellmann <gerd@gnu.org>
871
872 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
873
c42d6dbd
EZ
8742002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
875
876 * update-game-score.c: Move config.h before the other headers, to
877 avoid compiler warnings.
878
090416ca
FP
8792002-04-16 Francesco Potorti` <pot@gnu.org>
880
881 * etags.c (find_entries): Bug fix in list management.
882
5dab24c1
FP
8832002-04-15 Francesco Potorti` <pot@gnu.org>
884
885 * etags.c (get_language_from_filename): Add one argument.
886 (strcaseeq): New function.
887 (get_language_from_filename): Use it to do a case insenstitive
888 comparison if called with appropriate args.
889 (find_entries): Try with case insensitive match.
890 (process_file): Bug fixed.
891
c150db23
FP
8922002-04-13 Francesco Potorti` <pot@gnu.org>
893
894 * etags.c (find_entries): Delete tags previously obtained from
895 file xxx.c's #line directives when parsing file xxx.y. This is
896 generally done for automatically generated files containing
897 #line directives. This handles the case when xxx.y is tagged
898 before xxx.c, and the entries of xxx.c pointing to xxx.y should
899 be discarded.
eec54bd7 900 (language): Add the metasource member. Initializers changed.
c150db23
FP
901 (invalidate_nodes): New function.
902 (readline): Discard lines after having found a #line
02ce3e80 903 directive pointing to an already tagged file. This handles the
c150db23
FP
904 case when xxx.y is tagged before xxx.c, and the entries of
905 xxx.c pointing to xxx.y should be discarded.
906 (fdesc): New structure for keeping track of input files.
907 (fdesc): Remove `file' member (a string) and use instead a pointer
908 to a file description structure.
02ce3e80
SM
909 (curfile, curfiledir, curtagfname, curlang, nocharno)
910 (forced_lang): Global variables removed in favor of fdhead and
c150db23
FP
911 curfdp, pointers to file description strucures.
912 (longopts, main, print_help): Use the CTAGS conditional to include
913 or exclude options that work on etags or ctags only.
02ce3e80
SM
914 (process_file, find_entries, pfnote, add_node, put_entries)
915 (readline): Use fdhead and curfdp.
c150db23
FP
916 (process_file, find_entries): Do not take an arg string, all
917 callers changed.
918
919 * etags.c (longopts, print_help, main): Test CTAGS to disallow
920 options that are not right for either etags or ctags.
921
922 * etags.c (number_len, total_size_of_entries): Define them also
923 in CTAGS mode, because gcc does not compile all refs away.
924
e9d1f248
CW
9252002-04-14 Colin Walters <walters@debian.org>
926
927 * update-game-score.c (lock_file): If the lock file is older than
928 an hour, delete it. Reset attempts to zero if we have to break
929 the lock.
930
7605f1bd
AS
9312002-04-14 Andreas Schwab <schwab@suse.de>
932
933 * update-game-score.c (read_score): Fix type of second parameter
934 of getdelim to be of type size_t instead of int. Use 0 instead of
935 ESUCCES.
936
e82defd1
CW
9372002-04-10 Colin Walters <walters@verbum.org>
938
b9b966e0
CW
939 * update-game-score.c: (toplevel): Include stdarg.h.
940 (MAX_DATA_LEN, MAX_SCORES): New.
941 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
942 default to ~/.emacs.d/games.
943 (get_user_id): Don't zero uid in the case where we can't get the
944 username.
945 (lose): New function.
946 (main): Actually use `max', and default it to MAX_SCORES.
947 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
948 function.
949 (read_score): Handle the case of reading unamelen characters, then
950 finishing. Use mktemp if mkstemp isn't available.
951 (lock_file, unlock_file): Delete unused versions.
952 (lock_file): Always sleep, even if we unlinked the lock file.
953
e82defd1
CW
954 * Makefile.in (gamedir, gameuser): New variables.
955 (toplevel, UTILITIES): Add update-game-score.
956 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
957
5795b420
CW
9582002-04-07 Colin Walters <walters@verbum.org>
959
960 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
961 (get_user_id): Take struct passwd as an argument.
962 (get_home_dir): New function.
963 (main): Read in user information here. Discover home directory if
964 necessary.
965 (read_score): Trim newline only in `getline' case.
966
cd553ffb 9672002-04-05 Colin Walters <walters@debian.org>
c150db23 968
cd553ffb
CW
969 * update-game-score.c (toplevel): Include pwd.h.
970 (struct score_entry): Add username field.
971 (push_score): Use it.
972 (get_user_id): New function.
973 (main): Don't malloc excessively.
974 (main): Use username field.
975 (read_score): Read it.
976 (push_score): Handle it.
977 (write_scores) Write it.
c150db23
FP
978 (read_score): Handle arbitrary length data.
979
b74bd4a3
EZ
9802002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
981
982 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
983
fa8bc89d
GM
9842002-03-29 Gerd Moellmann <gerd@gnu.org>
985
986 * ebrowse.c (add_declarator, skip_initializer): New functions.
987 (declaration): Use them.
988
dd87b4cc
JR
9892002-03-28 Jason Rumney <jasonr@gnu.org>
990
991 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
992
cd553ffb
CW
9932002-03-27 Colin Walters <walters@debian.org>
994
995 * update-game-score.c: New file.
996
dfef6d49
PE
9972002-03-22 Paul Eggert <eggert@twinsun.com>
998
999 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
1000 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
1001 the latter usage.
1002
4fff90e4 10032002-03-12 Francesco Potorti` <pot@gnu.org>
a13d6523 1004
4fff90e4 1005 * etags.c (Python_functions): Skip spaces at beginning of lines.
a13d6523
FP
1006 (Python_functions, PHP_functions): Name tags, for ctags' sake.
1007 (TeX_commands): Name tags. Correction of old disabled code.
1008
1009 * etags.c (curfiledir, curtagfname): New global variables.
1010 (process_file): Initialise them.
1011 (readline): Canonicalize the name found in #line directive.
893a741e 1012
4fff90e4 10132002-03-06 Jason Rumney <jasonr@gnu.org>
ca55a1e3 1014
893a741e
JR
1015 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
1016 compilers that don't optimize out dead code.
1017
51aeded3
FP
10182002-03-05 Francesco Potorti` <pot@gnu.org>
1019
1020 * etags.c: Honour #line directives.
1021 (no_line_directive): New global var; set it for old behaviour.
1022 (main): Remove some #ifdef in the getopt switch.
1023 (add_node, put_entries): Code added to merge different chunks of
1024 nodes referring to the same file. Currently the tags are just
1025 appended, without any check for duplicates.
1026 (Perl_functions): Do not special case ctags.
1027 (readline): Identify #line directives and do the right thing.
1028 (nocharno, invalidcharno): New global vars.
1029 (process_file): Reset nocharno.
1030 (readline): Set nocharno.
1031 (pfnote): Read nocharno and maybe put invalidcharno in node.
1032 (total_size_of_entries, put_entries): Use invalidcharno.
1033
1034 * etags.c: Keep the whole tag table in memory, even in etags mode.
1035 (main): Call put_entries here even in CTAGS mode.
1036 (main, process_file): Check the return values of fclose and pclose.
1037 (process_file): Do not call put_entries after parsing each file.
1038 (process_file): Canonicalise file names even for ctags.
1039 (process_file): Set curfile here...
1040 (find_entries): ... not here any more.
1041 (add_node): In etags mode, build a linked list of entries (on
1042 right pointer) for each file, and link the first entry of each
1043 file on left nodes.
1044 (put_entries): Print here the name of the file.
1045 (put_entries): Print the entries starting from the first file.
c150db23 1046 (number_len, total_size_of_entries): Define these only in etags
51aeded3
FP
1047 mode, make the second work only on the right nodes.
1048
1049 * etags.c: Make all global variables static.
1050
50ce1f62
JB
10512002-02-25 Juanma Barranquero <lektu@terra.es>
1052
1053 * makefile.w32-in (lisp): Add missing backslash.
1054
82a399d2
JR
10552002-02-24 Jason Rumney <jasonr@gnu.org>
1056
1057 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
1058 using .elc files.
1059 (lisp): Sync with list in src/Makefile.in
1060 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
1061
a279c920
PE
10622002-02-10 Paul Eggert <eggert@twinsun.com>
1063
1064 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
1065 disallows the old syntax.
1066
0caa685d
PE
10672002-02-03 Paul Eggert <eggert@twinsun.com>
1068
1069 * rcs2log(Copyright): Update to 2002.
1070 (AWK, TMPDIR): Work around portability problem in broken shells that
1071 don't understand `: ${VAR=val}'.
1072 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
1073 Prefer the new -k option to the traditional +M -N option.
1074
03950b5b
PJ
10752002-01-01 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1076
1077 * b2m.c (main): Parenthesize assignment when used as truth value
1078 to prevent gcc warnings.
1079
1080 * fakemail.c: Include <config.h>.
1081
2f8fe2f4
PJ
10822001-12-29 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1083
1084 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
1085 * yow.c: Include <config.h>.
1086
a60e4de9
FP
10872001-12-21 Francesco Potorti` <pot@gnu.org>
1088
1089 * etags.c (Perl_functions): Tag packages and use them in sub tags.
1090 (get_tag): Return a pointer to the tag that is found.
1091
1092 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
1093 (F_takeprec): Renamed from takeprec. All callers changed.
1094 (F_getit): Renamed from getit. All callers changed.
1095 (nocase_tail): Renamed from tail. All callers changed.
1096 (Ada_getit): Renamed from adagetit. All callers changed.
eec54bd7 1097 (L_getit): Simplify by using get_tag.
a60e4de9
FP
1098 (Perl_functions, Postscript_functions, erlang_attribute): Use the
1099 modified LOOKING_AT.
1100 (notinname): Removed '[' and added ')' to the recognised chars.
1101 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
1102 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
1103 Clarified, using strneq or notinname.
1104 (L_isdef, L_isquote): Removed.
1105 (Lisp_functions, L_getit): Clarified.
1106
1107 * etags.c: (P_): Renamed to __P for consistency with config.h.
1108 [HAVE_CONFIG_H]: Let config.h deal with __P.
1109 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
1110 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
1111 gperf code needs it.
1112 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with Xemacs).
1113 [HAVE_CONFIG_H] [!__P]: Define __P (for use with Xemacs).
1114 (xmalloc, xrealloc): Use PTR instead of long *.
1115 (bool): Make it a define, not a typedef, for C++ compilers.
1116 (pattern): Members renamed to avoid name clash in some C++ compilers.
1117 (get_language_from_langname): Use const argument.
1118
c95eaa61
PJ
11192001-12-22 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1120
1121 * makefile.nt, makefile.w32-in: Remove mocklisp files.
1122
69bfc389
PJ
11232001-12-19 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1124
b8509940
PJ
1125 * emacsserver.c: Conditionally include config.h.
1126
594aa066
PJ
1127 * fakemail.c: Likewise.
1128
e69233c2
PJ
1129 * emacsclient.c: Include "config.h", not <../src/config.h>.
1130 (main): Parenthesize assignment when used as truth value to
1131 prevent gcc warnings.
1132
69bfc389
PJ
1133 * ebrowse.c: Include stdlib.h and string.h conditionally.
1134
e4e34e31
EZ
11352001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
1136
1137 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
1138
ffb7c9c6
PJ
11392001-12-18 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1140
1141 * test-distrib.c: Fix previous change.
1142
fb5aa7ac
DL
11432001-12-18 Dave Love <fx@gnu.org>
1144
1145 * test-distrib.c: Conditionally include fcntl.h.
1146
1147 * fakemail.c: Include "config.h", not <../src/config.h>.
1148 (_XOPEN_SOURCE): Define as 500.
1149
1150 * emacsserver.c: Include "config.h", not <../src/config.h>.
1151
1152 * cvtmail.c: Include config.h, stdlib.h.
1153 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
1154
1155 * yow.c: Conditionally include various headers. Use "epaths.h",
1156 not <../src/epaths.h>.
1157 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
1158
e94a3679
FP
11592001-12-12 Francesco Potorti` <pot@gnu.org>
1160
13dc0576 1161 * etags.c (PHP_functions): New function for parsing PHP.
e94a3679
FP
1162 (LOOKING_AT): New macro.
1163 (Perl_functions, Python_functions, PHP_functions)
1164 (Scheme_functions, Texinfo_nodes): Use it.
1165 (Perl_functions): Use strneq.
1166 (prolog_pred): Renamed to prolog_pr.
13dc0576 1167 (prolog_pr): Recognise Prolog rules in addition to predicates.
e94a3679 1168 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
13dc0576 1169 unmodified compile, as Cygwin's regex.h is incompatible with us.
e94a3679
FP
1170 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
1171
34e39c95
RS
11722001-12-11 Richard M. Stallman <rms@gnu.org>
1173
1174 * Makefile.in (clean): Don't delete ../etc/DOC*.
1175
296071e7
PJ
11762001-12-11 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1177
1178 * COPYING: Moved back.
1179
76054cc8
AI
11802001-11-30 Andrew Innes <andrewi@gnu.org>
1181
e94a3679
FP
1182 * makefile.w32-in (FACE_SUPPORT):
1183 (MOUSE_SUPPORT):
1184 (FLOAT_SUPPORT):
1185 (WINNT_SUPPORT):
76054cc8
AI
1186 (lisp): Reference .el files instead of .elc files, to simplify
1187 bootstrapping.
1188 ($(DOC)): Change dependency to just `make-docfile'.
1189
0142178a
PJ
11902001-11-29 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1191
1192 * COPYING: Removed.
1193
e8d6a09b
PE
11942001-11-28 Paul Eggert <eggert@twinsun.com>
1195
1196 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
1197
1198 The following changes are derived from suggestions by Bob Chapman
1199 <rechapman@compuserve.com>.
1200
1201 * rcs2log (printlogline): Also allow tab and newline to separate
1202 '(function):' from the rest of a comment.
1203 (reformat the sorted log entries): Require date and author to
1204 match the clumpname.
1205
9a190096
GM
12062001-11-16 Gerd Moellmann <gerd@gnu.org>
1207
1208 * ebrowse.c (matching_regexp): Escape '\\'.
1209
8ec1b917
PJ
12102001-11-15 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1211
1212 * Makefile.in: Add support for --program-prefix, --program-suffix
1213 and --program-transform-name options.
1214
6d8f7d5d
RS
12152001-11-03 Richard M. Stallman <rms@gnu.org>
1216
1217 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
1218
1219 * movemail.c (popmail): Always pass two args to `error'.
1220
84e70f78
KR
12212001-10-24 Ken Raeburn <raeburn@gnu.org>
1222
1223 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
1224 -lhesiod and maybe -lresolv.
1225 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
1226 support if it's available.
1227
386ca361
MB
12282001-10-21 Miles Bader <miles@gnu.org>
1229
a3b10252
MB
1230 * make-docfile.c (struct rcsoc_state): New type.
1231 (read_c_string_or_comment): Add SAW_USAGE
386ca361 1232 parameter, and implement scanning for a `usage:' keyword.
a3b10252
MB
1233 Use a variable of type `rcsoc_state' to hold most of our state.
1234 (put_char): Add STATE parameter, and remove all other parameters
1235 except CH. Use STATE to get access to all needed state.
1236 (scan_keyword_or_put_char): New function.
386ca361
MB
1237 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
1238 Don't output a usage-string if there was one in the doc-string.
1239
71431a0e
GM
12402001-10-20 Gerd Moellmann <gerd@gnu.org>
1241
6aa97356 1242 * (Version 21.1 released.)
71431a0e 1243
37a9305e
PJ
12442001-10-19 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1245
1246 * b2m.c: Properly spell the name of Emacs.
1247
945220bd
MB
12482001-10-17 Miles Bader <miles@gnu.org>
1249
1250 * make-docfile.c (put_char): New function.
1251 (read_c_string_or_comment): Strip trailing spaces and newlines.
1252
14242528
MB
12532001-10-16 Miles Bader <miles@gnu.org>
1254
1255 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
1256 comments [with `doc:' keyword prefix].
1257
9f5eb4a3
GM
12582001-10-15 Gerd Moellmann <gerd@gnu.org>
1259
1260 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
1261 in a C doc comment.
1262
e641b454
GM
12632001-10-13 Gerd Moellmann <gerd@gnu.org>
1264
1265 * make-docfile.c (read_c_string_or_comment): Renamed from
1266 read_c_string. Add parameter COMMENT. Read C-style comments.
1267 (scan_c_file): Handle doc strings in C comments.
1268
967d7793
AI
12692001-10-12 Andrew Innes <andrewi@gnu.org>
1270
1271 * makefile.nt (ALL): Do not include fakemail.
1272
1273 * makefile.w32-in (install): Do not copy fakemail.
1274
d682756a
JR
12752001-10-10 Jason Rumney <jasonr@gnu.org>
1276
1277 * makefile.w32-in (ALL) Do not include fakemail.
1278
1279 * makefile.nt (install) Ditto.
1280
14a3dff7
GM
12812001-10-09 Gerd Moellmann <gerd@gnu.org>
1282
1283 * emacsserver.c (main): Cast geteuid in sprintf to int.
14a3dff7 1284
95bc7904 1285 * emacsclient.c (main): Cast isdigit argument to unsigned char.
14a3dff7 1286
f98d41f5
PJ
12872001-10-07 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1288
1289 * profile.c: Include config.h, not ../src/config.h.
1290 Include systime.h, not ../src/systime.h.
1291
ab952a4f
GM
12922001-10-05 Gerd Moellmann <gerd@gnu.org>
1293
1294 * Branch for 21.1.
dff28924 1295
12c64503
GM
12962001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
1297
1298 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
1299 ALIASEE to help work with namespace aliases.
1300 (struct sym): Remove struct member NAMESP_ALIASES.
1301 (namespace_alias_table): New variable.
1302 (make_namespace): Add parameter CONTEXT.
1303 (check_namespace): New function.
1304 (find_namespace): Add parameter CONTEXT.
1305 (check_namespace_alias): New function.
02ce3e80
SM
1306 (register_namespace_alias): Change type of parameter OLD_NAME.
1307 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
12c64503
GM
1308 (check_namespace): New function.
1309 (enter_namespace): Call find_namespace with CONTEXT parameter.
1310 (match_qualified_namespace_alias): New function.
eec54bd7 1311 (parse_qualified_ident_or_type): Fix typo in comment.
02ce3e80 1312 While parsing qualified ident or type update namespace context and
12c64503 1313 restore it on exit.
eec54bd7
SM
1314 (parse_qualified_param_ident_or_type): Fix typo in comment.
1315 (globals): Change handling of namespace aliases.
1316 (version): Add year 2001.
12c64503 1317
990e1190
FP
13182001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
1319
1320 * etags.c (analyse_regex): If regex_arg is NULL, return
1321 immediately after a call to free_patterns.
1322
f2e7e23e
AS
13232001-09-05 Paul Eggert <eggert@twinsun.com>
1324
1325 * rcs2log (Help, mainline code): Add new option -L FILE.
1326 (Copyright): Update year.
02ce3e80
SM
1327 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
1328 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
f2e7e23e
AS
1329 C locale.
1330 (mainline code): Handle nonstandard -u option differently, by
1331 transforming it to standard form. Check for "Working file: ", not
1332 "Working file:". Allow file names with spaces.
1333 (SOH, rlogfile): New shell vars.
dff28924 1334 (rlogout): Remove. Its old functionality is mostly migrated to
f2e7e23e
AS
1335 rlogfile.
1336
1337 Append ';;' to the last arm of every case statement, for
1338 portability to ancient broken BSD shells.
1339
02ce3e80 1340 (logins): Fix bug; was not being computed at all, lowering performance.
f2e7e23e
AS
1341 (pository): New var. This fixes some bugs where repositories are
1342 remote, or have trailing slashes.
02ce3e80 1343 (authors): $llogout is never an empty shell var, so don't worry
f2e7e23e 1344 about that possibility.
dff28924 1345 (printlogline, mainline code): Fix bug with SOH's being put into
f2e7e23e 1346 the output.
dff28924 1347
75c911eb
EZ
13482001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
1349
1350 * ebrowse.c (SEEK_END): #define if not defined by system headers.
1351 Suggested by Dave Love <d.love@dl.ac.uk>.
1352
5ae10f4a
EZ
13532001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
1354
1355 * makefile.nt (lisp): Synchronize with src/Makefile.in.
1356 * makefile.w32-in (lisp): Ditto.
1357
0e4011d8 13582001-07-25 Juanma Barranquero <lektu@terra.es>
e743f599
GM
1359
1360 * grep-changelog (parse_changelog): Remove unused local variable.
1361
1362 * grep-changelog (main): Add new option --reverse.
1363 (print_log): Use it.
1364 (parse_changelog): Use it.
1365
3c88ae74
GM
13662001-07-20 Gerd Moellmann <gerd@gnu.org>
1367
1368 * grep-changelog: Remove RCS Id keyword.
1369
41848daa
GM
13702001-07-20 Juanma Barranquero <lektu@terra.es>
1371
6e07c0a5
GM
1372 * grep-changelog (parse_changelog): Add tests for defined values
1373 to quiet warning from Perl 5.005 or above.
177ab8ce 1374 (entry_match_p, header_match_p): Fix handling of null or empty
0e4011d8
GM
1375 argument to prevent duplicate headers.
1376
1377 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
41848daa 1378
467f1209
GM
13792001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
1380
1381 * emacsclient.c (print_help_and_exit): Fix help message for
1382 +LINE:COLUMN option.
1383
13842000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
990e1190 1385
467f1209
GM
1386 * emacsclient.c (main): Add support for +LINE:COLUMN command line
1387 argument.
1388
bb24c64f
GM
13892001-07-16 Gerd Moellmann <gerd@gnu.org>
1390
1391 * ebrowse.c (main): Check that the output file exists and
1392 is non-empty if invoked with `--append'.
1393
fa829470
FP
13942001-05-14 Francesco Potorti` <pot@gnu.org>
1395
e335b66a
GM
1396 * etags.c (add_regex): Reset the whole newly allocated pattern
1397 buffer instead of the individual members. It's safer and works
1398 with Xemacs.
fa829470 1399
e335b66a 1400 * etags.1: Markups corrected.
fa829470 1401
6da5c7da
GM
14022001-05-08 Gerd Moellmann <gerd@gnu.org>
1403
02ce3e80 1404 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
6da5c7da 1405
efbecf9d
GM
14062001-05-03 Gerd Moellmann <gerd@gnu.org>
1407
1408 * ebrowse.c (globals): Fix handling of namespace aliases.
1409
f4976ebc
EZ
14102001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
1411
1412 * etags.c (print_help): Enclose the regexp in the help text
1413 example in quotes.
1414
23431241
DL
14152001-04-05 Dave Love <fx@gnu.org>
1416
1417 * emacsclient.c (fail): Don't return a value.
fa829470 1418 (main): Cast uid values for sprintf.
23431241 1419
476bf681
GM
14202001-04-03 Gerd Moellmann <gerd@gnu.org>
1421
b3f6107b
GM
1422 * emacsclient.c (fail, main): Don't use implicit int return type.
1423
476bf681
GM
1424 * b2m.c (main): Always return a value.
1425
ef53d75e
GM
14262001-03-02 Gerd Moellmann <gerd@gnu.org>
1427
1428 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
1429 freshly allocated object in *LAST_ID.
1430 (read_line): Accept \r\n line endings.
1431
425de386
AI
14322001-02-24 Andrew Innes <andrewi@gnu.org>
1433
1434 * makefile.w32-in: Fix copyright notice.
1435
f55ae599
FP
14362001-02-23 Francesco Potorti` <pot@gnu.org>
1437
1438 * etags.c (enum sym_type): New label st_C_template.
1439 (gperf input): Use it for switching to C++ from C.
1440 (consider_token): Do it.
c2a642c0
FP
1441 (C_entries): Initialise typdefcblev to quiet compilers.
1442 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
f55ae599 1443
f6839838
AI
14442001-02-22 Andrew Innes <andrewi@gnu.org>
1445
1446 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
1447 VMS header files.
1448 ($(BLD)\profile.obj): Ditto.
1449
1450 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
1451 VMS header files.
1452 ($(BLD)/profile.$(O)): Ditto.
1453
193fba87
AI
14542001-02-05 Andrew Innes <andrewi@gnu.org>
1455
1456 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
1457 invocation of make-docfile, to work with Windows 2000.
1458
30526cc6
DL
14592001-01-31 Dave Love <fx@gnu.org>
1460
1461 * etags.c (in_word_set): Use `static' in definition (for pcc).
1462
8f79fe72
FP
14632001-01-31 Francesco Potorti` <pot@gnu.org>
1464
1465 * etags.c: [NDEBUG] #undef assert and #define it as ((void)0), for
1466 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
1467 (C_entries): Tag token renamed to still_in_token because sunos4
1468 pcc wants to expand it as the token() macro even though it has no
1469 arguments.
1470
914d7258
AI
14712001-01-30 Andrew Innes <andrewi@gnu.org>
1472
1473 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
1474 bug in the Mingw32 assert.h header file.
1475
b28e26be
FP
14762001-01-30 Francesco Potorti` <pot@gnu.org>
1477
1478 * etags.c: [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
1479 #define it for the sake of Xemacs.
1480 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
1481 HAVE_CONFIG_H. This change only affects a standalone etags.
1482 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
1483 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
1484 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
1485 [!HAVE_UNISTD_H]: use defined(WINDOWSNT) instead of the bare
1486 WINDOWSNT, as this is the correct way to use it.
1487
8c463abe
FP
14882001-01-28 Francesco Potorti` <pot@gnu.org>
1489
1490 * etags.c: Be capable to parse nested struct-like structures.
1491 (structdef, structtag): Struct state machine revisited.
1492 (struct tok): Revisited.
1493 (cstack, nestlev, instruct): New struct and macros.
1494 (pushclass_above, popclass_above, write_classname): New functions
13dc0576 1495 for dealing with nested class names.
8c463abe
FP
1496 (consider_token, make_C_tag, C_entries): Many changes for dealing
1497 with arbitrarily nested structures.
1498 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
1499 (C_entries): Consider templates in C++.
1500 (sym_type): New constant st_C_class for detecting "class" also in
1501 C mode.
1502 (C_AUTO): New macro for automatic detection of C++.
1503 (consider_token): Automatic set C++ mode.
1504 (C_entries): New security check for yacc.
1505 (print_language_names, print_help): Mention the autodetect
1506 feature, do not show help for the -C option, now mostly useless.
1507 (C_entries): Tag C++ forward declarations if --declarations.
1508 (C_entries): Don't be fooled by things like XDEFUN.
1509 (consider_token): Discard asm pseudo function.
1510
e26f9ced
EZ
15112001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
1512
1513 * etags.c: Add a coding: tag.
1514
a47b7816
GM
15152001-01-26 Gerd Moellmann <gerd@gnu.org>
1516
8c463abe 1517 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
a47b7816
GM
1518 New variables.
1519 (matching_regexp): Use them instead of static variables in
1520 function scope.
1521
7df65e91 15222001-01-25 Francesco Potorti` <pot@gnu.org>
d22a24fa
FP
1523
1524 * etags.c (struct tok): Renamed from struct token.
1525 (token): Renamed from tok.
1526 (structtype): Make it a local variable.
1527 [DEBUG]: Use assert.
1528 (xrnew): Change the synopsis.
1529 (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
1530 (grow_linebuffer): Don't call xrnew when not needed.
02ce3e80 1531 (token): Buffer renamed to line.
d22a24fa 1532 (C_entries): Three calls to inibuffer moved here from main.
eec54bd7 1533 (C_entries): Remove all references to var methodlen, delete it.
d22a24fa
FP
1534 (linebuffer_setlen): Was grow_buffer, now also sets len.
1535 (consider_token, C_entries, Pascal_functions): Use it.
1536 (C_entries): Preventing problems relative to extern "C".
1537 (C_entries): Can tag more than one variable or func separated by
1538 comma when --declarations is used.
1539 (C_entries): More accurate tagging of members and declarations.
1540 (yacc_rules): Was global, made local to C_entries.
1541 (next_token_is_func): Removed.
1542 (fvdef): New constants fdefunkey, fdefunname.
1543 (consider_token, C_entries): Use them.
1544 (C_entries): Build proper lisp names for Emacs DEFUNs.
1545
21c2bbe0
GM
15462001-01-22 Gerd Moellmann <gerd@gnu.org>
1547
1548 * ebrowse.c (xfree): New function.
1549 (member, declaration, globals): Use xmalloc instead of alloca.
1550
7df65e91 15512001-01-15 Francesco Potorti` <pot@gnu.org>
83be933c
FP
1552
1553 * etags.c (print_language_names): Print filenames in addition to
1554 suffixes.
1555
47df1a5e
EZ
15562001-01-14 Francesco Potorti` <pot@gnu.org>
1557
1558 * etags.c (get_language_from_langname): Renamed from
1559 get_language_from_name.
eec54bd7
SM
1560 (get_language_from_filename): Renamed from get_language_from_suffix.
1561 Now first looks for the complete file name.
47df1a5e
EZ
1562 (language): New member char **filenames.
1563 (Makefile_filenames): List of possible filenames for makefiles.
eec54bd7 1564 (lang_names): Add a NULL member for every entry, added an entry
47df1a5e 1565 for makefiles.
13dc0576 1566 (Makefile_targets): New function.
47df1a5e
EZ
1567 (Texinfo_nodes): Renamed from Texinfo_fuctions and made
1568 it conformant to the style of the rest of the code.
1569
291c7e74
GM
15702001-01-13 Gerd Moellmann <gerd@gnu.org>
1571
1572 * make-docfile.c (write_c_args): Print newlines as spaces.
1573
0dac6924
AI
15742001-01-06 Andrew Innes <andrewi@gnu.org>
1575
1576 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
1577 of *.pdb.
1578
3e99d3b4
GM
15792001-01-03 Paul Eggert <eggert@twinsun.com>
1580
1581 * lib-src/rcs2log: Avoid security hole allowing attacker to
1582 cause user of rcs2log to overwrite arbitrary files, fixing
1583 a bug reported by Morten Welinder.
1584
1585 Don't put "exit 1" at the end of the exit trap; it's
1586 ineffective in POSIX shells.
1587
d6bb0c0d
GM
15882001-01-02 Gerd Moellmann <gerd@gnu.org>
1589
eec54bd7
SM
1590 * ebrowse.c (yyerror): Change to take two arguments.
1591 Add prototype. Change callers.
d6bb0c0d 1592
d5c00476 15932001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
315f5865
EZ
1594
1595 * ebrowse.c (enter_namespace, main): Cast variables to shut up
1596 compiler warnings.
1597 (yyerror): Change parameter declarations to be of type long, so
1598 that they can take pointers on 64-bit platforms.
1599
1600 * emacsclient.c (main): Remove unused local variable statbfr.
1601 (main) <homedir>: Make its declaration conditional on
1602 SERVER_HOME_DIR, to avoid compiler warnings.
1603
1604 * emacsserver.c (main) <homedir>: Make its declaration conditional
1605 on SERVER_HOME_DIR, to avoid compiler warnings.
1606
1607 * fakemail.c (readline): Cast buffer to "long *" to pacify
1608 over-zealous compilers.
1609
7c89ea61
EZ
16102000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
1611
1612 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
1613
a6768cc5
GM
16142000-12-15 Gerd Moellmann <gerd@gnu.org>
1615
1616 * ebrowse.c (operator_name): Cast argument of isalpha to
1617 unsigned char.
1618
1619 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
1620 Use them throughout instead of ctype functions/macros.
1621 (lowcase): Cast to unsigned char.
1622 (UPCASE): New macro.
1623 (canonicalize_filename): Use UPCASE instead toupper.
1624
1625 * fakemail.c (get_keyword): Make sure that isspace and
1626 similar aren't called with a negative argument.
1627
70de49cc
DL
16282000-12-13 Dave Love <fx@gnu.org>
1629
1630 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
1631
4e8b894c
AI
16322000-12-06 Andrew Innes <andrewi@gnu.org>
1633
1634 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
1635 don't know the real version, and I can't seem to get the quoting
1636 right in all circumstances.
1637
1638 * ebrowse.c (VERSION): Provide default definition, like etags.c
1639 does, because Windows build can't snarf this from version.el.
1640
88257bc8
AI
16412000-11-30 Andrew Innes <andrewi@gnu.org>
1642
1643 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
1644 (install): Ditto.
1645
d19249e7
JR
16462000-11-23 Jason Rumney <jasonr@gnu.org>
1647
1648 * makefile.w32-in: Add targets for ebrowse.exe.
1649 (LOCAL_FLAGS): Add -DVERSION flag.
1650
7df6adc3
DL
16512000-09-25 Dave Love <fx@gnu.org>
1652
1653 * sorted-doc.c: Include config.h.
1654 [!HAVE_STDLIB_H]: Declare malloc.
1655
fe83b953
AI
16562000-09-14 Andrew Innes <andrewi@gnu.org>
1657
1658 * makefile.w32-in: Revert to Unix line endings.
1659
517699ca
DL
16602000-09-04 Dave Love <fx@gnu.org>
1661
1662 * movemail.c (index, rindex): Prototype conditionally.
1663
f8803e97
AI
16642000-09-03 Andrew Innes <andrewi@gnu.org>
1665
1666 * makefile.w32-in: Change to DOS line endings.
1667
f72adc12
EZ
16682000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
1669
4034f3a8 1670 * movemail.c (toplevel): Remove redundant fcntl.h.
f72adc12
EZ
1671 [!F_OK]: Provide default definitions only after including both
1672 fcntl.h and unistd.h.
1673
f678f592
DL
16742000-08-29 Dave Love <fx@gnu.org>
1675
1676 * movemail.c: Revert previous change.
1677
5b671d04
EZ
16782000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
1679
1680 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
1681
6fa86045
DL
16822000-08-28 Dave Love <fx@gnu.org>
1683
1684 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
1685 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
1686
746d9caf
AI
16872000-08-22 Andrew Innes <andrewi@gnu.org>
1688
1689 * ntlib.h (WIN32): Remove unnecessary definition.
1690 (sleep): Make argument unsigned long.
1691 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
1692
1693 * ntlib.c (sleep): Make argument unsigned long.
1694
1695 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
1696
1697 * makefile.w32-in: New file.
1698
3b541489
EZ
16992000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
1700
1701 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
1702 letter only if it is a drive letter.
1703
e5acf0ca
GM
17042000-07-14 Gerd Moellmann <gerd@gnu.org>
1705
02ce3e80 1706 * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and ymalloc.
e5acf0ca
GM
1707
1708 * etags.c (xmalloc, xrealloc): Make externally visible, for use
1709 by alloca.o.
1710
02ce3e80 1711 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
e5acf0ca 1712
4b92c49a
GM
17132000-07-10 Gerd Moellmann <gerd@gnu.org>
1714
1715 * ebrowse.c (yylex): Accept string literals with newlines in them.
1716 (process_pp_line): Handle case of string literal with newline
1717 in it in replacement text, which counts as continuing the
1718 replacement text in GNU C.
1719
831a6cb0
GM
17202000-07-02 Gerd Moellmann <gerd@gnu.org>
1721
1722 * ebrowse.c (token_string): Add missing tokens.
1723 (parm_list): Handle case of qualified pointers.
1724
53245ee2
DL
17252000-06-23 Dave Love <fx@gnu.org>
1726
1727 * ebrowse.c: Move config.h before other includes (which may use
1728 feature tests).
1729
dcbf2cd2
JM
17302000-06-14 Jim Meyering <meyering@lucent.com>
1731
1732 * grep-changelog: Fix typos in comments. Remove trailing blanks.
1733
f1c7754a
JR
17342000-06-11 Jason Rumney <jasonr@gnu.org>
1735
1736 * makefile.nt: Add targets for ebrowse.
1737
1738 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
1739 compare filenames.
1740
5f1aea9a
GM
17412000-06-06 Gerd Moellmann <gerd@gnu.org>
1742
1743 * ebrowse.c (ymalloc): Renamed from xmalloc.
1744 (yrealloc): Renamed from xrealloc.
1745
5bf244f1
DL
17462000-05-21 Dave Love <fx@gnu.org>
1747
1748 * movemail.c: Include config.h, not ../src/config.h.
1749 (Errmsg): Bump length.
1750
1751 * pop.c (ERROR_MAX): Increase to 160.
1752
ec82fb2f
GM
17532000-05-04 Gerd Moellmann <gerd@gnu.org>
1754
1755 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
1756
5c922ea7
EZ
17572000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
1758
02ce3e80
SM
1759 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
1760 Define to semi-colon.
5c922ea7 1761 (FILENAME_EQ): New macro, for comparing file names.
02ce3e80 1762 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
5c922ea7
EZ
1763 (process_file): Don't assume that fread always reads as many bytes
1764 as it was told to (DOS-style CR-LF text files fail this logic).
1765 (open_file): Allocate enough space for path->path plus the file
1766 name and the slash.
1767
6142fdcb 17682000-04-19 Dave Love <fx@gnu.org>
97052c63
DL
1769
1770 * etags.c (Texinfo_functions): New function.
1771 (lang_names): Install it.
1772 (Texinfo_suffixes): New variable.
1773
cb9215e4
GM
17742000-04-19 Gerd Moellmann <gerd@gnu.org>
1775
1776 * ebrowse.c (xmalloc, xrealloc): Rewritten.
1777 (declaration): Remove parameter IS_EXTERN.
1778 (class_definition): Remove unused variable.
1779
be0dbdab
GM
17802000-04-09 Gerd Moellmann <gerd@gnu.org>
1781
1782 * Makefile.in (INSTALLABLES): Add ebrowse.
1783 (ebrowse): New target.
1784
1785 * ebrowse.c: New file.
1786
c5aa0fc2
AS
17872000-03-29 Andreas Schwab <schwab@suse.de>
1788
1789 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
1790
d054101f
GM
17912000-03-02 Gerd Moellmann <gerd@gnu.org>
1792
1793 * etags.c (lisp_suffixes) Add `LSP'.
1794
71cbb895
FP
17952000-02-10 Francesco Potorti` <pot@gnu.org>
1796
eec54bd7 1797 * etags.c (iswhite): Redefine not to consider '\0' as white
71cbb895
FP
1798 space, and use it throughout in place of isspace, thus preventing a
1799 potential signed char to int conversion problem.
1800 (MSDOS): #undefine befere redefining
1801
7df65e91 18022000-02-04 Francesco Potorti` <pot@gnu.org>
71cbb895
FP
1803
1804 * etags.c (many functions): Add prototypes.
1805
97fa0cc8
DL
18062000-02-10 Dave Love <fx@gnu.org>
1807
1808 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
1809 (erlang_func): Add `static' to definitions to keep pcc happy.
1810
7df65e91 18112000-01-31 Francesco Potorti` <pot@gnu.org>
e4100b7f
FP
1812
1813 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
1814 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
1815 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
1816 (getenv, getcwd): Only declare them if necessary.
1817 (EMACS_NAME): New constant macro.
1818 (print_version): Use it.
1819 (P_) [__STDC__]: Macro for defining function prototypes.
e4100b7f 1820
19e262bd 18212000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
1822
1823 * etags.c [WINDOWSNT]: #include <direct.h>
1824
19e262bd 18252000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 1826
19e262bd
FP
1827 * etags.c (all functions): Made them static.
1828 (all functions): Write prototypes.
e4100b7f 1829
55e30d2a
RS
18302000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
1831
1832 * movemail.c (main): Improve error message if can't create lock file.
1833
c60ee5e7 18342000-01-28 Eric Hanchrow <offby1@blarg.net>
875c1439
GM
1835
1836 * emacsclient.c (socket_status): New function.
02ce3e80 1837 (main): If $LOGNAME or $USER exist and differ from our euid, look
875c1439
GM
1838 for a socket based on the UID associated with the name.
1839
e4936aa9
GM
18402000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
1841
1842 * emacsclient.c: Add option -a EDITOR and environment variable
1843 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
1844
c60ee5e7 18451999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us>
791a9087
GM
1846
1847 * movemail.c (popmail): Allow mailbox specifications of the
1848 form `po:username:hostname'.
1849
7df65e91 18501999-11-19 Francesco Potorti` <pot@gnu.org>
e2081362
FP
1851
1852 * etags.c (_GNU_SOURCE): Define only if undefined.
1853 (get_scheme): Declaration deleted.
02ce3e80 1854 (main): Error was called with an integer as second arg, instead of
e2081362
FP
1855 a char pointer.
1856 (canonicalize_filename): Bug removed.
1857
18581999-11-18 Dave Love <d.love@dl.ac.uk>
1859
1860 * etags.c (C_entries): Rename label `intoken', avoiding K&R
1861 lossage from name clash with macro.
1862
b05d3bee
GM
18631999-11-13 Gerd Moellmann <gerd@gnu.org>
1864
1865 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
1866
cb3a6c48
GM
18671999-11-03 Gerd Moellmann <gerd@gnu.org>
1868
1869 * etags.c (print_help): Change email address to send bugs to.
1870
7df65e91 18711999-11-01 Francesco Potorti` <pot@gnu.org>>
1c478461
FP
1872
1873 * etags.c: Add suffix psw for PSWrap.
1874 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
1875 (Postscript_functions): Add code for PSWrap.
1876 (Scheme_functions): Use local pointer and new get_tag function.
1877 (get_tag): New name for old get_scheme.
1878 (process_file): Do not free NULL when file does not exist.
1879 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
1880 (C_entries): Modifications that make --members tag even inside
1881 typedefs and C nested structs (one level only).
eec54bd7 1882 (consider_token): Correct a bug which prevented tagging of enum
1c478461 1883 constants.
eec54bd7 1884 (C_stab_entry): Add if, for, while, switch, return as
1c478461
FP
1885 st_C_ignore. This makes it simpler to work when cblev!=0.
1886
02ce3e80 1887 * etags.c (C_entries): Tag member function declarations when
1c478461
FP
1888 --declarations is used.
1889
1890 * etags.c (C_entries, consider_token): C++ `operator' now is
1891 tagged in most cases.
1892 As before, :: is not recognised if surrounded by spaces.
1893
1894 * etags.c (relative_filename): Account for DOS file names such
1895 that is impossible to make one relative to another.
1896
1897 * etags.c (sym_type): New st_C_extern tag.
1898 (gperf input): Use it for spotting external declarations.
1899 (print_help): Document the new behaviour of --declarations.
1900 (fvextern): New global variable.
1901 (consider_token, C_entries): Use it.
1902
1903 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
1904 (etags_getcwd): Remove test for WINDOWSNT.
1905
1906 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
1907 foo.cgz, foo.cz, etc.
1908
1909 * etags.c (declarations): New global switch.
1910 (longopts): Describe it.
1911 (print_help): Document it.
1912 (C_entries): Use it.
1913 (process_file): Don't process a file twice.
1914
1915 * etags.c (Fortran_functions): No tags for "procedure".
1916
19171999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
1918
1919 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
1920 non-zero, returns a pointer to where the extension begins; callers
1921 changed.
1922 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
1923 were foo.c.gz.
1924
7df65e91 19251999-11-01 Francesco Potorti` <pot@gnu.org>
1c478461
FP
1926
1927 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
1928 (fvdev): New constant foperator.
1929 (consider_token): Use it to get "operator" in C++.
1930 (C_entries): Extend length of operator@ function name.
1931 (C_entries): Use foperator when necessary.
1932
1933 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
1934
1935 * etags.c (compressor): New struct for compressed files.
1936 (get_compressor_from_suffix): New function.
1937 (get_language_from_suffix): Use it. Also, semantics changed.
1938 (process_file): Consider compressed files, close file.
1939 (find_entries): Use different call arg for get_language_from_suffix,
1940 don't close file.
1941
1942 * etags.c (main): Call free_tree.
1943 (find_entries): Do not free curfile.
1944 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
1945 (prolog_pred, erlang_func, substitute): Cast strlen to int when
1946 comparing.
1947 (canonicalize_filename): Shut up compiler warning.
1948 (Perl_functions): Make tag significant.
1949
19501999-11-01 Dave Love <d.love@dl.ac.uk>
1951
1952 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
1953 (argument_type): New member at_icregexp.
1954 (lc_trans): New global.
1955 (main): Fill lc_trans. Process -c args.
1956 (add_regex): New arg determining whether to use translation table.
1957 (analyse_regex): New arg. Use it for add_regex.
1958
7df65e91 19591999-11-01 Francesco Potorti` <pot@gnu.org>
1c478461
FP
1960
1961 * etags.c (init): Cosmetic change: NULL --> '\0'.
1962 (erlang_attribute): Bug corrected (uninitialized variable).
1963 (filename_is_absolute): New function replaces absolutefn macro and
02ce3e80 1964 corrects a bug. All callers changed.
1c478461
FP
1965 (canonicalize_filename): New function.
1966 (process_file, etags_getcwd, absolute_dirname): Use it.
1967 (relative_filename, absolute_filename): Removed var shadowing.
1968 (C_entries, Pascal_functions): Add fake initializations to keep
02ce3e80 1969 compilers quiet.
1c478461
FP
1970 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
1971
1972 * etags.c (xrnew): New macro. All callers of xrealloc changed.
1973 (language): New typedef (was struct lang_entry).
1974 (curlang): New global variable.
02ce3e80 1975 (node): Typedef renamed from NODE.
1c478461
FP
1976 (linebuffer): New typedef (was struct linebuffer).
1977 (pattern): New typedef (was struct pattern). Some members added.
1978 Now used as element of a linked list.
1979 (patterns, num_patterns): Global variables deleted.
1980 (p_head): New global variable.
a64387ee 1981 (forced_lang): New global variable (replaces lang_func).
02ce3e80
SM
1982 (get_language_from_name, get_language_from_interpreter)
1983 (get_language_from_suffix): Semantics changed. All callers changed.
1c478461 1984 (last_node): New global variable.
02ce3e80
SM
1985 (free_tree, add_node, put_entries, total_size_of_entries):
1986 Change name of local vars to avoid clashes with typedef node.
1c478461
FP
1987 (number_len): Rewritten for elegance.
1988 (token): New typedef replaces TOKEN.
1989 (analyse_regex, add_regex): Rewritten for new functionality.
1990 (free_patterns): New function called from main and add_regex.
1991 (initbuffer, readline_internal, readline, grow_linebuffer):
02ce3e80 1992 Change name of local vars to avoid clashes with typedef linebuffer.
1c478461
FP
1993 (readline): Rewritten for new functionality.
1994
1995 * etags.c: (Scheme_suffixes): New suffix ".ss".
1996 (print_help): --globals is now used for more than C-type languages.
1997 (Perl_functions): Tag global variables ("my" and "local").
1998
1999 * etags.c (print_help): Some messages clarified.
2000 (LOOP_ON_INPUT_LINES): New macro.
02ce3e80
SM
2001 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
2002 (Python_functions, Cobol_paragraphs, Pascal_functions)
2003 (Lisp_functions, Postscript_functions, Scheme_functions)
2004 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
2005 (Cobol_paragraphs, Postscript_functions, TeX_functions)
2006 (Prolog_functions, Erlang_functions): Use a local variable instead
1c478461
FP
2007 of the global variable dbp.
2008 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
2009 standard indentation.
2010
02ce3e80
SM
2011 * etags.c (Python_suffixes, lang_names, Python_functions):
2012 Python support.
1c478461 2013 (skip_spaces, skip_non_spaces): Utility functions.
02ce3e80
SM
2014 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
2015 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
2016 (prolog_pred, erlanf_func, erlang_attribute): Use them.
1c478461
FP
2017 (eat_white): Deleted.
2018
2019 * etags.c (CHAR, init): Keep into account non US-ASCII
2020 characters and compilers with default signed chars.
2021 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
2022 constructs.
2023
2024 * (C_stab_entry): "interface" in Java behaves like "class".
2025
2026 * etags.c: (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
2027 (main): Put interval syntax here.
2028 (add_regex): And remove it from here.
2029
2030 * etags.c (suggest_asking_for_help): Provide a
2031 meaningful help message with and without LONG_OPTIONS.
2032
2033 * etags.c: <io.h> [MSDOS]: Include it, don't include string.h.
2034 <stdlib.h, string.h>: Don't test MSDOS when including them.
2035 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
2036 (put_entries): Correctly use %ld instead of %d in printf.
2037
2038 * etags.c: <unistd.h> [HAVE_UNISTD_H]: Include conditionally, else
2039 declare getcwd if HAVE_GETCWD.
2040 (consider_token): Dead break instruction removed.
2041
4ee9629e
PE
20421999-10-19 Paul Eggert <eggert@twinsun.com>
2043
2044 Add support for large files. Merge glibc 2.1.2.
1c478461 2045
4ee9629e
PE
2046 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
2047 movemail.c, pop.c:
2048 Do not include <stdlib.h>, as <config.h> does this now.
2049
2050 * b2m.c, emacsserver.c, etags.c, profile.c:
2051 Include <config.h> before any system include files.
1c478461 2052
4ee9629e
PE
2053 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
2054 test-distrib.c:
2055 (read, write, open, close): Do not undef.
2056
2057 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
2058 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
2059
2060 * getopt.h: Adopt glibc 2.1.2.
1c478461 2061
93c8d183
DL
20621999-10-15 Dave Love <fx@gnu.org>
2063
2064 * Makefile.in (pop.o): Depend on config.h.
2065
b358f91c
GM
20661999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2067
2068 * pop.c: Use "pop3" as the POP service name on all platforms,
2069 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
2070 has been the standard service name since RFC 1340 was published in
2071 July 1992, so I think it's safe to start using it by default.
2072
362bc2da
DL
20731999-09-27 Dave Love <fx@gnu.org>
2074
2075 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
2076
74e4cb59
PR
20771999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
2078
2079 * make-docfile.c (scan_lisp_file): Fix previous changes;
2080 swallow CRLF like just CR or just LF.
2081
362bc2da
DL
20821999-09-03 Richard Stallman <rms@gnu.org>
2083
2084 * make-docfile.c: Include config.h not ../src/config.h.
2085 (main, fopen, chdir): Add #undef.
2086 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
2087 (scan_lisp_file): Handle \r like \n.
2088
20891999-08-30 Andreas Schwab <schwab@gnu.org>
2090
2091 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
2092
2093 * emacsserver.c: Include <stdlib.h> if available. Don't declare
2094 errno if it's a macro.
2095
2096 * test-distrib.c: Include <unistd.h> if available.
2097
20981999-08-29 Richard Stallman <rms@gnu.org>
2099
2100 * emacsclient.c (print_help_and_exit): Mention --version.
2101
21021999-08-25 Richard M. Stallman <rms@gnu.org>
2103
2104 * emacsclient.c (decode_options): Update version output.
2105 (print_help_and_exit): Update bug report address.
2106
21071999-08-13 Richard M. Stallman <rms@gnu.org>
2108
2109 * emacsclient.c (main): Move the dynamic allocation of
2110 system_name outside of the SERVER_HOME_DIR conditional.
2111 * emacsserver.c (main): Likewise.
2112
21131999-08-10 Gerd Moellmann <gerd@gnu.org>
2114
2115 * grep-changelog: New.
2116 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
2117
21181999-07-12 Richard Stallman <rms@gnu.org>
2119
2120 * Version 20.4 released.
2121
21221999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
2123
1c478461 2124 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
2125
21261999-06-23 Dave Love <fx@gnu.org>
2127
2128 * etags.c (erlang_attribute): Fix undefined variable usage (after
2129 Potorti).
2130
21311999-05-2 Andrew Innes <andrewi@gnu.org>
2132
2133 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
2134 mapped to _chsize.
2135
21361999-04-29 Richard M. Stallman <rms@gnu.org>
2137
2138 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
2139
21401999-03-30 Dave Love <fx@gnu.org>
2141
2142 * sorted-doc.c (main): Split up tables. Modify the preamble
2143 somewhat.
2144
21451999-03-05 Geoff Voelker <voelker@cs.washington.edu>
2146
2147 * makefile.nt: Remove common multiple file compilation commands.
2148
21491999-02-26 Richard Stallman <rms@gnu.org>
2150
2151 * Version 20.4 released.
2152
2153 * Makefile.in (yow): Depend on epaths.h, not paths.h.
2154
2155 * yow.c: Refer to epaths.h.
2156
21571999-02-22 Simon Josefsson <jas@pdc.kth.se>
2158
2159 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
2160
21611999-01-27 Andrew Innes <andrewi@gnu.org>
2162
2163 * makefile.nt: Do make version comparison as strings.
2164
21651999-01-25 Richard Stallman <rms@gnu.org>
2166
2167 * emacsclient.c (xmalloc): Fix previous change.
2168
21691999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
2170
2171 * emacsclient.c (xmalloc): Declare to return long.
2172
21731999-01-22 Geoff Voelker <voelker@cs.washington.edu>
2174
2175 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
2176 the case of the drive letter.
2177
21781999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
2179
2180 * emacsserver.c (main): Eliminate arbitrary limit on
2181 length of system_name.
2182
2183 * emacsclient.c (main): Eliminate arbitrary limit on
2184 length of system_name.
2185 (xmalloc): Define unconditionally.
2186
21871999-01-12 Darrin B. Jewell <jewell@mit.edu>
2188
2189 * etags.c (relative_filename): Stop backward search at beginning
2190 of string, since non-Unix systems can have absolute paths with no
2191 initial slash.
2192
21931998-12-08 Geoff Voelker <voelker@cs.washington.edu>
2194
2195 * makefile.nt: Do string comparision of _NMAKE_VER.
2196
c60ee5e7 21971998-11-03 Theodore Jump <tjump@cais.com>
362bc2da
DL
2198
2199 * makefile.nt: Compile multiple source files when possible.
2200
22011998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
2202
2203 * Makefile.in: Replace tabs with spaces
2204 when they might confuse some Make versions.
2205
22061998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
2207
2208 * emacsclient.c (main): Null-terminate system_name.
2209
2210 * emacsserver.c (main): Null-terminate system_name.
2211
22121998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2213
2214 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
2215 an error message from POP, mention that it's from POP, to
2216 distinguish it from local error messages.
2217
22181998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2219
2220 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
2221 order of messages downloaded from a POP server (e.g., if the
2222 server stores messages in mailboxes in reverse order).
2223
22241998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
2225
2226 * Version 20.3 released.
2227
22281998-08-11 Paul Eggert <eggert@twinsun.com>
2229
2230 * rcs2log: Update copyright date and bug report address.
2231 (initialize_fullname): Prefer getent if available.
2232
22331998-07-30 Paul Eggert <eggert@twinsun.com>
2234
2235 * lib-src/Makefile.in (REGEXPDEPS, regex.o):
2236 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 2237
362bc2da
DL
22381998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
2239
2240 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
2241
22421998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
2243
2244 * Makefile.in: Properly terminate a comment.
2245
22461998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
2247
2248 * movemail.c (sys_wait): Rename to wait.
2249
2250 * ntlib.h: Undefine _WINSOCKAPI_.
2251
2252 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
2253
22541998-05-30 Geoff Voelker <voelker@cs.washington.edu>
2255
2256 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
2257
22581998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
2259
2260 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
2261 all file i/o to be in binary mode. Include ntlib.h.
2262
22631998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
2264
2265 * make-docfile.c: Include <unistd.h> for chdir.
2266
22671998-04-25 Richard Stallman <rms@psilocin.gnu.org>
2268
2269 * etags.c (TEX_decode_env): Don't free the value getenv returns.
2270
22711998-04-17 Geoff Voelker <voelker@cs.washington.edu>
2272
2273 * makefile.nt (obj): Update with new files in src.
2274 (clean): Delete patch scratch files, optimized compilation dir.
2275
22761998-04-08 Dave Love <fx@gnu.org>
2277
2278 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
2279 Irix6, at least.
2280
22811998-04-06 Andreas Schwab <schwab@gnu.org>
2282
2283 Silence -Wimplicit:
2284 * movemail.c: Move cancelations up. Include <stdlib.h> if
2285 available.
2286 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
2287 (parse_header): Explicitly declare return type.
2288 * emacsserver.c: Include <unistd.h> if available.
2289 (main, handle_signals, perror_1, fatal_error): Explicitly declare
2290 return types. Add forward declarations.
2291 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
2292 Don't declare geteuid.
2293 (print_help_and_exit): Change return type to void. Forward
2294 declare it.
2295 * b2m.c: Include <stdlib.h> if available.
2296 (main): Explicitly declare return type.
2297
22981998-04-03 Richard Stallman <rms@delysid.gnu.org>
2299
2300 * etags.c (put_entries): Use %ld.
2301
2302 * b2m.c (fatal): Declare the arg.
2303
23041998-04-03 Richard Stallman <rms@psilocin.gnu.org>
2305
2306 * etags.c (put_entries): Use %ld.
2307
2308 * b2m.c (fatal): Declare the arg.
2309
23101998-03-26 Richard Stallman <rms@psilocin.gnu.org>
2311
2312 * pop.c (pop_getline): Renamed from getline.
2313
23141998-03-05 Richard Stallman <rms@psilocin.gnu.org>
2315
2316 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
2317 for the utilities.
2318
23191998-01-23 Dave Love <d.love@dl.ac.uk>
2320
2321 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
2322 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
2323 Always make named tags.
2324 (Fortran_functions): Grok BLOCK DATA.
2325
23261998-01-23 Andreas Schwab <schwab@gnu.org>
2327
2328 * movemail.c (main): Fix interwoven brace and cpp conditional
2329 nesting.
2330
23311997-12-04 Karl Heuer <kwzh@delysid.gnu.org>
2332
2333 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
2334 server to contain embedded nulls.
2335
23361997-12-03 Paul Eggert <eggert@delysid.gnu.org>
2337
2338 * movemail.c:
2339 (mbx_write) [MAIL_USE_POP]: Disable the code which quotes with a
2340 '>' any lines starting with "From " read from the POP server, but
2341 leave the code in place, wrapped in #ifdef
2342 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
2343 because it turns out that something is depending on it. Change
2344 suggested by Paul Eggert <eggert@twinsun.com>.
2345 Convert the character \037 (^_) at the beginning of a line into
2346 the character '^' followed by the character '_', because otherwise
2347 Emacs can't parse the resulting file as a valid BABYL file.
2348 Change suggested by Paul Eggert <eggert@twinsun.com>.
2349
23501997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2351
2352 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
2353 server to contain embedded nulls.
2354
23551997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 2356
362bc2da
DL
2357 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
2358 quotes with a '>' any lines starting with "From " read from the
2359 POP server, but leave the code in place, wrapped in #ifdef
2360 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
2361 because it turns out that something is depending on it. Change
2362 suggested by Paul Eggert <eggert@twinsun.com>.
2363
2364 Convert the character \037 (^_) at the beginning of a line into
2365 the character '^' followed by the character '_', because otherwise
2366 Emacs can't parse the resulting file as a valid BABYL file.
2367 Change suggested by Paul Eggert <eggert@twinsun.com>.
2368
23691997-11-22 Richard Stallman <rms@gnu.org>
2370
2371 * b2m.c: Include getopt.h.
2372 (main): Use getopt_long to handle --version and --help.
2373
2374 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
2375
23761997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2377
2378 * pop.c (fullwrite): Get rid of an extra call to write. Problem
2379 pointed out by Chiaki Ishikawa.
2380
23811997-10-16 Dave Love <d.love@dl.ac.uk>
2382
2383 * etags.c (L_getit): Always make named tags so that Emacs
2384 completion on symbols containing `:' etc. works.
2385 (get_scheme): Likewise.
2386
23871997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2388
2389 * pop.c: Use system header files instead of declaring C-library
2390 functions explicitly.
2391
23921997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2393
2394 * Version 20.2 released.
2395
23961997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2397
2398 * Version 20.1 released.
2399
24001997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
2401
2402 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
2403
2404 * ntlib.c (getpid): Delete function.
2405
24061997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2407
2408 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
2409
24101997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2411
2412 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
2413 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
2414
24151997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2416
2417 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
2418
24191997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
2420
2421 * profile.c (get_time): Cast arg to fprintf.
2422
2423 * hexl.c (main): Use %08lx instead of %08x in printf because the
2424 variable named addresses is long.
2425
24261997-08-08 Geoff Voelker <voelker@cs.washington.edu>
2427
2428 * makefile.nt (lisp): Update paths to lisp files that have moved.
2429
24301997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
2431
2432 * makefile.nt (ctags.obj): New target.
2433 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
2434
2435 * ntlib.h: Add includes.
2436 Undo definitions of crt routines from config.h.
2437
24381997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2439
2440 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
2441
24421997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2443
2444 * pop.c: Support auto-configuration of both Kerberos V4 and
2445 Kerberos V5 for movemail, including detection of V4 and V5 header
2446 files and libraries.
2447 Include <string.h> when STDC_HEADERS is defined, to get
2448 declarations of string functions.
2449 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
2450 V5 API rather than the old one.
2451 [KERBEROS] (socket_connection): Change a constant name from
2452 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
2453 with a constant in a header file.
2454
2455 * Makefile.in: Support auto-configuration of both Kerberos V4 and
2456 Kerberos V5 for movemail, including detection of V4 and V5 header
2457 files and libraries.
2458
24591997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2460
2461 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
2462
2463 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1c478461 2464
362bc2da
DL
24651997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2466
2467 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
2468
24691997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2470
2471 * movemail.c (rindex): Add declaration.
2472
2473Tue Jul 1 01:09:07 1997 Geoff Voelker <voelker@cs.washington.edu>
2474
2475 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
2476 (movemail.exe): Depend upon and link with getopt files.
2477 (obj): Include new source files.
2478 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
2479 (lisp): Include new and reorganized elisp files.
2480
24811997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2482
2483 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
2484
24851997-06-25 Paul Eggert <eggert@twinsun.com>
2486
2487 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
2488
24891997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
2490
2491 * b2m.c (readline): Terminate buffer properly when EOF seen.
2492 Test for valid pointer before dereferencing it.
2493
24941997-05-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2495
2496 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
2497 defined inside etags.c if HAVE_CONFIG_H is defined.
2498
24991997-05-29 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2500
2501 * etags.c: (logical): Type name changed to bool.
2502 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
2503 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
2504 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
2505 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
2506 (longopts): New long options without short counterpart are
2507 globals, members, no-globals, no-members. Regexp options are now
2508 defined conditionally to ETAGS_REGEXPS.
2509 (print_help): Updated.
2510
25111997-05-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2512
2513 * etags.c (C_entries): Use "." instead of "::" for Java.
2514 (consider_token): is_func renamed to is_func_or_var.
2515 (C_entries): is_func renamed to funorvar.
2516 (C_entries): Initialise tok.named.
2517 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
2518 get rid of "import", "package" and "friend".
2519 (fvdef): Renamed from funcdef. Also some constants renamed. All
1c478461 2520 users changed.
362bc2da
DL
2521 (C_entries): Make separate tags for variables separated by comma.
2522 (globals, members): New flags.
2523 (main, C_entries): Use them.
2524 (make_C_tag, C_entries): Make tok a global variable.
1c478461 2525
362bc2da
DL
25261997-05-16 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2527
2528 * etags.c (funcdef): New vignore constant.
2529 (consider_token, C_entries): Use it to tag global variables.
2530 (print_help): Update for global variables.
2531 (consider_token, C_entries): Set the len member of token_name.
2532 (prolog_pred): Cleanup according to GNU coding standards.
2533 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
2534 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
2535
25361997-05-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2537
2538 * etags.c (CHARS, CHAR): New constant and macro.
2539 (iswhite, begtoken, intoken, endtoken): Use them.
2540 (notinname, _nin, nonam): New macro, array, string.
2541 (init): Cleanup and init _nin.
2542 (new_pfnote): New function.
2543 (make_C_tag) [traditional_tag_style]: Use it.
2544 (traditional_tag_style): Costant set to TRUE for now.
2545
25461997-05-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2547
2548 * etags.c (C_entries, Pascal_functions): Cleanup.
2549 (TeX_functions): NULL as a function arg needs a cast.
2550 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
2551
25521997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2553
2554 * etags.c (TeX_functions): Cleaned up.
2555 (tex_getit): Removed.
2556
25571997-05-13 Paul Eggert <eggert@twinsun.com>
2558
2559 * rcs2log (files): When computing arguments automatically, ignore
2560 non-files within the RCS subdirectory.
2561
25621997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2563
2564 * etags.c (C_JAVA): New #define.
2565 (Cjava_suffixes): .java is Java.
2566 (Cjava_entries): New function.
2567 (lang_names): Add Java.
2568 (sym_type): Add st_C_javastruct for Java.
2569 (C_stab_entry): Add `extends' and `implements' keywords.
2570 (consider_token, C_entries): Recognise Java structures.
2571
25721997-05-12 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2573
2574 * etags.c: (Cplusplus_suffixes): .pdb is Postscript with C syntax.
2575 (Postscript_suffixes): .ps is Postscript.
2576 (lang_names): Add Postscript.
2577 (Postscript_functions): New function.
2578 (TEX_decode_env): Close minor memory leak.
2579 (just_read_file): Correct the char number of the tag.
2580
25811997-05-11 Paul Eggert <eggert@twinsun.com>
2582
2583 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
2584 Don't prepend $nl since this causes some shells to generate the
2585 empty string when IFS is $nl.
2586 (printlogline): Use SOH (octal code 1), not CR, since some
2587 PC-based shells mishandle CR.
2588 (initialize_fullname): Set NIS_PATH to the empty string before invoking
2589 nismatch, in case it's set to some nonstandard value.
1c478461 2590
362bc2da
DL
25911997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2592
2593 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
2594 read in separate blocks.
2595
25961997-04-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2597
2598 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
2599 (struct linebuffer): New member `len' is the length of the string.
2600 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
2601 Use it instead of strlen.
2602 (TEX_getit): Declare and define unconditionally as static.
2603 (TeX_functions): Use if instead of #if TeX_named_tokens.
2604 (add_regex): Set RE_INTERVALS flag for regex compilation.
2605 (substitute): Code cleanup.
2606 (readline_internal): Code cleanup, set new member `len'.
2607 (readline): Bug corrected.
2608
26091997-04-23 Geoff Voelker <voelker@cs.washington.edu>
2610
2611 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
2612 (obj): Change references of nt*.c files to w32*.c files.
2613
26141997-04-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2615
2616 * etags.c (xnew): Add support for debugging with chkmalloc.
2617 (error): Use this instead of printf whenever possible.
2618 (main): Only call xnew after having initialised progname.
2619 (substitute): Bad memory corruption error corrected.
2620
26211997-04-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2622
2623 * etags.c (add_regex): Undo previous change.
2624 (relative_filename): Small memory leak closed.
2625 (absolute_filename): Cleaned up the code, possibly closing a bug.
2626 (absolute_dirname): Always return a newly allocated string.
1c478461 2627
362bc2da
DL
26281997-03-21 Paul Eggert <eggert@twinsun.com>
2629
2630 * rcs2log (files): Ignore files in RCS directory whose names are
2631 of the form ,*, or *_; they are probably RCS lock files.
2632 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
2633 they are used by rcsfreeze.
2634
26351997-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2636
2637 * etags.c (add_regex): reset *putbuf before using it.
2638
26391997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2640
2641 * movemail.c (popmail): Remove some unnecessary function
2642 declarations.
2643 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
2644 into pop_retr, there's no reason to pass in mbx_write, and the
2645 file argument can be declared FILE * explicitly. This fixes a
2646 compilation problem on systems with 64-bit pointers.
2647
26481997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2649
2650 * movemail.c: Delete duplicate inclusion of fcntl.h
2651 and duplicate #undefs of open, read, write, close.
2652
26531997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2654
2655 * movemail.c (main): Do not display "[POP-password]" in the usage
2656 message when movemail is compiled without POP support.
2657 (main, popmail): Add the optional "-p" argument, which causes
2658 movemail to leave mail in the inbox after copying it into the
2659 output file.
1c478461 2660
362bc2da
DL
2661 * Makefile.in (movemail): Link with getopt.
2662
26631997-01-20 Paul Eggert <eggert@twinsun.com>
2664
2665 * rcs2log: (--help, --version): New options, per GNU coding standards.
2666 (Copyright, Help, Id): New variables, for above.
2667 (rlog): Use -q option with cvs log, to avoid useless chatter.
2668
2669 Treat logs of "Initial revision" (RCS) or "file F was initially added
2670 on branch B." (CVS) as if they said "New file.", for consistency with
2671 change log entries.
2672
26731997-01-01 Paul Eggert <eggert@twinsun.com>
2674
2675 * vcdiff (PATH): Add /usr/xpg4/bin,
2676 where XPG4 SCCS hangs out in Solaris 2.5.
2677 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
2678
26791996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2680
2681 * etags.c (streq, strneq): Use == NULL rather than !.
2682
26831996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
2684
2685 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
2686 (movemail): Use LIBMAIL, to link against -lmail.
2687
2688 * movemail.c: Include maillock.h (conditionally).
2689 Remove a redundant inclusion of <stdio.h>.
2690 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
2691 (main): Add variable spool_name.
2692 Support the usage of maillock and mailunlock to
2693 lock and unlock mailboxes.
2694 (mail_spool_name): New function.
2695
2696 * movemail.c: Fix an uninitialized variable which could cause
2697 movemail to exit with an error status incorrectly on systems which
2698 use lock files rather than a system locking function to lock
2699 mailboxes.
2700
27011996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2702
2703 * pop.c (socket_connection): Free realhost after using it.
2704
27051996-12-04 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2706
2707 * etags.c (C_entries): Test tok.valid. This handles some
2708 particular cases involving function declarations that failed.
2709
27101996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 2711
362bc2da
DL
2712 * pop.c (socket_connection):
2713 gethostbyname may return a pointer to static data.
2714 krb_realmofhost can clobber it. So copy it.
2715
27161996-11-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2717
2718 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
2719 must cast it to (char *) because we have no prototypes.
2720 (make_C_tag): Macro deleted, new function.
2721 (C_entries): Calls to make_C_tag macro changed to call function.
2722
27231996-11-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2724
2725 * etags.c (grow_linebuffer): New function.
2726 (GROW_LINEBUFFER): Macro deleted. All callers changed.
2727 (make_tag): Macro renamed to make_C_tag. All callers changed.
2728 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
2729 (Prolog_functions): prolog_skip_comment was called with wrong
2730 number of arguments.
2731 (xrealloc): fatal was called with wrong number of arguments
2732
27331996-11-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2734
2735 * etags.c (relative_filename): Bug corrected.
2736 (etags_getcwd): Avoid warning of unused variable.
2737 (C_entries, consider_token): Added support for enum labels.
2738
27391996-11-03 Paul Eggert <eggert@twinsun.com>
2740
2741 * rcs2log: When processing cvs log output, remove `Attic/' from
2742 repository file names.
2743
27441996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
2745
2746 * emacsserver.c: Fix 1996-09-02 change.
2747
27481996-10-12 Paul Eggert <eggert@twinsun.com>
2749
2750 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
2751 option', since CVS says 'invalid option'.
2752 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
2753 revisions, since some hosts reject 1970-01-01 when east of UTC.
2754 (date): Remove.
2755
27561996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2757
2758 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
2759
27601996-10-02 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2761
2762 * etags.c (print_version): Print copyright info.
2763
2764 * etags.c (print_help): Print the bug reporting address.
2765 (main): Use return as the last instruction, instead of exit.
2766
2767 * etags.c (main): Don't open the tags file in cxref mode.
2768
27691996-09-29 Dave Love <d.love@dl.ac.uk>
2770
2771 * rcs2log (date): Make default format acceptable to CVS post v1.8
2772 as well as earlier CVSs and RCS.
2773
27741996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2775
2776 * movemail.c (main): If the lock call fails with EBUSY or
2777 EAGAIN, retry a few times.
2778
27791996-09-25 Paul Eggert <eggert@twinsun.com>
2780
2781 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
2782 whether to append -zLT.
2783
27841996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2785
2786 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
2787 * emacsclient.c, movemail.c: Likewise.
2788
27891996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2790
2791 * emacsclient.c (longopts): Change nowait to no-wait.
2792 (print_help_and_exit): Fix option name; upcase metavars.
2793
27941996-09-06 Erik Naggum <erik@naggum.no>
2795
2796 * emacsserver.c (main): Declare `fromlen' as size_t.
2797
27981996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
2799
2800 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
2801
28021996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2803
2804 * emacsclient.c (quote_file_name): Quote with &, not \.
2805 Quote `-' only at start of file name. Terminate the value string.
2806
2807 * emacsserver.c: Include signal.h properly;
2808 delete the duplicate includes for it.
2809
2810 * emacsserver.c: On fatal signal, delete socket-file:
2811 * emacsserver.c: Include signal.h.
2812 (xmalloc, fatal, error): New functions.
2813 (delete_socket, handle_signals): New functions.
2814 (progname, socket_name): New variables.
2815 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
2816
28171996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2818
2819 * emacsclient.c (quote_file_name): New function.
2820 (main, both versions): Use quote_file_name.
2821 (decode_options): Don't return a value.
2822 (main, both versions): Use optind.
2823 Don't check for -nowait here.
1c478461 2824
362bc2da
DL
2825 * emacsclient.c (decode_options): New function.
2826 (main, both versions): Call decode_options.
2827 (print_help_and_exit): New function.
2828 (VERSION): New macro.
2829
2830 * Makefile.in (emacsclient): Link with getopt.
2831 Add -DVERSION so emacsclient knows its version number.
2832
28331996-08-31 Geoff Voelker <voelker@cs.washington.edu>
2834
2835 * makefile.nt (lisp): Include dos-nt.elc.
2836
28371996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2838
2839 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
2840
28411996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2842
2843 * emacsclient.c (both versions): Handle -nowait and --nowait
2844 by sending data to the server.
2845
28461996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2847
2848 * Makefile.in (INSTALL_STRIP): New variable.
2849 (${archlibdir}): Use INSTALL_STRIP.
2850
2851 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
2852 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
2853
2854 * pop.c: Reverse conditional in previous change.
2855
28561996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2857
2858 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
2859
28601996-08-24 Paul Eggert <eggert@twinsun.com>
2861
2862 * rcs2log: Use ISO 8601 date format, with time zone appended
2863 if change-log-time-zone-rule is non-nil, instead of
2864 traditional Unix date format.
2865
2866 (datearg): When computing default from ChangeLog, handle ISO format
2867 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
2868 Don't worry about hh:mm:ss since the resolution is now by day.
2869 Use emtpy datearg, not empty rlog_options, to decide whether to pass
2870 "$datearg" option to $rlog.
2871 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
2872 (month_data): Remove `mo'; no longer needed.
2873 (rlog_options): Use -zLT for localltime output, if `rlog' supports it.
2874
2875 Match `revision' line of rlog output more accurately.
2876
2877 Add -c, -v options.
2878
28791996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
2880
2881 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
2882
28831996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2884
2885 * Version 19.33 released.
2886
28871996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2888
2889 * Version 19.32 released.
2890
28911996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
2892
2893 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
2894 computing character positions in source files.
2895
28961996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
2897
2898 * makefile.nt (clean): Use OBJDIR macro.
2899
29001996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2901
2902 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
2903
c60ee5e7 29041996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
362bc2da
DL
2905
2906 * cvtmail.c, sorted-doc.c, yow.c: [__GNU_LIBRARY__]: Use <string.h>.
2907 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
2908 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
2909
29101996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
2911
2912 * ntlib.h: Correct return type of getwd.
2913 * ntlib.c (getwd): Correct return type.
2914
29151996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2916
2917 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
2918 to infile.
2919
29201996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
2921
2922 * makefile.nt: Remove all references to wakeup.
2923
29241996-06-28 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2925
2926 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
2927 explicit, mutable, typename.
2928
29291996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2930
2931 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
2932 streams, one for sending and one for reading the reply.
2933
29341996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2935
2936 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
2937 (wakeup): Target deleted.
2938 (UTILITIES): Delete wakeup and timer.
2939
2940 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
2941
29421996-06-11 Geoff Voelker <voelker@cs.washington.edu>
2943
2944 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
2945 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
2946
29471996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2948
2949 * etags.c (main): Copy cwd when appending slash.
2950
29511996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
2952
2953 * Version 19.31 released.
2954
29551996-05-17 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2956
2957 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
2958 (Pascal_functions): Increase linecharno by the correct number of
2959 chars, inline the GET_NEW_LINE macro and delete its definition.
2960
c60ee5e7 29611996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
2962
2963 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
2964
c60ee5e7 29651996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
2966
2967 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
2968 (movemail.exe, fakemail.exe): Now built under Win32.o
2969
2970 * ntlib.c: Include ntlib.h.
2971 (nt_sleep): Rename to sleep.
2972 (getwd): Return directory.
2973 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
2974 sys_ctime, sys_fopen): New functions.
2975
2976 * ntlib.h: New file.
2977
29781996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
2979
2980 * pop.c (SEND, RECV): Renamed from send, recv.
2981 (pop_open, pop_trash): Make the trash_started code unconditional.
2982 (socket_connection): Delete casts to void.
2983
29841996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
2985
2986 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
2987 copied from lisp.h.
2988
29891996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
2990
2991 * fakemail.c [WINDOWSNT]: Include ntlib.h.
2992
2993 * hexl.c [DOSNT]: Include fcntl.h.
2994 [WINDOWSNT]: Include io.h.
2995 (main) [MSDOS]: Change conditional to DOS_NT.
2996
2997 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
2998 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
2999 [WINDOWSNT]: Include locking.h.
3000 (main): Update usage message. Use IS_DIRECTORY_SEP.
3001 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
3002 (main) [WINDOWSNT]: Invoke locking instead of flock.
3003 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
3004 (main) [MAIL_USE_POP]: Pass password to popmail if used.
3005 Include winsock.h; don't include unix inet headers.
3006 (popmail): Add password argument and pass it to pop_open.
3007 Open output file in binary mode.
3008
3009 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1c478461 3010 Macro SOCKET_ERROR undefined.
362bc2da
DL
3011 Don't declare h_errno.
3012 [!WINDOWSNT]: Define macros recv and send.
3013 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
3014 (pop_open) [WINDOWSNT]: Initialize trash_started.
3015 (have_winsock) [WINDOWSNT]: New variable.
3016 (socket_connection) [WINDOWSNT]: Initialize winsock.
3017 (socket_connection): Use closesocket instead of close.
3018 (getline): Use recv instead of read.
3019 (fullwrite): Use send instead of write.
3020 (pop_trash): Use closesocket instead of close.
3021 (pop_trash) [WINDOWSNT]: Cleanup winsock.
3022 Check if being called recursively by sendline.
3023
3024 * pop.h (struct _popserver): New field trash_started.
3025
3026 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
3027
30281996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3029
3030 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
3031
30321996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3033
3034 * etags.c [WINDOWSNT]: Include io.h.
3035
30361996-04-10 Geoff Voelker <voelker@cs.washington.edu>
3037
3038 * makefile.nt (CTAGSOBJ): Compile with regexp support.
3039
30401996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
3041
3042 * hexl.c [DJGPP v2]: Include io.h.
3043 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
3044
3045 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
3046 DJGPP v2.
3047
30481996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3049
3050 * etags.c (absolute_filename): Use absolutefn.
3051
30521996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
3053
3054 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
3055 letter isn't an alphabetic character.
3056 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
3057 (process_file) [DOS_NT]: Convert all slashes to forward style.
3058 (absolute_filename) [DOS_NT]: Emit error message for relative
3059 paths with a drive letter.
3060 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
3061 DOS/NT drive letters which try to reference the parent of the root.
3062 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
3063
30641996-03-27 Geoff Voelker <voelker@cs.washington.edu>
3065
3066 * makefile.nt: Change uses of del to $(DEL).
3067
30681996-03-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
3069
3070 * etags.c (just_read_file): Reset lineno and charno on entry.
3071
30721996-03-15 Anders Lindgren <andersl@csd.uu.se>
3073
3074 * etags.c: Prolog language totaly rewritten.
3075 (Prolog_functions): Rewritten from scratch.
3076 (skip_comment, prolog_getit): Removed.
3077 (prolog_skip_comment): New function, like old skip_comment.
3078 (prolog_pred, prolog_atom, prolog_white): New functions.
3079 (erlang_func, erlang_attributes): Forward declarations added.
3080 (erlang_atom): Check if backslash ends line inside quoted atom.
3081
30821996-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
3083
3084 * etags.c (absolutefn): DOS_NT version corrected.
3085 (main): Append "/" to the dir name only if not already there.
3086 (print_help): Explain the absolute/relative file name issue.
1c478461 3087
362bc2da
DL
30881996-03-08 Anders Lindgren <andersl@csd.uu.se>
3089
3090 * etags.c: New Languange Erlang added.
3091 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom,
3092 erlang_white): New functions.
3093 (Erlang_suffixes): New suffix list.
3094 (lang_names): Erlang entry added.
3095 (prolog_getit): Accepts headers spanning several lines.
3096 Always name tags.
3097 (Prolog_functions): Removed incorrect compensation for
3098 newline characters.
3099 (readline_internal): Zero-terminate last line.
3100
31011996-03-20 Mike Long <mike.long@analog.com>
3102
3103 * b2m.c (main): Initialize progname variable before using it.
3104 Quote `username' in From_ header.
3105
31061996-03-18 Geoff Voelker <voelker@cs.washington.edu>
3107
3108 * ntlib.c (getpid): New function.
3109
31101996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3111
3112 * emacsclient.c (main, both definitions):
3113 Print a newline for normal termination.
3114
31151996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
3116
3117 * tcp.c (main): Convert port to network byte order.
3118
31191996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
3120
3121 * pop.c (pop_retrieve, getline): Avoid type clashes.
3122
31231996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
3124
3125 * etags.c (enum sym_type, anonymous enum): Delete final comma.
3126
31271996-01-15 Paul Eggert <eggert@twinsun.com>
3128
3129 * rcs2log (initialize_fullname): Add support for NIS+.
3130 (hostname): Fully qualify the default hostname with the domainname
3131 if the hostname lacks a `.'.
3132
31331996-01-15 Paul Eggert <eggert@twinsun.com>
3134
3135 * rcs2log (initialize_fullname): Add support for NIS+.
3136 (hostname): Fully qualify the default hostname with the domainname
3137 if the hostname lacks a `.'.
3138
31391996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
3140
3141 * etags.c (consider_token): Fix typo in expression.
3142
31431996-01-04 Paul Eggert <eggert@twinsun.com>
3144
3145 * etags.c (substitute): Fix spelling in message.
3146
31471996-01-03 George V. Reilly <georger@microcrafts.com>
3148
3149 * makefile.nt (etags, ctags): Compile with regexp support.
3150 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
3151 subdirectory exists before compiling.
1c478461 3152
362bc2da
DL
31531996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
3154
3155 * emacsserver.c (main): Do chmod based on existing permission.
3156
31571995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3158
3159 * Makefile.in (install): Turn on read/execute permission.
3160
31611995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3162
3163 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
3164 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
3165
31661995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3167
3168 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
3169
31701995-12-07 Francesco Potorti` <pot@cnuce.cnr.it>
3171
3172 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
3173 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
3174 get_scheme, prolog_getit): Name the tag in ctags mode.
3175 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
3176 (Perl_interpreters): Accept "@PERL@" as an interpreter.
3177 (suggest_asking_for_help): New function.
3178 (main, get_language_from_name): Use suggest_asking_for_help.
3179 (main): Let get_language_from_name make language existence check.
3180 (streq, strneq): Check the arguments #if DEBUG.
3181
31821995-12-06 Francesco Potorti` <pot@cnuce.cnr.it>
3183
3184 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
3185 (gperf): Added keywords for Objective C and GNU macros.
3186 (sym_type): Added values to account for Objective C and GNU macros.
3187 (begtk): The '@' character can start a token.
3188 (objdef, methodlen, objtag): New variables for Objective C.
3189 (consider_token, C_entries): Added code for Objective C.
3190 (plain_C_suffixes): Add .m and .lm for Objective C.
3191 (Yacc_suffixes): Add .ym for Objective yacc.
3192 (GROW_LINEBUFFER): New macro.
3193 (consider_token, C_entries, Pascal_functions): Use the new macro.
3194 (consider_token): Take one more argument. Caller changed.
3195 (consider_token): Use the hashing function to spot GNU macros.
3196 (C_entries): Consider // as a comment start even in plain C for
3197 the sake of Objective C parsing.
3198
c60ee5e7 31991995-12-04 Francesco Potorti` <pot@cnuce.cnr.it>
362bc2da
DL
3200
3201 * Makefile.in (ctags): depend on etags only for simplicity;
3202 compile with regexp support enabled.
3203
32041995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3205
3206 * Version 19.30 released.
3207
32081995-11-22 Geoff Voelker <voelker@cs.washington.edu>
3209
3210 * makefile.nt (DOC, clean): Don't use switches to del not
3211 supported by Windows 95.
3212
32131995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3214
3215 * Makefile.in (regex.o): Depend on ../src/config.h.
3216
32171995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3218
3219 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
3220 (LOADLIBES): Use LIB_STANDARD.
3221
32221995-11-07 Kevin Gallo <kgallo@microsoft.com>
3223
3224 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
3225 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
3226 Windows 95 conditional.
3227
32281995-11-06 Francesco Potorti` (pot@cnuce.cnr.it)
3229
3230 * etags.c (get_lang_from_name, get_lang_from_interpreter,
3231 get_lang_from_suffix): New functions.
3232 (get_language): Function deleted.
3233 (lang_entry): Two members added to struct.
3234 (lang_names): Reflect the new layout of lang_entry.
3235 (print_language_names, main, find_entries): Use the new functions.
3236 (find_entries): Look at the first line for #! if no language.
3237 (C_entries): Invalidate the token when funcdef is reset.
3238 (Perl_functions): New function.
3239 (lang_suffixes): .pl and .pm are Perl suffixes.
3240
32411995-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
3242
3243 * etags.c (lowcase): Use the standard tolower function.
3244 (substitute): Remove some wrong and some useless code related with
a64387ee 3245 escape '\' character in regexp replacement string.
362bc2da
DL
3246 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
3247 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
3248 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
3249 .prolog for prolog (.pl removed).
3250 (massage_name, etags_getcwd): Use lowcase instead of tolower.
3251 (C_entries, find_entries): Added comments about memory leakage.
3252 (add_node): Dead code removed.
3253
32541995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3255
3256 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
3257 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
3258
32591995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3260
3261 * test-distrib.c: Add #undef for open, close, read, write.
3262
32631995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3264
3265 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
3266 [! O_RDONLY]: Define it to zero.
3267 (main): Use O_RDONLY instead of explicit zero.
3268
32691995-08-17 Francesco Potorti` (pot@cnuce.cnr.it)
3270
3271 * etags.c (Pascal_functions): Close comment bug corrected.
3272 (add_node): Correctly compare node file names.
3273 (Pascal_functions): Correctly allocate and free memory for tline.
3274 (pfnote): Put the definition of fp in the innermost block.
3275 (NODE): `named' member removed.
3276 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1c478461 3277 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
3278 (pfnote): `named' argument removed, all callers changed.
3279 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
3280 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1c478461 3281 removed from pfnote call, some code cleanup.
362bc2da
DL
3282 (relative_filename): Free temporary space allocated by concat.
3283
32841995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3285
3286 * Makefile.in (getdate.c): New target.
3287 (getdate.o): Just compile getdate.c.
3288
32891995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
3290
3291 * fakemail.c (xrealloc): Change cast to match return type.
3292
32931995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3294
3295 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
3296
32971995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3298
3299 * movemail.c (main): Fix previous change.
3300 Add error check for empty OUTNAME.
3301
33021995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3303
3304 * movemail.c (main): Mention lock file name in error message.
3305
33061995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3307
3308 * profile.c (gettimeofday): New function, defined if necessary.
3309
33101995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3311
3312 * Makefile.in: Renamed from Makefile.in.in.
3313 (distclean): Delete Makefile.c, not Makefile.in.
3314
33151995-07-17 Michael Shields <shields@tembel.org>
3316
3317 * Makefile.in.in (tags): Synonym for `TAGS'.
3318
33191995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3320
3321 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
3322 configure has already set $(INSTALL) to the proper relative path.
3323
33241995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
3325
3326 * etags.c (plain_C_entries): new function.
3327 (lowcase): new macro.
3328 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
3329 (lang_suffixes): new suffix ".pc" for Pro*C files.
3330 (consider_token): don't tag all tokens beginning with DEFUN & Co..
3331 (tail): look for the end of the token when comparing.
3332 (takeprec): since now tail behaves differently, use strneq.
3333
33341995-07-08 Paul Eggert <eggert@twinsun.com>
3335
3336 * rcs2log (datearg): Separate date from time with comma, not space,
3337 to work around CVS 1.5 bug.
3338 (CVSROOT): Don't abort when unset if repository is absolute.
3339
33401995-07-07 Paul Eggert <eggert@twinsun.com>
3341
3342 * rcs-checkin, rcs2log, vcdiff:
3343 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
3344 that interpret `#! /' as a 4-byte magic number.
3345
33461995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
3347
3348 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
3349 mailbox with "po:mailbox", the mailbox is everything after the
3350 "po:" prefix.
3351
33521995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3353
3354 * emacsserver.c: Make all error messages start with `Error: '.
3355 (fatal_error, perror_1): New functions, use throughout.
3356
33571995-06-28 Paul Eggert <eggert@twinsun.com>
3358
3359 * rcs2log (CVSROOT, repository):
3360 Allow remote repositories a la CVS 1.4.
3361
33621995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
3363
3364 * etags.c (plain_C_entries): new function.
3365 (lowcase): new macro.
3366 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
3367 (lang_suffixes): new suffix ".pc" for Pro*C files.
3368 (consider_token): don't tag all tokens beginning with DEFUN & Co..
3369 (tail): look for the end of the token when comparing.
3370 (takeprec): since now tail behaves differently, use strneq.
3371
33721995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3373
3374 * movemail.c (main): Add newline in usage message.
3375
33761995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3377
3378 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
3379
33801995-06-21 Francesco Potorti` (pot@cnuce.cnr.it)
3381
3382 * etags.c (find_entries): Rewind before rereading the input file.
3383
33841995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3385
3386 * Version 19.29 released.
3387
3388 * make-docfile.c (main) [MSDOS]: Do set _fmode.
3389 This undoes part of the previous change.
3390
33911995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3392
3393 * make-docfile.c (main): On MSDOS, don't change stdout
3394 to binary, and insist on an -o option.
3395
33961995-06-13 Geoff Voelker <voelker@cs.washington.edu>
3397
3398 * etags.c (process_file,absolute_filename): Handle filenames
3399 starting with a drive letter.
3400
3401 * makefile.nt (install): Copy wakeup.exe properly.
3402
34031995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
3404
3405 * make-docfile.c [MSDOS]: #undef chdir.
3406
34071995-06-04 Paul Eggert <eggert@twinsun.com>
3408
3409 * rcs2log (output_authors): Allow ':' in time zone,
3410 as per ISO 8601 and RCS 5.6.8 beta.
3411
34121995-05-29 Francesco Potorti` (pot@cnuce.cnr.it)
3413
3414 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
3415 compatibility problems.
3416
34171995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
3418
3419 * etags.c (etags_getcwd): Don't use #elif.
3420 Have just one function body.
3421
34221995-05-25 Geoff Voelker <voelker@cs.washington.edu>
3423
3424 * makefile.nt (LIBS): Use BASE_LIBS.
3425 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
3426 upon LIBS.
3427 (DOC): Use del instead of rm.
3428 (DOC) [WINDOWS95]: Use DOC.
3429 (clean): Handle MSVC aux files.
3430 (config.h,paths.h): Use $(CP) instead of cp.
3431 (config.h): Use $(CONFIG_H)
3432 (make-docfile.obj): Depend upon config.h.
3433 Clean up comments.
3434
34351995-05-23 Francesco Potorti` (pot@cnuce.cnr.it)
3436
3437 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
3438 former gives the true path even in the presence of simlinks.
3439
34401995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3441
3442 * movemail.c (main): Increase lock timeout to five minutes.
3443
34441995-05-06 Geoff Voelker <voelker@cs.washington.edu>
3445
3446 * makefile.nt (obj): Use .c files.
3447
34481995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3449
3450 * make-docfile.c: Include config.h.
3451 (NO_SHORTNAMES): New definition.
3452 (xmalloc): Return long *.
3453
3454 * etags.c (C_entries): Cast result of xrealloc.
3455 (xmalloc, xrealloc): Declare them to return long *.
3456
3457 * b2m.c (xmalloc, xrealloc): Declare them long *.
3458
3459 * movemail.c (xmalloc): Declare it to return long *.
3460
34611995-04-30 Paul Eggert <eggert@twinsun.com>
3462
3463 * rcs2log (datearg): If rlog options are specified explicitly,
3464 omit the implicit '-d>DATE' option.
3465 (repository, rlog): Allow absolute paths to CVS repositories.
3466 Look only at the first line of CVS/Repository.
3467
34681995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
3469
3470 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
3471 realclean.
3472
34731995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3474
3475 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
3476 Alternative (empty) definitions.
3477
34781995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3479
3480 * emacsclient.c (main): Add argv[0] to an error message.
3481
34821995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
3483
3484 * emacsclient.c (main): Improve error handling.
3485 * cvtmail.c (main, skip_to_lf): Improve error handling.
3486 (sysfail): New function.
3487
3488 * b2m.c (main): Check for trailing ", " before trying to delete it.
3489
34901995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3491
3492 * Makefile.in.in (all): Build test-distrib and make-docfile.
3493
3494 * make-docfile.c (scan_c_file): At end, restore file name last char
3495 to its original value.
3496
34971995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3498
3499 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
3500
35011995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3502
3503 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
3504 (alloca.o, regex.o): Use BASE_CFLAGS.
3505
35061995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3507
3508 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
3509
35101995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
3511
3512 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
3513 (SOURCES, distclean): Removed obsolete references to aixcc.
3514
35151995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3516
3517 * aixcc.lex: File deleted--surely obsolete now.
3518
35191995-03-23 Paul Eggert <eggert@twinsun.com>
3520
3521 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
3522 portability to mawk and nawk.
3523
35241995-03-21 Paul Eggert <eggert@twinsun.com>
3525
3526 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
3527 -u "login<tab>fullname<tab>mailaddr".
3528
35291995-03-21 Paul Eggert <eggert@twinsun.com>
3530
3531 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
3532 replaces the (now obsolescent) -n login fullname mailaddr option.
3533 Add -R option for recursive rlog.
3534 (AWK): New environment variable (default `awk') for awk program name.
3535 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
3536 Quote authors and fullnames correctly.
3537 Don't omit path from repository root when logging CVS files.
3538
35391995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3540
3541 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
3542 even if HAVE_SYSVIPC.
3543 * emacsclient.c (main): Use getcwd if not BSD.
3544
35451995-03-13 Francesco Potorti` (pot@cnuce.cnr.it)
3546
3547 * etags.c (process_file): free (filename) after using it.
3548 (readline_internal): Do not access the char before start of line.
3549
35501995-02-22 Francesco Potorti` (pot@cnuce.cnr.it)
3551
3552 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
3553 savetok.valid. Mark token as valid when it is initialised.
3554 (make_tag): Make token only if token is valid and reset validity.
3555 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
3556 (TOKEN): Added a new member: valid.
3557
35581995-02-15 Francesco Potorti` (pot@cnuce.cnr.it)
3559
3560 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
3561 (main): Do not read twice the last filename in the stdin file list.
3562
35631995-02-14 Francesco Potorti` (pot@cnuce.cnr.it)
3564
3565 * etags.c (C_entries): Initialise the new members of TOKEN.
3566 (C_entries): Do not allocate a new space for each token found by
3567 consider_token. Let make_tag do that instead.
3568 (make_tag): Since now TOKEN has memory of where it is taken from,
3569 this new macro substitutes both make_tag_from_new_lb and
3570 make_tag_from_oth_lb. All callers changed.
3571 (TOKEN): Add linepos and buffer members.
3572 (main): Initialise token_str.
3573 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
3574 (token_str): New global variable used by C_entries.
3575
35761995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
3577
3578 * Makefile.in.in (maintainer-clean): Renamed from realclean.
3579
35801995-02-01 Francesco Potorti` (pot@cnuce.cnr.it)
3581
3582 * etags.c (pfnote): Initialise been_warned in the node.
3583 (C_entries): Removed a speed hack for the sake of clarity.
3584
35851995-01-18 Francesco Potorti` (pot@cnuce.cnr.it)
3586
3587 * etags.c (longopts, print_help, main): Use -I as abbreviation
3588 for the --ignore-indentation option.
3589 (main): Do not print an error message for unknown options.
3590
35911995-01-12 Francesco Potorti` (pot@cnuce.cnr.it)
3592
3593 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
3594 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
3595 constantypedefs, update, vgrind_style, no_warnings,
3596 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
3597 (permit_duplicates): Was a var, now a #define.
3598 (filename_lb): Was global, now local to main.
3599 (main): Open the tag file when in cxref mode.
3600 Use a BUFSIZ size buffer for making the shell commands.
3601 Look at the return value from the system routine.
3602 Exit when cannot open the tag file.
3603 (process_file): Open the file and pass the FILE* to find_entries.
3604 (find_entries): Now void, because does not open the file itself.
3605 (pfnote): Recovering from lack of memory does not work. Removed.
3606 Use savenstr and simplify the code.
3607 (free_tree): Only free the name space if node is named.
3608 (structtag): Now a pointer, not a fixed length array of chars.
3609 (consider_token): Don't take a token as argument. Use savenstr
3610 when saving a tag in structtag. Callers changed.
3611 (TOKEN): Structure changed. Now used only in C_entries.
3612 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
3613 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
3614 (pfcnt): Deleted. Users updated.
3615 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
3616 TEX_getit, prolog_getit): Use dinamic allocation for storing
3617 the tag instead of a fixed size buffer.
3618
36191995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3620
3621 * movemail.c (main): Skip past the colon in inname.
3622
36231995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
3624
3625 * etags.c (pfatal): New function.
3626 (main, etags_getcwd): Use pfatal.
3627 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
3628
36291995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
3630
3631 * etags.c (Lang_function): Use void instead to declare the
3632 language functions, because many compilers are buggy.
3633 (etags_getcwd): Fix the previous fix on the #else branch.
3634 (readline_internal): Discard possible \r before \n here.
3635 (C_entries): Do not deal with \r here: undo previous fix.
3636
dff28924 36371995-01-09 Francesco Potorti` (pot@fly)
362bc2da
DL
3638
3639 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
3640 functions and a macro that allow the program to work on input
3641 lines of whatever length. Copied from etags.c.
3642 (fatal): Print a fatal error message and exit.
3643 (main): Use the new functions. Fixed a bug that made a \037 char
3644 appear at the end of the output.
3645
36461995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3647
3648 * etags.c (C_entries): Ignore carriage return at end of line.
3649
36501994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3651
3652 * fakemail.c (xmalloc, xrealloc): Add casts.
3653 (add_field): Handle <...> and "..." syntax.
3654 (setup_files, get_keyword): Clean up parens and line breaks.
3655 (args_size): Likewise.
3656
36571994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
3658
3659 * yow.c: Include program name in error messages.
3660
36611994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3662
3663 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
3664 (xmalloc, fatal, error): New functions.
3665 (progname): New variable.
3666 (main): Set progname.
3667
36681994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3669
3670 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
3671 (main): If socket/mqueue name is in home dir, add in the host name.
3672 Rename .emacs_server to .emacs-server....
3673
36741994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3675
3676 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
3677
36781994-11-22 Francesco Potorti` (pot@cnuce.cnr.it)
3679
3680 * etags.c (print_help): print --regex usage for ctags also.
3681 (main): use -h in addition to -H as abbreviation for --help.
3682
36831994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
3684
3685 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
3686 is compiled if this is defined. The new functions and variables
3687 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
3688 [VMS]: All VMS specific code previously contained in
3689 etags-vmslib.c is now included here, modified for dealing with
3690 language and regex options intermixed with filenames.
3691 (header_file): Global variable deleted.
3692 (Lang_Function): New typedef. All language parser functions
3693 changed to this new type.
3694 (string_numeric_p, substr, prestr): Functions deleted.
3695 (readline_internal): Does the job that readline did previously.
3696 (longopts): --language and --regex options added.
3697 (lang_names, lang_extensions, lang_func, print_language_names):
3698 New structures, variables and functions for choosing languages.
3699 (print_help): Help strings updated. Calls print_language_names.
3700 (argument_type, ARGUMENT): Typedefs for dealing with language and
3701 regex options intermixed with filenames.
3702 (main): Changed the way of dealing with arguments on the command
3703 line to deal with language and regex options intermixed with
3704 filenames.
3705 (get_language, default_C_entries, Cplusplus_entries,
3706 Cstar_entries, Yacc_entries, just_read_file): New functions.
3707 (find_entries): Use the new method for choosing the language.
3708 (Pascal_functions): Allow intermixing of comment styles.
3709 (prolog_getit, skip_comment): Rewritten for speed.
3710 (readline): Rewritten to deal with regexps.
3711
37121994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
3713
3714 * etags.c (<errno.h>): #include added.
3715 (etags_getcwd): Check return value from getcwd.
3716
37171994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3718
3719 * profile.c (TV1, TV2): Use EMACS_TIME as type.
3720 (get_time): Use EMACS_SUB_TIME.
3721
37221994-10-30 voelker <voelker@cs.washington.edu>
3723
3724 * ntlib.c: New file.
3725 * makefile.nt: New file.
3726
3727 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
3728 [WINDOWSNT]: Include the NT headers.
3729 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
3730
3731 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
3732 [WINDOWSNT]: Include some NT headers.
3733
37341994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
3735
3736 * pop.c (getline): When a search of already-read input for CRLF
3737 fails, store the fact that we've searched it and don't search it
3738 again after reading more data.
3739
3740 * pop.c (getline): When determining whether or not it's necessary
3741 to grow the input buffer, take into account the null that's stored
3742 at the end of already-read input in the buffer.
3743
37441994-10-21 Francesco Potorti` (pot@cnuce.cnr.it)
3745
3746 * etags.c (prestr, substr): return a logical type.
3747 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
3748 (consider_token): set funcdef to fignore when a DEFUN is met.
3749 (C_entries): Now we can use Tom Hageman patch for extern "C".
3750
37511994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3752
3753 * movemail.c: PopServer renamed to popserver throughout.
3754
37551994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
3756
3757 * etags.c: Don't declare malloc, since we include config.h.
3758 * fakemail.c: Likewise.
3759
37601994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3761
3762 * movemail.c: Don't declare malloc.
3763
37641994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
3765
3766 * rcs-checkin: Use test -r instead of < to check readability, to
3767 avoid syntax error.
3768
37691994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
3770
3771 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
3772 defined, and if HAVE_CONFIG_H isn't defined, define
3773 MAIL_USE_POP always (so that this file can be included in
3774 other programs besides emacs).
3775
3776 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
3777 HAVE_CONFIG_H isn't defined.
3778
3779 * pop.c (find_crlf, getline): Instead of using strstr, use a
3780 custom function for finding CRLF.
3781 (my_strstr): Function deleted.
3782
37831994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
3784
3785 * pop.c (getline): Fix a segfault because of passing a
3786 non-null-terminated string into strstr(). Fix from
3787 djm@va.pubnix.com (David J. MacKenzie).
3788
3789 * pop.c: Don't include <string.h> and <strings.h>.
3790
3791 * pop.c: Include <des.h> before <krb.h>, rather than after. They
3792 should be interchangeable, and indeed the inclusion is done in
3793 both orders in various files in the Kerberos 4 library sources,
3794 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
3795 requires that <des.h> be included first, and I don't see any harm
3796 in changing the order.
3797
3798 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
3799 STDC_HEADERS, if they're defined. Undef open, read, write and
3800 close after including it.
3801
38021994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3803
3804 * pop.c: Fix mismatch in conditionals.
3805
3806 * make-docfile.c (main): Don't process one input file twice.
3807 Never use exit code > 1.
3808
3809 * pop.c (open, close, read, write): Add #undefs.
3810
3811 * pop.c: Don't declare malloc, realloc, free.
3812 Include ../src/config.h.
3813 Don't include string.h or strings.h.
3814 Include des.h before krb.h.
3815 Do declare my_strstr.
3816 (getline): Really use my_strstr.
3817 Leave one empty place in server->buffer,
3818 and put a null at the end of the data in it.
3819
38201994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3821
3822 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
3823 call kill with pid 0. Handle EINTR when receiving messages.
3824
38251994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
3826
3827 * Makefile.in.in (regex.o): Use full path to find regex.c.
3828
38291994-10-17 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3830
3831 * Makefile.in.in (etags): add dependency on regex.o, link with it.
3832 (REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added.
3833
38341994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
3835
3836 * Makefile.in.in (DONT_INSTALL): Remove make-path.
3837 (${archlibdir}): Use mkinstalldirs instead.
3838
3839 * movemail.c: Make functions that return nothing void, not
3840 implicitly int.
3841 (main): Improve usage message.
3842 (error): Write to stderr, not stdout.
3843
3844 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
3845 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
3846 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
3847 variables and implicitly declared functions.
3848
38491994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3850
3851 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
3852 (distclean): Not here.
3853
3854 * Makefile.in.in (libexecdir): Renamed from libdir.
3855
38561994-10-11 Francesco Potorti` (pot@cnuce.cnr.it)
3857
3858 * etags.c (C_entries): Name the #define's that are macros.
3859
38601994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3861
3862 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
3863 fd_set arg is a pointer, descriptor arg comes first.
3864
38651994-09-29 Francesco Potorti` (pot@cnuce.cnr.it)
3866
3867 * etags.c (C_entries): Recognise typedef of ANSI style functions.
3868 (C_entries): Recognise #define inside a struct.
3869 (C_entries): ANSI tells that preprocessor commands do not have to
3870 start on the first column.
3871 (print_help): Documentation corrected for -d and -D.
3872 (white, endtk): ANSI tells the vertical tab is a separator.
3873
38741994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
3875
3876 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
3877 (pop.o, movemail.o): New targets.
3878 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
3879
3880 * pop.c, pop.h: New files.
3881
3882 * movemail.c: Improve POP code, move most of it into a separate file.
3883 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
3884 (mbx_write): Check for errors and for From line.
3885 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
3886 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
3887 (pop_init): Functions deleted.
3888
38891994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
3890
3891 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
3892 Rename path to dirname.
3893
38941994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3895
3896 * Makefile.in.in (UTILITIES):
3897 Remove test-distrib, make-docfile, make-path.
3898 (DONT_INSTALL): New variable--list those files here.
3899 (clean): Delete the files in DONT_INSTALL.
3900
39011994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3902
3903 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
3904 (main): Use fgets, not gets.
3905
39061994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3907
3908 * timer.c: Don't declare malloc.
3909
39101994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3911
3912 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
3913 defined, use simple 32-bit versions of these macros.
3914 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
3915
c60ee5e7 39161994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
362bc2da
DL
3917
3918 * etags.c (etags_getcwd): Use getcwd if available.
3919
39201994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3921
3922 * Version 19.27 released.
3923
39241994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3925
3926 * Version 19.26 released.
3927
39281994-08-15 Paul Eggert <eggert@twinsun.com>
3929
3930 * rcs2log: Add support for CVS.
3931 Work with `rlog's that output ISO 8601 dates.
3932
39331994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
3934
3935 * rcs2log: Use <> to delimit email address.
3936
39371994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3938
3939 * emacsserver.c [SYSV_IPC] (main): Make a separate process
3940 so we can listen for multiple requests.
3941
39421994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3943
3944 * movemail.c: Include config.h first thing.
3945
39461994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3947
3948 * emacsserver.c (main): Add casts to avoid warnings.
3949
39501994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3951
3952 * Makefile.in.in (${archlibdir}): Compare the proper dir
3953 before installing the scripts.
3954
39551994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3956
3957 * emacsclient.c (main): New local var progname saves argv[0].
3958
39591994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3960
3961 * emacsclient.c (main): Don't actually modify argv[0].
3962 Modify a copy instead.
3963
39641994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3965
3966 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
3967 (tzp): Var deleted.
3968
3969 * Makefile.in.in: Add #undef alloca.
3970
39711994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3972
3973 * timer.c (xmalloc): New function.
3974
39751994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3976
3977 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
3978 (alloca.o): New target.
3979
39801994-07-08 Dave Love (d.love@dl.ac.uk)
3981
3982 * etags.c (takeprec): recognise `character*(*) function'
3983
39841994-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
3985
3986 * etags.c (main): Don't barf on obsolete -t and -T switches.
3987 (main): Print an explicative message when a switch is not known.
3988
39891994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3990
3991 * hexl.c: Don't declare exit or perror.
3992
3993 * emacsserver.c (main): Don't declare geteuid.
3994 Don't declare getenv if convex.
3995
39961994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3997
3998 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
3999
40001994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
4001
4002 * etags.c (absolute_filename): Remove infinite loop bug when
4003 accessing files in directories whose name begins with a dot.
4004
40051994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
4006
4007 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
4008
40091994-06-01 Morten Welinder (terra@diku.dk)
4010
4011 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
4012 location of data directory.
4013
40141994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4015
4016 * Version 19.25 released.
4017
40181994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4019
4020 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
4021
40221994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4023
4024 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
4025
40261994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4027
4028 * Version 19.24 released.
4029
40301994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4031
4032 * make-docfile.c (write_c_args): Put `default' in upper case.
4033
40341994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4035
4036 * etags.c (etags_getcwd): Cast result of popen.
4037 (popen): Declaration deleted.
4038
40391994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
4040
4041 * etags.c [!MSDOS]: Declare popen.
4042
40431994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4044
4045 * b2m.c (main): Avoid crash if argc is 1.
4046
40471994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4048
4049 * Version 19.23 released.
4050
4051 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
4052
40531994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4054
4055 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
4056
40571994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
4058
4059 * Makefile.in.in: Fix out of date comment.
4060
40611994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4062
4063 * Makefile.in.in: Put in a separator for where to start cpp procssing.
4064 Move all autoconf substitutions above that point.
4065 Above that point, use Make-style comments.
4066 This goes with changes in ../configure.in.
4067
40681994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4069
4070 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
4071 warning message.
4072 (${archlibdir}): Don't do it here. Don't depend on blessmail.
4073
40741994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
4075
4076 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
4077
40781994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4079
4080 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
4081 print advice to run it, if it has anything significant to do.
4082 And only if MOVEMAIL_NEEDS_BLESSING.
4083 (blessmail): Use emacs, not temacs.
4084 (configuration): Renamed from configname.
4085
40861994-04-30 Morten Welinder (terra@diku.dk)
4087
4088 * etags.c (find_entries): Treat `*.cpp' as C++ files.
4089
40901994-04-30 Morten Welinder (terra@diku.dk)
4091
4092 * etags.c [MSDOS]: #include <sys/param.h> for the following.
4093 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
4094 a shell.
4095
40961994-04-29 Morten Welinder (terra@diku.dk)
4097
4098 * hexl.c [MSDOS]: Don't define proto type for exit.
4099
41001994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4101
4102 * b2m.c: Don't include string.h or strings.h.
4103
41041994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
4105
4106 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
4107 symbols, not make variables.
4108
41091994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4110
4111 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
4112 * etags.c (print_version): Print VERSION as a string.
4113
41141994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4115
4116 * fakemail.c (readline): Fix updating of p when buffer grows.
4117
41181994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
4119
4120 * Makefile.in.in (blessmail): New target.
4121 ${archlibdir}: Use blessmail when installing movemail.
4122
41231994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4124
4125 * fakemail.c (readline): When extending the buffer,
4126 calculate end afresh using the new size.
4127
41281994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
4129
4130 * etags.c (main, print_help): eliminate the -F option.
4131
41321994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
4133
4134 * etags.c (absolute_filename): compare against '\0' instead of NULL.
4135
41361994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4137
4138 * Makefile.in.in: Renamed from Makefile.in.
4139 Makefile.in is now generated from it, and then preprocessed.
4140 Change comments to C syntax.
4141 Include config.h.
4142 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
4143 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
4144
41451994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4146
4147 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
4148
41491994-04-12 Francesco Potorti` (pot@fly.cnuce.cnr.it)
4150
4151 * etags.c (etags_getcwd): Initialize bufsize.
4152
41531994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4154
4155 * profile.c (gettimeofday): If system doesn't have this, define it
4156 to give a fatal error.
4157
41581994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
4159
4160 * movemail.c (main): Use setuid, not seteuid.
4161
41621994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4163
4164 * etags.c: #undef static.
4165
41661994-04-08 Francesco Potorti` (pot@fly.cnuce.cnr.it)
4167
4168 * etags.c (outf, outfiledir): renamed to tagf, tagfiledir.
4169 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs,
4170 Scheme_funcs, prolog_funcs): renamed to Fortran_functions,
4171 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
4172 TeX_functions, Prolog_functions.
4173 (inf): no more a global variable.
4174 (C_entries): take 2nd parameter `inf' instead of using the global one.
4175 (find_entries): added the cp1 var for optimisation.
4176 (find_entries): added more suffixes for assembler files.
4177 (Asm_funcs): Now finds labels even without an ending colon.
4178
41791994-03-30 Francesco Potorti` (pot@fly.cnuce.cnr.it)
4180
4181 * etags.c (main): use etags_getcwd for compatibility.
4182 (etags_getcwd): new function.
4183
41841994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4185
4186 * Makefile.in (etags, ctags): Pass -D for VERSION.
4187
41881994-03-25 Francesco Potorti` (pot@cnuce.cnr.it)
4189
4190 * etags.c (emacs_tags_format, ETAGS): removed. Use CTAGS instead.
4191 (main): don't allow the use of -t and -T in etags mode.
4192 (print_help): don't show options enabled by default.
4193 (print_version): show the emacs version number if VERSION is #defined.
4194 (find_entries): add "ss" as suffix for Chez Scheme.
4195
41961994-03-23 Francesco Potorti` (pot@cnuce.cnr.it)
4197
4198 * etags.c (cwd, outfiledir): vars added.
4199 (relative_filename, absolute_filename, absolute_dirname):
4200 functions added to compute filenames in tags files.
4201 (process_file): filenames in tags file are relative to the
4202 directory where the tags file is (useful with the -o option).
4203 (main): initialise the outfiledir var.
4204 (TYPEDST): added the `tignore' value.
4205 (C_entries): corrected various small bugs.
4206
42071994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4208
4209 * Makefile.in (UTILITIES): `env' deleted.
4210 (env): Target deleted.
4211 * env.c: File deleted.
1c478461 4212
362bc2da
DL
42131994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4214
4215 * Makefile.in (install, ${archlibdir}): Switch back to ..
4216 before running INSTALL_PROGRAM.
4217
42181994-03-14 Francesco Potorti` (pot@cnuce.cnr.it)
4219
4220 * etags.c (TYPEDST): added the `tignore' value.
4221 (C_entries): corrected various bugs, now correctly parses the
4222 `extern "C" {' construction (patch by Tom R.Hageman).
4223
42241994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4225
4226 * b2m.c: Use <...> to include config.h.
4227 Don't include stdlib.h.
4228
177c0ea7 42291994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
362bc2da
DL
4230
4231 * b2m.c (main): Change delimiter from "^L" to "^_^L".
4232 Allow for text following "BABYL OPTIONS:".
4233 Add --help option. Use argv[0] in error messages.
4234
42351994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4236
4237 * emacsclient.c (main) [HAVE_SYSVIPC]:
4238 Make msgp->mtext longer if necessary.
4239 On HPUX, error if it's more than 512 chars.
4240
42411994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
4242
4243 * etags-vmslib.c: Use GPL.
4244 * emacstool.c: Use GPL.
4245 * fakemail.c: Update GPL.
4246
4247 * make-path.c (main): Return 1 on error, not -1.
4248 Update GPL.
4249
4250 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
4251 (xmalloc, xrealloc): Return char *, not int.
4252 (error): Write to stderr, not stdout.
4253 Update GPL.
4254
42551994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
4256
4257 * profile.c (main, get_time): Don't crash on invalid input.
4258
42591994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
4260
4261 * profile.c (get_time): Simplify; avoid calling index.
4262 (main): exit on EOF.
4263
42641994-02-17 Francesco Potorti` (pot@cnuce.cnr.it)
4265
a64387ee 4266 * etags.c (--absolute-pathnames): Option removed.
362bc2da
DL
4267
42681994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4269
4270 * fakemail.c (put_line): Don't break the line if it all fits.
4271
dff28924 42721994-02-14 Francesco Potorti` (pot@fly)
362bc2da
DL
4273
4274 * etags.c (absolute_pathnames, cwd): added global vars.
4275 (longopts, print_help, main, process_file): put absolute filenames
4276 in the tag file if the -A --absolute-pathnames option is used.
4277 (print_help): alfabetically order the options.
4278 (malloc, realloc, strcpy, strncpy, strcmp): remove extern declar.
4279
42801994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4281
4282 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
4283 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
4284
42851994-02-07 Christian Lynbech (lynbech@avignon)
4286
4287 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
4288
42891994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4290
4291 * Makefile.in (UTILITIES): Mention profile.
4292 (profile): New target.
4293
4294 * profile.c: New file.
4295
42961994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
c60ee5e7 4297
88c71720 4298 * make-docfile.c: Make the argument list output look more like the
c60ee5e7 4299 Lisp docstrings do.
88c71720 4300 (write_c_args): Take new arg FUNC. Make output
362bc2da
DL
4301 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
4302 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
4303
43041994-01-14 Francesco Potorti` (pot@cnuce.cnr.it)
4305
4306 * etags.c (stab_entry, stab_create, stab_find, stab_search,
4307 stab_type, add_keyword, C_reate_stab, C_create_stabs): deleted.
4308 Use gperf generated hash table instead of linked list.
4309 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): added.
4310 Mostly code generated by gperf.
4311 (consider_token): removed unused parameter `lp'.
4312 (PF_funcs, getit): allow subroutine and similar declarations
4313 to span multiple lines.
4314 (C_entries): check for newline if inchar to avoid bus errors.
4315 (process_file, find_entries): distinguish among nonexistent
4316 and not regular file.
4317
43181994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4319
4320 * timer.c: Include errno.h; don't include fasync.h.
4321 (schedule): Don't return a value.
4322 (sigcatch): Reestablish the handler first.
4323 (getevent): Always call notify at the end.
4324 (notify): Defer alarms around the whole body of function.
4325
43261994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4327
4328 * timer.c (main): Don't request SIGIO, and don't handle it.
4329 Loop calling getevent.
4330 (sigcatch): Delete code to handle SIGIO.
4331 if defer_alarms is set, don't call notify, just set alarm_deferred.
1c478461 4332 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
4333 Set defer_alarms around realloc and schedule.
4334 If alarm_deferred gets set, call notify.
4335 Likewise if this event is the only pending event.
4336 Make buf and buf_size global variables.
4337 Don't malloc buf if it is already non-zero.
4338 (schedule): Just exit if run out of memory.
4339 Return the number of events.
4340 (signal) [_CX_UX]: Add #undef.
4341
43421994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4343
4344 * timer.c [USG] (SIGIO): Define as SIGPOLL.
4345 (main) [USG]: Do ioctl to enable SIGPOLL.
4346
43471994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4348
4349 * timer.c: Don't declare sys_errlist; declare strerror instead.
4350 (schedule, main): Call strerror instead of using sys_errlist.
4351 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
4352 Call strerror instead of using sys_errlist.
4353 * env.c (main): Call strerror instead of using sys_errlist.
4354 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
4355 (main): Call strerror instead of using sys_errlist.
4356 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
4357 * env.c [! HAVE_STRERROR] (strerror): Likewise.
4358 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
4359 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
4360
43611994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4362
4363 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
4364
4365 * movemail.c (malloc): Don't declare it.
4366 (xmalloc): Cast result of malloc.
4367 (strcpy): Don't declare it.
4368
43691993-11-14 Morten Welinder (terra@diku.dk)
4370
4371 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
4372 (main): Use fclose to close file opened by fopen.
4373
4374 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
4375
4376 * movemail.c [MSDOS]: #undef `access'.
4377
4378 * b2m.c (main) [MSDOS]: Open all files as binary.
4379 * etags.c (main) [MSDOS]: Open all files as binary.
4380
4381 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
4382 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
4383 with.
4384
43851994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4386
4387 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
4388 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
4389 (LINK_CFLAGS): New variable.
4390 (timer): Use LINK_CFLAGS.
4391
43921993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4393
4394 * movemail.c: Include syswait.h.
4395 Fork a subprocess and use it to copy the mail file.
4396
43971993-12-07 Richard Stallman (rms@srarc2)
4398
4399 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
4400
44011993-12-04 Richard Stallman (rms@srarc2)
4402
4403 * movemail.c (main): When making tempname, cast result of xmalloc.
4404 Include room for EXXXXXX in the size.
4405 Don't use result of strcpy.
4406
44071993-12-03 Paul Eggert (eggert@twinsun.com)
4408
4409 * vcdiff: Add --brief option.
4410
44111993-12-02 Richard Stallman (rms@srarc2)
4412
4413 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
4414 for all executables and scripts.
4415
44161993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4417
4418 * Version 19.22 released.
4419
44201993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4421
4422 * Makefile.in (mostlyclean): Make it distinct from clean.
4423
44241993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4425
4426 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
4427
44281993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4429
4430 * Version 19.21 released.
4431
4432 * Makefile.in (install): Don't change mode or group when installing.
4433
4434 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
4435
44361993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4437
4438 * make-docfile.c (read_c_string): For "", concatenate the two strings.
4439
4440 * movemail.c (main): Fix error message text.
4441
44421993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4443
4444 * Version 19.20 released.
4445
177c0ea7 44461993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
362bc2da
DL
4447
4448 * etags.c: (C_entries): Keep track of ()-parenthesis level so that
4449 functions returning a pointer to a function, a la `signal', can be
4450 parsed. This also required new state `fstartlist' to `FUNCST'.
4451 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
4452 (C_entries, CNL): use it to isolate preprocessor directive processing
4453 from the other state engines.
4454 (begtk): add '~', for C++ class destructors.
4455
44561993-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
4457
4458 * etags.c (consider_token): removed unused variable firsttok.
4459 (prolog_getit): call pfnote with the right number of arguments.
4460
44611993-10-19 Paul Eggert (eggert@twinsun.com)
4462
4463 * rcs2log (printlogline): Don't generate lines containing only
4464 white space.
4465
44661993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4467
4468 * Makefile.in (${archlibdir}):
4469 Install ${SCRIPTS} from ${srcdir}, not cwd.
4470
44711993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4472
4473 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
4474 the comment character.
4475
44761993-10-01 Francesco Potorti` (pot@cnuce.cnr.it)
4477
4478 * etags.c (process_file): dead code removed.
4479 (S_ISREG): #define it using S_IFREG if not defined.
4480 (process_file): regular files have nothing to do with symlinks.
4481
44821993-09-28 Brian Fox (bfox@ai.mit.edu)
4483
4484 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
4485 from current directory. Only chmod and chgrp files that we
4486 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
4487 ${bindir}.
4488 (INSTALLFLAGS): Deleted definition, since it is an unused variable
4489 now.
4490
44911993-09-27 Brian Fox (bfox@ai.mit.edu)
4492
4493 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
4494 configure figure out the correct values for these variables.
4495
44961993-09-14 Brian Fox (bfox@ai.mit.edu)
4497
4498 * Makefile.in (archlibdir): Only install execuatables internally
4499 used by emacs; don't install bindir binaries here.
4500
45011993-09-24 Paul Eggert (eggert@twinsun.com)
4502
4503 * rcs2log: Add -h, -n, -r options.
4504 By default, look for *,v files as well as RCS/*,v files.
4505 Use $TMPDIR (default /tmp) instead of /tmp.
4506
dff28924 45071993-09-20 Francesco Potorti` (pot@fly)
362bc2da
DL
4508
4509 * etags.c (C_entries): is_func is initialised here instead of in
4510 consider_token for the sake of the yacc rules section.
4511 (C_entries): Now class, struct, enum, union and typedef produce
4512 named tags.
4513
45141993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
4515
4516 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
4517
45181993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4519
88c71720
KS
4520 * Makefile.in: Support configuring in a different directory when
4521 ${srcdir} has already been configured.
4522 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
4523 -I${srcdir}/../src.
362bc2da
DL
4524 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
4525 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
4526 is already in CPP_FLAGS.
4527 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
4528 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
4529
45301993-08-25 Paul Eggert (eggert@twinsun.com)
4531
4532 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
4533 otherwise, HP awk complains.
4534
4535 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
4536 are common hangouts for SCCS commands.
4537
45381993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4539
4540 * Version 19.19 released.
4541
45421993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4543
4544 * Makefile.in (make-path): Dep on config.h.
4545
45461993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4547
4548 * b2m.c (TRUE, FALSE): Don't define if already defined.
4549
45501993-08-09 Paul Eggert (eggert@twinsun.com)
4551
4552 * rcs2log (awkscript):
4553 Some sites put comma-separated junk after the fullname.
4554 Remove it, but leave "Bill Gates, Jr" alone.
4555 Remove the junk from fullnames like "0000-Admin(0000)".
4556
45571993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4558
4559 * Version 19.18 released.
4560
45611993-08-04 Francesco Potorti` (pot@spiff.gnu.ai.mit.edu)
4562
4563 * etags.c (L_isdef, L_isquote, L_getit): small optimisations.
4564 (L_funcs): the (foo::defmumble stuff now should work.
4565 (consider_token): function returned random value--corrected.
4566 (C_entries): corrected == versus = typo.
4567
45681993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4569
4570 * etags.c (put_entries): For NODE->rewritten, put pattern before
4571 \177 and name after, not vice versa.
4572
45731993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4574
4575 * timer.c (main): Generate a SIGIO as soon as we've initialized.
4576
45771993-07-30 Francesco Potorti` (pot@cnuce.cnr.it)
4578
4579 * etags.c (FINCST): added the fignore status. Means we are
4580 after the parameter list and before the open curly brace.
4581 Allows correct parsing of C++ constructors.
4582 (C_entries, consider_token): make use of fignore.
4583 (consider_token): reset funcdef when next_token_is_func: when in
4584 ctags mode makes DEFVAR and others work better.
4585 (L_isquote): function that recognises the "(quote" string.
4586 (L_getit): ignore quoting via "'" or "(quote". Useful for defalias.
4587
45881993-07-29 Paul Eggert (eggert@twinsun.com)
4589
4590 * rcs-checkin: Don't check whether a file is readable until we have
4591 decided not to ignore it.
4592
45931993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4594
4595 * Makefile.in (etags): Depend on ../src/config.h.
4596
4597 * emacsserver.c: Include types.h before file.h.
4598
45991993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4600
4601 * Makefile.in (install): Use .n, not .new, for temporary filenames.
4602
46031993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4604
4605 * Version 19.17 released.
4606
46071993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4608
4609 * etags.c (print_help): Break up the very long strings containing
4610 the help message into shorter strings, to placate chintzy C
4611 compilers which can't handle strings that long.
4612
4613 * wakeup.c: Use CPP tangle from autoconf manual to #include the
4614 correct combination of <time.h> and <sys/time.h>.
4615
46161993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
4617
4618 * etags.c (alloca): removed all references to it.
4619 (main): now calls xnew instead of alloca for portability.
4620 (../src/config.h): included only if HAVE_CONFIG_H.
4621 (const): void definition removed--config.h takes care of it.
4622
46231993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
4624
4625 * etags.c (consider_token): was `==', now is `='.
4626 (consider_token): DEFUNs now treated like funcs in ctags mode.
4627
4628 * etags.c (LEVEL_OK_FOR_FUNCDEF): removed.
4629 (C_entries): optimized the test that used LEVEL_OK_FOR_FUNCDEF.
4630 (C_entries): removed a piece of useless code.
4631 (C_entries): making typedef tags is delayed until a semicolon
4632 is met. This handles "typedef int X, Y, Z;" correctly.
4633
46341993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4635
4636 * Version 19.16 released.
4637
4638 * b2m.c: #include <sys/types.h>.
4639 (ltoday): Declare this to be time_t.
4640
46411993-06-30 Paul Eggert (eggert@twinsun.com)
4642
4643 * vcdiff: Add -q option.
4644
46451993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4646
4647 * etags.c: #include "config.h" and the alloca CPP tangle before
4648 #including the system headers and getopt.h. AIX requires the
4649 #pragma to come before any actual C code.
4650
46511993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4652
4653 * Makefile.in (ctags): Depend on etags, so that parallel makes
4654 don't write etags.o files on top of each other.
4655
46561993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4657
4658 * version 19.15 released.
4659
46601993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4661
4662 * etags.c (add_node): Move var last_node to file scope.
4663
46641993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4665
4666 * Version 19.14 released.
4667
46681993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4669
4670 Bring mumbleclean targets into conformance with GNU coding standards.
4671 * Makefile.in (distclean): Call clean to do most of the work.
4672 Delete aixcc.c and TAGS.
4673 (realclean): Just call distclean.
1c478461 4674
362bc2da
DL
4675 * Makefile.in: Remember, spaces are not tabs.
4676
46771993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4678
4679 * Makefile.in (CPP_CFLAGS): New variable.
4680 Use it instead of ALL_CFLAGS when compiling a .c file.
4681 (getopt.o, getopt1.o): Add explicit compilation commands.
4682
46831993-06-10 Mark D. Baushke (mdb@cisco.com)
4684
4685 * etags.c: Reinstate old -f option as an alias for -o for
4686 installed base uses.
4687
46881993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4689
4690 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
4691 to bind or accept, cast the pointer, to avoid warnings on systems
4692 which declare prototypes for this.
4693 * emacsclient.c (main): Same.
4694
4695 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
4696
46971993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4698
4699 * Version 19.13 released.
4700
4701 * wakeup.c: Include sys/types.h, too; I think that's where time_t
4702 comes from, not sys/time.h.
4703
47041993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4705
4706 * wakeup.c: Include sys/time.h.
4707
4708 * etags.c: #undef static.
4709
4710 * Version 19.12 released.
4711
4712 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
4713
47141993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4715
4716 * Version 19.11 released.
4717
4718 * timer.c [LINUX]: #undef signal.
4719 * emacsserver.c: #undef signal.
4720
47211993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4722
4723 * wakeup.c (main): Make when a time_t.
4724
47251993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4726
a64387ee
JB
4727 * Makefile.in: (${archlibdir}): Use `(cd foo && pwd)' instead of
4728 `(cd foo ; pwd)' to get the canonical name of a directory; cd
362bc2da
DL
4729 might fail, and have pwd print out the current directory.
4730
4731 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
4732 string-handling functions.
4733
47341993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4735
4736 * Version 19.10 released.
4737
47381993-05-29 Paul Eggert (eggert@twinsun.com)
4739
4740 * rcs2log: When given no file arguments, inspect RCS/.* as well
4741 as RCS/*. Don't report an error if RCS is empty or nonexistent.
4742
47431993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4744
4745 * Makefile.in (timer): Link with $(LOADLIBES).
4746
47471993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4748
4749 * fakemail.c (put_line): Don't output \n\t unless more text follows.
4750
47511993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4752
4753 * etags.c: Replace the CPP tangle for alloca with the one from the
4754 autoconf documentation, since that's working elsewhere.
4755
47561993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4757
4758 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
4759 description files can find their ancestors.
4760
47611993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4762
4763 * Makefile.in (install): Get the scripts from ${srcdir},
4764 unlike the executables.
4765 (ALL_CFLAGS): Add -I../src
4766
47671993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4768
4769 * Version 19.9 released.
4770
47711993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4772
4773 * Makefile.in (install): Do install the programs listed in
4774 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
4775 INSTALLABLE_SCRIPTS, instead of writing the programs out.
4776
4777 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
4778 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
4779
47801993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4781
4782 * etags.c: Include ../src/config.h.
4783
4784 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
4785 in first loop. Delete files from bindir before installing new ones.
4786 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
4787
47881993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4789
4790 * Version 19.8 released.
4791
4792 * make-docfile.c: Doc fix.
4793
47941993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4795
4796 * tcp.c: Fix comment syntax at top of file.
4797 (main): Don't call htons with the port number.
4798
47991993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4800
4801 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
1c478461 4802 appropriate.
362bc2da
DL
4803
4804 * Makefile.in (install): Refer to the variables INSTALLABLES and
4805 INSTALLABLE_SCRIPTS, instead of writing them out.
4806
48071993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4808
4809 * make-path.c (main): Return 0.
4810
48111993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4812
4813 * Version 19.7 released.
4814
48151993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4816
4817 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
4818
48191993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4820
4821 * tcp.c: New file.
4822
48231993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4824
4825 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
4826
48271993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4828
4829 * timer.c (notify): Don't call sighold or sigrelse; they're USG
4830 only. We should really fix this later, but let's just make it
4831 compile for now.
4832
4833 Install patches from David J. Mackenzie to make the srcdir option
4834 work.
4835 * Makefile.in (srcdir, VPATH): Get this value from the top-level
4836 Makefile.
4837 (INSTALLABLES): Split this into two lists - INSTALLABLES and
4838 INSTALLABLE_SCRIPTS.
4839 (INSTALLABLE_SCRIPTS): New list.
4840 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
4841 (${archlibdir}): The scripts to be installed live in the source
4842 tree, not in the object tree.
4843 (test-distrib): Note that the data file lives in the source tree,
4844 not the object tree.
4845 (GETOPTDEPS): Note that getopt.h lives in the source tree.
4846 (all other targets): Change references to source files to use
4847 ${srcdir}, except for config.h, which lives in the object dir.
4848 (timer.o): Note that this depends on ../src/config.h.
4849 * make-docfile.c (main): Add a -d option, to tell it where to find
4850 the source files.
4851 * test-distrib.c (main): Take the name of the distribution file to
4852 test from the command line.
4853
4854 * timer.c: Fix mispellings of get_date function's name.
4855
48561993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
4857
4858 * etags.c (main):
4859 Don't require that there be input files if -i switches were given.
4860
48611993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4862
4863 The GNU coding standards specify that CFLAGS should be left for
4864 users to set.
4865 * Makefile.in (CFLAGS): Put this in the "things configure might
4866 edit" section, and have it default to -g.
4867 (ALL_CFLAGS): New variable, set to all the flags which should be
4868 passed to compilations. Replace all other uses of CFLAGS with
4869 ALL_CFLAGS.
4870 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
4871
4872 * Makefile.in (DEFS): Remove this; it's always just going to be
4873 "-DHAVE_CONFIG_H -Demacs".
4874
48751993-05-03 Paul Eggert (eggert@twinsun.com)
4876
4877 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
4878 /[/]/, so change it to /[\/]/. This should work on all
4879 Posix-compliant awks. It's slightly wrong with traditional awk,
4880 since it matches \ too, but that's a minor problem compared to awk
4881 syntax errors.
4882
48831993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4884
4885 * Makefile.in (ALLOCA): New variable, whose value we should
4886 inherit from the top-level makefile.
4887 (etags, ctags): Include ALLOCA in the list of object files that
4888 these executables depend on and link.
4889
48901993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4891
4892 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
4893
48941993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
4895
4896 * make-docfile.c (write_c_args): Print an argument named "defalt"
4897 as "default".
4898
48991993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4900
4901 * Makefile.in (C_SWITCH_SYSTEM): New variable.
4902 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
4903 compiler.
4904
49051993-03-22 Francesco Potorti` (pot@cnuce.cnr.it)
4906
4907 * etags.c (YACC): flag added to c_ext.
4908 (c_ext): no more a synonim for c_ext&C_PLPL because of YACC.
4909 (find_entries): consistently use streq when reasonable.
4910 (find_entries): a .y file is a yacc file.
4911 (get_C_stab): c_ext becomes c_ext&C_PLPL.
4912 (C_entries): logical cplpl means c_ext&C_PLPL.
4913 (C_entries): logical yacc_rules means we are after the first %%.
4914 (C_entries): added logic for yacc files.
4915
49161993-03-16 Francesco Potorti` (pot@cnuce.cnr.it)
4917
4918 * etags.c (C_entries): ':' case moved to the second switch.
4919 (C_entries): do not examine token if structdef==scolonseen.
4920 (consider_token): structtag set to null string for enum.
4921
49221993-03-12 Francesco Potorti` (pot@cnuce.cnr.it)
4923
4924 * etags.c (GET_COOKIE): and related macros removed.
4925 (logical): is now int, no more a char.
4926 (reg): define deleted.
4927 (isgood, _gd, notgd): deleted.
4928 (gotone): deleted.
4929 (TOKEN): member linestart removed.
4930 (linepos, prev_linepos, lb1): deleted.
4931 (main): call initbuffer on lbs array instead of lb1.
4932 (init): removed the initialisation of the logical _gd array;
4933 (find_entries): a .sa suffix means assembler file.
4934 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
4935 All C state machines rewritten.
4936 (C_entries): complete rewrite.
4937 (condider_token): complete rewrite.
4938 (getline): deleted.
4939
49401993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
4941
4942 * etags.c (C_entries): Added the quotednl logical variable.
4943 Used for parsing of #define's spanning multiple lines.
4944
49451993-02-23 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
4946
4947 * etags.c (C_entries): Save the definedef status even when a
4948 newline is met inside a string.
4949
49501993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
4951
4952 * Makefile.in (EXECUTABLES): added rcs-checkin.
4953
4954 * Makefile.in (unlock, relock): New productions.
4955
49561993-03-16 Paul Eggert (eggert@twinsun.com)
4957
4958 * rcs2log: Some awks don't understand "\r". Code around this.
4959 Unfortunately this requires putting a carriage return in the
4960 source code. Don't assume that rlog will tolerate times like
4961 `10:10:60'; RCS 5.7 won't allow this.
4962
49631993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4964
4965 * timer.c (main): Set the ownership of the stdin file descriptor
4966 to the current process. Print error messages if either of the
4967 fcntl's fails.
4968
4969 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
4970 ../src/config.h), not void.
4971
49721993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4973
4974 * b2m.c (main): Don't exit upon reading a blank line.
4975
49761993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
4977
4978 * etags.c (C_entries): New local variable quotednl. Used for
4979 parsing of #define's spanning multiple lines.
4980
4981 * etags.c (C_entries): Save the definedef status
4982 even when a newline is met inside a string.
4983
49841993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4985
4986 * timer.c (notify): Initialize waitfor properly.
4987
49881993-02-22 Francesco Potorti` (pot@CNUCE.CNR.IT)
4989
4990 * etags.c (C_entries): Don't reset definedef when a newline inside a
4991 comment is met.
4992
49931993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4994
4995 * etags.c (find_entries): If filename ends in .f or .for,
4996 don't try anything but Fortran.
4997
49981993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
4999
5000 * timer.c (notify): Flush stdout after writing message to avoid lossage
5001 on terminals.
5002
5003 (notify): Also, write a newline after the token.
5004
50051992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5006
5007 * Makefile.in (exec_prefix): New variable.
5008 (bindir, libdir): Use it instead of `prefix'.
5009
5010 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
5011
5012 * Makefile.in (libdir): Default to ${prefix}/lib.
5013 (archlibdir): Adjusted to match.
5014
5015 * Makefile.in (distclean): Don't delete backup or autosave files.
5016 (extraclean): Like realclean, but does delete backup and autosave
5017 files.
5018
5019 * Makefile.in (realclean): Ignore errors from rm.
5020
5021 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
5022 that doesn't exist anymore.
5023
50241992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5025
5026 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
5027 described in the top-level Makefile.
5028 (UTILITIES): Add make-path to the list of utility programs.
5029 (../arch-lib): Replaced by the ${archlibdir} target, which places
5030 the executables in their permanent home.
5031 (install, install.sysv, install.xenix): Consolidated into one
5032 target which should work under all circumstances, modulo a few
5033 ignored error messages.
5034
5035 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
5036 a different number of arguments than other DEFVARs, recognize it
5037 specially, and expect the right number of commas.
5038
50391992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5040
5041 * make-path.c: New program, to help with the installation process.
5042 * Makefile.in (make-path): New target.
5043
5044 * make-path.c (touchy_mkdir): Remove debugging output.
5045
50461992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5047
5048 * Makefile.in (getdate.o): Added explicit target for this, so we
5049 can indicate that it depends on ../src/config.h.
5050
50511992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5052
5053 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
5054 instead of CFLAGS.
5055 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
5056
50571992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5058
5059 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
5060 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
5061 that system.
5062
5063 * Makefile.in (arch-lib): Give rm the `-f' option.
5064
50651992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5066
5067 * make-docfile.c (write_c_args): Rewritten to correctly print
5068 &optionals before the first identifier, but after the first paren.
5069 This code used to just wait for commas or spaces; now it notices
5070 identifier boundaries.
5071
50721992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5073
5074 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
5075
50761992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5077
5078 * make-docfile.c (write_c_args): Print the argument lists properly
5079 when the first argument is optional.
5080
50811992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5082
5083 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
5084 Redefine @item. Set catcode of +.
5085
50861992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5087
5088 * emacsclient.c (main): Set IPC_CREAT in msgget call.
5089
50901992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5091
5092 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
5093 (TEX_decode_env): Make `tab' one element longer.
5094
50951992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5096
5097 * etags.c (PF_funcs): Recognize the "entry" keyword.
5098
50991992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5100
5101 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
5102
51031992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5104
5105 * timer.c (events): Rather than having slots marked as in use or
5106 out of use by the `token' field, keep all pending events at the
5107 beginning of the array. When we delete an event in the middle of
5108 the array, we move the last event into its place.
5109 (num_events): New variable.
5110 (schedule): It is now cheaper to find a free event slot;
5111 events[num_events] is the first free slot.
5112 (notify): Scan events[0 .. num_events-1], instead of the whole
5113 array. When an event fires, move the last event in the array into
5114 its spot. Use num_events to determine whether or not there are
5115 any pending events, not wait_for.
5116 (getevent): Deleted unused variable `ep'.
5117 (sigcatch): It's now easier to find all the active events.
5118 (main): Initialize num_events.
5119
5120 * etags.c: Rather than fret about which systems have index and
5121 which systems have strchr, and how to tell the difference between
5122 them, we just write out our own versions. Big deal.
5123 (index, rindex): Extern declarations removed.
5124 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
5125 (etags_index, etags_rindex): New declarations.
5126 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
5127 TEX_getit, substr): Use the etags_*index functions, rather than
5128 the native *index functions.
5129 (rindex, index): Renamed to etags_rindex and tags_rindex, and
5130 made them unconditionally defined, rather than having them depend
5131 on NEED_*INDEX.
5132
5133 * etags.c (savenstr): Add declaration for this at top of file.
5134 (TEX_decode_env): Don't declare it local to this function.
5135
5136 * b2m.c: #include "../src/config.h", so we can test for the USG
5137 macro, and decide whether to include <string.h> or <strings.h>.
5138 * Makefile.in: Note that b2m.c depends on ../src/config.h.
5139
51401992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5141
5142 * timer.c: Reformatted according to the GNU coding standards.
5143 Removed arbitrary limits on the number of events queued and the
5144 length of the tokens used to identify them.
5145 Removed casts to (void).
5146 Removed debugging printfs; they clutter the code, and the need
5147 can be better filled using a real debugger.
5148
51491992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5150
5151 * timer.c: Installed new version from Eric Raymond; this is more
5152 portable, since it doesn't try to use SIGIO.
5153
51541992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5155
5156 * emacsclient.c (main): If we can't find the socket in this
5157 person's home directory, print a message which asks if they've
5158 started the server, instead of just printing the message from
5159 sys_errmsg; Cygnus finds that people are much less confused by
5160 this.
5161
51621992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5163
5164 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
5165 so that index and rindex get defined, why don't we actually
5166 control index and rindex using symbols called "NEED_INDEX" and
5167 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
5168 little more readable than defining something whose name implies
5169 that it's not?
5170
51711992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5172
5173 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
5174 distribution:
5175 Miscellaneous doc fixes.
1c478461 5176 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
5177 (scan_lisp_file): Instead of using long hairy strings of ifs, call
5178 read_lisp_symbol and then see what we got. Call skip_white
5179 instead of writing out a loop to do its job. Correctly extract
5180 docstrings from "defmacro" declarations.
5181
51821992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5183
5184 * movemail.c (strcpy): Declare this to return char *.
5185
51861992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5187
5188 * etags.c (C_entries): When we find a C++ comment, do actually
5189 skip to the end of the line; do a 'break' instead of a 'continue'.
5190
51911992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5192
5193 * etags.c (getit): Add missing parenthesis to expression which
5194 decides if this token is an identifier.
5195
51961992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
5197
5198 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
5199
52001992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5201
5202 * etags.c (put_entries): Always put space between name and line num.
5203
52041992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
5205
5206 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
5207 warning.
5208 (LEVEL_OK_FOR_FUNCDEF): Ditto.
5209
52101992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5211
5212 * make-docfile.c (write_c_args): Pass both arguments to putc.
5213
52141992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
5215
5216 * etags.c (C_entries): Fixed reading of "..." strings.
5217 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
5218 the C library source.
5219
5220 * etags.c (C_entries): When we see a backslash inside a quoted
5221 string, skip to the next character. This allows us to correctly
5222 deal with strings containing quotes.
5223
52241992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5225
5226 * make-docfile.c (write_c_args): Print the C argument names as
5227 they would be written in Elisp; print '_' as '-'.
5228
52291992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5230
5231 * movemail.c [POP]: Get user name via getpwuid.
5232
52331992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5234
5235 * Makefile.in: flags in CC invocations rearranged for no reason.
5236
52371992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5238
5239 * etags.c (print_help): Remember not to imbed raw newlines in
5240 strings - end the lines with `\n\'.
5241
52421992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5243
5244 * timer.c (getevent): Removed declaration of memcpy; since
5245 different systems have different return types, and we're not even
5246 using the return type anyway, it wasn't doing us any good.
5247
52481992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5249
5250 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
5251 type of this function.
5252
52531992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5254
5255 * ChangeLog: Since the old etc contents have been split into etc
5256 and lib-src, the old etc's ChangeLog has been duplicated in the
5257 new etc and lib-src. That means that each contains complete and
5258 coherent information, although each contains extraneous
1c478461 5259 information.
362bc2da
DL
5260
52611992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5262
5263 * lib-src/etags.c: "--no-warning" option renamed to "--no-warn",
5264 to be consistent with other GNU programs, like makeinfo.
5265
5266 * lib-src/Makefile: Renamed to Makefile.in; the configure script
5267 will edit this to produce Makefile.
5268
52691992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5270
5271 * etags.c (print_help, print_version): New functions.
5272 (main): Options added to support them.
5273
5274 * etags.c (longopts): New array of long names for the options.
5275 (main): Recognize them.
5276
52771992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5278
5279 * etags.c (C_entries): Removed comment saying that \" in a string
5280 isn't recognized as magic, because it is correctly handled.
5281
5282 * getopt.c, getopt.h: New files, from GNU C library.
5283 * etags.c: Rewritten to use getopt.
5284 #include "getopt.h".
5285 (file_num): Variable deleted; its role is now played by getopt's
5286 optind.
5287 (main): Argument processing loop rewritten to call getopt to get
5288 next option. Options which take parameters (-o and -i) rewritten
5289 to get parameter from optarg instead of argv[1]. Filename
5290 preprocessing loop and update command changed similarly.
5291 * Makefile (etags, ctags): Depend on and link with getopt.h,
5292 getopt.o, and getopt1.o.
5293 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
5294
5295 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
5296 is non-zero.
5297
5298 (main): In the argument processing loop, the 'goto next_arg'
5299 statements are breaking out of the switch statement in exactly the
5300 same way that a simple 'break' statement would; replace the gotos
5301 with breaks, and remove the label.
5302
53031992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5304
5305 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
5306 (consider_token): Move next_token_is_func to global.
5307
53081992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5309
5310 * Makefile: Conform with GNU coding standards:
5311 (mostlyclean): New target, synonymous with clean.
5312 (TAGS, check): New targets.
5313 (INSTALL, INSTALLFLAGS): New variables.
5314
53151992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5316
5317 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
5318 `config.emacs' to `configure'.
5319
5320 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
5321 * etc/MACHINES: Same.
5322
53231992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5324
5325 * movemail.c (main): Allow tempname to be as long as necessary,
5326 instead of limiting it to 39 characters.
5327
5328 * movemail.c (main): Move declaration of buf from top of function
5329 to local block surrounding the copy loop. This makes it less
5330 likely to be confused with the buf used by the code which checks the
5331 permissions on outname's directory.
5332
53331992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
5334
5335 * SERVICE: Remove my entry.
5336
53371992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
5338
5339 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
5340 hardcoded -g.
5341
5342 * movemail.c (xmalloc): Return char *, not int.
5343 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
5344 that is off by default -- normally don't unlink the mail spool
5345 file, just empty it. Pass creat mode 0600, not 0666.
5346
dff28924 53471992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
5348
5349 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
5350 (all): Instead of here.
5351 (install): Don't use the -s option, since people need symbols to
5352 debug code.
5353
dff28924 53541992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
362bc2da
DL
5355
5356 * etags-vmslib.c (fn_exp): Add type cast.
5357
53581992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5359
5360 * movemail.c: Changes in comments.
5361
dff28924 53621992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
5363
5364 * Makefile: Make the distclean target erase the DOC files from
5365 ../share-lib and the executables from ../arch-lib.
5366
dff28924 53671992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
5368
5369 * emacsclient.c: #include <sys/stat.h>
5370 (main): Do declare statbfr.
5371
dff28924 53721991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
5373
5374 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
5375 for the socket, depending on SERVER_HOME_DIR.
5376 If using /tmp, put host name in the socket name.
5377
5378 * movemail.c (pfatal_and_delete): New function.
5379 (main, popmail): Use it.
5380 (popmail): Close output before deleting messages.
5381 Check for error on close and on fsync.
5382 Use `fatal' where appropriate.
5383 (main): Remove (void).
5384
5385 * aixcc.lex: New file. Not officially part of Emacs.
5386 * Makefile: Rules for that.
5387
dff28924 53881991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
362bc2da
DL
5389
5390 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
5391
5392 * etags.c (main): Properly cast call to alloca that initializes
5393 included_files.
5394
53951991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
5396
5397 * etags.c (files_are_tag_tables): Remove global var.
5398 (process_file): Don't test it. Also remove hack checking for a
5399 file named "TAGS".
5400 (main): -i now takes an arg which is the name of a file to include.
5401 Collect these names and emit include tags for them after processing
5402 all the argument files.
5403
dff28924 54041991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
5405
5406 * wakeup.c: Terminate if parent goes away.
5407
dff28924 54081991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
5409
5410 * etags.c (C_entries): Process token before handling end of line.
5411 When inner loops reach end of line, just back up.
5412 Let the real end of line processing happen in just one place.
a64387ee 5413 (consider_token): Likewise.
362bc2da 5414
dff28924 54151991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
362bc2da
DL
5416
5417 * etags.c (TEX_mode): Skip comments while scanning the text to see
5418 which escape character this file uses.
5419
dff28924 54201991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
5421
5422 * emacsserver.c [USG]: Terminate if msgrcv fails.
5423
dff28924 54241991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5425
5426 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
5427
dff28924 54281991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
5429
5430 * make-docfile: Find the arguments to a C function correctly,
5431 by not ignoring the character that read_c_string returns. Don't
5432 even try to find argument names for functions that take MANY
5433 or UNEVALLED arguments, since they're a figment of the docstring's
5434 imagination.
5435
dff28924 54361991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
5437
5438 * make-docfile: Read the .elc files generated by the new byte
5439 compiler.
5440
dff28924 54411990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5442
5443 * refcard.tex: Use cm fonts, not am, in multi-column mode.
5444
dff28924 54451990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5446
5447 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
5448
dff28924 54491990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5450
5451 * Makefile (install*): No need to install wakeup.
5452
dff28924 54531990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5454
5455 * Makefile (install*): Install emacsclient like etags.
5456
dff28924 54571990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5458
5459 * movemail.c (error): Handle 3 args.
5460 (main): Don't check input access if using pop.
5461
dff28924 54621990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5463
5464 * etags.c (find_entries): Check for numbers after Scheme suffix.
5465
dff28924 54661990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5467
5468 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
5469
dff28924 54701990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5471
5472 * Makefile (nemacstool, xvetool): New targets.
5473
dff28924 54741990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5475
5476 * emacsclient.c: Include errno.h and define related variables.
5477
dff28924 54781990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5479
5480 * emacsclient.c: Change usage message.
5481
dff28924 54821990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
5483
5484 * emacs.1: Add break before -nw option.
5485
dff28924 54861990-08-19 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
5487
5488 * qsort.c: Replace with GNU version.
5489
dff28924 54901990-08-14 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
5491
5492 * wakeup.c: New program replacing loadst.c.
5493
dff28924 54941990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5495
5496 * emacsclient.c [USG]: Pass msgsnd only 4 args.
5497
dff28924 54981990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
362bc2da
DL
5499
5500 * etags.c: Rename `flag' variables for what they do instead of
5501 which option character sets them.
5502
dff28924 55031990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5504
5505 * loadst.c (main): Conditional to get load average on Apollo.
5506
dff28924 55071990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da
DL
5508
5509 * emacsserver.c: Set the permission on the socket to 0600.
5510
dff28924 55111990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5512
5513 * emacsclient.c [BSD]: Print clean message for failing getwd.
5514
dff28924 55151990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
5516
5517 * getdate.y: Use the getdate.y from GNU tar for timer.
5518
dff28924 55191990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
362bc2da
DL
5520
5521 * emacsclient.c (main): Don't put brackets around "filename" in
5522 usage message. It isn't optional.
5523
dff28924 55241990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da 5525
a64387ee 5526 * etags.c (getit): Recognize '$' as beginning identifiers.
362bc2da 5527
dff28924 55281990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
5529
5530 * emacsserver.c: Renamed from server.c.
5531 * Makefile: Reference emacsserver rather than server.
5532 * MACHINES: Doc fix for new emacsserver name.
5533
dff28924 55341990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5535
5536 * emacsclient.c: Print program name in error messages.
5537
dff28924 55381990-01-19 David Lawrence (tale@cocoa-puffs)
362bc2da
DL
5539
5540 * timer.c, getdate.y (new files) and Makefile:
5541 Sub-process support for run-at-time in timer.el.
1c478461 5542 Doesn't yet work correctly for USG.
362bc2da 5543
dff28924 55441990-01-10 Jim Kingdon (kingdon@pogo)
362bc2da
DL
5545
5546 * MACHINES: Add HP 300 running BSD.
5547
dff28924 55481990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5549
5550 * yow.c: Dynamically allocate buffer; skip header before random
5551 choice to avoid bias toward first item.
5552
dff28924 55531989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5554
5555 * etags.c (readline): Separate out init of `pend'.
5556
dff28924 55571989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5558
5559 * etags.c: Undo changes relating to isgoodhdr.
5560
dff28924 55611989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5562
5563 * etags.c (isgoodhdr): New macro.
5564 (_gdh, notgdh): New variable used by that.
5565 (init): Initialize _gdh.
5566 (find_entries): Set header_file.
5567 (consider_token): Use isgoodhdr if in header file.
5568
5569 * etags.c (total_size_of_entries):
5570 Was miscalculating by 1 in rewritten case.
5571
5572 * etags.c (PAS_funcs): One arg to pfnote was missing.
5573
dff28924 55741989-12-05 Joseph Arceneaux (jla@spiff)
362bc2da
DL
5575
5576 * MACHINES: Change for the ULTRIX entry.
5577
dff28924 55781989-11-21 Joseph Arceneaux (jla@spiff)
362bc2da
DL
5579
5580 * etags.c (process_file): If file is not regular, return.
5581
dff28924 55821989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5583
5584 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
5585
dff28924 55861989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5587
5588 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
5589 (main): If HAVE_GETLOADAVG, don't call `nlist'.
5590
dff28924 55911989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5592
5593 * etags.c (consider_token): Allow any number of typespec keywords
5594 after `typedef', before new type name.
5595 (enum sym_type): Add st_C_typespec.
5596 (C_create_stab): Put typespec kwds in table.
5597
dff28924 55981989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
5599
5600 * etags.c (main): Don't depend on name invoked by.
5601 If CTAGS is not defined, assume it is ETAGS.
5602
dff28924 56031989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5604
5605 * etags.c (L_funcs): Allow package name in define construct,
5606 as in (foo::defmumble name-defined ...).
5607
dff28924 56081989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5609
5610 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
5611
5612 * Makefile (yow): Depends on ../src/paths.h.
5613
dff28924 56141989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
5615
5616 * etags.c: Fix compilation by moving Pascal after Fortran.
5617
dff28924 56181989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5619
5620 * movemail.c [USG]: Define F_OK, etc., if not found in header.
5621
dff28924 56221989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5623
5624 * hexl.c: New file, supports hexl-mode.
5625
dff28924 56261989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5627
5628 * movemail.c: New compilation flag MAIL_USE_MMDF.
5629
dff28924 56301989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5631
5632 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
5633 * server.c: Likewise.
5634
5635 * make-docfile.c (scan_c_file): Output argument names at end of string.
5636 (write_c_args): New subroutine.
5637
dff28924 56381989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5639
5640 * movemail.c: Report failure of flock.
5641
dff28924 56421989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5643
5644 * etags.c (find_entries): Allow multi-letter extensions for fortran.
5645
dff28924 56461989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5647
5648 * loadst.c: on bsd4.3, use gettimeofday instead of CPUSTATES.
5649
dff28924 56501989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5651
5652 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
5653
5654 * emacsstool.1: update to document environment variables.
5655
dff28924 56561989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5657
5658 * etags.c (PAS_funcs): New function by Mosur Mohan.
5659
5660 * movemail.c: On sysv, include unistd.h.
5661
dff28924 56621989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5663
5664 * b2m.c: New file.
5665
dff28924 56661989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5667
5668 * etags.c: Prolog support from Sunichirou Sugou
5669
dff28924 56701989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5671
5672 * Makefile (clean): New target.
5673
dff28924 56741989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5675
5676 * fakemail.c (put_line): Break header lines at 79 cols.
5677
dff28924 56781989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5679
5680 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
5681 multiple tags per line.
5682
dff28924 56831989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5684
5685 * movemail.c: Check access before doing real work.
5686 Check that outfile is in a writable directory.
5687 On fatal error, delete the lock file.
5688
dff28924 56891988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
362bc2da
DL
5690
5691 * env.c: Add decl for my-index
5692 * etags.c (file-entries): .oak => scheme
5693
dff28924 56941988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5695
5696 * movemail.c: Use `access' to check input and output files.
5697
dff28924 56981988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5699
5700 * emacsclient.c (main): Ignore all of CWD before first slash.
5701
dff28924 57021988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5703
5704 * etags.c (readline): Double linebuffer->size outside the xrealloc.
5705
dff28924 57061988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5707
5708 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
5709 * server.c: chmod the socket to 0700.
5710
dff28924 57111988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5712
5713 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
5714 (add_field): Delete comments and turn `<', `>' to spaces
5715 in header lines.
5716 (USE_FAKEMAIL): New customization macro says to make fakemail
5717 not be a no-op even on a BSD system.
5718
dff28924 57191988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5720
5721 * etags.c (consider_token): Skip comments just like whitespace.
5722 Notice `struct', etc. and set strtag for those tokens.
5723 Return 1 for the token following `struct' if an open-brace follows it.
5724 (C_entries): Special handling of token following `struct'
5725 needed because we have probably advanced to the following line
5726 to find the `{'.
5727 (main): New option `T' sets tflag and strflag.
5728 Set both of them by default if eflags.
5729
dff28924 57301988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5731
5732 * movemail.c: Do fsync before closing output.
5733
dff28924 57341988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
362bc2da
DL
5735
5736 * movemail.c: Better error message when can't create tempname.
5737 This file needs a great deal of extra error-checking and lucid reporting...
5738
dff28924 57391988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5740
5741 * etags.c: Support assembler code for .s and .a files.
5742 (getit): Allow underscore in a tag.
5743
dff28924 57441988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5745
5746 * movemail.c: Close output and check errors before deleting input.
5747
dff28924 57481988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
5749
5750 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
5751 whether to prefix it. Handle line number args.
5752
dff28924 57531988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
362bc2da
DL
5754
5755 * etags.c (main): default setting of eflag was backwards.
5756
dff28924 57571988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5758
5759 * etags.c: New option -i. -f renamed -o.
5760 `-' as input file means read input file names from stdin.
5761 -i spec'd or input file named TAGS means the input file is another
5762 tag table; output an "include" line for it.
5763
dff28924 57641988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5765
5766 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
5767 New targets install, install.sysv, install.xenix.
5768 This makefile is now responsible for installing executables
5769 and documentation from this directory into system directories.
5770
dff28924 57711988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
362bc2da
DL
5772
5773 * server.c, emacsclient.c (main): Compute socket name from euid.
5774
dff28924 57751988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5776
5777 * emacsclient.c: Args like +DIGITS are passed through unchanged.
5778
dff28924 57791988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5780
5781 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
5782 * emacsclient.c: Likewise.
5783 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
5784
dff28924 57851988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5786
5787 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
5788 (istoken) New string-comparison macro.
5789 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
5790
dff28924 57911988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5792
5793 * etags.c: Changes for VMS.
5794 Always define ETAGS on VMS.
5795 Define macros GOOD and BAD for success and failure exit codes.
5796 (begtk, intk): Allow `$' in identifiers
5797 (main): Don't support -B, -F or -u on VMS.
5798 Alternate loop for scanning filename arguments.
5799 (system): Delete definition of this function.
5800
5801 * etags-vmslib.c (system): Undefine this; VMS now provides it.
5802
dff28924 58031988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5804
5805 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
5806 around include of param.h. (Like fns.c.)
5807
dff28924 58081988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
5809
5810 * loadst.c (load_average): Move load-average code to this new fn.
5811 Add conditionals to compute load ave on UMAX.
5812
dff28924 58131988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
5814
5815 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
5816 with opposite sense.
5817
dff28924 58181988-05-13 Chris Hanson (cph@kleph)
362bc2da
DL
5819
5820 * emacsclient.c: Delete references to unused variable `out'. This
5821 caused a bus error when used under hp-ux.
5822
dff28924 58231988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
5824
5825 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
5826
dff28924 58271988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
362bc2da
DL
5828
5829 * etags.c (find_entries): `.t' or `.sch' means scheme code.
5830
dff28924 58311988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
5832
5833 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
5834
dff28924 58351988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
5836
5837 * movemail.c: #undef close, since config can #define it on V.3.
5838 * emacsclient.c, fakemail.c, loadst.c, server.c: likewise.
5839
dff28924 58401988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
5841
5842 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
5843 invalid escape sequences such as `\{'.
5844
5845 * loadst.c: Add `sequent' conditional for file dk.h.
5846
dff28924 58471988-03-20 Richard M. Stallman (rms@wilson)
362bc2da
DL
5848
5849 * server.c [not BSD and not HAVE_SYSVIPC]: fix error message.
5850
5851 * loadst.c (main) [XENIX]: use /usr/spool/mail, not /usr/mail.
6922b018
KH
5852
5853;; Local Variables:
d19249e7 5854;; coding: iso-2022-7bit
6922b018 5855;; End:
2a34a036 5856
9766d41b 5857 Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
273dc16a
TTN
5858 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005,
5859 2006 Free Software Foundation, Inc.
2a34a036
GM
5860 Copying and distribution of this file, with or without modification,
5861 are permitted provided the copyright notice and this notice are preserved.
ab5796a9
MB
5862
5863;;; arch-tag: 2d979296-954c-448e-95c1-b46d134513dc