* callproc.c (relocate_fd): Use F_DUPFD if defined.
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
994a7c3b
EZ
12010-07-11 Eli Zaretskii <eliz@gnu.org>
2
3 * makefile.w32-in (obj): Add menu.o, bidi.o, w32uniscrobe.o,
4 and unexw32.o. (Bug#6603)
5
c971758d
EZ
62010-07-10 Eli Zaretskii <eliz@gnu.org>
7
8 * Makefile.in ($(DESTDIR)${archlibdir}): Convert spaces to TABs.
9
91a7f76d
AS
102010-07-09 Andreas Schwab <schwab@linux-m68k.org>
11
12 * make-docfile.c (write_c_args): Restructure scanning loop.
13
0508c67f
DN
142010-07-09 Dan Nicolaescu <dann@ics.uci.edu>
15
16 * make-docfile.c (write_c_args): Deal with type names in DEFUN
17 arguments.
18
0216627e
DN
192010-07-08 Dan Nicolaescu <dann@ics.uci.edu>
20
21 * update-game-score.c (P_): Remove macro.
22 * ebrowse.c: Remove include guards.
23 (P_): Remove macro.
24
72af86bd
AS
252010-07-07 Andreas Schwab <schwab@linux-m68k.org>
26
27 * ebrowse.c (add_sym, make_namespace): Replace bcopy, bzero by
28 memcpy, memmove, memset.
29 * pop.c (pop_retrieve, socket_connection, pop_getline): Likewise.
30
e2ad23ef
AS
312010-07-06 Andreas Schwab <schwab@linux-m68k.org>
32
33 * movemail.c: Add MAIL_USE_POP around prototypes.
1725ae55
AS
34 Include <string.h> if HAVE_STRING_H.
35 (strerror): Only declare if !HAVE_STRERROR.
36 (fatal): Make static.
37 (error): Likewise.
38 (pfatal_with_name): Likewise.
39 (pfatal_and_delete). Likewise.
40 (concat): Likewise.
41 (xmalloc): Likewise.
42 (popmail): Likewise.
43 (pop_retr): Likewise.
44 (mbx_write): Likewise.
45 (mbx_delimit_begin): Likewise.
46 (mbx_delimit_end): Likewise.
e2ad23ef 47
b8463cbf
DN
482010-07-04 Dan Nicolaescu <dann@ics.uci.edu>
49
50 * fakemail.c (action): Convert function definitions to standard C.
51 (add_a_stream):
52 * test-distrib.c (cool_read):
53 (main): Likewise.
54
a52a00a3
AS
552010-07-03 Andreas Schwab <schwab@linux-m68k.org>
56
57 * sorted-doc.c (cmpdoc): Fix signature.
58 (qsort_compare): Delete.
59 (main): Remove cast.
60
35d99b72
JB
612010-07-03 Juanma Barranquero <lekktu@gmail.com>
62
63 * ebrowse.c (match_qualified_namespace_alias): Check for null pointer.
64
3a35a84c
JB
652010-07-03 Juanma Barranquero <lekktu@gmail.com>
66
67 Fix prototype warnings.
68
69 * ebrowse.c (match_qualified_namespace_alias):
70 Pass sym* to find_namespace, not link*.
71
72 * emacsclient.c (send_to_emacs, quote_argument): Arg s is HSOCKET.
73
74 * sorted-doc.c (qsort_compare): New typedef.
75 (main): Use it to cast cmpdoc.
76
873fbd0b
DN
772010-07-03 Dan Nicolaescu <dann@ics.uci.edu>
78
79 * update-game-score.c: Convert function definitions to standard C.
80 * sorted-doc.c:
81 * profile.c:
82 * pop.c:
83 * movemail.c:
84 * make-docfile.c:
85 * hexl.c:
86 * fakemail.c:
87 * etags.c:
88 * ebrowse.c:
89 * digest-doc.c:
90 * b2m.c: Likewise.
91
c532d349
DN
922010-07-02 Dan Nicolaescu <dann@ics.uci.edu>
93
94 * make-docfile.c (xmalloc, xrealloc, concat, readline, fatal):
95 * b2m.c (scan_file, scan_lisp_file, scan_c_file): Convert to
96 standard C prototypes.
97
f57e2426
J
982010-07-02 Jan Djärv <jan.h.d@swipnet.se>
99
100 * ebrowse.c: Remove P_ and __P.
101 * etags.c:
102 * movemail.c:
103 * pop.c:
104 * update-game-score.c: Likewise.
105
3b3807f8
JB
1062010-06-24 Juanma Barranquero <lekktu@gmail.com>
107
108 * movemail.c (error): Avoid warning when there are no args.
109
5fee75d4
JB
1102010-06-11 Juanma Barranquero <lekktu@gmail.com>
111
112 * makefile.w32-in (lisp2): Fix references to vc/vc-hooks.elc
113 and vc/ediff-hook.elc.
114
3085237c
DN
1152010-06-06 Dan Nicolaescu <dann@ics.uci.edu>
116
117 * ntlib.h: Remove code dealing with BSTRING.
118
0191e222
CY
1192010-05-29 Chong Yidong <cyd@stupidchicken.com>
120
121 * emacsclient.c (longopts, decode_options, print_help_and_exit):
122 New arg `-parent-id'.
123 (main): Send parent-id to Emacs.
124
81ac4f35
GM
1252010-05-27 Glenn Morris <rgm@gnu.org>
126
127 * Makefile.in (distclean): No more Makefile.c.
128
4e3028f8
JD
1292010-05-22 Jan Djärv <jan.h.d@swipnet.se>
130
131 * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPS): New (Bug #6246).
132 (all): Depend onSTAMP_INST_SCRIPTS, STAMP_SCRIPS (Bug #6246).
133 (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
134 New rules (Bug #6246).
135 (clean): Remove stamp-* (Bug #6246).
136
44b031a6
GM
1372010-05-12 Glenn Morris <rgm@gnu.org>
138
139 * Makefile.in (INSTALLABLES): Remove @LIB_SRC_EXTRA_INSTALLABLES@.
140
acddf8ae
GM
1412010-05-11 Glenn Morris <rgm@gnu.org>
142
c88b05a9
GM
143 * Makefile.in (.m.o): Remove, there are no .m files.
144 (BASE_CFLAGS): New variable.
145 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use $BASE_CFLAGS.
146 (check): Update the message.
147 (update-game-score${EXEEXT}): Do not use $MOVE_FLAGS.
148
d3b23034
GM
149 * Makefile.in: Convert comments to makefile format.
150
acddf8ae
GM
151 * Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset.
152 (config.h) [MSDOS]: Do not include.
153
7490175b
GM
1542010-05-10 Glenn Morris <rgm@gnu.org>
155
97efb629
GM
156 * Makefile.in (LIBS_SYSTEM): Set with configure, not cpp.
157 (LIBS_SYSTEM) [MSDOS]: Reset with MSDOS_LIBS_SYSTEM.
158 (NOT_C_CODE): Remove, no longer used.
159 (config.h) [!MSDOS]: No longer include.
160 (LOADLIBES): Use LIBS_SYSTEM as a variable.
161
7490175b
GM
162 * Makefile.in (BLESSMAIL_TARGET): Set with configure, not cpp.
163
7b42b29f
GM
1642010-05-08 Glenn Morris <rgm@gnu.org>
165
166 * Makefile.in (THIS_IS_MAKEFILE): Remove, unused.
167
61a808e8
CY
1682010-05-07 Chong Yidong <cyd@stupidchicken.com>
169
170 * Version 23.2 released.
171
f6c0ee20
GM
1722010-05-06 Glenn Morris <rgm@gnu.org>
173
174 * Makefile.in: Minimize blessmail-related cpp usage.
175 (BLESSMAIL_TARGET): New variable.
176 (MOVEMAIL_NEEDS_BLESSING): Remove, replace by above variable.
177 (blessmail): Always define this rule.
178 (need-blessmail): New rule, split out from maybe-blessmail.
179 (maybe-blessmail): Use BLESSMAIL_TARGET.
180
49628785
GM
1812010-05-04 Glenn Morris <rgm@gnu.org>
182
183 * Makefile.in: Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ rather than
184 @c_switch_system@, @c_switch_machine@.
185
7e10844c
DN
1862010-04-26 Dan Nicolaescu <dann@ics.uci.edu>
187
188 * Makefile.in (LIBS_MACHINE): Remove all uses, unused.
189
4794a582
DN
1902010-04-12 Dan Nicolaescu <dann@ics.uci.edu>
191
192 * Makefile.in (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Move to the
193 non-cpp section.
194
76bd8202
DN
1952010-04-11 Dan Nicolaescu <dann@ics.uci.edu>
196
197 * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE): Define using
198 autoconf, not cpp.
199 (ALL_CFLAGS): Use them as make variables.
200
42d3cab7
C
2012010-04-07 Christoph <cschol2112@googlemail.com> (tiny change)
202
203 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Use parenthesis
204 for macros for nmake compatibility.
205
b372fceb
JB
2062010-04-03 Juanma Barranquero <lekktu@gmail.com>
207
208 Add stubs for Windows, required after CVE-2010-0825 change.
209 * ntlib.c (getgid, getegid, setegid): New stubs.
210 * ntlib.h (getgid, getegid, setegid): Declare them.
211
51a91f9d
CY
2122010-04-02 Dan Rosenberg <dan.j.rosenberg@gmail.com> (tiny change)
213
214 * movemail.c (main): Check return values of setuid. Avoid
215 possibility of symlink attack when movemail is setgid mail
216 (CVE-2010-0825).
217
42a2c622
DN
2182010-04-02 Dan Nicolaescu <dann@ics.uci.edu>
219
220 Remove extern errno declarations.
221 * movemail.c:
222 * etags.c:
223 * emacsclient.c: Remove extern errno declarations.
224
5e58e3a4
GM
2252010-03-20 Glenn Morris <rgm@gnu.org>
226
227 * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
228 (LIBHESIOD, LIBRESOLV): Make previous change a bit more friendly by
229 defining these as Makefile variables.
230 (LIBS_MOVE): Add LIBS_MAIL into this.
231 (movemail${EXEEXT}): Just use LIBS_MOVE, not LIBS_MAIL as well.
232
aded53ff
GM
2332010-03-18 Glenn Morris <rgm@gnu.org>
234
235 * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
236 (HESIODLIB, LIBS_MAIL): Set using autoconf rather than cpp.
237 (BASE_CFLAGS): Remove (identical to CPP_CFLAGS).
238
f8388570
TO
2392010-03-18 Tetsurou Okazaki <okazaki@be.to> (tiny change)
240
241 * Makefile.in (uninstall): Handle the case where archlibdir does not
242 exist. (Bug#5720)
243
288f9fc0
CY
2442010-03-10 Chong Yidong <cyd@stupidchicken.com>
245
246 * Branch for 23.2.
247
f9b84f9f
CY
2482010-02-20 Kevin Ryde <user42@zip.com.au>
249
250 * etags.c (Scheme_functions): Don't loop past a null character
251 (Bug#5601).
252
c14902e0 2532010-01-29 Kester Habermann <kester@linuxtag.org> (tiny change)
9d77a91f
CY
254
255 * etags.c (Fortran_functions): Handle recursive keyword
256 (Bug#5484).
257
6589a2f9
GM
2582010-01-11 Glenn Morris <rgm@gnu.org>
259
260 * ebrowse.c (version):
261 * etags.c (print_version):
262 * rcs2log (Copyright): Set copyright year to 2010.
263
03dcfe01
CY
2642009-12-09 David Robinow <drobinow@gmail.com> (tiny change)
265
266 * makefile.w32-in: Use parenthesis for macros for nmake
267 compatibility.
268
5ce6e4f4 2692009-11-23 Tobias Ringström <tobias@ringis.se> (tiny change)
46f3381a 270
f7e0618c 271 * etags.c (absolute_filename): Use memmove if we have it for
46f3381a
JD
272 overlapping copy.
273
f6195dfb
DN
2742009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
275
276 * make-docfile.c (scan_lisp_file): Also look for `defvaralias'.
277
b53f6df2
JB
2782009-10-15 Juanma Barranquero <lekktu@gmail.com>
279
280 * .gitignore: Add echolisp.tmp.
281
9fc3db2b
GM
2822009-10-15 Glenn Morris <rgm@gnu.org>
283
5f54cae6
GM
284 * emacsclient.c (print_help_and_exit): Fix bug report instructions.
285
9fc3db2b
GM
286 * makefile.w32-in (echolisp): New rule.
287 (clean): Delete echolisp.tmp.
288
614bd9cf
EZ
2892009-09-27 Eli Zaretskii <eliz@gnu.org>
290
291 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Add term/internal.elc,
292 term/pc-win.elc, emacs-lisp/easymenu.elc, and term/ns-win.elc, to
293 be consistent with src/Makefile.in.
294
24e9e996
SM
2952009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
296
297 * update-game-score.c (main): Sort scores before trimming them,
298 reported by Jason Feng <jfeng@ozbert.com> (bug#4397).
299
c5a139ca
GM
3002009-09-09 Glenn Morris <rgm@gnu.org>
301
302 * Makefile.in ($(DESTDIR)${archlibdir}): Set umask to world-readable
303 before creating directories and game score files.
304
a8a8ec61
GM
3052009-08-19 Glenn Morris <rgm@gnu.org>
306
0916a29e 307 * cvtmail.c: Remove file.
a8a8ec61
GM
308 * Makefile.in (UTILITIES): Remove cvtmail.
309 (cvtmail${EXEEXT}): Remove.
310
678bc1f5
CY
3112009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
312
313 * b2m.c (main): Ensure that each message ends in two newlines.
314
0a3472c7
JR
3152009-07-03 Jason Rumney <jasonr@gnu.org>
316
317 * emacsclient.c (w32_set_user_model_id): Use standard types.
318
f2d6b714
EZ
3192009-07-03 Eli Zaretskii <eliz@gnu.org>
320
321 * makefile.w32-in (WINNT_SUPPORT): Add common-win.elc, like
322 src/Makefile.in did.
323
ff90fbde
JR
3242009-06-30 Jason Rumney <jasonr@gnu.org>
325
326 * emacsclient.c (w32_give_focus): Use GetModuleHandle for library
327 that is already loaded.
328 (w32_set_user_model_id): New function.
329 (main): Use it to associate emacsclient with emacs (bug#1849).
330
e0f59195
JM
3312009-06-29 Jim Meyering <meyering@redhat.com>
332
333 Remove useless if-before-free test.
334 * make-docfile.c (scan_lisp_file): Remove useless test.
335
f5f20f6c
DN
3362009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
337
338 * Makefile.in (movemail.o): Don't pass -Demacs, unused.
339
70243478
CY
3402009-06-21 Chong Yidong <cyd@stupidchicken.com>
341
342 * Branch for 23.1.
343
fa44da6e
AR
3442006-06-09 Adrian Robert <Adrian.B.Robert@gmail.com>
345
346 * mac-fix-env.m:
347 * Makefile.in (mac-fix-env): Remove.
348
a7f2b0b1
AR
3492006-06-06 David Reitter <david.reitter@gmail.com>
350
351 * Makefile.in (mac-fix-env): Compile it using ALL_CFLAGS.
352
9dfda22f
JB
3532009-04-20 Juanma Barranquero <lekktu@gmail.com>
354
355 * emacsclient.c (print_help_and_exit): Fix typo and tabify (careful
356 spacing is required in the message output, as the comment suggests).
357
24d5010d
CY
3582009-04-20 Chong Yidong <cyd@stupidchicken.com>
359
360 * emacsclient.c (print_help_and_exit): Clarify argument placement
361 for short option names.
362
6133a1a9
DN
3632009-04-02 Dan Nicolaescu <dann@ics.uci.edu>
364
365 * emacsclient.c (print_help_and_exit): Fix typo.
366
22749e9a
EZ
3672009-03-21 Eli Zaretskii <eliz@gnu.org>
368
369 * ntlib.c (setuid): Argument is now unsigned.
370 (getuid): Return value is now unsigned.
371 (getpwuid): Argument is now unsigned.
372 (fchown): UID and GID arguments are now unsigned.
373
374 * ntlib.h (fchown): UID and GID arguments are now unsigned.
375 (getuid): Return value is now unsigned.
376 (setuid): Argument is now unsigned.
377 (getpwuid): Remove prototype (it's declared in nt/inc/pwd.h).
378
b57ac69d 3792009-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
6cde1b21
JB
380
381 * emacsclient.c (main): Revert part of last change, so
382 drive-relative file names again work on Windows.
383
ba528748
SM
3842009-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
385
386 * emacsclient.c (main): Always pass cwd via "-dir". Pass the file
387 names without prepending cwd to them, so Emacs uses its customary
388 rules to determine how to interpret the file name.
389
f213f2c0
GM
3902009-03-04 Glenn Morris <rgm@gnu.org>
391
392 * movemail.c (main) [MAIL_USE_POP]: Add -r to usage message.
393
8ee7d7be
CY
3942009-02-13 Sven Joachim <svenjoac@gmx.de>
395
396 * movemail.c: Include time.h unconditionally.
397 (main): Use time_t for time variables.
398
d228a23c
GM
3992009-02-11 Glenn Morris <rgm@gnu.org>
400
401 * movemail.c (mbx_delimit_begin): Also write the current time.
402
3f32be22
GM
4032009-02-10 Glenn Morris <rgm@gnu.org>
404
405 * movemail.c (mbx_delimit_begin, mbx_delimit_end): Write mbox rather
406 than Babyl format. (Bug#2196)
407
e7534fc4
AR
4082009-01-23 Adrian Robert <Adrian.B.Robert@gmail.com>
409
410 * emacsclient.c (decode_options): Use a dummy display name under
411 NS/Cocoa.
412
9eb67dd9
CY
4132009-01-14 Lars Rasmusson <lars.rasmusson@gmail.com> (tiny change)
414
415 * ebrowse.c (matching_regexp): Fix OB1 error.
416
b433a991
GM
4172009-01-05 Glenn Morris <rgm@gnu.org>
418
419 * ebrowse.c (version):
420 * etags.c (print_version):
421 * rcs2log (Copyright): Update copyright for 2009.
422
81f82586
CY
4232009-01-01 Chong Yidong <cyd@stupidchicken.com>
424
425 * movemail.c (main): Fatal if hard links cannot be created.
426
fd95644b
DN
4272008-12-18 Dan Nicolaescu <dann@ics.uci.edu>
428
429 * emacsclient.c (start_daemon_and_retry_set_socket): Improve error
430 checking.
431
67c1df01
DN
4322008-12-14 Dan Nicolaescu <dann@ics.uci.edu>
433
434 * emacsclient.c: Include syswait.h instead of sys/types.h.
435
f0131492 4362008-12-11 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change)
5445ab06 437
d4835507
JB
438 * emacsclient.c (WCONTINUED): New compatibility define
439 for older systems.
5445ab06 440
d50299d5
DN
4412008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
442
443 * emacsclient.c (main): Fix previous change.
444
52016647
JB
4452008-12-10 Juanma Barranquero <lekktu@gmail.com>
446
447 * emacsclient.c (main): Fix mindless breakage where emacsclient
448 does not work *at all* on Windows, even if it *can* connect.
449
802bdb3c
DN
4502008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
451
452 * emacsclient.c (EMACS_DAEMON): Remove definition.
453 (decode_options): Do not allow an empty alternate_editor on
454 WINDOWSNT.
455 (print_help_and_exit): Replace EMACS_DAEMON with WINDOWSNT.
456 (start_daemon_and_retry_set_socket): Likewise.
45ce4570 457 (main): Fail in case of not being able to connect.
802bdb3c 458
c3f995a2
JB
4592008-12-10 Juanma Barranquero <lekktu@gmail.com>
460
461 * emacsclient.c [!WINDOWSNT] (EMACS_DAEMON): New define.
462 Changes when EMACS_DAEMON is not defined:
463 (print_help_and_exit): Don't add daemon information to help.
464 (start_daemon_and_retry_set_socket): Make a no-op.
465 (main): Don't set `start_daemon_if_needed' (which is initialized to 0).
466
636b507b
DN
4672008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
468
469 * emacsclient.c (print_help_and_exit): Describe what an empty
470 string argument does for --alternate-editor.
471 (set_socket): Make it possible to not exit in case of an error.
472 (start_daemon_and_retry_set_socket): New function.
473 (main): Use it. Restore the NULL value for socket_name and
474 server_file after the set_socket call.
475
448d4085
DN
4762008-12-03 Dan Nicolaescu <dann@ics.uci.edu>
477
7b641241 478 * emacsclient.c: Include <arpa/inet.h>.
448d4085 479
938ebc4f
DN
4802008-12-01 Dan Nicolaescu <dann@ics.uci.edu>
481
482 * make-docfile.c (scan_lisp_file): Use xmalloc instead of malloc.
483
3d864325
GM
4842008-11-22 Derek Peschel <dpeschel@eskimo.com> (tiny change)
485
486 * etags.c (add_regex): Pass correct length to re_compile_pattern.
487
48c2dc68
CY
4882008-11-02 Chong Yidong <cyd@stupidchicken.com>
489
490 * emacsclient.c (window_system): Delete redundant variable.
491 (decode_options): Don't use it.
492 (find_tty): New function.
493 (main): Use find_tty, and don't use window_system.
494
d41784ee
EZ
4952008-11-01 Eli Zaretskii <eliz@gnu.org>
496
497 * emacsclient.c (main) [WINDOWSNT]: Don't ifdef away the call to
498 `ttyname'.
499 (w32_getenv): Treat $TERM specially: if not found in the
500 environment and in the Registry, return "w32console".
501 (ttyname) [WINDOWSNT]: New function.
502
322ca650
AS
5032008-10-31 Andreas Schwab <schwab@suse.de>
504
505 * emacsclient.c (main): Don't force sending tty when in eval mode.
506
8a8a7cd3
CY
5072008-10-30 Chong Yidong <cyd@stupidchicken.com>
508
509 * emacsclient.c (main): If using the current frame, send tty
510 information to Emacs in case daemon mode needs to occupy this tty.
511
f8baa639
JB
5122008-10-29 Juanma Barranquero <lekktu@gmail.com>
513
bc558f3e
JB
514 * emacsclient.c (EXTRA_SPACE): New macro.
515 (get_server_config, set_local_socket): Use it.
516
f8baa639
JB
517 * makefile.w32-in ($(BLD)/sorted-doc.$(O)): Remove spurious backslash.
518 Reported by Guillaume Conjat <gconjat.ext@orange-ftgroup.com>.
519
f77b11a0
JB
5202008-10-29 Ulrich Mueller <ulm@gentoo.org>
521
522 * emacsclient.c (set_local_socket): Use TMPDIR (default /tmp)
523 instead of hardcoded /tmp.
524
dc1cd5f7
DN
5252008-10-13 Dan Nicolaescu <dann@ics.uci.edu>
526
527 * emacsclient.c (longopts, print_help_and_exit): Add -nw.
528 (decode_options): Use getopt_long_only.
529
7a09249b
EZ
5302008-09-30 Eli Zaretskii <eliz@gnu.org>
531
532 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove ccl.elc and
533 codepage.elc.
534
997ec957
CY
5352008-09-19 Dan Nicolaescu <dann@ics.uci.edu>
536
537 * emacsclient.c (main): Use stdout rather than stdin to obtain the
538 terminal (bug#427).
539
0d80bf29
FP
5402008-08-25 Francesco Potortì <pot@gnu.org>
541
542 * etags.c (main): Do not use static space for the tagfile string.
543
34a23e94
FP
5442008-08-17 Francesco Potortì <pot@gnu.org>
545
546 * etags.c (main): Use canonicalize_filename on tags file name.
547 (relative_filename): Revert 3.85: do not collapse slashes here.
548 (absolute_dirname): Remove useless call to canonicalize_filename.
549 (canonicalize_filename): Collapse multiple slashes here.
550
48fad8e8
DN
5512008-08-07 Dan Nicolaescu <dann@ics.uci.edu>
552
10d1d0af
JB
553 * Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES.
554 Do not special case for NS_IMPL_COCOA.
48fad8e8 555
6088b51f 5562008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com>
f4494e84
AR
557
558 * Makefile.in (CFLAGS): Drop -universal under NS_IMPL_COCOA.
559 (.m.o): Dispense with GNUstep-specific flags.
560
39b8bb9b
CY
5612008-08-05 Ulrich Mueller <ulm@gentoo.org>
562
563 * pop.c (socket_connection): Add conditionals for
564 HAVE_KRB5_ERROR_TEXT and HAVE_KRB5_ERROR_E_TEXT to support
565 compilation with MIT Kerberos and Heimdal, respectively.
566
7c2fb837
DN
5672008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
568
569 * etags.c:
570 * emacsclient.c: Remove VMS support.
571
9e2a2647
DN
5722008-07-27 Dan Nicolaescu <dann@ics.uci.edu>
573
574 Remove support for Mac Carbon.
575 * makefile.w32-in:
576 * emacsclient.c: Remove code for Carbon.
577
7f619bab
DN
5782008-07-21 Dan Nicolaescu <dann@ics.uci.edu>
579
580 * Makefile.in (mac-fix-env): Remove #ifdef around rule.
581
32cc3925
AS
5822008-07-17 Andreas Schwab <schwab@suse.de>
583
584 * Makefile.in (INSTALL_SCRIPT): Remove duplicate definition.
585 (LIB_STANDARD_LIBSRC): Don't define.
586 (LOADLIBES): Remove LIB_STANDARD_LIBSRC.
587
ba60bd44 5882008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
122e9f8f
AR
589
590 * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to
591 NS_IMPL_COCOA.
592
50863f58
DN
5932008-07-16 Dan Nicolaescu <dann@ics.uci.edu>
594
ba60bd44
JB
595 * ntlib.h (fcloseall, fgetchar, flushall, fputchar, putw):
596 Remove, unused.
50863f58 597
ba60bd44 5982008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com>
edfda783
AR
599
600 * .cvsignore: Add mac-fix-env.
601 * mac-fix-env.m: New file, automatically update
602 ~/.MacOSX/environment.plist on OS X systems to expose environment
603 variables inside Emacs started from icon.
604 * Makefile.in: Add -universal to CFLAGS on OS X, add mac-fix-env to
605 programs to build.
606 * make-docfile.c: Add .m to list of file extensions.
607
bba104c1
DN
6082008-07-12 Dan Nicolaescu <dann@ics.uci.edu>
609
610 * movemail.c (main): Use int instead of WAITTYPE.
611
da007124
JB
6122008-07-05 Juanma Barranquero <lekktu@gmail.com>
613
614 * makefile.w32-in (OTHER_PLATFORM_SUPPORT):
615 Remove vmsproc.el and vms-patch.el.
616
c9fc02c7
JB
6172008-06-26 Juanma Barranquero <lekktu@gmail.com>
618
619 * makefile.w32-in (obj): Remove w32bdf.o.
620
f2a77c3a
DN
6212008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
622
623 * fakemail.c: Remove references to obsolete variables.
624
c2cd06e6
JM
6252008-06-02 Jim Meyering <meyering@redhat.com>
626
e914c409 627 * ebrowse.c (xfree): Remove definition; s/xfree/free/.
5c19cd0b 628
e914c409 629 Remove useless if-before-free tests.
70fdbb46
JM
630 * ebrowse.c (xfree): Likewise.
631 * etags.c (process_file_name, free_tree, free_fdesc): Likewise.
c2cd06e6 632 (popclass_above, Prolog_functions, Erlang_functions): Likewise.
70fdbb46 633 * pop.c (pop_quit): Likewise.
c2cd06e6 634
01b996ad
JB
6352008-05-30 Juanma Barranquero <lekktu@gmail.com>
636
637 * makefile.w32-in (lisp2): Add minibuffer.elc.
638
2926947a
SM
6392008-05-29 Tom Tromey <tromey@redhat.com>
640
641 * etags.c (relative_filename): Treat "///" like "/" in filenames.
642
10fea9c4
EZ
6432008-05-09 Eli Zaretskii <eliz@gnu.org>
644
645 * ntlib.c: Include sys/types.h, sys/stat.h, and errno.h.
646 (IS_DIRECTORY_SEP): New macro.
647 (convert_time, is_exec, stat): New functions.
648
86914123
EZ
6492008-05-08 Eli Zaretskii <eliz@gnu.org>
650
651 * makefile.w32-in (lisp2): Rename epa-file-hook.elc to epa-hook.elc.
652
58bb7d50
EZ
6532008-05-03 Eli Zaretskii <eliz@gnu.org>
654
655 * makefile.w32-in (lisp2): Add epa-file-hook.elc, to track the
656 corresponding change in src/Makefile.in.
657
63b9b605
GM
6582008-04-24 Adam Gołębiowski <adamg@pld-linux.org> (tiny change)
659
660 * Makefile.in (etags${EXEEXT}, ctags${EXEEXT}): Fix quote typo.
661
4429f88c
JR
6622008-04-10 Jason Rumney <jasonr@gnu.org>
663
664 * makefile.w32-in (CLIENTRES): New variable and target.
665 (TRES): Remove.
666 ($(BLD)/emacsclientw.exe): Use $(CLIENTRES) instead of $(TRES).
667
14b11401
SM
6682008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
669
670 * vcdiff: Use "sccs get" rather than "get"; leave PATH alone.
671
95de358c
RF
6722008-04-18 Steve Grubb <sgrubb@redhat.com> (tiny change)
673
674 * vcdiff: Use mktemp (CVE-2008-1694).
675
6948400c
JR
6762008-04-09 Jason Rumney <jasonr@gnu.org>
677
678 * makefile.w32-in (distclean, maintainer-clean): New targets.
679
afd27920
GM
6802008-03-13 Glenn Morris <rgm@gnu.org>
681
682 * makefile.w32-in (VERSION): Set to 23.0.60.
683
3d193d0f
JB
6842008-03-04 Juanma Barranquero <lekktu@gmail.com>
685
686 * .cvsignore: Add oo.
687
1797886f
SM
6882008-02-27 Yuri Shtil <yuris@juniper.net> (tiny change)
689
690 * etags.c (Perl_functions): Fix call to skip_spaces.
691
9d2818d6
DN
6922008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
693
694 * Makefile.in (NO_SHORTNAMES):
695 * emacsclient.c (NO_SHORTNAMES):
696 * fakemail.c (NO_SHORTNAMES):
697 * make-docfile.c (NO_SHORTNAMES):
698 * movemail.c (NO_SHORTNAMES):
699 * pop.c (NO_SHORTNAMES): Remove references to obsolete variable.
700
79d48c1a
JR
7012008-02-23 Jason Rumney <jasonr@gnu.org>
702
703 * makefile.w32-in (MOUSE_SUPPORT): Remove duplicate tooltip.elc.
704 (MSDOS_SUPPORT, VMS_SUPPORT): Remove.
290afd83 705 (OTHER_PLATFORM_SUPPORT): Replace above. Add X specific files too.
79d48c1a
JR
706 (lisp2): Add new languages.
707 ($(DOC)): Use OTHER_PLATFORM_SUPPORT.
708
9c61c734
JB
7092008-02-22 Juanma Barranquero <lekktu@gmail.com>
710
711 * makefile.w32-in (lisp2): Remove devanagari.el, kannada.el,
712 malayalam.el, and tamil.el. Add sinhala.el.
713
50f271cb
JB
7142008-02-20 Juanma Barranquero <lekktu@gmail.com>
715
716 * emacsclient.c (main) [WINDOWSNT]: Understand DRIVE:NAME,
717 where NAME is relative to DRIVE'S current directory.
718
d07529f3
JB
7192008-02-15 Juanma Barranquero <lekktu@gmail.com>
720
721 * emacsclient.c (print_help_and_exit): Show -d option on Windows.
722
45c1955d
DN
7232008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
724
725 * fakemail.c: Undo previous change.
726
deeaffe1
DN
7272008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
728
4624371d
DN
729 * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
730 (main): Replace MAIL_PROGRAM_NAME with its value.
731
d07529f3 732 * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete variable.
deeaffe1 733
9997dc15
SM
7342008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
735
736 * emacsclient.c (decode_options): Pass --display implicitly if -c
737 is specified. Only set tty if -t or -c is specified.
738
0c55bf82
JR
7392008-02-04 Jason Rumney <jasonr@gnu.org>
740
741 * makefile.w32-in (lisp1): Use (), not {}.
742
31cdf671
CY
7432008-02-04 Tom Tromey <tromey@redhat.com>
744
d07529f3
JB
745 * etags.c: Add "GTY" as synonym for __attribute__.
746 Update gperf output.
31cdf671 747
9303f985 7482008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2
MB
749
750 * makefile.w32-in (obj): Sync with src/Makefile.in
751 (TOOLTIP_SUPPORT, WINDOW_SUPPORT): New definitions.
752 (WINNT_SUPPORT): Add term/w32-win.elc.
753 (lisp1, lisp2): Sync with lisp in src/Makefile.in.
754
9303f985 7552008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2 756
d07529f3 757 * makefile.w32-in (obj): Add font.o and w32font.o.
aca7a3d2 758
d07529f3 7592008-02-01 Zhang Wei <id.brep@gmail.com> (tiny change)
aca7a3d2 760
290afd83 761 * makefile.w32-in (lisp1): Delete ucs-tables.elc,
aca7a3d2
MB
762 utf-8.elc, and latin-*.el.
763
0ea5797a
SM
7642008-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
765
bcc891c2 766 * emacsclient.c (decode_options): Default to NULL display, as Emacs-22.
0ea5797a
SM
767 Allow the -d option under w32 again, for those rare cases where it
768 actually does make sense.
769
5ab73228
JB
7702008-01-25 Juanma Barranquero <lekktu@gmail.com>
771
772 * emacsclient.c (set_tcp_socket): Don't send "\n" after
773 the authentication string; there's no need to haste.
774
702123a8
CY
7752008-01-22 Chong Yidong <cyd@stupidchicken.com>
776
777 * pop.c (pop_stat, pop_last): Fix last fix.
778
76ed5e01
DN
7792008-01-18 Dan Nicolaescu <dann@ics.uci.edu>
780
781 * movemail.c: Remove references to XENIX.
782
e39a993c
DN
7832008-01-13 Dan Nicolaescu <dann@ics.uci.edu>
784
785 * movemail.c:
786 * make-docfile.c: Remove reference to symbols defined by systems
787 not supported anymore: MAC_OS8, XENIX and STRIDE.
788
0ebec7d3
EZ
7892008-01-12 Eli Zaretskii <eliz@gnu.org>
790
791 * emacsclient.c (decode_options) [WINDOWSNT]: Don't use the value
792 of DISPLAY in the environment. Don't support -d.
793 (print_help_and_exit) [WINDOWSNT]: Don't show the --display option.
794 (longopts) [WINDOWSNT]: Remove --display.
795
6eae3ad4
CY
7962008-01-10 Chong Yidong <cyd@stupidchicken.com>
797
798 * pop.c (pop_stat, pop_last): Check validity of string-to-integer
799 conversion. Mistakes spotted by Nico Golde.
800
78da39c6
GM
8012008-01-09 Glenn Morris <rgm@gnu.org>
802
803 * emacsclient.c: Add missing final newlines to message calls.
804
34a14ec9 8052008-01-09 Daniel Hackney <dan@haxney.org> (tiny change)
78da39c6
GM
806
807 * emacsclient.c (set_socket): Add final newline to socket error message.
808
a408ea17
GM
8092008-01-04 Glenn Morris <rgm@gnu.org>
810
07655e62
JB
811 * ebrowse.c (version) <emacs_copyright>: New variable.
812 Just use current year for copyright.
a408ea17
GM
813
814 * etags.c (print_version):
815 * rcs2log (Copyright): Update to 2008.
816
0dc7a8bc
JR
8172007-11-28 Jason Rumney <jasonr@gnu.org>
818
819 * makefile.w32-in (VMS_SUPPORT): No longer byte-compiled.
820
880820fe 8212007-11-27 Jan Djärv <jan.h.d@swipnet.se>
7291159e
JD
822
823 * pop.c (socket_connection): Remove AI_ADDRCONFIG.
824
880820fe 8252007-11-19 Jan Djärv <jan.h.d@swipnet.se>
ee15f312
JD
826
827 * pop.c (socket_connection): Move realhost out of #ifdefs.
828 Set realhost both for HAVE_GETADDRINFO and !HAVE_GETADDRINFO.
829
880820fe 8302007-11-18 Jan Djärv <jan.h.d@swipnet.se>
33a2a872
JD
831
832 * pop.c (socket_connection): Use getaddrinfo if available.
833
880820fe 8342007-11-22 Francesco Potortì <pot@gnu.org>
63f018cd 835
65841dd8 836 * etags.c (default_C_help) [CTAGS]: Differentiate the help string,
63f018cd 837 as the defaults in ctags are different from etags.
63f018cd 838
880820fe 8392007-11-15 Francesco Potortì <pot@gnu.org>
21e14641
FP
840
841 * etags.c: Make prototypes for extern definitions, and add all
842 that are needed to quench warnings on 64-bit.
843 (main): Use the same defaults for ctags as for etags: find
844 typedefs, structure tags, macro constants, enum constants, struct
845 members and global variables.
846 (make_C_tag) [DEBUG]: Add debugging printout.
847 (C_entries): In case '}' decrement bracelev before testing it.
848
7455effc
FP
8492007-11-15 Masatake YAMATO <jet@gyve.org>
850
851 * etags.c (C_entries): In case '}', set fvdef to fvnone
852 unconditioned to (!ignoreindent && lp == newlb.buffer + 1).
853
04a697fe
DN
8542007-11-01 Dan Nicolaescu <dann@ics.uci.edu>
855
856 * makefile.w32-in (obj): Remove sunfns.o.
857
a2666217
JB
8582007-10-28 Juanma Barranquero <lekktu@gmail.com>
859
860 * makefile.w32-in (obj): Remove abbrev.o.
861
7ce8671d
JB
8622007-10-26 Juanma Barranquero <lekktu@gmail.com>
863
864 * emacsclient.c: Add a wrapper for getenv so it also checks the
865 registry on Windows. Suggestion and algorithm by Eli Zaretskii.
866 Code partially based on w32_get_resource and init_environment (w32.c).
867 (egetenv): New wrapper for getenv.
868 (get_current_dir_name, decode_options, get_server_config)
869 (set_local_socket, set_socket, main): Use egetenv, not getenv.
870 (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
871
d22b00e5
JR
8722007-10-25 Jason Rumney <jasonr@gnu.org>
873
874 * emacsclient.c (sock_err_message): New function.
875 (set_tcp_socket): Use it.
876
c4b858e3
JB
8772007-10-09 Juanma Barranquero <lekktu@gmail.com>
878
879 * emacsclient.c (print_help_and_exit): Fix space to improve
880 alignment in output messages.
881
dbf60b07
JR
8822007-09-27 Jason Rumney <jasonr@gnu.org>
883
884 * makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32.
885
886 * emacsclient.c (w32_window_app): Init common controls when windowed.
887
165e85b2
GM
8882007-09-21 Glenn Morris <rgm@gnu.org>
889
890 * emacstool.c: Remove file.
891 * Makefile.in (emacstool, nemacstool, xvetool, xveterm):
892 Delete targets built from emacstool.
893
c1b8e896
SM
8942007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
895
896 * emacsclient.c (decode_options): -t implies -c.
897
cb06b8dc
SM
8982007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
899
900 * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP)
901 (IS_ANY_SEP): Only define if !defined(HAVE_GET_CURRENT_DIR_NAME).
902 (main_argc): Remove.
903 (strprefix): Use strncmp.
904
c801ad51
JR
9052007-09-20 Jason Rumney <jasonr@gnu.org>
906
907 * emacsclient.c (main) [SIGSTOP]: Change conditional from WINDOWSNT.
908
31fa6595
SM
9092007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
910
911 * emacsclient.c (current_frame): Change the default.
912 (longopts): Replace --current-frame by --create-frame.
913 (decode_options): Reverse the meaning of -c.
914 (print_help_and_exit): Update help text accordingly.
915 (main): Remove the -version and -good-version messages.
916
58573230
GM
9172007-09-12 Glenn Morris <rgm@gnu.org>
918
919 * Makefile.in (SOURCES, unlock, relock): Delete.
920
bfd9ce71
GM
9212007-08-29 Glenn Morris <rgm@gnu.org>
922
923 * makefile.w32-in (VERSION): Increase to 23.0.50.
924
8d9cc0b7
MB
9252007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
926
927 * emacsclient.c (w32_execvp): Move definition before use.
928 (decode_options): Don't use a tty on mac carbon or windows.
929
9302007-08-29 Jason Rumney <jasonr@gnu.org>
931
31fa6595 932 * emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation macros.
8d9cc0b7
MB
933 (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp):
934 (main): Expand removed macros inline.
935 (main) [WINDOWSNT]: Don't call ttyname. Don't recognize -suspend
936 option.
937 (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals.
938
880820fe 9392007-08-29 Károly Lőrentey <lorentey@elte.hu>
8d9cc0b7
MB
940
941 * emacsclient.c (signal.h): New include.
942 (sys/stat.h, errno.h): Always include, even on WINDOWSNT.
31fa6595
SM
943 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP):
944 Copy definitions here from src/lisp.h.
945 (main_argc, main_argv, current_frame, window_system, tty): New vars.
8d9cc0b7
MB
946 (longopts): Add tty, current-frame.
947 (xmalloc, xstrdup): New functions.
948 (get_current_dir_name): New function, copied from src/sysdep.c.
949 (decode_options): Set display from environment. Add tty and
950 current_frame options. Make --no-wait imply --current-frame,
951 except when it is the only option given. Make sure no frame is
952 opened when --current-frame is set.
953 (print_help_and_exit): Document tty and current-frame options.
954 (fail): Change arguments to void.
955 (main): When sockets are not defined, set main_argc, main_argv,
956 and call fail() with no arguments.
957 (emacs_socket): New variable (moved out from main `s').
958 (quote_file_name): Rename to quote_argument.
959 (quote_argument): New name for old quote_file_name.
960 (unquote_argument, strprefix, pass_signal_to_emacs)
961 (handle_sigcont, handle_sigtstp, init_signals): New functions.
962 (set_local_socket): Initialize saved_errno to 0. If socket-name
963 is too long, call `fail' rather than `exit'.
964 (main): Doc update. Set main_argc, main_argv. New var `str'.
965 Don't need a filename or argument if tty or window_system set.
966 Call fail with no arguments. Use get_current_dir_name to send
967 over the current directory. Send version number to Emacs for
968 verification. If tty is set, check TERM, and pass name and type
969 to Emacs. Pass window_system to Emacs. Move sending of eval to
970 optind loop. Send -position, -file to Emacs. Call fsync after
31fa6595
SM
971 fflush. Check for a client/server version match.
972 Handle -emacs-pid, -window-system-unsupported, -print, -error, and
973 -suspend commands. Don't exit prematurely on --no-wait, let Emacs
974 close the connection for us. When creating a new frame, send
8d9cc0b7
MB
975 environment and pwd to Emacs. Send current-frame to Emacs.
976
ca4ea90f
EZ
9772007-08-25 Eli Zaretskii <eliz@gnu.org>
978
979 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
980 Prepend "-" to the command, in case srcdir=. and file is copied
981 into itself.
982
cacc7b51
GM
9832007-07-25 Glenn Morris <rgm@gnu.org>
984
985 * Relicense all FSF files to GPLv3 or later.
986
987 * COPYING: Switch to GPLv3.
988
880820fe 9892007-07-17 Francesco Potortì <pot@gnu.org>
180f5b99
FP
990
991 * etags.c (C_entries): Reset the fvdef machine when out of function.
21b2cdc7
FP
992 (PRINT_UNDOCUMENTED_OPTIONS_HELP): #define as FALSE if undefined.
993 (print_help): Use it in if() rather than #if.
994 (print_help): Conditionally print help about --no-line-directive.
180f5b99 995
9724908a
EZ
9962007-07-16 Eli Zaretskii <eliz@gnu.org>
997
998 * makefile.w32-in (clean): Don't delete *~.
999
5cf9ca93
GM
10002007-06-07 Glenn Morris <rgm@gnu.org>
1001
1002 * etags.c (print_version): Add `emacs_copyright' string, for
1003 easier automatic updating.
1004
880820fe 10052007-05-18 Francesco Potortì <pot@gnu.org>
cabfc1bc
FP
1006
1007 * etags.c: Extern definitions of some more pointer functions for
1008 standalone compilation, especially important for 64bit platforms.
1009 (main, print_help): --members is now the default for etags.
1010 (C_entries): Parse start of C comment as a space == end of token.
1011 This is not necessary for C++ comment, already parsed as newline.
1012
07016031
GM
10132007-04-26 Glenn Morris <rgm@gnu.org>
1014
1015 * makefile.w32-in (VERSION): Increase to 22.1.50.
1016
7dfc4cda
CY
10172007-06-02 Chong Yidong <cyd@stupidchicken.com>
1018
1019 * Version 22.1 released.
1020
880820fe 10212007-02-26 Francesco Potortì <pot@gnu.org>
11d2d983 1022
d620ddb3 1023 * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
11d2d983 1024
0971f887
GM
10252007-02-20 Ulrich Mueller <ulm@kph.uni-mainz.de> (tiny change)
1026
1027 * Makefile.in (EMACS, EMACSOPT): New variables.
1028 (blessmail): Use `--no-site-file' when compiling.
1029
880820fe 10302007-02-05 Francesco Potortì <pot@gnu.org>
933ccc8c
FP
1031
1032 * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help)
1033 (main): Now --members is the default for etags, not for ctags yet.
1034
d881944f 10352007-02-04 Per Cederqvist <ceder@ingate.com> (tiny change)
953dea63 1036
47dad44f 1037 * etags.c (gperf, in_word_set): Change attribute for Java to
953dea63
FP
1038 (C_JAVA & ~C_PLPL). The previous change introduced 2004-09-13 was
1039 broken, as (C_JAVA & !C_PLPL) always evaluates to 0. This caused
1040 import, package, extends, implements and interface to be treated
1041 specially for all kinds of C-style files, not just Java files.
1042
880820fe 10432007-01-02 Francesco Potortì <pot@gnu.org>
ed8bbc0e 1044
47dad44f 1045 * etags.c (longopts): New undocumented option --no-duplicates.
ed8bbc0e
FP
1046 (no_duplicates): Static variables for the above option.
1047 (print_help): Do not print help for --no-warn, now undocumented.
1048 (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
56c0d866 1049 (main): Pass the -u option to sort in ctags mode.
ed8bbc0e 1050
880820fe 10512006-12-28 Francesco Potortì <pot@gnu.org>
18f9bf25
FP
1052
1053 * etags.c (readline): When creating a relative file name from a
1054 #line directive, leave the file name alone. The previous
a7c29764 1055 behavior was to make it relative to the tags file directory,
18f9bf25
FP
1056 under the hypothesis that the #line directive file name was
1057 relative to the directory of the tagged file. That hypothesis is
1058 wrong with Cpp and Lex.
17d5f8a6 1059 (Makefile_targets): Do not include spaces in tag names.
18f9bf25 1060
5e059fc1
EZ
10612006-12-22 Eli Zaretskii <eliz@gnu.org>
1062
1063 * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl)
1064 (movemail, fakemail, sorted-doc, digest-doc, emacsclient)
47dad44f 1065 (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD).
5e059fc1
EZ
1066 ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O))
1067 ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O))
1068 ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS))
1069 ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O))
1070 ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD.
6808dce1 1071 (clean): Delete stamp_BLD.
5e059fc1 1072
880820fe 10732006-12-20 Francesco Potortì <pot@gnu.org>
bd3b41c6
FP
1074
1075 * etags.c (C_entries): DEFUN names were longer by one: corrected.
1076
0e0dced5
JB
10772006-12-18 Juanma Barranquero <lekktu@gmail.com>
1078
1079 * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables.
1080 [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions.
1081 (main) [WINDOWSNT]: Remove code to release the focus; call
1082 w32_give_focus instead.
1083
4472aef4
JB
10842006-12-15 Juanma Barranquero <lekktu@gmail.com>
1085
1086 * emacsclient.c (w32_execvp): New function; wrapper for `execvp'.
1087 (execvp) [WINDOWSNT]: Redefine to `w32_execvp'.
1088 (fail): Remove Windows-specific fix (subsumed into w32_execvp).
1089 Suggestions and comment by Eli Zaretskii.
1090
12f7728e 10912006-12-06 Christoph Conrad <christoph.conrad@gmx.de>
c388769e
JB
1092
1093 * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
1094 Use $(USER32) for compatibility with Visual Studio .NET 2003.
1095
310afa17
JB
10962006-11-30 Juanma Barranquero <lekktu@gmail.com>
1097
1098 * emacsclient.c (emacs_pid): New variable.
1099 (message): Remove leftover code.
1100 (get_server_config): Set emacs_pid. Don't allow Emacs to grab the
1101 focus yet; emacsclient can still display an informational message
1102 before sending requests to Emacs.
1103 (main): Allow Emacs to grab the focus. Simplify message() call.
1104
11052006-11-30 Michael Mauger <mmaug@yahoo.com>
1106
1107 * emacsclient.c (message): Make sure the message is properly
1108 written even if it contains printf escapes, and flush the result.
1109 (set_tcp_socket): Make the message for non-local connections
1110 informational rather than an error.
1111
8c57275b 11122006-11-28 Kevin Ryde <user42@zip.com.au>
9b492fad
FP
1113
1114 * etags.c (readline): Check for double quote after #line.
1115
880820fe 11162006-11-28 Jan Djärv <jan.h.d@swipnet.se>
9b492fad
FP
1117
1118 * etags.c (readline): sscanf could in principle return 2.
1119
880820fe 11202006-11-28 Francesco Potortì <pot@gnu.org>
9b492fad
FP
1121
1122 * etags.c (readline): lno is unsigned.
1123 (TeX_commands): Use p++ (rather than *p++) to increment p.
1124 (Lua_functions): Explicitly discard LOOKING_AT's return value.
1125
4d91c8f9
JB
11262006-11-27 Juanma Barranquero <lekktu@gmail.com>
1127
1128 * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in).
1129 ($(TRES)): New rule (copied from nt/makefile.w32-in).
1130 ($(BLD)/emacsclientw.exe): Add dependency.
1131
340d34a5
EZ
11322006-11-27 Eli Zaretskii <eliz@gnu.org>
1133
d620ddb3 1134 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
340d34a5 1135
7dce1990
JB
11362006-11-25 Juanma Barranquero <lekktu@gmail.com>
1137
1138 * makefile.w32-in (VERSION): New macro.
1139 (ECLIENT_CFLAGS): Add -DVERSION.
1140
410797a5 11412006-11-25 Jason Rumney <jasonr@gnu.org>
402767e4
JR
1142
1143 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
1144
410797a5 11452006-11-24 Michael Mauger <mmaug@yahoo.com>
cb0297bb 1146
4472aef4
JB
1147 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
1148 file names with forward slashes.
cb0297bb 1149
30aa95ce
JB
11502006-11-23 Juanma Barranquero <lekktu@gmail.com>
1151
1152 * emacsclient.c (print_help_and_exit): Tweak message contents and
1153 tabs/spaces to improve alignment in message boxes.
1154
42073bfb
JB
11552006-11-22 Lennart Borgman <lennart.borgman.073@student.lu.se>
1156
1157 * emacsclient.c: Include <stdarg.h>.
1158 [WINDOWSNT]: Include <windows.h>.
1159 (w32_check_console_app): New function.
1160 (message): New function.
1161 (decode_options, print_help_and_exit, fail, main)
1162 (initialize_sockets, get_server_config, set_tcp_socket)
1163 (set_local_socket, set_socket): Use message().
1164
32dd9283 11652006-11-13 Jason Rumney <jasonr@gnu.org>
1ac3c910 1166
32dd9283
JR
1167 * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
1168 HAVE_INET_SOCKETS.
1169
1bbea9fc
JB
11702006-11-13 Juanma Barranquero <lekktu@gmail.com>
1171
1172 * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe.
1173 ($(BLD)/emacsclientw.exe): New target.
1174 (install): Install emacsclientw.exe.
1175 ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets.
1176 (ECLIENT_CFLAGS): Remove redundant flags.
1177
1178 * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
1179
a48db427
JR
11802006-11-13 Jason Rumney <jasonr@gnu.org>
1181
1182 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
1183
21f89bb7 11842006-11-10 David Reitter <david.reitter@gmail.com>
ed4a3730
JB
1185
1186 * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
1187
d5abc12c
JB
11882006-11-08 Juanma Barranquero <lekktu@gmail.com>
1189
ed4a3730
JB
1190 * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
1191 FARPROC to avoid a compiler warning.
d5abc12c 1192
18b8c421
JB
11932006-11-07 Juanma Barranquero <lekktu@gmail.com>
1194
88b46d84
JB
1195 * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
1196 file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
1197
18b8c421
JB
1198 * emacsclient.c (get_server_config): Extract also the Emacs pid
1199 from the server file. On Windows, try to force the Emacs frame to
1200 the foreground.
1201
b03d27bd
JB
12022006-11-06 Juanma Barranquero <lekktu@gmail.com>
1203
21f89bb7 1204 * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
b03d27bd
JB
1205 option --socket-name.
1206 (decode_options): Don't get EMACS_SERVER_FILE here, it could override
1207 command line options.
21f89bb7 1208 (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
b03d27bd
JB
1209 (fail): Don't check for missing arguments, it is now done in set_socket.
1210 (file_name_absolute_p): New function (loosely based on the one in
1211 fileio.c).
1212 (initialize_sockets): Don't check for duplicate loading of Winsock.
1213 (get_server_config): Only try relative paths in the default
1214 directory locations.
1215 (set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to
1216 a remote server.
1217 (set_socket): Call INITIALIZE(). Search explicit command-line
1218 arguments, then environment variable EMACS_SERVER_FILE, then implicit
1219 socket paths, before trying the alternate editor.
1220 (main): Use file_name_absolute_p.
1221
b20d6154
EZ
12222006-11-04 Eli Zaretskii <eliz@gnu.org>
1223
1224 * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
1225 file if it doesn't already exist.
1226
9c92edca
JB
12272006-11-03 Juanma Barranquero <lekktu@gmail.com>
1228
1229 * emacsclient.c (initialize_sockets): Don't initialize Winsock
1230 more than once.
1231
b6ce9c46
JB
12322006-11-03 Mark Davies <mark@mcs.vuw.ac.nz>
1233
1234 * Makefile.in (INSTALL_SCRIPT): New macro.
1235 ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
1236
4418616b
JB
12372006-11-02 Juanma Barranquero <lekktu@gmail.com>
1238
1239 * grep-changelog: When called with no arguments (not even a
1240 filter), show help instead of blindingly dumping every single
1241 ChangeLog available. Doc fix. Update version.
1242
1e7823d0
JB
12432006-11-02 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
1244
1245 * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
1246 [!WINDOWSNT]: Include <netinet/in.h> if available.
1247 [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
1248 (IOCTL, IOCTL_BOOL_ARG): Remove.
1249 (set_tcp_socket): Don't set the socket in blocking mode.
1250 Remove c_arg.
1251
ebc20ca0
JB
12522006-11-01 Juanma Barranquero <lekktu@gmail.com>
1253
1254 * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
1255 execvp to point to alternate_editor (otherwise .BAT scripts can't run).
1256
880820fe 12572006-10-31 Óscar Fuentes <ofv@wanadoo.es> (tiny change)
411b80a5
JB
1258
1259 * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
1260 (close_winsock): Declare as __cdecl.
1261
880820fe 12622006-10-31 Jan Djärv <jan.h.d@swipnet.se>
95d0feaa
JB
1263
1264 * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
1265 (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
1266 to set the socket in non-blocking mode.
1267
e35fc962
JB
12682006-10-31 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
1269
d4fa60c8 1270 * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
e35fc962
JB
1271 (INVALID_SOCKET): Define.
1272 (initialize_sockets): Put #endif at the right place.
1273 (set_local_socket): Use progname, not argv[0].
1274
ecc54057
JB
12752006-10-31 Juanma Barranquero <lekktu@gmail.com>
1276
1277 * makefile.w32-in (ALL): Add emacsclient.
1278 (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
1279 (emacsclient, $(BLD)/emacsclient.exe): New targets.
1280 (install): Install emacsclient.
1281
1282 * emacsclient.c: Add support for TCP sockets.
1283 (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
1284 (INITIALIZE): New macros.
1285 (IOCTL_BOOL_ARG): New typedef.
1286 (server_file): New global variable.
1287 (longopts): New option --server-file.
1288 (decode_options): Process new option --server-file and environment
1289 variable EMACS_SERVER_FILE.
1290 (print_help_and_exit): Document new option.
1291 (fail): If no connection available and no alternate editor,
1292 suggest using options to make them explicit.
1293 (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
1294 (send_buffer, sblen): New variables.
31fa6595 1295 (send_to_emacs): New function to buffer output and send it with `send'.
ecc54057
JB
1296 (quote_file_name): Use SEND_STRING.
1297 (close_winsock, initialize_sockets): New functions to load and
1298 unload Winsock.
1299 (get_server_config, set_tcp_socket): New functions to create and
1300 set up TCP sockets.
1301 (set_local_socket): New function to create and set up Unix
1302 socket (code moved from previous implementation).
10d1d0af 1303 (set_socket): New function to choose between TCP and Unix sockets.
ecc54057
JB
1304 (main): Use SEND_STRING and SEND_QUOTED. Most code moved to
1305 set_local_socket. Use set_socket. Get answers from server.el with
1306 recv(), not file stream functions.
1307
70846e2a
EZ
13082006-10-09 Eli Zaretskii <eliz@gnu.org>
1309
1310 * makefile.w32-in (../src/config.h): Fix error message.
1311
e2247cd0
EZ
13122006-09-30 Eli Zaretskii <eliz@gnu.org>
1313
1314 * .cvsignore: Add blessmail.
1315
45a2056c
JB
13162006-09-15 Jay Belanger <belanger@truman.edu>
1317
1318 * COPYING: Replace "Library Public License" by "Lesser Public
1319 License" throughout.
1320
880820fe 13212006-08-09 Jan Djärv <jan.h.d@swipnet.se>
1f4edc37 1322
ecc54057 1323 * etags.c (readline): Expect sscanf returns >= 1.
ea90c5d3 1324 (readline): Change position on %n and \" in sscanf.
1f4edc37 1325
1520a816
JD
13262006-08-07 Masatake YAMATO <jet@gyve.org>
1327
ecc54057
JB
1328 * etags.c (readline): Expect sscanf returns 2, not 1.
1329
867cc23e
JD
13302006-08-07 Masatake YAMATO <jet@gyve.org>
1331
9984b9d5 1332 * etags.c (TEX_mode): Check getc returns EOF.
867cc23e
JD
1333 File ended without newline causes infinite loop.
1334
6088b51f 13352006-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
fc185ae6 1336
ecc54057 1337 * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
fc185ae6 1338
880820fe 13392006-07-30 Francesco Potortì <pot@gnu.org>
fc185ae6
FP
1340
1341 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
1342 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
1343 (Objc_suffixes): Suggest using --lang=c for full help.
1344 (C_entries): Initialise savetoken to 0 to shut up the compiler.
1345
116e754b
AS
13462006-07-20 Andreas Schwab <schwab@suse.de>
1347
1348 * fakemail.c (fatal): Drop second parameter and treat first
1349 parameter as a plain string. Callers changed.
1350
2381d38d
DN
13512006-07-18 Dan Nicolaescu <dann@ics.uci.edu>
1352
1353 * ebrowse.c (usage, version): Mark as NO_RETURN.
1354
1355 * emacsclient.c (print_help_and_exit): Likewise.
1356
880820fe 13572006-07-10 Francesco Potortì <pot@gnu.org>
327891eb
FP
1358
1359 * etags.c (absolute_filename): Free unused space (cosmetic change).
1360 (in_word_set): In C, also tag #undef symbols.
1361
7cb93181
EZ
13622006-06-09 Eli Zaretskii <eliz@gnu.org>
1363
1364 * yow.c: Remove file.
1365
1366 * makefile.w32-in ($(BLD)/yow.$(O)): Remove target.
1367
1368 * Makefile.in (UTILITIES): Remove yow${EXEEXT}.
1369 yow${EXEEXT}: Remove target.
1370
0f29c66d
MY
13712006-06-04 Masatake YAMATO <jet@gyve.org>
1372
63fbb644 1373 * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
0f29c66d
MY
1374 doesn't exist, is not seekable, not is failed in ftall.
1375
a941b26b
EZ
13762006-06-03 Eli Zaretskii <eliz@gnu.org>
1377
9781fb53
EZ
1378 * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
1379 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
1380 ($(BLD)/test-distrib.exe): New targets.
1381 (sorted-doc, digest-doc, test-distrib): New targets.
1382 (install): Install sorted-doc.exe and digest-doc.exe.
1383 ($(BLD)/sorted-doc.$(O)): Update dependencies.
1384
1b178b99
EZ
1385 * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
1386 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
1387 terminal device.
1388
ae85efdb
EZ
1389 * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
1390 [WINDOWSNT] <top level>: Don't redeclare malloc.
1391 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
1392 terminal device.
6088b51f 1393 (main): Initialize bp, to avoid compiler warnings.
ae85efdb 1394
a941b26b
EZ
1395 * makefile.w32-in: Delete traces of leditcfns.c.
1396
1397 * leditcfns.c: Remove file.
1398
880820fe 13992006-05-23 Francesco Potortì <pot@gnu.org>
8a6d5da7 1400
31fa6595
SM
1401 * pop.c (pop_open, socket_connection, KPOP_SERVICE):
1402 Add comments explaining why the "kpop" service is never used.
8a6d5da7 1403
642c61f3
EZ
14042006-05-13 Eli Zaretskii <eliz@gnu.org>
1405
1406 * makefile.w32-in (lisp1): Add fringe.elc.
1407
880820fe 14082006-05-02 Francesco Potortì <pot@gnu.org>
7e237d24
FP
1409
1410 * etags.c (Perl_functions): Free space allocated for var package.
1411 (Erlang_functions): Possibly free space allocated for var last.
1412 (Prolog_functions): Possibly free space allocated for var last.
1413
7c47913b
DN
14142006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
1415
7fe8b491
DN
1416 * sorted-doc.c (main): Initialize docs to NULL.
1417
cdeda579
DN
1418 * yow.c (yow): Free buf.
1419
7c47913b
DN
1420 * etags.c: Delete c-indentation-style local variable.
1421
2ef88a94
RS
14222006-04-29 Richard Stallman <rms@gnu.org>
1423
5e5b35c7
RS
1424 * movemail.c (main): Check for negative value from `read'.
1425
2ef88a94
RS
1426 * fakemail.c (read_header): Give fatal error if input has no header.
1427
d65b4235
PE
14282006-04-02 Paul Eggert <eggert@cs.ucla.edu>
1429
1430 * b2m.c (main): Don't include <limits.h>.
1431 (TM_YEAR_BASE): New macro.
1432 (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
1433 that s/ files can override this. Use the more-conservative range
1434 1000-9999.
1435 (main): Check for asctime returning NULL.
1436 * fakemail.c: Likewise.
1437
f5565804
PE
14382006-03-27 Paul Eggert <eggert@cs.ucla.edu>
1439
1440 * b2m.c: Include <limits.h>.
1441 (TM_YEAR_IN_ASCTIME_RANGE): New macro.
1442 (main): Check for out-of-range time stamps.
1443 * fakemail.c: Likewise.
1444
90c9c343
AS
14452006-03-18 Andre Spiegel <spiegel@gnu.org>
1446
1447 * vcdiff: Use "echo" as a default for $echo, otherwise we'll
1448 execute $DIFF twice, and once with the wrong options.
1449
a6a2b5d4
EZ
14502006-02-23 Claudio Fontana <claudio@gnu.org>
1451
9e2bcc86
EZ
1452 * Makefile.in (install, uninstall): Add DESTDIR variable to
1453 support staged installations.
a6a2b5d4 1454
ef3f69f9
EZ
14552005-12-30 Eli Zaretskii <eliz@gnu.org>
1456
1457 * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
fc8dc7cf
EZ
1458 (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
1459 international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
1460 Rearrange the list to be similar to $(shortlisp) in
1461 src/Makefile.in.
ef3f69f9
EZ
1462 (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
1463 emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
1464 jit-lock.elc. Rearrange the list to be similar to $(shortlisp) in
1465 src/Makefile.in.
1466
30cfcf7f
RS
14672005-12-22 Richard M. Stallman <rms@gnu.org>
1468
1469 * Makefile.in (update-game-score.o): Delete spurious final `\'.
1470
ecc54057 14712005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
2e0bea68
FP
1472
1473 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
1474 which was never opened.
1475
283879ef 14762005-10-20 Olli Savia <ops@iki.fi> (tiny change)
ce0ae3a9
EZ
1477
1478 * etags.c: Undef STDIN if defined. (LynxOS defines it in system
1479 header files.)
1480
880820fe 14812005-09-27 Francesco Potortì <pot@gnu.org>
55102b5d
FP
1482
1483 * etags.c: Preliminary Forth support.
1484 (prolog_pr): Cast strlen to int before comparison.
1485 (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
1486 the second argument is indeed a literal string.
b9509712 1487 (main): In append mode, sort the tags file after writing it.
55102b5d
FP
1488
14892005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
1490
1491 * etags.c (longopts, print_help, main): The -a (--append) option
1492 can be used in ctags also; for one, the Linux make file uses it.
1493
41ea4df8
CY
14942005-09-20 Chong Yidong <cyd@stupidchicken.com>
1495
1496 * ebrowse.c (add_sym): Compare namespace names instead of
1497 namespace objects. This prevents the parser from incorrectly
1498 treating classes whose superclass is in another namespace.
1499
5c4757d3
RS
15002005-09-15 Richard M. Stallman <rms@gnu.org>
1501
1502 * Makefile.in (update-game-score.o): New target.
10d1d0af 1503 Compile and link this program separately.
5c4757d3
RS
1504 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
1505
df1b2142
JR
15062005-09-11 Jason Rumney <jasonr@gnu.org>
1507
ecc54057 1508 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
df1b2142 1509 message instead.
31fa6595 1510 (../src/paths.h): Remove.
df1b2142 1511
c638055f
JB
15122005-07-27 Juanma Barranquero <lekktu@gmail.com>
1513
1514 * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
1515 generated. Ignore also ctags.c and getopt.h.
1516
1517 * makefile.w32-in (clean): Delete getopt.h.
1518 (getopt.h): New rule.
1519
9eff9fe3
PE
15202005-07-26 Paul Eggert <eggert@cs.ucla.edu>
1521
1522 Merge gnulib getopt implementation into Emacs.
1523
1524 * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
1525 (GETOPT_H): New macro, from gnulib.
1526 (getopt.h): New rule, from gnulib.
1527 (GETOPTOBJS): Now autoconfigured.
1528 (GETOPTDEPS): getopt.h is now autoconfigured.
1529 (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
1530 (getopt.o): Depend on ${srcdir}/gettext.h.
1531 (movemail.o): Depend on $(GETOPT_H).
1532 * getopt.c, getopt1.c: Sync from gnulib.
1533 * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
1534 * getopt.h: Removed (now is getopt_.h).
1535
ec641d50
KR
15362005-07-13 Ken Raeburn <raeburn@gnu.org>
1537
0e0dced5
JB
1538 * pop.c: Don't include des.h (or variants thereof); krb.h will do it.
1539 (sendline): Add the \r\n to the line in a temporary buffer, and write
1540 it all at once.
ec641d50 1541
a0ec7a4a
LK
15422005-07-04 Lute Kamstra <lute@gnu.org>
1543
1544 Update FSF's address in GPL notices.
1545
0e0dddda
EZ
15462005-06-13 Eli Zaretskii <eliz@gnu.org>
1547
1548 * makefile.w32-in ($(DOC)): Fix last change.
1549
5a77c8e2
EZ
15502005-06-12 Eli Zaretskii <eliz@gnu.org>
1551
1552 * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
1553 temacs.exe, and the preloaded *.elc files. This avoids
1554 unnecessary dumping and DOC rebuilding.
1555
1a8fb426
EZ
15562005-06-04 Eli Zaretskii <eliz@gnu.org>
1557
1558 * ntlib.h (fileno): Don't define if already defined.
1559
7235a58f
TTN
15602005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
1561
1562 * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
1563 (yow): Use EXIT_FAILURE in case of memory error.
1564
5063dbbf
YM
15652005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1566
1567 * make-docfile.c (DIRECTORY_SEP): New macro.
1568 (IS_DIRECTORY_SEP): Use it.
1569
880820fe 15702005-03-18 Jan Djärv <jan.h.d@swipnet.se>
5b9562c3
JD
1571
1572 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
1573
ba025f6d
YM
15742005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1575
1576 * make-docfile.c: Undo previous change.
1577
a9eedf40
AS
15782005-02-04 Andreas Schwab <schwab@suse.de>
1579
0e0dced5
JB
1580 * movemail.c (fatal): Accept third parameter and pass down to error.
1581 (pfatal_with_name): Pass error string as format parameter instead of
1582 as part of format string.
a9eedf40
AS
1583 (pfatal_and_delete): Likewise.
1584 (main): Adjust call to fatal.
1585 (xmalloc): Likewise.
1586
5a92a9eb
RS
15872005-01-29 Richard M. Stallman <rms@gnu.org>
1588
1589 * movemail.c (popmail): Don't use Errmsg as format string.
1590
e6973a25
ST
15912004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1592
0e0dced5 1593 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
e6973a25 1594
1bb3da38
AS
15952004-12-15 Andreas Schwab <schwab@suse.de>
1596
1597 * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
1598 preprocessing to compile time constant.
1599
d4a38fdd
KS
16002004-11-17 Kim F. Storm <storm@cua.dk>
1601
1602 * etags.c: Undo last change.
1603
f2eb41c8
KS
16042004-11-09 Kim F. Storm <storm@cua.dk>
1605
1606 * make-docfile.c (scan_c_file): Set defvarperbufferflag to
1607 silence compiler.
1608
1609 * hexl.c (main): Init local var c to silence compiler.
1610
1611 * etags.c (main, consider_token, C_entries): Add misc switch
1612 default targets to silence compiler.
1613
880820fe 16142004-11-09 Jan Djärv <jan.h.d@swipnet.se>
3cf5c994
JD
1615
1616 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
1617 resulting DOC file can be used on Unix/Mac also.
1618
880820fe 16192004-09-13 Francesco Potortì <pot@gnu.org>
e057dc50
FP
1620
1621 * etags.c (main): When relative file names are given as argument,
1622 make them relative to the current working dir, rather than
1623 relative to the output tags file, if the latter is in /dev.
1624
880820fe 16252004-09-13 Francesco Potortì <pot@gnu.org>
05d9a399
FP
1626
1627 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
1628 <stdlib.h> is available.
1629 (enum sym_type): New st_C_attribute value for parsing
1630 gcc's __attribute__. Deleted st_C_typespec value.
1631 (gperf, in_word_set): Use gperf 3, options changed. Added the
1632 __attribute__ keyword, removed all the st_C_typespec keywords,
1633 changed attribute for Java to (C_JAVA & !C_PLPL).
1634 (inattribute): New global bool, part of the C state machine.
1635 (cblev): Identifier renamed to bracelev throughout.
1636 (consider_token, C_entries): Numerous changes for making the
1637 parser more robust and adding support for __attribute__.
1638
16392004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
1640
ecc54057 1641 * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
05d9a399
FP
1642 Support the Lua scripting language <http://www.lua.org>.
1643
880820fe 16442004-09-08 Francesco Potortì <pot@gnu.org>
fba74375 1645
d57727c9 1646 * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
fba74375
FP
1647 for ease of use.
1648
3751eb00
RS
16492004-07-17 Richard M. Stallman <rms@gnu.org>
1650
1651 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
1652
86d373e6
JB
16532004-06-01 Juanma Barranquero <lektu@terra.es>
1654
1655 * makefile.w32-in (obj): Add image.c.
1656
80e26b66
TTN
16572004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
1658
0e0dced5 1659 * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
80e26b66 1660
e6662c8b
JR
16612004-05-08 Jason Rumney <jasonr@gnu.org>
1662
1663 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
1664 command-lines.
1665
65396510
TTN
16662004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
1667
1668 * cvtmail.c: Throughout, replace 0 destined for `exit' arg
1669 with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
1670 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
1671
1672 * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
86d373e6
JB
1673 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
1674 * test-distrib.c, update-game-score.c, yow.c: Likewise.
65396510 1675
c2bcfb19
TTN
16762004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
1677
1678 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
1679
3f0656ff
TTN
16802004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
1681
1682 * b2m.c (GOOD, BAD): Delete macros. Throughout,
1683 replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
1684 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
1685
1686 * etags.c: Likewise.
1687
238add5e
JR
16882004-05-03 Jason Rumney <jasonr@gnu.org>
1689
1690 * makefile.nt: Remove.
1691
b09c5608
EZ
16922004-04-26 Eli Zaretskii <eliz@gnu.org>
1693
1694 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
1695 (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
1696 instead of a literal '/'.
1697
d814862a
JB
16982004-04-23 Juanma Barranquero <lektu@terra.es>
1699
1700 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
1701
442a2160
PE
17022004-04-17 Paul Eggert <eggert@gnu.org>
1703
1704 * rcs2log (Help): Clarify wording of the usage message.
1705 Problem reported by Alan Mackenzie in
1706 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
1707
d5d66b7e
SM
17082004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1709
1710 * make-docfile.c (xmalloc): Fix return type.
1711 (put_filename): New fun.
1712 (scan_file): Use it.
1713
bdfd0369
JB
17142004-03-09 Juanma Barranquero <lektu@terra.es>
1715
1716 * grep-changelog: Changes to support ChangeLog.10+.
1717 (main): Tidy up usage string. Fix "Use of uninitialized value"
1718 warning. Set version to 0.2. Parse the directory listing to get
1719 any ChangeLog.n file, not just 1..9.
1720 (header_match_p, entry_match_p, print_log, parse_changelog):
1721 Remove Perl prototypes (their purpose is to help the parser, which
1722 isn't needed here, not declare arguments).
1723 (parse_changelog): Make --reverse faster on big batches by not
1724 modifying the entries list.
1725
a64387ee
JB
17262004-03-01 Juanma Barranquero <lektu@terra.es>
1727
1728 * makefile.w32-in (obj): Add fringe.c.
1729
9766d41b
PE
17302004-02-14 Paul Eggert <eggert@twinsun.com>
1731
1732 * rcs2log: Work correctly if CVSROOT specifies :fork: or
1733 :local: methods, or omits the colon between the hostname
1734 and the path. Allow :/ in repository path, since CVS does.
1735 Fix typo: "pository" should be set from $CVSROOT, not $repository.
1736 This fixes a bug reported by Wolfgang Scherer in
1737 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
1738 along with some related bugs I discovered by inspecting how
1739 CVS itself parses $CVSROOT.
1740
880820fe 17412004-02-04 Jérôme Marant <jmarant@nerim.net> (tiny change)
98c6e531
SM
1742
1743 * emacsclient.c (decode_options): Fix handling of alternate editor.
1744
0734b0d0
SM
17452004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
1746
1747 * emacsclient.c (main): Don't use the hostname in the socket name.
1748 Look for relative socket names in the /tmp dir rather than in cwd.
1749
2a6fc2d9
RS
17502004-01-24 Richard M. Stallman <rms@gnu.org>
1751
1752 * emacsclient.c (main): Restore errno from saved_errno,
1753 so the error message comes from socket_status.
1754
0734b0d0
SM
17552004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1756
1757 * emacsclient.c (main): Stop if socket name too long.
1758 Only try su-fallback if the socket name was not explicit.
1759 Check socket name length in su-fallback case as well.
1760
152b6e83
AS
17612004-01-08 Andreas Schwab <schwab@suse.de>
1762
1763 * emacsclient.c (main): Save errno from socket_status.
1764
e8228824
AS
17652004-01-04 Andreas Schwab <schwab@suse.de>
1766
1767 * emacsclient.c (main): Fix socket name when using another user.
1768
c9140662
PE
17692003-12-27 Paul Eggert <eggert@twinsun.com>
1770
1771 * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
1772 a tag, and if the user has not specified an rlog option.
1773 Adapted from a suggestion by Martin Stjernholm in
1774 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
1775 (Copyright): Update to 2003.
1776
8babaa59
TTN
17772003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
1778
1779 * make-docfile.c (main): For return code, no longer special-case VMS.
1780 Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
1781
880820fe 17822003-09-28 Andreas Büsching <crunchy@tzi.de> (tiny change)
14ef7288
EZ
1783
1784 * emacsclient.c (quote_file_name): Print the result instead of
1785 returning it. Fix the return type accordingly.
1ae7cf5e
RS
1786 (main): With --eval, if no file name, read from stdin.
1787 Quote file names.
14ef7288 1788
f387bdea
RS
17892003-09-10 Richard M. Stallman <rms@gnu.org>
1790
07655e62 1791 * emacsclient.c (main): Use socket_name.
f387bdea 1792
880820fe 17932003-09-10 Andreas Büsching <crunchy@tzi.de> (tiny change)
f387bdea
RS
1794
1795 * emacsclient.c (socket_name): New variable.
1796 (longopts, decode_options, print_help_and_exit):
1797 Handle --socket-name argument.
1798
0b7e7337
FP
17992003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
1800
783bcffa 1801 * etags.c (consider_token): Check C++ `operator' only when the
0b7e7337
FP
1802 token len is long enough.
1803
ac06b30b
DL
18042003-08-20 Dave Love <fx@gnu.org>
1805
1806 * Makefile.in: Remove obsolete references to alloca.
1807
32b0a3c6
JB
18082003-07-29 Ken Brush <ken@wirex.com>
1809
1810 * emacsclient.c (main)
1811 * etags.c (suggest_asking_for_help)
1812 * movemail.c (main): Fix having macros in a printf statement.
1813
3867c42d
JB
18142003-05-31 Juanma Barranquero <lektu@terra.es>
1815
1816 * makefile.w32-in (lisp): Fix references to byte-run.el,
1817 float-sup.el and map-ynp.el, which are now in emacs-lisp.
1818
7933722a
DL
18192003-05-22 Dave Love <fx@gnu.org>
1820
1821 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
1822 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
1823
463f55ee
DL
18242003-05-20 Dave Love <fx@gnu.org>
1825
1826 * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
1827
1828 * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
1829
1b7a835b
JB
18302003-04-27 Oliver Scholz <alkibiades@gmx.de>
1831
0e0dced5 1832 * update-game-score.c (read_scores): Fix corruption of scores on read.
1b7a835b 1833
eec54bd7
SM
18342003-04-12 Stefan Monnier <monnier@cs.yale.edu>
1835
1836 * emacsclient.c (main): Use new safe location for socket.
1837
ff4bd681
JB
18382003-03-12 Tom Tromey <tromey@redhat.com>
1839
eec54bd7
SM
1840 * emacsclient.c (print_help_and_exit): Print to stdout.
1841 Exit successfully. Added some blank lines for readability.
ff4bd681
JB
1842 (decode_options): Don't call print_help_and_exit in default case.
1843 Print version information to stdout.
1844 (main): Don't call print_help_and_exit.
1845
dd132e44
RS
18462003-02-15 Richard M. Stallman <rms@gnu.org>
1847
1848 * cvtmail.c: Cast result of malloc and realloc.
10d1d0af 1849 Don't include stdlib.h, because config.h does.
dd132e44 1850 (malloc, realloc): Declarations deleted.
ff4bd681 1851
dd132e44
RS
1852 * yow.c (yow): Cast result of malloc and realloc.
1853 (malloc, realloc): Declarations deleted.
1854
71ffc53a
JB
18552003-02-11 Juanma Barranquero <lektu@terra.es>
1856
1857 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
1858
0dfd93c0
AS
18592003-02-08 Andreas Schwab <schwab@suse.de>
1860
1861 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
1862 instead of the substitution.
1863
37d1e680
RS
18642003-02-04 Richard M. Stallman <rms@gnu.org>
1865
1866 * update-game-score.c (push_score, read_scores): Cast values
1867 of malloc and realloc.
1868 (main, lock_file): Avoid assignment inside if.
1869
c60ee5e7
JB
18702003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
1871
1872 * Makefile.in: Use @EXEEXT@ for Cygwin.
1873
b24e2dc7
DL
18742003-01-21 Dave Love <fx@gnu.org>
1875
1876 * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
1877 column-0 `('.
1878
1879 * yow.c: Don't include string.h.
1880
675d000f
RS
18812003-01-20 Richard M. Stallman <rms@gnu.org>
1882
1883 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
1884 New targets.
1885
207aa3ff
KS
18862003-01-06 Kim F. Storm <storm@cua.dk>
1887
31fa6595 1888 * pop.c (__P): Rename from _P to avoid problems on Cygwin.
207aa3ff
KS
1889 All uses changed.
1890
cf6d30d7
AI
18912002-12-18 Andrew Innes <andrewi@gnu.org>
1892
1893 * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
1894 because GNU make doesn't append when using >> redirection.
1895
f0131492 18962002-12-12 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
649fc2c5
PJ
1897
1898 * b2m.pl: Make sure every message ends with a blank line, because
1899 some mbox parsers require a blank line before "From " lines.
1900
85cce843
RS
19012002-12-08 Richard M. Stallman <rms@gnu.org>
1902
1903 * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
1904 (_): Test only HAVE_LIBINTL_H to decide what to do.
1905
2ccc4d34
RS
19062002-12-05 Richard M. Stallman <rms@gnu.org>
1907
1908 * getopt.c: Comment out include of libintl.h or gettext.h.
1909
c5992177
RS
19102002-12-04 Richard M. Stallman <rms@gnu.org>
1911
1912 * Update getopt from gnulib version; changes described below.
1913
1914 * getopt1.c: Conditionally find getopt.h.
1915 [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
1916
1917 * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
1918 (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
c60ee5e7 1919 (wchar.h): Include, maybe.
10d1d0af 1920 (attribute_hidden): Define if not defined.
c5992177
RS
1921 (__getopt_initialized): Use attribute_hidden.
1922 (__libc_argc, __libc_argv): Renamed from original_argc, etc.
d7982012
JB
1923 (__getopt_nonoption_flags, nonoption_flags_max_len)
1924 (nonoption_flags_len): Conditional on USE_NONOPTION_FLAGS.
c5992177
RS
1925 (SWAP_FLAGS): New definitions.
1926 (exchange): Test USE_NONOPTION_FLAGS.
1927 (_getopt_initialize): Test USE_NONOPTION_FLAGS.
1928 (_getopt_internal): Error if argc < 1. New local var print_errors.
1929 Improve test for ambiguous long option.
1930 Add LIBIO support for error message output.
1931 (NONOPTION_P): Test USE_NONOPTION_FLAGS.
1932
1933 * getopt.h: Maybe include ctype.h.
1934 Treat __cplusplus like __STDC__.
1935 (decls): Use __ in arg names.
1936
4b5e69bd
SE
19372002-12-02 Stephen Eglen <stephen@gnu.org>
1938
1939 * emacsclient.c (main): Tell user how to start server within Emacs
1940 if socket could not be found.
1941
19fa03f3
RS
19422002-12-02 Richard M. Stallman <rms@gnu.org>
1943
1944 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
1945
7be215b4
JB
19462002-11-19 Ben Key <bkey1@tampabay.rr.com>
1947
29f538e6
BK
1948 * makefile.w32-in: Fixed a bug that caused the documentation for
1949 the built in function play-sound-internal not to be included in
1950 /etc/DOC.
7be215b4 1951
1998560a
DL
19522002-11-18 Dave Love <fx@gnu.org>
1953
1954 * update-game-score.c: Include unistd.h, string.h, stdlib.h,
1955 fcntl.h, stdarg.h conditionally.
1956 (_GNU_SOURCE, __attribute__): Don't define.
1957 (optarg, optind, opterr): Declare.
1958 (lose, lose_syserr): Use NO_RETURN.
1959 (get_user_id): Use P_.
1960
8b96caf3
RS
19612002-11-17 Richard M. Stallman <rms@gnu.org>
1962
1963 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
1964
59daa29a
DL
19652002-11-14 Dave Love <fx@gnu.org>
1966
1967 * movemail.c (pop_retr): Declare comment.
1968
1969 * make-docfile.c (read_c_string_or_comment): Declare msgno.
9a007cb7
DL
1970
1971 * Makefile.in (YACC): Deleted.
1972
f1b443bf
AS
19732002-10-19 Andreas Schwab <schwab@suse.de>
1974
1975 * Makefile.in (${archlibdir}): Always create $(gamedir).
1976 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
1977
52402e4f
JB
19782002-10-04 Juanma Barranquero <lektu@terra.es>
1979
1980 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
1981
15dab115
MR
19822002-09-30 Markus Rost <rost@math.ohio-state.edu>
1983
1984 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
1985 completely.
1986
30be2360
SM
19872002-09-27 Stefan Monnier <monnier@cs.yale.edu>
1988
1989 * emacsclient.c: Remove SYSV support.
1990 (eval, display): New vars.
1991 (longopts): Add --eval and --display.
1992 (decode_options): Add -e and -d processing.
1993 (print_help_and_exit): Update the usage string.
1994 (main): Add support for --eval and --display.
3ecdcd59 1995 (main): Always use /tmp and non-qualified hostname.
30be2360 1996
4208da83
SM
19972002-09-25 Stefan Monnier <monnier@cs.yale.edu>
1998
1999 * emacsserver.c: Remove.
2000
3cf8c6aa
SM
20012002-09-17 Stefan Monnier <monnier@cs.yale.edu>
2002
2003 * emacsclient.c (quote_file_name): Quote \n.
2004 (main): Print a final \n when needed.
2005
880820fe 20062002-09-03 Francesco Potortì <pot@gnu.org>
4c6dce51
FP
2007
2008 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
2009 string that cannot be freed.
2010
880820fe 20112002-08-30 Francesco Potortì <pot@gnu.org>
ba88f8eb
FP
2012
2013 * etags.c (consider_token, C_entries): Switch to C++ parsing when
2014 auto-detection is enabled and the `::' qualifier is met.
2015 (consider_token, C_entries): Several bugs corrected that tagged
2016 some declarations even though --declarations was not used.
2017 (plainc): New macro.
2018 (C_entries): Use it.
2019 (C_entries): Several cosmetic changes.
2020 (C_entries): Invalidate the token is some cases.
2021
880820fe 20222002-08-29 Francesco Potortì <pot@gnu.org>
09cd1a74 2023
eec54bd7 2024 * etags.c (C_entries): Correct a problem with const C++ funcs.
09cd1a74
FP
2025 (ignoreindent): Renamed from noindentypedefs.
2026 (cjava, cplpl): They are now macros instead of local vars.
2027
880820fe 20282002-08-28 Francesco Potortì <pot@gnu.org>
09cd1a74
FP
2029
2030 * etags.c (HTML_labels): Tag ID= also.
2031
880820fe 20322002-08-27 Francesco Potortì <pot@gnu.org>
87046df8
FP
2033
2034 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
2035
ecc54057 2036 * etags.c (HTML_labels): New language HTML.
8ee14629
FP
2037 (etags_strcasecmp): Like BSD's, for compatibility.
2038 (strcaseeq): Make it into a macro.
2039
2040 * etags.c (make_tag): Never generate null length tag names.
87046df8
FP
2041 (linebuffer_init): Renamed from initbuffer. All callers changed.
2042 (pattern): Structure renamed to `regexp', member regex renamed to
2043 pattern.
2044 (node_st): Member pat renamed to regex.
eec54bd7
SM
2045 (pattern); New member force_explicit_name, for future use.
2046 Now always set to true, cannot be reset.
87046df8
FP
2047 (add_regex, regex_tag_multiline, readline): Use it.
2048 (main): Free some global structures.
8ee14629 2049 (fdesc): New member `written'.
87046df8
FP
2050 (readline, process_file): Initialise it.
2051 (put_entries): Set it.
2052 (main): Use it to create entries for files without tags.
2053 (total_size_of_entries): Do not count invalid tags.
87046df8 2054
02ce3e80
SM
20552002-08-19 Stefan Monnier <monnier@cs.yale.edu>
2056
2057 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
2058 for the function name in the usage info.
2059
5fba5c21
CW
20602002-07-31 Colin Walters <walters@gnu.org>
2061
2062 * update-game-score.c (P_): New macro. Use it for all prototypes.
2063 (lose): Don't use varargs.
2064 (lose_syserr): New function.
2065
2066 * update-game-score.c: Change all functions to K&R style.
2067
712eaee0
AS
20682002-07-30 Andreas Schwab <schwab@suse.de>
2069
2070 * Makefile.in (localstatedir): New variable.
2071
f0131492 20722002-07-29 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
c89ed6ef
PJ
2073
2074 * b2m.pl: Fix regexp for finding return address fields.
2075
1e042160
SM
20762002-07-15 Stefan Monnier <monnier@cs.yale.edu>
2077
2078 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
2079
f0131492 20802002-07-05 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
e9b60209 2081
02ce3e80 2082 * b2m.pl: Obey the rmail file and use the unpruned header properly.
e9b60209 2083
880820fe 20842002-06-26 Pavel Janík <Pavel@Janik.cz>
9ee028d2
PJ
2085
2086 * b2m.pl: New file.
2087
880820fe 20882002-06-21 Francesco Potortì <pot@gnu.org>
e1af8d40 2089
ecc54057 2090 * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
e1af8d40
FP
2091 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
2092 (PHP_functions, PHP_functions, Cobol_paragraphs)
2093 (Makefile_targets, Postscript_functions, Texinfo_nodes)
2094 (prolog_pr, erlang_func, erlang_attribute)
2095 (Perl_functions, Perl_functions, Pascal_functions)
2096 (TeX_commands, get_tag): Use make_tag instead of pfnote.
2097 (get_tag): Prototype changed, all callers changed.
2098
880820fe 20992002-06-20 Francesco Potortì <pot@gnu.org>
ceaeb365 2100
d76132d0
FP
2101 * etags.c: Implement implicit tag names, that is, unnamed tags
2102 whose name is automatically deduced by etags.el. The advantage is
2103 that there is no explicit tag name in most tags, so the size of
2104 the tags file is reduced, yet find-tag is able to do a match as
eec54bd7 2105 accurate as with named tags. See the comment in make_tag for details.
ceaeb365
FP
2106 (make_tag): New function (was the disabled function new_pfnote).
2107 (make_C_tag): Use it.
2108
880820fe 21092002-06-19 Francesco Potortì <pot@gnu.org>
f175bfff
FP
2110
2111 * etags.c (add_regex): Invalid regexp modifiers are ignored.
2112 (Makefile_targets): Tag variables unless --no-globals.
2113 (LOOP_ON_INPUT_LINES): Serious bug corrected.
2114
880820fe 21152002-06-13 Francesco Potortì <pot@gnu.org>
82ef78b3
FP
2116
2117 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
2118 (invalidate_nodes): Bug corrected.
2119 (print_help): Better help for regexps.
2120
7a8940da
JB
21212002-06-13 Juanma Barranquero <lektu@terra.es>
2122
2123 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
2124 font-core.elc.
2125
880820fe 21262002-06-12 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
2127
2128 * etags.c: New multi-line regexp and new regexp syntax.
2129 (arg_type): at_icregexp label removed (obsolete).
2130 (pattern): New member multi_line for multi-line regexps.
2131 (filebuf): A global buffer containing the whole file as a string
2132 for multi-line regexp matching.
2133 (need_filebuf): Global flag raised if multi-line regexps used.
2134 (print_help): Document new regexp modifiers, remove references to
2135 obsolete option --ignore-case-regexp.
2136 (main): Do not set regexp syntax and translation table here.
2137 (main): Treat -c option as a backward compatibility hack.
2138 (main, find_entries): Init and free filebuf.
2139 (find_entries): Call regex_tag_multiline after the regular parser.
10d1d0af 2140 (scan_separators): Check for unterminated regexp and return NULL.
6861f0e3
FP
2141 (analyse_regex, add_regex): Remove the ignore_case argument, which
2142 is now a modifier to the regexp. All callers changed.
2143 (add_regex): Manage the regexp modifiers.
2144 (regex_tag_multiline): New function. Reads from filebuf.
2145 (readline_internal): If necessary, copy the whole file into filebuf.
2146 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
2147
880820fe 21482002-06-11 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
2149
2150 * etags.c (add_regex): Better check for null regexps.
2151 (readline): Check for regex matching null string.
6772c8e1 2152 (find_entries): Reorganization.
6861f0e3 2153
880820fe 21542002-06-07 Francesco Potortì <pot@gnu.org>
f0da41a6
FP
2155
2156 * etags.c (scan_separators): Support all character escape
2157 sequences supported by Gcc.
02ce3e80 2158 (find_entries): Rewind unconditionally.
f0da41a6
FP
2159 (find_entries): Do not call language functions directly, now calls
2160 itself.
2161 (find_entries): Do general initialisations here.
2162 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
2163 (Ada_getit, Pascal_functions, Pascal_functions)
2164 (prolog_skip_comment): Do not do them here.
2165 (readline_internal): Increment lineno here.
2166 (readline): Conditionally undo readline_internal increment.
2167 (readline): Do not return a value.
2168
880820fe 21692002-06-06 Francesco Potortì <pot@gnu.org>
5526f1f6 2170
88c71720 2171 * etags.c: New option --parse-stdin=FILE.
97b90b0a
FP
2172 (enum arg_type): New label at_stdin.
2173 (STDIN): New constant.
2174 (parsing_stdin): New flag.
2175 (longopts): New option --parse-stdin=NAME.
2176 (print_help): Document it.
2177 (main): Handle it.
2178 (process_file): Split into process_file and process_file_name.
2179 (process_file_name): New function.
2180
88c71720 2181 * etags.c: Improvements and bug squashing in TeX handling.
97b90b0a 2182 (TeX_commands): Skip comments.
10d1d0af 2183 (TEX_defenv): Now contains more constructs.
5526f1f6
FP
2184 (TEX_cmt): Make it a static char and move it before TeX_commands.
2185 (TeX_commands): Shorten the tag to the brace after the name.
2186 (TeX_commands): Names now include the initial backslash.
2187 (TeX_commands): Names do not include numeric args #n.
2188 (TeX_commands): Correct line char number in tags.
2189 (TEX_tabent, TEX_token): Deleted.
2190 (TeX_commands, TEX_decode_env): Streamlined.
2191
880820fe 21922002-06-05 Francesco Potortì <pot@gnu.org>
50496bd9
FP
2193
2194 * etags.c (main): Avoid a buffer overrun with sprintf.
2195
a71867c5
RS
21962002-05-30 Richard M. Stallman <rms@gnu.org>
2197
2198 * Makefile.in (LIBS_MAIL): Renamed from LIB_MAIL.
2199 (LIBS_MOVE): Renamed from MOVE_LIBS.
2200
b7e67db6
PE
22012002-05-26 Paul Eggert <eggert@twinsun.com>
2202
2203 Reinstate the following change from 2002-03-22, which was
2204 inadvertently lost on 2002-04-13.
2205
2206 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
2207 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
2208 the latter usage.
2209
5f226e2c
EZ
22102002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
2211
2212 * pop.c (socket_connection): Move the code to resolve the POP
2213 host right before trying to connect with it.
2214
9021bb49
GM
22152002-05-05 Eli Zaretskii <eliz@is.elta.co.il>
2216
2217 * tcp.c: Delete file since the TCP emulation is no longer in use on any
2218 platform.
2219
5167cfda
CW
22202002-04-28 Colin Walters <walters@verbum.org>
2221
2222 * Makefile.in (${archlibdir}): Don't conditionalize on
2223 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
2224 or not we have access to the specified game user.
50496bd9 2225
5167cfda
CW
2226 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
2227 (main): New argument -d, for specifying directory.
2228 (usage): Document.
02ce3e80 2229 (get_user_id): Compute.
5167cfda
CW
2230 (get_home_dir): Deleted.
2231 (get_prefix): New function, taken from main.
2232 (main): Check whether or not we are running setuid. Move prefix
2233 computation to get_prefix. Don't call getpwent; we don't need to
2234 any more. Instead, move it to get_user_id().
2235
880820fe 22362002-04-24 Pavel Janík <Pavel@Janik.cz>
beedfcf1
PJ
2237
2238 * ebrowse.c (skip_initializer): Return void.
2239
973c3c87
CW
22402002-04-23 Colin Walters <walters@verbum.org>
2241
2242 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
2243 space.
2244
880820fe 22452002-04-22 Francesco Potortì <pot@gnu.org>
8378bcd3 2246
ecc54057 2247 * etags.c (last_node): Make it a global variable.
8378bcd3
FP
2248 (process_file): Print the tags from the nodes as soon as
2249 possible, and delete the nodes. This brings down the memory
2250 occupancy as etags to almost the same level as when the #line
2251 directives were not parsed.
2252 (free_fdesc): New function.
2253 (find_entries): Use it.
2254 (invalidate_nodes): In etags mode, do not just mark the nodes as
2255 invalid, do delete them.
2256
c901ceff
GM
22572002-04-21 Gerd Moellmann <gerd@gnu.org>
2258
2259 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
2260
c42d6dbd
EZ
22612002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
2262
2263 * update-game-score.c: Move config.h before the other headers, to
2264 avoid compiler warnings.
2265
880820fe 22662002-04-16 Francesco Potortì <pot@gnu.org>
090416ca
FP
2267
2268 * etags.c (find_entries): Bug fix in list management.
2269
880820fe 22702002-04-15 Francesco Potortì <pot@gnu.org>
5dab24c1
FP
2271
2272 * etags.c (get_language_from_filename): Add one argument.
2273 (strcaseeq): New function.
10d1d0af 2274 (get_language_from_filename): Use it to do a case insensitive
5dab24c1
FP
2275 comparison if called with appropriate args.
2276 (find_entries): Try with case insensitive match.
2277 (process_file): Bug fixed.
2278
880820fe 22792002-04-13 Francesco Potortì <pot@gnu.org>
c150db23
FP
2280
2281 * etags.c (find_entries): Delete tags previously obtained from
2282 file xxx.c's #line directives when parsing file xxx.y. This is
2283 generally done for automatically generated files containing
2284 #line directives. This handles the case when xxx.y is tagged
2285 before xxx.c, and the entries of xxx.c pointing to xxx.y should
2286 be discarded.
eec54bd7 2287 (language): Add the metasource member. Initializers changed.
c150db23
FP
2288 (invalidate_nodes): New function.
2289 (readline): Discard lines after having found a #line
02ce3e80 2290 directive pointing to an already tagged file. This handles the
c150db23
FP
2291 case when xxx.y is tagged before xxx.c, and the entries of
2292 xxx.c pointing to xxx.y should be discarded.
2293 (fdesc): New structure for keeping track of input files.
2294 (fdesc): Remove `file' member (a string) and use instead a pointer
2295 to a file description structure.
02ce3e80
SM
2296 (curfile, curfiledir, curtagfname, curlang, nocharno)
2297 (forced_lang): Global variables removed in favor of fdhead and
10d1d0af 2298 curfdp, pointers to file description structures.
c150db23
FP
2299 (longopts, main, print_help): Use the CTAGS conditional to include
2300 or exclude options that work on etags or ctags only.
02ce3e80
SM
2301 (process_file, find_entries, pfnote, add_node, put_entries)
2302 (readline): Use fdhead and curfdp.
c150db23
FP
2303 (process_file, find_entries): Do not take an arg string, all
2304 callers changed.
2305
2306 * etags.c (longopts, print_help, main): Test CTAGS to disallow
2307 options that are not right for either etags or ctags.
2308
2309 * etags.c (number_len, total_size_of_entries): Define them also
2310 in CTAGS mode, because gcc does not compile all refs away.
2311
e9d1f248
CW
23122002-04-14 Colin Walters <walters@debian.org>
2313
2314 * update-game-score.c (lock_file): If the lock file is older than
2315 an hour, delete it. Reset attempts to zero if we have to break
2316 the lock.
2317
7605f1bd
AS
23182002-04-14 Andreas Schwab <schwab@suse.de>
2319
2320 * update-game-score.c (read_score): Fix type of second parameter
2321 of getdelim to be of type size_t instead of int. Use 0 instead of
2322 ESUCCES.
2323
e82defd1
CW
23242002-04-10 Colin Walters <walters@verbum.org>
2325
ecc54057 2326 * update-game-score.c (toplevel): Include stdarg.h.
b9b966e0
CW
2327 (MAX_DATA_LEN, MAX_SCORES): New.
2328 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
2329 default to ~/.emacs.d/games.
2330 (get_user_id): Don't zero uid in the case where we can't get the
2331 username.
2332 (lose): New function.
2333 (main): Actually use `max', and default it to MAX_SCORES.
2334 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
2335 function.
2336 (read_score): Handle the case of reading unamelen characters, then
2337 finishing. Use mktemp if mkstemp isn't available.
2338 (lock_file, unlock_file): Delete unused versions.
2339 (lock_file): Always sleep, even if we unlinked the lock file.
2340
e82defd1
CW
2341 * Makefile.in (gamedir, gameuser): New variables.
2342 (toplevel, UTILITIES): Add update-game-score.
2343 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
2344
5795b420
CW
23452002-04-07 Colin Walters <walters@verbum.org>
2346
2347 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
2348 (get_user_id): Take struct passwd as an argument.
2349 (get_home_dir): New function.
2350 (main): Read in user information here. Discover home directory if
2351 necessary.
2352 (read_score): Trim newline only in `getline' case.
2353
cd553ffb 23542002-04-05 Colin Walters <walters@debian.org>
c150db23 2355
cd553ffb
CW
2356 * update-game-score.c (toplevel): Include pwd.h.
2357 (struct score_entry): Add username field.
2358 (push_score): Use it.
2359 (get_user_id): New function.
2360 (main): Don't malloc excessively.
2361 (main): Use username field.
2362 (read_score): Read it.
2363 (push_score): Handle it.
07655e62 2364 (write_scores): Write it.
c150db23
FP
2365 (read_score): Handle arbitrary length data.
2366
b74bd4a3
EZ
23672002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
2368
2369 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
2370
fa8bc89d
GM
23712002-03-29 Gerd Moellmann <gerd@gnu.org>
2372
2373 * ebrowse.c (add_declarator, skip_initializer): New functions.
2374 (declaration): Use them.
2375
dd87b4cc
JR
23762002-03-28 Jason Rumney <jasonr@gnu.org>
2377
2378 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
2379
cd553ffb
CW
23802002-03-27 Colin Walters <walters@debian.org>
2381
2382 * update-game-score.c: New file.
2383
dfef6d49
PE
23842002-03-22 Paul Eggert <eggert@twinsun.com>
2385
2386 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
2387 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
2388 the latter usage.
2389
880820fe 23902002-03-12 Francesco Potortì <pot@gnu.org>
a13d6523 2391
4fff90e4 2392 * etags.c (Python_functions): Skip spaces at beginning of lines.
a13d6523
FP
2393 (Python_functions, PHP_functions): Name tags, for ctags' sake.
2394 (TeX_commands): Name tags. Correction of old disabled code.
2395
2396 * etags.c (curfiledir, curtagfname): New global variables.
2397 (process_file): Initialise them.
2398 (readline): Canonicalize the name found in #line directive.
893a741e 2399
4fff90e4 24002002-03-06 Jason Rumney <jasonr@gnu.org>
ca55a1e3 2401
893a741e
JR
2402 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
2403 compilers that don't optimize out dead code.
2404
880820fe 24052002-03-05 Francesco Potortì <pot@gnu.org>
51aeded3
FP
2406
2407 * etags.c: Honour #line directives.
a7c29764 2408 (no_line_directive): New global var; set it for old behavior.
51aeded3
FP
2409 (main): Remove some #ifdef in the getopt switch.
2410 (add_node, put_entries): Code added to merge different chunks of
2411 nodes referring to the same file. Currently the tags are just
2412 appended, without any check for duplicates.
2413 (Perl_functions): Do not special case ctags.
2414 (readline): Identify #line directives and do the right thing.
2415 (nocharno, invalidcharno): New global vars.
2416 (process_file): Reset nocharno.
2417 (readline): Set nocharno.
2418 (pfnote): Read nocharno and maybe put invalidcharno in node.
2419 (total_size_of_entries, put_entries): Use invalidcharno.
2420
2421 * etags.c: Keep the whole tag table in memory, even in etags mode.
2422 (main): Call put_entries here even in CTAGS mode.
2423 (main, process_file): Check the return values of fclose and pclose.
2424 (process_file): Do not call put_entries after parsing each file.
2425 (process_file): Canonicalise file names even for ctags.
2426 (process_file): Set curfile here...
2427 (find_entries): ... not here any more.
2428 (add_node): In etags mode, build a linked list of entries (on
2429 right pointer) for each file, and link the first entry of each
2430 file on left nodes.
2431 (put_entries): Print here the name of the file.
2432 (put_entries): Print the entries starting from the first file.
c150db23 2433 (number_len, total_size_of_entries): Define these only in etags
51aeded3
FP
2434 mode, make the second work only on the right nodes.
2435
2436 * etags.c: Make all global variables static.
2437
50ce1f62
JB
24382002-02-25 Juanma Barranquero <lektu@terra.es>
2439
2440 * makefile.w32-in (lisp): Add missing backslash.
2441
82a399d2
JR
24422002-02-24 Jason Rumney <jasonr@gnu.org>
2443
2444 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
2445 using .elc files.
2446 (lisp): Sync with list in src/Makefile.in
2447 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
2448
a279c920
PE
24492002-02-10 Paul Eggert <eggert@twinsun.com>
2450
2451 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
2452 disallows the old syntax.
2453
0caa685d
PE
24542002-02-03 Paul Eggert <eggert@twinsun.com>
2455
d7982012 2456 * rcs2log (Copyright): Update to 2002.
0caa685d
PE
2457 (AWK, TMPDIR): Work around portability problem in broken shells that
2458 don't understand `: ${VAR=val}'.
2459 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
2460 Prefer the new -k option to the traditional +M -N option.
2461
880820fe 24622002-01-01 Pavel Janík <Pavel@Janik.cz>
03950b5b
PJ
2463
2464 * b2m.c (main): Parenthesize assignment when used as truth value
2465 to prevent gcc warnings.
2466
2467 * fakemail.c: Include <config.h>.
2468
880820fe 24692001-12-29 Pavel Janík <Pavel@Janik.cz>
2f8fe2f4
PJ
2470
2471 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
2472 * yow.c: Include <config.h>.
2473
880820fe 24742001-12-21 Francesco Potortì <pot@gnu.org>
a60e4de9
FP
2475
2476 * etags.c (Perl_functions): Tag packages and use them in sub tags.
2477 (get_tag): Return a pointer to the tag that is found.
2478
2479 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
2480 (F_takeprec): Renamed from takeprec. All callers changed.
2481 (F_getit): Renamed from getit. All callers changed.
2482 (nocase_tail): Renamed from tail. All callers changed.
2483 (Ada_getit): Renamed from adagetit. All callers changed.
eec54bd7 2484 (L_getit): Simplify by using get_tag.
a60e4de9
FP
2485 (Perl_functions, Postscript_functions, erlang_attribute): Use the
2486 modified LOOKING_AT.
2487 (notinname): Removed '[' and added ')' to the recognised chars.
2488 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
2489 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
2490 Clarified, using strneq or notinname.
2491 (L_isdef, L_isquote): Removed.
2492 (Lisp_functions, L_getit): Clarified.
2493
ecc54057 2494 * etags.c (P_): Renamed to __P for consistency with config.h.
a60e4de9
FP
2495 [HAVE_CONFIG_H]: Let config.h deal with __P.
2496 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
2497 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
2498 gperf code needs it.
ecc54057
JB
2499 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
2500 [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
a60e4de9
FP
2501 (xmalloc, xrealloc): Use PTR instead of long *.
2502 (bool): Make it a define, not a typedef, for C++ compilers.
2503 (pattern): Members renamed to avoid name clash in some C++ compilers.
2504 (get_language_from_langname): Use const argument.
2505
880820fe 25062001-12-22 Pavel Janík <Pavel@Janik.cz>
c95eaa61
PJ
2507
2508 * makefile.nt, makefile.w32-in: Remove mocklisp files.
2509
880820fe 25102001-12-19 Pavel Janík <Pavel@Janik.cz>
69bfc389 2511
b8509940
PJ
2512 * emacsserver.c: Conditionally include config.h.
2513
594aa066
PJ
2514 * fakemail.c: Likewise.
2515
e69233c2
PJ
2516 * emacsclient.c: Include "config.h", not <../src/config.h>.
2517 (main): Parenthesize assignment when used as truth value to
2518 prevent gcc warnings.
2519
69bfc389
PJ
2520 * ebrowse.c: Include stdlib.h and string.h conditionally.
2521
e4e34e31
EZ
25222001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
2523
2524 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
2525
880820fe 25262001-12-18 Pavel Janík <Pavel@Janik.cz>
ffb7c9c6
PJ
2527
2528 * test-distrib.c: Fix previous change.
2529
fb5aa7ac
DL
25302001-12-18 Dave Love <fx@gnu.org>
2531
2532 * test-distrib.c: Conditionally include fcntl.h.
2533
2534 * fakemail.c: Include "config.h", not <../src/config.h>.
2535 (_XOPEN_SOURCE): Define as 500.
2536
2537 * emacsserver.c: Include "config.h", not <../src/config.h>.
2538
2539 * cvtmail.c: Include config.h, stdlib.h.
2540 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
2541
2542 * yow.c: Conditionally include various headers. Use "epaths.h",
2543 not <../src/epaths.h>.
2544 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
2545
880820fe 25462001-12-12 Francesco Potortì <pot@gnu.org>
e94a3679 2547
13dc0576 2548 * etags.c (PHP_functions): New function for parsing PHP.
e94a3679
FP
2549 (LOOKING_AT): New macro.
2550 (Perl_functions, Python_functions, PHP_functions)
2551 (Scheme_functions, Texinfo_nodes): Use it.
2552 (Perl_functions): Use strneq.
2553 (prolog_pred): Renamed to prolog_pr.
13dc0576 2554 (prolog_pr): Recognise Prolog rules in addition to predicates.
e94a3679 2555 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
13dc0576 2556 unmodified compile, as Cygwin's regex.h is incompatible with us.
e94a3679
FP
2557 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
2558
34e39c95
RS
25592001-12-11 Richard M. Stallman <rms@gnu.org>
2560
2561 * Makefile.in (clean): Don't delete ../etc/DOC*.
2562
880820fe 25632001-12-11 Pavel Janík <Pavel@Janik.cz>
296071e7
PJ
2564
2565 * COPYING: Moved back.
2566
76054cc8
AI
25672001-11-30 Andrew Innes <andrewi@gnu.org>
2568
e94a3679
FP
2569 * makefile.w32-in (FACE_SUPPORT):
2570 (MOUSE_SUPPORT):
2571 (FLOAT_SUPPORT):
2572 (WINNT_SUPPORT):
76054cc8
AI
2573 (lisp): Reference .el files instead of .elc files, to simplify
2574 bootstrapping.
2575 ($(DOC)): Change dependency to just `make-docfile'.
2576
880820fe 25772001-11-29 Pavel Janík <Pavel@Janik.cz>
0142178a
PJ
2578
2579 * COPYING: Removed.
2580
e8d6a09b
PE
25812001-11-28 Paul Eggert <eggert@twinsun.com>
2582
2583 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
2584
2585 The following changes are derived from suggestions by Bob Chapman
2586 <rechapman@compuserve.com>.
2587
2588 * rcs2log (printlogline): Also allow tab and newline to separate
2589 '(function):' from the rest of a comment.
2590 (reformat the sorted log entries): Require date and author to
2591 match the clumpname.
2592
9a190096
GM
25932001-11-16 Gerd Moellmann <gerd@gnu.org>
2594
2595 * ebrowse.c (matching_regexp): Escape '\\'.
2596
880820fe 25972001-11-15 Pavel Janík <Pavel@Janik.cz>
8ec1b917
PJ
2598
2599 * Makefile.in: Add support for --program-prefix, --program-suffix
2600 and --program-transform-name options.
2601
6d8f7d5d
RS
26022001-11-03 Richard M. Stallman <rms@gnu.org>
2603
2604 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
2605
2606 * movemail.c (popmail): Always pass two args to `error'.
2607
84e70f78
KR
26082001-10-24 Ken Raeburn <raeburn@gnu.org>
2609
2610 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
2611 -lhesiod and maybe -lresolv.
2612 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
2613 support if it's available.
2614
386ca361
MB
26152001-10-21 Miles Bader <miles@gnu.org>
2616
a3b10252
MB
2617 * make-docfile.c (struct rcsoc_state): New type.
2618 (read_c_string_or_comment): Add SAW_USAGE
386ca361 2619 parameter, and implement scanning for a `usage:' keyword.
a3b10252
MB
2620 Use a variable of type `rcsoc_state' to hold most of our state.
2621 (put_char): Add STATE parameter, and remove all other parameters
2622 except CH. Use STATE to get access to all needed state.
2623 (scan_keyword_or_put_char): New function.
386ca361
MB
2624 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
2625 Don't output a usage-string if there was one in the doc-string.
2626
71431a0e
GM
26272001-10-20 Gerd Moellmann <gerd@gnu.org>
2628
6aa97356 2629 * (Version 21.1 released.)
71431a0e 2630
880820fe 26312001-10-19 Pavel Janík <Pavel@Janik.cz>
37a9305e
PJ
2632
2633 * b2m.c: Properly spell the name of Emacs.
2634
945220bd
MB
26352001-10-17 Miles Bader <miles@gnu.org>
2636
2637 * make-docfile.c (put_char): New function.
2638 (read_c_string_or_comment): Strip trailing spaces and newlines.
2639
14242528
MB
26402001-10-16 Miles Bader <miles@gnu.org>
2641
2642 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
2643 comments [with `doc:' keyword prefix].
2644
9f5eb4a3
GM
26452001-10-15 Gerd Moellmann <gerd@gnu.org>
2646
2647 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
2648 in a C doc comment.
2649
e641b454
GM
26502001-10-13 Gerd Moellmann <gerd@gnu.org>
2651
2652 * make-docfile.c (read_c_string_or_comment): Renamed from
2653 read_c_string. Add parameter COMMENT. Read C-style comments.
2654 (scan_c_file): Handle doc strings in C comments.
2655
967d7793
AI
26562001-10-12 Andrew Innes <andrewi@gnu.org>
2657
2658 * makefile.nt (ALL): Do not include fakemail.
2659
2660 * makefile.w32-in (install): Do not copy fakemail.
2661
d682756a
JR
26622001-10-10 Jason Rumney <jasonr@gnu.org>
2663
07655e62 2664 * makefile.w32-in (ALL): Do not include fakemail.
d682756a 2665
07655e62 2666 * makefile.nt (install): Ditto.
d682756a 2667
14a3dff7
GM
26682001-10-09 Gerd Moellmann <gerd@gnu.org>
2669
2670 * emacsserver.c (main): Cast geteuid in sprintf to int.
14a3dff7 2671
95bc7904 2672 * emacsclient.c (main): Cast isdigit argument to unsigned char.
14a3dff7 2673
880820fe 26742001-10-07 Pavel Janík <Pavel@Janik.cz>
f98d41f5
PJ
2675
2676 * profile.c: Include config.h, not ../src/config.h.
2677 Include systime.h, not ../src/systime.h.
2678
ab952a4f
GM
26792001-10-05 Gerd Moellmann <gerd@gnu.org>
2680
2681 * Branch for 21.1.
dff28924 2682
12c64503
GM
26832001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
2684
2685 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
2686 ALIASEE to help work with namespace aliases.
2687 (struct sym): Remove struct member NAMESP_ALIASES.
2688 (namespace_alias_table): New variable.
2689 (make_namespace): Add parameter CONTEXT.
2690 (check_namespace): New function.
2691 (find_namespace): Add parameter CONTEXT.
2692 (check_namespace_alias): New function.
02ce3e80
SM
2693 (register_namespace_alias): Change type of parameter OLD_NAME.
2694 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
12c64503
GM
2695 (check_namespace): New function.
2696 (enter_namespace): Call find_namespace with CONTEXT parameter.
2697 (match_qualified_namespace_alias): New function.
eec54bd7 2698 (parse_qualified_ident_or_type): Fix typo in comment.
02ce3e80 2699 While parsing qualified ident or type update namespace context and
12c64503 2700 restore it on exit.
eec54bd7
SM
2701 (parse_qualified_param_ident_or_type): Fix typo in comment.
2702 (globals): Change handling of namespace aliases.
2703 (version): Add year 2001.
12c64503 2704
990e1190
FP
27052001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
2706
2707 * etags.c (analyse_regex): If regex_arg is NULL, return
2708 immediately after a call to free_patterns.
2709
f2e7e23e
AS
27102001-09-05 Paul Eggert <eggert@twinsun.com>
2711
2712 * rcs2log (Help, mainline code): Add new option -L FILE.
2713 (Copyright): Update year.
02ce3e80
SM
2714 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
2715 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
f2e7e23e
AS
2716 C locale.
2717 (mainline code): Handle nonstandard -u option differently, by
2718 transforming it to standard form. Check for "Working file: ", not
2719 "Working file:". Allow file names with spaces.
2720 (SOH, rlogfile): New shell vars.
dff28924 2721 (rlogout): Remove. Its old functionality is mostly migrated to
f2e7e23e
AS
2722 rlogfile.
2723
2724 Append ';;' to the last arm of every case statement, for
2725 portability to ancient broken BSD shells.
2726
02ce3e80 2727 (logins): Fix bug; was not being computed at all, lowering performance.
f2e7e23e
AS
2728 (pository): New var. This fixes some bugs where repositories are
2729 remote, or have trailing slashes.
02ce3e80 2730 (authors): $llogout is never an empty shell var, so don't worry
f2e7e23e 2731 about that possibility.
dff28924 2732 (printlogline, mainline code): Fix bug with SOH's being put into
f2e7e23e 2733 the output.
dff28924 2734
75c911eb
EZ
27352001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
2736
2737 * ebrowse.c (SEEK_END): #define if not defined by system headers.
2738 Suggested by Dave Love <d.love@dl.ac.uk>.
2739
5ae10f4a
EZ
27402001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
2741
2742 * makefile.nt (lisp): Synchronize with src/Makefile.in.
2743 * makefile.w32-in (lisp): Ditto.
2744
0e4011d8 27452001-07-25 Juanma Barranquero <lektu@terra.es>
e743f599
GM
2746
2747 * grep-changelog (parse_changelog): Remove unused local variable.
2748
2749 * grep-changelog (main): Add new option --reverse.
2750 (print_log): Use it.
2751 (parse_changelog): Use it.
2752
3c88ae74
GM
27532001-07-20 Gerd Moellmann <gerd@gnu.org>
2754
2755 * grep-changelog: Remove RCS Id keyword.
2756
41848daa
GM
27572001-07-20 Juanma Barranquero <lektu@terra.es>
2758
6e07c0a5
GM
2759 * grep-changelog (parse_changelog): Add tests for defined values
2760 to quiet warning from Perl 5.005 or above.
177ab8ce 2761 (entry_match_p, header_match_p): Fix handling of null or empty
0e4011d8
GM
2762 argument to prevent duplicate headers.
2763
2764 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
41848daa 2765
467f1209
GM
27662001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
2767
2768 * emacsclient.c (print_help_and_exit): Fix help message for
2769 +LINE:COLUMN option.
2770
27712000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
990e1190 2772
467f1209
GM
2773 * emacsclient.c (main): Add support for +LINE:COLUMN command line
2774 argument.
2775
bb24c64f
GM
27762001-07-16 Gerd Moellmann <gerd@gnu.org>
2777
2778 * ebrowse.c (main): Check that the output file exists and
2779 is non-empty if invoked with `--append'.
2780
880820fe 27812001-05-14 Francesco Potortì <pot@gnu.org>
fa829470 2782
e335b66a
GM
2783 * etags.c (add_regex): Reset the whole newly allocated pattern
2784 buffer instead of the individual members. It's safer and works
ecc54057 2785 with XEmacs.
fa829470 2786
e335b66a 2787 * etags.1: Markups corrected.
fa829470 2788
6da5c7da
GM
27892001-05-08 Gerd Moellmann <gerd@gnu.org>
2790
02ce3e80 2791 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
6da5c7da 2792
efbecf9d
GM
27932001-05-03 Gerd Moellmann <gerd@gnu.org>
2794
2795 * ebrowse.c (globals): Fix handling of namespace aliases.
2796
f4976ebc
EZ
27972001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
2798
2799 * etags.c (print_help): Enclose the regexp in the help text
2800 example in quotes.
2801
23431241
DL
28022001-04-05 Dave Love <fx@gnu.org>
2803
2804 * emacsclient.c (fail): Don't return a value.
fa829470 2805 (main): Cast uid values for sprintf.
23431241 2806
476bf681
GM
28072001-04-03 Gerd Moellmann <gerd@gnu.org>
2808
b3f6107b
GM
2809 * emacsclient.c (fail, main): Don't use implicit int return type.
2810
476bf681
GM
2811 * b2m.c (main): Always return a value.
2812
ef53d75e
GM
28132001-03-02 Gerd Moellmann <gerd@gnu.org>
2814
2815 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
2816 freshly allocated object in *LAST_ID.
2817 (read_line): Accept \r\n line endings.
2818
425de386
AI
28192001-02-24 Andrew Innes <andrewi@gnu.org>
2820
2821 * makefile.w32-in: Fix copyright notice.
2822
880820fe 28232001-02-23 Francesco Potortì <pot@gnu.org>
f55ae599
FP
2824
2825 * etags.c (enum sym_type): New label st_C_template.
2826 (gperf input): Use it for switching to C++ from C.
2827 (consider_token): Do it.
c2a642c0
FP
2828 (C_entries): Initialise typdefcblev to quiet compilers.
2829 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
f55ae599 2830
f6839838
AI
28312001-02-22 Andrew Innes <andrewi@gnu.org>
2832
2833 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
2834 VMS header files.
2835 ($(BLD)\profile.obj): Ditto.
2836
2837 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
2838 VMS header files.
2839 ($(BLD)/profile.$(O)): Ditto.
2840
193fba87
AI
28412001-02-05 Andrew Innes <andrewi@gnu.org>
2842
2843 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
2844 invocation of make-docfile, to work with Windows 2000.
2845
30526cc6
DL
28462001-01-31 Dave Love <fx@gnu.org>
2847
2848 * etags.c (in_word_set): Use `static' in definition (for pcc).
2849
880820fe 28502001-01-31 Francesco Potortì <pot@gnu.org>
8f79fe72 2851
ecc54057 2852 * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
8f79fe72
FP
2853 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
2854 (C_entries): Tag token renamed to still_in_token because sunos4
2855 pcc wants to expand it as the token() macro even though it has no
2856 arguments.
2857
914d7258
AI
28582001-01-30 Andrew Innes <andrewi@gnu.org>
2859
2860 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
2861 bug in the Mingw32 assert.h header file.
2862
880820fe 28632001-01-30 Francesco Potortì <pot@gnu.org>
b28e26be 2864
ecc54057
JB
2865 * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
2866 #define it for the sake of XEmacs.
b28e26be
FP
2867 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
2868 HAVE_CONFIG_H. This change only affects a standalone etags.
2869 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
2870 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
2871 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
2f2c687b 2872 [!HAVE_UNISTD_H]: Use defined(WINDOWSNT) instead of the bare
b28e26be
FP
2873 WINDOWSNT, as this is the correct way to use it.
2874
880820fe 28752001-01-28 Francesco Potortì <pot@gnu.org>
8c463abe
FP
2876
2877 * etags.c: Be capable to parse nested struct-like structures.
2878 (structdef, structtag): Struct state machine revisited.
2879 (struct tok): Revisited.
2880 (cstack, nestlev, instruct): New struct and macros.
2881 (pushclass_above, popclass_above, write_classname): New functions
13dc0576 2882 for dealing with nested class names.
8c463abe
FP
2883 (consider_token, make_C_tag, C_entries): Many changes for dealing
2884 with arbitrarily nested structures.
2885 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
2886 (C_entries): Consider templates in C++.
2887 (sym_type): New constant st_C_class for detecting "class" also in
2888 C mode.
2889 (C_AUTO): New macro for automatic detection of C++.
2890 (consider_token): Automatic set C++ mode.
2891 (C_entries): New security check for yacc.
2892 (print_language_names, print_help): Mention the autodetect
07655e62 2893 feature, do not show help for the -C option, now mostly useless.
8c463abe
FP
2894 (C_entries): Tag C++ forward declarations if --declarations.
2895 (C_entries): Don't be fooled by things like XDEFUN.
2896 (consider_token): Discard asm pseudo function.
2897
e26f9ced
EZ
28982001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
2899
2900 * etags.c: Add a coding: tag.
2901
a47b7816
GM
29022001-01-26 Gerd Moellmann <gerd@gnu.org>
2903
8c463abe 2904 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
a47b7816
GM
2905 New variables.
2906 (matching_regexp): Use them instead of static variables in
2907 function scope.
2908
880820fe 29092001-01-25 Francesco Potortì <pot@gnu.org>
d22a24fa
FP
2910
2911 * etags.c (struct tok): Renamed from struct token.
2912 (token): Renamed from tok.
2913 (structtype): Make it a local variable.
2914 [DEBUG]: Use assert.
2915 (xrnew): Change the synopsis.
2916 (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
2917 (grow_linebuffer): Don't call xrnew when not needed.
02ce3e80 2918 (token): Buffer renamed to line.
d22a24fa 2919 (C_entries): Three calls to inibuffer moved here from main.
eec54bd7 2920 (C_entries): Remove all references to var methodlen, delete it.
d22a24fa
FP
2921 (linebuffer_setlen): Was grow_buffer, now also sets len.
2922 (consider_token, C_entries, Pascal_functions): Use it.
2923 (C_entries): Preventing problems relative to extern "C".
2924 (C_entries): Can tag more than one variable or func separated by
2925 comma when --declarations is used.
2926 (C_entries): More accurate tagging of members and declarations.
2927 (yacc_rules): Was global, made local to C_entries.
2928 (next_token_is_func): Removed.
2929 (fvdef): New constants fdefunkey, fdefunname.
2930 (consider_token, C_entries): Use them.
2931 (C_entries): Build proper lisp names for Emacs DEFUNs.
2932
21c2bbe0
GM
29332001-01-22 Gerd Moellmann <gerd@gnu.org>
2934
2935 * ebrowse.c (xfree): New function.
2936 (member, declaration, globals): Use xmalloc instead of alloca.
2937
880820fe 29382001-01-15 Francesco Potortì <pot@gnu.org>
83be933c
FP
2939
2940 * etags.c (print_language_names): Print filenames in addition to
2941 suffixes.
2942
880820fe 29432001-01-14 Francesco Potortì <pot@gnu.org>
47df1a5e
EZ
2944
2945 * etags.c (get_language_from_langname): Renamed from
2946 get_language_from_name.
eec54bd7
SM
2947 (get_language_from_filename): Renamed from get_language_from_suffix.
2948 Now first looks for the complete file name.
47df1a5e
EZ
2949 (language): New member char **filenames.
2950 (Makefile_filenames): List of possible filenames for makefiles.
eec54bd7 2951 (lang_names): Add a NULL member for every entry, added an entry
47df1a5e 2952 for makefiles.
13dc0576 2953 (Makefile_targets): New function.
47df1a5e
EZ
2954 (Texinfo_nodes): Renamed from Texinfo_fuctions and made
2955 it conformant to the style of the rest of the code.
2956
291c7e74
GM
29572001-01-13 Gerd Moellmann <gerd@gnu.org>
2958
2959 * make-docfile.c (write_c_args): Print newlines as spaces.
2960
0dac6924
AI
29612001-01-06 Andrew Innes <andrewi@gnu.org>
2962
2963 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
2964 of *.pdb.
2965
3e99d3b4
GM
29662001-01-03 Paul Eggert <eggert@twinsun.com>
2967
290afd83 2968 * rcs2log: Avoid security hole allowing attacker to
3e99d3b4
GM
2969 cause user of rcs2log to overwrite arbitrary files, fixing
2970 a bug reported by Morten Welinder.
2971
2972 Don't put "exit 1" at the end of the exit trap; it's
2973 ineffective in POSIX shells.
2974
d6bb0c0d
GM
29752001-01-02 Gerd Moellmann <gerd@gnu.org>
2976
eec54bd7
SM
2977 * ebrowse.c (yyerror): Change to take two arguments.
2978 Add prototype. Change callers.
d6bb0c0d 2979
d5c00476 29802001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
315f5865
EZ
2981
2982 * ebrowse.c (enter_namespace, main): Cast variables to shut up
2983 compiler warnings.
2984 (yyerror): Change parameter declarations to be of type long, so
2985 that they can take pointers on 64-bit platforms.
2986
2987 * emacsclient.c (main): Remove unused local variable statbfr.
2988 (main) <homedir>: Make its declaration conditional on
2989 SERVER_HOME_DIR, to avoid compiler warnings.
2990
2991 * emacsserver.c (main) <homedir>: Make its declaration conditional
2992 on SERVER_HOME_DIR, to avoid compiler warnings.
2993
2994 * fakemail.c (readline): Cast buffer to "long *" to pacify
2995 over-zealous compilers.
2996
7c89ea61
EZ
29972000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
2998
2999 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
3000
a6768cc5
GM
30012000-12-15 Gerd Moellmann <gerd@gnu.org>
3002
3003 * ebrowse.c (operator_name): Cast argument of isalpha to
3004 unsigned char.
3005
3006 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
3007 Use them throughout instead of ctype functions/macros.
3008 (lowcase): Cast to unsigned char.
3009 (UPCASE): New macro.
3010 (canonicalize_filename): Use UPCASE instead toupper.
3011
3012 * fakemail.c (get_keyword): Make sure that isspace and
3013 similar aren't called with a negative argument.
3014
70de49cc
DL
30152000-12-13 Dave Love <fx@gnu.org>
3016
3017 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
3018
4e8b894c
AI
30192000-12-06 Andrew Innes <andrewi@gnu.org>
3020
3021 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
3022 don't know the real version, and I can't seem to get the quoting
3023 right in all circumstances.
3024
3025 * ebrowse.c (VERSION): Provide default definition, like etags.c
3026 does, because Windows build can't snarf this from version.el.
3027
88257bc8
AI
30282000-11-30 Andrew Innes <andrewi@gnu.org>
3029
3030 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
3031 (install): Ditto.
3032
d19249e7
JR
30332000-11-23 Jason Rumney <jasonr@gnu.org>
3034
3035 * makefile.w32-in: Add targets for ebrowse.exe.
3036 (LOCAL_FLAGS): Add -DVERSION flag.
3037
7df6adc3
DL
30382000-09-25 Dave Love <fx@gnu.org>
3039
3040 * sorted-doc.c: Include config.h.
3041 [!HAVE_STDLIB_H]: Declare malloc.
3042
fe83b953
AI
30432000-09-14 Andrew Innes <andrewi@gnu.org>
3044
3045 * makefile.w32-in: Revert to Unix line endings.
3046
517699ca
DL
30472000-09-04 Dave Love <fx@gnu.org>
3048
3049 * movemail.c (index, rindex): Prototype conditionally.
3050
f8803e97
AI
30512000-09-03 Andrew Innes <andrewi@gnu.org>
3052
3053 * makefile.w32-in: Change to DOS line endings.
3054
f72adc12
EZ
30552000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
3056
4034f3a8 3057 * movemail.c (toplevel): Remove redundant fcntl.h.
f72adc12
EZ
3058 [!F_OK]: Provide default definitions only after including both
3059 fcntl.h and unistd.h.
3060
f678f592
DL
30612000-08-29 Dave Love <fx@gnu.org>
3062
3063 * movemail.c: Revert previous change.
3064
5b671d04
EZ
30652000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
3066
3067 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
3068
6fa86045
DL
30692000-08-28 Dave Love <fx@gnu.org>
3070
3071 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
3072 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
3073
746d9caf
AI
30742000-08-22 Andrew Innes <andrewi@gnu.org>
3075
3076 * ntlib.h (WIN32): Remove unnecessary definition.
3077 (sleep): Make argument unsigned long.
3078 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
3079
3080 * ntlib.c (sleep): Make argument unsigned long.
3081
3082 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
3083
3084 * makefile.w32-in: New file.
3085
3b541489
EZ
30862000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
3087
3088 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
3089 letter only if it is a drive letter.
3090
e5acf0ca
GM
30912000-07-14 Gerd Moellmann <gerd@gnu.org>
3092
02ce3e80 3093 * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and ymalloc.
e5acf0ca
GM
3094
3095 * etags.c (xmalloc, xrealloc): Make externally visible, for use
3096 by alloca.o.
3097
02ce3e80 3098 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
e5acf0ca 3099
4b92c49a
GM
31002000-07-10 Gerd Moellmann <gerd@gnu.org>
3101
3102 * ebrowse.c (yylex): Accept string literals with newlines in them.
3103 (process_pp_line): Handle case of string literal with newline
3104 in it in replacement text, which counts as continuing the
3105 replacement text in GNU C.
3106
831a6cb0
GM
31072000-07-02 Gerd Moellmann <gerd@gnu.org>
3108
3109 * ebrowse.c (token_string): Add missing tokens.
3110 (parm_list): Handle case of qualified pointers.
3111
53245ee2
DL
31122000-06-23 Dave Love <fx@gnu.org>
3113
3114 * ebrowse.c: Move config.h before other includes (which may use
3115 feature tests).
3116
dcbf2cd2
JM
31172000-06-14 Jim Meyering <meyering@lucent.com>
3118
3119 * grep-changelog: Fix typos in comments. Remove trailing blanks.
3120
f1c7754a
JR
31212000-06-11 Jason Rumney <jasonr@gnu.org>
3122
3123 * makefile.nt: Add targets for ebrowse.
3124
3125 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
3126 compare filenames.
3127
5f1aea9a
GM
31282000-06-06 Gerd Moellmann <gerd@gnu.org>
3129
3130 * ebrowse.c (ymalloc): Renamed from xmalloc.
3131 (yrealloc): Renamed from xrealloc.
3132
5bf244f1
DL
31332000-05-21 Dave Love <fx@gnu.org>
3134
3135 * movemail.c: Include config.h, not ../src/config.h.
3136 (Errmsg): Bump length.
3137
3138 * pop.c (ERROR_MAX): Increase to 160.
3139
ec82fb2f
GM
31402000-05-04 Gerd Moellmann <gerd@gnu.org>
3141
3142 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
3143
5c922ea7
EZ
31442000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
3145
02ce3e80
SM
3146 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
3147 Define to semi-colon.
5c922ea7 3148 (FILENAME_EQ): New macro, for comparing file names.
02ce3e80 3149 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
5c922ea7
EZ
3150 (process_file): Don't assume that fread always reads as many bytes
3151 as it was told to (DOS-style CR-LF text files fail this logic).
3152 (open_file): Allocate enough space for path->path plus the file
3153 name and the slash.
3154
6142fdcb 31552000-04-19 Dave Love <fx@gnu.org>
97052c63
DL
3156
3157 * etags.c (Texinfo_functions): New function.
3158 (lang_names): Install it.
3159 (Texinfo_suffixes): New variable.
3160
cb9215e4
GM
31612000-04-19 Gerd Moellmann <gerd@gnu.org>
3162
3163 * ebrowse.c (xmalloc, xrealloc): Rewritten.
3164 (declaration): Remove parameter IS_EXTERN.
3165 (class_definition): Remove unused variable.
3166
be0dbdab
GM
31672000-04-09 Gerd Moellmann <gerd@gnu.org>
3168
3169 * Makefile.in (INSTALLABLES): Add ebrowse.
3170 (ebrowse): New target.
3171
3172 * ebrowse.c: New file.
3173
c5aa0fc2
AS
31742000-03-29 Andreas Schwab <schwab@suse.de>
3175
3176 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
3177
d054101f
GM
31782000-03-02 Gerd Moellmann <gerd@gnu.org>
3179
07e99590 3180 * etags.c (lisp_suffixes): Add `LSP'.
d054101f 3181
880820fe 31822000-02-10 Francesco Potortì <pot@gnu.org>
71cbb895 3183
eec54bd7 3184 * etags.c (iswhite): Redefine not to consider '\0' as white
71cbb895
FP
3185 space, and use it throughout in place of isspace, thus preventing a
3186 potential signed char to int conversion problem.
10d1d0af 3187 (MSDOS): #undefine before redefining.
71cbb895 3188
880820fe 31892000-02-04 Francesco Potortì <pot@gnu.org>
71cbb895
FP
3190
3191 * etags.c (many functions): Add prototypes.
3192
97fa0cc8
DL
31932000-02-10 Dave Love <fx@gnu.org>
3194
3195 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
3196 (erlang_func): Add `static' to definitions to keep pcc happy.
3197
880820fe 31982000-01-31 Francesco Potortì <pot@gnu.org>
e4100b7f
FP
3199
3200 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
3201 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
3202 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
3203 (getenv, getcwd): Only declare them if necessary.
3204 (EMACS_NAME): New constant macro.
3205 (print_version): Use it.
3206 (P_) [__STDC__]: Macro for defining function prototypes.
e4100b7f 3207
19e262bd 32082000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
3209
3210 * etags.c [WINDOWSNT]: #include <direct.h>
3211
19e262bd 32122000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 3213
19e262bd
FP
3214 * etags.c (all functions): Made them static.
3215 (all functions): Write prototypes.
e4100b7f 3216
55e30d2a
RS
32172000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
3218
3219 * movemail.c (main): Improve error message if can't create lock file.
3220
c60ee5e7 32212000-01-28 Eric Hanchrow <offby1@blarg.net>
875c1439
GM
3222
3223 * emacsclient.c (socket_status): New function.
02ce3e80 3224 (main): If $LOGNAME or $USER exist and differ from our euid, look
875c1439
GM
3225 for a socket based on the UID associated with the name.
3226
e4936aa9
GM
32272000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
3228
3229 * emacsclient.c: Add option -a EDITOR and environment variable
3230 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
3231
f0131492 32321999-12-10 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
791a9087
GM
3233
3234 * movemail.c (popmail): Allow mailbox specifications of the
3235 form `po:username:hostname'.
3236
880820fe 32371999-11-19 Francesco Potortì <pot@gnu.org>
e2081362
FP
3238
3239 * etags.c (_GNU_SOURCE): Define only if undefined.
3240 (get_scheme): Declaration deleted.
02ce3e80 3241 (main): Error was called with an integer as second arg, instead of
e2081362
FP
3242 a char pointer.
3243 (canonicalize_filename): Bug removed.
3244
32451999-11-18 Dave Love <d.love@dl.ac.uk>
3246
3247 * etags.c (C_entries): Rename label `intoken', avoiding K&R
3248 lossage from name clash with macro.
3249
b05d3bee
GM
32501999-11-13 Gerd Moellmann <gerd@gnu.org>
3251
3252 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
3253
cb3a6c48
GM
32541999-11-03 Gerd Moellmann <gerd@gnu.org>
3255
3256 * etags.c (print_help): Change email address to send bugs to.
3257
6088b51f 32581999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
3259
3260 * etags.c: Add suffix psw for PSWrap.
3261 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
3262 (Postscript_functions): Add code for PSWrap.
3263 (Scheme_functions): Use local pointer and new get_tag function.
3264 (get_tag): New name for old get_scheme.
3265 (process_file): Do not free NULL when file does not exist.
3266 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
3267 (C_entries): Modifications that make --members tag even inside
3268 typedefs and C nested structs (one level only).
eec54bd7 3269 (consider_token): Correct a bug which prevented tagging of enum
1c478461 3270 constants.
eec54bd7 3271 (C_stab_entry): Add if, for, while, switch, return as
1c478461
FP
3272 st_C_ignore. This makes it simpler to work when cblev!=0.
3273
02ce3e80 3274 * etags.c (C_entries): Tag member function declarations when
1c478461
FP
3275 --declarations is used.
3276
3277 * etags.c (C_entries, consider_token): C++ `operator' now is
3278 tagged in most cases.
3279 As before, :: is not recognised if surrounded by spaces.
3280
3281 * etags.c (relative_filename): Account for DOS file names such
3282 that is impossible to make one relative to another.
3283
3284 * etags.c (sym_type): New st_C_extern tag.
3285 (gperf input): Use it for spotting external declarations.
a7c29764 3286 (print_help): Document the new behavior of --declarations.
1c478461
FP
3287 (fvextern): New global variable.
3288 (consider_token, C_entries): Use it.
3289
3290 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
3291 (etags_getcwd): Remove test for WINDOWSNT.
3292
3293 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
3294 foo.cgz, foo.cz, etc.
3295
3296 * etags.c (declarations): New global switch.
3297 (longopts): Describe it.
3298 (print_help): Document it.
3299 (C_entries): Use it.
3300 (process_file): Don't process a file twice.
3301
3302 * etags.c (Fortran_functions): No tags for "procedure".
3303
33041999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
3305
3306 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
3307 non-zero, returns a pointer to where the extension begins; callers
3308 changed.
3309 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
3310 were foo.c.gz.
3311
880820fe 33121999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
3313
3314 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
3315 (fvdev): New constant foperator.
3316 (consider_token): Use it to get "operator" in C++.
3317 (C_entries): Extend length of operator@ function name.
3318 (C_entries): Use foperator when necessary.
3319
3320 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
3321
3322 * etags.c (compressor): New struct for compressed files.
3323 (get_compressor_from_suffix): New function.
3324 (get_language_from_suffix): Use it. Also, semantics changed.
3325 (process_file): Consider compressed files, close file.
3326 (find_entries): Use different call arg for get_language_from_suffix,
3327 don't close file.
3328
3329 * etags.c (main): Call free_tree.
3330 (find_entries): Do not free curfile.
3331 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
3332 (prolog_pred, erlang_func, substitute): Cast strlen to int when
3333 comparing.
3334 (canonicalize_filename): Shut up compiler warning.
3335 (Perl_functions): Make tag significant.
3336
33371999-11-01 Dave Love <d.love@dl.ac.uk>
3338
3339 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
3340 (argument_type): New member at_icregexp.
3341 (lc_trans): New global.
3342 (main): Fill lc_trans. Process -c args.
3343 (add_regex): New arg determining whether to use translation table.
3344 (analyse_regex): New arg. Use it for add_regex.
3345
880820fe 33461999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
3347
3348 * etags.c (init): Cosmetic change: NULL --> '\0'.
3349 (erlang_attribute): Bug corrected (uninitialized variable).
3350 (filename_is_absolute): New function replaces absolutefn macro and
02ce3e80 3351 corrects a bug. All callers changed.
1c478461
FP
3352 (canonicalize_filename): New function.
3353 (process_file, etags_getcwd, absolute_dirname): Use it.
3354 (relative_filename, absolute_filename): Removed var shadowing.
3355 (C_entries, Pascal_functions): Add fake initializations to keep
02ce3e80 3356 compilers quiet.
1c478461
FP
3357 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
3358
3359 * etags.c (xrnew): New macro. All callers of xrealloc changed.
3360 (language): New typedef (was struct lang_entry).
3361 (curlang): New global variable.
02ce3e80 3362 (node): Typedef renamed from NODE.
1c478461
FP
3363 (linebuffer): New typedef (was struct linebuffer).
3364 (pattern): New typedef (was struct pattern). Some members added.
3365 Now used as element of a linked list.
3366 (patterns, num_patterns): Global variables deleted.
3367 (p_head): New global variable.
a64387ee 3368 (forced_lang): New global variable (replaces lang_func).
02ce3e80
SM
3369 (get_language_from_name, get_language_from_interpreter)
3370 (get_language_from_suffix): Semantics changed. All callers changed.
1c478461 3371 (last_node): New global variable.
02ce3e80
SM
3372 (free_tree, add_node, put_entries, total_size_of_entries):
3373 Change name of local vars to avoid clashes with typedef node.
1c478461
FP
3374 (number_len): Rewritten for elegance.
3375 (token): New typedef replaces TOKEN.
3376 (analyse_regex, add_regex): Rewritten for new functionality.
3377 (free_patterns): New function called from main and add_regex.
3378 (initbuffer, readline_internal, readline, grow_linebuffer):
02ce3e80 3379 Change name of local vars to avoid clashes with typedef linebuffer.
1c478461
FP
3380 (readline): Rewritten for new functionality.
3381
ecc54057 3382 * etags.c (Scheme_suffixes): New suffix ".ss".
1c478461
FP
3383 (print_help): --globals is now used for more than C-type languages.
3384 (Perl_functions): Tag global variables ("my" and "local").
3385
3386 * etags.c (print_help): Some messages clarified.
3387 (LOOP_ON_INPUT_LINES): New macro.
02ce3e80
SM
3388 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
3389 (Python_functions, Cobol_paragraphs, Pascal_functions)
3390 (Lisp_functions, Postscript_functions, Scheme_functions)
3391 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
3392 (Cobol_paragraphs, Postscript_functions, TeX_functions)
3393 (Prolog_functions, Erlang_functions): Use a local variable instead
1c478461
FP
3394 of the global variable dbp.
3395 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
3396 standard indentation.
3397
02ce3e80
SM
3398 * etags.c (Python_suffixes, lang_names, Python_functions):
3399 Python support.
1c478461 3400 (skip_spaces, skip_non_spaces): Utility functions.
02ce3e80
SM
3401 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
3402 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
3403 (prolog_pred, erlanf_func, erlang_attribute): Use them.
1c478461
FP
3404 (eat_white): Deleted.
3405
3406 * etags.c (CHAR, init): Keep into account non US-ASCII
3407 characters and compilers with default signed chars.
3408 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
3409 constructs.
ecc54057 3410 (C_stab_entry): "interface" in Java behaves like "class".
1c478461 3411
ecc54057 3412 * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
1c478461
FP
3413 (main): Put interval syntax here.
3414 (add_regex): And remove it from here.
3415
3416 * etags.c (suggest_asking_for_help): Provide a
3417 meaningful help message with and without LONG_OPTIONS.
3418
d07529f3 3419 * etags.c (<io.h>) [MSDOS]: Include it, don't include string.h.
1c478461
FP
3420 <stdlib.h, string.h>: Don't test MSDOS when including them.
3421 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
3422 (put_entries): Correctly use %ld instead of %d in printf.
3423
d07529f3 3424 * etags.c (<unistd.h>) [HAVE_UNISTD_H]: Include conditionally, else
1c478461
FP
3425 declare getcwd if HAVE_GETCWD.
3426 (consider_token): Dead break instruction removed.
3427
4ee9629e
PE
34281999-10-19 Paul Eggert <eggert@twinsun.com>
3429
3430 Add support for large files. Merge glibc 2.1.2.
1c478461 3431
4ee9629e 3432 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
d07529f3 3433 * movemail.c, pop.c:
4ee9629e
PE
3434 Do not include <stdlib.h>, as <config.h> does this now.
3435
3436 * b2m.c, emacsserver.c, etags.c, profile.c:
3437 Include <config.h> before any system include files.
1c478461 3438
4ee9629e 3439 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
d07529f3 3440 * test-distrib.c:
4ee9629e
PE
3441 (read, write, open, close): Do not undef.
3442
3443 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
3444 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
3445
3446 * getopt.h: Adopt glibc 2.1.2.
1c478461 3447
93c8d183
DL
34481999-10-15 Dave Love <fx@gnu.org>
3449
3450 * Makefile.in (pop.o): Depend on config.h.
3451
b358f91c
GM
34521999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3453
3454 * pop.c: Use "pop3" as the POP service name on all platforms,
3455 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
3456 has been the standard service name since RFC 1340 was published in
3457 July 1992, so I think it's safe to start using it by default.
3458
362bc2da
DL
34591999-09-27 Dave Love <fx@gnu.org>
3460
3461 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
3462
74e4cb59
PR
34631999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
3464
3465 * make-docfile.c (scan_lisp_file): Fix previous changes;
3466 swallow CRLF like just CR or just LF.
3467
362bc2da
DL
34681999-09-03 Richard Stallman <rms@gnu.org>
3469
3470 * make-docfile.c: Include config.h not ../src/config.h.
3471 (main, fopen, chdir): Add #undef.
3472 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
3473 (scan_lisp_file): Handle \r like \n.
3474
34751999-08-30 Andreas Schwab <schwab@gnu.org>
3476
3477 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
3478
3479 * emacsserver.c: Include <stdlib.h> if available. Don't declare
3480 errno if it's a macro.
3481
3482 * test-distrib.c: Include <unistd.h> if available.
3483
34841999-08-29 Richard Stallman <rms@gnu.org>
3485
3486 * emacsclient.c (print_help_and_exit): Mention --version.
3487
34881999-08-25 Richard M. Stallman <rms@gnu.org>
3489
3490 * emacsclient.c (decode_options): Update version output.
3491 (print_help_and_exit): Update bug report address.
3492
34931999-08-13 Richard M. Stallman <rms@gnu.org>
3494
3495 * emacsclient.c (main): Move the dynamic allocation of
3496 system_name outside of the SERVER_HOME_DIR conditional.
3497 * emacsserver.c (main): Likewise.
3498
34991999-08-10 Gerd Moellmann <gerd@gnu.org>
3500
3501 * grep-changelog: New.
3502 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
3503
35041999-07-12 Richard Stallman <rms@gnu.org>
3505
3506 * Version 20.4 released.
3507
35081999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
3509
1c478461 3510 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
3511
35121999-06-23 Dave Love <fx@gnu.org>
3513
3514 * etags.c (erlang_attribute): Fix undefined variable usage (after
3515 Potorti).
3516
86e888c2 35171999-05-02 Andrew Innes <andrewi@gnu.org>
362bc2da
DL
3518
3519 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
3520 mapped to _chsize.
3521
35221999-04-29 Richard M. Stallman <rms@gnu.org>
3523
3524 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
3525
35261999-03-30 Dave Love <fx@gnu.org>
3527
3528 * sorted-doc.c (main): Split up tables. Modify the preamble
3529 somewhat.
3530
35311999-03-05 Geoff Voelker <voelker@cs.washington.edu>
3532
3533 * makefile.nt: Remove common multiple file compilation commands.
3534
35351999-02-26 Richard Stallman <rms@gnu.org>
3536
362bc2da
DL
3537 * Makefile.in (yow): Depend on epaths.h, not paths.h.
3538
3539 * yow.c: Refer to epaths.h.
3540
35411999-02-22 Simon Josefsson <jas@pdc.kth.se>
3542
3543 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
3544
35451999-01-27 Andrew Innes <andrewi@gnu.org>
3546
3547 * makefile.nt: Do make version comparison as strings.
3548
35491999-01-25 Richard Stallman <rms@gnu.org>
3550
3551 * emacsclient.c (xmalloc): Fix previous change.
3552
35531999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
3554
3555 * emacsclient.c (xmalloc): Declare to return long.
3556
35571999-01-22 Geoff Voelker <voelker@cs.washington.edu>
3558
3559 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
3560 the case of the drive letter.
3561
35621999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
3563
3564 * emacsserver.c (main): Eliminate arbitrary limit on
3565 length of system_name.
3566
3567 * emacsclient.c (main): Eliminate arbitrary limit on
3568 length of system_name.
3569 (xmalloc): Define unconditionally.
3570
35711999-01-12 Darrin B. Jewell <jewell@mit.edu>
3572
3573 * etags.c (relative_filename): Stop backward search at beginning
3574 of string, since non-Unix systems can have absolute paths with no
3575 initial slash.
3576
35771998-12-08 Geoff Voelker <voelker@cs.washington.edu>
3578
3579 * makefile.nt: Do string comparision of _NMAKE_VER.
3580
c60ee5e7 35811998-11-03 Theodore Jump <tjump@cais.com>
362bc2da
DL
3582
3583 * makefile.nt: Compile multiple source files when possible.
3584
35851998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
3586
3587 * Makefile.in: Replace tabs with spaces
3588 when they might confuse some Make versions.
3589
35901998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
3591
3592 * emacsclient.c (main): Null-terminate system_name.
3593
3594 * emacsserver.c (main): Null-terminate system_name.
3595
35961998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3597
3598 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
3599 an error message from POP, mention that it's from POP, to
3600 distinguish it from local error messages.
3601
36021998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3603
3604 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
3605 order of messages downloaded from a POP server (e.g., if the
3606 server stores messages in mailboxes in reverse order).
3607
36081998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
3609
3610 * Version 20.3 released.
3611
36121998-08-11 Paul Eggert <eggert@twinsun.com>
3613
3614 * rcs2log: Update copyright date and bug report address.
3615 (initialize_fullname): Prefer getent if available.
3616
36171998-07-30 Paul Eggert <eggert@twinsun.com>
3618
290afd83 3619 * Makefile.in (REGEXPDEPS, regex.o):
362bc2da 3620 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 3621
362bc2da
DL
36221998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
3623
3624 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
3625
36261998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
3627
3628 * Makefile.in: Properly terminate a comment.
3629
36301998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
3631
3632 * movemail.c (sys_wait): Rename to wait.
3633
3634 * ntlib.h: Undefine _WINSOCKAPI_.
3635
3636 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
3637
36381998-05-30 Geoff Voelker <voelker@cs.washington.edu>
3639
3640 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
3641
36421998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
3643
3644 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
3645 all file i/o to be in binary mode. Include ntlib.h.
3646
36471998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
3648
3649 * make-docfile.c: Include <unistd.h> for chdir.
3650
36511998-04-25 Richard Stallman <rms@psilocin.gnu.org>
3652
3653 * etags.c (TEX_decode_env): Don't free the value getenv returns.
3654
36551998-04-17 Geoff Voelker <voelker@cs.washington.edu>
3656
3657 * makefile.nt (obj): Update with new files in src.
3658 (clean): Delete patch scratch files, optimized compilation dir.
3659
36601998-04-08 Dave Love <fx@gnu.org>
3661
3662 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
3663 Irix6, at least.
3664
36651998-04-06 Andreas Schwab <schwab@gnu.org>
3666
3667 Silence -Wimplicit:
3668 * movemail.c: Move cancelations up. Include <stdlib.h> if
3669 available.
3670 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
3671 (parse_header): Explicitly declare return type.
3672 * emacsserver.c: Include <unistd.h> if available.
3673 (main, handle_signals, perror_1, fatal_error): Explicitly declare
3674 return types. Add forward declarations.
3675 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
3676 Don't declare geteuid.
3677 (print_help_and_exit): Change return type to void. Forward
3678 declare it.
3679 * b2m.c: Include <stdlib.h> if available.
3680 (main): Explicitly declare return type.
3681
362bc2da
DL
36821998-04-03 Richard Stallman <rms@psilocin.gnu.org>
3683
3684 * etags.c (put_entries): Use %ld.
3685
3686 * b2m.c (fatal): Declare the arg.
3687
36881998-03-26 Richard Stallman <rms@psilocin.gnu.org>
3689
3690 * pop.c (pop_getline): Renamed from getline.
3691
36921998-03-05 Richard Stallman <rms@psilocin.gnu.org>
3693
3694 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
3695 for the utilities.
3696
36971998-01-23 Dave Love <d.love@dl.ac.uk>
3698
3699 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
3700 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
3701 Always make named tags.
3702 (Fortran_functions): Grok BLOCK DATA.
3703
37041998-01-23 Andreas Schwab <schwab@gnu.org>
3705
3706 * movemail.c (main): Fix interwoven brace and cpp conditional
3707 nesting.
3708
362bc2da
DL
37091997-12-03 Paul Eggert <eggert@delysid.gnu.org>
3710
cb438d6e
JB
3711 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which quotes
3712 with a '>' any lines starting with "From " read from the POP server,
3713 but leave the code in place, wrapped in #ifdef
362bc2da
DL
3714 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
3715 because it turns out that something is depending on it. Change
3716 suggested by Paul Eggert <eggert@twinsun.com>.
3717 Convert the character \037 (^_) at the beginning of a line into
3718 the character '^' followed by the character '_', because otherwise
3719 Emacs can't parse the resulting file as a valid BABYL file.
3720 Change suggested by Paul Eggert <eggert@twinsun.com>.
3721
37221997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3723
3724 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
3725 server to contain embedded nulls.
3726
37271997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 3728
362bc2da
DL
3729 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
3730 quotes with a '>' any lines starting with "From " read from the
3731 POP server, but leave the code in place, wrapped in #ifdef
3732 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
3733 because it turns out that something is depending on it. Change
3734 suggested by Paul Eggert <eggert@twinsun.com>.
3735
3736 Convert the character \037 (^_) at the beginning of a line into
3737 the character '^' followed by the character '_', because otherwise
3738 Emacs can't parse the resulting file as a valid BABYL file.
3739 Change suggested by Paul Eggert <eggert@twinsun.com>.
3740
37411997-11-22 Richard Stallman <rms@gnu.org>
3742
3743 * b2m.c: Include getopt.h.
3744 (main): Use getopt_long to handle --version and --help.
3745
3746 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
3747
37481997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3749
3750 * pop.c (fullwrite): Get rid of an extra call to write. Problem
3751 pointed out by Chiaki Ishikawa.
3752
37531997-10-16 Dave Love <d.love@dl.ac.uk>
3754
ecc54057
JB
3755 * etags.c (L_getit): Always make named tags so that Emacs
3756 completion on symbols containing `:' etc. works.
3757 (get_scheme): Likewise.
362bc2da
DL
3758
37591997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3760
3761 * pop.c: Use system header files instead of declaring C-library
3762 functions explicitly.
3763
37641997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3765
3766 * Version 20.2 released.
3767
37681997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3769
3770 * Version 20.1 released.
3771
37721997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
3773
3774 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
3775
3776 * ntlib.c (getpid): Delete function.
3777
37781997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3779
3780 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
3781
37821997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3783
3784 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
3785 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
3786
37871997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3788
3789 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
3790
37911997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
3792
3793 * profile.c (get_time): Cast arg to fprintf.
3794
3795 * hexl.c (main): Use %08lx instead of %08x in printf because the
3796 variable named addresses is long.
3797
37981997-08-08 Geoff Voelker <voelker@cs.washington.edu>
3799
3800 * makefile.nt (lisp): Update paths to lisp files that have moved.
3801
38021997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
3803
3804 * makefile.nt (ctags.obj): New target.
3805 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
3806
3807 * ntlib.h: Add includes.
3808 Undo definitions of crt routines from config.h.
3809
38101997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3811
3812 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
3813
38141997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3815
3816 * pop.c: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
3817 Kerberos V5 for movemail, including detection of V4 and V5 header
3818 files and libraries.
362bc2da 3819 Include <string.h> when STDC_HEADERS is defined, to get
ecc54057 3820 declarations of string functions.
362bc2da 3821 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
ecc54057 3822 V5 API rather than the old one.
362bc2da 3823 [KERBEROS] (socket_connection): Change a constant name from
ecc54057
JB
3824 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
3825 with a constant in a header file.
362bc2da
DL
3826
3827 * Makefile.in: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
3828 Kerberos V5 for movemail, including detection of V4 and V5 header
3829 files and libraries.
362bc2da
DL
3830
38311997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3832
3833 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
3834
3835 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1c478461 3836
362bc2da
DL
38371997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3838
3839 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
3840
38411997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3842
3843 * movemail.c (rindex): Add declaration.
3844
d57727c9 38451997-07-01 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
3846
3847 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
3848 (movemail.exe): Depend upon and link with getopt files.
3849 (obj): Include new source files.
3850 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
3851 (lisp): Include new and reorganized elisp files.
3852
38531997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3854
3855 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
3856
38571997-06-25 Paul Eggert <eggert@twinsun.com>
3858
3859 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
3860
38611997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
3862
3863 * b2m.c (readline): Terminate buffer properly when EOF seen.
3864 Test for valid pointer before dereferencing it.
3865
880820fe 38661997-05-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3867
3868 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
3869 defined inside etags.c if HAVE_CONFIG_H is defined.
3870
880820fe 38711997-05-29 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 3872
ecc54057 3873 * etags.c (logical): Type name changed to bool.
362bc2da
DL
3874 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
3875 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
3876 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
3877 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
3878 (longopts): New long options without short counterpart are
3879 globals, members, no-globals, no-members. Regexp options are now
3880 defined conditionally to ETAGS_REGEXPS.
3881 (print_help): Updated.
3882
880820fe 38831997-05-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3884
3885 * etags.c (C_entries): Use "." instead of "::" for Java.
3886 (consider_token): is_func renamed to is_func_or_var.
3887 (C_entries): is_func renamed to funorvar.
3888 (C_entries): Initialise tok.named.
3889 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
3890 get rid of "import", "package" and "friend".
3891 (fvdef): Renamed from funcdef. Also some constants renamed. All
1c478461 3892 users changed.
362bc2da
DL
3893 (C_entries): Make separate tags for variables separated by comma.
3894 (globals, members): New flags.
3895 (main, C_entries): Use them.
3896 (make_C_tag, C_entries): Make tok a global variable.
1c478461 3897
880820fe 38981997-05-16 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3899
3900 * etags.c (funcdef): New vignore constant.
3901 (consider_token, C_entries): Use it to tag global variables.
3902 (print_help): Update for global variables.
3903 (consider_token, C_entries): Set the len member of token_name.
3904 (prolog_pred): Cleanup according to GNU coding standards.
3905 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
3906 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
3907
880820fe 39081997-05-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3909
3910 * etags.c (CHARS, CHAR): New constant and macro.
3911 (iswhite, begtoken, intoken, endtoken): Use them.
3912 (notinname, _nin, nonam): New macro, array, string.
3913 (init): Cleanup and init _nin.
3914 (new_pfnote): New function.
3915 (make_C_tag) [traditional_tag_style]: Use it.
10d1d0af 3916 (traditional_tag_style): Constant set to TRUE for now.
362bc2da 3917
880820fe 39181997-05-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3919
3920 * etags.c (C_entries, Pascal_functions): Cleanup.
3921 (TeX_functions): NULL as a function arg needs a cast.
3922 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
3923
880820fe 39241997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3925
3926 * etags.c (TeX_functions): Cleaned up.
3927 (tex_getit): Removed.
3928
39291997-05-13 Paul Eggert <eggert@twinsun.com>
3930
3931 * rcs2log (files): When computing arguments automatically, ignore
ecc54057 3932 non-files within the RCS subdirectory.
362bc2da 3933
880820fe 39341997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3935
3936 * etags.c (C_JAVA): New #define.
3937 (Cjava_suffixes): .java is Java.
3938 (Cjava_entries): New function.
3939 (lang_names): Add Java.
3940 (sym_type): Add st_C_javastruct for Java.
3941 (C_stab_entry): Add `extends' and `implements' keywords.
3942 (consider_token, C_entries): Recognise Java structures.
3943
880820fe 39441997-05-12 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 3945
ecc54057 3946 * etags.c (Cplusplus_suffixes): .pdb is Postscript with C syntax.
362bc2da
DL
3947 (Postscript_suffixes): .ps is Postscript.
3948 (lang_names): Add Postscript.
3949 (Postscript_functions): New function.
3950 (TEX_decode_env): Close minor memory leak.
3951 (just_read_file): Correct the char number of the tag.
3952
39531997-05-11 Paul Eggert <eggert@twinsun.com>
3954
3955 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
ecc54057
JB
3956 Don't prepend $nl since this causes some shells to generate the
3957 empty string when IFS is $nl.
362bc2da 3958 (printlogline): Use SOH (octal code 1), not CR, since some
ecc54057 3959 PC-based shells mishandle CR.
362bc2da
DL
3960 (initialize_fullname): Set NIS_PATH to the empty string before invoking
3961 nismatch, in case it's set to some nonstandard value.
1c478461 3962
362bc2da
DL
39631997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3964
3965 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
3966 read in separate blocks.
3967
880820fe 39681997-04-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3969
3970 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
3971 (struct linebuffer): New member `len' is the length of the string.
3972 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
3973 Use it instead of strlen.
3974 (TEX_getit): Declare and define unconditionally as static.
3975 (TeX_functions): Use if instead of #if TeX_named_tokens.
3976 (add_regex): Set RE_INTERVALS flag for regex compilation.
3977 (substitute): Code cleanup.
3978 (readline_internal): Code cleanup, set new member `len'.
3979 (readline): Bug corrected.
3980
39811997-04-23 Geoff Voelker <voelker@cs.washington.edu>
3982
3983 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
3984 (obj): Change references of nt*.c files to w32*.c files.
3985
880820fe 39861997-04-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3987
3988 * etags.c (xnew): Add support for debugging with chkmalloc.
3989 (error): Use this instead of printf whenever possible.
3990 (main): Only call xnew after having initialised progname.
3991 (substitute): Bad memory corruption error corrected.
3992
880820fe 39931997-04-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3994
3995 * etags.c (add_regex): Undo previous change.
3996 (relative_filename): Small memory leak closed.
3997 (absolute_filename): Cleaned up the code, possibly closing a bug.
3998 (absolute_dirname): Always return a newly allocated string.
1c478461 3999
362bc2da
DL
40001997-03-21 Paul Eggert <eggert@twinsun.com>
4001
4002 * rcs2log (files): Ignore files in RCS directory whose names are
ecc54057
JB
4003 of the form ,*, or *_; they are probably RCS lock files.
4004 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
362bc2da
DL
4005 they are used by rcsfreeze.
4006
880820fe 40071997-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 4008
2f2c687b 4009 * etags.c (add_regex): Reset *putbuf before using it.
362bc2da
DL
4010
40111997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4012
4013 * movemail.c (popmail): Remove some unnecessary function
4014 declarations.
4015 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
4016 into pop_retr, there's no reason to pass in mbx_write, and the
4017 file argument can be declared FILE * explicitly. This fixes a
4018 compilation problem on systems with 64-bit pointers.
4019
40201997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4021
4022 * movemail.c: Delete duplicate inclusion of fcntl.h
4023 and duplicate #undefs of open, read, write, close.
4024
40251997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4026
4027 * movemail.c (main): Do not display "[POP-password]" in the usage
4028 message when movemail is compiled without POP support.
4029 (main, popmail): Add the optional "-p" argument, which causes
4030 movemail to leave mail in the inbox after copying it into the
4031 output file.
1c478461 4032
362bc2da
DL
4033 * Makefile.in (movemail): Link with getopt.
4034
40351997-01-20 Paul Eggert <eggert@twinsun.com>
4036
ecc54057 4037 * rcs2log (--help, --version): New options, per GNU coding standards.
362bc2da
DL
4038 (Copyright, Help, Id): New variables, for above.
4039 (rlog): Use -q option with cvs log, to avoid useless chatter.
4040
4041 Treat logs of "Initial revision" (RCS) or "file F was initially added
4042 on branch B." (CVS) as if they said "New file.", for consistency with
4043 change log entries.
4044
40451997-01-01 Paul Eggert <eggert@twinsun.com>
4046
4047 * vcdiff (PATH): Add /usr/xpg4/bin,
4048 where XPG4 SCCS hangs out in Solaris 2.5.
4049 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
4050
40511996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4052
4053 * etags.c (streq, strneq): Use == NULL rather than !.
4054
40551996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
4056
4057 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
ecc54057 4058 (movemail): Use LIBMAIL, to link against -lmail.
362bc2da
DL
4059
4060 * movemail.c: Include maillock.h (conditionally).
4061 Remove a redundant inclusion of <stdio.h>.
4062 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
4063 (main): Add variable spool_name.
4064 Support the usage of maillock and mailunlock to
ecc54057 4065 lock and unlock mailboxes.
362bc2da
DL
4066 (mail_spool_name): New function.
4067
4068 * movemail.c: Fix an uninitialized variable which could cause
ecc54057
JB
4069 movemail to exit with an error status incorrectly on systems which
4070 use lock files rather than a system locking function to lock
4071 mailboxes.
362bc2da
DL
4072
40731996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4074
4075 * pop.c (socket_connection): Free realhost after using it.
4076
880820fe 40771996-12-04 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4078
4079 * etags.c (C_entries): Test tok.valid. This handles some
4080 particular cases involving function declarations that failed.
4081
40821996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 4083
362bc2da
DL
4084 * pop.c (socket_connection):
4085 gethostbyname may return a pointer to static data.
4086 krb_realmofhost can clobber it. So copy it.
4087
880820fe 40881996-11-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4089
4090 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
4091 must cast it to (char *) because we have no prototypes.
4092 (make_C_tag): Macro deleted, new function.
4093 (C_entries): Calls to make_C_tag macro changed to call function.
4094
880820fe 40951996-11-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4096
4097 * etags.c (grow_linebuffer): New function.
4098 (GROW_LINEBUFFER): Macro deleted. All callers changed.
4099 (make_tag): Macro renamed to make_C_tag. All callers changed.
4100 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
4101 (Prolog_functions): prolog_skip_comment was called with wrong
4102 number of arguments.
6088b51f 4103 (xrealloc): fatal was called with wrong number of arguments.
362bc2da 4104
880820fe 41051996-11-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4106
4107 * etags.c (relative_filename): Bug corrected.
4108 (etags_getcwd): Avoid warning of unused variable.
4109 (C_entries, consider_token): Added support for enum labels.
4110
41111996-11-03 Paul Eggert <eggert@twinsun.com>
4112
4113 * rcs2log: When processing cvs log output, remove `Attic/' from
ecc54057 4114 repository file names.
362bc2da
DL
4115
41161996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
4117
4118 * emacsserver.c: Fix 1996-09-02 change.
4119
41201996-10-12 Paul Eggert <eggert@twinsun.com>
4121
4122 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
ecc54057 4123 option', since CVS says 'invalid option'.
362bc2da
DL
4124 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
4125 revisions, since some hosts reject 1970-01-01 when east of UTC.
4126 (date): Remove.
4127
41281996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4129
4130 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
4131
880820fe 41321996-10-02 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4133
4134 * etags.c (print_version): Print copyright info.
4135
4136 * etags.c (print_help): Print the bug reporting address.
4137 (main): Use return as the last instruction, instead of exit.
4138
4139 * etags.c (main): Don't open the tags file in cxref mode.
4140
41411996-09-29 Dave Love <d.love@dl.ac.uk>
4142
4143 * rcs2log (date): Make default format acceptable to CVS post v1.8
ecc54057 4144 as well as earlier CVSs and RCS.
362bc2da
DL
4145
41461996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4147
4148 * movemail.c (main): If the lock call fails with EBUSY or
4149 EAGAIN, retry a few times.
4150
41511996-09-25 Paul Eggert <eggert@twinsun.com>
4152
4153 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
ecc54057 4154 whether to append -zLT.
362bc2da
DL
4155
41561996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4157
4158 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
4159 * emacsclient.c, movemail.c: Likewise.
4160
41611996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4162
4163 * emacsclient.c (longopts): Change nowait to no-wait.
4164 (print_help_and_exit): Fix option name; upcase metavars.
4165
41661996-09-06 Erik Naggum <erik@naggum.no>
4167
4168 * emacsserver.c (main): Declare `fromlen' as size_t.
4169
41701996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
4171
4172 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
4173
41741996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4175
4176 * emacsclient.c (quote_file_name): Quote with &, not \.
4177 Quote `-' only at start of file name. Terminate the value string.
4178
4179 * emacsserver.c: Include signal.h properly;
4180 delete the duplicate includes for it.
4181
4182 * emacsserver.c: On fatal signal, delete socket-file:
4183 * emacsserver.c: Include signal.h.
ecc54057 4184 (xmalloc, fatal, error): New functions.
362bc2da
DL
4185 (delete_socket, handle_signals): New functions.
4186 (progname, socket_name): New variables.
194d44e7 4187 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
362bc2da
DL
4188
41891996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4190
4191 * emacsclient.c (quote_file_name): New function.
4192 (main, both versions): Use quote_file_name.
4193 (decode_options): Don't return a value.
4194 (main, both versions): Use optind.
4195 Don't check for -nowait here.
1c478461 4196
362bc2da
DL
4197 * emacsclient.c (decode_options): New function.
4198 (main, both versions): Call decode_options.
4199 (print_help_and_exit): New function.
4200 (VERSION): New macro.
4201
4202 * Makefile.in (emacsclient): Link with getopt.
4203 Add -DVERSION so emacsclient knows its version number.
4204
42051996-08-31 Geoff Voelker <voelker@cs.washington.edu>
4206
4207 * makefile.nt (lisp): Include dos-nt.elc.
4208
42091996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4210
4211 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
4212
42131996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4214
4215 * emacsclient.c (both versions): Handle -nowait and --nowait
4216 by sending data to the server.
4217
42181996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4219
4220 * Makefile.in (INSTALL_STRIP): New variable.
4221 (${archlibdir}): Use INSTALL_STRIP.
4222
4223 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
4224 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
4225
4226 * pop.c: Reverse conditional in previous change.
4227
42281996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4229
4230 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
4231
42321996-08-24 Paul Eggert <eggert@twinsun.com>
4233
4234 * rcs2log: Use ISO 8601 date format, with time zone appended
4235 if change-log-time-zone-rule is non-nil, instead of
4236 traditional Unix date format.
4237
4238 (datearg): When computing default from ChangeLog, handle ISO format
4239 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
4240 Don't worry about hh:mm:ss since the resolution is now by day.
10d1d0af 4241 Use empty datearg, not empty rlog_options, to decide whether to pass
362bc2da
DL
4242 "$datearg" option to $rlog.
4243 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
4244 (month_data): Remove `mo'; no longer needed.
10d1d0af 4245 (rlog_options): Use -zLT for localtime output, if `rlog' supports it.
362bc2da
DL
4246
4247 Match `revision' line of rlog output more accurately.
4248
4249 Add -c, -v options.
4250
42511996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
4252
4253 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
4254
42551996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4256
4257 * Version 19.33 released.
4258
42591996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4260
4261 * Version 19.32 released.
4262
42631996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
4264
4265 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
4266 computing character positions in source files.
4267
42681996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
4269
4270 * makefile.nt (clean): Use OBJDIR macro.
4271
42721996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4273
4274 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
4275
c60ee5e7 42761996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
362bc2da 4277
ecc54057 4278 * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
362bc2da
DL
4279 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
4280 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
4281
42821996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
4283
4284 * ntlib.h: Correct return type of getwd.
4285 * ntlib.c (getwd): Correct return type.
4286
42871996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4288
4289 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
4290 to infile.
4291
42921996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
4293
4294 * makefile.nt: Remove all references to wakeup.
4295
880820fe 42961996-06-28 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4297
4298 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
4299 explicit, mutable, typename.
4300
43011996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4302
4303 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
4304 streams, one for sending and one for reading the reply.
4305
43061996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4307
4308 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
4309 (wakeup): Target deleted.
4310 (UTILITIES): Delete wakeup and timer.
4311
4312 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
4313
43141996-06-11 Geoff Voelker <voelker@cs.washington.edu>
4315
4316 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
4317 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
4318
43191996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4320
4321 * etags.c (main): Copy cwd when appending slash.
4322
43231996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
4324
4325 * Version 19.31 released.
4326
880820fe 43271996-05-17 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4328
4329 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
4330 (Pascal_functions): Increase linecharno by the correct number of
4331 chars, inline the GET_NEW_LINE macro and delete its definition.
4332
c60ee5e7 43331996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
4334
4335 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
4336
c60ee5e7 43371996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
4338
4339 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
6088b51f 4340 (movemail.exe, fakemail.exe): Now built under Win32.o.
362bc2da
DL
4341
4342 * ntlib.c: Include ntlib.h.
4343 (nt_sleep): Rename to sleep.
4344 (getwd): Return directory.
4345 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
4346 sys_ctime, sys_fopen): New functions.
4347
4348 * ntlib.h: New file.
4349
43501996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
4351
4352 * pop.c (SEND, RECV): Renamed from send, recv.
4353 (pop_open, pop_trash): Make the trash_started code unconditional.
4354 (socket_connection): Delete casts to void.
4355
43561996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
4357
4358 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
4359 copied from lisp.h.
4360
43611996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
4362
4363 * fakemail.c [WINDOWSNT]: Include ntlib.h.
4364
4365 * hexl.c [DOSNT]: Include fcntl.h.
4366 [WINDOWSNT]: Include io.h.
4367 (main) [MSDOS]: Change conditional to DOS_NT.
4368
4369 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
4370 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
4371 [WINDOWSNT]: Include locking.h.
4372 (main): Update usage message. Use IS_DIRECTORY_SEP.
4373 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
4374 (main) [WINDOWSNT]: Invoke locking instead of flock.
4375 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
4376 (main) [MAIL_USE_POP]: Pass password to popmail if used.
4377 Include winsock.h; don't include unix inet headers.
4378 (popmail): Add password argument and pass it to pop_open.
4379 Open output file in binary mode.
4380
4381 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1c478461 4382 Macro SOCKET_ERROR undefined.
362bc2da
DL
4383 Don't declare h_errno.
4384 [!WINDOWSNT]: Define macros recv and send.
4385 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
4386 (pop_open) [WINDOWSNT]: Initialize trash_started.
4387 (have_winsock) [WINDOWSNT]: New variable.
4388 (socket_connection) [WINDOWSNT]: Initialize winsock.
4389 (socket_connection): Use closesocket instead of close.
4390 (getline): Use recv instead of read.
4391 (fullwrite): Use send instead of write.
4392 (pop_trash): Use closesocket instead of close.
4393 (pop_trash) [WINDOWSNT]: Cleanup winsock.
4394 Check if being called recursively by sendline.
4395
4396 * pop.h (struct _popserver): New field trash_started.
4397
4398 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
4399
44001996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4401
4402 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
4403
44041996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4405
4406 * etags.c [WINDOWSNT]: Include io.h.
4407
44081996-04-10 Geoff Voelker <voelker@cs.washington.edu>
4409
4410 * makefile.nt (CTAGSOBJ): Compile with regexp support.
4411
44121996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
4413
4414 * hexl.c [DJGPP v2]: Include io.h.
4415 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
4416
4417 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
4418 DJGPP v2.
4419
44201996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4421
4422 * etags.c (absolute_filename): Use absolutefn.
4423
44241996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
4425
4426 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
4427 letter isn't an alphabetic character.
4428 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
4429 (process_file) [DOS_NT]: Convert all slashes to forward style.
4430 (absolute_filename) [DOS_NT]: Emit error message for relative
4431 paths with a drive letter.
4432 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
4433 DOS/NT drive letters which try to reference the parent of the root.
4434 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
4435
44361996-03-27 Geoff Voelker <voelker@cs.washington.edu>
4437
4438 * makefile.nt: Change uses of del to $(DEL).
4439
880820fe 44401996-03-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4441
4442 * etags.c (just_read_file): Reset lineno and charno on entry.
4443
44441996-03-15 Anders Lindgren <andersl@csd.uu.se>
4445
4446 * etags.c: Prolog language totaly rewritten.
ecc54057 4447 (Prolog_functions): Rewritten from scratch.
362bc2da 4448 (skip_comment, prolog_getit): Removed.
ecc54057
JB
4449 (prolog_skip_comment): New function, like old skip_comment.
4450 (prolog_pred, prolog_atom, prolog_white): New functions.
4451 (erlang_func, erlang_attributes): Forward declarations added.
4452 (erlang_atom): Check if backslash ends line inside quoted atom.
362bc2da 4453
880820fe 44541996-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4455
4456 * etags.c (absolutefn): DOS_NT version corrected.
4457 (main): Append "/" to the dir name only if not already there.
4458 (print_help): Explain the absolute/relative file name issue.
1c478461 4459
362bc2da
DL
44601996-03-08 Anders Lindgren <andersl@csd.uu.se>
4461
10d1d0af
JB
4462 * etags.c: New Language Erlang added.
4463 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom)
4464 (erlang_white): New functions.
362bc2da
DL
4465 (Erlang_suffixes): New suffix list.
4466 (lang_names): Erlang entry added.
4467 (prolog_getit): Accepts headers spanning several lines.
4468 Always name tags.
4469 (Prolog_functions): Removed incorrect compensation for
4470 newline characters.
4471 (readline_internal): Zero-terminate last line.
4472
44731996-03-20 Mike Long <mike.long@analog.com>
4474
4475 * b2m.c (main): Initialize progname variable before using it.
4476 Quote `username' in From_ header.
4477
44781996-03-18 Geoff Voelker <voelker@cs.washington.edu>
4479
4480 * ntlib.c (getpid): New function.
4481
44821996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4483
4484 * emacsclient.c (main, both definitions):
4485 Print a newline for normal termination.
4486
44871996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
4488
4489 * tcp.c (main): Convert port to network byte order.
4490
44911996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
4492
4493 * pop.c (pop_retrieve, getline): Avoid type clashes.
4494
44951996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
4496
4497 * etags.c (enum sym_type, anonymous enum): Delete final comma.
4498
44991996-01-15 Paul Eggert <eggert@twinsun.com>
4500
4501 * rcs2log (initialize_fullname): Add support for NIS+.
4502 (hostname): Fully qualify the default hostname with the domainname
4503 if the hostname lacks a `.'.
4504
362bc2da
DL
45051996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
4506
4507 * etags.c (consider_token): Fix typo in expression.
4508
45091996-01-04 Paul Eggert <eggert@twinsun.com>
4510
4511 * etags.c (substitute): Fix spelling in message.
4512
45131996-01-03 George V. Reilly <georger@microcrafts.com>
4514
4515 * makefile.nt (etags, ctags): Compile with regexp support.
4516 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
4517 subdirectory exists before compiling.
1c478461 4518
362bc2da
DL
45191996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
4520
4521 * emacsserver.c (main): Do chmod based on existing permission.
4522
45231995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4524
4525 * Makefile.in (install): Turn on read/execute permission.
4526
45271995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4528
4529 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
4530 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
4531
45321995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4533
4534 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
4535
880820fe 45361995-12-07 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
4537
4538 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
4539 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
4540 get_scheme, prolog_getit): Name the tag in ctags mode.
4541 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
4542 (Perl_interpreters): Accept "@PERL@" as an interpreter.
4543 (suggest_asking_for_help): New function.
4544 (main, get_language_from_name): Use suggest_asking_for_help.
4545 (main): Let get_language_from_name make language existence check.
4546 (streq, strneq): Check the arguments #if DEBUG.
4547
880820fe 45481995-12-06 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
4549
4550 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
4551 (gperf): Added keywords for Objective C and GNU macros.
4552 (sym_type): Added values to account for Objective C and GNU macros.
4553 (begtk): The '@' character can start a token.
4554 (objdef, methodlen, objtag): New variables for Objective C.
4555 (consider_token, C_entries): Added code for Objective C.
4556 (plain_C_suffixes): Add .m and .lm for Objective C.
4557 (Yacc_suffixes): Add .ym for Objective yacc.
4558 (GROW_LINEBUFFER): New macro.
4559 (consider_token, C_entries, Pascal_functions): Use the new macro.
4560 (consider_token): Take one more argument. Caller changed.
4561 (consider_token): Use the hashing function to spot GNU macros.
4562 (C_entries): Consider // as a comment start even in plain C for
4563 the sake of Objective C parsing.
4564
880820fe 45651995-12-04 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da 4566
2f2c687b 4567 * Makefile.in (ctags): Depend on etags only for simplicity;
ecc54057 4568 compile with regexp support enabled.
362bc2da
DL
4569
45701995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4571
4572 * Version 19.30 released.
4573
45741995-11-22 Geoff Voelker <voelker@cs.washington.edu>
4575
4576 * makefile.nt (DOC, clean): Don't use switches to del not
4577 supported by Windows 95.
4578
45791995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4580
4581 * Makefile.in (regex.o): Depend on ../src/config.h.
4582
45831995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4584
4585 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
4586 (LOADLIBES): Use LIB_STANDARD.
4587
45881995-11-07 Kevin Gallo <kgallo@microsoft.com>
4589
4590 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
4591 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
4592 Windows 95 conditional.
4593
880820fe 45941995-11-06 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4595
4596 * etags.c (get_lang_from_name, get_lang_from_interpreter,
4597 get_lang_from_suffix): New functions.
4598 (get_language): Function deleted.
4599 (lang_entry): Two members added to struct.
4600 (lang_names): Reflect the new layout of lang_entry.
4601 (print_language_names, main, find_entries): Use the new functions.
4602 (find_entries): Look at the first line for #! if no language.
4603 (C_entries): Invalidate the token when funcdef is reset.
4604 (Perl_functions): New function.
4605 (lang_suffixes): .pl and .pm are Perl suffixes.
4606
880820fe 46071995-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4608
4609 * etags.c (lowcase): Use the standard tolower function.
4610 (substitute): Remove some wrong and some useless code related with
a64387ee 4611 escape '\' character in regexp replacement string.
362bc2da
DL
4612 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
4613 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
4614 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
4615 .prolog for prolog (.pl removed).
4616 (massage_name, etags_getcwd): Use lowcase instead of tolower.
4617 (C_entries, find_entries): Added comments about memory leakage.
4618 (add_node): Dead code removed.
4619
46201995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4621
4622 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
4623 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
4624
46251995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4626
4627 * test-distrib.c: Add #undef for open, close, read, write.
4628
46291995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4630
4631 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
4632 [! O_RDONLY]: Define it to zero.
4633 (main): Use O_RDONLY instead of explicit zero.
4634
880820fe 46351995-08-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4636
4637 * etags.c (Pascal_functions): Close comment bug corrected.
4638 (add_node): Correctly compare node file names.
4639 (Pascal_functions): Correctly allocate and free memory for tline.
4640 (pfnote): Put the definition of fp in the innermost block.
4641 (NODE): `named' member removed.
4642 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1c478461 4643 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
4644 (pfnote): `named' argument removed, all callers changed.
4645 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
4646 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1c478461 4647 removed from pfnote call, some code cleanup.
362bc2da
DL
4648 (relative_filename): Free temporary space allocated by concat.
4649
46501995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4651
4652 * Makefile.in (getdate.c): New target.
4653 (getdate.o): Just compile getdate.c.
4654
46551995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
4656
4657 * fakemail.c (xrealloc): Change cast to match return type.
4658
46591995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4660
4661 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
4662
46631995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4664
4665 * movemail.c (main): Fix previous change.
4666 Add error check for empty OUTNAME.
4667
46681995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4669
4670 * movemail.c (main): Mention lock file name in error message.
4671
46721995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4673
4674 * profile.c (gettimeofday): New function, defined if necessary.
4675
46761995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4677
4678 * Makefile.in: Renamed from Makefile.in.in.
4679 (distclean): Delete Makefile.c, not Makefile.in.
4680
46811995-07-17 Michael Shields <shields@tembel.org>
4682
4683 * Makefile.in.in (tags): Synonym for `TAGS'.
4684
46851995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4686
4687 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
4688 configure has already set $(INSTALL) to the proper relative path.
4689
362bc2da
DL
46901995-07-08 Paul Eggert <eggert@twinsun.com>
4691
4692 * rcs2log (datearg): Separate date from time with comma, not space,
4693 to work around CVS 1.5 bug.
4694 (CVSROOT): Don't abort when unset if repository is absolute.
4695
46961995-07-07 Paul Eggert <eggert@twinsun.com>
4697
4698 * rcs-checkin, rcs2log, vcdiff:
4699 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
4700 that interpret `#! /' as a 4-byte magic number.
4701
47021995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
4703
4704 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
4705 mailbox with "po:mailbox", the mailbox is everything after the
4706 "po:" prefix.
4707
47081995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4709
4710 * emacsserver.c: Make all error messages start with `Error: '.
ecc54057 4711 (fatal_error, perror_1): New functions, use throughout.
362bc2da
DL
4712
47131995-06-28 Paul Eggert <eggert@twinsun.com>
4714
4715 * rcs2log (CVSROOT, repository):
4716 Allow remote repositories a la CVS 1.4.
4717
880820fe 47181995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4719
2f2c687b
JB
4720 * etags.c (plain_C_entries): New function.
4721 (lowcase): New macro.
4722 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
4723 (lang_suffixes): New suffix ".pc" for Pro*C files.
4724 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
4725 (tail): Look for the end of the token when comparing.
4726 (takeprec): Since now tail behaves differently, use strneq.
362bc2da
DL
4727
47281995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4729
4730 * movemail.c (main): Add newline in usage message.
4731
47321995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4733
4734 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
4735
880820fe 47361995-06-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4737
4738 * etags.c (find_entries): Rewind before rereading the input file.
4739
47401995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4741
4742 * Version 19.29 released.
4743
4744 * make-docfile.c (main) [MSDOS]: Do set _fmode.
4745 This undoes part of the previous change.
4746
47471995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4748
4749 * make-docfile.c (main): On MSDOS, don't change stdout
4750 to binary, and insist on an -o option.
4751
47521995-06-13 Geoff Voelker <voelker@cs.washington.edu>
4753
4754 * etags.c (process_file,absolute_filename): Handle filenames
4755 starting with a drive letter.
4756
4757 * makefile.nt (install): Copy wakeup.exe properly.
4758
47591995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
4760
4761 * make-docfile.c [MSDOS]: #undef chdir.
4762
47631995-06-04 Paul Eggert <eggert@twinsun.com>
4764
4765 * rcs2log (output_authors): Allow ':' in time zone,
4766 as per ISO 8601 and RCS 5.6.8 beta.
4767
880820fe 47681995-05-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4769
4770 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
4771 compatibility problems.
4772
47731995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
4774
4775 * etags.c (etags_getcwd): Don't use #elif.
4776 Have just one function body.
4777
47781995-05-25 Geoff Voelker <voelker@cs.washington.edu>
4779
4780 * makefile.nt (LIBS): Use BASE_LIBS.
4781 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
4782 upon LIBS.
4783 (DOC): Use del instead of rm.
4784 (DOC) [WINDOWS95]: Use DOC.
4785 (clean): Handle MSVC aux files.
4786 (config.h,paths.h): Use $(CP) instead of cp.
4787 (config.h): Use $(CONFIG_H)
4788 (make-docfile.obj): Depend upon config.h.
4789 Clean up comments.
4790
880820fe 47911995-05-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4792
4793 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
4794 former gives the true path even in the presence of simlinks.
4795
47961995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4797
4798 * movemail.c (main): Increase lock timeout to five minutes.
4799
48001995-05-06 Geoff Voelker <voelker@cs.washington.edu>
4801
4802 * makefile.nt (obj): Use .c files.
4803
48041995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4805
4806 * make-docfile.c: Include config.h.
4807 (NO_SHORTNAMES): New definition.
4808 (xmalloc): Return long *.
4809
4810 * etags.c (C_entries): Cast result of xrealloc.
4811 (xmalloc, xrealloc): Declare them to return long *.
4812
4813 * b2m.c (xmalloc, xrealloc): Declare them long *.
4814
4815 * movemail.c (xmalloc): Declare it to return long *.
4816
48171995-04-30 Paul Eggert <eggert@twinsun.com>
4818
4819 * rcs2log (datearg): If rlog options are specified explicitly,
4820 omit the implicit '-d>DATE' option.
4821 (repository, rlog): Allow absolute paths to CVS repositories.
4822 Look only at the first line of CVS/Repository.
4823
48241995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
4825
4826 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
4827 realclean.
4828
48291995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4830
4831 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
4832 Alternative (empty) definitions.
4833
48341995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4835
4836 * emacsclient.c (main): Add argv[0] to an error message.
4837
48381995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
4839
4840 * emacsclient.c (main): Improve error handling.
4841 * cvtmail.c (main, skip_to_lf): Improve error handling.
4842 (sysfail): New function.
4843
4844 * b2m.c (main): Check for trailing ", " before trying to delete it.
4845
48461995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4847
4848 * Makefile.in.in (all): Build test-distrib and make-docfile.
4849
4850 * make-docfile.c (scan_c_file): At end, restore file name last char
4851 to its original value.
4852
48531995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4854
4855 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
4856
48571995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4858
4859 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
4860 (alloca.o, regex.o): Use BASE_CFLAGS.
4861
48621995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4863
4864 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
4865
48661995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
4867
4868 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
4869 (SOURCES, distclean): Removed obsolete references to aixcc.
4870
48711995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4872
4873 * aixcc.lex: File deleted--surely obsolete now.
4874
48751995-03-23 Paul Eggert <eggert@twinsun.com>
4876
4877 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
4878 portability to mawk and nawk.
4879
48801995-03-21 Paul Eggert <eggert@twinsun.com>
4881
4882 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
4883 -u "login<tab>fullname<tab>mailaddr".
4884
48851995-03-21 Paul Eggert <eggert@twinsun.com>
4886
4887 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
4888 replaces the (now obsolescent) -n login fullname mailaddr option.
4889 Add -R option for recursive rlog.
07655e62 4890 (AWK): New environment variable (default `awk') for awk program name.
362bc2da
DL
4891 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
4892 Quote authors and fullnames correctly.
4893 Don't omit path from repository root when logging CVS files.
4894
48951995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4896
4897 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
4898 even if HAVE_SYSVIPC.
4899 * emacsclient.c (main): Use getcwd if not BSD.
4900
880820fe 49011995-03-13 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4902
2f2c687b 4903 * etags.c (process_file): Free (filename) after using it.
362bc2da
DL
4904 (readline_internal): Do not access the char before start of line.
4905
880820fe 49061995-02-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4907
4908 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
4909 savetok.valid. Mark token as valid when it is initialised.
4910 (make_tag): Make token only if token is valid and reset validity.
4911 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
4912 (TOKEN): Added a new member: valid.
4913
880820fe 49141995-02-15 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4915
4916 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
4917 (main): Do not read twice the last filename in the stdin file list.
4918
880820fe 49191995-02-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4920
4921 * etags.c (C_entries): Initialise the new members of TOKEN.
4922 (C_entries): Do not allocate a new space for each token found by
4923 consider_token. Let make_tag do that instead.
4924 (make_tag): Since now TOKEN has memory of where it is taken from,
4925 this new macro substitutes both make_tag_from_new_lb and
4926 make_tag_from_oth_lb. All callers changed.
4927 (TOKEN): Add linepos and buffer members.
4928 (main): Initialise token_str.
4929 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
4930 (token_str): New global variable used by C_entries.
4931
49321995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
4933
4934 * Makefile.in.in (maintainer-clean): Renamed from realclean.
4935
880820fe 49361995-02-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4937
4938 * etags.c (pfnote): Initialise been_warned in the node.
4939 (C_entries): Removed a speed hack for the sake of clarity.
4940
880820fe 49411995-01-18 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4942
4943 * etags.c (longopts, print_help, main): Use -I as abbreviation
4944 for the --ignore-indentation option.
4945 (main): Do not print an error message for unknown options.
4946
880820fe 49471995-01-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4948
4949 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
194d44e7
JB
4950 (append_to_tagfile, typedefs, typedefs_and_cplusplus)
4951 (constantypedefs, update, vgrind_style, no_warnings)
4952 (cxref_style, cplusplus, noindentypedefs): Were int, now logical.
362bc2da
DL
4953 (permit_duplicates): Was a var, now a #define.
4954 (filename_lb): Was global, now local to main.
4955 (main): Open the tag file when in cxref mode.
4956 Use a BUFSIZ size buffer for making the shell commands.
4957 Look at the return value from the system routine.
4958 Exit when cannot open the tag file.
4959 (process_file): Open the file and pass the FILE* to find_entries.
4960 (find_entries): Now void, because does not open the file itself.
4961 (pfnote): Recovering from lack of memory does not work. Removed.
4962 Use savenstr and simplify the code.
4963 (free_tree): Only free the name space if node is named.
4964 (structtag): Now a pointer, not a fixed length array of chars.
4965 (consider_token): Don't take a token as argument. Use savenstr
4966 when saving a tag in structtag. Callers changed.
4967 (TOKEN): Structure changed. Now used only in C_entries.
4968 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
4969 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
4970 (pfcnt): Deleted. Users updated.
194d44e7
JB
4971 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme)
4972 (TEX_getit, prolog_getit): Use dinamic allocation for storing
362bc2da
DL
4973 the tag instead of a fixed size buffer.
4974
49751995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4976
4977 * movemail.c (main): Skip past the colon in inname.
4978
880820fe 49791995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4980
4981 * etags.c (pfatal): New function.
4982 (main, etags_getcwd): Use pfatal.
4983 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
4984
880820fe 49851995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4986
4987 * etags.c (Lang_function): Use void instead to declare the
4988 language functions, because many compilers are buggy.
4989 (etags_getcwd): Fix the previous fix on the #else branch.
4990 (readline_internal): Discard possible \r before \n here.
4991 (C_entries): Do not deal with \r here: undo previous fix.
4992
880820fe 49931995-01-09 Francesco Potortì (pot@fly)
362bc2da
DL
4994
4995 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
4996 functions and a macro that allow the program to work on input
4997 lines of whatever length. Copied from etags.c.
4998 (fatal): Print a fatal error message and exit.
4999 (main): Use the new functions. Fixed a bug that made a \037 char
5000 appear at the end of the output.
5001
50021995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5003
5004 * etags.c (C_entries): Ignore carriage return at end of line.
5005
50061994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5007
5008 * fakemail.c (xmalloc, xrealloc): Add casts.
5009 (add_field): Handle <...> and "..." syntax.
5010 (setup_files, get_keyword): Clean up parens and line breaks.
5011 (args_size): Likewise.
5012
50131994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
5014
5015 * yow.c: Include program name in error messages.
5016
50171994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5018
5019 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
5020 (xmalloc, fatal, error): New functions.
5021 (progname): New variable.
5022 (main): Set progname.
5023
50241994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5025
5026 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
5027 (main): If socket/mqueue name is in home dir, add in the host name.
5028 Rename .emacs_server to .emacs-server....
5029
50301994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5031
5032 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
5033
880820fe 50341994-11-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5035
2f2c687b
JB
5036 * etags.c (print_help): Print --regex usage for ctags also.
5037 (main): Use -h in addition to -H as abbreviation for --help.
362bc2da 5038
880820fe 50391994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5040
5041 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
5042 is compiled if this is defined. The new functions and variables
5043 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
5044 [VMS]: All VMS specific code previously contained in
5045 etags-vmslib.c is now included here, modified for dealing with
5046 language and regex options intermixed with filenames.
5047 (header_file): Global variable deleted.
5048 (Lang_Function): New typedef. All language parser functions
5049 changed to this new type.
5050 (string_numeric_p, substr, prestr): Functions deleted.
5051 (readline_internal): Does the job that readline did previously.
5052 (longopts): --language and --regex options added.
5053 (lang_names, lang_extensions, lang_func, print_language_names):
5054 New structures, variables and functions for choosing languages.
5055 (print_help): Help strings updated. Calls print_language_names.
5056 (argument_type, ARGUMENT): Typedefs for dealing with language and
5057 regex options intermixed with filenames.
5058 (main): Changed the way of dealing with arguments on the command
5059 line to deal with language and regex options intermixed with
5060 filenames.
5061 (get_language, default_C_entries, Cplusplus_entries,
5062 Cstar_entries, Yacc_entries, just_read_file): New functions.
5063 (find_entries): Use the new method for choosing the language.
5064 (Pascal_functions): Allow intermixing of comment styles.
5065 (prolog_getit, skip_comment): Rewritten for speed.
5066 (readline): Rewritten to deal with regexps.
5067
880820fe 50681994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5069
5070 * etags.c (<errno.h>): #include added.
5071 (etags_getcwd): Check return value from getcwd.
5072
50731994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5074
5075 * profile.c (TV1, TV2): Use EMACS_TIME as type.
5076 (get_time): Use EMACS_SUB_TIME.
5077
d57727c9 50781994-10-30 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
5079
5080 * ntlib.c: New file.
5081 * makefile.nt: New file.
5082
5083 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
5084 [WINDOWSNT]: Include the NT headers.
5085 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
5086
5087 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
5088 [WINDOWSNT]: Include some NT headers.
5089
50901994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
5091
5092 * pop.c (getline): When a search of already-read input for CRLF
5093 fails, store the fact that we've searched it and don't search it
5094 again after reading more data.
5095
5096 * pop.c (getline): When determining whether or not it's necessary
5097 to grow the input buffer, take into account the null that's stored
5098 at the end of already-read input in the buffer.
5099
880820fe 51001994-10-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5101
2f2c687b 5102 * etags.c (prestr, substr): Return a logical type.
362bc2da 5103 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
2f2c687b 5104 (consider_token): Set funcdef to fignore when a DEFUN is met.
362bc2da
DL
5105 (C_entries): Now we can use Tom Hageman patch for extern "C".
5106
51071994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5108
5109 * movemail.c: PopServer renamed to popserver throughout.
5110
51111994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
5112
5113 * etags.c: Don't declare malloc, since we include config.h.
5114 * fakemail.c: Likewise.
5115
51161994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5117
5118 * movemail.c: Don't declare malloc.
5119
51201994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
5121
5122 * rcs-checkin: Use test -r instead of < to check readability, to
ecc54057 5123 avoid syntax error.
362bc2da
DL
5124
51251994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
5126
5127 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
5128 defined, and if HAVE_CONFIG_H isn't defined, define
5129 MAIL_USE_POP always (so that this file can be included in
5130 other programs besides emacs).
5131
5132 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
5133 HAVE_CONFIG_H isn't defined.
5134
5135 * pop.c (find_crlf, getline): Instead of using strstr, use a
5136 custom function for finding CRLF.
5137 (my_strstr): Function deleted.
5138
51391994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
5140
5141 * pop.c (getline): Fix a segfault because of passing a
5142 non-null-terminated string into strstr(). Fix from
5143 djm@va.pubnix.com (David J. MacKenzie).
5144
5145 * pop.c: Don't include <string.h> and <strings.h>.
5146
5147 * pop.c: Include <des.h> before <krb.h>, rather than after. They
5148 should be interchangeable, and indeed the inclusion is done in
5149 both orders in various files in the Kerberos 4 library sources,
5150 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
5151 requires that <des.h> be included first, and I don't see any harm
5152 in changing the order.
5153
5154 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
5155 STDC_HEADERS, if they're defined. Undef open, read, write and
5156 close after including it.
5157
51581994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5159
5160 * pop.c: Fix mismatch in conditionals.
5161
5162 * make-docfile.c (main): Don't process one input file twice.
5163 Never use exit code > 1.
5164
5165 * pop.c (open, close, read, write): Add #undefs.
5166
5167 * pop.c: Don't declare malloc, realloc, free.
5168 Include ../src/config.h.
5169 Don't include string.h or strings.h.
5170 Include des.h before krb.h.
5171 Do declare my_strstr.
5172 (getline): Really use my_strstr.
5173 Leave one empty place in server->buffer,
5174 and put a null at the end of the data in it.
5175
51761994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5177
5178 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
5179 call kill with pid 0. Handle EINTR when receiving messages.
5180
51811994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
5182
5183 * Makefile.in.in (regex.o): Use full path to find regex.c.
5184
880820fe 51851994-10-17 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5186
2f2c687b
JB
5187 * Makefile.in.in (etags): Add dependency on regex.o, link with it.
5188 (REGEXPOBJ, REGEXPDEPS, regex.o): Target and macros added.
362bc2da
DL
5189
51901994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
5191
5192 * Makefile.in.in (DONT_INSTALL): Remove make-path.
5193 (${archlibdir}): Use mkinstalldirs instead.
5194
5195 * movemail.c: Make functions that return nothing void, not
5196 implicitly int.
5197 (main): Improve usage message.
5198 (error): Write to stderr, not stdout.
5199
5200 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
5201 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
5202 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
5203 variables and implicitly declared functions.
5204
52051994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5206
5207 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
5208 (distclean): Not here.
5209
5210 * Makefile.in.in (libexecdir): Renamed from libdir.
5211
880820fe 52121994-10-11 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5213
5214 * etags.c (C_entries): Name the #define's that are macros.
5215
52161994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5217
5218 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
5219 fd_set arg is a pointer, descriptor arg comes first.
5220
880820fe 52211994-09-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5222
5223 * etags.c (C_entries): Recognise typedef of ANSI style functions.
5224 (C_entries): Recognise #define inside a struct.
5225 (C_entries): ANSI tells that preprocessor commands do not have to
5226 start on the first column.
5227 (print_help): Documentation corrected for -d and -D.
5228 (white, endtk): ANSI tells the vertical tab is a separator.
5229
52301994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
5231
5232 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
5233 (pop.o, movemail.o): New targets.
5234 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
5235
5236 * pop.c, pop.h: New files.
5237
5238 * movemail.c: Improve POP code, move most of it into a separate file.
5239 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
5240 (mbx_write): Check for errors and for From line.
5241 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
5242 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
5243 (pop_init): Functions deleted.
5244
52451994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
5246
5247 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
5248 Rename path to dirname.
5249
52501994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5251
5252 * Makefile.in.in (UTILITIES):
5253 Remove test-distrib, make-docfile, make-path.
5254 (DONT_INSTALL): New variable--list those files here.
5255 (clean): Delete the files in DONT_INSTALL.
5256
52571994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5258
5259 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
5260 (main): Use fgets, not gets.
5261
52621994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5263
5264 * timer.c: Don't declare malloc.
5265
52661994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
5267
5268 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
5269 defined, use simple 32-bit versions of these macros.
5270 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
5271
c60ee5e7 52721994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
362bc2da
DL
5273
5274 * etags.c (etags_getcwd): Use getcwd if available.
5275
52761994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5277
5278 * Version 19.27 released.
5279
52801994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5281
5282 * Version 19.26 released.
5283
52841994-08-15 Paul Eggert <eggert@twinsun.com>
5285
5286 * rcs2log: Add support for CVS.
5287 Work with `rlog's that output ISO 8601 dates.
5288
52891994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
5290
5291 * rcs2log: Use <> to delimit email address.
5292
52931994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5294
5295 * emacsserver.c [SYSV_IPC] (main): Make a separate process
5296 so we can listen for multiple requests.
5297
52981994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5299
5300 * movemail.c: Include config.h first thing.
5301
53021994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5303
5304 * emacsserver.c (main): Add casts to avoid warnings.
5305
53061994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5307
5308 * Makefile.in.in (${archlibdir}): Compare the proper dir
5309 before installing the scripts.
5310
53111994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5312
5313 * emacsclient.c (main): New local var progname saves argv[0].
5314
53151994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5316
5317 * emacsclient.c (main): Don't actually modify argv[0].
5318 Modify a copy instead.
5319
53201994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5321
5322 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
5323 (tzp): Var deleted.
5324
5325 * Makefile.in.in: Add #undef alloca.
5326
53271994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5328
5329 * timer.c (xmalloc): New function.
5330
53311994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5332
5333 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
5334 (alloca.o): New target.
5335
53361994-07-08 Dave Love (d.love@dl.ac.uk)
5337
2f2c687b 5338 * etags.c (takeprec): Recognise `character*(*) function'.
362bc2da 5339
880820fe 53401994-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5341
ecc54057
JB
5342 * etags.c (main): Don't barf on obsolete -t and -T switches.
5343 (main): Print an explicative message when a switch is not known.
362bc2da
DL
5344
53451994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5346
5347 * hexl.c: Don't declare exit or perror.
5348
5349 * emacsserver.c (main): Don't declare geteuid.
5350 Don't declare getenv if convex.
5351
53521994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5353
5354 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
5355
880820fe 53561994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
5357
5358 * etags.c (absolute_filename): Remove infinite loop bug when
5359 accessing files in directories whose name begins with a dot.
5360
880820fe 53611994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
5362
5363 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
5364
53651994-06-01 Morten Welinder (terra@diku.dk)
5366
5367 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
5368 location of data directory.
5369
53701994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5371
5372 * Version 19.25 released.
5373
53741994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5375
5376 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
5377
53781994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5379
5380 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
5381
53821994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5383
5384 * Version 19.24 released.
5385
53861994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5387
5388 * make-docfile.c (write_c_args): Put `default' in upper case.
5389
53901994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5391
5392 * etags.c (etags_getcwd): Cast result of popen.
5393 (popen): Declaration deleted.
5394
53951994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
5396
5397 * etags.c [!MSDOS]: Declare popen.
5398
53991994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5400
5401 * b2m.c (main): Avoid crash if argc is 1.
5402
54031994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5404
5405 * Version 19.23 released.
5406
5407 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
5408
54091994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5410
5411 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
5412
54131994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
5414
5415 * Makefile.in.in: Fix out of date comment.
5416
54171994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5418
5419 * Makefile.in.in: Put in a separator for where to start cpp procssing.
5420 Move all autoconf substitutions above that point.
5421 Above that point, use Make-style comments.
5422 This goes with changes in ../configure.in.
5423
54241994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5425
5426 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
5427 warning message.
5428 (${archlibdir}): Don't do it here. Don't depend on blessmail.
5429
54301994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
5431
5432 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
5433
54341994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5435
5436 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
5437 print advice to run it, if it has anything significant to do.
5438 And only if MOVEMAIL_NEEDS_BLESSING.
5439 (blessmail): Use emacs, not temacs.
5440 (configuration): Renamed from configname.
5441
54421994-04-30 Morten Welinder (terra@diku.dk)
5443
5444 * etags.c (find_entries): Treat `*.cpp' as C++ files.
5445
54461994-04-30 Morten Welinder (terra@diku.dk)
5447
5448 * etags.c [MSDOS]: #include <sys/param.h> for the following.
5449 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
5450 a shell.
5451
54521994-04-29 Morten Welinder (terra@diku.dk)
5453
5454 * hexl.c [MSDOS]: Don't define proto type for exit.
5455
54561994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5457
5458 * b2m.c: Don't include string.h or strings.h.
5459
54601994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
5461
5462 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
5463 symbols, not make variables.
5464
54651994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5466
5467 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
5468 * etags.c (print_version): Print VERSION as a string.
5469
54701994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5471
5472 * fakemail.c (readline): Fix updating of p when buffer grows.
5473
54741994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
5475
5476 * Makefile.in.in (blessmail): New target.
5477 ${archlibdir}: Use blessmail when installing movemail.
5478
54791994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5480
5481 * fakemail.c (readline): When extending the buffer,
5482 calculate end afresh using the new size.
5483
880820fe 54841994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5485
2f2c687b 5486 * etags.c (main, print_help): Eliminate the -F option.
362bc2da 5487
880820fe 54881994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5489
2f2c687b 5490 * etags.c (absolute_filename): Compare against '\0' instead of NULL.
362bc2da
DL
5491
54921994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5493
5494 * Makefile.in.in: Renamed from Makefile.in.
5495 Makefile.in is now generated from it, and then preprocessed.
5496 Change comments to C syntax.
5497 Include config.h.
5498 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
5499 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
5500
55011994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5502
5503 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
5504
880820fe 55051994-04-12 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
5506
5507 * etags.c (etags_getcwd): Initialize bufsize.
5508
55091994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5510
5511 * profile.c (gettimeofday): If system doesn't have this, define it
5512 to give a fatal error.
5513
55141994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
5515
5516 * movemail.c (main): Use setuid, not seteuid.
5517
55181994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5519
5520 * etags.c: #undef static.
5521
880820fe 55221994-04-08 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5523
2f2c687b
JB
5524 * etags.c (outf, outfiledir): Renamed to tagf, tagfiledir.
5525 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs)
5526 (Scheme_funcs, prolog_funcs): Renamed to Fortran_functions,
362bc2da
DL
5527 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
5528 TeX_functions, Prolog_functions.
2f2c687b
JB
5529 (inf): No more a global variable.
5530 (C_entries): Take 2nd parameter `inf' instead of using the global one.
5531 (find_entries): Added the cp1 var for optimisation.
5532 (find_entries): Added more suffixes for assembler files.
362bc2da
DL
5533 (Asm_funcs): Now finds labels even without an ending colon.
5534
880820fe 55351994-03-30 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5536
2f2c687b
JB
5537 * etags.c (main): Use etags_getcwd for compatibility.
5538 (etags_getcwd): New function.
362bc2da
DL
5539
55401994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5541
5542 * Makefile.in (etags, ctags): Pass -D for VERSION.
5543
880820fe 55441994-03-25 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5545
2f2c687b
JB
5546 * etags.c (emacs_tags_format, ETAGS): Removed. Use CTAGS instead.
5547 (main): Don't allow the use of -t and -T in etags mode.
5548 (print_help): Don't show options enabled by default.
5549 (print_version): Show the emacs version number if VERSION is #defined.
5550 (find_entries): Add "ss" as suffix for Chez Scheme.
362bc2da 5551
880820fe 55521994-03-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5553
2f2c687b 5554 * etags.c (cwd, outfiledir): Vars added.
362bc2da
DL
5555 (relative_filename, absolute_filename, absolute_dirname):
5556 functions added to compute filenames in tags files.
2f2c687b 5557 (process_file): Filenames in tags file are relative to the
362bc2da 5558 directory where the tags file is (useful with the -o option).
2f2c687b
JB
5559 (main): Initialise the outfiledir var.
5560 (TYPEDST): Added the `tignore' value.
5561 (C_entries): Corrected various small bugs.
362bc2da
DL
5562
55631994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5564
5565 * Makefile.in (UTILITIES): `env' deleted.
5566 (env): Target deleted.
5567 * env.c: File deleted.
1c478461 5568
362bc2da
DL
55691994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5570
5571 * Makefile.in (install, ${archlibdir}): Switch back to ..
5572 before running INSTALL_PROGRAM.
5573
880820fe 55741994-03-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5575
2f2c687b
JB
5576 * etags.c (TYPEDST): Added the `tignore' value.
5577 (C_entries): Corrected various bugs, now correctly parses the
362bc2da
DL
5578 `extern "C" {' construction (patch by Tom R.Hageman).
5579
55801994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5581
5582 * b2m.c: Use <...> to include config.h.
5583 Don't include stdlib.h.
5584
177c0ea7 55851994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
362bc2da
DL
5586
5587 * b2m.c (main): Change delimiter from "^L" to "^_^L".
5588 Allow for text following "BABYL OPTIONS:".
5589 Add --help option. Use argv[0] in error messages.
5590
55911994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5592
5593 * emacsclient.c (main) [HAVE_SYSVIPC]:
5594 Make msgp->mtext longer if necessary.
5595 On HPUX, error if it's more than 512 chars.
5596
55971994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
5598
5599 * etags-vmslib.c: Use GPL.
5600 * emacstool.c: Use GPL.
5601 * fakemail.c: Update GPL.
5602
5603 * make-path.c (main): Return 1 on error, not -1.
5604 Update GPL.
5605
5606 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
5607 (xmalloc, xrealloc): Return char *, not int.
5608 (error): Write to stderr, not stdout.
5609 Update GPL.
5610
56111994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
5612
5613 * profile.c (main, get_time): Don't crash on invalid input.
5614
56151994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
5616
5617 * profile.c (get_time): Simplify; avoid calling index.
2f2c687b 5618 (main): Exit on EOF.
362bc2da 5619
880820fe 56201994-02-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5621
a64387ee 5622 * etags.c (--absolute-pathnames): Option removed.
362bc2da
DL
5623
56241994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5625
5626 * fakemail.c (put_line): Don't break the line if it all fits.
5627
880820fe 56281994-02-14 Francesco Potortì (pot@fly)
362bc2da 5629
2f2c687b
JB
5630 * etags.c (absolute_pathnames, cwd): Added global vars.
5631 (longopts, print_help, main, process_file): Put absolute filenames
362bc2da 5632 in the tag file if the -A --absolute-pathnames option is used.
10d1d0af 5633 (print_help): Alphabetically order the options.
2f2c687b 5634 (malloc, realloc, strcpy, strncpy, strcmp): Remove extern declar.
362bc2da
DL
5635
56361994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5637
5638 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
5639 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
5640
56411994-02-07 Christian Lynbech (lynbech@avignon)
5642
5643 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
5644
56451994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5646
5647 * Makefile.in (UTILITIES): Mention profile.
5648 (profile): New target.
5649
5650 * profile.c: New file.
5651
56521994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
c60ee5e7 5653
88c71720 5654 * make-docfile.c: Make the argument list output look more like the
c60ee5e7 5655 Lisp docstrings do.
88c71720 5656 (write_c_args): Take new arg FUNC. Make output
362bc2da
DL
5657 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
5658 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
5659
880820fe 56601994-01-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5661
5662 * etags.c (stab_entry, stab_create, stab_find, stab_search,
2f2c687b 5663 stab_type, add_keyword, C_reate_stab, C_create_stabs): Deleted.
362bc2da 5664 Use gperf generated hash table instead of linked list.
2f2c687b 5665 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Added.
362bc2da 5666 Mostly code generated by gperf.
2f2c687b
JB
5667 (consider_token): Removed unused parameter `lp'.
5668 (PF_funcs, getit): Allow subroutine and similar declarations
362bc2da 5669 to span multiple lines.
2f2c687b
JB
5670 (C_entries): Check for newline if inchar to avoid bus errors.
5671 (process_file, find_entries): Distinguish among nonexistent
362bc2da
DL
5672 and not regular file.
5673
56741994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5675
5676 * timer.c: Include errno.h; don't include fasync.h.
5677 (schedule): Don't return a value.
5678 (sigcatch): Reestablish the handler first.
5679 (getevent): Always call notify at the end.
5680 (notify): Defer alarms around the whole body of function.
5681
56821994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5683
5684 * timer.c (main): Don't request SIGIO, and don't handle it.
5685 Loop calling getevent.
5686 (sigcatch): Delete code to handle SIGIO.
5687 if defer_alarms is set, don't call notify, just set alarm_deferred.
1c478461 5688 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
5689 Set defer_alarms around realloc and schedule.
5690 If alarm_deferred gets set, call notify.
5691 Likewise if this event is the only pending event.
5692 Make buf and buf_size global variables.
5693 Don't malloc buf if it is already non-zero.
5694 (schedule): Just exit if run out of memory.
5695 Return the number of events.
5696 (signal) [_CX_UX]: Add #undef.
5697
56981994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5699
5700 * timer.c [USG] (SIGIO): Define as SIGPOLL.
5701 (main) [USG]: Do ioctl to enable SIGPOLL.
5702
57031994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5704
5705 * timer.c: Don't declare sys_errlist; declare strerror instead.
5706 (schedule, main): Call strerror instead of using sys_errlist.
5707 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
5708 Call strerror instead of using sys_errlist.
5709 * env.c (main): Call strerror instead of using sys_errlist.
5710 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
5711 (main): Call strerror instead of using sys_errlist.
5712 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
5713 * env.c [! HAVE_STRERROR] (strerror): Likewise.
5714 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
5715 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
5716
57171994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5718
5719 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
5720
5721 * movemail.c (malloc): Don't declare it.
5722 (xmalloc): Cast result of malloc.
5723 (strcpy): Don't declare it.
5724
57251993-11-14 Morten Welinder (terra@diku.dk)
5726
5727 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
5728 (main): Use fclose to close file opened by fopen.
5729
5730 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
5731
5732 * movemail.c [MSDOS]: #undef `access'.
5733
5734 * b2m.c (main) [MSDOS]: Open all files as binary.
5735 * etags.c (main) [MSDOS]: Open all files as binary.
5736
5737 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
5738 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
5739 with.
5740
57411994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5742
5743 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
5744 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
5745 (LINK_CFLAGS): New variable.
5746 (timer): Use LINK_CFLAGS.
5747
57481993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5749
5750 * movemail.c: Include syswait.h.
5751 Fork a subprocess and use it to copy the mail file.
5752
57531993-12-07 Richard Stallman (rms@srarc2)
5754
5755 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
5756
57571993-12-04 Richard Stallman (rms@srarc2)
5758
5759 * movemail.c (main): When making tempname, cast result of xmalloc.
5760 Include room for EXXXXXX in the size.
5761 Don't use result of strcpy.
5762
57631993-12-03 Paul Eggert (eggert@twinsun.com)
5764
5765 * vcdiff: Add --brief option.
5766
57671993-12-02 Richard Stallman (rms@srarc2)
5768
5769 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
5770 for all executables and scripts.
5771
57721993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5773
5774 * Version 19.22 released.
5775
57761993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5777
5778 * Makefile.in (mostlyclean): Make it distinct from clean.
5779
57801993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5781
5782 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
5783
57841993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5785
5786 * Version 19.21 released.
5787
5788 * Makefile.in (install): Don't change mode or group when installing.
5789
5790 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
5791
57921993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5793
5794 * make-docfile.c (read_c_string): For "", concatenate the two strings.
5795
5796 * movemail.c (main): Fix error message text.
5797
57981993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5799
5800 * Version 19.20 released.
5801
177c0ea7 58021993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
362bc2da 5803
ecc54057 5804 * etags.c (C_entries): Keep track of ()-parenthesis level so that
362bc2da
DL
5805 functions returning a pointer to a function, a la `signal', can be
5806 parsed. This also required new state `fstartlist' to `FUNCST'.
5807 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
2f2c687b 5808 (C_entries, CNL): Use it to isolate preprocessor directive processing
362bc2da 5809 from the other state engines.
2f2c687b 5810 (begtk): Add '~', for C++ class destructors.
362bc2da 5811
880820fe 58121993-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5813
2f2c687b
JB
5814 * etags.c (consider_token): Removed unused variable firsttok.
5815 (prolog_getit): Call pfnote with the right number of arguments.
362bc2da
DL
5816
58171993-10-19 Paul Eggert (eggert@twinsun.com)
5818
5819 * rcs2log (printlogline): Don't generate lines containing only
5820 white space.
5821
58221993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5823
5824 * Makefile.in (${archlibdir}):
5825 Install ${SCRIPTS} from ${srcdir}, not cwd.
5826
58271993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5828
5829 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
5830 the comment character.
5831
880820fe 58321993-10-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5833
2f2c687b 5834 * etags.c (process_file): Dead code removed.
362bc2da 5835 (S_ISREG): #define it using S_IFREG if not defined.
2f2c687b 5836 (process_file): Regular files have nothing to do with symlinks.
362bc2da 5837
f0131492 58381993-09-28 Brian J. Fox (bfox@ai.mit.edu)
362bc2da
DL
5839
5840 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
5841 from current directory. Only chmod and chgrp files that we
5842 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
5843 ${bindir}.
5844 (INSTALLFLAGS): Deleted definition, since it is an unused variable
5845 now.
5846
f0131492 58471993-09-27 Brian J. Fox (bfox@ai.mit.edu)
362bc2da
DL
5848
5849 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
5850 configure figure out the correct values for these variables.
5851
f0131492 58521993-09-14 Brian J. Fox (bfox@ai.mit.edu)
362bc2da 5853
10d1d0af 5854 * Makefile.in (archlibdir): Only install executables internally
362bc2da
DL
5855 used by emacs; don't install bindir binaries here.
5856
58571993-09-24 Paul Eggert (eggert@twinsun.com)
5858
5859 * rcs2log: Add -h, -n, -r options.
5860 By default, look for *,v files as well as RCS/*,v files.
5861 Use $TMPDIR (default /tmp) instead of /tmp.
5862
880820fe 58631993-09-20 Francesco Potortì (pot@fly)
362bc2da
DL
5864
5865 * etags.c (C_entries): is_func is initialised here instead of in
5866 consider_token for the sake of the yacc rules section.
5867 (C_entries): Now class, struct, enum, union and typedef produce
5868 named tags.
5869
58701993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
5871
5872 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
5873
58741993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5875
88c71720
KS
5876 * Makefile.in: Support configuring in a different directory when
5877 ${srcdir} has already been configured.
5878 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
5879 -I${srcdir}/../src.
362bc2da
DL
5880 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
5881 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
5882 is already in CPP_FLAGS.
5883 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
5884 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
5885
58861993-08-25 Paul Eggert (eggert@twinsun.com)
5887
5888 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
5889 otherwise, HP awk complains.
5890
5891 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
5892 are common hangouts for SCCS commands.
5893
58941993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5895
5896 * Version 19.19 released.
5897
58981993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5899
5900 * Makefile.in (make-path): Dep on config.h.
5901
59021993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5903
5904 * b2m.c (TRUE, FALSE): Don't define if already defined.
5905
59061993-08-09 Paul Eggert (eggert@twinsun.com)
5907
5908 * rcs2log (awkscript):
5909 Some sites put comma-separated junk after the fullname.
5910 Remove it, but leave "Bill Gates, Jr" alone.
5911 Remove the junk from fullnames like "0000-Admin(0000)".
5912
59131993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5914
5915 * Version 19.18 released.
5916
880820fe 59171993-08-04 Francesco Potortì (pot@spiff.gnu.ai.mit.edu)
362bc2da 5918
2f2c687b
JB
5919 * etags.c (L_isdef, L_isquote, L_getit): Small optimisations.
5920 (L_funcs): The (foo::defmumble stuff now should work.
5921 (consider_token): Function returned random value--corrected.
5922 (C_entries): Corrected == versus = typo.
362bc2da
DL
5923
59241993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5925
5926 * etags.c (put_entries): For NODE->rewritten, put pattern before
5927 \177 and name after, not vice versa.
5928
59291993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5930
5931 * timer.c (main): Generate a SIGIO as soon as we've initialized.
5932
880820fe 59331993-07-30 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5934
ecc54057 5935 * etags.c (FINCST): Added the fignore status. Means we are
362bc2da
DL
5936 after the parameter list and before the open curly brace.
5937 Allows correct parsing of C++ constructors.
2f2c687b
JB
5938 (C_entries, consider_token): Make use of fignore.
5939 (consider_token): Reset funcdef when next_token_is_func: when in
362bc2da 5940 ctags mode makes DEFVAR and others work better.
2f2c687b
JB
5941 (L_isquote): Function that recognises the "(quote" string.
5942 (L_getit): Ignore quoting via "'" or "(quote". Useful for defalias.
362bc2da
DL
5943
59441993-07-29 Paul Eggert (eggert@twinsun.com)
5945
5946 * rcs-checkin: Don't check whether a file is readable until we have
5947 decided not to ignore it.
5948
59491993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5950
5951 * Makefile.in (etags): Depend on ../src/config.h.
5952
5953 * emacsserver.c: Include types.h before file.h.
5954
59551993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5956
5957 * Makefile.in (install): Use .n, not .new, for temporary filenames.
5958
59591993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5960
ecc54057 5961 * Version 19.17 released.
362bc2da
DL
5962
59631993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5964
5965 * etags.c (print_help): Break up the very long strings containing
5966 the help message into shorter strings, to placate chintzy C
5967 compilers which can't handle strings that long.
5968
5969 * wakeup.c: Use CPP tangle from autoconf manual to #include the
5970 correct combination of <time.h> and <sys/time.h>.
5971
880820fe 59721993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5973
2f2c687b
JB
5974 * etags.c (alloca): Removed all references to it.
5975 (main): Now calls xnew instead of alloca for portability.
5976 (../src/config.h): Included only if HAVE_CONFIG_H.
5977 (const): Void definition removed--config.h takes care of it.
362bc2da 5978
880820fe 59791993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5980
2f2c687b 5981 * etags.c (consider_token): Was `==', now is `='.
362bc2da
DL
5982 (consider_token): DEFUNs now treated like funcs in ctags mode.
5983
2f2c687b
JB
5984 * etags.c (LEVEL_OK_FOR_FUNCDEF): Removed.
5985 (C_entries): Optimized the test that used LEVEL_OK_FOR_FUNCDEF.
5986 (C_entries): Removed a piece of useless code.
5987 (C_entries): Making typedef tags is delayed until a semicolon
362bc2da
DL
5988 is met. This handles "typedef int X, Y, Z;" correctly.
5989
59901993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5991
5992 * Version 19.16 released.
5993
5994 * b2m.c: #include <sys/types.h>.
5995 (ltoday): Declare this to be time_t.
5996
59971993-06-30 Paul Eggert (eggert@twinsun.com)
5998
5999 * vcdiff: Add -q option.
6000
60011993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6002
6003 * etags.c: #include "config.h" and the alloca CPP tangle before
6004 #including the system headers and getopt.h. AIX requires the
6005 #pragma to come before any actual C code.
6006
60071993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6008
6009 * Makefile.in (ctags): Depend on etags, so that parallel makes
6010 don't write etags.o files on top of each other.
6011
60121993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6013
6014 * version 19.15 released.
6015
60161993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6017
6018 * etags.c (add_node): Move var last_node to file scope.
6019
60201993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6021
6022 * Version 19.14 released.
6023
60241993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6025
ecc54057 6026 Bring mumbleclean targets into conformance with GNU coding standards.
362bc2da
DL
6027 * Makefile.in (distclean): Call clean to do most of the work.
6028 Delete aixcc.c and TAGS.
6029 (realclean): Just call distclean.
1c478461 6030
362bc2da
DL
6031 * Makefile.in: Remember, spaces are not tabs.
6032
60331993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6034
6035 * Makefile.in (CPP_CFLAGS): New variable.
6036 Use it instead of ALL_CFLAGS when compiling a .c file.
6037 (getopt.o, getopt1.o): Add explicit compilation commands.
6038
60391993-06-10 Mark D. Baushke (mdb@cisco.com)
6040
6041 * etags.c: Reinstate old -f option as an alias for -o for
6042 installed base uses.
6043
60441993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6045
6046 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
6047 to bind or accept, cast the pointer, to avoid warnings on systems
6048 which declare prototypes for this.
6049 * emacsclient.c (main): Same.
6050
6051 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
6052
60531993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6054
6055 * Version 19.13 released.
6056
6057 * wakeup.c: Include sys/types.h, too; I think that's where time_t
6058 comes from, not sys/time.h.
6059
60601993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6061
6062 * wakeup.c: Include sys/time.h.
6063
6064 * etags.c: #undef static.
6065
6066 * Version 19.12 released.
6067
6068 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
6069
60701993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6071
6072 * Version 19.11 released.
6073
6074 * timer.c [LINUX]: #undef signal.
6075 * emacsserver.c: #undef signal.
6076
60771993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6078
6079 * wakeup.c (main): Make when a time_t.
6080
60811993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6082
ecc54057 6083 * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
a64387ee 6084 `(cd foo ; pwd)' to get the canonical name of a directory; cd
362bc2da
DL
6085 might fail, and have pwd print out the current directory.
6086
6087 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
6088 string-handling functions.
6089
60901993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6091
6092 * Version 19.10 released.
6093
60941993-05-29 Paul Eggert (eggert@twinsun.com)
6095
6096 * rcs2log: When given no file arguments, inspect RCS/.* as well
6097 as RCS/*. Don't report an error if RCS is empty or nonexistent.
6098
60991993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6100
6101 * Makefile.in (timer): Link with $(LOADLIBES).
6102
61031993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6104
6105 * fakemail.c (put_line): Don't output \n\t unless more text follows.
6106
61071993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6108
6109 * etags.c: Replace the CPP tangle for alloca with the one from the
6110 autoconf documentation, since that's working elsewhere.
6111
61121993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6113
6114 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
6115 description files can find their ancestors.
6116
61171993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6118
6119 * Makefile.in (install): Get the scripts from ${srcdir},
6120 unlike the executables.
6088b51f 6121 (ALL_CFLAGS): Add -I../src.
362bc2da
DL
6122
61231993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6124
6125 * Version 19.9 released.
6126
61271993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6128
6129 * Makefile.in (install): Do install the programs listed in
6130 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
6131 INSTALLABLE_SCRIPTS, instead of writing the programs out.
6132
6133 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
6134 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
6135
61361993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6137
6138 * etags.c: Include ../src/config.h.
6139
6140 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
6141 in first loop. Delete files from bindir before installing new ones.
6142 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
6143
61441993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6145
6146 * Version 19.8 released.
6147
6148 * make-docfile.c: Doc fix.
6149
61501993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6151
6152 * tcp.c: Fix comment syntax at top of file.
6153 (main): Don't call htons with the port number.
6154
61551993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6156
6157 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
1c478461 6158 appropriate.
362bc2da
DL
6159
6160 * Makefile.in (install): Refer to the variables INSTALLABLES and
6161 INSTALLABLE_SCRIPTS, instead of writing them out.
6162
61631993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6164
6165 * make-path.c (main): Return 0.
6166
61671993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6168
ecc54057 6169 * Version 19.7 released.
362bc2da
DL
6170
61711993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6172
6173 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
6174
61751993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6176
6177 * tcp.c: New file.
6178
61791993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6180
6181 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
6182
61831993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6184
6185 * timer.c (notify): Don't call sighold or sigrelse; they're USG
6186 only. We should really fix this later, but let's just make it
6187 compile for now.
6188
6189 Install patches from David J. Mackenzie to make the srcdir option
6190 work.
6191 * Makefile.in (srcdir, VPATH): Get this value from the top-level
6192 Makefile.
6193 (INSTALLABLES): Split this into two lists - INSTALLABLES and
6194 INSTALLABLE_SCRIPTS.
6195 (INSTALLABLE_SCRIPTS): New list.
6196 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
6197 (${archlibdir}): The scripts to be installed live in the source
6198 tree, not in the object tree.
6199 (test-distrib): Note that the data file lives in the source tree,
6200 not the object tree.
6201 (GETOPTDEPS): Note that getopt.h lives in the source tree.
6202 (all other targets): Change references to source files to use
6203 ${srcdir}, except for config.h, which lives in the object dir.
6204 (timer.o): Note that this depends on ../src/config.h.
6205 * make-docfile.c (main): Add a -d option, to tell it where to find
6206 the source files.
6207 * test-distrib.c (main): Take the name of the distribution file to
6208 test from the command line.
6209
10d1d0af 6210 * timer.c: Fix misspellings of get_date function's name.
362bc2da
DL
6211
62121993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
6213
6214 * etags.c (main):
6215 Don't require that there be input files if -i switches were given.
6216
62171993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6218
6219 The GNU coding standards specify that CFLAGS should be left for
6220 users to set.
6221 * Makefile.in (CFLAGS): Put this in the "things configure might
6222 edit" section, and have it default to -g.
6223 (ALL_CFLAGS): New variable, set to all the flags which should be
6224 passed to compilations. Replace all other uses of CFLAGS with
6225 ALL_CFLAGS.
6226 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
6227
6228 * Makefile.in (DEFS): Remove this; it's always just going to be
6229 "-DHAVE_CONFIG_H -Demacs".
6230
62311993-05-03 Paul Eggert (eggert@twinsun.com)
6232
6233 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
6234 /[/]/, so change it to /[\/]/. This should work on all
6235 Posix-compliant awks. It's slightly wrong with traditional awk,
6236 since it matches \ too, but that's a minor problem compared to awk
6237 syntax errors.
6238
62391993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6240
6241 * Makefile.in (ALLOCA): New variable, whose value we should
6242 inherit from the top-level makefile.
6243 (etags, ctags): Include ALLOCA in the list of object files that
6244 these executables depend on and link.
6245
62461993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6247
6248 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
6249
62501993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
6251
6252 * make-docfile.c (write_c_args): Print an argument named "defalt"
6253 as "default".
6254
62551993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6256
6257 * Makefile.in (C_SWITCH_SYSTEM): New variable.
6258 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
6259 compiler.
6260
880820fe 62611993-03-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6262
2f2c687b
JB
6263 * etags.c (YACC): Flag added to c_ext.
6264 (c_ext): No more a synonim for c_ext&C_PLPL because of YACC.
6265 (find_entries): Consistently use streq when reasonable.
6266 (find_entries): A .y file is a yacc file.
362bc2da 6267 (get_C_stab): c_ext becomes c_ext&C_PLPL.
2f2c687b
JB
6268 (C_entries): Logical cplpl means c_ext&C_PLPL.
6269 (C_entries): Logical yacc_rules means we are after the first %%.
6270 (C_entries): Added logic for yacc files.
362bc2da 6271
880820fe 62721993-03-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6273
6274 * etags.c (C_entries): ':' case moved to the second switch.
2f2c687b 6275 (C_entries): Do not examine token if structdef==scolonseen.
362bc2da
DL
6276 (consider_token): structtag set to null string for enum.
6277
880820fe 62781993-03-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6279
2f2c687b
JB
6280 * etags.c (GET_COOKIE): And related macros removed.
6281 (logical): Is now int, no more a char.
6282 (reg): Define deleted.
6283 (isgood, _gd, notgd): Deleted.
6284 (gotone): Deleted.
6285 (TOKEN): Member linestart removed.
6286 (linepos, prev_linepos, lb1): Deleted.
6287 (main): Call initbuffer on lbs array instead of lb1.
6288 (init): Removed the initialisation of the logical _gd array;
6289 (find_entries): A .sa suffix means assembler file.
362bc2da
DL
6290 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
6291 All C state machines rewritten.
2f2c687b
JB
6292 (C_entries): Complete rewrite.
6293 (condider_token): Complete rewrite.
6294 (getline): Deleted.
362bc2da 6295
880820fe 62961993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
6297
6298 * etags.c (C_entries): Added the quotednl logical variable.
6299 Used for parsing of #define's spanning multiple lines.
6300
880820fe 63011993-02-23 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
6302
6303 * etags.c (C_entries): Save the definedef status even when a
6304 newline is met inside a string.
6305
63061993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
6307
2f2c687b 6308 * Makefile.in (EXECUTABLES): Added rcs-checkin.
362bc2da
DL
6309
6310 * Makefile.in (unlock, relock): New productions.
6311
63121993-03-16 Paul Eggert (eggert@twinsun.com)
6313
6314 * rcs2log: Some awks don't understand "\r". Code around this.
6315 Unfortunately this requires putting a carriage return in the
6316 source code. Don't assume that rlog will tolerate times like
6317 `10:10:60'; RCS 5.7 won't allow this.
6318
63191993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6320
6321 * timer.c (main): Set the ownership of the stdin file descriptor
6322 to the current process. Print error messages if either of the
6323 fcntl's fails.
6324
6325 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
6326 ../src/config.h), not void.
6327
63281993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6329
6330 * b2m.c (main): Don't exit upon reading a blank line.
6331
880820fe 63321993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
6333
6334 * etags.c (C_entries): New local variable quotednl. Used for
6335 parsing of #define's spanning multiple lines.
6336
6337 * etags.c (C_entries): Save the definedef status
6338 even when a newline is met inside a string.
6339
63401993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6341
6342 * timer.c (notify): Initialize waitfor properly.
6343
880820fe 63441993-02-22 Francesco Potortì (pot@CNUCE.CNR.IT)
362bc2da
DL
6345
6346 * etags.c (C_entries): Don't reset definedef when a newline inside a
6347 comment is met.
6348
63491993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6350
6351 * etags.c (find_entries): If filename ends in .f or .for,
6352 don't try anything but Fortran.
6353
63541993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
6355
6356 * timer.c (notify): Flush stdout after writing message to avoid lossage
6357 on terminals.
6358
6359 (notify): Also, write a newline after the token.
6360
63611992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6362
6363 * Makefile.in (exec_prefix): New variable.
6364 (bindir, libdir): Use it instead of `prefix'.
6365
6366 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
6367
6368 * Makefile.in (libdir): Default to ${prefix}/lib.
6369 (archlibdir): Adjusted to match.
6370
6371 * Makefile.in (distclean): Don't delete backup or autosave files.
6372 (extraclean): Like realclean, but does delete backup and autosave
6373 files.
6374
6375 * Makefile.in (realclean): Ignore errors from rm.
6376
6377 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
6378 that doesn't exist anymore.
6379
63801992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6381
6382 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
6383 described in the top-level Makefile.
6384 (UTILITIES): Add make-path to the list of utility programs.
6385 (../arch-lib): Replaced by the ${archlibdir} target, which places
6386 the executables in their permanent home.
6387 (install, install.sysv, install.xenix): Consolidated into one
6388 target which should work under all circumstances, modulo a few
6389 ignored error messages.
6390
6391 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
6392 a different number of arguments than other DEFVARs, recognize it
6393 specially, and expect the right number of commas.
6394
63951992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6396
6397 * make-path.c: New program, to help with the installation process.
6398 * Makefile.in (make-path): New target.
6399
6400 * make-path.c (touchy_mkdir): Remove debugging output.
6401
64021992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6403
6404 * Makefile.in (getdate.o): Added explicit target for this, so we
6405 can indicate that it depends on ../src/config.h.
6406
64071992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6408
6409 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
6410 instead of CFLAGS.
6411 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
6412
64131992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6414
6415 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
6416 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
6417 that system.
6418
6419 * Makefile.in (arch-lib): Give rm the `-f' option.
6420
64211992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6422
6423 * make-docfile.c (write_c_args): Rewritten to correctly print
6424 &optionals before the first identifier, but after the first paren.
6425 This code used to just wait for commas or spaces; now it notices
6426 identifier boundaries.
6427
64281992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6429
6430 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
6431
64321992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6433
6434 * make-docfile.c (write_c_args): Print the argument lists properly
6435 when the first argument is optional.
6436
64371992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6438
6439 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
6440 Redefine @item. Set catcode of +.
6441
64421992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6443
6444 * emacsclient.c (main): Set IPC_CREAT in msgget call.
6445
64461992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6447
6448 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
6449 (TEX_decode_env): Make `tab' one element longer.
6450
64511992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6452
6453 * etags.c (PF_funcs): Recognize the "entry" keyword.
6454
64551992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6456
6457 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
6458
64591992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6460
6461 * timer.c (events): Rather than having slots marked as in use or
6462 out of use by the `token' field, keep all pending events at the
6463 beginning of the array. When we delete an event in the middle of
6464 the array, we move the last event into its place.
6465 (num_events): New variable.
6466 (schedule): It is now cheaper to find a free event slot;
6467 events[num_events] is the first free slot.
6468 (notify): Scan events[0 .. num_events-1], instead of the whole
6469 array. When an event fires, move the last event in the array into
6470 its spot. Use num_events to determine whether or not there are
6471 any pending events, not wait_for.
6472 (getevent): Deleted unused variable `ep'.
6473 (sigcatch): It's now easier to find all the active events.
6474 (main): Initialize num_events.
6475
6476 * etags.c: Rather than fret about which systems have index and
6477 which systems have strchr, and how to tell the difference between
6478 them, we just write out our own versions. Big deal.
6479 (index, rindex): Extern declarations removed.
6480 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
6481 (etags_index, etags_rindex): New declarations.
6482 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
6483 TEX_getit, substr): Use the etags_*index functions, rather than
6484 the native *index functions.
6485 (rindex, index): Renamed to etags_rindex and tags_rindex, and
6486 made them unconditionally defined, rather than having them depend
6487 on NEED_*INDEX.
6488
6489 * etags.c (savenstr): Add declaration for this at top of file.
6490 (TEX_decode_env): Don't declare it local to this function.
6491
6492 * b2m.c: #include "../src/config.h", so we can test for the USG
6493 macro, and decide whether to include <string.h> or <strings.h>.
6494 * Makefile.in: Note that b2m.c depends on ../src/config.h.
6495
64961992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6497
6498 * timer.c: Reformatted according to the GNU coding standards.
6499 Removed arbitrary limits on the number of events queued and the
6500 length of the tokens used to identify them.
6501 Removed casts to (void).
6502 Removed debugging printfs; they clutter the code, and the need
6503 can be better filled using a real debugger.
6504
65051992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6506
6507 * timer.c: Installed new version from Eric Raymond; this is more
6508 portable, since it doesn't try to use SIGIO.
6509
65101992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6511
6512 * emacsclient.c (main): If we can't find the socket in this
6513 person's home directory, print a message which asks if they've
6514 started the server, instead of just printing the message from
6515 sys_errmsg; Cygnus finds that people are much less confused by
6516 this.
6517
65181992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6519
6520 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
6521 so that index and rindex get defined, why don't we actually
6522 control index and rindex using symbols called "NEED_INDEX" and
6523 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
6524 little more readable than defining something whose name implies
6525 that it's not?
6526
65271992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6528
6529 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
6530 distribution:
6531 Miscellaneous doc fixes.
1c478461 6532 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
6533 (scan_lisp_file): Instead of using long hairy strings of ifs, call
6534 read_lisp_symbol and then see what we got. Call skip_white
6535 instead of writing out a loop to do its job. Correctly extract
6536 docstrings from "defmacro" declarations.
6537
65381992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6539
6540 * movemail.c (strcpy): Declare this to return char *.
6541
65421992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6543
6544 * etags.c (C_entries): When we find a C++ comment, do actually
6545 skip to the end of the line; do a 'break' instead of a 'continue'.
6546
65471992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6548
6549 * etags.c (getit): Add missing parenthesis to expression which
6550 decides if this token is an identifier.
6551
65521992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
6553
6554 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
6555
65561992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6557
6558 * etags.c (put_entries): Always put space between name and line num.
6559
65601992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
6561
6562 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
6563 warning.
6564 (LEVEL_OK_FOR_FUNCDEF): Ditto.
6565
65661992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6567
6568 * make-docfile.c (write_c_args): Pass both arguments to putc.
6569
65701992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
6571
6572 * etags.c (C_entries): Fixed reading of "..." strings.
6573 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
6574 the C library source.
6575
6576 * etags.c (C_entries): When we see a backslash inside a quoted
6577 string, skip to the next character. This allows us to correctly
6578 deal with strings containing quotes.
6579
65801992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6581
6582 * make-docfile.c (write_c_args): Print the C argument names as
6583 they would be written in Elisp; print '_' as '-'.
6584
65851992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6586
6587 * movemail.c [POP]: Get user name via getpwuid.
6588
65891992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6590
2f2c687b 6591 * Makefile.in: Flags in CC invocations rearranged for no reason.
362bc2da
DL
6592
65931992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6594
10d1d0af 6595 * etags.c (print_help): Remember not to embed raw newlines in
362bc2da
DL
6596 strings - end the lines with `\n\'.
6597
65981992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6599
6600 * timer.c (getevent): Removed declaration of memcpy; since
6601 different systems have different return types, and we're not even
6602 using the return type anyway, it wasn't doing us any good.
6603
66041992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6605
6606 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
6607 type of this function.
6608
66091992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6610
6611 * ChangeLog: Since the old etc contents have been split into etc
6612 and lib-src, the old etc's ChangeLog has been duplicated in the
6613 new etc and lib-src. That means that each contains complete and
6614 coherent information, although each contains extraneous
1c478461 6615 information.
362bc2da
DL
6616
66171992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6618
290afd83 6619 * etags.c: "--no-warning" option renamed to "--no-warn",
362bc2da
DL
6620 to be consistent with other GNU programs, like makeinfo.
6621
290afd83 6622 * Makefile: Renamed to Makefile.in; the configure script
362bc2da
DL
6623 will edit this to produce Makefile.
6624
66251992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6626
6627 * etags.c (print_help, print_version): New functions.
6628 (main): Options added to support them.
6629
6630 * etags.c (longopts): New array of long names for the options.
6631 (main): Recognize them.
6632
66331992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6634
6635 * etags.c (C_entries): Removed comment saying that \" in a string
6636 isn't recognized as magic, because it is correctly handled.
6637
6638 * getopt.c, getopt.h: New files, from GNU C library.
6639 * etags.c: Rewritten to use getopt.
6640 #include "getopt.h".
6641 (file_num): Variable deleted; its role is now played by getopt's
6642 optind.
6643 (main): Argument processing loop rewritten to call getopt to get
6644 next option. Options which take parameters (-o and -i) rewritten
6645 to get parameter from optarg instead of argv[1]. Filename
6646 preprocessing loop and update command changed similarly.
6647 * Makefile (etags, ctags): Depend on and link with getopt.h,
6648 getopt.o, and getopt1.o.
6649 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
6650
6651 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
6652 is non-zero.
6653
6654 (main): In the argument processing loop, the 'goto next_arg'
6655 statements are breaking out of the switch statement in exactly the
6656 same way that a simple 'break' statement would; replace the gotos
6657 with breaks, and remove the label.
6658
66591992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6660
6661 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
6662 (consider_token): Move next_token_is_func to global.
6663
66641992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6665
6666 * Makefile: Conform with GNU coding standards:
6667 (mostlyclean): New target, synonymous with clean.
6668 (TAGS, check): New targets.
6669 (INSTALL, INSTALLFLAGS): New variables.
6670
66711992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6672
ecc54057 6673 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
362bc2da
DL
6674 `config.emacs' to `configure'.
6675
6676 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
6677 * etc/MACHINES: Same.
6678
66791992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6680
6681 * movemail.c (main): Allow tempname to be as long as necessary,
6682 instead of limiting it to 39 characters.
6683
6684 * movemail.c (main): Move declaration of buf from top of function
6685 to local block surrounding the copy loop. This makes it less
6686 likely to be confused with the buf used by the code which checks the
6687 permissions on outname's directory.
6688
66891992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
6690
6691 * SERVICE: Remove my entry.
6692
66931992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
6694
6695 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
6696 hardcoded -g.
6697
6698 * movemail.c (xmalloc): Return char *, not int.
6699 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
6700 that is off by default -- normally don't unlink the mail spool
6701 file, just empty it. Pass creat mode 0600, not 0666.
6702
dff28924 67031992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
6704
6705 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
6706 (all): Instead of here.
6707 (install): Don't use the -s option, since people need symbols to
6708 debug code.
6709
dff28924 67101992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
362bc2da
DL
6711
6712 * etags-vmslib.c (fn_exp): Add type cast.
6713
67141992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6715
6716 * movemail.c: Changes in comments.
6717
dff28924 67181992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
6719
6720 * Makefile: Make the distclean target erase the DOC files from
6721 ../share-lib and the executables from ../arch-lib.
6722
dff28924 67231992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
6724
6725 * emacsclient.c: #include <sys/stat.h>
6726 (main): Do declare statbfr.
6727
dff28924 67281991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6729
6730 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
6731 for the socket, depending on SERVER_HOME_DIR.
6732 If using /tmp, put host name in the socket name.
6733
6734 * movemail.c (pfatal_and_delete): New function.
6735 (main, popmail): Use it.
6736 (popmail): Close output before deleting messages.
6737 Check for error on close and on fsync.
6738 Use `fatal' where appropriate.
6739 (main): Remove (void).
6740
6741 * aixcc.lex: New file. Not officially part of Emacs.
6742 * Makefile: Rules for that.
6743
dff28924 67441991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
362bc2da
DL
6745
6746 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
6747
6748 * etags.c (main): Properly cast call to alloca that initializes
6749 included_files.
6750
67511991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
6752
6753 * etags.c (files_are_tag_tables): Remove global var.
6754 (process_file): Don't test it. Also remove hack checking for a
6755 file named "TAGS".
6756 (main): -i now takes an arg which is the name of a file to include.
6757 Collect these names and emit include tags for them after processing
6758 all the argument files.
6759
dff28924 67601991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6761
6762 * wakeup.c: Terminate if parent goes away.
6763
dff28924 67641991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6765
6766 * etags.c (C_entries): Process token before handling end of line.
6767 When inner loops reach end of line, just back up.
6768 Let the real end of line processing happen in just one place.
a64387ee 6769 (consider_token): Likewise.
362bc2da 6770
dff28924 67711991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
362bc2da
DL
6772
6773 * etags.c (TEX_mode): Skip comments while scanning the text to see
6774 which escape character this file uses.
6775
dff28924 67761991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6777
6778 * emacsserver.c [USG]: Terminate if msgrcv fails.
6779
dff28924 67801991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6781
6782 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
6783
dff28924 67841991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
6785
6786 * make-docfile: Find the arguments to a C function correctly,
6787 by not ignoring the character that read_c_string returns. Don't
6788 even try to find argument names for functions that take MANY
6789 or UNEVALLED arguments, since they're a figment of the docstring's
6790 imagination.
6791
dff28924 67921991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
6793
6794 * make-docfile: Read the .elc files generated by the new byte
6795 compiler.
6796
dff28924 67971990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6798
6799 * refcard.tex: Use cm fonts, not am, in multi-column mode.
6800
dff28924 68011990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6802
6803 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
6804
dff28924 68051990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6806
6807 * Makefile (install*): No need to install wakeup.
6808
dff28924 68091990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6810
6811 * Makefile (install*): Install emacsclient like etags.
6812
dff28924 68131990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6814
6815 * movemail.c (error): Handle 3 args.
6816 (main): Don't check input access if using pop.
6817
dff28924 68181990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6819
6820 * etags.c (find_entries): Check for numbers after Scheme suffix.
6821
dff28924 68221990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6823
6824 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
6825
dff28924 68261990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6827
6828 * Makefile (nemacstool, xvetool): New targets.
6829
dff28924 68301990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6831
6832 * emacsclient.c: Include errno.h and define related variables.
6833
dff28924 68341990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6835
6836 * emacsclient.c: Change usage message.
6837
dff28924 68381990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da 6839
ecc54057 6840 * emacs.1: Add break before -nw option.
362bc2da 6841
dff28924 68421990-08-19 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
6843
6844 * qsort.c: Replace with GNU version.
6845
dff28924 68461990-08-14 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
6847
6848 * wakeup.c: New program replacing loadst.c.
6849
dff28924 68501990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6851
6852 * emacsclient.c [USG]: Pass msgsnd only 4 args.
6853
dff28924 68541990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
362bc2da
DL
6855
6856 * etags.c: Rename `flag' variables for what they do instead of
6857 which option character sets them.
6858
dff28924 68591990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6860
6861 * loadst.c (main): Conditional to get load average on Apollo.
6862
dff28924 68631990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da
DL
6864
6865 * emacsserver.c: Set the permission on the socket to 0600.
6866
dff28924 68671990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6868
6869 * emacsclient.c [BSD]: Print clean message for failing getwd.
6870
dff28924 68711990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
6872
6873 * getdate.y: Use the getdate.y from GNU tar for timer.
6874
dff28924 68751990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
362bc2da
DL
6876
6877 * emacsclient.c (main): Don't put brackets around "filename" in
6878 usage message. It isn't optional.
6879
dff28924 68801990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da 6881
a64387ee 6882 * etags.c (getit): Recognize '$' as beginning identifiers.
362bc2da 6883
dff28924 68841990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
6885
6886 * emacsserver.c: Renamed from server.c.
6887 * Makefile: Reference emacsserver rather than server.
6888 * MACHINES: Doc fix for new emacsserver name.
6889
dff28924 68901990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6891
6892 * emacsclient.c: Print program name in error messages.
6893
dff28924 68941990-01-19 David Lawrence (tale@cocoa-puffs)
362bc2da
DL
6895
6896 * timer.c, getdate.y (new files) and Makefile:
194d44e7
JB
6897 Sub-process support for run-at-time in timer.el.
6898 Doesn't yet work correctly for USG.
362bc2da 6899
dff28924 69001990-01-10 Jim Kingdon (kingdon@pogo)
362bc2da
DL
6901
6902 * MACHINES: Add HP 300 running BSD.
6903
dff28924 69041990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6905
6906 * yow.c: Dynamically allocate buffer; skip header before random
6907 choice to avoid bias toward first item.
6908
dff28924 69091989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6910
6911 * etags.c (readline): Separate out init of `pend'.
6912
dff28924 69131989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6914
6915 * etags.c: Undo changes relating to isgoodhdr.
6916
dff28924 69171989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6918
6919 * etags.c (isgoodhdr): New macro.
6920 (_gdh, notgdh): New variable used by that.
6921 (init): Initialize _gdh.
6922 (find_entries): Set header_file.
6923 (consider_token): Use isgoodhdr if in header file.
6924
6925 * etags.c (total_size_of_entries):
6926 Was miscalculating by 1 in rewritten case.
6927
6928 * etags.c (PAS_funcs): One arg to pfnote was missing.
6929
dff28924 69301989-12-05 Joseph Arceneaux (jla@spiff)
362bc2da
DL
6931
6932 * MACHINES: Change for the ULTRIX entry.
6933
dff28924 69341989-11-21 Joseph Arceneaux (jla@spiff)
362bc2da
DL
6935
6936 * etags.c (process_file): If file is not regular, return.
6937
dff28924 69381989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6939
6940 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
6941
dff28924 69421989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6943
6944 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
6945 (main): If HAVE_GETLOADAVG, don't call `nlist'.
6946
dff28924 69471989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6948
6949 * etags.c (consider_token): Allow any number of typespec keywords
6950 after `typedef', before new type name.
6951 (enum sym_type): Add st_C_typespec.
6952 (C_create_stab): Put typespec kwds in table.
6953
dff28924 69541989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6955
6956 * etags.c (main): Don't depend on name invoked by.
6957 If CTAGS is not defined, assume it is ETAGS.
6958
dff28924 69591989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6960
6961 * etags.c (L_funcs): Allow package name in define construct,
6962 as in (foo::defmumble name-defined ...).
6963
dff28924 69641989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6965
6966 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
6967
6968 * Makefile (yow): Depends on ../src/paths.h.
6969
dff28924 69701989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6971
6972 * etags.c: Fix compilation by moving Pascal after Fortran.
6973
dff28924 69741989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6975
6976 * movemail.c [USG]: Define F_OK, etc., if not found in header.
6977
dff28924 69781989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6979
6980 * hexl.c: New file, supports hexl-mode.
6981
dff28924 69821989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6983
6984 * movemail.c: New compilation flag MAIL_USE_MMDF.
6985
dff28924 69861989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6987
6988 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
6989 * server.c: Likewise.
6990
6991 * make-docfile.c (scan_c_file): Output argument names at end of string.
6992 (write_c_args): New subroutine.
6993
dff28924 69941989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6995
6996 * movemail.c: Report failure of flock.
6997
dff28924 69981989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6999
7000 * etags.c (find_entries): Allow multi-letter extensions for fortran.
7001
dff28924 70021989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da 7003
2f2c687b 7004 * loadst.c: On bsd4.3, use gettimeofday instead of CPUSTATES.
362bc2da 7005
dff28924 70061989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7007
7008 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
7009
30a7ee9f 7010 * emacstool.1: Update to document environment variables.
362bc2da 7011
dff28924 70121989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7013
7014 * etags.c (PAS_funcs): New function by Mosur Mohan.
7015
7016 * movemail.c: On sysv, include unistd.h.
7017
dff28924 70181989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7019
7020 * b2m.c: New file.
7021
dff28924 70221989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da 7023
6088b51f 7024 * etags.c: Prolog support from Sunichirou Sugou.
362bc2da 7025
dff28924 70261989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7027
7028 * Makefile (clean): New target.
7029
dff28924 70301989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7031
7032 * fakemail.c (put_line): Break header lines at 79 cols.
7033
dff28924 70341989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7035
7036 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
7037 multiple tags per line.
7038
dff28924 70391989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7040
7041 * movemail.c: Check access before doing real work.
7042 Check that outfile is in a writable directory.
7043 On fatal error, delete the lock file.
7044
dff28924 70451988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
362bc2da 7046
ecc54057 7047 * env.c: Add decl for my-index
6088b51f 7048 * etags.c (file-entries): .oak => scheme.
362bc2da 7049
dff28924 70501988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7051
7052 * movemail.c: Use `access' to check input and output files.
7053
dff28924 70541988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7055
7056 * emacsclient.c (main): Ignore all of CWD before first slash.
7057
dff28924 70581988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7059
7060 * etags.c (readline): Double linebuffer->size outside the xrealloc.
7061
dff28924 70621988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7063
7064 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
7065 * server.c: chmod the socket to 0700.
7066
dff28924 70671988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7068
7069 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
7070 (add_field): Delete comments and turn `<', `>' to spaces
7071 in header lines.
7072 (USE_FAKEMAIL): New customization macro says to make fakemail
7073 not be a no-op even on a BSD system.
7074
dff28924 70751988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7076
7077 * etags.c (consider_token): Skip comments just like whitespace.
7078 Notice `struct', etc. and set strtag for those tokens.
7079 Return 1 for the token following `struct' if an open-brace follows it.
7080 (C_entries): Special handling of token following `struct'
7081 needed because we have probably advanced to the following line
7082 to find the `{'.
7083 (main): New option `T' sets tflag and strflag.
7084 Set both of them by default if eflags.
7085
dff28924 70861988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7087
7088 * movemail.c: Do fsync before closing output.
7089
dff28924 70901988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
362bc2da 7091
ecc54057
JB
7092 * movemail.c: Better error message when can't create tempname.
7093 This file needs a great deal of extra error-checking and lucid reporting...
362bc2da 7094
dff28924 70951988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7096
7097 * etags.c: Support assembler code for .s and .a files.
7098 (getit): Allow underscore in a tag.
7099
dff28924 71001988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7101
7102 * movemail.c: Close output and check errors before deleting input.
7103
dff28924 71041988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
7105
7106 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
7107 whether to prefix it. Handle line number args.
7108
dff28924 71091988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
362bc2da 7110
2f2c687b 7111 * etags.c (main): Default setting of eflag was backwards.
362bc2da 7112
dff28924 71131988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7114
7115 * etags.c: New option -i. -f renamed -o.
7116 `-' as input file means read input file names from stdin.
7117 -i spec'd or input file named TAGS means the input file is another
7118 tag table; output an "include" line for it.
7119
dff28924 71201988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7121
7122 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
7123 New targets install, install.sysv, install.xenix.
7124 This makefile is now responsible for installing executables
7125 and documentation from this directory into system directories.
7126
dff28924 71271988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
362bc2da
DL
7128
7129 * server.c, emacsclient.c (main): Compute socket name from euid.
7130
dff28924 71311988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7132
7133 * emacsclient.c: Args like +DIGITS are passed through unchanged.
7134
dff28924 71351988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7136
7137 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
7138 * emacsclient.c: Likewise.
7139 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
7140
dff28924 71411988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7142
7143 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
07655e62 7144 (istoken): New string-comparison macro.
362bc2da
DL
7145 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
7146
dff28924 71471988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7148
7149 * etags.c: Changes for VMS.
7150 Always define ETAGS on VMS.
7151 Define macros GOOD and BAD for success and failure exit codes.
7152 (begtk, intk): Allow `$' in identifiers
7153 (main): Don't support -B, -F or -u on VMS.
7154 Alternate loop for scanning filename arguments.
7155 (system): Delete definition of this function.
7156
7157 * etags-vmslib.c (system): Undefine this; VMS now provides it.
7158
dff28924 71591988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7160
7161 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
7162 around include of param.h. (Like fns.c.)
7163
dff28924 71641988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
7165
7166 * loadst.c (load_average): Move load-average code to this new fn.
7167 Add conditionals to compute load ave on UMAX.
7168
dff28924 71691988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
7170
7171 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
7172 with opposite sense.
7173
dff28924 71741988-05-13 Chris Hanson (cph@kleph)
362bc2da
DL
7175
7176 * emacsclient.c: Delete references to unused variable `out'. This
7177 caused a bus error when used under hp-ux.
7178
dff28924 71791988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
7180
7181 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
7182
dff28924 71831988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
362bc2da
DL
7184
7185 * etags.c (find_entries): `.t' or `.sch' means scheme code.
7186
dff28924 71871988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
7188
7189 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
7190
dff28924 71911988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
7192
7193 * movemail.c: #undef close, since config can #define it on V.3.
2f2c687b 7194 * emacsclient.c, fakemail.c, loadst.c, server.c: Likewise.
362bc2da 7195
dff28924 71961988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
7197
7198 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
7199 invalid escape sequences such as `\{'.
7200
7201 * loadst.c: Add `sequent' conditional for file dk.h.
7202
dff28924 72031988-03-20 Richard M. Stallman (rms@wilson)
362bc2da 7204
2f2c687b 7205 * server.c [not BSD and not HAVE_SYSVIPC]: Fix error message.
362bc2da 7206
2f2c687b 7207 * loadst.c (main) [XENIX]: Use /usr/spool/mail, not /usr/mail.
6922b018
KH
7208
7209;; Local Variables:
880820fe 7210;; coding: utf-8
33462dfa 7211;; add-log-time-zone-rule: t
6922b018 7212;; End:
2a34a036 7213
9766d41b 7214 Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
294981c7 7215 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2006,
114f9c96 7216 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
5b87ad55
GM
7217
7218 This file is part of GNU Emacs.
7219
294981c7 7220 GNU Emacs is free software: you can redistribute it and/or modify
5b87ad55 7221 it under the terms of the GNU General Public License as published by
294981c7
GM
7222 the Free Software Foundation, either version 3 of the License, or
7223 (at your option) any later version.
5b87ad55
GM
7224
7225 GNU Emacs is distributed in the hope that it will be useful,
7226 but WITHOUT ANY WARRANTY; without even the implied warranty of
7227 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7228 GNU General Public License for more details.
7229
7230 You should have received a copy of the GNU General Public License
294981c7 7231 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
ab5796a9
MB
7232
7233;;; arch-tag: 2d979296-954c-448e-95c1-b46d134513dc