Convert function definitions to standard C.
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
873fbd0b
DN
12010-07-03 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * update-game-score.c: Convert function definitions to standard C.
4 * sorted-doc.c:
5 * profile.c:
6 * pop.c:
7 * movemail.c:
8 * make-docfile.c:
9 * hexl.c:
10 * fakemail.c:
11 * etags.c:
12 * ebrowse.c:
13 * digest-doc.c:
14 * b2m.c: Likewise.
15
c532d349
DN
162010-07-02 Dan Nicolaescu <dann@ics.uci.edu>
17
18 * make-docfile.c (xmalloc, xrealloc, concat, readline, fatal):
19 * b2m.c (scan_file, scan_lisp_file, scan_c_file): Convert to
20 standard C prototypes.
21
f57e2426
J
222010-07-02 Jan Djärv <jan.h.d@swipnet.se>
23
24 * ebrowse.c: Remove P_ and __P.
25 * etags.c:
26 * movemail.c:
27 * pop.c:
28 * update-game-score.c: Likewise.
29
3b3807f8
JB
302010-06-24 Juanma Barranquero <lekktu@gmail.com>
31
32 * movemail.c (error): Avoid warning when there are no args.
33
5fee75d4
JB
342010-06-11 Juanma Barranquero <lekktu@gmail.com>
35
36 * makefile.w32-in (lisp2): Fix references to vc/vc-hooks.elc
37 and vc/ediff-hook.elc.
38
3085237c
DN
392010-06-06 Dan Nicolaescu <dann@ics.uci.edu>
40
41 * ntlib.h: Remove code dealing with BSTRING.
42
0191e222
CY
432010-05-29 Chong Yidong <cyd@stupidchicken.com>
44
45 * emacsclient.c (longopts, decode_options, print_help_and_exit):
46 New arg `-parent-id'.
47 (main): Send parent-id to Emacs.
48
81ac4f35
GM
492010-05-27 Glenn Morris <rgm@gnu.org>
50
51 * Makefile.in (distclean): No more Makefile.c.
52
4e3028f8
JD
532010-05-22 Jan Djärv <jan.h.d@swipnet.se>
54
55 * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPS): New (Bug #6246).
56 (all): Depend onSTAMP_INST_SCRIPTS, STAMP_SCRIPS (Bug #6246).
57 (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
58 New rules (Bug #6246).
59 (clean): Remove stamp-* (Bug #6246).
60
44b031a6
GM
612010-05-12 Glenn Morris <rgm@gnu.org>
62
63 * Makefile.in (INSTALLABLES): Remove @LIB_SRC_EXTRA_INSTALLABLES@.
64
acddf8ae
GM
652010-05-11 Glenn Morris <rgm@gnu.org>
66
c88b05a9
GM
67 * Makefile.in (.m.o): Remove, there are no .m files.
68 (BASE_CFLAGS): New variable.
69 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use $BASE_CFLAGS.
70 (check): Update the message.
71 (update-game-score${EXEEXT}): Do not use $MOVE_FLAGS.
72
d3b23034
GM
73 * Makefile.in: Convert comments to makefile format.
74
acddf8ae
GM
75 * Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset.
76 (config.h) [MSDOS]: Do not include.
77
7490175b
GM
782010-05-10 Glenn Morris <rgm@gnu.org>
79
97efb629
GM
80 * Makefile.in (LIBS_SYSTEM): Set with configure, not cpp.
81 (LIBS_SYSTEM) [MSDOS]: Reset with MSDOS_LIBS_SYSTEM.
82 (NOT_C_CODE): Remove, no longer used.
83 (config.h) [!MSDOS]: No longer include.
84 (LOADLIBES): Use LIBS_SYSTEM as a variable.
85
7490175b
GM
86 * Makefile.in (BLESSMAIL_TARGET): Set with configure, not cpp.
87
7b42b29f
GM
882010-05-08 Glenn Morris <rgm@gnu.org>
89
90 * Makefile.in (THIS_IS_MAKEFILE): Remove, unused.
91
61a808e8
CY
922010-05-07 Chong Yidong <cyd@stupidchicken.com>
93
94 * Version 23.2 released.
95
f6c0ee20
GM
962010-05-06 Glenn Morris <rgm@gnu.org>
97
98 * Makefile.in: Minimize blessmail-related cpp usage.
99 (BLESSMAIL_TARGET): New variable.
100 (MOVEMAIL_NEEDS_BLESSING): Remove, replace by above variable.
101 (blessmail): Always define this rule.
102 (need-blessmail): New rule, split out from maybe-blessmail.
103 (maybe-blessmail): Use BLESSMAIL_TARGET.
104
49628785
GM
1052010-05-04 Glenn Morris <rgm@gnu.org>
106
107 * Makefile.in: Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ rather than
108 @c_switch_system@, @c_switch_machine@.
109
7e10844c
DN
1102010-04-26 Dan Nicolaescu <dann@ics.uci.edu>
111
112 * Makefile.in (LIBS_MACHINE): Remove all uses, unused.
113
4794a582
DN
1142010-04-12 Dan Nicolaescu <dann@ics.uci.edu>
115
116 * Makefile.in (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Move to the
117 non-cpp section.
118
76bd8202
DN
1192010-04-11 Dan Nicolaescu <dann@ics.uci.edu>
120
121 * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE): Define using
122 autoconf, not cpp.
123 (ALL_CFLAGS): Use them as make variables.
124
42d3cab7
C
1252010-04-07 Christoph <cschol2112@googlemail.com> (tiny change)
126
127 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Use parenthesis
128 for macros for nmake compatibility.
129
b372fceb
JB
1302010-04-03 Juanma Barranquero <lekktu@gmail.com>
131
132 Add stubs for Windows, required after CVE-2010-0825 change.
133 * ntlib.c (getgid, getegid, setegid): New stubs.
134 * ntlib.h (getgid, getegid, setegid): Declare them.
135
51a91f9d
CY
1362010-04-02 Dan Rosenberg <dan.j.rosenberg@gmail.com> (tiny change)
137
138 * movemail.c (main): Check return values of setuid. Avoid
139 possibility of symlink attack when movemail is setgid mail
140 (CVE-2010-0825).
141
42a2c622
DN
1422010-04-02 Dan Nicolaescu <dann@ics.uci.edu>
143
144 Remove extern errno declarations.
145 * movemail.c:
146 * etags.c:
147 * emacsclient.c: Remove extern errno declarations.
148
5e58e3a4
GM
1492010-03-20 Glenn Morris <rgm@gnu.org>
150
151 * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
152 (LIBHESIOD, LIBRESOLV): Make previous change a bit more friendly by
153 defining these as Makefile variables.
154 (LIBS_MOVE): Add LIBS_MAIL into this.
155 (movemail${EXEEXT}): Just use LIBS_MOVE, not LIBS_MAIL as well.
156
aded53ff
GM
1572010-03-18 Glenn Morris <rgm@gnu.org>
158
159 * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
160 (HESIODLIB, LIBS_MAIL): Set using autoconf rather than cpp.
161 (BASE_CFLAGS): Remove (identical to CPP_CFLAGS).
162
f8388570
TO
1632010-03-18 Tetsurou Okazaki <okazaki@be.to> (tiny change)
164
165 * Makefile.in (uninstall): Handle the case where archlibdir does not
166 exist. (Bug#5720)
167
288f9fc0
CY
1682010-03-10 Chong Yidong <cyd@stupidchicken.com>
169
170 * Branch for 23.2.
171
f9b84f9f
CY
1722010-02-20 Kevin Ryde <user42@zip.com.au>
173
174 * etags.c (Scheme_functions): Don't loop past a null character
175 (Bug#5601).
176
c14902e0 1772010-01-29 Kester Habermann <kester@linuxtag.org> (tiny change)
9d77a91f
CY
178
179 * etags.c (Fortran_functions): Handle recursive keyword
180 (Bug#5484).
181
6589a2f9
GM
1822010-01-11 Glenn Morris <rgm@gnu.org>
183
184 * ebrowse.c (version):
185 * etags.c (print_version):
186 * rcs2log (Copyright): Set copyright year to 2010.
187
03dcfe01
CY
1882009-12-09 David Robinow <drobinow@gmail.com> (tiny change)
189
190 * makefile.w32-in: Use parenthesis for macros for nmake
191 compatibility.
192
5ce6e4f4 1932009-11-23 Tobias Ringström <tobias@ringis.se> (tiny change)
46f3381a 194
f7e0618c 195 * etags.c (absolute_filename): Use memmove if we have it for
46f3381a
JD
196 overlapping copy.
197
f6195dfb
DN
1982009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
199
200 * make-docfile.c (scan_lisp_file): Also look for `defvaralias'.
201
b53f6df2
JB
2022009-10-15 Juanma Barranquero <lekktu@gmail.com>
203
204 * .gitignore: Add echolisp.tmp.
205
9fc3db2b
GM
2062009-10-15 Glenn Morris <rgm@gnu.org>
207
5f54cae6
GM
208 * emacsclient.c (print_help_and_exit): Fix bug report instructions.
209
9fc3db2b
GM
210 * makefile.w32-in (echolisp): New rule.
211 (clean): Delete echolisp.tmp.
212
614bd9cf
EZ
2132009-09-27 Eli Zaretskii <eliz@gnu.org>
214
215 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Add term/internal.elc,
216 term/pc-win.elc, emacs-lisp/easymenu.elc, and term/ns-win.elc, to
217 be consistent with src/Makefile.in.
218
24e9e996
SM
2192009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
220
221 * update-game-score.c (main): Sort scores before trimming them,
222 reported by Jason Feng <jfeng@ozbert.com> (bug#4397).
223
c5a139ca
GM
2242009-09-09 Glenn Morris <rgm@gnu.org>
225
226 * Makefile.in ($(DESTDIR)${archlibdir}): Set umask to world-readable
227 before creating directories and game score files.
228
a8a8ec61
GM
2292009-08-19 Glenn Morris <rgm@gnu.org>
230
0916a29e 231 * cvtmail.c: Remove file.
a8a8ec61
GM
232 * Makefile.in (UTILITIES): Remove cvtmail.
233 (cvtmail${EXEEXT}): Remove.
234
678bc1f5
CY
2352009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
236
237 * b2m.c (main): Ensure that each message ends in two newlines.
238
0a3472c7
JR
2392009-07-03 Jason Rumney <jasonr@gnu.org>
240
241 * emacsclient.c (w32_set_user_model_id): Use standard types.
242
f2d6b714
EZ
2432009-07-03 Eli Zaretskii <eliz@gnu.org>
244
245 * makefile.w32-in (WINNT_SUPPORT): Add common-win.elc, like
246 src/Makefile.in did.
247
ff90fbde
JR
2482009-06-30 Jason Rumney <jasonr@gnu.org>
249
250 * emacsclient.c (w32_give_focus): Use GetModuleHandle for library
251 that is already loaded.
252 (w32_set_user_model_id): New function.
253 (main): Use it to associate emacsclient with emacs (bug#1849).
254
e0f59195
JM
2552009-06-29 Jim Meyering <meyering@redhat.com>
256
257 Remove useless if-before-free test.
258 * make-docfile.c (scan_lisp_file): Remove useless test.
259
f5f20f6c
DN
2602009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
261
262 * Makefile.in (movemail.o): Don't pass -Demacs, unused.
263
70243478
CY
2642009-06-21 Chong Yidong <cyd@stupidchicken.com>
265
266 * Branch for 23.1.
267
fa44da6e
AR
2682006-06-09 Adrian Robert <Adrian.B.Robert@gmail.com>
269
270 * mac-fix-env.m:
271 * Makefile.in (mac-fix-env): Remove.
272
a7f2b0b1
AR
2732006-06-06 David Reitter <david.reitter@gmail.com>
274
275 * Makefile.in (mac-fix-env): Compile it using ALL_CFLAGS.
276
9dfda22f
JB
2772009-04-20 Juanma Barranquero <lekktu@gmail.com>
278
279 * emacsclient.c (print_help_and_exit): Fix typo and tabify (careful
280 spacing is required in the message output, as the comment suggests).
281
24d5010d
CY
2822009-04-20 Chong Yidong <cyd@stupidchicken.com>
283
284 * emacsclient.c (print_help_and_exit): Clarify argument placement
285 for short option names.
286
6133a1a9
DN
2872009-04-02 Dan Nicolaescu <dann@ics.uci.edu>
288
289 * emacsclient.c (print_help_and_exit): Fix typo.
290
22749e9a
EZ
2912009-03-21 Eli Zaretskii <eliz@gnu.org>
292
293 * ntlib.c (setuid): Argument is now unsigned.
294 (getuid): Return value is now unsigned.
295 (getpwuid): Argument is now unsigned.
296 (fchown): UID and GID arguments are now unsigned.
297
298 * ntlib.h (fchown): UID and GID arguments are now unsigned.
299 (getuid): Return value is now unsigned.
300 (setuid): Argument is now unsigned.
301 (getpwuid): Remove prototype (it's declared in nt/inc/pwd.h).
302
b57ac69d 3032009-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
6cde1b21
JB
304
305 * emacsclient.c (main): Revert part of last change, so
306 drive-relative file names again work on Windows.
307
ba528748
SM
3082009-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
309
310 * emacsclient.c (main): Always pass cwd via "-dir". Pass the file
311 names without prepending cwd to them, so Emacs uses its customary
312 rules to determine how to interpret the file name.
313
f213f2c0
GM
3142009-03-04 Glenn Morris <rgm@gnu.org>
315
316 * movemail.c (main) [MAIL_USE_POP]: Add -r to usage message.
317
8ee7d7be
CY
3182009-02-13 Sven Joachim <svenjoac@gmx.de>
319
320 * movemail.c: Include time.h unconditionally.
321 (main): Use time_t for time variables.
322
d228a23c
GM
3232009-02-11 Glenn Morris <rgm@gnu.org>
324
325 * movemail.c (mbx_delimit_begin): Also write the current time.
326
3f32be22
GM
3272009-02-10 Glenn Morris <rgm@gnu.org>
328
329 * movemail.c (mbx_delimit_begin, mbx_delimit_end): Write mbox rather
330 than Babyl format. (Bug#2196)
331
e7534fc4
AR
3322009-01-23 Adrian Robert <Adrian.B.Robert@gmail.com>
333
334 * emacsclient.c (decode_options): Use a dummy display name under
335 NS/Cocoa.
336
9eb67dd9
CY
3372009-01-14 Lars Rasmusson <lars.rasmusson@gmail.com> (tiny change)
338
339 * ebrowse.c (matching_regexp): Fix OB1 error.
340
b433a991
GM
3412009-01-05 Glenn Morris <rgm@gnu.org>
342
343 * ebrowse.c (version):
344 * etags.c (print_version):
345 * rcs2log (Copyright): Update copyright for 2009.
346
81f82586
CY
3472009-01-01 Chong Yidong <cyd@stupidchicken.com>
348
349 * movemail.c (main): Fatal if hard links cannot be created.
350
fd95644b
DN
3512008-12-18 Dan Nicolaescu <dann@ics.uci.edu>
352
353 * emacsclient.c (start_daemon_and_retry_set_socket): Improve error
354 checking.
355
67c1df01
DN
3562008-12-14 Dan Nicolaescu <dann@ics.uci.edu>
357
358 * emacsclient.c: Include syswait.h instead of sys/types.h.
359
f0131492 3602008-12-11 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change)
5445ab06 361
d4835507
JB
362 * emacsclient.c (WCONTINUED): New compatibility define
363 for older systems.
5445ab06 364
d50299d5
DN
3652008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
366
367 * emacsclient.c (main): Fix previous change.
368
52016647
JB
3692008-12-10 Juanma Barranquero <lekktu@gmail.com>
370
371 * emacsclient.c (main): Fix mindless breakage where emacsclient
372 does not work *at all* on Windows, even if it *can* connect.
373
802bdb3c
DN
3742008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
375
376 * emacsclient.c (EMACS_DAEMON): Remove definition.
377 (decode_options): Do not allow an empty alternate_editor on
378 WINDOWSNT.
379 (print_help_and_exit): Replace EMACS_DAEMON with WINDOWSNT.
380 (start_daemon_and_retry_set_socket): Likewise.
45ce4570 381 (main): Fail in case of not being able to connect.
802bdb3c 382
c3f995a2
JB
3832008-12-10 Juanma Barranquero <lekktu@gmail.com>
384
385 * emacsclient.c [!WINDOWSNT] (EMACS_DAEMON): New define.
386 Changes when EMACS_DAEMON is not defined:
387 (print_help_and_exit): Don't add daemon information to help.
388 (start_daemon_and_retry_set_socket): Make a no-op.
389 (main): Don't set `start_daemon_if_needed' (which is initialized to 0).
390
636b507b
DN
3912008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
392
393 * emacsclient.c (print_help_and_exit): Describe what an empty
394 string argument does for --alternate-editor.
395 (set_socket): Make it possible to not exit in case of an error.
396 (start_daemon_and_retry_set_socket): New function.
397 (main): Use it. Restore the NULL value for socket_name and
398 server_file after the set_socket call.
399
448d4085
DN
4002008-12-03 Dan Nicolaescu <dann@ics.uci.edu>
401
7b641241 402 * emacsclient.c: Include <arpa/inet.h>.
448d4085 403
938ebc4f
DN
4042008-12-01 Dan Nicolaescu <dann@ics.uci.edu>
405
406 * make-docfile.c (scan_lisp_file): Use xmalloc instead of malloc.
407
3d864325
GM
4082008-11-22 Derek Peschel <dpeschel@eskimo.com> (tiny change)
409
410 * etags.c (add_regex): Pass correct length to re_compile_pattern.
411
48c2dc68
CY
4122008-11-02 Chong Yidong <cyd@stupidchicken.com>
413
414 * emacsclient.c (window_system): Delete redundant variable.
415 (decode_options): Don't use it.
416 (find_tty): New function.
417 (main): Use find_tty, and don't use window_system.
418
d41784ee
EZ
4192008-11-01 Eli Zaretskii <eliz@gnu.org>
420
421 * emacsclient.c (main) [WINDOWSNT]: Don't ifdef away the call to
422 `ttyname'.
423 (w32_getenv): Treat $TERM specially: if not found in the
424 environment and in the Registry, return "w32console".
425 (ttyname) [WINDOWSNT]: New function.
426
322ca650
AS
4272008-10-31 Andreas Schwab <schwab@suse.de>
428
429 * emacsclient.c (main): Don't force sending tty when in eval mode.
430
8a8a7cd3
CY
4312008-10-30 Chong Yidong <cyd@stupidchicken.com>
432
433 * emacsclient.c (main): If using the current frame, send tty
434 information to Emacs in case daemon mode needs to occupy this tty.
435
f8baa639
JB
4362008-10-29 Juanma Barranquero <lekktu@gmail.com>
437
bc558f3e
JB
438 * emacsclient.c (EXTRA_SPACE): New macro.
439 (get_server_config, set_local_socket): Use it.
440
f8baa639
JB
441 * makefile.w32-in ($(BLD)/sorted-doc.$(O)): Remove spurious backslash.
442 Reported by Guillaume Conjat <gconjat.ext@orange-ftgroup.com>.
443
f77b11a0
JB
4442008-10-29 Ulrich Mueller <ulm@gentoo.org>
445
446 * emacsclient.c (set_local_socket): Use TMPDIR (default /tmp)
447 instead of hardcoded /tmp.
448
dc1cd5f7
DN
4492008-10-13 Dan Nicolaescu <dann@ics.uci.edu>
450
451 * emacsclient.c (longopts, print_help_and_exit): Add -nw.
452 (decode_options): Use getopt_long_only.
453
7a09249b
EZ
4542008-09-30 Eli Zaretskii <eliz@gnu.org>
455
456 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove ccl.elc and
457 codepage.elc.
458
997ec957
CY
4592008-09-19 Dan Nicolaescu <dann@ics.uci.edu>
460
461 * emacsclient.c (main): Use stdout rather than stdin to obtain the
462 terminal (bug#427).
463
0d80bf29
FP
4642008-08-25 Francesco Potortì <pot@gnu.org>
465
466 * etags.c (main): Do not use static space for the tagfile string.
467
34a23e94
FP
4682008-08-17 Francesco Potortì <pot@gnu.org>
469
470 * etags.c (main): Use canonicalize_filename on tags file name.
471 (relative_filename): Revert 3.85: do not collapse slashes here.
472 (absolute_dirname): Remove useless call to canonicalize_filename.
473 (canonicalize_filename): Collapse multiple slashes here.
474
48fad8e8
DN
4752008-08-07 Dan Nicolaescu <dann@ics.uci.edu>
476
10d1d0af
JB
477 * Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES.
478 Do not special case for NS_IMPL_COCOA.
48fad8e8 479
6088b51f 4802008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com>
f4494e84
AR
481
482 * Makefile.in (CFLAGS): Drop -universal under NS_IMPL_COCOA.
483 (.m.o): Dispense with GNUstep-specific flags.
484
39b8bb9b
CY
4852008-08-05 Ulrich Mueller <ulm@gentoo.org>
486
487 * pop.c (socket_connection): Add conditionals for
488 HAVE_KRB5_ERROR_TEXT and HAVE_KRB5_ERROR_E_TEXT to support
489 compilation with MIT Kerberos and Heimdal, respectively.
490
7c2fb837
DN
4912008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
492
493 * etags.c:
494 * emacsclient.c: Remove VMS support.
495
9e2a2647
DN
4962008-07-27 Dan Nicolaescu <dann@ics.uci.edu>
497
498 Remove support for Mac Carbon.
499 * makefile.w32-in:
500 * emacsclient.c: Remove code for Carbon.
501
7f619bab
DN
5022008-07-21 Dan Nicolaescu <dann@ics.uci.edu>
503
504 * Makefile.in (mac-fix-env): Remove #ifdef around rule.
505
32cc3925
AS
5062008-07-17 Andreas Schwab <schwab@suse.de>
507
508 * Makefile.in (INSTALL_SCRIPT): Remove duplicate definition.
509 (LIB_STANDARD_LIBSRC): Don't define.
510 (LOADLIBES): Remove LIB_STANDARD_LIBSRC.
511
ba60bd44 5122008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
122e9f8f
AR
513
514 * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to
515 NS_IMPL_COCOA.
516
50863f58
DN
5172008-07-16 Dan Nicolaescu <dann@ics.uci.edu>
518
ba60bd44
JB
519 * ntlib.h (fcloseall, fgetchar, flushall, fputchar, putw):
520 Remove, unused.
50863f58 521
ba60bd44 5222008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com>
edfda783
AR
523
524 * .cvsignore: Add mac-fix-env.
525 * mac-fix-env.m: New file, automatically update
526 ~/.MacOSX/environment.plist on OS X systems to expose environment
527 variables inside Emacs started from icon.
528 * Makefile.in: Add -universal to CFLAGS on OS X, add mac-fix-env to
529 programs to build.
530 * make-docfile.c: Add .m to list of file extensions.
531
bba104c1
DN
5322008-07-12 Dan Nicolaescu <dann@ics.uci.edu>
533
534 * movemail.c (main): Use int instead of WAITTYPE.
535
da007124
JB
5362008-07-05 Juanma Barranquero <lekktu@gmail.com>
537
538 * makefile.w32-in (OTHER_PLATFORM_SUPPORT):
539 Remove vmsproc.el and vms-patch.el.
540
c9fc02c7
JB
5412008-06-26 Juanma Barranquero <lekktu@gmail.com>
542
543 * makefile.w32-in (obj): Remove w32bdf.o.
544
f2a77c3a
DN
5452008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
546
547 * fakemail.c: Remove references to obsolete variables.
548
c2cd06e6
JM
5492008-06-02 Jim Meyering <meyering@redhat.com>
550
e914c409 551 * ebrowse.c (xfree): Remove definition; s/xfree/free/.
5c19cd0b 552
e914c409 553 Remove useless if-before-free tests.
70fdbb46
JM
554 * ebrowse.c (xfree): Likewise.
555 * etags.c (process_file_name, free_tree, free_fdesc): Likewise.
c2cd06e6 556 (popclass_above, Prolog_functions, Erlang_functions): Likewise.
70fdbb46 557 * pop.c (pop_quit): Likewise.
c2cd06e6 558
01b996ad
JB
5592008-05-30 Juanma Barranquero <lekktu@gmail.com>
560
561 * makefile.w32-in (lisp2): Add minibuffer.elc.
562
2926947a
SM
5632008-05-29 Tom Tromey <tromey@redhat.com>
564
565 * etags.c (relative_filename): Treat "///" like "/" in filenames.
566
10fea9c4
EZ
5672008-05-09 Eli Zaretskii <eliz@gnu.org>
568
569 * ntlib.c: Include sys/types.h, sys/stat.h, and errno.h.
570 (IS_DIRECTORY_SEP): New macro.
571 (convert_time, is_exec, stat): New functions.
572
86914123
EZ
5732008-05-08 Eli Zaretskii <eliz@gnu.org>
574
575 * makefile.w32-in (lisp2): Rename epa-file-hook.elc to epa-hook.elc.
576
58bb7d50
EZ
5772008-05-03 Eli Zaretskii <eliz@gnu.org>
578
579 * makefile.w32-in (lisp2): Add epa-file-hook.elc, to track the
580 corresponding change in src/Makefile.in.
581
63b9b605
GM
5822008-04-24 Adam Gołębiowski <adamg@pld-linux.org> (tiny change)
583
584 * Makefile.in (etags${EXEEXT}, ctags${EXEEXT}): Fix quote typo.
585
4429f88c
JR
5862008-04-10 Jason Rumney <jasonr@gnu.org>
587
588 * makefile.w32-in (CLIENTRES): New variable and target.
589 (TRES): Remove.
590 ($(BLD)/emacsclientw.exe): Use $(CLIENTRES) instead of $(TRES).
591
14b11401
SM
5922008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
593
594 * vcdiff: Use "sccs get" rather than "get"; leave PATH alone.
595
95de358c
RF
5962008-04-18 Steve Grubb <sgrubb@redhat.com> (tiny change)
597
598 * vcdiff: Use mktemp (CVE-2008-1694).
599
6948400c
JR
6002008-04-09 Jason Rumney <jasonr@gnu.org>
601
602 * makefile.w32-in (distclean, maintainer-clean): New targets.
603
afd27920
GM
6042008-03-13 Glenn Morris <rgm@gnu.org>
605
606 * makefile.w32-in (VERSION): Set to 23.0.60.
607
3d193d0f
JB
6082008-03-04 Juanma Barranquero <lekktu@gmail.com>
609
610 * .cvsignore: Add oo.
611
1797886f
SM
6122008-02-27 Yuri Shtil <yuris@juniper.net> (tiny change)
613
614 * etags.c (Perl_functions): Fix call to skip_spaces.
615
9d2818d6
DN
6162008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
617
618 * Makefile.in (NO_SHORTNAMES):
619 * emacsclient.c (NO_SHORTNAMES):
620 * fakemail.c (NO_SHORTNAMES):
621 * make-docfile.c (NO_SHORTNAMES):
622 * movemail.c (NO_SHORTNAMES):
623 * pop.c (NO_SHORTNAMES): Remove references to obsolete variable.
624
79d48c1a
JR
6252008-02-23 Jason Rumney <jasonr@gnu.org>
626
627 * makefile.w32-in (MOUSE_SUPPORT): Remove duplicate tooltip.elc.
628 (MSDOS_SUPPORT, VMS_SUPPORT): Remove.
290afd83 629 (OTHER_PLATFORM_SUPPORT): Replace above. Add X specific files too.
79d48c1a
JR
630 (lisp2): Add new languages.
631 ($(DOC)): Use OTHER_PLATFORM_SUPPORT.
632
9c61c734
JB
6332008-02-22 Juanma Barranquero <lekktu@gmail.com>
634
635 * makefile.w32-in (lisp2): Remove devanagari.el, kannada.el,
636 malayalam.el, and tamil.el. Add sinhala.el.
637
50f271cb
JB
6382008-02-20 Juanma Barranquero <lekktu@gmail.com>
639
640 * emacsclient.c (main) [WINDOWSNT]: Understand DRIVE:NAME,
641 where NAME is relative to DRIVE'S current directory.
642
d07529f3
JB
6432008-02-15 Juanma Barranquero <lekktu@gmail.com>
644
645 * emacsclient.c (print_help_and_exit): Show -d option on Windows.
646
45c1955d
DN
6472008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
648
649 * fakemail.c: Undo previous change.
650
deeaffe1
DN
6512008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
652
4624371d
DN
653 * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
654 (main): Replace MAIL_PROGRAM_NAME with its value.
655
d07529f3 656 * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete variable.
deeaffe1 657
9997dc15
SM
6582008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
659
660 * emacsclient.c (decode_options): Pass --display implicitly if -c
661 is specified. Only set tty if -t or -c is specified.
662
0c55bf82
JR
6632008-02-04 Jason Rumney <jasonr@gnu.org>
664
665 * makefile.w32-in (lisp1): Use (), not {}.
666
31cdf671
CY
6672008-02-04 Tom Tromey <tromey@redhat.com>
668
d07529f3
JB
669 * etags.c: Add "GTY" as synonym for __attribute__.
670 Update gperf output.
31cdf671 671
9303f985 6722008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2
MB
673
674 * makefile.w32-in (obj): Sync with src/Makefile.in
675 (TOOLTIP_SUPPORT, WINDOW_SUPPORT): New definitions.
676 (WINNT_SUPPORT): Add term/w32-win.elc.
677 (lisp1, lisp2): Sync with lisp in src/Makefile.in.
678
9303f985 6792008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2 680
d07529f3 681 * makefile.w32-in (obj): Add font.o and w32font.o.
aca7a3d2 682
d07529f3 6832008-02-01 Zhang Wei <id.brep@gmail.com> (tiny change)
aca7a3d2 684
290afd83 685 * makefile.w32-in (lisp1): Delete ucs-tables.elc,
aca7a3d2
MB
686 utf-8.elc, and latin-*.el.
687
0ea5797a
SM
6882008-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
689
bcc891c2 690 * emacsclient.c (decode_options): Default to NULL display, as Emacs-22.
0ea5797a
SM
691 Allow the -d option under w32 again, for those rare cases where it
692 actually does make sense.
693
5ab73228
JB
6942008-01-25 Juanma Barranquero <lekktu@gmail.com>
695
696 * emacsclient.c (set_tcp_socket): Don't send "\n" after
697 the authentication string; there's no need to haste.
698
702123a8
CY
6992008-01-22 Chong Yidong <cyd@stupidchicken.com>
700
701 * pop.c (pop_stat, pop_last): Fix last fix.
702
76ed5e01
DN
7032008-01-18 Dan Nicolaescu <dann@ics.uci.edu>
704
705 * movemail.c: Remove references to XENIX.
706
e39a993c
DN
7072008-01-13 Dan Nicolaescu <dann@ics.uci.edu>
708
709 * movemail.c:
710 * make-docfile.c: Remove reference to symbols defined by systems
711 not supported anymore: MAC_OS8, XENIX and STRIDE.
712
0ebec7d3
EZ
7132008-01-12 Eli Zaretskii <eliz@gnu.org>
714
715 * emacsclient.c (decode_options) [WINDOWSNT]: Don't use the value
716 of DISPLAY in the environment. Don't support -d.
717 (print_help_and_exit) [WINDOWSNT]: Don't show the --display option.
718 (longopts) [WINDOWSNT]: Remove --display.
719
6eae3ad4
CY
7202008-01-10 Chong Yidong <cyd@stupidchicken.com>
721
722 * pop.c (pop_stat, pop_last): Check validity of string-to-integer
723 conversion. Mistakes spotted by Nico Golde.
724
78da39c6
GM
7252008-01-09 Glenn Morris <rgm@gnu.org>
726
727 * emacsclient.c: Add missing final newlines to message calls.
728
34a14ec9 7292008-01-09 Daniel Hackney <dan@haxney.org> (tiny change)
78da39c6
GM
730
731 * emacsclient.c (set_socket): Add final newline to socket error message.
732
a408ea17
GM
7332008-01-04 Glenn Morris <rgm@gnu.org>
734
07655e62
JB
735 * ebrowse.c (version) <emacs_copyright>: New variable.
736 Just use current year for copyright.
a408ea17
GM
737
738 * etags.c (print_version):
739 * rcs2log (Copyright): Update to 2008.
740
0dc7a8bc
JR
7412007-11-28 Jason Rumney <jasonr@gnu.org>
742
743 * makefile.w32-in (VMS_SUPPORT): No longer byte-compiled.
744
880820fe 7452007-11-27 Jan Djärv <jan.h.d@swipnet.se>
7291159e
JD
746
747 * pop.c (socket_connection): Remove AI_ADDRCONFIG.
748
880820fe 7492007-11-19 Jan Djärv <jan.h.d@swipnet.se>
ee15f312
JD
750
751 * pop.c (socket_connection): Move realhost out of #ifdefs.
752 Set realhost both for HAVE_GETADDRINFO and !HAVE_GETADDRINFO.
753
880820fe 7542007-11-18 Jan Djärv <jan.h.d@swipnet.se>
33a2a872
JD
755
756 * pop.c (socket_connection): Use getaddrinfo if available.
757
880820fe 7582007-11-22 Francesco Potortì <pot@gnu.org>
63f018cd 759
65841dd8 760 * etags.c (default_C_help) [CTAGS]: Differentiate the help string,
63f018cd 761 as the defaults in ctags are different from etags.
63f018cd 762
880820fe 7632007-11-15 Francesco Potortì <pot@gnu.org>
21e14641
FP
764
765 * etags.c: Make prototypes for extern definitions, and add all
766 that are needed to quench warnings on 64-bit.
767 (main): Use the same defaults for ctags as for etags: find
768 typedefs, structure tags, macro constants, enum constants, struct
769 members and global variables.
770 (make_C_tag) [DEBUG]: Add debugging printout.
771 (C_entries): In case '}' decrement bracelev before testing it.
772
7455effc
FP
7732007-11-15 Masatake YAMATO <jet@gyve.org>
774
775 * etags.c (C_entries): In case '}', set fvdef to fvnone
776 unconditioned to (!ignoreindent && lp == newlb.buffer + 1).
777
04a697fe
DN
7782007-11-01 Dan Nicolaescu <dann@ics.uci.edu>
779
780 * makefile.w32-in (obj): Remove sunfns.o.
781
a2666217
JB
7822007-10-28 Juanma Barranquero <lekktu@gmail.com>
783
784 * makefile.w32-in (obj): Remove abbrev.o.
785
7ce8671d
JB
7862007-10-26 Juanma Barranquero <lekktu@gmail.com>
787
788 * emacsclient.c: Add a wrapper for getenv so it also checks the
789 registry on Windows. Suggestion and algorithm by Eli Zaretskii.
790 Code partially based on w32_get_resource and init_environment (w32.c).
791 (egetenv): New wrapper for getenv.
792 (get_current_dir_name, decode_options, get_server_config)
793 (set_local_socket, set_socket, main): Use egetenv, not getenv.
794 (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
795
d22b00e5
JR
7962007-10-25 Jason Rumney <jasonr@gnu.org>
797
798 * emacsclient.c (sock_err_message): New function.
799 (set_tcp_socket): Use it.
800
c4b858e3
JB
8012007-10-09 Juanma Barranquero <lekktu@gmail.com>
802
803 * emacsclient.c (print_help_and_exit): Fix space to improve
804 alignment in output messages.
805
dbf60b07
JR
8062007-09-27 Jason Rumney <jasonr@gnu.org>
807
808 * makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32.
809
810 * emacsclient.c (w32_window_app): Init common controls when windowed.
811
165e85b2
GM
8122007-09-21 Glenn Morris <rgm@gnu.org>
813
814 * emacstool.c: Remove file.
815 * Makefile.in (emacstool, nemacstool, xvetool, xveterm):
816 Delete targets built from emacstool.
817
c1b8e896
SM
8182007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
819
820 * emacsclient.c (decode_options): -t implies -c.
821
cb06b8dc
SM
8222007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
823
824 * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP)
825 (IS_ANY_SEP): Only define if !defined(HAVE_GET_CURRENT_DIR_NAME).
826 (main_argc): Remove.
827 (strprefix): Use strncmp.
828
c801ad51
JR
8292007-09-20 Jason Rumney <jasonr@gnu.org>
830
831 * emacsclient.c (main) [SIGSTOP]: Change conditional from WINDOWSNT.
832
31fa6595
SM
8332007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
834
835 * emacsclient.c (current_frame): Change the default.
836 (longopts): Replace --current-frame by --create-frame.
837 (decode_options): Reverse the meaning of -c.
838 (print_help_and_exit): Update help text accordingly.
839 (main): Remove the -version and -good-version messages.
840
58573230
GM
8412007-09-12 Glenn Morris <rgm@gnu.org>
842
843 * Makefile.in (SOURCES, unlock, relock): Delete.
844
bfd9ce71
GM
8452007-08-29 Glenn Morris <rgm@gnu.org>
846
847 * makefile.w32-in (VERSION): Increase to 23.0.50.
848
8d9cc0b7
MB
8492007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
850
851 * emacsclient.c (w32_execvp): Move definition before use.
852 (decode_options): Don't use a tty on mac carbon or windows.
853
8542007-08-29 Jason Rumney <jasonr@gnu.org>
855
31fa6595 856 * emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation macros.
8d9cc0b7
MB
857 (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp):
858 (main): Expand removed macros inline.
859 (main) [WINDOWSNT]: Don't call ttyname. Don't recognize -suspend
860 option.
861 (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals.
862
880820fe 8632007-08-29 Károly Lőrentey <lorentey@elte.hu>
8d9cc0b7
MB
864
865 * emacsclient.c (signal.h): New include.
866 (sys/stat.h, errno.h): Always include, even on WINDOWSNT.
31fa6595
SM
867 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP):
868 Copy definitions here from src/lisp.h.
869 (main_argc, main_argv, current_frame, window_system, tty): New vars.
8d9cc0b7
MB
870 (longopts): Add tty, current-frame.
871 (xmalloc, xstrdup): New functions.
872 (get_current_dir_name): New function, copied from src/sysdep.c.
873 (decode_options): Set display from environment. Add tty and
874 current_frame options. Make --no-wait imply --current-frame,
875 except when it is the only option given. Make sure no frame is
876 opened when --current-frame is set.
877 (print_help_and_exit): Document tty and current-frame options.
878 (fail): Change arguments to void.
879 (main): When sockets are not defined, set main_argc, main_argv,
880 and call fail() with no arguments.
881 (emacs_socket): New variable (moved out from main `s').
882 (quote_file_name): Rename to quote_argument.
883 (quote_argument): New name for old quote_file_name.
884 (unquote_argument, strprefix, pass_signal_to_emacs)
885 (handle_sigcont, handle_sigtstp, init_signals): New functions.
886 (set_local_socket): Initialize saved_errno to 0. If socket-name
887 is too long, call `fail' rather than `exit'.
888 (main): Doc update. Set main_argc, main_argv. New var `str'.
889 Don't need a filename or argument if tty or window_system set.
890 Call fail with no arguments. Use get_current_dir_name to send
891 over the current directory. Send version number to Emacs for
892 verification. If tty is set, check TERM, and pass name and type
893 to Emacs. Pass window_system to Emacs. Move sending of eval to
894 optind loop. Send -position, -file to Emacs. Call fsync after
31fa6595
SM
895 fflush. Check for a client/server version match.
896 Handle -emacs-pid, -window-system-unsupported, -print, -error, and
897 -suspend commands. Don't exit prematurely on --no-wait, let Emacs
898 close the connection for us. When creating a new frame, send
8d9cc0b7
MB
899 environment and pwd to Emacs. Send current-frame to Emacs.
900
ca4ea90f
EZ
9012007-08-25 Eli Zaretskii <eliz@gnu.org>
902
903 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
904 Prepend "-" to the command, in case srcdir=. and file is copied
905 into itself.
906
cacc7b51
GM
9072007-07-25 Glenn Morris <rgm@gnu.org>
908
909 * Relicense all FSF files to GPLv3 or later.
910
911 * COPYING: Switch to GPLv3.
912
880820fe 9132007-07-17 Francesco Potortì <pot@gnu.org>
180f5b99
FP
914
915 * etags.c (C_entries): Reset the fvdef machine when out of function.
21b2cdc7
FP
916 (PRINT_UNDOCUMENTED_OPTIONS_HELP): #define as FALSE if undefined.
917 (print_help): Use it in if() rather than #if.
918 (print_help): Conditionally print help about --no-line-directive.
180f5b99 919
9724908a
EZ
9202007-07-16 Eli Zaretskii <eliz@gnu.org>
921
922 * makefile.w32-in (clean): Don't delete *~.
923
5cf9ca93
GM
9242007-06-07 Glenn Morris <rgm@gnu.org>
925
926 * etags.c (print_version): Add `emacs_copyright' string, for
927 easier automatic updating.
928
880820fe 9292007-05-18 Francesco Potortì <pot@gnu.org>
cabfc1bc
FP
930
931 * etags.c: Extern definitions of some more pointer functions for
932 standalone compilation, especially important for 64bit platforms.
933 (main, print_help): --members is now the default for etags.
934 (C_entries): Parse start of C comment as a space == end of token.
935 This is not necessary for C++ comment, already parsed as newline.
936
07016031
GM
9372007-04-26 Glenn Morris <rgm@gnu.org>
938
939 * makefile.w32-in (VERSION): Increase to 22.1.50.
940
7dfc4cda
CY
9412007-06-02 Chong Yidong <cyd@stupidchicken.com>
942
943 * Version 22.1 released.
944
880820fe 9452007-02-26 Francesco Potortì <pot@gnu.org>
11d2d983 946
d620ddb3 947 * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
11d2d983 948
0971f887
GM
9492007-02-20 Ulrich Mueller <ulm@kph.uni-mainz.de> (tiny change)
950
951 * Makefile.in (EMACS, EMACSOPT): New variables.
952 (blessmail): Use `--no-site-file' when compiling.
953
880820fe 9542007-02-05 Francesco Potortì <pot@gnu.org>
933ccc8c
FP
955
956 * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help)
957 (main): Now --members is the default for etags, not for ctags yet.
958
d881944f 9592007-02-04 Per Cederqvist <ceder@ingate.com> (tiny change)
953dea63 960
47dad44f 961 * etags.c (gperf, in_word_set): Change attribute for Java to
953dea63
FP
962 (C_JAVA & ~C_PLPL). The previous change introduced 2004-09-13 was
963 broken, as (C_JAVA & !C_PLPL) always evaluates to 0. This caused
964 import, package, extends, implements and interface to be treated
965 specially for all kinds of C-style files, not just Java files.
966
880820fe 9672007-01-02 Francesco Potortì <pot@gnu.org>
ed8bbc0e 968
47dad44f 969 * etags.c (longopts): New undocumented option --no-duplicates.
ed8bbc0e
FP
970 (no_duplicates): Static variables for the above option.
971 (print_help): Do not print help for --no-warn, now undocumented.
972 (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
56c0d866 973 (main): Pass the -u option to sort in ctags mode.
ed8bbc0e 974
880820fe 9752006-12-28 Francesco Potortì <pot@gnu.org>
18f9bf25
FP
976
977 * etags.c (readline): When creating a relative file name from a
978 #line directive, leave the file name alone. The previous
a7c29764 979 behavior was to make it relative to the tags file directory,
18f9bf25
FP
980 under the hypothesis that the #line directive file name was
981 relative to the directory of the tagged file. That hypothesis is
982 wrong with Cpp and Lex.
17d5f8a6 983 (Makefile_targets): Do not include spaces in tag names.
18f9bf25 984
5e059fc1
EZ
9852006-12-22 Eli Zaretskii <eliz@gnu.org>
986
987 * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl)
988 (movemail, fakemail, sorted-doc, digest-doc, emacsclient)
47dad44f 989 (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD).
5e059fc1
EZ
990 ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O))
991 ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O))
992 ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS))
993 ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O))
994 ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD.
6808dce1 995 (clean): Delete stamp_BLD.
5e059fc1 996
880820fe 9972006-12-20 Francesco Potortì <pot@gnu.org>
bd3b41c6
FP
998
999 * etags.c (C_entries): DEFUN names were longer by one: corrected.
1000
0e0dced5
JB
10012006-12-18 Juanma Barranquero <lekktu@gmail.com>
1002
1003 * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables.
1004 [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions.
1005 (main) [WINDOWSNT]: Remove code to release the focus; call
1006 w32_give_focus instead.
1007
4472aef4
JB
10082006-12-15 Juanma Barranquero <lekktu@gmail.com>
1009
1010 * emacsclient.c (w32_execvp): New function; wrapper for `execvp'.
1011 (execvp) [WINDOWSNT]: Redefine to `w32_execvp'.
1012 (fail): Remove Windows-specific fix (subsumed into w32_execvp).
1013 Suggestions and comment by Eli Zaretskii.
1014
12f7728e 10152006-12-06 Christoph Conrad <christoph.conrad@gmx.de>
c388769e
JB
1016
1017 * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
1018 Use $(USER32) for compatibility with Visual Studio .NET 2003.
1019
310afa17
JB
10202006-11-30 Juanma Barranquero <lekktu@gmail.com>
1021
1022 * emacsclient.c (emacs_pid): New variable.
1023 (message): Remove leftover code.
1024 (get_server_config): Set emacs_pid. Don't allow Emacs to grab the
1025 focus yet; emacsclient can still display an informational message
1026 before sending requests to Emacs.
1027 (main): Allow Emacs to grab the focus. Simplify message() call.
1028
10292006-11-30 Michael Mauger <mmaug@yahoo.com>
1030
1031 * emacsclient.c (message): Make sure the message is properly
1032 written even if it contains printf escapes, and flush the result.
1033 (set_tcp_socket): Make the message for non-local connections
1034 informational rather than an error.
1035
8c57275b 10362006-11-28 Kevin Ryde <user42@zip.com.au>
9b492fad
FP
1037
1038 * etags.c (readline): Check for double quote after #line.
1039
880820fe 10402006-11-28 Jan Djärv <jan.h.d@swipnet.se>
9b492fad
FP
1041
1042 * etags.c (readline): sscanf could in principle return 2.
1043
880820fe 10442006-11-28 Francesco Potortì <pot@gnu.org>
9b492fad
FP
1045
1046 * etags.c (readline): lno is unsigned.
1047 (TeX_commands): Use p++ (rather than *p++) to increment p.
1048 (Lua_functions): Explicitly discard LOOKING_AT's return value.
1049
4d91c8f9
JB
10502006-11-27 Juanma Barranquero <lekktu@gmail.com>
1051
1052 * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in).
1053 ($(TRES)): New rule (copied from nt/makefile.w32-in).
1054 ($(BLD)/emacsclientw.exe): Add dependency.
1055
340d34a5
EZ
10562006-11-27 Eli Zaretskii <eliz@gnu.org>
1057
d620ddb3 1058 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
340d34a5 1059
7dce1990
JB
10602006-11-25 Juanma Barranquero <lekktu@gmail.com>
1061
1062 * makefile.w32-in (VERSION): New macro.
1063 (ECLIENT_CFLAGS): Add -DVERSION.
1064
410797a5 10652006-11-25 Jason Rumney <jasonr@gnu.org>
402767e4
JR
1066
1067 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
1068
410797a5 10692006-11-24 Michael Mauger <mmaug@yahoo.com>
cb0297bb 1070
4472aef4
JB
1071 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
1072 file names with forward slashes.
cb0297bb 1073
30aa95ce
JB
10742006-11-23 Juanma Barranquero <lekktu@gmail.com>
1075
1076 * emacsclient.c (print_help_and_exit): Tweak message contents and
1077 tabs/spaces to improve alignment in message boxes.
1078
42073bfb
JB
10792006-11-22 Lennart Borgman <lennart.borgman.073@student.lu.se>
1080
1081 * emacsclient.c: Include <stdarg.h>.
1082 [WINDOWSNT]: Include <windows.h>.
1083 (w32_check_console_app): New function.
1084 (message): New function.
1085 (decode_options, print_help_and_exit, fail, main)
1086 (initialize_sockets, get_server_config, set_tcp_socket)
1087 (set_local_socket, set_socket): Use message().
1088
32dd9283 10892006-11-13 Jason Rumney <jasonr@gnu.org>
1ac3c910 1090
32dd9283
JR
1091 * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
1092 HAVE_INET_SOCKETS.
1093
1bbea9fc
JB
10942006-11-13 Juanma Barranquero <lekktu@gmail.com>
1095
1096 * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe.
1097 ($(BLD)/emacsclientw.exe): New target.
1098 (install): Install emacsclientw.exe.
1099 ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets.
1100 (ECLIENT_CFLAGS): Remove redundant flags.
1101
1102 * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
1103
a48db427
JR
11042006-11-13 Jason Rumney <jasonr@gnu.org>
1105
1106 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
1107
21f89bb7 11082006-11-10 David Reitter <david.reitter@gmail.com>
ed4a3730
JB
1109
1110 * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
1111
d5abc12c
JB
11122006-11-08 Juanma Barranquero <lekktu@gmail.com>
1113
ed4a3730
JB
1114 * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
1115 FARPROC to avoid a compiler warning.
d5abc12c 1116
18b8c421
JB
11172006-11-07 Juanma Barranquero <lekktu@gmail.com>
1118
88b46d84
JB
1119 * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
1120 file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
1121
18b8c421
JB
1122 * emacsclient.c (get_server_config): Extract also the Emacs pid
1123 from the server file. On Windows, try to force the Emacs frame to
1124 the foreground.
1125
b03d27bd
JB
11262006-11-06 Juanma Barranquero <lekktu@gmail.com>
1127
21f89bb7 1128 * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
b03d27bd
JB
1129 option --socket-name.
1130 (decode_options): Don't get EMACS_SERVER_FILE here, it could override
1131 command line options.
21f89bb7 1132 (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
b03d27bd
JB
1133 (fail): Don't check for missing arguments, it is now done in set_socket.
1134 (file_name_absolute_p): New function (loosely based on the one in
1135 fileio.c).
1136 (initialize_sockets): Don't check for duplicate loading of Winsock.
1137 (get_server_config): Only try relative paths in the default
1138 directory locations.
1139 (set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to
1140 a remote server.
1141 (set_socket): Call INITIALIZE(). Search explicit command-line
1142 arguments, then environment variable EMACS_SERVER_FILE, then implicit
1143 socket paths, before trying the alternate editor.
1144 (main): Use file_name_absolute_p.
1145
b20d6154
EZ
11462006-11-04 Eli Zaretskii <eliz@gnu.org>
1147
1148 * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
1149 file if it doesn't already exist.
1150
9c92edca
JB
11512006-11-03 Juanma Barranquero <lekktu@gmail.com>
1152
1153 * emacsclient.c (initialize_sockets): Don't initialize Winsock
1154 more than once.
1155
b6ce9c46
JB
11562006-11-03 Mark Davies <mark@mcs.vuw.ac.nz>
1157
1158 * Makefile.in (INSTALL_SCRIPT): New macro.
1159 ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
1160
4418616b
JB
11612006-11-02 Juanma Barranquero <lekktu@gmail.com>
1162
1163 * grep-changelog: When called with no arguments (not even a
1164 filter), show help instead of blindingly dumping every single
1165 ChangeLog available. Doc fix. Update version.
1166
1e7823d0
JB
11672006-11-02 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
1168
1169 * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
1170 [!WINDOWSNT]: Include <netinet/in.h> if available.
1171 [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
1172 (IOCTL, IOCTL_BOOL_ARG): Remove.
1173 (set_tcp_socket): Don't set the socket in blocking mode.
1174 Remove c_arg.
1175
ebc20ca0
JB
11762006-11-01 Juanma Barranquero <lekktu@gmail.com>
1177
1178 * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
1179 execvp to point to alternate_editor (otherwise .BAT scripts can't run).
1180
880820fe 11812006-10-31 Óscar Fuentes <ofv@wanadoo.es> (tiny change)
411b80a5
JB
1182
1183 * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
1184 (close_winsock): Declare as __cdecl.
1185
880820fe 11862006-10-31 Jan Djärv <jan.h.d@swipnet.se>
95d0feaa
JB
1187
1188 * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
1189 (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
1190 to set the socket in non-blocking mode.
1191
e35fc962
JB
11922006-10-31 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
1193
d4fa60c8 1194 * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
e35fc962
JB
1195 (INVALID_SOCKET): Define.
1196 (initialize_sockets): Put #endif at the right place.
1197 (set_local_socket): Use progname, not argv[0].
1198
ecc54057
JB
11992006-10-31 Juanma Barranquero <lekktu@gmail.com>
1200
1201 * makefile.w32-in (ALL): Add emacsclient.
1202 (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
1203 (emacsclient, $(BLD)/emacsclient.exe): New targets.
1204 (install): Install emacsclient.
1205
1206 * emacsclient.c: Add support for TCP sockets.
1207 (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
1208 (INITIALIZE): New macros.
1209 (IOCTL_BOOL_ARG): New typedef.
1210 (server_file): New global variable.
1211 (longopts): New option --server-file.
1212 (decode_options): Process new option --server-file and environment
1213 variable EMACS_SERVER_FILE.
1214 (print_help_and_exit): Document new option.
1215 (fail): If no connection available and no alternate editor,
1216 suggest using options to make them explicit.
1217 (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
1218 (send_buffer, sblen): New variables.
31fa6595 1219 (send_to_emacs): New function to buffer output and send it with `send'.
ecc54057
JB
1220 (quote_file_name): Use SEND_STRING.
1221 (close_winsock, initialize_sockets): New functions to load and
1222 unload Winsock.
1223 (get_server_config, set_tcp_socket): New functions to create and
1224 set up TCP sockets.
1225 (set_local_socket): New function to create and set up Unix
1226 socket (code moved from previous implementation).
10d1d0af 1227 (set_socket): New function to choose between TCP and Unix sockets.
ecc54057
JB
1228 (main): Use SEND_STRING and SEND_QUOTED. Most code moved to
1229 set_local_socket. Use set_socket. Get answers from server.el with
1230 recv(), not file stream functions.
1231
70846e2a
EZ
12322006-10-09 Eli Zaretskii <eliz@gnu.org>
1233
1234 * makefile.w32-in (../src/config.h): Fix error message.
1235
e2247cd0
EZ
12362006-09-30 Eli Zaretskii <eliz@gnu.org>
1237
1238 * .cvsignore: Add blessmail.
1239
45a2056c
JB
12402006-09-15 Jay Belanger <belanger@truman.edu>
1241
1242 * COPYING: Replace "Library Public License" by "Lesser Public
1243 License" throughout.
1244
880820fe 12452006-08-09 Jan Djärv <jan.h.d@swipnet.se>
1f4edc37 1246
ecc54057 1247 * etags.c (readline): Expect sscanf returns >= 1.
ea90c5d3 1248 (readline): Change position on %n and \" in sscanf.
1f4edc37 1249
1520a816
JD
12502006-08-07 Masatake YAMATO <jet@gyve.org>
1251
ecc54057
JB
1252 * etags.c (readline): Expect sscanf returns 2, not 1.
1253
867cc23e
JD
12542006-08-07 Masatake YAMATO <jet@gyve.org>
1255
9984b9d5 1256 * etags.c (TEX_mode): Check getc returns EOF.
867cc23e
JD
1257 File ended without newline causes infinite loop.
1258
6088b51f 12592006-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
fc185ae6 1260
ecc54057 1261 * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
fc185ae6 1262
880820fe 12632006-07-30 Francesco Potortì <pot@gnu.org>
fc185ae6
FP
1264
1265 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
1266 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
1267 (Objc_suffixes): Suggest using --lang=c for full help.
1268 (C_entries): Initialise savetoken to 0 to shut up the compiler.
1269
116e754b
AS
12702006-07-20 Andreas Schwab <schwab@suse.de>
1271
1272 * fakemail.c (fatal): Drop second parameter and treat first
1273 parameter as a plain string. Callers changed.
1274
2381d38d
DN
12752006-07-18 Dan Nicolaescu <dann@ics.uci.edu>
1276
1277 * ebrowse.c (usage, version): Mark as NO_RETURN.
1278
1279 * emacsclient.c (print_help_and_exit): Likewise.
1280
880820fe 12812006-07-10 Francesco Potortì <pot@gnu.org>
327891eb
FP
1282
1283 * etags.c (absolute_filename): Free unused space (cosmetic change).
1284 (in_word_set): In C, also tag #undef symbols.
1285
7cb93181
EZ
12862006-06-09 Eli Zaretskii <eliz@gnu.org>
1287
1288 * yow.c: Remove file.
1289
1290 * makefile.w32-in ($(BLD)/yow.$(O)): Remove target.
1291
1292 * Makefile.in (UTILITIES): Remove yow${EXEEXT}.
1293 yow${EXEEXT}: Remove target.
1294
0f29c66d
MY
12952006-06-04 Masatake YAMATO <jet@gyve.org>
1296
63fbb644 1297 * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
0f29c66d
MY
1298 doesn't exist, is not seekable, not is failed in ftall.
1299
a941b26b
EZ
13002006-06-03 Eli Zaretskii <eliz@gnu.org>
1301
9781fb53
EZ
1302 * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
1303 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
1304 ($(BLD)/test-distrib.exe): New targets.
1305 (sorted-doc, digest-doc, test-distrib): New targets.
1306 (install): Install sorted-doc.exe and digest-doc.exe.
1307 ($(BLD)/sorted-doc.$(O)): Update dependencies.
1308
1b178b99
EZ
1309 * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
1310 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
1311 terminal device.
1312
ae85efdb
EZ
1313 * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
1314 [WINDOWSNT] <top level>: Don't redeclare malloc.
1315 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
1316 terminal device.
6088b51f 1317 (main): Initialize bp, to avoid compiler warnings.
ae85efdb 1318
a941b26b
EZ
1319 * makefile.w32-in: Delete traces of leditcfns.c.
1320
1321 * leditcfns.c: Remove file.
1322
880820fe 13232006-05-23 Francesco Potortì <pot@gnu.org>
8a6d5da7 1324
31fa6595
SM
1325 * pop.c (pop_open, socket_connection, KPOP_SERVICE):
1326 Add comments explaining why the "kpop" service is never used.
8a6d5da7 1327
642c61f3
EZ
13282006-05-13 Eli Zaretskii <eliz@gnu.org>
1329
1330 * makefile.w32-in (lisp1): Add fringe.elc.
1331
880820fe 13322006-05-02 Francesco Potortì <pot@gnu.org>
7e237d24
FP
1333
1334 * etags.c (Perl_functions): Free space allocated for var package.
1335 (Erlang_functions): Possibly free space allocated for var last.
1336 (Prolog_functions): Possibly free space allocated for var last.
1337
7c47913b
DN
13382006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
1339
7fe8b491
DN
1340 * sorted-doc.c (main): Initialize docs to NULL.
1341
cdeda579
DN
1342 * yow.c (yow): Free buf.
1343
7c47913b
DN
1344 * etags.c: Delete c-indentation-style local variable.
1345
2ef88a94
RS
13462006-04-29 Richard Stallman <rms@gnu.org>
1347
5e5b35c7
RS
1348 * movemail.c (main): Check for negative value from `read'.
1349
2ef88a94
RS
1350 * fakemail.c (read_header): Give fatal error if input has no header.
1351
d65b4235
PE
13522006-04-02 Paul Eggert <eggert@cs.ucla.edu>
1353
1354 * b2m.c (main): Don't include <limits.h>.
1355 (TM_YEAR_BASE): New macro.
1356 (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
1357 that s/ files can override this. Use the more-conservative range
1358 1000-9999.
1359 (main): Check for asctime returning NULL.
1360 * fakemail.c: Likewise.
1361
f5565804
PE
13622006-03-27 Paul Eggert <eggert@cs.ucla.edu>
1363
1364 * b2m.c: Include <limits.h>.
1365 (TM_YEAR_IN_ASCTIME_RANGE): New macro.
1366 (main): Check for out-of-range time stamps.
1367 * fakemail.c: Likewise.
1368
90c9c343
AS
13692006-03-18 Andre Spiegel <spiegel@gnu.org>
1370
1371 * vcdiff: Use "echo" as a default for $echo, otherwise we'll
1372 execute $DIFF twice, and once with the wrong options.
1373
a6a2b5d4
EZ
13742006-02-23 Claudio Fontana <claudio@gnu.org>
1375
9e2bcc86
EZ
1376 * Makefile.in (install, uninstall): Add DESTDIR variable to
1377 support staged installations.
a6a2b5d4 1378
ef3f69f9
EZ
13792005-12-30 Eli Zaretskii <eliz@gnu.org>
1380
1381 * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
fc8dc7cf
EZ
1382 (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
1383 international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
1384 Rearrange the list to be similar to $(shortlisp) in
1385 src/Makefile.in.
ef3f69f9
EZ
1386 (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
1387 emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
1388 jit-lock.elc. Rearrange the list to be similar to $(shortlisp) in
1389 src/Makefile.in.
1390
30cfcf7f
RS
13912005-12-22 Richard M. Stallman <rms@gnu.org>
1392
1393 * Makefile.in (update-game-score.o): Delete spurious final `\'.
1394
ecc54057 13952005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
2e0bea68
FP
1396
1397 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
1398 which was never opened.
1399
283879ef 14002005-10-20 Olli Savia <ops@iki.fi> (tiny change)
ce0ae3a9
EZ
1401
1402 * etags.c: Undef STDIN if defined. (LynxOS defines it in system
1403 header files.)
1404
880820fe 14052005-09-27 Francesco Potortì <pot@gnu.org>
55102b5d
FP
1406
1407 * etags.c: Preliminary Forth support.
1408 (prolog_pr): Cast strlen to int before comparison.
1409 (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
1410 the second argument is indeed a literal string.
b9509712 1411 (main): In append mode, sort the tags file after writing it.
55102b5d
FP
1412
14132005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
1414
1415 * etags.c (longopts, print_help, main): The -a (--append) option
1416 can be used in ctags also; for one, the Linux make file uses it.
1417
41ea4df8
CY
14182005-09-20 Chong Yidong <cyd@stupidchicken.com>
1419
1420 * ebrowse.c (add_sym): Compare namespace names instead of
1421 namespace objects. This prevents the parser from incorrectly
1422 treating classes whose superclass is in another namespace.
1423
5c4757d3
RS
14242005-09-15 Richard M. Stallman <rms@gnu.org>
1425
1426 * Makefile.in (update-game-score.o): New target.
10d1d0af 1427 Compile and link this program separately.
5c4757d3
RS
1428 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
1429
df1b2142
JR
14302005-09-11 Jason Rumney <jasonr@gnu.org>
1431
ecc54057 1432 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
df1b2142 1433 message instead.
31fa6595 1434 (../src/paths.h): Remove.
df1b2142 1435
c638055f
JB
14362005-07-27 Juanma Barranquero <lekktu@gmail.com>
1437
1438 * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
1439 generated. Ignore also ctags.c and getopt.h.
1440
1441 * makefile.w32-in (clean): Delete getopt.h.
1442 (getopt.h): New rule.
1443
9eff9fe3
PE
14442005-07-26 Paul Eggert <eggert@cs.ucla.edu>
1445
1446 Merge gnulib getopt implementation into Emacs.
1447
1448 * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
1449 (GETOPT_H): New macro, from gnulib.
1450 (getopt.h): New rule, from gnulib.
1451 (GETOPTOBJS): Now autoconfigured.
1452 (GETOPTDEPS): getopt.h is now autoconfigured.
1453 (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
1454 (getopt.o): Depend on ${srcdir}/gettext.h.
1455 (movemail.o): Depend on $(GETOPT_H).
1456 * getopt.c, getopt1.c: Sync from gnulib.
1457 * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
1458 * getopt.h: Removed (now is getopt_.h).
1459
ec641d50
KR
14602005-07-13 Ken Raeburn <raeburn@gnu.org>
1461
0e0dced5
JB
1462 * pop.c: Don't include des.h (or variants thereof); krb.h will do it.
1463 (sendline): Add the \r\n to the line in a temporary buffer, and write
1464 it all at once.
ec641d50 1465
a0ec7a4a
LK
14662005-07-04 Lute Kamstra <lute@gnu.org>
1467
1468 Update FSF's address in GPL notices.
1469
0e0dddda
EZ
14702005-06-13 Eli Zaretskii <eliz@gnu.org>
1471
1472 * makefile.w32-in ($(DOC)): Fix last change.
1473
5a77c8e2
EZ
14742005-06-12 Eli Zaretskii <eliz@gnu.org>
1475
1476 * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
1477 temacs.exe, and the preloaded *.elc files. This avoids
1478 unnecessary dumping and DOC rebuilding.
1479
1a8fb426
EZ
14802005-06-04 Eli Zaretskii <eliz@gnu.org>
1481
1482 * ntlib.h (fileno): Don't define if already defined.
1483
7235a58f
TTN
14842005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
1485
1486 * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
1487 (yow): Use EXIT_FAILURE in case of memory error.
1488
5063dbbf
YM
14892005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1490
1491 * make-docfile.c (DIRECTORY_SEP): New macro.
1492 (IS_DIRECTORY_SEP): Use it.
1493
880820fe 14942005-03-18 Jan Djärv <jan.h.d@swipnet.se>
5b9562c3
JD
1495
1496 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
1497
ba025f6d
YM
14982005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1499
1500 * make-docfile.c: Undo previous change.
1501
a9eedf40
AS
15022005-02-04 Andreas Schwab <schwab@suse.de>
1503
0e0dced5
JB
1504 * movemail.c (fatal): Accept third parameter and pass down to error.
1505 (pfatal_with_name): Pass error string as format parameter instead of
1506 as part of format string.
a9eedf40
AS
1507 (pfatal_and_delete): Likewise.
1508 (main): Adjust call to fatal.
1509 (xmalloc): Likewise.
1510
5a92a9eb
RS
15112005-01-29 Richard M. Stallman <rms@gnu.org>
1512
1513 * movemail.c (popmail): Don't use Errmsg as format string.
1514
e6973a25
ST
15152004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1516
0e0dced5 1517 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
e6973a25 1518
1bb3da38
AS
15192004-12-15 Andreas Schwab <schwab@suse.de>
1520
1521 * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
1522 preprocessing to compile time constant.
1523
d4a38fdd
KS
15242004-11-17 Kim F. Storm <storm@cua.dk>
1525
1526 * etags.c: Undo last change.
1527
f2eb41c8
KS
15282004-11-09 Kim F. Storm <storm@cua.dk>
1529
1530 * make-docfile.c (scan_c_file): Set defvarperbufferflag to
1531 silence compiler.
1532
1533 * hexl.c (main): Init local var c to silence compiler.
1534
1535 * etags.c (main, consider_token, C_entries): Add misc switch
1536 default targets to silence compiler.
1537
880820fe 15382004-11-09 Jan Djärv <jan.h.d@swipnet.se>
3cf5c994
JD
1539
1540 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
1541 resulting DOC file can be used on Unix/Mac also.
1542
880820fe 15432004-09-13 Francesco Potortì <pot@gnu.org>
e057dc50
FP
1544
1545 * etags.c (main): When relative file names are given as argument,
1546 make them relative to the current working dir, rather than
1547 relative to the output tags file, if the latter is in /dev.
1548
880820fe 15492004-09-13 Francesco Potortì <pot@gnu.org>
05d9a399
FP
1550
1551 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
1552 <stdlib.h> is available.
1553 (enum sym_type): New st_C_attribute value for parsing
1554 gcc's __attribute__. Deleted st_C_typespec value.
1555 (gperf, in_word_set): Use gperf 3, options changed. Added the
1556 __attribute__ keyword, removed all the st_C_typespec keywords,
1557 changed attribute for Java to (C_JAVA & !C_PLPL).
1558 (inattribute): New global bool, part of the C state machine.
1559 (cblev): Identifier renamed to bracelev throughout.
1560 (consider_token, C_entries): Numerous changes for making the
1561 parser more robust and adding support for __attribute__.
1562
15632004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
1564
ecc54057 1565 * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
05d9a399
FP
1566 Support the Lua scripting language <http://www.lua.org>.
1567
880820fe 15682004-09-08 Francesco Potortì <pot@gnu.org>
fba74375 1569
d57727c9 1570 * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
fba74375
FP
1571 for ease of use.
1572
3751eb00
RS
15732004-07-17 Richard M. Stallman <rms@gnu.org>
1574
1575 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
1576
86d373e6
JB
15772004-06-01 Juanma Barranquero <lektu@terra.es>
1578
1579 * makefile.w32-in (obj): Add image.c.
1580
80e26b66
TTN
15812004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
1582
0e0dced5 1583 * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
80e26b66 1584
e6662c8b
JR
15852004-05-08 Jason Rumney <jasonr@gnu.org>
1586
1587 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
1588 command-lines.
1589
65396510
TTN
15902004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
1591
1592 * cvtmail.c: Throughout, replace 0 destined for `exit' arg
1593 with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
1594 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
1595
1596 * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
86d373e6
JB
1597 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
1598 * test-distrib.c, update-game-score.c, yow.c: Likewise.
65396510 1599
c2bcfb19
TTN
16002004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
1601
1602 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
1603
3f0656ff
TTN
16042004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
1605
1606 * b2m.c (GOOD, BAD): Delete macros. Throughout,
1607 replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
1608 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
1609
1610 * etags.c: Likewise.
1611
238add5e
JR
16122004-05-03 Jason Rumney <jasonr@gnu.org>
1613
1614 * makefile.nt: Remove.
1615
b09c5608
EZ
16162004-04-26 Eli Zaretskii <eliz@gnu.org>
1617
1618 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
1619 (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
1620 instead of a literal '/'.
1621
d814862a
JB
16222004-04-23 Juanma Barranquero <lektu@terra.es>
1623
1624 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
1625
442a2160
PE
16262004-04-17 Paul Eggert <eggert@gnu.org>
1627
1628 * rcs2log (Help): Clarify wording of the usage message.
1629 Problem reported by Alan Mackenzie in
1630 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
1631
d5d66b7e
SM
16322004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1633
1634 * make-docfile.c (xmalloc): Fix return type.
1635 (put_filename): New fun.
1636 (scan_file): Use it.
1637
bdfd0369
JB
16382004-03-09 Juanma Barranquero <lektu@terra.es>
1639
1640 * grep-changelog: Changes to support ChangeLog.10+.
1641 (main): Tidy up usage string. Fix "Use of uninitialized value"
1642 warning. Set version to 0.2. Parse the directory listing to get
1643 any ChangeLog.n file, not just 1..9.
1644 (header_match_p, entry_match_p, print_log, parse_changelog):
1645 Remove Perl prototypes (their purpose is to help the parser, which
1646 isn't needed here, not declare arguments).
1647 (parse_changelog): Make --reverse faster on big batches by not
1648 modifying the entries list.
1649
a64387ee
JB
16502004-03-01 Juanma Barranquero <lektu@terra.es>
1651
1652 * makefile.w32-in (obj): Add fringe.c.
1653
9766d41b
PE
16542004-02-14 Paul Eggert <eggert@twinsun.com>
1655
1656 * rcs2log: Work correctly if CVSROOT specifies :fork: or
1657 :local: methods, or omits the colon between the hostname
1658 and the path. Allow :/ in repository path, since CVS does.
1659 Fix typo: "pository" should be set from $CVSROOT, not $repository.
1660 This fixes a bug reported by Wolfgang Scherer in
1661 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
1662 along with some related bugs I discovered by inspecting how
1663 CVS itself parses $CVSROOT.
1664
880820fe 16652004-02-04 Jérôme Marant <jmarant@nerim.net> (tiny change)
98c6e531
SM
1666
1667 * emacsclient.c (decode_options): Fix handling of alternate editor.
1668
0734b0d0
SM
16692004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
1670
1671 * emacsclient.c (main): Don't use the hostname in the socket name.
1672 Look for relative socket names in the /tmp dir rather than in cwd.
1673
2a6fc2d9
RS
16742004-01-24 Richard M. Stallman <rms@gnu.org>
1675
1676 * emacsclient.c (main): Restore errno from saved_errno,
1677 so the error message comes from socket_status.
1678
0734b0d0
SM
16792004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1680
1681 * emacsclient.c (main): Stop if socket name too long.
1682 Only try su-fallback if the socket name was not explicit.
1683 Check socket name length in su-fallback case as well.
1684
152b6e83
AS
16852004-01-08 Andreas Schwab <schwab@suse.de>
1686
1687 * emacsclient.c (main): Save errno from socket_status.
1688
e8228824
AS
16892004-01-04 Andreas Schwab <schwab@suse.de>
1690
1691 * emacsclient.c (main): Fix socket name when using another user.
1692
c9140662
PE
16932003-12-27 Paul Eggert <eggert@twinsun.com>
1694
1695 * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
1696 a tag, and if the user has not specified an rlog option.
1697 Adapted from a suggestion by Martin Stjernholm in
1698 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
1699 (Copyright): Update to 2003.
1700
8babaa59
TTN
17012003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
1702
1703 * make-docfile.c (main): For return code, no longer special-case VMS.
1704 Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
1705
880820fe 17062003-09-28 Andreas Büsching <crunchy@tzi.de> (tiny change)
14ef7288
EZ
1707
1708 * emacsclient.c (quote_file_name): Print the result instead of
1709 returning it. Fix the return type accordingly.
1ae7cf5e
RS
1710 (main): With --eval, if no file name, read from stdin.
1711 Quote file names.
14ef7288 1712
f387bdea
RS
17132003-09-10 Richard M. Stallman <rms@gnu.org>
1714
07655e62 1715 * emacsclient.c (main): Use socket_name.
f387bdea 1716
880820fe 17172003-09-10 Andreas Büsching <crunchy@tzi.de> (tiny change)
f387bdea
RS
1718
1719 * emacsclient.c (socket_name): New variable.
1720 (longopts, decode_options, print_help_and_exit):
1721 Handle --socket-name argument.
1722
0b7e7337
FP
17232003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
1724
783bcffa 1725 * etags.c (consider_token): Check C++ `operator' only when the
0b7e7337
FP
1726 token len is long enough.
1727
ac06b30b
DL
17282003-08-20 Dave Love <fx@gnu.org>
1729
1730 * Makefile.in: Remove obsolete references to alloca.
1731
32b0a3c6
JB
17322003-07-29 Ken Brush <ken@wirex.com>
1733
1734 * emacsclient.c (main)
1735 * etags.c (suggest_asking_for_help)
1736 * movemail.c (main): Fix having macros in a printf statement.
1737
3867c42d
JB
17382003-05-31 Juanma Barranquero <lektu@terra.es>
1739
1740 * makefile.w32-in (lisp): Fix references to byte-run.el,
1741 float-sup.el and map-ynp.el, which are now in emacs-lisp.
1742
7933722a
DL
17432003-05-22 Dave Love <fx@gnu.org>
1744
1745 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
1746 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
1747
463f55ee
DL
17482003-05-20 Dave Love <fx@gnu.org>
1749
1750 * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
1751
1752 * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
1753
1b7a835b
JB
17542003-04-27 Oliver Scholz <alkibiades@gmx.de>
1755
0e0dced5 1756 * update-game-score.c (read_scores): Fix corruption of scores on read.
1b7a835b 1757
eec54bd7
SM
17582003-04-12 Stefan Monnier <monnier@cs.yale.edu>
1759
1760 * emacsclient.c (main): Use new safe location for socket.
1761
ff4bd681
JB
17622003-03-12 Tom Tromey <tromey@redhat.com>
1763
eec54bd7
SM
1764 * emacsclient.c (print_help_and_exit): Print to stdout.
1765 Exit successfully. Added some blank lines for readability.
ff4bd681
JB
1766 (decode_options): Don't call print_help_and_exit in default case.
1767 Print version information to stdout.
1768 (main): Don't call print_help_and_exit.
1769
dd132e44
RS
17702003-02-15 Richard M. Stallman <rms@gnu.org>
1771
1772 * cvtmail.c: Cast result of malloc and realloc.
10d1d0af 1773 Don't include stdlib.h, because config.h does.
dd132e44 1774 (malloc, realloc): Declarations deleted.
ff4bd681 1775
dd132e44
RS
1776 * yow.c (yow): Cast result of malloc and realloc.
1777 (malloc, realloc): Declarations deleted.
1778
71ffc53a
JB
17792003-02-11 Juanma Barranquero <lektu@terra.es>
1780
1781 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
1782
0dfd93c0
AS
17832003-02-08 Andreas Schwab <schwab@suse.de>
1784
1785 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
1786 instead of the substitution.
1787
37d1e680
RS
17882003-02-04 Richard M. Stallman <rms@gnu.org>
1789
1790 * update-game-score.c (push_score, read_scores): Cast values
1791 of malloc and realloc.
1792 (main, lock_file): Avoid assignment inside if.
1793
c60ee5e7
JB
17942003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
1795
1796 * Makefile.in: Use @EXEEXT@ for Cygwin.
1797
b24e2dc7
DL
17982003-01-21 Dave Love <fx@gnu.org>
1799
1800 * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
1801 column-0 `('.
1802
1803 * yow.c: Don't include string.h.
1804
675d000f
RS
18052003-01-20 Richard M. Stallman <rms@gnu.org>
1806
1807 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
1808 New targets.
1809
207aa3ff
KS
18102003-01-06 Kim F. Storm <storm@cua.dk>
1811
31fa6595 1812 * pop.c (__P): Rename from _P to avoid problems on Cygwin.
207aa3ff
KS
1813 All uses changed.
1814
cf6d30d7
AI
18152002-12-18 Andrew Innes <andrewi@gnu.org>
1816
1817 * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
1818 because GNU make doesn't append when using >> redirection.
1819
f0131492 18202002-12-12 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
649fc2c5
PJ
1821
1822 * b2m.pl: Make sure every message ends with a blank line, because
1823 some mbox parsers require a blank line before "From " lines.
1824
85cce843
RS
18252002-12-08 Richard M. Stallman <rms@gnu.org>
1826
1827 * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
1828 (_): Test only HAVE_LIBINTL_H to decide what to do.
1829
2ccc4d34
RS
18302002-12-05 Richard M. Stallman <rms@gnu.org>
1831
1832 * getopt.c: Comment out include of libintl.h or gettext.h.
1833
c5992177
RS
18342002-12-04 Richard M. Stallman <rms@gnu.org>
1835
1836 * Update getopt from gnulib version; changes described below.
1837
1838 * getopt1.c: Conditionally find getopt.h.
1839 [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
1840
1841 * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
1842 (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
c60ee5e7 1843 (wchar.h): Include, maybe.
10d1d0af 1844 (attribute_hidden): Define if not defined.
c5992177
RS
1845 (__getopt_initialized): Use attribute_hidden.
1846 (__libc_argc, __libc_argv): Renamed from original_argc, etc.
d7982012
JB
1847 (__getopt_nonoption_flags, nonoption_flags_max_len)
1848 (nonoption_flags_len): Conditional on USE_NONOPTION_FLAGS.
c5992177
RS
1849 (SWAP_FLAGS): New definitions.
1850 (exchange): Test USE_NONOPTION_FLAGS.
1851 (_getopt_initialize): Test USE_NONOPTION_FLAGS.
1852 (_getopt_internal): Error if argc < 1. New local var print_errors.
1853 Improve test for ambiguous long option.
1854 Add LIBIO support for error message output.
1855 (NONOPTION_P): Test USE_NONOPTION_FLAGS.
1856
1857 * getopt.h: Maybe include ctype.h.
1858 Treat __cplusplus like __STDC__.
1859 (decls): Use __ in arg names.
1860
4b5e69bd
SE
18612002-12-02 Stephen Eglen <stephen@gnu.org>
1862
1863 * emacsclient.c (main): Tell user how to start server within Emacs
1864 if socket could not be found.
1865
19fa03f3
RS
18662002-12-02 Richard M. Stallman <rms@gnu.org>
1867
1868 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
1869
7be215b4
JB
18702002-11-19 Ben Key <bkey1@tampabay.rr.com>
1871
29f538e6
BK
1872 * makefile.w32-in: Fixed a bug that caused the documentation for
1873 the built in function play-sound-internal not to be included in
1874 /etc/DOC.
7be215b4 1875
1998560a
DL
18762002-11-18 Dave Love <fx@gnu.org>
1877
1878 * update-game-score.c: Include unistd.h, string.h, stdlib.h,
1879 fcntl.h, stdarg.h conditionally.
1880 (_GNU_SOURCE, __attribute__): Don't define.
1881 (optarg, optind, opterr): Declare.
1882 (lose, lose_syserr): Use NO_RETURN.
1883 (get_user_id): Use P_.
1884
8b96caf3
RS
18852002-11-17 Richard M. Stallman <rms@gnu.org>
1886
1887 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
1888
59daa29a
DL
18892002-11-14 Dave Love <fx@gnu.org>
1890
1891 * movemail.c (pop_retr): Declare comment.
1892
1893 * make-docfile.c (read_c_string_or_comment): Declare msgno.
9a007cb7
DL
1894
1895 * Makefile.in (YACC): Deleted.
1896
f1b443bf
AS
18972002-10-19 Andreas Schwab <schwab@suse.de>
1898
1899 * Makefile.in (${archlibdir}): Always create $(gamedir).
1900 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
1901
52402e4f
JB
19022002-10-04 Juanma Barranquero <lektu@terra.es>
1903
1904 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
1905
15dab115
MR
19062002-09-30 Markus Rost <rost@math.ohio-state.edu>
1907
1908 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
1909 completely.
1910
30be2360
SM
19112002-09-27 Stefan Monnier <monnier@cs.yale.edu>
1912
1913 * emacsclient.c: Remove SYSV support.
1914 (eval, display): New vars.
1915 (longopts): Add --eval and --display.
1916 (decode_options): Add -e and -d processing.
1917 (print_help_and_exit): Update the usage string.
1918 (main): Add support for --eval and --display.
3ecdcd59 1919 (main): Always use /tmp and non-qualified hostname.
30be2360 1920
4208da83
SM
19212002-09-25 Stefan Monnier <monnier@cs.yale.edu>
1922
1923 * emacsserver.c: Remove.
1924
3cf8c6aa
SM
19252002-09-17 Stefan Monnier <monnier@cs.yale.edu>
1926
1927 * emacsclient.c (quote_file_name): Quote \n.
1928 (main): Print a final \n when needed.
1929
880820fe 19302002-09-03 Francesco Potortì <pot@gnu.org>
4c6dce51
FP
1931
1932 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
1933 string that cannot be freed.
1934
880820fe 19352002-08-30 Francesco Potortì <pot@gnu.org>
ba88f8eb
FP
1936
1937 * etags.c (consider_token, C_entries): Switch to C++ parsing when
1938 auto-detection is enabled and the `::' qualifier is met.
1939 (consider_token, C_entries): Several bugs corrected that tagged
1940 some declarations even though --declarations was not used.
1941 (plainc): New macro.
1942 (C_entries): Use it.
1943 (C_entries): Several cosmetic changes.
1944 (C_entries): Invalidate the token is some cases.
1945
880820fe 19462002-08-29 Francesco Potortì <pot@gnu.org>
09cd1a74 1947
eec54bd7 1948 * etags.c (C_entries): Correct a problem with const C++ funcs.
09cd1a74
FP
1949 (ignoreindent): Renamed from noindentypedefs.
1950 (cjava, cplpl): They are now macros instead of local vars.
1951
880820fe 19522002-08-28 Francesco Potortì <pot@gnu.org>
09cd1a74
FP
1953
1954 * etags.c (HTML_labels): Tag ID= also.
1955
880820fe 19562002-08-27 Francesco Potortì <pot@gnu.org>
87046df8
FP
1957
1958 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
1959
ecc54057 1960 * etags.c (HTML_labels): New language HTML.
8ee14629
FP
1961 (etags_strcasecmp): Like BSD's, for compatibility.
1962 (strcaseeq): Make it into a macro.
1963
1964 * etags.c (make_tag): Never generate null length tag names.
87046df8
FP
1965 (linebuffer_init): Renamed from initbuffer. All callers changed.
1966 (pattern): Structure renamed to `regexp', member regex renamed to
1967 pattern.
1968 (node_st): Member pat renamed to regex.
eec54bd7
SM
1969 (pattern); New member force_explicit_name, for future use.
1970 Now always set to true, cannot be reset.
87046df8
FP
1971 (add_regex, regex_tag_multiline, readline): Use it.
1972 (main): Free some global structures.
8ee14629 1973 (fdesc): New member `written'.
87046df8
FP
1974 (readline, process_file): Initialise it.
1975 (put_entries): Set it.
1976 (main): Use it to create entries for files without tags.
1977 (total_size_of_entries): Do not count invalid tags.
87046df8 1978
02ce3e80
SM
19792002-08-19 Stefan Monnier <monnier@cs.yale.edu>
1980
1981 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
1982 for the function name in the usage info.
1983
5fba5c21
CW
19842002-07-31 Colin Walters <walters@gnu.org>
1985
1986 * update-game-score.c (P_): New macro. Use it for all prototypes.
1987 (lose): Don't use varargs.
1988 (lose_syserr): New function.
1989
1990 * update-game-score.c: Change all functions to K&R style.
1991
712eaee0
AS
19922002-07-30 Andreas Schwab <schwab@suse.de>
1993
1994 * Makefile.in (localstatedir): New variable.
1995
f0131492 19962002-07-29 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
c89ed6ef
PJ
1997
1998 * b2m.pl: Fix regexp for finding return address fields.
1999
1e042160
SM
20002002-07-15 Stefan Monnier <monnier@cs.yale.edu>
2001
2002 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
2003
f0131492 20042002-07-05 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
e9b60209 2005
02ce3e80 2006 * b2m.pl: Obey the rmail file and use the unpruned header properly.
e9b60209 2007
880820fe 20082002-06-26 Pavel Janík <Pavel@Janik.cz>
9ee028d2
PJ
2009
2010 * b2m.pl: New file.
2011
880820fe 20122002-06-21 Francesco Potortì <pot@gnu.org>
e1af8d40 2013
ecc54057 2014 * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
e1af8d40
FP
2015 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
2016 (PHP_functions, PHP_functions, Cobol_paragraphs)
2017 (Makefile_targets, Postscript_functions, Texinfo_nodes)
2018 (prolog_pr, erlang_func, erlang_attribute)
2019 (Perl_functions, Perl_functions, Pascal_functions)
2020 (TeX_commands, get_tag): Use make_tag instead of pfnote.
2021 (get_tag): Prototype changed, all callers changed.
2022
880820fe 20232002-06-20 Francesco Potortì <pot@gnu.org>
ceaeb365 2024
d76132d0
FP
2025 * etags.c: Implement implicit tag names, that is, unnamed tags
2026 whose name is automatically deduced by etags.el. The advantage is
2027 that there is no explicit tag name in most tags, so the size of
2028 the tags file is reduced, yet find-tag is able to do a match as
eec54bd7 2029 accurate as with named tags. See the comment in make_tag for details.
ceaeb365
FP
2030 (make_tag): New function (was the disabled function new_pfnote).
2031 (make_C_tag): Use it.
2032
880820fe 20332002-06-19 Francesco Potortì <pot@gnu.org>
f175bfff
FP
2034
2035 * etags.c (add_regex): Invalid regexp modifiers are ignored.
2036 (Makefile_targets): Tag variables unless --no-globals.
2037 (LOOP_ON_INPUT_LINES): Serious bug corrected.
2038
880820fe 20392002-06-13 Francesco Potortì <pot@gnu.org>
82ef78b3
FP
2040
2041 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
2042 (invalidate_nodes): Bug corrected.
2043 (print_help): Better help for regexps.
2044
7a8940da
JB
20452002-06-13 Juanma Barranquero <lektu@terra.es>
2046
2047 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
2048 font-core.elc.
2049
880820fe 20502002-06-12 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
2051
2052 * etags.c: New multi-line regexp and new regexp syntax.
2053 (arg_type): at_icregexp label removed (obsolete).
2054 (pattern): New member multi_line for multi-line regexps.
2055 (filebuf): A global buffer containing the whole file as a string
2056 for multi-line regexp matching.
2057 (need_filebuf): Global flag raised if multi-line regexps used.
2058 (print_help): Document new regexp modifiers, remove references to
2059 obsolete option --ignore-case-regexp.
2060 (main): Do not set regexp syntax and translation table here.
2061 (main): Treat -c option as a backward compatibility hack.
2062 (main, find_entries): Init and free filebuf.
2063 (find_entries): Call regex_tag_multiline after the regular parser.
10d1d0af 2064 (scan_separators): Check for unterminated regexp and return NULL.
6861f0e3
FP
2065 (analyse_regex, add_regex): Remove the ignore_case argument, which
2066 is now a modifier to the regexp. All callers changed.
2067 (add_regex): Manage the regexp modifiers.
2068 (regex_tag_multiline): New function. Reads from filebuf.
2069 (readline_internal): If necessary, copy the whole file into filebuf.
2070 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
2071
880820fe 20722002-06-11 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
2073
2074 * etags.c (add_regex): Better check for null regexps.
2075 (readline): Check for regex matching null string.
6772c8e1 2076 (find_entries): Reorganization.
6861f0e3 2077
880820fe 20782002-06-07 Francesco Potortì <pot@gnu.org>
f0da41a6
FP
2079
2080 * etags.c (scan_separators): Support all character escape
2081 sequences supported by Gcc.
02ce3e80 2082 (find_entries): Rewind unconditionally.
f0da41a6
FP
2083 (find_entries): Do not call language functions directly, now calls
2084 itself.
2085 (find_entries): Do general initialisations here.
2086 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
2087 (Ada_getit, Pascal_functions, Pascal_functions)
2088 (prolog_skip_comment): Do not do them here.
2089 (readline_internal): Increment lineno here.
2090 (readline): Conditionally undo readline_internal increment.
2091 (readline): Do not return a value.
2092
880820fe 20932002-06-06 Francesco Potortì <pot@gnu.org>
5526f1f6 2094
88c71720 2095 * etags.c: New option --parse-stdin=FILE.
97b90b0a
FP
2096 (enum arg_type): New label at_stdin.
2097 (STDIN): New constant.
2098 (parsing_stdin): New flag.
2099 (longopts): New option --parse-stdin=NAME.
2100 (print_help): Document it.
2101 (main): Handle it.
2102 (process_file): Split into process_file and process_file_name.
2103 (process_file_name): New function.
2104
88c71720 2105 * etags.c: Improvements and bug squashing in TeX handling.
97b90b0a 2106 (TeX_commands): Skip comments.
10d1d0af 2107 (TEX_defenv): Now contains more constructs.
5526f1f6
FP
2108 (TEX_cmt): Make it a static char and move it before TeX_commands.
2109 (TeX_commands): Shorten the tag to the brace after the name.
2110 (TeX_commands): Names now include the initial backslash.
2111 (TeX_commands): Names do not include numeric args #n.
2112 (TeX_commands): Correct line char number in tags.
2113 (TEX_tabent, TEX_token): Deleted.
2114 (TeX_commands, TEX_decode_env): Streamlined.
2115
880820fe 21162002-06-05 Francesco Potortì <pot@gnu.org>
50496bd9
FP
2117
2118 * etags.c (main): Avoid a buffer overrun with sprintf.
2119
a71867c5
RS
21202002-05-30 Richard M. Stallman <rms@gnu.org>
2121
2122 * Makefile.in (LIBS_MAIL): Renamed from LIB_MAIL.
2123 (LIBS_MOVE): Renamed from MOVE_LIBS.
2124
b7e67db6
PE
21252002-05-26 Paul Eggert <eggert@twinsun.com>
2126
2127 Reinstate the following change from 2002-03-22, which was
2128 inadvertently lost on 2002-04-13.
2129
2130 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
2131 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
2132 the latter usage.
2133
5f226e2c
EZ
21342002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
2135
2136 * pop.c (socket_connection): Move the code to resolve the POP
2137 host right before trying to connect with it.
2138
9021bb49
GM
21392002-05-05 Eli Zaretskii <eliz@is.elta.co.il>
2140
2141 * tcp.c: Delete file since the TCP emulation is no longer in use on any
2142 platform.
2143
5167cfda
CW
21442002-04-28 Colin Walters <walters@verbum.org>
2145
2146 * Makefile.in (${archlibdir}): Don't conditionalize on
2147 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
2148 or not we have access to the specified game user.
50496bd9 2149
5167cfda
CW
2150 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
2151 (main): New argument -d, for specifying directory.
2152 (usage): Document.
02ce3e80 2153 (get_user_id): Compute.
5167cfda
CW
2154 (get_home_dir): Deleted.
2155 (get_prefix): New function, taken from main.
2156 (main): Check whether or not we are running setuid. Move prefix
2157 computation to get_prefix. Don't call getpwent; we don't need to
2158 any more. Instead, move it to get_user_id().
2159
880820fe 21602002-04-24 Pavel Janík <Pavel@Janik.cz>
beedfcf1
PJ
2161
2162 * ebrowse.c (skip_initializer): Return void.
2163
973c3c87
CW
21642002-04-23 Colin Walters <walters@verbum.org>
2165
2166 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
2167 space.
2168
880820fe 21692002-04-22 Francesco Potortì <pot@gnu.org>
8378bcd3 2170
ecc54057 2171 * etags.c (last_node): Make it a global variable.
8378bcd3
FP
2172 (process_file): Print the tags from the nodes as soon as
2173 possible, and delete the nodes. This brings down the memory
2174 occupancy as etags to almost the same level as when the #line
2175 directives were not parsed.
2176 (free_fdesc): New function.
2177 (find_entries): Use it.
2178 (invalidate_nodes): In etags mode, do not just mark the nodes as
2179 invalid, do delete them.
2180
c901ceff
GM
21812002-04-21 Gerd Moellmann <gerd@gnu.org>
2182
2183 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
2184
c42d6dbd
EZ
21852002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
2186
2187 * update-game-score.c: Move config.h before the other headers, to
2188 avoid compiler warnings.
2189
880820fe 21902002-04-16 Francesco Potortì <pot@gnu.org>
090416ca
FP
2191
2192 * etags.c (find_entries): Bug fix in list management.
2193
880820fe 21942002-04-15 Francesco Potortì <pot@gnu.org>
5dab24c1
FP
2195
2196 * etags.c (get_language_from_filename): Add one argument.
2197 (strcaseeq): New function.
10d1d0af 2198 (get_language_from_filename): Use it to do a case insensitive
5dab24c1
FP
2199 comparison if called with appropriate args.
2200 (find_entries): Try with case insensitive match.
2201 (process_file): Bug fixed.
2202
880820fe 22032002-04-13 Francesco Potortì <pot@gnu.org>
c150db23
FP
2204
2205 * etags.c (find_entries): Delete tags previously obtained from
2206 file xxx.c's #line directives when parsing file xxx.y. This is
2207 generally done for automatically generated files containing
2208 #line directives. This handles the case when xxx.y is tagged
2209 before xxx.c, and the entries of xxx.c pointing to xxx.y should
2210 be discarded.
eec54bd7 2211 (language): Add the metasource member. Initializers changed.
c150db23
FP
2212 (invalidate_nodes): New function.
2213 (readline): Discard lines after having found a #line
02ce3e80 2214 directive pointing to an already tagged file. This handles the
c150db23
FP
2215 case when xxx.y is tagged before xxx.c, and the entries of
2216 xxx.c pointing to xxx.y should be discarded.
2217 (fdesc): New structure for keeping track of input files.
2218 (fdesc): Remove `file' member (a string) and use instead a pointer
2219 to a file description structure.
02ce3e80
SM
2220 (curfile, curfiledir, curtagfname, curlang, nocharno)
2221 (forced_lang): Global variables removed in favor of fdhead and
10d1d0af 2222 curfdp, pointers to file description structures.
c150db23
FP
2223 (longopts, main, print_help): Use the CTAGS conditional to include
2224 or exclude options that work on etags or ctags only.
02ce3e80
SM
2225 (process_file, find_entries, pfnote, add_node, put_entries)
2226 (readline): Use fdhead and curfdp.
c150db23
FP
2227 (process_file, find_entries): Do not take an arg string, all
2228 callers changed.
2229
2230 * etags.c (longopts, print_help, main): Test CTAGS to disallow
2231 options that are not right for either etags or ctags.
2232
2233 * etags.c (number_len, total_size_of_entries): Define them also
2234 in CTAGS mode, because gcc does not compile all refs away.
2235
e9d1f248
CW
22362002-04-14 Colin Walters <walters@debian.org>
2237
2238 * update-game-score.c (lock_file): If the lock file is older than
2239 an hour, delete it. Reset attempts to zero if we have to break
2240 the lock.
2241
7605f1bd
AS
22422002-04-14 Andreas Schwab <schwab@suse.de>
2243
2244 * update-game-score.c (read_score): Fix type of second parameter
2245 of getdelim to be of type size_t instead of int. Use 0 instead of
2246 ESUCCES.
2247
e82defd1
CW
22482002-04-10 Colin Walters <walters@verbum.org>
2249
ecc54057 2250 * update-game-score.c (toplevel): Include stdarg.h.
b9b966e0
CW
2251 (MAX_DATA_LEN, MAX_SCORES): New.
2252 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
2253 default to ~/.emacs.d/games.
2254 (get_user_id): Don't zero uid in the case where we can't get the
2255 username.
2256 (lose): New function.
2257 (main): Actually use `max', and default it to MAX_SCORES.
2258 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
2259 function.
2260 (read_score): Handle the case of reading unamelen characters, then
2261 finishing. Use mktemp if mkstemp isn't available.
2262 (lock_file, unlock_file): Delete unused versions.
2263 (lock_file): Always sleep, even if we unlinked the lock file.
2264
e82defd1
CW
2265 * Makefile.in (gamedir, gameuser): New variables.
2266 (toplevel, UTILITIES): Add update-game-score.
2267 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
2268
5795b420
CW
22692002-04-07 Colin Walters <walters@verbum.org>
2270
2271 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
2272 (get_user_id): Take struct passwd as an argument.
2273 (get_home_dir): New function.
2274 (main): Read in user information here. Discover home directory if
2275 necessary.
2276 (read_score): Trim newline only in `getline' case.
2277
cd553ffb 22782002-04-05 Colin Walters <walters@debian.org>
c150db23 2279
cd553ffb
CW
2280 * update-game-score.c (toplevel): Include pwd.h.
2281 (struct score_entry): Add username field.
2282 (push_score): Use it.
2283 (get_user_id): New function.
2284 (main): Don't malloc excessively.
2285 (main): Use username field.
2286 (read_score): Read it.
2287 (push_score): Handle it.
07655e62 2288 (write_scores): Write it.
c150db23
FP
2289 (read_score): Handle arbitrary length data.
2290
b74bd4a3
EZ
22912002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
2292
2293 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
2294
fa8bc89d
GM
22952002-03-29 Gerd Moellmann <gerd@gnu.org>
2296
2297 * ebrowse.c (add_declarator, skip_initializer): New functions.
2298 (declaration): Use them.
2299
dd87b4cc
JR
23002002-03-28 Jason Rumney <jasonr@gnu.org>
2301
2302 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
2303
cd553ffb
CW
23042002-03-27 Colin Walters <walters@debian.org>
2305
2306 * update-game-score.c: New file.
2307
dfef6d49
PE
23082002-03-22 Paul Eggert <eggert@twinsun.com>
2309
2310 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
2311 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
2312 the latter usage.
2313
880820fe 23142002-03-12 Francesco Potortì <pot@gnu.org>
a13d6523 2315
4fff90e4 2316 * etags.c (Python_functions): Skip spaces at beginning of lines.
a13d6523
FP
2317 (Python_functions, PHP_functions): Name tags, for ctags' sake.
2318 (TeX_commands): Name tags. Correction of old disabled code.
2319
2320 * etags.c (curfiledir, curtagfname): New global variables.
2321 (process_file): Initialise them.
2322 (readline): Canonicalize the name found in #line directive.
893a741e 2323
4fff90e4 23242002-03-06 Jason Rumney <jasonr@gnu.org>
ca55a1e3 2325
893a741e
JR
2326 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
2327 compilers that don't optimize out dead code.
2328
880820fe 23292002-03-05 Francesco Potortì <pot@gnu.org>
51aeded3
FP
2330
2331 * etags.c: Honour #line directives.
a7c29764 2332 (no_line_directive): New global var; set it for old behavior.
51aeded3
FP
2333 (main): Remove some #ifdef in the getopt switch.
2334 (add_node, put_entries): Code added to merge different chunks of
2335 nodes referring to the same file. Currently the tags are just
2336 appended, without any check for duplicates.
2337 (Perl_functions): Do not special case ctags.
2338 (readline): Identify #line directives and do the right thing.
2339 (nocharno, invalidcharno): New global vars.
2340 (process_file): Reset nocharno.
2341 (readline): Set nocharno.
2342 (pfnote): Read nocharno and maybe put invalidcharno in node.
2343 (total_size_of_entries, put_entries): Use invalidcharno.
2344
2345 * etags.c: Keep the whole tag table in memory, even in etags mode.
2346 (main): Call put_entries here even in CTAGS mode.
2347 (main, process_file): Check the return values of fclose and pclose.
2348 (process_file): Do not call put_entries after parsing each file.
2349 (process_file): Canonicalise file names even for ctags.
2350 (process_file): Set curfile here...
2351 (find_entries): ... not here any more.
2352 (add_node): In etags mode, build a linked list of entries (on
2353 right pointer) for each file, and link the first entry of each
2354 file on left nodes.
2355 (put_entries): Print here the name of the file.
2356 (put_entries): Print the entries starting from the first file.
c150db23 2357 (number_len, total_size_of_entries): Define these only in etags
51aeded3
FP
2358 mode, make the second work only on the right nodes.
2359
2360 * etags.c: Make all global variables static.
2361
50ce1f62
JB
23622002-02-25 Juanma Barranquero <lektu@terra.es>
2363
2364 * makefile.w32-in (lisp): Add missing backslash.
2365
82a399d2
JR
23662002-02-24 Jason Rumney <jasonr@gnu.org>
2367
2368 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
2369 using .elc files.
2370 (lisp): Sync with list in src/Makefile.in
2371 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
2372
a279c920
PE
23732002-02-10 Paul Eggert <eggert@twinsun.com>
2374
2375 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
2376 disallows the old syntax.
2377
0caa685d
PE
23782002-02-03 Paul Eggert <eggert@twinsun.com>
2379
d7982012 2380 * rcs2log (Copyright): Update to 2002.
0caa685d
PE
2381 (AWK, TMPDIR): Work around portability problem in broken shells that
2382 don't understand `: ${VAR=val}'.
2383 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
2384 Prefer the new -k option to the traditional +M -N option.
2385
880820fe 23862002-01-01 Pavel Janík <Pavel@Janik.cz>
03950b5b
PJ
2387
2388 * b2m.c (main): Parenthesize assignment when used as truth value
2389 to prevent gcc warnings.
2390
2391 * fakemail.c: Include <config.h>.
2392
880820fe 23932001-12-29 Pavel Janík <Pavel@Janik.cz>
2f8fe2f4
PJ
2394
2395 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
2396 * yow.c: Include <config.h>.
2397
880820fe 23982001-12-21 Francesco Potortì <pot@gnu.org>
a60e4de9
FP
2399
2400 * etags.c (Perl_functions): Tag packages and use them in sub tags.
2401 (get_tag): Return a pointer to the tag that is found.
2402
2403 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
2404 (F_takeprec): Renamed from takeprec. All callers changed.
2405 (F_getit): Renamed from getit. All callers changed.
2406 (nocase_tail): Renamed from tail. All callers changed.
2407 (Ada_getit): Renamed from adagetit. All callers changed.
eec54bd7 2408 (L_getit): Simplify by using get_tag.
a60e4de9
FP
2409 (Perl_functions, Postscript_functions, erlang_attribute): Use the
2410 modified LOOKING_AT.
2411 (notinname): Removed '[' and added ')' to the recognised chars.
2412 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
2413 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
2414 Clarified, using strneq or notinname.
2415 (L_isdef, L_isquote): Removed.
2416 (Lisp_functions, L_getit): Clarified.
2417
ecc54057 2418 * etags.c (P_): Renamed to __P for consistency with config.h.
a60e4de9
FP
2419 [HAVE_CONFIG_H]: Let config.h deal with __P.
2420 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
2421 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
2422 gperf code needs it.
ecc54057
JB
2423 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
2424 [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
a60e4de9
FP
2425 (xmalloc, xrealloc): Use PTR instead of long *.
2426 (bool): Make it a define, not a typedef, for C++ compilers.
2427 (pattern): Members renamed to avoid name clash in some C++ compilers.
2428 (get_language_from_langname): Use const argument.
2429
880820fe 24302001-12-22 Pavel Janík <Pavel@Janik.cz>
c95eaa61
PJ
2431
2432 * makefile.nt, makefile.w32-in: Remove mocklisp files.
2433
880820fe 24342001-12-19 Pavel Janík <Pavel@Janik.cz>
69bfc389 2435
b8509940
PJ
2436 * emacsserver.c: Conditionally include config.h.
2437
594aa066
PJ
2438 * fakemail.c: Likewise.
2439
e69233c2
PJ
2440 * emacsclient.c: Include "config.h", not <../src/config.h>.
2441 (main): Parenthesize assignment when used as truth value to
2442 prevent gcc warnings.
2443
69bfc389
PJ
2444 * ebrowse.c: Include stdlib.h and string.h conditionally.
2445
e4e34e31
EZ
24462001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
2447
2448 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
2449
880820fe 24502001-12-18 Pavel Janík <Pavel@Janik.cz>
ffb7c9c6
PJ
2451
2452 * test-distrib.c: Fix previous change.
2453
fb5aa7ac
DL
24542001-12-18 Dave Love <fx@gnu.org>
2455
2456 * test-distrib.c: Conditionally include fcntl.h.
2457
2458 * fakemail.c: Include "config.h", not <../src/config.h>.
2459 (_XOPEN_SOURCE): Define as 500.
2460
2461 * emacsserver.c: Include "config.h", not <../src/config.h>.
2462
2463 * cvtmail.c: Include config.h, stdlib.h.
2464 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
2465
2466 * yow.c: Conditionally include various headers. Use "epaths.h",
2467 not <../src/epaths.h>.
2468 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
2469
880820fe 24702001-12-12 Francesco Potortì <pot@gnu.org>
e94a3679 2471
13dc0576 2472 * etags.c (PHP_functions): New function for parsing PHP.
e94a3679
FP
2473 (LOOKING_AT): New macro.
2474 (Perl_functions, Python_functions, PHP_functions)
2475 (Scheme_functions, Texinfo_nodes): Use it.
2476 (Perl_functions): Use strneq.
2477 (prolog_pred): Renamed to prolog_pr.
13dc0576 2478 (prolog_pr): Recognise Prolog rules in addition to predicates.
e94a3679 2479 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
13dc0576 2480 unmodified compile, as Cygwin's regex.h is incompatible with us.
e94a3679
FP
2481 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
2482
34e39c95
RS
24832001-12-11 Richard M. Stallman <rms@gnu.org>
2484
2485 * Makefile.in (clean): Don't delete ../etc/DOC*.
2486
880820fe 24872001-12-11 Pavel Janík <Pavel@Janik.cz>
296071e7
PJ
2488
2489 * COPYING: Moved back.
2490
76054cc8
AI
24912001-11-30 Andrew Innes <andrewi@gnu.org>
2492
e94a3679
FP
2493 * makefile.w32-in (FACE_SUPPORT):
2494 (MOUSE_SUPPORT):
2495 (FLOAT_SUPPORT):
2496 (WINNT_SUPPORT):
76054cc8
AI
2497 (lisp): Reference .el files instead of .elc files, to simplify
2498 bootstrapping.
2499 ($(DOC)): Change dependency to just `make-docfile'.
2500
880820fe 25012001-11-29 Pavel Janík <Pavel@Janik.cz>
0142178a
PJ
2502
2503 * COPYING: Removed.
2504
e8d6a09b
PE
25052001-11-28 Paul Eggert <eggert@twinsun.com>
2506
2507 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
2508
2509 The following changes are derived from suggestions by Bob Chapman
2510 <rechapman@compuserve.com>.
2511
2512 * rcs2log (printlogline): Also allow tab and newline to separate
2513 '(function):' from the rest of a comment.
2514 (reformat the sorted log entries): Require date and author to
2515 match the clumpname.
2516
9a190096
GM
25172001-11-16 Gerd Moellmann <gerd@gnu.org>
2518
2519 * ebrowse.c (matching_regexp): Escape '\\'.
2520
880820fe 25212001-11-15 Pavel Janík <Pavel@Janik.cz>
8ec1b917
PJ
2522
2523 * Makefile.in: Add support for --program-prefix, --program-suffix
2524 and --program-transform-name options.
2525
6d8f7d5d
RS
25262001-11-03 Richard M. Stallman <rms@gnu.org>
2527
2528 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
2529
2530 * movemail.c (popmail): Always pass two args to `error'.
2531
84e70f78
KR
25322001-10-24 Ken Raeburn <raeburn@gnu.org>
2533
2534 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
2535 -lhesiod and maybe -lresolv.
2536 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
2537 support if it's available.
2538
386ca361
MB
25392001-10-21 Miles Bader <miles@gnu.org>
2540
a3b10252
MB
2541 * make-docfile.c (struct rcsoc_state): New type.
2542 (read_c_string_or_comment): Add SAW_USAGE
386ca361 2543 parameter, and implement scanning for a `usage:' keyword.
a3b10252
MB
2544 Use a variable of type `rcsoc_state' to hold most of our state.
2545 (put_char): Add STATE parameter, and remove all other parameters
2546 except CH. Use STATE to get access to all needed state.
2547 (scan_keyword_or_put_char): New function.
386ca361
MB
2548 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
2549 Don't output a usage-string if there was one in the doc-string.
2550
71431a0e
GM
25512001-10-20 Gerd Moellmann <gerd@gnu.org>
2552
6aa97356 2553 * (Version 21.1 released.)
71431a0e 2554
880820fe 25552001-10-19 Pavel Janík <Pavel@Janik.cz>
37a9305e
PJ
2556
2557 * b2m.c: Properly spell the name of Emacs.
2558
945220bd
MB
25592001-10-17 Miles Bader <miles@gnu.org>
2560
2561 * make-docfile.c (put_char): New function.
2562 (read_c_string_or_comment): Strip trailing spaces and newlines.
2563
14242528
MB
25642001-10-16 Miles Bader <miles@gnu.org>
2565
2566 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
2567 comments [with `doc:' keyword prefix].
2568
9f5eb4a3
GM
25692001-10-15 Gerd Moellmann <gerd@gnu.org>
2570
2571 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
2572 in a C doc comment.
2573
e641b454
GM
25742001-10-13 Gerd Moellmann <gerd@gnu.org>
2575
2576 * make-docfile.c (read_c_string_or_comment): Renamed from
2577 read_c_string. Add parameter COMMENT. Read C-style comments.
2578 (scan_c_file): Handle doc strings in C comments.
2579
967d7793
AI
25802001-10-12 Andrew Innes <andrewi@gnu.org>
2581
2582 * makefile.nt (ALL): Do not include fakemail.
2583
2584 * makefile.w32-in (install): Do not copy fakemail.
2585
d682756a
JR
25862001-10-10 Jason Rumney <jasonr@gnu.org>
2587
07655e62 2588 * makefile.w32-in (ALL): Do not include fakemail.
d682756a 2589
07655e62 2590 * makefile.nt (install): Ditto.
d682756a 2591
14a3dff7
GM
25922001-10-09 Gerd Moellmann <gerd@gnu.org>
2593
2594 * emacsserver.c (main): Cast geteuid in sprintf to int.
14a3dff7 2595
95bc7904 2596 * emacsclient.c (main): Cast isdigit argument to unsigned char.
14a3dff7 2597
880820fe 25982001-10-07 Pavel Janík <Pavel@Janik.cz>
f98d41f5
PJ
2599
2600 * profile.c: Include config.h, not ../src/config.h.
2601 Include systime.h, not ../src/systime.h.
2602
ab952a4f
GM
26032001-10-05 Gerd Moellmann <gerd@gnu.org>
2604
2605 * Branch for 21.1.
dff28924 2606
12c64503
GM
26072001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
2608
2609 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
2610 ALIASEE to help work with namespace aliases.
2611 (struct sym): Remove struct member NAMESP_ALIASES.
2612 (namespace_alias_table): New variable.
2613 (make_namespace): Add parameter CONTEXT.
2614 (check_namespace): New function.
2615 (find_namespace): Add parameter CONTEXT.
2616 (check_namespace_alias): New function.
02ce3e80
SM
2617 (register_namespace_alias): Change type of parameter OLD_NAME.
2618 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
12c64503
GM
2619 (check_namespace): New function.
2620 (enter_namespace): Call find_namespace with CONTEXT parameter.
2621 (match_qualified_namespace_alias): New function.
eec54bd7 2622 (parse_qualified_ident_or_type): Fix typo in comment.
02ce3e80 2623 While parsing qualified ident or type update namespace context and
12c64503 2624 restore it on exit.
eec54bd7
SM
2625 (parse_qualified_param_ident_or_type): Fix typo in comment.
2626 (globals): Change handling of namespace aliases.
2627 (version): Add year 2001.
12c64503 2628
990e1190
FP
26292001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
2630
2631 * etags.c (analyse_regex): If regex_arg is NULL, return
2632 immediately after a call to free_patterns.
2633
f2e7e23e
AS
26342001-09-05 Paul Eggert <eggert@twinsun.com>
2635
2636 * rcs2log (Help, mainline code): Add new option -L FILE.
2637 (Copyright): Update year.
02ce3e80
SM
2638 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
2639 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
f2e7e23e
AS
2640 C locale.
2641 (mainline code): Handle nonstandard -u option differently, by
2642 transforming it to standard form. Check for "Working file: ", not
2643 "Working file:". Allow file names with spaces.
2644 (SOH, rlogfile): New shell vars.
dff28924 2645 (rlogout): Remove. Its old functionality is mostly migrated to
f2e7e23e
AS
2646 rlogfile.
2647
2648 Append ';;' to the last arm of every case statement, for
2649 portability to ancient broken BSD shells.
2650
02ce3e80 2651 (logins): Fix bug; was not being computed at all, lowering performance.
f2e7e23e
AS
2652 (pository): New var. This fixes some bugs where repositories are
2653 remote, or have trailing slashes.
02ce3e80 2654 (authors): $llogout is never an empty shell var, so don't worry
f2e7e23e 2655 about that possibility.
dff28924 2656 (printlogline, mainline code): Fix bug with SOH's being put into
f2e7e23e 2657 the output.
dff28924 2658
75c911eb
EZ
26592001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
2660
2661 * ebrowse.c (SEEK_END): #define if not defined by system headers.
2662 Suggested by Dave Love <d.love@dl.ac.uk>.
2663
5ae10f4a
EZ
26642001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
2665
2666 * makefile.nt (lisp): Synchronize with src/Makefile.in.
2667 * makefile.w32-in (lisp): Ditto.
2668
0e4011d8 26692001-07-25 Juanma Barranquero <lektu@terra.es>
e743f599
GM
2670
2671 * grep-changelog (parse_changelog): Remove unused local variable.
2672
2673 * grep-changelog (main): Add new option --reverse.
2674 (print_log): Use it.
2675 (parse_changelog): Use it.
2676
3c88ae74
GM
26772001-07-20 Gerd Moellmann <gerd@gnu.org>
2678
2679 * grep-changelog: Remove RCS Id keyword.
2680
41848daa
GM
26812001-07-20 Juanma Barranquero <lektu@terra.es>
2682
6e07c0a5
GM
2683 * grep-changelog (parse_changelog): Add tests for defined values
2684 to quiet warning from Perl 5.005 or above.
177ab8ce 2685 (entry_match_p, header_match_p): Fix handling of null or empty
0e4011d8
GM
2686 argument to prevent duplicate headers.
2687
2688 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
41848daa 2689
467f1209
GM
26902001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
2691
2692 * emacsclient.c (print_help_and_exit): Fix help message for
2693 +LINE:COLUMN option.
2694
26952000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
990e1190 2696
467f1209
GM
2697 * emacsclient.c (main): Add support for +LINE:COLUMN command line
2698 argument.
2699
bb24c64f
GM
27002001-07-16 Gerd Moellmann <gerd@gnu.org>
2701
2702 * ebrowse.c (main): Check that the output file exists and
2703 is non-empty if invoked with `--append'.
2704
880820fe 27052001-05-14 Francesco Potortì <pot@gnu.org>
fa829470 2706
e335b66a
GM
2707 * etags.c (add_regex): Reset the whole newly allocated pattern
2708 buffer instead of the individual members. It's safer and works
ecc54057 2709 with XEmacs.
fa829470 2710
e335b66a 2711 * etags.1: Markups corrected.
fa829470 2712
6da5c7da
GM
27132001-05-08 Gerd Moellmann <gerd@gnu.org>
2714
02ce3e80 2715 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
6da5c7da 2716
efbecf9d
GM
27172001-05-03 Gerd Moellmann <gerd@gnu.org>
2718
2719 * ebrowse.c (globals): Fix handling of namespace aliases.
2720
f4976ebc
EZ
27212001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
2722
2723 * etags.c (print_help): Enclose the regexp in the help text
2724 example in quotes.
2725
23431241
DL
27262001-04-05 Dave Love <fx@gnu.org>
2727
2728 * emacsclient.c (fail): Don't return a value.
fa829470 2729 (main): Cast uid values for sprintf.
23431241 2730
476bf681
GM
27312001-04-03 Gerd Moellmann <gerd@gnu.org>
2732
b3f6107b
GM
2733 * emacsclient.c (fail, main): Don't use implicit int return type.
2734
476bf681
GM
2735 * b2m.c (main): Always return a value.
2736
ef53d75e
GM
27372001-03-02 Gerd Moellmann <gerd@gnu.org>
2738
2739 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
2740 freshly allocated object in *LAST_ID.
2741 (read_line): Accept \r\n line endings.
2742
425de386
AI
27432001-02-24 Andrew Innes <andrewi@gnu.org>
2744
2745 * makefile.w32-in: Fix copyright notice.
2746
880820fe 27472001-02-23 Francesco Potortì <pot@gnu.org>
f55ae599
FP
2748
2749 * etags.c (enum sym_type): New label st_C_template.
2750 (gperf input): Use it for switching to C++ from C.
2751 (consider_token): Do it.
c2a642c0
FP
2752 (C_entries): Initialise typdefcblev to quiet compilers.
2753 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
f55ae599 2754
f6839838
AI
27552001-02-22 Andrew Innes <andrewi@gnu.org>
2756
2757 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
2758 VMS header files.
2759 ($(BLD)\profile.obj): Ditto.
2760
2761 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
2762 VMS header files.
2763 ($(BLD)/profile.$(O)): Ditto.
2764
193fba87
AI
27652001-02-05 Andrew Innes <andrewi@gnu.org>
2766
2767 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
2768 invocation of make-docfile, to work with Windows 2000.
2769
30526cc6
DL
27702001-01-31 Dave Love <fx@gnu.org>
2771
2772 * etags.c (in_word_set): Use `static' in definition (for pcc).
2773
880820fe 27742001-01-31 Francesco Potortì <pot@gnu.org>
8f79fe72 2775
ecc54057 2776 * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
8f79fe72
FP
2777 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
2778 (C_entries): Tag token renamed to still_in_token because sunos4
2779 pcc wants to expand it as the token() macro even though it has no
2780 arguments.
2781
914d7258
AI
27822001-01-30 Andrew Innes <andrewi@gnu.org>
2783
2784 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
2785 bug in the Mingw32 assert.h header file.
2786
880820fe 27872001-01-30 Francesco Potortì <pot@gnu.org>
b28e26be 2788
ecc54057
JB
2789 * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
2790 #define it for the sake of XEmacs.
b28e26be
FP
2791 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
2792 HAVE_CONFIG_H. This change only affects a standalone etags.
2793 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
2794 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
2795 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
2f2c687b 2796 [!HAVE_UNISTD_H]: Use defined(WINDOWSNT) instead of the bare
b28e26be
FP
2797 WINDOWSNT, as this is the correct way to use it.
2798
880820fe 27992001-01-28 Francesco Potortì <pot@gnu.org>
8c463abe
FP
2800
2801 * etags.c: Be capable to parse nested struct-like structures.
2802 (structdef, structtag): Struct state machine revisited.
2803 (struct tok): Revisited.
2804 (cstack, nestlev, instruct): New struct and macros.
2805 (pushclass_above, popclass_above, write_classname): New functions
13dc0576 2806 for dealing with nested class names.
8c463abe
FP
2807 (consider_token, make_C_tag, C_entries): Many changes for dealing
2808 with arbitrarily nested structures.
2809 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
2810 (C_entries): Consider templates in C++.
2811 (sym_type): New constant st_C_class for detecting "class" also in
2812 C mode.
2813 (C_AUTO): New macro for automatic detection of C++.
2814 (consider_token): Automatic set C++ mode.
2815 (C_entries): New security check for yacc.
2816 (print_language_names, print_help): Mention the autodetect
07655e62 2817 feature, do not show help for the -C option, now mostly useless.
8c463abe
FP
2818 (C_entries): Tag C++ forward declarations if --declarations.
2819 (C_entries): Don't be fooled by things like XDEFUN.
2820 (consider_token): Discard asm pseudo function.
2821
e26f9ced
EZ
28222001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
2823
2824 * etags.c: Add a coding: tag.
2825
a47b7816
GM
28262001-01-26 Gerd Moellmann <gerd@gnu.org>
2827
8c463abe 2828 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
a47b7816
GM
2829 New variables.
2830 (matching_regexp): Use them instead of static variables in
2831 function scope.
2832
880820fe 28332001-01-25 Francesco Potortì <pot@gnu.org>
d22a24fa
FP
2834
2835 * etags.c (struct tok): Renamed from struct token.
2836 (token): Renamed from tok.
2837 (structtype): Make it a local variable.
2838 [DEBUG]: Use assert.
2839 (xrnew): Change the synopsis.
2840 (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
2841 (grow_linebuffer): Don't call xrnew when not needed.
02ce3e80 2842 (token): Buffer renamed to line.
d22a24fa 2843 (C_entries): Three calls to inibuffer moved here from main.
eec54bd7 2844 (C_entries): Remove all references to var methodlen, delete it.
d22a24fa
FP
2845 (linebuffer_setlen): Was grow_buffer, now also sets len.
2846 (consider_token, C_entries, Pascal_functions): Use it.
2847 (C_entries): Preventing problems relative to extern "C".
2848 (C_entries): Can tag more than one variable or func separated by
2849 comma when --declarations is used.
2850 (C_entries): More accurate tagging of members and declarations.
2851 (yacc_rules): Was global, made local to C_entries.
2852 (next_token_is_func): Removed.
2853 (fvdef): New constants fdefunkey, fdefunname.
2854 (consider_token, C_entries): Use them.
2855 (C_entries): Build proper lisp names for Emacs DEFUNs.
2856
21c2bbe0
GM
28572001-01-22 Gerd Moellmann <gerd@gnu.org>
2858
2859 * ebrowse.c (xfree): New function.
2860 (member, declaration, globals): Use xmalloc instead of alloca.
2861
880820fe 28622001-01-15 Francesco Potortì <pot@gnu.org>
83be933c
FP
2863
2864 * etags.c (print_language_names): Print filenames in addition to
2865 suffixes.
2866
880820fe 28672001-01-14 Francesco Potortì <pot@gnu.org>
47df1a5e
EZ
2868
2869 * etags.c (get_language_from_langname): Renamed from
2870 get_language_from_name.
eec54bd7
SM
2871 (get_language_from_filename): Renamed from get_language_from_suffix.
2872 Now first looks for the complete file name.
47df1a5e
EZ
2873 (language): New member char **filenames.
2874 (Makefile_filenames): List of possible filenames for makefiles.
eec54bd7 2875 (lang_names): Add a NULL member for every entry, added an entry
47df1a5e 2876 for makefiles.
13dc0576 2877 (Makefile_targets): New function.
47df1a5e
EZ
2878 (Texinfo_nodes): Renamed from Texinfo_fuctions and made
2879 it conformant to the style of the rest of the code.
2880
291c7e74
GM
28812001-01-13 Gerd Moellmann <gerd@gnu.org>
2882
2883 * make-docfile.c (write_c_args): Print newlines as spaces.
2884
0dac6924
AI
28852001-01-06 Andrew Innes <andrewi@gnu.org>
2886
2887 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
2888 of *.pdb.
2889
3e99d3b4
GM
28902001-01-03 Paul Eggert <eggert@twinsun.com>
2891
290afd83 2892 * rcs2log: Avoid security hole allowing attacker to
3e99d3b4
GM
2893 cause user of rcs2log to overwrite arbitrary files, fixing
2894 a bug reported by Morten Welinder.
2895
2896 Don't put "exit 1" at the end of the exit trap; it's
2897 ineffective in POSIX shells.
2898
d6bb0c0d
GM
28992001-01-02 Gerd Moellmann <gerd@gnu.org>
2900
eec54bd7
SM
2901 * ebrowse.c (yyerror): Change to take two arguments.
2902 Add prototype. Change callers.
d6bb0c0d 2903
d5c00476 29042001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
315f5865
EZ
2905
2906 * ebrowse.c (enter_namespace, main): Cast variables to shut up
2907 compiler warnings.
2908 (yyerror): Change parameter declarations to be of type long, so
2909 that they can take pointers on 64-bit platforms.
2910
2911 * emacsclient.c (main): Remove unused local variable statbfr.
2912 (main) <homedir>: Make its declaration conditional on
2913 SERVER_HOME_DIR, to avoid compiler warnings.
2914
2915 * emacsserver.c (main) <homedir>: Make its declaration conditional
2916 on SERVER_HOME_DIR, to avoid compiler warnings.
2917
2918 * fakemail.c (readline): Cast buffer to "long *" to pacify
2919 over-zealous compilers.
2920
7c89ea61
EZ
29212000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
2922
2923 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
2924
a6768cc5
GM
29252000-12-15 Gerd Moellmann <gerd@gnu.org>
2926
2927 * ebrowse.c (operator_name): Cast argument of isalpha to
2928 unsigned char.
2929
2930 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
2931 Use them throughout instead of ctype functions/macros.
2932 (lowcase): Cast to unsigned char.
2933 (UPCASE): New macro.
2934 (canonicalize_filename): Use UPCASE instead toupper.
2935
2936 * fakemail.c (get_keyword): Make sure that isspace and
2937 similar aren't called with a negative argument.
2938
70de49cc
DL
29392000-12-13 Dave Love <fx@gnu.org>
2940
2941 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
2942
4e8b894c
AI
29432000-12-06 Andrew Innes <andrewi@gnu.org>
2944
2945 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
2946 don't know the real version, and I can't seem to get the quoting
2947 right in all circumstances.
2948
2949 * ebrowse.c (VERSION): Provide default definition, like etags.c
2950 does, because Windows build can't snarf this from version.el.
2951
88257bc8
AI
29522000-11-30 Andrew Innes <andrewi@gnu.org>
2953
2954 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
2955 (install): Ditto.
2956
d19249e7
JR
29572000-11-23 Jason Rumney <jasonr@gnu.org>
2958
2959 * makefile.w32-in: Add targets for ebrowse.exe.
2960 (LOCAL_FLAGS): Add -DVERSION flag.
2961
7df6adc3
DL
29622000-09-25 Dave Love <fx@gnu.org>
2963
2964 * sorted-doc.c: Include config.h.
2965 [!HAVE_STDLIB_H]: Declare malloc.
2966
fe83b953
AI
29672000-09-14 Andrew Innes <andrewi@gnu.org>
2968
2969 * makefile.w32-in: Revert to Unix line endings.
2970
517699ca
DL
29712000-09-04 Dave Love <fx@gnu.org>
2972
2973 * movemail.c (index, rindex): Prototype conditionally.
2974
f8803e97
AI
29752000-09-03 Andrew Innes <andrewi@gnu.org>
2976
2977 * makefile.w32-in: Change to DOS line endings.
2978
f72adc12
EZ
29792000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
2980
4034f3a8 2981 * movemail.c (toplevel): Remove redundant fcntl.h.
f72adc12
EZ
2982 [!F_OK]: Provide default definitions only after including both
2983 fcntl.h and unistd.h.
2984
f678f592
DL
29852000-08-29 Dave Love <fx@gnu.org>
2986
2987 * movemail.c: Revert previous change.
2988
5b671d04
EZ
29892000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
2990
2991 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
2992
6fa86045
DL
29932000-08-28 Dave Love <fx@gnu.org>
2994
2995 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
2996 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
2997
746d9caf
AI
29982000-08-22 Andrew Innes <andrewi@gnu.org>
2999
3000 * ntlib.h (WIN32): Remove unnecessary definition.
3001 (sleep): Make argument unsigned long.
3002 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
3003
3004 * ntlib.c (sleep): Make argument unsigned long.
3005
3006 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
3007
3008 * makefile.w32-in: New file.
3009
3b541489
EZ
30102000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
3011
3012 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
3013 letter only if it is a drive letter.
3014
e5acf0ca
GM
30152000-07-14 Gerd Moellmann <gerd@gnu.org>
3016
02ce3e80 3017 * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and ymalloc.
e5acf0ca
GM
3018
3019 * etags.c (xmalloc, xrealloc): Make externally visible, for use
3020 by alloca.o.
3021
02ce3e80 3022 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
e5acf0ca 3023
4b92c49a
GM
30242000-07-10 Gerd Moellmann <gerd@gnu.org>
3025
3026 * ebrowse.c (yylex): Accept string literals with newlines in them.
3027 (process_pp_line): Handle case of string literal with newline
3028 in it in replacement text, which counts as continuing the
3029 replacement text in GNU C.
3030
831a6cb0
GM
30312000-07-02 Gerd Moellmann <gerd@gnu.org>
3032
3033 * ebrowse.c (token_string): Add missing tokens.
3034 (parm_list): Handle case of qualified pointers.
3035
53245ee2
DL
30362000-06-23 Dave Love <fx@gnu.org>
3037
3038 * ebrowse.c: Move config.h before other includes (which may use
3039 feature tests).
3040
dcbf2cd2
JM
30412000-06-14 Jim Meyering <meyering@lucent.com>
3042
3043 * grep-changelog: Fix typos in comments. Remove trailing blanks.
3044
f1c7754a
JR
30452000-06-11 Jason Rumney <jasonr@gnu.org>
3046
3047 * makefile.nt: Add targets for ebrowse.
3048
3049 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
3050 compare filenames.
3051
5f1aea9a
GM
30522000-06-06 Gerd Moellmann <gerd@gnu.org>
3053
3054 * ebrowse.c (ymalloc): Renamed from xmalloc.
3055 (yrealloc): Renamed from xrealloc.
3056
5bf244f1
DL
30572000-05-21 Dave Love <fx@gnu.org>
3058
3059 * movemail.c: Include config.h, not ../src/config.h.
3060 (Errmsg): Bump length.
3061
3062 * pop.c (ERROR_MAX): Increase to 160.
3063
ec82fb2f
GM
30642000-05-04 Gerd Moellmann <gerd@gnu.org>
3065
3066 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
3067
5c922ea7
EZ
30682000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
3069
02ce3e80
SM
3070 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
3071 Define to semi-colon.
5c922ea7 3072 (FILENAME_EQ): New macro, for comparing file names.
02ce3e80 3073 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
5c922ea7
EZ
3074 (process_file): Don't assume that fread always reads as many bytes
3075 as it was told to (DOS-style CR-LF text files fail this logic).
3076 (open_file): Allocate enough space for path->path plus the file
3077 name and the slash.
3078
6142fdcb 30792000-04-19 Dave Love <fx@gnu.org>
97052c63
DL
3080
3081 * etags.c (Texinfo_functions): New function.
3082 (lang_names): Install it.
3083 (Texinfo_suffixes): New variable.
3084
cb9215e4
GM
30852000-04-19 Gerd Moellmann <gerd@gnu.org>
3086
3087 * ebrowse.c (xmalloc, xrealloc): Rewritten.
3088 (declaration): Remove parameter IS_EXTERN.
3089 (class_definition): Remove unused variable.
3090
be0dbdab
GM
30912000-04-09 Gerd Moellmann <gerd@gnu.org>
3092
3093 * Makefile.in (INSTALLABLES): Add ebrowse.
3094 (ebrowse): New target.
3095
3096 * ebrowse.c: New file.
3097
c5aa0fc2
AS
30982000-03-29 Andreas Schwab <schwab@suse.de>
3099
3100 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
3101
d054101f
GM
31022000-03-02 Gerd Moellmann <gerd@gnu.org>
3103
07e99590 3104 * etags.c (lisp_suffixes): Add `LSP'.
d054101f 3105
880820fe 31062000-02-10 Francesco Potortì <pot@gnu.org>
71cbb895 3107
eec54bd7 3108 * etags.c (iswhite): Redefine not to consider '\0' as white
71cbb895
FP
3109 space, and use it throughout in place of isspace, thus preventing a
3110 potential signed char to int conversion problem.
10d1d0af 3111 (MSDOS): #undefine before redefining.
71cbb895 3112
880820fe 31132000-02-04 Francesco Potortì <pot@gnu.org>
71cbb895
FP
3114
3115 * etags.c (many functions): Add prototypes.
3116
97fa0cc8
DL
31172000-02-10 Dave Love <fx@gnu.org>
3118
3119 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
3120 (erlang_func): Add `static' to definitions to keep pcc happy.
3121
880820fe 31222000-01-31 Francesco Potortì <pot@gnu.org>
e4100b7f
FP
3123
3124 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
3125 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
3126 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
3127 (getenv, getcwd): Only declare them if necessary.
3128 (EMACS_NAME): New constant macro.
3129 (print_version): Use it.
3130 (P_) [__STDC__]: Macro for defining function prototypes.
e4100b7f 3131
19e262bd 31322000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
3133
3134 * etags.c [WINDOWSNT]: #include <direct.h>
3135
19e262bd 31362000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 3137
19e262bd
FP
3138 * etags.c (all functions): Made them static.
3139 (all functions): Write prototypes.
e4100b7f 3140
55e30d2a
RS
31412000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
3142
3143 * movemail.c (main): Improve error message if can't create lock file.
3144
c60ee5e7 31452000-01-28 Eric Hanchrow <offby1@blarg.net>
875c1439
GM
3146
3147 * emacsclient.c (socket_status): New function.
02ce3e80 3148 (main): If $LOGNAME or $USER exist and differ from our euid, look
875c1439
GM
3149 for a socket based on the UID associated with the name.
3150
e4936aa9
GM
31512000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
3152
3153 * emacsclient.c: Add option -a EDITOR and environment variable
3154 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
3155
f0131492 31561999-12-10 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
791a9087
GM
3157
3158 * movemail.c (popmail): Allow mailbox specifications of the
3159 form `po:username:hostname'.
3160
880820fe 31611999-11-19 Francesco Potortì <pot@gnu.org>
e2081362
FP
3162
3163 * etags.c (_GNU_SOURCE): Define only if undefined.
3164 (get_scheme): Declaration deleted.
02ce3e80 3165 (main): Error was called with an integer as second arg, instead of
e2081362
FP
3166 a char pointer.
3167 (canonicalize_filename): Bug removed.
3168
31691999-11-18 Dave Love <d.love@dl.ac.uk>
3170
3171 * etags.c (C_entries): Rename label `intoken', avoiding K&R
3172 lossage from name clash with macro.
3173
b05d3bee
GM
31741999-11-13 Gerd Moellmann <gerd@gnu.org>
3175
3176 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
3177
cb3a6c48
GM
31781999-11-03 Gerd Moellmann <gerd@gnu.org>
3179
3180 * etags.c (print_help): Change email address to send bugs to.
3181
6088b51f 31821999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
3183
3184 * etags.c: Add suffix psw for PSWrap.
3185 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
3186 (Postscript_functions): Add code for PSWrap.
3187 (Scheme_functions): Use local pointer and new get_tag function.
3188 (get_tag): New name for old get_scheme.
3189 (process_file): Do not free NULL when file does not exist.
3190 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
3191 (C_entries): Modifications that make --members tag even inside
3192 typedefs and C nested structs (one level only).
eec54bd7 3193 (consider_token): Correct a bug which prevented tagging of enum
1c478461 3194 constants.
eec54bd7 3195 (C_stab_entry): Add if, for, while, switch, return as
1c478461
FP
3196 st_C_ignore. This makes it simpler to work when cblev!=0.
3197
02ce3e80 3198 * etags.c (C_entries): Tag member function declarations when
1c478461
FP
3199 --declarations is used.
3200
3201 * etags.c (C_entries, consider_token): C++ `operator' now is
3202 tagged in most cases.
3203 As before, :: is not recognised if surrounded by spaces.
3204
3205 * etags.c (relative_filename): Account for DOS file names such
3206 that is impossible to make one relative to another.
3207
3208 * etags.c (sym_type): New st_C_extern tag.
3209 (gperf input): Use it for spotting external declarations.
a7c29764 3210 (print_help): Document the new behavior of --declarations.
1c478461
FP
3211 (fvextern): New global variable.
3212 (consider_token, C_entries): Use it.
3213
3214 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
3215 (etags_getcwd): Remove test for WINDOWSNT.
3216
3217 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
3218 foo.cgz, foo.cz, etc.
3219
3220 * etags.c (declarations): New global switch.
3221 (longopts): Describe it.
3222 (print_help): Document it.
3223 (C_entries): Use it.
3224 (process_file): Don't process a file twice.
3225
3226 * etags.c (Fortran_functions): No tags for "procedure".
3227
32281999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
3229
3230 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
3231 non-zero, returns a pointer to where the extension begins; callers
3232 changed.
3233 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
3234 were foo.c.gz.
3235
880820fe 32361999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
3237
3238 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
3239 (fvdev): New constant foperator.
3240 (consider_token): Use it to get "operator" in C++.
3241 (C_entries): Extend length of operator@ function name.
3242 (C_entries): Use foperator when necessary.
3243
3244 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
3245
3246 * etags.c (compressor): New struct for compressed files.
3247 (get_compressor_from_suffix): New function.
3248 (get_language_from_suffix): Use it. Also, semantics changed.
3249 (process_file): Consider compressed files, close file.
3250 (find_entries): Use different call arg for get_language_from_suffix,
3251 don't close file.
3252
3253 * etags.c (main): Call free_tree.
3254 (find_entries): Do not free curfile.
3255 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
3256 (prolog_pred, erlang_func, substitute): Cast strlen to int when
3257 comparing.
3258 (canonicalize_filename): Shut up compiler warning.
3259 (Perl_functions): Make tag significant.
3260
32611999-11-01 Dave Love <d.love@dl.ac.uk>
3262
3263 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
3264 (argument_type): New member at_icregexp.
3265 (lc_trans): New global.
3266 (main): Fill lc_trans. Process -c args.
3267 (add_regex): New arg determining whether to use translation table.
3268 (analyse_regex): New arg. Use it for add_regex.
3269
880820fe 32701999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
3271
3272 * etags.c (init): Cosmetic change: NULL --> '\0'.
3273 (erlang_attribute): Bug corrected (uninitialized variable).
3274 (filename_is_absolute): New function replaces absolutefn macro and
02ce3e80 3275 corrects a bug. All callers changed.
1c478461
FP
3276 (canonicalize_filename): New function.
3277 (process_file, etags_getcwd, absolute_dirname): Use it.
3278 (relative_filename, absolute_filename): Removed var shadowing.
3279 (C_entries, Pascal_functions): Add fake initializations to keep
02ce3e80 3280 compilers quiet.
1c478461
FP
3281 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
3282
3283 * etags.c (xrnew): New macro. All callers of xrealloc changed.
3284 (language): New typedef (was struct lang_entry).
3285 (curlang): New global variable.
02ce3e80 3286 (node): Typedef renamed from NODE.
1c478461
FP
3287 (linebuffer): New typedef (was struct linebuffer).
3288 (pattern): New typedef (was struct pattern). Some members added.
3289 Now used as element of a linked list.
3290 (patterns, num_patterns): Global variables deleted.
3291 (p_head): New global variable.
a64387ee 3292 (forced_lang): New global variable (replaces lang_func).
02ce3e80
SM
3293 (get_language_from_name, get_language_from_interpreter)
3294 (get_language_from_suffix): Semantics changed. All callers changed.
1c478461 3295 (last_node): New global variable.
02ce3e80
SM
3296 (free_tree, add_node, put_entries, total_size_of_entries):
3297 Change name of local vars to avoid clashes with typedef node.
1c478461
FP
3298 (number_len): Rewritten for elegance.
3299 (token): New typedef replaces TOKEN.
3300 (analyse_regex, add_regex): Rewritten for new functionality.
3301 (free_patterns): New function called from main and add_regex.
3302 (initbuffer, readline_internal, readline, grow_linebuffer):
02ce3e80 3303 Change name of local vars to avoid clashes with typedef linebuffer.
1c478461
FP
3304 (readline): Rewritten for new functionality.
3305
ecc54057 3306 * etags.c (Scheme_suffixes): New suffix ".ss".
1c478461
FP
3307 (print_help): --globals is now used for more than C-type languages.
3308 (Perl_functions): Tag global variables ("my" and "local").
3309
3310 * etags.c (print_help): Some messages clarified.
3311 (LOOP_ON_INPUT_LINES): New macro.
02ce3e80
SM
3312 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
3313 (Python_functions, Cobol_paragraphs, Pascal_functions)
3314 (Lisp_functions, Postscript_functions, Scheme_functions)
3315 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
3316 (Cobol_paragraphs, Postscript_functions, TeX_functions)
3317 (Prolog_functions, Erlang_functions): Use a local variable instead
1c478461
FP
3318 of the global variable dbp.
3319 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
3320 standard indentation.
3321
02ce3e80
SM
3322 * etags.c (Python_suffixes, lang_names, Python_functions):
3323 Python support.
1c478461 3324 (skip_spaces, skip_non_spaces): Utility functions.
02ce3e80
SM
3325 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
3326 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
3327 (prolog_pred, erlanf_func, erlang_attribute): Use them.
1c478461
FP
3328 (eat_white): Deleted.
3329
3330 * etags.c (CHAR, init): Keep into account non US-ASCII
3331 characters and compilers with default signed chars.
3332 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
3333 constructs.
ecc54057 3334 (C_stab_entry): "interface" in Java behaves like "class".
1c478461 3335
ecc54057 3336 * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
1c478461
FP
3337 (main): Put interval syntax here.
3338 (add_regex): And remove it from here.
3339
3340 * etags.c (suggest_asking_for_help): Provide a
3341 meaningful help message with and without LONG_OPTIONS.
3342
d07529f3 3343 * etags.c (<io.h>) [MSDOS]: Include it, don't include string.h.
1c478461
FP
3344 <stdlib.h, string.h>: Don't test MSDOS when including them.
3345 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
3346 (put_entries): Correctly use %ld instead of %d in printf.
3347
d07529f3 3348 * etags.c (<unistd.h>) [HAVE_UNISTD_H]: Include conditionally, else
1c478461
FP
3349 declare getcwd if HAVE_GETCWD.
3350 (consider_token): Dead break instruction removed.
3351
4ee9629e
PE
33521999-10-19 Paul Eggert <eggert@twinsun.com>
3353
3354 Add support for large files. Merge glibc 2.1.2.
1c478461 3355
4ee9629e 3356 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
d07529f3 3357 * movemail.c, pop.c:
4ee9629e
PE
3358 Do not include <stdlib.h>, as <config.h> does this now.
3359
3360 * b2m.c, emacsserver.c, etags.c, profile.c:
3361 Include <config.h> before any system include files.
1c478461 3362
4ee9629e 3363 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
d07529f3 3364 * test-distrib.c:
4ee9629e
PE
3365 (read, write, open, close): Do not undef.
3366
3367 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
3368 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
3369
3370 * getopt.h: Adopt glibc 2.1.2.
1c478461 3371
93c8d183
DL
33721999-10-15 Dave Love <fx@gnu.org>
3373
3374 * Makefile.in (pop.o): Depend on config.h.
3375
b358f91c
GM
33761999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3377
3378 * pop.c: Use "pop3" as the POP service name on all platforms,
3379 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
3380 has been the standard service name since RFC 1340 was published in
3381 July 1992, so I think it's safe to start using it by default.
3382
362bc2da
DL
33831999-09-27 Dave Love <fx@gnu.org>
3384
3385 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
3386
74e4cb59
PR
33871999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
3388
3389 * make-docfile.c (scan_lisp_file): Fix previous changes;
3390 swallow CRLF like just CR or just LF.
3391
362bc2da
DL
33921999-09-03 Richard Stallman <rms@gnu.org>
3393
3394 * make-docfile.c: Include config.h not ../src/config.h.
3395 (main, fopen, chdir): Add #undef.
3396 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
3397 (scan_lisp_file): Handle \r like \n.
3398
33991999-08-30 Andreas Schwab <schwab@gnu.org>
3400
3401 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
3402
3403 * emacsserver.c: Include <stdlib.h> if available. Don't declare
3404 errno if it's a macro.
3405
3406 * test-distrib.c: Include <unistd.h> if available.
3407
34081999-08-29 Richard Stallman <rms@gnu.org>
3409
3410 * emacsclient.c (print_help_and_exit): Mention --version.
3411
34121999-08-25 Richard M. Stallman <rms@gnu.org>
3413
3414 * emacsclient.c (decode_options): Update version output.
3415 (print_help_and_exit): Update bug report address.
3416
34171999-08-13 Richard M. Stallman <rms@gnu.org>
3418
3419 * emacsclient.c (main): Move the dynamic allocation of
3420 system_name outside of the SERVER_HOME_DIR conditional.
3421 * emacsserver.c (main): Likewise.
3422
34231999-08-10 Gerd Moellmann <gerd@gnu.org>
3424
3425 * grep-changelog: New.
3426 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
3427
34281999-07-12 Richard Stallman <rms@gnu.org>
3429
3430 * Version 20.4 released.
3431
34321999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
3433
1c478461 3434 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
3435
34361999-06-23 Dave Love <fx@gnu.org>
3437
3438 * etags.c (erlang_attribute): Fix undefined variable usage (after
3439 Potorti).
3440
86e888c2 34411999-05-02 Andrew Innes <andrewi@gnu.org>
362bc2da
DL
3442
3443 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
3444 mapped to _chsize.
3445
34461999-04-29 Richard M. Stallman <rms@gnu.org>
3447
3448 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
3449
34501999-03-30 Dave Love <fx@gnu.org>
3451
3452 * sorted-doc.c (main): Split up tables. Modify the preamble
3453 somewhat.
3454
34551999-03-05 Geoff Voelker <voelker@cs.washington.edu>
3456
3457 * makefile.nt: Remove common multiple file compilation commands.
3458
34591999-02-26 Richard Stallman <rms@gnu.org>
3460
362bc2da
DL
3461 * Makefile.in (yow): Depend on epaths.h, not paths.h.
3462
3463 * yow.c: Refer to epaths.h.
3464
34651999-02-22 Simon Josefsson <jas@pdc.kth.se>
3466
3467 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
3468
34691999-01-27 Andrew Innes <andrewi@gnu.org>
3470
3471 * makefile.nt: Do make version comparison as strings.
3472
34731999-01-25 Richard Stallman <rms@gnu.org>
3474
3475 * emacsclient.c (xmalloc): Fix previous change.
3476
34771999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
3478
3479 * emacsclient.c (xmalloc): Declare to return long.
3480
34811999-01-22 Geoff Voelker <voelker@cs.washington.edu>
3482
3483 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
3484 the case of the drive letter.
3485
34861999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
3487
3488 * emacsserver.c (main): Eliminate arbitrary limit on
3489 length of system_name.
3490
3491 * emacsclient.c (main): Eliminate arbitrary limit on
3492 length of system_name.
3493 (xmalloc): Define unconditionally.
3494
34951999-01-12 Darrin B. Jewell <jewell@mit.edu>
3496
3497 * etags.c (relative_filename): Stop backward search at beginning
3498 of string, since non-Unix systems can have absolute paths with no
3499 initial slash.
3500
35011998-12-08 Geoff Voelker <voelker@cs.washington.edu>
3502
3503 * makefile.nt: Do string comparision of _NMAKE_VER.
3504
c60ee5e7 35051998-11-03 Theodore Jump <tjump@cais.com>
362bc2da
DL
3506
3507 * makefile.nt: Compile multiple source files when possible.
3508
35091998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
3510
3511 * Makefile.in: Replace tabs with spaces
3512 when they might confuse some Make versions.
3513
35141998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
3515
3516 * emacsclient.c (main): Null-terminate system_name.
3517
3518 * emacsserver.c (main): Null-terminate system_name.
3519
35201998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3521
3522 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
3523 an error message from POP, mention that it's from POP, to
3524 distinguish it from local error messages.
3525
35261998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3527
3528 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
3529 order of messages downloaded from a POP server (e.g., if the
3530 server stores messages in mailboxes in reverse order).
3531
35321998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
3533
3534 * Version 20.3 released.
3535
35361998-08-11 Paul Eggert <eggert@twinsun.com>
3537
3538 * rcs2log: Update copyright date and bug report address.
3539 (initialize_fullname): Prefer getent if available.
3540
35411998-07-30 Paul Eggert <eggert@twinsun.com>
3542
290afd83 3543 * Makefile.in (REGEXPDEPS, regex.o):
362bc2da 3544 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 3545
362bc2da
DL
35461998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
3547
3548 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
3549
35501998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
3551
3552 * Makefile.in: Properly terminate a comment.
3553
35541998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
3555
3556 * movemail.c (sys_wait): Rename to wait.
3557
3558 * ntlib.h: Undefine _WINSOCKAPI_.
3559
3560 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
3561
35621998-05-30 Geoff Voelker <voelker@cs.washington.edu>
3563
3564 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
3565
35661998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
3567
3568 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
3569 all file i/o to be in binary mode. Include ntlib.h.
3570
35711998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
3572
3573 * make-docfile.c: Include <unistd.h> for chdir.
3574
35751998-04-25 Richard Stallman <rms@psilocin.gnu.org>
3576
3577 * etags.c (TEX_decode_env): Don't free the value getenv returns.
3578
35791998-04-17 Geoff Voelker <voelker@cs.washington.edu>
3580
3581 * makefile.nt (obj): Update with new files in src.
3582 (clean): Delete patch scratch files, optimized compilation dir.
3583
35841998-04-08 Dave Love <fx@gnu.org>
3585
3586 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
3587 Irix6, at least.
3588
35891998-04-06 Andreas Schwab <schwab@gnu.org>
3590
3591 Silence -Wimplicit:
3592 * movemail.c: Move cancelations up. Include <stdlib.h> if
3593 available.
3594 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
3595 (parse_header): Explicitly declare return type.
3596 * emacsserver.c: Include <unistd.h> if available.
3597 (main, handle_signals, perror_1, fatal_error): Explicitly declare
3598 return types. Add forward declarations.
3599 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
3600 Don't declare geteuid.
3601 (print_help_and_exit): Change return type to void. Forward
3602 declare it.
3603 * b2m.c: Include <stdlib.h> if available.
3604 (main): Explicitly declare return type.
3605
362bc2da
DL
36061998-04-03 Richard Stallman <rms@psilocin.gnu.org>
3607
3608 * etags.c (put_entries): Use %ld.
3609
3610 * b2m.c (fatal): Declare the arg.
3611
36121998-03-26 Richard Stallman <rms@psilocin.gnu.org>
3613
3614 * pop.c (pop_getline): Renamed from getline.
3615
36161998-03-05 Richard Stallman <rms@psilocin.gnu.org>
3617
3618 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
3619 for the utilities.
3620
36211998-01-23 Dave Love <d.love@dl.ac.uk>
3622
3623 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
3624 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
3625 Always make named tags.
3626 (Fortran_functions): Grok BLOCK DATA.
3627
36281998-01-23 Andreas Schwab <schwab@gnu.org>
3629
3630 * movemail.c (main): Fix interwoven brace and cpp conditional
3631 nesting.
3632
362bc2da
DL
36331997-12-03 Paul Eggert <eggert@delysid.gnu.org>
3634
cb438d6e
JB
3635 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which quotes
3636 with a '>' any lines starting with "From " read from the POP server,
3637 but leave the code in place, wrapped in #ifdef
362bc2da
DL
3638 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
3639 because it turns out that something is depending on it. Change
3640 suggested by Paul Eggert <eggert@twinsun.com>.
3641 Convert the character \037 (^_) at the beginning of a line into
3642 the character '^' followed by the character '_', because otherwise
3643 Emacs can't parse the resulting file as a valid BABYL file.
3644 Change suggested by Paul Eggert <eggert@twinsun.com>.
3645
36461997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3647
3648 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
3649 server to contain embedded nulls.
3650
36511997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 3652
362bc2da
DL
3653 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
3654 quotes with a '>' any lines starting with "From " read from the
3655 POP server, but leave the code in place, wrapped in #ifdef
3656 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
3657 because it turns out that something is depending on it. Change
3658 suggested by Paul Eggert <eggert@twinsun.com>.
3659
3660 Convert the character \037 (^_) at the beginning of a line into
3661 the character '^' followed by the character '_', because otherwise
3662 Emacs can't parse the resulting file as a valid BABYL file.
3663 Change suggested by Paul Eggert <eggert@twinsun.com>.
3664
36651997-11-22 Richard Stallman <rms@gnu.org>
3666
3667 * b2m.c: Include getopt.h.
3668 (main): Use getopt_long to handle --version and --help.
3669
3670 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
3671
36721997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3673
3674 * pop.c (fullwrite): Get rid of an extra call to write. Problem
3675 pointed out by Chiaki Ishikawa.
3676
36771997-10-16 Dave Love <d.love@dl.ac.uk>
3678
ecc54057
JB
3679 * etags.c (L_getit): Always make named tags so that Emacs
3680 completion on symbols containing `:' etc. works.
3681 (get_scheme): Likewise.
362bc2da
DL
3682
36831997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3684
3685 * pop.c: Use system header files instead of declaring C-library
3686 functions explicitly.
3687
36881997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3689
3690 * Version 20.2 released.
3691
36921997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3693
3694 * Version 20.1 released.
3695
36961997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
3697
3698 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
3699
3700 * ntlib.c (getpid): Delete function.
3701
37021997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3703
3704 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
3705
37061997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3707
3708 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
3709 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
3710
37111997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3712
3713 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
3714
37151997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
3716
3717 * profile.c (get_time): Cast arg to fprintf.
3718
3719 * hexl.c (main): Use %08lx instead of %08x in printf because the
3720 variable named addresses is long.
3721
37221997-08-08 Geoff Voelker <voelker@cs.washington.edu>
3723
3724 * makefile.nt (lisp): Update paths to lisp files that have moved.
3725
37261997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
3727
3728 * makefile.nt (ctags.obj): New target.
3729 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
3730
3731 * ntlib.h: Add includes.
3732 Undo definitions of crt routines from config.h.
3733
37341997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3735
3736 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
3737
37381997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3739
3740 * pop.c: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
3741 Kerberos V5 for movemail, including detection of V4 and V5 header
3742 files and libraries.
362bc2da 3743 Include <string.h> when STDC_HEADERS is defined, to get
ecc54057 3744 declarations of string functions.
362bc2da 3745 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
ecc54057 3746 V5 API rather than the old one.
362bc2da 3747 [KERBEROS] (socket_connection): Change a constant name from
ecc54057
JB
3748 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
3749 with a constant in a header file.
362bc2da
DL
3750
3751 * Makefile.in: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
3752 Kerberos V5 for movemail, including detection of V4 and V5 header
3753 files and libraries.
362bc2da
DL
3754
37551997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3756
3757 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
3758
3759 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1c478461 3760
362bc2da
DL
37611997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3762
3763 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
3764
37651997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3766
3767 * movemail.c (rindex): Add declaration.
3768
d57727c9 37691997-07-01 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
3770
3771 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
3772 (movemail.exe): Depend upon and link with getopt files.
3773 (obj): Include new source files.
3774 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
3775 (lisp): Include new and reorganized elisp files.
3776
37771997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3778
3779 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
3780
37811997-06-25 Paul Eggert <eggert@twinsun.com>
3782
3783 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
3784
37851997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
3786
3787 * b2m.c (readline): Terminate buffer properly when EOF seen.
3788 Test for valid pointer before dereferencing it.
3789
880820fe 37901997-05-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3791
3792 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
3793 defined inside etags.c if HAVE_CONFIG_H is defined.
3794
880820fe 37951997-05-29 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 3796
ecc54057 3797 * etags.c (logical): Type name changed to bool.
362bc2da
DL
3798 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
3799 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
3800 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
3801 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
3802 (longopts): New long options without short counterpart are
3803 globals, members, no-globals, no-members. Regexp options are now
3804 defined conditionally to ETAGS_REGEXPS.
3805 (print_help): Updated.
3806
880820fe 38071997-05-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3808
3809 * etags.c (C_entries): Use "." instead of "::" for Java.
3810 (consider_token): is_func renamed to is_func_or_var.
3811 (C_entries): is_func renamed to funorvar.
3812 (C_entries): Initialise tok.named.
3813 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
3814 get rid of "import", "package" and "friend".
3815 (fvdef): Renamed from funcdef. Also some constants renamed. All
1c478461 3816 users changed.
362bc2da
DL
3817 (C_entries): Make separate tags for variables separated by comma.
3818 (globals, members): New flags.
3819 (main, C_entries): Use them.
3820 (make_C_tag, C_entries): Make tok a global variable.
1c478461 3821
880820fe 38221997-05-16 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3823
3824 * etags.c (funcdef): New vignore constant.
3825 (consider_token, C_entries): Use it to tag global variables.
3826 (print_help): Update for global variables.
3827 (consider_token, C_entries): Set the len member of token_name.
3828 (prolog_pred): Cleanup according to GNU coding standards.
3829 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
3830 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
3831
880820fe 38321997-05-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3833
3834 * etags.c (CHARS, CHAR): New constant and macro.
3835 (iswhite, begtoken, intoken, endtoken): Use them.
3836 (notinname, _nin, nonam): New macro, array, string.
3837 (init): Cleanup and init _nin.
3838 (new_pfnote): New function.
3839 (make_C_tag) [traditional_tag_style]: Use it.
10d1d0af 3840 (traditional_tag_style): Constant set to TRUE for now.
362bc2da 3841
880820fe 38421997-05-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3843
3844 * etags.c (C_entries, Pascal_functions): Cleanup.
3845 (TeX_functions): NULL as a function arg needs a cast.
3846 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
3847
880820fe 38481997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3849
3850 * etags.c (TeX_functions): Cleaned up.
3851 (tex_getit): Removed.
3852
38531997-05-13 Paul Eggert <eggert@twinsun.com>
3854
3855 * rcs2log (files): When computing arguments automatically, ignore
ecc54057 3856 non-files within the RCS subdirectory.
362bc2da 3857
880820fe 38581997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3859
3860 * etags.c (C_JAVA): New #define.
3861 (Cjava_suffixes): .java is Java.
3862 (Cjava_entries): New function.
3863 (lang_names): Add Java.
3864 (sym_type): Add st_C_javastruct for Java.
3865 (C_stab_entry): Add `extends' and `implements' keywords.
3866 (consider_token, C_entries): Recognise Java structures.
3867
880820fe 38681997-05-12 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 3869
ecc54057 3870 * etags.c (Cplusplus_suffixes): .pdb is Postscript with C syntax.
362bc2da
DL
3871 (Postscript_suffixes): .ps is Postscript.
3872 (lang_names): Add Postscript.
3873 (Postscript_functions): New function.
3874 (TEX_decode_env): Close minor memory leak.
3875 (just_read_file): Correct the char number of the tag.
3876
38771997-05-11 Paul Eggert <eggert@twinsun.com>
3878
3879 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
ecc54057
JB
3880 Don't prepend $nl since this causes some shells to generate the
3881 empty string when IFS is $nl.
362bc2da 3882 (printlogline): Use SOH (octal code 1), not CR, since some
ecc54057 3883 PC-based shells mishandle CR.
362bc2da
DL
3884 (initialize_fullname): Set NIS_PATH to the empty string before invoking
3885 nismatch, in case it's set to some nonstandard value.
1c478461 3886
362bc2da
DL
38871997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3888
3889 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
3890 read in separate blocks.
3891
880820fe 38921997-04-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3893
3894 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
3895 (struct linebuffer): New member `len' is the length of the string.
3896 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
3897 Use it instead of strlen.
3898 (TEX_getit): Declare and define unconditionally as static.
3899 (TeX_functions): Use if instead of #if TeX_named_tokens.
3900 (add_regex): Set RE_INTERVALS flag for regex compilation.
3901 (substitute): Code cleanup.
3902 (readline_internal): Code cleanup, set new member `len'.
3903 (readline): Bug corrected.
3904
39051997-04-23 Geoff Voelker <voelker@cs.washington.edu>
3906
3907 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
3908 (obj): Change references of nt*.c files to w32*.c files.
3909
880820fe 39101997-04-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3911
3912 * etags.c (xnew): Add support for debugging with chkmalloc.
3913 (error): Use this instead of printf whenever possible.
3914 (main): Only call xnew after having initialised progname.
3915 (substitute): Bad memory corruption error corrected.
3916
880820fe 39171997-04-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3918
3919 * etags.c (add_regex): Undo previous change.
3920 (relative_filename): Small memory leak closed.
3921 (absolute_filename): Cleaned up the code, possibly closing a bug.
3922 (absolute_dirname): Always return a newly allocated string.
1c478461 3923
362bc2da
DL
39241997-03-21 Paul Eggert <eggert@twinsun.com>
3925
3926 * rcs2log (files): Ignore files in RCS directory whose names are
ecc54057
JB
3927 of the form ,*, or *_; they are probably RCS lock files.
3928 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
362bc2da
DL
3929 they are used by rcsfreeze.
3930
880820fe 39311997-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 3932
2f2c687b 3933 * etags.c (add_regex): Reset *putbuf before using it.
362bc2da
DL
3934
39351997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3936
3937 * movemail.c (popmail): Remove some unnecessary function
3938 declarations.
3939 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
3940 into pop_retr, there's no reason to pass in mbx_write, and the
3941 file argument can be declared FILE * explicitly. This fixes a
3942 compilation problem on systems with 64-bit pointers.
3943
39441997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3945
3946 * movemail.c: Delete duplicate inclusion of fcntl.h
3947 and duplicate #undefs of open, read, write, close.
3948
39491997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3950
3951 * movemail.c (main): Do not display "[POP-password]" in the usage
3952 message when movemail is compiled without POP support.
3953 (main, popmail): Add the optional "-p" argument, which causes
3954 movemail to leave mail in the inbox after copying it into the
3955 output file.
1c478461 3956
362bc2da
DL
3957 * Makefile.in (movemail): Link with getopt.
3958
39591997-01-20 Paul Eggert <eggert@twinsun.com>
3960
ecc54057 3961 * rcs2log (--help, --version): New options, per GNU coding standards.
362bc2da
DL
3962 (Copyright, Help, Id): New variables, for above.
3963 (rlog): Use -q option with cvs log, to avoid useless chatter.
3964
3965 Treat logs of "Initial revision" (RCS) or "file F was initially added
3966 on branch B." (CVS) as if they said "New file.", for consistency with
3967 change log entries.
3968
39691997-01-01 Paul Eggert <eggert@twinsun.com>
3970
3971 * vcdiff (PATH): Add /usr/xpg4/bin,
3972 where XPG4 SCCS hangs out in Solaris 2.5.
3973 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
3974
39751996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3976
3977 * etags.c (streq, strneq): Use == NULL rather than !.
3978
39791996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
3980
3981 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
ecc54057 3982 (movemail): Use LIBMAIL, to link against -lmail.
362bc2da
DL
3983
3984 * movemail.c: Include maillock.h (conditionally).
3985 Remove a redundant inclusion of <stdio.h>.
3986 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
3987 (main): Add variable spool_name.
3988 Support the usage of maillock and mailunlock to
ecc54057 3989 lock and unlock mailboxes.
362bc2da
DL
3990 (mail_spool_name): New function.
3991
3992 * movemail.c: Fix an uninitialized variable which could cause
ecc54057
JB
3993 movemail to exit with an error status incorrectly on systems which
3994 use lock files rather than a system locking function to lock
3995 mailboxes.
362bc2da
DL
3996
39971996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3998
3999 * pop.c (socket_connection): Free realhost after using it.
4000
880820fe 40011996-12-04 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4002
4003 * etags.c (C_entries): Test tok.valid. This handles some
4004 particular cases involving function declarations that failed.
4005
40061996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 4007
362bc2da
DL
4008 * pop.c (socket_connection):
4009 gethostbyname may return a pointer to static data.
4010 krb_realmofhost can clobber it. So copy it.
4011
880820fe 40121996-11-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4013
4014 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
4015 must cast it to (char *) because we have no prototypes.
4016 (make_C_tag): Macro deleted, new function.
4017 (C_entries): Calls to make_C_tag macro changed to call function.
4018
880820fe 40191996-11-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4020
4021 * etags.c (grow_linebuffer): New function.
4022 (GROW_LINEBUFFER): Macro deleted. All callers changed.
4023 (make_tag): Macro renamed to make_C_tag. All callers changed.
4024 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
4025 (Prolog_functions): prolog_skip_comment was called with wrong
4026 number of arguments.
6088b51f 4027 (xrealloc): fatal was called with wrong number of arguments.
362bc2da 4028
880820fe 40291996-11-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4030
4031 * etags.c (relative_filename): Bug corrected.
4032 (etags_getcwd): Avoid warning of unused variable.
4033 (C_entries, consider_token): Added support for enum labels.
4034
40351996-11-03 Paul Eggert <eggert@twinsun.com>
4036
4037 * rcs2log: When processing cvs log output, remove `Attic/' from
ecc54057 4038 repository file names.
362bc2da
DL
4039
40401996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
4041
4042 * emacsserver.c: Fix 1996-09-02 change.
4043
40441996-10-12 Paul Eggert <eggert@twinsun.com>
4045
4046 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
ecc54057 4047 option', since CVS says 'invalid option'.
362bc2da
DL
4048 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
4049 revisions, since some hosts reject 1970-01-01 when east of UTC.
4050 (date): Remove.
4051
40521996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4053
4054 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
4055
880820fe 40561996-10-02 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4057
4058 * etags.c (print_version): Print copyright info.
4059
4060 * etags.c (print_help): Print the bug reporting address.
4061 (main): Use return as the last instruction, instead of exit.
4062
4063 * etags.c (main): Don't open the tags file in cxref mode.
4064
40651996-09-29 Dave Love <d.love@dl.ac.uk>
4066
4067 * rcs2log (date): Make default format acceptable to CVS post v1.8
ecc54057 4068 as well as earlier CVSs and RCS.
362bc2da
DL
4069
40701996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4071
4072 * movemail.c (main): If the lock call fails with EBUSY or
4073 EAGAIN, retry a few times.
4074
40751996-09-25 Paul Eggert <eggert@twinsun.com>
4076
4077 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
ecc54057 4078 whether to append -zLT.
362bc2da
DL
4079
40801996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4081
4082 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
4083 * emacsclient.c, movemail.c: Likewise.
4084
40851996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4086
4087 * emacsclient.c (longopts): Change nowait to no-wait.
4088 (print_help_and_exit): Fix option name; upcase metavars.
4089
40901996-09-06 Erik Naggum <erik@naggum.no>
4091
4092 * emacsserver.c (main): Declare `fromlen' as size_t.
4093
40941996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
4095
4096 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
4097
40981996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4099
4100 * emacsclient.c (quote_file_name): Quote with &, not \.
4101 Quote `-' only at start of file name. Terminate the value string.
4102
4103 * emacsserver.c: Include signal.h properly;
4104 delete the duplicate includes for it.
4105
4106 * emacsserver.c: On fatal signal, delete socket-file:
4107 * emacsserver.c: Include signal.h.
ecc54057 4108 (xmalloc, fatal, error): New functions.
362bc2da
DL
4109 (delete_socket, handle_signals): New functions.
4110 (progname, socket_name): New variables.
194d44e7 4111 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
362bc2da
DL
4112
41131996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4114
4115 * emacsclient.c (quote_file_name): New function.
4116 (main, both versions): Use quote_file_name.
4117 (decode_options): Don't return a value.
4118 (main, both versions): Use optind.
4119 Don't check for -nowait here.
1c478461 4120
362bc2da
DL
4121 * emacsclient.c (decode_options): New function.
4122 (main, both versions): Call decode_options.
4123 (print_help_and_exit): New function.
4124 (VERSION): New macro.
4125
4126 * Makefile.in (emacsclient): Link with getopt.
4127 Add -DVERSION so emacsclient knows its version number.
4128
41291996-08-31 Geoff Voelker <voelker@cs.washington.edu>
4130
4131 * makefile.nt (lisp): Include dos-nt.elc.
4132
41331996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4134
4135 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
4136
41371996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4138
4139 * emacsclient.c (both versions): Handle -nowait and --nowait
4140 by sending data to the server.
4141
41421996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4143
4144 * Makefile.in (INSTALL_STRIP): New variable.
4145 (${archlibdir}): Use INSTALL_STRIP.
4146
4147 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
4148 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
4149
4150 * pop.c: Reverse conditional in previous change.
4151
41521996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4153
4154 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
4155
41561996-08-24 Paul Eggert <eggert@twinsun.com>
4157
4158 * rcs2log: Use ISO 8601 date format, with time zone appended
4159 if change-log-time-zone-rule is non-nil, instead of
4160 traditional Unix date format.
4161
4162 (datearg): When computing default from ChangeLog, handle ISO format
4163 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
4164 Don't worry about hh:mm:ss since the resolution is now by day.
10d1d0af 4165 Use empty datearg, not empty rlog_options, to decide whether to pass
362bc2da
DL
4166 "$datearg" option to $rlog.
4167 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
4168 (month_data): Remove `mo'; no longer needed.
10d1d0af 4169 (rlog_options): Use -zLT for localtime output, if `rlog' supports it.
362bc2da
DL
4170
4171 Match `revision' line of rlog output more accurately.
4172
4173 Add -c, -v options.
4174
41751996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
4176
4177 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
4178
41791996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4180
4181 * Version 19.33 released.
4182
41831996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4184
4185 * Version 19.32 released.
4186
41871996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
4188
4189 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
4190 computing character positions in source files.
4191
41921996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
4193
4194 * makefile.nt (clean): Use OBJDIR macro.
4195
41961996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4197
4198 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
4199
c60ee5e7 42001996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
362bc2da 4201
ecc54057 4202 * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
362bc2da
DL
4203 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
4204 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
4205
42061996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
4207
4208 * ntlib.h: Correct return type of getwd.
4209 * ntlib.c (getwd): Correct return type.
4210
42111996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4212
4213 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
4214 to infile.
4215
42161996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
4217
4218 * makefile.nt: Remove all references to wakeup.
4219
880820fe 42201996-06-28 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4221
4222 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
4223 explicit, mutable, typename.
4224
42251996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4226
4227 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
4228 streams, one for sending and one for reading the reply.
4229
42301996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4231
4232 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
4233 (wakeup): Target deleted.
4234 (UTILITIES): Delete wakeup and timer.
4235
4236 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
4237
42381996-06-11 Geoff Voelker <voelker@cs.washington.edu>
4239
4240 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
4241 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
4242
42431996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4244
4245 * etags.c (main): Copy cwd when appending slash.
4246
42471996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
4248
4249 * Version 19.31 released.
4250
880820fe 42511996-05-17 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4252
4253 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
4254 (Pascal_functions): Increase linecharno by the correct number of
4255 chars, inline the GET_NEW_LINE macro and delete its definition.
4256
c60ee5e7 42571996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
4258
4259 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
4260
c60ee5e7 42611996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
4262
4263 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
6088b51f 4264 (movemail.exe, fakemail.exe): Now built under Win32.o.
362bc2da
DL
4265
4266 * ntlib.c: Include ntlib.h.
4267 (nt_sleep): Rename to sleep.
4268 (getwd): Return directory.
4269 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
4270 sys_ctime, sys_fopen): New functions.
4271
4272 * ntlib.h: New file.
4273
42741996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
4275
4276 * pop.c (SEND, RECV): Renamed from send, recv.
4277 (pop_open, pop_trash): Make the trash_started code unconditional.
4278 (socket_connection): Delete casts to void.
4279
42801996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
4281
4282 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
4283 copied from lisp.h.
4284
42851996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
4286
4287 * fakemail.c [WINDOWSNT]: Include ntlib.h.
4288
4289 * hexl.c [DOSNT]: Include fcntl.h.
4290 [WINDOWSNT]: Include io.h.
4291 (main) [MSDOS]: Change conditional to DOS_NT.
4292
4293 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
4294 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
4295 [WINDOWSNT]: Include locking.h.
4296 (main): Update usage message. Use IS_DIRECTORY_SEP.
4297 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
4298 (main) [WINDOWSNT]: Invoke locking instead of flock.
4299 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
4300 (main) [MAIL_USE_POP]: Pass password to popmail if used.
4301 Include winsock.h; don't include unix inet headers.
4302 (popmail): Add password argument and pass it to pop_open.
4303 Open output file in binary mode.
4304
4305 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1c478461 4306 Macro SOCKET_ERROR undefined.
362bc2da
DL
4307 Don't declare h_errno.
4308 [!WINDOWSNT]: Define macros recv and send.
4309 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
4310 (pop_open) [WINDOWSNT]: Initialize trash_started.
4311 (have_winsock) [WINDOWSNT]: New variable.
4312 (socket_connection) [WINDOWSNT]: Initialize winsock.
4313 (socket_connection): Use closesocket instead of close.
4314 (getline): Use recv instead of read.
4315 (fullwrite): Use send instead of write.
4316 (pop_trash): Use closesocket instead of close.
4317 (pop_trash) [WINDOWSNT]: Cleanup winsock.
4318 Check if being called recursively by sendline.
4319
4320 * pop.h (struct _popserver): New field trash_started.
4321
4322 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
4323
43241996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4325
4326 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
4327
43281996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4329
4330 * etags.c [WINDOWSNT]: Include io.h.
4331
43321996-04-10 Geoff Voelker <voelker@cs.washington.edu>
4333
4334 * makefile.nt (CTAGSOBJ): Compile with regexp support.
4335
43361996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
4337
4338 * hexl.c [DJGPP v2]: Include io.h.
4339 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
4340
4341 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
4342 DJGPP v2.
4343
43441996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4345
4346 * etags.c (absolute_filename): Use absolutefn.
4347
43481996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
4349
4350 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
4351 letter isn't an alphabetic character.
4352 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
4353 (process_file) [DOS_NT]: Convert all slashes to forward style.
4354 (absolute_filename) [DOS_NT]: Emit error message for relative
4355 paths with a drive letter.
4356 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
4357 DOS/NT drive letters which try to reference the parent of the root.
4358 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
4359
43601996-03-27 Geoff Voelker <voelker@cs.washington.edu>
4361
4362 * makefile.nt: Change uses of del to $(DEL).
4363
880820fe 43641996-03-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4365
4366 * etags.c (just_read_file): Reset lineno and charno on entry.
4367
43681996-03-15 Anders Lindgren <andersl@csd.uu.se>
4369
4370 * etags.c: Prolog language totaly rewritten.
ecc54057 4371 (Prolog_functions): Rewritten from scratch.
362bc2da 4372 (skip_comment, prolog_getit): Removed.
ecc54057
JB
4373 (prolog_skip_comment): New function, like old skip_comment.
4374 (prolog_pred, prolog_atom, prolog_white): New functions.
4375 (erlang_func, erlang_attributes): Forward declarations added.
4376 (erlang_atom): Check if backslash ends line inside quoted atom.
362bc2da 4377
880820fe 43781996-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4379
4380 * etags.c (absolutefn): DOS_NT version corrected.
4381 (main): Append "/" to the dir name only if not already there.
4382 (print_help): Explain the absolute/relative file name issue.
1c478461 4383
362bc2da
DL
43841996-03-08 Anders Lindgren <andersl@csd.uu.se>
4385
10d1d0af
JB
4386 * etags.c: New Language Erlang added.
4387 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom)
4388 (erlang_white): New functions.
362bc2da
DL
4389 (Erlang_suffixes): New suffix list.
4390 (lang_names): Erlang entry added.
4391 (prolog_getit): Accepts headers spanning several lines.
4392 Always name tags.
4393 (Prolog_functions): Removed incorrect compensation for
4394 newline characters.
4395 (readline_internal): Zero-terminate last line.
4396
43971996-03-20 Mike Long <mike.long@analog.com>
4398
4399 * b2m.c (main): Initialize progname variable before using it.
4400 Quote `username' in From_ header.
4401
44021996-03-18 Geoff Voelker <voelker@cs.washington.edu>
4403
4404 * ntlib.c (getpid): New function.
4405
44061996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4407
4408 * emacsclient.c (main, both definitions):
4409 Print a newline for normal termination.
4410
44111996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
4412
4413 * tcp.c (main): Convert port to network byte order.
4414
44151996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
4416
4417 * pop.c (pop_retrieve, getline): Avoid type clashes.
4418
44191996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
4420
4421 * etags.c (enum sym_type, anonymous enum): Delete final comma.
4422
44231996-01-15 Paul Eggert <eggert@twinsun.com>
4424
4425 * rcs2log (initialize_fullname): Add support for NIS+.
4426 (hostname): Fully qualify the default hostname with the domainname
4427 if the hostname lacks a `.'.
4428
362bc2da
DL
44291996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
4430
4431 * etags.c (consider_token): Fix typo in expression.
4432
44331996-01-04 Paul Eggert <eggert@twinsun.com>
4434
4435 * etags.c (substitute): Fix spelling in message.
4436
44371996-01-03 George V. Reilly <georger@microcrafts.com>
4438
4439 * makefile.nt (etags, ctags): Compile with regexp support.
4440 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
4441 subdirectory exists before compiling.
1c478461 4442
362bc2da
DL
44431996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
4444
4445 * emacsserver.c (main): Do chmod based on existing permission.
4446
44471995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4448
4449 * Makefile.in (install): Turn on read/execute permission.
4450
44511995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4452
4453 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
4454 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
4455
44561995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4457
4458 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
4459
880820fe 44601995-12-07 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
4461
4462 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
4463 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
4464 get_scheme, prolog_getit): Name the tag in ctags mode.
4465 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
4466 (Perl_interpreters): Accept "@PERL@" as an interpreter.
4467 (suggest_asking_for_help): New function.
4468 (main, get_language_from_name): Use suggest_asking_for_help.
4469 (main): Let get_language_from_name make language existence check.
4470 (streq, strneq): Check the arguments #if DEBUG.
4471
880820fe 44721995-12-06 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
4473
4474 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
4475 (gperf): Added keywords for Objective C and GNU macros.
4476 (sym_type): Added values to account for Objective C and GNU macros.
4477 (begtk): The '@' character can start a token.
4478 (objdef, methodlen, objtag): New variables for Objective C.
4479 (consider_token, C_entries): Added code for Objective C.
4480 (plain_C_suffixes): Add .m and .lm for Objective C.
4481 (Yacc_suffixes): Add .ym for Objective yacc.
4482 (GROW_LINEBUFFER): New macro.
4483 (consider_token, C_entries, Pascal_functions): Use the new macro.
4484 (consider_token): Take one more argument. Caller changed.
4485 (consider_token): Use the hashing function to spot GNU macros.
4486 (C_entries): Consider // as a comment start even in plain C for
4487 the sake of Objective C parsing.
4488
880820fe 44891995-12-04 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da 4490
2f2c687b 4491 * Makefile.in (ctags): Depend on etags only for simplicity;
ecc54057 4492 compile with regexp support enabled.
362bc2da
DL
4493
44941995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4495
4496 * Version 19.30 released.
4497
44981995-11-22 Geoff Voelker <voelker@cs.washington.edu>
4499
4500 * makefile.nt (DOC, clean): Don't use switches to del not
4501 supported by Windows 95.
4502
45031995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4504
4505 * Makefile.in (regex.o): Depend on ../src/config.h.
4506
45071995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4508
4509 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
4510 (LOADLIBES): Use LIB_STANDARD.
4511
45121995-11-07 Kevin Gallo <kgallo@microsoft.com>
4513
4514 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
4515 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
4516 Windows 95 conditional.
4517
880820fe 45181995-11-06 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4519
4520 * etags.c (get_lang_from_name, get_lang_from_interpreter,
4521 get_lang_from_suffix): New functions.
4522 (get_language): Function deleted.
4523 (lang_entry): Two members added to struct.
4524 (lang_names): Reflect the new layout of lang_entry.
4525 (print_language_names, main, find_entries): Use the new functions.
4526 (find_entries): Look at the first line for #! if no language.
4527 (C_entries): Invalidate the token when funcdef is reset.
4528 (Perl_functions): New function.
4529 (lang_suffixes): .pl and .pm are Perl suffixes.
4530
880820fe 45311995-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4532
4533 * etags.c (lowcase): Use the standard tolower function.
4534 (substitute): Remove some wrong and some useless code related with
a64387ee 4535 escape '\' character in regexp replacement string.
362bc2da
DL
4536 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
4537 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
4538 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
4539 .prolog for prolog (.pl removed).
4540 (massage_name, etags_getcwd): Use lowcase instead of tolower.
4541 (C_entries, find_entries): Added comments about memory leakage.
4542 (add_node): Dead code removed.
4543
45441995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4545
4546 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
4547 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
4548
45491995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4550
4551 * test-distrib.c: Add #undef for open, close, read, write.
4552
45531995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4554
4555 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
4556 [! O_RDONLY]: Define it to zero.
4557 (main): Use O_RDONLY instead of explicit zero.
4558
880820fe 45591995-08-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4560
4561 * etags.c (Pascal_functions): Close comment bug corrected.
4562 (add_node): Correctly compare node file names.
4563 (Pascal_functions): Correctly allocate and free memory for tline.
4564 (pfnote): Put the definition of fp in the innermost block.
4565 (NODE): `named' member removed.
4566 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1c478461 4567 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
4568 (pfnote): `named' argument removed, all callers changed.
4569 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
4570 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1c478461 4571 removed from pfnote call, some code cleanup.
362bc2da
DL
4572 (relative_filename): Free temporary space allocated by concat.
4573
45741995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4575
4576 * Makefile.in (getdate.c): New target.
4577 (getdate.o): Just compile getdate.c.
4578
45791995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
4580
4581 * fakemail.c (xrealloc): Change cast to match return type.
4582
45831995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4584
4585 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
4586
45871995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4588
4589 * movemail.c (main): Fix previous change.
4590 Add error check for empty OUTNAME.
4591
45921995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4593
4594 * movemail.c (main): Mention lock file name in error message.
4595
45961995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4597
4598 * profile.c (gettimeofday): New function, defined if necessary.
4599
46001995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4601
4602 * Makefile.in: Renamed from Makefile.in.in.
4603 (distclean): Delete Makefile.c, not Makefile.in.
4604
46051995-07-17 Michael Shields <shields@tembel.org>
4606
4607 * Makefile.in.in (tags): Synonym for `TAGS'.
4608
46091995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4610
4611 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
4612 configure has already set $(INSTALL) to the proper relative path.
4613
362bc2da
DL
46141995-07-08 Paul Eggert <eggert@twinsun.com>
4615
4616 * rcs2log (datearg): Separate date from time with comma, not space,
4617 to work around CVS 1.5 bug.
4618 (CVSROOT): Don't abort when unset if repository is absolute.
4619
46201995-07-07 Paul Eggert <eggert@twinsun.com>
4621
4622 * rcs-checkin, rcs2log, vcdiff:
4623 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
4624 that interpret `#! /' as a 4-byte magic number.
4625
46261995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
4627
4628 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
4629 mailbox with "po:mailbox", the mailbox is everything after the
4630 "po:" prefix.
4631
46321995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4633
4634 * emacsserver.c: Make all error messages start with `Error: '.
ecc54057 4635 (fatal_error, perror_1): New functions, use throughout.
362bc2da
DL
4636
46371995-06-28 Paul Eggert <eggert@twinsun.com>
4638
4639 * rcs2log (CVSROOT, repository):
4640 Allow remote repositories a la CVS 1.4.
4641
880820fe 46421995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4643
2f2c687b
JB
4644 * etags.c (plain_C_entries): New function.
4645 (lowcase): New macro.
4646 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
4647 (lang_suffixes): New suffix ".pc" for Pro*C files.
4648 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
4649 (tail): Look for the end of the token when comparing.
4650 (takeprec): Since now tail behaves differently, use strneq.
362bc2da
DL
4651
46521995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4653
4654 * movemail.c (main): Add newline in usage message.
4655
46561995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4657
4658 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
4659
880820fe 46601995-06-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4661
4662 * etags.c (find_entries): Rewind before rereading the input file.
4663
46641995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4665
4666 * Version 19.29 released.
4667
4668 * make-docfile.c (main) [MSDOS]: Do set _fmode.
4669 This undoes part of the previous change.
4670
46711995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4672
4673 * make-docfile.c (main): On MSDOS, don't change stdout
4674 to binary, and insist on an -o option.
4675
46761995-06-13 Geoff Voelker <voelker@cs.washington.edu>
4677
4678 * etags.c (process_file,absolute_filename): Handle filenames
4679 starting with a drive letter.
4680
4681 * makefile.nt (install): Copy wakeup.exe properly.
4682
46831995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
4684
4685 * make-docfile.c [MSDOS]: #undef chdir.
4686
46871995-06-04 Paul Eggert <eggert@twinsun.com>
4688
4689 * rcs2log (output_authors): Allow ':' in time zone,
4690 as per ISO 8601 and RCS 5.6.8 beta.
4691
880820fe 46921995-05-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4693
4694 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
4695 compatibility problems.
4696
46971995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
4698
4699 * etags.c (etags_getcwd): Don't use #elif.
4700 Have just one function body.
4701
47021995-05-25 Geoff Voelker <voelker@cs.washington.edu>
4703
4704 * makefile.nt (LIBS): Use BASE_LIBS.
4705 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
4706 upon LIBS.
4707 (DOC): Use del instead of rm.
4708 (DOC) [WINDOWS95]: Use DOC.
4709 (clean): Handle MSVC aux files.
4710 (config.h,paths.h): Use $(CP) instead of cp.
4711 (config.h): Use $(CONFIG_H)
4712 (make-docfile.obj): Depend upon config.h.
4713 Clean up comments.
4714
880820fe 47151995-05-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4716
4717 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
4718 former gives the true path even in the presence of simlinks.
4719
47201995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4721
4722 * movemail.c (main): Increase lock timeout to five minutes.
4723
47241995-05-06 Geoff Voelker <voelker@cs.washington.edu>
4725
4726 * makefile.nt (obj): Use .c files.
4727
47281995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4729
4730 * make-docfile.c: Include config.h.
4731 (NO_SHORTNAMES): New definition.
4732 (xmalloc): Return long *.
4733
4734 * etags.c (C_entries): Cast result of xrealloc.
4735 (xmalloc, xrealloc): Declare them to return long *.
4736
4737 * b2m.c (xmalloc, xrealloc): Declare them long *.
4738
4739 * movemail.c (xmalloc): Declare it to return long *.
4740
47411995-04-30 Paul Eggert <eggert@twinsun.com>
4742
4743 * rcs2log (datearg): If rlog options are specified explicitly,
4744 omit the implicit '-d>DATE' option.
4745 (repository, rlog): Allow absolute paths to CVS repositories.
4746 Look only at the first line of CVS/Repository.
4747
47481995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
4749
4750 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
4751 realclean.
4752
47531995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4754
4755 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
4756 Alternative (empty) definitions.
4757
47581995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4759
4760 * emacsclient.c (main): Add argv[0] to an error message.
4761
47621995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
4763
4764 * emacsclient.c (main): Improve error handling.
4765 * cvtmail.c (main, skip_to_lf): Improve error handling.
4766 (sysfail): New function.
4767
4768 * b2m.c (main): Check for trailing ", " before trying to delete it.
4769
47701995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4771
4772 * Makefile.in.in (all): Build test-distrib and make-docfile.
4773
4774 * make-docfile.c (scan_c_file): At end, restore file name last char
4775 to its original value.
4776
47771995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4778
4779 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
4780
47811995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4782
4783 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
4784 (alloca.o, regex.o): Use BASE_CFLAGS.
4785
47861995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4787
4788 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
4789
47901995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
4791
4792 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
4793 (SOURCES, distclean): Removed obsolete references to aixcc.
4794
47951995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4796
4797 * aixcc.lex: File deleted--surely obsolete now.
4798
47991995-03-23 Paul Eggert <eggert@twinsun.com>
4800
4801 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
4802 portability to mawk and nawk.
4803
48041995-03-21 Paul Eggert <eggert@twinsun.com>
4805
4806 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
4807 -u "login<tab>fullname<tab>mailaddr".
4808
48091995-03-21 Paul Eggert <eggert@twinsun.com>
4810
4811 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
4812 replaces the (now obsolescent) -n login fullname mailaddr option.
4813 Add -R option for recursive rlog.
07655e62 4814 (AWK): New environment variable (default `awk') for awk program name.
362bc2da
DL
4815 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
4816 Quote authors and fullnames correctly.
4817 Don't omit path from repository root when logging CVS files.
4818
48191995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4820
4821 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
4822 even if HAVE_SYSVIPC.
4823 * emacsclient.c (main): Use getcwd if not BSD.
4824
880820fe 48251995-03-13 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4826
2f2c687b 4827 * etags.c (process_file): Free (filename) after using it.
362bc2da
DL
4828 (readline_internal): Do not access the char before start of line.
4829
880820fe 48301995-02-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4831
4832 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
4833 savetok.valid. Mark token as valid when it is initialised.
4834 (make_tag): Make token only if token is valid and reset validity.
4835 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
4836 (TOKEN): Added a new member: valid.
4837
880820fe 48381995-02-15 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4839
4840 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
4841 (main): Do not read twice the last filename in the stdin file list.
4842
880820fe 48431995-02-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4844
4845 * etags.c (C_entries): Initialise the new members of TOKEN.
4846 (C_entries): Do not allocate a new space for each token found by
4847 consider_token. Let make_tag do that instead.
4848 (make_tag): Since now TOKEN has memory of where it is taken from,
4849 this new macro substitutes both make_tag_from_new_lb and
4850 make_tag_from_oth_lb. All callers changed.
4851 (TOKEN): Add linepos and buffer members.
4852 (main): Initialise token_str.
4853 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
4854 (token_str): New global variable used by C_entries.
4855
48561995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
4857
4858 * Makefile.in.in (maintainer-clean): Renamed from realclean.
4859
880820fe 48601995-02-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4861
4862 * etags.c (pfnote): Initialise been_warned in the node.
4863 (C_entries): Removed a speed hack for the sake of clarity.
4864
880820fe 48651995-01-18 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4866
4867 * etags.c (longopts, print_help, main): Use -I as abbreviation
4868 for the --ignore-indentation option.
4869 (main): Do not print an error message for unknown options.
4870
880820fe 48711995-01-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4872
4873 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
194d44e7
JB
4874 (append_to_tagfile, typedefs, typedefs_and_cplusplus)
4875 (constantypedefs, update, vgrind_style, no_warnings)
4876 (cxref_style, cplusplus, noindentypedefs): Were int, now logical.
362bc2da
DL
4877 (permit_duplicates): Was a var, now a #define.
4878 (filename_lb): Was global, now local to main.
4879 (main): Open the tag file when in cxref mode.
4880 Use a BUFSIZ size buffer for making the shell commands.
4881 Look at the return value from the system routine.
4882 Exit when cannot open the tag file.
4883 (process_file): Open the file and pass the FILE* to find_entries.
4884 (find_entries): Now void, because does not open the file itself.
4885 (pfnote): Recovering from lack of memory does not work. Removed.
4886 Use savenstr and simplify the code.
4887 (free_tree): Only free the name space if node is named.
4888 (structtag): Now a pointer, not a fixed length array of chars.
4889 (consider_token): Don't take a token as argument. Use savenstr
4890 when saving a tag in structtag. Callers changed.
4891 (TOKEN): Structure changed. Now used only in C_entries.
4892 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
4893 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
4894 (pfcnt): Deleted. Users updated.
194d44e7
JB
4895 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme)
4896 (TEX_getit, prolog_getit): Use dinamic allocation for storing
362bc2da
DL
4897 the tag instead of a fixed size buffer.
4898
48991995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4900
4901 * movemail.c (main): Skip past the colon in inname.
4902
880820fe 49031995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4904
4905 * etags.c (pfatal): New function.
4906 (main, etags_getcwd): Use pfatal.
4907 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
4908
880820fe 49091995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4910
4911 * etags.c (Lang_function): Use void instead to declare the
4912 language functions, because many compilers are buggy.
4913 (etags_getcwd): Fix the previous fix on the #else branch.
4914 (readline_internal): Discard possible \r before \n here.
4915 (C_entries): Do not deal with \r here: undo previous fix.
4916
880820fe 49171995-01-09 Francesco Potortì (pot@fly)
362bc2da
DL
4918
4919 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
4920 functions and a macro that allow the program to work on input
4921 lines of whatever length. Copied from etags.c.
4922 (fatal): Print a fatal error message and exit.
4923 (main): Use the new functions. Fixed a bug that made a \037 char
4924 appear at the end of the output.
4925
49261995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4927
4928 * etags.c (C_entries): Ignore carriage return at end of line.
4929
49301994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4931
4932 * fakemail.c (xmalloc, xrealloc): Add casts.
4933 (add_field): Handle <...> and "..." syntax.
4934 (setup_files, get_keyword): Clean up parens and line breaks.
4935 (args_size): Likewise.
4936
49371994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
4938
4939 * yow.c: Include program name in error messages.
4940
49411994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4942
4943 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
4944 (xmalloc, fatal, error): New functions.
4945 (progname): New variable.
4946 (main): Set progname.
4947
49481994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4949
4950 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
4951 (main): If socket/mqueue name is in home dir, add in the host name.
4952 Rename .emacs_server to .emacs-server....
4953
49541994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4955
4956 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
4957
880820fe 49581994-11-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4959
2f2c687b
JB
4960 * etags.c (print_help): Print --regex usage for ctags also.
4961 (main): Use -h in addition to -H as abbreviation for --help.
362bc2da 4962
880820fe 49631994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4964
4965 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
4966 is compiled if this is defined. The new functions and variables
4967 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
4968 [VMS]: All VMS specific code previously contained in
4969 etags-vmslib.c is now included here, modified for dealing with
4970 language and regex options intermixed with filenames.
4971 (header_file): Global variable deleted.
4972 (Lang_Function): New typedef. All language parser functions
4973 changed to this new type.
4974 (string_numeric_p, substr, prestr): Functions deleted.
4975 (readline_internal): Does the job that readline did previously.
4976 (longopts): --language and --regex options added.
4977 (lang_names, lang_extensions, lang_func, print_language_names):
4978 New structures, variables and functions for choosing languages.
4979 (print_help): Help strings updated. Calls print_language_names.
4980 (argument_type, ARGUMENT): Typedefs for dealing with language and
4981 regex options intermixed with filenames.
4982 (main): Changed the way of dealing with arguments on the command
4983 line to deal with language and regex options intermixed with
4984 filenames.
4985 (get_language, default_C_entries, Cplusplus_entries,
4986 Cstar_entries, Yacc_entries, just_read_file): New functions.
4987 (find_entries): Use the new method for choosing the language.
4988 (Pascal_functions): Allow intermixing of comment styles.
4989 (prolog_getit, skip_comment): Rewritten for speed.
4990 (readline): Rewritten to deal with regexps.
4991
880820fe 49921994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4993
4994 * etags.c (<errno.h>): #include added.
4995 (etags_getcwd): Check return value from getcwd.
4996
49971994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4998
4999 * profile.c (TV1, TV2): Use EMACS_TIME as type.
5000 (get_time): Use EMACS_SUB_TIME.
5001
d57727c9 50021994-10-30 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
5003
5004 * ntlib.c: New file.
5005 * makefile.nt: New file.
5006
5007 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
5008 [WINDOWSNT]: Include the NT headers.
5009 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
5010
5011 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
5012 [WINDOWSNT]: Include some NT headers.
5013
50141994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
5015
5016 * pop.c (getline): When a search of already-read input for CRLF
5017 fails, store the fact that we've searched it and don't search it
5018 again after reading more data.
5019
5020 * pop.c (getline): When determining whether or not it's necessary
5021 to grow the input buffer, take into account the null that's stored
5022 at the end of already-read input in the buffer.
5023
880820fe 50241994-10-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5025
2f2c687b 5026 * etags.c (prestr, substr): Return a logical type.
362bc2da 5027 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
2f2c687b 5028 (consider_token): Set funcdef to fignore when a DEFUN is met.
362bc2da
DL
5029 (C_entries): Now we can use Tom Hageman patch for extern "C".
5030
50311994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5032
5033 * movemail.c: PopServer renamed to popserver throughout.
5034
50351994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
5036
5037 * etags.c: Don't declare malloc, since we include config.h.
5038 * fakemail.c: Likewise.
5039
50401994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5041
5042 * movemail.c: Don't declare malloc.
5043
50441994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
5045
5046 * rcs-checkin: Use test -r instead of < to check readability, to
ecc54057 5047 avoid syntax error.
362bc2da
DL
5048
50491994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
5050
5051 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
5052 defined, and if HAVE_CONFIG_H isn't defined, define
5053 MAIL_USE_POP always (so that this file can be included in
5054 other programs besides emacs).
5055
5056 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
5057 HAVE_CONFIG_H isn't defined.
5058
5059 * pop.c (find_crlf, getline): Instead of using strstr, use a
5060 custom function for finding CRLF.
5061 (my_strstr): Function deleted.
5062
50631994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
5064
5065 * pop.c (getline): Fix a segfault because of passing a
5066 non-null-terminated string into strstr(). Fix from
5067 djm@va.pubnix.com (David J. MacKenzie).
5068
5069 * pop.c: Don't include <string.h> and <strings.h>.
5070
5071 * pop.c: Include <des.h> before <krb.h>, rather than after. They
5072 should be interchangeable, and indeed the inclusion is done in
5073 both orders in various files in the Kerberos 4 library sources,
5074 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
5075 requires that <des.h> be included first, and I don't see any harm
5076 in changing the order.
5077
5078 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
5079 STDC_HEADERS, if they're defined. Undef open, read, write and
5080 close after including it.
5081
50821994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5083
5084 * pop.c: Fix mismatch in conditionals.
5085
5086 * make-docfile.c (main): Don't process one input file twice.
5087 Never use exit code > 1.
5088
5089 * pop.c (open, close, read, write): Add #undefs.
5090
5091 * pop.c: Don't declare malloc, realloc, free.
5092 Include ../src/config.h.
5093 Don't include string.h or strings.h.
5094 Include des.h before krb.h.
5095 Do declare my_strstr.
5096 (getline): Really use my_strstr.
5097 Leave one empty place in server->buffer,
5098 and put a null at the end of the data in it.
5099
51001994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5101
5102 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
5103 call kill with pid 0. Handle EINTR when receiving messages.
5104
51051994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
5106
5107 * Makefile.in.in (regex.o): Use full path to find regex.c.
5108
880820fe 51091994-10-17 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5110
2f2c687b
JB
5111 * Makefile.in.in (etags): Add dependency on regex.o, link with it.
5112 (REGEXPOBJ, REGEXPDEPS, regex.o): Target and macros added.
362bc2da
DL
5113
51141994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
5115
5116 * Makefile.in.in (DONT_INSTALL): Remove make-path.
5117 (${archlibdir}): Use mkinstalldirs instead.
5118
5119 * movemail.c: Make functions that return nothing void, not
5120 implicitly int.
5121 (main): Improve usage message.
5122 (error): Write to stderr, not stdout.
5123
5124 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
5125 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
5126 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
5127 variables and implicitly declared functions.
5128
51291994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5130
5131 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
5132 (distclean): Not here.
5133
5134 * Makefile.in.in (libexecdir): Renamed from libdir.
5135
880820fe 51361994-10-11 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5137
5138 * etags.c (C_entries): Name the #define's that are macros.
5139
51401994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5141
5142 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
5143 fd_set arg is a pointer, descriptor arg comes first.
5144
880820fe 51451994-09-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5146
5147 * etags.c (C_entries): Recognise typedef of ANSI style functions.
5148 (C_entries): Recognise #define inside a struct.
5149 (C_entries): ANSI tells that preprocessor commands do not have to
5150 start on the first column.
5151 (print_help): Documentation corrected for -d and -D.
5152 (white, endtk): ANSI tells the vertical tab is a separator.
5153
51541994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
5155
5156 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
5157 (pop.o, movemail.o): New targets.
5158 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
5159
5160 * pop.c, pop.h: New files.
5161
5162 * movemail.c: Improve POP code, move most of it into a separate file.
5163 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
5164 (mbx_write): Check for errors and for From line.
5165 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
5166 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
5167 (pop_init): Functions deleted.
5168
51691994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
5170
5171 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
5172 Rename path to dirname.
5173
51741994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5175
5176 * Makefile.in.in (UTILITIES):
5177 Remove test-distrib, make-docfile, make-path.
5178 (DONT_INSTALL): New variable--list those files here.
5179 (clean): Delete the files in DONT_INSTALL.
5180
51811994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5182
5183 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
5184 (main): Use fgets, not gets.
5185
51861994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5187
5188 * timer.c: Don't declare malloc.
5189
51901994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
5191
5192 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
5193 defined, use simple 32-bit versions of these macros.
5194 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
5195
c60ee5e7 51961994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
362bc2da
DL
5197
5198 * etags.c (etags_getcwd): Use getcwd if available.
5199
52001994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5201
5202 * Version 19.27 released.
5203
52041994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5205
5206 * Version 19.26 released.
5207
52081994-08-15 Paul Eggert <eggert@twinsun.com>
5209
5210 * rcs2log: Add support for CVS.
5211 Work with `rlog's that output ISO 8601 dates.
5212
52131994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
5214
5215 * rcs2log: Use <> to delimit email address.
5216
52171994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5218
5219 * emacsserver.c [SYSV_IPC] (main): Make a separate process
5220 so we can listen for multiple requests.
5221
52221994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5223
5224 * movemail.c: Include config.h first thing.
5225
52261994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5227
5228 * emacsserver.c (main): Add casts to avoid warnings.
5229
52301994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5231
5232 * Makefile.in.in (${archlibdir}): Compare the proper dir
5233 before installing the scripts.
5234
52351994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5236
5237 * emacsclient.c (main): New local var progname saves argv[0].
5238
52391994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5240
5241 * emacsclient.c (main): Don't actually modify argv[0].
5242 Modify a copy instead.
5243
52441994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5245
5246 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
5247 (tzp): Var deleted.
5248
5249 * Makefile.in.in: Add #undef alloca.
5250
52511994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5252
5253 * timer.c (xmalloc): New function.
5254
52551994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5256
5257 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
5258 (alloca.o): New target.
5259
52601994-07-08 Dave Love (d.love@dl.ac.uk)
5261
2f2c687b 5262 * etags.c (takeprec): Recognise `character*(*) function'.
362bc2da 5263
880820fe 52641994-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5265
ecc54057
JB
5266 * etags.c (main): Don't barf on obsolete -t and -T switches.
5267 (main): Print an explicative message when a switch is not known.
362bc2da
DL
5268
52691994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5270
5271 * hexl.c: Don't declare exit or perror.
5272
5273 * emacsserver.c (main): Don't declare geteuid.
5274 Don't declare getenv if convex.
5275
52761994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5277
5278 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
5279
880820fe 52801994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
5281
5282 * etags.c (absolute_filename): Remove infinite loop bug when
5283 accessing files in directories whose name begins with a dot.
5284
880820fe 52851994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
5286
5287 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
5288
52891994-06-01 Morten Welinder (terra@diku.dk)
5290
5291 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
5292 location of data directory.
5293
52941994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5295
5296 * Version 19.25 released.
5297
52981994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5299
5300 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
5301
53021994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5303
5304 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
5305
53061994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5307
5308 * Version 19.24 released.
5309
53101994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5311
5312 * make-docfile.c (write_c_args): Put `default' in upper case.
5313
53141994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5315
5316 * etags.c (etags_getcwd): Cast result of popen.
5317 (popen): Declaration deleted.
5318
53191994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
5320
5321 * etags.c [!MSDOS]: Declare popen.
5322
53231994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5324
5325 * b2m.c (main): Avoid crash if argc is 1.
5326
53271994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5328
5329 * Version 19.23 released.
5330
5331 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
5332
53331994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5334
5335 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
5336
53371994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
5338
5339 * Makefile.in.in: Fix out of date comment.
5340
53411994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5342
5343 * Makefile.in.in: Put in a separator for where to start cpp procssing.
5344 Move all autoconf substitutions above that point.
5345 Above that point, use Make-style comments.
5346 This goes with changes in ../configure.in.
5347
53481994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5349
5350 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
5351 warning message.
5352 (${archlibdir}): Don't do it here. Don't depend on blessmail.
5353
53541994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
5355
5356 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
5357
53581994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5359
5360 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
5361 print advice to run it, if it has anything significant to do.
5362 And only if MOVEMAIL_NEEDS_BLESSING.
5363 (blessmail): Use emacs, not temacs.
5364 (configuration): Renamed from configname.
5365
53661994-04-30 Morten Welinder (terra@diku.dk)
5367
5368 * etags.c (find_entries): Treat `*.cpp' as C++ files.
5369
53701994-04-30 Morten Welinder (terra@diku.dk)
5371
5372 * etags.c [MSDOS]: #include <sys/param.h> for the following.
5373 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
5374 a shell.
5375
53761994-04-29 Morten Welinder (terra@diku.dk)
5377
5378 * hexl.c [MSDOS]: Don't define proto type for exit.
5379
53801994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5381
5382 * b2m.c: Don't include string.h or strings.h.
5383
53841994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
5385
5386 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
5387 symbols, not make variables.
5388
53891994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5390
5391 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
5392 * etags.c (print_version): Print VERSION as a string.
5393
53941994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5395
5396 * fakemail.c (readline): Fix updating of p when buffer grows.
5397
53981994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
5399
5400 * Makefile.in.in (blessmail): New target.
5401 ${archlibdir}: Use blessmail when installing movemail.
5402
54031994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5404
5405 * fakemail.c (readline): When extending the buffer,
5406 calculate end afresh using the new size.
5407
880820fe 54081994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5409
2f2c687b 5410 * etags.c (main, print_help): Eliminate the -F option.
362bc2da 5411
880820fe 54121994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5413
2f2c687b 5414 * etags.c (absolute_filename): Compare against '\0' instead of NULL.
362bc2da
DL
5415
54161994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5417
5418 * Makefile.in.in: Renamed from Makefile.in.
5419 Makefile.in is now generated from it, and then preprocessed.
5420 Change comments to C syntax.
5421 Include config.h.
5422 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
5423 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
5424
54251994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5426
5427 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
5428
880820fe 54291994-04-12 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
5430
5431 * etags.c (etags_getcwd): Initialize bufsize.
5432
54331994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5434
5435 * profile.c (gettimeofday): If system doesn't have this, define it
5436 to give a fatal error.
5437
54381994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
5439
5440 * movemail.c (main): Use setuid, not seteuid.
5441
54421994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5443
5444 * etags.c: #undef static.
5445
880820fe 54461994-04-08 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5447
2f2c687b
JB
5448 * etags.c (outf, outfiledir): Renamed to tagf, tagfiledir.
5449 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs)
5450 (Scheme_funcs, prolog_funcs): Renamed to Fortran_functions,
362bc2da
DL
5451 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
5452 TeX_functions, Prolog_functions.
2f2c687b
JB
5453 (inf): No more a global variable.
5454 (C_entries): Take 2nd parameter `inf' instead of using the global one.
5455 (find_entries): Added the cp1 var for optimisation.
5456 (find_entries): Added more suffixes for assembler files.
362bc2da
DL
5457 (Asm_funcs): Now finds labels even without an ending colon.
5458
880820fe 54591994-03-30 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5460
2f2c687b
JB
5461 * etags.c (main): Use etags_getcwd for compatibility.
5462 (etags_getcwd): New function.
362bc2da
DL
5463
54641994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5465
5466 * Makefile.in (etags, ctags): Pass -D for VERSION.
5467
880820fe 54681994-03-25 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5469
2f2c687b
JB
5470 * etags.c (emacs_tags_format, ETAGS): Removed. Use CTAGS instead.
5471 (main): Don't allow the use of -t and -T in etags mode.
5472 (print_help): Don't show options enabled by default.
5473 (print_version): Show the emacs version number if VERSION is #defined.
5474 (find_entries): Add "ss" as suffix for Chez Scheme.
362bc2da 5475
880820fe 54761994-03-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5477
2f2c687b 5478 * etags.c (cwd, outfiledir): Vars added.
362bc2da
DL
5479 (relative_filename, absolute_filename, absolute_dirname):
5480 functions added to compute filenames in tags files.
2f2c687b 5481 (process_file): Filenames in tags file are relative to the
362bc2da 5482 directory where the tags file is (useful with the -o option).
2f2c687b
JB
5483 (main): Initialise the outfiledir var.
5484 (TYPEDST): Added the `tignore' value.
5485 (C_entries): Corrected various small bugs.
362bc2da
DL
5486
54871994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5488
5489 * Makefile.in (UTILITIES): `env' deleted.
5490 (env): Target deleted.
5491 * env.c: File deleted.
1c478461 5492
362bc2da
DL
54931994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5494
5495 * Makefile.in (install, ${archlibdir}): Switch back to ..
5496 before running INSTALL_PROGRAM.
5497
880820fe 54981994-03-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5499
2f2c687b
JB
5500 * etags.c (TYPEDST): Added the `tignore' value.
5501 (C_entries): Corrected various bugs, now correctly parses the
362bc2da
DL
5502 `extern "C" {' construction (patch by Tom R.Hageman).
5503
55041994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5505
5506 * b2m.c: Use <...> to include config.h.
5507 Don't include stdlib.h.
5508
177c0ea7 55091994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
362bc2da
DL
5510
5511 * b2m.c (main): Change delimiter from "^L" to "^_^L".
5512 Allow for text following "BABYL OPTIONS:".
5513 Add --help option. Use argv[0] in error messages.
5514
55151994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5516
5517 * emacsclient.c (main) [HAVE_SYSVIPC]:
5518 Make msgp->mtext longer if necessary.
5519 On HPUX, error if it's more than 512 chars.
5520
55211994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
5522
5523 * etags-vmslib.c: Use GPL.
5524 * emacstool.c: Use GPL.
5525 * fakemail.c: Update GPL.
5526
5527 * make-path.c (main): Return 1 on error, not -1.
5528 Update GPL.
5529
5530 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
5531 (xmalloc, xrealloc): Return char *, not int.
5532 (error): Write to stderr, not stdout.
5533 Update GPL.
5534
55351994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
5536
5537 * profile.c (main, get_time): Don't crash on invalid input.
5538
55391994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
5540
5541 * profile.c (get_time): Simplify; avoid calling index.
2f2c687b 5542 (main): Exit on EOF.
362bc2da 5543
880820fe 55441994-02-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5545
a64387ee 5546 * etags.c (--absolute-pathnames): Option removed.
362bc2da
DL
5547
55481994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5549
5550 * fakemail.c (put_line): Don't break the line if it all fits.
5551
880820fe 55521994-02-14 Francesco Potortì (pot@fly)
362bc2da 5553
2f2c687b
JB
5554 * etags.c (absolute_pathnames, cwd): Added global vars.
5555 (longopts, print_help, main, process_file): Put absolute filenames
362bc2da 5556 in the tag file if the -A --absolute-pathnames option is used.
10d1d0af 5557 (print_help): Alphabetically order the options.
2f2c687b 5558 (malloc, realloc, strcpy, strncpy, strcmp): Remove extern declar.
362bc2da
DL
5559
55601994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5561
5562 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
5563 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
5564
55651994-02-07 Christian Lynbech (lynbech@avignon)
5566
5567 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
5568
55691994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5570
5571 * Makefile.in (UTILITIES): Mention profile.
5572 (profile): New target.
5573
5574 * profile.c: New file.
5575
55761994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
c60ee5e7 5577
88c71720 5578 * make-docfile.c: Make the argument list output look more like the
c60ee5e7 5579 Lisp docstrings do.
88c71720 5580 (write_c_args): Take new arg FUNC. Make output
362bc2da
DL
5581 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
5582 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
5583
880820fe 55841994-01-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5585
5586 * etags.c (stab_entry, stab_create, stab_find, stab_search,
2f2c687b 5587 stab_type, add_keyword, C_reate_stab, C_create_stabs): Deleted.
362bc2da 5588 Use gperf generated hash table instead of linked list.
2f2c687b 5589 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Added.
362bc2da 5590 Mostly code generated by gperf.
2f2c687b
JB
5591 (consider_token): Removed unused parameter `lp'.
5592 (PF_funcs, getit): Allow subroutine and similar declarations
362bc2da 5593 to span multiple lines.
2f2c687b
JB
5594 (C_entries): Check for newline if inchar to avoid bus errors.
5595 (process_file, find_entries): Distinguish among nonexistent
362bc2da
DL
5596 and not regular file.
5597
55981994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5599
5600 * timer.c: Include errno.h; don't include fasync.h.
5601 (schedule): Don't return a value.
5602 (sigcatch): Reestablish the handler first.
5603 (getevent): Always call notify at the end.
5604 (notify): Defer alarms around the whole body of function.
5605
56061994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5607
5608 * timer.c (main): Don't request SIGIO, and don't handle it.
5609 Loop calling getevent.
5610 (sigcatch): Delete code to handle SIGIO.
5611 if defer_alarms is set, don't call notify, just set alarm_deferred.
1c478461 5612 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
5613 Set defer_alarms around realloc and schedule.
5614 If alarm_deferred gets set, call notify.
5615 Likewise if this event is the only pending event.
5616 Make buf and buf_size global variables.
5617 Don't malloc buf if it is already non-zero.
5618 (schedule): Just exit if run out of memory.
5619 Return the number of events.
5620 (signal) [_CX_UX]: Add #undef.
5621
56221994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5623
5624 * timer.c [USG] (SIGIO): Define as SIGPOLL.
5625 (main) [USG]: Do ioctl to enable SIGPOLL.
5626
56271994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5628
5629 * timer.c: Don't declare sys_errlist; declare strerror instead.
5630 (schedule, main): Call strerror instead of using sys_errlist.
5631 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
5632 Call strerror instead of using sys_errlist.
5633 * env.c (main): Call strerror instead of using sys_errlist.
5634 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
5635 (main): Call strerror instead of using sys_errlist.
5636 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
5637 * env.c [! HAVE_STRERROR] (strerror): Likewise.
5638 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
5639 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
5640
56411994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5642
5643 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
5644
5645 * movemail.c (malloc): Don't declare it.
5646 (xmalloc): Cast result of malloc.
5647 (strcpy): Don't declare it.
5648
56491993-11-14 Morten Welinder (terra@diku.dk)
5650
5651 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
5652 (main): Use fclose to close file opened by fopen.
5653
5654 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
5655
5656 * movemail.c [MSDOS]: #undef `access'.
5657
5658 * b2m.c (main) [MSDOS]: Open all files as binary.
5659 * etags.c (main) [MSDOS]: Open all files as binary.
5660
5661 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
5662 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
5663 with.
5664
56651994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5666
5667 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
5668 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
5669 (LINK_CFLAGS): New variable.
5670 (timer): Use LINK_CFLAGS.
5671
56721993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5673
5674 * movemail.c: Include syswait.h.
5675 Fork a subprocess and use it to copy the mail file.
5676
56771993-12-07 Richard Stallman (rms@srarc2)
5678
5679 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
5680
56811993-12-04 Richard Stallman (rms@srarc2)
5682
5683 * movemail.c (main): When making tempname, cast result of xmalloc.
5684 Include room for EXXXXXX in the size.
5685 Don't use result of strcpy.
5686
56871993-12-03 Paul Eggert (eggert@twinsun.com)
5688
5689 * vcdiff: Add --brief option.
5690
56911993-12-02 Richard Stallman (rms@srarc2)
5692
5693 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
5694 for all executables and scripts.
5695
56961993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5697
5698 * Version 19.22 released.
5699
57001993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5701
5702 * Makefile.in (mostlyclean): Make it distinct from clean.
5703
57041993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5705
5706 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
5707
57081993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5709
5710 * Version 19.21 released.
5711
5712 * Makefile.in (install): Don't change mode or group when installing.
5713
5714 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
5715
57161993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5717
5718 * make-docfile.c (read_c_string): For "", concatenate the two strings.
5719
5720 * movemail.c (main): Fix error message text.
5721
57221993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5723
5724 * Version 19.20 released.
5725
177c0ea7 57261993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
362bc2da 5727
ecc54057 5728 * etags.c (C_entries): Keep track of ()-parenthesis level so that
362bc2da
DL
5729 functions returning a pointer to a function, a la `signal', can be
5730 parsed. This also required new state `fstartlist' to `FUNCST'.
5731 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
2f2c687b 5732 (C_entries, CNL): Use it to isolate preprocessor directive processing
362bc2da 5733 from the other state engines.
2f2c687b 5734 (begtk): Add '~', for C++ class destructors.
362bc2da 5735
880820fe 57361993-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5737
2f2c687b
JB
5738 * etags.c (consider_token): Removed unused variable firsttok.
5739 (prolog_getit): Call pfnote with the right number of arguments.
362bc2da
DL
5740
57411993-10-19 Paul Eggert (eggert@twinsun.com)
5742
5743 * rcs2log (printlogline): Don't generate lines containing only
5744 white space.
5745
57461993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5747
5748 * Makefile.in (${archlibdir}):
5749 Install ${SCRIPTS} from ${srcdir}, not cwd.
5750
57511993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5752
5753 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
5754 the comment character.
5755
880820fe 57561993-10-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5757
2f2c687b 5758 * etags.c (process_file): Dead code removed.
362bc2da 5759 (S_ISREG): #define it using S_IFREG if not defined.
2f2c687b 5760 (process_file): Regular files have nothing to do with symlinks.
362bc2da 5761
f0131492 57621993-09-28 Brian J. Fox (bfox@ai.mit.edu)
362bc2da
DL
5763
5764 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
5765 from current directory. Only chmod and chgrp files that we
5766 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
5767 ${bindir}.
5768 (INSTALLFLAGS): Deleted definition, since it is an unused variable
5769 now.
5770
f0131492 57711993-09-27 Brian J. Fox (bfox@ai.mit.edu)
362bc2da
DL
5772
5773 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
5774 configure figure out the correct values for these variables.
5775
f0131492 57761993-09-14 Brian J. Fox (bfox@ai.mit.edu)
362bc2da 5777
10d1d0af 5778 * Makefile.in (archlibdir): Only install executables internally
362bc2da
DL
5779 used by emacs; don't install bindir binaries here.
5780
57811993-09-24 Paul Eggert (eggert@twinsun.com)
5782
5783 * rcs2log: Add -h, -n, -r options.
5784 By default, look for *,v files as well as RCS/*,v files.
5785 Use $TMPDIR (default /tmp) instead of /tmp.
5786
880820fe 57871993-09-20 Francesco Potortì (pot@fly)
362bc2da
DL
5788
5789 * etags.c (C_entries): is_func is initialised here instead of in
5790 consider_token for the sake of the yacc rules section.
5791 (C_entries): Now class, struct, enum, union and typedef produce
5792 named tags.
5793
57941993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
5795
5796 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
5797
57981993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5799
88c71720
KS
5800 * Makefile.in: Support configuring in a different directory when
5801 ${srcdir} has already been configured.
5802 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
5803 -I${srcdir}/../src.
362bc2da
DL
5804 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
5805 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
5806 is already in CPP_FLAGS.
5807 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
5808 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
5809
58101993-08-25 Paul Eggert (eggert@twinsun.com)
5811
5812 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
5813 otherwise, HP awk complains.
5814
5815 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
5816 are common hangouts for SCCS commands.
5817
58181993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5819
5820 * Version 19.19 released.
5821
58221993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5823
5824 * Makefile.in (make-path): Dep on config.h.
5825
58261993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5827
5828 * b2m.c (TRUE, FALSE): Don't define if already defined.
5829
58301993-08-09 Paul Eggert (eggert@twinsun.com)
5831
5832 * rcs2log (awkscript):
5833 Some sites put comma-separated junk after the fullname.
5834 Remove it, but leave "Bill Gates, Jr" alone.
5835 Remove the junk from fullnames like "0000-Admin(0000)".
5836
58371993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5838
5839 * Version 19.18 released.
5840
880820fe 58411993-08-04 Francesco Potortì (pot@spiff.gnu.ai.mit.edu)
362bc2da 5842
2f2c687b
JB
5843 * etags.c (L_isdef, L_isquote, L_getit): Small optimisations.
5844 (L_funcs): The (foo::defmumble stuff now should work.
5845 (consider_token): Function returned random value--corrected.
5846 (C_entries): Corrected == versus = typo.
362bc2da
DL
5847
58481993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5849
5850 * etags.c (put_entries): For NODE->rewritten, put pattern before
5851 \177 and name after, not vice versa.
5852
58531993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5854
5855 * timer.c (main): Generate a SIGIO as soon as we've initialized.
5856
880820fe 58571993-07-30 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5858
ecc54057 5859 * etags.c (FINCST): Added the fignore status. Means we are
362bc2da
DL
5860 after the parameter list and before the open curly brace.
5861 Allows correct parsing of C++ constructors.
2f2c687b
JB
5862 (C_entries, consider_token): Make use of fignore.
5863 (consider_token): Reset funcdef when next_token_is_func: when in
362bc2da 5864 ctags mode makes DEFVAR and others work better.
2f2c687b
JB
5865 (L_isquote): Function that recognises the "(quote" string.
5866 (L_getit): Ignore quoting via "'" or "(quote". Useful for defalias.
362bc2da
DL
5867
58681993-07-29 Paul Eggert (eggert@twinsun.com)
5869
5870 * rcs-checkin: Don't check whether a file is readable until we have
5871 decided not to ignore it.
5872
58731993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5874
5875 * Makefile.in (etags): Depend on ../src/config.h.
5876
5877 * emacsserver.c: Include types.h before file.h.
5878
58791993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5880
5881 * Makefile.in (install): Use .n, not .new, for temporary filenames.
5882
58831993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5884
ecc54057 5885 * Version 19.17 released.
362bc2da
DL
5886
58871993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5888
5889 * etags.c (print_help): Break up the very long strings containing
5890 the help message into shorter strings, to placate chintzy C
5891 compilers which can't handle strings that long.
5892
5893 * wakeup.c: Use CPP tangle from autoconf manual to #include the
5894 correct combination of <time.h> and <sys/time.h>.
5895
880820fe 58961993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5897
2f2c687b
JB
5898 * etags.c (alloca): Removed all references to it.
5899 (main): Now calls xnew instead of alloca for portability.
5900 (../src/config.h): Included only if HAVE_CONFIG_H.
5901 (const): Void definition removed--config.h takes care of it.
362bc2da 5902
880820fe 59031993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5904
2f2c687b 5905 * etags.c (consider_token): Was `==', now is `='.
362bc2da
DL
5906 (consider_token): DEFUNs now treated like funcs in ctags mode.
5907
2f2c687b
JB
5908 * etags.c (LEVEL_OK_FOR_FUNCDEF): Removed.
5909 (C_entries): Optimized the test that used LEVEL_OK_FOR_FUNCDEF.
5910 (C_entries): Removed a piece of useless code.
5911 (C_entries): Making typedef tags is delayed until a semicolon
362bc2da
DL
5912 is met. This handles "typedef int X, Y, Z;" correctly.
5913
59141993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5915
5916 * Version 19.16 released.
5917
5918 * b2m.c: #include <sys/types.h>.
5919 (ltoday): Declare this to be time_t.
5920
59211993-06-30 Paul Eggert (eggert@twinsun.com)
5922
5923 * vcdiff: Add -q option.
5924
59251993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5926
5927 * etags.c: #include "config.h" and the alloca CPP tangle before
5928 #including the system headers and getopt.h. AIX requires the
5929 #pragma to come before any actual C code.
5930
59311993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5932
5933 * Makefile.in (ctags): Depend on etags, so that parallel makes
5934 don't write etags.o files on top of each other.
5935
59361993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5937
5938 * version 19.15 released.
5939
59401993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5941
5942 * etags.c (add_node): Move var last_node to file scope.
5943
59441993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5945
5946 * Version 19.14 released.
5947
59481993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5949
ecc54057 5950 Bring mumbleclean targets into conformance with GNU coding standards.
362bc2da
DL
5951 * Makefile.in (distclean): Call clean to do most of the work.
5952 Delete aixcc.c and TAGS.
5953 (realclean): Just call distclean.
1c478461 5954
362bc2da
DL
5955 * Makefile.in: Remember, spaces are not tabs.
5956
59571993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5958
5959 * Makefile.in (CPP_CFLAGS): New variable.
5960 Use it instead of ALL_CFLAGS when compiling a .c file.
5961 (getopt.o, getopt1.o): Add explicit compilation commands.
5962
59631993-06-10 Mark D. Baushke (mdb@cisco.com)
5964
5965 * etags.c: Reinstate old -f option as an alias for -o for
5966 installed base uses.
5967
59681993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5969
5970 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
5971 to bind or accept, cast the pointer, to avoid warnings on systems
5972 which declare prototypes for this.
5973 * emacsclient.c (main): Same.
5974
5975 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
5976
59771993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5978
5979 * Version 19.13 released.
5980
5981 * wakeup.c: Include sys/types.h, too; I think that's where time_t
5982 comes from, not sys/time.h.
5983
59841993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5985
5986 * wakeup.c: Include sys/time.h.
5987
5988 * etags.c: #undef static.
5989
5990 * Version 19.12 released.
5991
5992 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
5993
59941993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5995
5996 * Version 19.11 released.
5997
5998 * timer.c [LINUX]: #undef signal.
5999 * emacsserver.c: #undef signal.
6000
60011993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6002
6003 * wakeup.c (main): Make when a time_t.
6004
60051993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6006
ecc54057 6007 * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
a64387ee 6008 `(cd foo ; pwd)' to get the canonical name of a directory; cd
362bc2da
DL
6009 might fail, and have pwd print out the current directory.
6010
6011 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
6012 string-handling functions.
6013
60141993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6015
6016 * Version 19.10 released.
6017
60181993-05-29 Paul Eggert (eggert@twinsun.com)
6019
6020 * rcs2log: When given no file arguments, inspect RCS/.* as well
6021 as RCS/*. Don't report an error if RCS is empty or nonexistent.
6022
60231993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6024
6025 * Makefile.in (timer): Link with $(LOADLIBES).
6026
60271993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6028
6029 * fakemail.c (put_line): Don't output \n\t unless more text follows.
6030
60311993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6032
6033 * etags.c: Replace the CPP tangle for alloca with the one from the
6034 autoconf documentation, since that's working elsewhere.
6035
60361993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6037
6038 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
6039 description files can find their ancestors.
6040
60411993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6042
6043 * Makefile.in (install): Get the scripts from ${srcdir},
6044 unlike the executables.
6088b51f 6045 (ALL_CFLAGS): Add -I../src.
362bc2da
DL
6046
60471993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6048
6049 * Version 19.9 released.
6050
60511993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6052
6053 * Makefile.in (install): Do install the programs listed in
6054 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
6055 INSTALLABLE_SCRIPTS, instead of writing the programs out.
6056
6057 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
6058 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
6059
60601993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6061
6062 * etags.c: Include ../src/config.h.
6063
6064 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
6065 in first loop. Delete files from bindir before installing new ones.
6066 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
6067
60681993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6069
6070 * Version 19.8 released.
6071
6072 * make-docfile.c: Doc fix.
6073
60741993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6075
6076 * tcp.c: Fix comment syntax at top of file.
6077 (main): Don't call htons with the port number.
6078
60791993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6080
6081 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
1c478461 6082 appropriate.
362bc2da
DL
6083
6084 * Makefile.in (install): Refer to the variables INSTALLABLES and
6085 INSTALLABLE_SCRIPTS, instead of writing them out.
6086
60871993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6088
6089 * make-path.c (main): Return 0.
6090
60911993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6092
ecc54057 6093 * Version 19.7 released.
362bc2da
DL
6094
60951993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6096
6097 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
6098
60991993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6100
6101 * tcp.c: New file.
6102
61031993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6104
6105 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
6106
61071993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6108
6109 * timer.c (notify): Don't call sighold or sigrelse; they're USG
6110 only. We should really fix this later, but let's just make it
6111 compile for now.
6112
6113 Install patches from David J. Mackenzie to make the srcdir option
6114 work.
6115 * Makefile.in (srcdir, VPATH): Get this value from the top-level
6116 Makefile.
6117 (INSTALLABLES): Split this into two lists - INSTALLABLES and
6118 INSTALLABLE_SCRIPTS.
6119 (INSTALLABLE_SCRIPTS): New list.
6120 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
6121 (${archlibdir}): The scripts to be installed live in the source
6122 tree, not in the object tree.
6123 (test-distrib): Note that the data file lives in the source tree,
6124 not the object tree.
6125 (GETOPTDEPS): Note that getopt.h lives in the source tree.
6126 (all other targets): Change references to source files to use
6127 ${srcdir}, except for config.h, which lives in the object dir.
6128 (timer.o): Note that this depends on ../src/config.h.
6129 * make-docfile.c (main): Add a -d option, to tell it where to find
6130 the source files.
6131 * test-distrib.c (main): Take the name of the distribution file to
6132 test from the command line.
6133
10d1d0af 6134 * timer.c: Fix misspellings of get_date function's name.
362bc2da
DL
6135
61361993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
6137
6138 * etags.c (main):
6139 Don't require that there be input files if -i switches were given.
6140
61411993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6142
6143 The GNU coding standards specify that CFLAGS should be left for
6144 users to set.
6145 * Makefile.in (CFLAGS): Put this in the "things configure might
6146 edit" section, and have it default to -g.
6147 (ALL_CFLAGS): New variable, set to all the flags which should be
6148 passed to compilations. Replace all other uses of CFLAGS with
6149 ALL_CFLAGS.
6150 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
6151
6152 * Makefile.in (DEFS): Remove this; it's always just going to be
6153 "-DHAVE_CONFIG_H -Demacs".
6154
61551993-05-03 Paul Eggert (eggert@twinsun.com)
6156
6157 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
6158 /[/]/, so change it to /[\/]/. This should work on all
6159 Posix-compliant awks. It's slightly wrong with traditional awk,
6160 since it matches \ too, but that's a minor problem compared to awk
6161 syntax errors.
6162
61631993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6164
6165 * Makefile.in (ALLOCA): New variable, whose value we should
6166 inherit from the top-level makefile.
6167 (etags, ctags): Include ALLOCA in the list of object files that
6168 these executables depend on and link.
6169
61701993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6171
6172 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
6173
61741993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
6175
6176 * make-docfile.c (write_c_args): Print an argument named "defalt"
6177 as "default".
6178
61791993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6180
6181 * Makefile.in (C_SWITCH_SYSTEM): New variable.
6182 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
6183 compiler.
6184
880820fe 61851993-03-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6186
2f2c687b
JB
6187 * etags.c (YACC): Flag added to c_ext.
6188 (c_ext): No more a synonim for c_ext&C_PLPL because of YACC.
6189 (find_entries): Consistently use streq when reasonable.
6190 (find_entries): A .y file is a yacc file.
362bc2da 6191 (get_C_stab): c_ext becomes c_ext&C_PLPL.
2f2c687b
JB
6192 (C_entries): Logical cplpl means c_ext&C_PLPL.
6193 (C_entries): Logical yacc_rules means we are after the first %%.
6194 (C_entries): Added logic for yacc files.
362bc2da 6195
880820fe 61961993-03-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6197
6198 * etags.c (C_entries): ':' case moved to the second switch.
2f2c687b 6199 (C_entries): Do not examine token if structdef==scolonseen.
362bc2da
DL
6200 (consider_token): structtag set to null string for enum.
6201
880820fe 62021993-03-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6203
2f2c687b
JB
6204 * etags.c (GET_COOKIE): And related macros removed.
6205 (logical): Is now int, no more a char.
6206 (reg): Define deleted.
6207 (isgood, _gd, notgd): Deleted.
6208 (gotone): Deleted.
6209 (TOKEN): Member linestart removed.
6210 (linepos, prev_linepos, lb1): Deleted.
6211 (main): Call initbuffer on lbs array instead of lb1.
6212 (init): Removed the initialisation of the logical _gd array;
6213 (find_entries): A .sa suffix means assembler file.
362bc2da
DL
6214 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
6215 All C state machines rewritten.
2f2c687b
JB
6216 (C_entries): Complete rewrite.
6217 (condider_token): Complete rewrite.
6218 (getline): Deleted.
362bc2da 6219
880820fe 62201993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
6221
6222 * etags.c (C_entries): Added the quotednl logical variable.
6223 Used for parsing of #define's spanning multiple lines.
6224
880820fe 62251993-02-23 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
6226
6227 * etags.c (C_entries): Save the definedef status even when a
6228 newline is met inside a string.
6229
62301993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
6231
2f2c687b 6232 * Makefile.in (EXECUTABLES): Added rcs-checkin.
362bc2da
DL
6233
6234 * Makefile.in (unlock, relock): New productions.
6235
62361993-03-16 Paul Eggert (eggert@twinsun.com)
6237
6238 * rcs2log: Some awks don't understand "\r". Code around this.
6239 Unfortunately this requires putting a carriage return in the
6240 source code. Don't assume that rlog will tolerate times like
6241 `10:10:60'; RCS 5.7 won't allow this.
6242
62431993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6244
6245 * timer.c (main): Set the ownership of the stdin file descriptor
6246 to the current process. Print error messages if either of the
6247 fcntl's fails.
6248
6249 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
6250 ../src/config.h), not void.
6251
62521993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6253
6254 * b2m.c (main): Don't exit upon reading a blank line.
6255
880820fe 62561993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
6257
6258 * etags.c (C_entries): New local variable quotednl. Used for
6259 parsing of #define's spanning multiple lines.
6260
6261 * etags.c (C_entries): Save the definedef status
6262 even when a newline is met inside a string.
6263
62641993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6265
6266 * timer.c (notify): Initialize waitfor properly.
6267
880820fe 62681993-02-22 Francesco Potortì (pot@CNUCE.CNR.IT)
362bc2da
DL
6269
6270 * etags.c (C_entries): Don't reset definedef when a newline inside a
6271 comment is met.
6272
62731993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6274
6275 * etags.c (find_entries): If filename ends in .f or .for,
6276 don't try anything but Fortran.
6277
62781993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
6279
6280 * timer.c (notify): Flush stdout after writing message to avoid lossage
6281 on terminals.
6282
6283 (notify): Also, write a newline after the token.
6284
62851992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6286
6287 * Makefile.in (exec_prefix): New variable.
6288 (bindir, libdir): Use it instead of `prefix'.
6289
6290 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
6291
6292 * Makefile.in (libdir): Default to ${prefix}/lib.
6293 (archlibdir): Adjusted to match.
6294
6295 * Makefile.in (distclean): Don't delete backup or autosave files.
6296 (extraclean): Like realclean, but does delete backup and autosave
6297 files.
6298
6299 * Makefile.in (realclean): Ignore errors from rm.
6300
6301 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
6302 that doesn't exist anymore.
6303
63041992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6305
6306 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
6307 described in the top-level Makefile.
6308 (UTILITIES): Add make-path to the list of utility programs.
6309 (../arch-lib): Replaced by the ${archlibdir} target, which places
6310 the executables in their permanent home.
6311 (install, install.sysv, install.xenix): Consolidated into one
6312 target which should work under all circumstances, modulo a few
6313 ignored error messages.
6314
6315 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
6316 a different number of arguments than other DEFVARs, recognize it
6317 specially, and expect the right number of commas.
6318
63191992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6320
6321 * make-path.c: New program, to help with the installation process.
6322 * Makefile.in (make-path): New target.
6323
6324 * make-path.c (touchy_mkdir): Remove debugging output.
6325
63261992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6327
6328 * Makefile.in (getdate.o): Added explicit target for this, so we
6329 can indicate that it depends on ../src/config.h.
6330
63311992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6332
6333 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
6334 instead of CFLAGS.
6335 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
6336
63371992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6338
6339 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
6340 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
6341 that system.
6342
6343 * Makefile.in (arch-lib): Give rm the `-f' option.
6344
63451992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6346
6347 * make-docfile.c (write_c_args): Rewritten to correctly print
6348 &optionals before the first identifier, but after the first paren.
6349 This code used to just wait for commas or spaces; now it notices
6350 identifier boundaries.
6351
63521992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6353
6354 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
6355
63561992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6357
6358 * make-docfile.c (write_c_args): Print the argument lists properly
6359 when the first argument is optional.
6360
63611992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6362
6363 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
6364 Redefine @item. Set catcode of +.
6365
63661992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6367
6368 * emacsclient.c (main): Set IPC_CREAT in msgget call.
6369
63701992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6371
6372 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
6373 (TEX_decode_env): Make `tab' one element longer.
6374
63751992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6376
6377 * etags.c (PF_funcs): Recognize the "entry" keyword.
6378
63791992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6380
6381 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
6382
63831992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6384
6385 * timer.c (events): Rather than having slots marked as in use or
6386 out of use by the `token' field, keep all pending events at the
6387 beginning of the array. When we delete an event in the middle of
6388 the array, we move the last event into its place.
6389 (num_events): New variable.
6390 (schedule): It is now cheaper to find a free event slot;
6391 events[num_events] is the first free slot.
6392 (notify): Scan events[0 .. num_events-1], instead of the whole
6393 array. When an event fires, move the last event in the array into
6394 its spot. Use num_events to determine whether or not there are
6395 any pending events, not wait_for.
6396 (getevent): Deleted unused variable `ep'.
6397 (sigcatch): It's now easier to find all the active events.
6398 (main): Initialize num_events.
6399
6400 * etags.c: Rather than fret about which systems have index and
6401 which systems have strchr, and how to tell the difference between
6402 them, we just write out our own versions. Big deal.
6403 (index, rindex): Extern declarations removed.
6404 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
6405 (etags_index, etags_rindex): New declarations.
6406 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
6407 TEX_getit, substr): Use the etags_*index functions, rather than
6408 the native *index functions.
6409 (rindex, index): Renamed to etags_rindex and tags_rindex, and
6410 made them unconditionally defined, rather than having them depend
6411 on NEED_*INDEX.
6412
6413 * etags.c (savenstr): Add declaration for this at top of file.
6414 (TEX_decode_env): Don't declare it local to this function.
6415
6416 * b2m.c: #include "../src/config.h", so we can test for the USG
6417 macro, and decide whether to include <string.h> or <strings.h>.
6418 * Makefile.in: Note that b2m.c depends on ../src/config.h.
6419
64201992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6421
6422 * timer.c: Reformatted according to the GNU coding standards.
6423 Removed arbitrary limits on the number of events queued and the
6424 length of the tokens used to identify them.
6425 Removed casts to (void).
6426 Removed debugging printfs; they clutter the code, and the need
6427 can be better filled using a real debugger.
6428
64291992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6430
6431 * timer.c: Installed new version from Eric Raymond; this is more
6432 portable, since it doesn't try to use SIGIO.
6433
64341992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6435
6436 * emacsclient.c (main): If we can't find the socket in this
6437 person's home directory, print a message which asks if they've
6438 started the server, instead of just printing the message from
6439 sys_errmsg; Cygnus finds that people are much less confused by
6440 this.
6441
64421992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6443
6444 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
6445 so that index and rindex get defined, why don't we actually
6446 control index and rindex using symbols called "NEED_INDEX" and
6447 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
6448 little more readable than defining something whose name implies
6449 that it's not?
6450
64511992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6452
6453 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
6454 distribution:
6455 Miscellaneous doc fixes.
1c478461 6456 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
6457 (scan_lisp_file): Instead of using long hairy strings of ifs, call
6458 read_lisp_symbol and then see what we got. Call skip_white
6459 instead of writing out a loop to do its job. Correctly extract
6460 docstrings from "defmacro" declarations.
6461
64621992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6463
6464 * movemail.c (strcpy): Declare this to return char *.
6465
64661992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6467
6468 * etags.c (C_entries): When we find a C++ comment, do actually
6469 skip to the end of the line; do a 'break' instead of a 'continue'.
6470
64711992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6472
6473 * etags.c (getit): Add missing parenthesis to expression which
6474 decides if this token is an identifier.
6475
64761992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
6477
6478 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
6479
64801992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6481
6482 * etags.c (put_entries): Always put space between name and line num.
6483
64841992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
6485
6486 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
6487 warning.
6488 (LEVEL_OK_FOR_FUNCDEF): Ditto.
6489
64901992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6491
6492 * make-docfile.c (write_c_args): Pass both arguments to putc.
6493
64941992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
6495
6496 * etags.c (C_entries): Fixed reading of "..." strings.
6497 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
6498 the C library source.
6499
6500 * etags.c (C_entries): When we see a backslash inside a quoted
6501 string, skip to the next character. This allows us to correctly
6502 deal with strings containing quotes.
6503
65041992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6505
6506 * make-docfile.c (write_c_args): Print the C argument names as
6507 they would be written in Elisp; print '_' as '-'.
6508
65091992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6510
6511 * movemail.c [POP]: Get user name via getpwuid.
6512
65131992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6514
2f2c687b 6515 * Makefile.in: Flags in CC invocations rearranged for no reason.
362bc2da
DL
6516
65171992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6518
10d1d0af 6519 * etags.c (print_help): Remember not to embed raw newlines in
362bc2da
DL
6520 strings - end the lines with `\n\'.
6521
65221992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6523
6524 * timer.c (getevent): Removed declaration of memcpy; since
6525 different systems have different return types, and we're not even
6526 using the return type anyway, it wasn't doing us any good.
6527
65281992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6529
6530 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
6531 type of this function.
6532
65331992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6534
6535 * ChangeLog: Since the old etc contents have been split into etc
6536 and lib-src, the old etc's ChangeLog has been duplicated in the
6537 new etc and lib-src. That means that each contains complete and
6538 coherent information, although each contains extraneous
1c478461 6539 information.
362bc2da
DL
6540
65411992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6542
290afd83 6543 * etags.c: "--no-warning" option renamed to "--no-warn",
362bc2da
DL
6544 to be consistent with other GNU programs, like makeinfo.
6545
290afd83 6546 * Makefile: Renamed to Makefile.in; the configure script
362bc2da
DL
6547 will edit this to produce Makefile.
6548
65491992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6550
6551 * etags.c (print_help, print_version): New functions.
6552 (main): Options added to support them.
6553
6554 * etags.c (longopts): New array of long names for the options.
6555 (main): Recognize them.
6556
65571992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6558
6559 * etags.c (C_entries): Removed comment saying that \" in a string
6560 isn't recognized as magic, because it is correctly handled.
6561
6562 * getopt.c, getopt.h: New files, from GNU C library.
6563 * etags.c: Rewritten to use getopt.
6564 #include "getopt.h".
6565 (file_num): Variable deleted; its role is now played by getopt's
6566 optind.
6567 (main): Argument processing loop rewritten to call getopt to get
6568 next option. Options which take parameters (-o and -i) rewritten
6569 to get parameter from optarg instead of argv[1]. Filename
6570 preprocessing loop and update command changed similarly.
6571 * Makefile (etags, ctags): Depend on and link with getopt.h,
6572 getopt.o, and getopt1.o.
6573 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
6574
6575 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
6576 is non-zero.
6577
6578 (main): In the argument processing loop, the 'goto next_arg'
6579 statements are breaking out of the switch statement in exactly the
6580 same way that a simple 'break' statement would; replace the gotos
6581 with breaks, and remove the label.
6582
65831992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6584
6585 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
6586 (consider_token): Move next_token_is_func to global.
6587
65881992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6589
6590 * Makefile: Conform with GNU coding standards:
6591 (mostlyclean): New target, synonymous with clean.
6592 (TAGS, check): New targets.
6593 (INSTALL, INSTALLFLAGS): New variables.
6594
65951992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6596
ecc54057 6597 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
362bc2da
DL
6598 `config.emacs' to `configure'.
6599
6600 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
6601 * etc/MACHINES: Same.
6602
66031992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6604
6605 * movemail.c (main): Allow tempname to be as long as necessary,
6606 instead of limiting it to 39 characters.
6607
6608 * movemail.c (main): Move declaration of buf from top of function
6609 to local block surrounding the copy loop. This makes it less
6610 likely to be confused with the buf used by the code which checks the
6611 permissions on outname's directory.
6612
66131992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
6614
6615 * SERVICE: Remove my entry.
6616
66171992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
6618
6619 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
6620 hardcoded -g.
6621
6622 * movemail.c (xmalloc): Return char *, not int.
6623 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
6624 that is off by default -- normally don't unlink the mail spool
6625 file, just empty it. Pass creat mode 0600, not 0666.
6626
dff28924 66271992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
6628
6629 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
6630 (all): Instead of here.
6631 (install): Don't use the -s option, since people need symbols to
6632 debug code.
6633
dff28924 66341992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
362bc2da
DL
6635
6636 * etags-vmslib.c (fn_exp): Add type cast.
6637
66381992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6639
6640 * movemail.c: Changes in comments.
6641
dff28924 66421992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
6643
6644 * Makefile: Make the distclean target erase the DOC files from
6645 ../share-lib and the executables from ../arch-lib.
6646
dff28924 66471992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
6648
6649 * emacsclient.c: #include <sys/stat.h>
6650 (main): Do declare statbfr.
6651
dff28924 66521991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6653
6654 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
6655 for the socket, depending on SERVER_HOME_DIR.
6656 If using /tmp, put host name in the socket name.
6657
6658 * movemail.c (pfatal_and_delete): New function.
6659 (main, popmail): Use it.
6660 (popmail): Close output before deleting messages.
6661 Check for error on close and on fsync.
6662 Use `fatal' where appropriate.
6663 (main): Remove (void).
6664
6665 * aixcc.lex: New file. Not officially part of Emacs.
6666 * Makefile: Rules for that.
6667
dff28924 66681991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
362bc2da
DL
6669
6670 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
6671
6672 * etags.c (main): Properly cast call to alloca that initializes
6673 included_files.
6674
66751991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
6676
6677 * etags.c (files_are_tag_tables): Remove global var.
6678 (process_file): Don't test it. Also remove hack checking for a
6679 file named "TAGS".
6680 (main): -i now takes an arg which is the name of a file to include.
6681 Collect these names and emit include tags for them after processing
6682 all the argument files.
6683
dff28924 66841991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6685
6686 * wakeup.c: Terminate if parent goes away.
6687
dff28924 66881991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6689
6690 * etags.c (C_entries): Process token before handling end of line.
6691 When inner loops reach end of line, just back up.
6692 Let the real end of line processing happen in just one place.
a64387ee 6693 (consider_token): Likewise.
362bc2da 6694
dff28924 66951991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
362bc2da
DL
6696
6697 * etags.c (TEX_mode): Skip comments while scanning the text to see
6698 which escape character this file uses.
6699
dff28924 67001991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6701
6702 * emacsserver.c [USG]: Terminate if msgrcv fails.
6703
dff28924 67041991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6705
6706 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
6707
dff28924 67081991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
6709
6710 * make-docfile: Find the arguments to a C function correctly,
6711 by not ignoring the character that read_c_string returns. Don't
6712 even try to find argument names for functions that take MANY
6713 or UNEVALLED arguments, since they're a figment of the docstring's
6714 imagination.
6715
dff28924 67161991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
6717
6718 * make-docfile: Read the .elc files generated by the new byte
6719 compiler.
6720
dff28924 67211990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6722
6723 * refcard.tex: Use cm fonts, not am, in multi-column mode.
6724
dff28924 67251990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6726
6727 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
6728
dff28924 67291990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6730
6731 * Makefile (install*): No need to install wakeup.
6732
dff28924 67331990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6734
6735 * Makefile (install*): Install emacsclient like etags.
6736
dff28924 67371990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6738
6739 * movemail.c (error): Handle 3 args.
6740 (main): Don't check input access if using pop.
6741
dff28924 67421990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6743
6744 * etags.c (find_entries): Check for numbers after Scheme suffix.
6745
dff28924 67461990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6747
6748 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
6749
dff28924 67501990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6751
6752 * Makefile (nemacstool, xvetool): New targets.
6753
dff28924 67541990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6755
6756 * emacsclient.c: Include errno.h and define related variables.
6757
dff28924 67581990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6759
6760 * emacsclient.c: Change usage message.
6761
dff28924 67621990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da 6763
ecc54057 6764 * emacs.1: Add break before -nw option.
362bc2da 6765
dff28924 67661990-08-19 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
6767
6768 * qsort.c: Replace with GNU version.
6769
dff28924 67701990-08-14 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
6771
6772 * wakeup.c: New program replacing loadst.c.
6773
dff28924 67741990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6775
6776 * emacsclient.c [USG]: Pass msgsnd only 4 args.
6777
dff28924 67781990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
362bc2da
DL
6779
6780 * etags.c: Rename `flag' variables for what they do instead of
6781 which option character sets them.
6782
dff28924 67831990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6784
6785 * loadst.c (main): Conditional to get load average on Apollo.
6786
dff28924 67871990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da
DL
6788
6789 * emacsserver.c: Set the permission on the socket to 0600.
6790
dff28924 67911990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6792
6793 * emacsclient.c [BSD]: Print clean message for failing getwd.
6794
dff28924 67951990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
6796
6797 * getdate.y: Use the getdate.y from GNU tar for timer.
6798
dff28924 67991990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
362bc2da
DL
6800
6801 * emacsclient.c (main): Don't put brackets around "filename" in
6802 usage message. It isn't optional.
6803
dff28924 68041990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da 6805
a64387ee 6806 * etags.c (getit): Recognize '$' as beginning identifiers.
362bc2da 6807
dff28924 68081990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
6809
6810 * emacsserver.c: Renamed from server.c.
6811 * Makefile: Reference emacsserver rather than server.
6812 * MACHINES: Doc fix for new emacsserver name.
6813
dff28924 68141990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6815
6816 * emacsclient.c: Print program name in error messages.
6817
dff28924 68181990-01-19 David Lawrence (tale@cocoa-puffs)
362bc2da
DL
6819
6820 * timer.c, getdate.y (new files) and Makefile:
194d44e7
JB
6821 Sub-process support for run-at-time in timer.el.
6822 Doesn't yet work correctly for USG.
362bc2da 6823
dff28924 68241990-01-10 Jim Kingdon (kingdon@pogo)
362bc2da
DL
6825
6826 * MACHINES: Add HP 300 running BSD.
6827
dff28924 68281990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6829
6830 * yow.c: Dynamically allocate buffer; skip header before random
6831 choice to avoid bias toward first item.
6832
dff28924 68331989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6834
6835 * etags.c (readline): Separate out init of `pend'.
6836
dff28924 68371989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6838
6839 * etags.c: Undo changes relating to isgoodhdr.
6840
dff28924 68411989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6842
6843 * etags.c (isgoodhdr): New macro.
6844 (_gdh, notgdh): New variable used by that.
6845 (init): Initialize _gdh.
6846 (find_entries): Set header_file.
6847 (consider_token): Use isgoodhdr if in header file.
6848
6849 * etags.c (total_size_of_entries):
6850 Was miscalculating by 1 in rewritten case.
6851
6852 * etags.c (PAS_funcs): One arg to pfnote was missing.
6853
dff28924 68541989-12-05 Joseph Arceneaux (jla@spiff)
362bc2da
DL
6855
6856 * MACHINES: Change for the ULTRIX entry.
6857
dff28924 68581989-11-21 Joseph Arceneaux (jla@spiff)
362bc2da
DL
6859
6860 * etags.c (process_file): If file is not regular, return.
6861
dff28924 68621989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6863
6864 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
6865
dff28924 68661989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6867
6868 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
6869 (main): If HAVE_GETLOADAVG, don't call `nlist'.
6870
dff28924 68711989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6872
6873 * etags.c (consider_token): Allow any number of typespec keywords
6874 after `typedef', before new type name.
6875 (enum sym_type): Add st_C_typespec.
6876 (C_create_stab): Put typespec kwds in table.
6877
dff28924 68781989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6879
6880 * etags.c (main): Don't depend on name invoked by.
6881 If CTAGS is not defined, assume it is ETAGS.
6882
dff28924 68831989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6884
6885 * etags.c (L_funcs): Allow package name in define construct,
6886 as in (foo::defmumble name-defined ...).
6887
dff28924 68881989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6889
6890 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
6891
6892 * Makefile (yow): Depends on ../src/paths.h.
6893
dff28924 68941989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6895
6896 * etags.c: Fix compilation by moving Pascal after Fortran.
6897
dff28924 68981989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6899
6900 * movemail.c [USG]: Define F_OK, etc., if not found in header.
6901
dff28924 69021989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6903
6904 * hexl.c: New file, supports hexl-mode.
6905
dff28924 69061989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6907
6908 * movemail.c: New compilation flag MAIL_USE_MMDF.
6909
dff28924 69101989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6911
6912 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
6913 * server.c: Likewise.
6914
6915 * make-docfile.c (scan_c_file): Output argument names at end of string.
6916 (write_c_args): New subroutine.
6917
dff28924 69181989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6919
6920 * movemail.c: Report failure of flock.
6921
dff28924 69221989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6923
6924 * etags.c (find_entries): Allow multi-letter extensions for fortran.
6925
dff28924 69261989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da 6927
2f2c687b 6928 * loadst.c: On bsd4.3, use gettimeofday instead of CPUSTATES.
362bc2da 6929
dff28924 69301989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6931
6932 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
6933
30a7ee9f 6934 * emacstool.1: Update to document environment variables.
362bc2da 6935
dff28924 69361989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6937
6938 * etags.c (PAS_funcs): New function by Mosur Mohan.
6939
6940 * movemail.c: On sysv, include unistd.h.
6941
dff28924 69421989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6943
6944 * b2m.c: New file.
6945
dff28924 69461989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da 6947
6088b51f 6948 * etags.c: Prolog support from Sunichirou Sugou.
362bc2da 6949
dff28924 69501989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6951
6952 * Makefile (clean): New target.
6953
dff28924 69541989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6955
6956 * fakemail.c (put_line): Break header lines at 79 cols.
6957
dff28924 69581989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6959
6960 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
6961 multiple tags per line.
6962
dff28924 69631989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6964
6965 * movemail.c: Check access before doing real work.
6966 Check that outfile is in a writable directory.
6967 On fatal error, delete the lock file.
6968
dff28924 69691988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
362bc2da 6970
ecc54057 6971 * env.c: Add decl for my-index
6088b51f 6972 * etags.c (file-entries): .oak => scheme.
362bc2da 6973
dff28924 69741988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6975
6976 * movemail.c: Use `access' to check input and output files.
6977
dff28924 69781988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6979
6980 * emacsclient.c (main): Ignore all of CWD before first slash.
6981
dff28924 69821988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6983
6984 * etags.c (readline): Double linebuffer->size outside the xrealloc.
6985
dff28924 69861988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6987
6988 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
6989 * server.c: chmod the socket to 0700.
6990
dff28924 69911988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6992
6993 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
6994 (add_field): Delete comments and turn `<', `>' to spaces
6995 in header lines.
6996 (USE_FAKEMAIL): New customization macro says to make fakemail
6997 not be a no-op even on a BSD system.
6998
dff28924 69991988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7000
7001 * etags.c (consider_token): Skip comments just like whitespace.
7002 Notice `struct', etc. and set strtag for those tokens.
7003 Return 1 for the token following `struct' if an open-brace follows it.
7004 (C_entries): Special handling of token following `struct'
7005 needed because we have probably advanced to the following line
7006 to find the `{'.
7007 (main): New option `T' sets tflag and strflag.
7008 Set both of them by default if eflags.
7009
dff28924 70101988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7011
7012 * movemail.c: Do fsync before closing output.
7013
dff28924 70141988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
362bc2da 7015
ecc54057
JB
7016 * movemail.c: Better error message when can't create tempname.
7017 This file needs a great deal of extra error-checking and lucid reporting...
362bc2da 7018
dff28924 70191988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7020
7021 * etags.c: Support assembler code for .s and .a files.
7022 (getit): Allow underscore in a tag.
7023
dff28924 70241988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7025
7026 * movemail.c: Close output and check errors before deleting input.
7027
dff28924 70281988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
7029
7030 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
7031 whether to prefix it. Handle line number args.
7032
dff28924 70331988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
362bc2da 7034
2f2c687b 7035 * etags.c (main): Default setting of eflag was backwards.
362bc2da 7036
dff28924 70371988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7038
7039 * etags.c: New option -i. -f renamed -o.
7040 `-' as input file means read input file names from stdin.
7041 -i spec'd or input file named TAGS means the input file is another
7042 tag table; output an "include" line for it.
7043
dff28924 70441988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7045
7046 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
7047 New targets install, install.sysv, install.xenix.
7048 This makefile is now responsible for installing executables
7049 and documentation from this directory into system directories.
7050
dff28924 70511988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
362bc2da
DL
7052
7053 * server.c, emacsclient.c (main): Compute socket name from euid.
7054
dff28924 70551988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7056
7057 * emacsclient.c: Args like +DIGITS are passed through unchanged.
7058
dff28924 70591988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7060
7061 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
7062 * emacsclient.c: Likewise.
7063 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
7064
dff28924 70651988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7066
7067 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
07655e62 7068 (istoken): New string-comparison macro.
362bc2da
DL
7069 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
7070
dff28924 70711988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7072
7073 * etags.c: Changes for VMS.
7074 Always define ETAGS on VMS.
7075 Define macros GOOD and BAD for success and failure exit codes.
7076 (begtk, intk): Allow `$' in identifiers
7077 (main): Don't support -B, -F or -u on VMS.
7078 Alternate loop for scanning filename arguments.
7079 (system): Delete definition of this function.
7080
7081 * etags-vmslib.c (system): Undefine this; VMS now provides it.
7082
dff28924 70831988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7084
7085 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
7086 around include of param.h. (Like fns.c.)
7087
dff28924 70881988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
7089
7090 * loadst.c (load_average): Move load-average code to this new fn.
7091 Add conditionals to compute load ave on UMAX.
7092
dff28924 70931988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
7094
7095 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
7096 with opposite sense.
7097
dff28924 70981988-05-13 Chris Hanson (cph@kleph)
362bc2da
DL
7099
7100 * emacsclient.c: Delete references to unused variable `out'. This
7101 caused a bus error when used under hp-ux.
7102
dff28924 71031988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
7104
7105 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
7106
dff28924 71071988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
362bc2da
DL
7108
7109 * etags.c (find_entries): `.t' or `.sch' means scheme code.
7110
dff28924 71111988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
7112
7113 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
7114
dff28924 71151988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
7116
7117 * movemail.c: #undef close, since config can #define it on V.3.
2f2c687b 7118 * emacsclient.c, fakemail.c, loadst.c, server.c: Likewise.
362bc2da 7119
dff28924 71201988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
7121
7122 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
7123 invalid escape sequences such as `\{'.
7124
7125 * loadst.c: Add `sequent' conditional for file dk.h.
7126
dff28924 71271988-03-20 Richard M. Stallman (rms@wilson)
362bc2da 7128
2f2c687b 7129 * server.c [not BSD and not HAVE_SYSVIPC]: Fix error message.
362bc2da 7130
2f2c687b 7131 * loadst.c (main) [XENIX]: Use /usr/spool/mail, not /usr/mail.
6922b018
KH
7132
7133;; Local Variables:
880820fe 7134;; coding: utf-8
33462dfa 7135;; add-log-time-zone-rule: t
6922b018 7136;; End:
2a34a036 7137
9766d41b 7138 Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
294981c7 7139 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2006,
114f9c96 7140 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
5b87ad55
GM
7141
7142 This file is part of GNU Emacs.
7143
294981c7 7144 GNU Emacs is free software: you can redistribute it and/or modify
5b87ad55 7145 it under the terms of the GNU General Public License as published by
294981c7
GM
7146 the Free Software Foundation, either version 3 of the License, or
7147 (at your option) any later version.
5b87ad55
GM
7148
7149 GNU Emacs is distributed in the hope that it will be useful,
7150 but WITHOUT ANY WARRANTY; without even the implied warranty of
7151 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7152 GNU General Public License for more details.
7153
7154 You should have received a copy of the GNU General Public License
294981c7 7155 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
ab5796a9
MB
7156
7157;;; arch-tag: 2d979296-954c-448e-95c1-b46d134513dc