Close bug#3992.
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
b336bfcd
GM
12010-10-01 Glenn Morris <rgm@gnu.org>
2
3 * emacsclient.c (set_local_socket) [DARWIN_OS]: Try as a fall-back
4 DARWIN_USER_TEMP_DIR. (Bug#3992)
5
61a808e8
CY
62010-05-07 Chong Yidong <cyd@stupidchicken.com>
7
8 * Version 23.2 released.
9
bab1431e
CY
102010-05-05 Christoph <cschol2112@googlemail.com> (tiny change)
11
12 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Use parenthesis
13 for macros for nmake compatibility.
14
6f5b0654
JB
152010-04-03 Juanma Barranquero <lekktu@gmail.com>
16
17 Add stubs for Windows, required after CVE-2010-0825 change.
18 * ntlib.c (getgid, getegid, setegid): New stubs.
19 * ntlib.h (getgid, getegid, setegid): Declare them.
20
c8f19d81
CY
212010-04-02 Dan Rosenberg <dan.j.rosenberg@gmail.com> (tiny change)
22
23 * movemail.c (main): Check return values of setuid. Avoid
24 possibility of symlink attack when movemail is setgid mail
25 (CVE-2010-0825).
26
8eae7a42
CY
272010-03-19 Tetsurou Okazaki <okazaki@be.to> (tiny change)
28
29 * Makefile.in (uninstall): Handle the case where archlibdir does
30 not exist. (Bug#5720)
31
f9b84f9f
CY
322010-02-20 Kevin Ryde <user42@zip.com.au>
33
34 * etags.c (Scheme_functions): Don't loop past a null character
35 (Bug#5601).
36
c14902e0 372010-01-29 Kester Habermann <kester@linuxtag.org> (tiny change)
9d77a91f
CY
38
39 * etags.c (Fortran_functions): Handle recursive keyword
40 (Bug#5484).
41
6589a2f9
GM
422010-01-11 Glenn Morris <rgm@gnu.org>
43
44 * ebrowse.c (version):
45 * etags.c (print_version):
46 * rcs2log (Copyright): Set copyright year to 2010.
47
03dcfe01
CY
482009-12-09 David Robinow <drobinow@gmail.com> (tiny change)
49
50 * makefile.w32-in: Use parenthesis for macros for nmake
51 compatibility.
52
5ce6e4f4 532009-11-23 Tobias Ringström <tobias@ringis.se> (tiny change)
46f3381a 54
f7e0618c 55 * etags.c (absolute_filename): Use memmove if we have it for
46f3381a
JD
56 overlapping copy.
57
f6195dfb
DN
582009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
59
60 * make-docfile.c (scan_lisp_file): Also look for `defvaralias'.
61
b53f6df2
JB
622009-10-15 Juanma Barranquero <lekktu@gmail.com>
63
64 * .gitignore: Add echolisp.tmp.
65
9fc3db2b
GM
662009-10-15 Glenn Morris <rgm@gnu.org>
67
5f54cae6
GM
68 * emacsclient.c (print_help_and_exit): Fix bug report instructions.
69
9fc3db2b
GM
70 * makefile.w32-in (echolisp): New rule.
71 (clean): Delete echolisp.tmp.
72
614bd9cf
EZ
732009-09-27 Eli Zaretskii <eliz@gnu.org>
74
75 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Add term/internal.elc,
76 term/pc-win.elc, emacs-lisp/easymenu.elc, and term/ns-win.elc, to
77 be consistent with src/Makefile.in.
78
24e9e996
SM
792009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
80
81 * update-game-score.c (main): Sort scores before trimming them,
82 reported by Jason Feng <jfeng@ozbert.com> (bug#4397).
83
c5a139ca
GM
842009-09-09 Glenn Morris <rgm@gnu.org>
85
86 * Makefile.in ($(DESTDIR)${archlibdir}): Set umask to world-readable
87 before creating directories and game score files.
88
a8a8ec61
GM
892009-08-19 Glenn Morris <rgm@gnu.org>
90
0916a29e 91 * cvtmail.c: Remove file.
a8a8ec61
GM
92 * Makefile.in (UTILITIES): Remove cvtmail.
93 (cvtmail${EXEEXT}): Remove.
94
678bc1f5
CY
952009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
96
97 * b2m.c (main): Ensure that each message ends in two newlines.
98
0a3472c7
JR
992009-07-03 Jason Rumney <jasonr@gnu.org>
100
101 * emacsclient.c (w32_set_user_model_id): Use standard types.
102
f2d6b714
EZ
1032009-07-03 Eli Zaretskii <eliz@gnu.org>
104
105 * makefile.w32-in (WINNT_SUPPORT): Add common-win.elc, like
106 src/Makefile.in did.
107
ff90fbde
JR
1082009-06-30 Jason Rumney <jasonr@gnu.org>
109
110 * emacsclient.c (w32_give_focus): Use GetModuleHandle for library
111 that is already loaded.
112 (w32_set_user_model_id): New function.
113 (main): Use it to associate emacsclient with emacs (bug#1849).
114
e0f59195
JM
1152009-06-29 Jim Meyering <meyering@redhat.com>
116
117 Remove useless if-before-free test.
118 * make-docfile.c (scan_lisp_file): Remove useless test.
119
f5f20f6c
DN
1202009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
121
122 * Makefile.in (movemail.o): Don't pass -Demacs, unused.
123
70243478
CY
1242009-06-21 Chong Yidong <cyd@stupidchicken.com>
125
126 * Branch for 23.1.
127
fa44da6e
AR
1282006-06-09 Adrian Robert <Adrian.B.Robert@gmail.com>
129
130 * mac-fix-env.m:
131 * Makefile.in (mac-fix-env): Remove.
132
a7f2b0b1
AR
1332006-06-06 David Reitter <david.reitter@gmail.com>
134
135 * Makefile.in (mac-fix-env): Compile it using ALL_CFLAGS.
136
9dfda22f
JB
1372009-04-20 Juanma Barranquero <lekktu@gmail.com>
138
139 * emacsclient.c (print_help_and_exit): Fix typo and tabify (careful
140 spacing is required in the message output, as the comment suggests).
141
24d5010d
CY
1422009-04-20 Chong Yidong <cyd@stupidchicken.com>
143
144 * emacsclient.c (print_help_and_exit): Clarify argument placement
145 for short option names.
146
6133a1a9
DN
1472009-04-02 Dan Nicolaescu <dann@ics.uci.edu>
148
149 * emacsclient.c (print_help_and_exit): Fix typo.
150
22749e9a
EZ
1512009-03-21 Eli Zaretskii <eliz@gnu.org>
152
153 * ntlib.c (setuid): Argument is now unsigned.
154 (getuid): Return value is now unsigned.
155 (getpwuid): Argument is now unsigned.
156 (fchown): UID and GID arguments are now unsigned.
157
158 * ntlib.h (fchown): UID and GID arguments are now unsigned.
159 (getuid): Return value is now unsigned.
160 (setuid): Argument is now unsigned.
161 (getpwuid): Remove prototype (it's declared in nt/inc/pwd.h).
162
b57ac69d 1632009-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
6cde1b21
JB
164
165 * emacsclient.c (main): Revert part of last change, so
166 drive-relative file names again work on Windows.
167
ba528748
SM
1682009-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
169
170 * emacsclient.c (main): Always pass cwd via "-dir". Pass the file
171 names without prepending cwd to them, so Emacs uses its customary
172 rules to determine how to interpret the file name.
173
f213f2c0
GM
1742009-03-04 Glenn Morris <rgm@gnu.org>
175
176 * movemail.c (main) [MAIL_USE_POP]: Add -r to usage message.
177
8ee7d7be
CY
1782009-02-13 Sven Joachim <svenjoac@gmx.de>
179
180 * movemail.c: Include time.h unconditionally.
181 (main): Use time_t for time variables.
182
d228a23c
GM
1832009-02-11 Glenn Morris <rgm@gnu.org>
184
185 * movemail.c (mbx_delimit_begin): Also write the current time.
186
3f32be22
GM
1872009-02-10 Glenn Morris <rgm@gnu.org>
188
189 * movemail.c (mbx_delimit_begin, mbx_delimit_end): Write mbox rather
190 than Babyl format. (Bug#2196)
191
e7534fc4
AR
1922009-01-23 Adrian Robert <Adrian.B.Robert@gmail.com>
193
194 * emacsclient.c (decode_options): Use a dummy display name under
195 NS/Cocoa.
196
9eb67dd9
CY
1972009-01-14 Lars Rasmusson <lars.rasmusson@gmail.com> (tiny change)
198
199 * ebrowse.c (matching_regexp): Fix OB1 error.
200
b433a991
GM
2012009-01-05 Glenn Morris <rgm@gnu.org>
202
203 * ebrowse.c (version):
204 * etags.c (print_version):
205 * rcs2log (Copyright): Update copyright for 2009.
206
81f82586
CY
2072009-01-01 Chong Yidong <cyd@stupidchicken.com>
208
209 * movemail.c (main): Fatal if hard links cannot be created.
210
fd95644b
DN
2112008-12-18 Dan Nicolaescu <dann@ics.uci.edu>
212
213 * emacsclient.c (start_daemon_and_retry_set_socket): Improve error
214 checking.
215
67c1df01
DN
2162008-12-14 Dan Nicolaescu <dann@ics.uci.edu>
217
218 * emacsclient.c: Include syswait.h instead of sys/types.h.
219
f0131492 2202008-12-11 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change)
5445ab06 221
d4835507
JB
222 * emacsclient.c (WCONTINUED): New compatibility define
223 for older systems.
5445ab06 224
d50299d5
DN
2252008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
226
227 * emacsclient.c (main): Fix previous change.
228
52016647
JB
2292008-12-10 Juanma Barranquero <lekktu@gmail.com>
230
231 * emacsclient.c (main): Fix mindless breakage where emacsclient
232 does not work *at all* on Windows, even if it *can* connect.
233
802bdb3c
DN
2342008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
235
236 * emacsclient.c (EMACS_DAEMON): Remove definition.
237 (decode_options): Do not allow an empty alternate_editor on
238 WINDOWSNT.
239 (print_help_and_exit): Replace EMACS_DAEMON with WINDOWSNT.
240 (start_daemon_and_retry_set_socket): Likewise.
45ce4570 241 (main): Fail in case of not being able to connect.
802bdb3c 242
c3f995a2
JB
2432008-12-10 Juanma Barranquero <lekktu@gmail.com>
244
245 * emacsclient.c [!WINDOWSNT] (EMACS_DAEMON): New define.
246 Changes when EMACS_DAEMON is not defined:
247 (print_help_and_exit): Don't add daemon information to help.
248 (start_daemon_and_retry_set_socket): Make a no-op.
249 (main): Don't set `start_daemon_if_needed' (which is initialized to 0).
250
636b507b
DN
2512008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
252
253 * emacsclient.c (print_help_and_exit): Describe what an empty
254 string argument does for --alternate-editor.
255 (set_socket): Make it possible to not exit in case of an error.
256 (start_daemon_and_retry_set_socket): New function.
257 (main): Use it. Restore the NULL value for socket_name and
258 server_file after the set_socket call.
259
448d4085
DN
2602008-12-03 Dan Nicolaescu <dann@ics.uci.edu>
261
7b641241 262 * emacsclient.c: Include <arpa/inet.h>.
448d4085 263
938ebc4f
DN
2642008-12-01 Dan Nicolaescu <dann@ics.uci.edu>
265
266 * make-docfile.c (scan_lisp_file): Use xmalloc instead of malloc.
267
3d864325
GM
2682008-11-22 Derek Peschel <dpeschel@eskimo.com> (tiny change)
269
270 * etags.c (add_regex): Pass correct length to re_compile_pattern.
271
48c2dc68
CY
2722008-11-02 Chong Yidong <cyd@stupidchicken.com>
273
274 * emacsclient.c (window_system): Delete redundant variable.
275 (decode_options): Don't use it.
276 (find_tty): New function.
277 (main): Use find_tty, and don't use window_system.
278
d41784ee
EZ
2792008-11-01 Eli Zaretskii <eliz@gnu.org>
280
281 * emacsclient.c (main) [WINDOWSNT]: Don't ifdef away the call to
282 `ttyname'.
283 (w32_getenv): Treat $TERM specially: if not found in the
284 environment and in the Registry, return "w32console".
285 (ttyname) [WINDOWSNT]: New function.
286
322ca650
AS
2872008-10-31 Andreas Schwab <schwab@suse.de>
288
289 * emacsclient.c (main): Don't force sending tty when in eval mode.
290
8a8a7cd3
CY
2912008-10-30 Chong Yidong <cyd@stupidchicken.com>
292
293 * emacsclient.c (main): If using the current frame, send tty
294 information to Emacs in case daemon mode needs to occupy this tty.
295
f8baa639
JB
2962008-10-29 Juanma Barranquero <lekktu@gmail.com>
297
bc558f3e
JB
298 * emacsclient.c (EXTRA_SPACE): New macro.
299 (get_server_config, set_local_socket): Use it.
300
f8baa639
JB
301 * makefile.w32-in ($(BLD)/sorted-doc.$(O)): Remove spurious backslash.
302 Reported by Guillaume Conjat <gconjat.ext@orange-ftgroup.com>.
303
f77b11a0
JB
3042008-10-29 Ulrich Mueller <ulm@gentoo.org>
305
306 * emacsclient.c (set_local_socket): Use TMPDIR (default /tmp)
307 instead of hardcoded /tmp.
308
dc1cd5f7
DN
3092008-10-13 Dan Nicolaescu <dann@ics.uci.edu>
310
311 * emacsclient.c (longopts, print_help_and_exit): Add -nw.
312 (decode_options): Use getopt_long_only.
313
7a09249b
EZ
3142008-09-30 Eli Zaretskii <eliz@gnu.org>
315
316 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove ccl.elc and
317 codepage.elc.
318
997ec957
CY
3192008-09-19 Dan Nicolaescu <dann@ics.uci.edu>
320
321 * emacsclient.c (main): Use stdout rather than stdin to obtain the
322 terminal (bug#427).
323
0d80bf29
FP
3242008-08-25 Francesco Potortì <pot@gnu.org>
325
326 * etags.c (main): Do not use static space for the tagfile string.
327
34a23e94
FP
3282008-08-17 Francesco Potortì <pot@gnu.org>
329
330 * etags.c (main): Use canonicalize_filename on tags file name.
331 (relative_filename): Revert 3.85: do not collapse slashes here.
332 (absolute_dirname): Remove useless call to canonicalize_filename.
333 (canonicalize_filename): Collapse multiple slashes here.
334
48fad8e8
DN
3352008-08-07 Dan Nicolaescu <dann@ics.uci.edu>
336
10d1d0af
JB
337 * Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES.
338 Do not special case for NS_IMPL_COCOA.
48fad8e8 339
6088b51f 3402008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com>
f4494e84
AR
341
342 * Makefile.in (CFLAGS): Drop -universal under NS_IMPL_COCOA.
343 (.m.o): Dispense with GNUstep-specific flags.
344
39b8bb9b
CY
3452008-08-05 Ulrich Mueller <ulm@gentoo.org>
346
347 * pop.c (socket_connection): Add conditionals for
348 HAVE_KRB5_ERROR_TEXT and HAVE_KRB5_ERROR_E_TEXT to support
349 compilation with MIT Kerberos and Heimdal, respectively.
350
7c2fb837
DN
3512008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
352
353 * etags.c:
354 * emacsclient.c: Remove VMS support.
355
9e2a2647
DN
3562008-07-27 Dan Nicolaescu <dann@ics.uci.edu>
357
358 Remove support for Mac Carbon.
359 * makefile.w32-in:
360 * emacsclient.c: Remove code for Carbon.
361
7f619bab
DN
3622008-07-21 Dan Nicolaescu <dann@ics.uci.edu>
363
364 * Makefile.in (mac-fix-env): Remove #ifdef around rule.
365
32cc3925
AS
3662008-07-17 Andreas Schwab <schwab@suse.de>
367
368 * Makefile.in (INSTALL_SCRIPT): Remove duplicate definition.
369 (LIB_STANDARD_LIBSRC): Don't define.
370 (LOADLIBES): Remove LIB_STANDARD_LIBSRC.
371
ba60bd44 3722008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
122e9f8f
AR
373
374 * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to
375 NS_IMPL_COCOA.
376
50863f58
DN
3772008-07-16 Dan Nicolaescu <dann@ics.uci.edu>
378
ba60bd44
JB
379 * ntlib.h (fcloseall, fgetchar, flushall, fputchar, putw):
380 Remove, unused.
50863f58 381
ba60bd44 3822008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com>
edfda783
AR
383
384 * .cvsignore: Add mac-fix-env.
385 * mac-fix-env.m: New file, automatically update
386 ~/.MacOSX/environment.plist on OS X systems to expose environment
387 variables inside Emacs started from icon.
388 * Makefile.in: Add -universal to CFLAGS on OS X, add mac-fix-env to
389 programs to build.
390 * make-docfile.c: Add .m to list of file extensions.
391
bba104c1
DN
3922008-07-12 Dan Nicolaescu <dann@ics.uci.edu>
393
394 * movemail.c (main): Use int instead of WAITTYPE.
395
da007124
JB
3962008-07-05 Juanma Barranquero <lekktu@gmail.com>
397
398 * makefile.w32-in (OTHER_PLATFORM_SUPPORT):
399 Remove vmsproc.el and vms-patch.el.
400
c9fc02c7
JB
4012008-06-26 Juanma Barranquero <lekktu@gmail.com>
402
403 * makefile.w32-in (obj): Remove w32bdf.o.
404
f2a77c3a
DN
4052008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
406
407 * fakemail.c: Remove references to obsolete variables.
408
c2cd06e6
JM
4092008-06-02 Jim Meyering <meyering@redhat.com>
410
e914c409 411 * ebrowse.c (xfree): Remove definition; s/xfree/free/.
5c19cd0b 412
e914c409 413 Remove useless if-before-free tests.
70fdbb46
JM
414 * ebrowse.c (xfree): Likewise.
415 * etags.c (process_file_name, free_tree, free_fdesc): Likewise.
c2cd06e6 416 (popclass_above, Prolog_functions, Erlang_functions): Likewise.
70fdbb46 417 * pop.c (pop_quit): Likewise.
c2cd06e6 418
01b996ad
JB
4192008-05-30 Juanma Barranquero <lekktu@gmail.com>
420
421 * makefile.w32-in (lisp2): Add minibuffer.elc.
422
2926947a
SM
4232008-05-29 Tom Tromey <tromey@redhat.com>
424
425 * etags.c (relative_filename): Treat "///" like "/" in filenames.
426
10fea9c4
EZ
4272008-05-09 Eli Zaretskii <eliz@gnu.org>
428
429 * ntlib.c: Include sys/types.h, sys/stat.h, and errno.h.
430 (IS_DIRECTORY_SEP): New macro.
431 (convert_time, is_exec, stat): New functions.
432
86914123
EZ
4332008-05-08 Eli Zaretskii <eliz@gnu.org>
434
435 * makefile.w32-in (lisp2): Rename epa-file-hook.elc to epa-hook.elc.
436
58bb7d50
EZ
4372008-05-03 Eli Zaretskii <eliz@gnu.org>
438
439 * makefile.w32-in (lisp2): Add epa-file-hook.elc, to track the
440 corresponding change in src/Makefile.in.
441
63b9b605
GM
4422008-04-24 Adam Gołębiowski <adamg@pld-linux.org> (tiny change)
443
444 * Makefile.in (etags${EXEEXT}, ctags${EXEEXT}): Fix quote typo.
445
4429f88c
JR
4462008-04-10 Jason Rumney <jasonr@gnu.org>
447
448 * makefile.w32-in (CLIENTRES): New variable and target.
449 (TRES): Remove.
450 ($(BLD)/emacsclientw.exe): Use $(CLIENTRES) instead of $(TRES).
451
14b11401
SM
4522008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
453
454 * vcdiff: Use "sccs get" rather than "get"; leave PATH alone.
455
95de358c
RF
4562008-04-18 Steve Grubb <sgrubb@redhat.com> (tiny change)
457
458 * vcdiff: Use mktemp (CVE-2008-1694).
459
6948400c
JR
4602008-04-09 Jason Rumney <jasonr@gnu.org>
461
462 * makefile.w32-in (distclean, maintainer-clean): New targets.
463
afd27920
GM
4642008-03-13 Glenn Morris <rgm@gnu.org>
465
466 * makefile.w32-in (VERSION): Set to 23.0.60.
467
3d193d0f
JB
4682008-03-04 Juanma Barranquero <lekktu@gmail.com>
469
470 * .cvsignore: Add oo.
471
1797886f
SM
4722008-02-27 Yuri Shtil <yuris@juniper.net> (tiny change)
473
474 * etags.c (Perl_functions): Fix call to skip_spaces.
475
9d2818d6
DN
4762008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
477
478 * Makefile.in (NO_SHORTNAMES):
479 * emacsclient.c (NO_SHORTNAMES):
480 * fakemail.c (NO_SHORTNAMES):
481 * make-docfile.c (NO_SHORTNAMES):
482 * movemail.c (NO_SHORTNAMES):
483 * pop.c (NO_SHORTNAMES): Remove references to obsolete variable.
484
79d48c1a
JR
4852008-02-23 Jason Rumney <jasonr@gnu.org>
486
487 * makefile.w32-in (MOUSE_SUPPORT): Remove duplicate tooltip.elc.
488 (MSDOS_SUPPORT, VMS_SUPPORT): Remove.
290afd83 489 (OTHER_PLATFORM_SUPPORT): Replace above. Add X specific files too.
79d48c1a
JR
490 (lisp2): Add new languages.
491 ($(DOC)): Use OTHER_PLATFORM_SUPPORT.
492
9c61c734
JB
4932008-02-22 Juanma Barranquero <lekktu@gmail.com>
494
495 * makefile.w32-in (lisp2): Remove devanagari.el, kannada.el,
496 malayalam.el, and tamil.el. Add sinhala.el.
497
50f271cb
JB
4982008-02-20 Juanma Barranquero <lekktu@gmail.com>
499
500 * emacsclient.c (main) [WINDOWSNT]: Understand DRIVE:NAME,
501 where NAME is relative to DRIVE'S current directory.
502
d07529f3
JB
5032008-02-15 Juanma Barranquero <lekktu@gmail.com>
504
505 * emacsclient.c (print_help_and_exit): Show -d option on Windows.
506
45c1955d
DN
5072008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
508
509 * fakemail.c: Undo previous change.
510
deeaffe1
DN
5112008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
512
4624371d
DN
513 * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
514 (main): Replace MAIL_PROGRAM_NAME with its value.
515
d07529f3 516 * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete variable.
deeaffe1 517
9997dc15
SM
5182008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
519
520 * emacsclient.c (decode_options): Pass --display implicitly if -c
521 is specified. Only set tty if -t or -c is specified.
522
0c55bf82
JR
5232008-02-04 Jason Rumney <jasonr@gnu.org>
524
525 * makefile.w32-in (lisp1): Use (), not {}.
526
31cdf671
CY
5272008-02-04 Tom Tromey <tromey@redhat.com>
528
d07529f3
JB
529 * etags.c: Add "GTY" as synonym for __attribute__.
530 Update gperf output.
31cdf671 531
9303f985 5322008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2
MB
533
534 * makefile.w32-in (obj): Sync with src/Makefile.in
535 (TOOLTIP_SUPPORT, WINDOW_SUPPORT): New definitions.
536 (WINNT_SUPPORT): Add term/w32-win.elc.
537 (lisp1, lisp2): Sync with lisp in src/Makefile.in.
538
9303f985 5392008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2 540
d07529f3 541 * makefile.w32-in (obj): Add font.o and w32font.o.
aca7a3d2 542
d07529f3 5432008-02-01 Zhang Wei <id.brep@gmail.com> (tiny change)
aca7a3d2 544
290afd83 545 * makefile.w32-in (lisp1): Delete ucs-tables.elc,
aca7a3d2
MB
546 utf-8.elc, and latin-*.el.
547
0ea5797a
SM
5482008-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
549
bcc891c2 550 * emacsclient.c (decode_options): Default to NULL display, as Emacs-22.
0ea5797a
SM
551 Allow the -d option under w32 again, for those rare cases where it
552 actually does make sense.
553
5ab73228
JB
5542008-01-25 Juanma Barranquero <lekktu@gmail.com>
555
556 * emacsclient.c (set_tcp_socket): Don't send "\n" after
557 the authentication string; there's no need to haste.
558
702123a8
CY
5592008-01-22 Chong Yidong <cyd@stupidchicken.com>
560
561 * pop.c (pop_stat, pop_last): Fix last fix.
562
76ed5e01
DN
5632008-01-18 Dan Nicolaescu <dann@ics.uci.edu>
564
565 * movemail.c: Remove references to XENIX.
566
e39a993c
DN
5672008-01-13 Dan Nicolaescu <dann@ics.uci.edu>
568
569 * movemail.c:
570 * make-docfile.c: Remove reference to symbols defined by systems
571 not supported anymore: MAC_OS8, XENIX and STRIDE.
572
0ebec7d3
EZ
5732008-01-12 Eli Zaretskii <eliz@gnu.org>
574
575 * emacsclient.c (decode_options) [WINDOWSNT]: Don't use the value
576 of DISPLAY in the environment. Don't support -d.
577 (print_help_and_exit) [WINDOWSNT]: Don't show the --display option.
578 (longopts) [WINDOWSNT]: Remove --display.
579
6eae3ad4
CY
5802008-01-10 Chong Yidong <cyd@stupidchicken.com>
581
582 * pop.c (pop_stat, pop_last): Check validity of string-to-integer
583 conversion. Mistakes spotted by Nico Golde.
584
78da39c6
GM
5852008-01-09 Glenn Morris <rgm@gnu.org>
586
587 * emacsclient.c: Add missing final newlines to message calls.
588
34a14ec9 5892008-01-09 Daniel Hackney <dan@haxney.org> (tiny change)
78da39c6
GM
590
591 * emacsclient.c (set_socket): Add final newline to socket error message.
592
a408ea17
GM
5932008-01-04 Glenn Morris <rgm@gnu.org>
594
07655e62
JB
595 * ebrowse.c (version) <emacs_copyright>: New variable.
596 Just use current year for copyright.
a408ea17
GM
597
598 * etags.c (print_version):
599 * rcs2log (Copyright): Update to 2008.
600
0dc7a8bc
JR
6012007-11-28 Jason Rumney <jasonr@gnu.org>
602
603 * makefile.w32-in (VMS_SUPPORT): No longer byte-compiled.
604
880820fe 6052007-11-27 Jan Djärv <jan.h.d@swipnet.se>
7291159e
JD
606
607 * pop.c (socket_connection): Remove AI_ADDRCONFIG.
608
880820fe 6092007-11-19 Jan Djärv <jan.h.d@swipnet.se>
ee15f312
JD
610
611 * pop.c (socket_connection): Move realhost out of #ifdefs.
612 Set realhost both for HAVE_GETADDRINFO and !HAVE_GETADDRINFO.
613
880820fe 6142007-11-18 Jan Djärv <jan.h.d@swipnet.se>
33a2a872
JD
615
616 * pop.c (socket_connection): Use getaddrinfo if available.
617
880820fe 6182007-11-22 Francesco Potortì <pot@gnu.org>
63f018cd 619
65841dd8 620 * etags.c (default_C_help) [CTAGS]: Differentiate the help string,
63f018cd 621 as the defaults in ctags are different from etags.
63f018cd 622
880820fe 6232007-11-15 Francesco Potortì <pot@gnu.org>
21e14641
FP
624
625 * etags.c: Make prototypes for extern definitions, and add all
626 that are needed to quench warnings on 64-bit.
627 (main): Use the same defaults for ctags as for etags: find
628 typedefs, structure tags, macro constants, enum constants, struct
629 members and global variables.
630 (make_C_tag) [DEBUG]: Add debugging printout.
631 (C_entries): In case '}' decrement bracelev before testing it.
632
7455effc
FP
6332007-11-15 Masatake YAMATO <jet@gyve.org>
634
635 * etags.c (C_entries): In case '}', set fvdef to fvnone
636 unconditioned to (!ignoreindent && lp == newlb.buffer + 1).
637
04a697fe
DN
6382007-11-01 Dan Nicolaescu <dann@ics.uci.edu>
639
640 * makefile.w32-in (obj): Remove sunfns.o.
641
a2666217
JB
6422007-10-28 Juanma Barranquero <lekktu@gmail.com>
643
644 * makefile.w32-in (obj): Remove abbrev.o.
645
7ce8671d
JB
6462007-10-26 Juanma Barranquero <lekktu@gmail.com>
647
648 * emacsclient.c: Add a wrapper for getenv so it also checks the
649 registry on Windows. Suggestion and algorithm by Eli Zaretskii.
650 Code partially based on w32_get_resource and init_environment (w32.c).
651 (egetenv): New wrapper for getenv.
652 (get_current_dir_name, decode_options, get_server_config)
653 (set_local_socket, set_socket, main): Use egetenv, not getenv.
654 (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
655
d22b00e5
JR
6562007-10-25 Jason Rumney <jasonr@gnu.org>
657
658 * emacsclient.c (sock_err_message): New function.
659 (set_tcp_socket): Use it.
660
c4b858e3
JB
6612007-10-09 Juanma Barranquero <lekktu@gmail.com>
662
663 * emacsclient.c (print_help_and_exit): Fix space to improve
664 alignment in output messages.
665
dbf60b07
JR
6662007-09-27 Jason Rumney <jasonr@gnu.org>
667
668 * makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32.
669
670 * emacsclient.c (w32_window_app): Init common controls when windowed.
671
165e85b2
GM
6722007-09-21 Glenn Morris <rgm@gnu.org>
673
674 * emacstool.c: Remove file.
675 * Makefile.in (emacstool, nemacstool, xvetool, xveterm):
676 Delete targets built from emacstool.
677
c1b8e896
SM
6782007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
679
680 * emacsclient.c (decode_options): -t implies -c.
681
cb06b8dc
SM
6822007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
683
684 * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP)
685 (IS_ANY_SEP): Only define if !defined(HAVE_GET_CURRENT_DIR_NAME).
686 (main_argc): Remove.
687 (strprefix): Use strncmp.
688
c801ad51
JR
6892007-09-20 Jason Rumney <jasonr@gnu.org>
690
691 * emacsclient.c (main) [SIGSTOP]: Change conditional from WINDOWSNT.
692
31fa6595
SM
6932007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
694
695 * emacsclient.c (current_frame): Change the default.
696 (longopts): Replace --current-frame by --create-frame.
697 (decode_options): Reverse the meaning of -c.
698 (print_help_and_exit): Update help text accordingly.
699 (main): Remove the -version and -good-version messages.
700
58573230
GM
7012007-09-12 Glenn Morris <rgm@gnu.org>
702
703 * Makefile.in (SOURCES, unlock, relock): Delete.
704
bfd9ce71
GM
7052007-08-29 Glenn Morris <rgm@gnu.org>
706
707 * makefile.w32-in (VERSION): Increase to 23.0.50.
708
8d9cc0b7
MB
7092007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
710
711 * emacsclient.c (w32_execvp): Move definition before use.
712 (decode_options): Don't use a tty on mac carbon or windows.
713
7142007-08-29 Jason Rumney <jasonr@gnu.org>
715
31fa6595 716 * emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation macros.
8d9cc0b7
MB
717 (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp):
718 (main): Expand removed macros inline.
719 (main) [WINDOWSNT]: Don't call ttyname. Don't recognize -suspend
720 option.
721 (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals.
722
880820fe 7232007-08-29 Károly Lőrentey <lorentey@elte.hu>
8d9cc0b7
MB
724
725 * emacsclient.c (signal.h): New include.
726 (sys/stat.h, errno.h): Always include, even on WINDOWSNT.
31fa6595
SM
727 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP):
728 Copy definitions here from src/lisp.h.
729 (main_argc, main_argv, current_frame, window_system, tty): New vars.
8d9cc0b7
MB
730 (longopts): Add tty, current-frame.
731 (xmalloc, xstrdup): New functions.
732 (get_current_dir_name): New function, copied from src/sysdep.c.
733 (decode_options): Set display from environment. Add tty and
734 current_frame options. Make --no-wait imply --current-frame,
735 except when it is the only option given. Make sure no frame is
736 opened when --current-frame is set.
737 (print_help_and_exit): Document tty and current-frame options.
738 (fail): Change arguments to void.
739 (main): When sockets are not defined, set main_argc, main_argv,
740 and call fail() with no arguments.
741 (emacs_socket): New variable (moved out from main `s').
742 (quote_file_name): Rename to quote_argument.
743 (quote_argument): New name for old quote_file_name.
744 (unquote_argument, strprefix, pass_signal_to_emacs)
745 (handle_sigcont, handle_sigtstp, init_signals): New functions.
746 (set_local_socket): Initialize saved_errno to 0. If socket-name
747 is too long, call `fail' rather than `exit'.
748 (main): Doc update. Set main_argc, main_argv. New var `str'.
749 Don't need a filename or argument if tty or window_system set.
750 Call fail with no arguments. Use get_current_dir_name to send
751 over the current directory. Send version number to Emacs for
752 verification. If tty is set, check TERM, and pass name and type
753 to Emacs. Pass window_system to Emacs. Move sending of eval to
754 optind loop. Send -position, -file to Emacs. Call fsync after
31fa6595
SM
755 fflush. Check for a client/server version match.
756 Handle -emacs-pid, -window-system-unsupported, -print, -error, and
757 -suspend commands. Don't exit prematurely on --no-wait, let Emacs
758 close the connection for us. When creating a new frame, send
8d9cc0b7
MB
759 environment and pwd to Emacs. Send current-frame to Emacs.
760
ca4ea90f
EZ
7612007-08-25 Eli Zaretskii <eliz@gnu.org>
762
763 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
764 Prepend "-" to the command, in case srcdir=. and file is copied
765 into itself.
766
cacc7b51
GM
7672007-07-25 Glenn Morris <rgm@gnu.org>
768
769 * Relicense all FSF files to GPLv3 or later.
770
771 * COPYING: Switch to GPLv3.
772
880820fe 7732007-07-17 Francesco Potortì <pot@gnu.org>
180f5b99
FP
774
775 * etags.c (C_entries): Reset the fvdef machine when out of function.
21b2cdc7
FP
776 (PRINT_UNDOCUMENTED_OPTIONS_HELP): #define as FALSE if undefined.
777 (print_help): Use it in if() rather than #if.
778 (print_help): Conditionally print help about --no-line-directive.
180f5b99 779
9724908a
EZ
7802007-07-16 Eli Zaretskii <eliz@gnu.org>
781
782 * makefile.w32-in (clean): Don't delete *~.
783
5cf9ca93
GM
7842007-06-07 Glenn Morris <rgm@gnu.org>
785
786 * etags.c (print_version): Add `emacs_copyright' string, for
787 easier automatic updating.
788
880820fe 7892007-05-18 Francesco Potortì <pot@gnu.org>
cabfc1bc
FP
790
791 * etags.c: Extern definitions of some more pointer functions for
792 standalone compilation, especially important for 64bit platforms.
793 (main, print_help): --members is now the default for etags.
794 (C_entries): Parse start of C comment as a space == end of token.
795 This is not necessary for C++ comment, already parsed as newline.
796
07016031
GM
7972007-04-26 Glenn Morris <rgm@gnu.org>
798
799 * makefile.w32-in (VERSION): Increase to 22.1.50.
800
7dfc4cda
CY
8012007-06-02 Chong Yidong <cyd@stupidchicken.com>
802
803 * Version 22.1 released.
804
880820fe 8052007-02-26 Francesco Potortì <pot@gnu.org>
11d2d983 806
d620ddb3 807 * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
11d2d983 808
0971f887
GM
8092007-02-20 Ulrich Mueller <ulm@kph.uni-mainz.de> (tiny change)
810
811 * Makefile.in (EMACS, EMACSOPT): New variables.
812 (blessmail): Use `--no-site-file' when compiling.
813
880820fe 8142007-02-05 Francesco Potortì <pot@gnu.org>
933ccc8c
FP
815
816 * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help)
817 (main): Now --members is the default for etags, not for ctags yet.
818
d881944f 8192007-02-04 Per Cederqvist <ceder@ingate.com> (tiny change)
953dea63 820
47dad44f 821 * etags.c (gperf, in_word_set): Change attribute for Java to
953dea63
FP
822 (C_JAVA & ~C_PLPL). The previous change introduced 2004-09-13 was
823 broken, as (C_JAVA & !C_PLPL) always evaluates to 0. This caused
824 import, package, extends, implements and interface to be treated
825 specially for all kinds of C-style files, not just Java files.
826
880820fe 8272007-01-02 Francesco Potortì <pot@gnu.org>
ed8bbc0e 828
47dad44f 829 * etags.c (longopts): New undocumented option --no-duplicates.
ed8bbc0e
FP
830 (no_duplicates): Static variables for the above option.
831 (print_help): Do not print help for --no-warn, now undocumented.
832 (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
56c0d866 833 (main): Pass the -u option to sort in ctags mode.
ed8bbc0e 834
880820fe 8352006-12-28 Francesco Potortì <pot@gnu.org>
18f9bf25
FP
836
837 * etags.c (readline): When creating a relative file name from a
838 #line directive, leave the file name alone. The previous
a7c29764 839 behavior was to make it relative to the tags file directory,
18f9bf25
FP
840 under the hypothesis that the #line directive file name was
841 relative to the directory of the tagged file. That hypothesis is
842 wrong with Cpp and Lex.
17d5f8a6 843 (Makefile_targets): Do not include spaces in tag names.
18f9bf25 844
5e059fc1
EZ
8452006-12-22 Eli Zaretskii <eliz@gnu.org>
846
847 * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl)
848 (movemail, fakemail, sorted-doc, digest-doc, emacsclient)
47dad44f 849 (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD).
5e059fc1
EZ
850 ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O))
851 ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O))
852 ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS))
853 ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O))
854 ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD.
6808dce1 855 (clean): Delete stamp_BLD.
5e059fc1 856
880820fe 8572006-12-20 Francesco Potortì <pot@gnu.org>
bd3b41c6
FP
858
859 * etags.c (C_entries): DEFUN names were longer by one: corrected.
860
0e0dced5
JB
8612006-12-18 Juanma Barranquero <lekktu@gmail.com>
862
863 * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables.
864 [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions.
865 (main) [WINDOWSNT]: Remove code to release the focus; call
866 w32_give_focus instead.
867
4472aef4
JB
8682006-12-15 Juanma Barranquero <lekktu@gmail.com>
869
870 * emacsclient.c (w32_execvp): New function; wrapper for `execvp'.
871 (execvp) [WINDOWSNT]: Redefine to `w32_execvp'.
872 (fail): Remove Windows-specific fix (subsumed into w32_execvp).
873 Suggestions and comment by Eli Zaretskii.
874
12f7728e 8752006-12-06 Christoph Conrad <christoph.conrad@gmx.de>
c388769e
JB
876
877 * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
878 Use $(USER32) for compatibility with Visual Studio .NET 2003.
879
310afa17
JB
8802006-11-30 Juanma Barranquero <lekktu@gmail.com>
881
882 * emacsclient.c (emacs_pid): New variable.
883 (message): Remove leftover code.
884 (get_server_config): Set emacs_pid. Don't allow Emacs to grab the
885 focus yet; emacsclient can still display an informational message
886 before sending requests to Emacs.
887 (main): Allow Emacs to grab the focus. Simplify message() call.
888
8892006-11-30 Michael Mauger <mmaug@yahoo.com>
890
891 * emacsclient.c (message): Make sure the message is properly
892 written even if it contains printf escapes, and flush the result.
893 (set_tcp_socket): Make the message for non-local connections
894 informational rather than an error.
895
8c57275b 8962006-11-28 Kevin Ryde <user42@zip.com.au>
9b492fad
FP
897
898 * etags.c (readline): Check for double quote after #line.
899
880820fe 9002006-11-28 Jan Djärv <jan.h.d@swipnet.se>
9b492fad
FP
901
902 * etags.c (readline): sscanf could in principle return 2.
903
880820fe 9042006-11-28 Francesco Potortì <pot@gnu.org>
9b492fad
FP
905
906 * etags.c (readline): lno is unsigned.
907 (TeX_commands): Use p++ (rather than *p++) to increment p.
908 (Lua_functions): Explicitly discard LOOKING_AT's return value.
909
4d91c8f9
JB
9102006-11-27 Juanma Barranquero <lekktu@gmail.com>
911
912 * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in).
913 ($(TRES)): New rule (copied from nt/makefile.w32-in).
914 ($(BLD)/emacsclientw.exe): Add dependency.
915
340d34a5
EZ
9162006-11-27 Eli Zaretskii <eliz@gnu.org>
917
d620ddb3 918 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
340d34a5 919
7dce1990
JB
9202006-11-25 Juanma Barranquero <lekktu@gmail.com>
921
922 * makefile.w32-in (VERSION): New macro.
923 (ECLIENT_CFLAGS): Add -DVERSION.
924
410797a5 9252006-11-25 Jason Rumney <jasonr@gnu.org>
402767e4
JR
926
927 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
928
410797a5 9292006-11-24 Michael Mauger <mmaug@yahoo.com>
cb0297bb 930
4472aef4
JB
931 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
932 file names with forward slashes.
cb0297bb 933
30aa95ce
JB
9342006-11-23 Juanma Barranquero <lekktu@gmail.com>
935
936 * emacsclient.c (print_help_and_exit): Tweak message contents and
937 tabs/spaces to improve alignment in message boxes.
938
42073bfb
JB
9392006-11-22 Lennart Borgman <lennart.borgman.073@student.lu.se>
940
941 * emacsclient.c: Include <stdarg.h>.
942 [WINDOWSNT]: Include <windows.h>.
943 (w32_check_console_app): New function.
944 (message): New function.
945 (decode_options, print_help_and_exit, fail, main)
946 (initialize_sockets, get_server_config, set_tcp_socket)
947 (set_local_socket, set_socket): Use message().
948
32dd9283 9492006-11-13 Jason Rumney <jasonr@gnu.org>
1ac3c910 950
32dd9283
JR
951 * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
952 HAVE_INET_SOCKETS.
953
1bbea9fc
JB
9542006-11-13 Juanma Barranquero <lekktu@gmail.com>
955
956 * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe.
957 ($(BLD)/emacsclientw.exe): New target.
958 (install): Install emacsclientw.exe.
959 ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets.
960 (ECLIENT_CFLAGS): Remove redundant flags.
961
962 * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
963
a48db427
JR
9642006-11-13 Jason Rumney <jasonr@gnu.org>
965
966 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
967
21f89bb7 9682006-11-10 David Reitter <david.reitter@gmail.com>
ed4a3730
JB
969
970 * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
971
d5abc12c
JB
9722006-11-08 Juanma Barranquero <lekktu@gmail.com>
973
ed4a3730
JB
974 * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
975 FARPROC to avoid a compiler warning.
d5abc12c 976
18b8c421
JB
9772006-11-07 Juanma Barranquero <lekktu@gmail.com>
978
88b46d84
JB
979 * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
980 file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
981
18b8c421
JB
982 * emacsclient.c (get_server_config): Extract also the Emacs pid
983 from the server file. On Windows, try to force the Emacs frame to
984 the foreground.
985
b03d27bd
JB
9862006-11-06 Juanma Barranquero <lekktu@gmail.com>
987
21f89bb7 988 * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
b03d27bd
JB
989 option --socket-name.
990 (decode_options): Don't get EMACS_SERVER_FILE here, it could override
991 command line options.
21f89bb7 992 (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
b03d27bd
JB
993 (fail): Don't check for missing arguments, it is now done in set_socket.
994 (file_name_absolute_p): New function (loosely based on the one in
995 fileio.c).
996 (initialize_sockets): Don't check for duplicate loading of Winsock.
997 (get_server_config): Only try relative paths in the default
998 directory locations.
999 (set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to
1000 a remote server.
1001 (set_socket): Call INITIALIZE(). Search explicit command-line
1002 arguments, then environment variable EMACS_SERVER_FILE, then implicit
1003 socket paths, before trying the alternate editor.
1004 (main): Use file_name_absolute_p.
1005
b20d6154
EZ
10062006-11-04 Eli Zaretskii <eliz@gnu.org>
1007
1008 * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
1009 file if it doesn't already exist.
1010
9c92edca
JB
10112006-11-03 Juanma Barranquero <lekktu@gmail.com>
1012
1013 * emacsclient.c (initialize_sockets): Don't initialize Winsock
1014 more than once.
1015
b6ce9c46
JB
10162006-11-03 Mark Davies <mark@mcs.vuw.ac.nz>
1017
1018 * Makefile.in (INSTALL_SCRIPT): New macro.
1019 ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
1020
4418616b
JB
10212006-11-02 Juanma Barranquero <lekktu@gmail.com>
1022
1023 * grep-changelog: When called with no arguments (not even a
1024 filter), show help instead of blindingly dumping every single
1025 ChangeLog available. Doc fix. Update version.
1026
1e7823d0
JB
10272006-11-02 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
1028
1029 * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
1030 [!WINDOWSNT]: Include <netinet/in.h> if available.
1031 [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
1032 (IOCTL, IOCTL_BOOL_ARG): Remove.
1033 (set_tcp_socket): Don't set the socket in blocking mode.
1034 Remove c_arg.
1035
ebc20ca0
JB
10362006-11-01 Juanma Barranquero <lekktu@gmail.com>
1037
1038 * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
1039 execvp to point to alternate_editor (otherwise .BAT scripts can't run).
1040
880820fe 10412006-10-31 Óscar Fuentes <ofv@wanadoo.es> (tiny change)
411b80a5
JB
1042
1043 * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
1044 (close_winsock): Declare as __cdecl.
1045
880820fe 10462006-10-31 Jan Djärv <jan.h.d@swipnet.se>
95d0feaa
JB
1047
1048 * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
1049 (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
1050 to set the socket in non-blocking mode.
1051
e35fc962
JB
10522006-10-31 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
1053
d4fa60c8 1054 * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
e35fc962
JB
1055 (INVALID_SOCKET): Define.
1056 (initialize_sockets): Put #endif at the right place.
1057 (set_local_socket): Use progname, not argv[0].
1058
ecc54057
JB
10592006-10-31 Juanma Barranquero <lekktu@gmail.com>
1060
1061 * makefile.w32-in (ALL): Add emacsclient.
1062 (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
1063 (emacsclient, $(BLD)/emacsclient.exe): New targets.
1064 (install): Install emacsclient.
1065
1066 * emacsclient.c: Add support for TCP sockets.
1067 (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
1068 (INITIALIZE): New macros.
1069 (IOCTL_BOOL_ARG): New typedef.
1070 (server_file): New global variable.
1071 (longopts): New option --server-file.
1072 (decode_options): Process new option --server-file and environment
1073 variable EMACS_SERVER_FILE.
1074 (print_help_and_exit): Document new option.
1075 (fail): If no connection available and no alternate editor,
1076 suggest using options to make them explicit.
1077 (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
1078 (send_buffer, sblen): New variables.
31fa6595 1079 (send_to_emacs): New function to buffer output and send it with `send'.
ecc54057
JB
1080 (quote_file_name): Use SEND_STRING.
1081 (close_winsock, initialize_sockets): New functions to load and
1082 unload Winsock.
1083 (get_server_config, set_tcp_socket): New functions to create and
1084 set up TCP sockets.
1085 (set_local_socket): New function to create and set up Unix
1086 socket (code moved from previous implementation).
10d1d0af 1087 (set_socket): New function to choose between TCP and Unix sockets.
ecc54057
JB
1088 (main): Use SEND_STRING and SEND_QUOTED. Most code moved to
1089 set_local_socket. Use set_socket. Get answers from server.el with
1090 recv(), not file stream functions.
1091
70846e2a
EZ
10922006-10-09 Eli Zaretskii <eliz@gnu.org>
1093
1094 * makefile.w32-in (../src/config.h): Fix error message.
1095
e2247cd0
EZ
10962006-09-30 Eli Zaretskii <eliz@gnu.org>
1097
1098 * .cvsignore: Add blessmail.
1099
45a2056c
JB
11002006-09-15 Jay Belanger <belanger@truman.edu>
1101
1102 * COPYING: Replace "Library Public License" by "Lesser Public
1103 License" throughout.
1104
880820fe 11052006-08-09 Jan Djärv <jan.h.d@swipnet.se>
1f4edc37 1106
ecc54057 1107 * etags.c (readline): Expect sscanf returns >= 1.
ea90c5d3 1108 (readline): Change position on %n and \" in sscanf.
1f4edc37 1109
1520a816
JD
11102006-08-07 Masatake YAMATO <jet@gyve.org>
1111
ecc54057
JB
1112 * etags.c (readline): Expect sscanf returns 2, not 1.
1113
867cc23e
JD
11142006-08-07 Masatake YAMATO <jet@gyve.org>
1115
9984b9d5 1116 * etags.c (TEX_mode): Check getc returns EOF.
867cc23e
JD
1117 File ended without newline causes infinite loop.
1118
6088b51f 11192006-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
fc185ae6 1120
ecc54057 1121 * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
fc185ae6 1122
880820fe 11232006-07-30 Francesco Potortì <pot@gnu.org>
fc185ae6
FP
1124
1125 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
1126 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
1127 (Objc_suffixes): Suggest using --lang=c for full help.
1128 (C_entries): Initialise savetoken to 0 to shut up the compiler.
1129
116e754b
AS
11302006-07-20 Andreas Schwab <schwab@suse.de>
1131
1132 * fakemail.c (fatal): Drop second parameter and treat first
1133 parameter as a plain string. Callers changed.
1134
2381d38d
DN
11352006-07-18 Dan Nicolaescu <dann@ics.uci.edu>
1136
1137 * ebrowse.c (usage, version): Mark as NO_RETURN.
1138
1139 * emacsclient.c (print_help_and_exit): Likewise.
1140
880820fe 11412006-07-10 Francesco Potortì <pot@gnu.org>
327891eb
FP
1142
1143 * etags.c (absolute_filename): Free unused space (cosmetic change).
1144 (in_word_set): In C, also tag #undef symbols.
1145
7cb93181
EZ
11462006-06-09 Eli Zaretskii <eliz@gnu.org>
1147
1148 * yow.c: Remove file.
1149
1150 * makefile.w32-in ($(BLD)/yow.$(O)): Remove target.
1151
1152 * Makefile.in (UTILITIES): Remove yow${EXEEXT}.
1153 yow${EXEEXT}: Remove target.
1154
0f29c66d
MY
11552006-06-04 Masatake YAMATO <jet@gyve.org>
1156
63fbb644 1157 * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
0f29c66d
MY
1158 doesn't exist, is not seekable, not is failed in ftall.
1159
a941b26b
EZ
11602006-06-03 Eli Zaretskii <eliz@gnu.org>
1161
9781fb53
EZ
1162 * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
1163 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
1164 ($(BLD)/test-distrib.exe): New targets.
1165 (sorted-doc, digest-doc, test-distrib): New targets.
1166 (install): Install sorted-doc.exe and digest-doc.exe.
1167 ($(BLD)/sorted-doc.$(O)): Update dependencies.
1168
1b178b99
EZ
1169 * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
1170 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
1171 terminal device.
1172
ae85efdb
EZ
1173 * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
1174 [WINDOWSNT] <top level>: Don't redeclare malloc.
1175 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
1176 terminal device.
6088b51f 1177 (main): Initialize bp, to avoid compiler warnings.
ae85efdb 1178
a941b26b
EZ
1179 * makefile.w32-in: Delete traces of leditcfns.c.
1180
1181 * leditcfns.c: Remove file.
1182
880820fe 11832006-05-23 Francesco Potortì <pot@gnu.org>
8a6d5da7 1184
31fa6595
SM
1185 * pop.c (pop_open, socket_connection, KPOP_SERVICE):
1186 Add comments explaining why the "kpop" service is never used.
8a6d5da7 1187
642c61f3
EZ
11882006-05-13 Eli Zaretskii <eliz@gnu.org>
1189
1190 * makefile.w32-in (lisp1): Add fringe.elc.
1191
880820fe 11922006-05-02 Francesco Potortì <pot@gnu.org>
7e237d24
FP
1193
1194 * etags.c (Perl_functions): Free space allocated for var package.
1195 (Erlang_functions): Possibly free space allocated for var last.
1196 (Prolog_functions): Possibly free space allocated for var last.
1197
7c47913b
DN
11982006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
1199
7fe8b491
DN
1200 * sorted-doc.c (main): Initialize docs to NULL.
1201
cdeda579
DN
1202 * yow.c (yow): Free buf.
1203
7c47913b
DN
1204 * etags.c: Delete c-indentation-style local variable.
1205
2ef88a94
RS
12062006-04-29 Richard Stallman <rms@gnu.org>
1207
5e5b35c7
RS
1208 * movemail.c (main): Check for negative value from `read'.
1209
2ef88a94
RS
1210 * fakemail.c (read_header): Give fatal error if input has no header.
1211
d65b4235
PE
12122006-04-02 Paul Eggert <eggert@cs.ucla.edu>
1213
1214 * b2m.c (main): Don't include <limits.h>.
1215 (TM_YEAR_BASE): New macro.
1216 (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
1217 that s/ files can override this. Use the more-conservative range
1218 1000-9999.
1219 (main): Check for asctime returning NULL.
1220 * fakemail.c: Likewise.
1221
f5565804
PE
12222006-03-27 Paul Eggert <eggert@cs.ucla.edu>
1223
1224 * b2m.c: Include <limits.h>.
1225 (TM_YEAR_IN_ASCTIME_RANGE): New macro.
1226 (main): Check for out-of-range time stamps.
1227 * fakemail.c: Likewise.
1228
90c9c343
AS
12292006-03-18 Andre Spiegel <spiegel@gnu.org>
1230
1231 * vcdiff: Use "echo" as a default for $echo, otherwise we'll
1232 execute $DIFF twice, and once with the wrong options.
1233
a6a2b5d4
EZ
12342006-02-23 Claudio Fontana <claudio@gnu.org>
1235
9e2bcc86
EZ
1236 * Makefile.in (install, uninstall): Add DESTDIR variable to
1237 support staged installations.
a6a2b5d4 1238
ef3f69f9
EZ
12392005-12-30 Eli Zaretskii <eliz@gnu.org>
1240
1241 * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
fc8dc7cf
EZ
1242 (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
1243 international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
1244 Rearrange the list to be similar to $(shortlisp) in
1245 src/Makefile.in.
ef3f69f9
EZ
1246 (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
1247 emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
1248 jit-lock.elc. Rearrange the list to be similar to $(shortlisp) in
1249 src/Makefile.in.
1250
30cfcf7f
RS
12512005-12-22 Richard M. Stallman <rms@gnu.org>
1252
1253 * Makefile.in (update-game-score.o): Delete spurious final `\'.
1254
ecc54057 12552005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
2e0bea68
FP
1256
1257 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
1258 which was never opened.
1259
283879ef 12602005-10-20 Olli Savia <ops@iki.fi> (tiny change)
ce0ae3a9
EZ
1261
1262 * etags.c: Undef STDIN if defined. (LynxOS defines it in system
1263 header files.)
1264
880820fe 12652005-09-27 Francesco Potortì <pot@gnu.org>
55102b5d
FP
1266
1267 * etags.c: Preliminary Forth support.
1268 (prolog_pr): Cast strlen to int before comparison.
1269 (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
1270 the second argument is indeed a literal string.
b9509712 1271 (main): In append mode, sort the tags file after writing it.
55102b5d
FP
1272
12732005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
1274
1275 * etags.c (longopts, print_help, main): The -a (--append) option
1276 can be used in ctags also; for one, the Linux make file uses it.
1277
41ea4df8
CY
12782005-09-20 Chong Yidong <cyd@stupidchicken.com>
1279
1280 * ebrowse.c (add_sym): Compare namespace names instead of
1281 namespace objects. This prevents the parser from incorrectly
1282 treating classes whose superclass is in another namespace.
1283
5c4757d3
RS
12842005-09-15 Richard M. Stallman <rms@gnu.org>
1285
1286 * Makefile.in (update-game-score.o): New target.
10d1d0af 1287 Compile and link this program separately.
5c4757d3
RS
1288 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
1289
df1b2142
JR
12902005-09-11 Jason Rumney <jasonr@gnu.org>
1291
ecc54057 1292 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
df1b2142 1293 message instead.
31fa6595 1294 (../src/paths.h): Remove.
df1b2142 1295
c638055f
JB
12962005-07-27 Juanma Barranquero <lekktu@gmail.com>
1297
1298 * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
1299 generated. Ignore also ctags.c and getopt.h.
1300
1301 * makefile.w32-in (clean): Delete getopt.h.
1302 (getopt.h): New rule.
1303
9eff9fe3
PE
13042005-07-26 Paul Eggert <eggert@cs.ucla.edu>
1305
1306 Merge gnulib getopt implementation into Emacs.
1307
1308 * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
1309 (GETOPT_H): New macro, from gnulib.
1310 (getopt.h): New rule, from gnulib.
1311 (GETOPTOBJS): Now autoconfigured.
1312 (GETOPTDEPS): getopt.h is now autoconfigured.
1313 (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
1314 (getopt.o): Depend on ${srcdir}/gettext.h.
1315 (movemail.o): Depend on $(GETOPT_H).
1316 * getopt.c, getopt1.c: Sync from gnulib.
1317 * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
1318 * getopt.h: Removed (now is getopt_.h).
1319
ec641d50
KR
13202005-07-13 Ken Raeburn <raeburn@gnu.org>
1321
0e0dced5
JB
1322 * pop.c: Don't include des.h (or variants thereof); krb.h will do it.
1323 (sendline): Add the \r\n to the line in a temporary buffer, and write
1324 it all at once.
ec641d50 1325
a0ec7a4a
LK
13262005-07-04 Lute Kamstra <lute@gnu.org>
1327
1328 Update FSF's address in GPL notices.
1329
0e0dddda
EZ
13302005-06-13 Eli Zaretskii <eliz@gnu.org>
1331
1332 * makefile.w32-in ($(DOC)): Fix last change.
1333
5a77c8e2
EZ
13342005-06-12 Eli Zaretskii <eliz@gnu.org>
1335
1336 * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
1337 temacs.exe, and the preloaded *.elc files. This avoids
1338 unnecessary dumping and DOC rebuilding.
1339
1a8fb426
EZ
13402005-06-04 Eli Zaretskii <eliz@gnu.org>
1341
1342 * ntlib.h (fileno): Don't define if already defined.
1343
7235a58f
TTN
13442005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
1345
1346 * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
1347 (yow): Use EXIT_FAILURE in case of memory error.
1348
5063dbbf
YM
13492005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1350
1351 * make-docfile.c (DIRECTORY_SEP): New macro.
1352 (IS_DIRECTORY_SEP): Use it.
1353
880820fe 13542005-03-18 Jan Djärv <jan.h.d@swipnet.se>
5b9562c3
JD
1355
1356 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
1357
ba025f6d
YM
13582005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1359
1360 * make-docfile.c: Undo previous change.
1361
a9eedf40
AS
13622005-02-04 Andreas Schwab <schwab@suse.de>
1363
0e0dced5
JB
1364 * movemail.c (fatal): Accept third parameter and pass down to error.
1365 (pfatal_with_name): Pass error string as format parameter instead of
1366 as part of format string.
a9eedf40
AS
1367 (pfatal_and_delete): Likewise.
1368 (main): Adjust call to fatal.
1369 (xmalloc): Likewise.
1370
5a92a9eb
RS
13712005-01-29 Richard M. Stallman <rms@gnu.org>
1372
1373 * movemail.c (popmail): Don't use Errmsg as format string.
1374
e6973a25
ST
13752004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1376
0e0dced5 1377 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
e6973a25 1378
1bb3da38
AS
13792004-12-15 Andreas Schwab <schwab@suse.de>
1380
1381 * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
1382 preprocessing to compile time constant.
1383
d4a38fdd
KS
13842004-11-17 Kim F. Storm <storm@cua.dk>
1385
1386 * etags.c: Undo last change.
1387
f2eb41c8
KS
13882004-11-09 Kim F. Storm <storm@cua.dk>
1389
1390 * make-docfile.c (scan_c_file): Set defvarperbufferflag to
1391 silence compiler.
1392
1393 * hexl.c (main): Init local var c to silence compiler.
1394
1395 * etags.c (main, consider_token, C_entries): Add misc switch
1396 default targets to silence compiler.
1397
880820fe 13982004-11-09 Jan Djärv <jan.h.d@swipnet.se>
3cf5c994
JD
1399
1400 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
1401 resulting DOC file can be used on Unix/Mac also.
1402
880820fe 14032004-09-13 Francesco Potortì <pot@gnu.org>
e057dc50
FP
1404
1405 * etags.c (main): When relative file names are given as argument,
1406 make them relative to the current working dir, rather than
1407 relative to the output tags file, if the latter is in /dev.
1408
880820fe 14092004-09-13 Francesco Potortì <pot@gnu.org>
05d9a399
FP
1410
1411 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
1412 <stdlib.h> is available.
1413 (enum sym_type): New st_C_attribute value for parsing
1414 gcc's __attribute__. Deleted st_C_typespec value.
1415 (gperf, in_word_set): Use gperf 3, options changed. Added the
1416 __attribute__ keyword, removed all the st_C_typespec keywords,
1417 changed attribute for Java to (C_JAVA & !C_PLPL).
1418 (inattribute): New global bool, part of the C state machine.
1419 (cblev): Identifier renamed to bracelev throughout.
1420 (consider_token, C_entries): Numerous changes for making the
1421 parser more robust and adding support for __attribute__.
1422
14232004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
1424
ecc54057 1425 * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
05d9a399
FP
1426 Support the Lua scripting language <http://www.lua.org>.
1427
880820fe 14282004-09-08 Francesco Potortì <pot@gnu.org>
fba74375 1429
d57727c9 1430 * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
fba74375
FP
1431 for ease of use.
1432
3751eb00
RS
14332004-07-17 Richard M. Stallman <rms@gnu.org>
1434
1435 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
1436
86d373e6
JB
14372004-06-01 Juanma Barranquero <lektu@terra.es>
1438
1439 * makefile.w32-in (obj): Add image.c.
1440
80e26b66
TTN
14412004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
1442
0e0dced5 1443 * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
80e26b66 1444
e6662c8b
JR
14452004-05-08 Jason Rumney <jasonr@gnu.org>
1446
1447 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
1448 command-lines.
1449
65396510
TTN
14502004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
1451
1452 * cvtmail.c: Throughout, replace 0 destined for `exit' arg
1453 with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
1454 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
1455
1456 * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
86d373e6
JB
1457 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
1458 * test-distrib.c, update-game-score.c, yow.c: Likewise.
65396510 1459
c2bcfb19
TTN
14602004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
1461
1462 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
1463
3f0656ff
TTN
14642004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
1465
1466 * b2m.c (GOOD, BAD): Delete macros. Throughout,
1467 replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
1468 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
1469
1470 * etags.c: Likewise.
1471
238add5e
JR
14722004-05-03 Jason Rumney <jasonr@gnu.org>
1473
1474 * makefile.nt: Remove.
1475
b09c5608
EZ
14762004-04-26 Eli Zaretskii <eliz@gnu.org>
1477
1478 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
1479 (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
1480 instead of a literal '/'.
1481
d814862a
JB
14822004-04-23 Juanma Barranquero <lektu@terra.es>
1483
1484 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
1485
442a2160
PE
14862004-04-17 Paul Eggert <eggert@gnu.org>
1487
1488 * rcs2log (Help): Clarify wording of the usage message.
1489 Problem reported by Alan Mackenzie in
1490 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
1491
d5d66b7e
SM
14922004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1493
1494 * make-docfile.c (xmalloc): Fix return type.
1495 (put_filename): New fun.
1496 (scan_file): Use it.
1497
bdfd0369
JB
14982004-03-09 Juanma Barranquero <lektu@terra.es>
1499
1500 * grep-changelog: Changes to support ChangeLog.10+.
1501 (main): Tidy up usage string. Fix "Use of uninitialized value"
1502 warning. Set version to 0.2. Parse the directory listing to get
1503 any ChangeLog.n file, not just 1..9.
1504 (header_match_p, entry_match_p, print_log, parse_changelog):
1505 Remove Perl prototypes (their purpose is to help the parser, which
1506 isn't needed here, not declare arguments).
1507 (parse_changelog): Make --reverse faster on big batches by not
1508 modifying the entries list.
1509
a64387ee
JB
15102004-03-01 Juanma Barranquero <lektu@terra.es>
1511
1512 * makefile.w32-in (obj): Add fringe.c.
1513
9766d41b
PE
15142004-02-14 Paul Eggert <eggert@twinsun.com>
1515
1516 * rcs2log: Work correctly if CVSROOT specifies :fork: or
1517 :local: methods, or omits the colon between the hostname
1518 and the path. Allow :/ in repository path, since CVS does.
1519 Fix typo: "pository" should be set from $CVSROOT, not $repository.
1520 This fixes a bug reported by Wolfgang Scherer in
1521 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
1522 along with some related bugs I discovered by inspecting how
1523 CVS itself parses $CVSROOT.
1524
880820fe 15252004-02-04 Jérôme Marant <jmarant@nerim.net> (tiny change)
98c6e531
SM
1526
1527 * emacsclient.c (decode_options): Fix handling of alternate editor.
1528
0734b0d0
SM
15292004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
1530
1531 * emacsclient.c (main): Don't use the hostname in the socket name.
1532 Look for relative socket names in the /tmp dir rather than in cwd.
1533
2a6fc2d9
RS
15342004-01-24 Richard M. Stallman <rms@gnu.org>
1535
1536 * emacsclient.c (main): Restore errno from saved_errno,
1537 so the error message comes from socket_status.
1538
0734b0d0
SM
15392004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1540
1541 * emacsclient.c (main): Stop if socket name too long.
1542 Only try su-fallback if the socket name was not explicit.
1543 Check socket name length in su-fallback case as well.
1544
152b6e83
AS
15452004-01-08 Andreas Schwab <schwab@suse.de>
1546
1547 * emacsclient.c (main): Save errno from socket_status.
1548
e8228824
AS
15492004-01-04 Andreas Schwab <schwab@suse.de>
1550
1551 * emacsclient.c (main): Fix socket name when using another user.
1552
c9140662
PE
15532003-12-27 Paul Eggert <eggert@twinsun.com>
1554
1555 * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
1556 a tag, and if the user has not specified an rlog option.
1557 Adapted from a suggestion by Martin Stjernholm in
1558 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
1559 (Copyright): Update to 2003.
1560
8babaa59
TTN
15612003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
1562
1563 * make-docfile.c (main): For return code, no longer special-case VMS.
1564 Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
1565
880820fe 15662003-09-28 Andreas Büsching <crunchy@tzi.de> (tiny change)
14ef7288
EZ
1567
1568 * emacsclient.c (quote_file_name): Print the result instead of
1569 returning it. Fix the return type accordingly.
1ae7cf5e
RS
1570 (main): With --eval, if no file name, read from stdin.
1571 Quote file names.
14ef7288 1572
f387bdea
RS
15732003-09-10 Richard M. Stallman <rms@gnu.org>
1574
07655e62 1575 * emacsclient.c (main): Use socket_name.
f387bdea 1576
880820fe 15772003-09-10 Andreas Büsching <crunchy@tzi.de> (tiny change)
f387bdea
RS
1578
1579 * emacsclient.c (socket_name): New variable.
1580 (longopts, decode_options, print_help_and_exit):
1581 Handle --socket-name argument.
1582
0b7e7337
FP
15832003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
1584
783bcffa 1585 * etags.c (consider_token): Check C++ `operator' only when the
0b7e7337
FP
1586 token len is long enough.
1587
ac06b30b
DL
15882003-08-20 Dave Love <fx@gnu.org>
1589
1590 * Makefile.in: Remove obsolete references to alloca.
1591
32b0a3c6
JB
15922003-07-29 Ken Brush <ken@wirex.com>
1593
1594 * emacsclient.c (main)
1595 * etags.c (suggest_asking_for_help)
1596 * movemail.c (main): Fix having macros in a printf statement.
1597
3867c42d
JB
15982003-05-31 Juanma Barranquero <lektu@terra.es>
1599
1600 * makefile.w32-in (lisp): Fix references to byte-run.el,
1601 float-sup.el and map-ynp.el, which are now in emacs-lisp.
1602
7933722a
DL
16032003-05-22 Dave Love <fx@gnu.org>
1604
1605 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
1606 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
1607
463f55ee
DL
16082003-05-20 Dave Love <fx@gnu.org>
1609
1610 * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
1611
1612 * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
1613
1b7a835b
JB
16142003-04-27 Oliver Scholz <alkibiades@gmx.de>
1615
0e0dced5 1616 * update-game-score.c (read_scores): Fix corruption of scores on read.
1b7a835b 1617
eec54bd7
SM
16182003-04-12 Stefan Monnier <monnier@cs.yale.edu>
1619
1620 * emacsclient.c (main): Use new safe location for socket.
1621
ff4bd681
JB
16222003-03-12 Tom Tromey <tromey@redhat.com>
1623
eec54bd7
SM
1624 * emacsclient.c (print_help_and_exit): Print to stdout.
1625 Exit successfully. Added some blank lines for readability.
ff4bd681
JB
1626 (decode_options): Don't call print_help_and_exit in default case.
1627 Print version information to stdout.
1628 (main): Don't call print_help_and_exit.
1629
dd132e44
RS
16302003-02-15 Richard M. Stallman <rms@gnu.org>
1631
1632 * cvtmail.c: Cast result of malloc and realloc.
10d1d0af 1633 Don't include stdlib.h, because config.h does.
dd132e44 1634 (malloc, realloc): Declarations deleted.
ff4bd681 1635
dd132e44
RS
1636 * yow.c (yow): Cast result of malloc and realloc.
1637 (malloc, realloc): Declarations deleted.
1638
71ffc53a
JB
16392003-02-11 Juanma Barranquero <lektu@terra.es>
1640
1641 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
1642
0dfd93c0
AS
16432003-02-08 Andreas Schwab <schwab@suse.de>
1644
1645 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
1646 instead of the substitution.
1647
37d1e680
RS
16482003-02-04 Richard M. Stallman <rms@gnu.org>
1649
1650 * update-game-score.c (push_score, read_scores): Cast values
1651 of malloc and realloc.
1652 (main, lock_file): Avoid assignment inside if.
1653
c60ee5e7
JB
16542003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
1655
1656 * Makefile.in: Use @EXEEXT@ for Cygwin.
1657
b24e2dc7
DL
16582003-01-21 Dave Love <fx@gnu.org>
1659
1660 * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
1661 column-0 `('.
1662
1663 * yow.c: Don't include string.h.
1664
675d000f
RS
16652003-01-20 Richard M. Stallman <rms@gnu.org>
1666
1667 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
1668 New targets.
1669
207aa3ff
KS
16702003-01-06 Kim F. Storm <storm@cua.dk>
1671
31fa6595 1672 * pop.c (__P): Rename from _P to avoid problems on Cygwin.
207aa3ff
KS
1673 All uses changed.
1674
cf6d30d7
AI
16752002-12-18 Andrew Innes <andrewi@gnu.org>
1676
1677 * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
1678 because GNU make doesn't append when using >> redirection.
1679
f0131492 16802002-12-12 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
649fc2c5
PJ
1681
1682 * b2m.pl: Make sure every message ends with a blank line, because
1683 some mbox parsers require a blank line before "From " lines.
1684
85cce843
RS
16852002-12-08 Richard M. Stallman <rms@gnu.org>
1686
1687 * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
1688 (_): Test only HAVE_LIBINTL_H to decide what to do.
1689
2ccc4d34
RS
16902002-12-05 Richard M. Stallman <rms@gnu.org>
1691
1692 * getopt.c: Comment out include of libintl.h or gettext.h.
1693
c5992177
RS
16942002-12-04 Richard M. Stallman <rms@gnu.org>
1695
1696 * Update getopt from gnulib version; changes described below.
1697
1698 * getopt1.c: Conditionally find getopt.h.
1699 [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
1700
1701 * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
1702 (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
c60ee5e7 1703 (wchar.h): Include, maybe.
10d1d0af 1704 (attribute_hidden): Define if not defined.
c5992177
RS
1705 (__getopt_initialized): Use attribute_hidden.
1706 (__libc_argc, __libc_argv): Renamed from original_argc, etc.
d7982012
JB
1707 (__getopt_nonoption_flags, nonoption_flags_max_len)
1708 (nonoption_flags_len): Conditional on USE_NONOPTION_FLAGS.
c5992177
RS
1709 (SWAP_FLAGS): New definitions.
1710 (exchange): Test USE_NONOPTION_FLAGS.
1711 (_getopt_initialize): Test USE_NONOPTION_FLAGS.
1712 (_getopt_internal): Error if argc < 1. New local var print_errors.
1713 Improve test for ambiguous long option.
1714 Add LIBIO support for error message output.
1715 (NONOPTION_P): Test USE_NONOPTION_FLAGS.
1716
1717 * getopt.h: Maybe include ctype.h.
1718 Treat __cplusplus like __STDC__.
1719 (decls): Use __ in arg names.
1720
4b5e69bd
SE
17212002-12-02 Stephen Eglen <stephen@gnu.org>
1722
1723 * emacsclient.c (main): Tell user how to start server within Emacs
1724 if socket could not be found.
1725
19fa03f3
RS
17262002-12-02 Richard M. Stallman <rms@gnu.org>
1727
1728 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
1729
7be215b4
JB
17302002-11-19 Ben Key <bkey1@tampabay.rr.com>
1731
29f538e6
BK
1732 * makefile.w32-in: Fixed a bug that caused the documentation for
1733 the built in function play-sound-internal not to be included in
1734 /etc/DOC.
7be215b4 1735
1998560a
DL
17362002-11-18 Dave Love <fx@gnu.org>
1737
1738 * update-game-score.c: Include unistd.h, string.h, stdlib.h,
1739 fcntl.h, stdarg.h conditionally.
1740 (_GNU_SOURCE, __attribute__): Don't define.
1741 (optarg, optind, opterr): Declare.
1742 (lose, lose_syserr): Use NO_RETURN.
1743 (get_user_id): Use P_.
1744
8b96caf3
RS
17452002-11-17 Richard M. Stallman <rms@gnu.org>
1746
1747 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
1748
59daa29a
DL
17492002-11-14 Dave Love <fx@gnu.org>
1750
1751 * movemail.c (pop_retr): Declare comment.
1752
1753 * make-docfile.c (read_c_string_or_comment): Declare msgno.
9a007cb7
DL
1754
1755 * Makefile.in (YACC): Deleted.
1756
f1b443bf
AS
17572002-10-19 Andreas Schwab <schwab@suse.de>
1758
1759 * Makefile.in (${archlibdir}): Always create $(gamedir).
1760 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
1761
52402e4f
JB
17622002-10-04 Juanma Barranquero <lektu@terra.es>
1763
1764 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
1765
15dab115
MR
17662002-09-30 Markus Rost <rost@math.ohio-state.edu>
1767
1768 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
1769 completely.
1770
30be2360
SM
17712002-09-27 Stefan Monnier <monnier@cs.yale.edu>
1772
1773 * emacsclient.c: Remove SYSV support.
1774 (eval, display): New vars.
1775 (longopts): Add --eval and --display.
1776 (decode_options): Add -e and -d processing.
1777 (print_help_and_exit): Update the usage string.
1778 (main): Add support for --eval and --display.
3ecdcd59 1779 (main): Always use /tmp and non-qualified hostname.
30be2360 1780
4208da83
SM
17812002-09-25 Stefan Monnier <monnier@cs.yale.edu>
1782
1783 * emacsserver.c: Remove.
1784
3cf8c6aa
SM
17852002-09-17 Stefan Monnier <monnier@cs.yale.edu>
1786
1787 * emacsclient.c (quote_file_name): Quote \n.
1788 (main): Print a final \n when needed.
1789
880820fe 17902002-09-03 Francesco Potortì <pot@gnu.org>
4c6dce51
FP
1791
1792 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
1793 string that cannot be freed.
1794
880820fe 17952002-08-30 Francesco Potortì <pot@gnu.org>
ba88f8eb
FP
1796
1797 * etags.c (consider_token, C_entries): Switch to C++ parsing when
1798 auto-detection is enabled and the `::' qualifier is met.
1799 (consider_token, C_entries): Several bugs corrected that tagged
1800 some declarations even though --declarations was not used.
1801 (plainc): New macro.
1802 (C_entries): Use it.
1803 (C_entries): Several cosmetic changes.
1804 (C_entries): Invalidate the token is some cases.
1805
880820fe 18062002-08-29 Francesco Potortì <pot@gnu.org>
09cd1a74 1807
eec54bd7 1808 * etags.c (C_entries): Correct a problem with const C++ funcs.
09cd1a74
FP
1809 (ignoreindent): Renamed from noindentypedefs.
1810 (cjava, cplpl): They are now macros instead of local vars.
1811
880820fe 18122002-08-28 Francesco Potortì <pot@gnu.org>
09cd1a74
FP
1813
1814 * etags.c (HTML_labels): Tag ID= also.
1815
880820fe 18162002-08-27 Francesco Potortì <pot@gnu.org>
87046df8
FP
1817
1818 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
1819
ecc54057 1820 * etags.c (HTML_labels): New language HTML.
8ee14629
FP
1821 (etags_strcasecmp): Like BSD's, for compatibility.
1822 (strcaseeq): Make it into a macro.
1823
1824 * etags.c (make_tag): Never generate null length tag names.
87046df8
FP
1825 (linebuffer_init): Renamed from initbuffer. All callers changed.
1826 (pattern): Structure renamed to `regexp', member regex renamed to
1827 pattern.
1828 (node_st): Member pat renamed to regex.
eec54bd7
SM
1829 (pattern); New member force_explicit_name, for future use.
1830 Now always set to true, cannot be reset.
87046df8
FP
1831 (add_regex, regex_tag_multiline, readline): Use it.
1832 (main): Free some global structures.
8ee14629 1833 (fdesc): New member `written'.
87046df8
FP
1834 (readline, process_file): Initialise it.
1835 (put_entries): Set it.
1836 (main): Use it to create entries for files without tags.
1837 (total_size_of_entries): Do not count invalid tags.
87046df8 1838
02ce3e80
SM
18392002-08-19 Stefan Monnier <monnier@cs.yale.edu>
1840
1841 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
1842 for the function name in the usage info.
1843
5fba5c21
CW
18442002-07-31 Colin Walters <walters@gnu.org>
1845
1846 * update-game-score.c (P_): New macro. Use it for all prototypes.
1847 (lose): Don't use varargs.
1848 (lose_syserr): New function.
1849
1850 * update-game-score.c: Change all functions to K&R style.
1851
712eaee0
AS
18522002-07-30 Andreas Schwab <schwab@suse.de>
1853
1854 * Makefile.in (localstatedir): New variable.
1855
f0131492 18562002-07-29 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
c89ed6ef
PJ
1857
1858 * b2m.pl: Fix regexp for finding return address fields.
1859
1e042160
SM
18602002-07-15 Stefan Monnier <monnier@cs.yale.edu>
1861
1862 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
1863
f0131492 18642002-07-05 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
e9b60209 1865
02ce3e80 1866 * b2m.pl: Obey the rmail file and use the unpruned header properly.
e9b60209 1867
880820fe 18682002-06-26 Pavel Janík <Pavel@Janik.cz>
9ee028d2
PJ
1869
1870 * b2m.pl: New file.
1871
880820fe 18722002-06-21 Francesco Potortì <pot@gnu.org>
e1af8d40 1873
ecc54057 1874 * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
e1af8d40
FP
1875 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
1876 (PHP_functions, PHP_functions, Cobol_paragraphs)
1877 (Makefile_targets, Postscript_functions, Texinfo_nodes)
1878 (prolog_pr, erlang_func, erlang_attribute)
1879 (Perl_functions, Perl_functions, Pascal_functions)
1880 (TeX_commands, get_tag): Use make_tag instead of pfnote.
1881 (get_tag): Prototype changed, all callers changed.
1882
880820fe 18832002-06-20 Francesco Potortì <pot@gnu.org>
ceaeb365 1884
d76132d0
FP
1885 * etags.c: Implement implicit tag names, that is, unnamed tags
1886 whose name is automatically deduced by etags.el. The advantage is
1887 that there is no explicit tag name in most tags, so the size of
1888 the tags file is reduced, yet find-tag is able to do a match as
eec54bd7 1889 accurate as with named tags. See the comment in make_tag for details.
ceaeb365
FP
1890 (make_tag): New function (was the disabled function new_pfnote).
1891 (make_C_tag): Use it.
1892
880820fe 18932002-06-19 Francesco Potortì <pot@gnu.org>
f175bfff
FP
1894
1895 * etags.c (add_regex): Invalid regexp modifiers are ignored.
1896 (Makefile_targets): Tag variables unless --no-globals.
1897 (LOOP_ON_INPUT_LINES): Serious bug corrected.
1898
880820fe 18992002-06-13 Francesco Potortì <pot@gnu.org>
82ef78b3
FP
1900
1901 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
1902 (invalidate_nodes): Bug corrected.
1903 (print_help): Better help for regexps.
1904
7a8940da
JB
19052002-06-13 Juanma Barranquero <lektu@terra.es>
1906
1907 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
1908 font-core.elc.
1909
880820fe 19102002-06-12 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
1911
1912 * etags.c: New multi-line regexp and new regexp syntax.
1913 (arg_type): at_icregexp label removed (obsolete).
1914 (pattern): New member multi_line for multi-line regexps.
1915 (filebuf): A global buffer containing the whole file as a string
1916 for multi-line regexp matching.
1917 (need_filebuf): Global flag raised if multi-line regexps used.
1918 (print_help): Document new regexp modifiers, remove references to
1919 obsolete option --ignore-case-regexp.
1920 (main): Do not set regexp syntax and translation table here.
1921 (main): Treat -c option as a backward compatibility hack.
1922 (main, find_entries): Init and free filebuf.
1923 (find_entries): Call regex_tag_multiline after the regular parser.
10d1d0af 1924 (scan_separators): Check for unterminated regexp and return NULL.
6861f0e3
FP
1925 (analyse_regex, add_regex): Remove the ignore_case argument, which
1926 is now a modifier to the regexp. All callers changed.
1927 (add_regex): Manage the regexp modifiers.
1928 (regex_tag_multiline): New function. Reads from filebuf.
1929 (readline_internal): If necessary, copy the whole file into filebuf.
1930 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
1931
880820fe 19322002-06-11 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
1933
1934 * etags.c (add_regex): Better check for null regexps.
1935 (readline): Check for regex matching null string.
6772c8e1 1936 (find_entries): Reorganization.
6861f0e3 1937
880820fe 19382002-06-07 Francesco Potortì <pot@gnu.org>
f0da41a6
FP
1939
1940 * etags.c (scan_separators): Support all character escape
1941 sequences supported by Gcc.
02ce3e80 1942 (find_entries): Rewind unconditionally.
f0da41a6
FP
1943 (find_entries): Do not call language functions directly, now calls
1944 itself.
1945 (find_entries): Do general initialisations here.
1946 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
1947 (Ada_getit, Pascal_functions, Pascal_functions)
1948 (prolog_skip_comment): Do not do them here.
1949 (readline_internal): Increment lineno here.
1950 (readline): Conditionally undo readline_internal increment.
1951 (readline): Do not return a value.
1952
880820fe 19532002-06-06 Francesco Potortì <pot@gnu.org>
5526f1f6 1954
88c71720 1955 * etags.c: New option --parse-stdin=FILE.
97b90b0a
FP
1956 (enum arg_type): New label at_stdin.
1957 (STDIN): New constant.
1958 (parsing_stdin): New flag.
1959 (longopts): New option --parse-stdin=NAME.
1960 (print_help): Document it.
1961 (main): Handle it.
1962 (process_file): Split into process_file and process_file_name.
1963 (process_file_name): New function.
1964
88c71720 1965 * etags.c: Improvements and bug squashing in TeX handling.
97b90b0a 1966 (TeX_commands): Skip comments.
10d1d0af 1967 (TEX_defenv): Now contains more constructs.
5526f1f6
FP
1968 (TEX_cmt): Make it a static char and move it before TeX_commands.
1969 (TeX_commands): Shorten the tag to the brace after the name.
1970 (TeX_commands): Names now include the initial backslash.
1971 (TeX_commands): Names do not include numeric args #n.
1972 (TeX_commands): Correct line char number in tags.
1973 (TEX_tabent, TEX_token): Deleted.
1974 (TeX_commands, TEX_decode_env): Streamlined.
1975
880820fe 19762002-06-05 Francesco Potortì <pot@gnu.org>
50496bd9
FP
1977
1978 * etags.c (main): Avoid a buffer overrun with sprintf.
1979
a71867c5
RS
19802002-05-30 Richard M. Stallman <rms@gnu.org>
1981
1982 * Makefile.in (LIBS_MAIL): Renamed from LIB_MAIL.
1983 (LIBS_MOVE): Renamed from MOVE_LIBS.
1984
b7e67db6
PE
19852002-05-26 Paul Eggert <eggert@twinsun.com>
1986
1987 Reinstate the following change from 2002-03-22, which was
1988 inadvertently lost on 2002-04-13.
1989
1990 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
1991 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
1992 the latter usage.
1993
5f226e2c
EZ
19942002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
1995
1996 * pop.c (socket_connection): Move the code to resolve the POP
1997 host right before trying to connect with it.
1998
9021bb49
GM
19992002-05-05 Eli Zaretskii <eliz@is.elta.co.il>
2000
2001 * tcp.c: Delete file since the TCP emulation is no longer in use on any
2002 platform.
2003
5167cfda
CW
20042002-04-28 Colin Walters <walters@verbum.org>
2005
2006 * Makefile.in (${archlibdir}): Don't conditionalize on
2007 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
2008 or not we have access to the specified game user.
50496bd9 2009
5167cfda
CW
2010 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
2011 (main): New argument -d, for specifying directory.
2012 (usage): Document.
02ce3e80 2013 (get_user_id): Compute.
5167cfda
CW
2014 (get_home_dir): Deleted.
2015 (get_prefix): New function, taken from main.
2016 (main): Check whether or not we are running setuid. Move prefix
2017 computation to get_prefix. Don't call getpwent; we don't need to
2018 any more. Instead, move it to get_user_id().
2019
880820fe 20202002-04-24 Pavel Janík <Pavel@Janik.cz>
beedfcf1
PJ
2021
2022 * ebrowse.c (skip_initializer): Return void.
2023
973c3c87
CW
20242002-04-23 Colin Walters <walters@verbum.org>
2025
2026 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
2027 space.
2028
880820fe 20292002-04-22 Francesco Potortì <pot@gnu.org>
8378bcd3 2030
ecc54057 2031 * etags.c (last_node): Make it a global variable.
8378bcd3
FP
2032 (process_file): Print the tags from the nodes as soon as
2033 possible, and delete the nodes. This brings down the memory
2034 occupancy as etags to almost the same level as when the #line
2035 directives were not parsed.
2036 (free_fdesc): New function.
2037 (find_entries): Use it.
2038 (invalidate_nodes): In etags mode, do not just mark the nodes as
2039 invalid, do delete them.
2040
c901ceff
GM
20412002-04-21 Gerd Moellmann <gerd@gnu.org>
2042
2043 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
2044
c42d6dbd
EZ
20452002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
2046
2047 * update-game-score.c: Move config.h before the other headers, to
2048 avoid compiler warnings.
2049
880820fe 20502002-04-16 Francesco Potortì <pot@gnu.org>
090416ca
FP
2051
2052 * etags.c (find_entries): Bug fix in list management.
2053
880820fe 20542002-04-15 Francesco Potortì <pot@gnu.org>
5dab24c1
FP
2055
2056 * etags.c (get_language_from_filename): Add one argument.
2057 (strcaseeq): New function.
10d1d0af 2058 (get_language_from_filename): Use it to do a case insensitive
5dab24c1
FP
2059 comparison if called with appropriate args.
2060 (find_entries): Try with case insensitive match.
2061 (process_file): Bug fixed.
2062
880820fe 20632002-04-13 Francesco Potortì <pot@gnu.org>
c150db23
FP
2064
2065 * etags.c (find_entries): Delete tags previously obtained from
2066 file xxx.c's #line directives when parsing file xxx.y. This is
2067 generally done for automatically generated files containing
2068 #line directives. This handles the case when xxx.y is tagged
2069 before xxx.c, and the entries of xxx.c pointing to xxx.y should
2070 be discarded.
eec54bd7 2071 (language): Add the metasource member. Initializers changed.
c150db23
FP
2072 (invalidate_nodes): New function.
2073 (readline): Discard lines after having found a #line
02ce3e80 2074 directive pointing to an already tagged file. This handles the
c150db23
FP
2075 case when xxx.y is tagged before xxx.c, and the entries of
2076 xxx.c pointing to xxx.y should be discarded.
2077 (fdesc): New structure for keeping track of input files.
2078 (fdesc): Remove `file' member (a string) and use instead a pointer
2079 to a file description structure.
02ce3e80
SM
2080 (curfile, curfiledir, curtagfname, curlang, nocharno)
2081 (forced_lang): Global variables removed in favor of fdhead and
10d1d0af 2082 curfdp, pointers to file description structures.
c150db23
FP
2083 (longopts, main, print_help): Use the CTAGS conditional to include
2084 or exclude options that work on etags or ctags only.
02ce3e80
SM
2085 (process_file, find_entries, pfnote, add_node, put_entries)
2086 (readline): Use fdhead and curfdp.
c150db23
FP
2087 (process_file, find_entries): Do not take an arg string, all
2088 callers changed.
2089
2090 * etags.c (longopts, print_help, main): Test CTAGS to disallow
2091 options that are not right for either etags or ctags.
2092
2093 * etags.c (number_len, total_size_of_entries): Define them also
2094 in CTAGS mode, because gcc does not compile all refs away.
2095
e9d1f248
CW
20962002-04-14 Colin Walters <walters@debian.org>
2097
2098 * update-game-score.c (lock_file): If the lock file is older than
2099 an hour, delete it. Reset attempts to zero if we have to break
2100 the lock.
2101
7605f1bd
AS
21022002-04-14 Andreas Schwab <schwab@suse.de>
2103
2104 * update-game-score.c (read_score): Fix type of second parameter
2105 of getdelim to be of type size_t instead of int. Use 0 instead of
2106 ESUCCES.
2107
e82defd1
CW
21082002-04-10 Colin Walters <walters@verbum.org>
2109
ecc54057 2110 * update-game-score.c (toplevel): Include stdarg.h.
b9b966e0
CW
2111 (MAX_DATA_LEN, MAX_SCORES): New.
2112 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
2113 default to ~/.emacs.d/games.
2114 (get_user_id): Don't zero uid in the case where we can't get the
2115 username.
2116 (lose): New function.
2117 (main): Actually use `max', and default it to MAX_SCORES.
2118 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
2119 function.
2120 (read_score): Handle the case of reading unamelen characters, then
2121 finishing. Use mktemp if mkstemp isn't available.
2122 (lock_file, unlock_file): Delete unused versions.
2123 (lock_file): Always sleep, even if we unlinked the lock file.
2124
e82defd1
CW
2125 * Makefile.in (gamedir, gameuser): New variables.
2126 (toplevel, UTILITIES): Add update-game-score.
2127 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
2128
5795b420
CW
21292002-04-07 Colin Walters <walters@verbum.org>
2130
2131 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
2132 (get_user_id): Take struct passwd as an argument.
2133 (get_home_dir): New function.
2134 (main): Read in user information here. Discover home directory if
2135 necessary.
2136 (read_score): Trim newline only in `getline' case.
2137
cd553ffb 21382002-04-05 Colin Walters <walters@debian.org>
c150db23 2139
cd553ffb
CW
2140 * update-game-score.c (toplevel): Include pwd.h.
2141 (struct score_entry): Add username field.
2142 (push_score): Use it.
2143 (get_user_id): New function.
2144 (main): Don't malloc excessively.
2145 (main): Use username field.
2146 (read_score): Read it.
2147 (push_score): Handle it.
07655e62 2148 (write_scores): Write it.
c150db23
FP
2149 (read_score): Handle arbitrary length data.
2150
b74bd4a3
EZ
21512002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
2152
2153 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
2154
fa8bc89d
GM
21552002-03-29 Gerd Moellmann <gerd@gnu.org>
2156
2157 * ebrowse.c (add_declarator, skip_initializer): New functions.
2158 (declaration): Use them.
2159
dd87b4cc
JR
21602002-03-28 Jason Rumney <jasonr@gnu.org>
2161
2162 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
2163
cd553ffb
CW
21642002-03-27 Colin Walters <walters@debian.org>
2165
2166 * update-game-score.c: New file.
2167
dfef6d49
PE
21682002-03-22 Paul Eggert <eggert@twinsun.com>
2169
2170 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
2171 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
2172 the latter usage.
2173
880820fe 21742002-03-12 Francesco Potortì <pot@gnu.org>
a13d6523 2175
4fff90e4 2176 * etags.c (Python_functions): Skip spaces at beginning of lines.
a13d6523
FP
2177 (Python_functions, PHP_functions): Name tags, for ctags' sake.
2178 (TeX_commands): Name tags. Correction of old disabled code.
2179
2180 * etags.c (curfiledir, curtagfname): New global variables.
2181 (process_file): Initialise them.
2182 (readline): Canonicalize the name found in #line directive.
893a741e 2183
4fff90e4 21842002-03-06 Jason Rumney <jasonr@gnu.org>
ca55a1e3 2185
893a741e
JR
2186 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
2187 compilers that don't optimize out dead code.
2188
880820fe 21892002-03-05 Francesco Potortì <pot@gnu.org>
51aeded3
FP
2190
2191 * etags.c: Honour #line directives.
a7c29764 2192 (no_line_directive): New global var; set it for old behavior.
51aeded3
FP
2193 (main): Remove some #ifdef in the getopt switch.
2194 (add_node, put_entries): Code added to merge different chunks of
2195 nodes referring to the same file. Currently the tags are just
2196 appended, without any check for duplicates.
2197 (Perl_functions): Do not special case ctags.
2198 (readline): Identify #line directives and do the right thing.
2199 (nocharno, invalidcharno): New global vars.
2200 (process_file): Reset nocharno.
2201 (readline): Set nocharno.
2202 (pfnote): Read nocharno and maybe put invalidcharno in node.
2203 (total_size_of_entries, put_entries): Use invalidcharno.
2204
2205 * etags.c: Keep the whole tag table in memory, even in etags mode.
2206 (main): Call put_entries here even in CTAGS mode.
2207 (main, process_file): Check the return values of fclose and pclose.
2208 (process_file): Do not call put_entries after parsing each file.
2209 (process_file): Canonicalise file names even for ctags.
2210 (process_file): Set curfile here...
2211 (find_entries): ... not here any more.
2212 (add_node): In etags mode, build a linked list of entries (on
2213 right pointer) for each file, and link the first entry of each
2214 file on left nodes.
2215 (put_entries): Print here the name of the file.
2216 (put_entries): Print the entries starting from the first file.
c150db23 2217 (number_len, total_size_of_entries): Define these only in etags
51aeded3
FP
2218 mode, make the second work only on the right nodes.
2219
2220 * etags.c: Make all global variables static.
2221
50ce1f62
JB
22222002-02-25 Juanma Barranquero <lektu@terra.es>
2223
2224 * makefile.w32-in (lisp): Add missing backslash.
2225
82a399d2
JR
22262002-02-24 Jason Rumney <jasonr@gnu.org>
2227
2228 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
2229 using .elc files.
2230 (lisp): Sync with list in src/Makefile.in
2231 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
2232
a279c920
PE
22332002-02-10 Paul Eggert <eggert@twinsun.com>
2234
2235 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
2236 disallows the old syntax.
2237
0caa685d
PE
22382002-02-03 Paul Eggert <eggert@twinsun.com>
2239
d7982012 2240 * rcs2log (Copyright): Update to 2002.
0caa685d
PE
2241 (AWK, TMPDIR): Work around portability problem in broken shells that
2242 don't understand `: ${VAR=val}'.
2243 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
2244 Prefer the new -k option to the traditional +M -N option.
2245
880820fe 22462002-01-01 Pavel Janík <Pavel@Janik.cz>
03950b5b
PJ
2247
2248 * b2m.c (main): Parenthesize assignment when used as truth value
2249 to prevent gcc warnings.
2250
2251 * fakemail.c: Include <config.h>.
2252
880820fe 22532001-12-29 Pavel Janík <Pavel@Janik.cz>
2f8fe2f4
PJ
2254
2255 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
2256 * yow.c: Include <config.h>.
2257
880820fe 22582001-12-21 Francesco Potortì <pot@gnu.org>
a60e4de9
FP
2259
2260 * etags.c (Perl_functions): Tag packages and use them in sub tags.
2261 (get_tag): Return a pointer to the tag that is found.
2262
2263 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
2264 (F_takeprec): Renamed from takeprec. All callers changed.
2265 (F_getit): Renamed from getit. All callers changed.
2266 (nocase_tail): Renamed from tail. All callers changed.
2267 (Ada_getit): Renamed from adagetit. All callers changed.
eec54bd7 2268 (L_getit): Simplify by using get_tag.
a60e4de9
FP
2269 (Perl_functions, Postscript_functions, erlang_attribute): Use the
2270 modified LOOKING_AT.
2271 (notinname): Removed '[' and added ')' to the recognised chars.
2272 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
2273 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
2274 Clarified, using strneq or notinname.
2275 (L_isdef, L_isquote): Removed.
2276 (Lisp_functions, L_getit): Clarified.
2277
ecc54057 2278 * etags.c (P_): Renamed to __P for consistency with config.h.
a60e4de9
FP
2279 [HAVE_CONFIG_H]: Let config.h deal with __P.
2280 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
2281 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
2282 gperf code needs it.
ecc54057
JB
2283 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
2284 [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
a60e4de9
FP
2285 (xmalloc, xrealloc): Use PTR instead of long *.
2286 (bool): Make it a define, not a typedef, for C++ compilers.
2287 (pattern): Members renamed to avoid name clash in some C++ compilers.
2288 (get_language_from_langname): Use const argument.
2289
880820fe 22902001-12-22 Pavel Janík <Pavel@Janik.cz>
c95eaa61
PJ
2291
2292 * makefile.nt, makefile.w32-in: Remove mocklisp files.
2293
880820fe 22942001-12-19 Pavel Janík <Pavel@Janik.cz>
69bfc389 2295
b8509940
PJ
2296 * emacsserver.c: Conditionally include config.h.
2297
594aa066
PJ
2298 * fakemail.c: Likewise.
2299
e69233c2
PJ
2300 * emacsclient.c: Include "config.h", not <../src/config.h>.
2301 (main): Parenthesize assignment when used as truth value to
2302 prevent gcc warnings.
2303
69bfc389
PJ
2304 * ebrowse.c: Include stdlib.h and string.h conditionally.
2305
e4e34e31
EZ
23062001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
2307
2308 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
2309
880820fe 23102001-12-18 Pavel Janík <Pavel@Janik.cz>
ffb7c9c6
PJ
2311
2312 * test-distrib.c: Fix previous change.
2313
fb5aa7ac
DL
23142001-12-18 Dave Love <fx@gnu.org>
2315
2316 * test-distrib.c: Conditionally include fcntl.h.
2317
2318 * fakemail.c: Include "config.h", not <../src/config.h>.
2319 (_XOPEN_SOURCE): Define as 500.
2320
2321 * emacsserver.c: Include "config.h", not <../src/config.h>.
2322
2323 * cvtmail.c: Include config.h, stdlib.h.
2324 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
2325
2326 * yow.c: Conditionally include various headers. Use "epaths.h",
2327 not <../src/epaths.h>.
2328 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
2329
880820fe 23302001-12-12 Francesco Potortì <pot@gnu.org>
e94a3679 2331
13dc0576 2332 * etags.c (PHP_functions): New function for parsing PHP.
e94a3679
FP
2333 (LOOKING_AT): New macro.
2334 (Perl_functions, Python_functions, PHP_functions)
2335 (Scheme_functions, Texinfo_nodes): Use it.
2336 (Perl_functions): Use strneq.
2337 (prolog_pred): Renamed to prolog_pr.
13dc0576 2338 (prolog_pr): Recognise Prolog rules in addition to predicates.
e94a3679 2339 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
13dc0576 2340 unmodified compile, as Cygwin's regex.h is incompatible with us.
e94a3679
FP
2341 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
2342
34e39c95
RS
23432001-12-11 Richard M. Stallman <rms@gnu.org>
2344
2345 * Makefile.in (clean): Don't delete ../etc/DOC*.
2346
880820fe 23472001-12-11 Pavel Janík <Pavel@Janik.cz>
296071e7
PJ
2348
2349 * COPYING: Moved back.
2350
76054cc8
AI
23512001-11-30 Andrew Innes <andrewi@gnu.org>
2352
e94a3679
FP
2353 * makefile.w32-in (FACE_SUPPORT):
2354 (MOUSE_SUPPORT):
2355 (FLOAT_SUPPORT):
2356 (WINNT_SUPPORT):
76054cc8
AI
2357 (lisp): Reference .el files instead of .elc files, to simplify
2358 bootstrapping.
2359 ($(DOC)): Change dependency to just `make-docfile'.
2360
880820fe 23612001-11-29 Pavel Janík <Pavel@Janik.cz>
0142178a
PJ
2362
2363 * COPYING: Removed.
2364
e8d6a09b
PE
23652001-11-28 Paul Eggert <eggert@twinsun.com>
2366
2367 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
2368
2369 The following changes are derived from suggestions by Bob Chapman
2370 <rechapman@compuserve.com>.
2371
2372 * rcs2log (printlogline): Also allow tab and newline to separate
2373 '(function):' from the rest of a comment.
2374 (reformat the sorted log entries): Require date and author to
2375 match the clumpname.
2376
9a190096
GM
23772001-11-16 Gerd Moellmann <gerd@gnu.org>
2378
2379 * ebrowse.c (matching_regexp): Escape '\\'.
2380
880820fe 23812001-11-15 Pavel Janík <Pavel@Janik.cz>
8ec1b917
PJ
2382
2383 * Makefile.in: Add support for --program-prefix, --program-suffix
2384 and --program-transform-name options.
2385
6d8f7d5d
RS
23862001-11-03 Richard M. Stallman <rms@gnu.org>
2387
2388 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
2389
2390 * movemail.c (popmail): Always pass two args to `error'.
2391
84e70f78
KR
23922001-10-24 Ken Raeburn <raeburn@gnu.org>
2393
2394 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
2395 -lhesiod and maybe -lresolv.
2396 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
2397 support if it's available.
2398
386ca361
MB
23992001-10-21 Miles Bader <miles@gnu.org>
2400
a3b10252
MB
2401 * make-docfile.c (struct rcsoc_state): New type.
2402 (read_c_string_or_comment): Add SAW_USAGE
386ca361 2403 parameter, and implement scanning for a `usage:' keyword.
a3b10252
MB
2404 Use a variable of type `rcsoc_state' to hold most of our state.
2405 (put_char): Add STATE parameter, and remove all other parameters
2406 except CH. Use STATE to get access to all needed state.
2407 (scan_keyword_or_put_char): New function.
386ca361
MB
2408 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
2409 Don't output a usage-string if there was one in the doc-string.
2410
71431a0e
GM
24112001-10-20 Gerd Moellmann <gerd@gnu.org>
2412
6aa97356 2413 * (Version 21.1 released.)
71431a0e 2414
880820fe 24152001-10-19 Pavel Janík <Pavel@Janik.cz>
37a9305e
PJ
2416
2417 * b2m.c: Properly spell the name of Emacs.
2418
945220bd
MB
24192001-10-17 Miles Bader <miles@gnu.org>
2420
2421 * make-docfile.c (put_char): New function.
2422 (read_c_string_or_comment): Strip trailing spaces and newlines.
2423
14242528
MB
24242001-10-16 Miles Bader <miles@gnu.org>
2425
2426 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
2427 comments [with `doc:' keyword prefix].
2428
9f5eb4a3
GM
24292001-10-15 Gerd Moellmann <gerd@gnu.org>
2430
2431 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
2432 in a C doc comment.
2433
e641b454
GM
24342001-10-13 Gerd Moellmann <gerd@gnu.org>
2435
2436 * make-docfile.c (read_c_string_or_comment): Renamed from
2437 read_c_string. Add parameter COMMENT. Read C-style comments.
2438 (scan_c_file): Handle doc strings in C comments.
2439
967d7793
AI
24402001-10-12 Andrew Innes <andrewi@gnu.org>
2441
2442 * makefile.nt (ALL): Do not include fakemail.
2443
2444 * makefile.w32-in (install): Do not copy fakemail.
2445
d682756a
JR
24462001-10-10 Jason Rumney <jasonr@gnu.org>
2447
07655e62 2448 * makefile.w32-in (ALL): Do not include fakemail.
d682756a 2449
07655e62 2450 * makefile.nt (install): Ditto.
d682756a 2451
14a3dff7
GM
24522001-10-09 Gerd Moellmann <gerd@gnu.org>
2453
2454 * emacsserver.c (main): Cast geteuid in sprintf to int.
14a3dff7 2455
95bc7904 2456 * emacsclient.c (main): Cast isdigit argument to unsigned char.
14a3dff7 2457
880820fe 24582001-10-07 Pavel Janík <Pavel@Janik.cz>
f98d41f5
PJ
2459
2460 * profile.c: Include config.h, not ../src/config.h.
2461 Include systime.h, not ../src/systime.h.
2462
ab952a4f
GM
24632001-10-05 Gerd Moellmann <gerd@gnu.org>
2464
2465 * Branch for 21.1.
dff28924 2466
12c64503
GM
24672001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
2468
2469 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
2470 ALIASEE to help work with namespace aliases.
2471 (struct sym): Remove struct member NAMESP_ALIASES.
2472 (namespace_alias_table): New variable.
2473 (make_namespace): Add parameter CONTEXT.
2474 (check_namespace): New function.
2475 (find_namespace): Add parameter CONTEXT.
2476 (check_namespace_alias): New function.
02ce3e80
SM
2477 (register_namespace_alias): Change type of parameter OLD_NAME.
2478 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
12c64503
GM
2479 (check_namespace): New function.
2480 (enter_namespace): Call find_namespace with CONTEXT parameter.
2481 (match_qualified_namespace_alias): New function.
eec54bd7 2482 (parse_qualified_ident_or_type): Fix typo in comment.
02ce3e80 2483 While parsing qualified ident or type update namespace context and
12c64503 2484 restore it on exit.
eec54bd7
SM
2485 (parse_qualified_param_ident_or_type): Fix typo in comment.
2486 (globals): Change handling of namespace aliases.
2487 (version): Add year 2001.
12c64503 2488
990e1190
FP
24892001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
2490
2491 * etags.c (analyse_regex): If regex_arg is NULL, return
2492 immediately after a call to free_patterns.
2493
f2e7e23e
AS
24942001-09-05 Paul Eggert <eggert@twinsun.com>
2495
2496 * rcs2log (Help, mainline code): Add new option -L FILE.
2497 (Copyright): Update year.
02ce3e80
SM
2498 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
2499 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
f2e7e23e
AS
2500 C locale.
2501 (mainline code): Handle nonstandard -u option differently, by
2502 transforming it to standard form. Check for "Working file: ", not
2503 "Working file:". Allow file names with spaces.
2504 (SOH, rlogfile): New shell vars.
dff28924 2505 (rlogout): Remove. Its old functionality is mostly migrated to
f2e7e23e
AS
2506 rlogfile.
2507
2508 Append ';;' to the last arm of every case statement, for
2509 portability to ancient broken BSD shells.
2510
02ce3e80 2511 (logins): Fix bug; was not being computed at all, lowering performance.
f2e7e23e
AS
2512 (pository): New var. This fixes some bugs where repositories are
2513 remote, or have trailing slashes.
02ce3e80 2514 (authors): $llogout is never an empty shell var, so don't worry
f2e7e23e 2515 about that possibility.
dff28924 2516 (printlogline, mainline code): Fix bug with SOH's being put into
f2e7e23e 2517 the output.
dff28924 2518
75c911eb
EZ
25192001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
2520
2521 * ebrowse.c (SEEK_END): #define if not defined by system headers.
2522 Suggested by Dave Love <d.love@dl.ac.uk>.
2523
5ae10f4a
EZ
25242001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
2525
2526 * makefile.nt (lisp): Synchronize with src/Makefile.in.
2527 * makefile.w32-in (lisp): Ditto.
2528
0e4011d8 25292001-07-25 Juanma Barranquero <lektu@terra.es>
e743f599
GM
2530
2531 * grep-changelog (parse_changelog): Remove unused local variable.
2532
2533 * grep-changelog (main): Add new option --reverse.
2534 (print_log): Use it.
2535 (parse_changelog): Use it.
2536
3c88ae74
GM
25372001-07-20 Gerd Moellmann <gerd@gnu.org>
2538
2539 * grep-changelog: Remove RCS Id keyword.
2540
41848daa
GM
25412001-07-20 Juanma Barranquero <lektu@terra.es>
2542
6e07c0a5
GM
2543 * grep-changelog (parse_changelog): Add tests for defined values
2544 to quiet warning from Perl 5.005 or above.
177ab8ce 2545 (entry_match_p, header_match_p): Fix handling of null or empty
0e4011d8
GM
2546 argument to prevent duplicate headers.
2547
2548 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
41848daa 2549
467f1209
GM
25502001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
2551
2552 * emacsclient.c (print_help_and_exit): Fix help message for
2553 +LINE:COLUMN option.
2554
25552000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
990e1190 2556
467f1209
GM
2557 * emacsclient.c (main): Add support for +LINE:COLUMN command line
2558 argument.
2559
bb24c64f
GM
25602001-07-16 Gerd Moellmann <gerd@gnu.org>
2561
2562 * ebrowse.c (main): Check that the output file exists and
2563 is non-empty if invoked with `--append'.
2564
880820fe 25652001-05-14 Francesco Potortì <pot@gnu.org>
fa829470 2566
e335b66a
GM
2567 * etags.c (add_regex): Reset the whole newly allocated pattern
2568 buffer instead of the individual members. It's safer and works
ecc54057 2569 with XEmacs.
fa829470 2570
e335b66a 2571 * etags.1: Markups corrected.
fa829470 2572
6da5c7da
GM
25732001-05-08 Gerd Moellmann <gerd@gnu.org>
2574
02ce3e80 2575 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
6da5c7da 2576
efbecf9d
GM
25772001-05-03 Gerd Moellmann <gerd@gnu.org>
2578
2579 * ebrowse.c (globals): Fix handling of namespace aliases.
2580
f4976ebc
EZ
25812001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
2582
2583 * etags.c (print_help): Enclose the regexp in the help text
2584 example in quotes.
2585
23431241
DL
25862001-04-05 Dave Love <fx@gnu.org>
2587
2588 * emacsclient.c (fail): Don't return a value.
fa829470 2589 (main): Cast uid values for sprintf.
23431241 2590
476bf681
GM
25912001-04-03 Gerd Moellmann <gerd@gnu.org>
2592
b3f6107b
GM
2593 * emacsclient.c (fail, main): Don't use implicit int return type.
2594
476bf681
GM
2595 * b2m.c (main): Always return a value.
2596
ef53d75e
GM
25972001-03-02 Gerd Moellmann <gerd@gnu.org>
2598
2599 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
2600 freshly allocated object in *LAST_ID.
2601 (read_line): Accept \r\n line endings.
2602
425de386
AI
26032001-02-24 Andrew Innes <andrewi@gnu.org>
2604
2605 * makefile.w32-in: Fix copyright notice.
2606
880820fe 26072001-02-23 Francesco Potortì <pot@gnu.org>
f55ae599
FP
2608
2609 * etags.c (enum sym_type): New label st_C_template.
2610 (gperf input): Use it for switching to C++ from C.
2611 (consider_token): Do it.
c2a642c0
FP
2612 (C_entries): Initialise typdefcblev to quiet compilers.
2613 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
f55ae599 2614
f6839838
AI
26152001-02-22 Andrew Innes <andrewi@gnu.org>
2616
2617 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
2618 VMS header files.
2619 ($(BLD)\profile.obj): Ditto.
2620
2621 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
2622 VMS header files.
2623 ($(BLD)/profile.$(O)): Ditto.
2624
193fba87
AI
26252001-02-05 Andrew Innes <andrewi@gnu.org>
2626
2627 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
2628 invocation of make-docfile, to work with Windows 2000.
2629
30526cc6
DL
26302001-01-31 Dave Love <fx@gnu.org>
2631
2632 * etags.c (in_word_set): Use `static' in definition (for pcc).
2633
880820fe 26342001-01-31 Francesco Potortì <pot@gnu.org>
8f79fe72 2635
ecc54057 2636 * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
8f79fe72
FP
2637 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
2638 (C_entries): Tag token renamed to still_in_token because sunos4
2639 pcc wants to expand it as the token() macro even though it has no
2640 arguments.
2641
914d7258
AI
26422001-01-30 Andrew Innes <andrewi@gnu.org>
2643
2644 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
2645 bug in the Mingw32 assert.h header file.
2646
880820fe 26472001-01-30 Francesco Potortì <pot@gnu.org>
b28e26be 2648
ecc54057
JB
2649 * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
2650 #define it for the sake of XEmacs.
b28e26be
FP
2651 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
2652 HAVE_CONFIG_H. This change only affects a standalone etags.
2653 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
2654 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
2655 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
2f2c687b 2656 [!HAVE_UNISTD_H]: Use defined(WINDOWSNT) instead of the bare
b28e26be
FP
2657 WINDOWSNT, as this is the correct way to use it.
2658
880820fe 26592001-01-28 Francesco Potortì <pot@gnu.org>
8c463abe
FP
2660
2661 * etags.c: Be capable to parse nested struct-like structures.
2662 (structdef, structtag): Struct state machine revisited.
2663 (struct tok): Revisited.
2664 (cstack, nestlev, instruct): New struct and macros.
2665 (pushclass_above, popclass_above, write_classname): New functions
13dc0576 2666 for dealing with nested class names.
8c463abe
FP
2667 (consider_token, make_C_tag, C_entries): Many changes for dealing
2668 with arbitrarily nested structures.
2669 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
2670 (C_entries): Consider templates in C++.
2671 (sym_type): New constant st_C_class for detecting "class" also in
2672 C mode.
2673 (C_AUTO): New macro for automatic detection of C++.
2674 (consider_token): Automatic set C++ mode.
2675 (C_entries): New security check for yacc.
2676 (print_language_names, print_help): Mention the autodetect
07655e62 2677 feature, do not show help for the -C option, now mostly useless.
8c463abe
FP
2678 (C_entries): Tag C++ forward declarations if --declarations.
2679 (C_entries): Don't be fooled by things like XDEFUN.
2680 (consider_token): Discard asm pseudo function.
2681
e26f9ced
EZ
26822001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
2683
2684 * etags.c: Add a coding: tag.
2685
a47b7816
GM
26862001-01-26 Gerd Moellmann <gerd@gnu.org>
2687
8c463abe 2688 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
a47b7816
GM
2689 New variables.
2690 (matching_regexp): Use them instead of static variables in
2691 function scope.
2692
880820fe 26932001-01-25 Francesco Potortì <pot@gnu.org>
d22a24fa
FP
2694
2695 * etags.c (struct tok): Renamed from struct token.
2696 (token): Renamed from tok.
2697 (structtype): Make it a local variable.
2698 [DEBUG]: Use assert.
2699 (xrnew): Change the synopsis.
2700 (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
2701 (grow_linebuffer): Don't call xrnew when not needed.
02ce3e80 2702 (token): Buffer renamed to line.
d22a24fa 2703 (C_entries): Three calls to inibuffer moved here from main.
eec54bd7 2704 (C_entries): Remove all references to var methodlen, delete it.
d22a24fa
FP
2705 (linebuffer_setlen): Was grow_buffer, now also sets len.
2706 (consider_token, C_entries, Pascal_functions): Use it.
2707 (C_entries): Preventing problems relative to extern "C".
2708 (C_entries): Can tag more than one variable or func separated by
2709 comma when --declarations is used.
2710 (C_entries): More accurate tagging of members and declarations.
2711 (yacc_rules): Was global, made local to C_entries.
2712 (next_token_is_func): Removed.
2713 (fvdef): New constants fdefunkey, fdefunname.
2714 (consider_token, C_entries): Use them.
2715 (C_entries): Build proper lisp names for Emacs DEFUNs.
2716
21c2bbe0
GM
27172001-01-22 Gerd Moellmann <gerd@gnu.org>
2718
2719 * ebrowse.c (xfree): New function.
2720 (member, declaration, globals): Use xmalloc instead of alloca.
2721
880820fe 27222001-01-15 Francesco Potortì <pot@gnu.org>
83be933c
FP
2723
2724 * etags.c (print_language_names): Print filenames in addition to
2725 suffixes.
2726
880820fe 27272001-01-14 Francesco Potortì <pot@gnu.org>
47df1a5e
EZ
2728
2729 * etags.c (get_language_from_langname): Renamed from
2730 get_language_from_name.
eec54bd7
SM
2731 (get_language_from_filename): Renamed from get_language_from_suffix.
2732 Now first looks for the complete file name.
47df1a5e
EZ
2733 (language): New member char **filenames.
2734 (Makefile_filenames): List of possible filenames for makefiles.
eec54bd7 2735 (lang_names): Add a NULL member for every entry, added an entry
47df1a5e 2736 for makefiles.
13dc0576 2737 (Makefile_targets): New function.
47df1a5e
EZ
2738 (Texinfo_nodes): Renamed from Texinfo_fuctions and made
2739 it conformant to the style of the rest of the code.
2740
291c7e74
GM
27412001-01-13 Gerd Moellmann <gerd@gnu.org>
2742
2743 * make-docfile.c (write_c_args): Print newlines as spaces.
2744
0dac6924
AI
27452001-01-06 Andrew Innes <andrewi@gnu.org>
2746
2747 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
2748 of *.pdb.
2749
3e99d3b4
GM
27502001-01-03 Paul Eggert <eggert@twinsun.com>
2751
290afd83 2752 * rcs2log: Avoid security hole allowing attacker to
3e99d3b4
GM
2753 cause user of rcs2log to overwrite arbitrary files, fixing
2754 a bug reported by Morten Welinder.
2755
2756 Don't put "exit 1" at the end of the exit trap; it's
2757 ineffective in POSIX shells.
2758
d6bb0c0d
GM
27592001-01-02 Gerd Moellmann <gerd@gnu.org>
2760
eec54bd7
SM
2761 * ebrowse.c (yyerror): Change to take two arguments.
2762 Add prototype. Change callers.
d6bb0c0d 2763
d5c00476 27642001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
315f5865
EZ
2765
2766 * ebrowse.c (enter_namespace, main): Cast variables to shut up
2767 compiler warnings.
2768 (yyerror): Change parameter declarations to be of type long, so
2769 that they can take pointers on 64-bit platforms.
2770
2771 * emacsclient.c (main): Remove unused local variable statbfr.
2772 (main) <homedir>: Make its declaration conditional on
2773 SERVER_HOME_DIR, to avoid compiler warnings.
2774
2775 * emacsserver.c (main) <homedir>: Make its declaration conditional
2776 on SERVER_HOME_DIR, to avoid compiler warnings.
2777
2778 * fakemail.c (readline): Cast buffer to "long *" to pacify
2779 over-zealous compilers.
2780
7c89ea61
EZ
27812000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
2782
2783 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
2784
a6768cc5
GM
27852000-12-15 Gerd Moellmann <gerd@gnu.org>
2786
2787 * ebrowse.c (operator_name): Cast argument of isalpha to
2788 unsigned char.
2789
2790 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
2791 Use them throughout instead of ctype functions/macros.
2792 (lowcase): Cast to unsigned char.
2793 (UPCASE): New macro.
2794 (canonicalize_filename): Use UPCASE instead toupper.
2795
2796 * fakemail.c (get_keyword): Make sure that isspace and
2797 similar aren't called with a negative argument.
2798
70de49cc
DL
27992000-12-13 Dave Love <fx@gnu.org>
2800
2801 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
2802
4e8b894c
AI
28032000-12-06 Andrew Innes <andrewi@gnu.org>
2804
2805 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
2806 don't know the real version, and I can't seem to get the quoting
2807 right in all circumstances.
2808
2809 * ebrowse.c (VERSION): Provide default definition, like etags.c
2810 does, because Windows build can't snarf this from version.el.
2811
88257bc8
AI
28122000-11-30 Andrew Innes <andrewi@gnu.org>
2813
2814 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
2815 (install): Ditto.
2816
d19249e7
JR
28172000-11-23 Jason Rumney <jasonr@gnu.org>
2818
2819 * makefile.w32-in: Add targets for ebrowse.exe.
2820 (LOCAL_FLAGS): Add -DVERSION flag.
2821
7df6adc3
DL
28222000-09-25 Dave Love <fx@gnu.org>
2823
2824 * sorted-doc.c: Include config.h.
2825 [!HAVE_STDLIB_H]: Declare malloc.
2826
fe83b953
AI
28272000-09-14 Andrew Innes <andrewi@gnu.org>
2828
2829 * makefile.w32-in: Revert to Unix line endings.
2830
517699ca
DL
28312000-09-04 Dave Love <fx@gnu.org>
2832
2833 * movemail.c (index, rindex): Prototype conditionally.
2834
f8803e97
AI
28352000-09-03 Andrew Innes <andrewi@gnu.org>
2836
2837 * makefile.w32-in: Change to DOS line endings.
2838
f72adc12
EZ
28392000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
2840
4034f3a8 2841 * movemail.c (toplevel): Remove redundant fcntl.h.
f72adc12
EZ
2842 [!F_OK]: Provide default definitions only after including both
2843 fcntl.h and unistd.h.
2844
f678f592
DL
28452000-08-29 Dave Love <fx@gnu.org>
2846
2847 * movemail.c: Revert previous change.
2848
5b671d04
EZ
28492000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
2850
2851 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
2852
6fa86045
DL
28532000-08-28 Dave Love <fx@gnu.org>
2854
2855 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
2856 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
2857
746d9caf
AI
28582000-08-22 Andrew Innes <andrewi@gnu.org>
2859
2860 * ntlib.h (WIN32): Remove unnecessary definition.
2861 (sleep): Make argument unsigned long.
2862 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
2863
2864 * ntlib.c (sleep): Make argument unsigned long.
2865
2866 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
2867
2868 * makefile.w32-in: New file.
2869
3b541489
EZ
28702000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
2871
2872 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
2873 letter only if it is a drive letter.
2874
e5acf0ca
GM
28752000-07-14 Gerd Moellmann <gerd@gnu.org>
2876
02ce3e80 2877 * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and ymalloc.
e5acf0ca
GM
2878
2879 * etags.c (xmalloc, xrealloc): Make externally visible, for use
2880 by alloca.o.
2881
02ce3e80 2882 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
e5acf0ca 2883
4b92c49a
GM
28842000-07-10 Gerd Moellmann <gerd@gnu.org>
2885
2886 * ebrowse.c (yylex): Accept string literals with newlines in them.
2887 (process_pp_line): Handle case of string literal with newline
2888 in it in replacement text, which counts as continuing the
2889 replacement text in GNU C.
2890
831a6cb0
GM
28912000-07-02 Gerd Moellmann <gerd@gnu.org>
2892
2893 * ebrowse.c (token_string): Add missing tokens.
2894 (parm_list): Handle case of qualified pointers.
2895
53245ee2
DL
28962000-06-23 Dave Love <fx@gnu.org>
2897
2898 * ebrowse.c: Move config.h before other includes (which may use
2899 feature tests).
2900
dcbf2cd2
JM
29012000-06-14 Jim Meyering <meyering@lucent.com>
2902
2903 * grep-changelog: Fix typos in comments. Remove trailing blanks.
2904
f1c7754a
JR
29052000-06-11 Jason Rumney <jasonr@gnu.org>
2906
2907 * makefile.nt: Add targets for ebrowse.
2908
2909 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
2910 compare filenames.
2911
5f1aea9a
GM
29122000-06-06 Gerd Moellmann <gerd@gnu.org>
2913
2914 * ebrowse.c (ymalloc): Renamed from xmalloc.
2915 (yrealloc): Renamed from xrealloc.
2916
5bf244f1
DL
29172000-05-21 Dave Love <fx@gnu.org>
2918
2919 * movemail.c: Include config.h, not ../src/config.h.
2920 (Errmsg): Bump length.
2921
2922 * pop.c (ERROR_MAX): Increase to 160.
2923
ec82fb2f
GM
29242000-05-04 Gerd Moellmann <gerd@gnu.org>
2925
2926 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
2927
5c922ea7
EZ
29282000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
2929
02ce3e80
SM
2930 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
2931 Define to semi-colon.
5c922ea7 2932 (FILENAME_EQ): New macro, for comparing file names.
02ce3e80 2933 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
5c922ea7
EZ
2934 (process_file): Don't assume that fread always reads as many bytes
2935 as it was told to (DOS-style CR-LF text files fail this logic).
2936 (open_file): Allocate enough space for path->path plus the file
2937 name and the slash.
2938
6142fdcb 29392000-04-19 Dave Love <fx@gnu.org>
97052c63
DL
2940
2941 * etags.c (Texinfo_functions): New function.
2942 (lang_names): Install it.
2943 (Texinfo_suffixes): New variable.
2944
cb9215e4
GM
29452000-04-19 Gerd Moellmann <gerd@gnu.org>
2946
2947 * ebrowse.c (xmalloc, xrealloc): Rewritten.
2948 (declaration): Remove parameter IS_EXTERN.
2949 (class_definition): Remove unused variable.
2950
be0dbdab
GM
29512000-04-09 Gerd Moellmann <gerd@gnu.org>
2952
2953 * Makefile.in (INSTALLABLES): Add ebrowse.
2954 (ebrowse): New target.
2955
2956 * ebrowse.c: New file.
2957
c5aa0fc2
AS
29582000-03-29 Andreas Schwab <schwab@suse.de>
2959
2960 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
2961
d054101f
GM
29622000-03-02 Gerd Moellmann <gerd@gnu.org>
2963
2964 * etags.c (lisp_suffixes) Add `LSP'.
2965
880820fe 29662000-02-10 Francesco Potortì <pot@gnu.org>
71cbb895 2967
eec54bd7 2968 * etags.c (iswhite): Redefine not to consider '\0' as white
71cbb895
FP
2969 space, and use it throughout in place of isspace, thus preventing a
2970 potential signed char to int conversion problem.
10d1d0af 2971 (MSDOS): #undefine before redefining.
71cbb895 2972
880820fe 29732000-02-04 Francesco Potortì <pot@gnu.org>
71cbb895
FP
2974
2975 * etags.c (many functions): Add prototypes.
2976
97fa0cc8
DL
29772000-02-10 Dave Love <fx@gnu.org>
2978
2979 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
2980 (erlang_func): Add `static' to definitions to keep pcc happy.
2981
880820fe 29822000-01-31 Francesco Potortì <pot@gnu.org>
e4100b7f
FP
2983
2984 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
2985 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
2986 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
2987 (getenv, getcwd): Only declare them if necessary.
2988 (EMACS_NAME): New constant macro.
2989 (print_version): Use it.
2990 (P_) [__STDC__]: Macro for defining function prototypes.
e4100b7f 2991
19e262bd 29922000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
2993
2994 * etags.c [WINDOWSNT]: #include <direct.h>
2995
19e262bd 29962000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 2997
19e262bd
FP
2998 * etags.c (all functions): Made them static.
2999 (all functions): Write prototypes.
e4100b7f 3000
55e30d2a
RS
30012000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
3002
3003 * movemail.c (main): Improve error message if can't create lock file.
3004
c60ee5e7 30052000-01-28 Eric Hanchrow <offby1@blarg.net>
875c1439
GM
3006
3007 * emacsclient.c (socket_status): New function.
02ce3e80 3008 (main): If $LOGNAME or $USER exist and differ from our euid, look
875c1439
GM
3009 for a socket based on the UID associated with the name.
3010
e4936aa9
GM
30112000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
3012
3013 * emacsclient.c: Add option -a EDITOR and environment variable
3014 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
3015
f0131492 30161999-12-10 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
791a9087
GM
3017
3018 * movemail.c (popmail): Allow mailbox specifications of the
3019 form `po:username:hostname'.
3020
880820fe 30211999-11-19 Francesco Potortì <pot@gnu.org>
e2081362
FP
3022
3023 * etags.c (_GNU_SOURCE): Define only if undefined.
3024 (get_scheme): Declaration deleted.
02ce3e80 3025 (main): Error was called with an integer as second arg, instead of
e2081362
FP
3026 a char pointer.
3027 (canonicalize_filename): Bug removed.
3028
30291999-11-18 Dave Love <d.love@dl.ac.uk>
3030
3031 * etags.c (C_entries): Rename label `intoken', avoiding K&R
3032 lossage from name clash with macro.
3033
b05d3bee
GM
30341999-11-13 Gerd Moellmann <gerd@gnu.org>
3035
3036 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
3037
cb3a6c48
GM
30381999-11-03 Gerd Moellmann <gerd@gnu.org>
3039
3040 * etags.c (print_help): Change email address to send bugs to.
3041
6088b51f 30421999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
3043
3044 * etags.c: Add suffix psw for PSWrap.
3045 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
3046 (Postscript_functions): Add code for PSWrap.
3047 (Scheme_functions): Use local pointer and new get_tag function.
3048 (get_tag): New name for old get_scheme.
3049 (process_file): Do not free NULL when file does not exist.
3050 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
3051 (C_entries): Modifications that make --members tag even inside
3052 typedefs and C nested structs (one level only).
eec54bd7 3053 (consider_token): Correct a bug which prevented tagging of enum
1c478461 3054 constants.
eec54bd7 3055 (C_stab_entry): Add if, for, while, switch, return as
1c478461
FP
3056 st_C_ignore. This makes it simpler to work when cblev!=0.
3057
02ce3e80 3058 * etags.c (C_entries): Tag member function declarations when
1c478461
FP
3059 --declarations is used.
3060
3061 * etags.c (C_entries, consider_token): C++ `operator' now is
3062 tagged in most cases.
3063 As before, :: is not recognised if surrounded by spaces.
3064
3065 * etags.c (relative_filename): Account for DOS file names such
3066 that is impossible to make one relative to another.
3067
3068 * etags.c (sym_type): New st_C_extern tag.
3069 (gperf input): Use it for spotting external declarations.
a7c29764 3070 (print_help): Document the new behavior of --declarations.
1c478461
FP
3071 (fvextern): New global variable.
3072 (consider_token, C_entries): Use it.
3073
3074 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
3075 (etags_getcwd): Remove test for WINDOWSNT.
3076
3077 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
3078 foo.cgz, foo.cz, etc.
3079
3080 * etags.c (declarations): New global switch.
3081 (longopts): Describe it.
3082 (print_help): Document it.
3083 (C_entries): Use it.
3084 (process_file): Don't process a file twice.
3085
3086 * etags.c (Fortran_functions): No tags for "procedure".
3087
30881999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
3089
3090 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
3091 non-zero, returns a pointer to where the extension begins; callers
3092 changed.
3093 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
3094 were foo.c.gz.
3095
880820fe 30961999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
3097
3098 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
3099 (fvdev): New constant foperator.
3100 (consider_token): Use it to get "operator" in C++.
3101 (C_entries): Extend length of operator@ function name.
3102 (C_entries): Use foperator when necessary.
3103
3104 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
3105
3106 * etags.c (compressor): New struct for compressed files.
3107 (get_compressor_from_suffix): New function.
3108 (get_language_from_suffix): Use it. Also, semantics changed.
3109 (process_file): Consider compressed files, close file.
3110 (find_entries): Use different call arg for get_language_from_suffix,
3111 don't close file.
3112
3113 * etags.c (main): Call free_tree.
3114 (find_entries): Do not free curfile.
3115 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
3116 (prolog_pred, erlang_func, substitute): Cast strlen to int when
3117 comparing.
3118 (canonicalize_filename): Shut up compiler warning.
3119 (Perl_functions): Make tag significant.
3120
31211999-11-01 Dave Love <d.love@dl.ac.uk>
3122
3123 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
3124 (argument_type): New member at_icregexp.
3125 (lc_trans): New global.
3126 (main): Fill lc_trans. Process -c args.
3127 (add_regex): New arg determining whether to use translation table.
3128 (analyse_regex): New arg. Use it for add_regex.
3129
880820fe 31301999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
3131
3132 * etags.c (init): Cosmetic change: NULL --> '\0'.
3133 (erlang_attribute): Bug corrected (uninitialized variable).
3134 (filename_is_absolute): New function replaces absolutefn macro and
02ce3e80 3135 corrects a bug. All callers changed.
1c478461
FP
3136 (canonicalize_filename): New function.
3137 (process_file, etags_getcwd, absolute_dirname): Use it.
3138 (relative_filename, absolute_filename): Removed var shadowing.
3139 (C_entries, Pascal_functions): Add fake initializations to keep
02ce3e80 3140 compilers quiet.
1c478461
FP
3141 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
3142
3143 * etags.c (xrnew): New macro. All callers of xrealloc changed.
3144 (language): New typedef (was struct lang_entry).
3145 (curlang): New global variable.
02ce3e80 3146 (node): Typedef renamed from NODE.
1c478461
FP
3147 (linebuffer): New typedef (was struct linebuffer).
3148 (pattern): New typedef (was struct pattern). Some members added.
3149 Now used as element of a linked list.
3150 (patterns, num_patterns): Global variables deleted.
3151 (p_head): New global variable.
a64387ee 3152 (forced_lang): New global variable (replaces lang_func).
02ce3e80
SM
3153 (get_language_from_name, get_language_from_interpreter)
3154 (get_language_from_suffix): Semantics changed. All callers changed.
1c478461 3155 (last_node): New global variable.
02ce3e80
SM
3156 (free_tree, add_node, put_entries, total_size_of_entries):
3157 Change name of local vars to avoid clashes with typedef node.
1c478461
FP
3158 (number_len): Rewritten for elegance.
3159 (token): New typedef replaces TOKEN.
3160 (analyse_regex, add_regex): Rewritten for new functionality.
3161 (free_patterns): New function called from main and add_regex.
3162 (initbuffer, readline_internal, readline, grow_linebuffer):
02ce3e80 3163 Change name of local vars to avoid clashes with typedef linebuffer.
1c478461
FP
3164 (readline): Rewritten for new functionality.
3165
ecc54057 3166 * etags.c (Scheme_suffixes): New suffix ".ss".
1c478461
FP
3167 (print_help): --globals is now used for more than C-type languages.
3168 (Perl_functions): Tag global variables ("my" and "local").
3169
3170 * etags.c (print_help): Some messages clarified.
3171 (LOOP_ON_INPUT_LINES): New macro.
02ce3e80
SM
3172 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
3173 (Python_functions, Cobol_paragraphs, Pascal_functions)
3174 (Lisp_functions, Postscript_functions, Scheme_functions)
3175 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
3176 (Cobol_paragraphs, Postscript_functions, TeX_functions)
3177 (Prolog_functions, Erlang_functions): Use a local variable instead
1c478461
FP
3178 of the global variable dbp.
3179 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
3180 standard indentation.
3181
02ce3e80
SM
3182 * etags.c (Python_suffixes, lang_names, Python_functions):
3183 Python support.
1c478461 3184 (skip_spaces, skip_non_spaces): Utility functions.
02ce3e80
SM
3185 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
3186 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
3187 (prolog_pred, erlanf_func, erlang_attribute): Use them.
1c478461
FP
3188 (eat_white): Deleted.
3189
3190 * etags.c (CHAR, init): Keep into account non US-ASCII
3191 characters and compilers with default signed chars.
3192 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
3193 constructs.
ecc54057 3194 (C_stab_entry): "interface" in Java behaves like "class".
1c478461 3195
ecc54057 3196 * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
1c478461
FP
3197 (main): Put interval syntax here.
3198 (add_regex): And remove it from here.
3199
3200 * etags.c (suggest_asking_for_help): Provide a
3201 meaningful help message with and without LONG_OPTIONS.
3202
d07529f3 3203 * etags.c (<io.h>) [MSDOS]: Include it, don't include string.h.
1c478461
FP
3204 <stdlib.h, string.h>: Don't test MSDOS when including them.
3205 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
3206 (put_entries): Correctly use %ld instead of %d in printf.
3207
d07529f3 3208 * etags.c (<unistd.h>) [HAVE_UNISTD_H]: Include conditionally, else
1c478461
FP
3209 declare getcwd if HAVE_GETCWD.
3210 (consider_token): Dead break instruction removed.
3211
4ee9629e
PE
32121999-10-19 Paul Eggert <eggert@twinsun.com>
3213
3214 Add support for large files. Merge glibc 2.1.2.
1c478461 3215
4ee9629e 3216 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
d07529f3 3217 * movemail.c, pop.c:
4ee9629e
PE
3218 Do not include <stdlib.h>, as <config.h> does this now.
3219
3220 * b2m.c, emacsserver.c, etags.c, profile.c:
3221 Include <config.h> before any system include files.
1c478461 3222
4ee9629e 3223 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
d07529f3 3224 * test-distrib.c:
4ee9629e
PE
3225 (read, write, open, close): Do not undef.
3226
3227 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
3228 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
3229
3230 * getopt.h: Adopt glibc 2.1.2.
1c478461 3231
93c8d183
DL
32321999-10-15 Dave Love <fx@gnu.org>
3233
3234 * Makefile.in (pop.o): Depend on config.h.
3235
b358f91c
GM
32361999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3237
3238 * pop.c: Use "pop3" as the POP service name on all platforms,
3239 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
3240 has been the standard service name since RFC 1340 was published in
3241 July 1992, so I think it's safe to start using it by default.
3242
362bc2da
DL
32431999-09-27 Dave Love <fx@gnu.org>
3244
3245 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
3246
74e4cb59
PR
32471999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
3248
3249 * make-docfile.c (scan_lisp_file): Fix previous changes;
3250 swallow CRLF like just CR or just LF.
3251
362bc2da
DL
32521999-09-03 Richard Stallman <rms@gnu.org>
3253
3254 * make-docfile.c: Include config.h not ../src/config.h.
3255 (main, fopen, chdir): Add #undef.
3256 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
3257 (scan_lisp_file): Handle \r like \n.
3258
32591999-08-30 Andreas Schwab <schwab@gnu.org>
3260
3261 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
3262
3263 * emacsserver.c: Include <stdlib.h> if available. Don't declare
3264 errno if it's a macro.
3265
3266 * test-distrib.c: Include <unistd.h> if available.
3267
32681999-08-29 Richard Stallman <rms@gnu.org>
3269
3270 * emacsclient.c (print_help_and_exit): Mention --version.
3271
32721999-08-25 Richard M. Stallman <rms@gnu.org>
3273
3274 * emacsclient.c (decode_options): Update version output.
3275 (print_help_and_exit): Update bug report address.
3276
32771999-08-13 Richard M. Stallman <rms@gnu.org>
3278
3279 * emacsclient.c (main): Move the dynamic allocation of
3280 system_name outside of the SERVER_HOME_DIR conditional.
3281 * emacsserver.c (main): Likewise.
3282
32831999-08-10 Gerd Moellmann <gerd@gnu.org>
3284
3285 * grep-changelog: New.
3286 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
3287
32881999-07-12 Richard Stallman <rms@gnu.org>
3289
3290 * Version 20.4 released.
3291
32921999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
3293
1c478461 3294 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
3295
32961999-06-23 Dave Love <fx@gnu.org>
3297
3298 * etags.c (erlang_attribute): Fix undefined variable usage (after
3299 Potorti).
3300
86e888c2 33011999-05-02 Andrew Innes <andrewi@gnu.org>
362bc2da
DL
3302
3303 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
3304 mapped to _chsize.
3305
33061999-04-29 Richard M. Stallman <rms@gnu.org>
3307
3308 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
3309
33101999-03-30 Dave Love <fx@gnu.org>
3311
3312 * sorted-doc.c (main): Split up tables. Modify the preamble
3313 somewhat.
3314
33151999-03-05 Geoff Voelker <voelker@cs.washington.edu>
3316
3317 * makefile.nt: Remove common multiple file compilation commands.
3318
33191999-02-26 Richard Stallman <rms@gnu.org>
3320
362bc2da
DL
3321 * Makefile.in (yow): Depend on epaths.h, not paths.h.
3322
3323 * yow.c: Refer to epaths.h.
3324
33251999-02-22 Simon Josefsson <jas@pdc.kth.se>
3326
3327 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
3328
33291999-01-27 Andrew Innes <andrewi@gnu.org>
3330
3331 * makefile.nt: Do make version comparison as strings.
3332
33331999-01-25 Richard Stallman <rms@gnu.org>
3334
3335 * emacsclient.c (xmalloc): Fix previous change.
3336
33371999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
3338
3339 * emacsclient.c (xmalloc): Declare to return long.
3340
33411999-01-22 Geoff Voelker <voelker@cs.washington.edu>
3342
3343 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
3344 the case of the drive letter.
3345
33461999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
3347
3348 * emacsserver.c (main): Eliminate arbitrary limit on
3349 length of system_name.
3350
3351 * emacsclient.c (main): Eliminate arbitrary limit on
3352 length of system_name.
3353 (xmalloc): Define unconditionally.
3354
33551999-01-12 Darrin B. Jewell <jewell@mit.edu>
3356
3357 * etags.c (relative_filename): Stop backward search at beginning
3358 of string, since non-Unix systems can have absolute paths with no
3359 initial slash.
3360
33611998-12-08 Geoff Voelker <voelker@cs.washington.edu>
3362
3363 * makefile.nt: Do string comparision of _NMAKE_VER.
3364
c60ee5e7 33651998-11-03 Theodore Jump <tjump@cais.com>
362bc2da
DL
3366
3367 * makefile.nt: Compile multiple source files when possible.
3368
33691998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
3370
3371 * Makefile.in: Replace tabs with spaces
3372 when they might confuse some Make versions.
3373
33741998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
3375
3376 * emacsclient.c (main): Null-terminate system_name.
3377
3378 * emacsserver.c (main): Null-terminate system_name.
3379
33801998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3381
3382 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
3383 an error message from POP, mention that it's from POP, to
3384 distinguish it from local error messages.
3385
33861998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3387
3388 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
3389 order of messages downloaded from a POP server (e.g., if the
3390 server stores messages in mailboxes in reverse order).
3391
33921998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
3393
3394 * Version 20.3 released.
3395
33961998-08-11 Paul Eggert <eggert@twinsun.com>
3397
3398 * rcs2log: Update copyright date and bug report address.
3399 (initialize_fullname): Prefer getent if available.
3400
34011998-07-30 Paul Eggert <eggert@twinsun.com>
3402
290afd83 3403 * Makefile.in (REGEXPDEPS, regex.o):
362bc2da 3404 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 3405
362bc2da
DL
34061998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
3407
3408 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
3409
34101998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
3411
3412 * Makefile.in: Properly terminate a comment.
3413
34141998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
3415
3416 * movemail.c (sys_wait): Rename to wait.
3417
3418 * ntlib.h: Undefine _WINSOCKAPI_.
3419
3420 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
3421
34221998-05-30 Geoff Voelker <voelker@cs.washington.edu>
3423
3424 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
3425
34261998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
3427
3428 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
3429 all file i/o to be in binary mode. Include ntlib.h.
3430
34311998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
3432
3433 * make-docfile.c: Include <unistd.h> for chdir.
3434
34351998-04-25 Richard Stallman <rms@psilocin.gnu.org>
3436
3437 * etags.c (TEX_decode_env): Don't free the value getenv returns.
3438
34391998-04-17 Geoff Voelker <voelker@cs.washington.edu>
3440
3441 * makefile.nt (obj): Update with new files in src.
3442 (clean): Delete patch scratch files, optimized compilation dir.
3443
34441998-04-08 Dave Love <fx@gnu.org>
3445
3446 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
3447 Irix6, at least.
3448
34491998-04-06 Andreas Schwab <schwab@gnu.org>
3450
3451 Silence -Wimplicit:
3452 * movemail.c: Move cancelations up. Include <stdlib.h> if
3453 available.
3454 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
3455 (parse_header): Explicitly declare return type.
3456 * emacsserver.c: Include <unistd.h> if available.
3457 (main, handle_signals, perror_1, fatal_error): Explicitly declare
3458 return types. Add forward declarations.
3459 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
3460 Don't declare geteuid.
3461 (print_help_and_exit): Change return type to void. Forward
3462 declare it.
3463 * b2m.c: Include <stdlib.h> if available.
3464 (main): Explicitly declare return type.
3465
362bc2da
DL
34661998-04-03 Richard Stallman <rms@psilocin.gnu.org>
3467
3468 * etags.c (put_entries): Use %ld.
3469
3470 * b2m.c (fatal): Declare the arg.
3471
34721998-03-26 Richard Stallman <rms@psilocin.gnu.org>
3473
3474 * pop.c (pop_getline): Renamed from getline.
3475
34761998-03-05 Richard Stallman <rms@psilocin.gnu.org>
3477
3478 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
3479 for the utilities.
3480
34811998-01-23 Dave Love <d.love@dl.ac.uk>
3482
3483 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
3484 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
3485 Always make named tags.
3486 (Fortran_functions): Grok BLOCK DATA.
3487
34881998-01-23 Andreas Schwab <schwab@gnu.org>
3489
3490 * movemail.c (main): Fix interwoven brace and cpp conditional
3491 nesting.
3492
362bc2da
DL
34931997-12-03 Paul Eggert <eggert@delysid.gnu.org>
3494
cb438d6e
JB
3495 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which quotes
3496 with a '>' any lines starting with "From " read from the POP server,
3497 but leave the code in place, wrapped in #ifdef
362bc2da
DL
3498 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
3499 because it turns out that something is depending on it. Change
3500 suggested by Paul Eggert <eggert@twinsun.com>.
3501 Convert the character \037 (^_) at the beginning of a line into
3502 the character '^' followed by the character '_', because otherwise
3503 Emacs can't parse the resulting file as a valid BABYL file.
3504 Change suggested by Paul Eggert <eggert@twinsun.com>.
3505
35061997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3507
3508 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
3509 server to contain embedded nulls.
3510
35111997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 3512
362bc2da
DL
3513 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
3514 quotes with a '>' any lines starting with "From " read from the
3515 POP server, but leave the code in place, wrapped in #ifdef
3516 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
3517 because it turns out that something is depending on it. Change
3518 suggested by Paul Eggert <eggert@twinsun.com>.
3519
3520 Convert the character \037 (^_) at the beginning of a line into
3521 the character '^' followed by the character '_', because otherwise
3522 Emacs can't parse the resulting file as a valid BABYL file.
3523 Change suggested by Paul Eggert <eggert@twinsun.com>.
3524
35251997-11-22 Richard Stallman <rms@gnu.org>
3526
3527 * b2m.c: Include getopt.h.
3528 (main): Use getopt_long to handle --version and --help.
3529
3530 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
3531
35321997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3533
3534 * pop.c (fullwrite): Get rid of an extra call to write. Problem
3535 pointed out by Chiaki Ishikawa.
3536
35371997-10-16 Dave Love <d.love@dl.ac.uk>
3538
ecc54057
JB
3539 * etags.c (L_getit): Always make named tags so that Emacs
3540 completion on symbols containing `:' etc. works.
3541 (get_scheme): Likewise.
362bc2da
DL
3542
35431997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3544
3545 * pop.c: Use system header files instead of declaring C-library
3546 functions explicitly.
3547
35481997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3549
3550 * Version 20.2 released.
3551
35521997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3553
3554 * Version 20.1 released.
3555
35561997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
3557
3558 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
3559
3560 * ntlib.c (getpid): Delete function.
3561
35621997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3563
3564 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
3565
35661997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3567
3568 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
3569 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
3570
35711997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3572
3573 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
3574
35751997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
3576
3577 * profile.c (get_time): Cast arg to fprintf.
3578
3579 * hexl.c (main): Use %08lx instead of %08x in printf because the
3580 variable named addresses is long.
3581
35821997-08-08 Geoff Voelker <voelker@cs.washington.edu>
3583
3584 * makefile.nt (lisp): Update paths to lisp files that have moved.
3585
35861997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
3587
3588 * makefile.nt (ctags.obj): New target.
3589 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
3590
3591 * ntlib.h: Add includes.
3592 Undo definitions of crt routines from config.h.
3593
35941997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3595
3596 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
3597
35981997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3599
3600 * pop.c: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
3601 Kerberos V5 for movemail, including detection of V4 and V5 header
3602 files and libraries.
362bc2da 3603 Include <string.h> when STDC_HEADERS is defined, to get
ecc54057 3604 declarations of string functions.
362bc2da 3605 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
ecc54057 3606 V5 API rather than the old one.
362bc2da 3607 [KERBEROS] (socket_connection): Change a constant name from
ecc54057
JB
3608 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
3609 with a constant in a header file.
362bc2da
DL
3610
3611 * Makefile.in: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
3612 Kerberos V5 for movemail, including detection of V4 and V5 header
3613 files and libraries.
362bc2da
DL
3614
36151997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3616
3617 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
3618
3619 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1c478461 3620
362bc2da
DL
36211997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3622
3623 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
3624
36251997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3626
3627 * movemail.c (rindex): Add declaration.
3628
d57727c9 36291997-07-01 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
3630
3631 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
3632 (movemail.exe): Depend upon and link with getopt files.
3633 (obj): Include new source files.
3634 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
3635 (lisp): Include new and reorganized elisp files.
3636
36371997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3638
3639 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
3640
36411997-06-25 Paul Eggert <eggert@twinsun.com>
3642
3643 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
3644
36451997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
3646
3647 * b2m.c (readline): Terminate buffer properly when EOF seen.
3648 Test for valid pointer before dereferencing it.
3649
880820fe 36501997-05-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3651
3652 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
3653 defined inside etags.c if HAVE_CONFIG_H is defined.
3654
880820fe 36551997-05-29 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 3656
ecc54057 3657 * etags.c (logical): Type name changed to bool.
362bc2da
DL
3658 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
3659 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
3660 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
3661 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
3662 (longopts): New long options without short counterpart are
3663 globals, members, no-globals, no-members. Regexp options are now
3664 defined conditionally to ETAGS_REGEXPS.
3665 (print_help): Updated.
3666
880820fe 36671997-05-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3668
3669 * etags.c (C_entries): Use "." instead of "::" for Java.
3670 (consider_token): is_func renamed to is_func_or_var.
3671 (C_entries): is_func renamed to funorvar.
3672 (C_entries): Initialise tok.named.
3673 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
3674 get rid of "import", "package" and "friend".
3675 (fvdef): Renamed from funcdef. Also some constants renamed. All
1c478461 3676 users changed.
362bc2da
DL
3677 (C_entries): Make separate tags for variables separated by comma.
3678 (globals, members): New flags.
3679 (main, C_entries): Use them.
3680 (make_C_tag, C_entries): Make tok a global variable.
1c478461 3681
880820fe 36821997-05-16 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3683
3684 * etags.c (funcdef): New vignore constant.
3685 (consider_token, C_entries): Use it to tag global variables.
3686 (print_help): Update for global variables.
3687 (consider_token, C_entries): Set the len member of token_name.
3688 (prolog_pred): Cleanup according to GNU coding standards.
3689 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
3690 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
3691
880820fe 36921997-05-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3693
3694 * etags.c (CHARS, CHAR): New constant and macro.
3695 (iswhite, begtoken, intoken, endtoken): Use them.
3696 (notinname, _nin, nonam): New macro, array, string.
3697 (init): Cleanup and init _nin.
3698 (new_pfnote): New function.
3699 (make_C_tag) [traditional_tag_style]: Use it.
10d1d0af 3700 (traditional_tag_style): Constant set to TRUE for now.
362bc2da 3701
880820fe 37021997-05-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3703
3704 * etags.c (C_entries, Pascal_functions): Cleanup.
3705 (TeX_functions): NULL as a function arg needs a cast.
3706 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
3707
880820fe 37081997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3709
3710 * etags.c (TeX_functions): Cleaned up.
3711 (tex_getit): Removed.
3712
37131997-05-13 Paul Eggert <eggert@twinsun.com>
3714
3715 * rcs2log (files): When computing arguments automatically, ignore
ecc54057 3716 non-files within the RCS subdirectory.
362bc2da 3717
880820fe 37181997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3719
3720 * etags.c (C_JAVA): New #define.
3721 (Cjava_suffixes): .java is Java.
3722 (Cjava_entries): New function.
3723 (lang_names): Add Java.
3724 (sym_type): Add st_C_javastruct for Java.
3725 (C_stab_entry): Add `extends' and `implements' keywords.
3726 (consider_token, C_entries): Recognise Java structures.
3727
880820fe 37281997-05-12 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 3729
ecc54057 3730 * etags.c (Cplusplus_suffixes): .pdb is Postscript with C syntax.
362bc2da
DL
3731 (Postscript_suffixes): .ps is Postscript.
3732 (lang_names): Add Postscript.
3733 (Postscript_functions): New function.
3734 (TEX_decode_env): Close minor memory leak.
3735 (just_read_file): Correct the char number of the tag.
3736
37371997-05-11 Paul Eggert <eggert@twinsun.com>
3738
3739 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
ecc54057
JB
3740 Don't prepend $nl since this causes some shells to generate the
3741 empty string when IFS is $nl.
362bc2da 3742 (printlogline): Use SOH (octal code 1), not CR, since some
ecc54057 3743 PC-based shells mishandle CR.
362bc2da
DL
3744 (initialize_fullname): Set NIS_PATH to the empty string before invoking
3745 nismatch, in case it's set to some nonstandard value.
1c478461 3746
362bc2da
DL
37471997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3748
3749 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
3750 read in separate blocks.
3751
880820fe 37521997-04-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3753
3754 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
3755 (struct linebuffer): New member `len' is the length of the string.
3756 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
3757 Use it instead of strlen.
3758 (TEX_getit): Declare and define unconditionally as static.
3759 (TeX_functions): Use if instead of #if TeX_named_tokens.
3760 (add_regex): Set RE_INTERVALS flag for regex compilation.
3761 (substitute): Code cleanup.
3762 (readline_internal): Code cleanup, set new member `len'.
3763 (readline): Bug corrected.
3764
37651997-04-23 Geoff Voelker <voelker@cs.washington.edu>
3766
3767 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
3768 (obj): Change references of nt*.c files to w32*.c files.
3769
880820fe 37701997-04-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3771
3772 * etags.c (xnew): Add support for debugging with chkmalloc.
3773 (error): Use this instead of printf whenever possible.
3774 (main): Only call xnew after having initialised progname.
3775 (substitute): Bad memory corruption error corrected.
3776
880820fe 37771997-04-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3778
3779 * etags.c (add_regex): Undo previous change.
3780 (relative_filename): Small memory leak closed.
3781 (absolute_filename): Cleaned up the code, possibly closing a bug.
3782 (absolute_dirname): Always return a newly allocated string.
1c478461 3783
362bc2da
DL
37841997-03-21 Paul Eggert <eggert@twinsun.com>
3785
3786 * rcs2log (files): Ignore files in RCS directory whose names are
ecc54057
JB
3787 of the form ,*, or *_; they are probably RCS lock files.
3788 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
362bc2da
DL
3789 they are used by rcsfreeze.
3790
880820fe 37911997-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 3792
2f2c687b 3793 * etags.c (add_regex): Reset *putbuf before using it.
362bc2da
DL
3794
37951997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3796
3797 * movemail.c (popmail): Remove some unnecessary function
3798 declarations.
3799 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
3800 into pop_retr, there's no reason to pass in mbx_write, and the
3801 file argument can be declared FILE * explicitly. This fixes a
3802 compilation problem on systems with 64-bit pointers.
3803
38041997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3805
3806 * movemail.c: Delete duplicate inclusion of fcntl.h
3807 and duplicate #undefs of open, read, write, close.
3808
38091997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3810
3811 * movemail.c (main): Do not display "[POP-password]" in the usage
3812 message when movemail is compiled without POP support.
3813 (main, popmail): Add the optional "-p" argument, which causes
3814 movemail to leave mail in the inbox after copying it into the
3815 output file.
1c478461 3816
362bc2da
DL
3817 * Makefile.in (movemail): Link with getopt.
3818
38191997-01-20 Paul Eggert <eggert@twinsun.com>
3820
ecc54057 3821 * rcs2log (--help, --version): New options, per GNU coding standards.
362bc2da
DL
3822 (Copyright, Help, Id): New variables, for above.
3823 (rlog): Use -q option with cvs log, to avoid useless chatter.
3824
3825 Treat logs of "Initial revision" (RCS) or "file F was initially added
3826 on branch B." (CVS) as if they said "New file.", for consistency with
3827 change log entries.
3828
38291997-01-01 Paul Eggert <eggert@twinsun.com>
3830
3831 * vcdiff (PATH): Add /usr/xpg4/bin,
3832 where XPG4 SCCS hangs out in Solaris 2.5.
3833 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
3834
38351996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3836
3837 * etags.c (streq, strneq): Use == NULL rather than !.
3838
38391996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
3840
3841 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
ecc54057 3842 (movemail): Use LIBMAIL, to link against -lmail.
362bc2da
DL
3843
3844 * movemail.c: Include maillock.h (conditionally).
3845 Remove a redundant inclusion of <stdio.h>.
3846 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
3847 (main): Add variable spool_name.
3848 Support the usage of maillock and mailunlock to
ecc54057 3849 lock and unlock mailboxes.
362bc2da
DL
3850 (mail_spool_name): New function.
3851
3852 * movemail.c: Fix an uninitialized variable which could cause
ecc54057
JB
3853 movemail to exit with an error status incorrectly on systems which
3854 use lock files rather than a system locking function to lock
3855 mailboxes.
362bc2da
DL
3856
38571996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3858
3859 * pop.c (socket_connection): Free realhost after using it.
3860
880820fe 38611996-12-04 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3862
3863 * etags.c (C_entries): Test tok.valid. This handles some
3864 particular cases involving function declarations that failed.
3865
38661996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 3867
362bc2da
DL
3868 * pop.c (socket_connection):
3869 gethostbyname may return a pointer to static data.
3870 krb_realmofhost can clobber it. So copy it.
3871
880820fe 38721996-11-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3873
3874 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
3875 must cast it to (char *) because we have no prototypes.
3876 (make_C_tag): Macro deleted, new function.
3877 (C_entries): Calls to make_C_tag macro changed to call function.
3878
880820fe 38791996-11-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3880
3881 * etags.c (grow_linebuffer): New function.
3882 (GROW_LINEBUFFER): Macro deleted. All callers changed.
3883 (make_tag): Macro renamed to make_C_tag. All callers changed.
3884 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
3885 (Prolog_functions): prolog_skip_comment was called with wrong
3886 number of arguments.
6088b51f 3887 (xrealloc): fatal was called with wrong number of arguments.
362bc2da 3888
880820fe 38891996-11-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3890
3891 * etags.c (relative_filename): Bug corrected.
3892 (etags_getcwd): Avoid warning of unused variable.
3893 (C_entries, consider_token): Added support for enum labels.
3894
38951996-11-03 Paul Eggert <eggert@twinsun.com>
3896
3897 * rcs2log: When processing cvs log output, remove `Attic/' from
ecc54057 3898 repository file names.
362bc2da
DL
3899
39001996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
3901
3902 * emacsserver.c: Fix 1996-09-02 change.
3903
39041996-10-12 Paul Eggert <eggert@twinsun.com>
3905
3906 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
ecc54057 3907 option', since CVS says 'invalid option'.
362bc2da
DL
3908 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
3909 revisions, since some hosts reject 1970-01-01 when east of UTC.
3910 (date): Remove.
3911
39121996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3913
3914 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
3915
880820fe 39161996-10-02 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3917
3918 * etags.c (print_version): Print copyright info.
3919
3920 * etags.c (print_help): Print the bug reporting address.
3921 (main): Use return as the last instruction, instead of exit.
3922
3923 * etags.c (main): Don't open the tags file in cxref mode.
3924
39251996-09-29 Dave Love <d.love@dl.ac.uk>
3926
3927 * rcs2log (date): Make default format acceptable to CVS post v1.8
ecc54057 3928 as well as earlier CVSs and RCS.
362bc2da
DL
3929
39301996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3931
3932 * movemail.c (main): If the lock call fails with EBUSY or
3933 EAGAIN, retry a few times.
3934
39351996-09-25 Paul Eggert <eggert@twinsun.com>
3936
3937 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
ecc54057 3938 whether to append -zLT.
362bc2da
DL
3939
39401996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3941
3942 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
3943 * emacsclient.c, movemail.c: Likewise.
3944
39451996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3946
3947 * emacsclient.c (longopts): Change nowait to no-wait.
3948 (print_help_and_exit): Fix option name; upcase metavars.
3949
39501996-09-06 Erik Naggum <erik@naggum.no>
3951
3952 * emacsserver.c (main): Declare `fromlen' as size_t.
3953
39541996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
3955
3956 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
3957
39581996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3959
3960 * emacsclient.c (quote_file_name): Quote with &, not \.
3961 Quote `-' only at start of file name. Terminate the value string.
3962
3963 * emacsserver.c: Include signal.h properly;
3964 delete the duplicate includes for it.
3965
3966 * emacsserver.c: On fatal signal, delete socket-file:
3967 * emacsserver.c: Include signal.h.
ecc54057 3968 (xmalloc, fatal, error): New functions.
362bc2da
DL
3969 (delete_socket, handle_signals): New functions.
3970 (progname, socket_name): New variables.
194d44e7 3971 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
362bc2da
DL
3972
39731996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3974
3975 * emacsclient.c (quote_file_name): New function.
3976 (main, both versions): Use quote_file_name.
3977 (decode_options): Don't return a value.
3978 (main, both versions): Use optind.
3979 Don't check for -nowait here.
1c478461 3980
362bc2da
DL
3981 * emacsclient.c (decode_options): New function.
3982 (main, both versions): Call decode_options.
3983 (print_help_and_exit): New function.
3984 (VERSION): New macro.
3985
3986 * Makefile.in (emacsclient): Link with getopt.
3987 Add -DVERSION so emacsclient knows its version number.
3988
39891996-08-31 Geoff Voelker <voelker@cs.washington.edu>
3990
3991 * makefile.nt (lisp): Include dos-nt.elc.
3992
39931996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3994
3995 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
3996
39971996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3998
3999 * emacsclient.c (both versions): Handle -nowait and --nowait
4000 by sending data to the server.
4001
40021996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4003
4004 * Makefile.in (INSTALL_STRIP): New variable.
4005 (${archlibdir}): Use INSTALL_STRIP.
4006
4007 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
4008 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
4009
4010 * pop.c: Reverse conditional in previous change.
4011
40121996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4013
4014 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
4015
40161996-08-24 Paul Eggert <eggert@twinsun.com>
4017
4018 * rcs2log: Use ISO 8601 date format, with time zone appended
4019 if change-log-time-zone-rule is non-nil, instead of
4020 traditional Unix date format.
4021
4022 (datearg): When computing default from ChangeLog, handle ISO format
4023 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
4024 Don't worry about hh:mm:ss since the resolution is now by day.
10d1d0af 4025 Use empty datearg, not empty rlog_options, to decide whether to pass
362bc2da
DL
4026 "$datearg" option to $rlog.
4027 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
4028 (month_data): Remove `mo'; no longer needed.
10d1d0af 4029 (rlog_options): Use -zLT for localtime output, if `rlog' supports it.
362bc2da
DL
4030
4031 Match `revision' line of rlog output more accurately.
4032
4033 Add -c, -v options.
4034
40351996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
4036
4037 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
4038
40391996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4040
4041 * Version 19.33 released.
4042
40431996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4044
4045 * Version 19.32 released.
4046
40471996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
4048
4049 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
4050 computing character positions in source files.
4051
40521996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
4053
4054 * makefile.nt (clean): Use OBJDIR macro.
4055
40561996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4057
4058 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
4059
c60ee5e7 40601996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
362bc2da 4061
ecc54057 4062 * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
362bc2da
DL
4063 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
4064 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
4065
40661996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
4067
4068 * ntlib.h: Correct return type of getwd.
4069 * ntlib.c (getwd): Correct return type.
4070
40711996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4072
4073 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
4074 to infile.
4075
40761996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
4077
4078 * makefile.nt: Remove all references to wakeup.
4079
880820fe 40801996-06-28 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4081
4082 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
4083 explicit, mutable, typename.
4084
40851996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4086
4087 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
4088 streams, one for sending and one for reading the reply.
4089
40901996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4091
4092 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
4093 (wakeup): Target deleted.
4094 (UTILITIES): Delete wakeup and timer.
4095
4096 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
4097
40981996-06-11 Geoff Voelker <voelker@cs.washington.edu>
4099
4100 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
4101 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
4102
41031996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4104
4105 * etags.c (main): Copy cwd when appending slash.
4106
41071996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
4108
4109 * Version 19.31 released.
4110
880820fe 41111996-05-17 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4112
4113 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
4114 (Pascal_functions): Increase linecharno by the correct number of
4115 chars, inline the GET_NEW_LINE macro and delete its definition.
4116
c60ee5e7 41171996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
4118
4119 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
4120
c60ee5e7 41211996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
4122
4123 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
6088b51f 4124 (movemail.exe, fakemail.exe): Now built under Win32.o.
362bc2da
DL
4125
4126 * ntlib.c: Include ntlib.h.
4127 (nt_sleep): Rename to sleep.
4128 (getwd): Return directory.
4129 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
4130 sys_ctime, sys_fopen): New functions.
4131
4132 * ntlib.h: New file.
4133
41341996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
4135
4136 * pop.c (SEND, RECV): Renamed from send, recv.
4137 (pop_open, pop_trash): Make the trash_started code unconditional.
4138 (socket_connection): Delete casts to void.
4139
41401996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
4141
4142 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
4143 copied from lisp.h.
4144
41451996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
4146
4147 * fakemail.c [WINDOWSNT]: Include ntlib.h.
4148
4149 * hexl.c [DOSNT]: Include fcntl.h.
4150 [WINDOWSNT]: Include io.h.
4151 (main) [MSDOS]: Change conditional to DOS_NT.
4152
4153 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
4154 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
4155 [WINDOWSNT]: Include locking.h.
4156 (main): Update usage message. Use IS_DIRECTORY_SEP.
4157 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
4158 (main) [WINDOWSNT]: Invoke locking instead of flock.
4159 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
4160 (main) [MAIL_USE_POP]: Pass password to popmail if used.
4161 Include winsock.h; don't include unix inet headers.
4162 (popmail): Add password argument and pass it to pop_open.
4163 Open output file in binary mode.
4164
4165 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1c478461 4166 Macro SOCKET_ERROR undefined.
362bc2da
DL
4167 Don't declare h_errno.
4168 [!WINDOWSNT]: Define macros recv and send.
4169 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
4170 (pop_open) [WINDOWSNT]: Initialize trash_started.
4171 (have_winsock) [WINDOWSNT]: New variable.
4172 (socket_connection) [WINDOWSNT]: Initialize winsock.
4173 (socket_connection): Use closesocket instead of close.
4174 (getline): Use recv instead of read.
4175 (fullwrite): Use send instead of write.
4176 (pop_trash): Use closesocket instead of close.
4177 (pop_trash) [WINDOWSNT]: Cleanup winsock.
4178 Check if being called recursively by sendline.
4179
4180 * pop.h (struct _popserver): New field trash_started.
4181
4182 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
4183
41841996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4185
4186 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
4187
41881996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4189
4190 * etags.c [WINDOWSNT]: Include io.h.
4191
41921996-04-10 Geoff Voelker <voelker@cs.washington.edu>
4193
4194 * makefile.nt (CTAGSOBJ): Compile with regexp support.
4195
41961996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
4197
4198 * hexl.c [DJGPP v2]: Include io.h.
4199 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
4200
4201 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
4202 DJGPP v2.
4203
42041996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4205
4206 * etags.c (absolute_filename): Use absolutefn.
4207
42081996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
4209
4210 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
4211 letter isn't an alphabetic character.
4212 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
4213 (process_file) [DOS_NT]: Convert all slashes to forward style.
4214 (absolute_filename) [DOS_NT]: Emit error message for relative
4215 paths with a drive letter.
4216 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
4217 DOS/NT drive letters which try to reference the parent of the root.
4218 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
4219
42201996-03-27 Geoff Voelker <voelker@cs.washington.edu>
4221
4222 * makefile.nt: Change uses of del to $(DEL).
4223
880820fe 42241996-03-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4225
4226 * etags.c (just_read_file): Reset lineno and charno on entry.
4227
42281996-03-15 Anders Lindgren <andersl@csd.uu.se>
4229
4230 * etags.c: Prolog language totaly rewritten.
ecc54057 4231 (Prolog_functions): Rewritten from scratch.
362bc2da 4232 (skip_comment, prolog_getit): Removed.
ecc54057
JB
4233 (prolog_skip_comment): New function, like old skip_comment.
4234 (prolog_pred, prolog_atom, prolog_white): New functions.
4235 (erlang_func, erlang_attributes): Forward declarations added.
4236 (erlang_atom): Check if backslash ends line inside quoted atom.
362bc2da 4237
880820fe 42381996-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4239
4240 * etags.c (absolutefn): DOS_NT version corrected.
4241 (main): Append "/" to the dir name only if not already there.
4242 (print_help): Explain the absolute/relative file name issue.
1c478461 4243
362bc2da
DL
42441996-03-08 Anders Lindgren <andersl@csd.uu.se>
4245
10d1d0af
JB
4246 * etags.c: New Language Erlang added.
4247 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom)
4248 (erlang_white): New functions.
362bc2da
DL
4249 (Erlang_suffixes): New suffix list.
4250 (lang_names): Erlang entry added.
4251 (prolog_getit): Accepts headers spanning several lines.
4252 Always name tags.
4253 (Prolog_functions): Removed incorrect compensation for
4254 newline characters.
4255 (readline_internal): Zero-terminate last line.
4256
42571996-03-20 Mike Long <mike.long@analog.com>
4258
4259 * b2m.c (main): Initialize progname variable before using it.
4260 Quote `username' in From_ header.
4261
42621996-03-18 Geoff Voelker <voelker@cs.washington.edu>
4263
4264 * ntlib.c (getpid): New function.
4265
42661996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4267
4268 * emacsclient.c (main, both definitions):
4269 Print a newline for normal termination.
4270
42711996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
4272
4273 * tcp.c (main): Convert port to network byte order.
4274
42751996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
4276
4277 * pop.c (pop_retrieve, getline): Avoid type clashes.
4278
42791996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
4280
4281 * etags.c (enum sym_type, anonymous enum): Delete final comma.
4282
42831996-01-15 Paul Eggert <eggert@twinsun.com>
4284
4285 * rcs2log (initialize_fullname): Add support for NIS+.
4286 (hostname): Fully qualify the default hostname with the domainname
4287 if the hostname lacks a `.'.
4288
362bc2da
DL
42891996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
4290
4291 * etags.c (consider_token): Fix typo in expression.
4292
42931996-01-04 Paul Eggert <eggert@twinsun.com>
4294
4295 * etags.c (substitute): Fix spelling in message.
4296
42971996-01-03 George V. Reilly <georger@microcrafts.com>
4298
4299 * makefile.nt (etags, ctags): Compile with regexp support.
4300 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
4301 subdirectory exists before compiling.
1c478461 4302
362bc2da
DL
43031996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
4304
4305 * emacsserver.c (main): Do chmod based on existing permission.
4306
43071995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4308
4309 * Makefile.in (install): Turn on read/execute permission.
4310
43111995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4312
4313 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
4314 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
4315
43161995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4317
4318 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
4319
880820fe 43201995-12-07 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
4321
4322 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
4323 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
4324 get_scheme, prolog_getit): Name the tag in ctags mode.
4325 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
4326 (Perl_interpreters): Accept "@PERL@" as an interpreter.
4327 (suggest_asking_for_help): New function.
4328 (main, get_language_from_name): Use suggest_asking_for_help.
4329 (main): Let get_language_from_name make language existence check.
4330 (streq, strneq): Check the arguments #if DEBUG.
4331
880820fe 43321995-12-06 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
4333
4334 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
4335 (gperf): Added keywords for Objective C and GNU macros.
4336 (sym_type): Added values to account for Objective C and GNU macros.
4337 (begtk): The '@' character can start a token.
4338 (objdef, methodlen, objtag): New variables for Objective C.
4339 (consider_token, C_entries): Added code for Objective C.
4340 (plain_C_suffixes): Add .m and .lm for Objective C.
4341 (Yacc_suffixes): Add .ym for Objective yacc.
4342 (GROW_LINEBUFFER): New macro.
4343 (consider_token, C_entries, Pascal_functions): Use the new macro.
4344 (consider_token): Take one more argument. Caller changed.
4345 (consider_token): Use the hashing function to spot GNU macros.
4346 (C_entries): Consider // as a comment start even in plain C for
4347 the sake of Objective C parsing.
4348
880820fe 43491995-12-04 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da 4350
2f2c687b 4351 * Makefile.in (ctags): Depend on etags only for simplicity;
ecc54057 4352 compile with regexp support enabled.
362bc2da
DL
4353
43541995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4355
4356 * Version 19.30 released.
4357
43581995-11-22 Geoff Voelker <voelker@cs.washington.edu>
4359
4360 * makefile.nt (DOC, clean): Don't use switches to del not
4361 supported by Windows 95.
4362
43631995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4364
4365 * Makefile.in (regex.o): Depend on ../src/config.h.
4366
43671995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4368
4369 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
4370 (LOADLIBES): Use LIB_STANDARD.
4371
43721995-11-07 Kevin Gallo <kgallo@microsoft.com>
4373
4374 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
4375 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
4376 Windows 95 conditional.
4377
880820fe 43781995-11-06 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4379
4380 * etags.c (get_lang_from_name, get_lang_from_interpreter,
4381 get_lang_from_suffix): New functions.
4382 (get_language): Function deleted.
4383 (lang_entry): Two members added to struct.
4384 (lang_names): Reflect the new layout of lang_entry.
4385 (print_language_names, main, find_entries): Use the new functions.
4386 (find_entries): Look at the first line for #! if no language.
4387 (C_entries): Invalidate the token when funcdef is reset.
4388 (Perl_functions): New function.
4389 (lang_suffixes): .pl and .pm are Perl suffixes.
4390
880820fe 43911995-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4392
4393 * etags.c (lowcase): Use the standard tolower function.
4394 (substitute): Remove some wrong and some useless code related with
a64387ee 4395 escape '\' character in regexp replacement string.
362bc2da
DL
4396 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
4397 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
4398 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
4399 .prolog for prolog (.pl removed).
4400 (massage_name, etags_getcwd): Use lowcase instead of tolower.
4401 (C_entries, find_entries): Added comments about memory leakage.
4402 (add_node): Dead code removed.
4403
44041995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4405
4406 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
4407 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
4408
44091995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4410
4411 * test-distrib.c: Add #undef for open, close, read, write.
4412
44131995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4414
4415 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
4416 [! O_RDONLY]: Define it to zero.
4417 (main): Use O_RDONLY instead of explicit zero.
4418
880820fe 44191995-08-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4420
4421 * etags.c (Pascal_functions): Close comment bug corrected.
4422 (add_node): Correctly compare node file names.
4423 (Pascal_functions): Correctly allocate and free memory for tline.
4424 (pfnote): Put the definition of fp in the innermost block.
4425 (NODE): `named' member removed.
4426 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1c478461 4427 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
4428 (pfnote): `named' argument removed, all callers changed.
4429 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
4430 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1c478461 4431 removed from pfnote call, some code cleanup.
362bc2da
DL
4432 (relative_filename): Free temporary space allocated by concat.
4433
44341995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4435
4436 * Makefile.in (getdate.c): New target.
4437 (getdate.o): Just compile getdate.c.
4438
44391995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
4440
4441 * fakemail.c (xrealloc): Change cast to match return type.
4442
44431995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4444
4445 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
4446
44471995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4448
4449 * movemail.c (main): Fix previous change.
4450 Add error check for empty OUTNAME.
4451
44521995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4453
4454 * movemail.c (main): Mention lock file name in error message.
4455
44561995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4457
4458 * profile.c (gettimeofday): New function, defined if necessary.
4459
44601995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4461
4462 * Makefile.in: Renamed from Makefile.in.in.
4463 (distclean): Delete Makefile.c, not Makefile.in.
4464
44651995-07-17 Michael Shields <shields@tembel.org>
4466
4467 * Makefile.in.in (tags): Synonym for `TAGS'.
4468
44691995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4470
4471 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
4472 configure has already set $(INSTALL) to the proper relative path.
4473
880820fe 44741995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4475
2f2c687b
JB
4476 * etags.c (plain_C_entries): New function.
4477 (lowcase): New macro.
4478 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
4479 (lang_suffixes): New suffix ".pc" for Pro*C files.
4480 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
4481 (tail): Look for the end of the token when comparing.
4482 (takeprec): Since now tail behaves differently, use strneq.
362bc2da
DL
4483
44841995-07-08 Paul Eggert <eggert@twinsun.com>
4485
4486 * rcs2log (datearg): Separate date from time with comma, not space,
4487 to work around CVS 1.5 bug.
4488 (CVSROOT): Don't abort when unset if repository is absolute.
4489
44901995-07-07 Paul Eggert <eggert@twinsun.com>
4491
4492 * rcs-checkin, rcs2log, vcdiff:
4493 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
4494 that interpret `#! /' as a 4-byte magic number.
4495
44961995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
4497
4498 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
4499 mailbox with "po:mailbox", the mailbox is everything after the
4500 "po:" prefix.
4501
45021995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4503
4504 * emacsserver.c: Make all error messages start with `Error: '.
ecc54057 4505 (fatal_error, perror_1): New functions, use throughout.
362bc2da
DL
4506
45071995-06-28 Paul Eggert <eggert@twinsun.com>
4508
4509 * rcs2log (CVSROOT, repository):
4510 Allow remote repositories a la CVS 1.4.
4511
880820fe 45121995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4513
2f2c687b
JB
4514 * etags.c (plain_C_entries): New function.
4515 (lowcase): New macro.
4516 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
4517 (lang_suffixes): New suffix ".pc" for Pro*C files.
4518 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
4519 (tail): Look for the end of the token when comparing.
4520 (takeprec): Since now tail behaves differently, use strneq.
362bc2da
DL
4521
45221995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4523
4524 * movemail.c (main): Add newline in usage message.
4525
45261995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4527
4528 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
4529
880820fe 45301995-06-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4531
4532 * etags.c (find_entries): Rewind before rereading the input file.
4533
45341995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4535
4536 * Version 19.29 released.
4537
4538 * make-docfile.c (main) [MSDOS]: Do set _fmode.
4539 This undoes part of the previous change.
4540
45411995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4542
4543 * make-docfile.c (main): On MSDOS, don't change stdout
4544 to binary, and insist on an -o option.
4545
45461995-06-13 Geoff Voelker <voelker@cs.washington.edu>
4547
4548 * etags.c (process_file,absolute_filename): Handle filenames
4549 starting with a drive letter.
4550
4551 * makefile.nt (install): Copy wakeup.exe properly.
4552
45531995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
4554
4555 * make-docfile.c [MSDOS]: #undef chdir.
4556
45571995-06-04 Paul Eggert <eggert@twinsun.com>
4558
4559 * rcs2log (output_authors): Allow ':' in time zone,
4560 as per ISO 8601 and RCS 5.6.8 beta.
4561
880820fe 45621995-05-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4563
4564 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
4565 compatibility problems.
4566
45671995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
4568
4569 * etags.c (etags_getcwd): Don't use #elif.
4570 Have just one function body.
4571
45721995-05-25 Geoff Voelker <voelker@cs.washington.edu>
4573
4574 * makefile.nt (LIBS): Use BASE_LIBS.
4575 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
4576 upon LIBS.
4577 (DOC): Use del instead of rm.
4578 (DOC) [WINDOWS95]: Use DOC.
4579 (clean): Handle MSVC aux files.
4580 (config.h,paths.h): Use $(CP) instead of cp.
4581 (config.h): Use $(CONFIG_H)
4582 (make-docfile.obj): Depend upon config.h.
4583 Clean up comments.
4584
880820fe 45851995-05-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4586
4587 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
4588 former gives the true path even in the presence of simlinks.
4589
45901995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4591
4592 * movemail.c (main): Increase lock timeout to five minutes.
4593
45941995-05-06 Geoff Voelker <voelker@cs.washington.edu>
4595
4596 * makefile.nt (obj): Use .c files.
4597
45981995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4599
4600 * make-docfile.c: Include config.h.
4601 (NO_SHORTNAMES): New definition.
4602 (xmalloc): Return long *.
4603
4604 * etags.c (C_entries): Cast result of xrealloc.
4605 (xmalloc, xrealloc): Declare them to return long *.
4606
4607 * b2m.c (xmalloc, xrealloc): Declare them long *.
4608
4609 * movemail.c (xmalloc): Declare it to return long *.
4610
46111995-04-30 Paul Eggert <eggert@twinsun.com>
4612
4613 * rcs2log (datearg): If rlog options are specified explicitly,
4614 omit the implicit '-d>DATE' option.
4615 (repository, rlog): Allow absolute paths to CVS repositories.
4616 Look only at the first line of CVS/Repository.
4617
46181995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
4619
4620 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
4621 realclean.
4622
46231995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4624
4625 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
4626 Alternative (empty) definitions.
4627
46281995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4629
4630 * emacsclient.c (main): Add argv[0] to an error message.
4631
46321995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
4633
4634 * emacsclient.c (main): Improve error handling.
4635 * cvtmail.c (main, skip_to_lf): Improve error handling.
4636 (sysfail): New function.
4637
4638 * b2m.c (main): Check for trailing ", " before trying to delete it.
4639
46401995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4641
4642 * Makefile.in.in (all): Build test-distrib and make-docfile.
4643
4644 * make-docfile.c (scan_c_file): At end, restore file name last char
4645 to its original value.
4646
46471995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4648
4649 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
4650
46511995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4652
4653 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
4654 (alloca.o, regex.o): Use BASE_CFLAGS.
4655
46561995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4657
4658 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
4659
46601995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
4661
4662 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
4663 (SOURCES, distclean): Removed obsolete references to aixcc.
4664
46651995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4666
4667 * aixcc.lex: File deleted--surely obsolete now.
4668
46691995-03-23 Paul Eggert <eggert@twinsun.com>
4670
4671 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
4672 portability to mawk and nawk.
4673
46741995-03-21 Paul Eggert <eggert@twinsun.com>
4675
4676 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
4677 -u "login<tab>fullname<tab>mailaddr".
4678
46791995-03-21 Paul Eggert <eggert@twinsun.com>
4680
4681 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
4682 replaces the (now obsolescent) -n login fullname mailaddr option.
4683 Add -R option for recursive rlog.
07655e62 4684 (AWK): New environment variable (default `awk') for awk program name.
362bc2da
DL
4685 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
4686 Quote authors and fullnames correctly.
4687 Don't omit path from repository root when logging CVS files.
4688
46891995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4690
4691 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
4692 even if HAVE_SYSVIPC.
4693 * emacsclient.c (main): Use getcwd if not BSD.
4694
880820fe 46951995-03-13 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4696
2f2c687b 4697 * etags.c (process_file): Free (filename) after using it.
362bc2da
DL
4698 (readline_internal): Do not access the char before start of line.
4699
880820fe 47001995-02-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4701
4702 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
4703 savetok.valid. Mark token as valid when it is initialised.
4704 (make_tag): Make token only if token is valid and reset validity.
4705 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
4706 (TOKEN): Added a new member: valid.
4707
880820fe 47081995-02-15 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4709
4710 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
4711 (main): Do not read twice the last filename in the stdin file list.
4712
880820fe 47131995-02-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4714
4715 * etags.c (C_entries): Initialise the new members of TOKEN.
4716 (C_entries): Do not allocate a new space for each token found by
4717 consider_token. Let make_tag do that instead.
4718 (make_tag): Since now TOKEN has memory of where it is taken from,
4719 this new macro substitutes both make_tag_from_new_lb and
4720 make_tag_from_oth_lb. All callers changed.
4721 (TOKEN): Add linepos and buffer members.
4722 (main): Initialise token_str.
4723 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
4724 (token_str): New global variable used by C_entries.
4725
47261995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
4727
4728 * Makefile.in.in (maintainer-clean): Renamed from realclean.
4729
880820fe 47301995-02-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4731
4732 * etags.c (pfnote): Initialise been_warned in the node.
4733 (C_entries): Removed a speed hack for the sake of clarity.
4734
880820fe 47351995-01-18 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4736
4737 * etags.c (longopts, print_help, main): Use -I as abbreviation
4738 for the --ignore-indentation option.
4739 (main): Do not print an error message for unknown options.
4740
880820fe 47411995-01-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4742
4743 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
194d44e7
JB
4744 (append_to_tagfile, typedefs, typedefs_and_cplusplus)
4745 (constantypedefs, update, vgrind_style, no_warnings)
4746 (cxref_style, cplusplus, noindentypedefs): Were int, now logical.
362bc2da
DL
4747 (permit_duplicates): Was a var, now a #define.
4748 (filename_lb): Was global, now local to main.
4749 (main): Open the tag file when in cxref mode.
4750 Use a BUFSIZ size buffer for making the shell commands.
4751 Look at the return value from the system routine.
4752 Exit when cannot open the tag file.
4753 (process_file): Open the file and pass the FILE* to find_entries.
4754 (find_entries): Now void, because does not open the file itself.
4755 (pfnote): Recovering from lack of memory does not work. Removed.
4756 Use savenstr and simplify the code.
4757 (free_tree): Only free the name space if node is named.
4758 (structtag): Now a pointer, not a fixed length array of chars.
4759 (consider_token): Don't take a token as argument. Use savenstr
4760 when saving a tag in structtag. Callers changed.
4761 (TOKEN): Structure changed. Now used only in C_entries.
4762 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
4763 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
4764 (pfcnt): Deleted. Users updated.
194d44e7
JB
4765 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme)
4766 (TEX_getit, prolog_getit): Use dinamic allocation for storing
362bc2da
DL
4767 the tag instead of a fixed size buffer.
4768
47691995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4770
4771 * movemail.c (main): Skip past the colon in inname.
4772
880820fe 47731995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4774
4775 * etags.c (pfatal): New function.
4776 (main, etags_getcwd): Use pfatal.
4777 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
4778
880820fe 47791995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4780
4781 * etags.c (Lang_function): Use void instead to declare the
4782 language functions, because many compilers are buggy.
4783 (etags_getcwd): Fix the previous fix on the #else branch.
4784 (readline_internal): Discard possible \r before \n here.
4785 (C_entries): Do not deal with \r here: undo previous fix.
4786
880820fe 47871995-01-09 Francesco Potortì (pot@fly)
362bc2da
DL
4788
4789 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
4790 functions and a macro that allow the program to work on input
4791 lines of whatever length. Copied from etags.c.
4792 (fatal): Print a fatal error message and exit.
4793 (main): Use the new functions. Fixed a bug that made a \037 char
4794 appear at the end of the output.
4795
47961995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4797
4798 * etags.c (C_entries): Ignore carriage return at end of line.
4799
48001994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4801
4802 * fakemail.c (xmalloc, xrealloc): Add casts.
4803 (add_field): Handle <...> and "..." syntax.
4804 (setup_files, get_keyword): Clean up parens and line breaks.
4805 (args_size): Likewise.
4806
48071994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
4808
4809 * yow.c: Include program name in error messages.
4810
48111994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4812
4813 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
4814 (xmalloc, fatal, error): New functions.
4815 (progname): New variable.
4816 (main): Set progname.
4817
48181994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4819
4820 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
4821 (main): If socket/mqueue name is in home dir, add in the host name.
4822 Rename .emacs_server to .emacs-server....
4823
48241994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4825
4826 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
4827
880820fe 48281994-11-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4829
2f2c687b
JB
4830 * etags.c (print_help): Print --regex usage for ctags also.
4831 (main): Use -h in addition to -H as abbreviation for --help.
362bc2da 4832
880820fe 48331994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4834
4835 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
4836 is compiled if this is defined. The new functions and variables
4837 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
4838 [VMS]: All VMS specific code previously contained in
4839 etags-vmslib.c is now included here, modified for dealing with
4840 language and regex options intermixed with filenames.
4841 (header_file): Global variable deleted.
4842 (Lang_Function): New typedef. All language parser functions
4843 changed to this new type.
4844 (string_numeric_p, substr, prestr): Functions deleted.
4845 (readline_internal): Does the job that readline did previously.
4846 (longopts): --language and --regex options added.
4847 (lang_names, lang_extensions, lang_func, print_language_names):
4848 New structures, variables and functions for choosing languages.
4849 (print_help): Help strings updated. Calls print_language_names.
4850 (argument_type, ARGUMENT): Typedefs for dealing with language and
4851 regex options intermixed with filenames.
4852 (main): Changed the way of dealing with arguments on the command
4853 line to deal with language and regex options intermixed with
4854 filenames.
4855 (get_language, default_C_entries, Cplusplus_entries,
4856 Cstar_entries, Yacc_entries, just_read_file): New functions.
4857 (find_entries): Use the new method for choosing the language.
4858 (Pascal_functions): Allow intermixing of comment styles.
4859 (prolog_getit, skip_comment): Rewritten for speed.
4860 (readline): Rewritten to deal with regexps.
4861
880820fe 48621994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4863
4864 * etags.c (<errno.h>): #include added.
4865 (etags_getcwd): Check return value from getcwd.
4866
48671994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4868
4869 * profile.c (TV1, TV2): Use EMACS_TIME as type.
4870 (get_time): Use EMACS_SUB_TIME.
4871
d57727c9 48721994-10-30 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
4873
4874 * ntlib.c: New file.
4875 * makefile.nt: New file.
4876
4877 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
4878 [WINDOWSNT]: Include the NT headers.
4879 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
4880
4881 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
4882 [WINDOWSNT]: Include some NT headers.
4883
48841994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
4885
4886 * pop.c (getline): When a search of already-read input for CRLF
4887 fails, store the fact that we've searched it and don't search it
4888 again after reading more data.
4889
4890 * pop.c (getline): When determining whether or not it's necessary
4891 to grow the input buffer, take into account the null that's stored
4892 at the end of already-read input in the buffer.
4893
880820fe 48941994-10-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4895
2f2c687b 4896 * etags.c (prestr, substr): Return a logical type.
362bc2da 4897 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
2f2c687b 4898 (consider_token): Set funcdef to fignore when a DEFUN is met.
362bc2da
DL
4899 (C_entries): Now we can use Tom Hageman patch for extern "C".
4900
49011994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4902
4903 * movemail.c: PopServer renamed to popserver throughout.
4904
49051994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
4906
4907 * etags.c: Don't declare malloc, since we include config.h.
4908 * fakemail.c: Likewise.
4909
49101994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4911
4912 * movemail.c: Don't declare malloc.
4913
49141994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
4915
4916 * rcs-checkin: Use test -r instead of < to check readability, to
ecc54057 4917 avoid syntax error.
362bc2da
DL
4918
49191994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
4920
4921 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
4922 defined, and if HAVE_CONFIG_H isn't defined, define
4923 MAIL_USE_POP always (so that this file can be included in
4924 other programs besides emacs).
4925
4926 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
4927 HAVE_CONFIG_H isn't defined.
4928
4929 * pop.c (find_crlf, getline): Instead of using strstr, use a
4930 custom function for finding CRLF.
4931 (my_strstr): Function deleted.
4932
49331994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
4934
4935 * pop.c (getline): Fix a segfault because of passing a
4936 non-null-terminated string into strstr(). Fix from
4937 djm@va.pubnix.com (David J. MacKenzie).
4938
4939 * pop.c: Don't include <string.h> and <strings.h>.
4940
4941 * pop.c: Include <des.h> before <krb.h>, rather than after. They
4942 should be interchangeable, and indeed the inclusion is done in
4943 both orders in various files in the Kerberos 4 library sources,
4944 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
4945 requires that <des.h> be included first, and I don't see any harm
4946 in changing the order.
4947
4948 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
4949 STDC_HEADERS, if they're defined. Undef open, read, write and
4950 close after including it.
4951
49521994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4953
4954 * pop.c: Fix mismatch in conditionals.
4955
4956 * make-docfile.c (main): Don't process one input file twice.
4957 Never use exit code > 1.
4958
4959 * pop.c (open, close, read, write): Add #undefs.
4960
4961 * pop.c: Don't declare malloc, realloc, free.
4962 Include ../src/config.h.
4963 Don't include string.h or strings.h.
4964 Include des.h before krb.h.
4965 Do declare my_strstr.
4966 (getline): Really use my_strstr.
4967 Leave one empty place in server->buffer,
4968 and put a null at the end of the data in it.
4969
49701994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4971
4972 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
4973 call kill with pid 0. Handle EINTR when receiving messages.
4974
49751994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
4976
4977 * Makefile.in.in (regex.o): Use full path to find regex.c.
4978
880820fe 49791994-10-17 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 4980
2f2c687b
JB
4981 * Makefile.in.in (etags): Add dependency on regex.o, link with it.
4982 (REGEXPOBJ, REGEXPDEPS, regex.o): Target and macros added.
362bc2da
DL
4983
49841994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
4985
4986 * Makefile.in.in (DONT_INSTALL): Remove make-path.
4987 (${archlibdir}): Use mkinstalldirs instead.
4988
4989 * movemail.c: Make functions that return nothing void, not
4990 implicitly int.
4991 (main): Improve usage message.
4992 (error): Write to stderr, not stdout.
4993
4994 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
4995 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
4996 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
4997 variables and implicitly declared functions.
4998
49991994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5000
5001 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
5002 (distclean): Not here.
5003
5004 * Makefile.in.in (libexecdir): Renamed from libdir.
5005
880820fe 50061994-10-11 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5007
5008 * etags.c (C_entries): Name the #define's that are macros.
5009
50101994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5011
5012 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
5013 fd_set arg is a pointer, descriptor arg comes first.
5014
880820fe 50151994-09-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5016
5017 * etags.c (C_entries): Recognise typedef of ANSI style functions.
5018 (C_entries): Recognise #define inside a struct.
5019 (C_entries): ANSI tells that preprocessor commands do not have to
5020 start on the first column.
5021 (print_help): Documentation corrected for -d and -D.
5022 (white, endtk): ANSI tells the vertical tab is a separator.
5023
50241994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
5025
5026 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
5027 (pop.o, movemail.o): New targets.
5028 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
5029
5030 * pop.c, pop.h: New files.
5031
5032 * movemail.c: Improve POP code, move most of it into a separate file.
5033 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
5034 (mbx_write): Check for errors and for From line.
5035 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
5036 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
5037 (pop_init): Functions deleted.
5038
50391994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
5040
5041 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
5042 Rename path to dirname.
5043
50441994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5045
5046 * Makefile.in.in (UTILITIES):
5047 Remove test-distrib, make-docfile, make-path.
5048 (DONT_INSTALL): New variable--list those files here.
5049 (clean): Delete the files in DONT_INSTALL.
5050
50511994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5052
5053 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
5054 (main): Use fgets, not gets.
5055
50561994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5057
5058 * timer.c: Don't declare malloc.
5059
50601994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
5061
5062 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
5063 defined, use simple 32-bit versions of these macros.
5064 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
5065
c60ee5e7 50661994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
362bc2da
DL
5067
5068 * etags.c (etags_getcwd): Use getcwd if available.
5069
50701994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5071
5072 * Version 19.27 released.
5073
50741994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5075
5076 * Version 19.26 released.
5077
50781994-08-15 Paul Eggert <eggert@twinsun.com>
5079
5080 * rcs2log: Add support for CVS.
5081 Work with `rlog's that output ISO 8601 dates.
5082
50831994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
5084
5085 * rcs2log: Use <> to delimit email address.
5086
50871994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5088
5089 * emacsserver.c [SYSV_IPC] (main): Make a separate process
5090 so we can listen for multiple requests.
5091
50921994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5093
5094 * movemail.c: Include config.h first thing.
5095
50961994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5097
5098 * emacsserver.c (main): Add casts to avoid warnings.
5099
51001994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5101
5102 * Makefile.in.in (${archlibdir}): Compare the proper dir
5103 before installing the scripts.
5104
51051994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5106
5107 * emacsclient.c (main): New local var progname saves argv[0].
5108
51091994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5110
5111 * emacsclient.c (main): Don't actually modify argv[0].
5112 Modify a copy instead.
5113
51141994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5115
5116 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
5117 (tzp): Var deleted.
5118
5119 * Makefile.in.in: Add #undef alloca.
5120
51211994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5122
5123 * timer.c (xmalloc): New function.
5124
51251994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5126
5127 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
5128 (alloca.o): New target.
5129
51301994-07-08 Dave Love (d.love@dl.ac.uk)
5131
2f2c687b 5132 * etags.c (takeprec): Recognise `character*(*) function'.
362bc2da 5133
880820fe 51341994-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5135
ecc54057
JB
5136 * etags.c (main): Don't barf on obsolete -t and -T switches.
5137 (main): Print an explicative message when a switch is not known.
362bc2da
DL
5138
51391994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5140
5141 * hexl.c: Don't declare exit or perror.
5142
5143 * emacsserver.c (main): Don't declare geteuid.
5144 Don't declare getenv if convex.
5145
51461994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5147
5148 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
5149
880820fe 51501994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
5151
5152 * etags.c (absolute_filename): Remove infinite loop bug when
5153 accessing files in directories whose name begins with a dot.
5154
880820fe 51551994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
5156
5157 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
5158
51591994-06-01 Morten Welinder (terra@diku.dk)
5160
5161 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
5162 location of data directory.
5163
51641994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5165
5166 * Version 19.25 released.
5167
51681994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5169
5170 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
5171
51721994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5173
5174 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
5175
51761994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5177
5178 * Version 19.24 released.
5179
51801994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5181
5182 * make-docfile.c (write_c_args): Put `default' in upper case.
5183
51841994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5185
5186 * etags.c (etags_getcwd): Cast result of popen.
5187 (popen): Declaration deleted.
5188
51891994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
5190
5191 * etags.c [!MSDOS]: Declare popen.
5192
51931994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5194
5195 * b2m.c (main): Avoid crash if argc is 1.
5196
51971994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5198
5199 * Version 19.23 released.
5200
5201 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
5202
52031994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5204
5205 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
5206
52071994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
5208
5209 * Makefile.in.in: Fix out of date comment.
5210
52111994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5212
5213 * Makefile.in.in: Put in a separator for where to start cpp procssing.
5214 Move all autoconf substitutions above that point.
5215 Above that point, use Make-style comments.
5216 This goes with changes in ../configure.in.
5217
52181994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5219
5220 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
5221 warning message.
5222 (${archlibdir}): Don't do it here. Don't depend on blessmail.
5223
52241994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
5225
5226 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
5227
52281994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5229
5230 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
5231 print advice to run it, if it has anything significant to do.
5232 And only if MOVEMAIL_NEEDS_BLESSING.
5233 (blessmail): Use emacs, not temacs.
5234 (configuration): Renamed from configname.
5235
52361994-04-30 Morten Welinder (terra@diku.dk)
5237
5238 * etags.c (find_entries): Treat `*.cpp' as C++ files.
5239
52401994-04-30 Morten Welinder (terra@diku.dk)
5241
5242 * etags.c [MSDOS]: #include <sys/param.h> for the following.
5243 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
5244 a shell.
5245
52461994-04-29 Morten Welinder (terra@diku.dk)
5247
5248 * hexl.c [MSDOS]: Don't define proto type for exit.
5249
52501994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5251
5252 * b2m.c: Don't include string.h or strings.h.
5253
52541994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
5255
5256 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
5257 symbols, not make variables.
5258
52591994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5260
5261 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
5262 * etags.c (print_version): Print VERSION as a string.
5263
52641994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5265
5266 * fakemail.c (readline): Fix updating of p when buffer grows.
5267
52681994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
5269
5270 * Makefile.in.in (blessmail): New target.
5271 ${archlibdir}: Use blessmail when installing movemail.
5272
52731994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5274
5275 * fakemail.c (readline): When extending the buffer,
5276 calculate end afresh using the new size.
5277
880820fe 52781994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5279
2f2c687b 5280 * etags.c (main, print_help): Eliminate the -F option.
362bc2da 5281
880820fe 52821994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5283
2f2c687b 5284 * etags.c (absolute_filename): Compare against '\0' instead of NULL.
362bc2da
DL
5285
52861994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5287
5288 * Makefile.in.in: Renamed from Makefile.in.
5289 Makefile.in is now generated from it, and then preprocessed.
5290 Change comments to C syntax.
5291 Include config.h.
5292 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
5293 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
5294
52951994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5296
5297 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
5298
880820fe 52991994-04-12 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
5300
5301 * etags.c (etags_getcwd): Initialize bufsize.
5302
53031994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5304
5305 * profile.c (gettimeofday): If system doesn't have this, define it
5306 to give a fatal error.
5307
53081994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
5309
5310 * movemail.c (main): Use setuid, not seteuid.
5311
53121994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5313
5314 * etags.c: #undef static.
5315
880820fe 53161994-04-08 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5317
2f2c687b
JB
5318 * etags.c (outf, outfiledir): Renamed to tagf, tagfiledir.
5319 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs)
5320 (Scheme_funcs, prolog_funcs): Renamed to Fortran_functions,
362bc2da
DL
5321 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
5322 TeX_functions, Prolog_functions.
2f2c687b
JB
5323 (inf): No more a global variable.
5324 (C_entries): Take 2nd parameter `inf' instead of using the global one.
5325 (find_entries): Added the cp1 var for optimisation.
5326 (find_entries): Added more suffixes for assembler files.
362bc2da
DL
5327 (Asm_funcs): Now finds labels even without an ending colon.
5328
880820fe 53291994-03-30 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5330
2f2c687b
JB
5331 * etags.c (main): Use etags_getcwd for compatibility.
5332 (etags_getcwd): New function.
362bc2da
DL
5333
53341994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5335
5336 * Makefile.in (etags, ctags): Pass -D for VERSION.
5337
880820fe 53381994-03-25 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5339
2f2c687b
JB
5340 * etags.c (emacs_tags_format, ETAGS): Removed. Use CTAGS instead.
5341 (main): Don't allow the use of -t and -T in etags mode.
5342 (print_help): Don't show options enabled by default.
5343 (print_version): Show the emacs version number if VERSION is #defined.
5344 (find_entries): Add "ss" as suffix for Chez Scheme.
362bc2da 5345
880820fe 53461994-03-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5347
2f2c687b 5348 * etags.c (cwd, outfiledir): Vars added.
362bc2da
DL
5349 (relative_filename, absolute_filename, absolute_dirname):
5350 functions added to compute filenames in tags files.
2f2c687b 5351 (process_file): Filenames in tags file are relative to the
362bc2da 5352 directory where the tags file is (useful with the -o option).
2f2c687b
JB
5353 (main): Initialise the outfiledir var.
5354 (TYPEDST): Added the `tignore' value.
5355 (C_entries): Corrected various small bugs.
362bc2da
DL
5356
53571994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5358
5359 * Makefile.in (UTILITIES): `env' deleted.
5360 (env): Target deleted.
5361 * env.c: File deleted.
1c478461 5362
362bc2da
DL
53631994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5364
5365 * Makefile.in (install, ${archlibdir}): Switch back to ..
5366 before running INSTALL_PROGRAM.
5367
880820fe 53681994-03-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5369
2f2c687b
JB
5370 * etags.c (TYPEDST): Added the `tignore' value.
5371 (C_entries): Corrected various bugs, now correctly parses the
362bc2da
DL
5372 `extern "C" {' construction (patch by Tom R.Hageman).
5373
53741994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5375
5376 * b2m.c: Use <...> to include config.h.
5377 Don't include stdlib.h.
5378
177c0ea7 53791994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
362bc2da
DL
5380
5381 * b2m.c (main): Change delimiter from "^L" to "^_^L".
5382 Allow for text following "BABYL OPTIONS:".
5383 Add --help option. Use argv[0] in error messages.
5384
53851994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5386
5387 * emacsclient.c (main) [HAVE_SYSVIPC]:
5388 Make msgp->mtext longer if necessary.
5389 On HPUX, error if it's more than 512 chars.
5390
53911994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
5392
5393 * etags-vmslib.c: Use GPL.
5394 * emacstool.c: Use GPL.
5395 * fakemail.c: Update GPL.
5396
5397 * make-path.c (main): Return 1 on error, not -1.
5398 Update GPL.
5399
5400 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
5401 (xmalloc, xrealloc): Return char *, not int.
5402 (error): Write to stderr, not stdout.
5403 Update GPL.
5404
54051994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
5406
5407 * profile.c (main, get_time): Don't crash on invalid input.
5408
54091994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
5410
5411 * profile.c (get_time): Simplify; avoid calling index.
2f2c687b 5412 (main): Exit on EOF.
362bc2da 5413
880820fe 54141994-02-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5415
a64387ee 5416 * etags.c (--absolute-pathnames): Option removed.
362bc2da
DL
5417
54181994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5419
5420 * fakemail.c (put_line): Don't break the line if it all fits.
5421
880820fe 54221994-02-14 Francesco Potortì (pot@fly)
362bc2da 5423
2f2c687b
JB
5424 * etags.c (absolute_pathnames, cwd): Added global vars.
5425 (longopts, print_help, main, process_file): Put absolute filenames
362bc2da 5426 in the tag file if the -A --absolute-pathnames option is used.
10d1d0af 5427 (print_help): Alphabetically order the options.
2f2c687b 5428 (malloc, realloc, strcpy, strncpy, strcmp): Remove extern declar.
362bc2da
DL
5429
54301994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5431
5432 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
5433 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
5434
54351994-02-07 Christian Lynbech (lynbech@avignon)
5436
5437 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
5438
54391994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5440
5441 * Makefile.in (UTILITIES): Mention profile.
5442 (profile): New target.
5443
5444 * profile.c: New file.
5445
54461994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
c60ee5e7 5447
88c71720 5448 * make-docfile.c: Make the argument list output look more like the
c60ee5e7 5449 Lisp docstrings do.
88c71720 5450 (write_c_args): Take new arg FUNC. Make output
362bc2da
DL
5451 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
5452 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
5453
880820fe 54541994-01-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5455
5456 * etags.c (stab_entry, stab_create, stab_find, stab_search,
2f2c687b 5457 stab_type, add_keyword, C_reate_stab, C_create_stabs): Deleted.
362bc2da 5458 Use gperf generated hash table instead of linked list.
2f2c687b 5459 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Added.
362bc2da 5460 Mostly code generated by gperf.
2f2c687b
JB
5461 (consider_token): Removed unused parameter `lp'.
5462 (PF_funcs, getit): Allow subroutine and similar declarations
362bc2da 5463 to span multiple lines.
2f2c687b
JB
5464 (C_entries): Check for newline if inchar to avoid bus errors.
5465 (process_file, find_entries): Distinguish among nonexistent
362bc2da
DL
5466 and not regular file.
5467
54681994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5469
5470 * timer.c: Include errno.h; don't include fasync.h.
5471 (schedule): Don't return a value.
5472 (sigcatch): Reestablish the handler first.
5473 (getevent): Always call notify at the end.
5474 (notify): Defer alarms around the whole body of function.
5475
54761994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5477
5478 * timer.c (main): Don't request SIGIO, and don't handle it.
5479 Loop calling getevent.
5480 (sigcatch): Delete code to handle SIGIO.
5481 if defer_alarms is set, don't call notify, just set alarm_deferred.
1c478461 5482 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
5483 Set defer_alarms around realloc and schedule.
5484 If alarm_deferred gets set, call notify.
5485 Likewise if this event is the only pending event.
5486 Make buf and buf_size global variables.
5487 Don't malloc buf if it is already non-zero.
5488 (schedule): Just exit if run out of memory.
5489 Return the number of events.
5490 (signal) [_CX_UX]: Add #undef.
5491
54921994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5493
5494 * timer.c [USG] (SIGIO): Define as SIGPOLL.
5495 (main) [USG]: Do ioctl to enable SIGPOLL.
5496
54971994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5498
5499 * timer.c: Don't declare sys_errlist; declare strerror instead.
5500 (schedule, main): Call strerror instead of using sys_errlist.
5501 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
5502 Call strerror instead of using sys_errlist.
5503 * env.c (main): Call strerror instead of using sys_errlist.
5504 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
5505 (main): Call strerror instead of using sys_errlist.
5506 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
5507 * env.c [! HAVE_STRERROR] (strerror): Likewise.
5508 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
5509 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
5510
55111994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5512
5513 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
5514
5515 * movemail.c (malloc): Don't declare it.
5516 (xmalloc): Cast result of malloc.
5517 (strcpy): Don't declare it.
5518
55191993-11-14 Morten Welinder (terra@diku.dk)
5520
5521 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
5522 (main): Use fclose to close file opened by fopen.
5523
5524 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
5525
5526 * movemail.c [MSDOS]: #undef `access'.
5527
5528 * b2m.c (main) [MSDOS]: Open all files as binary.
5529 * etags.c (main) [MSDOS]: Open all files as binary.
5530
5531 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
5532 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
5533 with.
5534
55351994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5536
5537 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
5538 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
5539 (LINK_CFLAGS): New variable.
5540 (timer): Use LINK_CFLAGS.
5541
55421993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5543
5544 * movemail.c: Include syswait.h.
5545 Fork a subprocess and use it to copy the mail file.
5546
55471993-12-07 Richard Stallman (rms@srarc2)
5548
5549 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
5550
55511993-12-04 Richard Stallman (rms@srarc2)
5552
5553 * movemail.c (main): When making tempname, cast result of xmalloc.
5554 Include room for EXXXXXX in the size.
5555 Don't use result of strcpy.
5556
55571993-12-03 Paul Eggert (eggert@twinsun.com)
5558
5559 * vcdiff: Add --brief option.
5560
55611993-12-02 Richard Stallman (rms@srarc2)
5562
5563 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
5564 for all executables and scripts.
5565
55661993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5567
5568 * Version 19.22 released.
5569
55701993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5571
5572 * Makefile.in (mostlyclean): Make it distinct from clean.
5573
55741993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5575
5576 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
5577
55781993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5579
5580 * Version 19.21 released.
5581
5582 * Makefile.in (install): Don't change mode or group when installing.
5583
5584 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
5585
55861993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5587
5588 * make-docfile.c (read_c_string): For "", concatenate the two strings.
5589
5590 * movemail.c (main): Fix error message text.
5591
55921993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5593
5594 * Version 19.20 released.
5595
177c0ea7 55961993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
362bc2da 5597
ecc54057 5598 * etags.c (C_entries): Keep track of ()-parenthesis level so that
362bc2da
DL
5599 functions returning a pointer to a function, a la `signal', can be
5600 parsed. This also required new state `fstartlist' to `FUNCST'.
5601 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
2f2c687b 5602 (C_entries, CNL): Use it to isolate preprocessor directive processing
362bc2da 5603 from the other state engines.
2f2c687b 5604 (begtk): Add '~', for C++ class destructors.
362bc2da 5605
880820fe 56061993-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5607
2f2c687b
JB
5608 * etags.c (consider_token): Removed unused variable firsttok.
5609 (prolog_getit): Call pfnote with the right number of arguments.
362bc2da
DL
5610
56111993-10-19 Paul Eggert (eggert@twinsun.com)
5612
5613 * rcs2log (printlogline): Don't generate lines containing only
5614 white space.
5615
56161993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5617
5618 * Makefile.in (${archlibdir}):
5619 Install ${SCRIPTS} from ${srcdir}, not cwd.
5620
56211993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5622
5623 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
5624 the comment character.
5625
880820fe 56261993-10-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5627
2f2c687b 5628 * etags.c (process_file): Dead code removed.
362bc2da 5629 (S_ISREG): #define it using S_IFREG if not defined.
2f2c687b 5630 (process_file): Regular files have nothing to do with symlinks.
362bc2da 5631
f0131492 56321993-09-28 Brian J. Fox (bfox@ai.mit.edu)
362bc2da
DL
5633
5634 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
5635 from current directory. Only chmod and chgrp files that we
5636 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
5637 ${bindir}.
5638 (INSTALLFLAGS): Deleted definition, since it is an unused variable
5639 now.
5640
f0131492 56411993-09-27 Brian J. Fox (bfox@ai.mit.edu)
362bc2da
DL
5642
5643 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
5644 configure figure out the correct values for these variables.
5645
f0131492 56461993-09-14 Brian J. Fox (bfox@ai.mit.edu)
362bc2da 5647
10d1d0af 5648 * Makefile.in (archlibdir): Only install executables internally
362bc2da
DL
5649 used by emacs; don't install bindir binaries here.
5650
56511993-09-24 Paul Eggert (eggert@twinsun.com)
5652
5653 * rcs2log: Add -h, -n, -r options.
5654 By default, look for *,v files as well as RCS/*,v files.
5655 Use $TMPDIR (default /tmp) instead of /tmp.
5656
880820fe 56571993-09-20 Francesco Potortì (pot@fly)
362bc2da
DL
5658
5659 * etags.c (C_entries): is_func is initialised here instead of in
5660 consider_token for the sake of the yacc rules section.
5661 (C_entries): Now class, struct, enum, union and typedef produce
5662 named tags.
5663
56641993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
5665
5666 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
5667
56681993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5669
88c71720
KS
5670 * Makefile.in: Support configuring in a different directory when
5671 ${srcdir} has already been configured.
5672 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
5673 -I${srcdir}/../src.
362bc2da
DL
5674 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
5675 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
5676 is already in CPP_FLAGS.
5677 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
5678 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
5679
56801993-08-25 Paul Eggert (eggert@twinsun.com)
5681
5682 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
5683 otherwise, HP awk complains.
5684
5685 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
5686 are common hangouts for SCCS commands.
5687
56881993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5689
5690 * Version 19.19 released.
5691
56921993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5693
5694 * Makefile.in (make-path): Dep on config.h.
5695
56961993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5697
5698 * b2m.c (TRUE, FALSE): Don't define if already defined.
5699
57001993-08-09 Paul Eggert (eggert@twinsun.com)
5701
5702 * rcs2log (awkscript):
5703 Some sites put comma-separated junk after the fullname.
5704 Remove it, but leave "Bill Gates, Jr" alone.
5705 Remove the junk from fullnames like "0000-Admin(0000)".
5706
57071993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5708
5709 * Version 19.18 released.
5710
880820fe 57111993-08-04 Francesco Potortì (pot@spiff.gnu.ai.mit.edu)
362bc2da 5712
2f2c687b
JB
5713 * etags.c (L_isdef, L_isquote, L_getit): Small optimisations.
5714 (L_funcs): The (foo::defmumble stuff now should work.
5715 (consider_token): Function returned random value--corrected.
5716 (C_entries): Corrected == versus = typo.
362bc2da
DL
5717
57181993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5719
5720 * etags.c (put_entries): For NODE->rewritten, put pattern before
5721 \177 and name after, not vice versa.
5722
57231993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5724
5725 * timer.c (main): Generate a SIGIO as soon as we've initialized.
5726
880820fe 57271993-07-30 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5728
ecc54057 5729 * etags.c (FINCST): Added the fignore status. Means we are
362bc2da
DL
5730 after the parameter list and before the open curly brace.
5731 Allows correct parsing of C++ constructors.
2f2c687b
JB
5732 (C_entries, consider_token): Make use of fignore.
5733 (consider_token): Reset funcdef when next_token_is_func: when in
362bc2da 5734 ctags mode makes DEFVAR and others work better.
2f2c687b
JB
5735 (L_isquote): Function that recognises the "(quote" string.
5736 (L_getit): Ignore quoting via "'" or "(quote". Useful for defalias.
362bc2da
DL
5737
57381993-07-29 Paul Eggert (eggert@twinsun.com)
5739
5740 * rcs-checkin: Don't check whether a file is readable until we have
5741 decided not to ignore it.
5742
57431993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5744
5745 * Makefile.in (etags): Depend on ../src/config.h.
5746
5747 * emacsserver.c: Include types.h before file.h.
5748
57491993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5750
5751 * Makefile.in (install): Use .n, not .new, for temporary filenames.
5752
57531993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5754
ecc54057 5755 * Version 19.17 released.
362bc2da
DL
5756
57571993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5758
5759 * etags.c (print_help): Break up the very long strings containing
5760 the help message into shorter strings, to placate chintzy C
5761 compilers which can't handle strings that long.
5762
5763 * wakeup.c: Use CPP tangle from autoconf manual to #include the
5764 correct combination of <time.h> and <sys/time.h>.
5765
880820fe 57661993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5767
2f2c687b
JB
5768 * etags.c (alloca): Removed all references to it.
5769 (main): Now calls xnew instead of alloca for portability.
5770 (../src/config.h): Included only if HAVE_CONFIG_H.
5771 (const): Void definition removed--config.h takes care of it.
362bc2da 5772
880820fe 57731993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5774
2f2c687b 5775 * etags.c (consider_token): Was `==', now is `='.
362bc2da
DL
5776 (consider_token): DEFUNs now treated like funcs in ctags mode.
5777
2f2c687b
JB
5778 * etags.c (LEVEL_OK_FOR_FUNCDEF): Removed.
5779 (C_entries): Optimized the test that used LEVEL_OK_FOR_FUNCDEF.
5780 (C_entries): Removed a piece of useless code.
5781 (C_entries): Making typedef tags is delayed until a semicolon
362bc2da
DL
5782 is met. This handles "typedef int X, Y, Z;" correctly.
5783
57841993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5785
5786 * Version 19.16 released.
5787
5788 * b2m.c: #include <sys/types.h>.
5789 (ltoday): Declare this to be time_t.
5790
57911993-06-30 Paul Eggert (eggert@twinsun.com)
5792
5793 * vcdiff: Add -q option.
5794
57951993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5796
5797 * etags.c: #include "config.h" and the alloca CPP tangle before
5798 #including the system headers and getopt.h. AIX requires the
5799 #pragma to come before any actual C code.
5800
58011993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5802
5803 * Makefile.in (ctags): Depend on etags, so that parallel makes
5804 don't write etags.o files on top of each other.
5805
58061993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5807
5808 * version 19.15 released.
5809
58101993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5811
5812 * etags.c (add_node): Move var last_node to file scope.
5813
58141993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5815
5816 * Version 19.14 released.
5817
58181993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5819
ecc54057 5820 Bring mumbleclean targets into conformance with GNU coding standards.
362bc2da
DL
5821 * Makefile.in (distclean): Call clean to do most of the work.
5822 Delete aixcc.c and TAGS.
5823 (realclean): Just call distclean.
1c478461 5824
362bc2da
DL
5825 * Makefile.in: Remember, spaces are not tabs.
5826
58271993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5828
5829 * Makefile.in (CPP_CFLAGS): New variable.
5830 Use it instead of ALL_CFLAGS when compiling a .c file.
5831 (getopt.o, getopt1.o): Add explicit compilation commands.
5832
58331993-06-10 Mark D. Baushke (mdb@cisco.com)
5834
5835 * etags.c: Reinstate old -f option as an alias for -o for
5836 installed base uses.
5837
58381993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5839
5840 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
5841 to bind or accept, cast the pointer, to avoid warnings on systems
5842 which declare prototypes for this.
5843 * emacsclient.c (main): Same.
5844
5845 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
5846
58471993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5848
5849 * Version 19.13 released.
5850
5851 * wakeup.c: Include sys/types.h, too; I think that's where time_t
5852 comes from, not sys/time.h.
5853
58541993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5855
5856 * wakeup.c: Include sys/time.h.
5857
5858 * etags.c: #undef static.
5859
5860 * Version 19.12 released.
5861
5862 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
5863
58641993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5865
5866 * Version 19.11 released.
5867
5868 * timer.c [LINUX]: #undef signal.
5869 * emacsserver.c: #undef signal.
5870
58711993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5872
5873 * wakeup.c (main): Make when a time_t.
5874
58751993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5876
ecc54057 5877 * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
a64387ee 5878 `(cd foo ; pwd)' to get the canonical name of a directory; cd
362bc2da
DL
5879 might fail, and have pwd print out the current directory.
5880
5881 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
5882 string-handling functions.
5883
58841993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5885
5886 * Version 19.10 released.
5887
58881993-05-29 Paul Eggert (eggert@twinsun.com)
5889
5890 * rcs2log: When given no file arguments, inspect RCS/.* as well
5891 as RCS/*. Don't report an error if RCS is empty or nonexistent.
5892
58931993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5894
5895 * Makefile.in (timer): Link with $(LOADLIBES).
5896
58971993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5898
5899 * fakemail.c (put_line): Don't output \n\t unless more text follows.
5900
59011993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5902
5903 * etags.c: Replace the CPP tangle for alloca with the one from the
5904 autoconf documentation, since that's working elsewhere.
5905
59061993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5907
5908 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
5909 description files can find their ancestors.
5910
59111993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5912
5913 * Makefile.in (install): Get the scripts from ${srcdir},
5914 unlike the executables.
6088b51f 5915 (ALL_CFLAGS): Add -I../src.
362bc2da
DL
5916
59171993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5918
5919 * Version 19.9 released.
5920
59211993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5922
5923 * Makefile.in (install): Do install the programs listed in
5924 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
5925 INSTALLABLE_SCRIPTS, instead of writing the programs out.
5926
5927 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
5928 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
5929
59301993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5931
5932 * etags.c: Include ../src/config.h.
5933
5934 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
5935 in first loop. Delete files from bindir before installing new ones.
5936 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
5937
59381993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5939
5940 * Version 19.8 released.
5941
5942 * make-docfile.c: Doc fix.
5943
59441993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5945
5946 * tcp.c: Fix comment syntax at top of file.
5947 (main): Don't call htons with the port number.
5948
59491993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5950
5951 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
1c478461 5952 appropriate.
362bc2da
DL
5953
5954 * Makefile.in (install): Refer to the variables INSTALLABLES and
5955 INSTALLABLE_SCRIPTS, instead of writing them out.
5956
59571993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5958
5959 * make-path.c (main): Return 0.
5960
59611993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5962
ecc54057 5963 * Version 19.7 released.
362bc2da
DL
5964
59651993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5966
5967 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
5968
59691993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5970
5971 * tcp.c: New file.
5972
59731993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5974
5975 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
5976
59771993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5978
5979 * timer.c (notify): Don't call sighold or sigrelse; they're USG
5980 only. We should really fix this later, but let's just make it
5981 compile for now.
5982
5983 Install patches from David J. Mackenzie to make the srcdir option
5984 work.
5985 * Makefile.in (srcdir, VPATH): Get this value from the top-level
5986 Makefile.
5987 (INSTALLABLES): Split this into two lists - INSTALLABLES and
5988 INSTALLABLE_SCRIPTS.
5989 (INSTALLABLE_SCRIPTS): New list.
5990 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
5991 (${archlibdir}): The scripts to be installed live in the source
5992 tree, not in the object tree.
5993 (test-distrib): Note that the data file lives in the source tree,
5994 not the object tree.
5995 (GETOPTDEPS): Note that getopt.h lives in the source tree.
5996 (all other targets): Change references to source files to use
5997 ${srcdir}, except for config.h, which lives in the object dir.
5998 (timer.o): Note that this depends on ../src/config.h.
5999 * make-docfile.c (main): Add a -d option, to tell it where to find
6000 the source files.
6001 * test-distrib.c (main): Take the name of the distribution file to
6002 test from the command line.
6003
10d1d0af 6004 * timer.c: Fix misspellings of get_date function's name.
362bc2da
DL
6005
60061993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
6007
6008 * etags.c (main):
6009 Don't require that there be input files if -i switches were given.
6010
60111993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6012
6013 The GNU coding standards specify that CFLAGS should be left for
6014 users to set.
6015 * Makefile.in (CFLAGS): Put this in the "things configure might
6016 edit" section, and have it default to -g.
6017 (ALL_CFLAGS): New variable, set to all the flags which should be
6018 passed to compilations. Replace all other uses of CFLAGS with
6019 ALL_CFLAGS.
6020 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
6021
6022 * Makefile.in (DEFS): Remove this; it's always just going to be
6023 "-DHAVE_CONFIG_H -Demacs".
6024
60251993-05-03 Paul Eggert (eggert@twinsun.com)
6026
6027 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
6028 /[/]/, so change it to /[\/]/. This should work on all
6029 Posix-compliant awks. It's slightly wrong with traditional awk,
6030 since it matches \ too, but that's a minor problem compared to awk
6031 syntax errors.
6032
60331993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6034
6035 * Makefile.in (ALLOCA): New variable, whose value we should
6036 inherit from the top-level makefile.
6037 (etags, ctags): Include ALLOCA in the list of object files that
6038 these executables depend on and link.
6039
60401993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6041
6042 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
6043
60441993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
6045
6046 * make-docfile.c (write_c_args): Print an argument named "defalt"
6047 as "default".
6048
60491993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6050
6051 * Makefile.in (C_SWITCH_SYSTEM): New variable.
6052 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
6053 compiler.
6054
880820fe 60551993-03-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6056
2f2c687b
JB
6057 * etags.c (YACC): Flag added to c_ext.
6058 (c_ext): No more a synonim for c_ext&C_PLPL because of YACC.
6059 (find_entries): Consistently use streq when reasonable.
6060 (find_entries): A .y file is a yacc file.
362bc2da 6061 (get_C_stab): c_ext becomes c_ext&C_PLPL.
2f2c687b
JB
6062 (C_entries): Logical cplpl means c_ext&C_PLPL.
6063 (C_entries): Logical yacc_rules means we are after the first %%.
6064 (C_entries): Added logic for yacc files.
362bc2da 6065
880820fe 60661993-03-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6067
6068 * etags.c (C_entries): ':' case moved to the second switch.
2f2c687b 6069 (C_entries): Do not examine token if structdef==scolonseen.
362bc2da
DL
6070 (consider_token): structtag set to null string for enum.
6071
880820fe 60721993-03-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6073
2f2c687b
JB
6074 * etags.c (GET_COOKIE): And related macros removed.
6075 (logical): Is now int, no more a char.
6076 (reg): Define deleted.
6077 (isgood, _gd, notgd): Deleted.
6078 (gotone): Deleted.
6079 (TOKEN): Member linestart removed.
6080 (linepos, prev_linepos, lb1): Deleted.
6081 (main): Call initbuffer on lbs array instead of lb1.
6082 (init): Removed the initialisation of the logical _gd array;
6083 (find_entries): A .sa suffix means assembler file.
362bc2da
DL
6084 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
6085 All C state machines rewritten.
2f2c687b
JB
6086 (C_entries): Complete rewrite.
6087 (condider_token): Complete rewrite.
6088 (getline): Deleted.
362bc2da 6089
880820fe 60901993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
6091
6092 * etags.c (C_entries): Added the quotednl logical variable.
6093 Used for parsing of #define's spanning multiple lines.
6094
880820fe 60951993-02-23 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
6096
6097 * etags.c (C_entries): Save the definedef status even when a
6098 newline is met inside a string.
6099
61001993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
6101
2f2c687b 6102 * Makefile.in (EXECUTABLES): Added rcs-checkin.
362bc2da
DL
6103
6104 * Makefile.in (unlock, relock): New productions.
6105
61061993-03-16 Paul Eggert (eggert@twinsun.com)
6107
6108 * rcs2log: Some awks don't understand "\r". Code around this.
6109 Unfortunately this requires putting a carriage return in the
6110 source code. Don't assume that rlog will tolerate times like
6111 `10:10:60'; RCS 5.7 won't allow this.
6112
61131993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6114
6115 * timer.c (main): Set the ownership of the stdin file descriptor
6116 to the current process. Print error messages if either of the
6117 fcntl's fails.
6118
6119 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
6120 ../src/config.h), not void.
6121
61221993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6123
6124 * b2m.c (main): Don't exit upon reading a blank line.
6125
880820fe 61261993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
6127
6128 * etags.c (C_entries): New local variable quotednl. Used for
6129 parsing of #define's spanning multiple lines.
6130
6131 * etags.c (C_entries): Save the definedef status
6132 even when a newline is met inside a string.
6133
61341993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6135
6136 * timer.c (notify): Initialize waitfor properly.
6137
880820fe 61381993-02-22 Francesco Potortì (pot@CNUCE.CNR.IT)
362bc2da
DL
6139
6140 * etags.c (C_entries): Don't reset definedef when a newline inside a
6141 comment is met.
6142
61431993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6144
6145 * etags.c (find_entries): If filename ends in .f or .for,
6146 don't try anything but Fortran.
6147
61481993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
6149
6150 * timer.c (notify): Flush stdout after writing message to avoid lossage
6151 on terminals.
6152
6153 (notify): Also, write a newline after the token.
6154
61551992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6156
6157 * Makefile.in (exec_prefix): New variable.
6158 (bindir, libdir): Use it instead of `prefix'.
6159
6160 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
6161
6162 * Makefile.in (libdir): Default to ${prefix}/lib.
6163 (archlibdir): Adjusted to match.
6164
6165 * Makefile.in (distclean): Don't delete backup or autosave files.
6166 (extraclean): Like realclean, but does delete backup and autosave
6167 files.
6168
6169 * Makefile.in (realclean): Ignore errors from rm.
6170
6171 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
6172 that doesn't exist anymore.
6173
61741992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6175
6176 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
6177 described in the top-level Makefile.
6178 (UTILITIES): Add make-path to the list of utility programs.
6179 (../arch-lib): Replaced by the ${archlibdir} target, which places
6180 the executables in their permanent home.
6181 (install, install.sysv, install.xenix): Consolidated into one
6182 target which should work under all circumstances, modulo a few
6183 ignored error messages.
6184
6185 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
6186 a different number of arguments than other DEFVARs, recognize it
6187 specially, and expect the right number of commas.
6188
61891992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6190
6191 * make-path.c: New program, to help with the installation process.
6192 * Makefile.in (make-path): New target.
6193
6194 * make-path.c (touchy_mkdir): Remove debugging output.
6195
61961992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6197
6198 * Makefile.in (getdate.o): Added explicit target for this, so we
6199 can indicate that it depends on ../src/config.h.
6200
62011992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6202
6203 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
6204 instead of CFLAGS.
6205 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
6206
62071992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6208
6209 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
6210 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
6211 that system.
6212
6213 * Makefile.in (arch-lib): Give rm the `-f' option.
6214
62151992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6216
6217 * make-docfile.c (write_c_args): Rewritten to correctly print
6218 &optionals before the first identifier, but after the first paren.
6219 This code used to just wait for commas or spaces; now it notices
6220 identifier boundaries.
6221
62221992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6223
6224 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
6225
62261992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6227
6228 * make-docfile.c (write_c_args): Print the argument lists properly
6229 when the first argument is optional.
6230
62311992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6232
6233 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
6234 Redefine @item. Set catcode of +.
6235
62361992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6237
6238 * emacsclient.c (main): Set IPC_CREAT in msgget call.
6239
62401992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6241
6242 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
6243 (TEX_decode_env): Make `tab' one element longer.
6244
62451992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6246
6247 * etags.c (PF_funcs): Recognize the "entry" keyword.
6248
62491992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6250
6251 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
6252
62531992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6254
6255 * timer.c (events): Rather than having slots marked as in use or
6256 out of use by the `token' field, keep all pending events at the
6257 beginning of the array. When we delete an event in the middle of
6258 the array, we move the last event into its place.
6259 (num_events): New variable.
6260 (schedule): It is now cheaper to find a free event slot;
6261 events[num_events] is the first free slot.
6262 (notify): Scan events[0 .. num_events-1], instead of the whole
6263 array. When an event fires, move the last event in the array into
6264 its spot. Use num_events to determine whether or not there are
6265 any pending events, not wait_for.
6266 (getevent): Deleted unused variable `ep'.
6267 (sigcatch): It's now easier to find all the active events.
6268 (main): Initialize num_events.
6269
6270 * etags.c: Rather than fret about which systems have index and
6271 which systems have strchr, and how to tell the difference between
6272 them, we just write out our own versions. Big deal.
6273 (index, rindex): Extern declarations removed.
6274 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
6275 (etags_index, etags_rindex): New declarations.
6276 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
6277 TEX_getit, substr): Use the etags_*index functions, rather than
6278 the native *index functions.
6279 (rindex, index): Renamed to etags_rindex and tags_rindex, and
6280 made them unconditionally defined, rather than having them depend
6281 on NEED_*INDEX.
6282
6283 * etags.c (savenstr): Add declaration for this at top of file.
6284 (TEX_decode_env): Don't declare it local to this function.
6285
6286 * b2m.c: #include "../src/config.h", so we can test for the USG
6287 macro, and decide whether to include <string.h> or <strings.h>.
6288 * Makefile.in: Note that b2m.c depends on ../src/config.h.
6289
62901992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6291
6292 * timer.c: Reformatted according to the GNU coding standards.
6293 Removed arbitrary limits on the number of events queued and the
6294 length of the tokens used to identify them.
6295 Removed casts to (void).
6296 Removed debugging printfs; they clutter the code, and the need
6297 can be better filled using a real debugger.
6298
62991992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6300
6301 * timer.c: Installed new version from Eric Raymond; this is more
6302 portable, since it doesn't try to use SIGIO.
6303
63041992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6305
6306 * emacsclient.c (main): If we can't find the socket in this
6307 person's home directory, print a message which asks if they've
6308 started the server, instead of just printing the message from
6309 sys_errmsg; Cygnus finds that people are much less confused by
6310 this.
6311
63121992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6313
6314 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
6315 so that index and rindex get defined, why don't we actually
6316 control index and rindex using symbols called "NEED_INDEX" and
6317 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
6318 little more readable than defining something whose name implies
6319 that it's not?
6320
63211992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6322
6323 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
6324 distribution:
6325 Miscellaneous doc fixes.
1c478461 6326 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
6327 (scan_lisp_file): Instead of using long hairy strings of ifs, call
6328 read_lisp_symbol and then see what we got. Call skip_white
6329 instead of writing out a loop to do its job. Correctly extract
6330 docstrings from "defmacro" declarations.
6331
63321992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6333
6334 * movemail.c (strcpy): Declare this to return char *.
6335
63361992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6337
6338 * etags.c (C_entries): When we find a C++ comment, do actually
6339 skip to the end of the line; do a 'break' instead of a 'continue'.
6340
63411992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6342
6343 * etags.c (getit): Add missing parenthesis to expression which
6344 decides if this token is an identifier.
6345
63461992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
6347
6348 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
6349
63501992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6351
6352 * etags.c (put_entries): Always put space between name and line num.
6353
63541992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
6355
6356 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
6357 warning.
6358 (LEVEL_OK_FOR_FUNCDEF): Ditto.
6359
63601992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6361
6362 * make-docfile.c (write_c_args): Pass both arguments to putc.
6363
63641992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
6365
6366 * etags.c (C_entries): Fixed reading of "..." strings.
6367 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
6368 the C library source.
6369
6370 * etags.c (C_entries): When we see a backslash inside a quoted
6371 string, skip to the next character. This allows us to correctly
6372 deal with strings containing quotes.
6373
63741992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6375
6376 * make-docfile.c (write_c_args): Print the C argument names as
6377 they would be written in Elisp; print '_' as '-'.
6378
63791992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6380
6381 * movemail.c [POP]: Get user name via getpwuid.
6382
63831992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6384
2f2c687b 6385 * Makefile.in: Flags in CC invocations rearranged for no reason.
362bc2da
DL
6386
63871992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6388
10d1d0af 6389 * etags.c (print_help): Remember not to embed raw newlines in
362bc2da
DL
6390 strings - end the lines with `\n\'.
6391
63921992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6393
6394 * timer.c (getevent): Removed declaration of memcpy; since
6395 different systems have different return types, and we're not even
6396 using the return type anyway, it wasn't doing us any good.
6397
63981992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6399
6400 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
6401 type of this function.
6402
64031992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6404
6405 * ChangeLog: Since the old etc contents have been split into etc
6406 and lib-src, the old etc's ChangeLog has been duplicated in the
6407 new etc and lib-src. That means that each contains complete and
6408 coherent information, although each contains extraneous
1c478461 6409 information.
362bc2da
DL
6410
64111992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6412
290afd83 6413 * etags.c: "--no-warning" option renamed to "--no-warn",
362bc2da
DL
6414 to be consistent with other GNU programs, like makeinfo.
6415
290afd83 6416 * Makefile: Renamed to Makefile.in; the configure script
362bc2da
DL
6417 will edit this to produce Makefile.
6418
64191992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6420
6421 * etags.c (print_help, print_version): New functions.
6422 (main): Options added to support them.
6423
6424 * etags.c (longopts): New array of long names for the options.
6425 (main): Recognize them.
6426
64271992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6428
6429 * etags.c (C_entries): Removed comment saying that \" in a string
6430 isn't recognized as magic, because it is correctly handled.
6431
6432 * getopt.c, getopt.h: New files, from GNU C library.
6433 * etags.c: Rewritten to use getopt.
6434 #include "getopt.h".
6435 (file_num): Variable deleted; its role is now played by getopt's
6436 optind.
6437 (main): Argument processing loop rewritten to call getopt to get
6438 next option. Options which take parameters (-o and -i) rewritten
6439 to get parameter from optarg instead of argv[1]. Filename
6440 preprocessing loop and update command changed similarly.
6441 * Makefile (etags, ctags): Depend on and link with getopt.h,
6442 getopt.o, and getopt1.o.
6443 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
6444
6445 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
6446 is non-zero.
6447
6448 (main): In the argument processing loop, the 'goto next_arg'
6449 statements are breaking out of the switch statement in exactly the
6450 same way that a simple 'break' statement would; replace the gotos
6451 with breaks, and remove the label.
6452
64531992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6454
6455 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
6456 (consider_token): Move next_token_is_func to global.
6457
64581992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6459
6460 * Makefile: Conform with GNU coding standards:
6461 (mostlyclean): New target, synonymous with clean.
6462 (TAGS, check): New targets.
6463 (INSTALL, INSTALLFLAGS): New variables.
6464
64651992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6466
ecc54057 6467 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
362bc2da
DL
6468 `config.emacs' to `configure'.
6469
6470 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
6471 * etc/MACHINES: Same.
6472
64731992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6474
6475 * movemail.c (main): Allow tempname to be as long as necessary,
6476 instead of limiting it to 39 characters.
6477
6478 * movemail.c (main): Move declaration of buf from top of function
6479 to local block surrounding the copy loop. This makes it less
6480 likely to be confused with the buf used by the code which checks the
6481 permissions on outname's directory.
6482
64831992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
6484
6485 * SERVICE: Remove my entry.
6486
64871992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
6488
6489 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
6490 hardcoded -g.
6491
6492 * movemail.c (xmalloc): Return char *, not int.
6493 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
6494 that is off by default -- normally don't unlink the mail spool
6495 file, just empty it. Pass creat mode 0600, not 0666.
6496
dff28924 64971992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
6498
6499 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
6500 (all): Instead of here.
6501 (install): Don't use the -s option, since people need symbols to
6502 debug code.
6503
dff28924 65041992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
362bc2da
DL
6505
6506 * etags-vmslib.c (fn_exp): Add type cast.
6507
65081992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6509
6510 * movemail.c: Changes in comments.
6511
dff28924 65121992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
6513
6514 * Makefile: Make the distclean target erase the DOC files from
6515 ../share-lib and the executables from ../arch-lib.
6516
dff28924 65171992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
6518
6519 * emacsclient.c: #include <sys/stat.h>
6520 (main): Do declare statbfr.
6521
dff28924 65221991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6523
6524 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
6525 for the socket, depending on SERVER_HOME_DIR.
6526 If using /tmp, put host name in the socket name.
6527
6528 * movemail.c (pfatal_and_delete): New function.
6529 (main, popmail): Use it.
6530 (popmail): Close output before deleting messages.
6531 Check for error on close and on fsync.
6532 Use `fatal' where appropriate.
6533 (main): Remove (void).
6534
6535 * aixcc.lex: New file. Not officially part of Emacs.
6536 * Makefile: Rules for that.
6537
dff28924 65381991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
362bc2da
DL
6539
6540 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
6541
6542 * etags.c (main): Properly cast call to alloca that initializes
6543 included_files.
6544
65451991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
6546
6547 * etags.c (files_are_tag_tables): Remove global var.
6548 (process_file): Don't test it. Also remove hack checking for a
6549 file named "TAGS".
6550 (main): -i now takes an arg which is the name of a file to include.
6551 Collect these names and emit include tags for them after processing
6552 all the argument files.
6553
dff28924 65541991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6555
6556 * wakeup.c: Terminate if parent goes away.
6557
dff28924 65581991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6559
6560 * etags.c (C_entries): Process token before handling end of line.
6561 When inner loops reach end of line, just back up.
6562 Let the real end of line processing happen in just one place.
a64387ee 6563 (consider_token): Likewise.
362bc2da 6564
dff28924 65651991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
362bc2da
DL
6566
6567 * etags.c (TEX_mode): Skip comments while scanning the text to see
6568 which escape character this file uses.
6569
dff28924 65701991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6571
6572 * emacsserver.c [USG]: Terminate if msgrcv fails.
6573
dff28924 65741991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6575
6576 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
6577
dff28924 65781991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
6579
6580 * make-docfile: Find the arguments to a C function correctly,
6581 by not ignoring the character that read_c_string returns. Don't
6582 even try to find argument names for functions that take MANY
6583 or UNEVALLED arguments, since they're a figment of the docstring's
6584 imagination.
6585
dff28924 65861991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
6587
6588 * make-docfile: Read the .elc files generated by the new byte
6589 compiler.
6590
dff28924 65911990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6592
6593 * refcard.tex: Use cm fonts, not am, in multi-column mode.
6594
dff28924 65951990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6596
6597 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
6598
dff28924 65991990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6600
6601 * Makefile (install*): No need to install wakeup.
6602
dff28924 66031990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6604
6605 * Makefile (install*): Install emacsclient like etags.
6606
dff28924 66071990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6608
6609 * movemail.c (error): Handle 3 args.
6610 (main): Don't check input access if using pop.
6611
dff28924 66121990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6613
6614 * etags.c (find_entries): Check for numbers after Scheme suffix.
6615
dff28924 66161990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6617
6618 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
6619
dff28924 66201990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6621
6622 * Makefile (nemacstool, xvetool): New targets.
6623
dff28924 66241990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6625
6626 * emacsclient.c: Include errno.h and define related variables.
6627
dff28924 66281990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6629
6630 * emacsclient.c: Change usage message.
6631
dff28924 66321990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da 6633
ecc54057 6634 * emacs.1: Add break before -nw option.
362bc2da 6635
dff28924 66361990-08-19 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
6637
6638 * qsort.c: Replace with GNU version.
6639
dff28924 66401990-08-14 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
6641
6642 * wakeup.c: New program replacing loadst.c.
6643
dff28924 66441990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6645
6646 * emacsclient.c [USG]: Pass msgsnd only 4 args.
6647
dff28924 66481990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
362bc2da
DL
6649
6650 * etags.c: Rename `flag' variables for what they do instead of
6651 which option character sets them.
6652
dff28924 66531990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6654
6655 * loadst.c (main): Conditional to get load average on Apollo.
6656
dff28924 66571990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da
DL
6658
6659 * emacsserver.c: Set the permission on the socket to 0600.
6660
dff28924 66611990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6662
6663 * emacsclient.c [BSD]: Print clean message for failing getwd.
6664
dff28924 66651990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
6666
6667 * getdate.y: Use the getdate.y from GNU tar for timer.
6668
dff28924 66691990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
362bc2da
DL
6670
6671 * emacsclient.c (main): Don't put brackets around "filename" in
6672 usage message. It isn't optional.
6673
dff28924 66741990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da 6675
a64387ee 6676 * etags.c (getit): Recognize '$' as beginning identifiers.
362bc2da 6677
dff28924 66781990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
6679
6680 * emacsserver.c: Renamed from server.c.
6681 * Makefile: Reference emacsserver rather than server.
6682 * MACHINES: Doc fix for new emacsserver name.
6683
dff28924 66841990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6685
6686 * emacsclient.c: Print program name in error messages.
6687
dff28924 66881990-01-19 David Lawrence (tale@cocoa-puffs)
362bc2da
DL
6689
6690 * timer.c, getdate.y (new files) and Makefile:
194d44e7
JB
6691 Sub-process support for run-at-time in timer.el.
6692 Doesn't yet work correctly for USG.
362bc2da 6693
dff28924 66941990-01-10 Jim Kingdon (kingdon@pogo)
362bc2da
DL
6695
6696 * MACHINES: Add HP 300 running BSD.
6697
dff28924 66981990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6699
6700 * yow.c: Dynamically allocate buffer; skip header before random
6701 choice to avoid bias toward first item.
6702
dff28924 67031989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6704
6705 * etags.c (readline): Separate out init of `pend'.
6706
dff28924 67071989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6708
6709 * etags.c: Undo changes relating to isgoodhdr.
6710
dff28924 67111989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6712
6713 * etags.c (isgoodhdr): New macro.
6714 (_gdh, notgdh): New variable used by that.
6715 (init): Initialize _gdh.
6716 (find_entries): Set header_file.
6717 (consider_token): Use isgoodhdr if in header file.
6718
6719 * etags.c (total_size_of_entries):
6720 Was miscalculating by 1 in rewritten case.
6721
6722 * etags.c (PAS_funcs): One arg to pfnote was missing.
6723
dff28924 67241989-12-05 Joseph Arceneaux (jla@spiff)
362bc2da
DL
6725
6726 * MACHINES: Change for the ULTRIX entry.
6727
dff28924 67281989-11-21 Joseph Arceneaux (jla@spiff)
362bc2da
DL
6729
6730 * etags.c (process_file): If file is not regular, return.
6731
dff28924 67321989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6733
6734 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
6735
dff28924 67361989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6737
6738 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
6739 (main): If HAVE_GETLOADAVG, don't call `nlist'.
6740
dff28924 67411989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6742
6743 * etags.c (consider_token): Allow any number of typespec keywords
6744 after `typedef', before new type name.
6745 (enum sym_type): Add st_C_typespec.
6746 (C_create_stab): Put typespec kwds in table.
6747
dff28924 67481989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6749
6750 * etags.c (main): Don't depend on name invoked by.
6751 If CTAGS is not defined, assume it is ETAGS.
6752
dff28924 67531989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6754
6755 * etags.c (L_funcs): Allow package name in define construct,
6756 as in (foo::defmumble name-defined ...).
6757
dff28924 67581989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6759
6760 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
6761
6762 * Makefile (yow): Depends on ../src/paths.h.
6763
dff28924 67641989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6765
6766 * etags.c: Fix compilation by moving Pascal after Fortran.
6767
dff28924 67681989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6769
6770 * movemail.c [USG]: Define F_OK, etc., if not found in header.
6771
dff28924 67721989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6773
6774 * hexl.c: New file, supports hexl-mode.
6775
dff28924 67761989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6777
6778 * movemail.c: New compilation flag MAIL_USE_MMDF.
6779
dff28924 67801989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6781
6782 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
6783 * server.c: Likewise.
6784
6785 * make-docfile.c (scan_c_file): Output argument names at end of string.
6786 (write_c_args): New subroutine.
6787
dff28924 67881989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6789
6790 * movemail.c: Report failure of flock.
6791
dff28924 67921989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6793
6794 * etags.c (find_entries): Allow multi-letter extensions for fortran.
6795
dff28924 67961989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da 6797
2f2c687b 6798 * loadst.c: On bsd4.3, use gettimeofday instead of CPUSTATES.
362bc2da 6799
dff28924 68001989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6801
6802 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
6803
30a7ee9f 6804 * emacstool.1: Update to document environment variables.
362bc2da 6805
dff28924 68061989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6807
6808 * etags.c (PAS_funcs): New function by Mosur Mohan.
6809
6810 * movemail.c: On sysv, include unistd.h.
6811
dff28924 68121989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6813
6814 * b2m.c: New file.
6815
dff28924 68161989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da 6817
6088b51f 6818 * etags.c: Prolog support from Sunichirou Sugou.
362bc2da 6819
dff28924 68201989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6821
6822 * Makefile (clean): New target.
6823
dff28924 68241989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6825
6826 * fakemail.c (put_line): Break header lines at 79 cols.
6827
dff28924 68281989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6829
6830 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
6831 multiple tags per line.
6832
dff28924 68331989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6834
6835 * movemail.c: Check access before doing real work.
6836 Check that outfile is in a writable directory.
6837 On fatal error, delete the lock file.
6838
dff28924 68391988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
362bc2da 6840
ecc54057 6841 * env.c: Add decl for my-index
6088b51f 6842 * etags.c (file-entries): .oak => scheme.
362bc2da 6843
dff28924 68441988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6845
6846 * movemail.c: Use `access' to check input and output files.
6847
dff28924 68481988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6849
6850 * emacsclient.c (main): Ignore all of CWD before first slash.
6851
dff28924 68521988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6853
6854 * etags.c (readline): Double linebuffer->size outside the xrealloc.
6855
dff28924 68561988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6857
6858 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
6859 * server.c: chmod the socket to 0700.
6860
dff28924 68611988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6862
6863 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
6864 (add_field): Delete comments and turn `<', `>' to spaces
6865 in header lines.
6866 (USE_FAKEMAIL): New customization macro says to make fakemail
6867 not be a no-op even on a BSD system.
6868
dff28924 68691988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6870
6871 * etags.c (consider_token): Skip comments just like whitespace.
6872 Notice `struct', etc. and set strtag for those tokens.
6873 Return 1 for the token following `struct' if an open-brace follows it.
6874 (C_entries): Special handling of token following `struct'
6875 needed because we have probably advanced to the following line
6876 to find the `{'.
6877 (main): New option `T' sets tflag and strflag.
6878 Set both of them by default if eflags.
6879
dff28924 68801988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6881
6882 * movemail.c: Do fsync before closing output.
6883
dff28924 68841988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
362bc2da 6885
ecc54057
JB
6886 * movemail.c: Better error message when can't create tempname.
6887 This file needs a great deal of extra error-checking and lucid reporting...
362bc2da 6888
dff28924 68891988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6890
6891 * etags.c: Support assembler code for .s and .a files.
6892 (getit): Allow underscore in a tag.
6893
dff28924 68941988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6895
6896 * movemail.c: Close output and check errors before deleting input.
6897
dff28924 68981988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6899
6900 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
6901 whether to prefix it. Handle line number args.
6902
dff28924 69031988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
362bc2da 6904
2f2c687b 6905 * etags.c (main): Default setting of eflag was backwards.
362bc2da 6906
dff28924 69071988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6908
6909 * etags.c: New option -i. -f renamed -o.
6910 `-' as input file means read input file names from stdin.
6911 -i spec'd or input file named TAGS means the input file is another
6912 tag table; output an "include" line for it.
6913
dff28924 69141988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6915
6916 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
6917 New targets install, install.sysv, install.xenix.
6918 This makefile is now responsible for installing executables
6919 and documentation from this directory into system directories.
6920
dff28924 69211988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
362bc2da
DL
6922
6923 * server.c, emacsclient.c (main): Compute socket name from euid.
6924
dff28924 69251988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6926
6927 * emacsclient.c: Args like +DIGITS are passed through unchanged.
6928
dff28924 69291988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6930
6931 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
6932 * emacsclient.c: Likewise.
6933 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
6934
dff28924 69351988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6936
6937 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
07655e62 6938 (istoken): New string-comparison macro.
362bc2da
DL
6939 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
6940
dff28924 69411988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6942
6943 * etags.c: Changes for VMS.
6944 Always define ETAGS on VMS.
6945 Define macros GOOD and BAD for success and failure exit codes.
6946 (begtk, intk): Allow `$' in identifiers
6947 (main): Don't support -B, -F or -u on VMS.
6948 Alternate loop for scanning filename arguments.
6949 (system): Delete definition of this function.
6950
6951 * etags-vmslib.c (system): Undefine this; VMS now provides it.
6952
dff28924 69531988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6954
6955 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
6956 around include of param.h. (Like fns.c.)
6957
dff28924 69581988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6959
6960 * loadst.c (load_average): Move load-average code to this new fn.
6961 Add conditionals to compute load ave on UMAX.
6962
dff28924 69631988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
6964
6965 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
6966 with opposite sense.
6967
dff28924 69681988-05-13 Chris Hanson (cph@kleph)
362bc2da
DL
6969
6970 * emacsclient.c: Delete references to unused variable `out'. This
6971 caused a bus error when used under hp-ux.
6972
dff28924 69731988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6974
6975 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
6976
dff28924 69771988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
362bc2da
DL
6978
6979 * etags.c (find_entries): `.t' or `.sch' means scheme code.
6980
dff28924 69811988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6982
6983 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
6984
dff28924 69851988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6986
6987 * movemail.c: #undef close, since config can #define it on V.3.
2f2c687b 6988 * emacsclient.c, fakemail.c, loadst.c, server.c: Likewise.
362bc2da 6989
dff28924 69901988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
6991
6992 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
6993 invalid escape sequences such as `\{'.
6994
6995 * loadst.c: Add `sequent' conditional for file dk.h.
6996
dff28924 69971988-03-20 Richard M. Stallman (rms@wilson)
362bc2da 6998
2f2c687b 6999 * server.c [not BSD and not HAVE_SYSVIPC]: Fix error message.
362bc2da 7000
2f2c687b 7001 * loadst.c (main) [XENIX]: Use /usr/spool/mail, not /usr/mail.
6922b018
KH
7002
7003;; Local Variables:
880820fe 7004;; coding: utf-8
33462dfa 7005;; add-log-time-zone-rule: t
6922b018 7006;; End:
2a34a036 7007
9766d41b 7008 Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
294981c7 7009 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2006,
114f9c96 7010 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
5b87ad55
GM
7011
7012 This file is part of GNU Emacs.
7013
294981c7 7014 GNU Emacs is free software: you can redistribute it and/or modify
5b87ad55 7015 it under the terms of the GNU General Public License as published by
294981c7
GM
7016 the Free Software Foundation, either version 3 of the License, or
7017 (at your option) any later version.
5b87ad55
GM
7018
7019 GNU Emacs is distributed in the hope that it will be useful,
7020 but WITHOUT ANY WARRANTY; without even the implied warranty of
7021 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7022 GNU General Public License for more details.
7023
7024 You should have received a copy of the GNU General Public License
294981c7 7025 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
ab5796a9
MB
7026
7027;;; arch-tag: 2d979296-954c-448e-95c1-b46d134513dc